/* ============================================================
   Tom Droste — Gesundheit & Longevity
   Liquid Glass v2 design system, Vital Green content mode
   + Bone Cream/Rust Orange CTA mode
   ============================================================ */

:root {
  --cloud-white: #F6F6F4;
  --cloud-white-soft: #FBFBFA;
  --graphite: #1D1D1F;
  --graphite-dim: rgba(29, 29, 31, 0.66);
  --graphite-faint: rgba(29, 29, 31, 0.42);
  --space-black: #0A0B10;

  --vital-green: #16A34A;
  --vital-green-bright: #17B852;
  --vital-green-glow: rgba(22, 163, 74, 0.25);

  --bone-cream: #F2ECDF;
  --rust-orange: #C2592E;
  --gradient-gold: #E3A84F;
  --off-black: #241407;

  --glass-bg: rgba(29, 29, 31, 0.04);
  --glass-border: rgba(29, 29, 31, 0.09);
  --glass-border-top: rgba(255, 255, 255, 0.7);

  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", system-ui, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "Cascadia Code", "Roboto Mono", monospace;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  --container: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  background: var(--cloud-white);
  color: var(--graphite);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}

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

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

@media (min-width: 768px) {
  .wrap { padding: 0 40px; }
}

/* ---------- Mesh blobs ---------- */

.mesh-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
  will-change: transform;
}

.mesh-blob.green {
  background: radial-gradient(circle at 30% 30%, var(--vital-green-bright), var(--vital-green) 55%, transparent 75%);
}

.mesh-blob.drift { animation: drift 24s ease-in-out infinite; }
.mesh-blob.drift-slow { animation: drift 36s ease-in-out infinite reverse; }

@keyframes drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(4%, 5%) scale(1.06); }
  66% { transform: translate(-3%, -4%) scale(0.96); }
}

/* ---------- Glass ---------- */

.glass {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--glass-border);
  border-top-color: var(--glass-border-top);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-radius: 24px;
  box-shadow: 0 8px 30px rgba(29, 29, 31, 0.05);
}

/* ---------- Nav ---------- */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 18px 0;
  background: rgba(246, 246, 244, 0.78);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1px solid rgba(29, 29, 31, 0.07);
}

.site-nav .wrap { display: flex; align-items: center; justify-content: space-between; }

.nav-mark {
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: -0.01em;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.nav-mark .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--vital-green);
  display: inline-block;
  box-shadow: 0 0 10px var(--vital-green-glow);
}

.nav-links { display: none; gap: 30px; font-size: 0.92rem; color: var(--graphite-dim); }
.nav-links a { transition: color 0.2s var(--ease-out); }
.nav-links a:hover, .nav-links a.active { color: var(--graphite); }

@media (min-width: 860px) { .nav-links { display: flex; align-items: center; } }

.nav-cta { display: none; }
@media (min-width: 860px) {
  .nav-cta {
    display: inline-flex; align-items: center;
    padding: 10px 20px; border-radius: 999px;
    background: var(--vital-green); color: #fff;
    font-size: 0.88rem; font-weight: 600;
    transition: transform 0.2s var(--ease-spring), box-shadow 0.2s var(--ease-out);
  }
  .nav-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 22px var(--vital-green-glow); }
}

.nav-toggle {
  display: inline-flex; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 6px;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--graphite); border-radius: 2px; }
@media (min-width: 860px) { .nav-toggle { display: none; } }

.mobile-menu { display: none; flex-direction: column; gap: 4px; padding: 8px 24px 20px; }
.mobile-menu.open { display: flex; }
.mobile-menu a { padding: 12px 4px; font-size: 1.1rem; border-bottom: 1px solid rgba(29,29,31,0.08); color: var(--graphite-dim); }
@media (min-width: 860px) { .mobile-menu { display: none !important; } }

/* ---------- Typography ---------- */

.tag-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 16px; border-radius: 999px;
  font-size: 0.82rem; font-weight: 600; color: var(--vital-green);
}

h1, h2, h3 { font-weight: 800; letter-spacing: -0.03em; line-height: 1.08; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); letter-spacing: -0.025em; }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); letter-spacing: -0.015em; }
p { color: var(--graphite-dim); }

.eyebrow {
  font-family: var(--font-mono); font-size: 0.76rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--vital-green); margin-bottom: 14px; display: block;
}

.mono-num { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 30px; border-radius: 999px; font-weight: 700; font-size: 1rem;
  border: none; cursor: pointer;
  transition: transform 0.2s var(--ease-spring), box-shadow 0.25s var(--ease-out);
}

.btn-primary { background: var(--vital-green); color: #fff; }
.btn-primary:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 12px 28px var(--vital-green-glow); }

.btn-ghost { background: rgba(29,29,31,0.05); color: var(--graphite); border: 1px solid rgba(29,29,31,0.14); }
.btn-ghost:hover { background: rgba(29,29,31,0.09); transform: translateY(-2px); }

.btn-cta { background: var(--off-black); color: var(--bone-cream); }
.btn-cta:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 14px 32px rgba(36,20,7,0.35); }

/* ---------- Hero ---------- */

.hero { position: relative; padding: 96px 0 84px; overflow: hidden; }
.hero .mesh-blob.green { width: 600px; height: 600px; top: -200px; right: -160px; }

.hero-inner { position: relative; z-index: 1; max-width: 880px; }
.hero h1 { font-size: clamp(2.3rem, 6.4vw, 4.6rem); }

.gradient-word {
  background: linear-gradient(120deg, var(--vital-green-bright), var(--vital-green));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.hero-sub { margin-top: 24px; font-size: clamp(1.02rem, 1.5vw, 1.22rem); max-width: 600px; }
.hero-actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 16px; }

.hero-stats {
  margin-top: 64px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; max-width: 620px;
}
@media (min-width: 640px) { .hero-stats { grid-template-columns: repeat(3, 1fr); } }

.stat-num { font-family: var(--font-mono); font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 700; color: var(--vital-green); }
.stat-label { font-size: 0.8rem; color: var(--graphite-faint); margin-top: 4px; }

/* ---------- Sections ---------- */

.section { padding: 88px 0; position: relative; }
.section-head { max-width: 640px; margin-bottom: 52px; }
.section-alt { background: var(--cloud-white-soft); }

/* ---------- Grid / cards ---------- */

.grid-2 { display: grid; gap: 22px; grid-template-columns: 1fr; }
.grid-3 { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 720px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}

.card { padding: 30px; transition: transform 0.3s var(--ease-out); }
.card:hover { transform: translateY(-5px); }
.card .num { font-family: var(--font-mono); color: var(--vital-green); font-size: 0.88rem; margin-bottom: 16px; display: block; }
.card h3 { margin-bottom: 10px; color: var(--graphite); }
.card p { font-size: 0.95rem; }

/* ---------- Checklist ---------- */

.checklist { display: grid; gap: 14px; margin-top: 8px; }
.check-item { display: flex; gap: 14px; align-items: flex-start; font-size: 1.02rem; color: var(--graphite); }
.check-item .mark {
  flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%;
  background: var(--vital-green); color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 700; margin-top: 2px;
}

/* ---------- Pillars / steps ---------- */

.steps { display: grid; gap: 0; margin-top: 8px; }
.step { display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding: 26px 0; border-bottom: 1px solid rgba(29,29,31,0.09); }
.step:first-child { padding-top: 0; }
.step-num { font-family: var(--font-mono); font-size: 1rem; color: var(--vital-green); }
.step h3 { margin-bottom: 8px; font-size: 1.2rem; color: var(--graphite); }
.step p { font-size: 0.95rem; max-width: 560px; }

/* ---------- CTA warm ---------- */

.cta-warm {
  position: relative; border-radius: 32px; overflow: hidden;
  padding: 68px 30px;
  background: linear-gradient(155deg, var(--bone-cream) 0%, var(--rust-orange) 130%);
  text-align: center;
}
@media (min-width: 768px) { .cta-warm { padding: 92px 60px; } }
.cta-warm h2 { color: var(--off-black); font-size: clamp(2.1rem, 5.6vw, 3.8rem); }
.cta-warm .gradient-word {
  background: linear-gradient(120deg, var(--gradient-gold), var(--rust-orange));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.cta-warm p { color: rgba(36,20,7,0.75); max-width: 520px; margin: 18px auto 0; font-size: 1.02rem; }
.cta-warm .hero-actions { justify-content: center; margin-top: 32px; }

/* ---------- Reveal ---------- */

.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ---------- Footer ---------- */

.site-footer { padding: 60px 0 40px; border-top: 1px solid rgba(29,29,31,0.09); }
.footer-top { display: flex; flex-direction: column; gap: 30px; padding-bottom: 36px; }
@media (min-width: 720px) { .footer-top { flex-direction: row; justify-content: space-between; align-items: flex-start; } }
.footer-links { display: flex; gap: 26px; flex-wrap: wrap; font-size: 0.9rem; color: var(--graphite-dim); }
.footer-legal { font-size: 0.78rem; color: var(--graphite-faint); line-height: 1.7; border-top: 1px solid rgba(29,29,31,0.08); padding-top: 22px; }

/* ---------- Page hero ---------- */

.page-hero { padding: 60px 0 52px; position: relative; overflow: hidden; }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); max-width: 760px; }
.page-hero p { margin-top: 18px; max-width: 560px; font-size: 1.06rem; }

/* ---------- Quote ---------- */

.pull-quote {
  font-size: clamp(1.3rem, 2.4vw, 1.85rem); font-weight: 700; letter-spacing: -0.015em; line-height: 1.4;
  color: var(--graphite); max-width: 760px; border-left: 3px solid var(--vital-green); padding-left: 26px;
}

/* ---------- Contact ---------- */

.form-grid { display: grid; gap: 16px; }
.field label { display: block; font-size: 0.84rem; color: var(--graphite-faint); margin-bottom: 7px; }
.field input, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: 12px;
  background: rgba(255,255,255,0.7); border: 1px solid rgba(29,29,31,0.14);
  color: var(--graphite); font-family: var(--font-sans); font-size: 0.98rem;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--vital-green); background: #fff; }
.field textarea { resize: vertical; min-height: 130px; }

.contact-side { display: flex; flex-direction: column; gap: 18px; }
.contact-line { display: flex; flex-direction: column; gap: 4px; padding: 18px 0; border-bottom: 1px solid rgba(29,29,31,0.09); }
.contact-line .label { font-size: 0.76rem; color: var(--graphite-faint); text-transform: uppercase; letter-spacing: 0.06em; }
.contact-line .value { font-size: 1.1rem; font-weight: 600; color: var(--graphite); }

/* ============================================================
   Zell-Story — Scroll-Erzählung: Obst nährt sie, Gemüse entlastet
   sie, Beeren schützt sie, Omega-3 sichert den Nährstoffaustausch
   ============================================================ */

.cell-story-grid {
  display: grid;
  gap: 40px;
  align-items: start;
}

@media (min-width: 900px) {
  .cell-story-grid { grid-template-columns: 1fr 1fr; gap: 60px; }
}

.cell-story-stage {
  position: sticky;
  top: 84px;
}

.cell-stage {
  position: relative;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
}

/* Scroll-Hinweis oben am Rand (nicht unten, kollidiert sonst mit Text) */
.cell-scroll-hint {
  position: absolute;
  top: 4%;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--graphite-faint);
  text-align: center;
  opacity: 1;
  transition: opacity 0.5s var(--ease-out);
  animation: hint-bounce 2.2s ease-in-out infinite;
}

.cell-stage[data-stage="1"] .cell-scroll-hint,
.cell-stage[data-stage="2"] .cell-scroll-hint,
.cell-stage[data-stage="3"] .cell-scroll-hint,
.cell-stage[data-stage="4"] .cell-scroll-hint {
  opacity: 0;
}

@keyframes hint-bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 5px); }
}

/* Basis-Tension-Ring: deutliche Alarm-/Belastungsanzeige, bevor Gemüse "entlastet" */
.cell-tension {
  position: absolute;
  inset: -3%;
  border-radius: 50%;
  border: 3px dashed rgba(196, 90, 60, 0.7);
  box-shadow: 0 0 34px rgba(196, 90, 60, 0.35);
  opacity: 1;
  animation: tension-pulse 1.8s ease-in-out infinite;
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}

@keyframes tension-pulse {
  0%, 100% { transform: scale(1) rotate(0deg); opacity: 1; }
  50% { transform: scale(1.06) rotate(4deg); opacity: 0.5; }
}

.cell-stage[data-stage="2"] .cell-tension,
.cell-stage[data-stage="3"] .cell-tension,
.cell-stage[data-stage="4"] .cell-tension {
  opacity: 0;
  animation: none;
  transform: scale(1.2);
}

/* Beschädigungs-Tint: die unversorgte Zelle wirkt sichtbar blass/angeschlagen */
.cell-damage {
  position: absolute;
  inset: 18%;
  border-radius: 50%;
  background: radial-gradient(circle at 60% 65%, rgba(120, 100, 90, 0.55), transparent 70%);
  opacity: 1;
  transition: opacity 1.3s var(--ease-out);
  pointer-events: none;
}

.cell-stage[data-stage="2"] .cell-damage,
.cell-stage[data-stage="3"] .cell-damage,
.cell-stage[data-stage="4"] .cell-damage {
  opacity: 0;
}

/* Angriffs-Partikel: Umwelteinflüsse, die spürbar auf die Zelle einschlagen — bis der Schutzschild sie abfängt */
.cell-attack {
  position: absolute;
  inset: 0;
}

.attack-particle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 9px;
  height: 9px;
  margin: -4.5px 0 0 -4.5px;
  border-radius: 1px;
  background: rgb(196, 90, 60);
  box-shadow: 0 0 8px rgba(196, 90, 60, 0.7);
  opacity: 0;
  transform-origin: 0 0;
}

.cell-stage[data-stage="0"] .attack-particle,
.cell-stage[data-stage="1"] .attack-particle,
.cell-stage[data-stage="2"] .attack-particle {
  animation: attack-dart 2.2s ease-in infinite;
}

.cell-stage[data-stage="3"] .attack-particle,
.cell-stage[data-stage="4"] .attack-particle {
  opacity: 0;
  animation: none;
  transition: opacity 0.8s var(--ease-out);
}

@keyframes attack-dart {
  0% { transform: rotate(var(--aa, 0deg)) translateX(calc(var(--cell-r, 160px) * 0.78)) scale(0.4) rotate(0deg); opacity: 0; }
  55% { transform: rotate(var(--aa, 0deg)) translateX(calc(var(--cell-r, 160px) * 0.36)) scale(1.3) rotate(90deg); opacity: 1; }
  75% { transform: rotate(var(--aa, 0deg)) translateX(calc(var(--cell-r, 160px) * 0.34)) scale(0.9) rotate(120deg); opacity: 0.8; }
  100% { transform: rotate(var(--aa, 0deg)) translateX(calc(var(--cell-r, 160px) * 0.78)) scale(0.4) rotate(160deg); opacity: 0; }
}

.cell-core {
  position: absolute;
  inset: 18%;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(23, 184, 82, 0.35), rgba(22, 163, 74, 0.12) 60%, transparent 78%);
  border: 1px solid rgba(22, 163, 74, 0.3);
  backdrop-filter: blur(6px);
  box-shadow: inset 0 0 60px rgba(23, 184, 82, 0.25), 0 0 80px rgba(22, 163, 74, 0.15);
  animation: pulse 5s ease-in-out infinite;
  filter: saturate(0.2) brightness(0.8);
  transition: box-shadow 1.1s var(--ease-out), filter 1.3s var(--ease-out);
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.035); }
}

/* Nährt sie: Kern leuchtet spürbar stärker und erholt sich sichtbar (Entsättigung weicht) */
.cell-stage[data-stage="1"] .cell-core,
.cell-stage[data-stage="2"] .cell-core,
.cell-stage[data-stage="3"] .cell-core,
.cell-stage[data-stage="4"] .cell-core {
  box-shadow: inset 0 0 70px rgba(23, 184, 82, 0.4), 0 0 100px rgba(22, 163, 74, 0.28);
  filter: saturate(1) brightness(1);
}

.cell-nucleus {
  position: absolute;
  inset: 41%;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, rgba(23, 184, 82, 0.55), rgba(22, 163, 74, 0.25) 70%);
  box-shadow: 0 0 30px rgba(23, 184, 82, 0.3);
}

.cell-orbit {
  position: absolute;
  inset: 6%;
  border-radius: 50%;
  border: 1px dashed rgba(22, 163, 74, 0.22);
  animation: spin 26s linear infinite;
}

.cell-orbit.orbit-2 { inset: -4%; animation-duration: 38s; animation-direction: reverse; }

/* Omega-3: Nährstoffaustausch wird aktiver, Ringe drehen spürbar schneller */
.cell-stage[data-stage="4"] .cell-orbit { animation-duration: 10s; }
.cell-stage[data-stage="4"] .cell-orbit.orbit-2 { animation-duration: 15s; }

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Beeren: Schutzring blendet ein */
.cell-shield {
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  border: 1.5px solid rgba(23, 184, 82, 0.55);
  box-shadow: 0 0 24px rgba(23, 184, 82, 0.25);
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-spring);
}

.cell-stage[data-stage="3"] .cell-shield,
.cell-stage[data-stage="4"] .cell-shield {
  opacity: 1;
  transform: scale(1);
}

/* Omega-3: Membran-"Gates" für den Nährstoffaustausch */
.cell-gates {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s var(--ease-out);
}

.cell-stage[data-stage="4"] .cell-gates { opacity: 1; }

.cell-gate {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 3px;
  border-radius: 2px;
  background: var(--vital-green-bright);
  transform-origin: 0 0;
}

/* Omega-3: kleine Transport-Punkte pendeln aktiv durch die Gates (bestätigt den Austausch) */
.cell-transport {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 6px;
  margin: -3px 0 0 -3px;
  border-radius: 50%;
  background: var(--vital-green-bright);
  opacity: 0;
  transform-origin: 0 0;
}

.cell-stage[data-stage="4"] .cell-transport {
  opacity: 0.9;
  animation: transport-pulse 2.6s ease-in-out infinite;
}

@keyframes transport-pulse {
  0%, 100% { transform: rotate(var(--gr, 0deg)) translateX(calc(var(--cell-r, 160px) * 0.3)) scale(0.7); opacity: 0.35; }
  50% { transform: rotate(var(--gr, 0deg)) translateX(calc(var(--cell-r, 160px) * 0.58)) scale(1); opacity: 1; }
}

/* Gemüse entlastet sie: Belastungs-Partikel wandern sichtbar aus der Zelle raus (Entlastung/Detox)
   Hinweis: links/top-Prozente sind relativ zum Eltern-Container (.cell-stage), transform-Prozente
   wären relativ zur eigenen (winzigen) Boxgröße — deshalb bewusst left/top statt transform für den Radius. */
.cell-particle-out {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(148, 138, 120, 0.9);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.5);
  transition: top 1.6s var(--ease-out), left 1.6s var(--ease-out), transform 1.6s var(--ease-out), opacity 1.6s var(--ease-out);
}

.cell-stage[data-stage="2"] .cell-particle-out,
.cell-stage[data-stage="3"] .cell-particle-out,
.cell-stage[data-stage="4"] .cell-particle-out {
  top: calc(50% + var(--ey, 0%));
  left: calc(50% + var(--ex, 0%));
  transform: translate(-50%, -50%) scale(1);
  opacity: 0.18;
}

/* Nährt sie: Nährstoff-Partikel fließen einmalig in den Kern (gleicher Hinweis wie oben) */
.cell-particle {
  position: absolute;
  top: calc(50% + var(--sy, 0%));
  left: calc(50% + var(--sx, 0%));
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--vital-green-bright);
  opacity: 0.85;
  transform: translate(-50%, -50%);
  transition: top 1.4s var(--ease-out), left 1.4s var(--ease-out), opacity 1.4s var(--ease-out);
}

.cell-stage[data-stage="1"] .cell-particle,
.cell-stage[data-stage="2"] .cell-particle,
.cell-stage[data-stage="3"] .cell-particle,
.cell-stage[data-stage="4"] .cell-particle {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.3);
  opacity: 0;
}

/* Ankunfts-Icons: pro Kapitel landet sichtbar das jeweilige Symbol an der Zelle und bleibt dort angedockt */
.cell-arrivals {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.arrival-icon {
  position: absolute;
  top: calc(50% + var(--fy, 0%));
  left: calc(50% + var(--fx, 0%));
  width: 30px;
  height: 30px;
  margin: -15px 0 0 -15px;
  padding: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(22, 163, 74, 0.35);
  box-shadow: 0 6px 16px rgba(22, 163, 74, 0.25);
  color: var(--vital-green);
  opacity: 0;
  transform: scale(0.3);
  transition: top 0.9s var(--ease-spring), left 0.9s var(--ease-spring), transform 0.9s var(--ease-spring), opacity 0.5s var(--ease-out);
}

.arrival-icon svg { width: 100%; height: 100%; }

.arrival-icon.arrived {
  top: calc(50% + var(--dy, 0%));
  left: calc(50% + var(--dx, 0%));
  opacity: 1;
  transform: scale(1);
}

@media (max-width: 899px) {
  .arrival-icon { width: 24px; height: 24px; margin: -12px 0 0 -12px; padding: 5px; }
}

.cell-label {
  position: absolute;
  bottom: -34px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--graphite-faint);
  white-space: nowrap;
  text-align: center;
  transition: color 0.6s var(--ease-out);
}

.cell-label.is-alert { color: rgb(196, 90, 60); }
.cell-label.is-healthy { color: var(--vital-green); }

/* Chapters */

.cell-story-chapters { display: flex; flex-direction: column; }

.chapter {
  min-height: 62vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px 0;
  opacity: 0.35;
  transition: opacity 0.5s var(--ease-out);
}

.chapter:last-child { min-height: 40vh; }

.chapter.active { opacity: 1; }

.chapter-num {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--vital-green);
  margin-bottom: 10px;
  display: block;
}

.chapter-icon {
  width: 40px;
  height: 40px;
  color: var(--vital-green);
  margin-bottom: 14px;
  opacity: 0.85;
}

.chapter-icon svg { width: 100%; height: 100%; }

.chapter h3 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  color: var(--graphite);
}

.chapter h3 .verb {
  color: var(--vital-green);
}

.chapter p {
  margin-top: 14px;
  font-size: 1.02rem;
  max-width: 460px;
}

@media (max-width: 899px) {
  .cell-story-stage {
    position: sticky;
    top: 76px;
    padding-bottom: 20px;
    margin-bottom: 8px;
  }
  .cell-stage { max-width: 280px; }
  .chapter { min-height: 48vh; }
  .chapter h3 { max-width: 95vw; }
  .chapter p { max-width: 95vw; }
}

@media (prefers-reduced-motion: reduce) {
  .cell-core, .cell-orbit, .cell-scroll-hint, .cell-tension, .attack-particle, .cell-transport { animation: none; }
  .cell-tension, .cell-shield, .cell-gates, .cell-particle, .cell-particle-out, .cell-core, .arrival-icon, .cell-damage { transition: none; }
}
