/* ============================================================
   SaltWaveBooks — Design System
   Abgeleitet vom Buchcover „Digitales Mise en Place" (2026):
   Near-Black-Grün, Neon-Grün, Würfel-Motiv, spationierte Caps.
   ============================================================ */

:root {
  --bg: #090e0a;
  --bg-raise: #0e1510;
  --panel: #121a13;
  --panel-2: #172118;
  --line: #22301f;
  --line-soft: #1a2618;
  --neon: #a8e212;
  --neon-bright: #c6f545;
  --neon-dim: #6d9410;
  --ink: #f2f5ee;
  --ink-soft: #c9d3c1;
  --ink-mute: #9fae95;      /* aufgehellt für besseren Kontrast (WCAG AA) */
  --danger: #e2604a;
  --panel-raise: #18221a;   /* leicht höhere Flächen-Ebene für Tiefe */
  --elev: 0 12px 30px rgba(0,0,0,0.45), 0 2px 6px rgba(0,0,0,0.35);
  --elev-hover: 0 20px 44px rgba(0,0,0,0.55), 0 3px 8px rgba(0,0,0,0.4);
  --radius: 6px;
  --font-head: 'Montserrat', 'Helvetica Neue', sans-serif;
  --font-body: 'Inter', 'Helvetica Neue', sans-serif;
  --maxw: 1120px;
  --maxw-narrow: 760px;
}

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

html { scroll-behavior: smooth; overflow-x: clip; }
/* Horizontales Scrollen unterbinden (z. B. 3D-Buchschatten, der über den Rand
   ragt). "clip" statt "hidden", damit position:sticky weiter funktioniert. */
body { overflow-x: clip; max-width: 100%; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
}

/* Sanfte, langsam fließende Wellen im Hintergrund — greift das Logo-Motiv dezent auf */
body::before {
  content: "";
  position: fixed;
  inset: -10% -5% -10% -5%;
  z-index: -1;
  pointer-events: none;
  background-image: url('/img/wave-bg.svg');
  background-repeat: repeat;
  background-size: 340px 102px;
  opacity: 0.035;
  will-change: background-position;
  animation: waveDrift 90s linear infinite;
}

@keyframes waveDrift {
  from { background-position: 0 0; }
  to   { background-position: 340px 0; }   /* eine Kachelbreite → nahtlose Schleife */
}

@media (prefers-reduced-motion: reduce) {
  body::before { animation: none; }
}

::selection { background: var(--neon); color: var(--bg); }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: var(--maxw-narrow); margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; letter-spacing: 0.02em; text-transform: uppercase; }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.2rem); font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 16px; }
h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 10px; }
h4 { font-size: 0.95rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 12px; }

p { margin-bottom: 14px; color: var(--ink-soft); }
a { color: var(--neon); text-decoration: none; }
a:hover { color: var(--neon-bright); }

.accent { color: var(--neon); }
.small { font-size: 0.85rem; color: var(--ink-mute); }
.lead-story { font-size: 1.28rem; line-height: 1.6; color: var(--ink); max-width: 700px; margin: 0 auto 18px; }
.lead-story strong { color: var(--neon); font-weight: 700; }
@media (max-width: 560px) { .lead-story { font-size: 1.12rem; } }
/* Vormerker-Vorteile + Preis */
.vm-perks { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin: 18px auto 0; max-width: 620px; }
.vm-perks li { position: relative; padding-left: 24px; font-size: 0.92rem; color: var(--ink-soft); }
.vm-perks li::before { content: '✓'; position: absolute; left: 0; color: var(--neon); font-weight: 700; }
.book-price { font-family: var(--font-head); font-weight: 700; font-size: 0.95rem; color: var(--neon); margin-top: 12px; }
.text-center { text-align: center; }

.eyebrow {
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--neon);
  margin-bottom: 14px;
}

.divider {
  width: 56px; height: 2px;
  background: var(--neon);
  margin: 18px auto 26px;
  border-radius: 2px;
}
.divider.left { margin-left: 0; }

/* --- Buttons --- */
.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 15px 32px;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all 0.18s ease;
  text-align: center;
}
.btn-primary { background: var(--neon); color: #0a0f0b; }
.btn-primary:hover { background: var(--neon-bright); color: #0a0f0b; box-shadow: 0 0 24px rgba(168, 226, 18, 0.35); }
.btn-secondary { background: transparent; color: var(--neon); border-color: var(--neon); }
.btn-secondary:hover { background: rgba(168, 226, 18, 0.1); color: var(--neon-bright); }
.btn-ghost { background: transparent; color: var(--ink-mute); border-color: var(--line); }
.btn-ghost:hover { color: var(--ink); border-color: var(--ink-mute); }
.btn-group { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }

/* --- Navigation --- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(9, 14, 10, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s;
}
.nav.scrolled { border-bottom-color: var(--line-soft); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 108px; }
.nav-logo {
  font-family: var(--font-head);
  font-weight: 800; font-size: 1.02rem;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink);
}
.nav-logo:hover { color: var(--ink); }
.nav-logo { display: inline-flex; align-items: center; }
.nav-logo-img { display: block; height: 92px; width: auto; }
.footer-logo { margin: 0 0 14px; line-height: 0; }
.footer-logo img { height: 58px; width: auto; display: block; }
@media (max-width: 560px) { .nav-logo-img { height: 68px; } .nav-inner { height: 88px; } .nav-links { top: 88px; } }
.logo-wave { color: var(--neon); }
.nav-links { display: flex; align-items: center; gap: 20px; list-style: none; }
.nav-links a {
  font-family: var(--font-head);
  font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-soft);
  white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active { color: var(--neon); }
.btn-nav { padding: 9px 20px !important; color: #0a0f0b !important; }
.nav-lang { border: 1px solid var(--line); border-radius: 4px; padding: 6px 11px !important; font-size: 0.72rem !important; letter-spacing: 0.12em; }
.nav-lang:hover { border-color: var(--neon); color: var(--neon) !important; }
.nav-toggle { display: none; background: none; border: none; color: var(--ink); font-size: 1.5rem; cursor: pointer; }

/* --- Hero --- */
.hero {
  padding: 150px 0 90px;
  background:
    radial-gradient(ellipse 900px 550px at 72% 30%, rgba(168, 226, 18, 0.07), transparent 65%);
  overflow: hidden;
}
.hero .container { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.hero-kicker {
  font-family: var(--font-head);
  font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.35em; text-transform: uppercase;
  color: var(--ink-mute); margin-bottom: 18px;
}
.hero h1 .thin { display: block; font-weight: 500; font-size: 0.48em; letter-spacing: 0.3em; color: var(--ink-soft); margin-bottom: 8px; }
.hero h1 .glow { color: var(--neon); text-shadow: 0 0 34px rgba(168, 226, 18, 0.45); }
.hero h1 .sub { display: block; font-weight: 500; font-size: 0.42em; letter-spacing: 0.32em; color: var(--ink-soft); margin-top: 10px; }
.hero-tag {
  display: inline-block;
  font-family: var(--font-head); font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--neon);
  border: 1px solid var(--neon-dim);
  border-radius: 100px;
  padding: 6px 18px;
  margin: 22px 0 18px;
}
.hero .subtitle { font-size: 1.16rem; color: var(--ink-soft); max-width: 540px; }
.hero-proof { font-size: 0.88rem; color: var(--ink-mute); letter-spacing: 0.06em; margin-top: 8px; }
.hero-book { text-align: center; position: relative; }

/* --- 3D-Buch (CSS-Mockup) --- */
.book3d {
  --bw: 300px;          /* Cover-Breite */
  --bh: 450px;          /* Cover-Höhe */
  --depth: 34px;        /* Buchdicke */
  display: inline-block;
  perspective: 1600px;
  padding: 10px 30px 34px;
}
.book3d__inner {
  position: relative;
  width: var(--bw);
  height: var(--bh);
  transform-style: preserve-3d;
  transform: rotateY(-26deg) rotateX(4deg);
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.book3d:hover .book3d__inner { transform: rotateY(-14deg) rotateX(2deg); }
.book3d__cover {
  position: relative;
  display: block;
  width: var(--bw);
  height: var(--bh);
  border-radius: 3px 5px 5px 3px;
  box-shadow: 0 0 2px rgba(0,0,0,0.3);
  transform: translateZ(calc(var(--depth) / 2));
  backface-visibility: hidden;
}
/* Buchrücken (linke Seitenfläche) */
.book3d__spine {
  position: absolute;
  top: 0; left: 0;
  width: var(--depth);
  height: var(--bh);
  background: linear-gradient(90deg, #05080a 0%, #0c130d 45%, #182018 100%);
  transform-origin: left center;
  transform: rotateY(-90deg) translateX(calc(var(--depth) / -2));
  border-radius: 3px 0 0 3px;
}
/* Seiten (rechte Blätterkante) */
.book3d__pages {
  position: absolute;
  top: 2px; right: 0;
  width: var(--depth);
  height: calc(var(--bh) - 4px);
  background:
    repeating-linear-gradient(90deg, #e8e6dc 0, #e8e6dc 1px, #cfccbe 1px, #cfccbe 2px);
  transform-origin: right center;
  transform: rotateY(90deg) translateX(calc(var(--depth) / 2));
}
/* Bodenschatten */
.book3d__inner::after {
  content: '';
  position: absolute;
  left: -6%; right: -14%;
  bottom: -34px;
  height: 42px;
  background: radial-gradient(ellipse at center, rgba(0,0,0,0.6), transparent 72%);
  transform: rotateX(90deg) translateZ(-30px);
  filter: blur(4px);
  z-index: -1;
}
.book3d--sm { --bw: 210px; --bh: 315px; --depth: 26px; }

/* --- Sections --- */
.section { padding: 104px 0; }
.section-alt { background: var(--bg-raise); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }

/* --- Cards / Grids --- */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; text-align: left; }
.feature-card {
  background: linear-gradient(180deg, var(--panel-raise), var(--panel));
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--elev);
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.feature-card:hover { border-color: var(--neon-dim); transform: translateY(-4px); box-shadow: var(--elev-hover); }
.feature-num {
  font-family: var(--font-head); font-weight: 800; font-size: 0.8rem;
  color: var(--neon); letter-spacing: 0.2em; margin-bottom: 14px;
}
.feature-card h3 { color: var(--ink); }
.feature-card p { margin-bottom: 0; font-size: 0.95rem; }

.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; }
.stat-item { padding: 28px 18px; border: 1px solid var(--line-soft); border-radius: var(--radius); background: linear-gradient(180deg, var(--panel-raise), var(--panel)); box-shadow: var(--elev); }
.stat-number {
  font-family: var(--font-head); font-size: 2.1rem; font-weight: 800;
  color: var(--neon); letter-spacing: 0.02em;
}
.stat-label { font-size: 0.88rem; color: var(--ink-mute); margin: 8px 0 0; }

/* --- Quote --- */
.quote-text {
  font-family: var(--font-head);
  font-size: clamp(1.25rem, 2.6vw, 1.7rem);
  font-weight: 600; line-height: 1.45;
  color: var(--ink);
}
.quote-author { color: var(--neon); font-size: 0.9rem; letter-spacing: 0.15em; text-transform: uppercase; margin-top: 16px; }

/* --- Buchdetails / TOC --- */
.book-details { display: grid; grid-template-columns: 320px 1fr; gap: 56px; align-items: start; }
/* Cover + Meta bleiben beim Scrollen der langen Kapitel-Liste im Blick
   (nutzt den sonst leeren Weißraum links sinnvoll). */
.book-cover { position: sticky; top: 124px; align-self: start; }
.book-cover img { width: 100%; border-radius: 4px; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55); }
.book-meta { margin-top: 20px; text-align: center; }
.book-toc { list-style: none; margin-top: 22px; }
.book-toc li {
  padding: 9px 0 9px 16px;
  border-left: 2px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.94rem;
  transition: border-color 0.15s, color 0.15s;
}
.book-toc li:hover { border-left-color: var(--neon); color: var(--ink); }
.book-toc li.teil {
  font-family: var(--font-head);
  font-weight: 700; font-size: 0.78rem;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--neon);
  border-left-color: var(--neon);
  margin-top: 20px;
}

/* Immer sichtbare Teile-Übersicht + aufklappbares Voll-Inhaltsverzeichnis */
.toc-parts { list-style: none; margin: 20px 0 4px; display: grid; gap: 10px; }
.toc-parts li {
  padding: 10px 0 10px 16px; border-left: 2px solid var(--neon-dim);
  color: var(--ink-soft); font-size: 0.98rem;
}
.toc-parts li span {
  display: inline-block; min-width: 62px;
  font-family: var(--font-head); font-weight: 700; font-size: 0.72rem;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--neon);
}
.toc-details { margin-top: 18px; }
.toc-details summary {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  font-family: var(--font-head); font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--neon);
  list-style: none; user-select: none;
}
.toc-details summary::-webkit-details-marker { display: none; }
.toc-details summary::before {
  content: '▸'; transition: transform 0.18s; font-size: 0.9em;
}
.toc-details[open] summary::before { transform: rotate(90deg); }
.toc-details summary:hover { color: var(--neon-bright); }
.toc-details .book-toc { margin-top: 14px; }

/* --- Value Stack (Hormozi) --- */
.stack { max-width: 680px; margin: 44px auto 0; text-align: left; }
.stack-item {
  display: flex; gap: 18px; align-items: flex-start;
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 12px;
}
.stack-check {
  flex-shrink: 0;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: rgba(168, 226, 18, 0.12);
  border: 1.5px solid var(--neon);
  color: var(--neon);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.85rem;
  margin-top: 2px;
}
.stack-item h3 { font-size: 1rem; color: var(--ink); margin-bottom: 4px; }
.stack-item p { margin: 0; font-size: 0.9rem; color: var(--ink-mute); }
.stack-item .free { color: var(--neon); font-family: var(--font-head); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; }

/* --- Checks --- */
.check-hero {
  padding: 140px 0 70px;
  background:
    radial-gradient(ellipse 700px 400px at 50% 0%, rgba(168, 226, 18, 0.08), transparent 65%),
    var(--bg);
  text-align: center;
}
.check-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-top: 40px; }
.check-card {
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 18px 10px 16px;
  text-align: center;
  transition: border-color 0.18s, transform 0.18s, background 0.18s;
  position: relative;
}
.check-card:hover { border-color: var(--neon); transform: translateY(-3px); }
.check-card .chapter-num {
  font-family: var(--font-head); font-weight: 800; font-size: 1.5rem;
  color: var(--neon);
}
.check-card .chapter-title { font-size: 0.78rem; color: var(--ink-soft); margin-top: 4px; line-height: 1.35; }
.check-card.completed { background: rgba(168, 226, 18, 0.07); border-color: var(--neon-dim); }
.check-card.completed::after {
  content: '✓';
  position: absolute; top: 7px; right: 9px;
  color: var(--neon); font-weight: 700; font-size: 0.8rem;
}

/* ============================================================
   Check-Board (Seite /checks) — gruppiert, mit Icons & Fortschritt
   ============================================================ */
.check-board { max-width: 1080px; margin: 0 auto; }

/* Fortschritts-Kopf (per JS eingeblendet, wenn Ergebnisse existieren) */
.check-progress {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 16px 20px; margin-bottom: 40px;
}
.cp-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 10px; }
.cp-stat { font-size: 0.95rem; color: var(--ink-soft); }
.cp-stat b { font-family: var(--font-head); font-size: 1.15rem; color: var(--neon); font-weight: 800; }
.cp-lbl { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-mute); }
.cp-right { text-align: right; }
.cp-track { height: 6px; background: var(--line-soft); border-radius: 6px; overflow: hidden; }
.cp-fill { height: 100%; width: 0%; background: linear-gradient(90deg, var(--neon-dim), var(--neon)); border-radius: 6px; transition: width 0.5s ease; }

/* Gruppen (Buchteile) */
.check-group { margin-bottom: 34px; }
.cg-title {
  font-family: var(--font-head); font-size: 0.82rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--neon);
  margin: 0 0 14px; padding-bottom: 10px; border-bottom: 1px solid var(--line);
}

.cb-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }

.cb-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--panel); border: 1px solid var(--line-soft);
  border-radius: 14px; padding: 20px 18px 18px;
  min-height: 128px; overflow: hidden;
  transition: border-color 0.18s, transform 0.18s, background 0.18s, box-shadow 0.18s;
}
.cb-card:hover {
  border-color: var(--neon); transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.4), 0 0 0 1px rgba(168,226,18,0.25);
}
.cc-badge {
  position: absolute; top: 14px; right: 14px;
  font-family: var(--font-head); font-size: 0.64rem; font-weight: 700;
  letter-spacing: 0.14em; color: var(--ink-mute);
}
.cc-icon {
  width: 46px; height: 46px; border-radius: 12px; margin-bottom: 12px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(168, 226, 18, 0.10); border: 1px solid rgba(168, 226, 18, 0.22);
  color: var(--neon); flex: 0 0 auto;
}
.cc-icon svg { width: 24px; height: 24px; }
.cc-title {
  font-family: var(--font-head); font-weight: 700; font-size: 1.02rem;
  color: var(--ink); line-height: 1.25; letter-spacing: -0.01em;
}
.cc-meta { margin-top: 6px; font-size: 0.8rem; color: var(--ink-mute); }
.cc-score { display: none; color: var(--neon); font-weight: 600; }
.cc-cta {
  margin-top: 12px; font-family: var(--font-head); font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.02em; color: var(--neon-dim);
  opacity: 0; transform: translateY(4px);
  transition: opacity 0.18s, transform 0.18s, color 0.18s;
}
.cb-card:hover .cc-cta { opacity: 1; transform: none; color: var(--neon); }
.cc-check {
  position: absolute; top: 14px; right: 14px;
  color: var(--neon); font-weight: 700; font-size: 0.9rem; display: none;
}
/* Erledigter Check */
.cb-card.completed { background: rgba(168, 226, 18, 0.06); border-color: var(--neon-dim); }
.cb-card.completed .cc-badge { display: none; }
.cb-card.completed .cc-check { display: block; }
.cb-card.completed .cc-meta-default { display: none; }
.cb-card.completed .cc-score { display: inline; }

.check-outro { text-align: center; margin-top: 20px; }
.check-outro .btn { margin-top: 6px; }

/* Kompakte Variante (Startseiten-Teaser): flache Mini-Karten */
.check-board.compact { text-align: left; }
.cb-grid.compact { grid-template-columns: repeat(3, 1fr); gap: 12px; }
.cb-card.mini {
  flex-direction: row; align-items: center; gap: 12px;
  min-height: 0; padding: 12px 15px; text-align: left;
}
.cb-card.mini .cc-icon { width: 40px; height: 40px; margin: 0; border-radius: 10px; }
.cb-card.mini .cc-icon svg { width: 21px; height: 21px; }
.cb-card.mini .mini-text { display: flex; flex-direction: column; min-width: 0; }
.cb-card.mini .cc-title { font-size: 0.92rem; }
.cb-card.mini .mini-kap { font-size: 0.7rem; color: var(--ink-mute); letter-spacing: 0.05em; margin-top: 1px; }
.cb-card.mini .cc-check { top: 50%; margin-top: -0.5em; right: 13px; }

@media (max-width: 900px) {
  .cb-grid { grid-template-columns: repeat(2, 1fr); }
  .cb-grid.compact { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .cb-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .cb-card { min-height: 0; padding: 14px 12px; border-radius: 12px; }
  .cc-icon { width: 38px; height: 38px; margin-bottom: 9px; }
  .cc-icon svg { width: 20px; height: 20px; }
  .cc-title { font-size: 0.9rem; }
  .cc-cta { opacity: 1; transform: none; } /* Touch: CTA immer sichtbar */
  .cb-grid.compact { grid-template-columns: 1fr; }
  .cb-card.mini { padding: 12px 14px; }
}

/* --- Quiz --- */
.quiz-container { max-width: 680px; margin: 0 auto; padding: 0 24px; }
.quiz-progress {
  position: sticky; top: 108px; z-index: 10;
  background: var(--bg);
  padding: 14px 0 10px;
  margin-bottom: 18px;
}
.quiz-progress-bar { height: 4px; background: var(--line-soft); border-radius: 4px; overflow: hidden; }
.quiz-progress-fill { height: 100%; width: 0%; background: var(--neon); border-radius: 4px; transition: width 0.3s ease; }
.quiz-progress-label { font-size: 0.78rem; color: var(--ink-mute); margin-top: 6px; letter-spacing: 0.08em; }
.quiz-question {
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 26px 28px;
  margin-bottom: 18px;
}
.quiz-question h3 { color: var(--ink); font-size: 1.02rem; margin-bottom: 16px; }
.quiz-option {
  position: relative;
  display: block;
  padding: 13px 18px 13px 48px;
  margin-bottom: 9px;
  background: var(--bg-raise);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink-soft);
  font-size: 0.94rem;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, transform 0.12s;
}
/* Sichtbarer Auswahl-Indikator (Radio-Punkt) links */
.quiz-option::before {
  content: "";
  position: absolute;
  left: 18px; top: 50%;
  width: 18px; height: 18px;
  margin-top: -9px;
  border: 2px solid rgba(159, 174, 149, 0.5);
  border-radius: 50%;
  transition: border-color 0.15s, background 0.15s;
}
.quiz-option:hover {
  border-color: var(--neon-dim);
  background: rgba(168, 226, 18, 0.045);
}
.quiz-option:hover::before { border-color: var(--neon-dim); }
/* Tastatur-Fokus sichtbar machen */
.quiz-option:focus-within {
  border-color: var(--neon);
  box-shadow: 0 0 0 2px rgba(168, 226, 18, 0.25);
}
.quiz-option.selected {
  border-color: var(--neon);
  background: rgba(168, 226, 18, 0.09);
  color: var(--ink);
}
.quiz-option.selected::before {
  border-color: var(--neon);
  background: radial-gradient(circle, var(--neon) 46%, transparent 50%);
}
/* Radio bleibt fokussierbar (Tastatur), aber visuell versteckt */
.quiz-option input {
  position: absolute;
  opacity: 0;
  width: 1px; height: 1px;
  margin: 0;
}

/* --- Result --- */
.result-card {
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 34px 32px;
  margin-bottom: 18px;
  text-align: center;
}
/* Hervorgehobene Variante (z. B. Launch-Team): hebt sich klar vom
   normalen Vormerk-Formular ab, damit es nicht wie ein zweites gleiches Feld wirkt. */
.result-card--accent {
  position: relative;
  border-color: var(--neon-dim);
  background: linear-gradient(180deg, rgba(168, 226, 18, 0.06), var(--panel) 60%);
  box-shadow: 0 0 0 1px rgba(168, 226, 18, 0.18), 0 18px 40px rgba(0, 0, 0, 0.4);
}
.offer-badge {
  display: inline-block;
  margin-bottom: 18px;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(168, 226, 18, 0.12);
  border: 1px solid var(--neon-dim);
  color: var(--neon);
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.result-label { font-family: var(--font-head); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.3em; text-transform: uppercase; color: var(--ink-mute); }
.result-score {
  font-family: var(--font-head); font-size: 4rem; font-weight: 800;
  color: var(--neon);
  text-shadow: 0 0 40px rgba(168, 226, 18, 0.35);
  line-height: 1.1;
}
.result-bar { height: 8px; background: var(--line-soft); border-radius: 6px; margin: 24px 0 10px; overflow: hidden; }
.result-bar-fill { height: 100%; width: 0%; background: linear-gradient(90deg, var(--neon-dim), var(--neon)); border-radius: 6px; transition: width 1s ease; }
.result-comparison { display: flex; justify-content: space-between; font-size: 0.75rem; color: var(--ink-mute); }
.result-title { color: var(--neon); font-size: 1.25rem; margin-bottom: 10px; }

/* --- Formulare --- */
.form-field { margin-bottom: 16px; text-align: left; }
.form-field label { display: block; font-size: 0.82rem; color: var(--ink-mute); margin-bottom: 6px; letter-spacing: 0.04em; }
.form-field input, .form-field select {
  width: 100%;
  padding: 13px 16px;
  background: var(--bg-raise);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  font-size: 0.97rem;
  font-family: var(--font-body);
}
.form-field input:focus, .form-field select:focus { outline: none; border-color: var(--neon); }
.form-consent { font-size: 0.8rem; color: var(--ink-mute); text-align: left; cursor: pointer; display: block; margin-bottom: 18px; }
.form-consent input { margin-right: 8px; accent-color: var(--neon); }
.form-error { color: var(--danger); font-size: 0.85rem; margin-top: 10px; min-height: 1.2em; }
.form-note { font-size: 0.78rem; color: var(--ink-mute); margin-top: 12px; }

/* --- Werkzeugkasten --- */
.tools-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 36px; }
.tool-card {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 20px 22px;
  transition: border-color 0.18s;
}
.tool-card:hover { border-color: var(--neon-dim); }
.tool-chapter {
  flex-shrink: 0;
  font-family: var(--font-head); font-weight: 800; font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--neon);
  border: 1px solid var(--neon-dim);
  border-radius: 4px;
  padding: 4px 8px;
  margin-top: 2px;
  white-space: nowrap;
}
.tool-card h3 { font-size: 0.98rem; color: var(--ink); margin-bottom: 4px; }
.tool-card p { margin: 0; font-size: 0.86rem; color: var(--ink-mute); }
.tool-status { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-mute); margin-top: 8px; display: inline-block; }
.tool-status.ready { color: var(--neon); }
.locked-overlay { position: relative; }
.locked-overlay.locked::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent, var(--bg) 88%);
  pointer-events: none;
}

/* --- Profil --- */
.profile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; margin-top: 36px; }
.radar-wrap { background: var(--panel); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 28px; text-align: center; }
.radar-legend { display: flex; justify-content: center; gap: 22px; margin-top: 14px; font-size: 0.8rem; color: var(--ink-mute); }
.radar-legend .dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; vertical-align: middle; }
.axis-table { width: 100%; border-collapse: collapse; }
.axis-table th, .axis-table td { text-align: left; padding: 11px 8px; border-bottom: 1px solid var(--line-soft); font-size: 0.9rem; }
.axis-table th { font-family: var(--font-head); font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--ink-mute); font-weight: 600; }
.axis-table td { color: var(--ink-soft); }
.axis-table td.num { color: var(--neon); font-weight: 600; font-variant-numeric: tabular-nums; }
.progress-list { list-style: none; margin-top: 10px; }
.progress-list li { display: flex; justify-content: space-between; align-items: center; padding: 10px 4px; border-bottom: 1px solid var(--line-soft); font-size: 0.92rem; }

/* --- Legal / Prosa --- */
.prose h3 { margin-top: 32px; color: var(--ink); }
.prose ul { margin: 0 0 16px 22px; color: var(--ink-soft); }
.prose li { margin-bottom: 6px; }
.prose code { background: var(--panel); border: 1px solid var(--line-soft); border-radius: 4px; padding: 2px 7px; font-size: 0.85em; color: var(--neon); }

/* --- Autor --- */
.author-section { display: grid; grid-template-columns: 200px 1fr; gap: 44px; align-items: center; }
.author-photo {
  width: 200px; height: 200px;
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-size: 3rem; font-weight: 800;
  color: var(--neon);
}

/* --- Bestellen --- */
.order-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; }
.order-card {
  background: linear-gradient(180deg, var(--panel-raise), var(--panel));
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 32px 26px;
  text-align: center;
  box-shadow: var(--elev);
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.order-card:hover { transform: translateY(-4px); box-shadow: var(--elev-hover); }
.order-card.featured { border-color: var(--neon-dim); box-shadow: var(--elev), 0 0 40px rgba(168, 226, 18, 0.1); }
.order-card h3 { color: var(--ink); }

/* --- Footer --- */
.footer { background: var(--bg-raise); border-top: 1px solid var(--line-soft); padding: 56px 0 28px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer h4 { color: var(--ink); }
.footer p { font-size: 0.9rem; color: var(--ink-mute); margin-bottom: 8px; }
.footer a { color: var(--ink-mute); }
.footer a:hover { color: var(--neon); }
.footer-claim { color: var(--neon) !important; font-family: var(--font-head); font-size: 0.78rem !important; letter-spacing: 0.2em; text-transform: uppercase; margin-top: 14px !important; }
.footer-bottom { border-top: 1px solid var(--line-soft); margin-top: 40px; padding-top: 22px; text-align: center; }
.footer-bottom p { font-size: 0.8rem; color: var(--ink-mute); margin: 0; }

/* --- Scroll-Reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(20px) scale(0.985);
  transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.2, 0.7, 0.2, 1);
  will-change: opacity, transform;
}
.reveal.revealed { opacity: 1; transform: none; }

/* --- Bewegung / Animationen --- */
@keyframes swb-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-14px); }
}
@keyframes swb-breathe {
  0%, 100% { opacity: 0.55; transform: scale(0.94); }
  50%      { opacity: 1;    transform: scale(1.06); }
}
@keyframes swb-neon {
  0%, 100% { text-shadow: 0 0 30px rgba(168, 226, 18, 0.40); }
  50%      { text-shadow: 0 0 52px rgba(168, 226, 18, 0.80); }
}
@keyframes swb-aurora {
  0%   { transform: translate(0, 0) scale(1);      opacity: 0.7; }
  100% { transform: translate(-4%, 3%) scale(1.15); opacity: 1; }
}
@keyframes swb-cta {
  0%, 100% { filter: drop-shadow(0 0 0 rgba(168, 226, 18, 0)); }
  50%      { filter: drop-shadow(0 0 11px rgba(168, 226, 18, 0.6)); }
}

/* Hero-Aurora (langsam driftender Glow hinter dem Inhalt) */
.hero::before {
  content: '';
  position: absolute; inset: 0;
  pointer-events: none; z-index: 0;
  background: radial-gradient(ellipse 720px 520px at 70% 26%, rgba(168, 226, 18, 0.10), transparent 62%);
  animation: swb-aurora 13s ease-in-out infinite alternate;
}
.hero .container { position: relative; z-index: 1; }

/* Schwebendes 3D-Buch + atmender Glow dahinter */
.hero .book3d { animation: swb-float 6.5s ease-in-out infinite; position: relative; z-index: 1; }
.hero-book::before {
  content: '';
  position: absolute; inset: 8% 6%;
  z-index: 0; pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(168, 226, 18, 0.20), transparent 66%);
  filter: blur(34px);
  animation: swb-breathe 5.5s ease-in-out infinite;
}

/* Pulsierender Neon-Titel */
.hero h1 .glow { animation: swb-neon 3.6s ease-in-out infinite; }

/* Atmender Haupt-CTA */
.hero .btn-primary { animation: swb-cta 3.2s ease-in-out infinite; }

/* Animierter Nav-Unterstrich */
.nav-links a:not(.btn-nav):not(.nav-lang) { position: relative; }
.nav-links a:not(.btn-nav):not(.nav-lang)::after {
  content: '';
  position: absolute; left: 0; right: 100%; bottom: -5px;
  height: 2px; background: var(--neon);
  transition: right 0.28s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.nav-links a:not(.btn-nav):not(.nav-lang):hover::after,
.nav-links a:not(.btn-nav):not(.nav-lang).active::after { right: 0; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero::before, .hero .book3d, .hero-book::before,
  .hero h1 .glow, .hero .btn-primary { animation: none; }
}

/* --- Responsive --- */
@media (max-width: 920px) {
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero .subtitle { margin: 0 auto; }
  .btn-group { justify-content: center; }
  /* Titel/Text zuerst, Cover darunter (nicht mehr order:-1) */
  .hero-book { margin-top: 8px; }
  .hero-book img { max-width: 240px; }
  .book3d { --bw: 220px; --bh: 330px; --depth: 26px; padding: 6px 20px 30px; }
  .book3d__inner { transform: rotateY(-20deg) rotateX(3deg); }
  .features-grid, .stats-grid, .order-grid { grid-template-columns: 1fr; }
  .book-details { grid-template-columns: 1fr; }
  .book-cover { max-width: 260px; margin: 0 auto; position: static; }
  .check-grid { grid-template-columns: repeat(3, 1fr); }
  .tools-grid { grid-template-columns: 1fr; }
  .profile-grid { grid-template-columns: 1fr; }
  .author-section { grid-template-columns: 1fr; text-align: center; }
  .author-photo { margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr; }

  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute; top: 108px; left: 0; right: 0;
    background: var(--bg-raise);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    padding: 20px 24px;
    gap: 18px;
  }
  .nav-links.open { display: flex; }
}

@media (max-width: 540px) {
  .check-grid { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 64px 0; }
}

/* ============================================================
   Kontakt-Widget (Chat-Style)
   ============================================================ */
.cw { position: fixed; right: 20px; bottom: 20px; z-index: 900; font-family: var(--font-body); }
.cw-fab {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--neon); color: #0a0f08; border: none; cursor: pointer;
  padding: 12px 18px; border-radius: 999px; font-weight: 700; font-size: .95rem;
  font-family: var(--font-head); letter-spacing: .01em;
  box-shadow: 0 10px 26px rgba(0,0,0,.45), 0 0 0 1px rgba(168,226,18,.35);
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}
.cw-fab:hover { background: var(--neon-bright); transform: translateY(-2px); box-shadow: 0 16px 34px rgba(0,0,0,.5), 0 0 0 1px rgba(198,245,69,.5); }
.cw-fab-ico { flex: 0 0 auto; }
.cw-is-open .cw-fab { opacity: 0; pointer-events: none; }

.cw-panel {
  position: absolute; right: 0; bottom: 0; width: 360px; max-width: calc(100vw - 40px);
  background: var(--panel); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--elev-hover); overflow: hidden;
  display: flex; flex-direction: column;
  transform-origin: bottom right;
  animation: cw-pop .18s ease;
}
.cw-panel[hidden], .cw-body[hidden], .cw-done[hidden] { display: none; }
@keyframes cw-pop { from { opacity: 0; transform: translateY(10px) scale(.97); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .cw-panel { animation: none; } .cw-fab { transition: none; } }

.cw-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px; background: linear-gradient(135deg, var(--panel-2), var(--panel));
  border-bottom: 1px solid var(--line);
}
.cw-title { margin: 0; font-family: var(--font-head); font-weight: 700; font-size: 1rem; color: var(--ink); }
.cw-close { background: none; border: none; color: var(--ink-mute); font-size: 1.5rem; line-height: 1; cursor: pointer; padding: 0 4px; }
.cw-close:hover { color: var(--ink); }

.cw-body { padding: 16px; }
.cw-intro { margin: 0 0 14px; color: var(--ink-soft); font-size: .9rem; line-height: 1.5; }
.cw-field { margin-bottom: 11px; }
.cw-field label { display: block; font-size: .8rem; color: var(--ink-mute); margin-bottom: 5px; }
.cw-field input, .cw-field textarea {
  width: 100%; box-sizing: border-box; background: var(--bg-raise);
  border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink);
  padding: 10px 12px; font-size: .92rem; font-family: var(--font-body); resize: vertical;
}
.cw-field input:focus, .cw-field textarea:focus { outline: none; border-color: var(--neon-dim); box-shadow: 0 0 0 2px rgba(168,226,18,.18); }
.cw-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
/* Honeypot für Anmeldeformulare: für Menschen unsichtbar, Bots füllen es aus. */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cw-consent { display: flex; gap: 8px; align-items: flex-start; font-size: .8rem; color: var(--ink-mute); margin: 4px 0 14px; line-height: 1.45; }
.cw-consent input { margin-top: 2px; flex: 0 0 auto; }
.cw-consent a { color: var(--neon); }
.cw-send { width: 100%; }
.cw-send:disabled { opacity: .65; cursor: default; }
.cw-error { color: var(--danger); font-size: .82rem; margin: 10px 0 0; min-height: 1em; }

.cw-done { padding: 30px 22px 34px; text-align: center; }
.cw-done-check {
  width: 48px; height: 48px; margin: 0 auto 12px; border-radius: 50%;
  background: rgba(168,226,18,.14); color: var(--neon);
  display: flex; align-items: center; justify-content: center; font-size: 1.5rem; font-weight: 700;
}
.cw-done-title { margin: 0 0 6px; font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: 1.05rem; }
.cw-done-text { margin: 0; color: var(--ink-soft); font-size: .9rem; line-height: 1.5; }

@media (max-width: 480px) {
  .cw { right: 14px; bottom: 14px; }
  .cw-panel { width: calc(100vw - 28px); }
}

/* ============================================================
   FAQ-Accordion
   ============================================================ */
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 10px; background: var(--panel); overflow: hidden; }
.faq-item summary {
  cursor: pointer; padding: 16px 18px; font-family: var(--font-head); font-weight: 600;
  color: var(--ink); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 14px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; color: var(--neon); font-size: 1.4rem; line-height: 1; flex: 0 0 auto; transition: transform .15s ease; }
.faq-item[open] summary::after { content: '–'; }
.faq-item summary:hover { color: var(--neon-bright); }
.faq-item > p { padding: 0 18px 16px; color: var(--ink-soft); margin: 0; line-height: 1.6; }

/* Footer-Social-Icons */
.footer-social { display: flex; gap: 12px; margin-top: 18px; }
.footer-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 8px;
  color: var(--ink-soft); transition: color .16s ease, border-color .16s ease, transform .16s ease;
}
.footer-social a:hover { color: var(--neon); border-color: var(--neon-dim); transform: translateY(-2px); }

/* Autor: FoodNotify-Credential + Transparenz */
.author-credential { display: flex; align-items: center; gap: 10px; margin: 20px 0 8px; font-size: 0.82rem; color: var(--ink-mute); font-family: var(--font-head); letter-spacing: 0.04em; text-transform: uppercase; }
.fn-wordmark {
  font-family: var(--font-head); font-weight: 700; letter-spacing: 0.01em; text-transform: none;
  color: var(--ink-soft); border: 1px solid var(--line); border-radius: 6px; padding: 6px 13px; font-size: 0.95rem;
  transition: color .16s ease, border-color .16s ease;
}
.fn-wordmark:hover { color: var(--neon); border-color: var(--neon-dim); }
.author-transparency { font-style: italic; margin-top: 6px; max-width: 560px; }
