/* ============================================================
   meertzfilm_ — Film agency website
   ============================================================ */

:root {
  --cream:      #f1efe8;
  --cream-2:    #eae8df;
  --mint:       #a9d3c3;
  --mint-soft:  #c9e2d9;
  --mint-pale:  #d9ebe4;
  --mint-text:  #8bbfac;
  --ink:        #14201c;
  --ink-soft:   #4a544f;
  --dark:       #0e1a16;
  --dark-2:     #16241f;
  --line:       #cfccc1;
  --line-dark:  rgba(255,255,255,.16);

  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-head: 'Oswald', 'Inter Tight', sans-serif;

  --maxw: 1360px;
  --pad: clamp(20px, 5vw, 64px);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.mint { color: var(--mint-text); }
.gold, .gold .cursor { color: #F0D89D; }

.cursor {
  color: var(--mint-text);
  font-weight: 400;
}

/* ---- Eyebrow ---- */
.eyebrow {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .72rem;
  font-weight: 600;
  color: var(--mint-text);
}

/* ---- Arrow links ---- */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 2.4rem;
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .04em;
  padding: 1rem 0 .9rem;
  border-top: 1px solid var(--ink);
  min-width: 210px;
  justify-content: space-between;
  transition: gap .3s ease, color .2s ease;
}
.link-arrow .arrow { transition: transform .3s ease; }
.link-arrow:hover .arrow { transform: translateX(6px); }
.link-arrow--sm { min-width: 150px; font-size: .78rem; }
.link-arrow--light { border-color: rgba(255,255,255,.35); color: #fff; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* 10% Spaltenrand links wie rechts — Logo fluchtet mit der Hero-Headline
     und dem Content-Raster (Video, Bilder) an der Container-Kante */
  padding: 1.2rem 10%;
  background: var(--cream);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  border-bottom-color: var(--line);
  backdrop-filter: blur(8px);
  background: rgba(241,239,232,.9);
}

.logo {
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -.02em;
}
.logo--sm { font-size: 1.1rem; }

.main-nav { display: flex; gap: 2.4rem; }
.main-nav a {
  font-size: .9rem;
  font-weight: 500;
  position: relative;
  padding-bottom: 2px;
  color: var(--ink-soft);
  transition: color .2s ease;
}
.main-nav a:hover { color: var(--ink); }
.main-nav a.active { color: var(--ink); }
.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 1.5px;
  background: var(--ink);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  width: 26px; height: 2px;
  background: var(--ink);
  transition: transform .3s, opacity .3s;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  width: 80%;
  margin-inline: auto;
  display: grid;
  /* minmax(0,1fr) erzwingt exakt gleiche Spalten, unabhängig von der
     min-content-Breite der großen „meertzfilm"-Headline */
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  border-bottom: 1px solid var(--line);
}
.hero__text {
  /* linkes Padding = 0, damit die Headline bündig mit der Container-Kante
     (Video/Bilder darunter) sitzt; rechts var(--pad) als Abstand zum Bild */
  padding: clamp(2.5rem, 6vw, 5.5rem) var(--pad) 3rem 0;
  display: flex;
  flex-direction: column;
}
.hero__title {
  font-weight: 700;
  /* an die 50/50-Spalte angepasst, damit „meertzfilm" nicht ins Bild ragt */
  font-size: clamp(3rem, 6.5vw, 6.4rem);
  line-height: .92;
  letter-spacing: -.04em;
  margin-bottom: calc(1.6rem + 20px);
}
.hero__lede {
  font-size: clamp(1.15rem, 2vw, 1.6rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -.01em;
  margin-bottom: 2.2rem;
}
.hero__tag {
  margin-top: auto;
  padding-top: 3rem;
  font-size: 1.2rem;
  color: var(--ink-soft);
  line-height: 1.6;
}
.hero .link-arrow { margin-bottom: 1rem; }

.hero__media { position: relative; background: #12160f; }
.hero__image {
  height: 100%;
  min-height: 520px;
  background-color: #12160f;
  background-image:
    linear-gradient(180deg, rgba(0,0,0,.12), rgba(0,0,0,.45)),
    url("images/Header_1.png");
  background-size: cover;
  background-position: center 20%;
}
.hero__video {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}
.vertical-label {
  position: absolute;
  right: .9rem;
  top: 50%;
  transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl;
  font-size: .78rem;
  letter-spacing: .12em;
  color: rgba(255,255,255,.85);
  font-weight: 500;
}

/* ============================================================
   STATEMENT (condensed headlines)
   ============================================================ */
.statement {
  font-family: var(--font-head);
  text-transform: uppercase;
  font-weight: 700;
  font-size: clamp(2.6rem, 5.5vw, 4.6rem);
  line-height: .96;
  letter-spacing: .005em;
}
.statement .mint { color: var(--mint-text); }
.statement--light { color: #F0D89D; }
.statement--light .mint { color: var(--mint); }

/* ============================================================
   APPROACH
   ============================================================ */
.approach {
  width: 80%;
  margin-inline: auto;
  display: grid;
  /* 50/50: Showreel und gelbe Kachel gleich breit */
  grid-template-columns: 1fr 1fr;
  background: #F0D89D;
  border-bottom: 1px solid var(--line);
}
/* Elevate-Headline in kräftigerem Gelbton, damit sie auf der Kachel lesbar bleibt */
.approach .statement .mint { color: #7d6516; }
.approach .statement .cursor { color: #7d6516; }
.approach__text {
  padding: clamp(1.5rem, 3vw, 3rem) var(--pad);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(1rem, 2.5vw, 2.2rem);
}
/* Schriftgröße skaliert mit der Viewport-Breite (wie die 16:9-Videohöhe),
   damit der Text zuverlässig in die gelbe Kachel passt und diese bündig
   mit dem Video abschließt. */
.approach .statement {
  font-size: clamp(1.2rem, 2.4vw, 2.6rem);
  line-height: 1.05;
}
/* Video bleibt immer im 16:9-Format und definiert damit die Reihenhöhe.
   width:100% hält es exakt in seiner 50%-Spalte; die Höhe kommt aus dem
   Seitenverhältnis. Die gelbe Textkachel streckt sich per Grid automatisch
   auf dieselbe Höhe (die Schrift ist so dimensioniert, dass sie hineinpasst). */
.approach__video {
  position: relative;
  min-width: 0;
  width: 100%;
  align-self: start;
  aspect-ratio: 16 / 9;
  line-height: 0;
  background: #000;
}
.audio-toggle {
  position: absolute;
  bottom: clamp(.7rem, 1.6vw, 1.1rem);
  right: clamp(.7rem, 1.6vw, 1.1rem);
  display: inline-flex;
  align-items: center;
  line-height: 0;
  color: #fff;
  background: none;
  border: none;
  padding: .35rem;
  cursor: pointer;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, .55));
  transition: opacity .2s ease, transform .2s ease;
}
.audio-toggle:hover { opacity: .8; transform: translateY(-1px); }
.audio-toggle__icon { display: inline-flex; }
.audio-toggle__icon svg { width: 22px; height: 22px; }
/* Standard = stumm: Mute-Kreuz sichtbar, Schallwelle aus */
.audio-toggle__wave { display: none; }
.audio-toggle[aria-pressed="true"] .audio-toggle__mute { display: none; }
.audio-toggle[aria-pressed="true"] .audio-toggle__wave { display: inline; }
.approach__video video,
.approach__video img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ============================================================
   SECTION DIVIDER
   ============================================================ */
.divider {
  width: 80%;
  margin-inline: auto;
  padding: clamp(2.6rem, 5vw, 4.4rem) var(--pad) clamp(2rem, 4vw, 3.4rem);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.divider__lead {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: none;
}

/* ============================================================
   CASE STUDY
   ============================================================ */
.case {
  width: 80%;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  border-bottom: 1px solid var(--line);
}
/* Variante mit 4 Kacheln */
.case--four { grid-template-columns: repeat(4, 1fr); }
.case__product {
  min-height: 440px;
  background:
    linear-gradient(160deg, rgba(120,150,130,.25), rgba(20,32,28,.35)),
    url("https://images.unsplash.com/photo-1556228578-8c89e6adf883?q=80&w=1000&auto=format&fit=crop");
  background-size: cover;
  background-position: center;
}
.case__body {
  padding: clamp(2rem, 4vw, 3.4rem);
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
}
.case__title {
  font-family: var(--font-head);
  text-transform: uppercase;
  font-weight: 700;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1;
  letter-spacing: .01em;
  margin-top: .4rem;
}
/* Wortmarke ersetzt den Text im Case-Titel */
.case__logo {
  display: block;
  height: 1.05em;
  width: auto;
  margin-bottom: .3em;
}
/* Bayer-Logo hat einen weißen Hintergrund -> per multiply ins Creme einblenden;
   quadratisches Logo etwas größer als die textbasierten Wortmarken. */
.case__logo[src*="bayer"] { mix-blend-mode: multiply; height: 1.6em; }
/* RheinEnergie-Logo hat ebenfalls einen weißen Hintergrund; die Datei hat
   einen kleinen leeren Rand links -> per negativem Margin bündig zur Schrift. */
.case__logo[src*="rheinenergie"] { mix-blend-mode: multiply; height: 1.5em; margin-left: -.34em; }
/* FGS-Logo hat ebenfalls einen weißen Hintergrund (Inhalt bereits links bündig) */
/* FGS-Datei hat unten einen leeren Rand (~25% der Höhe) -> negativer Margin,
   damit der sichtbare Abstand zur Schrift dem der anderen Logos (.3em) entspricht. */
.case__logo[src*="fgs"] { mix-blend-mode: multiply; height: 1.9em; margin-bottom: -.18em; }
/* Voigt-Logo hat einen weißen Hintergrund -> per multiply ins Creme einblenden;
   etwas größer als die Standard-Wortmarken. */
.case__logo[src*="voigt"] { mix-blend-mode: multiply; height: 2.5em; margin-bottom: -.05em; }
.case__desc {
  color: var(--ink-soft);
  font-size: .95rem;
  line-height: 1.6;
  max-width: 34ch;
}
.case__body .link-arrow { margin-top: auto; }

.case__media { display: grid; grid-template-rows: 1fr 1fr; }
/* "Stark für morgen" (#case-4): Media-Kachel vertikal teilen (Kacheln nebeneinander)
   statt horizontal (übereinander). */
#case-4 .case__media { grid-template-rows: none; grid-template-columns: 1fr 1fr; }
.case__video {
  position: relative;
  background:
    linear-gradient(180deg, rgba(0,0,0,.15), rgba(0,0,0,.38)),
    url("https://images.unsplash.com/photo-1478720568477-152d9b164e26?q=80&w=900&auto=format&fit=crop");
  background-size: cover;
  background-position: center;
  min-height: 220px;
}
.play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 62px; height: 62px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.8);
  background: rgba(255,255,255,.08);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background .25s, transform .25s;
}
.play:hover { background: rgba(255,255,255,.2); transform: scale(1.06); }
.play span {
  width: 0; height: 0;
  border-left: 12px solid #fff;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  margin-left: 3px;
}
.case__abstract {
  min-height: 220px;
  background:
    url("https://images.unsplash.com/photo-1550684848-fac1c5b4e853?q=80&w=900&auto=format&fit=crop");
  background-size: cover;
  background-position: center;
  filter: grayscale(1) contrast(1.05);
}
/* Drittes Foto in der dritten Case-Reihe: ausbildung_1.png */
#case-3 .case__video {
  background:
    linear-gradient(180deg, rgba(0,0,0,.09), rgba(0,0,0,.30)),
    url("images/ausbildung_1.png");
  background-size: cover;
  background-position: center;
}
/* Zweites Foto (Produktkachel) in der dritten Case-Reihe: ausbildung_2.png */
#case-3 .case__product { background-image: url("images/ausbildung_2.png"); }
/* Erstes Foto in der dritten Case-Reihe: tech_2.png */
#case-3 .case__abstract {
  background-image: url("images/tech_2.png");
  filter: none;
}
/* Imagefilm Voigt (#case-6): eigene Fotos.
   1. Kachel (abstract) = Voigt_4, 2. Kachel (product) = Voigt_1, 4. Kachel (video) = Voigt_3 */
#case-6 .case__abstract {
  position: relative;                /* damit der Play-Button zentriert */
  background-image: url("images/Voigt_4.png");
  filter: none;
}
#case-6 .case__product { background-image: url("images/Voigt_1.png"); }
#case-6 .case__video {
  background:
    linear-gradient(180deg, rgba(0,0,0,.09), rgba(0,0,0,.30)),
    url("images/Voigt_3.png");
  background-size: cover;
  background-position: center;
}
/* FGS Global (#case-5): eigene Fotos */
/* Diese Reihe hat keine Produktkachel -> Kacheln auf 440px anheben, damit die
   Reihenhöhe den anderen Case-Reihen entspricht. */
#case-5 .case__abstract,
#case-5 .case__video { min-height: 440px; }
#case-5 .case__abstract {
  background-image: url("images/fgs_1.jpg");
  filter: none;
}
#case-5 .case__video {
  background:
    linear-gradient(180deg, rgba(0,0,0,.09), rgba(0,0,0,.30)),
    url("images/fgs_2.jpg");
  background-size: cover;
  background-position: center;
}
/* Drittes Foto (Produktkachel) in der zweiten Case-Reihe: nick_3.png */
#case-2 .case__product { background-image: url("images/nick_3.png"); }
/* Produktkachel in der vierten Case-Reihe: fc_2.png */
#case-4 .case__product { background-image: url("images/fc_2.png"); }
/* Zweites, unteres Foto (Media unten) in der zweiten Case-Reihe: nick_1.png */
#case-2 .case__abstract {
  background-image: url("images/nick_1.png");
  filter: none;
}
/* Unteres Foto (Media unten) in der vierten Case-Reihe: fc_3.png */
#case-4 .case__abstract {
  background-image: url("images/fc_3.png");
  filter: none;
}
/* Zweites, oberes Foto (Media oben) in der zweiten Case-Reihe: nick_2.png */
#case-2 .case__video {
  background:
    linear-gradient(180deg, rgba(0,0,0,.09), rgba(0,0,0,.30)),
    url("images/nick_2.png");
  background-size: cover;
  background-position: center;
}
/* Oberes Foto (Media oben) in der vierten Case-Reihe: fc_1.png */
#case-4 .case__video {
  background:
    linear-gradient(180deg, rgba(0,0,0,.09), rgba(0,0,0,.30)),
    url("images/fc_1.png");
  background-size: cover;
  background-position: center;
}
/* Erstes Foto (Produktkachel) in der ersten Case-Reihe: one_way_1.png */
#work-grid .case__product { background-image: url("images/bayer_4.png"); }
/* Drittes, unteres Foto (Media unten) in der ersten Case-Reihe: one_way_2.png */
#work-grid .case__abstract {
  background-image: url("images/bayer_5.png");
  filter: none;
}
/* Drittes, oberes Foto (Media oben) in der ersten Case-Reihe: one_way_3.png */
#work-grid .case__video {
  background:
    linear-gradient(180deg, rgba(0,0,0,.09), rgba(0,0,0,.30)),
    url("images/bayer_2.png");
  background-size: cover;
  background-position: center;
}

/* ============================================================
   KUNDENLOGOS
   ============================================================ */
.logos {
  width: 80%;
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;                     /* dünne Trennlinien über die Section-Farbe */
  background: var(--line);
  border-bottom: 1px solid var(--line);
}
.logo-tile {
  aspect-ratio: 1 / 1;          /* quadratische Kacheln */
  min-width: 0;                 /* Spalten dürfen schrumpfen (kein Grid-Überlauf) */
  min-height: 0;                /* hohe Logos blähen die Kachel nicht auf */
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: clamp(1.1rem, 2.4vw, 2.4rem);
  background: var(--cream);
}
.logo-tile img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
/* Diese PNGs haben einen eingebrannten weißen Hintergrund -> per multiply
   ins Creme einblenden, damit kein weißer Kasten entsteht. */
.logo-tile img[src*="rheinenergie"],
.logo-tile img[src*="turner"],
.logo-tile img[src*="aok"],
.logo-tile img[src*="eaton"],
.logo-tile img[src*="kanalbau"] { mix-blend-mode: multiply; }
/* Kanalbau-Siegel ist hochformatig und wirkt sonst zu groß -> etwas kleiner. */
.logo-tile img[src*="kanalbau"] { max-height: 60%; }
/* SWK-Logo wirkt sonst etwas klein -> leicht vergrößern. */
.logo-tile img[src*="swk"] { transform: scale(1.22); }
/* GS1-Logo etwas kleiner. */
.logo-tile img[src*="GS1"] { transform: scale(.82); }
/* Eaton-Logo etwas kleiner. */
.logo-tile img[src*="eaton"] { transform: scale(.82); }

/* ============================================================
   HOW WE WORK
   ============================================================ */
.how {
  width: 80%;
  margin-inline: auto;
  padding: clamp(2.6rem, 5vw, 4.2rem) 0;
  border-bottom: 1px solid var(--line);
}
.how .eyebrow { margin-bottom: 2.4rem; }
.how__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
}
.step {
  padding: 0 1.6rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  border-left: 1px solid var(--line);
}
.step:first-child { border-left: none; }
.step__num {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  color: var(--mint-text);
  line-height: 1;
  margin-bottom: .5rem;
}
.step h4 {
  font-size: 1rem;
  font-weight: 600;
}
.step__lead {
  font-weight: 600;
  color: var(--ink);
}
.step p {
  font-size: .9rem;
  color: var(--ink-soft);
  line-height: 1.4;
}
.step p.step__lead { color: var(--ink); }
.step .arrow {
  margin-top: 1.4rem;
  font-size: 1.1rem;
  transition: transform .3s ease;
}
.step:hover .arrow { transform: translateX(6px); color: var(--mint-text); }

/* ============================================================
   FOUNDER / ABOUT
   ============================================================ */
.founder {
  width: 80%;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  background: var(--dark);
  color: #fff;
  border-bottom: 1px solid var(--line-dark);
}
.founder__text {
  padding: clamp(2.6rem, 5vw, 5rem) var(--pad);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 3rem;
}
.founder__by {
  font-size: .95rem;
  line-height: 1.5;
}
.founder__by span { color: rgba(255,255,255,.55); }
.founder__video {
  position: relative;
  min-height: 440px;
  background: #000;
  overflow: hidden;
}
.founder__video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.founder__aside {
  padding: clamp(2.6rem, 5vw, 5rem) var(--pad);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 3rem;
}
.founder__aside p {
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(255,255,255,.85);
  max-width: 32ch;
}

/* ---- Gelbe Variante (Duplikat) ---- */
.founder--yellow {
  background: #F0D89D;
  color: var(--ink);
  border-bottom-color: var(--line);
}
.founder--yellow .statement--light { color: var(--ink); }
.founder--yellow .statement--light .mint { color: #7d6516; }
.founder--yellow .statement--light .cursor { color: #7d6516; }
.founder--yellow .founder__by span { color: rgba(20,32,28,.6); }
.founder--yellow .founder__aside { background: var(--mint); }
.founder--yellow .founder__aside p { color: rgba(20,32,28,.82); }
.founder--yellow .link-arrow--light { border-color: rgba(20,32,28,.35); color: var(--ink); }

/* ============================================================
   TEAM
   ============================================================ */
.team {
  width: 80%;
  margin-inline: auto;
  padding: clamp(2.6rem, 5vw, 4.4rem) 0 0;
  display: flex;
  flex-direction: column;
  gap: clamp(1.8rem, 3.5vw, 3rem);
}
.team__head {
  padding-inline: var(--pad);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.team__lead {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: none;
}
/* Foto (2/3) + Mint-Textfläche (1/3) nebeneinander */
.team__showcase {
  display: grid;
  grid-template-columns: 2fr 1fr;
  border: 1px solid var(--line);
}
/* Obere "Who we are"-Kachel bündig an die AI-Sektion anschließen (keine Trennlinie) */
#team .team__showcase { border-bottom: none; }
/* Gespiegelt: Textkachel links, Foto rechts – 50/50 und gelb */
.team__showcase--reverse {
  grid-template-columns: 1fr 1fr;
}
.team__showcase--reverse .team__about {
  background: #F0D89D;
}
.team__showcase--reverse .team__photo {
  background-image: url("images/Teamfoto_2.jpg");
}
/* Leerzeile unter den Kachel-Überschriften ("Who we are" & "The meertzfilm method") */
.team__about .eyebrow {
  margin-bottom: clamp(.8rem, 4cqi, 1.5rem);
}
/* Foto füllt in dieser Reihe flexibel die Höhe der gelben Kachel (nur zweispaltig) */
@media (min-width: 1025px) {
  .team__showcase--reverse {
    min-height: clamp(420px, 34vw, 560px);   /* etwas höhere Kachelreihe */
  }
  .team__showcase--reverse .team__photo {
    align-self: stretch;
    aspect-ratio: auto;
  }
}
.team__photo {
  aspect-ratio: 982 / 600;      /* festes Format – Bildausschnitt bleibt bei jeder Fenstergröße gleich */
  align-self: start;            /* nicht auf Kachelhöhe strecken, sonst würde das Format verzerrt/neu beschnitten */
  min-width: 0;
  background-color: #12160f;
  background-image: url("images/Teamfoto.jpg");
  background-size: cover;
  background-position: center;
}
.team__about {
  min-width: 0;
  container-type: inline-size;   /* Textgrößen skalieren mit der Breite DIESER Kachel */
  background: var(--mint);
  color: var(--ink);
  padding: clamp(1.1rem, 6cqi, 2.6rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(.55rem, 3cqi, 1rem);
}
.team__about .eyebrow,
.team__about .cursor { color: var(--ink); }
.team__about .eyebrow {
  font-family: var(--font-head);   /* wie .statement ("FILM. FOTO. AI. …") */
  line-height: .96;                /* wie .statement */
  font-size: clamp(1.4rem, 11cqi, 3.6rem);
  letter-spacing: .005em;          /* wie .statement */
}
.team__about p:not(.eyebrow) {
  font-size: clamp(.78rem, 4.8cqi, 1.1rem);
  line-height: 1.5;
}
.placeholder-label {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: clamp(.9rem, 1.6vw, 1.15rem);
  font-weight: 600;
  color: var(--ink-soft);
  padding: .7rem 1.4rem;
  border: 1px dashed var(--ink-soft);
  border-radius: 999px;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials {
  width: 80%;
  margin-inline: auto;
  margin-bottom: clamp(5.2rem, 10vw, 8.8rem);
  background: var(--cream);
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.testimonials__head {
  /* oberer Abstand exakt wie bei .team; unterer Abstand der Section bleibt 0 (Kacheln bündig) */
  padding: clamp(2.6rem, 5vw, 4.4rem) var(--pad) clamp(2rem, 4vw, 3.4rem);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.marquee {
  position: relative;
}
/* Statisches 3-Spalten-Grid — feste Kacheln, keine Animation */
.marquee__track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;                       /* Kacheln schließen bündig aneinander an */
}
.quote {
  list-style: none;
  background: var(--mint);
  color: var(--ink);
  padding: clamp(1.3rem, 1.8vw, 1.7rem);
  min-height: clamp(190px, 16vw, 240px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.2rem;
}
/* dezente Trennlinie zwischen den Kacheln, ohne Außenrand */
.quote + .quote { border-left: 1px solid rgba(20,32,28,.15); }
.quote p {
  font-size: clamp(1rem, 1.25vw, 1.15rem);
  line-height: 1.55;
  color: var(--ink);
}
.quote footer { display: flex; flex-direction: column; gap: .2rem; }
.quote strong { font-weight: 600; font-size: .95rem; }
.quote footer span { color: var(--ink-soft); font-size: .82rem; letter-spacing: .02em; }

/* ============================================================
   INSIGHTS
   ============================================================ */
.insights {
  width: 80%;
  margin-inline: auto;
  display: grid;
  /* minmax(0,…) lässt Spalten unter ihre Inhaltsbreite schrumpfen -> kein Seitenüberlauf */
  grid-template-columns: minmax(0,1.1fr) minmax(0,1fr) minmax(0,1fr) minmax(0,1fr) minmax(0,1.1fr);
  border-bottom: 1px solid var(--line);
}
.insights > * {
  min-width: 0;
  padding: clamp(2.2rem, 3.5vw, 3rem) clamp(1.1rem, 1.8vw, 1.9rem);
  border-left: 1px solid var(--line);
  min-height: 320px;
  display: flex;
  flex-direction: column;
}
.insights > *:first-child { border-left: none; }
/* In den schmalen Insights-Spalten keine erzwungene Link-Mindestbreite,
   und lange Wörter dürfen umbrechen statt überzulaufen. */
.insights .link-arrow { min-width: 0; gap: 1.2rem; }
.insights__cta h3,
.insight h4 { overflow-wrap: break-word; }

.insights__intro { background: var(--mint-soft); gap: 1.4rem; }
.insights__intro p { font-size: .95rem; color: var(--ink-soft); }
.insights__intro .link-arrow { margin-top: auto; }

.insight time {
  font-size: .82rem;
  color: var(--ink-soft);
  letter-spacing: .04em;
  margin-bottom: 1.6rem;
}
.insight h4 {
  font-family: var(--font-head);
  text-transform: uppercase;
  font-weight: 600;
  font-size: 1.1rem;
  line-height: 1.15;
  letter-spacing: .01em;
}
.insight .link-arrow { margin-top: auto; }

.insights__cta { background: #F0D89D; gap: 1.4rem; }
.insights__cta h3 {
  font-family: var(--font-head);
  text-transform: uppercase;
  font-weight: 700;
  /* skaliert so, dass "EXTRAORDINARY" auch in der engsten 5-Spalten-Breite einzeilig bleibt */
  font-size: clamp(1.15rem, 1.8vw, 2rem);
  line-height: 1;
}
.insights__cta .link-arrow { margin-top: auto; }

/* ============================================================
   CONTACT
   ============================================================ */
.section-gap {
  height: clamp(4rem, 8vw, 7rem);
  background: var(--cream);
}

.contact {
  width: 80%;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  background: var(--dark);
  color: #fff;
  border: 1px solid var(--line-dark);
}
.contact__intro {
  padding: clamp(2.6rem, 5vw, 5rem) var(--pad);
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}
.contact__intro .eyebrow { color: var(--mint); }
.contact__intro .statement { color: #fff; }
.contact__lead {
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(255,255,255,.8);
  max-width: 34ch;
}
.contact__meta address { font-style: normal; font-size: 1rem; }
.contact__meta {
  list-style: none;
  margin-top: 0;
  padding-top: 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}
.contact__meta li { display: flex; flex-direction: column; gap: .35rem; }
.contact__meta span {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: rgba(255,255,255,.5);
}
.contact__meta a { font-size: 1rem; transition: color .2s; }
.contact__meta a:hover { color: var(--mint); }

.contact__form {
  padding: clamp(2.6rem, 5vw, 5rem) var(--pad);
  background: var(--dark-2);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem 1.4rem;
  align-content: start;
}
.field { display: flex; flex-direction: column; gap: .5rem; grid-column: 1 / -1; }
.field--half { grid-column: span 1; }
.field label {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: rgba(255,255,255,.6);
}
.field label em { text-transform: none; letter-spacing: 0; font-style: normal; color: rgba(255,255,255,.35); }

.contact__form input,
.contact__form select,
.contact__form textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: .95rem;
  color: #fff;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,.22);
  padding: .7rem 0;
  transition: border-color .25s;
}
.contact__form textarea { resize: vertical; min-height: 90px; }
.contact__form select { color: rgba(255,255,255,.65); }
.contact__form input::placeholder,
.contact__form textarea::placeholder { color: rgba(255,255,255,.35); }
.contact__form input:focus,
.contact__form select:focus,
.contact__form textarea:focus { outline: none; border-color: var(--mint); }
.contact__form option { color: #14201c; }
.contact__form input:invalid:not(:placeholder-shown) { border-color: #d98c7a; }

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  cursor: pointer;
  text-transform: none;
  letter-spacing: 0;
}
.checkbox input { width: 16px; height: 16px; flex: 0 0 auto; margin-top: 2px; accent-color: var(--mint); }
.checkbox span { font-size: .85rem; color: rgba(255,255,255,.7); line-height: 1.5; }
.checkbox a { color: var(--mint); text-decoration: underline; text-underline-offset: 2px; }

.field--submit {
  flex-direction: row;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.btn-submit {
  display: inline-flex;
  align-items: center;
  gap: 2rem;
  font-family: var(--font-body);
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--dark);
  background: var(--mint);
  border: none;
  padding: .95rem 1.8rem;
  cursor: pointer;
  transition: background .25s, transform .2s;
}
.btn-submit:hover { background: #fff; }
.btn-submit .arrow { transition: transform .3s; }
.btn-submit:hover .arrow { transform: translateX(6px); }
.form-status { font-size: .85rem; color: var(--mint); }
.form-status.error { color: #e39b8c; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  padding: 1.6rem var(--pad);
  font-size: .85rem;
}
.copyright { color: var(--ink-soft); }
.footer-legal { display: flex; gap: 2rem; }
.footer-social { display: flex; gap: 2rem; margin-left: auto; }
.footer-legal a, .footer-social a { color: var(--ink-soft); transition: color .2s; }
.footer-legal a:hover, .footer-social a:hover { color: var(--ink); }

/* ============================================================
   VIDEO-LIGHTBOX
   ============================================================ */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
}
.video-modal[hidden] { display: none; }
.video-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 14, 12, .82);
  backdrop-filter: blur(4px);
  animation: video-modal-fade .2s ease;
}
.video-modal__dialog {
  position: relative;
  width: min(100%, 1100px);
  animation: video-modal-pop .25s ease;
}
.video-modal__video {
  width: 100%;
  max-height: 82vh;
  display: block;
  background: #000;
  border-radius: 4px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .55);
}
.video-modal__close {
  position: absolute;
  top: -3.2rem;
  right: 0;
  width: 2.6rem;
  height: 2.6rem;
  display: grid;
  place-items: center;
  font-size: 2rem;
  line-height: 1;
  color: var(--cream);
  background: none;
  border: none;
  cursor: pointer;
  transition: opacity .2s;
}
.video-modal__close:hover { opacity: .65; }
body.modal-open { overflow: hidden; }
@keyframes video-modal-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes video-modal-pop {
  from { opacity: 0; transform: scale(.97); }
  to   { opacity: 1; transform: scale(1); }
}
@media (max-width: 760px) {
  .video-modal__close { top: -2.8rem; }
}

/* ============================================================
   LEGAL (Datenschutz / Impressum)
   ============================================================ */
.legal {
  max-width: 760px;
  margin-inline: auto;
  padding: clamp(3rem, 8vw, 6rem) var(--pad) clamp(4rem, 10vw, 7rem);
  color: var(--ink);
}
.legal .statement {
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.05;
  margin: .4rem 0 clamp(2rem, 5vw, 3.4rem);
}
.legal section { margin-bottom: clamp(1.8rem, 4vw, 2.8rem); }
.legal h2 {
  font-family: var(--font-head);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: .02em;
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  margin-bottom: .8rem;
}
.legal h3 {
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: .01em;
  font-size: clamp(1rem, 1.4vw, 1.1rem);
  margin: 1.4rem 0 .5rem;
  color: var(--ink);
}
.legal p {
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: .9rem;
}
.legal p strong { color: var(--ink); font-weight: 600; }
.legal a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.legal a:hover { color: var(--mint-text); }
.legal__back { margin-top: clamp(2.4rem, 6vw, 3.6rem); }
.legal__back a { text-decoration: none; }

/* ============================================================
   TOOL-HUB (Login / interne Werkzeuge)
   ============================================================ */
.hub {
  max-width: var(--maxw);
  margin-inline: auto;
  padding: clamp(3rem, 8vw, 6rem) var(--pad) clamp(4rem, 10vw, 7rem);
}
.hub .statement {
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.05;
  margin: .4rem 0 1.2rem;
}
.hub__lede {
  max-width: 46ch;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: clamp(2.4rem, 6vw, 3.6rem);
}
.hub__grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(1rem, 2vw, 1.6rem);
}

.tool-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: clamp(1.6rem, 3vw, 2.2rem);
  background: var(--cream-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  transition: background .25s ease, border-color .25s ease, transform .25s ease;
}
a.tool-card:hover {
  background: var(--mint-pale);
  border-color: var(--mint);
  transform: translateY(-3px);
}
.tool-card__num {
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .22em;
  color: var(--mint-text);
  margin-bottom: 1.6rem;
}
.tool-card__title {
  font-family: var(--font-head);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: .02em;
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  line-height: 1.1;
  margin-bottom: .7rem;
}
.tool-card__desc {
  color: var(--ink-soft);
  font-size: .92rem;
  line-height: 1.65;
  margin-bottom: 2rem;
}
.tool-card__go {
  margin-top: auto;
  width: 100%;
  min-width: 0;
}

/* Platzhalter-Karte — sieht wie eine Karte aus, ist aber kein Link */
.tool-card--soon {
  background: transparent;
  border-style: dashed;
}
.tool-card--soon .tool-card__num,
.tool-card--soon .tool-card__title { color: var(--ink-soft); }
.tool-card--soon .tool-card__desc { opacity: .8; }
.tool-card__badge {
  margin-top: auto;
  align-self: flex-start;
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .68rem;
  font-weight: 600;
  color: var(--ink-soft);
  padding: .45rem .9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.hub__back { margin-top: clamp(2.4rem, 6vw, 3.6rem); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .case { grid-template-columns: 1fr 1fr; }
  .case__media { grid-column: 1 / -1; grid-template-rows: none; grid-template-columns: 1fr 1fr; }
  .insights { grid-template-columns: 1fr 1fr 1fr; }
  .insights__cta { grid-column: 1 / -1; border-left: none; border-top: 1px solid var(--line); }
  .founder { grid-template-columns: 1fr 1fr; }
  .founder__aside { grid-column: 1 / -1; flex-direction: row; align-items: flex-end; justify-content: space-between; border-top: 1px solid var(--line-dark); }
  .contact { width: 82%; }
  /* Team: früh auf einspaltig stapeln, damit unter dem Foto kein Freiraum entsteht */
  .team__showcase { grid-template-columns: 1fr; }
  .team__photo { aspect-ratio: 4 / 3; }
}

@media (max-width: 760px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .site-header { padding-inline: var(--pad); }

  .hero,
  .approach,
  .case,
  .founder,
  .contact { grid-template-columns: 1fr; }

  .contact { width: auto; margin: 0; }
  .hero, .approach, .case, .how, .founder, .insights,
  .team, .testimonials, .divider, .logos { width: auto; margin-inline: 0; }
  .logos { grid-template-columns: repeat(3, 1fr); }
  .how { padding-inline: var(--pad); }
  .team { padding-inline: var(--pad); }
  .team__showcase { grid-template-columns: 1fr; }
  .team__photo { aspect-ratio: 4 / 3; }
  .field--half { grid-column: 1 / -1; }

  /* Hero: Text mit Seitenabstand + verkleinerte Headline, damit nichts überläuft */
  .hero__text { padding-inline: var(--pad); }
  .hero__title { font-size: clamp(2.4rem, 11vw, 3rem); }
  .hero__media { min-height: 340px; }
  .hero__video { min-height: 340px; }

  .approach__text { gap: 2.2rem; }
  /* Approach steht mobil gestapelt (kein 16:9-Zwang) -> Headline wieder größer */
  .approach .statement { font-size: clamp(1.9rem, 7.5vw, 2.7rem); line-height: 1.04; }
  .founder__video { min-height: 300px; }

  .case__media { grid-template-columns: 1fr 1fr; }
  .case--four { grid-template-columns: 1fr 1fr; }
  .case__body { border-left: none; border-right: none; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  /* Fotos mobil niedriger (volle Breite bleibt erhalten) */
  .case__product { min-height: 240px; }
  .case__abstract,
  .case__video { min-height: 160px; }
  #case-5 .case__abstract,
  #case-5 .case__video { min-height: 240px; }
  /* FC Media Day (#case-4): Text oben, darunter fc_2 (.case__product),
     danach fc_1 (.case__video) und fc_3 (.case__abstract). */
  #case-4 .case__body { order: -1; }
  #case-4 .case__media { order: 1; }
  /* fc_1 und fc_3 höher */
  #case-4 .case__video,
  #case-4 .case__abstract { min-height: 240px; }
  /* One Way (#work-grid): one_way_1 (.case__product) unter one_way_2/one_way_3
     (.case__media) setzen -> Text oben, dann die zwei Bilder, dann one_way_1. */
  #work-grid .case__product { order: 1; }

  /* "The meertzfilm method" mit den 5 Punkten mobil ausblenden */
  .how { display: none; }
  .how__grid { grid-template-columns: 1fr 1fr; gap: 2rem 1.4rem; }
  .step { border-left: none; padding-left: 0; padding-right: 0; }

  .founder__aside { flex-direction: column; align-items: flex-start; }

  .insights { grid-template-columns: 1fr; }
  .insights > * { border-left: none; border-top: 1px solid var(--line); min-height: auto; }
  .insights > *:first-child { border-top: none; }

  /* Testimonials: Kacheln stapeln statt in 3 engen Spalten zu quetschen */
  .marquee__track { grid-template-columns: 1fr; }
  .quote + .quote { border-left: none; border-top: 1px solid rgba(20,32,28,.15); }
  /* Testimonial-Schrift mobil etwas kleiner */
  .quote p { font-size: .9rem; line-height: 1.5; }
  .quote strong { font-size: .88rem; }
  .quote footer span { font-size: .78rem; }

  /* Footer kompakter: kleinere Schrift/Abstände, Logo und Copyright je eigene
     Zeile, danach alle Links (Imprint/Privacy/LinkedIn/Instagram) in EINER Zeile. */
  .site-footer {
    flex-wrap: wrap;
    gap: .5rem 1.2rem;
    padding: 1.1rem var(--pad);
    font-size: .78rem;
  }
  .site-footer .logo--sm { font-size: .95rem; }
  .site-footer .logo { flex-basis: 100%; }
  .copyright { flex-basis: 100%; }
  .footer-legal { gap: 1.2rem; }
  .footer-social { margin-left: 0; width: auto; gap: 1.2rem; }
}

/* Kleine Telefone: "How we work"-Schritte einspaltig, Logos zweispaltig */
@media (max-width: 560px) {
  .how__grid { grid-template-columns: 1fr; gap: 1.6rem; }
  .logos { grid-template-columns: repeat(2, 1fr); }
}

/* Mobile nav open state */
body.nav-open .main-nav {
  display: flex;
  position: fixed;
  inset: 62px 0 auto 0;
  flex-direction: column;
  gap: 0;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  padding: 1rem var(--pad) 1.6rem;
  z-index: 99;
}
body.nav-open .main-nav a { padding: .9rem 0; font-size: 1.1rem; }

/* ============================================================
   COOKIE / CONSENT BANNER
   ============================================================ */
.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: clamp(1rem, 3vw, 2rem);
  transform: translateX(-50%) translateY(0);
  width: min(680px, calc(100% - 2rem));
  background: var(--ink);
  color: var(--cream);
  border-radius: 14px;
  padding: clamp(1.3rem, 3vw, 1.8rem);
  box-shadow: 0 18px 50px rgba(8, 14, 12, .35);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  opacity: 1;
  transition: opacity .35s ease, transform .35s ease;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner.is-hiding {
  opacity: 0;
  transform: translateX(-50%) translateY(12px);
  pointer-events: none;
}
.cookie-banner__text {
  font-family: var(--font-body);
  font-size: .92rem;
  line-height: 1.6;
  color: rgba(241, 239, 232, .82);
  margin: 0;
}
.cookie-banner__text a {
  color: var(--cream);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cookie-banner__text a:hover { color: var(--mint); }
.cookie-banner__actions {
  display: flex;
  gap: .7rem;
  flex-wrap: wrap;
}
.cookie-banner__btn {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: .8rem;
  font-weight: 600;
  padding: .7rem 1.5rem;
  border-radius: 8px;
  border: 1px solid rgba(241, 239, 232, .35);
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.cookie-banner__btn--decline {
  background: transparent;
  color: var(--cream);
}
.cookie-banner__btn--decline:hover { border-color: var(--cream); }
.cookie-banner__btn--accept {
  background: var(--mint);
  color: var(--ink);
  border-color: var(--mint);
}
.cookie-banner__btn--accept:hover { background: #bfe0d3; border-color: #bfe0d3; }
@media (min-width: 620px) {
  .cookie-banner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1.6rem;
  }
  .cookie-banner__actions { flex-shrink: 0; }
}

