/* =====================================================================
   Wendekraft – Design-Tokens & Basis
   Grün = sauberer Strom · Rot = Wärme · Dunkles Navy für den immersiven Hero
   ===================================================================== */
:root {
  --green-300: #86efac; --green-400: #4ade80; --green-500: #22c55e; --green-600: #16a34a; --green-700: #15803d; --green-800: #166534; --green-900: #052e16;
  --heat-300: #fdb79b; --heat-400: #fb8a62; --heat-500: #f0532d; --heat-600: #d9411c; --heat-700: #b42f10; --heat-900: #4a1407;
  --sky-400: #60a5fa;
  --ink-950: #070c16; --ink-900: #0b1220; --ink-800: #111a2b; --ink-700: #1c2537; --ink-600: #2a3650; --ink-500: #3f4d6b;
  --paper: #f7f8f4; --paper-2: #eef1e9; --paper-3: #e4e9de; --line: #dce2d6; --line-strong: #c4ccbd;
  --text: #0f172a; --text-2: #3b4656; --muted: #5f6a79; --on-dark: #f3f5f1; --on-dark-2: #b7c0cf;
  --font-head: 'Space Grotesk', ui-sans-serif, system-ui, sans-serif;
  --font-body: 'DM Sans', ui-sans-serif, system-ui, sans-serif;
  --radius-s: 8px; --radius: 14px; --radius-l: 24px; --radius-pill: 999px;
  --shadow-s: 0 1px 2px rgba(15, 23, 42, .06), 0 4px 12px rgba(15, 23, 42, .06);
  --shadow-m: 0 10px 30px rgba(15, 23, 42, .10);
  --shadow-l: 0 24px 60px rgba(7, 12, 22, .35);
  --ease-out: cubic-bezier(.22, .61, .36, 1);
  --container: 1200px; --gutter: 16px;
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-5: 24px; --space-6: 32px; --space-7: 48px; --space-8: 64px; --space-9: 96px;
}
@media (min-width: 768px) { :root { --gutter: 32px; } }
@media (min-width: 1200px) { :root { --gutter: 48px; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; font-family: var(--font-body); font-size: 16px; line-height: 1.6; color: var(--text); background: var(--paper);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.1; letter-spacing: -0.02em; margin: 0; font-weight: 700; }
p { margin: 0; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--green-500); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 1000; background: var(--green-600); color: #fff; padding: 10px 16px; border-radius: var(--radius-s); text-decoration: none; font-weight: 600; }
.skip-link:focus { top: 16px; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 22px;
  border-radius: var(--radius-pill); border: 1.5px solid transparent; font-weight: 600; font-size: 1rem; text-decoration: none;
  transition: transform .2s var(--ease-out), background .2s, box-shadow .2s, border-color .2s; cursor: pointer; touch-action: manipulation; white-space: nowrap;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:active { transform: scale(.97); }
.btn--primary { background: var(--green-500); color: var(--ink-950); box-shadow: 0 8px 24px rgba(34, 197, 94, .28); }
.btn--primary:hover { background: var(--green-400); box-shadow: 0 10px 28px rgba(34, 197, 94, .38); transform: translateY(-1px); }
.btn--heat { background: var(--heat-500); color: #fff; box-shadow: 0 8px 24px rgba(240, 83, 45, .28); }
.btn--heat:hover { background: var(--heat-400); transform: translateY(-1px); }
.btn--ghost { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .35); backdrop-filter: blur(8px); }
.btn--ghost:hover { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .6); }
.btn--outline { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn--outline:hover { border-color: var(--text); background: #fff; }
.btn--dark { background: var(--ink-900); color: #fff; }
.btn--dark:hover { background: var(--ink-700); }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: .9375rem; }

/* ---------- Navigation ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 100; color: #fff; transition: background .3s, box-shadow .3s, color .3s; }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.nav--scrolled { background: rgba(7, 12, 22, .72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.nav--light { background: rgba(247, 248, 244, .88); color: var(--text); box-shadow: var(--shadow-s); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; letter-spacing: -0.02em; }
.brand__mark { width: 38px; height: 38px; flex: none; }
.brand__sub { display: block; white-space: nowrap; font-family: var(--font-body); font-weight: 500; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; opacity: .72; margin-top: 1px; }
.nav__menu { display: none; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__menu a { display: inline-block; white-space: nowrap; padding: 10px 14px; border-radius: var(--radius-pill); text-decoration: none; font-weight: 500; font-size: .95rem; opacity: .88; transition: background .2s, opacity .2s; }
.nav__menu a:hover { opacity: 1; background: rgba(127, 127, 127, .14); }
.nav__cta { display: none; }
.nav__toggle { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 12px; border: 1.5px solid rgba(127, 127, 127, .35); background: transparent; }
.nav__toggle svg { width: 24px; height: 24px; }
.nav__toggle .ico-close { display: none; }
.nav--open .nav__toggle .ico-close { display: block; }
.nav--open .nav__toggle .ico-menu { display: none; }
@media (max-width: 1023.98px) {
  .nav--open { background: var(--ink-950); color: #fff; }
  .nav--open .nav__menu { display: flex; flex-direction: column; align-items: stretch; position: fixed; inset: 72px 0 0 0; background: var(--ink-950); padding: 16px var(--gutter) 32px; gap: 4px; overflow-y: auto; }
  .nav--open .nav__menu a { font-size: 1.25rem; padding: 14px 16px; }
  .nav--open .nav__menu li:last-child { margin-top: 16px; }
  .nav--open .nav__menu li:last-child a { display: block; background: var(--green-500); color: var(--ink-950); text-align: center; font-weight: 700; }
}
@media (min-width: 1024px) {
  .nav__menu { display: flex; }
  .nav__menu li:last-child { display: none; }
  .nav__cta { display: inline-flex; }
  .nav__toggle { display: none; }
}
@media (min-width: 1024px) and (max-width: 1279.98px) {
  .nav__inner { gap: 10px; }
  .nav__menu { gap: 0; }
  .nav__menu a { padding: 8px 9px; font-size: .88rem; }
  .nav__cta { padding: 8px 14px; font-size: .88rem; }
  .brand { font-size: 1.1rem; gap: 9px; }
  .brand__mark { width: 32px; height: 32px; }
  .brand__sub { font-size: .62rem; }
}

/* =====================================================================
   HERO – Scroll-Reise ins Haus
   ===================================================================== */
.hero { position: relative; height: 520vh; height: 520svh; background: var(--ink-950); color: #fff; }
.hero__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.hero__sky { position: absolute; inset: 0; background: linear-gradient(180deg, #050a13 0%, #0b192d 40%, #241f3a 68%, #4b2b31 100%); }
.hero__sky::before { content: ''; position: absolute; inset: 0; background: radial-gradient(60% 50% at 22% 16%, rgba(255, 190, 120, .4), transparent 60%); }
.hero__sky::after { content: ''; position: absolute; inset: 0; background: radial-gradient(80% 60% at 50% 100%, rgba(34, 197, 94, .10), transparent 70%); }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero__labels { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hero__label {
  position: absolute; left: 0; top: 0; white-space: nowrap; font-size: .8125rem; font-weight: 600; letter-spacing: .01em;
  padding: 6px 12px 6px 10px; border-radius: var(--radius-pill); background: rgba(7, 12, 22, .72); border: 1px solid rgba(255, 255, 255, .18);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: #fff; box-shadow: 0 6px 20px rgba(0, 0, 0, .35); will-change: transform, opacity;
}
.hero__label::before { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--green-400); margin-right: 8px; vertical-align: middle; box-shadow: 0 0 10px var(--green-400); }
.hero__ui { position: absolute; inset: 0; pointer-events: none; }
.hero__ui > * { pointer-events: auto; }
.stage { position: absolute; opacity: 0; visibility: hidden; transform: translateY(18px); transition: opacity .5s var(--ease-out), transform .5s var(--ease-out), visibility 0s linear .5s; }
.stage.is-active { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }

.hero__intro { left: var(--gutter); right: var(--gutter); bottom: 14svh; max-width: 680px; }
.hero__kicker { display: inline-flex; align-items: center; gap: 10px; font-size: .8125rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--green-300); margin-bottom: 18px; }
.hero__kicker::before { content: ''; width: 28px; height: 2px; background: linear-gradient(90deg, var(--green-400), var(--heat-500)); border-radius: 2px; }
.hero__title { font-size: clamp(2.1rem, 6.2vw, 4.4rem); text-wrap: balance; text-shadow: 0 4px 30px rgba(0, 0, 0, .45); }
.hero__title em { font-style: normal; color: var(--green-400); }
.hero__title strong { font-weight: 700; color: var(--heat-400); }
.hero__lede { margin-top: 18px; font-size: clamp(1rem, 1.6vw, 1.2rem); color: var(--on-dark-2); max-width: 560px; text-wrap: pretty; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.hero__caption {
  right: var(--gutter); top: 50%; width: min(440px, calc(100% - 2 * var(--gutter)));
  transform: translateY(calc(-50% + 18px)); padding: 24px 26px; border-radius: var(--radius-l);
  background: rgba(7, 12, 22, .62); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: var(--shadow-l);
}
.hero__caption.is-active { transform: translateY(-50%); }
.hero__num { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-size: .8125rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--green-300); margin-bottom: 12px; }
.hero__num::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: currentColor; box-shadow: 0 0 12px currentColor; }
.hero__caption--heat .hero__num { color: var(--heat-400); }
.hero__caption h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.hero__caption p { margin-top: 10px; color: var(--on-dark-2); font-size: .98rem; }
.hero__caption ul { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: .92rem; }
.hero__caption li { display: flex; gap: 8px; align-items: flex-start; }
.hero__caption li svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--green-400); }
.hero__caption--heat li svg { color: var(--heat-400); }

.hero__outro { left: 50%; top: 50%; width: min(680px, calc(100% - 2 * var(--gutter))); text-align: center; transform: translate(-50%, calc(-50% + 18px)); }
.hero__outro.is-active { transform: translate(-50%, -50%); }
.hero__outro h2 { font-size: clamp(2rem, 5vw, 3.6rem); text-shadow: 0 4px 30px rgba(0, 0, 0, .45); }
.hero__outro p { margin-top: 14px; color: var(--on-dark-2); font-size: 1.1rem; }
.hero__outro .hero__actions { justify-content: center; }

.hero__hint { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); display: inline-flex; flex-direction: column; align-items: center; gap: 6px; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-2); transition: opacity .4s; pointer-events: none; }
.hero__hint svg { width: 22px; height: 22px; animation: hint-bounce 1.6s infinite var(--ease-out); }
.hero__hint.is-hidden { opacity: 0; }
@keyframes hint-bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

.hero__progress { position: absolute; right: 22px; top: 50%; transform: translateY(-50%); margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.hero__progress button { position: relative; width: 44px; height: 44px; display: grid; place-items: center; background: transparent; border: 0; padding: 0; }
.hero__progress button::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, .35); transition: transform .3s, background .3s, box-shadow .3s; }
.hero__progress button.is-active::before { background: var(--green-400); transform: scale(1.5); box-shadow: 0 0 12px var(--green-400); }
.hero__progress button[data-dot="waerme"].is-active::before { background: var(--heat-400); box-shadow: 0 0 12px var(--heat-400); }
.hero__progress button span { position: absolute; right: 44px; top: 50%; transform: translateY(-50%); white-space: nowrap; font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; opacity: 0; transition: opacity .2s; pointer-events: none; }
.hero__progress button:hover span, .hero__progress button:focus-visible span { opacity: .9; }

.hero__legend { position: absolute; left: var(--gutter); bottom: 22px; display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: .78rem; font-weight: 500; color: var(--on-dark-2); opacity: 0; transition: opacity .4s; pointer-events: none; }
.hero__legend span { display: inline-flex; align-items: center; gap: 7px; }
.hero__legend i { width: 18px; height: 4px; border-radius: 2px; background: var(--green-400); box-shadow: 0 0 8px var(--green-400); }
.hero__legend i.l-red { background: var(--heat-500); box-shadow: 0 0 8px var(--heat-500); }
.hero__legend i.l-blue { background: var(--sky-400); box-shadow: 0 0 8px var(--sky-400); }
.hero[data-stage="pv"] .hero__legend, .hero[data-stage="technik"] .hero__legend, .hero[data-stage="waerme"] .hero__legend, .hero[data-stage="laden"] .hero__legend { opacity: 1; }

/* Fallback ohne WebGL & reduzierte Bewegung */
.hero.no-webgl .hero__canvas, .hero.no-webgl .hero__labels, .hero.no-webgl .hero__progress, .hero.no-webgl .hero__hint, .hero.no-webgl .hero__legend { display: none; }
.hero.no-webgl, .reduced-motion .hero { height: 100svh; }
.hero.no-webgl .hero__intro, .reduced-motion .hero__intro { opacity: 1; visibility: visible; transform: none; }
.reduced-motion .hero__hint, .reduced-motion .hero__progress, .reduced-motion .hero__legend { display: none; }
.reduced-motion .hero__hint svg { animation: none; }
.stage-list { display: none; }
.hero.no-webgl + .stage-list, .reduced-motion .stage-list { display: block; }

@media (max-width: 767.98px) {
  .hero { height: 400vh; height: 400svh; }
  .hero__ui::before { content: ''; position: absolute; inset: 32% 0 0 0; background: linear-gradient(180deg, rgba(7, 12, 22, 0) 0%, rgba(7, 12, 22, .6) 40%, rgba(7, 12, 22, .9) 100%); pointer-events: none; }
  .hero__intro { bottom: 11svh; }
  .hero__kicker { font-size: .7rem; margin-bottom: 10px; }
  .hero__title { font-size: 2rem; }
  .hero__lede { font-size: .95rem; margin-top: 12px; }
  .hero__intro .hero__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; }
  .hero__intro .hero__actions .btn { padding-inline: 10px; min-height: 46px; font-size: .9rem; }
  .hero__intro .hero__actions .btn svg { display: none; }
  .hero__hint { bottom: 10px; font-size: .6rem; white-space: nowrap; gap: 2px; }
  .hero__hint svg { width: 16px; height: 16px; }
  .hero__caption { top: auto; bottom: 56px; right: var(--gutter); left: var(--gutter); width: auto; transform: translateY(18px); padding: 16px 16px 14px; backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(7, 12, 22, .84); }
  .hero__caption.is-active { transform: none; }
  .hero__caption h2 { font-size: 1.2rem; }
  .hero__caption p { font-size: .9rem; margin-top: 6px; }
  .hero__caption ul { display: none; }
  .hero__num { font-size: .72rem; margin-bottom: 8px; }
  .hero__outro { top: auto; bottom: 10svh; left: var(--gutter); right: var(--gutter); width: auto; transform: translateY(18px); }
  .hero__outro.is-active { transform: none; }
  .hero__outro h2 { font-size: 1.9rem; }
  .hero__outro p { font-size: .95rem; margin-top: 10px; }
  .hero__outro .hero__actions { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 18px; }
  .hero__progress { display: none; }
  .hero__legend { bottom: 14px; font-size: .7rem; gap: 6px 12px; }
  .hero__label { font-size: .7rem; padding: 4px 10px 4px 8px; backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(7, 12, 22, .86); }
  .nav--scrolled { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(7, 12, 22, .9); }
  .nav--light { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(247, 248, 244, .96); }
  .section__title { font-size: 1.75rem; }
  .stat__value { font-size: 1.05rem; }
  .result-hero__main { font-size: 2.2rem; }
  .fund-list li { grid-template-columns: auto 1fr; gap: 10px 12px; }
  .fund-list b { grid-column: 2; justify-self: start; font-size: 1rem; }
  .fund-panel { padding: 22px 18px; }
  .calc__head, .calc__body, .calc__results { padding-inline: 18px; }
  .card { padding: 22px 20px; }
}
.show-mobile { display: none; }
@media (max-width: 767.98px) { .hide-mobile { display: none; } .show-mobile { display: inline; } }
}

/* =====================================================================
   Allgemeine Sektionen
   ===================================================================== */
.section { padding-block: clamp(64px, 9vw, 112px); }
.section--tight { padding-block: clamp(40px, 6vw, 64px); }
.section--alt { background: var(--paper-2); }
.section--dark { background: var(--ink-900); color: var(--on-dark); }
.section__head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.section__head--center { margin-inline: auto; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .8125rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--green-700); margin-bottom: 14px; }
.eyebrow::before { content: ''; width: 24px; height: 2px; background: linear-gradient(90deg, var(--green-500), var(--heat-500)); border-radius: 2px; }
.eyebrow--heat { color: var(--heat-600); }
.section--dark .eyebrow { color: var(--green-300); }
.section__title { font-size: clamp(1.9rem, 4vw, 3rem); text-wrap: balance; }
.section__lede { margin-top: 16px; font-size: 1.125rem; color: var(--text-2); text-wrap: pretty; }
.section--dark .section__lede { color: var(--on-dark-2); }

html.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
html.js [data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: .08s; } [data-reveal-delay="2"] { transition-delay: .16s; } [data-reveal-delay="3"] { transition-delay: .24s; } [data-reveal-delay="4"] { transition-delay: .32s; } [data-reveal-delay="5"] { transition-delay: .4s; }
@media (prefers-reduced-motion: reduce) { html.js [data-reveal] { opacity: 1; transform: none; transition: none; } }

/* ---------- Trust-Leiste ---------- */
.trust { background: var(--ink-900); color: var(--on-dark); border-top: 1px solid rgba(255, 255, 255, .06); }
.trust__grid { display: grid; grid-template-columns: 1fr; gap: 0; }
.trust__item { display: flex; align-items: center; gap: 14px; padding: 18px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); font-weight: 500; }
.trust__item svg { width: 26px; height: 26px; flex: none; color: var(--green-400); }
.trust__item:nth-child(2) svg { color: var(--heat-400); }
.trust__item small { display: block; font-weight: 400; color: var(--on-dark-2); font-size: .875rem; }
@media (min-width: 768px) {
  .trust__grid { grid-template-columns: repeat(2, 1fr); gap: 0 32px; }
}
@media (min-width: 1024px) {
  .trust__grid { grid-template-columns: repeat(4, 1fr); }
  .trust__item { border-bottom: 0; padding: 26px 0; }
  .trust__item + .trust__item { border-left: 1px solid rgba(255, 255, 255, .08); padding-left: 24px; }
}

/* ---------- Leistungen ---------- */
.grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .grid--2 { grid-template-columns: repeat(2, 1fr); } .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l); padding: 28px; box-shadow: var(--shadow-s); transition: transform .25s var(--ease-out), box-shadow .25s; position: relative; overflow: hidden; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-m); }
.card__icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: #ecfdf5; color: var(--green-700); margin-bottom: 18px; }
.card__icon svg { width: 26px; height: 26px; }
.card--heat .card__icon { background: #fff1ec; color: var(--heat-600); }
.card--ink .card__icon { background: var(--paper-2); color: var(--ink-700); }
.card h3 { font-size: 1.25rem; }
.card p { margin-top: 10px; color: var(--text-2); }
.card ul { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: .95rem; color: var(--text-2); }
.card li { display: flex; gap: 8px; align-items: flex-start; }
.card li svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--green-600); }
.card--heat li svg { color: var(--heat-500); }
.card__tag { position: absolute; top: 20px; right: 20px; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: var(--radius-pill); background: var(--green-500); color: var(--ink-950); }
.card--heat .card__tag { background: var(--heat-500); color: #fff; }

/* ---------- Ablauf ---------- */
.steps { display: grid; gap: 18px; counter-reset: step; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .steps { grid-template-columns: repeat(5, 1fr); gap: 14px; } }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l); padding: 26px 22px 24px; }
.step__num { font-family: var(--font-head); font-size: 2.4rem; font-weight: 700; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--green-600); margin-bottom: 14px; }
.step:nth-child(3) .step__num, .step:nth-child(4) .step__num { -webkit-text-stroke-color: var(--heat-500); }
.step h3 { font-size: 1.1rem; }
.step p { margin-top: 8px; color: var(--text-2); font-size: .95rem; }
.step__time { display: inline-block; margin-top: 14px; font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }

/* =====================================================================
   Rechner
   ===================================================================== */
.calc-grid { display: grid; gap: 28px; }
@media (min-width: 1100px) { .calc-grid { grid-template-columns: 1fr 1fr; } }
.calc { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l); box-shadow: var(--shadow-s); overflow: hidden; display: flex; flex-direction: column; }
.calc__head { padding: 26px 28px 18px; border-bottom: 1px solid var(--line); display: flex; align-items: flex-start; gap: 16px; }
.calc__head .card__icon { margin: 0; flex: none; }
.calc__head h3 { font-size: 1.4rem; }
.calc__head p { margin-top: 4px; color: var(--text-2); font-size: .95rem; }
.calc__body { padding: 24px 28px; display: grid; gap: 20px; }
.calc__results { background: var(--paper-2); border-top: 1px solid var(--line); padding: 24px 28px 28px; margin-top: auto; }
.calc--heat .calc__results { background: #fff6f2; }
.calc--pv .calc__results { background: #f0fbf4; }
.field { display: grid; gap: 8px; }
.field__label { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-weight: 600; font-size: .95rem; }
.field__label output { font-family: var(--font-head); font-weight: 700; color: var(--green-700); font-variant-numeric: tabular-nums; }
.calc--heat .field__label output { color: var(--heat-600); }
.field__help { font-size: .82rem; color: var(--muted); }
.field select, .field input[type="number"], .field input[type="text"], .field input[type="email"], .field input[type="tel"], .field textarea {
  width: 100%; min-height: 48px; padding: 10px 14px; border: 1.5px solid var(--line-strong); border-radius: 12px; background: #fff; transition: border-color .2s, box-shadow .2s;
}
.field select:focus, .field input:focus, .field textarea:focus { outline: none; border-color: var(--green-600); box-shadow: 0 0 0 4px rgba(34, 197, 94, .18); }
.field textarea { min-height: 140px; resize: vertical; }
.field .is-invalid { border-color: var(--heat-600); box-shadow: 0 0 0 4px rgba(240, 83, 45, .16); }
.field__error { font-size: .82rem; color: var(--heat-700); display: none; }
.is-invalid + .field__error, .is-invalid ~ .field__error { display: block; }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%233b4656' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 44px; }
.field--row { display: grid; gap: 12px; }
@media (min-width: 560px) { .field--row { grid-template-columns: 1fr 1fr; } }

input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; background: transparent; margin: 0; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--green-500), var(--green-300)); }
input[type="range"]::-moz-range-track { height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--green-500), var(--green-300)); }
.calc--heat input[type="range"]::-webkit-slider-runnable-track { background: linear-gradient(90deg, var(--heat-500), var(--heat-300)); }
.calc--heat input[type="range"]::-moz-range-track { background: linear-gradient(90deg, var(--heat-500), var(--heat-300)); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -10px; border-radius: 50%; background: #fff; border: 3px solid var(--green-600); box-shadow: var(--shadow-s); }
input[type="range"]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 3px solid var(--green-600); box-shadow: var(--shadow-s); }
.calc--heat input[type="range"]::-webkit-slider-thumb { border-color: var(--heat-600); }
.calc--heat input[type="range"]::-moz-range-thumb { border-color: var(--heat-600); }
input[type="range"]:focus-visible { outline: none; }
input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 5px rgba(34, 197, 94, .25); }

.checks { display: grid; gap: 10px; }
.check { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 8px 12px; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; transition: border-color .2s, background .2s; font-size: .95rem; }
.check:hover { border-color: var(--line-strong); background: var(--paper); }
.check input { width: 20px; height: 20px; accent-color: var(--green-600); margin: 0; flex: none; }
.calc--heat .check input { accent-color: var(--heat-600); }
.check small { color: var(--muted); margin-left: auto; font-size: .82rem; white-space: nowrap; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 4px; background: var(--paper-2); border-radius: 12px; }
.seg label { position: relative; display: grid; place-items: center; min-height: 42px; border-radius: 9px; font-weight: 600; font-size: .92rem; cursor: pointer; transition: background .2s, box-shadow .2s; text-align: center; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg input:checked + span { color: var(--text); }
.seg label:has(input:checked) { background: #fff; box-shadow: var(--shadow-s); }
.seg label:has(input:focus-visible) { outline: 3px solid var(--green-500); outline-offset: 2px; }
.switch { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; padding: 8px 0; cursor: pointer; font-weight: 600; font-size: .95rem; }
.switch small { display: block; font-weight: 400; color: var(--muted); font-size: .82rem; }
.switch__track { position: relative; width: 52px; height: 30px; flex: none; border-radius: 15px; background: var(--line-strong); transition: background .2s; }
.switch__track::after { content: ''; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-s); transition: transform .2s var(--ease-out); }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch input:checked ~ .switch__track { background: var(--green-600); }
.switch input:checked ~ .switch__track::after { transform: translateX(22px); }
.switch input:focus-visible ~ .switch__track { outline: 3px solid var(--green-500); outline-offset: 3px; }

.result-hero { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 8px 28px; margin-bottom: 18px; }
.result-hero__main { font-family: var(--font-head); font-size: clamp(2.4rem, 5vw, 3.2rem); font-weight: 700; line-height: 1; color: var(--green-700); font-variant-numeric: tabular-nums; }
.calc--heat .result-hero__main { color: var(--heat-600); }
.result-hero__main small { font-size: .45em; font-weight: 600; color: var(--text-2); margin-left: 4px; }
.result-hero__sub { font-size: .95rem; color: var(--text-2); }
.result-hero__sub strong { color: var(--text); }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 560px) { .stats { grid-template-columns: repeat(3, 1fr); } }
.stat { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; }
.stat__label { display: block; font-size: .78rem; color: var(--muted); letter-spacing: .02em; }
.stat__value { display: block; font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; margin-top: 2px; font-variant-numeric: tabular-nums; color: var(--text); }
.stat--accent .stat__value { color: var(--green-700); }
.calc--heat .stat--accent .stat__value { color: var(--heat-600); }
.result-note { margin-top: 16px; padding: 12px 14px; border-radius: 12px; background: #fff; border: 1px dashed var(--line-strong); font-size: .9rem; color: var(--text-2); }
.result-fine { margin-top: 14px; font-size: .78rem; color: var(--muted); line-height: 1.5; }
.result-actions { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 10px; }
.funding-box { margin-top: 18px; padding: 16px 18px; border-radius: 14px; background: var(--ink-900); color: var(--on-dark); }
.funding-box h4 { font-size: .95rem; letter-spacing: .04em; text-transform: uppercase; color: var(--heat-300); }
.funding-box .stats { margin-top: 12px; }
.funding-box .stat { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .12); }
.funding-box .stat__label { color: var(--on-dark-2); }
.funding-box .stat__value { color: #fff; }
.funding-box .stat--accent .stat__value { color: var(--green-300); }

.bars { display: grid; gap: 14px; margin-top: 18px; }
.bar { display: grid; gap: 6px; }
.bar__title { font-size: .85rem; font-weight: 600; display: flex; justify-content: space-between; }
.bar__track { display: flex; height: 18px; border-radius: 9px; overflow: hidden; background: var(--paper-3); }
.bar__seg { height: 100%; transition: width .5s var(--ease-out); }
.bar__seg--self { background: var(--green-500); }
.bar__seg--grid { background: var(--ink-500); background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, .18) 0 4px, transparent 4px 8px); }
.bar__seg--feed { background: var(--green-300); background-image: repeating-linear-gradient(45deg, rgba(0, 0, 0, .08) 0 4px, transparent 4px 8px); }
.bar__legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .8rem; color: var(--text-2); }
.bar__legend span { display: inline-flex; align-items: center; gap: 6px; }
.bar__legend i { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }

/* =====================================================================
   Förderung (dunkel)
   ===================================================================== */
.fund-grid { display: grid; gap: 28px; }
@media (min-width: 1024px) { .fund-grid { grid-template-columns: 1.1fr .9fr; align-items: start; } }
.fund-big { font-family: var(--font-head); font-size: clamp(3.6rem, 9vw, 6.5rem); font-weight: 700; line-height: .95; letter-spacing: -0.04em; background: linear-gradient(90deg, var(--green-300), var(--green-500) 40%, var(--heat-400)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fund-list { margin: 24px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.fund-list li { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .09); }
.fund-list svg { width: 22px; height: 22px; color: var(--green-400); }
.fund-list b { font-family: var(--font-head); font-size: 1.1rem; color: #fff; white-space: nowrap; }
.fund-list small { display: block; color: var(--on-dark-2); font-size: .85rem; }
.fund-panel { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius-l); padding: 28px; }
.fund-panel h3 { font-size: 1.3rem; }
.fund-panel ol { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 14px; counter-reset: f; }
.fund-panel li { display: flex; gap: 14px; counter-increment: f; }
.fund-panel li::before { content: counter(f, decimal-leading-zero); font-family: var(--font-head); font-weight: 700; color: var(--heat-400); flex: none; width: 28px; }
.fund-panel li p { color: var(--on-dark-2); font-size: .95rem; }
.fund-panel li strong { color: #fff; display: block; }
.fund-panel .notice { margin-top: 20px; padding: 14px 16px; border-radius: 12px; background: rgba(240, 83, 45, .12); border: 1px solid rgba(240, 83, 45, .3); font-size: .88rem; color: var(--on-dark-2); }
.fund-panel .notice strong { color: var(--heat-300); }
.pv-perks { margin-top: 28px; display: grid; gap: 12px; }
@media (min-width: 640px) { .pv-perks { grid-template-columns: 1fr 1fr; } }
.perk { padding: 16px 18px; border-radius: 14px; background: rgba(34, 197, 94, .08); border: 1px solid rgba(34, 197, 94, .25); }
.perk b { display: block; font-family: var(--font-head); font-size: 1.3rem; color: var(--green-300); }
.perk span { font-size: .9rem; color: var(--on-dark-2); }

/* ---------- Partner ---------- */
.partners { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 768px) { .partners { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .partners { grid-template-columns: repeat(5, 1fr); } }
.partner { display: grid; place-items: center; min-height: 110px; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); text-align: center; transition: border-color .2s, transform .2s var(--ease-out); }
.partner:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.partner__name { font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; letter-spacing: -0.01em; color: var(--ink-700); }
.partner__role { display: block; font-size: .78rem; color: var(--muted); margin-top: 4px; letter-spacing: .04em; text-transform: uppercase; }
.partners-note { margin-top: 16px; font-size: .82rem; color: var(--muted); text-align: center; }

/* ---------- Über uns ---------- */
.about { display: grid; gap: 32px; }
@media (min-width: 1024px) { .about { grid-template-columns: 1.1fr .9fr; align-items: center; } }
.about__text p + p { margin-top: 14px; }
.about__text p { color: var(--text-2); font-size: 1.05rem; }
.about__values { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.about__values li { display: flex; gap: 12px; align-items: flex-start; }
.about__values svg { width: 22px; height: 22px; flex: none; color: var(--green-600); margin-top: 2px; }
.about__values strong { display: block; }
.about__values span { color: var(--text-2); font-size: .95rem; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fact { background: var(--ink-900); color: #fff; border-radius: var(--radius-l); padding: 24px 22px; }
.fact:nth-child(2) { background: var(--green-600); color: var(--ink-950); }
.fact:nth-child(3) { background: var(--heat-500); }
.fact:nth-child(4) { background: var(--paper-3); color: var(--text); }
.fact b { display: block; font-family: var(--font-head); font-size: clamp(1.8rem, 3.5vw, 2.6rem); line-height: 1; }
.fact span { display: block; margin-top: 8px; font-size: .9rem; opacity: .85; }
.regions { margin-top: 32px; }
.regions h3 { font-size: 1.1rem; margin-bottom: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: var(--radius-pill); background: #fff; border: 1px solid var(--line); font-size: .9rem; font-weight: 500; }
.chip::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--green-500); }
.regions p { margin-top: 12px; font-size: .9rem; color: var(--muted); }

/* ---------- Kontakt ---------- */
.contact { display: grid; gap: 32px; }
@media (min-width: 1024px) { .contact { grid-template-columns: .8fr 1.2fr; } }
.contact__info { display: grid; gap: 14px; align-content: start; }
.contact__card { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.contact__card svg { width: 24px; height: 24px; flex: none; color: var(--green-700); }
.contact__card strong { display: block; }
.contact__card a { text-decoration: none; color: var(--text-2); }
.contact__card a:hover { color: var(--text); text-decoration: underline; }
.contact__card span { color: var(--text-2); font-size: .95rem; }
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l); padding: 28px; box-shadow: var(--shadow-s); display: grid; gap: 18px; }
.form__row { display: grid; gap: 18px; }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }
.form__status { font-size: .9rem; min-height: 1.4em; }
.form__status--ok { color: var(--green-700); }
.form__status--error { color: var(--heat-700); }
.form__legal { font-size: .8rem; color: var(--muted); }
.req { color: var(--heat-600); }

/* ---------- CTA-Band ---------- */
.cta-band { background: linear-gradient(120deg, var(--green-700), var(--green-600) 45%, var(--heat-500)); color: #fff; }
.cta-band__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding-block: 40px; }
.cta-band h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
.cta-band p { margin-top: 6px; opacity: .9; }
.cta-band .btn--primary { background: #fff; color: var(--ink-950); box-shadow: none; }
.cta-band .btn--primary:hover { background: var(--paper-2); }

/* ---------- Footer ---------- */
.footer { background: var(--ink-950); color: var(--on-dark-2); padding: 56px 0 28px; font-size: .92rem; }
.footer__grid { display: grid; gap: 28px; }
@media (min-width: 768px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer .brand { color: #fff; }
.footer p { margin-top: 14px; max-width: 420px; }
.footer h4 { color: #fff; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 12px; }
.footer ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.footer a { text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer__bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .08); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .82rem; }

/* ---------- Statische Stationsliste (nur Fallback) ---------- */
.stage-list .grid { margin-top: 0; }
