/* =============================================================
   index_03 — ruhige Fassung
   Ergänzt paper.css + paper_02.css:
   nur Weiß und Hellgrau im Inhalt, dunkel nur für den
   dreidesign-Block und den Fuß, sachlichere Typo.
   ============================================================= */

/* ---------- Farbflächen ---------- */
.section.warm { background: var(--bg-alt); }          /* Beige raus */

/* Kapiteltrenner hell statt schwarz */
.chapter { background: #fff; color: var(--fg); padding: clamp(72px, 10vw, 152px) 0 0; }
.chapter .wrap { grid-template-columns: 1fr; gap: 0; align-items: start; }
.chapter .wrap > div:first-child { display: none; }    /* riesige Ziffer raus */
.chapter .h-sec { color: var(--fg-strong); }
.chapter .lede { color: var(--fg); }
.chapter .label { color: var(--fg-muted) !important; }
.chapter-head { border-top: 2px solid var(--dd-black); padding-top: 20px; }
.chapter-num { font-size: 13px; font-weight: 900; letter-spacing: .12em; color: var(--fg-strong); }

/* Übersicht der folgenden Punkte */
.toc { list-style: none; margin: clamp(32px, 4vw, 56px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--border); }
.toc li { padding: 20px 28px 20px 0; border-right: 1px solid var(--border); }
.toc li + li { padding-left: 28px; }
.toc li:last-child { border-right: 0; }
.toc a { display: block; text-decoration: none; }
.toc .n { font-size: 11px; font-weight: 700; letter-spacing: .18em; color: var(--fg-muted); }
.toc b { display: block; margin: 8px 0 6px; font-size: 16px; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; color: var(--fg-strong); }
.toc span { display: block; font-size: 13px; line-height: 1.5; color: var(--fg); }
.toc a:hover b { text-decoration: underline; }
@media (max-width: 880px) {
  .toc { grid-template-columns: 1fr; }
  .toc li, .toc li + li { padding: 16px 0; border-right: 0; border-bottom: 1px solid var(--border); }
}

/* ---------- Typo etwas zurücknehmen ---------- */
.h-sec { font-size: clamp(24px, 2.9vw, 38px); letter-spacing: .05em; }
.h-feature { font-size: clamp(24px, 3vw, 40px); }
.display { font-size: clamp(30px, 5vw, 66px); }
.hero .display { font-size: clamp(34px, 5.4vw, 74px); max-width: 20ch; }
.hero-sub {
  margin: 14px 0 0; color: #fff; font-weight: 400; text-transform: uppercase;
  letter-spacing: .12em; font-size: clamp(14px, 1.5vw, 20px);
}
.quote { font-size: clamp(22px, 2.9vw, 38px); color: var(--fg-strong); margin: clamp(40px, 5vw, 72px) 0; }
.quote strong { font-weight: 900; }

/* Kapitelseite auf hellgrauem Grund */
.chapter.alt { background: var(--bg-alt); }

/* Beats (Video-Beispiel) auf hellem Grund */
.section:not(.dark) .beats { border-top-color: var(--dd-black); }
.section:not(.dark) .beats > div + div { border-left-color: var(--border); }
.section:not(.dark) .beats .label { color: var(--fg-muted); }

/* ---------- Hinweiszeile ---------- */
.note-box {
  margin-top: 32px; padding: 18px 22px; border-left: 2px solid var(--dd-black); background: #fff;
  font-size: 14px; line-height: 1.6; max-width: 62ch;
}
.section.alt .note-box, .section.warm .note-box { background: var(--dd-white); }

/* ---------- Umschalter mit Aufforderung ---------- */
.choose { display: inline-flex; align-items: center; gap: 12px; }
.choose .ask { font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--fg-strong); white-space: nowrap; }
.choose svg { width: 20px; height: 20px; flex: none; }
@media (max-width: 520px) { .choose { flex-wrap: wrap; gap: 8px; } }

/* ---------- Galerie: gleichmäßiges Raster, ohne Bildunterschriften ---------- */
.gallery.even { grid-template-columns: repeat(3, 1fr); }
.gallery.even .g-item, .gallery.even .g-item.w3, .gallery.even .g-item.w6 { grid-column: span 1; }
.gallery.even .g-item img, .gallery.even .g-item.w3 img, .gallery.even .g-item.w6 img { aspect-ratio: 3 / 2; }
.gallery.even figcaption { display: none; }
@media (max-width: 900px) { .gallery.even { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .gallery.even { grid-template-columns: 1fr; } }
.gallery-note { margin: 16px 0 0; font-size: 13px; line-height: 1.6; color: var(--fg-muted); max-width: 72ch; }

/* ---------- Video ---------- */
.video-row { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(24px, 4vw, 64px); align-items: start; }
@media (max-width: 900px) { .video-row { grid-template-columns: 1fr; } }
.vid { position: relative; background: #111; width: 100%; }
.vid video { display: block; width: 100%; height: 100%; object-fit: cover; background: #111; }
.vid.landscape { aspect-ratio: 16 / 9; }
.vid.portrait { aspect-ratio: 9 / 16; max-height: 82vh; margin: 0 auto; }
.vid video { position: absolute; inset: 0; }
.vid .play-mask {
  position: absolute; inset: 0; z-index: 2; border: 0; cursor: pointer; padding: 0;
  background: rgba(0,0,0,.18); display: flex; align-items: center; justify-content: center;
  transition: background var(--dur-base) var(--ease-std);
}
.vid .play-mask:hover { background: rgba(0,0,0,.05); }
.vid.is-playing .play-mask { display: none; }
.vid-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 14px; }
.vid-foot .caption { margin: 0; max-width: 52ch; }
.vid-foot a { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }

/* ---------- Fakten / Kontakt ruhiger ---------- */
.facts b { font-size: clamp(24px, 2.6vw, 34px); }
.months div, .months div:nth-child(odd) { background: #fff; color: #000; border-color: var(--border); }

/* ---------- Vorrüstung (1.1) ---------- */
.prep { margin: clamp(48px, 6vw, 88px) 0 clamp(64px, 9vw, 136px); padding-top: clamp(32px, 4vw, 48px); border-top: 1px solid var(--border); }
.prep-intro { max-width: 78ch; }
.prep-intro .body { margin-top: 16px; max-width: 78ch; }
.prep-steps { list-style: none; margin: clamp(32px, 4vw, 56px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--dd-black); }
.prep-steps li { padding: 24px 28px 28px 0; border-right: 1px solid var(--border); }
.prep-steps li + li { padding-left: 28px; }
.prep-steps li:last-child { border-right: 0; }
.prep-steps .n { font-size: 34px; font-weight: 900; line-height: 1; color: var(--fg-strong); }
.prep-steps h5 { margin: 14px 0 8px; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--fg-strong); }
.prep-steps p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--fg); }
@media (max-width: 880px) {
  .prep-steps { grid-template-columns: 1fr; }
  .prep-steps li, .prep-steps li + li { padding: 20px 0; border-right: 0; border-bottom: 1px solid var(--border); }
}

/* ---------- Galerie mit variierenden Kacheln ---------- */
.gallery.mixed { grid-template-columns: repeat(6, 1fr); }
.gallery.mixed figcaption { display: none; }
.gallery.mixed .g-item.w2 { grid-column: span 2; }
.gallery.mixed .g-item.w3 { grid-column: span 3; }
.gallery.mixed .g-item.w2 img { aspect-ratio: 3 / 2; }
.gallery.mixed .g-item.w3 img { aspect-ratio: 16 / 9; }
@media (max-width: 900px) {
  .gallery.mixed { grid-template-columns: repeat(2, 1fr); }
  .gallery.mixed .g-item.w2, .gallery.mixed .g-item.w3 { grid-column: span 1; }
  .gallery.mixed .g-item.w2 img, .gallery.mixed .g-item.w3 img { aspect-ratio: 3 / 2; }
}
@media (max-width: 560px) {
  .gallery.mixed { grid-template-columns: 1fr; }
}

/* ---------- Unterzeile unter Kapitelüberschrift ---------- */
.sub-kicker { margin: 16px 0 0; font-size: 13px; font-weight: 700; letter-spacing: .06em; color: var(--fg-muted); max-width: 46ch; }

/* ---------- Bildunterschriften größer ---------- */
.caption { font-size: 14px; line-height: 1.6; color: var(--fg); }
.vid-foot .caption { font-size: 15px; max-width: 60ch; }
.embed-foot .caption { font-size: 14px; }
.grid-caption { margin: clamp(32px,4vw,48px) 0 20px; font-size: 14px; line-height: 1.6; color: var(--fg); max-width: 72ch; }
.grid-caption .label { display: block; margin-bottom: 6px; }

/* ---------- Beispielidee mit Bild ---------- */
.idea { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 4vw, 72px); align-items: start; }
.idea-img { margin: 0; max-width: 80%; }
.idea-img img { width: 100%; height: auto; }
.idea-img figcaption { margin-top: 14px; }
.idea-img figcaption strong { color: var(--fg-strong); }
.idea-text .quote { margin: 18px 0 0; }
.script { margin: 18px 0 0; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.55; color: var(--fg); max-width: 54ch; }
.idea-note { margin: clamp(28px,3vw,40px) 0 0; padding-top: 16px; border-top: 1px solid var(--border); font-size: 13px; line-height: 1.6; color: var(--fg-muted); max-width: 62ch; }
@media (min-width: 801px) { .idea .beats { grid-template-columns: 1fr 1fr 1fr; } }
@media (max-width: 800px) { .idea .beats { grid-template-columns: 1fr; } }
@media (max-width: 1020px) { .idea { grid-template-columns: 1fr; } .idea-img { max-width: 440px; } }

/* ---------- KI-Skizze (2.2) ---------- */
.illus { margin: clamp(48px, 6vw, 88px) auto 0; max-width: 1100px; }
.illus img { width: 100%; height: auto; border: 1px solid var(--border); }
.illus figcaption { margin-top: 14px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 0; }

/* ---------- Scrolly-Telling (2.4) ---------- */
.scrolly { position: relative; height: 560vh; margin-top: clamp(32px, 4vw, 56px); }
.scrolly-stage {
  position: sticky; top: var(--nav-h); height: calc(100vh - var(--nav-h));
  display: flex; align-items: center; justify-content: center;
  background: var(--dd-black); overflow: hidden;
}
.scrolly-stage canvas { width: 100%; height: 100%; object-fit: cover; display: block; }
.scrolly-load {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: var(--dd-black); color: rgba(255,255,255,.7);
  font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  transition: opacity var(--dur-slow) var(--ease-std);
}
.scrolly-load.is-hidden { opacity: 0; pointer-events: none; }
.scrolly-cap {
  position: absolute; left: clamp(20px, 5vw, 80px); max-width: min(46ch, 70%);
  color: #fff; will-change: transform, opacity;
  background: rgba(0,0,0,.45); padding: clamp(20px, 2.4vw, 32px) clamp(22px, 2.6vw, 36px);
}
.scrolly-cap.is-start { top: clamp(48px, 9vh, 120px); }
.scrolly-cap.is-end { bottom: clamp(48px, 9vh, 120px); opacity: 0; }
.scrolly-cap .h-feature { color: #fff; margin: 0; font-size: clamp(22px, 2.4vw, 34px); }
.scrolly-cap .body { color: rgba(255,255,255,.9); margin-top: 14px; max-width: 42ch; font-size: clamp(15px, 1.4vw, 18px); }
@media (max-width: 720px) {
  .scrolly { height: 440vh; }
  .scrolly-cap { max-width: 86%; }
}
@media (prefers-reduced-motion: reduce) { .scrolly { height: 320vh; } }

@media (min-width: 721px) { .scrolly-cap.is-end .h-feature { white-space: nowrap; } }
