/* =========================================================================
   GummiLove × BAUBAU – Kampagnenpitch
   CI abgeglichen mit gummilove.ch (Live-Werte der Website, November 2026):
   Farben, weisse Grundfläche mit Farbbändern und Wellen, Buttons, Linien 2 px,
   Schatten 2/3 px, Kicker, Fokus-Gelb.
   Fonts: General Sans (Headlines; Fontshare, ITF Free Font License), Figtree
   (Fliesstext und Kicker; SIL OFL), Bubble Teezy (Handschrift für Bildunterschriften,
   Nutzung von GummiLove freigegeben). Alle self-hosted.
   ========================================================================= */

@font-face { font-family: 'General Sans'; src: url('fonts/GeneralSans-Bold.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'General Sans'; src: url('fonts/GeneralSans-Semibold.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Figtree'; src: url('fonts/Figtree-Variable.woff2') format('woff2'); font-weight: 300 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Figtree'; src: url('fonts/Figtree-Italic-Variable.woff2') format('woff2'); font-weight: 300 900; font-style: italic; font-display: swap; }
@font-face { font-family: 'Bubble Teezy'; src: url('fonts/BubbleTeezy-Regular.woff2') format('woff2'), url('fonts/BubbleTeezy-Regular.woff') format('woff'); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  --paper: #FFFFFF;   /* Grundfläche Weiss wie gummilove.ch */
  --ink: #1A1717;
  --ink-soft: #3A3535;
  --pink: #F091BC;
  --rose: #EC6880;
  --deco: #F7C3C9;
  --blue: #61C6F1;
  --yellow: #FFE86F;
  --mint: #80C49D;
  --red: #E2000B;
  --focus: #FFCE41;   /* Fokus-Gelb wie gummilove.ch */

  --head: 'General Sans', 'Helvetica Neue', Arial, sans-serif;
  --body: 'Figtree', 'Helvetica Neue', Arial, sans-serif;
  --hand: 'Bubble Teezy', 'Figtree', sans-serif;

  /* Linien, Schatten, Radien wie gummilove.ch */
  --line: 2px;
  --shadow: 2px 3px 0 var(--ink);
  --shadow-hover: 3px 5px 0 var(--ink);
  --radius: 6px;      /* Schema-Boxen und Vorschau-Karte */
  --radius-btn: 24px; /* Buttons */
  --track-label: .02em; /* Laufweite der Versalien-Kicker */
  --wave-h: clamp(2.25rem, 5.5vw, 5.5rem); /* Wellenübergang zwischen Farbbändern */

  --container: 1240px;
  --grid-gap: 16px; /* Spaltenabstand des 24er-Hilfsrasters (Taste G) */
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --sec-y: clamp(4.5rem, 9vw, 8rem);
  --nav-h: 60px;

  /* Typo-System: 8 Stufen (Desktop → Mobile), Minimum 14 px. */
  --t-display: clamp(2.75rem, 1.6rem + 3.9vw, 4.5rem);        /* 72 → 44 · H1 */
  --t-h2:      clamp(2.25rem, 1.5rem + 2.6vw, 3.5rem);        /* 56 → 36 · Kapitel */
  --t-h3:      clamp(1.625rem, 1.35rem + 0.9vw, 2rem);        /* 32 → 26 · Zwischentitel */
  --t-h4:      var(--t-lead);                                 /* 24 → 20 · Modultitel, gleich wie Lead */
  --t-lead:    clamp(1.25rem, 1.05rem + 0.65vw, 1.5rem);      /* 24 → 20 · Lead */
  --t-body:    clamp(1.0625rem, 1.02rem + 0.15vw, 1.125rem);  /* 18 → 17 · Lauftext */
  --t-small:   var(--t-body);                                 /* = Lauftext, keine eigene Stufe mehr */
  --t-label:   0.875rem;                                      /* 14 · Labels, Versalien */
  --gap-lead: 1.5rem; /* Abstand Lead → Lauftext, in allen Sections gleich */
  --lh-display: 1.1; --lh-h: 1.1; --lh-lead: 1.35; --lh-body: 1.5; --lh-small: 1.5; --lh-label: 1.2;

  --ease: cubic-bezier(.2,.7,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--body); font-size: var(--t-body); line-height: var(--lh-body);
  overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
p { margin: 0 0 1em; max-width: 62ch; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--head); font-weight: 700; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
/* Auf gelben Flächen wäre Fokus-Gelb unsichtbar: dort schwarz */
.nav :focus-visible, .hero :focus-visible, .sec--yellow :focus-visible, .skip:focus-visible { outline-color: var(--ink); }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }

.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--yellow); color: var(--ink); padding: .6rem 1rem;
  border: var(--line) solid var(--ink); font-weight: 700; text-decoration: none;
}
.skip:focus { top: 1rem; }
.noscript { padding: 3rem var(--gutter); max-width: 60ch; }

/* ---------- Typografie ---------- */
/* Headlines wie gummilove.ch: Laufweite normal, Zeilenabstand 1.1 */
.h2 { font-size: var(--t-h2); line-height: var(--lh-h); max-width: 14ch; text-wrap: balance; }
.h2--wide { max-width: 18ch; }
.h2--lines { max-width: none; text-wrap: initial; } /* Umbrüche aus content.js (\n) */
.h3 { font-size: var(--t-h4); line-height: var(--lh-h); }
.h3--big { font-size: var(--t-h3); line-height: var(--lh-h); max-width: 22ch; text-wrap: balance; }
.h4 { font-size: var(--t-h4); line-height: var(--lh-h); }
.lead { font-size: var(--t-lead); line-height: var(--lh-lead); font-weight: 400; max-width: 34ch; }
.text-big { font-size: var(--t-body); line-height: var(--lh-body); max-width: 60ch; }
.eyebrow { font-family: var(--body); font-weight: 700; font-size: var(--t-label); line-height: var(--lh-label); letter-spacing: var(--track-label); text-transform: uppercase; }
.eyebrow--small { margin: 0 0 .6rem; opacity: .8; }
.note { font-size: var(--t-small); line-height: var(--lh-small); color: var(--ink-soft); max-width: 60ch; }
/* Bildunterschriften in der GummiLove-Handschrift, wie auf gummilove.ch */
.caption { font-family: var(--hand); font-size: var(--t-lead); line-height: 1.2; color: var(--ink); margin-top: .75rem; font-weight: 400; }
.caption--row { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; }
.tag {
  font-family: var(--body); font-weight: 700; font-size: var(--t-label); line-height: var(--lh-label); letter-spacing: var(--track-label); text-transform: uppercase;
  padding: .35em .7em; background: var(--ink); color: var(--paper);
}
.tag--inline { padding: .3em .6em; }

/* ---------- Kicker / Buttons ---------- */
/* Kicker wie gummilove.ch: Figtree fett, Versalien, kaum gesperrt, ohne Box */
.sticker {
  display: inline-block;
  font-family: var(--body); font-weight: 700; font-size: var(--t-label);
  letter-spacing: var(--track-label); text-transform: uppercase; line-height: var(--lh-label);
  color: var(--ink);
}

/* Button wie gummilove.ch: weiss, 2-px-Kontur, harter Schatten 2/3 px, General Sans 600 */
.btn {
  display: inline-flex; align-items: center; gap: .75em;
  padding: .65em 1.4em; background: var(--paper); color: var(--ink);
  font-family: var(--head); font-weight: 600; font-size: var(--t-body); line-height: 1.1;
  text-decoration: none; border: var(--line) solid var(--ink); border-radius: var(--radius-btn);
  box-shadow: var(--shadow); transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s;
}
/* Rosa Buttons tragen ein weisses Label, wie auf gummilove.ch */
.btn:hover { background: var(--rose); color: var(--paper); transform: translate(-1px, -2px); box-shadow: var(--shadow-hover); }
.btn:active { transform: translate(2px, 3px); box-shadow: 0 0 0 var(--ink); }
.btn-arrow { display: inline-block; transition: transform .25s var(--ease); }
.btn:hover .btn-arrow { transform: translateY(3px); }

/* ---------- Navigation (gelb wie der Header von gummilove.ch) ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 1.5rem;
  min-height: var(--nav-h); padding: 0 var(--gutter);
  background: var(--yellow); color: var(--ink);
}
.nav-brand { flex: 0 0 auto; display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; }
.nav-logo { display: block; width: auto; height: 34px; }
.nav-list {
  display: flex; align-items: center; gap: .25rem; margin-left: auto;
  overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding: .5rem 0;
}
.nav-list::-webkit-scrollbar { display: none; }
.nav-link {
  display: inline-block; padding: .45rem .8rem; border-radius: 999px;
  font-family: var(--head); font-weight: 600; font-size: var(--t-label);
  text-decoration: none; white-space: nowrap; color: var(--ink);
  border: 2px solid transparent; transition: background .2s, color .2s, border-color .2s;
}
.nav-link:hover { border-color: var(--ink); }
.nav-link.is-active { background: var(--paper); color: var(--ink); border-color: var(--ink); }
.nav-action-item { margin-left: .5rem; }
/* Aktions-Link wie die Header-Pills von gummilove.ch: transparent auf Gelb, Kontur, harter Schatten */
.nav-link--action {
  background: transparent; border-color: var(--ink); box-shadow: var(--shadow);
  padding: .5rem 1.1rem; font-weight: 700;
  transition: background .2s, transform .2s var(--ease), box-shadow .2s var(--ease);
}
.nav-link--action:hover { background: var(--paper); transform: translate(-1px, -1px); box-shadow: var(--shadow-hover); }
.nav-link--action:active { transform: translate(2px, 3px); box-shadow: 0 0 0 var(--ink); }
.nav-link--action.is-active { background: var(--paper); color: var(--ink); border-color: var(--ink); }

section[id] { scroll-margin-top: calc(var(--nav-h) + .5rem); }

/* ---------- Sektionen ---------- */
/* Jede Sektion füllt mindestens den sichtbaren Bereich unter der Navigation (wie der Hero);
   kürzere Inhalte werden vertikal zentriert, längere wachsen normal weiter. */
.sec {
  position: relative; padding: var(--sec-y) 0;
  min-height: calc(100vh - var(--nav-h));
  min-height: calc(100svh - var(--nav-h));
  display: grid; align-content: center;
  overflow-x: clip;   /* gleitende Wellen sind breiter als das Band; seitlich kappen, nach unten frei */
}
/* Vollflächige Farbbänder wie gummilove.ch; keine dunklen Sektionen */
/* --band = Farbe des Bands, die auch die Welle unten trägt */
.sec--paper { --band: var(--paper); background: var(--band); }
.sec--blue { --band: var(--blue); background: var(--band); }
.sec--yellow { --band: var(--yellow); background: var(--band); }
.sec--mint { --band: var(--mint); background: var(--band); }
.sec--deco { --band: var(--deco); background: var(--band); }
.sec--rose { --band: var(--rose); background: var(--band); }

/* Wellenübergang: jedes Band läuft in seiner eigenen Farbe als Welle in das nächste aus
   (Prinzip der «background-after»-Wellen von gummilove.ch). SVG kommt aus waves.js.
   Jedes zweite Band gespiegelt. */
.wave {
  position: absolute; left: 0; top: calc(100% - 1px); z-index: 1;
  display: block; width: 100%; height: var(--wave-h);
  fill: var(--band); pointer-events: none; overflow: visible;
}
section:nth-of-type(even) > .wave { transform: scaleX(-1); }

/* Beim Scrollen gleitet jede Welle seitlich, solange sie im Bild ist; Nachbarn gegenläufig.
   Reines CSS (scroll-driven animation): ohne Unterstützung (z. B. Firefox) bleibt sie statisch.
   Die Welle ist um --drift auf jeder Seite breiter, damit am Rand nichts aufblitzt. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .wave {
      --drift: clamp(40px, 9vw, 140px);
      left: calc(-1 * var(--drift)); width: calc(100% + 2 * var(--drift));
      animation: wave-drift linear both;
      animation-timeline: view();
      animation-range: cover;
    }
    section:nth-of-type(even) > .wave { animation-direction: reverse; }
  }
}
@keyframes wave-drift {
  from { translate: calc(-1 * var(--drift)) 0; }
  to   { translate: var(--drift) 0; }
}

.sec-head { margin-bottom: var(--gap-lead); }
.sec-label { margin-bottom: clamp(1rem, 3vh, 1.75rem); }
.sec-head .lead { margin-top: 1.4rem; }
.sub { margin-top: clamp(3rem, 6vw, 5rem); }
.sub .h3--big { margin-bottom: 1.5rem; }

.cols { display: grid; gap: clamp(1.5rem, 3vw, 3rem); margin-top: clamp(2rem, 4vw, 3rem); }
.cols--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cols--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.col { border-top: var(--line) solid var(--ink); padding-top: 1.25rem; }
.col .h3 { margin-bottom: .6rem; text-wrap: balance; }
.scene-num { display: block; font-family: var(--head); font-weight: 700; font-size: var(--t-h4); line-height: 1; color: var(--rose); margin-bottom: .7rem; }

/* ---------- 1 · Hero ---------- */
.hero {
  position: relative; overflow-x: clip; /* nur seitlich beschneiden, damit die Welle nach unten sichtbar bleibt */
  min-height: calc(100vh - var(--nav-h));
  min-height: calc(100svh - var(--nav-h));
  display: grid; align-items: center;
  padding: clamp(1rem, 3vh, 2.5rem) 0 clamp(1.5rem, 5vh, 4rem);
  --band: var(--yellow); background: var(--band);
}
.hero-inner {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(1.5rem, 4vw, 4.5rem); align-items: center;
}
.hero-eyebrow { margin-bottom: clamp(1rem, 3vh, 1.75rem); }
.hero .h1 {
  font-size: min(var(--t-display), 10.5vh);
  line-height: var(--lh-display); max-width: none;
}
.hero .lead--hero { margin: clamp(1rem, 3vh, 1.6rem) 0 0; max-width: 40ch; font-size: var(--t-lead); }
.hero .btn { margin-top: clamp(1.25rem, 3.5vh, 2.25rem); padding: min(1rem, 1.6vh) 1.6rem; }
.hero-visual { display: flex; justify-content: center; }
.hero-motif { width: min(100%, 68vh, 560px); height: auto; }
/* Video liegt auf eigenem Gelb (Encoding verschiebt es leicht): angleichen und Kante weich ausblenden */
.hero-motif--video {
  display: block; aspect-ratio: 1; object-fit: cover; background: var(--yellow);
  filter: url(#hero-video-match);
  --edge: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent), linear-gradient(transparent, #000 3%, #000 97%, transparent);
  -webkit-mask-image: var(--edge); -webkit-mask-composite: source-in;
  mask-image: var(--edge); mask-composite: intersect;
}

/* ---------- 2 · Idee ---------- */
/* Headline, Lead und Lauftext auf 12 von 24 Rasterspalten begrenzt */
.idee-head { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--grid-gap); align-items: center; }
.idee-head .sec-head { margin-bottom: var(--gap-lead); }
.idee-head .h2, .idee-head .lead { max-width: none; }
.idee-fig { margin: 0; display: flex; justify-content: flex-end; }
.idee-fig img { width: min(100%, 460px); height: auto; }
#idee .text-big { margin-top: 0; }

/* Modul-Boxen: farbige Sticker-Boxen mit Titel in der GummiLove-Handschrift */
.cols--modules { gap: clamp(1.5rem, 3vw, 2.5rem); align-items: stretch; }
.col--box {
  border: var(--line) solid var(--ink); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: clamp(1.4rem, 2.6vw, 2rem);
  transform: rotate(var(--tilt, 0deg));
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.col--pink { background: var(--pink); --tilt: -1deg; }
.col--yellow { background: var(--yellow); --tilt: 1deg; }
.col--box .col-title {
  font-family: var(--hand); font-weight: 400; font-size: var(--t-h3); line-height: 1.05;
  margin-bottom: .75rem; text-wrap: balance;
}
.col--box p { margin: 0; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .col--box:hover { transform: rotate(0deg) translate(-1px, -2px); box-shadow: var(--shadow-hover); }
}

/* ---------- 3 · Film (blau) ---------- */
/* GummiLove-Smiley als Sticker, leicht schräg wie die Modul-Boxen; «rotate» statt transform,
   weil .reveal transform fürs Einblenden nutzt. Mobil klein unter dem Text, Desktop rechts daneben. */
.film-smiley { width: min(45%, 200px); height: auto; margin-top: 2rem; rotate: 6deg; }
.drama { margin-top: clamp(2.5rem, 5vw, 4rem); }
.drama-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: .75rem 2rem; margin-bottom: 1.25rem; }
.drama-head .h3--big { margin: 0; }
.story { border-top: var(--line) solid var(--ink); }
.story-row {
  display: grid; grid-template-columns: 3.5rem minmax(0, 5fr) minmax(0, 7fr);
  gap: .5rem clamp(1rem, 2.5vw, 2.5rem); align-items: start;
  padding: 1.25rem 0; border-bottom: 2px solid var(--ink);
}
/* Nummer als schwarze Box mit weisser Ziffer: Rosa auf Blau war zu schwach, Rosa-Box sähe aus wie ein Button */
.story-num {
  justify-self: start; display: inline-grid; place-items: center; min-width: 2.25rem; height: 2rem; padding: 0 .45rem;
  font-family: var(--body); font-weight: 700; font-size: var(--t-label); line-height: 1; letter-spacing: var(--track-label);
  font-variant-numeric: tabular-nums; color: var(--paper); background: var(--ink); border-radius: var(--radius);
}
.story-main .h4 { margin-bottom: .3rem; }
.story-key { margin: 0; font-family: var(--head); font-weight: 600; font-size: var(--t-body); line-height: 1.3; max-width: none; }
.story-text { margin: 0; font-size: var(--t-body); line-height: var(--lh-body); max-width: 46ch; }
.location { margin-top: clamp(3rem, 6vw, 5rem); }
.location p { max-width: 56ch; }
.location .h3--big { margin-bottom: .8rem; text-wrap: pretty; } /* volle Zeilenbreite statt ausbalancierter Hälften */
/* Drehort-Illustration: mobil unter dem Text, Desktop rechts daneben (siehe Rasterblock unten) */
.location-img { width: 100%; height: auto; margin-top: 1.75rem; }

/* ---------- 4 · Bildwelt ---------- */
.anim-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(2rem, 4vw, 4rem); align-items: start; }
.style-tag {
  display: flex; align-items: flex-start; gap: .55rem; margin-top: 1.25rem; max-width: 30ch;
  font-family: var(--body); font-weight: 700; font-size: var(--t-label); letter-spacing: var(--track-label); text-transform: uppercase; line-height: 1.4;
}
.style-dot { flex: 0 0 auto; width: .7rem; height: .7rem; margin-top: .25rem; border-radius: 50%; background: var(--rose); border: 2px solid var(--ink); }
.anim-video { margin: 0; }
/* Bilder und Video ohne Rahmen und Rundung, wie gummilove.ch */
.video-wrap { overflow: hidden; background: var(--ink); }
.video-wrap video { display: block; width: 100%; height: auto; aspect-ratio: 856 / 478; }

/* ---------- 5 · Kampagne (mint): Kopf links, Schema rechts ---------- */
.kampagne-grid { display: grid; grid-template-columns: repeat(24, minmax(0, 1fr)); gap: var(--grid-gap); align-items: center; }
.kampagne-copy { grid-column: 1 / 11; }   /* Textblock: 10 Spalten */
.kampagne-grid .sch { grid-column: 13 / 25; } /* Schema: 12 Spalten rechts */
.kampagne-grid .sec-head { margin-bottom: var(--gap-lead); }
.kampagne-copy .text-big { max-width: none; }
.kampagne-grid .h2, .kampagne-grid .lead { max-width: none; }
.sch { padding-top: 0; }
.sch-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--grid-gap); }
.sch-row--hero { grid-template-columns: 1fr 2fr 1fr; }
.sch-row--hero .sch-box { grid-column: 2; }
.sch-row--goal .sch-box { grid-column: 1 / -1; }
.sch-box {
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: .3rem;
  padding: 1.1rem 1rem; border: var(--line) solid var(--ink); border-radius: var(--radius); color: var(--ink);
}
.sch-box strong { font-family: var(--head); font-weight: 700; font-size: var(--t-body); line-height: var(--lh-h); }
.sch-box span { font-size: var(--t-label); line-height: var(--lh-label); color: var(--ink-soft); max-width: 32ch; }
.sch-box--hero { background: var(--pink); padding: 1.5rem 1.25rem; box-shadow: var(--shadow); }
.sch-box--hero strong { font-size: var(--t-lead); }
.sch-box--channel { background: var(--blue); }
.sch-box--channel { position: relative; }
.sch-box--main { padding-top: 1.4rem; }
.sch-main {
  position: absolute; top: -.75rem; left: 50%; transform: translateX(-50%); white-space: nowrap;
  font-family: var(--body); font-style: normal; font-weight: 700; font-size: var(--t-label); line-height: var(--lh-label);
  letter-spacing: var(--track-label); text-transform: uppercase; padding: .25em .7em;
  background: var(--ink); color: var(--paper); border: var(--line) solid var(--ink); border-radius: 999px;
}
.sch-box--goal { background: var(--yellow); padding: 1.5rem 1.25rem; box-shadow: var(--shadow); }
.sch-box--goal strong { font-size: var(--t-lead); }
.sch-paths { margin: 1rem 0 0; padding-top: .9rem; border-top: 2px solid var(--ink); max-width: none; font-family: var(--head); font-weight: 700; font-size: var(--t-body); }
.sch-paths span { font-size: inherit; line-height: inherit; color: inherit; }
.sch-dot { margin: 0 .7em; }
.sch-connect { height: 80px; }
.sch-lines { display: block; width: 100%; height: 100%; overflow: visible; }

/* ---------- 6 · Zusammenarbeit (gelb) ---------- */
.addition { margin-top: clamp(2rem, 4vw, 3rem); max-width: 62ch; }
.preview {
  margin-top: clamp(2.5rem, 5vw, 4rem); padding: clamp(1.25rem, 3vw, 2.25rem);
  background: var(--paper); border: var(--line) solid var(--ink); border-radius: var(--radius); max-width: 60rem;
}
.preview-label { margin-bottom: 1rem; }
.preview-title { font-family: var(--head); font-weight: 700; font-size: var(--t-h3); line-height: var(--lh-h); max-width: none; margin-bottom: 1.25rem; }
.preview-paths { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.preview-path {
  display: flex; flex-direction: column; gap: .25rem; padding: 1rem 1.1rem;
  border: var(--line) dashed var(--ink); border-radius: var(--radius);
}
.preview-path strong { font-family: var(--head); font-weight: 700; font-size: var(--t-h4); }
.preview-path span { font-size: var(--t-small); color: var(--ink-soft); }

/* ---------- 7 · Nächster Schritt: Kopf links (12 Spalten), Lauftext rechts (12 Spalten) ---------- */
.next-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--grid-gap); row-gap: var(--gap-lead); align-items: start; }
.next-grid .sec-head { grid-column: 1; margin-bottom: 0; }
.next-grid .h2, .next-grid .lead { max-width: none; }
.next-p { grid-row: 2; margin: 0; max-width: none; } /* beide Absätze starten auf derselben Höhe */
.next-p--1 { grid-column: 1; }
.next-p--2 { grid-column: 2; }
/* Fistbump rechts neben dem Kopf, vertikal zur Headline zentriert */
.next-fig { grid-column: 2; grid-row: 1; align-self: center; justify-self: end; width: min(calc(100% - clamp(1.5rem, 4vw, 4rem)), 440px); margin: 0 0 var(--gap-lead); }
.next-fig img { display: block; width: 100%; height: auto; }
.sec--last { padding-bottom: var(--sec-y); }

/* ---------- Hilfsraster (Taste G) ---------- */
.devgrid { position: fixed; inset: 0; z-index: 9999; pointer-events: none; display: none; }
.show-grid .devgrid { display: block; }
.devgrid-inner { display: grid; grid-template-columns: repeat(24, minmax(0, 1fr)); gap: 0 var(--grid-gap, 16px); height: 100%; }
.devgrid-col { position: relative; background: rgba(236,104,128,.14); border-inline: 1px solid rgba(236,104,128,.45); }
.devgrid-col span {
  position: absolute; left: 0; top: calc(var(--nav-h) + 4px); width: 100%; text-align: center;
  font: 600 9px/1 var(--head); color: rgba(26,23,23,.55);
}
.devgrid::after {
  content: '24 Spalten · Gap 16px · Taste G'; position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%);
  font: 700 11px/1 var(--head); letter-spacing: .06em; text-transform: uppercase;
  padding: 6px 10px; background: var(--ink); color: var(--paper); border-radius: 999px;
}

/* ---------- Textbreite: Headline, Lead und Lauftext auf 12 von 24 Rasterspalten ---------- */
@media (min-width: 901px) {
  /* Ohne negative Laufweite braucht «Geschäftsverkehr?» ~9.5em: an die Textspalte koppeln */
  .hero .h1 { font-size: min(var(--t-display), 10.5vh, 5vw); }
  .sec .h2, .sec .lead, .sec .text-big, .sec .addition, .sec .h3--big, .distribution,
  .location p {
    max-width: calc(50% - var(--grid-gap) / 2);
  }
  #film .h3--big { max-width: none; }
  /* Der Auftakt: Headline, Lead und Lauftext über 15 von 24 Spalten, rechts das Smiley (Spalten 18–23) */
  .film-intro { display: grid; grid-template-columns: repeat(24, minmax(0, 1fr)); gap: var(--grid-gap); align-items: center; }
  .film-intro-copy { grid-column: 1 / span 15; }
  .film-intro-copy .h2, .film-intro-copy .lead, .film-intro-copy .text-big { max-width: none; }
  .film-smiley { display: block; grid-column: 18 / span 6; width: 100%; margin-top: 0; }
  /* Drehort: Text über 12 Spalten links, Illustration rechts über 10 Spalten (15–24) */
  .location { display: grid; grid-template-columns: repeat(24, minmax(0, 1fr)); gap: var(--grid-gap); align-items: center; }
  .location-copy { grid-column: 1 / span 12; }
  .location-copy .h3--big, .location-copy p { max-width: none; }
  .location-img { grid-column: 15 / span 10; margin-top: 0; }
  .next-grid .text-big { max-width: none; }
  .idee-head .h2, .idee-head .lead, .idee-copy .text-big, .next-grid .h2, .next-grid .lead, .kampagne-grid .h2, .kampagne-grid .lead, .kampagne-copy .text-big { max-width: none; }
  .anim-grid .text-big { max-width: none; }
}
@media (min-width: 1240px) {
  /* Erst ab hier passt die Zeile (normale Laufweite) in die zwei leeren Zwischenspalten, ohne das Schema zu berühren */
  .kampagne-copy .h2--lines { white-space: nowrap; }
}

/* ---------- Reveal ---------- */
.js-reveal .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: var(--d, 0ms); }
.js-reveal .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .btn, .btn-arrow, .nav-link { transition: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero .h1 { font-size: min(var(--t-display), 10.5vh, 9vw); }
  :root { --nav-h: 56px; }
  .nav { gap: 1rem; padding-right: 0; }
  .nav-link { padding: .4rem .6rem; }
  .nav-list { padding-right: var(--gutter); mask-image: linear-gradient(90deg, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); }
  .nav-logo { height: 28px; }
  .hero-inner { grid-template-columns: 1fr; gap: 1.25rem; }
  .hero-visual { order: -1; justify-content: flex-start; }
  .hero-motif { width: min(48vw, 26vh, 300px); }
  .hero .h1 { max-width: none; }
  .idee-head, .next-grid, .kampagne-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .kampagne-copy, .kampagne-grid .sch { grid-column: 1; }
  .next-p { grid-row: auto; grid-column: 1; }
  .next-p--2 { margin-top: calc(1em - 1.5rem); } /* mobil: Absatzabstand wie Fliesstext statt Grid-Gap */
  .next-fig { grid-column: 1; grid-row: auto; justify-self: start; width: min(100%, 360px); margin: 1rem 0; }
  .idee-fig { justify-content: flex-start; }
  .idee-fig img { width: min(100%, 360px); }
  .anim-grid { grid-template-columns: 1fr; gap: 1.75rem; }
}
@media (max-width: 640px) {
  .col--box { --tilt: 0deg; }
  .nav { gap: .75rem; }
  .nav-list { mask-image: linear-gradient(90deg, #000 85%, transparent); -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); }
  .hero { padding-top: 1rem; }
  .nav-logo { height: 24px; }
  .hero-motif { width: min(52vw, 20vh, 200px); }
  .hero .h1 { font-size: min(var(--t-display), 8.6vw, 7vh); }
  .hero .lead--hero { font-size: min(var(--t-lead), 2.5vh); }
  .hero .btn { font-size: min(var(--t-body), 2.4vh); }
  .cols--2, .cols--3 { grid-template-columns: 1fr; gap: 1.75rem; }
  .story-row { grid-template-columns: 2.5rem minmax(0, 1fr); }
  .story-text { grid-column: 2; }
  .sch { padding-top: .5rem; }
  .sch-box { padding: .9rem 1rem; }
  .sch-box--hero, .sch-box--goal { padding: 1.1rem 1.25rem; }
  .sch-row, .sch-row--hero { grid-template-columns: 1fr; gap: .75rem; }
  .sch-row--hero .sch-box { grid-column: 1; }
  .sch-connect { position: relative; height: 44px; }
  .sch-connect .sch-lines { display: none; }
  .sch-connect::before { content: ''; position: absolute; left: 50%; top: 6px; bottom: 8px; width: var(--line); background: var(--ink); transform: translateX(-50%); }
  .sch-connect::after { content: ''; position: absolute; left: 50%; bottom: 8px; width: 11px; height: 11px; border-right: var(--line) solid var(--ink); border-bottom: var(--line) solid var(--ink); transform: translate(-50%, 0) rotate(45deg); }
  .sch-box--channel { flex-direction: row; justify-content: space-between; align-items: center; gap: 1rem; text-align: left; }
  .sch-box--channel span { text-align: right; max-width: 55%; }
  .sch-box--main { padding-top: .8rem; margin-top: 1.1rem; }
  .sch-main { left: 1rem; transform: none; }
  .sch-box--hero, .sch-box--goal { box-shadow: none; }
  .sch-paths { display: grid; gap: .35rem; }
  .sch-dot { display: none; }
  .preview-paths { grid-template-columns: 1fr; }
}
@media (max-width: 400px) {
  .hero .btn { padding-inline: 1.15rem; }
}
