@font-face{
  font-family:'GT America';
  src:url('/fonts/GT-America-Standard-Regular.otf') format('opentype');
  font-weight:400;font-style:normal;font-display:swap;
}
@font-face{
  font-family:'GT America';
  src:url('/fonts/GT-America-Standard-Medium.otf') format('opentype');
  font-weight:500;font-style:normal;font-display:swap;
}
@font-face{
  font-family:'GT America';
  src:url('/fonts/GT-America-Standard-Bold.otf') format('opentype');
  font-weight:700;font-style:normal;font-display:swap;
}
@font-face{
  font-family:'GT America';
  src:url('/fonts/GT-America-Standard-Black.otf') format('opentype');
  font-weight:900;font-style:normal;font-display:swap;
}

/* Extended cut — used for headlines & large copy. Only Regular/Medium were
   supplied (no Bold/Black), so 700–900 requests resolve to Medium rather
   than triggering the browser's synthetic (faux) bold. */
@font-face{
  font-family:'GT America Extended';
  src:url('/fonts/GT-America-Extended-Regular.otf') format('opentype');
  font-weight:400;font-style:normal;font-display:swap;
}
@font-face{
  font-family:'GT America Extended';
  src:url('/fonts/GT-America-Extended-Medium.otf') format('opentype');
  font-weight:500;font-style:normal;font-display:swap;
}
@font-face{
  font-family:'GT America Extended';
  src:url('/fonts/GT-America-Extended-Medium.otf') format('opentype');
  font-weight:700 900;font-style:normal;font-display:swap;
}

:root{
  --cream:#EFEFED;
  --sage:#DBDDD4;
  --ink:#000000;
  --ink-soft:#282831;
  --navy:#161C3B;
  --accent:#F6A316;
  --pink:#F63F6E;
  --gray-text:#6B6B72;
  --white:#FFFFFF;
  --line:rgba(0,0,0,0.1);
  --font-display:'GT America Extended', sans-serif;
  --font-body:'GT America', sans-serif;
  --container:1320px;
}

*{margin:0;padding:0;box-sizing:border-box;}

html{scroll-behavior:smooth;background:var(--white);}

body{
  font-family:var(--font-body);
  color:var(--ink);
  background:var(--white);
  -webkit-font-smoothing:antialiased;
  position:relative;
}

body.nav-open{overflow:hidden;}

/* ---------- Experiment: Fullpage-Scroll-Snap (Body-Klasse "snap") ----------
   Jeder Scroll rastet auf dem nächsten, browserfüllenden Abschnitt ein.
   Wird über $bodyClass='snap' in index.php aktiviert. */
html:has(body.snap){scroll-snap-type:y mandatory;}
body.snap > section{
  min-height:100vh;            /* browserfüllend */
  min-height:100dvh;           /* stabil trotz mobiler Browserleisten */
  scroll-snap-align:start;
  scroll-snap-stop:always;     /* pro Scroll genau ein Abschnitt */
}
/* Hero: EXPLIZITE Höhe + aspect-ratio aus, sonst füllen die height:100%-Kinder
   (Bild/Platzhalter) nur die 16:9-Höhe und darunter erscheint ein grauer Rand. */
body.snap > .hero{
  height:100vh;
  height:100dvh;
  aspect-ratio:auto;
  min-height:0;
}
/* Der Inhalt der Abschnitte startet bei 126px = Band-Unterkante (101px) + 25px.
   Die Überschrift sitzt genau an der section-head-Oberkante, daher padding-top
   126px. Intro (ohne section-head) bekommt es direkt am Abschnitt. */
body.snap > .news .section-head,
body.snap > .family .section-head,
body.snap > .projects .section-head{padding-top:126px;}
/* Intro: Inhalt vertikal zentrieren, damit der Weißraum den Text rahmt statt
   einseitig unten zu hängen. padding-top hält ihn dabei unter dem Header. */
body.snap > .intro{
  padding-top:126px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}

/* News muss immer in EINE Bildschirmhöhe passen — sonst scrollt der Inhalt unter
   das fixe Logo und die 25px-Unterkante hält nicht mehr. Die 9:16-Karten
   skalieren dafür mit der Viewport-Höhe (Seitenverhältnis bleibt). */
body.snap > .news{padding-bottom:40px;}
body.snap > .news .news-card{height:min(444px, 46vh);width:auto;}
body.snap > .news .more-news{margin-top:24px;}

/* Der Footer soll nach dem letzten Abschnitt erreichbar einrasten. */
body.snap > footer{scroll-snap-align:start;}
/* Header bleibt beim Snap-Scrollen immer oben erreichbar und wechselt pro
   Abschnitt zwischen hell/dunkel (siehe main.js -> header.on-light).
   Hintergrund transparent (bewusste Wahl): bei langen Abschnitten kann Inhalt
   beim Scrollen unter das Logo laufen. Die Überschriften ruhen bei 126px
   (25px unter der Logo-Unterkante). */
body.snap header{position:fixed;}
/* Scrim nur im Dunkel-Modus (weiße Nav über gemischten Flächen wie "We are"). */
body.snap header:not(.on-light)::before{
  content:'';
  position:absolute;
  left:0;right:0;top:0;
  height:150px;
  background:linear-gradient(to bottom, rgba(0,0,0,0.28), transparent);
  z-index:-1;
  pointer-events:none;
}
@media (prefers-reduced-motion: reduce){
  html:has(body.snap){scroll-snap-type:none;}   /* kein erzwungenes Springen */
}

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

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

.sr-only{
  position:absolute;width:1px;height:1px;padding:0;margin:-1px;
  overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;
}

.wrap{max-width:var(--container);margin:0 auto;padding:0 40px;}

.eyebrow{
  font-size:15px;   /* Figma: CASE / HELLO = 15px @1440 */
  font-weight:500;
  letter-spacing:0.12em;
  text-transform:uppercase;
  color:var(--gray-text);
}

/* .hero-title ist kein <h1>, weil die Case-Titel per JS wechseln und die
   echte H1 der Seite statisch im Markup steht — optisch aber identisch. */
h1,h2,h3,.hero-title{
  font-family:var(--font-display);
  font-weight:700;
  letter-spacing:-0.02em;
  line-height:0.95;
}

/* ---------- Media containers ---------- */
.media{
  position:relative;
  overflow:hidden;
  background:var(--ink-soft);
}

/* ---------- Placeholder colour blocks (stand in for photography) ---------- */
.ph{
  position:relative;
  width:100%;height:100%;
  background:var(--sage);
  color:var(--ink-soft);
  display:flex;
  align-items:flex-end;
  justify-content:flex-start;
  overflow:hidden;
  transition:background-color 0.12s ease, color 0.12s ease;
}
.ph span{
  position:relative;
  font-family:var(--font-body);
  font-size:11px;
  font-weight:500;
  letter-spacing:0.06em;
  text-transform:uppercase;
  color:currentColor;
  opacity:0.75;
  margin:14px;
}
.ph.c-charcoal, .ph.dark{background:var(--ink-soft);color:var(--cream);}
.ph.c-black{background:var(--ink);color:var(--cream);}
.ph.c-navy{background:var(--navy);color:var(--cream);}
.ph.c-sage, .ph.light{background:var(--sage);color:var(--ink-soft);}
.ph.c-cream{background:var(--cream);color:var(--ink-soft);}
.ph.c-orange{background:var(--accent);color:var(--ink);}
.ph.c-pink{background:var(--pink);color:var(--white);}

/* ---------- Badge / logo ---------- */
.badge{
  width:52px;height:52px;
  display:flex;align-items:center;justify-content:center;
  flex-shrink:0;
  color:var(--white);
}
.badge svg{width:100%;height:100%;display:block;}
.badge .logo text{
  font-family:'GT America', sans-serif;
  font-weight:800;
  font-size:177.9px;         /* SVG-Nutzereinheiten im 1080er viewBox */
  letter-spacing:0;
  fill:currentColor;
}
/* Gelber Logo-Punkt: dreht scroll-gebunden um den Logo-Mittelpunkt (viewBox
   548.9 / 560) — eine volle Umdrehung pro Abschnittswechsel. Die Rotation setzt
   main.js per transform beim Scrollen; hier nur Drehzentrum und Basis. */
.logo-dot{
  transform-box:view-box;
  transform-origin:548.9px 560px;
  will-change:transform;
}

/* ---------- Nav ---------- */
header{
  position:absolute;
  top:0;left:0;right:0;
  z-index:20;
  padding:16px 40px;   /* oben knapper, damit das Logo nicht an die Abschnitte stößt */
}
/* 3 Spalten, damit die Nav mittig bleibt, auch wenn rechts nichts steht. */
header .wrap{
  padding:0;max-width:none;
  display:grid;
  grid-template-columns:1fr auto 1fr;
  align-items:start;   /* Nav-Block an der oberen Logokante ausrichten */
  gap:24px;
}
header .badge{grid-column:1;justify-self:start;width:85px;height:85px;}
.nav-links{grid-column:2;justify-self:center;display:flex;justify-content:space-between;width:400px;list-style:none;}
.nav-links a{
  font-family:'GT America Extended', sans-serif;
  font-size:11px;   /* passt mit angenehmen Abständen in den 400px-Nav-Block */
  font-weight:500;              /* Medium (Extended hat nur Regular/Medium) */
  text-transform:uppercase;     /* Versalien */
  letter-spacing:0.04em;
  color:var(--white);
  white-space:nowrap;
}
.nav-links a:hover{color:var(--accent);}
.nav-links a.current{color:var(--accent);}
/* Breite des seitlichen Menü-Panels. */
:root{--menu-w:min(440px, 84vw);}

/* Burger-Button rechts. Farbe & Strichstärke wie Logo/Schrift: er erbt die
   Header-Farbe (weiß auf dunkel, ink auf hell) über currentColor. */
.menu-btn{
  grid-column:3;justify-self:end;
  display:block;
  width:30px;height:16px;
  background:none;border:none;cursor:pointer;padding:0;
  position:relative;z-index:31;
  color:var(--white);
  transition:color 0.35s ease;
}
.menu-btn .burger,
.menu-btn .burger::before,
.menu-btn .burger::after{
  content:'';position:absolute;left:0;right:0;height:2px;border-radius:2px;background:currentColor;
  transition:transform 0.25s ease, top 0.25s ease, background 0.2s ease;
}
.menu-btn .burger{top:50%;transform:translateY(-50%);}
.menu-btn .burger::before{top:-7px;}
.menu-btn .burger::after{top:7px;}
/* Geöffnet: Burger wird zum X (Header bleibt fix stehen, X sitzt über dem
   dunklen Panel) — immer weiß, auch auf hellen Abschnitten (höhere Spezifität,
   sonst überschreibt header.on-light das X ins Dunkle -> unsichtbar). */
body.nav-open header .menu-btn{color:var(--white);}
body.nav-open .menu-btn .burger{background:transparent;}
body.nav-open .menu-btn .burger::before{top:0;transform:rotate(45deg);}
body.nav-open .menu-btn .burger::after{top:0;transform:rotate(-45deg);}

/* Header variant for pages without a dark hero behind it */
header.on-light .nav-links a,
header.on-light .menu-btn,
header.on-light .badge{color:var(--ink);}

/* Weicher Hell/Dunkel-Wechsel des Headers beim Snap-Scrollen (Burger hat seine
   eigene Transition oben — hier NICHT das Logo mit transform belegen, sonst
   ruckelt der scroll-gebundene Punkt). */
body.snap header .nav-links a,
body.snap .badge, body.snap .badge .logo *{
  transition:color 0.35s ease, fill 0.35s ease;
}

/* Menü-Panel: echtes fixes Element am rechten Rand, fährt per eigenem Transform
   von rechts ein. (Nicht vom Body-Push betroffen, weil der Push über
   position/left läuft — das erzeugt KEINEN Containing-Block für fixe Elemente,
   Header & Panel bleiben also sauber am Viewport, auch beim Scrollen.) */
.nav-extra{display:none;}
.nav-links.force-show{
  position:fixed;top:0;right:0;
  height:100vh;height:100dvh;
  width:var(--menu-w);
  justify-self:auto;
  z-index:30;
  background:var(--ink);
  display:flex;flex-direction:column;
  align-items:flex-start;justify-content:center;
  gap:18px;
  padding:clamp(28px,3.4vw,44px);
  transform:translateX(100%);            /* geschlossen: rechts außerhalb */
  transition:transform 0.35s ease;
}
body.nav-open .nav-links.force-show{transform:translateX(0);}   /* offen: eingefahren */
.nav-links.force-show .nav-extra{display:block;}
.nav-links.force-show a{
  font-family:var(--font-display);font-weight:700;
  font-size:clamp(1.25rem,3vw,1.6rem);   /* passt inkl. "POST&PRODUCTION" ins Panel */
  letter-spacing:0;
  color:var(--white);
}
.nav-links.force-show a.current{color:var(--accent);}
header.on-light .nav-links.force-show a{color:var(--white);}
header.on-light .nav-links.force-show a.current{color:var(--accent);}

/* Impressum/Datenschutz: kleiner, ganz unten links im Panel. */
.nav-legal{display:none;}
.nav-links.force-show .nav-legal{
  display:flex;flex-direction:column;gap:6px;
  position:absolute;
  left:clamp(28px,3.4vw,44px);
  bottom:clamp(28px,3.4vw,44px);
}
.nav-links.force-show .nav-legal a{
  font-family:var(--font-body);font-weight:400;
  font-size:14px;text-transform:none;letter-spacing:0.02em;
  color:rgba(255,255,255,0.55);
}
.nav-links.force-show .nav-legal a:hover{color:var(--white);}

/* Klick-Ebene: fängt Klicks auf die Website ab -> schließt NUR das Menü, ohne
   dass darunterliegende Inhalte ausgelöst werden. z-index 10: ÜBER dem Inhalt
   (max. z-3), aber UNTER dem Header (z-20) samt Panel (z-30) und Burger (z-31),
   damit die Menü-Links weiter anklickbar bleiben. */
.nav-backdrop{position:fixed;inset:0;z-index:10;pointer-events:none;}
body.nav-open .nav-backdrop{pointer-events:auto;}

/* Push-Effekt: die Seite per left nach links schieben (kein transform -> der
   fixe Header und das Panel bleiben am Viewport). body ist schon relative. */
body{transition:left 0.35s ease;}
body.nav-open{left:calc(-1 * var(--menu-w));}
/* Bei geöffnetem Menü bleibt der Header stehen — sonst würde er auf den
   Unterseiten (header ist dort absolute) mitgeschoben: das Logo liefe aus dem
   Bild und das weiße X läge über hellem Inhalt statt über dem dunklen Panel. */
body.nav-open header{position:fixed;top:0;left:0;right:0;}
html:has(body.nav-open){overflow:hidden;}

@media (max-width:900px){
  /* Mobil/schmal entfällt die mittige Inline-Nav — alles läuft über den Burger. */
  .nav-links:not(.force-show){display:none;}
  /* Auf schmalen Fenstern kein seitlicher Push (der würde den Inhalt
     zerschneiden) — stattdessen deckt das Menü den ganzen Bildschirm. */
  .nav-links.force-show{width:100vw;}
  body.nav-open{left:0;}
}

/* ---------- Page header (non-hero pages) ---------- */
.pagehead{
  position:relative;
  background:var(--ink);
  padding-top:126px;   /* 25px unter dem Logo */
  padding-bottom:70px;
}
.pagehead .eyebrow{color:rgba(237,236,230,0.65);margin-bottom:16px;}
.pagehead h1{color:var(--white);font-size:clamp(2.2rem,5vw,3.8rem);max-width:900px;}
.pagehead p{
  color:rgba(237,236,230,0.8);
  font-family:var(--font-display);
  font-weight:500;
  font-size:clamp(1.1rem,2vw,1.5rem);
  line-height:1.4;
  max-width:760px;
  margin-top:24px;
  letter-spacing:-0.01em;
}
.pagehead strong{color:var(--white);}

/* ---------- Hero ---------- */
.hero{
  position:relative;
  width:100%;
  aspect-ratio:16/9;   /* cinematic frame, full-bleed */
  min-height:520px;    /* keeps it usable on narrow/short screens */
}
.hero .media{height:100%;}
.hero::after{
  content:'';
  position:absolute;inset:0;
  z-index:1;
  background:linear-gradient(to top, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.1) 40%, transparent 65%);
  pointer-events:none;
}
.hero img{object-position:38% center;}
.hero-slides{position:relative;width:100%;height:100%;overflow:hidden;}
.hero-slide{
  position:absolute;inset:0;
  transform:translateX(100%);
  transition:transform 0.8s cubic-bezier(.7,0,.2,1);
  pointer-events:none;
  z-index:1;
}
.hero-slide.is-active{transform:translateX(0);pointer-events:auto;z-index:2;}
.hero-slide.is-leaving{transform:translateX(-30%);z-index:1;}
.hero-slide .media{height:100%;}
/* Ganzer Slide klickbar -> zur Case-Detailseite. Füllt den Slide, damit Bild
   und Copy wie zuvor sitzen. Die Dots liegen außerhalb und bleiben bedienbar. */
.hero-link{position:absolute;inset:0;display:block;color:inherit;text-decoration:none;}
.hero-dots{
  position:absolute;
  left:0;right:0;bottom:20px;
  z-index:3;
  display:flex;
  justify-content:center;
  gap:10px;
}
.hero-dot{
  width:9px;height:9px;
  border-radius:50%;
  border:none;
  padding:0;
  background:rgba(255,255,255,0.45);
  cursor:pointer;
  transition:background 0.2s ease, transform 0.2s ease;
}
.hero-dot:hover{background:rgba(255,255,255,0.75);}
.hero-dot.is-active{background:var(--white);transform:scale(1.25);}

@media (prefers-reduced-motion:reduce){
  .hero-slide{transition:none;}
  .hero-slide.is-leaving{transform:translateX(100%);}
}
.hero-copy{
  position:absolute;
  left:40px;right:40px;bottom:56px;
  z-index:2;
  color:var(--white);
}
.hero-copy .eyebrow{color:rgba(255,255,255,0.8);margin-bottom:10px;}
/* Figma @1440: 68px → 4.7vw. Fluid, damit es full-bleed mitwächst. */
.hero-copy .hero-title{font-size:clamp(2.4rem,4.7vw,6rem);overflow-wrap:break-word;}

@media (max-width:800px){
  /* 16:9 would be only ~210px tall on a phone — use a portrait frame instead. */
  .hero{aspect-ratio:4/5;min-height:460px;}
  /* Long case titles ("Post&Production") clipped at the old minimum size. */
  .hero-copy{left:24px;right:24px;bottom:40px;}
  .hero-copy .hero-title{font-size:clamp(1.6rem,7vw,2.6rem);}
}

/* ---------- Intro ---------- */
.intro{
  background:var(--cream);
  padding:110px 0 90px;
}
.intro .eyebrow{margin-bottom:22px;}
.intro p{
  font-family:var(--font-display);
  font-weight:700;                       /* bolder */
  font-size:clamp(1.6rem,2.9vw,3.4rem);
  line-height:1.25;
  max-width:none;                        /* volle Breite nutzen */
  letter-spacing:-0.01em;
}

/* ---------- We are ---------- */
.weare{
  display:grid;
  grid-template-columns:1fr 1fr;
  aspect-ratio:16/9;   /* cinematic frame, full-bleed */
  min-height:560px;
}
.weare .media{height:100%;min-height:400px;}
.weare-img{
  position:absolute;
  inset:0;
  width:100%;height:100%;
  object-fit:cover;
  opacity:0;                       /* ohne Bild: Farbfläche bleibt sichtbar */
  transition:opacity 0.25s ease;
  z-index:1;                        /* unter dem "We are"-Label (z-index:2) */
}
.ph.has-img .weare-img{opacity:1;}
.weare-label{
  position:absolute;
  left:32px;
  top:50%;
  transform:translateY(-50%);
  z-index:2;
  font-family:var(--font-display);
  font-weight:700;
  font-size:clamp(2rem,4.45vw,5.5rem);   /* Figma @1440: 64px */
  color:currentColor;
  pointer-events:none;
}
.weare-roles{
  background:var(--sage);
  /* Die Rollennamen skalieren mit der Viewport-Breite, das feste 48px-Padding
     tat es nicht — zwischen ~850 und 1000px lief "Sounddesigners" deshalb aus
     der Spalte heraus. Padding wächst jetzt mit. */
  padding:clamp(24px,3.3vw,48px);
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.weare-roles-track{
  display:flex;
  flex-direction:column;
  gap:2px;
}
.weare-roles-track li{
  list-style:none;
  font-family:var(--font-display);
  font-weight:700;
  font-size:clamp(1.5rem,4.45vw,5.5rem);   /* Figma @1440: 64px (war 40px) */
  line-height:1.08;
  letter-spacing:-0.02em;
  transition:color 0.1s ease;
  cursor:pointer;
}
/* Auswahl (Auto-Tour/Ruhe + angeklickt) bleibt immer pink; nur Hover wird weiß. */
.weare-roles-track li.touring,
.weare-roles-track li.selected{color:var(--pink);}
.weare-roles-track li:hover{color:var(--white);}
.weare-roles-track li:focus-visible{outline:2px solid var(--ink);outline-offset:4px;}

@media (max-width:800px){
  /* Stacked on phones — a 16:9 box can't hold image + role list. */
  .weare{grid-template-columns:1fr;aspect-ratio:auto;min-height:0;}
  .weare .media{height:340px;}
  .weare-roles{padding:36px 28px;}
}

/* ---------- Section heading row ---------- */
.section-head{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  padding:80px 0 40px;
  gap:24px;
  flex-wrap:wrap;
}
.section-head h2{font-size:clamp(2rem,4.7vw,6rem);}   /* Figma @1440: 68px */
.link-arrow{
  font-size:15px;font-weight:500;letter-spacing:0.04em;
  display:flex;align-items:center;gap:8px;
  white-space:nowrap;
  background:none;border:none;color:inherit;cursor:pointer;font-family:var(--font-body);
}
.link-arrow span{transition:transform 0.2s ease;}
.link-arrow:hover span{transform:translateX(4px);}

/* ---------- News ---------- */
/* overflow-x:clip, weil 50vw die Scrollbar mitzählt und sonst ein paar Pixel
   horizontaler Seiten-Scroll entstehen könnten. */
.news{background:var(--white);padding-bottom:70px;overflow-x:clip;}
/* Die Kachelreihe bricht auf beiden Seiten aus dem .wrap-Raster aus und läuft
   bis an den Browserrand — dort schneidet sie hart ab, ohne Fade. Die erste
   Kachel startet trotzdem bündig am Textraster (padding-left = Rasterabstand),
   gescrollte Kacheln verschwinden aber erst am Fensterrand statt an der
   Rasterkante. */
.news .news-row{
  /* Abstand zum Fensterrand = Abstand des Textrasters, links wie rechts. */
  --rand:max(40px, 50vw - var(--container)/2 + 40px);
  margin-left:calc(50% - 50vw);
  margin-right:calc(50% - 50vw);
  padding-left:var(--rand);
  padding-right:var(--rand);
  /* Ohne scroll-padding snappt die erste Kachel an den Fensterrand
     statt an die Rasterkante, weil Snap-Punkte das padding ignorieren. */
  scroll-padding-left:var(--rand);
}
.news-row{
  display:flex;
  gap:20px;
  overflow-x:auto;
  scrollbar-width:none;
  padding-bottom:6px;
  cursor:grab;
  scroll-snap-type:x proximity;
}
.news-row.dragging{cursor:grabbing;scroll-snap-type:none;user-select:none;}
.news-row::-webkit-scrollbar{display:none;}
.news-card{
  display:block;
  position:relative;
  flex:0 0 auto;
  width:250px;
  aspect-ratio:9/16;
  border-radius:30px;corner-shape:squircle;
  overflow:hidden;
  scroll-snap-align:start;
  color:var(--white);
}
.news-card .media{height:100%;}

/* News-Übersichtsseite: dieselben Kacheln, aber als umbrechendes Raster */
/* 126px oben = Logo-Unterkante (101px) + 25px, wie auf der Startseite. */
.news-page{background:var(--white);padding:126px 0 110px;}
.news-page-head h1{font-size:clamp(2.6rem,7vw,5rem);margin-bottom:40px;}
.news-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(230px,1fr));
  gap:24px;
}
.news-grid .news-card{width:auto;flex:initial;scroll-snap-align:none;}
.news-card::after{
  content:'';position:absolute;inset:0;
  background:linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 55%);
  pointer-events:none;
}
.news-caption{
  position:absolute;left:16px;right:16px;bottom:16px;z-index:2;color:var(--white);
  pointer-events:none;
}
.news-caption .tag{font-size:15px;font-weight:500;margin-bottom:2px;}
.news-caption .sub{font-size:15px;color:rgba(255,255,255,0.85);}

/* Foto-Galerie in der News-Kachel (mehrere Fotos) */
.news-gallery{position:absolute;inset:0;}
.news-gallery img{
  position:absolute;inset:0;width:100%;height:100%;object-fit:cover;
  opacity:0;transition:opacity 0.5s ease;
}
.news-gallery img.is-active{opacity:1;}

/* Segmentierter Fortschrittsbalken — ein Segment je Foto */
.news-bar{
  position:absolute;top:14px;left:14px;right:14px;z-index:3;
  display:flex;gap:5px;pointer-events:none;
}
.news-bar .seg{
  flex:1;height:2.5px;border-radius:2px;
  background:rgba(255,255,255,0.4);overflow:hidden;
}
.news-bar .seg > i{display:block;height:100%;width:0;background:var(--white);}
.more-news{
  text-align:center;
  margin-top:48px;
  font-size:15px;font-weight:500;letter-spacing:0.04em;
  display:flex;align-items:center;justify-content:center;gap:8px;
  width:100%;background:none;border:none;color:inherit;cursor:pointer;font-family:var(--font-body);
}

/* ---------- The Family ---------- */
.family{background:var(--cream);padding-bottom:90px;}
.family-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:28px;
}
.family-grid.cols-2{grid-template-columns:repeat(2,1fr);}
.family-card{display:block;}
.family-card .media{aspect-ratio:4/3;border-radius:30px;corner-shape:squircle;}
.family-card h3{font-size:clamp(1.25rem,2.08vw,2.25rem);margin-top:18px;}   /* Figma @1440: 30px */
.family-card .sub{font-size:15px;color:var(--gray-text);margin-top:4px;}

@media (max-width:800px){
  .family-grid{grid-template-columns:1fr;}
  .family-grid.cols-2{grid-template-columns:1fr;}
}

/* ---------- Projects / Work grid ---------- */
.projects{background:var(--white);padding-bottom:110px;}
/* Two explicit flex columns instead of CSS `column-count` masonry: multicol
   children cannot be GPU-composited, so transforming them (parallax) forces a
   full-column repaint and flickers. Flex columns keep the staggered look and
   the fluid aspect ratios, and are transform-safe. */
.projects-grid{
  display:flex;
  align-items:flex-start;
  gap:24px;
}
.projects-col{
  flex:1 1 0;
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:24px;
}
.project-card{
  display:block;
  position:relative;
  border-radius:30px;corner-shape:squircle;
  overflow:hidden;
}
.project-card .media{width:100%;}
.project-card.tall .media{aspect-ratio:3/4;}
.project-card.wide .media{aspect-ratio:16/10;}
.project-card.square .media{aspect-ratio:5/4;}
.project-card::after{
  content:'';position:absolute;inset:0;
  background:linear-gradient(to top, rgba(0,0,0,0.5) 0%, transparent 40%);
  pointer-events:none;
  opacity:0;
  transition:opacity 0.2s ease;
}
.project-card:hover::after{opacity:1;}
.project-card:hover img{transform:scale(1.04);}
.project-card img{transition:transform 0.4s ease;object-position:left center;}
.project-card .project-caption{
  position:absolute;left:18px;bottom:16px;z-index:2;color:var(--white);
  display:flex;align-items:flex-start;gap:10px;
  font-size:15px;font-weight:500;
}
.project-card .project-caption .client{font-weight:400;opacity:0.85;display:block;}
.project-card .kind{
  position:absolute;top:16px;left:16px;z-index:2;
  font-size:11px;font-weight:500;letter-spacing:0.08em;text-transform:uppercase;
  color:rgba(255,255,255,0.85);
  background:rgba(0,0,0,0.35);
  padding:5px 10px;border-radius:20px;
}

@media (max-width:800px){
  /* Stacked: align-items must stretch again, otherwise the columns
     shrink-to-fit horizontally instead of filling the width. */
  .projects-grid{flex-direction:column;align-items:stretch;}
}

/* ---------- Filter pills (Work page) ---------- */
.filters{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:48px;}
.filter-pill{
  font-size:12px;font-weight:500;letter-spacing:0.04em;
  padding:9px 18px;border-radius:20px;
  border:1px solid var(--line);
  background:none;color:var(--ink);cursor:pointer;font-family:var(--font-body);
  transition:background 0.15s ease, color 0.15s ease;
}
.filter-pill.active{background:var(--ink);color:var(--white);border-color:var(--ink);}
.filter-pill:hover:not(.active){border-color:var(--ink);}

/* ---------- Services list (accordion-style rows) ---------- */
.services-list{border-top:1px solid var(--line);}
.services-list li{
  list-style:none;
  border-bottom:1px solid var(--line);
}
.service-toggle{
  width:100%;
  background:none;border:none;
  padding:22px 0;
  display:flex;align-items:center;justify-content:space-between;
  gap:16px;flex-wrap:wrap;   /* sonst stoßen Titel und Label auf Mobile aneinander */
  font-family:var(--font-display);font-weight:700;font-size:1.05rem;
  color:inherit;text-align:left;cursor:pointer;
  transition:color 0.15s ease;
}
.service-toggle:hover{color:var(--pink);}
.service-toggle:focus-visible{outline:2px solid var(--ink);outline-offset:4px;}
.service-meta{
  display:flex;align-items:center;gap:18px;
  color:var(--gray-text);
  font-family:var(--font-body);font-weight:400;font-size:13px;
}
/* Plus, das beim Öffnen zum Minus wird */
.service-icon{position:relative;width:15px;height:15px;flex-shrink:0;color:var(--ink);}
.service-icon::before,
.service-icon::after{
  content:'';position:absolute;left:50%;top:50%;background:currentColor;
  transition:transform 0.25s ease;
}
.service-icon::before{width:15px;height:1.5px;transform:translate(-50%,-50%);}
.service-icon::after{width:1.5px;height:15px;transform:translate(-50%,-50%);}
.service-toggle[aria-expanded="true"] .service-icon::after{transform:translate(-50%,-50%) scaleY(0);}

/* 0fr → 1fr animiert die Höhe sauber, ohne feste max-height zu raten */
.service-panel{
  display:grid;
  grid-template-rows:0fr;
  transition:grid-template-rows 0.3s ease;
}
.service-panel > div{overflow:hidden;}
.service-toggle[aria-expanded="true"] + .service-panel{grid-template-rows:1fr;}
.service-panel p{
  color:var(--gray-text);
  font-size:15px;line-height:1.7;
  max-width:640px;
  padding-bottom:26px;
}

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

/* ---------- Feature block (image + text, alternating) ---------- */
.feature{padding:70px 0;}
.feature-grid{display:grid;grid-template-columns:1.1fr 1fr;gap:56px;align-items:center;}
.feature-grid.reverse .feature-media{order:2;}
.feature-media{aspect-ratio:16/9;border-radius:30px;corner-shape:squircle;overflow:hidden;}
.feature-text h3{font-size:clamp(1.4rem,2.6vw,2rem);margin-bottom:16px;}
.feature-text p{color:var(--gray-text);font-size:15px;line-height:1.65;}

@media (max-width:800px){
  .feature-grid, .feature-grid.reverse{grid-template-columns:1fr;}
  .feature-grid.reverse .feature-media{order:0;}
}

/* ---------- Theme sections (numbered modules) ---------- */
.theme-block{padding:60px 0;border-top:1px solid var(--line);}
.theme-block .eyebrow{margin-bottom:14px;}
.theme-block h3{font-size:clamp(1.5rem,3vw,2.2rem);margin-bottom:20px;}
/* Format/Ecken gelten für jede .theme-media (auch außerhalb von .theme-block,
   z. B. das Gruppenbild auf /about/ — dort fehlte sonst das 16:9-Format). */
.theme-media{aspect-ratio:16/9;border-radius:30px;corner-shape:squircle;overflow:hidden;}
.theme-block .theme-media{margin-top:28px;}
.theme-block p{color:var(--gray-text);font-size:15px;line-height:1.65;max-width:640px;}

/* ---------- Team grid ---------- */
.team-grid{
  display:grid;
  grid-template-columns:repeat(6,1fr);
  gap:16px;
}
.team-card{aspect-ratio:3/4;border-radius:30px;corner-shape:squircle;overflow:hidden;position:relative;}
.team-card span{
  position:absolute;left:10px;bottom:10px;right:10px;color:var(--white);
  font-size:11px;font-weight:500;
}
@media (max-width:900px){.team-grid{grid-template-columns:repeat(3,1fr);}}
@media (max-width:500px){.team-grid{grid-template-columns:repeat(2,1fr);}}

/* ---------- Value pills (About page) ---------- */
.value-row{display:flex;gap:40px;flex-wrap:wrap;padding:50px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);}
.value-item{display:flex;align-items:center;gap:14px;}
.value-item .icon{width:40px;height:40px;border-radius:50%;background:var(--cream);flex-shrink:0;}
.value-item span{font-family:var(--font-display);font-weight:700;font-size:14px;}

/* ---------- Case detail page ---------- */
.case-hero{padding:126px 0 50px;background:var(--white);}   /* 25px unter dem Logo */
.case-hero .eyebrow{margin-bottom:14px;}
.case-hero h1{font-size:clamp(2.4rem,4.7vw,5.5rem);max-width:900px;overflow-wrap:break-word;}
.case-hero p{margin-top:28px;max-width:640px;color:var(--gray-text);font-size:15px;line-height:1.7;}
.case-hero strong{color:var(--ink);}
.case-media-main{aspect-ratio:16/9;border-radius:30px;corner-shape:squircle;overflow:hidden;margin:40px 0;}
.case-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-bottom:70px;}
.case-strip .media{aspect-ratio:1/1;border-radius:30px;corner-shape:squircle;}

@media (max-width:800px){
  .case-strip{grid-template-columns:1fr;}
  /* Lange Markentitel liefen sonst rechts aus dem Bild. */
  .case-hero h1{font-size:clamp(1.8rem,7vw,2.8rem);}
}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;align-items:center;gap:10px;
  font-size:13px;font-weight:500;letter-spacing:0.04em;
  padding:14px 26px;border-radius:30px;
  background:var(--ink);color:var(--white);
  border:none;cursor:pointer;font-family:var(--font-body);
}
.btn:hover{background:var(--ink-soft);}

/* ---------- Footer ---------- */
footer{
  background:var(--ink);
  color:var(--cream);
  padding:70px 0 36px;
}
.footer-top{
  display:flex;
  flex-wrap:wrap;
  gap:40px;
  justify-content:space-between;
  align-items:center;
  padding-bottom:56px;
  border-bottom:1px solid rgba(237,236,230,0.15);
}
.footer-nav{display:flex;gap:32px;flex-wrap:wrap;list-style:none;}
.footer-nav a{font-size:13px;font-weight:500;letter-spacing:0.05em;}
.footer-nav a:hover{color:var(--accent);}
.footer-bottom{
  display:flex;justify-content:space-between;flex-wrap:wrap;gap:12px;
  padding-top:24px;
  font-size:12px;
  color:rgba(237,236,230,0.55);
}
