@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500&family=Montserrat:wght@400;500;600&display=swap");

:root {
  --black: #0b0b0b;
  --white: #f7f7f5;
  --grey: #737373;
  --line: #d8d8d4;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Montserrat", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: #111;
  font-family: var(--sans);
  font-size: 14px;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.site-header {
  position: absolute;
  z-index: 30;
  top: 0;
  left: 0;
  width: 100%;
  padding: 26px 32px;
  color: #111;
}

.site-header.on-dark {
  color: #fff;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  width: 44px;
  height: 34px;
  border: 1px solid currentColor;
  display: grid;
  place-items: center;
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.desktop-nav {
  display: flex;
  gap: 34px;
  margin-left: auto;
  margin-right: 42px;
}

.desktop-nav a {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.menu-toggle {
  width: 24px;
  height: 18px;
  border: 0;
  background: transparent;
  padding: 0;
  position: relative;
  cursor: pointer;
}

.menu-toggle:before,
.menu-toggle:after,
.menu-toggle span {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
}

.menu-toggle:before {
  top: 1px;
}

.menu-toggle span {
  top: 8px;
}

.menu-toggle:after {
  bottom: 1px;
}

.page {
  min-height: 100vh;
}

.hero-home {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  color: #fff;
  background: #111;
}

.hero-home:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 5, 5, 0.75), rgba(8, 8, 8, 0.15));
}

.hero-copy {
  position: relative;
  z-index: 2;
  margin-left: 13%;
  max-width: 520px;
}

.overline {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 34px;
}

.overline:after {
  content: "";
  width: 62px;
  height: 1px;
  background: currentColor;
  opacity: 0.65;
}

.hero-copy h1,
.page-title,
.feature-copy h1,
.about-copy h1,
.offer-intro h1,
.contact-copy h1 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.025em;
}

.hero-copy h1 {
  font-size: clamp(42px, 4.4vw, 70px);
  line-height: 0.95;
  margin: 0 0 26px;
  max-width: 430px;
}

.hero-copy p {
  max-width: 430px;
  line-height: 1.8;
  font-size: 12px;
  color: #ddd;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  margin-top: 29px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.text-link:after {
  content: "→";
  font-size: 18px;
  font-weight: 400;
}

.light-page {
  background: #fff;
  min-height: 100vh;
  padding: 126px 7.5% 70px;
}

.page-title {
  font-size: 48px;
  margin: 0 0 27px;
}

.filters {
  display: flex;
  gap: 31px;
  margin-bottom: 38px;
  flex-wrap: wrap;
}

.filter {
  border: 0;
  background: none;
  padding: 7px 0;
  font: 600 9px var(--sans);
  letter-spacing: 0.09em;
  text-transform: uppercase;
  cursor: pointer;
  border-bottom: 1px solid transparent;
}

.filter.active {
  border-color: #111;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.gallery-card {
  height: 58vh;
  min-height: 420px;
  overflow: hidden;
}

.gallery-card img {
  filter: none;
  transition: transform 0.65s ease;
}

.gallery-card:hover img {
  transform: scale(1.035);
}

.dark-feature {
  min-height: 100vh;
  position: relative;
  color: #fff;
  display: grid;
  grid-template-columns: 52% 48%;
  background: #0b0b0b;
}

.feature-image {
  position: relative;
  min-height: 100vh;
}

.feature-image img {
  filter: none;
}

.feature-image:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(11, 11, 11, 0.3));
}

.feature-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8vw;
}

.feature-copy h1 {
  font-size: 52px;
  margin: 0 0 20px;
}

.feature-copy p {
  line-height: 1.75;
  max-width: 430px;
  color: #ddd;
  font-size: 12px;
}

.about-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 45% 55%;
  align-items: center;
  padding: 105px 7% 60px;
  background: #fff;
  gap: 7%;
}

.about-copy {
  padding-left: 5%;
}

.about-copy h1,
.offer-intro h1,
.contact-copy h1 {
  font-size: 52px;
  margin: 0 0 28px;
}

.about-copy p,
.offer-intro p,
.contact-copy p {
  font-size: 12px;
  line-height: 1.85;
  max-width: 400px;
  color: #333;
}

.about-image {
  height: 68vh;
}

.about-image img {
  filter: none;
}

.offer-page {
  min-height: 100vh;
  padding: 130px 7% 70px;
  background: #fff;
}

.offer-grid {
  display: grid;
  grid-template-columns: 1.1fr repeat(3, 1fr);
  align-items: center;
  min-height: 65vh;
}

.offer-intro {
  padding-right: 7vw;
}

.service {
  min-height: 360px;
  border-left: 1px solid var(--line);
  padding: 40px 34px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.service-icon {
  font-size: 46px;
  height: 90px;
}

.service h2 {
  font: 500 10px var(--sans);
  letter-spacing: 0.11em;
  text-transform: uppercase;
  margin: 24px 0 18px;
}

.service p {
  font-size: 11px;
  line-height: 1.75;
  color: #444;
}

.contact-page {
  min-height: 100vh;
  position: relative;
  color: #fff;
  padding: 150px 7% 70px;
  background: #171717;
  overflow: hidden;
}

.contact-page:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(16, 16, 16, 0.88),
    rgba(16, 16, 16, 0.55)
  );
}

.contact-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 38% 62%;
  gap: 8%;
  align-items: start;
}

.contact-copy p {
  color: #ddd;
}

.contact-details {
  margin-top: 36px;
  font-size: 11px;
  line-height: 2.5;
  color: #ddd;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.contact-form input,
.contact-form textarea {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.38);
  padding: 18px;
  color: #fff;
  font: 11px var(--sans);
}

.contact-form textarea {
  grid-column: 1/-1;
  height: 205px;
  resize: vertical;
}

.contact-form button {
  grid-column: 1/-1;
  justify-self: start;
  background: none;
  border: 0;
  color: #fff;
  padding: 12px 0;
  font: 600 9px var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
}

.contact-form button:after {
  content: "  ⟶";
  font-size: 17px;
}

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: #0c0c0c;
  color: #fff;
  z-index: 50;
  padding: 95px 32px;
}

.mobile-menu.open {
  display: block;
}

.mobile-menu a {
  display: block;
  font: 400 42px var(--serif);
  margin-bottom: 18px;
}

.close-menu {
  position: absolute;
  top: 27px;
  right: 32px;
  background: none;
  border: 0;
  color: #fff;
  font-size: 28px;
}

.hidden {
  display: none !important;
}

@media (max-width: 900px) {
  .desktop-nav {
    display: none;
  }

  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-card {
    height: 52vh;
  }

  .dark-feature {
    grid-template-columns: 1fr;
  }

  .feature-image {
    min-height: 58vh;
  }

  .feature-copy {
    padding: 80px 8%;
  }

  .about-page {
    grid-template-columns: 1fr;
    padding-top: 125px;
  }

  .about-copy {
    padding: 0;
  }

  .about-image {
    height: 55vh;
  }

  .offer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .offer-intro {
    grid-column: 1/-1;
    padding-bottom: 45px;
  }

  .service {
    border-top: 1px solid var(--line);
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-form {
    margin-top: 40px;
  }
}

@media (max-width: 600px) {
  .site-header {
    padding: 20px;
  }

  .hero-copy {
    margin: 0;
    padding: 0 26px;
  }

  .hero-copy h1 {
    font-size: 48px;
  }

  .light-page,
  .offer-page,
  .contact-page {
    padding: 110px 22px 45px;
  }

  .gallery {
    grid-template-columns: 1fr;
  }

  .gallery-card {
    height: 62vh;
  }

  .page-title,
  .feature-copy h1,
  .about-copy h1,
  .offer-intro h1,
  .contact-copy h1 {
    font-size: 43px;
  }

  .about-page {
    padding: 110px 22px 40px;
  }

  .offer-grid {
    grid-template-columns: 1fr;
  }

  .service {
    border-left: 0;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .contact-form textarea,
  .contact-form button {
    grid-column: 1;
  }

  .logo {
    width: 40px;
  }

  .feature-image {
    min-height: 52vh;
  }
}

/* Startseiten-Karussell: drei Bilder, Wechsel alle drei Sekunden, ohne JavaScript */
.hero-carousel {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background: #111;
}

.hero-carousel .hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: hero-image-change 9s infinite;
}

.hero-carousel .hero-slide:nth-child(1) {
  animation-delay: 0s;
}

.hero-carousel .hero-slide:nth-child(2) {
  animation-delay: 3s;
}

.hero-carousel .hero-slide:nth-child(3) {
  animation-delay: 6s;
}

@keyframes hero-image-change {
  0%,
  30% {
    opacity: 1;
  }

  33.333%,
  100% {
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-carousel .hero-slide {
    display: none;
    animation: none;
  }

  .hero-carousel .hero-slide:first-child {
    display: block;
    opacity: 1;
  }
}

/* Browserstabile Startseite ohne Karussell.
   Diese Regeln stehen bewusst am Ende und lösen ältere, doppelte Angaben ab. */
html {
  width: 100%;
  overflow-x: hidden;
}

body {
  width: 100%;
  min-width: 0;
  overflow-x: hidden;
}

.header-inner {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
}

.desktop-nav {
  min-width: 0;
  margin-right: 0;
}

.hero-home {
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
}

.hero-home .hero-background {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-home::before {
  z-index: 1;
}

.hero-copy {
  width: min(520px, 74%);
}

.home-intro,
.home-feature,
.home-gallery,
.home-gallery-grid,
.home-feature-image,
.home-feature-copy {
  min-width: 0;
}

@media (max-width: 900px) {
  .site-header,
  .site-header.on-dark {
    position: fixed;
  }

  .desktop-nav {
    max-width: calc(100% - 78px);
  }
}

@media (max-width: 600px) {
  .header-inner {
    align-items: flex-start;
  }

  .desktop-nav {
    max-width: calc(100% - 56px);
    gap: 8px 12px;
  }

  .hero-copy {
    width: auto;
    max-width: calc(100% - 48px);
    margin-right: 24px;
  }
}

/*
 * Safari-Fix
 * Volle Breite explizit setzen, statt sie nur über "inset" und die
 * absolute Positionierung ableiten zu lassen. Das verhindert die in Safari
 * teilweise falsch berechnete Karussellbreite.
 */
main,
.hero-home,
.hero-home .hero-carousel {
  display: block;
  width: 100%;
  max-width: none;
}

.hero-home {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
}

.hero-home .hero-carousel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

.hero-home .hero-carousel .hero-slide {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: block;
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  animation: hero-image-change 9s linear infinite;
  -webkit-animation: hero-image-change 9s linear infinite;
}

.hero-home .hero-carousel .hero-slide:nth-child(1) {
  animation-delay: 0s;
  -webkit-animation-delay: 0s;
}

.hero-home .hero-carousel .hero-slide:nth-child(2) {
  animation-delay: 3s;
  -webkit-animation-delay: 3s;
}

.hero-home .hero-carousel .hero-slide:nth-child(3) {
  animation-delay: 6s;
  -webkit-animation-delay: 6s;
}

@-webkit-keyframes hero-image-change {
  0%,
  30% {
    opacity: 1;
  }

  33.333%,
  100% {
    opacity: 0;
  }
}

.hero-home::before {
  z-index: 1;
}

.hero-home .hero-copy {
  position: relative;
  z-index: 2;
  padding-top: 1px;
}

/* Genügend fixer Abstand unter der Navigation auf den hellen Inhaltsseiten. */
.blog-page {
  padding-top: 180px;
}

@media (max-width: 900px) {
  .blog-page {
    padding-top: 170px;
  }
}

@media (max-width: 600px) {
  .blog-page {
    padding-top: 145px;
  }
}

/* Finale Karussell-Regeln: müssen nach den älteren Designregeln stehen. */
.hero-home .hero-carousel {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #111;
}

.hero-home .hero-carousel .hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: hero-image-change 9s linear infinite;
}

.hero-home .hero-carousel .hero-slide:nth-child(1) {
  animation-delay: 0s;
}

.hero-home .hero-carousel .hero-slide:nth-child(2) {
  animation-delay: 3s;
}

.hero-home .hero-carousel .hero-slide:nth-child(3) {
  animation-delay: 6s;
}

.hero-home::before {
  z-index: 1;
}

.hero-home .hero-copy {
  z-index: 2;
}

@media (prefers-reduced-motion: reduce) {
  .hero-home .hero-carousel .hero-slide {
    display: none;
    animation: none;
  }

  .hero-home .hero-carousel .hero-slide:first-child {
    display: block;
    opacity: 1;
  }
}

/* Startseiten-Karussell */
.hero-carousel {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #111;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.1s ease;
}

.hero-slide.active {
  opacity: 1;
}

/* Mehrere Bilder innerhalb der Blogbeiträge */
.article-gallery {
  margin: 48px 0;
}

.article-gallery-two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.article-gallery img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #e8e8e5;
}

.article-gallery-wide img {
  aspect-ratio: 16 / 9;
}

@media (max-width: 600px) {
  .article-gallery {
    margin: 36px 0;
  }

  .article-gallery-two {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide {
    transition: none;
  }
}

/* Blog */
.blog-page {
  min-height: 100vh;
  padding: 150px 7% 100px;
  background: #fff;
}

.blog-intro {
  max-width: 760px;
  margin-bottom: 72px;
}

.blog-intro h1 {
  margin: 0 0 22px;
  font: 500 clamp(54px, 7vw, 92px)/0.95 var(--serif);
  letter-spacing: -0.03em;
}

.blog-intro > p {
  max-width: 620px;
  margin: 0;
  color: #444;
}

.blog-list {
  border-top: 1px solid var(--line);
}

.blog-card {
  display: grid;
  grid-template-columns: minmax(220px, 33%) minmax(0, 1fr) 56px;
  gap: clamp(26px, 5vw, 72px);
  align-items: center;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}

.blog-image {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #e8e8e5;
}

.blog-image img {
  transition: transform 0.6s ease;
}

.blog-card:hover .blog-image img {
  transform: scale(1.035);
}

.blog-meta {
  margin: 0 0 14px;
  color: #777;
  font: 700 9px/1.5 var(--sans);
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.blog-card h2 {
  margin: 0 0 14px;
  font: 500 clamp(29px, 3vw, 43px)/1.05 var(--serif);
  letter-spacing: -0.02em;
}

.blog-card-copy > p:last-child {
  max-width: 650px;
  margin: 0;
  color: #444;
}

.blog-arrow {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid #111;
  border-radius: 50%;
  font-size: 24px;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.blog-arrow:hover,
.blog-arrow:focus-visible {
  color: #fff;
  background: #111;
  transform: translateX(4px);
}

.article-hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: flex-end;
  color: #fff;
  background: #111;
}

.article-hero:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.08) 70%);
}

.article-hero > img {
  position: absolute;
  inset: 0;
}

.article-hero-copy {
  position: relative;
  z-index: 1;
  width: min(100% - 14%, 1050px);
  padding: 0 0 72px;
  margin: 0 auto;
}

.article-hero-copy .blog-meta {
  color: #ddd;
}

.article-hero h1 {
  max-width: 900px;
  margin: 0;
  font: 500 clamp(48px, 6vw, 82px)/0.98 var(--serif);
  letter-spacing: -0.03em;
}

.article-content {
  width: min(86%, 760px);
  margin: 0 auto;
  padding: 90px 0 110px;
}

.article-content p {
  margin: 0 0 28px;
  color: #333;
}

.article-content .article-lead {
  margin-bottom: 58px;
  font: 500 clamp(25px, 3vw, 35px)/1.3 var(--serif);
  color: #111;
}

.article-content h2 {
  margin: 58px 0 18px;
  font: 500 clamp(31px, 4vw, 45px)/1.1 var(--serif);
}

@media (max-width: 800px) {
  .blog-card {
    grid-template-columns: minmax(150px, 38%) minmax(0, 1fr);
    gap: 24px;
  }

  .blog-arrow {
    grid-column: 2;
  }
}

@media (max-width: 600px) {
  .blog-page {
    padding: 125px 22px 70px;
  }

  .blog-intro {
    margin-bottom: 50px;
  }

  .blog-card {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 28px 0 36px;
  }

  .blog-arrow {
    grid-column: 1;
  }

  .article-hero {
    min-height: 68vh;
  }

  .article-hero-copy {
    width: calc(100% - 44px);
    padding-bottom: 44px;
  }

  .article-content {
    width: calc(100% - 44px);
    padding: 65px 0 80px;
  }
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 48px;
  padding: 42px 7%;
  background: var(--black);
  color: var(--white);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-brand {
  font: 400 24px var(--serif);
}

.footer-brand span {
  display: block;
  margin-top: 7px;
  color: #aaa;
  font: 500 8px var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-links a,
.footer-copy {
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: #bdbdbd;
}

.footer-copy {
  margin: 0;
  color: #888;
  white-space: nowrap;
}

.socials-page,
.legal-page {
  min-height: 100vh;
  padding: 150px 7% 90px;
  background: #fff;
}

.socials-intro,
.legal-content {
  max-width: 820px;
}

.socials-intro h1,
.legal-content h1 {
  margin: 0 0 22px;
  font: 400 clamp(48px, 7vw, 92px) var(--serif);
  letter-spacing: -0.03em;
}

.socials-intro > p,
.legal-content p {
  max-width: 620px;
  color: #444;
  font-size: 12px;
  line-height: 1.85;
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 56px;
}

.social-card {
  min-height: 280px;
  padding: 38px;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.social-card:hover,
.social-card:focus-visible {
  background: var(--black);
  color: var(--white);
  transform: translateY(-3px);
}

.social-label {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.social-card strong {
  font: 400 clamp(29px, 4vw, 46px) var(--serif);
  overflow-wrap: anywhere;
}

.social-arrow {
  font-size: 22px;
}

.legal-content h2 {
  margin: 48px 0 12px;
  font: 400 30px var(--serif);
}

.placeholder-note {
  margin-top: 44px;
  padding: 20px 22px;
  border-left: 2px solid #111;
  background: #f0f0ed;
}

@media (max-width: 900px) {
  .site-footer {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 600px) {
  .socials-page,
  .legal-page {
    padding: 115px 22px 60px;
  }

  .social-grid {
    grid-template-columns: 1fr;
  }

  .social-card {
    min-height: 220px;
    padding: 28px;
  }

  .site-footer {
    padding: 38px 22px;
  }
}

/* Verfeinerte Typografie und Navigation */
body {
  font-weight: 500;
}

.desktop-nav {
  margin-right: 0;
}

.desktop-nav a {
  font-weight: 700;
}

.hero-copy h1,
.page-title,
.feature-copy h1,
.about-copy h1,
.offer-intro h1,
.contact-copy h1 {
  font-weight: 500;
}

.hero-copy p,
.feature-copy p,
.about-copy p,
.offer-intro p,
.contact-copy p,
.service p {
  font-weight: 500;
}

.overline,
.text-link,
.filter,
.service h2,
.contact-form button {
  font-weight: 700;
}

.menu-toggle,
.mobile-menu {
  display: none !important;
}

/* Erweiterte Startseite */
.home-intro {
  padding: 120px 9%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10%;
  align-items: end;
  background: #fff;
}

.home-intro h2,
.home-feature h2,
.home-gallery h2,
.home-cta h2 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.025em;
}

.home-intro h2 {
  font-size: clamp(42px, 5vw, 72px);
  line-height: 1;
  margin: 0;
}

.home-intro p {
  font-size: 13px;
  line-height: 1.9;
  max-width: 520px;
}

.home-feature {
  min-height: 85vh;
  display: grid;
  grid-template-columns: 58% 42%;
  background: #101010;
  color: #fff;
}

.home-feature-image {
  min-height: 85vh;
}

.home-feature-copy {
  padding: 9vw 7vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.home-feature-copy h2 {
  font-size: clamp(44px, 5vw, 68px);
  margin: 0 0 22px;
}

.home-feature-copy p {
  max-width: 430px;
  line-height: 1.85;
  color: #ddd;
}

.home-gallery {
  padding: 125px 7.5%;
  background: #fff;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 45px;
}

.section-head h2 {
  font-size: clamp(42px, 4vw, 60px);
  margin: 0;
}

.home-gallery-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 1fr;
  gap: 18px;
  height: 68vh;
  min-height: 520px;
}

.home-gallery-grid img:nth-child(2) {
  margin-top: 65px;
  height: calc(100% - 65px);
}

.home-gallery-grid img {
  transition: transform 0.6s ease;
}

.home-gallery-grid img:hover {
  transform: scale(0.985);
}

.home-cta {
  min-height: 72vh;
  background: #0d0d0d;
  color: #fff;
  padding: 10vw 9%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.home-cta p {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
}

.home-cta h2 {
  font-size: clamp(48px, 6vw, 84px);
  line-height: 0.95;
  margin: 24px 0 12px;
}

@media (max-width: 900px) {
  .site-header {
    position: absolute;
    padding: 22px 24px;
  }

  .header-inner {
    align-items: flex-start;
    gap: 20px;
  }

  .desktop-nav {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .desktop-nav a {
    font-size: 8px;
  }

  .home-intro {
    grid-template-columns: 1fr;
    padding: 95px 7%;
    gap: 45px;
  }

  .home-feature {
    grid-template-columns: 1fr;
  }

  .home-feature-image {
    min-height: 58vh;
  }

  .home-feature-copy {
    padding: 80px 8%;
  }

  .home-gallery-grid {
    grid-template-columns: 1fr 1fr;
    height: auto;
  }

  .home-gallery-grid img {
    height: 58vh;
  }

  .home-gallery-grid img:nth-child(2) {
    margin-top: 0;
    height: 58vh;
  }

  .home-gallery-grid img:nth-child(3) {
    grid-column: 1/-1;
  }
}

@media (max-width: 600px) {
  .site-header {
    padding: 18px 16px;
  }

  .logo {
    flex: 0 0 40px;
  }

  .desktop-nav {
    gap: 10px 13px;
    line-height: 1.2;
  }

  .desktop-nav a {
    font-size: 7px;
  }

  .hero-home {
    padding-top: 90px;
  }

  .home-intro,
  .home-gallery,
  .home-cta {
    padding-left: 24px;
    padding-right: 24px;
  }

  .section-head {
    align-items: flex-start;
    gap: 25px;
    flex-direction: column;
  }

  .home-gallery-grid {
    grid-template-columns: 1fr;
  }

  .home-gallery-grid img,
  .home-gallery-grid img:nth-child(2) {
    height: 62vh;
  }

  .home-gallery-grid img:nth-child(3) {
    grid-column: auto;
  }
}

/* Alle austauschbaren Bilder stehen als img-Tags direkt im HTML. */
.logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.logo {
  width: 58px;
  height: 45px;
  padding: 3px;
  background: transparent;
}

.hero-background,
.contact-background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-home:before,
.contact-page:before {
  z-index: 1;
}

/* Portfolio-Vorschau konsequent im Querformat */
.gallery {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gallery-card {
  height: auto;
  min-height: 0;
  aspect-ratio: 16 / 10;
  cursor: zoom-in;
  background: #e9e9e7;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Grossansicht */
body.lightbox-open {
  overflow: hidden;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 58px 88px;
  background: rgba(4, 4, 4, 0.95);
}

.lightbox.open {
  display: flex;
}

.lightbox-image {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: calc(100vh - 116px);
  object-fit: contain;
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.5);
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  z-index: 2;
  border: 0;
  color: #fff;
  background: rgba(0, 0, 0, 0.35);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.lightbox-close:hover,
.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.18);
}

.lightbox-close {
  top: 20px;
  right: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 34px;
}

.lightbox-nav {
  top: 50%;
  width: 54px;
  height: 68px;
  margin-top: -34px;
  font-size: 40px;
}

.lightbox-nav:hover {
  transform: scale(1.06);
}

.lightbox-prev {
  left: 20px;
}
.lightbox-next {
  right: 20px;
}

.lightbox-counter {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  color: #fff;
  font-size: 10px;
  letter-spacing: 0.14em;
}

@media (max-width: 900px) {
  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .gallery {
    grid-template-columns: 1fr;
  }
  .gallery-card {
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 10;
  }
  .lightbox {
    padding: 70px 14px;
  }
  .lightbox-nav {
    width: 44px;
    height: 56px;
    font-size: 32px;
  }
  .lightbox-prev {
    left: 5px;
  }
  .lightbox-next {
    right: 5px;
  }
  .lightbox-close {
    top: 14px;
    right: 14px;
  }
}

/* Logo ohne Rahmen und einheitlich gut lesbare Typografie */
.logo,
.site-header .logo {
  border: 0;
  outline: 0;
  box-shadow: none;
  background: transparent;
}

body {
  font-size: 16px;
  line-height: 1.7;
}

.desktop-nav a,
.overline,
.text-link,
.filter,
.hero-copy p,
.feature-copy p,
.about-copy p,
.offer-intro p,
.contact-copy p,
.service p,
.service h2,
.contact-details,
.contact-form input,
.contact-form textarea,
.contact-form button,
.home-intro p,
.home-feature-copy p,
.home-cta p {
  font-size: 16px;
  line-height: 1.7;
}

.hero-copy h1,
.page-title,
.feature-copy h1,
.about-copy h1,
.offer-intro h1,
.contact-copy h1 {
  font-size: clamp(50px, 5vw, 72px);
  line-height: 1;
}

@media (max-width: 900px) {
  .desktop-nav a {
    font-size: 15px;
  }
}

/* Navigation bleibt beim Scrollen sichtbar. */
.site-header {
  position: fixed;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.site-header.on-dark {
  background: rgba(11, 11, 11, 0.88);
}

@media (max-width: 600px) {
  body,
  .desktop-nav a,
  .overline,
  .text-link,
  .filter,
  .hero-copy p,
  .feature-copy p,
  .about-copy p,
  .offer-intro p,
  .contact-copy p,
  .service p,
  .service h2,
  .contact-details,
  .contact-form input,
  .contact-form textarea,
  .contact-form button,
  .home-intro p,
  .home-feature-copy p,
  .home-cta p {
    font-size: 16px;
  }

  .hero-copy h1,
  .page-title,
  .feature-copy h1,
  .about-copy h1,
  .offer-intro h1,
  .contact-copy h1 {
    font-size: 46px;
  }
}

/* Abschliessende Kompatibilitätsregeln für Safari und Chrome */
html,
body {
  width: 100%;
  min-width: 0;
  overflow-x: hidden;
}

.header-inner {
  width: 100%;
  max-width: 1600px;
  margin-inline: auto;
}

.desktop-nav {
  min-width: 0;
  margin-right: 0;
}

.hero-home {
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
}

.hero-home .hero-background {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-home::before {
  z-index: 1;
}

.hero-copy {
  width: min(520px, 74%);
}

.home-intro,
.home-feature,
.home-gallery,
.home-gallery-grid,
.home-feature-image,
.home-feature-copy {
  min-width: 0;
}

@media (max-width: 900px) {
  .site-header,
  .site-header.on-dark {
    position: fixed;
  }

  .desktop-nav {
    max-width: calc(100% - 78px);
  }
}

@media (max-width: 600px) {
  .header-inner {
    align-items: flex-start;
  }

  .desktop-nav {
    max-width: calc(100% - 56px);
    gap: 8px 12px;
  }

  .hero-copy {
    width: auto;
    max-width: calc(100% - 48px);
    margin-right: 24px;
  }
}
