/* =====================================================================
 *  Apple-inspiriertes Design
 *  System-Schrift (SF Pro auf Mac/iOS, sonst Inter), viel Weißraum,
 *  große fette Headlines, gläserne Navigationsleiste, runde Ecken.
 * ===================================================================== */
:root {
  color-scheme: light;                 /* immer hell, auch im Dunkelmodus des Geräts */
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --fg: #1d1d1f;
  --muted: #6e6e73;
  --line: #d2d2d7;
  --link: #0066cc;
  --accent: #0071e3;
  --accent-hover: #0077ed;
  --nav-bg: rgba(251, 251, 253, .8);
  --radius: 18px;
  --radius-lg: 28px;
  --gutter: max(22px, 4vw);
  --gap: 12px;
  --max: 1440px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Segoe UI Variable Text", "Segoe UI", Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -.022em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ---------- Navigationsleiste (glasig, sticky) ---------- */
header {
  position: sticky; top: 0; z-index: 50;
  background: var(--nav-bg);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 50%, transparent);
}
.header-inner {
  max-width: 1024px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: 48px;
  display: flex; align-items: center; justify-content: space-between;
}
.logo { font-size: 19px; font-weight: 600; letter-spacing: -.02em; white-space: nowrap; display: flex; align-items: center; }
.logo img { height: 28px; width: auto; }                              /* Logo mit transparentem Hintergrund */
@media (max-width: 400px) { .logo img { height: 22px; } }
.desk-nav > ul { list-style: none; display: flex; align-items: center; gap: 34px; }
.desk-nav li { position: relative; }
.nav-link {
  font: inherit; font-size: 12px; letter-spacing: -.01em;
  background: none; border: 0; cursor: pointer;
  color: var(--fg); opacity: .8;
  height: 48px; display: inline-flex; align-items: center; gap: 4px;
  transition: opacity .2s;
}
.nav-link:hover, .nav-link.active { opacity: 1; }
.nav-link.active { font-weight: 600; }
.chev { width: 8px; height: 5px; transition: transform .25s; }
.has-dd.open .chev { transform: rotate(180deg); }

/* Flyout-Menü */
.dropdown {
  list-style: none;
  position: absolute; top: calc(100% - 4px); left: 50%;
  translate: -50% 0;
  min-width: 230px;
  padding: 10px;
  background: color-mix(in srgb, var(--bg) 94%, transparent);   /* gläsern, aber gut lesbar */
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border: 1px solid color-mix(in srgb, var(--line) 60%, transparent);
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .12);
  opacity: 0; visibility: hidden; transform: translateY(-6px) scale(.98);
  transform-origin: top center;
  transition: opacity .22s ease, transform .22s ease, visibility .22s;
}
.dropdown a { display: block; padding: 8px 12px; border-radius: 8px; font-size: 14px; font-weight: 500; white-space: nowrap; }
.dropdown a:hover { background: color-mix(in srgb, var(--fg) 7%, transparent); }
.dropdown a.active { color: var(--link); }
.has-dd.open .dropdown { opacity: 1; visibility: visible; transform: none; }
@media (hover: hover) and (min-width: 801px) {
  .has-dd:hover .dropdown { opacity: 1; visibility: visible; transform: none; }
}

/* Unterpunkt mit eigener Unterebene (z. B. Musik): Pfeil klappt nach unten auf */
.sub-row { display: flex; align-items: center; gap: 2px; }
.dropdown .sub-row a { flex: 1; }
.sub-toggle {
  flex: none; width: 30px; height: 30px; border: 0; border-radius: 8px; cursor: pointer;
  background: none; color: var(--muted); display: grid; place-items: center;
  transition: background .2s, color .2s;
}
.sub-toggle:hover { background: color-mix(in srgb, var(--fg) 7%, transparent); color: var(--fg); }
.sub-chev {
  width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg); transition: transform .3s cubic-bezier(.4, 0, .2, 1);
}
.sub-group.open .sub-chev { transform: translateY(2px) rotate(-135deg); }
.sub-list { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s cubic-bezier(.4, 0, .2, 1); }
.sub-group.open .sub-list { grid-template-rows: 1fr; }
.sub-list > ul { overflow: hidden; list-style: none; margin-left: 14px; border-left: 1.5px solid var(--line); }
.dropdown .sub-list a { font-size: 13px; color: var(--muted); padding: 6px 12px; }
.dropdown .sub-list a:hover { color: var(--fg); }
.dropdown .sub-list a.active { color: var(--link); }


/* Hamburger-Button: zwei Linien, die sich zu einem X drehen */
.burger {
  display: none; position: relative; z-index: 60;
  width: 44px; height: 44px; margin-right: -12px;
  background: none; border: 0; cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.burger span {
  position: absolute; left: 12px; width: 20px; height: 1.5px; border-radius: 2px;
  background: var(--fg);
  transition: transform .45s cubic-bezier(.4, 0, .2, 1), top .45s cubic-bezier(.4, 0, .2, 1);
}
.burger span:first-child { top: 18px; }
.burger span:last-child  { top: 25px; }
body.menu-open .burger span:first-child { top: 21.5px; transform: rotate(45deg); }
body.menu-open .burger span:last-child  { top: 21.5px; transform: rotate(-45deg); }

/* ---------- Handy-Menü (Vollbild) ---------- */
.mobile-menu { display: none; }
@media (max-width: 800px) {
  .desk-nav { display: none; }
  .burger { display: block; }
  body.menu-open { overflow: hidden; }
  body.menu-open header { background: var(--bg); border-bottom-color: transparent; }

  .mobile-menu {
    display: flex; flex-direction: column;
    position: fixed; inset: 0; z-index: 45;
    padding: 76px 28px calc(28px + env(safe-area-inset-bottom));
    background: color-mix(in srgb, var(--bg) 94%, transparent);
    backdrop-filter: saturate(180%) blur(30px);
    -webkit-backdrop-filter: saturate(180%) blur(30px);
    overflow-y: auto; overscroll-behavior: contain;
    opacity: 0; visibility: hidden;
    transition: opacity .35s ease, visibility .35s;
  }
  body.menu-open .mobile-menu { opacity: 1; visibility: visible; }

  .mm-nav ul { list-style: none; }
  .mm-nav > ul > li, .mm-footer {
    opacity: 0; transform: translateY(-10px);
    transition: opacity .4s ease, transform .5s cubic-bezier(.2, .7, .2, 1);
  }
  body.menu-open .mm-nav > ul > li, body.menu-open .mm-footer {
    opacity: 1; transform: none;
    transition-delay: calc(80ms + var(--i, 0) * 55ms);   /* Punkte erscheinen nacheinander */
  }

  .mm-link {
    display: flex; align-items: center; justify-content: space-between; width: 100%;
    padding: 9px 0; background: none; border: 0; cursor: pointer; text-align: left;
    font: inherit; font-size: 34px; font-weight: 700; letter-spacing: -.025em; line-height: 1.15;
    color: var(--fg); -webkit-tap-highlight-color: transparent;
    transition: opacity .2s;
  }
  .mm-link:active { opacity: .55; }
  .mm-link.active { color: var(--link); }

  /* Pfeil für Untermenüs */
  .mm-chev {
    width: 11px; height: 11px; margin-right: 6px;
    border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
    transform: rotate(45deg) translate(-3px, -3px);
    transition: transform .35s cubic-bezier(.4, 0, .2, 1);
  }
  .mm-group.open .mm-chev { transform: rotate(-135deg) translate(-3px, -3px); }

  /* Untermenü klappt weich auf */
  .mm-sub { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s cubic-bezier(.4, 0, .2, 1); }
  .mm-group.open .mm-sub { grid-template-rows: 1fr; }
  .mm-sub > ul { overflow: hidden; margin-left: 2px; border-left: 2px solid var(--line); }
  .mm-sub > ul > li:first-child { padding-top: 4px; }
  .mm-sub > ul > li:last-child  { padding-bottom: 10px; }
  /* zweite Ebene (z. B. Projekte unter Musik), per Pfeil aufklappbar */
  .mm-sub .sub-row a { flex: 1; }
  .mm-sub .sub-toggle { width: 40px; height: 40px; -webkit-tap-highlight-color: transparent; }
  .mm-sub .sub-toggle:hover { background: none; }
  .mm-sub .sub-chev { width: 10px; height: 10px; border-width: 2px; }
  .mm-sub .sub-list > ul { margin: 0 0 4px 18px; }
  .mm-sub .sub-list a { font-size: 16px; padding: 5px 0 5px 14px; }
  .mm-sub a {
    display: block; padding: 7px 0 7px 18px;
    font-size: 20px; font-weight: 500; letter-spacing: -.01em; color: var(--muted);
    -webkit-tap-highlight-color: transparent;
  }
  .mm-sub a:active { color: var(--fg); }
  .mm-sub a.active { color: var(--link); }

  /* Kontakt unten */
  .mm-footer { margin-top: auto; padding-top: 40px; }
  .mm-mail { display: block; font-size: 15px; color: var(--muted); margin-bottom: 16px; }
  .mm-social { display: flex; flex-wrap: wrap; gap: 10px; }
  .mm-social a {
    padding: 9px 18px; border-radius: 980px;
    border: 1px solid var(--line); font-size: 14px; font-weight: 500; color: var(--fg);
  }
  .mm-social a:active { background: var(--bg-alt); }
}

/* ---------- Typografie-Bausteine ---------- */
.eyebrow { font-size: 17px; font-weight: 600; color: var(--muted); margin-bottom: 8px; letter-spacing: -.01em; }
.headline {
  font-size: clamp(40px, 6vw, 80px);
  line-height: 1.05; font-weight: 700; letter-spacing: -.015em;
}
.section-title {
  font-size: clamp(32px, 4.2vw, 56px);
  line-height: 1.07; font-weight: 700; letter-spacing: -.005em;
}
.lead {
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.33; font-weight: 500; color: var(--muted);
  margin-top: 16px; letter-spacing: .005em;
}
.link-more { color: var(--link); font-size: 17px; white-space: nowrap; }
.link-more::after { content: " ›"; }
.link-more:hover { text-decoration: underline; }
.btn {
  display: inline-block; font: inherit; font-size: 17px; font-weight: 400;
  background: var(--accent); color: #fff;
  border: 0; border-radius: 980px; padding: 12px 24px; cursor: pointer;
  transition: background .2s;
}
.btn:hover { background: var(--accent-hover); }
.btn-row { display: flex; gap: 28px; align-items: center; justify-content: center; flex-wrap: wrap; margin-top: 28px; }

/* ---------- Seitenkopf ---------- */
.hero {
  text-align: center;
  padding: 88px var(--gutter) 64px;
  max-width: 980px; margin: 0 auto;
}
.hero h1 { font-size: clamp(40px, 6vw, 80px); line-height: 1.05; font-weight: 700; letter-spacing: -.015em; }

main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter) 100px;
}

/* Sanftes Einblenden beim Scrollen */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Galerie: 3 Spalten ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.gallery figure { background: var(--bg-alt); border-radius: var(--radius); overflow: hidden; cursor: zoom-in; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.gallery figure:hover img { transform: scale(1.03); }
.gallery.uniform figure { aspect-ratio: 3 / 2 !important; }
@media (max-width: 1000px) { .gallery { grid-template-columns: 1fr; } }
@media (min-width: 601px) and (max-width: 1000px) { .gallery.uniform { grid-template-columns: repeat(2, 1fr); } }

/* Ausgewählte Arbeiten (Startseite): Reihen mit gemischten Formaten, alle Bilder einer Reihe gleich hoch */
.selected { display: flex; flex-direction: column; gap: var(--gap); }
.selected-row { display: flex; gap: var(--gap); aspect-ratio: var(--row); }
.selected-row figure { flex: var(--r) 1 0; min-width: 0; border-radius: var(--radius); overflow: hidden; background: var(--bg-alt); cursor: zoom-in; }
.selected-row img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.selected-row figure:hover img { transform: scale(1.03); }
@media (max-width: 600px) {                                          /* Handy: Bilder untereinander */
  .selected-row { flex-direction: column; aspect-ratio: auto; }
  .selected-row figure { flex: none; aspect-ratio: var(--r); }
}

/* Mauerwerk-Layout (Galerie-Seite): Hoch- und Querformate greifen lückenlos ineinander */
.gallery.masonry { display: block; columns: 3; column-gap: var(--gap); }
.gallery.masonry figure { break-inside: avoid; margin-bottom: var(--gap); }
@media (max-width: 1000px) { .gallery.masonry { columns: 2; } }
@media (max-width: 600px)  { .gallery.masonry { columns: 1; } }

/* ---------- Projekt-Kacheln (z. B. Musik) ---------- */
.projects { display: grid; grid-template-columns: repeat(2, 1fr); gap: 48px 24px; max-width: 1200px; margin: 0 auto; }
.projects:has(> .project:only-child) { grid-template-columns: minmax(0, 640px); justify-content: center; }  /* ein einzelnes Projekt mittig */
.project { display: block; color: inherit; }
.project-img { aspect-ratio: 3 / 2; border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-alt); }
.project-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.project:hover .project-img img { transform: scale(1.04); }
.project-text { padding: 20px 4px 0; }
.project-client { font-size: 14px; font-weight: 600; color: var(--muted); margin-bottom: 4px; }
.project h2 { font-size: clamp(24px, 2.4vw, 32px); font-weight: 700; letter-spacing: -.01em; line-height: 1.15; }
.project-text p:not(.project-client) { font-size: 17px; color: var(--muted); margin-top: 8px; }
.project .link-more { display: inline-block; margin-top: 12px; }
.project:hover .link-more { text-decoration: underline; }
.projects-empty { grid-column: 1 / -1; text-align: center; color: var(--muted); font-size: 19px; padding: 40px 0; }
@media (min-width: 1001px) { .projects.cols-3 { grid-template-columns: repeat(3, 1fr); max-width: var(--max); } }
@media (max-width: 800px) { .projects { grid-template-columns: 1fr; gap: 40px; } }

/* Zurück-Link über dem Seitentitel (Projektseiten) */
.back-link { display: inline-block; margin-bottom: 18px; font-size: 15px; color: var(--link); }
.back-link:hover { text-decoration: underline; }

/* ---------- Startseite ---------- */
.home-hero { padding-bottom: 64px; }
.home-hero h1 { font-size: clamp(36px, 9.5vw, 96px); }
/* Mit Hintergrundbild: volle Breite, dunkler Schleier, weiße Schrift */
.hero.has-image {
  max-width: none;
  min-height: min(78vh, 760px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  margin-bottom: 72px;
  color: #fff;
  position: relative; isolation: isolate; overflow: hidden;
  background: #111;
}
/* Diashow: Bilder blenden weich ineinander, mit leichtem Zoom */
.hero-slides { position: absolute; inset: 0; z-index: -2; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-repeat: no-repeat;
  opacity: 0; transform: scale(1.08);
  transition: opacity 1.6s ease, transform 8s linear;
}
.hero-slide.active { opacity: 1; transform: scale(1); }
.hero.has-image::after {                                        /* dunkler Schleier für lesbare Schrift */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(rgba(0,0,0,.35), rgba(0,0,0,.5));
}
@media (prefers-reduced-motion: reduce) {
  .hero-slide { transform: none; transition: opacity 1s ease; }
}
.hero.has-image > :not(.hero-slides) { max-width: 980px; }
/* Banner der Kategorie-Seiten: etwas flacher als auf der Startseite */
.hero.has-image:not(.home-hero) { min-height: min(62vh, 600px); padding-top: 64px; padding-bottom: 64px; }
.hero.has-image h1 { text-shadow: 0 2px 30px rgba(0,0,0,.35); }
.hero.has-image .eyebrow,
.hero.has-image .lead { color: rgba(255,255,255,.88); }
.hero.has-image .link-more { color: #fff; }
.hero-image {
  max-width: var(--max); margin: 0 auto 120px; padding: 0 var(--gutter);
}
.hero-image figure { aspect-ratio: 21 / 9; border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-alt); cursor: zoom-in; }
.hero-image img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 800px) { .hero-image figure { aspect-ratio: 4 / 5; } }

.section { margin-bottom: 120px; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 32px; flex-wrap: wrap; }

.intro {
  background: var(--bg-alt); border-radius: var(--radius-lg);
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
  padding: 56px; max-width: 1200px; margin: 0 auto 120px;
}
.intro .portrait { aspect-ratio: 4 / 5; border-radius: var(--radius); background: linear-gradient(#c9ced6, #39404d); }
.intro p { font-size: 21px; line-height: 1.38; font-weight: 500; letter-spacing: .011em; color: var(--muted); margin-top: 18px; }
.intro p strong { color: var(--fg); font-weight: 600; }
.intro .link-more { display: inline-block; margin-top: 22px; font-size: 19px; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 34px; }
.facts b { display: block; font-size: 36px; font-weight: 700; color: var(--fg); letter-spacing: -.01em; line-height: 1.1; }
.facts span { font-size: 14px; color: var(--muted); }
@media (max-width: 800px) { .intro { grid-template-columns: 1fr; gap: 28px; padding: 24px; } }

/* Kacheln wie auf Produktseiten */
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); margin-bottom: var(--gap); }
.tile {
  position: relative; display: block; overflow: hidden;
  border-radius: var(--radius-lg); aspect-ratio: 1 / 1; background: #222; color: #fff;
}
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.2,.7,.2,1); }
.tile:hover img { transform: scale(1.04); }
.tile::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,0) 45%); }
.tile-text { position: absolute; z-index: 2; top: 0; left: 0; right: 0; text-align: center; padding: 48px 28px; }
.tile-text h3 { font-size: clamp(28px, 3.2vw, 48px); font-weight: 700; letter-spacing: -.005em; line-height: 1.08; }
.tile-text p { font-size: 19px; font-weight: 500; margin-top: 6px; opacity: .9; }
.tile-text .link-more { color: #fff; display: inline-block; margin-top: 14px; }
.tile.wide { grid-column: 1 / -1; aspect-ratio: 7 / 2; background: linear-gradient(160deg, #2c2c2e, #000); display: grid; place-items: center; }
.tile.wide .tile-text { position: static; }
.tile.wide::before { display: none; }
.tile.wide.has-photo .tile-text { position: relative; z-index: 2; }
.tile.wide.has-photo::before { display: block; background: rgba(0,0,0,.52); }   /* Schleier über dem Foto */
@media (max-width: 800px) {
  .tiles { grid-template-columns: 1fr; }
  .tile { aspect-ratio: 4 / 5; }
  .tile.wide { aspect-ratio: 4 / 3; }
}

.cta { text-align: center; padding: 100px var(--gutter) 40px; }

/* ---------- Kunden-Logo-Slider ---------- */
.clients { max-width: var(--max); margin: 0 auto 104px; padding: 0 var(--gutter); }
.clients-title {
  text-align: center; font-size: 14px; font-weight: 600; color: var(--muted);
  letter-spacing: -.01em; margin-bottom: 26px;
}
.marquee {
  overflow: hidden; position: relative;
  border-top: 1px solid color-mix(in srgb, var(--line) 60%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 60%, transparent);
  /* weiche Ränder links und rechts */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track {
  list-style: none; display: flex; width: max-content;
  animation: marquee var(--duration, 32s) linear infinite;
}
.marquee-track li { flex: none; display: flex; align-items: center; justify-content: center; height: 104px; padding: 0 28px; }
.marquee-track a { display: flex; align-items: center; height: 100%; }
.marquee-track img {
  height: var(--h, 80px); width: auto; max-width: none;
  filter: grayscale(1) brightness(.4) contrast(1.3); opacity: .7;  /* einheitlich dunkelgrau */
  transition: opacity .35s, filter .35s;
}
.client-name { font-size: 22px; font-weight: 700; letter-spacing: -.02em; color: var(--fg); opacity: .35; white-space: nowrap; transition: opacity .3s; }
.marquee-track li:hover img { filter: none; opacity: 1; }            /* beim Darüberfahren in Farbe */
.marquee-track li:hover .client-name { opacity: .9; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (max-width: 800px) {
  .clients { margin-bottom: 72px; }
  .marquee-track li { height: 84px; padding: 0 18px; }
  .marquee-track img { height: calc(var(--h, 80px) * .8); }
  .client-name { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee-track li[aria-hidden] { display: none; }
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(0, 0, 0, .82);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 88vw; max-height: 86vh; object-fit: contain; border-radius: 12px; transform: scale(.96); transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.lightbox.open img { transform: none; }
.lightbox button {
  position: absolute; cursor: pointer;
  width: 44px; height: 44px; border-radius: 50%; border: 0;
  background: rgba(255,255,255,.14); color: #fff;
  font: 400 24px/1 var(--font);
  display: grid; place-items: center;
  transition: background .2s;
}
.lightbox button:hover { background: rgba(255,255,255,.28); }
.lb-close { top: 22px; right: 22px; }
.lb-prev { left: 22px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 22px; top: 50%; transform: translateY(-50%); }

/* ---------- Video ---------- */
.videos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 48px 24px; }
.video { scroll-margin-top: 80px; }
.video .frame {
  aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(160deg, #2c2c2e, #0a0a0a);
  display: grid; place-items: center; color: #8e8e93; font-size: 14px;
}
.video iframe { width: 100%; height: 100%; border: 0; display: block; }
.video .consent { display: grid; justify-items: center; gap: 16px; padding: 24px; text-align: center; max-width: 440px; }
.video .consent p { font-size: 12px; line-height: 1.4; color: #a1a1a6; margin: 0; }
.video .consent a { color: #2997ff; }
.video .play {
  width: 64px; height: 64px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255,255,255,.92); color: #1d1d1f;
  display: grid; place-items: center; transition: transform .2s, background .2s;
}
.video .play:hover { transform: scale(1.06); background: #fff; }
.video .play svg { width: 26px; height: 26px; margin-left: 3px; }
.video h2 { font-size: 24px; font-weight: 600; letter-spacing: .009em; margin-top: 18px; }
.video p { color: var(--muted); font-size: 15px; }
@media (max-width: 800px) { .videos { grid-template-columns: 1fr; } }

/* ---------- About ---------- */
.about-hero { padding-bottom: 72px; }
.about {
  display: grid; grid-template-columns: 5fr 6fr; gap: clamp(40px, 7vw, 104px); align-items: start;
  max-width: 1120px; margin: 0 auto;
}
/* Foto: bleibt beim Lesen des Textes stehen */
.about-photo { position: sticky; top: 88px; }
.about .portrait {
  aspect-ratio: 4 / 5; border-radius: var(--radius-lg);
  background: linear-gradient(#c9ced6, #39404d);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .35);
}
.about-photo figcaption { margin-top: 14px; font-size: 13px; color: var(--muted); letter-spacing: -.01em; }

/* Text */
.about-copy { padding-top: 8px; }
.about-intro {
  font-size: clamp(30px, 3.4vw, 44px); line-height: 1.1; font-weight: 700;
  letter-spacing: -.015em; color: var(--fg); margin-bottom: 26px;
}
.about-lead {
  font-size: clamp(19px, 1.7vw, 23px); line-height: 1.42; font-weight: 500;
  letter-spacing: .005em; color: var(--fg); margin-bottom: 30px;
}
.about-copy > p:not(.about-intro):not(.about-lead) {
  font-size: 18px; line-height: 1.6; color: var(--muted); margin-bottom: 20px; max-width: 60ch;
}

@media (max-width: 900px) {
  .about { grid-template-columns: 1fr; }
  .about-photo { position: static; max-width: 520px; }
}

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.5fr; gap: 64px; max-width: 1000px; margin: 0 auto; }
.contact .info h3 { font-size: 14px; font-weight: 600; color: var(--muted); margin-bottom: 4px; letter-spacing: -.01em; }
.contact .info p { font-size: 21px; font-weight: 500; margin-bottom: 28px; }
.contact .info a { color: var(--link); }
.contact .info a:hover { text-decoration: underline; }
.contact form { display: grid; gap: 14px; background: var(--bg-alt); padding: 32px; border-radius: var(--radius-lg); }
.contact label { display: grid; gap: 6px; font-size: 14px; font-weight: 500; color: var(--muted); }
.contact input, .contact textarea {
  font: inherit; font-size: 17px; color: var(--fg);
  padding: 14px 16px; background: var(--bg);
  border: 1px solid var(--line); border-radius: 12px;
  transition: border-color .2s, box-shadow .2s;
}
.contact textarea { min-height: 160px; resize: vertical; }
.contact input:focus, .contact textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent); }
.contact .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact .btn { justify-self: start; margin-top: 6px; }
.contact .btn:disabled { opacity: .6; cursor: wait; }
.contact .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }   /* Spam-Schutz, unsichtbar */
.contact .check { display: flex; align-items: flex-start; gap: 10px; font-weight: 400; line-height: 1.4; }
.contact .check input { width: 18px; height: 18px; margin-top: 1px; flex: none; accent-color: var(--accent); }
.contact .check a { color: var(--link); text-decoration: underline; }
.form-status { font-size: 15px; min-height: 1em; }
.form-status.ok { color: #1a7f37; }
.form-status.error { color: #c62828; }
.form-status a { color: inherit; text-decoration: underline; }
@media (max-width: 800px) {
  .contact, .contact .row { grid-template-columns: 1fr; }
  .contact { gap: 32px; }
  .contact form { padding: 20px; }
}

/* ---------- Footer ---------- */
footer { background: var(--bg-alt); color: var(--muted); font-size: 12px; letter-spacing: -.01em; }
.footer-inner {
  max-width: 1024px; margin: 0 auto;
  padding: 20px var(--gutter) 24px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
footer a:hover { text-decoration: underline; }
.footer-links { display: flex; flex-wrap: wrap; align-items: center; }
.footer-links > * + * { border-left: 1px solid var(--line); margin-left: 10px; padding-left: 10px; }
.footer-links a[aria-current] { color: var(--fg); }

/* ---------- Rechtstexte (Impressum, Datenschutz) ---------- */
.legal { max-width: 720px; margin: 0 auto; hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
.legal h2 { font-size: 28px; font-weight: 700; letter-spacing: .004em; line-height: 1.15; margin: 56px 0 16px; }
.legal h3 { font-size: 19px; font-weight: 600; letter-spacing: .012em; margin: 32px 0 8px; }
.legal h4 { font-size: 17px; font-weight: 600; margin: 22px 0 6px; }
.legal p, .legal li { font-size: 17px; line-height: 1.53; color: var(--muted); }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 22px; margin: 12px 0; }
.legal li + li { margin-top: 8px; }
.legal a { color: var(--link); word-break: break-word; }
.legal a:hover { text-decoration: underline; }
.legal .card { background: var(--bg-alt); border-radius: var(--radius); padding: 28px 32px; margin: 28px 0; }
.legal .card p { color: var(--fg); }
.legal .caps { font-size: 14px; letter-spacing: .01em; }
.legal > :first-child { margin-top: 0; }
.legal [id] { scroll-margin-top: 70px; }
@media (max-width: 800px) {
  .legal .card { padding: 22px; }
  .footer-links > * + * { margin-left: 8px; padding-left: 8px; }
}

/* ---------- Abstände auf dem Handy ---------- */
@media (max-width: 800px) {
  .hero { padding: 56px var(--gutter) 40px; }
  .section, .intro, .hero-image { margin-bottom: 72px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
