/* ============ Tokens ============ */
:root {
  --yellow: #f0a902;        /* Hero-Gelb, gesampelt aus dem Foto */
  --yellow-bright: #ffd400; /* Buttons, Marker */
  --yellow-soft: #fddd75;
  --black: #16140f;
  --dark: #211e18;
  --paper: #faf7f0;
  --white: #fff;
  --font-display: 'Barlow Condensed', 'Barlow', sans-serif;
  --font-body: 'Barlow', -apple-system, sans-serif;
  --font-hand: 'Caveat', cursive;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--black);
  background: var(--paper);
  line-height: 1.55;
  /* clip statt hidden: schneidet seitlich ab, ohne einen Scroll-Container
     zu erzeugen – hidden auf html+body bricht auf iOS das Scrollen */
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
h1, h2, h3, .stat-big, .gw-mode { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; line-height: 0.95; letter-spacing: 0.01em; }
section { padding: 96px 24px; }
.section-head { max-width: 1100px; margin: 0 auto 56px; }
.section-head h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: 16px; }
.section-head p { font-size: 1.05rem; opacity: 0.85; }

mark {
  background: linear-gradient(transparent 55%, var(--yellow-bright) 55%, var(--yellow-bright) 96%, transparent 96%);
  color: inherit; padding: 0 2px;
}
.mark-solid { background: var(--yellow-bright); padding: 2px 12px; display: inline-block; }

/* ============ Buttons & Badges ============ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-weight: 800; font-size: 0.95rem;
  text-transform: uppercase; letter-spacing: 0.03em; text-decoration: none;
  padding: 16px 26px; border-radius: 999px; border: none; cursor: pointer;
  box-shadow: 0 6px 16px rgba(0,0,0,0.22);   /* weicher Schatten für alle Buttons */
  transition: transform 0.2s ease;
}
/* Einheitlicher Hover: Button wächst samt Inhalt gleichmäßig nach außen.
   Nur bei echter Maus – auf Touch würde der Zustand nach dem Tippen hängen bleiben. */
@media (hover: hover) {
  .btn:hover { transform: scale(1.05); }
}
.btn:focus-visible { transform: scale(1.05); }
.btn-dark { background: var(--black); color: var(--yellow-bright); }
.btn-yellow { background: var(--yellow-bright); color: var(--black); }
.btn-small { padding: 11px 20px; font-size: 0.8rem; }

.badge {
  display: inline-block;
  font-family: var(--font-display); font-weight: 800; font-style: italic; font-size: 1.05rem;
  text-transform: uppercase; letter-spacing: 0.03em;
  padding: 4px 12px 5px 10px; border-radius: 7px;
  transform: rotate(-3deg);
}
.badge-dark { background: var(--black); color: var(--yellow-bright); box-shadow: 2px 3px 6px rgba(0,0,0,0.18); }

/* ============ Handschrift & Pfeile ============ */
.hand {
  font-family: var(--font-hand); font-size: 1.5rem; font-weight: 700;
  line-height: 1.1; display: inline-block; transform: rotate(-4deg);
}
.scribble-note { display: flex; align-items: flex-start; gap: 8px; }
.scribble-arrow { width: 64px; height: 44px; flex: none; }
.scribble-arrow path {
  fill: none; stroke: currentColor; stroke-width: 3.5;
  stroke-linecap: round; stroke-linejoin: round;
}

/* ============ Hero ============ */
.hero {
  background: #fdfdfb;
  color: var(--black);
  position: relative;
  overflow: hidden;
  /* füllt exakt den sichtbaren Bereich – auch bei „Mehr Fläche"/„Standard" auf Apple-Displays */
  height: 100svh; min-height: 520px;
  display: flex; flex-direction: column;
}
.topbar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 28px 36px 16px; position: absolute; top: 0; left: 0; right: 0; z-index: 3;
}
.logo {
  display: block; width: 88px; color: #daa03d;   /* Markengold aus dem Original-SVG */
  transition: opacity 0.2s ease;
}
.logo:hover { opacity: 0.75; }
.logo svg { width: 100%; height: auto; display: block; }
.logo-light { color: var(--white); }

.hero-inner {
  flex: 1; min-height: 0;
  margin: 0 auto; width: 100%;
  padding: 0 0 0 36px;
  display: grid; grid-template-columns: minmax(330px, 0.45fr) 1fr;
  align-items: center; gap: 0;
}
.hero-copy {
  position: relative; z-index: 2;
  padding: clamp(52px, 9.5vh, 116px) 0 clamp(20px, 4.5vh, 56px);
  margin-left: clamp(0px, 5vw, 96px);
  max-width: 430px;
}
/* Headline darf breiter sein als die Copy-Spalte und über das Foto laufen */
.hero h1 {
  font-size: clamp(2.6rem, min(12.2vw, 17.5vh), 13rem); margin: clamp(8px, 1.6vh, 16px) 0 clamp(10px, 2vh, 20px);
  line-height: 0.82;
  transform: rotate(-2deg); transform-origin: left center;
  width: max-content; position: relative; z-index: 3;
}
.h1-line { display: block; white-space: nowrap; }
.h1-alpha {
  color: #f5cf46;
  text-shadow: 2px 3px 0 rgba(22, 20, 15, 0.16);
}
.hero-claim {
  font-weight: 800; font-size: clamp(0.85rem, 1.6vh, 1rem);
  text-transform: uppercase; letter-spacing: 0.02em; margin-bottom: clamp(8px, 1.6vh, 14px);
  line-height: 1.5;
}
.hero-claim mark { background: var(--black); color: var(--white); padding: 3px 10px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
/* ohne festen Umbruch: balance verteilt den Text gleichmäßig auf zwei Zeilen */
.hero-sub {
  font-size: clamp(1rem, 2.1vh, 1.2rem); line-height: 1.45; font-weight: 500;   /* Introtext, nicht Kleingedrucktes */
  margin-bottom: clamp(16px, 2.8vh, 26px); text-wrap: balance;
  /* darf etwas breiter als die Copy-Spalte laufen (wie die H1), damit es zwei Zeilen bleiben */
  width: 21em; max-width: calc(100% + 60px);
}
.nowrap { white-space: nowrap; }
/* leiser Kicker statt Badge – gleiches Muster wie in der Gönnung-Sektion */
.hero-kicker {
  font-weight: 800; font-size: clamp(0.9rem, 1.9vh, 1.1rem);
  letter-spacing: 0.1em; text-transform: uppercase; white-space: nowrap;
  color: var(--black);
  transform: rotate(-2deg); transform-origin: left center;   /* gleiche Neigung wie die H1 */
}
/* Notiz mit Pfeil sitzt neben dem Kicker und zeigt auf die Headline;
   Kicker unten ausgerichtet, damit er nah an der H1 bleibt */
.hero-top {
  display: flex; align-items: flex-end;
  gap: clamp(16px, 3.5vw, 48px);
  margin-bottom: clamp(4px, 1.2vh, 14px);
}
/* Handschrift sitzt über dem oberen Pfeilende. Sie liegt absolut, damit die Notiz
   nicht höher wird und die Headline nicht nach unten schiebt. Das Padding setzt
   den Pfeil neben den Kicker (Wert hängt an der Handschrift-Größe). */
.hero-note {
  position: relative; flex: none;   /* nicht vom Kicker zusammendrücken lassen */
  padding-left: calc(clamp(1.05rem, 2.1vh, 1.35rem) * 4.4 - 3px);
}
.hero-note .hand {
  position: absolute; bottom: calc(100% - 2px);
  /* rechtsbündig knapp hinter dem Pfeilanfang – ragt so nie weiter rechts als der Pfeil */
  left: calc(clamp(1.05rem, 2.1vh, 1.35rem) * 4.4 - 3px + 48px);
  translate: -100% 0;
  font-size: clamp(1.05rem, 2.1vh, 1.35rem); line-height: 1.15; white-space: nowrap;
  transform: rotate(-3deg);
}
.scribble-arrow.arrow-down { width: 44px; height: 52px; margin-top: 2px; }

.hero-cta { display: flex; align-items: center; gap: 18px; flex-wrap: nowrap; width: max-content; }
.hero-cta .btn {
  padding: 13px 22px; font-size: 0.85rem;
  flex: none;
}
.hero-cta .scribble-note { align-items: flex-start; gap: 6px; margin-bottom: 14px; flex: none; }
.hand-caps {
  font-size: 1.02rem; letter-spacing: 0.04em; line-height: 1.4;
  text-transform: uppercase; transform: rotate(-2deg); font-style: italic;
  text-shadow: 0 0 6px #fdfdfb, 0 0 12px #fdfdfb, 0 0 2px #fdfdfb;
}
.scribble-arrow.arrow-hook { width: 48px; height: 48px; margin-top: 26px; }

.hero-visual {
  position: relative; z-index: 1;
  align-self: stretch; min-height: 0;
}
/* Foto läuft im natürlichen Seitenverhältnis mit – der flache Bogen links
   kommt aus einer prozentbasierten SVG-Maske und skaliert mit jeder Breite */
.hero-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; object-position: 58% center;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M7 0 H100 V100 H24 C 7 80, 1 34, 7 0 Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M7 0 H100 V100 H24 C 7 80, 1 34, 7 0 Z'/%3E%3C/svg%3E");
  -webkit-mask-size: 100% 100%; mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
}

.circle-badge {
  position: absolute; top: 44px; right: 62px;
  width: 104px; height: 104px; display: block;
  text-decoration: none;
  animation: spin 14s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.circle-badge svg { width: 100%; height: 100%; overflow: visible; }
.circle-badge text {
  fill: var(--black); font-family: var(--font-body); font-weight: 800;
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.14em;
}
.circle-badge-dot {
  position: absolute; inset: 0; margin: auto;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--yellow-bright); color: var(--black);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem; font-weight: 800;
  animation: spin 14s linear infinite reverse;
}
.circle-badge:hover .circle-badge-dot { background: var(--white); }

/* ============ Deepdive-Intro ============ */
.deepdive { background: var(--white); padding-bottom: 72px; }
.deepdive-inner {
  max-width: 1240px; margin: 0 auto;
  display: grid; grid-template-columns: 0.92fr 1.08fr;
  align-items: center; gap: clamp(44px, 7vw, 110px);
}
/* Bild links, Text rechts */
.deepdive-visual { order: -1; }
.badge-black {
  background: var(--black); color: var(--white);
  font-family: var(--font-body); font-style: normal; font-weight: 800;
  font-size: 0.9rem; letter-spacing: 0.02em; border-radius: 6px;
  padding: 8px 16px;
}
.deepdive h2 {
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  color: var(--black); margin: 16px 0 24px;
}
.deepdive .h2-accent { color: var(--yellow-bright); }
.deepdive p { max-width: 100%; margin-bottom: 16px; }
.dd-lead { font-size: 1.12rem; font-weight: 600; }

/* Fakten-Zeile gibt dem Textblock Halt */
/* nutzt die volle Spaltenbreite: drei gleich breite Felder mit Trennlinien */
.dd-facts {
  display: grid; grid-template-columns: repeat(3, 1fr);
  margin: 26px 0 28px; padding-top: 22px;
  border-top: 2px solid rgba(22,20,15,0.1);
}
.dd-facts span + span {
  border-left: 2px solid rgba(22,20,15,0.1);
  padding-left: 22px;
}
.dd-facts span { font-size: 0.82rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }
.dd-facts b {
  display: block; font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.9rem, 3vw, 2.6rem); line-height: 1; letter-spacing: 0.01em;
  margin-bottom: 2px;
}
.dd-cta { padding: 14px 24px; font-size: 0.85rem; }

/* Foto sitzt randlos im Kreis, Chips liegen auf der Kreiskante */
.deepdive-visual { position: relative; display: grid; place-items: center; padding: 10px; }
.dd-circle {
  position: relative; z-index: 1;
  width: min(92%, 460px); aspect-ratio: 1;
  border-radius: 50%; overflow: hidden;
  box-shadow: 0 20px 44px rgba(0,0,0,0.18);
}
.dd-circle img:not(.ai-label) { width: 100%; height: 100%; object-fit: cover; }

/* schwebende Stichwort-Chips um den Kreis */
.dd-chip {
  position: absolute; z-index: 2;
  background: var(--white); color: var(--black);
  font-size: 0.78rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.04em;
  padding: 9px 15px; border-radius: 999px;
  box-shadow: 0 8px 22px rgba(0,0,0,0.14);
  animation: floaty 5s ease-in-out infinite;
}
.dd-chip-1 { top: 8%; right: 0; transform: rotate(6deg); }
.dd-chip-2 { top: 48%; right: -8%; transform: rotate(-3deg); animation-delay: 1.1s; }
.dd-chip-3 { bottom: 10%; left: -2%; transform: rotate(-5deg); animation-delay: 2.2s; }
@keyframes floaty {
  50% { translate: 0 -9px; }
}
@media (prefers-reduced-motion: reduce) { .dd-chip { animation: none; } }

/* ============ Stats ============ */
/* Test: Markengold statt Verlauf – vorher linear-gradient(100deg, #f7b306, #f0a902) */
.stats { background: #daa03d; }
.stats-head {
  max-width: 1100px; margin: 0 auto 48px;
  display: grid; grid-template-columns: auto 1fr;
  gap: clamp(24px, 5vw, 80px); align-items: end;
}
.stats-head h2 { font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.02; }
.stats-head .h2-accent { color: var(--white); }
.stats-head p { font-weight: 500; font-size: 1rem; padding-bottom: 4px; }
.stats-swipe { display: none; }
.stats .section-head p { opacity: 1; font-weight: 500; }
.stats mark { background: linear-gradient(transparent 55%, var(--white) 55%, var(--white) 96%, transparent 96%); }
.stat-card.light { border-color: transparent; }
.stat-grid {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.stat-card {
  border-radius: 24px; padding: 26px 24px 30px;
  display: flex; flex-direction: column; gap: 12px;
  transition: translate 0.6s ease, opacity 0.6s ease, transform 0.2s ease;
}
.stat-card:hover { transform: translateY(-14px) rotate(-1.2deg); }
.stat-card.dark { background: #171410; color: var(--white); }
.stat-card.light { background: var(--white); color: var(--black); box-shadow: 0 14px 30px rgba(0,0,0,0.10); }
.stat-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 6px; }
.stat-no { font-weight: 800; font-size: 1.9rem; line-height: 1; }
.stat-icon { width: 44px; height: 44px; fill: #f5cf46; }
.stat-card h3 { font-family: var(--font-body); font-weight: 800; text-transform: none; font-size: 1.05rem; line-height: 1.3; }
.stat-big {
  font-size: clamp(2.2rem, 3.6vw, 3rem); color: #f5cf46;
  margin: 2px 0 4px; letter-spacing: 0.01em;
}
.stat-card p { font-size: 0.88rem; opacity: 0.85; }

/* ============ Marquee ============ */
.marquee {
  position: relative;
  background: var(--white);
  padding: 46px 0 34px;
  /* clip statt hidden: schneidet das Laufband seitlich ab,
     lässt die Kurzinfos beim Hover aber nach unten austreten */
  overflow-x: clip;
}
.marquee-hint {
  position: absolute; top: 14px; left: 50%; translate: -50% 0;
  font-size: 0.88rem; font-weight: 600; white-space: nowrap;   /* normale Schreibweise, wie mobil */
  opacity: 0.5;
}
.marquee-track { overflow: visible; }
.marquee-track {
  /* --mq-gap steckt auch in den Keyframes: Versatz = halbe Strecke + halber Abstand,
     sonst ruckelt die Endlosschleife */
  --mq-gap: 22px;
  display: flex; gap: var(--mq-gap); width: max-content;
  animation: marquee 28s linear infinite;
}
@media (hover: hover) {
  .marquee:hover .marquee-track { animation-play-state: paused; }
}
@keyframes marquee { to { transform: translateX(calc(-50% - var(--mq-gap) / 2)); } }
@keyframes marqueeBack { from { transform: translateX(calc(-50% - var(--mq-gap) / 2)); } to { transform: translateX(0); } }
.track-b { display: none; }
.kw-info { display: none; }
.kw {
  position: relative; cursor: default;
  font-family: var(--font-display); font-weight: 800; font-style: italic;
  font-size: 2rem; text-transform: uppercase;
  color: var(--black); padding: 10px 30px 12px 26px;
  border-radius: 26px; white-space: nowrap;
  cursor: default;
  transition: transform 0.2s ease;
}
.kw:hover { transform: translateY(-4px) scale(1.03); box-shadow: 0 8px 18px rgba(0,0,0,0.18); }
/* Kurzinfo beim Hover – macht aus Deko Navigation */
.kw::after {
  content: attr(data-info);
  position: absolute; left: 50%; top: calc(100% + 12px); translate: -50% 0;
  width: max-content; max-width: 260px;
  font-family: var(--font-body); font-style: normal; font-weight: 600;
  font-size: 0.78rem; text-transform: none; letter-spacing: 0;
  line-height: 1.35; white-space: normal; text-align: center;
  background: var(--black); color: var(--white);
  padding: 9px 14px; border-radius: 10px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 5;
}
.kw:hover::after { opacity: 1; }
.kw.c1 { background: #fbee55; }
.kw.c2 { background: #c69a50; }
.kw.c3 { background: #f7d54d; }
.kw.c4 { background: #e9bb3d; }

/* ============ Gönnung ============ */
.goennung {
  --gold: #d09c34; --green: #7ba33f; --green-soft: #c3d69b; --brown: #5b3222;
  background: var(--white); padding: 64px 0 80px; overflow: hidden;
}
.goennung-head {
  max-width: 1180px; margin: 0 auto 72px; padding: 0 24px;
  text-align: center;
}
/* Überschrift der Sektion (h2), bewusst leise als Kicker gesetzt –
   die Bühne darunter trägt die Aussage */
.gw-kicker {
  font-family: var(--font-body); font-weight: 800;
  font-size: 0.8rem; line-height: 1.4; letter-spacing: 0.14em;
  color: #6f6a60;
}
/* Notiz sitzt rechts neben der Mitte, der Pfeil zeigt auf den Regler –
   dort startet er. Nach der ersten Bewegung blendet sie aus. */
.gw-hint {
  position: absolute; left: calc(50% + 4px); top: -54px;
  flex-direction: row-reverse; align-items: flex-start; gap: 2px;
  color: var(--black);
  transition: opacity 0.3s ease;
}
.gw-hint .scribble-arrow { width: 44px; height: 42px; margin-top: 20px; transform: scaleX(-1); }
.gw-touched .gw-hint { opacity: 0; pointer-events: none; }

.gw-timeline {
  position: relative; z-index: 2; /* liegt über den Farb-Bubbles der Stage */
  /* kompakt statt volle Inhaltsbreite – sonst ist der Weg zum Endpunkt zu weit */
  max-width: 800px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; gap: 20px;
}
.gw-time {
  background: none; cursor: pointer;
  font-family: var(--font-display); font-weight: 800; font-size: clamp(1.3rem, 2.4vw, 1.9rem);
  text-transform: uppercase; color: #c9c4ba; flex: none;
  padding: 2px 14px; border: none;
  transition: color 0.3s ease;
}
.gw-time:hover { color: #a9a294; }
.state-day .gw-time.active { color: var(--green); }
.state-night .gw-time.active { color: var(--brown); }
.gw-track { position: relative; flex: 1; display: flex; align-items: center; }
/* aktive Strecke läuft farbig bis zum Regler mit */
.gw-fill {
  position: absolute; left: 13px; top: 50%; translate: 0 -50%;
  height: 4px; border-radius: 2px; width: 0;
  background: var(--gold);
  transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s ease;
  pointer-events: none;
}
.gw-fill { width: calc(50% - 13px); }
.state-day .gw-fill { width: 0; background: var(--green); }
.state-night .gw-fill { width: calc(100% - 26px); background: var(--brown); }
.gw-dot {
  position: absolute; top: 50%; translate: -50% -50%;
  width: 14px; height: 14px; border-radius: 50%;
  background: #dcd8cf; pointer-events: none;
}
#gwSlider {
  position: relative; z-index: 2;
  width: 100%; appearance: none; -webkit-appearance: none;
  /* Element ist bewusst hoch (Touchfläche); die sichtbare Linie zeichnet der
     zentrierte 4px-Gradient, Thumb und Punkte sitzen weiter auf der Mitte */
  height: 44px; border-radius: 2px;
  /* Linie endet exakt an den äußeren Punkten (13px = halbe Thumb-Breite) */
  background: linear-gradient(#dcd8cf, #dcd8cf) center / calc(100% - 26px) 4px no-repeat;
  outline: none; cursor: grab; margin: 0;
}
#gwSlider:active { cursor: grabbing; }
#gwSlider::-webkit-slider-thumb {
  appearance: none; -webkit-appearance: none;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--gold); border: 4px solid var(--white);
  box-shadow: 0 4px 14px rgba(0,0,0,0.28);
  transition: transform 0.15s ease, background 0.3s ease;
}
#gwSlider::-webkit-slider-thumb:hover { transform: scale(1.2); }
#gwSlider::-moz-range-thumb { width: 34px; height: 34px; border-radius: 50%; background: var(--gold); border: 4px solid var(--white); box-shadow: 0 4px 14px rgba(0,0,0,0.28); }
.state-day #gwSlider::-webkit-slider-thumb { background: var(--green); }
.state-night #gwSlider::-webkit-slider-thumb { background: var(--brown); }
.state-day #gwSlider::-moz-range-thumb { background: var(--green); }
.state-night #gwSlider::-moz-range-thumb { background: var(--brown); }

.gw-stage {
  display: grid; grid-template-columns: 1fr 1.35fr 1fr;
  align-items: center; gap: 10px; margin-top: -10px;
}
.gw-img { position: relative; transition: transform 0.4s ease; }
.gw-img img:not(.ai-label) { position: relative; width: 100%; max-width: 480px; }
.gw-img-day { transform-origin: left center; }
.gw-img-night { transform-origin: right center; }
.gw-img-day img:not(.ai-label) { float: left; }
.gw-img-night img:not(.ai-label) { float: right; }
.gw-img.big { transform: scale(1.12); }

/* Farbkreis hinter der aktiven Hand */
.gw-bubble {
  position: absolute; top: 50%; left: 50%;
  width: 78%; aspect-ratio: 1; border-radius: 50%;
  translate: -50% -46%;
  transform: scale(0); transition: transform 0.4s cubic-bezier(0.34, 1.4, 0.64, 1);
}
.gw-img-day .gw-bubble { background: var(--green-soft); }
.gw-img-night .gw-bubble { background: var(--yellow-bright); }
.gw-img.big .gw-bubble { transform: scale(1); }

/* feste Struktur: Pill-Zeile, Headline und Fußbereich haben immer dieselbe Höhe,
   damit die Headline in allen drei Zuständen auf derselben Linie steht */
.gw-card {
  text-align: center; padding: 10px 8px 30px;
  min-height: 460px;   /* Mittelzustand ist der höchste – alle drei müssen reinpassen */
  display: flex; flex-direction: column; align-items: center;
}
.gw-pill.is-blank { visibility: hidden; }
.gw-quote { min-height: 2.1em; }
.gw-foot { margin-top: 26px; min-height: 150px; }
.gw-pill {
  display: inline-block; font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(1rem, 1.5vw, 1.3rem); letter-spacing: 0.02em;
  padding: 6px 20px; border: 3px solid currentColor; border-radius: 999px;
  margin-bottom: 20px;
}
.state-day .gw-pill { color: var(--green); }
.state-night .gw-pill { color: var(--brown); }
.gw-tags {
  font-weight: 800; font-size: 0.95rem;
}
.gw-tags + .gw-body { margin-top: 12px; }
.gw-foot .gw-body { margin-top: 12px; }
.gw-more {
  display: inline-block; margin-top: auto;
  font-size: 0.85rem; font-weight: 800; color: var(--black);
  text-decoration: none; border-bottom: 2px solid var(--yellow-bright);
  padding-bottom: 1px;
}
.gw-more:hover { background: var(--yellow-bright); }
.gw-quote {
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(2rem, 4.1vw, 3.7rem); line-height: 1.02; color: var(--black);
}
/* Strich ausgeblendet (saß mittig unter „SIT“), Platz bleibt für den Abstand */
.gw-divider { width: 80px; height: 4px; background: var(--gold); margin: 0 auto 20px; visibility: hidden; }
.gw-sub {
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(1.2rem, 2.2vw, 1.95rem); line-height: 1.2; color: var(--gold);
}
/* Abstand nach unten: der Link darunter sitzt per margin-top: auto und
   rückt sonst direkt an den Text, wenn der zweizeilig wird */
.gw-body { max-width: 420px; margin: 12px auto 24px; font-size: 1rem; }

/* ============ Kapitel ============ */
.chapters { background: var(--dark); color: var(--white); position: relative; overflow: hidden; }
.chapters .section-head { position: relative; z-index: 1; max-width: 1240px; }
.ghost {
  position: absolute; top: 26px; left: 50%; transform: translateX(-50%);
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(6rem, 20vw, 17rem);
  text-transform: uppercase; color: rgba(240, 169, 2, 0.07);
  white-space: nowrap; pointer-events: none; line-height: 1;
}

/* Chapter-Deck: die aktive Karte öffnet sich, die anderen bleiben schmal */
.chapter-deck {
  position: relative; z-index: 1;
  max-width: 1240px; margin: 0 auto;
  display: flex; gap: 18px; height: 560px;
}
.deck-nav { display: none; }
.deck-card {
  position: relative; flex: 1 1 0; min-width: 0;
  border-radius: 16px; overflow: hidden;
  outline: none;
  transition: flex-grow 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}
.deck-card.is-open { flex-grow: 2.3; }
.chapter-deck:hover .deck-card.is-open:not(:hover) { flex-grow: 1; }
.deck-card:hover, .deck-card:focus-visible { flex-grow: 2.3; }

.deck-card img:not(.ai-label) {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s ease, filter 0.4s ease;
  filter: grayscale(0.35) brightness(0.8);
}
.deck-card.is-open img:not(.ai-label), .deck-card:hover img:not(.ai-label), .deck-card:focus-visible img:not(.ai-label) {
  filter: none; transform: scale(1.04);
}
.deck-card::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,9,6,0.92) 8%, rgba(10,9,6,0.45) 42%, transparent 72%);
}

.deck-body {
  position: absolute; z-index: 1; inset: auto 0 0 0;
  padding: 26px 22px 30px;
}
.deck-no {
  display: block; font-family: var(--font-display); font-weight: 800;
  font-size: 1.6rem; color: var(--yellow-bright); margin-bottom: 8px;
}
.deck-card h3 {
  font-family: var(--font-body); font-weight: 800; text-transform: none;
  font-size: 1.1rem; line-height: 1.2; color: var(--white);
  /* im geschlossenen Zustand hochkant, damit der Titel immer lesbar bleibt */
  white-space: nowrap;
}
.deck-card p {
  font-size: 0.95rem; line-height: 1.45; opacity: 0; max-width: 380px;
  margin-top: 10px;
  /* feste Höhe: der Titel sitzt in jeder Karte auf derselben Linie,
     egal wie oft der Text bei schmaler Karte umbricht */
  height: 2.9em; overflow: hidden;
  transition: opacity 0.4s ease 0.12s;
}
.deck-card.is-open p, .deck-card:hover p, .deck-card:focus-visible p { opacity: 0.9; }
.chapter-deck:hover .deck-card.is-open:not(:hover) p { opacity: 0; transition-delay: 0s; }

.chapters-more {
  max-width: 1240px; margin: 44px auto 0; position: relative; z-index: 1;
  font-size: 0.95rem; opacity: 0.8;
}
/* Sternchen hinter der Headline verweist auf den Hinweis unter den Karten */
.note-star { font-size: 0.6em; vertical-align: top; margin-left: 0.08em; }

/* ============ Foto-Break (Mini-Parallax) ============ */
.photobreak { overflow: hidden; max-height: 520px; }
.photobreak img:not(.ai-label) {
  width: 100%; max-height: 640px; object-fit: cover;
  margin: -60px 0; will-change: transform;
}

/* ============ KI-Kennzeichnung (AI Act) ============
   Rundes Label klein in einer Ecke jedes KI-generierten Bildes. 24px ist die
   kleinste Größe, bei der „AI" noch sauber lesbar bleibt. */
.ai-label {
  position: absolute; z-index: 4;
  width: 24px; height: 24px; max-width: none;
  pointer-events: none; user-select: none; -webkit-user-drag: none;
}
.hero-visual .ai-label { right: 18px; bottom: 18px; }
/* im Kreis unten mittig, knapp am Rand */
.dd-circle .ai-label { left: 50%; bottom: 8px; translate: -50% 0; }
/* Auf dem Ärmel, nah am Seitenrand, und bei beiden Händen auf gleicher Höhe.
   Beide Bilder sind gleich breit und an ihrer Mitte ausgerichtet – der Abstand
   zur Bildmitte in Anteilen der Bildbreite (cqw) ist daher bei beiden gleich. */
.gw-img { container-type: inline-size; }
.gw-img-day .ai-label { left: 14px; }
.gw-img-night .ai-label { right: 14px; }
.gw-img .ai-label { top: calc(50% + min(100cqw, 480px) * 0.225 - 12px); }
.deck-card .ai-label { top: 12px; right: 12px; }
.photobreak { position: relative; }
.photobreak .ai-label { right: 18px; bottom: 18px; }
/* Croissant: rechts neben der Hand unterhalb des Croissants, auf dem Gelb.
   Position in Anteilen der Bildbreite (--cw), Bild ist 900 × 1090 px. */
.download-visual .ai-label {
  --cw: clamp(200px, 21vw, 310px);
  right: calc(max((100% - 1280px) / 2, 24px) + 100px + var(--cw) * 0.2 - 12px);
  bottom: calc(var(--cw) * 0.56);
}

/* Zusätzlich steckt in jeder Bilddatei ein kleines Label oben rechts, damit
   heruntergeladene Bilder gekennzeichnet bleiben. Auf der Seite darf es nie
   zu sehen sein:
   – Fotos werden minimal vergrößert, fest verankert unten links. Der Rahmen
     (Karte, Foto-Break, Seitenrand) schneidet die Ecke dann bei jeder Größe ab.
     Faktor = 1,08 × Eckmaß / kürzere Kante der Datei; translate hält die
     Ecke unten links an ihrem Platz.
   – Freisteller sind in der Ecke ohnehin durchsichtig – dort wird nur die
     Ecke ausgeblendet (Polygon reicht über die Box hinaus, damit der
     Schlagschatten erhalten bleibt).
   – Deepdive: die Ecke liegt immer außerhalb des Kreises. */
.hero-img { scale: 1.048; translate: 2.4% -2.4%; }
.deck-card img[src$="card-erwachsen.jpg"] { scale: 1.066; translate: 3.3% -3.3%; }
.deck-card img[src$="card-nachwuchs.jpg"] { scale: 1.061; translate: 3.05% -3.05%; }
.deck-card img[src$="card-goennung.jpg"]  { scale: 1.048; translate: 2.4% -2.4%; }
.deck-card img[src$="card-prompt.jpg"]    { scale: 1.049; translate: 2.45% -2.45%; }
.photobreak img:not(.ai-label) { scale: 1.058; translate: 2.9% -2.9%; }
.gw-img-day img:not(.ai-label) {
  clip-path: polygon(-50% -50%, 94.1% -50%, 94.1% 5.3%, 150% 5.3%, 150% 150%, -50% 150%);
}
.gw-img-night img:not(.ai-label) {
  clip-path: polygon(-50% -50%, 94.3% -50%, 94.3% 6.4%, 150% 6.4%, 150% 150%, -50% 150%);
}
.download-visual img:not(.ai-label) {
  clip-path: polygon(-50% -50%, 94.6% -50%, 94.6% 4.4%, 150% 4.4%, 150% 150%, -50% 150%);
}

/* ============ Quote ============ */
.quote {
  position: relative; overflow: hidden;
  background: var(--black); color: var(--white);
  padding: clamp(90px, 12vw, 150px) 24px;
}
.quote blockquote { position: relative; z-index: 1; max-width: 1100px; margin: 0 auto; text-align: center; }
.quote p {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2rem, 5.4vw, 4.3rem);
  text-transform: uppercase; line-height: 1.1;
}
.quote mark { background: linear-gradient(transparent 55%, var(--yellow-bright) 55%, var(--yellow-bright) 94%, transparent 94%); color: var(--white); }
.quote cite { display: block; margin-top: 26px; font-style: normal; font-size: 0.9rem; opacity: 0.5; }

/* ============ Blick ins Paper ============ */
.peek { background: var(--paper); text-align: center; }
.peek .section-head { margin-bottom: 40px; }
.fan {
  display: flex; justify-content: center; align-items: flex-end;
  max-width: 1240px; margin: 0 auto; padding: 40px 0 10px;
}
.fan img {
  width: 33%; min-width: 220px;
  border: 1px solid rgba(0,0,0,0.12); border-radius: 6px;
  box-shadow: 0 26px 60px rgba(0,0,0,0.26);
  transform: rotate(var(--r)) translateY(var(--y));
  margin: 0 -2.4%;
  transition: transform 0.25s ease, z-index 0s;
}
.fan img:hover { transform: rotate(0deg) translateY(-14px) scale(1.35); z-index: 5; position: relative; }
.fan-center { z-index: 2; width: 38%; }
.peek-facts {
  display: flex; justify-content: center; gap: 34px; flex-wrap: wrap;
  margin-top: 44px; font-weight: 700; font-size: 0.95rem;
}

/* ============ Download ============ */
.closing { position: relative; }
.download {
  background: var(--yellow-bright);
  overflow: visible;
  padding: 64px 24px 56px;
}
.download-inner {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: auto 1.25fr auto auto;
  gap: clamp(20px, 2.6vw, 40px); align-items: center;
}
.download h2 { font-size: clamp(2.2rem, 3.4vw, 3rem); }
.dl-lead { font-weight: 700; font-size: 1.15rem; margin-bottom: 18px; white-space: nowrap; }
.dl-form { max-width: 680px; }
.dl-row { display: flex; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.download .dl-row { flex-wrap: nowrap; }
.dl-form input[type="text"], .dl-form input[type="email"] {
  flex: 1; min-width: 120px;
  padding: 18px 22px; border-radius: 999px;
  border: none; background: var(--white);
  font-family: var(--font-body); font-size: 1.02rem; font-weight: 600;
  outline: none;
}
.dl-form input:focus { box-shadow: 3px 3px 0 rgba(0,0,0,0.25); }

/* Einwilligung: erst angehakt wird der Button aktiv */
.dl-consent {
  display: flex; align-items: flex-start; gap: 10px;
  margin: 4px 0 16px; padding-left: 16px; max-width: 620px;
  font-size: 0.85rem; font-weight: 600; line-height: 1.4; cursor: pointer;
}
/* Kästchen im Look der Eingabefelder: weiß, ohne Rahmen, schwarzer Haken */
.dl-consent input {
  -webkit-appearance: none; appearance: none;
  flex: none; width: 22px; height: 22px; margin: 0;
  border: none; border-radius: 6px; background: var(--white);
  background-position: center; background-repeat: no-repeat; background-size: 14px;
  cursor: pointer; outline: none;
}
.dl-consent input:checked {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M2.5 7.5 5.5 10.5 11.5 3.5' fill='none' stroke='%2316140f' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.dl-form .dl-consent input:focus { box-shadow: none; } /* kein Feld-Schatten am Kästchen */
.dl-consent input:focus-visible { outline: 2px solid var(--black); outline-offset: 2px; } /* nur bei Tastatur */
.dl-consent a { color: inherit; }

.dl-submit { margin-bottom: 12px; padding: 18px 30px; font-size: 0.95rem; }
.dl-submit:disabled { opacity: 0.6; cursor: wait; }
.dl-submit:disabled:not(.is-loading) { cursor: not-allowed; transform: none; }
.dl-submit:active { transform: translate(1px, 1px); box-shadow: none; }
/* Ladezustand: Pfeil weicht, gezeichneter Spinner dreht – gleiche Breite, kein Springen */
.dl-submit.is-loading { opacity: 1; cursor: progress; transform: none; box-shadow: none; }
.dl-icon { display: inline-grid; place-items: center; }
.dl-icon > * { grid-area: 1 / 1; }
.dl-icon .arrow { transition: transform 0.18s ease, opacity 0.18s ease; }
.dl-spinner {
  width: 1.1em; height: 1.1em; opacity: 0; transition: opacity 0.18s ease;
  fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round;
}
.dl-submit.is-loading .arrow { opacity: 0; transform: translateX(10px); }
.dl-submit.is-loading .dl-spinner { opacity: 1; animation: dl-spin 0.75s linear infinite; }
@keyframes dl-spin { to { transform: rotate(360deg); } }
/* Honeypot: für Menschen unsichtbar, für Bots ein normales Feld */
.dl-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.dl-note-text { font-size: 0.8rem; font-weight: 600; opacity: 0.8; }
.dl-note-text a { color: inherit; }
.dl-error { font-weight: 700; color: #a01818; margin-top: 8px; }
.dl-success {
  display: flex; align-items: center; gap: 16px;
  margin-top: 14px; padding: 14px 22px 14px 14px;
  background: var(--white); border-radius: 24px;
  box-shadow: 4px 4px 0 rgba(0,0,0,0.25);
  animation: dl-pop 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.dl-success[hidden] { display: none; }
.dl-success p { font-weight: 600; line-height: 1.35; }
.dl-success strong {
  display: block; margin-bottom: 4px;
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  font-size: 1.45rem; line-height: 1;
}
/* Umschlag zeichnet sich selbst, dann klappt die Lasche zu */
.dl-success-icon {
  flex: none; width: 58px; height: 58px; padding: 11px;
  background: var(--yellow-bright); border-radius: 50%;
  fill: none; stroke: var(--black); stroke-width: 2.6;
  stroke-linecap: round; stroke-linejoin: round;
}
.dl-success-icon path {
  stroke-dasharray: 1; stroke-dashoffset: 1;
  animation: dl-draw 0.6s 0.15s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}
.dl-success-icon .env-flap { animation-delay: 0.6s; }
@keyframes dl-draw { to { stroke-dashoffset: 0; } }
@keyframes dl-pop { from { opacity: 0; transform: translateY(8px); } }
@media (prefers-reduced-motion: reduce) {
  .dl-success, .dl-success-icon path { animation: none; stroke-dashoffset: 0; }
  .dl-submit.is-loading .dl-spinner { animation-duration: 1.6s; }
}
.dl-trust { display: flex; gap: 22px; flex-wrap: wrap; font-size: 0.82rem; font-weight: 700; margin-top: 16px; }

/* Croissant hängt an der Unterkante des .closing-Wrappers und kommt von unten hoch */
.download-visual { width: clamp(200px, 21vw, 310px); }
.download-visual img:not(.ai-label) {
  position: absolute; bottom: 0; z-index: 3;
  right: calc(max((100% - 1280px) / 2, 24px) + 100px);
  width: clamp(200px, 21vw, 310px);
  filter: drop-shadow(0 8px 20px rgba(120, 80, 0, 0.25));
}

/* schwarze Karte rechts */
.next-card {
  background: var(--black); color: var(--white);
  padding: 20px 22px; border-radius: 16px;
  text-decoration: none; transform: rotate(-4deg);
  display: flex; flex-direction: column; gap: 14px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.3);
  transition: transform 0.2s ease;
}
.next-card:hover { transform: rotate(0deg) scale(1.04); }
.next-card span:first-child {
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  font-size: 1.35rem; line-height: 1.05;
}
.next-arrow {
  width: 34px; height: 34px; border-radius: 50%;
  border: 2px solid var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; align-self: flex-end;
}
.next-card:hover .next-arrow { background: var(--yellow-bright); border-color: var(--yellow-bright); color: var(--black); }

/* ============ Footer ============ */
.footer { background: var(--black); color: var(--white); padding: 34px 36px; }
.footer-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; gap: clamp(24px, 5vw, 70px);
}
.footer-claim {
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(1rem, 1.8vw, 1.35rem); line-height: 1.2;
  flex: 1;
}
.footer-meta { display: flex; flex-direction: column; gap: 4px; font-size: 0.85rem; }
.footer-meta a { color: var(--white); opacity: 0.75; text-decoration: none; }
.footer-meta a:hover { opacity: 1; text-decoration: underline; }

/* ============ Reveal-Animationen ============ */
/* nutzt die separate translate-Property, damit transform (Rotationen, Hover) unangetastet bleibt.
   Nur opacity/translate werden animiert – beides läuft auf der GPU, kein Layout-Reflow. */
.reveal { opacity: 0; translate: 0 26px; transition: opacity 0.6s ease, translate 0.7s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.in { opacity: 1; translate: 0 0; }

/* Richtungsvarianten – Elemente kommen von der Seite, zu der sie gehören */
.reveal.rv-left  { translate: -46px 0; }
.reveal.rv-right { translate: 46px 0; }
.reveal.rv-left.in, .reveal.rv-right.in { translate: 0 0; }

/* Gruppen laufen leicht versetzt ein */
.stat-grid .reveal:nth-child(2) { transition-delay: 0.07s; }
.stat-grid .reveal:nth-child(3) { transition-delay: 0.14s; }
.stat-grid .reveal:nth-child(4) { transition-delay: 0.21s; }

/* Elemente mit eigenem Hover-Transform: .reveal würde sonst deren transform-Transition
   überschreiben – der Hover springt dann, statt zu gleiten. */
.btn.reveal {
  transition: opacity 0.6s ease, translate 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.2s ease;
}
@media (min-width: 981px) {   /* mobil gilt die Stapel-Transition der Kacheln */
  .stat-card.reveal {
    transition: opacity 0.6s ease, translate 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  }
  /* Versatz nur fürs Einblenden, nicht für den Hover */
  .stat-grid .reveal:nth-child(2) { transition-delay: 0.07s, 0.07s, 0s; }
  .stat-grid .reveal:nth-child(3) { transition-delay: 0.14s, 0.14s, 0s; }
  .stat-grid .reveal:nth-child(4) { transition-delay: 0.21s, 0.21s, 0s; }
}
.dd-facts.in span { animation: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; translate: none; transition: none; }
  .marquee-track { animation: none; }
}

/* Flache Fenster (kleine MacBooks, Browser mit vielen Leisten):
   Copy weiter straffen, damit der gesamte Hero im Viewport bleibt. */
@media (min-width: 981px) and (max-height: 780px) {
  .hero-copy { padding: 46px 0 18px; }
  .hero h1 { font-size: min(11vw, 15.5vh); margin: 6px 0 10px; }
  .hero-claim { font-size: 0.85rem; line-height: 1.35; margin-bottom: 8px; }
  .hero-sub { font-size: 1rem; line-height: 1.4; margin-bottom: 14px; }
  .hero-cta .btn { padding: 11px 18px; font-size: 0.78rem; }
  .badge { font-size: 0.9rem; }
}

/* ============ Responsive ============ */
@media (max-width: 980px) {
  /* ---------- Ticker: zwei gegenläufige Banderolen ---------- */
  .marquee { padding: 26px 0 22px; }
  .marquee-hint { display: none; }
  .marquee-track { animation-duration: 22s; --mq-gap: 10px; }
  .track-b {
    display: flex; margin-top: 10px;
    animation: marqueeBack 26s linear infinite;
  }
  .kw {
    font-size: 1.35rem; padding: 8px 20px 9px 18px;
    border-radius: 20px;
  }
  .kw::after { display: none; }
  .kw { cursor: pointer; }
  .kw.is-active { background: var(--black); color: var(--yellow-bright); }
  /* Antippen zeigt die Kapitel-Info hier an – ersetzt den Hover vom Desktop.
     Sie steht zentriert unter den Banderolen, Titel inline vor dem Text.
     Fester Kasten für zwei Zeilen, Inhalt oben: der Hinweis klebt am Band. */
  .kw-info {
    display: flex; align-items: flex-start; justify-content: center;
    margin: 14px 18px 0; height: 3em; overflow: hidden;
    text-align: center;
    font-size: 0.88rem; font-weight: 600; line-height: 1.35;
  }
  .kw-info b {
    font-family: var(--font-display); font-weight: 800;
    font-size: 1rem; text-transform: uppercase; letter-spacing: 0.02em;
    margin-right: 0.3em;
  }
  .kw-info.is-empty { opacity: 0.5; font-weight: 500; }

  /* ---------- Faktenkarten: gestapelter Swipe-Stack ----------
     Die vier Karten liegen versetzt übereinander; Wischen schiebt die
     oberste weg und holt die nächste nach vorn. JS setzt --i (Stapeltiefe). */
  .stat-grid {
    display: block; position: relative;
    height: 292px; max-width: 340px;   /* höchste Karte (04, dreizeilig) braucht 287px */
    margin: 0 auto;
  }
  .stat-card {
    position: absolute; inset: 0;
    min-height: 0; padding: 26px 24px;
    cursor: grab;
    z-index: calc(10 - var(--i, 0));
    transform: translateY(calc(var(--i, 0) * 14px))
               scale(calc(1 - var(--i, 0) * 0.05))
               rotate(calc(var(--i, 0) * 1.2deg));
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
    touch-action: pan-y;
    user-select: none; -webkit-user-select: none;   /* Ziehen markiert sonst Text */
    box-shadow: 0 14px 30px rgba(0,0,0,0.18);
  }
  .stat-card:hover { transform: translateY(calc(var(--i, 0) * 14px)) scale(calc(1 - var(--i, 0) * 0.05)) rotate(calc(var(--i, 0) * 1.2deg)); }
  .stat-card:active, .deck-card:active { cursor: grabbing; }
  .stat-card[style*="--i: 3"] { opacity: 0; }
  .stat-card.is-leaving {
    transition: transform 0.35s ease, opacity 0.35s ease;
    transform: translateX(-120%) rotate(-10deg); opacity: 0;
  }
  /* beim Ziehen folgt die Karte direkt dem Zeiger, ohne Verzögerung */
  .stat-card.is-dragging { transition: none; cursor: grabbing; }
  /* Wisch-Hinweis als Handschrift mit Doppelpfeil – wie die anderen Notizen */
  .stats-swipe {
    display: flex; flex-direction: column; align-items: center; gap: 0;
    max-width: 340px; margin: 0 auto 16px; color: var(--black);
  }
  .stats-swipe .hand { font-size: 1.35rem; }
  .stats-swipe .scribble-arrow { width: 92px; height: 28px; margin-top: 2px; }

  /* ---------- Gönnung-Slider ---------- */
  .goennung {
    padding-top: 56px; padding-bottom: 84px;
    /* Reihenfolge mobil: Kicker, Text, Regler, Hände, Link.
       .gw-stage löst sich auf (display: contents), damit Karte und Hände
       einzeln im Raster der Sektion stehen und der Regler dazwischen passt. */
    display: grid; grid-template-columns: 1fr 1fr; column-gap: 8px;
    position: relative;   /* Bezug für den Link ganz unten */
  }
  .goennung-head { order: 1; grid-column: 1 / -1; margin-bottom: 22px; width: 100%; }
  .gw-stage { display: contents; }
  .gw-card { order: 2; }
  .gw-timeline { order: 3; grid-column: 1 / -1; width: 100%; }
  .gw-img { order: 4; align-self: end; margin-top: 18px; }
  /* hier sind die Bilder unten bündig – Label-Höhe daher von unten gemessen */
  .gw-img .ai-label { top: auto; bottom: calc(100cqw * 0.25 - 12px); }
  .gw-hint { display: none; }     /* Hinweis lag über dem Fließtext */

  /* Chip lag über der nach links ausblutenden Kreisbox und wurde angeschnitten */
  .dd-chip-3 { left: 12%; }

  .gw-img img:not(.ai-label) { max-width: 100%; }
  .gw-img.big { transform: scale(1.04); }

  /* feste Höhen je Textzeile: sonst springt der Block beim Reglerwechsel,
     weil die Zustände unterschiedlich viele Zeilen mitbringen */
  .gw-card {
    grid-column: 1 / -1;
    /* Platz für den höchsten Zustand (22 Uhr), wächst mit der Breite mit:
       gemessen 230px @320 · 238px @390 · 244px @430 · 251px ab 500 */
    min-height: clamp(240px, 181px + 15vw, 252px); padding: 4px 4px 0;
    justify-content: flex-start;
  }
  /* kein Reveal-Versatz: sonst wäre die Karte Bezugsrahmen für den Link */
  .goennung .gw-card.reveal { translate: none; }
  /* Mitte ohne Pill: kein leerer Platz unter dem Kicker. Die Karte hat eine feste
     Mindesthöhe für den längsten Zustand, darum springt der Regler trotzdem nicht. */
  .gw-pill.is-blank { display: none; }
  /* Link wandert ans Ende der Sektion, unter die Hände */
  .gw-more {
    position: absolute; left: 50%; bottom: 40px; translate: -50% 0;
    width: max-content; max-width: calc(100% - 32px);
    font-size: 0.8rem;   /* passt so auch bei 320px in eine Zeile */
  }
  /* TEST: Pill steht unter den Stichworten statt über der Headline –
     so sitzt die Headline in allen drei Stellungen gleich */
  .gw-pill {
    font-size: 0.85rem; padding: 5px 14px;
    order: 1; margin: 10px 0 0; min-height: 2.1em;
  }
  .gw-body { order: 2; }
  .gw-quote { font-size: clamp(1.5rem, 7vw, 2.1rem); min-height: 2.2em; }
  .gw-divider { margin: 0 auto 12px; }
  .gw-sub { font-size: clamp(1.1rem, 5vw, 1.4rem); min-height: 2.6em; }
  .gw-tags { min-height: 0; }
  .gw-foot { min-height: 132px; margin-top: 12px; }
  /* Fließtext sitzt in allen drei Stellungen auf derselben Höhe: unten in der
     Karte festgepinnt (margin-top: auto), mit fester Höhe für drei Zeilen */
  .gw-body {
    font-size: 0.92rem; margin-top: auto; margin-bottom: 4px;
    min-height: 3lh; max-width: min(340px, 100% - 56px);   /* nicht bis an den Rand */
  }
  .gw-tags + .gw-body { margin-top: auto; }   /* Basisregel setzt sonst 12px fest */

  /* Regler über die volle Breite, Uhrzeiten darüber an den Endpunkten */
  .gw-timeline {
    display: grid;
    /* 1fr statt auto: sonst richtet sich die Gridbreite nach der Textbreite
       und die Spur bleibt schmal */
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "day night" "track track";
    row-gap: 6px; column-gap: 0;
    margin-top: -4px; padding: 0 20px;   /* Uhrzeit-Buttons bringen eigenes Polster mit */
  }
  #gwTimeDay { grid-area: day; justify-self: start; margin-left: -6px; }
  #gwTimeNight { grid-area: night; justify-self: end; margin-right: -6px; }
  .gw-track { grid-area: track; }
  .gw-time { font-size: 1.15rem; padding: 9px 6px; }

  /* ---------- Kapitel-Karten als Karussell ----------
     Die Nachbarkarten docken links und rechts an und bleiben sichtbar. */
  .chapter-deck {
    display: block; position: relative;
    height: 400px; max-width: 250px;
    margin: 0 auto; padding: 0;
    overflow: visible; touch-action: pan-y;
  }
  .deck-card {
    position: absolute; inset: 0;
    flex: none;
    cursor: grab;
    z-index: calc(5 - abs(var(--o, 0)));
    transform: translateX(calc(var(--o, 0) * 78%))
               scale(calc(1 - abs(var(--o, 0)) * 0.14));
    opacity: 1;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
    box-shadow: 0 14px 30px rgba(0,0,0,0.35);
    user-select: none; -webkit-user-select: none;   /* Ziehen markiert sonst Text */
  }
  .deck-card img:not(.ai-label) { -webkit-user-drag: none; }
  /* Nachbarn treten optisch zurück, die übernächste verschwindet */
  .deck-card[style*="--o: -1"], .deck-card[style*="--o: 1"] { opacity: 0.75; }
  .deck-card[style*="--o: 2"] { opacity: 0; pointer-events: none; }
  .deck-card:hover, .deck-card:focus-visible { flex-grow: 0; }
  .deck-card img:not(.ai-label) { filter: none; }
  .deck-card h3 { white-space: normal; font-size: 1.05rem; }
  .deck-card p { opacity: 0.9; height: auto; font-size: 0.9rem; }
  .deck-body { padding: 20px 18px 22px; }
  .deck-nav { display: none; }

  .chapters-more { margin-top: 30px; }

  /* ---------- Foto-Break füllt 40 % der Screenhöhe ---------- */
  .photobreak { max-height: none; height: 40svh; min-height: 260px; }
  /* Bild ist höher als der Rahmen, damit der Parallax-Versatz keine weiße Kante hinterlässt */
  .photobreak img:not(.ai-label) {
    height: calc(100% + 120px); max-height: none;
    margin: -60px 0; object-fit: cover;
  }

  /* ---------- Whitepaper-Vorschau ----------
     Tablet behält den Fächer vom Desktop, nur ohne Hover-Zoom (ragte über den Rand).
     Phone: siehe Fächer-Stapel weiter unten. */
  .fan img:hover { transform: rotate(var(--r)) translateY(var(--y)); }
  .peek-facts { gap: 14px 24px; margin-top: 52px; font-size: 0.85rem; }

  /* ---------- Download ---------- */
  .dl-lead { white-space: normal; }        /* sprengte sonst die Seitenbreite */
  .dl-row { flex-wrap: wrap; }
  .download .dl-row { flex-wrap: wrap; }
  .dl-submit { width: 100%; justify-content: center; }

  /* Headline über die volle Zeile, Fließtext darunter */
  .stats-head {
    grid-template-columns: 1fr; gap: 14px;
    align-items: start; margin-bottom: 34px;
  }
  .stats-head h2 { font-size: clamp(1.9rem, 6.4vw, 2.8rem); }
  .stats-head p { padding-bottom: 0; }
  .stats-head p br { display: none; }
  /* Mobile: Foto füllt den Screen, Copy liegt darauf */
  .hero { height: 100svh; min-height: 600px; display: block; }
  .hero-inner {
    grid-template-columns: 1fr; height: 100%;
    padding: 0; position: relative;
  }
  .hero-visual { position: absolute; inset: 0; height: 100%; }
  .hero-img {
    position: absolute; inset: 0;
    width: 100%; height: 100%; object-fit: cover; object-position: 62% center;
    -webkit-mask-image: none; mask-image: none;
  }
  /* Verlauf hält die Typo lesbar, ohne das Bild flachzudrücken */
  .hero-visual::after {
    content: ''; position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(to top,
      rgba(12,11,8,0.94) 0%, rgba(12,11,8,0.82) 26%,
      rgba(12,11,8,0.42) 52%, rgba(12,11,8,0.12) 74%, transparent 100%);
  }
  .hero-copy {
    position: absolute; z-index: 2; inset: auto 0 0 0;
    /* Safe-Area: sonst schneidet die Home-Leiste den Button an */
    padding: 0 22px calc(52px + env(safe-area-inset-bottom, 0px));
    max-width: none; margin-left: 0;
    color: var(--white);
  }
  .hero h1 { width: auto; font-size: clamp(3rem, 15vw, 5.6rem); margin: 14px 0 16px; }
  .h1-line { white-space: normal; }
  .h1-line:first-child { color: var(--white); }
  .hero-claim mark { background: var(--white); color: var(--black); }
  .hero-claim { margin-bottom: 28px; }   /* Luft zum Button */
  .hero-sub { display: none; }
  .hero-kicker { color: rgba(255,255,255,0.75); }
  /* Handschrift + Pfeil tiefer, damit der Pfeil neben der Headline landet */
  .hero-top { position: relative; }
  .hero-note {
    position: absolute; bottom: 0; transform: translateY(60px);
    /* dockt rechts an „Gen Z &“ an: Zeile ist ~2,99 × Headline-Schriftgröße breit */
    left: calc(clamp(3rem, 15vw, 5.6rem) * 2.99 + 50px);
    flex-direction: column; gap: 0;   /* Handschrift direkt über dem Pfeil */
  }
  .hero-note { padding-left: 0; }
  .hero-note .hand { position: static; translate: none; }   /* hier im Fluss über dem Pfeil */
  .hero-note .scribble-arrow { margin: 6px 0 0 18px; }
  .hero-cta { width: 100%; flex-wrap: wrap; gap: 14px; }
  .hero-cta .btn { flex: 1 1 100%; justify-content: center; padding: 17px 24px; font-size: 0.92rem; }
  .hero-cta .scribble-note { color: var(--white); margin-bottom: 0; }
  .hand-caps, .hero-cta .hand { text-shadow: none; }
  .topbar .logo { width: 80px; }
  /* Badges auf dem Foto weichen der Copy */
  .circle-badge { top: 74px; bottom: auto; right: 26px; width: 74px; height: 74px; }
  .circle-badge text { fill: var(--black); font-size: 10px; }   /* auf dem hellen Glasdach sonst unsichtbar */
  .circle-badge-dot { width: 32px; height: 32px; font-size: 1rem; }
  /* unten liegt der dunkle Verlauf – Label daher mittig unter den Kreis-Badge */
  .hero-visual .ai-label { bottom: auto; top: 162px; right: 51px; }
  .deepdive-inner { grid-template-columns: 1fr; }
  .dd-facts { margin-bottom: 44px; }   /* Luft zwischen Zahlen und Button */
  .goennung-inner { grid-template-columns: 1fr; gap: 36px; }
  .download-inner { grid-template-columns: 1fr; }
  /* Croissant und Karte stehen nebeneinander, Footer schließt direkt an */
  .download { padding: 56px 22px 0; }
  .download h2 { font-size: 2.4rem; }
  .dl-lead { font-size: 1rem; font-weight: 600; margin-bottom: 18px; }
  .dl-form { max-width: none; }
  .dl-row { margin-bottom: 10px; }
  .dl-form input[type="text"], .dl-form input[type="email"] {
    flex: 1 1 100%; width: 100%;
    padding: 16px 20px; font-size: 1rem;
  }
  .dl-submit {
    width: 100%; justify-content: center;
    padding: 18px 24px; font-size: 0.95rem;
    margin: 4px 0 14px;
  }
  .dl-note-text { font-size: 0.78rem; }
  .dl-trust {
    gap: 8px 20px; margin-top: 14px;
    font-size: 0.8rem;
  }
  .download-inner {
    grid-template-columns: 1fr;
    row-gap: 22px;
  }
  .download h2 { grid-row: 1; }
  .download-copy { grid-row: 2; }
  /* Croissant und Karte teilen sich dieselbe Grid-Zelle – eine zweite
     Spalte würde sonst implizit entstehen und die Formularbreite klauen */
  .download-visual {
    grid-row: 3; grid-column: 1; width: auto; margin: 0;
    display: flex; align-items: flex-end;
  }
  .download-visual img:not(.ai-label) {
    position: static; width: 58%; max-width: 240px; margin: 0 0 -2px;
  }
  /* Label sitzt wie auf Desktop rechts neben der Hand; cqw = Breite dieser Zelle */
  .download-visual { position: relative; container-type: inline-size; }
  .download-visual .ai-label {
    right: auto;
    left: calc(min(240px, 58cqw) * 0.8 - 12px);
    bottom: calc(min(240px, 58cqw) * 0.56 - 2px);
  }
  .next-card {
    grid-row: 3; grid-column: 1;
    justify-self: end; align-self: end;
    margin-bottom: 18px;
  }
  /* .footer-inner ist Flex, kein Grid – Spalten stapeln über flex-direction */
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 26px; }
  /* Links lagen mit 4px Abstand zu dicht für den Daumen */
  .footer-meta { text-align: left; gap: 0; }
  .footer-meta a { padding: 7px 0; }
}
/* Tablet-Hochformat: Stapel wirkt auf der Breite verloren – zwei Spalten */
@media (min-width: 700px) and (max-width: 980px) {
  .stat-grid, .chapter-deck {
    display: grid; grid-template-columns: repeat(2, 1fr);
    gap: 18px; height: auto; max-width: 660px; position: static;
  }
  .stat-card, .deck-card {
    position: relative; inset: auto;
    transform: none !important; box-shadow: 0 12px 26px rgba(0,0,0,0.16);
    opacity: 1 !important;
  }
  .stat-card { min-height: 280px; }
  .deck-card { height: 380px; }
  /* im Raster passiert auf Klick nichts und gezogen wird auch nicht */
  .stat-card, .deck-card { cursor: default; }
  .stats-swipe { display: none; }
  .deck-nav { display: none; }
}

/* Phone: Whitepaper-Vorschau als aufgefächerter Stapel.
   Vorne liegt eine Seite gerade, die beiden anderen schauen schräg links und
   rechts dahinter hervor. Wischen oder Tippen auf eine Nachbarseite holt sie
   nach vorn (JS setzt --o: -1 links, 0 vorn, 1 rechts). */
@media (max-width: 699px) {
  /* Chip „Betriebsanleitung" etwas höher, damit das KI-Label unten mittig frei bleibt */
  .dd-chip-3 { bottom: calc(10% + 30px); }
  .peek { overflow-x: clip; }           /* schräge Ecken dürfen nie quer scrollen */
  .fan {
    display: block; position: relative;
    width: min(300px, 78vw); aspect-ratio: 1000 / 562;
    margin: 0 auto; padding: 0;
    touch-action: pan-y;
  }
  .fan img, .fan img:hover {
    position: absolute; inset: 0;
    width: 100%; height: 100%; min-width: 0; margin: 0;
    border-radius: 8px;
    z-index: calc(5 - abs(var(--o, 0)));
    transform: translateX(calc(var(--o, 0) * 15%))
               translateY(calc(abs(var(--o, 0)) * 12px))
               rotate(calc(var(--o, 0) * 6deg))
               scale(calc(1 - abs(var(--o, 0)) * 0.1));
    transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
    box-shadow: 0 18px 40px rgba(0,0,0,0.22);
    cursor: grab;
    user-select: none; -webkit-user-select: none; -webkit-user-drag: none;
  }
  /* Seiten dahinter treten leicht zurück */
  .fan img[style*="--o: -1"], .fan img[style*="--o: 1"] { filter: brightness(0.92); }
  .peek .section-head { margin-bottom: 30px; }
  .peek-facts { margin-top: 40px; }
}

@media (max-width: 560px) {
  section { padding: 64px 18px; }
  .topbar .btn { display: none; }
  .gw-img img:not(.ai-label) { max-width: 170px; margin: 0 auto; }
  .gw-img .ai-label { bottom: calc(min(100cqw, 170px) * 0.25 - 12px); }
}
