/* Neural-Tech × EE Vertrieb – Präsentation, visuelle Fassung (V2)
   Gestaltung nach den Neural-Tech Brand Guidelines (Dark Mode):
   Near black #101214 · Anthracite #252A2E · Slate #555E65 · Mist #DDE2E5 · Soft white #F5F6F7 · Muted blue #8FA9BA.
   Fette Überschriften, normale Fließtexte. Offline-Schriften: Segoe UI Variable (Windows), sonst Systemschrift.
   Farbcode in Diagrammen: Weiß = EE Vertrieb, Muted blue = Neural-Tech, gestrichelt = Konzept / offen. */

:root {
  --near-black: #101214;
  --anthracite: #252A2E;
  --slate: #555E65;
  --mist: #DDE2E5;
  --soft-white: #F5F6F7;
  --muted-blue: #8FA9BA;

  --bg: var(--near-black);
  --bg-raised: #1b1f22;
  --bg-sunk: #0b0c0e;
  --line: #2c3236;
  --line-strong: #40484e;
  --text: var(--soft-white);
  --text-2: #bcc5cb;
  --muted: #8d969c;
  --accent: var(--muted-blue);
  --accent-soft: rgba(143, 169, 186, 0.14);
  --accent-mid: rgba(143, 169, 186, 0.38);
  --accent-ink: var(--near-black);
  --focus: #c2d4df;
  --ee: var(--text);
  --nt: var(--accent);

  --font-display: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-text: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;

  --radius-s: 6px;
  --radius-m: 12px;
  --chrome-h: 3.25rem;
  --gutter: clamp(1rem, 4.5vw, 5rem);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  font-size: clamp(15px, 0.9vw + 0.35vh, 22px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  height: 100vh;
  height: 100dvh;
  display: grid;
  grid-template-rows: var(--chrome-h) 1fr var(--chrome-h);
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-text);
  font-size: 1rem;
  line-height: 1.5;
  overflow: hidden;
}

h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
button, input { font: inherit; color: inherit; }
a { color: inherit; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico {
  width: 1.15em; height: 1.15em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
  vertical-align: -.2em;
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 50;
  background: var(--accent); color: var(--accent-ink); padding: .5rem 1rem; border-radius: var(--radius-s);
}
.skip-link:focus { top: .5rem; }

/* ---------- Logo (offizielle Datei assets/neural-tech-logo-white.svg) ---------- */
.mark { display: inline-flex; align-items: center; text-decoration: none; line-height: 0; }
.mark-logo { width: calc(var(--logo-h) * 1209 / 236); max-width: 100%; height: auto; }
.mark--small { --logo-h: 1.15rem; }
.mark--medium { --logo-h: 2rem; }
.mark--hero { --logo-h: clamp(2.4rem, 4.6vw, 5.4rem); }

/* ---------- Kopf- und Fußleiste ---------- */
.chrome-top, .chrome-bottom {
  display: flex; align-items: center; gap: 1rem;
  padding: 0 var(--gutter);
  position: relative; z-index: 5;
  background: var(--bg);
}
.chapter-indicator { flex: 1; color: var(--muted); font-size: .72rem; text-align: center; text-transform: uppercase; letter-spacing: .2em; }
.chrome-actions { display: flex; gap: .25rem; margin-left: auto; }
.chrome-btn {
  background: none; border: 1px solid transparent; border-radius: var(--radius-s);
  color: var(--muted); padding: .3rem .7rem; font-size: .85rem; cursor: pointer;
}
.chrome-btn:hover { color: var(--text); border-color: var(--line); }
.chrome-btn[aria-pressed="true"] { color: var(--accent); border-color: var(--line); }

.chrome-bottom { justify-content: flex-end; }
.progress { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--line); }
.progress-bar { display: block; height: 100%; width: 0; background: var(--accent); transition: width .5s var(--ease); }
.slide-counter {
  margin-right: auto; color: var(--muted); font-size: .85rem;
  font-family: var(--font-display); font-variant-numeric: tabular-nums; letter-spacing: .02em;
}
.nav-buttons { display: flex; gap: .5rem; }
.nav-btn {
  width: 2.4rem; height: 2.4rem; border-radius: 50%;
  border: 1px solid var(--line-strong); background: var(--bg-raised);
  display: grid; place-items: center; cursor: pointer; color: var(--text);
}
.nav-btn:hover:not(:disabled) { border-color: var(--accent); }
.nav-btn:disabled { opacity: .35; cursor: default; }
.nav-btn svg { width: 1.1rem; height: 1.1rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Folien ---------- */
.deck { position: relative; overflow: hidden; outline: none; }
.slide {
  position: absolute; inset: 0;
  overflow-y: auto; overflow-x: hidden;
  display: flex;
  visibility: hidden; opacity: 0;
  transition: opacity .45s var(--ease), visibility 0s linear .45s;
  scrollbar-color: var(--line-strong) transparent;
}
.slide.is-active { visibility: visible; opacity: 1; transition: opacity .45s var(--ease), visibility 0s; }
.slide-inner {
  width: 100%; max-width: 86rem;
  background: var(--bg); /* Hintergrund für mix-blend-mode des Logos */
  margin: auto;
  padding: clamp(1.25rem, 4vh, 3rem) var(--gutter) clamp(1.5rem, 4.5vh, 3rem);
}
.slide.is-active .slide-inner { animation: slideIn .55s var(--ease) both; }
.slide.is-active.from-back .slide-inner { animation-name: slideInBack; }
@keyframes slideIn { from { transform: translateX(1.25rem); } to { transform: none; } }
@keyframes slideInBack { from { transform: translateX(-1.25rem); } to { transform: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(.6rem); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: scale(.85); } to { opacity: 1; transform: none; } }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes growY { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- Typografie ---------- */
.display, .headline, .demo-name, .result-value, .prov-pct, .pr-value, .wt-title, .eq-big {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.04;
}
.display { font-size: clamp(2.6rem, 5.6vw, 6rem); }
.headline { font-size: clamp(2rem, 3.4vw, 3.6rem); max-width: 28ch; text-wrap: balance; }
.headline--sm { font-size: clamp(1.7rem, 2.6vw, 2.8rem); max-width: none; }
.lede { font-size: 1.2rem; color: var(--text-2); margin-top: .75rem; max-width: 46ch; }
.subhead { font-size: 1rem; font-weight: 600; color: var(--text); margin: 0 0 .9rem; display: flex; gap: .5rem; align-items: center; }
.subhead .ico { color: var(--accent); }
.footnote { color: var(--muted); font-size: .82rem; margin-top: 1.5rem; max-width: 80ch; }
.note { color: var(--muted); font-size: .8rem; line-height: 1.45; }

.tag {
  display: inline-block; font-size: .8rem; color: var(--text-2);
  padding: .2rem .65rem; border-radius: 999px; white-space: nowrap;
}
.tag--outline { border: 1px solid var(--line-strong); }
.tag--dashed { border: 1.5px dashed var(--muted); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.calc-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; margin-bottom: 1.75rem; }

/* Status-Kennzeichnung */
.status {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .8rem; color: var(--text-2);
  padding: .25rem .7rem .25rem .6rem; border: 1px solid var(--line-strong); border-radius: 999px;
  white-space: nowrap;
}
.status::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; flex: none; }
.status--prototype::before { background: var(--accent); }
.status--live::before { background: var(--text); }
.status--concept::before { border: 1.5px dashed var(--muted); width: .6rem; height: .6rem; }

/* Buttons */
.btn {
  border-radius: 999px; padding: .65rem 1.4rem; cursor: pointer; font-weight: 600; font-size: .95rem;
  border: 1px solid var(--line-strong); background: transparent; color: var(--text);
  text-decoration: none; display: inline-flex; align-items: center; gap: .5rem;
}
.btn--primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn--primary:hover { background: #a6bdcb; }
.btn--ghost:hover { border-color: var(--text-2); }
.btn:disabled { opacity: .35; cursor: default; }
.text-btn { background: none; border: 0; color: var(--muted); cursor: pointer; padding: .4rem 0; text-decoration: underline; text-underline-offset: 3px; font-size: .85rem; }
.text-btn:hover { color: var(--text); }

/* ---------- 1 Einstieg ---------- */
.intro { text-align: center; }
.intro-brand { display: grid; grid-template-columns: auto minmax(4rem, 1fr) auto; align-items: center; gap: clamp(1rem, 2.5vw, 2.5rem); margin: 0 auto clamp(2rem, 7vh, 4.5rem); max-width: 64rem; }
.intro-side { display: flex; justify-content: center; }
.ee-logo { width: clamp(5rem, 9vw, 9rem); height: auto; mix-blend-mode: lighten; }
.ee-logo--small { width: 3.4rem; }
.intro-link { width: 100%; height: 3rem; overflow: visible; }
.intro-link path { fill: none; stroke-width: 3; vector-effect: non-scaling-stroke; }
.intro-link-track { stroke: var(--line); }
.intro-link-line { stroke: var(--accent); stroke-dasharray: 1; stroke-dashoffset: 1; }
.slide.is-active .intro-link-line { animation: draw 1.2s .3s var(--ease) forwards; }
.intro-pulse { fill: var(--accent); opacity: 0; }
.slide.is-active .intro-pulse { animation: pulseRun 3.2s 1.6s ease-in-out infinite; }
@keyframes pulseRun { 0% { cx: 0; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { cx: 400; opacity: 0; } }
.intro-title { display: flex; flex-direction: column; align-items: center; }
.intro-line--accent { color: var(--accent); }
.intro-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-top: clamp(1.75rem, 5vh, 3rem); }
.intro-pills li { display: inline-flex; align-items: center; gap: .55rem; padding: .55rem 1.1rem; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--text-2); font-size: 1.05rem; }
.intro-pills .ico { color: var(--accent); }
.slide.is-active .intro-pills li { animation: fadeUp .5s var(--ease) both; }
.slide.is-active .intro-pills li:nth-child(1) { animation-delay: 1.1s; }
.slide.is-active .intro-pills li:nth-child(2) { animation-delay: 1.25s; }
.slide.is-active .intro-pills li:nth-child(3) { animation-delay: 1.4s; }

/* ---------- 2 Partnerschaft ---------- */
.duo { display: grid; grid-template-columns: minmax(11rem, 1fr) minmax(8rem, 1.3fr) minmax(10rem, 13rem) minmax(8rem, 1.3fr) minmax(11rem, 1fr); grid-template-rows: auto auto; row-gap: 1.25rem; align-items: center; margin: clamp(1.5rem, 5vh, 3.5rem) 0 4.5rem; position: relative; }
#partnerschaft .headline { max-width: none; }
.duo-side { display: contents; }
.duo-logo, .duo-side--nt .mark { grid-row: 1; }
.duo-logo { grid-column: 1; width: 5.5rem; mix-blend-mode: lighten; }
.duo-side--nt .mark { grid-column: 5; justify-self: end; }
.duo-skills { grid-row: 2; display: grid; gap: 1.15rem; }
.duo-side--ee .duo-skills { grid-column: 1; }
.duo-side--nt .duo-skills { grid-column: 5; justify-items: end; }
.duo-wires { grid-column: 2 / 5; grid-row: 2; width: 100%; height: 100%; align-self: stretch; contain: size; }
.wire { fill: none; stroke-width: 2; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; }
.wire--ee { stroke: var(--ee); opacity: .7; }
.wire--nt { stroke: var(--nt); }
.slide.is-active .wire { animation: draw 1.2s .35s var(--ease) forwards; }
.slide.is-active .wire--nt { animation-delay: .6s; }
.duo-skills li { display: flex; align-items: center; gap: .8rem; font-size: 1.15rem; }
.duo-side--nt .duo-skills li { flex-direction: row-reverse; }
.duo-ico { width: 2.8rem; height: 2.8rem; border-radius: 50%; display: grid; place-items: center; flex: none; font-size: 1.25rem; }
.duo-side--ee .duo-ico { border: 1.5px solid var(--ee); }
.duo-side--nt .duo-ico { border: 1.5px solid var(--nt); color: var(--nt); background: var(--accent-soft); }
.duo-center { grid-column: 3; grid-row: 2; z-index: 1; display: grid; justify-items: center; gap: .8rem; text-align: center; background: var(--bg); padding: 1rem .5rem; position: relative; }
.duo-center p { position: absolute; top: calc(100% - .25rem); left: 50%; transform: translateX(-50%); width: 13rem; font-size: .95rem; color: var(--text-2); }
.duo-target { width: 5.5rem; height: 5.5rem; border-radius: 50%; display: grid; place-items: center; font-size: 2.4rem; background: var(--bg-raised); border: 2px solid var(--line-strong); box-shadow: 0 0 0 .5rem var(--bg), 0 0 0 calc(.5rem + 1px) var(--line); }
.slide.is-active .duo-center { animation: pop .6s 1.1s var(--ease) both; }

/* ---------- 3 Angebot ---------- */
.weight { display: grid; grid-template-columns: 5fr 3fr 2fr; gap: 1rem; margin-top: clamp(1.5rem, 4.5vh, 3rem); min-height: clamp(18rem, 48vh, 28rem); }
.wt { border-radius: var(--radius-m); padding: clamp(1.25rem, 2.2vw, 2.25rem); display: flex; flex-direction: column; gap: .8rem; position: relative; overflow: hidden; }
.wt-ico { width: 2.6rem; height: 2.6rem; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.wt-rank { font-size: .85rem; color: var(--muted); }
.wt-title { font-size: clamp(1.5rem, 2.2vw, 2.2rem); hyphens: manual; }
.wt-line { color: var(--text-2); font-size: .95rem; }
.wt--main { background: var(--accent); color: var(--accent-ink); }
.wt--main .wt-rank { color: var(--accent-ink); opacity: .75; }
.wt--main .wt-title { font-size: clamp(2.4rem, 4.2vw, 4.4rem); }
.wt-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .25rem; }
.wt-tags li { display: inline-flex; align-items: center; gap: .45rem; padding: .35rem .8rem; border-radius: 999px; background: rgba(16, 18, 20, .12); font-size: .92rem; }
.wt-effect { margin-top: auto; font-weight: 600; font-size: 1.1rem; }
.wt--second { background: var(--bg-raised); border: 1px solid var(--accent-mid); }
.wt--second .wt-ico { color: var(--accent); }
.wt--planned { border: 1.5px dashed var(--line-strong); color: var(--text-2); }
.wt--planned .wt-ico { color: var(--muted); }
.wt--planned .tag { align-self: flex-start; }
.wt--planned .wt-title { font-size: clamp(1.25rem, 1.75vw, 1.8rem); white-space: nowrap; }
.slide.is-active .wt { animation: fadeUp .55s var(--ease) both; }
.slide.is-active .wt--second { animation-delay: .15s; }
.slide.is-active .wt--planned { animation-delay: .3s; }

/* ---------- 4 Probleme ---------- */
.pain { margin-top: 1.75rem; display: grid; gap: .65rem; }
.pain li { display: flex; align-items: center; gap: 1rem; font-size: 1.1rem; }
.pain-ico { width: 3.4rem; height: 2.8rem; border-radius: var(--radius-s); border: 1px solid var(--line-strong); background: var(--bg-raised); display: inline-flex; align-items: center; justify-content: center; gap: .1rem; flex: none; font-size: 1.25rem; color: var(--text-2); }
.pain-ico .ico--sub { width: .85em; height: .85em; color: var(--accent); }
.slide.is-active .pain li { animation: fadeUp .45s var(--ease) both; }
.slide.is-active .pain li:nth-child(2) { animation-delay: .08s; }
.slide.is-active .pain li:nth-child(3) { animation-delay: .16s; }
.slide.is-active .pain li:nth-child(4) { animation-delay: .24s; }
.slide.is-active .pain li:nth-child(5) { animation-delay: .32s; }
.extract { display: grid; gap: .9rem; }
.extract-mail { background: var(--bg-raised); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 1.15rem 1.35rem; color: var(--text-2); line-height: 1.7; }
.extract-meta { font-size: .8rem; color: var(--muted); margin-bottom: .45rem; display: flex; gap: .45rem; align-items: center; }
.extract mark { background: transparent; color: var(--text); box-shadow: inset 0 -2px 0 var(--accent); padding: 0 .1em; }
.extract-arrow { display: flex; justify-content: center; position: relative; }
.extract-arrow::before { content: ""; position: absolute; left: 50%; top: -.9rem; bottom: -.9rem; width: 2px; background: var(--accent); transform: translateX(-50%); }
.extract-chip { position: relative; display: inline-flex; gap: .4rem; align-items: center; padding: .3rem .85rem; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: .85rem; font-weight: 600; }
.extract-form { border: 1px solid var(--line-strong); border-radius: var(--radius-m); overflow: hidden; }
.extract-form > div { display: grid; grid-template-columns: 9rem 1fr; gap: 1rem; padding: .55rem 1.25rem; border-bottom: 1px solid var(--line); }
.extract-form > div:last-child { border-bottom: 0; }
.extract-form dt { color: var(--muted); font-size: .85rem; }
.extract-form dd { color: var(--text); }
.extract-check dd { color: var(--accent); display: flex; gap: .4rem; align-items: center; }
.extract figcaption { font-size: .8rem; color: var(--muted); }
.slide.is-active .extract-form > div { animation: fieldIn .5s var(--ease) both; }
.slide.is-active .extract-form > div:nth-child(1) { animation-delay: .6s; }
.slide.is-active .extract-form > div:nth-child(2) { animation-delay: .85s; }
.slide.is-active .extract-form > div:nth-child(3) { animation-delay: 1.1s; }
.slide.is-active .extract-form > div:nth-child(4) { animation-delay: 1.4s; }
@keyframes fieldIn { from { opacity: 0; transform: translateY(-.4rem); } to { opacity: 1; transform: none; } }

/* ---------- Regler (gemeinsam) ---------- */
input[type="range"] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 1.75rem; background: transparent; cursor: pointer; margin: 0;
  --pct: 50%;
}
input[type="range"]::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: linear-gradient(to right, var(--accent) var(--pct), var(--line-strong) var(--pct)); }
input[type="range"]::-moz-range-track { height: 4px; border-radius: 2px; background: var(--line-strong); }
input[type="range"]::-moz-range-progress { height: 4px; border-radius: 2px; background: var(--accent); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 1.15rem; height: 1.15rem; border-radius: 50%; background: var(--text); border: 3px solid var(--bg); margin-top: calc(2px - .575rem); box-shadow: 0 0 0 1px var(--accent); }
input[type="range"]::-moz-range-thumb { width: 1rem; height: 1rem; border-radius: 50%; background: var(--text); border: 3px solid var(--bg); box-shadow: 0 0 0 1px var(--accent); }
input[type="range"]:focus-visible { outline: none; }
input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 3px var(--focus); }
input[type="range"]:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 3px var(--focus); }

.result-label { color: var(--muted); font-size: .9rem; }
.result-value { font-size: clamp(2.4rem, 4.2vw, 4.5rem); font-variant-numeric: tabular-nums; margin-top: .2rem; }
.result-value--accent { color: var(--accent); }
.result-unit { font-size: .5em; color: var(--text-2); }
.sw { display: inline-block; width: .8rem; height: .8rem; border-radius: 2px; background: var(--line); vertical-align: -.1em; margin-right: .4rem; }
.sw--fill { background: var(--accent); }
.sw--once { background: var(--text); }

/* ---------- 5 Nutzenrechner ---------- */
.equation { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1.15fr; align-items: center; gap: .75rem; }
.eq-term { display: grid; gap: .2rem; padding: 1rem 1.15rem .6rem; background: var(--bg-raised); border: 1px solid var(--line); border-radius: var(--radius-m); min-width: 0; }
.eq-term label { color: var(--text-2); font-size: .88rem; display: flex; gap: .45rem; align-items: center; }
.eq-term label .ico { color: var(--accent); }
.eq-term output { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.8rem, 2.8vw, 2.8rem); font-variant-numeric: tabular-nums; line-height: 1.1; }
.eq-op { font-family: var(--font-display); font-size: 2.2rem; color: var(--muted); }
.eq-result { padding: .8rem 1.25rem; border-radius: var(--radius-m); background: var(--accent); color: var(--accent-ink); }
.eq-big { font-size: clamp(2.6rem, 4.6vw, 4.8rem); font-variant-numeric: tabular-nums; }
.eq-result .result-unit { color: var(--accent-ink); opacity: .7; }
.eq-label { font-size: .9rem; opacity: .8; }
.calc-lower { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(1.5rem, 4vw, 4rem); margin-top: 1.75rem; align-items: start; }
.capacity-legend { display: flex; flex-wrap: wrap; gap: .4rem 1.5rem; color: var(--muted); font-size: .82rem; margin-bottom: .6rem; }
.capacity-grid { display: grid; grid-template-columns: repeat(var(--cols, 22), 1fr); gap: 4px; }
.capacity-grid .cell { aspect-ratio: 1 / 1.4; background: var(--line); border-radius: 3px; position: relative; overflow: hidden; }
.capacity-grid .cell i { position: absolute; inset: 0 auto 0 0; background: var(--accent); width: var(--fill, 0%); transition: width .35s var(--ease); }
.capacity-grid .row-break { grid-column: 1 / -1; height: .35rem; }
.capacity-caption { margin-top: .75rem; color: var(--text-2); font-size: .92rem; }
.calc-value { display: grid; gap: .3rem; justify-items: start; }
.eq-term--small { width: 100%; margin-bottom: 1rem; }
.eq-term--small output { font-size: 1.6rem; }

/* ---------- 6 Praxisbeispiele ---------- */
.cases { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.25rem, 3vw, 3rem); }
.case { display: grid; grid-template-rows: auto 1fr auto auto; gap: 1rem; padding: 1.4rem 1.5rem; background: var(--bg-raised); border: 1px solid var(--line); border-radius: var(--radius-m); }
.case-company { font-family: var(--font-display); font-weight: 700; font-size: 1.75rem; line-height: 1.1; }
.case-process { color: var(--muted); font-size: .9rem; margin-top: .2rem; }
.case-chart { display: grid; grid-template-columns: auto 1fr; gap: 1.25rem; align-items: center; }
.case-chart figcaption { color: var(--text); font-size: 1rem; max-width: 24ch; }
.case-chart--donut svg { width: clamp(7rem, 11vw, 9.5rem); height: auto; transform: rotate(-90deg); }
.donut-track { fill: none; stroke: var(--line); stroke-width: 12; }
.donut-arc { fill: none; stroke: var(--accent); stroke-width: 12; stroke-linecap: butt; stroke-dasharray: var(--len) var(--circ); }
.slide.is-active .donut-arc { animation: donut 1.3s .3s var(--ease) both; }
@keyframes donut { from { stroke-dasharray: 0 var(--circ); } }
.donut-text { transform: rotate(90deg); transform-origin: 60px 60px; fill: var(--text); font-family: var(--font-display); font-weight: 700; font-size: 24px; text-anchor: middle; dominant-baseline: central; }
.case-chart--steps { grid-template-columns: 1fr; gap: .6rem; }
.steps-bars { display: grid; gap: .7rem; }
.steps-row { display: grid; grid-template-columns: 7.5rem 1fr auto; gap: .8rem; align-items: center; }
.steps-lbl { color: var(--text-2); font-size: .9rem; }
.steps-bar { height: 1.4rem; background: var(--line); border-radius: 3px; overflow: hidden; position: relative; }
.steps-bar i { display: block; height: 100%; width: var(--w); background: var(--accent); transform-origin: left; }
.steps-row:first-child .steps-bar i { background: var(--accent-mid); }
.slide.is-active .steps-bar i { animation: grow 1s var(--ease) both; }
.slide.is-active .steps-row:nth-child(2) .steps-bar i { animation-delay: .35s; }
.steps-val { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; min-width: 4.5rem; }
.steps-row:last-child .steps-val { color: var(--accent); }
.case-ba { display: grid; grid-template-columns: 1fr 2rem 1fr; gap: .5rem; align-items: stretch; font-size: .88rem; }
.case-before, .case-after { padding: .75rem .9rem; border-radius: var(--radius-s); }
.case-before { border: 1px solid var(--line-strong); color: var(--text-2); }
.case-after { background: var(--accent-soft); border: 1px solid var(--accent-mid); }
.case-ba-k { font-size: .78rem; color: var(--muted); margin-bottom: .2rem; }
.case-after .case-ba-k { color: var(--accent); }
.case-ba-arrow { align-self: center; justify-self: center; width: 100%; height: 2px; background: var(--accent); position: relative; }
.case-ba-arrow::after { content: ""; position: absolute; right: 0; top: 50%; width: .5rem; height: .5rem; border-top: 2px solid var(--accent); border-right: 2px solid var(--accent); transform: translate(0, -50%) rotate(45deg); }
.case-source { font-size: .78rem; color: var(--muted); }
.case-source a { color: var(--text-2); text-underline-offset: 3px; }
.case-source a:hover { color: var(--accent); }
.cases-empty { grid-column: 1 / -1; border: 1px dashed var(--line-strong); border-radius: var(--radius-m); padding: 2rem; color: var(--muted); }

/* ---------- 7 Demo-Übersicht ---------- */
.st { display: inline-block; width: .9rem; height: .9rem; border-radius: 50%; }
.st--prototype { background: var(--accent); color: var(--accent-ink); }
.st--live { background: var(--text); color: var(--bg); }
.st--concept { border: 2px dashed var(--muted); color: var(--text-2); background: var(--bg); }
.legend { display: flex; flex-wrap: wrap; gap: .75rem 2.5rem; margin: 1.25rem 0 clamp(2rem, 7vh, 4rem); color: var(--text); }
.legend li { display: grid; grid-template-columns: auto 1fr; column-gap: .6rem; align-items: center; }
.legend small { grid-column: 2; color: var(--muted); font-size: .82rem; }
.route { display: grid; grid-template-columns: repeat(5, 1fr); position: relative; }
.route::before { content: ""; position: absolute; left: 10%; right: 10%; top: 2.5rem; height: 2px; background: var(--line-strong); }
.route::after { content: ""; position: absolute; left: 10%; right: 10%; top: 2.5rem; height: 2px; background: var(--accent); transform-origin: left; }
.slide.is-active .route::after { animation: grow 1.4s .2s var(--ease) both; }
.route a { display: grid; justify-items: center; text-align: center; gap: .4rem; text-decoration: none; padding: 0 .5rem; position: relative; z-index: 1; }
.route-stop { width: 5rem; height: 5rem; border-radius: 50%; display: grid; place-items: center; font-size: 2rem; margin-bottom: .6rem; box-shadow: 0 0 0 .45rem var(--bg); transition: transform .25s var(--ease); }
.route a:hover .route-stop, .route a:focus-visible .route-stop { transform: scale(1.08); }
.route-name { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; line-height: 1.15; }
.route a:hover .route-name { color: var(--accent); }
.route-desc { color: var(--text-2); font-size: .88rem; max-width: 16ch; }
.route-status { color: var(--muted); font-size: .78rem; }
.slide.is-active .route li { animation: pop .5s var(--ease) both; }
.slide.is-active .route li:nth-child(2) { animation-delay: .25s; }
.slide.is-active .route li:nth-child(3) { animation-delay: .5s; }
.slide.is-active .route li:nth-child(4) { animation-delay: .75s; }
.slide.is-active .route li:nth-child(5) { animation-delay: 1s; }

/* ---------- 8–11 Demo-Einstiege ---------- */
.demo { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.demo-name { font-size: clamp(2.8rem, 6vw, 6.4rem); margin: 1.1rem 0 .4rem; overflow-wrap: anywhere; }
.demo-name--long { font-size: clamp(2.2rem, 4.2vw, 4.4rem); }
.demo-claim { font-size: 1.3rem; color: var(--text-2); max-width: 30ch; }
.demo-pills { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }
.demo-pills li { display: inline-flex; align-items: center; gap: .45rem; padding: .4rem .9rem; border-radius: 999px; border: 1px solid var(--line-strong); font-size: .95rem; }
.demo-pills .ico { color: var(--accent); }
.watch { display: flex; gap: .65rem; align-items: flex-start; margin-top: 1.5rem; padding: .85rem 1rem; border-left: 3px solid var(--accent); background: var(--accent-soft); border-radius: 0 var(--radius-s) var(--radius-s) 0; max-width: 40ch; }
.watch .ico { color: var(--accent); margin-top: .15em; }
.demo-actions { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: .75rem 1.25rem; align-items: center; }
.demo-hint { color: var(--muted); font-size: .85rem; max-width: 34ch; }
.surprise-kicker { margin-top: 1.25rem; font-size: 1.15rem; color: var(--accent); }
.slide--surprise .demo-name { margin-top: .25rem; }
.demo-visual { position: relative; min-height: 18rem; display: grid; place-items: center; }

/* DISPOFLOW */
.df { grid-template-columns: 1fr; gap: .9rem; justify-items: stretch; }
.df-in { display: grid; gap: .55rem; }
.df-msg { background: var(--bg-raised); border: 1px solid var(--line); border-radius: 14px 14px 14px 4px; padding: .6rem .9rem; color: var(--text-2); font-size: .9rem; max-width: 90%; }
.df-msg:nth-child(2) { justify-self: end; transform: rotate(.8deg); }
.df-msg:nth-child(3) { transform: rotate(-.6deg); margin-left: 1.5rem; }
.slide.is-active .df-msg { animation: fadeUp .45s var(--ease) both; animation-delay: calc(var(--i) * .15s); }
.df-engine { justify-self: center; width: 3.2rem; height: 3.2rem; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); font-size: 1.5rem; position: relative; }
.df-engine::before, .df-engine::after { content: ""; position: absolute; left: 50%; width: 2px; height: .9rem; background: var(--accent); transform: translateX(-50%); }
.df-engine::before { bottom: 100%; }
.df-engine::after { top: 100%; }
.slide.is-active .df-engine { animation: pop .5s .6s var(--ease) both; }
.df-table { border: 1px solid var(--line-strong); border-radius: var(--radius-m); overflow: hidden; font-size: .9rem; }
.df-row { display: grid; grid-template-columns: 1.2fr 1fr 1.1fr 1.6rem; gap: .6rem; padding: .55rem .9rem; border-bottom: 1px solid var(--line); align-items: center; }
.df-row:last-child { border-bottom: 0; }
.df-row--head { color: var(--muted); font-size: .8rem; background: var(--bg-raised); }
.slide.is-active .df-row:not(.df-row--head) { animation: fieldIn .45s var(--ease) both; animation-delay: calc(.9s + var(--i) * .2s); }
.df-ok { color: var(--accent); }
.df-open { color: var(--muted); }
.df-cap { font-size: .78rem; color: var(--muted); text-align: right; }

/* Newsletter + EE Rewards: Kreislauf */
.nl, .rw { width: min(26rem, 100%); aspect-ratio: 1; justify-self: center; }
.nl-ring, .rw-ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.nl-track { fill: none; stroke: var(--line-strong); stroke-width: 2; }
.nl-arc { fill: none; stroke: var(--accent); stroke-width: 3; stroke-dasharray: 691; stroke-dashoffset: 691; }
.slide.is-active .nl-arc { animation: draw 1.8s .3s var(--ease) forwards; }
.nl-node { position: absolute; transform: translate(-50%, -1.8rem); display: grid; justify-items: center; gap: .45rem; font-size: 1rem; white-space: nowrap; }
.nl-node[style*="--a:0"] { left: 50%; top: 13.3%; }
.nl-node[style*="--a:1"] { left: 81.8%; top: 68.3%; }
.nl-node[style*="--a:2"] { left: 18.2%; top: 68.3%; }
.nl-lbl { background: var(--bg); padding: 0 .35rem; border-radius: 4px; }
.nl-ico { width: 3.6rem; height: 3.6rem; border-radius: 50%; display: grid; place-items: center; font-size: 1.6rem; background: var(--bg); border: 2px solid var(--accent); color: var(--accent); }
.slide.is-active .nl-ico { animation: pop .5s var(--ease) both; }
.slide.is-active .nl-node[style*="--a:1"] .nl-ico { animation-delay: .7s; }
.slide.is-active .nl-node[style*="--a:2"] .nl-ico { animation-delay: 1.2s; }
.nl-center { position: absolute; left: 50%; top: 52%; transform: translate(-50%, -50%); display: grid; justify-items: center; gap: .3rem; color: var(--muted); font-size: .9rem; }
.nl-center .ico { font-size: 2.2rem; color: var(--accent); }
.rw-logo { position: absolute; left: 50%; top: 52%; width: 30%; transform: translate(-50%, -50%); mix-blend-mode: lighten; }
.crm-plus { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin-top: 1.5rem; }
.crm-box { padding: .55rem 1rem; border-radius: var(--radius-s); border: 1.5px solid var(--ee); font-weight: 600; }
.crm-box--new { border-color: var(--nt); color: var(--nt); background: var(--accent-soft); }
.crm-op { font-family: var(--font-display); font-size: 1.6rem; color: var(--muted); }
.crm-note { color: var(--muted); font-size: .88rem; width: 100%; }

/* Inksights: Passform */
.fit { grid-template-columns: 1fr 1fr; gap: clamp(1rem, 3vw, 2.5rem); align-items: start; }
.fit-col { display: grid; justify-items: center; text-align: center; gap: .5rem; }
.fit-shape { position: relative; width: clamp(9rem, 17vw, 15rem); aspect-ratio: 1; border-radius: var(--radius-m); background: var(--bg-raised); border: 1px solid var(--line); margin-bottom: .6rem; }
.fit-hole { position: absolute; left: 22%; top: 22%; width: 56%; height: 56%; border-radius: 50%; border: 2px dashed var(--line-strong); }
.fit-hole--own { border-radius: 8px; border-color: var(--accent-mid); }
.fit-piece { position: absolute; width: 46%; height: 46%; border-radius: 6px; }
.fit-piece--bad { left: 46%; top: 8%; background: var(--line-strong); transform: rotate(18deg); }
.fit-piece--good { left: 27%; top: 27%; background: var(--accent); }
.slide.is-active .fit-piece--good { animation: dropFit 1s .5s var(--ease) both; }
@keyframes dropFit { from { transform: translate(40%, -70%) rotate(20deg); opacity: .4; } to { transform: none; opacity: 1; } }
.fit-label { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; display: flex; gap: .45rem; align-items: center; }
.fit-col--std .fit-label .ico { color: var(--muted); }
.fit-col--own .fit-label .ico { color: var(--accent); }
.fit-sub { color: var(--text-2); font-size: .92rem; max-width: 18ch; }

/* ---------- 12 Stromvertragscheck ---------- */
.sc-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem 2rem; flex-wrap: wrap; }
.sc-sub { color: var(--muted); margin-top: .4rem; }
.sc-line { display: grid; grid-template-columns: repeat(6, 1fr); margin: clamp(1.1rem, 3.5vh, 2.25rem) 0 1.25rem; position: relative; }
.sc-line::before { content: ""; position: absolute; left: calc(100% / 12); right: calc(100% / 12); top: 1.2rem; height: 2px; background: var(--line); }
.sc-line::after {
  content: ""; position: absolute; left: calc(100% / 12); top: 1.2rem; height: 2px; background: var(--accent);
  width: calc((100% - 100% / 6) * var(--progress, 0)); transition: width .6s var(--ease);
}
.sc-line li { display: grid; justify-items: center; text-align: center; gap: .5rem; position: relative; z-index: 1; padding: 0 .25rem; }
.sc-dot { width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--bg); border: 2px solid var(--line-strong); display: grid; place-items: center; color: var(--muted); font-size: 1.05rem; transition: background .3s, border-color .3s, transform .3s, color .3s; }
.sc-label { font-size: .85rem; color: var(--muted); line-height: 1.3; transition: color .3s; }
.sc-line li.is-done .sc-dot { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.sc-line li.is-current .sc-dot { border-color: var(--accent); color: var(--accent); box-shadow: 0 0 0 6px var(--accent-soft); transform: scale(1.12); }
.sc-line li.is-current .sc-label, .sc-line li.is-done .sc-label { color: var(--text); }
.sc-line li.is-skipped .sc-dot { border-style: dashed; opacity: .6; }

.sc-stage { min-height: clamp(16rem, 42vh, 25rem); border: 1px solid var(--line); border-radius: var(--radius-m); background: var(--bg-sunk); padding: clamp(1.25rem, 3vw, 2.25rem); display: grid; position: relative; overflow: hidden; }
.sc-view { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; animation: viewIn .5s var(--ease) both; }
@keyframes viewIn { from { opacity: 0; transform: translateY(.6rem); } to { opacity: 1; transform: none; } }
.sc-view--center { grid-template-columns: 1fr; justify-items: center; text-align: center; }
.sc-explain h3 { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.6rem, 2.4vw, 2.4rem); line-height: 1.1; }
.sc-explain p { color: var(--text-2); margin-top: .8rem; max-width: 42ch; }
.sc-explain .sc-caveat { color: var(--muted); font-size: .85rem; border-left: 2px solid var(--line-strong); padding-left: .8rem; }
.sc-view--center .sc-explain p { margin-left: auto; margin-right: auto; }

.sc-contracts { display: grid; gap: .4rem; }
.sc-contract { display: grid; grid-template-columns: 1fr auto auto; gap: 1rem; align-items: center; padding: .6rem .9rem; border: 1px solid var(--line); border-radius: var(--radius-s); background: var(--bg-raised); font-size: .9rem; position: relative; overflow: hidden; }
.sc-contract .sc-c-name { color: var(--text); }
.sc-contract .sc-c-meta { color: var(--muted); font-variant-numeric: tabular-nums; }
.sc-contract .sc-c-state { width: .7rem; height: .7rem; border-radius: 50%; border: 1.5px solid var(--line-strong); }
.sc-contract.is-checked .sc-c-state { background: var(--text-2); border-color: var(--text-2); }
.sc-contract.is-focus { border-color: var(--accent); }
.sc-contract.is-focus .sc-c-state { background: var(--accent); border-color: var(--accent); }
.sc-contract::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, var(--accent-soft), transparent); transform: translateX(-100%); }
.sc-scan .sc-contract::after { animation: scan .9s var(--ease) both; animation-delay: calc(var(--i) * .15s); }
@keyframes scan { to { transform: translateX(100%); } }

.sc-compare { display: grid; gap: .9rem; }
.sc-bar-row { display: grid; grid-template-columns: 8.5rem 1fr 5.5rem; gap: .8rem; align-items: center; font-size: .9rem; }
.sc-bar-row .lbl { color: var(--text-2); }
.sc-bar-row .val { text-align: right; font-variant-numeric: tabular-nums; color: var(--text); font-family: var(--font-display); font-size: 1.05rem; }
.sc-bar { height: .9rem; background: var(--line); border-radius: 2px; overflow: hidden; }
.sc-bar i { display: block; height: 100%; width: var(--w); background: var(--muted); transform-origin: left; animation: grow .7s var(--ease) both; animation-delay: calc(var(--i, 0) * .12s); }
.sc-bar-row.is-current i { background: var(--text-2); }
.sc-bar-row.is-best i { background: var(--accent); }
.sc-bar-row.is-best .val { color: var(--accent); }

.sc-checks { display: grid; gap: .45rem; }
.sc-check { display: grid; grid-template-columns: 1.6rem 9rem 1fr; gap: .6rem; align-items: center; padding: .55rem .2rem; border-bottom: 1px solid var(--line); font-size: .92rem; animation: viewIn .4s var(--ease) both; animation-delay: calc(var(--i) * .12s); }
.sc-check .ico { width: 1.15rem; height: 1.15rem; border-radius: 50%; display: grid; place-items: center; font-size: .7rem; font-weight: 700; stroke: none; fill: currentColor; }
.sc-check.ok .ico { background: var(--accent); color: var(--accent-ink); }
.sc-check.warn .ico { border: 1.5px solid var(--text-2); color: var(--text-2); }
.sc-check .k { color: var(--muted); }
.sc-check .v { color: var(--text); }

.sc-potential { text-align: center; padding: 1.5rem 2rem; border: 1px solid var(--accent); border-radius: var(--radius-m); background: var(--accent-soft); }
.sc-potential .amount { font-family: var(--font-display); font-weight: 700; font-size: clamp(3.5rem, 7vw, 6.5rem); line-height: 1; color: var(--accent); font-variant-numeric: tabular-nums; }
.sc-potential .per { color: var(--text); margin-top: .4rem; font-size: 1.1rem; }
.sc-potential .who { color: var(--muted); margin-top: 1rem; font-size: .85rem; }
.sc-potential--muted { border-color: var(--line-strong); background: var(--bg-raised); }
.sc-potential--muted .amount { color: var(--text-2); }

.sc-notify { width: 100%; max-width: 30rem; justify-self: center; border: 1px solid var(--line-strong); border-radius: var(--radius-m); background: var(--bg-raised); overflow: hidden; box-shadow: 0 1.5rem 3rem -1.5rem rgba(0,0,0,.7); animation: dropIn .6s var(--ease) both; }
@keyframes dropIn { from { opacity: 0; transform: translateY(-1rem) scale(.98); } to { opacity: 1; transform: none; } }
.sc-notify-head { display: flex; justify-content: space-between; gap: 1rem; padding: .8rem 1.2rem; border-bottom: 1px solid var(--line); font-size: .85rem; color: var(--muted); }
.sc-notify-head strong { color: var(--accent); font-weight: 600; }
.sc-notify dl { padding: .4rem 1.2rem 1rem; }
.sc-notify dl div { display: grid; grid-template-columns: 8.5rem 1fr; gap: .8rem; padding: .55rem 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.sc-notify dl div:last-child { border-bottom: 0; }
.sc-notify dt { color: var(--muted); }
.sc-recipients { display: flex; gap: .4rem; flex-wrap: wrap; margin-top: 1rem; }
.sc-recipient { font-size: .8rem; padding: .25rem .6rem; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); opacity: .55; }
.sc-recipient.is-target { border-color: var(--accent); color: var(--text); opacity: 1; }

.sc-advice { display: grid; gap: .5rem; }
.sc-advice-step { display: grid; grid-template-columns: 1.6rem 1fr; gap: .7rem; align-items: start; padding: .6rem 0; border-bottom: 1px solid var(--line); }
.sc-advice-step .ico { width: 1.15rem; height: 1.15rem; border-radius: 50%; border: 2px solid var(--accent); margin-top: .2rem; }
.sc-advice-step.not .ico { border-color: var(--muted); position: relative; }
.sc-advice-step.not .ico::after { content: ""; position: absolute; left: 50%; top: 50%; width: 120%; height: 2px; background: var(--muted); transform: translate(-50%, -50%) rotate(-45deg); }
.sc-advice-step.not span:last-child { color: var(--muted); }

.sc-final { display: grid; place-items: center; text-align: center; gap: 1rem; padding: 1rem; }
.sc-final h3 { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.8rem, 3vw, 3rem); line-height: 1.08; max-width: 22ch; text-wrap: balance; }
.sc-final p { color: var(--text-2); max-width: 52ch; }
.sc-start { display: grid; place-items: center; text-align: center; gap: 1rem; }
.sc-start p { color: var(--text-2); max-width: 50ch; }

.sc-controls { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; margin-top: 1.25rem; }
.sc-scenarios { margin-left: auto; display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; }
.sc-scenarios-label { color: var(--muted); font-size: .85rem; margin-right: .25rem; }
.chip { border: 1px solid var(--line-strong); background: transparent; border-radius: 999px; padding: .3rem .8rem; font-size: .82rem; color: var(--text-2); cursor: pointer; }
.chip:hover { border-color: var(--text-2); }
.chip[aria-checked="true"], .chip[aria-pressed="true"] { border-color: var(--accent); color: var(--text); background: var(--accent-soft); }

/* ---------- 13 Ablauf: Schwimmbahnen ---------- */
.lanes { display: grid; grid-template-columns: 7.5rem repeat(5, 1fr); grid-template-rows: auto auto; gap: .9rem .75rem; margin-top: clamp(1.25rem, 4vh, 2.5rem); position: relative; }
.lane-label { grid-column: 1; align-self: center; font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; }
.lane-label--ee { grid-row: 1; color: var(--ee); }
.lane-label--nt { grid-row: 2; color: var(--nt); }
.lane-track { grid-column: 2 / -1; align-self: center; height: 2px; position: relative; }
.lane-track--ee { grid-row: 1; background: linear-gradient(90deg, var(--ee) 0 40%, var(--line) 40%); opacity: .7; }
.lane-track--nt { grid-row: 2; background: linear-gradient(90deg, var(--line) 0 20%, var(--nt) 20%); }
.lane-step { position: relative; z-index: 1; display: grid; justify-items: center; text-align: center; gap: .45rem; padding: .9rem .6rem; border-radius: var(--radius-m); background: var(--bg-raised); }
.lane-step h3 { font-size: .98rem; font-weight: 600; line-height: 1.25; }
.lane-step p { font-size: .8rem; color: var(--muted); }
.lane-step--ee { grid-row: 1; border: 1.5px solid var(--ee); }
.lane-step--nt { grid-row: 2; border: 1.5px solid var(--nt); }
.lane-step--both { grid-row: 1 / 3; align-self: stretch; align-content: center; border: 1.5px dashed var(--text-2); background: linear-gradient(180deg, var(--bg-raised), var(--anthracite)); }
.lane-ico { width: 2.6rem; height: 2.6rem; border-radius: 50%; display: grid; place-items: center; font-size: 1.25rem; }
.lane-step--ee .lane-ico { border: 1.5px solid var(--ee); }
.lane-step--nt .lane-ico { background: var(--accent); color: var(--accent-ink); }
.lane-step--both .lane-ico { border: 1.5px dashed var(--text-2); color: var(--accent); }
.slide.is-active .lane-step { animation: pop .45s var(--ease) both; }
.slide.is-active .lane-step:nth-child(6) { animation-delay: .15s; }
.slide.is-active .lane-step:nth-child(7) { animation-delay: .3s; }
.slide.is-active .lane-step:nth-child(8) { animation-delay: .45s; }
.slide.is-active .lane-step:nth-child(9) { animation-delay: .6s; }
.ablauf-lower { display: grid; grid-template-columns: 1.6fr 1fr; gap: 2rem; margin-top: clamp(1.25rem, 4vh, 2.25rem); align-items: end; }
.ablauf-lower .footnote { margin: 0; }
.bubbles { display: flex; flex-wrap: wrap; gap: .5rem; }
.bubbles li { padding: .5rem .95rem; background: var(--bg-raised); border: 1px solid var(--line-strong); border-radius: 14px 14px 14px 4px; font-size: .95rem; }

/* ---------- 14 Preise ---------- */
.price-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 5vw, 5rem); align-items: end; }
.setup-bar { display: grid; grid-template-columns: 1.2fr 2fr 1.4fr; height: 1.1rem; border-radius: 999px; overflow: hidden; margin: 2rem 0 1rem; }
.setup-seg--small { background: var(--accent); }
.setup-seg--mid { background: linear-gradient(90deg, var(--accent), var(--accent-mid)); }
.setup-seg--large { background: repeating-linear-gradient(-45deg, var(--accent-mid) 0 .5rem, transparent .5rem 1rem); }
.slide.is-active .setup-bar { animation: grow 1.1s .2s var(--ease) both; transform-origin: left; }
.setup-marks { display: flex; justify-content: space-between; gap: 1rem; }
.setup-mark--end { text-align: right; }
.pr-value { font-size: clamp(1.35rem, 2.1vw, 2.2rem); white-space: nowrap; }
.pr-label { color: var(--muted); font-size: .88rem; margin-top: .2rem; }
.setup-hint { margin-top: 1.5rem; color: var(--text-2); display: flex; gap: .5rem; align-items: center; }
.setup-hint .ico { color: var(--accent); }
.stairs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; align-items: end; min-height: clamp(16rem, 44vh, 24rem); }
.stair { display: grid; grid-template-rows: auto auto auto auto; align-content: end; gap: .45rem; height: 100%; }
.stair-price { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.6rem, 2.4vw, 2.4rem); font-variant-numeric: tabular-nums; line-height: 1; }
.stair-price small { font-size: .5em; color: var(--muted); font-weight: 400; }
.stair-col { height: calc(var(--h) * clamp(6rem, 22vh, 13rem)); min-height: 1.5rem; border-radius: var(--radius-s) var(--radius-s) 0 0; background: linear-gradient(180deg, var(--accent), rgba(143, 169, 186, .45)); transform-origin: bottom; }
.stair-col--open { -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 1.5rem); mask-image: linear-gradient(180deg, transparent 0, #000 1.5rem); }
.slide.is-active .stair-col { animation: growY .8s var(--ease) both; animation-delay: calc(.3s + var(--i) * .15s); }
.stair-name { font-weight: 600; border-top: 1px solid var(--line-strong); padding-top: .55rem; }
.stair-focus { color: var(--text-2); font-size: .85rem; }

/* ---------- 15 Provision ---------- */
.prov-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem 2.5rem; flex-wrap: wrap; }
.prov-rates { display: flex; gap: 2rem; }
.prov-rate { display: flex; align-items: center; gap: .8rem; }
.prov-pct { font-size: clamp(2.8rem, 5vw, 5rem); line-height: 1; }
.prov-rate--lifetime .prov-pct { color: var(--accent); }
.prov-what { color: var(--text-2); font-size: .92rem; line-height: 1.35; }
.prov-what b { color: var(--text); }
.prov-body { display: grid; grid-template-columns: minmax(18rem, .85fr) 1.15fr; gap: clamp(1.5rem, 4vw, 3.5rem); margin-top: 1.5rem; align-items: start; }
.prov-calc { display: grid; gap: .9rem; padding: 1.2rem 1.4rem; background: var(--bg-raised); border: 1px solid var(--line); border-radius: var(--radius-m); }
.field { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: .35rem 1rem; border: 0; padding: 0; margin: 0; min-width: 0; }
.field label, .field legend { color: var(--text-2); font-size: .92rem; padding: 0; }
.field .field-combo, .field .chips, .field .num-input, .field .stepper { grid-column: 1 / -1; }
.field-combo { display: grid; grid-template-columns: 1fr 8rem; gap: 1rem; align-items: center; }
.num-input { display: inline-flex; align-items: center; gap: .4rem; border: 1px solid var(--line-strong); border-radius: var(--radius-s); padding: 0 .7rem; background: var(--bg); justify-self: start; }
.num-input:focus-within { border-color: var(--focus); }
.num-input input { width: 100%; min-width: 4.5rem; background: transparent; border: 0; padding: .4rem 0; font-variant-numeric: tabular-nums; text-align: right; outline: none; -moz-appearance: textfield; }
.num-input span { color: var(--muted); font-size: .85rem; white-space: nowrap; }
.field-combo .num-input { width: 100%; grid-column: auto; }
input[type="number"]::-webkit-inner-spin-button, input[type="number"]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; margin: .2rem 0 .4rem; }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: var(--radius-s); justify-self: start; }
.stepper input { width: 4rem; text-align: center; background: transparent; border: 0; padding: .4rem 0; font-variant-numeric: tabular-nums; -moz-appearance: textfield; }
.stepper input:focus-visible { outline: 2px solid var(--focus); outline-offset: 0; }
.stepper-btn { width: 2.3rem; height: 2.3rem; background: none; border: 0; cursor: pointer; font-size: 1.15rem; color: var(--text-2); }
.stepper-btn:hover { color: var(--text); }
.prov-out { display: grid; gap: 1rem; }
.prov-results { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.5rem; }
.prov-results .result-value { font-size: clamp(2rem, 3.2vw, 3.2rem); }
.prov-chart { display: grid; gap: .6rem; }
.pch-legend { display: flex; flex-wrap: wrap; gap: .3rem 1.25rem; font-size: .82rem; color: var(--muted); }
.pch-sum { margin-left: auto; color: var(--text-2); }
.pch-sum b { color: var(--text); font-family: var(--font-display); font-size: 1.05rem; }
.pch-bars { margin-top: 1.5rem; display: grid; grid-template-columns: repeat(12, 1fr); gap: .35rem; height: clamp(7rem, 20vh, 11rem); align-items: end; border-bottom: 1px solid var(--line-strong); position: relative; }
.pch-col { height: 100%; display: grid; grid-template-rows: 1fr; position: relative; }
.pch-stack { display: flex; flex-direction: column; justify-content: flex-end; height: 100%; }
.pch-stack span { display: block; height: calc(var(--h) * 100%); transform-origin: bottom; }
.pch-once { background: var(--text); border-radius: 3px 3px 0 0; position: relative; }
.pch-once.is-capped { background: linear-gradient(180deg, transparent 0 .35rem, var(--text) .35rem); }
.pch-once.is-capped::before { content: ""; position: absolute; left: -2px; right: -2px; top: .1rem; height: .5rem; background: repeating-linear-gradient(135deg, var(--bg) 0 3px, var(--text) 3px 5px); }
.pch-run { background: var(--accent); min-height: 2px; }
.pch-col:not(:first-child) .pch-run { border-radius: 3px 3px 0 0; }
.slide.is-active .pch-bars:not(.no-anim) .pch-stack span { animation: growY .6s var(--ease) both; animation-delay: calc(var(--i) * .05s); }
.pch-val { position: absolute; left: 0; bottom: calc(100% + .2rem); font-size: .78rem; color: var(--text); white-space: nowrap; font-variant-numeric: tabular-nums; }
.pch-m { position: absolute; top: calc(100% + .25rem); left: 50%; transform: translateX(-50%); font-size: .7rem; color: var(--muted); }
.prov-chart .note { margin-top: 1.1rem; }

/* ---------- 16 Abschluss ---------- */
.closing .display { font-size: clamp(2.2rem, 4.4vw, 4.6rem); max-width: 26ch; text-wrap: balance; }
.path { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: clamp(2rem, 6vh, 3.5rem); position: relative; }
.path::before { content: ""; position: absolute; left: 2.2rem; right: calc((100% - 4rem) / 3 - 2.2rem); top: 2.2rem; height: 2px; background: repeating-linear-gradient(90deg, var(--accent) 0 .6rem, transparent .6rem 1.1rem); }
.path li { position: relative; display: grid; gap: .5rem; align-content: start; }
.path-ico { width: 4.4rem; height: 4.4rem; border-radius: 50%; display: grid; place-items: center; font-size: 1.9rem; background: var(--bg); border: 2px solid var(--accent); color: var(--accent); margin-bottom: .5rem; }
.path h3 { font-size: 1.3rem; font-weight: 600; }
.path p { color: var(--text-2); max-width: 30ch; }
.slide.is-active .path li { animation: fadeUp .5s var(--ease) both; }
.slide.is-active .path li:nth-child(2) { animation-delay: .15s; }
.slide.is-active .path li:nth-child(3) { animation-delay: .3s; }
.closing-brand { display: flex; align-items: center; gap: 1.5rem; margin-top: clamp(2.5rem, 8vh, 5rem); }
.closing-line { flex: 1; height: 2px; background: var(--accent); max-width: 20rem; }

/* ---------- 17 Ausblick: Zeitstrahl ---------- */
.timeline { --span: 6; position: relative; margin: .5rem 0 1.75rem 7rem; padding-top: 1.75rem; }
.tl-axis { position: relative; height: 1.4rem; border-bottom: 1px solid var(--line-strong); }
.tl-axis span { position: absolute; left: calc(var(--x) / var(--span) * 100%); bottom: .3rem; font-size: .8rem; color: var(--muted); font-family: var(--font-display); }
.tl-axis span::after { content: ""; position: absolute; left: 0; top: 100%; height: .5rem; width: 1px; background: var(--line-strong); margin-top: .3rem; }
.tl-now { position: absolute; left: calc(var(--x) / var(--span) * 100%); top: 0; bottom: -.5rem; width: 0; border-left: 2px dashed var(--accent); z-index: 2; }
.tl-now span { position: absolute; top: 0; left: .4rem; font-size: .78rem; color: var(--accent); }
.tl-row { position: relative; min-height: 3.2rem; margin-top: .8rem; }
.tl-name { position: absolute; right: calc(100% + 1rem); top: .6rem; font-weight: 600; font-size: .92rem; white-space: nowrap; }
.tl-bar { position: absolute; left: calc(var(--from) / var(--span) * 100%); width: calc((var(--to) - var(--from)) / var(--span) * 100%); height: 1.4rem; border-radius: 0 999px 999px 0; display: flex; align-items: center; padding: 0 .6rem; font-size: .76rem; white-space: nowrap; }
.tl-bar--ended { top: 0; background: var(--line); color: var(--text-2); }
.tl-bar--kompass { top: 1.65rem; background: linear-gradient(90deg, transparent, var(--accent-mid) 2rem); color: var(--text); }
.tl-row--fund { min-height: 3.2rem; }
.tl-event { position: absolute; left: calc(var(--x) / var(--span) * 100%); top: .2rem; display: flex; gap: .5rem; align-items: flex-start; transform: translateX(-.45rem); }
.tl-dot { width: .9rem; height: .9rem; border-radius: 50%; background: var(--accent); flex: none; margin-top: .15rem; }
.tl-text { font-size: .78rem; color: var(--text-2); line-height: 1.3; white-space: nowrap; }
.outlook { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.25rem, 3vw, 2.5rem); }
.outlook article { border-top: 1px solid var(--line-strong); padding-top: .9rem; display: grid; gap: .6rem; align-content: start; }
.outlook article .tag { justify-self: start; }
.outlook h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.45rem; display: flex; gap: .5rem; align-items: center; }
.outlook h3 .ico { color: var(--accent); }
.outlook p { color: var(--text-2); font-size: .92rem; }
.outlook .src { font-size: .76rem; color: var(--muted); }
.outlook .src a { color: var(--text-2); }

/* ---------- Notizen ---------- */
.notes-panel {
  position: fixed; right: 1rem; bottom: calc(var(--chrome-h) + .75rem); z-index: 20;
  width: min(28rem, calc(100vw - 2rem)); max-height: calc(100vh - 2 * var(--chrome-h) - 1.5rem); overflow: auto;
  background: var(--bg-raised); border: 1px solid var(--line-strong); border-radius: var(--radius-m);
  padding: 1rem 1.2rem; box-shadow: 0 1.5rem 3rem -1rem rgba(0,0,0,.8); font-size: .9rem;
}
.notes-panel[hidden] { display: none; }
.notes-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: .6rem; }
.notes-head h2 { font-size: 1rem; }
.notes-body div { padding: .5rem 0; border-top: 1px solid var(--line); }
.notes-body dt { color: var(--muted); font-size: .78rem; }
.notes-body dd { color: var(--text); margin-top: .15rem; }
#noteTime { color: var(--accent); font-family: var(--font-display); font-size: 1.1rem; }
.notes-total { color: var(--muted); font-size: .78rem; margin-top: .6rem; }

/* ---------- Dialoge ---------- */
dialog {
  background: var(--bg-raised); color: var(--text); border: 1px solid var(--line-strong); border-radius: var(--radius-m);
  padding: 1.5rem 1.75rem; max-width: min(36rem, calc(100vw - 2rem)); box-shadow: 0 2rem 4rem -1rem rgba(0,0,0,.9);
}
dialog::backdrop { background: rgba(5, 6, 7, .72); }
.overview { width: min(46rem, calc(100vw - 2rem)); max-width: none; max-height: calc(100vh - 3rem); }
.overview-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.overview-head h2 { font-family: var(--font-display); font-size: 1.5rem; }
.ov-group { display: grid; grid-template-columns: 9rem 1fr; gap: 1rem; padding: .7rem 0; border-top: 1px solid var(--line); }
.ov-group h3 { font-size: .85rem; color: var(--muted); font-weight: 400; padding-top: .3rem; }
.ov-group ol { display: grid; gap: .1rem; }
.ov-link { display: grid; grid-template-columns: 2rem 1fr; gap: .5rem; text-decoration: none; padding: .3rem .5rem; border-radius: var(--radius-s); color: var(--text-2); font-size: .95rem; }
.ov-link span:first-child { color: var(--muted); font-variant-numeric: tabular-nums; font-family: var(--font-display); }
.ov-link:hover { background: var(--bg); color: var(--text); }
.ov-link[aria-current="true"] { color: var(--text); background: var(--accent-soft); }
.ov-link[aria-current="true"] span:first-child { color: var(--accent); }
.demo-dialog h2 { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: .75rem; }
.demo-dialog p { color: var(--text-2); }
.demo-dialog .note { margin-top: .75rem; }
.dialog-actions { margin-top: 1.5rem; display: flex; justify-content: flex-end; }

.print-only { display: none; }

/* ---------- Kleinere Fenster ---------- */
@media (max-width: 1100px) {
  .split, .demo, .prov-body, .price-grid, .calc-lower, .ablauf-lower { grid-template-columns: 1fr; }
  .demo-visual { min-height: 0; max-width: 32rem; }
  .equation { grid-template-columns: 1fr auto 1fr; }
  .equation .eq-op:nth-of-type(2) { display: none; }
  .eq-result { grid-column: 1 / -1; }
  .weight { grid-template-columns: 1fr 1fr; }
  .wt--main { grid-column: 1 / -1; }
  .cases { grid-template-columns: 1fr; }
  .lanes { grid-template-columns: 6rem repeat(5, minmax(0, 1fr)); }
  .lane-step h3 { font-size: .85rem; }
}
@media (max-width: 800px) {
  :root { --chrome-h: 3rem; }
  .chapter-indicator { display: none; }
  .duo { grid-template-columns: 1fr; gap: 1.5rem; }
  .duo-wires { display: none; }
  .duo-side { display: grid; gap: 1rem; justify-items: start; }
  .duo-side .duo-skills, .duo-side .mark, .duo-logo, .duo-center { grid-column: 1; grid-row: auto; justify-self: start; justify-items: start; }
  .duo-center p { position: static; transform: none; width: auto; }
  .duo-side--nt { justify-items: start; text-align: left; }
  .duo-side--nt .duo-skills li { flex-direction: row; }
  .weight { grid-template-columns: 1fr; }
  .equation { grid-template-columns: 1fr; }
  .eq-op { display: none; }
  .legend { flex-direction: column; }
  .route { grid-template-columns: 1fr; gap: 1rem; }
  .route::before, .route::after { display: none; }
  .route a { grid-template-columns: auto 1fr; justify-items: start; text-align: left; column-gap: 1rem; }
  .route-stop { grid-row: span 3; width: 3.5rem; height: 3.5rem; font-size: 1.4rem; margin: 0; }
  .fit { grid-template-columns: 1fr 1fr; }
  .case-ba { grid-template-columns: 1fr; }
  .case-ba-arrow { display: none; }
  .lanes { display: grid; grid-template-columns: 1fr; }
  .lane-label, .lane-track { display: none; }
  .lane-step, .lane-step--both { grid-column: 1 !important; grid-row: auto; }
  .stairs { gap: .5rem; }
  .prov-rates { flex-direction: column; gap: .75rem; }
  .prov-results { grid-template-columns: 1fr; }
  .path { grid-template-columns: 1fr; }
  .path::before { display: none; }
  .timeline { margin-left: 0; overflow-x: auto; }
  .tl-name { position: static; margin-bottom: .3rem; }
  .outlook { grid-template-columns: 1fr; }
  .sc-view { grid-template-columns: 1fr; }
  .sc-label { font-size: .7rem; }
  .sc-dot { width: 1.9rem; height: 1.9rem; font-size: .9rem; }
  .sc-scenarios { margin-left: 0; }
  .ov-group { grid-template-columns: 1fr; gap: .2rem; }
  .chrome-btn { padding: .3rem .45rem; font-size: .78rem; }
}
@media (max-height: 760px) and (min-width: 801px) {
  .slide-inner { padding-top: 1rem; padding-bottom: 1.25rem; }
  .lede { margin-top: .5rem; }
  .calc-head { margin-bottom: 1.1rem; }
  .footnote { margin-top: 1rem; }
}

/* ---------- Reduzierte Bewegung ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-delay: 0s !important; transition-duration: 1ms !important; }
  .slide.is-active .intro-pulse { animation: none; }
}

/* ---------- Druck / PDF ---------- */
@media print {
  @page { size: A4 landscape; margin: 12mm; }
  :root { --bg: #fff; --bg-raised: #f4f6f7; --bg-sunk: #f4f6f7; --line: #d5dadd; --line-strong: #b5bcc1; --text: #111; --text-2: #333; --muted: #5c656b; --accent: #4d6779; --accent-soft: #e6edf1; --accent-mid: #a9bcc8; --accent-ink: #fff; }
  html { font-size: 10.5pt; }
  body { display: block; height: auto; overflow: visible; background: #fff; }
  .chrome-top, .chrome-bottom, .notes-panel, dialog, .skip-link, .sc-controls, .sc-stage, .demo-actions, .text-btn, .intro-pulse { display: none !important; }
  .deck { overflow: visible; }
  .slide { position: static; visibility: visible !important; opacity: 1 !important; overflow: visible; display: block; break-after: page; page-break-after: always; }
  .slide:last-child { break-after: auto; }
  .slide-inner { animation: none !important; max-width: none; padding: 0; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .intro-link-line, .wire, .nl-arc { stroke-dashoffset: 0; }
  .ee-logo, .duo-logo, .rw-logo { mix-blend-mode: normal; filter: invert(1); }
  .print-only { display: block; }
  .sc-print { margin-top: 1rem; }
  .sc-print ol { list-style: decimal; padding-left: 1.4rem; display: grid; gap: .4rem; }
  .sc-print p { margin-top: .6rem; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .8em; color: var(--muted); word-break: break-all; }
  .display { font-size: 30pt; } .headline { font-size: 22pt; } .demo-name { font-size: 32pt; }
  .result-value, .prov-pct, .eq-big { font-size: 24pt; }
  .weight { min-height: 0; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
