@import url("fonts.css");

/* =========================================================================
   Movematic Media — Design system
   Derived from "Brandbook v2" (2026). Ink / Signal White / Sandstein.
   Montserrat leads, Space Mono assists. Colour comes from the image.
   ========================================================================= */

:root {
  /* Farbwelt — Kapitel 04 */
  --ink: #0f1311;
  --ink-800: #191b1a;
  --white: #ffffff;
  --sand: #a79c91;
  --sand-300: #c9c1b8;
  --sand-700: #7c7268;
  --paper: #f2eee8;
  --sand-500: #8e867e;

  /* Rollen */
  --bg: var(--ink);
  --fg: var(--white);
  --muted: var(--sand-300);
  --meta-2: var(--sand-500);
  --rule: rgba(255, 255, 255, 0.12);

  /* Typografie — Kapitel 05 */
  --font-display: "Montserrat", "Segoe UI", system-ui, sans-serif;
  --font-mono: "Space Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --step-display: clamp(2.15rem, 4.4vw, 3.9rem);
  --step-h1: clamp(1.85rem, 3.4vw, 2.9rem);
  --step-h2: clamp(1.5rem, 2.5vw, 2.25rem);
  --step-h3: clamp(1rem, 1.15vw, 1.15rem);
  --step-lead: clamp(1rem, 1.1vw, 1.14rem);
  --step-body: 0.97rem;
  --step-meta: 0.68rem;

  /* Raster */
  --gutter: clamp(1.25rem, 5vw, 3.5rem);
  --maxw: 1320px;
  --maxw-wide: 1600px;
  --measure: 58ch;
  --section-y: clamp(5.5rem, 11vw, 11.5rem);

  --header-h: 4.6rem;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding-top: var(--header-h);
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-display);
  font-size: var(--step-body);
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.page--hero { padding-top: 0; }

img,
picture,
video { max-width: 100%; display: block; }

/* <picture> is only a wrapper — where a frame must be filled, it has to
   inherit the frame's box, otherwise the <img> resolves height:100% to auto. */
.hero__media picture,
.band__media picture,
.tile__frame picture,
.frame picture { width: 100%; height: 100%; }

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

::selection { background: var(--white); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--sand);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------------------------------------------------------------- layout */

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.wrap--wide { max-width: var(--maxw-wide); }

.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(3.5rem, 7vw, 7rem); }
.section--air { padding-block: clamp(7rem, 15vw, 15rem); }

.section--paper {
  background: var(--paper);
  color: var(--ink);
  --muted: var(--sand-700);
  --meta-2: var(--sand-700);
  --rule: rgba(15, 19, 17, 0.14);
}

.section--white {
  background: var(--white);
  color: var(--ink);
  --muted: var(--sand-700);
  --meta-2: var(--sand-700);
  --rule: rgba(15, 19, 17, 0.14);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--white);
  color: var(--ink);
  padding: 0.75rem 1.25rem;
  font: 700 var(--step-meta) / 1 var(--font-mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* ------------------------------------------------------------ typography */

.meta,
.eyebrow {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: var(--step-meta);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1.4;
  color: var(--sand);
  margin: 0;
}

.eyebrow { display: block; margin-bottom: clamp(1rem, 2vw, 1.6rem); }

/* Zweite Meta-Ebene — leiser als das Label, aber immer noch lesbar */
.meta--sub { color: var(--meta-2); }
.meta--name { color: currentColor; }

.display,
.h1,
.h2,
.h3 {
  font-weight: 500;
  text-transform: uppercase;
  margin: 0;
  text-wrap: balance;
}

.display {
  font-size: var(--step-display);
  letter-spacing: -0.02em;
  line-height: 0.98;
}

.h1 {
  font-size: var(--step-h1);
  letter-spacing: -0.015em;
  line-height: 1.02;
}

.h2 {
  font-size: var(--step-h2);
  letter-spacing: -0.015em;
  line-height: 1.06;
}

.h3 {
  font-size: var(--step-h3);
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.lead {
  font-size: var(--step-lead);
  line-height: 1.6;
  max-width: var(--measure);
  color: var(--muted);
  margin: 0;
}

.prose { max-width: var(--measure); }
.prose > * + * { margin-top: 1.15em; }
.prose p { color: var(--muted); margin: 0; }
.prose h2 { font-size: var(--step-h3); text-transform: uppercase; letter-spacing: -0.01em; margin-top: 2.4em; }
.prose h3 { font-size: 1.05rem; text-transform: uppercase; letter-spacing: 0.02em; margin-top: 1.8em; }
.prose ul { margin: 0; padding-left: 1.15rem; color: var(--muted); }
.prose li + li { margin-top: 0.5rem; }
.prose a { border-bottom: 1px solid var(--sand); }
.prose a:hover { color: var(--sand); }

.stack > * + * { margin-top: clamp(1.1rem, 2vw, 1.75rem); }

/* --------------------------------------------------------------- buttons */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1rem 1.65rem;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: var(--step-meta);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1;
  border: 1px solid var(--white);
  background: var(--white);
  color: var(--ink);
  transition: background 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease);
}
.btn:hover { background: transparent; color: var(--white); transform: translateX(3px); }
.btn .arw { transition: transform 0.25s var(--ease); }
.btn:hover .arw { transform: translateX(4px); }

.btn--ghost { background: transparent; color: var(--white); }
.btn--ghost:hover { background: var(--white); color: var(--ink); }

.section--paper .btn,
.section--white .btn {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}
.section--paper .btn:hover,
.section--white .btn:hover { background: transparent; color: var(--ink); }

.section--paper .btn--ghost,
.section--white .btn--ghost { background: transparent; color: var(--ink); }
.section--paper .btn--ghost:hover,
.section--white .btn--ghost:hover { background: var(--ink); color: var(--white); }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.85rem; }

.textlink {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: var(--step-meta);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sand);
  border-bottom: 1px solid currentColor;
  padding-bottom: 0.35rem;
  transition: color 0.2s var(--ease);
}
.textlink:hover { color: inherit; }

/* ---------------------------------------------------------------- header */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(15, 19, 17, 0.28);
  backdrop-filter: saturate(150%) blur(16px);
  -webkit-backdrop-filter: saturate(150%) blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 0.85rem;
}

.brand { display: inline-flex; align-items: center; }
.brand img { width: 168px; height: auto; }

.nav { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2.1rem); }

.nav a {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: var(--step-meta);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sand-300);
  transition: color 0.2s var(--ease);
}
.nav a:hover { color: var(--white); }
.nav a[aria-current="page"] { color: var(--white); }

/* Der CTA im Header bleibt ein Button, kein Navigationslink */
.nav a.btn { color: var(--ink); }
.nav a.btn:hover { color: var(--white); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--rule);
  color: var(--white);
  padding: 0.6rem 0.9rem;
  font: 700 var(--step-meta) / 1 var(--font-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
}

@media (max-width: 900px) {
  .nav-toggle { display: inline-block; }
  .nav {
    position: fixed;
    inset: 0 0 auto;
    top: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--ink);
    padding: 6rem var(--gutter) 3rem;
    height: 100dvh;
    transform: translateY(-100%);
    transition: transform 0.45s var(--ease);
    overflow-y: auto;
  }
  .nav[data-open="true"] { transform: translateY(0); }
  .nav a {
    width: 100%;
    padding-block: 1.05rem;
    border-bottom: 1px solid var(--rule);
    font-size: 0.8rem;
  }
  .nav .btn { margin-top: 1.75rem; border-bottom: 0; }
  /* Logo und Toggle bleiben über dem geöffneten Panel bedienbar */
  .site-header__inner { position: relative; }
  .brand,
  .nav-toggle { position: relative; z-index: 120; }
}

/* ------------------------------------------------------------------ hero */

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--ink-800);
  /* Hero-Format 2.39:1, aber nie kürzer als der Satz, der darauf sitzt */
  min-height: clamp(33rem, 88svh, 46rem);
  /* Oben Platz fuer die schwebende Kopfzeile, unten setzt der Satz auf dem
     unteren Drittel auf statt auf der Kante. */
  padding-block: calc(var(--header-h) + clamp(2rem, 5vw, 4rem)) clamp(6rem, 13vh, 10rem);
}
@media (min-width: 1100px) {
  .hero { min-height: max(33rem, min(88svh, 44vw)); }
}
/* Der Film fuellt den ersten Bildschirm komplett. Sonst folgt direkt unter
   dem Hero der Leerraum der naechsten Sektion — und der las sich als
   dunkler Balken, obwohl er gar nicht zum Hero gehoert. */
.hero--film { min-height: 100svh; }

.hero__media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }

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



/* Handy: eigene Datei im Hochformat statt des fremden Players.
   Spart den Player-Overhead und passt zum Format des Materials. */
.hero__film {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s var(--ease);
  display: none;
}
.hero__film.is-ready { opacity: 1; }

/* Hochformat bis 899 px, Querformat darueber. Nur eine Fassung existiert
   jeweils im Layout, deshalb laedt das Skript auch nur diese eine. */
@media (max-width: 899px) {
  .hero__film--portrait { display: block; }
}
@media (min-width: 900px) {
  .hero__film--landscape { display: block; }
}

/* Auslauf statt Fläche — der Satz sitzt auf dem Gradienten, nicht auf einem
   Kasten. Bewusst flach gehalten: der Verlauf soll nur die untere Kante des
   Films verdecken, nicht ein Drittel des Bildes. */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    /* Auslauf nach unten: weich ueber die untere Haelfte, dicht erst ganz
       am Rand — traegt den Satz, ohne das Motiv zuzudecken. */
    linear-gradient(to top,
      rgba(15, 19, 17, 0.96) 0%,
      rgba(15, 19, 17, 0.8) 8%,
      rgba(15, 19, 17, 0.52) 20%,
      rgba(15, 19, 17, 0.24) 34%,
      rgba(15, 19, 17, 0.06) 46%,
      rgba(15, 19, 17, 0) 56%),
    linear-gradient(to right,
      rgba(15, 19, 17, 0.7) 0%,
      rgba(15, 19, 17, 0.34) 32%,
      rgba(15, 19, 17, 0) 64%),
    linear-gradient(to bottom, rgba(15, 19, 17, 0.55) 0%, rgba(15, 19, 17, 0) 20%);
}

.hero__body { width: 100%; }

.hero__body .display,
.hero__body .h1 { max-width: 16ch; }
.hero__body .lead { margin-top: clamp(0.9rem, 1.6vw, 1.25rem); max-width: 40ch; }
.hero__body .btn-row { margin-top: clamp(1.6rem, 3vw, 2.5rem); }
.hero__body .eyebrow { margin-bottom: clamp(0.9rem, 1.8vw, 1.4rem); }

.hero__ticker {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem clamp(0.9rem, 2.4vw, 1.6rem);
  margin-bottom: clamp(1rem, 2vw, 1.6rem);
}

/* Page hero (kleiner, für Unterseiten) */
.pagehead { padding-block: clamp(3.5rem, 8vw, 7rem) clamp(2.5rem, 5vw, 4rem); }
.pagehead .lead { margin-top: 1.4rem; }

/* --------------------------------------------------------------- rhythm  */

.split {
  display: grid;
  gap: clamp(1.75rem, 4vw, 4rem);
  align-items: start;
}
@media (min-width: 900px) { .split { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); } }

.split--media { align-items: center; }
@media (min-width: 900px) { .split--media { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.rule {
  border: 0;
  border-top: 1px solid var(--rule);
  margin: 0;
}

/* ----------------------------------------------------------------- cards */

.grid {
  display: grid;
  gap: clamp(1.1rem, 2.2vw, 1.75rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
}
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 24rem), 1fr)); }

.card {
  background: var(--ink-800);
  border: 1px solid var(--rule);
  padding: clamp(1.5rem, 2.6vw, 2.25rem);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  height: 100%;
}
.card p { color: var(--muted); margin: 0; }
.card .meta { color: var(--sand); }

.section--paper .card,
.section--white .card { background: transparent; }

/* Nummerierte Liste (Werte, Prozess) */
.numbered { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.numbered > li {
  display: grid;
  gap: 0.6rem clamp(1.25rem, 3vw, 3rem);
  padding-block: clamp(1.5rem, 3vw, 2.4rem);
  border-top: 1px solid var(--rule);
}
.numbered > li:last-child { border-bottom: 1px solid var(--rule); }
@media (min-width: 800px) {
  .numbered > li { grid-template-columns: 5rem minmax(0, 20ch) minmax(0, 1fr); align-items: baseline; }
}
.numbered p { color: var(--muted); margin: 0; }

/* ------------------------------------------------------------------ tiles */
/* Ein Frame, eine Bildunterschrift darunter. Kein Text über dem Motiv,
   kein Kasten — das Bild bleibt frei (Kapitel 06 / 09). */

.tile-grid {
  display: grid;
  gap: clamp(1.4rem, 3vw, 2.6rem) clamp(1rem, 2.2vw, 1.75rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr));
}
.tile-grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 24rem), 1fr)); }
@media (min-width: 900px) { .tile-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.tile-grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 23rem), 1fr)); }
@media (min-width: 980px) { .tile-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 620px) and (max-width: 979px) { .tile-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.tile-grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }
@media (min-width: 620px) and (max-width: 1099px) {
  .tile-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1100px) { .tile-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.tile { display: block; margin: 0; }

.tile__frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--ink-800);
}
.tile--portrait .tile__frame { aspect-ratio: 4 / 5; }
.tile--square .tile__frame { aspect-ratio: 1 / 1; }

.tile__frame picture,
.tile__frame img,
.tile__frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tile__frame img { transition: transform 0.9s var(--ease), opacity 0.6s var(--ease); }
a.tile:hover .tile__frame img,
.tile--video:hover .tile__frame img { transform: scale(1.03); }

.tile__caption { padding-top: clamp(0.9rem, 1.6vw, 1.15rem); }
/* Die Ortszeile steht unter dem Sektionslabel, also auch optisch darunter */
.tile__caption .meta { font-size: 0.6rem; letter-spacing: 0.15em; }
.tile__caption .h3 { margin-top: 0.4rem; }
.tile__caption p { color: var(--muted); margin: 0.5rem 0 0; font-size: 0.92rem; line-height: 1.6; }
a.tile .tile__caption .h3 { transition: color 0.2s var(--ease); }
a.tile:hover .tile__caption .h3 { color: var(--sand); }

/* Video-Vorschau: Standbild liegt oben, das Video blendet beim Hover darunter
   durch. Geladen wird erst bei Absicht — preload="none" plus Hover-Trigger. */
.tile__frame video { opacity: 0; transition: opacity 0.7s var(--ease); z-index: 1; }
.tile__frame img { z-index: 2; }
.tile--video:hover .tile__frame img,
.tile--video:focus-within .tile__frame img { opacity: 0; }
.tile--video:hover .tile__frame video,
.tile--video:focus-within .tile__frame video { opacity: 1; }
.tile--video .tile__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07);
}

/* Case-Study-Film: läuft im Viewport, pausiert außerhalb */
.tile--film .tile__frame video { opacity: 1; z-index: 2; }
.tile--film .tile__frame img { z-index: 1; }

/* Projektfilm mit Bedienelementen — kein stummer Endlosschnipsel */
.filmplayer { position: relative; overflow: hidden; background: var(--ink-800); }
.filmfacade { position: relative; }
.filmfacade .tile__frame { display: block; width: 100%; }
.filmplayer video { width: 100%; height: auto; display: block; }

/* Kundenstimmen: Standbild mit Abspielknopf. Der Vimeo-Player wird erst
   beim Klick eingesetzt — bis dahin ist das hier ein reines Bild. */
.tile__play {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: var(--ink-800);
  cursor: pointer;
  color: inherit;
}
.tile__play iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  z-index: 5;            /* ueber dem Standbild, das z-index 2 traegt */
}
.tile__play.is-playing img { opacity: 0; }
.tile__playicon {
  position: absolute;
  inset: 0;
  margin: auto;
  width: clamp(3.25rem, 6vw, 4.25rem);
  height: clamp(3.25rem, 6vw, 4.25rem);
  z-index: 4;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  background: rgba(15, 19, 17, 0.55);
  backdrop-filter: blur(3px);
  box-shadow: 0 0 0 1px rgba(15, 19, 17, 0.25), 0 8px 30px rgba(0, 0, 0, 0.35);
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
/* Leichter Schleier ueber dem Standbild, damit der Knopf immer traegt */
.tile--play .tile__frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  background: rgba(15, 19, 17, 0.18);
  transition: background 0.3s var(--ease);
  pointer-events: none;
}
.tile--play:hover .tile__frame::before { background: rgba(15, 19, 17, 0.05); }
.tile__playicon::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 0;
  height: 0;
  border-left: 0.85rem solid var(--white);
  border-top: 0.55rem solid transparent;
  border-bottom: 0.55rem solid transparent;
  transform: translateX(0.18rem);
}
.tile--play:hover .tile__playicon { background: var(--white); transform: scale(1.08); }
.tile--play:hover .tile__playicon::after { border-left-color: var(--ink); }
.tile__play:focus-visible { outline: 2px solid var(--sand); outline-offset: 3px; }
.tile--play .tile__frame::after { content: none; }

/* Portraits — freigestellt auf Ink, mit Luft dazwischen. Der Name fuehrt,
   die Funktion steht leiser darunter. */
.portraits {
  display: grid;
  gap: clamp(2rem, 6vw, 4.5rem);
  grid-template-columns: repeat(auto-fit, minmax(min(45%, 11rem), 1fr));
  max-width: 40rem;
}
.portraits .tile__frame {
  aspect-ratio: 1 / 1;
  background: var(--ink);
}
.portraits .tile__caption { padding-top: clamp(1.1rem, 2vw, 1.5rem); }
.portraits .tile__caption .h3 {
  font-size: clamp(1.15rem, 1.7vw, 1.5rem);
  margin-top: 0;
}
.portraits .tile__caption .meta {
  font-size: 0.62rem;
  margin-top: 0.55rem;
}

/* ------------------------------------------------------------ full bleed */

.band { position: relative; isolation: isolate; overflow: hidden; }
.band__media { position: absolute; inset: 0; z-index: -2; }
.band__media img { width: 100%; height: 100%; object-fit: cover; }
.band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    90deg,
    rgba(15, 19, 17, 0.92) 0%,
    rgba(15, 19, 17, 0.6) 34%,
    rgba(15, 19, 17, 0.18) 62%,
    rgba(15, 19, 17, 0) 88%);
}
.band .wrap { padding-block: clamp(5rem, 11vw, 10rem); }
.band .h2 { max-width: 16ch; }

/* --------------------------------------------------------------- clients */

/* Logo-Wand: jede Marke sitzt auf derselben Bühne und ist auf gleiche
   optische Masse skaliert — sonst erschlägt eine Wortmarke alle Bildmarken. */
.clients {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: clamp(1.5rem, 3.5vw, 3rem) clamp(1.5rem, 4vw, 3.5rem);
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (min-width: 760px) { .clients { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .clients { grid-template-columns: repeat(9, minmax(0, 1fr)); } }
.clients li { display: flex; justify-content: center; }
.clients img {
  height: clamp(2rem, 3.4vw, 2.85rem);
  width: 100%;
  object-fit: contain;
  opacity: 0.8;
  transition: opacity 0.3s var(--ease);
}
.clients li:hover img { opacity: 1; }
/* Auf hellem Grund kippen die weißen Marken auf Ink */
.section--paper .clients img,
.section--white .clients img { filter: invert(1); opacity: 0.75; }

/* ------------------------------------------------------------ quotes/FAQ */

.quote {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  padding: clamp(1.5rem, 2.6vw, 2.25rem);
  border: 1px solid var(--rule);
  height: 100%;
  margin: 0;
}
.quote blockquote { margin: 0; font-size: 1.02rem; line-height: 1.6; color: inherit; }
.quote figcaption { margin-top: auto; }

.faq { border-top: 1px solid var(--rule); }
.faq details {
  border-bottom: 1px solid var(--rule);
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding-block: clamp(1.15rem, 2.4vw, 1.6rem);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
  font-weight: 500;
  font-size: var(--step-h3);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--font-mono);
  color: var(--sand);
  flex: none;
  transition: transform 0.3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding-bottom: clamp(1.15rem, 2.4vw, 1.6rem); }
.faq p { color: var(--muted); margin: 0; max-width: var(--measure); }

/* ---------------------------------------------------------------- footer */

.site-footer {
  background: var(--ink);
  border-top: 1px solid var(--rule);
  padding-block: clamp(3rem, 6vw, 5rem) 2rem;
}

.footer-grid {
  display: grid;
  gap: clamp(2rem, 4vw, 3rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr));
}
@media (min-width: 1040px) {
  .footer-grid { grid-template-columns: 1.5fr 0.9fr 1.2fr 1.3fr 1fr; }
}

.footer-grid ul { list-style: none; margin: 0.9rem 0 0; padding: 0; }
.footer-grid li + li { margin-top: 0.55rem; }
.footer-grid a { color: var(--sand-300); font-size: 0.95rem; }
.footer-grid a:hover { color: var(--white); }

/* Die Wortmarke sitzt auf halber Höhe der Fußzeile, nicht oben bündig */
.footer-brand {
  display: flex;
  align-items: center;
  align-self: center;
}
.footer-brand img { width: 168px; height: auto; }

.footer-bottom {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  align-items: center;
  justify-content: space-between;
}
.footer-bottom .meta { color: var(--meta-2); }

/* ------------------------------------------------------------- utilities */

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

.dl-facts { margin: 0; display: grid; gap: 0; }
.dl-facts > div {
  display: grid;
  gap: 0.25rem 2rem;
  padding-block: 0.95rem;
  border-bottom: 1px solid var(--rule);
}
@media (min-width: 640px) { .dl-facts > div { grid-template-columns: 12rem minmax(0, 1fr); } }
.dl-facts dt {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: var(--step-meta);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sand);
}
.dl-facts dd { margin: 0; color: var(--muted); }

/* Kinoformat für frei stehende Frames */
.frame { overflow: hidden; aspect-ratio: 16 / 9; background: var(--ink-800); }
@media (min-width: 900px) { .frame { aspect-ratio: 21 / 9; } }
.frame picture, .frame img { width: 100%; height: 100%; object-fit: cover; }

.figure figcaption {
  margin-top: 0.85rem;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: var(--step-meta);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sand);
}

/* Sanfte Einblendung — Bewegung kommt aus dem Bild, nicht aus Deko */
.reveal { opacity: 0; transform: translateY(18px); }
.reveal.is-in { opacity: 1; transform: none; transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
