/* =====================================================================
   CHERUS ENERGY – Stylesheet (mobile-first)
   Energy-Tech: Waldschwarz · Anthrazit · Waldgrün · Energie-Gelb als Impuls
   Breakpoints: 600px (Tablet hoch) · 900px (Tablet quer/Desktop) · 1180px (Desktop-Navigation)
   ===================================================================== */

@font-face { font-family: "Plex Cond"; src: url("../fonts/plex-sanscondensed-semibold.woff2") format("woff2"); font-weight: 600; font-display: optional; }
@font-face { font-family: "Plex Cond"; src: url("../fonts/plex-sanscondensed-medium.woff2") format("woff2"); font-weight: 500; font-display: optional; }
@font-face { font-family: "Plex Sans"; src: url("../fonts/plex-sans-regular.woff2") format("woff2"); font-weight: 400; font-display: optional; }
@font-face { font-family: "Plex Sans"; src: url("../fonts/plex-sans-semibold.woff2") format("woff2"); font-weight: 600; font-display: optional; }
@font-face { font-family: "Plex Mono"; src: url("../fonts/plex-mono-regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url("../fonts/plex-mono-medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  color-scheme: dark;
  /* Flächen */
  --night: #070b09;          /* Grundfläche, fast schwarz mit Grünstich */
  --night-2: #0b120e;
  --anth: #111815;           /* Anthrazit */
  --anth-2: #17201c;
  --forest: #0f2a1d;         /* Waldgrün dunkel */
  --forest-2: #164030;
  --glass: rgba(22, 32, 27, .66);
  /* Text */
  --text: #e8eee9;
  --text-2: #bfcbc3;
  --muted: #8a998f;
  /* Linien */
  --line: rgba(232, 238, 233, .09);
  --line-2: rgba(232, 238, 233, .16);
  /* Akzente */
  --green: #3fae6a;
  --green-2: #5cc585;
  --green-ink: #06140c;
  --green-soft: rgba(63, 174, 106, .12);
  --volt: #f5c542;           /* Energie-Impuls */
  --volt-2: #ffd96b;
  --volt-soft: rgba(245, 197, 66, .12);
  --volt-glow: rgba(245, 197, 66, .45);
  --red: #ff8a7a;

  --font-display: "Plex Cond", "Arial Narrow", "Roboto Condensed", system-ui, sans-serif;
  --font-body: "Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --radius: 14px;
  --radius-lg: 22px;
  --gutter: 20px;
  --section: clamp(64px, 10vw, 128px);
  --header-h: 68px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); background: var(--night); }
body {
  margin: 0; background: var(--night); color: var(--text);
  font: 400 1.0625rem/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--green-2); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--volt-2); }
:focus-visible { outline: 2px solid var(--volt); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--volt); color: var(--green-ink); }

h1, h2, h3, .h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.06; letter-spacing: -.01em; margin: 0 0 .55em; color: var(--text); text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 1.6rem + 4.2vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 1.35rem + 2.4vw, 3.1rem); }
h3, .h3 { font-size: 1.28rem; line-height: 1.2; letter-spacing: 0; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; }
strong { font-weight: 600; color: var(--text); }
.lead { font-size: clamp(1.08rem, 1rem + .45vw, 1.28rem); color: var(--text-2); max-width: 42rem; }
.muted { color: var(--muted); }
.center { text-align: center; }
.left { text-align: left; }
.note { font-size: .92rem; color: var(--muted); }
.mono { font-family: var(--font-mono); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--volt); color: var(--green-ink); padding: 10px 16px; border-radius: 8px; font-weight: 600; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 840px; }
.icon { width: 1.25em; height: 1.25em; flex: none; }

/* Platzhalter – intern gut sichtbar markiert */
mark.ph { background: rgba(245, 197, 66, .16); color: var(--volt-2); padding: .05em .35em; border-radius: 4px; outline: 1px dashed rgba(245, 197, 66, .6); font: 500 .86em/1.4 var(--font-mono); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6em; margin: 0 0 1rem;
  font: 500 .76rem/1.2 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--green-2);
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; }
.eyebrow .icon { display: none; }
.eyebrow--light, .eyebrow--volt { color: var(--volt); }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 50px; padding: .8rem 1.35rem; border-radius: 10px; border: 1px solid transparent;
  font: 600 1rem/1.2 var(--font-body); text-decoration: none; cursor: pointer; letter-spacing: .005em;
  transition: background-color .2s, color .2s, border-color .2s, box-shadow .25s, transform .2s var(--ease);
}
.btn .icon { width: 1.1em; height: 1.1em; transition: transform .2s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn--lg { min-height: 56px; padding: .95rem 1.6rem; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn--primary, .btn--sun {
  background: var(--volt); color: var(--green-ink);
  box-shadow: 0 0 0 1px rgba(255, 217, 107, .5) inset, 0 8px 28px -8px var(--volt-glow);
}
.btn--primary:hover, .btn--sun:hover { background: var(--volt-2); color: var(--green-ink); box-shadow: 0 0 0 1px rgba(255, 217, 107, .7) inset, 0 10px 36px -6px var(--volt-glow); }
.btn--ghost { background: rgba(232, 238, 233, .04); color: var(--text); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--green); color: var(--text); background: var(--green-soft); }
.btn--link { padding-left: 0; padding-right: 0; min-height: 44px; color: var(--green-2); background: none; }
.btn--link:hover { color: var(--volt-2); }

/* ---------- Header / Navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7, 11, 9, .78);
  -webkit-backdrop-filter: saturate(140%) blur(14px); backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.logo:hover { color: var(--text); }
.logo__mark { width: 36px; height: 36px; }
.logo__text { display: flex; flex-direction: column; line-height: 1; white-space: nowrap; }
.logo__text strong { font: 600 1.3rem/1 var(--font-display); letter-spacing: .06em; }
.logo__text span { font: 500 .66rem/1.2 var(--font-mono); letter-spacing: .42em; color: var(--volt); margin-top: 3px; }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 10px; border: 1px solid var(--line-2);
  background: transparent; color: var(--text); cursor: pointer;
}
.nav-toggle .icon { width: 24px; height: 24px; }
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }

.site-nav { display: none; }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav a:not(.btn) { color: var(--text-2); text-decoration: none; font-weight: 500; }
.site-nav a:not(.btn):hover, .site-nav a[aria-current="page"] { color: var(--text); }
.site-nav.is-open {
  display: block; position: absolute; left: 0; right: 0; top: 100%;
  background: rgba(7, 11, 9, .97); border-bottom: 1px solid var(--line);
  padding: 8px var(--gutter) 24px; max-height: calc(100vh - var(--header-h)); overflow-y: auto;
}
.site-nav.is-open li a { display: block; padding: 15px 2px; border-bottom: 1px solid var(--line); font-size: 1.1rem; }
.site-nav__cta { width: 100%; margin-top: 18px; }

@media (min-width: 1180px) {
  .nav-toggle { display: none; }
  .site-nav { display: flex; align-items: center; gap: 26px; position: static; padding: 0; background: none; border: 0; max-height: none; overflow: visible; }
  .site-nav ul { display: flex; gap: 22px; white-space: nowrap; }
  .site-nav li a { position: relative; padding: 8px 0 !important; border: 0 !important; font-size: .95rem !important; }
  .site-nav li a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--volt); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); box-shadow: 0 0 8px var(--volt-glow); }
  .site-nav li a:hover::after, .site-nav li a[aria-current="page"]::after { transform: scaleX(1); }
  .site-nav__cta { width: auto; margin: 0; min-height: 44px; padding: .6rem 1.05rem; font-size: .93rem; white-space: nowrap; }
}

@media (min-width: 1180px) and (max-width: 1299px) {
  .site-nav { gap: 16px; }
  .site-nav ul { gap: 15px; }
  .site-nav li a { font-size: .9rem !important; }
  .site-nav__cta { padding: .55rem .85rem; font-size: .88rem; }
}

/* ---------- Energie-Leiste links (Scrollfortschritt, Desktop) ---------- */
.energy-spine { display: none; }
@media (min-width: 1280px) {
  .energy-spine { display: block; position: fixed; left: 24px; top: calc(var(--header-h) + 24px); bottom: 24px; width: 1px; background: var(--line); z-index: 5; pointer-events: none; }
  .energy-spine__fill { position: absolute; inset: 0; background: linear-gradient(var(--green), var(--volt)); transform-origin: top; transform: scaleY(var(--p, 0)); }
  .energy-spine__tip { position: absolute; left: -3px; top: calc(var(--p, 0) * 100%); width: 7px; height: 7px; border-radius: 50%; background: var(--volt); box-shadow: 0 0 12px 3px var(--volt-glow); transform: translateY(-50%); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(40px, 8vw, 96px) 0 clamp(72px, 10vw, 128px);
  background:
    radial-gradient(60% 55% at 82% 8%, rgba(245, 197, 66, .16), transparent 70%),
    radial-gradient(50% 60% at 10% 100%, rgba(63, 174, 106, .16), transparent 70%),
    linear-gradient(180deg, var(--forest) 0%, var(--night-2) 70%, var(--night) 100%);
}
.hero__grid-bg {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(80% 70% at 70% 30%, #000 20%, transparent 75%); mask-image: radial-gradient(80% 70% at 70% 30%, #000 20%, transparent 75%);
  opacity: .55;
}
.hero__sun {
  position: absolute; z-index: -1; right: -8vw; top: -10vw; width: min(62vw, 720px); aspect-ratio: 1; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(255, 217, 107, .55) 0%, rgba(245, 197, 66, .22) 22%, rgba(245, 197, 66, .06) 45%, transparent 66%);
  will-change: transform;
}
.hero__inner { display: grid; gap: 40px; align-items: end; }
.hero__kicker { font: 500 .78rem/1.4 var(--font-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--text-2); margin: 0 0 22px; display: flex; flex-wrap: wrap; gap: 6px 14px; }
.hero__kicker span { display: inline-flex; align-items: center; gap: 8px; }
.hero__kicker span + span::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--volt); box-shadow: 0 0 8px var(--volt); }
.hero__brand { font: 600 clamp(3.3rem, 1.6rem + 9vw, 8.6rem)/.86 var(--font-display); letter-spacing: .01em; margin: 0 0 .18em; text-transform: uppercase; }
.hero__brand span { display: block; color: transparent; -webkit-text-stroke: 1px rgba(232, 238, 233, .55); letter-spacing: .07em; font-weight: 500; }
.hero__claim { font: 500 clamp(1.5rem, 1.1rem + 1.8vw, 2.4rem)/1.15 var(--font-display); color: var(--volt); margin: 0 0 .7em; text-shadow: 0 0 28px rgba(245, 197, 66, .25); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin: 30px 0 0; }
.hero__metrics { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.hero__metrics li { background: rgba(7, 11, 9, .72); padding: 18px 18px 16px; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.metric__value { display: block; font: 600 clamp(1.7rem, 1.3rem + 1.4vw, 2.3rem)/1 var(--font-display); color: var(--text); font-variant-numeric: tabular-nums; }
.metric__value small { font: 500 .8rem var(--font-mono); color: var(--muted); margin-left: 4px; letter-spacing: .04em; }
.metric__label { display: block; font-size: .84rem; color: var(--muted); margin-top: 6px; line-height: 1.35; }
.hero__foot { font: 400 .75rem/1.4 var(--font-mono); color: var(--muted); margin: 14px 0 0; }
.hero__scroll { display: flex; align-items: center; gap: 14px; margin-top: 44px; font: 500 .74rem/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); text-decoration: none; }
.hero__scroll:hover { color: var(--text); }
.hero__scroll-line { position: relative; width: 1px; height: 56px; background: var(--line-2); overflow: hidden; }
.hero__scroll-line::after { content: ""; position: absolute; left: -1px; top: 0; width: 3px; height: 14px; border-radius: 2px; background: var(--volt); box-shadow: 0 0 10px var(--volt); animation: drop 2.2s var(--ease) infinite; }
@keyframes drop { 0% { transform: translateY(-16px); opacity: 0; } 20% { opacity: 1; } 100% { transform: translateY(56px); opacity: 0; } }

@media (min-width: 900px) {
  .hero__inner { grid-template-columns: 1.35fr 1fr; gap: 56px; }
  .hero__metrics { align-self: end; }
}

/* ---------- Sektionen & weiche Übergänge ---------- */
.section { position: relative; padding: var(--section) 0; }
/* Anthrazit-Band mit weichen Kanten statt harter Blockgrenzen */
.section--sand, .section--anth {
  background: linear-gradient(180deg, var(--night) 0, var(--anth) 140px, var(--anth) calc(100% - 140px), var(--night) 100%);
}
/* Waldgrün-Band */
.section--green, .section--forest {
  background:
    radial-gradient(70% 60% at 50% 0%, rgba(63, 174, 106, .14), transparent 70%),
    linear-gradient(180deg, var(--night) 0, var(--forest) 160px, var(--forest) calc(100% - 160px), var(--night) 100%);
}
.section__head { max-width: 46rem; margin-bottom: clamp(32px, 4vw, 56px); }
.section__head p:last-child { margin-bottom: 0; color: var(--text-2); }
.section__more { margin: 32px 0 0; }

/* Energie-Verbindung zwischen zwei Sektionen */
.link-line { position: relative; height: 96px; margin: -48px auto; width: 1px; z-index: 2; background: linear-gradient(var(--line), var(--line-2), var(--line)); }
.link-line::after { content: ""; position: absolute; left: -1px; top: 0; width: 3px; height: 18px; border-radius: 2px; background: var(--volt); box-shadow: 0 0 10px var(--volt); animation: drop-link 2.6s var(--ease) infinite; }
@keyframes drop-link { 0% { transform: translateY(-18px); opacity: 0; } 25% { opacity: 1; } 100% { transform: translateY(96px); opacity: 0; } }

.split { display: grid; gap: 44px; align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: 72px; }
  .split--reverse > :first-child { order: 2; }
}
.prose h2 { margin-top: 0; }
.prose h3 { margin-top: 1.6em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .35em; }
.prose p, .prose li { color: var(--text-2); }

/* ---------- Karten ---------- */
.cards { display: grid; gap: 14px; }
@media (min-width: 600px) { .cards--2, .cards--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .cards--3 { grid-template-columns: repeat(3, 1fr); } .cards { gap: 18px; } }
.card {
  position: relative; background: linear-gradient(180deg, rgba(232, 238, 233, .045), rgba(232, 238, 233, .015));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
  transition: border-color .3s, transform .3s var(--ease), background-color .3s;
}
.card:hover { border-color: var(--line-2); }
.card p { color: var(--text-2); }
.card p:last-child { margin-bottom: 0; }
.card h3 { margin-bottom: .45em; }
.card__icon { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 10px; border: 1px solid rgba(63, 174, 106, .35); background: var(--green-soft); color: var(--green-2); margin-bottom: 18px; }
.card__icon .icon { width: 22px; height: 22px; }
.card--note { background: var(--volt-soft); border-color: rgba(245, 197, 66, .3); }
.card--note h3 { display: flex; align-items: center; gap: 8px; color: var(--volt-2); }

.media-card { position: relative; }
.media-card__img { width: 100%; border-radius: var(--radius-lg); aspect-ratio: 4 / 3; object-fit: cover; background: var(--anth-2); border: 1px solid var(--line); }
.media-card--portrait .media-card__img { aspect-ratio: 9 / 11; max-height: 620px; }

.checklist { list-style: none; padding: 0; margin: 0 0 1.2em; display: grid; gap: 10px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; color: var(--text-2); }
.checklist .icon { color: var(--volt); margin-top: .22em; width: 1.1em; height: 1.1em; }
.checklist--sm { font-size: .93rem; margin: 0; }
.plain-list { padding-left: 1.15em; margin: 0 0 1em; color: var(--text-2); }
.plain-list li { margin-bottom: .35em; }

/* ---------- Kennzahlen ---------- */
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stats > div { background: var(--night); padding: 22px 20px; }

/* =====================================================================
   Energiefluss-Story (scrollgesteuert)
   ===================================================================== */
.story { position: relative; background: linear-gradient(180deg, var(--night) 0%, #050806 50%, var(--night) 100%); padding: clamp(56px, 8vw, 104px) 0 0; }
.story__intro { max-width: 44rem; margin-bottom: 28px; }
.story__body { position: relative; display: grid; }
.story__stage {
  position: sticky; top: var(--header-h); z-index: 2;
  height: auto; padding: 8px 0 12px;
  background: linear-gradient(180deg, #050806 88%, rgba(5, 8, 6, 0));
}
.story__stage { display: flex; align-items: center; justify-content: center; }
.story__frame { position: relative; width: 100%; max-width: var(--fw, 100%); aspect-ratio: 860 / 600; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: radial-gradient(120% 90% at 50% 0%, #0d1812, #060a08 70%); }
@supports not (aspect-ratio: 1) { .story__frame { height: 100%; } }
.story__svg { width: 100%; height: 100%; }
.story__steps { list-style: none; margin: 0; padding: 0 0 22vh; position: relative; z-index: 1; }
.story-step { min-height: 72svh; display: flex; align-items: flex-start; padding-top: 6vh; }
.story-step__card {
  max-width: 30rem; background: var(--glass); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 22px; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: border-color .4s, opacity .4s;
  opacity: .55;
}
.story-step.is-active .story-step__card { opacity: 1; border-color: rgba(245, 197, 66, .35); }
.story-step__n { display: block; font: 500 .72rem/1 var(--font-mono); letter-spacing: .14em; color: var(--volt); margin-bottom: 10px; }
.story-step h3 { font-size: 1.45rem; }
.story-step p { color: var(--text-2); margin: 0; }

/* HUD über der Grafik */
.hud { position: absolute; left: 12px; top: 12px; display: grid; gap: 4px; padding: 10px 12px; border-radius: 10px; background: rgba(5, 8, 6, .72); border: 1px solid var(--line); font: 400 .68rem/1.3 var(--font-mono); color: var(--muted); min-width: 150px; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.hud__row { display: flex; justify-content: space-between; gap: 14px; }
.hud__row b { font-weight: 500; color: var(--text); font-variant-numeric: tabular-nums; transition: color .3s; }
.hud__row.is-on b { color: var(--volt); }
.hud__note { font-size: .6rem; opacity: .75; margin-top: 2px; }
.hud__time { color: var(--green-2); letter-spacing: .1em; }
@media (max-width: 599px) {
  .story__frame { aspect-ratio: 840 / 560; }
  .hud { left: 0; right: 0; top: auto; bottom: 0; min-width: 0; border-radius: 0; border-width: 1px 0 0; grid-template-columns: repeat(4, 1fr); gap: 2px 8px; padding: 7px 10px; font-size: .6rem; }
  .hud__row { flex-direction: column; gap: 0; }
  .hud__row:nth-child(4), .hud__row:nth-child(5), .hud__row:nth-child(6) { display: none; }
  .hud__note { display: none; }
}

/* SVG-Elemente */
.st-track { fill: none; stroke: rgba(232, 238, 233, .1); stroke-width: 2; }
.st-flow { fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.st-flow--dc { stroke: var(--volt); filter: drop-shadow(0 0 4px rgba(245, 197, 66, .6)); }
.st-flow--ac { stroke: var(--green-2); filter: drop-shadow(0 0 4px rgba(92, 197, 133, .5)); }
.st-flow--grid { stroke: var(--volt); stroke-dasharray: 2 6; }
.st-flow--ctrl { stroke: var(--volt); stroke-width: 1.2; stroke-dasharray: 3 5; opacity: .9; }
.st-track--ctrl { stroke-dasharray: 3 5; stroke-width: 1.2; }
.st-label--brand { fill: var(--text-2); }
.st-label--in { font-size: 11px; }
.st-line { fill: none; stroke: rgba(232, 238, 233, .34); stroke-width: 1.4; }
.st-fill { fill: #0c1510; }
.st-label { font: 500 12.5px var(--font-mono); letter-spacing: .1em; fill: var(--muted); transition: fill .4s; }
.st-node { transition: opacity .5s, transform .5s var(--ease); }
.st-node .st-box { fill: #0f1a14; stroke: rgba(232, 238, 233, .3); stroke-width: 1.3; transition: stroke .4s, fill .4s; }
.st-node.is-on .st-box { stroke: var(--green-2); fill: #11251a; }
.st-node.is-hot .st-box { stroke: var(--volt); fill: #231f0c; }
.st-node.is-on .st-label, .st-node.is-hot .st-label { fill: var(--text); }
.st-glow { opacity: 0; transition: opacity .5s; }
.is-hot > .st-glow, .is-on > .st-glow { opacity: 1; }
.st-panel { fill: #131d25; stroke: rgba(160, 190, 210, .25); stroke-width: .6; transition: fill .6s; }
.st-panels.is-on .st-panel { fill: #1d2f3a; }
.st-panels.is-hot .st-panel { fill: #3b3a1a; }
.st-ray { stroke: var(--volt); stroke-width: 1.4; stroke-dasharray: 3 7; opacity: 0; transition: opacity .6s; }
.st-rays.is-on .st-ray { opacity: .75; }
.st-sun { transition: transform 1s var(--ease), opacity 1s; transform-box: fill-box; transform-origin: center; }
.st-night { opacity: 0; transition: opacity 1s; pointer-events: none; }
.st-window { fill: #16211b; transition: fill 1s; }
.is-evening .st-window { fill: #d9b04a; }
.is-evening .st-sun { opacity: .15; transform: translateY(90px) scale(.8); }
.is-evening .st-night { opacity: 1; }
.st-flow { transition: opacity .6s; }
.is-evening .st-flow--dc, .is-evening #flow-wp, .is-evening #flow-wb, .is-evening #flow-bat { opacity: .25; }
.is-evening .st-flow--grid { opacity: .25 !important; }
.st-pulse { fill: var(--volt-2); }
.st-pulse--ac { fill: #9ff0bd; }
.st-halo { fill: var(--volt); opacity: .25; }
.st-halo--ac { fill: var(--green-2); }

@media (min-width: 900px) {
  .story__body { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; }
  .story__stage { --sh: min(calc(100svh - var(--header-h) - 48px), 720px); --fw: calc(var(--sh) * 1.4333); grid-column: 2; grid-row: 1; height: var(--sh); top: calc(var(--header-h) + 24px); padding: 0; background: none; }
  .story__steps { grid-column: 1; grid-row: 1; padding: 10vh 0 30vh; }
  .story-step { min-height: 80svh; align-items: center; padding: 0; }
  .hud { font-size: .74rem; left: auto; right: 16px; top: 16px; min-width: 190px; }
}

/* Statische Darstellung (ohne JS / reduzierte Bewegung) */
.story--static .story__stage { position: relative; top: auto; height: auto; aspect-ratio: 860 / 600; max-height: none; }
.story--static .story-step { min-height: 0; padding: 12px 0; }
.story--static .story-step__card { opacity: 1; }
.story--static .story__steps { padding: 24px 0 64px; display: grid; gap: 4px; }
.story--static .st-node .st-box { stroke: var(--green-2); }
.story--static .st-ray { opacity: .7; }
.story--static .st-panel { fill: #1d2f3a; }
.story-step__cta { margin-top: 16px !important; }
@media (max-width: 899px) { .st-flow { filter: none !important; } }

/* =====================================================================
   Technologie / Komponenten
   ===================================================================== */
.tech { background: linear-gradient(180deg, var(--night) 0, var(--anth) 160px, var(--forest) 100%); }
.specs { margin: 12px 0 0; display: grid; border-top: 1px solid var(--line); }
.specs > div { display: grid; gap: 3px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
.specs dt { color: var(--muted); font-family: var(--font-mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; }
.specs dd { margin: 0; color: var(--text); overflow-wrap: anywhere; }

/* Systemübersicht (Energiekette) */
.system { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: 22px; --fill: 0; }
.system::before, .system::after { content: ""; position: absolute; left: 11px; top: 14px; bottom: 14px; width: 1px; background: var(--line-2); }
.system::after { background: linear-gradient(var(--volt), var(--green)); transform-origin: top; transform: scaleY(var(--fill)); box-shadow: 0 0 10px var(--volt-glow); }
.stage { position: relative; display: grid; gap: 12px; padding-left: 40px; }
.stage__node { position: absolute; left: 4px; top: 5px; width: 15px; height: 15px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--night); transition: background-color .4s, border-color .4s, box-shadow .4s; z-index: 1; }
.stage.is-lit .stage__node { background: var(--volt); border-color: var(--volt); box-shadow: 0 0 16px var(--volt-glow); }
.stage__head { display: flex; align-items: baseline; gap: 12px; }
.stage__n { font: 500 .72rem/1 var(--font-mono); color: var(--volt); letter-spacing: .12em; }
.stage__label { margin: 0; font: 500 .8rem/1.2 var(--font-mono); letter-spacing: .18em; text-transform: uppercase; color: var(--text-2); }
.stage__card { display: grid; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: linear-gradient(160deg, rgba(232, 238, 233, .06), rgba(232, 238, 233, .012) 55%), #0b120e; transition: border-color .4s, box-shadow .4s; }
.stage.is-lit .stage__card { border-color: rgba(245, 197, 66, .22); }
.stage__card:hover { border-color: rgba(245, 197, 66, .45); box-shadow: 0 24px 60px -34px rgba(245, 197, 66, .35); }
.stage__visual { display: grid; place-items: center; padding: 16px; border-bottom: 1px solid var(--line); background: radial-gradient(80% 90% at 50% 40%, rgba(63, 174, 106, .13), transparent 70%); }
.stage__visual svg { width: 100%; max-width: 240px; height: auto; }
.stage__content { padding: 20px; }
.stage__products { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.product { position: relative; padding-left: 14px; border-left: 1px solid rgba(245, 197, 66, .45); }
.product__brand { margin: 0 0 6px; font: 500 .72rem/1 var(--font-mono); letter-spacing: .18em; color: var(--green-2); }
.product__name { margin: 0; font: 600 clamp(1.5rem, 1.2rem + 1vw, 2rem)/1.05 var(--font-display); color: var(--text); }
.product__type { margin: 6px 0 0; color: var(--text-2); font-size: .95rem; }
.product--generic { border-left-style: dashed; border-left-color: var(--line-2); }
.product__facts { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.product__facts li { font: 500 .74rem/1 var(--font-mono); letter-spacing: .06em; padding: 7px 10px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--text); background: rgba(232, 238, 233, .03); }
.product__facts li:first-child { border-color: rgba(245, 197, 66, .5); color: var(--volt-2); background: var(--volt-soft); }
.stage__summary { margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: .95rem; }
.stage__card:hover .tv-scan { opacity: 1; animation: scan 2.4s var(--ease) infinite; }
@media (min-width: 900px) {
  .system { gap: 26px; }
  .stage { grid-template-columns: 190px minmax(0, 1fr); gap: 28px; padding-left: 48px; align-items: start; }
  .stage__head { flex-direction: column; gap: 8px; padding-top: 2px; }
  .stage__card { grid-template-columns: 230px minmax(0, 1fr); }
  .stage__visual { border-bottom: 0; border-right: 1px solid var(--line); }
  .stage__content { padding: 24px 26px; }
}
.system-intro { display: grid; gap: 16px; margin-bottom: clamp(32px, 4vw, 52px); }
@media (min-width: 900px) { .system-intro { grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: end; } }
.system-intro p { color: var(--text-2); margin: 0; }
.tech-note { margin-top: 24px; font-size: .86rem; color: var(--muted); max-width: 60rem; }
/* technische Zeichnungen */
.tv-line { fill: none; stroke: rgba(232, 238, 233, .5); stroke-width: 1.2; }
.tv-thin { fill: none; stroke: rgba(232, 238, 233, .18); stroke-width: .8; }
.tv-fill { fill: #101b16; }
.tv-cell { fill: #16232d; stroke: rgba(160, 190, 210, .25); stroke-width: .5; }
.tv-volt { fill: var(--volt); }
.tv-volt-s { fill: none; stroke: var(--volt); stroke-width: 1.4; }
.tv-green { fill: var(--green-2); }
.tv-dim { font: 500 9px var(--font-mono); fill: var(--muted); letter-spacing: .08em; }
.tv-scan { fill: url(#tvScan); opacity: 0; }
.component:hover .tv-scan, .component.is-open .tv-scan { opacity: 1; animation: scan 2.4s var(--ease) infinite; }
@keyframes scan { from { transform: translateY(-40%); } to { transform: translateY(140%); } }

/* ---------- Energie-Grafik (Tagesverlauf) ---------- */
.energy-chart { margin: 0; background: linear-gradient(180deg, rgba(232, 238, 233, .04), rgba(232, 238, 233, .01)); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 18px 16px 16px; }
.energy-chart svg { width: 100%; height: auto; }
.ec-grid { stroke: rgba(232, 238, 233, .07); stroke-width: 1; }
.ec-base { stroke: rgba(232, 238, 233, .25); stroke-width: 1.2; }
.ec-axis { font: 500 11px var(--font-mono); fill: var(--muted); }
.ec-direct { fill: var(--green); opacity: .85; }
.ec-surplus { fill: var(--volt); opacity: .22; }
.ec-battery { fill: #7fd9a1; opacity: .5; }
.ec-pv { fill: none; stroke: var(--volt); stroke-width: 2.4; stroke-linejoin: round; filter: drop-shadow(0 0 4px rgba(245, 197, 66, .5)); }
.ec-cons { fill: none; stroke: var(--text); stroke-width: 1.8; stroke-dasharray: 5 4; stroke-linejoin: round; }
.ec-label { font: 500 12px var(--font-mono); fill: var(--text); }
.ec-label--light { fill: var(--green-ink); }
.ec-label--sm { font-size: 10.5px; }
.ec-legend { list-style: none; padding: 0; margin: 12px 0 8px; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .82rem; color: var(--text-2); }
.ec-legend li { display: inline-flex; align-items: center; gap: 6px; }
.sw { width: 14px; height: 10px; border-radius: 3px; display: inline-block; }
.sw--pv { height: 3px; background: var(--volt); }
.sw--cons { height: 0; border-top: 2px dashed var(--text); }
.sw--direct { background: var(--green); }
.sw--surplus { background: rgba(245, 197, 66, .35); }
.sw--battery { background: rgba(127, 217, 161, .6); }
.energy-chart small { color: var(--muted); font: 400 .72rem var(--font-mono); }

/* ---------- Ablauf ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; position: relative; --fill: 0; }
.steps::before, .steps::after { content: ""; position: absolute; left: 23px; top: 24px; bottom: 24px; width: 1px; background: var(--line-2); }
.steps::after { background: linear-gradient(var(--green), var(--volt)); transform-origin: top; transform: scaleY(var(--fill)); box-shadow: 0 0 8px var(--volt-glow); }
.step { position: relative; display: grid; grid-template-columns: 48px 1fr; gap: 18px; padding-bottom: 32px; z-index: 1; }
.step:last-child { padding-bottom: 0; }
.step__num { width: 48px; height: 48px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--night); border: 1px solid var(--line-2); color: var(--text); font: 500 .95rem var(--font-mono); transition: border-color .4s, color .4s, box-shadow .4s, background-color .4s; }
.step.is-lit .step__num { border-color: var(--volt); color: var(--green-ink); background: var(--volt); box-shadow: 0 0 18px var(--volt-glow); }
.step__title { margin: 11px 0 .3em; }
.step p { margin: 0; color: var(--text-2); }
.section--green .step__num { background: var(--forest); }
@media (min-width: 980px) {
  .steps--compact { grid-template-columns: repeat(5, 1fr); gap: 20px; }
  .steps--compact::before, .steps--compact::after { left: 24px; right: 24px; top: 24px; bottom: auto; width: auto; height: 1px; }
  .steps--compact::after { transform-origin: left; transform: scaleX(var(--fill)); }
  .steps--compact .step { grid-template-columns: 1fr; padding: 0; align-content: start; gap: 12px; }
  .steps--compact .step__title { margin-top: 4px; }
}

/* ---------- Transparenz ---------- */
.transparency { display: grid; grid-template-columns: auto 1fr; gap: 14px; background: rgba(245, 197, 66, .05); border: 1px solid rgba(245, 197, 66, .22); border-radius: var(--radius); padding: 20px; margin: 26px 0; font-size: .95rem; }
.transparency h3 { font-size: 1.1rem; }
.transparency__icon .icon { width: 26px; height: 26px; color: var(--volt); }
.transparency .checklist { margin: 0; gap: 8px; }
.role-grid { display: grid; gap: 14px; margin-top: 24px; }
@media (min-width: 760px) { .role-grid { grid-template-columns: repeat(3, 1fr); } }
.role { background: rgba(232, 238, 233, .03); border-radius: var(--radius); padding: 22px; border: 1px solid var(--line); }
.role__icon { display: inline-flex; width: 42px; height: 42px; border-radius: 10px; align-items: center; justify-content: center; background: var(--green-soft); color: var(--green-2); margin-bottom: 12px; border: 1px solid rgba(63, 174, 106, .3); }
.role p { font-size: .95rem; margin: 0; color: var(--text-2); }

/* ---------- Region ---------- */
.region-chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.region-chips a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 16px; border-radius: 999px; background: rgba(232, 238, 233, .03); border: 1px solid var(--line-2); color: var(--text); text-decoration: none; font-weight: 500; transition: border-color .25s, background-color .25s; }
.region-chips a:hover { border-color: var(--volt); background: var(--volt-soft); color: var(--text); }
.region-chips .icon { color: var(--volt); width: 1em; height: 1em; }
.region-chips--jump { margin-bottom: 36px; }
.regions { display: grid; gap: 14px; }
@media (min-width: 860px) { .regions { grid-template-columns: repeat(2, 1fr); gap: 18px; } }
.region { background: linear-gradient(180deg, rgba(232, 238, 233, .04), rgba(232, 238, 233, .01)); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.region__head { display: flex; gap: 14px; align-items: center; margin-bottom: 12px; }
.region__head h2 { font-size: 1.45rem; margin: 0; }
.region__icon { display: inline-flex; width: 42px; height: 42px; border-radius: 10px; align-items: center; justify-content: center; background: var(--volt-soft); color: var(--volt); flex: none; border: 1px solid rgba(245, 197, 66, .3); }
.region__type { margin: 2px 0 0; font: 500 .7rem/1.2 var(--font-mono); color: var(--muted); text-transform: uppercase; letter-spacing: .12em; }
.region p { color: var(--text-2); }
.town-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.town-list li { font-size: .85rem; background: rgba(232, 238, 233, .05); border: 1px solid var(--line); border-radius: 6px; padding: 3px 9px; color: var(--text-2); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 8px; }
.faq__item { background: rgba(232, 238, 233, .03); border: 1px solid var(--line); border-radius: 12px; transition: border-color .3s; }
.faq__item[open] { border-color: rgba(63, 174, 106, .4); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 18px 20px; font-weight: 600; font-size: 1.03rem; min-height: 56px; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon { position: relative; flex: none; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line-2); }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 7px; right: 7px; top: 12px; height: 1.5px; background: var(--volt); transition: transform .25s; }
.faq__icon::after { transform: rotate(90deg); }
.faq__item[open] .faq__icon::after { transform: rotate(0); }
.faq__a { padding: 0 20px 18px; color: var(--text-2); }
.faq__a p { margin: 0; }
.faq-group { font-size: 1.5rem; margin: 44px 0 16px; }
.faq-group:first-child { margin-top: 0; }

/* ---------- Seitenkopf (Unterseiten) ---------- */
.page-head {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(36px, 6vw, 80px) 0 clamp(40px, 6vw, 72px);
  background: radial-gradient(60% 80% at 90% 0%, rgba(245, 197, 66, .12), transparent 70%), linear-gradient(180deg, var(--forest) 0%, var(--night) 100%);
}
.page-head::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(70% 90% at 80% 0%, #000, transparent 75%); mask-image: radial-gradient(70% 90% at 80% 0%, #000, transparent 75%); opacity: .5; }
.page-head h1 { max-width: 20ch; font-size: clamp(2.1rem, 1.4rem + 3vw, 3.6rem); }
.page-head .btn { margin-top: 8px; }
.crumbs { font: 400 .76rem/1.4 var(--font-mono); letter-spacing: .06em; color: var(--muted); margin-bottom: 20px; }
.crumbs a { color: var(--muted); }

.def { border-left: 2px solid var(--volt); padding: 2px 0 2px 16px; margin-bottom: 18px; }
.def__term { font: 600 1.05rem var(--font-display); margin-bottom: .2em; color: var(--text); }
.def p:last-child { margin-bottom: 0; }

.flow { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; position: relative; }
.flow li { display: flex; align-items: center; gap: 14px; background: rgba(232, 238, 233, .03); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.flow li div { display: flex; flex-direction: column; line-height: 1.35; }
.flow li span:not(.flow__icon) { font-size: .9rem; color: var(--muted); }
.flow__icon { display: inline-flex; width: 40px; height: 40px; border-radius: 10px; align-items: center; justify-content: center; background: var(--volt-soft); color: var(--volt); flex: none; border: 1px solid rgba(245, 197, 66, .28); }

/* ---------- CTA-Band ---------- */
.cta-band { position: relative; overflow: hidden; isolation: isolate; padding: clamp(72px, 10vw, 128px) 0; background: radial-gradient(60% 90% at 50% 100%, rgba(245, 197, 66, .2), transparent 70%), linear-gradient(180deg, var(--night) 0%, var(--forest) 100%); }
.cta-band::before { content: ""; position: absolute; left: 50%; top: 0; width: 1px; height: 64px; background: linear-gradient(transparent, var(--volt)); box-shadow: 0 0 10px var(--volt); }
.cta-band__inner { display: grid; gap: 28px; align-items: center; }
.cta-band h2 { margin-bottom: .35em; }
.cta-band p { color: var(--text-2); margin: 0; max-width: 40rem; }
.cta-band__actions { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.cta-band__phone { color: var(--text); display: inline-flex; gap: 8px; align-items: center; font-weight: 600; text-decoration: none; }
@media (min-width: 900px) { .cta-band__inner { grid-template-columns: 1.5fr auto; } .cta-band__actions { align-items: flex-end; } }

/* ---------- Formular ---------- */
.section--form { padding-top: clamp(28px, 5vw, 56px); }
.form-layout { display: grid; gap: 24px; align-items: start; }
.form-layout > * { min-width: 0; }
@media (min-width: 980px) { .form-layout { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 36px; } .form-aside { position: sticky; top: calc(var(--header-h) + 20px); } }
.form-card { position: relative; background: linear-gradient(180deg, rgba(232, 238, 233, .05), rgba(232, 238, 233, .02)), #0a110d; border: 1px solid var(--line-2); border-radius: var(--radius-lg); padding: clamp(20px, 4vw, 40px); }
.form-card::before { content: ""; position: absolute; left: 24px; right: 24px; top: -1px; height: 1px; background: linear-gradient(90deg, transparent, var(--volt), transparent); }
.lead-form fieldset { border: 0; padding: 0; margin: 0 0 28px; min-width: 0; }
.lead-form legend { font: 600 1.45rem var(--font-display); display: flex; align-items: center; gap: 12px; margin-bottom: 18px; padding: 0; }
.step-panel__n { display: inline-flex; width: 32px; height: 32px; border-radius: 50%; align-items: center; justify-content: center; background: var(--volt); color: var(--green-ink); font: 500 .9rem var(--font-mono); }

.field { margin-bottom: 18px; }
.field-row { display: grid; gap: 0 16px; }
@media (min-width: 600px) { .field-row { grid-template-columns: 1fr 1fr; } .field-row--plz { grid-template-columns: 140px 1fr; } }
.label { display: block; font-weight: 600; font-size: .95rem; margin: 0 0 8px; color: var(--text); }
.req { color: var(--volt); }
.opt { font-weight: 400; color: var(--muted); font-size: .86rem; }
input[type="text"], input[type="tel"], input[type="email"], input:not([type]), select, textarea {
  width: 100%; min-height: 52px; padding: 12px 14px;
  font: 400 1rem/1.4 var(--font-body); /* 16px verhindert Zoom auf dem iPhone */
  color: var(--text); background: #050906;
  border: 1px solid rgba(232, 238, 233, .22); border-radius: 10px; transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none; appearance: none;
}
input::placeholder, textarea::placeholder { color: #6f7d74; }
select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23e8eee9' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
select option { background: #0b120e; color: var(--text); }
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--volt); box-shadow: 0 0 0 3px rgba(245, 197, 66, .18); }
[aria-invalid="true"] { border-color: var(--red) !important; }
.field-error { color: var(--red); font-size: .88rem; margin: 6px 0 0; font-weight: 600; }

.choice-grid { display: grid; gap: 8px; }
@media (min-width: 520px) { .choice-grid { grid-template-columns: 1fr 1fr; } }
.choice-grid--inline { display: flex; flex-wrap: wrap; gap: 8px; }
.choice-grid--inline .choice { flex: 0 1 auto; }
.choice { position: relative; cursor: pointer; display: block; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span { display: flex; align-items: center; gap: 10px; min-height: 54px; height: 100%; padding: 12px 14px; border: 1px solid rgba(232, 238, 233, .18); border-radius: 10px; background: rgba(232, 238, 233, .025); font-weight: 500; font-size: .97rem; line-height: 1.3; transition: border-color .2s, background-color .2s; }
.choice span::before { content: ""; flex: none; width: 18px; height: 18px; border: 1.5px solid rgba(232, 238, 233, .4); border-radius: 5px; background: transparent center / 12px no-repeat; }
.choice input[type="radio"] + span::before { border-radius: 50%; }
.choice:hover span { border-color: var(--green); }
.choice input:checked + span { border-color: var(--volt); background: var(--volt-soft); }
.choice input:checked + span::before { border-color: var(--volt); background-color: var(--volt); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6.5l2.5 2.5L10 3.5' fill='none' stroke='%2306140c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.choice input:focus-visible + span { outline: 2px solid var(--volt); outline-offset: 2px; }
.choice--sm span { min-height: 46px; font-size: .92rem; padding: 10px 12px; }

.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; color: var(--text-2); cursor: pointer; }
.consent input { flex: none; width: 22px; height: 22px; margin-top: 2px; accent-color: var(--volt); }
.form-hint { font-size: .8rem; color: var(--muted); margin: 12px 0 0; text-align: center; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

.progress { height: 3px; background: var(--line-2); border-radius: 99px; overflow: hidden; display: none; }
.progress__bar { display: block; height: 100%; width: 33%; background: linear-gradient(90deg, var(--green), var(--volt)); border-radius: 99px; transition: width .4s var(--ease); box-shadow: 0 0 10px var(--volt-glow); }
.progress__label { display: none; font: 400 .74rem var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 10px 0 22px; }
.is-stepped .progress, .is-stepped .progress__label { display: block; }
.is-stepped .step-panel { display: none; }
.is-stepped .step-panel.is-current { display: block; animation: fadein .3s var(--ease); }
.step-nav { display: flex; justify-content: space-between; gap: 12px; }
@keyframes fadein { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.alert { padding: 14px 16px; border-radius: 10px; margin-bottom: 20px; font-weight: 600; }
.alert--error { background: rgba(255, 138, 122, .1); color: #ffc2b8; border: 1px solid rgba(255, 138, 122, .4); }

.aside-card { background: rgba(232, 238, 233, .03); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin-bottom: 14px; }
.aside-card h2 { font-size: 1.25rem; }
.aside-card p { display: flex; gap: 10px; align-items: center; margin-bottom: .6em; color: var(--text-2); }
.aside-card p .icon { color: var(--volt); }
.aside-card--contact { background: var(--green-soft); border-color: rgba(63, 174, 106, .3); }
.aside-card--plain { background: transparent; }
.aside-person { font-weight: 600; }
.mini-steps { padding-left: 1.2em; margin: 0; display: grid; gap: 8px; font-size: .95rem; color: var(--text-2); }

.thanks__icon { display: inline-flex; width: 76px; height: 76px; border-radius: 50%; background: var(--volt); color: var(--green-ink); align-items: center; justify-content: center; margin-bottom: 22px; box-shadow: 0 0 40px var(--volt-glow); }
.thanks__icon .icon { width: 38px; height: 38px; }
.thanks .card { margin: 32px auto; max-width: 560px; }
.thanks .lead { margin-left: auto; margin-right: auto; }

/* ---------- Rechtliches ---------- */
.legal h2 { font-size: 1.5rem; margin-top: 2em; }
.legal h3 { font-size: 1.12rem; }
.legal p, .legal li { color: var(--text-2); }
.draft-note { background: var(--volt-soft); border: 1px solid rgba(245, 197, 66, .35); border-left: 3px solid var(--volt); padding: 16px 18px; border-radius: 10px; margin-bottom: 28px; font-size: .95rem; color: var(--text); }
.draft-note code { font-family: var(--font-mono); font-size: .85em; }

/* ---------- Footer ---------- */
.site-footer { background: #040705; color: var(--muted); padding: 64px 0 0; font-size: .95rem; border-top: 1px solid var(--line); }
.site-footer a { color: var(--text-2); }
.site-footer a:hover { color: var(--volt-2); }
.footer-grid { display: grid; gap: 32px; grid-template-columns: 1fr 1fr; }
.footer-grid > :nth-child(1), .footer-grid > :nth-child(2) { grid-column: 1 / -1; }
@media (min-width: 720px) { .footer-grid > :nth-child(1), .footer-grid > :nth-child(2) { grid-column: auto; } }
@media (min-width: 1040px) { .footer-grid { grid-template-columns: 1.6fr 1.2fr 1fr 1fr; } }
.footer-brand { font: 600 1.6rem/1 var(--font-display); color: var(--text); letter-spacing: .06em; margin-bottom: .5em; }
.footer-brand span { color: var(--volt); font: 500 .8rem var(--font-mono); letter-spacing: .4em; margin-left: 6px; vertical-align: middle; }
.footer-claim { color: var(--text-2); }
.footer-h { color: var(--text); font: 500 .74rem var(--font-mono); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1em; }
.footer-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-list li { display: flex; gap: 10px; align-items: center; }
.footer-list .icon { color: var(--volt); }
.footer-list--plain { gap: 7px; }
.footer-list--plain a { text-decoration: none; }
.footer-list--plain a:hover { text-decoration: underline; }
.footer-note { font-size: .85rem; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; border-top: 1px solid var(--line); margin-top: 44px; padding-top: 20px; padding-bottom: 24px; font: 400 .76rem var(--font-mono); letter-spacing: .04em; }
.footer-bottom p { margin: 0; }

/* ---------- Mobile CTA-Leiste ---------- */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: flex; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(7, 11, 9, .9); border-top: 1px solid var(--line);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.mobile-cta .btn { flex: 1; min-height: 50px; padding: .6rem .8rem; font-size: .98rem; }
.mobile-cta .btn--ghost { flex: 0 0 auto; }
body { padding-bottom: 76px; }
body.no-mobile-cta { padding-bottom: 0; }
@media (min-width: 900px) { .mobile-cta { display: none; } body { padding-bottom: 0; } }
@media (max-width: 599px) { .cta-band .btn, .hero__actions .btn--primary { width: 100%; } }

/* ---------- Scroll-Reveal ---------- */
/* Nur Elemente unterhalb des sichtbaren Bereichs werden per JS vorbereitet (.pre),
   sichtbare Inhalte werden nie ausgeblendet. */
.reveal.pre { opacity: 0; transform: translateY(22px); }
.reveal.in { opacity: 1; transform: none; transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }

.center.note, .note.center { margin-top: 28px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal.pre { opacity: 1; transform: none; }
  .hero__sun { transform: none !important; }
}

@media print {
  .site-header, .mobile-cta, .cta-band, .site-footer, .energy-spine { display: none; }
  body { padding: 0; background: #fff; color: #000; }
}

/* ---------- Finanzierung ---------- */
.finance-model { position: relative; border: 1px solid rgba(245, 197, 66, .35); border-radius: var(--radius-lg); padding: 24px; background: linear-gradient(160deg, rgba(245, 197, 66, .08), rgba(245, 197, 66, .015) 60%), #0b1510; }
.finance-model::before { content: ""; position: absolute; left: 24px; right: 24px; top: -1px; height: 1px; background: linear-gradient(90deg, transparent, var(--volt), transparent); }
.finance-model__tag { margin: 0 0 16px; font: 500 .72rem/1.2 var(--font-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--volt); }
.finance-model__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.finance-model__list li { display: flex; gap: 12px; align-items: center; padding: 16px; background: #0a120e; font-size: 1.02rem; color: var(--text-2); }
.finance-model__list .icon { color: var(--volt); width: 1.2em; height: 1.2em; }
.finance-model__note { margin: 14px 0 0; font-size: .85rem; color: var(--muted); }
@media (min-width: 600px) { .finance-model__list { grid-template-columns: 1fr 1fr; } }
.finance-chips { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.finance-chips li { display: grid; gap: 4px; padding: 18px 20px; border: 1px solid var(--line-2); border-left: 2px solid var(--volt); border-radius: 12px; background: rgba(7, 11, 9, .5); }
.finance-chips__k { font: 500 .7rem/1 var(--font-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--green-2); }
.finance-chips__v { font: 600 1.25rem/1.2 var(--font-display); color: var(--text); }

/* ---------- Partner im Hintergrund (bewusst dezent) ---------- */
.partner { padding: 8px 0 clamp(32px, 5vw, 56px); }
.partner__inner { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 20px 0; }
.partner__tag { margin: 0 0 12px; font: 500 .68rem/1.2 var(--font-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.partner__row { display: grid; gap: 12px; align-items: center; }
@media (min-width: 700px) { .partner__row { grid-template-columns: 180px 1fr; gap: 28px; } }
@media (min-width: 1000px) { .partner__row { grid-template-columns: 180px 1fr auto; } }
.partner__mark { display: flex; align-items: center; min-height: 40px; }
.partner__mark span { font: 600 1.05rem/1 var(--font-body); color: var(--text-2); letter-spacing: .02em; }
.partner__mark img { max-height: 40px; width: auto; opacity: .85; }
.partner__text { margin: 0; font-size: .92rem; color: var(--muted); max-width: 44rem; }

/* ---------- Regionale Wahrzeichen (Linienzeichnungen im Hintergrund) ---------- */
.region { position: relative; overflow: hidden; isolation: isolate; }
.region > *:not(.region__motif) { position: relative; z-index: 1; }
.region__motif { position: absolute; z-index: 0; right: -6px; bottom: -4px; width: min(58%, 280px); color: var(--volt); opacity: .14; pointer-events: none;
  -webkit-mask-image: linear-gradient(to left, #000 55%, transparent 100%); mask-image: linear-gradient(to left, #000 55%, transparent 100%);
  transition: opacity .6s var(--ease), transform .9s var(--ease); }
.region__motif::before { content: ""; position: absolute; inset: 20% 10% 0 20%; background: radial-gradient(closest-side, rgba(245, 197, 66, .35), transparent); filter: blur(10px); z-index: -1; }
.region__motif svg { width: 100%; height: auto; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.region__motif .lm-soft { stroke-opacity: .55; }
.region:hover .region__motif, .region:target .region__motif { opacity: .3; transform: translateY(-4px); }
.region:target { border-color: rgba(245, 197, 66, .45); }
.region__landmark { margin: 14px 0 0; font: 500 .66rem/1.3 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted) !important; }
@media (prefers-reduced-motion: reduce) { .region__motif { transition: none; } }
.region .town-list li { background: #111915; }

/* ---------- Bildhafte Auswahlkarten (Formular) ---------- */
.choice-grid--visual { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 520px) { .choice-grid--visual { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.choice--visual span { position: relative; flex-direction: column; justify-content: flex-start; align-items: center; gap: 8px; min-height: 124px; padding: 16px 10px 12px; text-align: center; }
.choice--visual span::before { position: absolute; top: 9px; left: 9px; width: 16px; height: 16px; }
.choice--visual b { font-weight: 500; font-size: .92rem; line-height: 1.25; }
.choice__pict { width: 72px; height: 54px; fill: none; stroke: var(--text-2); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: stroke .2s; }
.choice__pict .thin { stroke-width: 1.2; opacity: .7; }
.choice__pict .dash { stroke-dasharray: 3 3; opacity: .55; }
.choice__pict .hl { fill: rgba(232, 238, 233, .06); }
.choice__pict .dot { fill: currentColor; stroke: none; }
.choice__pict .num { font: 600 13px var(--font-mono); fill: var(--text-2); stroke: none; }
.choice--visual { color: var(--text-2); }
.choice--visual:hover .choice__pict { stroke: var(--text); }
.choice input:checked + span .choice__pict { stroke: var(--volt); color: var(--volt); }
.choice input:checked + span .choice__pict .hl { fill: rgba(245, 197, 66, .18); }
.choice input:checked + span .choice__pict .num { fill: var(--volt); }
.step-nav [hidden] { display: none; }
.step-nav [data-next] { margin-left: auto; }
.choice--visual .choice__pict { width: 80px; height: 60px; }

/* ---------- Partner-Link ---------- */
.partner__link { display: inline-flex; align-items: center; gap: 6px; font-size: .88rem; color: var(--green-2, #5cc585); text-decoration: none; white-space: nowrap; }
.partner__link:hover { color: var(--volt); }
.partner__link .icon { width: 16px; height: 16px; }

.media-card__cap { margin-top: 8px; font: 500 .7rem/1.3 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* ---------- Bewertungen ---------- */
.reviews { display: grid; gap: 24px; align-items: center; padding: clamp(22px, 4vw, 40px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: linear-gradient(135deg, rgba(63, 174, 106, .08), rgba(245, 197, 66, .04)); }
@media (min-width: 860px) { .reviews { grid-template-columns: 1.3fr 1fr; gap: 48px; } }
.reviews__copy h2 { margin-top: 0; }
.reviews__fine { font-size: .84rem; color: var(--muted); }
.reviews__card { padding: 22px; border-radius: var(--radius-lg); background: var(--anth-2); border: 1px solid var(--line); text-align: center; }
.reviews__score { margin: 0; font: 600 3.2rem/1 var(--font-display); color: var(--text); }
.reviews__score small { font-size: 1rem; color: var(--muted); font-weight: 500; }
.stars { display: block; width: 150px; height: auto; margin: 12px auto 8px; }
.reviews__count { margin: 0 0 18px; color: var(--text-2); font-size: .92rem; }
.reviews__count small { color: var(--muted); }
.reviews__ext { margin: 10px 0 0; font-size: .74rem; color: var(--muted); }

/* ---------- Eignungs-Check ---------- */
.check { display: grid; gap: 28px; padding: clamp(20px, 4vw, 36px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--anth-2); }
.check__q { border: 0; margin: 0; padding: 0; min-width: 0; }
.check__q .label { margin-bottom: 10px; padding: 0; }
.check__hint { margin: -4px 0 10px; font-size: .86rem; color: var(--muted); }
.check__q.is-missing .choice span { border-color: rgba(255, 120, 100, .5); }
.choice__pict .num.c { text-anchor: middle; font-size: 7px; }
.check-result { margin-top: 28px; padding: clamp(20px, 4vw, 36px); border-radius: var(--radius-lg); border: 1px solid var(--line); background: linear-gradient(135deg, rgba(63, 174, 106, .12), rgba(245, 197, 66, .05)); scroll-margin-top: 90px; }
.check-result--pruefen { background: linear-gradient(135deg, rgba(245, 197, 66, .1), rgba(63, 174, 106, .05)); }
.check-result--eingeschraenkt { background: linear-gradient(135deg, rgba(245, 197, 66, .08), rgba(232, 238, 233, .03)); }
.check-result h2 { margin-top: 0; }
.check-result__notes { list-style: none; margin: 18px 0; padding: 0; display: grid; gap: 10px; }
.check-result__notes li { display: flex; gap: 10px; align-items: flex-start; }
.check-result__notes .icon { flex: none; width: 20px; height: 20px; margin-top: 2px; color: var(--muted); }
.check-result__notes .is-ok .icon { color: var(--green-2, #5cc585); }
.check-result__notes .is-warn .icon, .check-result__notes .is-tip .icon { color: var(--volt); }
.check-result--individuell { background: linear-gradient(135deg, rgba(245, 197, 66, .09), rgba(232, 238, 233, .03)); }
.check-result--nicht { background: rgba(232, 238, 233, .03); border-color: rgba(232, 238, 233, .2); }
.check__q[hidden] { display: none; }
.check-result__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 20px 0 0; }
.check-teaser { display: grid; gap: 18px; align-items: center; padding: clamp(20px, 4vw, 36px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: linear-gradient(135deg, rgba(245, 197, 66, .08), rgba(63, 174, 106, .06)); }
@media (min-width: 820px) { .check-teaser { grid-template-columns: 1fr auto; gap: 40px; } }
.check-teaser h2 { margin: 0 0 6px; }
.check-teaser p { margin: 0; color: var(--text-2); }
.section--tight { padding-block: clamp(28px, 5vw, 56px); }
.choice__pict .sec { fill: rgba(245, 197, 66, .28); stroke: var(--volt); }
.cards + .note { margin-top: 24px; }
@media (min-width: 520px) { .choice-grid--visual.choice-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
