/* =========================================================
   Solar Berlin – Vergleichsportal für Solaranlagen
   Design: Apple-Look, Systemschrift (keine externen Fonts, DSGVO)
   ========================================================= */

:root {
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --ink: #1d1d1f;
  --ink-2: #6e6e73;
  --ink-3: #86868b;
  --line: #d2d2d7;
  --line-soft: #e8e8ed;
  --blue: #0071e3;
  --blue-h: #0077ed;
  --link: #0066cc;
  --link-dark: #2997ff;
  --sun: #ffb340;
  --marke-gelb: #ffb81b;   /* Gelb aus dem Logo */
  --sun-2: #ff7a1a;
  --accent: #ff9f0a;
  --dark: #000000;
  --dark-2: #101011;
  --dark-3: #1d1d1f;
  --dark-ink: #f5f5f7;
  --dark-ink-2: #a1a1a6;
  --ok: #1aa053;
  --r: 18px;
  --r-lg: 28px;
  --shadow: 0 2px 6px rgba(0,0,0,.04), 0 12px 40px rgba(0,0,0,.08);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", "Segoe UI", Roboto, Arial, sans-serif;
  --ease: cubic-bezier(.25,.1,.25,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
  --wrap: 1024px;
  --wrap-wide: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -.022em;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid rgba(0,113,227,.6); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: min(var(--wrap), 100% - 44px); margin-inline: auto; }
.wrap-wide { width: min(var(--wrap-wide), 100% - 44px); margin-inline: auto; }

/* ---------- Typografie ---------- */
.eyebrow { font-size: 21px; line-height: 1.19; font-weight: 600; letter-spacing: .011em; margin: 0 0 8px; }
.h-hero { font-size: clamp(48px, 8.4vw, 96px); line-height: 1.04; font-weight: 700; letter-spacing: -.035em; margin: 0; }
.h-xl { font-size: clamp(40px, 6vw, 72px); line-height: 1.05; font-weight: 700; letter-spacing: -.03em; margin: 0; }
.h-l { font-size: clamp(32px, 4.6vw, 56px); line-height: 1.07; font-weight: 700; letter-spacing: -.028em; margin: 0; }
.h-m { font-size: clamp(26px, 3vw, 40px); line-height: 1.1; font-weight: 700; letter-spacing: -.022em; margin: 0; }
.h-s { font-size: 24px; line-height: 1.17; font-weight: 600; letter-spacing: -.015em; margin: 0; }
.lead { font-size: clamp(19px, 1.8vw, 24px); line-height: 1.35; font-weight: 500; letter-spacing: -.01em; color: var(--ink-2); margin: 0; }
.lead strong { color: var(--ink); font-weight: 600; }
.dark .lead { color: var(--dark-ink-2); }
.dark .lead strong { color: var(--dark-ink); }
.sun-text { color: inherit; }
.muted { color: var(--ink-2); }
.center { text-align: center; }
sup.fn { font-size: .55em; vertical-align: super; line-height: 0; margin-left: 1px; }
sup.fn a { color: inherit; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 26px;
  border: 0; border-radius: 980px;
  background: var(--blue); color: #fff;
  font-size: 17px; font-weight: 500; letter-spacing: -.01em;
  cursor: pointer; text-decoration: none !important;
  transition: background .2s var(--ease), transform .2s var(--ease), box-shadow .3s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { background: var(--blue-h); }
.btn:active { transform: scale(.97); }
.btn-l { min-height: 56px; padding: 0 32px; font-size: 19px; }
.btn-s { min-height: 30px; padding: 0 14px; font-size: 13px; font-weight: 500; }
.btn-ghost { background: transparent; color: var(--link); box-shadow: inset 0 0 0 1.5px currentColor; }
.btn-ghost:hover { background: rgba(0,102,204,.06); }
.dark .btn-ghost { color: var(--link-dark); }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: #f0f0f2; }
.link-arrow { font-size: 19px; display: inline-flex; align-items: center; gap: 4px; }
.link-arrow::after { content: "›"; font-size: 1.25em; line-height: 1; transform: translateY(-1px); transition: transform .25s var(--ease); }
.link-arrow:hover { text-decoration: underline; }
.link-arrow:hover::after { transform: translate(3px,-1px); }
.dark .link-arrow { color: var(--link-dark); }

/* ---------- Glas-Navigation (schwebt über dem Hero) ---------- */
.glass-nav { position: absolute; top: 18px; left: 0; right: 0; z-index: 80; pointer-events: none; }
.gn-inner {
  pointer-events: auto;
  width: min(var(--wrap-wide), 100% - 44px); height: 60px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  color: #fff;
}
.glass-nav.fixed-light .gn-inner { color: var(--ink); }
.glass-nav .logo { color: inherit; }
.nav-links { display: flex; gap: 30px; list-style: none; margin: 0; padding: 0; font-size: 16px; letter-spacing: -.01em; }
.nav-links a { color: inherit; opacity: .85; transition: opacity .2s; text-shadow: 0 1px 10px rgba(0,0,0,.25); }
.fixed-light .nav-links a { text-shadow: none; }
.nav-links a:hover { opacity: 1; text-decoration: none; }
.nav-links a.active { opacity: 1; font-weight: 600; }
@media (max-width: 1240px) { .nav-links { gap: 20px; font-size: 15px; } }
@media (max-width: 1100px) { .nav-links { display: none; } }
.nav-right { display: flex; align-items: center; gap: 12px; }
.nav-right .btn { font-weight: 600; } /* Navigation einheitlich Semibold */
/* B2B-Einstieg als gelbe Pille im Logo-Gelb (bewusste Ausnahme von „keine gelben Buttons“), dunkle Schrift für Lesbarkeit */
.nav-b2b { display: inline-flex; align-items: center; min-height: 40px; padding: 0 18px; border-radius: 980px; background: var(--marke-gelb); color: #1d1d1f; font-size: 15px; font-weight: 600; letter-spacing: -.01em; white-space: nowrap; text-decoration: none !important; box-shadow: inset 0 0 0 1px rgba(120,80,0,.18), 0 1px 3px rgba(60,40,0,.18); transition: background .2s, transform .2s var(--ease); }
.nav-b2b:hover { background: #ffc53d; }
/* ---------- Menü für schmale Bildschirme ---------- */
.nav-menu-btn { display: none; position: relative; flex: none; width: 40px; height: 40px; margin: 0 -8px 0 -2px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.nav-menu-btn span, .nm-zu span { position: absolute; left: 11px; right: 11px; height: 1.7px; border-radius: 2px; background: currentColor; }
.nav-menu-btn span:first-child { top: 16px; } .nav-menu-btn span:last-child { top: 23px; }
.glass-nav:not(.fixed-light) .nav-menu-btn { filter: drop-shadow(0 1px 6px rgba(0,0,0,.3)); }
@media (max-width: 1100px) { .nav-menu-btn { display: block; } }
.nav-menu { position: fixed; inset: 0; z-index: 200; display: flex; flex-direction: column; padding: 14px 22px calc(26px + env(safe-area-inset-bottom)); background: rgba(0,0,0,.94); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); color: #f5f5f7; overflow-y: auto; opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility 0s .3s; }
.nav-menu.auf { opacity: 1; visibility: visible; transition: opacity .3s var(--ease); }
.nm-kopf { display: flex; align-items: center; justify-content: space-between; min-height: 52px; }
.nm-kopf .logo-img { display: block; height: 43px; width: auto; }
.nm-zu { position: relative; flex: none; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.1); color: #f5f5f7; cursor: pointer; }
.nm-zu span { top: 19px; } .nm-zu span:first-child { transform: rotate(45deg); } .nm-zu span:last-child { transform: rotate(-45deg); }
.nm-links { list-style: none; margin: 30px 0 0; padding: 0; }
.nm-links a { display: block; padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,.12); font-size: 28px; font-weight: 600; letter-spacing: -.025em; color: #f5f5f7; text-decoration: none; opacity: 0; transform: translateY(10px); transition: opacity .4s var(--ease), transform .5s var(--ease-out); }
.nav-menu.auf .nm-links a { opacity: 1; transform: none; transition-delay: calc(var(--i) * 45ms + 60ms); }
.nm-aktionen { display: grid; gap: 12px; margin-top: auto; padding-top: 34px; }
.nm-aktionen .btn { width: 100%; min-height: 54px; font-size: 17px; }
@media (min-width: 1101px) { .nav-menu { display: none; } }
/* Gleiche Ausnahme für den Partner-Button am Seitenende */
.btn-gelb { background: var(--marke-gelb); color: #1d1d1f; box-shadow: inset 0 0 0 1px rgba(120,80,0,.18), 0 1px 3px rgba(60,40,0,.18); }
.btn-gelb:hover { background: #ffc53d; }
.nav-b2b:active { transform: scale(.97); }
@media (max-width: 900px) {
  .nav-links, .nav-b2b { display: none; }
  .glass-nav { top: 14px; }
  .gn-inner { height: 52px; }
}
.fixed-light + main.legal, .glass-nav + main.legal { padding-top: clamp(120px, 14vw, 160px); }

/* ---------- Globale Navigation (alt) ---------- */
.gnav {
  position: relative; z-index: 60;
  height: 48px;
  background: rgba(22,22,23,.92);
  color: #e8e8ed;
  font-size: 13px;
}
.gnav .wrap-wide { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: inline-flex; flex: none; align-items: center; gap: 9px; color: inherit; font-weight: 600; font-size: 17px; letter-spacing: -.02em; text-decoration: none !important; }
/* Bild-Logo: dunkle Schrift auf hellem Grund, helle Schrift über dem Foto */
.logo-img { display: block; height: 52px; width: auto; } /* Logo mit „Das große Vergleichsportal“ (614 × 163) */
.logo-hell { display: none; }
.glass-nav:not(.fixed-light) .logo-dunkel { display: none; }
.glass-nav:not(.fixed-light) .logo-hell { display: block; filter: drop-shadow(0 1px 8px rgba(0,0,0,.28)); }
/* Über dem Hero-Foto (nur Startseite): Unterzeile „Das große Vergleichsportal“ in Weiß mit 80 % Deckkraft statt Grau */
.logo-foto { display: none; }
.glass-nav.ueber-foto:not(.fixed-light) .logo-hell { display: none; }
.glass-nav.ueber-foto:not(.fixed-light) .logo-foto { display: block; filter: drop-shadow(0 1px 8px rgba(0,0,0,.28)); }
@media (max-width: 560px) { .logo-img { height: 43px; } }
@media (max-width: 350px) { .logo-img, .nm-kopf .logo-img { height: 34px; } .gn-inner .btn-s { padding: 0 12px; font-size: 14px; } } /* sehr kleine Handys: Logo proportional kleiner statt gestaucht */
/* Logo als Absender über dem Manifest-Text, linksbündig mit dem Text */
.sec-logo { display: block; height: 68px; width: auto; margin: 0 0 clamp(30px, 3.6vw, 46px); }
.sec-logo.mitte { margin: 0 auto 30px; } /* zentriert über einer zentrierten Sektions-Headline */
@media (max-width: 600px) { .sec-logo { height: 52px; } }
.gn-inner .btn-s { white-space: nowrap; gap: 0; min-height: 40px; padding: 0 20px; font-size: 15px; }
/* Blaue Buttons über dem Foto: zarte dunkelblaue Kontur grenzt sie vom Himmel ab */
.gn-inner .btn, .plz-form .btn { box-shadow: inset 0 0 0 1px rgba(10,58,122,.45), 0 1px 3px rgba(0,30,80,.18); }
@media (max-width: 560px) { .t-long { display: none; } .gn-inner .btn-s { min-height: 38px; padding: 0 17px; font-size: 15px; } .gn-inner { gap: 12px; } .nav-right { gap: 8px; } } /* engere Abstände, damit das Logo nicht gestaucht wird */
.gnav-links { display: flex; gap: 30px; list-style: none; margin: 0; padding: 0; }
.gnav-links a { color: #e8e8ed; opacity: .82; transition: opacity .2s; }
.gnav-links a:hover { opacity: 1; text-decoration: none; }
.gnav-right { display: flex; align-items: center; gap: 18px; }
.gnav-right .free { opacity: .7; }
@media (max-width: 860px) { .gnav-links, .gnav-right .free { display: none; } }

/* ---------- Lokale Navigation (sticky) ---------- */
.lnav {
  position: sticky; top: 0; z-index: 50;
  height: 52px;
  background: rgba(255,255,255,.72);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.lnav.stuck { border-bottom-color: rgba(0,0,0,.12); }
.lnav .wrap-wide { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.lnav-title { font-size: 21px; font-weight: 600; letter-spacing: .011em; color: var(--ink); text-decoration: none !important; white-space: nowrap; }
.lnav-menu { display: flex; align-items: center; gap: 24px; }
.lnav-links { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; font-size: 12px; }
.lnav-links a { color: var(--ink); opacity: .85; }
.lnav-links a.active { opacity: 1; font-weight: 600; }
.lnav-links a:hover { color: var(--link); text-decoration: none; opacity: 1; }
@media (max-width: 860px) {
  .lnav-links { display: none; }
  .lnav-title { font-size: 19px; }
}

/* ---------- Sektionen ---------- */
section { position: relative; }
.sec { padding: clamp(80px, 11vw, 140px) 0; }
.sec-tight { padding: clamp(60px, 8vw, 100px) 0; }
.alt { background: var(--bg-alt); }
.dark { background: var(--dark); color: var(--dark-ink); }
.dark-2 { background: var(--dark-2); color: var(--dark-ink); }
.sec-head { text-align: center; max-width: 820px; margin: 0 auto clamp(40px, 6vw, 72px); }
.sec-head .lead { margin-top: 18px; }
.sec-head .eyebrow { color: var(--ink-2); }
.dark .sec-head .eyebrow, .dark-2 .sec-head .eyebrow { color: var(--dark-ink-2); }

/* Scroll-Reveal */
.rv { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out); }
.rv.in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: .08s; } .rv-d2 { transition-delay: .16s; } .rv-d3 { transition-delay: .24s; } .rv-d4 { transition-delay: .32s; }
/* Bei abgeschaltetem JavaScript bleibt kein Inhalt unsichtbar */
@media (scripting: none) { .rv { opacity: 1; transform: none; } }

/* ---------- Hero ---------- */
.hero {
  background: #000; color: var(--dark-ink);
  padding: clamp(48px, 6vw, 76px) 0 0;
  overflow: hidden;
  text-align: center;
}
.hero-glow {
  position: absolute; left: 50%; top: 58%;
  width: 1300px; height: 1300px; margin-left: -650px;
  border-radius: 50%;
  display: none;
  transform: translateY(calc(var(--sunY, 0) * 1px)) scale(var(--sunS, 1));
  pointer-events: none;
}
.hero h1 { font-size: 21px; font-weight: 600; letter-spacing: .011em; margin: 0 0 14px; color: rgba(255,255,255,.8); }
.hero .h-hero { max-width: 980px; margin: 0 auto; }
.hero .lead { max-width: 640px; margin: 22px auto 0; color: #a1a1a6; }
.hero .lead strong { color: #f5f5f7; }

.plz-form {
  position: relative; z-index: 3;
  display: flex; align-items: center; gap: 8px;
  width: min(520px, 100%); margin: 36px auto 0;
  padding: 6px;
  border-radius: 980px;
  background: rgba(255,255,255,.1);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.18);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  transition: box-shadow .3s;
}
.plz-form:focus-within { box-shadow: inset 0 0 0 1px rgba(255,255,255,.4), 0 0 0 6px rgba(0,113,227,.25); }
.plz-form label { display: flex; align-items: center; gap: 10px; flex: 1; padding-left: 18px; min-width: 0; }
.plz-form svg { width: 20px; height: 20px; flex: none; opacity: .7; }
.plz-form input {
  flex: 1; min-width: 0;
  height: 48px; border: 0; outline: 0; background: transparent;
  font: inherit; font-size: 19px; color: inherit; letter-spacing: .02em;
}
.plz-form input::placeholder { color: rgba(255,255,255,.55); letter-spacing: -.01em; }
.plz-form .btn { flex: none; }
.plz-form.light { background: #fff; box-shadow: inset 0 0 0 1px var(--line), var(--shadow); color: var(--ink); }
.plz-form.light input::placeholder { color: var(--ink-3); }
.plz-form.light:focus-within { box-shadow: inset 0 0 0 1px var(--blue), 0 0 0 6px rgba(0,113,227,.15); }
.plz-hint { min-height: 22px; margin-top: 12px; font-size: 14px; color: #a1a1a6; transition: color .2s; }
.plz-hint.ok { color: #fff; }
.plz-hint.err { color: #ff8a80; }
.plz-form.light + .plz-hint { color: var(--ink-2); }
.plz-form.light + .plz-hint.ok { color: var(--ok); }
.plz-form.light + .plz-hint.err { color: #d70015; }
/* Kunden-CTAs im Seitenverlauf und Abschluss für Hausbesitzer */
.sec-cta { margin-top: clamp(40px, 5vw, 60px); text-align: center; }
.cta-kunde { text-align: center; }
.cta-kunde .lead { max-width: 600px; margin: 22px auto 0; }
.cta-kunde .plz-hint { margin-top: 26px; } /* mehr Luft unter dem Formular */
.h-link { color: inherit; text-decoration: none; }
.h-link:hover { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 520px) {
  .plz-form { flex-direction: column; border-radius: 24px; padding: 8px; }
  .plz-form label { width: 100%; padding: 0 10px; }
  .plz-form .btn { width: 100%; }
}

.checks { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; margin: 18px 0 0; padding: 0; list-style: none; font-size: 14px; color: #a1a1a6; }
.checks li { display: inline-flex; align-items: center; gap: 7px; }
.checks svg { width: 16px; height: 16px; color: currentColor; }
.alt .checks, .light-checks { color: var(--ink-2); }
.light-checks svg { color: var(--ok); }

/* Hero mit Foto */
.hero-photo {
  position: relative; overflow: hidden; text-align: left;
  min-height: max(700px, 100svh);
  padding: clamp(128px, 19vh, 190px) 0 clamp(60px, 8vh, 100px);
  background: #18293d;
}
.hero-media { position: absolute; inset: 0; }
/* Eigene Grafikebenen: Foto und bewegte Elemente werden getrennt zusammengesetzt, das große Foto muss nie neu gemalt werden */
.hero-media picture, .pv-fx, .wb-lade { will-change: transform; }
.hm-inner { position: absolute; inset: 0; transform-origin: 66% 60%; animation: heroIn 2.6s var(--ease-out) both; }
@keyframes heroIn { from { transform: scale(1.12); filter: brightness(.7); } to { transform: none; filter: none; } }
.hero-media picture, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media img { object-fit: cover; object-position: var(--ox, 60%) var(--oy, 100%); } /* unten verankert: Auto, Wallbox und Wärmepumpe bleiben auch im Breitbild sichtbar */
.hero-media.noimg img { visibility: hidden; }
.hero-shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(10,20,36,.5) 0%, rgba(10,20,36,.3) 32%, rgba(10,20,36,0) 58%);
}
.hero-content { position: relative; z-index: 3; pointer-events: none; }
.hero-content > * { pointer-events: auto; }
.hero-eyebrow { margin: 0 0 18px; font-size: 19px !important; font-weight: 600 !important; letter-spacing: -.01em !important; color: rgba(255,255,255,.88) !important; text-shadow: 0 1px 14px rgba(0,0,0,.3); }
.hero-sub { margin: 22px 0 0; font-size: clamp(22px, 2.4vw, 32px); line-height: 1.2; font-weight: 600; letter-spacing: -.02em; color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.18), 0 2px 18px rgba(0,0,0,.2); }
.hero-photo .h-hero { font-size: clamp(50px, 7.4vw, 108px); line-height: .96; letter-spacing: -.048em; max-width: 900px; margin: 0; text-shadow: 0 1px 3px rgba(0,0,0,.16), 0 4px 32px rgba(0,0,0,.22); } /* sehr dezenter Schatten: knapp + weich */
.hero-photo .lead { max-width: 600px; margin: 14px 0 0; color: rgba(255,255,255,.86); text-shadow: 0 1px 16px rgba(0,0,0,.35); }
.hero-photo .lead strong { color: #fff; }
.hero-photo .plz-form { margin: 30px 0 0; background: rgba(255,255,255,.12); -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%); box-shadow: inset 0 0 0 1px rgba(255,255,255,.24); }
.hero-photo .checks { justify-content: flex-start; color: #fff; margin-top: 4px; text-shadow: 0 1px 12px rgba(0,0,0,.45); }
.hero-photo .plz-hint { color: #fff; min-height: 0; margin: 10px 0 4px; }

.img-layer { position: absolute; left: 0; top: 0; width: 100%; height: 100%; z-index: 2; }
/* Warnblinker am E-Auto: Leuchtleiste der Rückleuchte (im Foto x 2274–2348, y 1516–1536 von 2560 × 1837) */
.hero-media .blinker { will-change: opacity; position: absolute; inset: auto; left: 88.83%; top: 82.53%; width: 2.89%; height: auto; pointer-events: none; mix-blend-mode: screen; animation: warnblinker 1s steps(1, end) infinite; }
.hero-media .blinker img { position: static; display: block; width: 100%; height: auto; object-fit: fill; }
@keyframes warnblinker { 0% { opacity: 1; } 50% { opacity: 0; } }
/* Ladeanzeige der Wallbox: vertikaler Balken auf der Front (im Foto x 1852,7–1867,3, y 1343–1429).
   Schwarze Spur, blaue Füllung mit 2 px schwarzem Rand ringsum, lädt von unten nach oben, beide mit runden Enden */
.wb-lade { position: absolute; left: 72.37%; top: 73.10%; width: .57%; height: 4.68%; border-radius: 99px; background: #111214; box-shadow: inset 0 0 0 .5px rgba(255,255,255,.06), 0 0 10px 2px rgba(41,151,255,.28); overflow: hidden; pointer-events: none; }
.wb-lade i { position: absolute; left: 13.7%; right: 13.7%; bottom: 2.33%; height: 95.35%; border-radius: 99px; overflow: hidden; } /* Fenster: die Füllung wächst nur hier drin und läuft nie über den schwarzen Rand */
.wb-lade i::before { content: ""; position: absolute; inset: 0; will-change: transform; border-radius: 99px; background: linear-gradient(90deg, #1450c8 0%, #2f7ff0 26%, #4d9fff 37%, #5cf0ff 42%, #4d9fff 47%, #2f7ff0 62%, #1450c8 100%); box-shadow: 0 0 2px rgba(90,174,255,.6); animation: wbLaden 3.2s ease-in-out infinite; }
@keyframes wbLaden { 0% { transform: translateY(84%); opacity: 0; } 8% { transform: translateY(84%); opacity: 1; } 72% { transform: translateY(0); } 88% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(0); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .hero-media .blinker { animation: none; opacity: 0; } .wb-lade i::before { animation: none; transform: translateY(30%); } }
@media (max-width: 600px) { .hero-media .blinker { display: none; } } /* Heck liegt dort außerhalb des Ausschnitts */
/* Unscharfe Blätter im linken Vordergrund wiegen sanft im Wind (freigestellte Ebene, im Foto x 0–900, y 1050–1837) */
.hero-media img.laub { will-change: transform; position: absolute; inset: auto; left: 0; top: 57.16%; width: 35.16%; height: auto; object-fit: fill; pointer-events: none; transform-origin: 0% 100%; animation: laubWiegen 7s ease-in-out infinite; }
@keyframes laubWiegen { 0%, 100% { transform: translate(0, 0) rotate(0deg); } 30% { transform: translate(6px, -2px) rotate(.5deg); } 60% { transform: translate(-3px, 1px) rotate(-.3deg); } }
/* Baum neben dem Auto: dezent, aber wahrnehmbar; Drehpunkt am rechten Bildrand, wo der Ast herkommt (im Foto x 2280–2560, y 720–1340) */
.hero-media img.laub.baum { left: 89.06%; top: 39.2%; width: 10.94%; transform-origin: 100% 72%; animation: baumWiegen 6s ease-in-out -2s infinite; }
@keyframes baumWiegen { 0%, 100% { transform: translate(0, 0) rotate(0deg); } 35% { transform: translate(-4px, 1px) rotate(-1deg); } 70% { transform: translate(2.5px, -1px) rotate(.6deg); } }
@media (prefers-reduced-motion: reduce) { .hero-media img.laub { animation: none; } }
.pv-fx { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
/* Sonnenstrahlen: Bündel hauchdünner Lichtlinien fällt von oben in ein Modul */
.pv-strahl { opacity: 0; fill: none; }
@media (prefers-reduced-motion: reduce) { .pv-strahl { display: none; } }

.hotspots { position: absolute; inset: 0; }
.hs {
  position: absolute; left: 0; top: 0; width: 0; height: 0;
  padding: 0; border: 0; background: none; cursor: pointer; color: #fff;
  -webkit-tap-highlight-color: transparent;
}
.hs[hidden] { display: none; }
.hs-dot { position: absolute; left: -6px; top: -6px; width: 12px; height: 12px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(255,255,255,.25), 0 2px 10px rgba(0,0,0,.4); transform: scale(0); transition: transform .45s var(--ease-out); }
.hs-line { position: absolute; left: -.5px; bottom: 10px; width: 1px; height: 64px; background: rgba(255,255,255,.9); box-shadow: 0 0 6px rgba(0,0,0,.35); transform: scaleY(0); transform-origin: bottom; transition: transform .5s var(--ease-out); }
.hs-txt {
  position: absolute; left: -22px; bottom: 74px; display: block; text-align: left; white-space: nowrap;
  padding: 12px 20px 13px; border-radius: 18px;
  background: rgba(22,22,24,.42);
  -webkit-backdrop-filter: blur(18px) saturate(180%); backdrop-filter: blur(18px) saturate(180%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.2), 0 10px 30px rgba(0,0,0,.22);
  opacity: 0; transform: translateY(8px); transition: opacity .45s var(--ease), transform .55s var(--ease-out); }
.hs-txt b { display: block; font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.hs-txt small { display: block; margin-top: 2px; font-size: 17px; color: rgba(255,255,255,.85); }
.hs.left .hs-txt { left: auto; right: -22px; text-align: right; }
/* Wallbox: Label 10 px höher, damit der Ladebalken frei bleibt */
.hs.hoch .hs-line { height: 74px; }
.hs.hoch .hs-txt { bottom: 84px; }
/* Einblenden: Punkt, dann Linie, dann Text */
.hs.open .hs-dot { transform: scale(1); }
.hs.open .hs-line { transform: scaleY(1); transition-delay: .2s; }
.hs.open .hs-txt { opacity: 1; transform: none; transition-delay: .5s, .5s; }
/* Ausblenden: alles gleichzeitig und schneller */
.hs:not(.open) .hs-dot, .hs:not(.open) .hs-line, .hs:not(.open) .hs-txt { transition-duration: .3s; transition-delay: 0s; }
.hs.open .hs-dot::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.7); animation: hsPulse 2.4s .4s var(--ease) infinite; }
@keyframes hsPulse { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(1.8); opacity: 0; } }
@media (max-width: 760px) { .hs-line { height: 46px; } .hs.hoch .hs-line { height: 56px; } .hs.hoch .hs-txt { bottom: 66px; } .hs-txt { bottom: 56px; padding: 10px 15px 11px; border-radius: 15px; } .hs-txt b { font-size: 19px; } .hs-txt small { font-size: 15px; } }

/* Zeilenumbruch nur auf dem iPhone (z. B. Hero-Unterzeile nach dem ersten Satz) */
.br-mobil { display: none; }
@media (max-width: 700px) { .br-mobil { display: inline; } .br-desk { display: none; } } /* br-desk: Umbruch nur auf großen Bildschirmen */

/* Band unter dem Hero: drei Versprechen groß und zentriert, darunter die Regionen (Bezirke + Brandenburg) als Pillen */
.marken { background: var(--dark-2); color: #a1a1a6; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.marken-in { padding: clamp(44px, 5vw, 68px) 0 clamp(52px, 6vw, 84px); }
.marken-trust { display: flex; justify-content: center; margin: 0; padding: 0; list-style: none; }
.marken-trust li { display: flex; align-items: center; gap: .75em; padding: 0 clamp(16px, 3.4vw, 56px); font-size: clamp(24px, 2.6vw, 37px); line-height: 1.08; font-weight: 700; letter-spacing: -.025em; color: #f5f5f7; white-space: nowrap; }  /* wie die Schritt-Headlines („Konfigurieren“) */
.marken-trust li + li { border-left: 1px solid rgba(255, 255, 255, .18); }
.marken-trust svg { flex: none; width: 30px; height: 30px; color: #fff; }
.marken-trust .tz { font-size: .6em; font-weight: 400; letter-spacing: -.01em; color: #a1a1a6; }  /* obere Zeile klein und regular, untere groß und bold */
.marken-trust .ti { flex: none; width: auto; height: clamp(80px, 7.8vw, 112px); margin: -14px 0; }
.marken-trust .ti-pin { height: clamp(88px, 8.58vw, 123px); margin: -19px 0; } /* Pin 10 % größer, Zeilenhöhe bleibt gleich */  /* Breite folgt dem Motiv (Pin ist schmaler) */  /* 3D-Icons (Michas Icon-Familie) */
/* Aufbau-Story: je Vorteil ploppt erst das Icon wie Gummi auf, dann fliegt der Text von links herein; die drei nacheinander von links nach rechts */
.marken-trust.wartet .ti { opacity: 0; transform: scale(.2); }
.marken-trust.wartet li > span { opacity: 0; transform: translateX(-28px); }
.marken-trust.ploppt .ti { transform-origin: 50% 85%; animation: gummi 1.15s linear .15s both; will-change: transform; }
.marken-trust.ploppt li > span { animation: reinfliegen .7s cubic-bezier(.16,1,.3,1) .4s both; }
.marken-trust.ploppt li:nth-child(2) .ti { animation-delay: .6s; }
.marken-trust.ploppt li:nth-child(2) > span { animation-delay: .85s; }
.marken-trust.ploppt li:nth-child(3) .ti { animation-delay: 1.05s; }
.marken-trust.ploppt li:nth-child(3) > span { animation-delay: 1.3s; }
@keyframes reinfliegen { from { opacity: 0; transform: translateX(-28px); } to { opacity: 1; transform: none; } }
@keyframes gummi { /* aus einer gedämpften Feder berechnet: viele Zwischenbilder, linear abgespielt = flüssig wie ein Video */
  0.0% { opacity: 0; transform: scale(0.169, 0.131); }
  2.2% { opacity: 0.18; transform: scale(0.346, 0.237); }
  4.3% { opacity: 0.36; transform: scale(0.526, 0.343); }
  6.5% { opacity: 0.54; transform: scale(0.683, 0.455); }
  8.7% { opacity: 0.72; transform: scale(0.801, 0.580); }
  10.9% { opacity: 0.91; transform: scale(0.877, 0.715); }
  13.0% { transform: scale(0.917, 0.851); }
  15.2% { transform: scale(0.932, 0.975); }
  17.4% { transform: scale(0.937, 1.077); }
  19.6% { transform: scale(0.941, 1.148); }
  21.7% { transform: scale(0.953, 1.186); }
  23.9% { transform: scale(0.975, 1.192); }
  26.1% { transform: scale(1.004, 1.174); }
  28.3% { transform: scale(1.036, 1.140); }
  30.4% { transform: scale(1.067, 1.098); }
  32.6% { transform: scale(1.090, 1.057); }
  34.8% { transform: scale(1.104, 1.022); }
  37.0% { transform: scale(1.107, 0.997); }
  39.1% { transform: scale(1.099, 0.983); }
  41.3% { transform: scale(1.082, 0.979); }
  43.5% { transform: scale(1.060, 0.983); }
  45.7% { transform: scale(1.036, 0.992); }
  47.8% { transform: scale(1.012, 1.002); }
  50.0% { transform: scale(0.992, 1.012); }
  52.2% { transform: scale(0.977, 1.020); }
  54.3% { transform: scale(0.969, 1.023); }
  56.5% { transform: scale(0.966, 1.022); }
  58.7% { transform: scale(0.968, 1.018); }
  60.9% { transform: scale(0.975, 1.011); }
  63.0% { transform: scale(0.983, 1.003); }
  65.2% { transform: scale(0.992, 0.995); }
  67.4% { transform: scale(1.001, 0.988); }
  69.6% { transform: scale(1.007, 0.984); }
  71.7% { transform: scale(1.010, 0.982); }
  73.9% { transform: scale(1.011, 0.983); }
  76.1% { transform: scale(1.010, 0.985); }
  78.3% { transform: scale(1.007, 0.990); }
  80.4% { transform: scale(1.004, 0.995); }
  82.6% { transform: scale(1.000, 0.999); }
  84.8% { transform: scale(0.996, 1.004); }
  87.0% { transform: scale(0.994, 1.006); }
  89.1% { transform: scale(0.993, 1.008); }
  91.3% { transform: scale(0.993, 1.008); }
  93.5% { transform: scale(0.994, 1.007); }
  95.7% { transform: scale(0.996, 1.005); }
  97.8% { transform: scale(0.999, 1.002); }
  100% { opacity: 1; transform: none; }
}
.marken-areas { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: clamp(44px, 5.5vw, 76px); }
.areas-titel { margin: 0 0 14px; font-size: 14px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #86868b; }
/* Tablet und iPhone: Versprechen untereinander (Icon über Text), sonst laufen sie in einer Zeile über */
@media (max-width: 960px) {
  .marken-trust { display: grid; grid-template-columns: repeat(3, 1fr); }
  .marken-trust li { flex-direction: column; gap: 8px; padding: 0 2px; font-size: clamp(15px, 2.8vw, 26px); letter-spacing: -.025em; line-height: 1.15; text-align: center; white-space: normal; }
  .marken-trust svg { width: 24px; height: 24px; }
  .marken-trust .tz { font-size: .8em; letter-spacing: -.01em; }
  .marken-trust .ti { width: auto; height: 88px; margin: -10px 0 -6px; }
  .marken-trust .ti-pin { height: 97px; margin: -14.5px 0 -10.5px; }
}
@media (max-width: 700px) {
  .marken-in { padding: 30px 0 40px; }
  /* iPhone: je Region eine Wischzeile statt 25 umbrechender Pillen; angeschnittener Rand zeigt, dass es weitergeht */
  .marken-areas { grid-template-columns: minmax(0, 1fr); gap: 24px; margin-top: 32px; }
  .marken-areas .areas-titel { margin-bottom: 12px; }
  .marken-areas .tags { flex-wrap: nowrap; overflow-x: auto; margin: 0 -22px; padding: 0 0 0 22px; scroll-padding-inline: 22px; scroll-snap-type: x proximity; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .marken-areas .tags::-webkit-scrollbar { display: none; }
  .marken-areas .tags::after { content: ""; flex: 0 0 14px; }
  .marken-areas .tags li { flex: none; white-space: nowrap; scroll-snap-align: start; }
}

.stats-band { background: #000; color: var(--dark-ink); padding: clamp(90px, 11vw, 150px) 0 clamp(40px, 5vw, 70px); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 48px 32px; }
.stat { display: flex; flex-direction: column; }
.stat-pre { font-size: 19px; font-weight: 600; letter-spacing: -.01em; color: #a1a1a6; min-height: 1.3em; }
.stat-num { display: flex; align-items: baseline; margin: 6px 0 10px; font-size: clamp(72px, 8.2vw, 124px); line-height: .95; font-weight: 700; letter-spacing: -.055em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.stat-num small { font-size: .42em; font-weight: 700; letter-spacing: -.03em; margin-left: .08em; }
.stat-key { display: block; margin: 2px 0 10px; font-size: clamp(30px, 3.2vw, 44px); line-height: 1.05; font-weight: 700; letter-spacing: -.03em; color: #2997ff; }
.stat-cap { max-width: 230px; font-size: 17px; line-height: 1.4; color: #a1a1a6; }
/* Zweier-Raster: Zahl füllt ihre Spalte. 3,2 = Breite von „50 %“ (breiteste Zahl) je Schriftgröße, mit Luft */
@media (max-width: 1000px) {
  .stats { grid-template-columns: repeat(2, 1fr); gap: 64px 24px; }
  .stat-num { font-size: min(calc((100vw - 68px) / 3.2), 160px); }
  .stat-cap { max-width: none; }
}
@media (max-width: 560px) {
  .stats { gap: 52px 18px; }
  .stat-pre { font-size: 15px; }
  .stat-num { font-size: calc((100vw - 62px) / 3.2); margin: 2px 0 8px; }
  .stat-cap { font-size: 14px; }
  .stat-key { font-size: 26px; margin: 0 0 8px; }
}

@media (max-width: 760px) {
  .hero-photo { min-height: 0; padding: 96px 0 0; background: #18293d; display: flex; flex-direction: column; }
  .hero-content { order: 0; }
  .hero-media { position: relative; order: 1; inset: auto; height: max(400px, 118vw); margin-top: 18px; transform: none; overflow: hidden; }
  .hero-media img { --ox: 72%; --oy: 0%; }
  .hero-eyebrow { font-size: 15px !important; margin-bottom: 14px; }
  .chip-more { display: none; }

  .hero-sub { font-size: 21px; }
  /* Headline füllt die Breite: Faktor = Textbreite „zum fairen Preis.“ geteilt durch Schriftgröße */
  .hero-photo .h-hero { font-size: calc((100vw - 44px) / 6.92); line-height: .94; white-space: nowrap; }
  .hero-shade { display: none; }
  .hero-photo .h-hero, .hero-photo .lead, .hero-sub { text-shadow: none; } /* iPhone: Text steht auf ruhiger Fläche, kein Schatten nötig */
  .hero-photo .plz-form { background: rgba(255,255,255,.1); }
  .hero-photo .checks { gap: 8px 16px; font-size: 13px; }
  .hero-stats { grid-template-columns: 1fr; gap: 26px; text-align: center; }
  .hero-stats div + div { border-left: 0; }
}

/* 3D-Modulfeld */
.stage {
  position: relative;
  perspective: 1700px;
  perspective-origin: 50% 30%;
  height: clamp(340px, 52vw, 620px);
  display: grid; place-items: center;
}
.array {
  --rx: 56deg; --rz: -32deg; --s: 1;
  position: relative;
  display: grid;
  grid-template-columns: repeat(var(--cols, 8), var(--cw, 54px));
  gap: var(--gap, 5px);
  padding: calc(var(--gap, 5px) * 2.4);
  border-radius: 10px;
  background: linear-gradient(145deg, #3a3a3e, #1b1b1d 60%);
  box-shadow: 0 0 0 1px rgba(255,255,255,.06), 0 60px 120px rgba(0,0,0,.6);
  transform: rotateX(var(--rx)) rotateZ(var(--rz)) scale(var(--s));
  transform-style: preserve-3d;
  transition: transform .9s var(--ease-out), grid-template-columns .6s var(--ease-out);
  will-change: transform;
}
.array.scroll-linked { transition: none; }
.array::after {
  content: ""; position: absolute; inset: 8% -6% -14% -6%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0,0,0,.55), transparent);
  transform: translateZ(-60px);
  filter: blur(20px);
  z-index: -1;
}
.cell {
  position: relative;
  aspect-ratio: 1134 / 1762;
  border-radius: 2px;
  overflow: hidden;
  background:
    repeating-linear-gradient(90deg, transparent 0 calc(16.66% - .5px), rgba(255,255,255,.07) calc(16.66% - .5px) 16.66%),
    repeating-linear-gradient(0deg, transparent 0 calc(10% - .5px), rgba(255,255,255,.05) calc(10% - .5px) 10%),
    linear-gradient(160deg, #1f2a44 0%, #0b1220 55%, #070b14 100%);
  box-shadow: inset 0 0 0 1px rgba(160,190,255,.16);
  transform: translateZ(0);
  opacity: 1;
  transition: transform .7s var(--ease-out), opacity .5s var(--ease), filter .6s;
}
.cell::before {
  content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px;
  background: rgba(255,255,255,.12);
}
.cell::after {
  content: ""; position: absolute; inset: -60%;
  background: linear-gradient(115deg, transparent 42%, rgba(255,255,255,.28) 50%, transparent 58%);
  transform: translateX(var(--sheen, -60%));
  transition: transform 1.2s var(--ease);
}
.cell.off { opacity: 0; transform: translateZ(140px) rotateX(-10deg); }
.cell.lit { filter: brightness(1.25) saturate(1.2); }
.sheen-anim .cell::after { animation: sheen 6s var(--ease) infinite; }
@keyframes sheen { 0%, 55% { transform: translateX(-60%); } 85%, 100% { transform: translateX(60%); } }

/* Hero-Stage Kennzahlen */
.hero-stage { height: clamp(300px, 40vw, 540px); margin-top: -40px; place-items: start center; padding-top: clamp(10px, 2vw, 30px); }
.hero-stats {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: repeat(4, 1fr);
  max-width: 1080px; margin: 0 auto; padding: 0 0 clamp(64px, 8vw, 100px);
}
.hero-stats div { padding: 0 12px; }
.hero-stats b { display: block; white-space: nowrap; font-variant-numeric: tabular-nums; font-size: clamp(28px, 3.6vw, 44px); font-weight: 700; letter-spacing: -.03em; line-height: 1.1; }
.hero-stats span { display: block; margin-top: 4px; font-size: 14px; color: #a1a1a6; line-height: 1.35; }
.hero-stats div + div { border-left: 1px solid rgba(255,255,255,.14); }
.hero-stats b span { display: inline; margin: 0; font-size: inherit; color: inherit; line-height: inherit; }

/* ---------- Manifest (Wort-für-Wort) ---------- */
.manifest { padding: clamp(30px, 3.8vw, 55px) 0 clamp(100px, 14vw, 180px); background: #000; color: #f5f5f7; }
/* Zarte Trennlinie zwischen Zahlenblöcken und Manifest, so breit wie die Zahlen */
.manifest-linie { height: 1px; background: rgba(255,255,255,.26); margin-bottom: clamp(70px, 10.2vw, 125px); }
.manifest p { font-size: clamp(30px, 4.6vw, 56px); line-height: 1.12; font-weight: 700; letter-spacing: -.028em; margin: 0; max-width: 980px; }
.manifest .w { color: #3a3a3c; transition: color .35s var(--ease); }
.manifest .w.on { color: #f5f5f7; }


/* ---------- So funktioniert's ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.step {
  position: relative; padding: 38px 32px 36px;
  border-radius: var(--r-lg); background: var(--bg-alt);
  overflow: hidden;
}
.step-n { font-size: 80px; font-weight: 700; letter-spacing: -.05em; line-height: 1; color: var(--ink); }
.step h3 { margin: 20px 0 10px; font-size: 24px; letter-spacing: -.02em; line-height: 1.17; }
.step p { margin: 0; color: var(--ink-2); }
.step-ico { position: absolute; right: 26px; top: 30px; width: 46px; height: 46px; color: var(--ink-3); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Konfigurator ---------- */
.konfig { display: grid; grid-template-columns: 1.15fr .85fr; gap: 24px; align-items: start; }
.konfig-visual {
  position: sticky; top: 76px;
  border-radius: var(--r-lg);
  background: #fff;
  color: var(--ink);
  overflow: hidden;
  min-height: 560px;
  display: flex; flex-direction: column;
}
.konfig-visual .stage { flex: 1; height: auto; min-height: 380px; }
.konfig-visual .array { --rx: 50deg; --rz: -30deg; }
.kv-top { display: flex; justify-content: space-between; align-items: flex-start; padding: 24px 26px 0; gap: 12px; }
.kv-kwp b { display: block; font-size: 44px; font-weight: 700; letter-spacing: -.035em; line-height: 1; font-variant-numeric: tabular-nums; }
.kv-kwp span { font-size: 13px; color: var(--ink-2); }
.kv-logo { height: 52px; width: auto; flex: none; margin-top: 4px; }
/* Logos nie verzerren: wird es eng, schrumpft das Logo proportional statt gestaucht zu werden */
.logo-img, .kv-logo, .sec-logo { object-fit: contain; }
.kv-logo { object-position: right center; }
.kv-kwp b { white-space: nowrap; }
@media (max-width: 600px) {
  /* kWp und Logo in einer Zeile, Modulzeile darunter über die volle Breite */
  .kv-top { display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 12px; }
  .kv-kwp { display: contents; }
  .kv-kwp b { font-size: 40px; }
  .kv-kwp span { grid-column: 1 / -1; margin-top: 4px; }
  .kv-logo { grid-row: 1; grid-column: 2; height: 29px; margin-top: 0; }
}
@keyframes pulse { 50% { transform: scale(1.06); opacity: .8; } }
.kv-chips { position: static; justify-content: flex-start; flex-wrap: wrap; padding: 12px 26px 0 !important; min-height: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding: 0 20px; pointer-events: none; }
.chip-3d {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px 9px 10px;
  border-radius: 14px;
  background: var(--bg-alt);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.05);
  font-size: 13px; font-weight: 500; color: var(--ink);
  display: none;
}
.chip-3d.on { display: inline-flex; animation: chipIn .55s var(--ease-out) both; }
@keyframes chipIn { from { opacity: 0; transform: translateY(14px) scale(.9); } to { opacity: 1; transform: none; } }
.chip-3d svg { width: 22px; height: 22px; color: var(--ink); }
.chip-3d .batt { width: 26px; height: 14px; border-radius: 3px; box-shadow: inset 0 0 0 1.5px currentColor; color: var(--ok); position: relative; padding: 2px; }
.chip-3d .batt::after { content: ""; position: absolute; right: -4px; top: 4px; width: 2px; height: 6px; border-radius: 1px; background: currentColor; }
.chip-3d .batt i { display: block; height: 100%; width: var(--fill, 50%); border-radius: 1.5px; background: currentColor; transition: width .6s var(--ease-out); }
.kv-bottom { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-soft); }
.kv-bottom div { padding: 16px 18px 20px; }
.kv-bottom div + div { border-left: 1px solid var(--line-soft); }
.kv-bottom b { display: block; font-size: 21px; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.kv-bottom span { font-size: 12px; color: var(--ink-2); }

.konfig-panel { display: grid; gap: 12px; }
/* Richtwert und Button in der Haus-Karte */
.kv-preis { display: grid; grid-template-columns: auto minmax(270px, 1fr); grid-template-areas: "lbl ." "price btn" "sub note"; align-items: center; column-gap: 24px; padding: 6px 26px 22px; }
/* Preis und Button teilen sich eine Zeile, Beschriftungen darüber/darunter */
.kv-preis > div, .kv-cta { display: contents; }
.kv-preis .lbl { grid-area: lbl; } .kv-preis .price { grid-area: price; } .kv-preis .sub { grid-area: sub; align-self: start; }
.kv-cta .btn { grid-area: btn; } .kv-cta .note { grid-area: note; align-self: start; }
.kv-preis .lbl { font-size: 14px; color: var(--ink-2); }
.kv-preis .price { font-size: clamp(28px, 2.6vw, 36px); font-weight: 700; letter-spacing: -.03em; line-height: 1.15; margin: 4px 0 2px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.kv-preis .sub { font-size: 13px; color: var(--ink-2); }
.kv-cta .btn { width: 100%; white-space: nowrap; font-size: 18px; padding: 0 22px; }
.kv-cta .note { margin: 8px 0 0; font-size: 12px; color: var(--ink-3); text-align: center; }
/* Kompakte Einstellungen rechts */
.konfig-panel .opt-group { padding: 18px 20px 18px; }
.konfig-panel .opt-group > p { margin-bottom: 10px; }
.konfig-panel .tog { padding: 9px 2px; }
.konfig-panel .tog-ico { width: 32px; height: 32px; }
.konfig-panel .tog-txt span { font-size: 12.5px; }
.opt-sub { margin: 16px 0 10px; font-size: 17px; letter-spacing: -.015em; }
.opt-group { background: #fff; border-radius: var(--r); padding: 22px 22px 22px; }
.opt-group h3 { margin: 0 0 4px; font-size: 19px; letter-spacing: -.015em; }
.opt-group > p { margin: 0 0 14px; font-size: 14px; color: var(--ink-2); }
.range-row { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 10px; }
.range-row output { font-size: 28px; font-weight: 700; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.range-row small { font-size: 14px; color: var(--ink-2); }

input[type="range"] {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 28px; background: transparent; cursor: pointer;
  --p: 50%;
}
input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--blue) var(--p), #e3e3e8 var(--p)); }
input[type="range"]::-moz-range-track { height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--blue) var(--p), #e3e3e8 var(--p)); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; margin-top: -11px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 .5px rgba(0,0,0,.08), 0 3px 10px rgba(0,0,0,.22); transition: transform .15s; }
input[type="range"]::-moz-range-thumb { width: 28px; height: 28px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 0 0 .5px rgba(0,0,0,.08), 0 3px 10px rgba(0,0,0,.22); }
input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.12); }
.range-scale { display: flex; justify-content: space-between; font-size: 12px; color: var(--ink-3); margin-top: 2px; }
.unsicher { display: flex; align-items: center; gap: 10px; margin-top: 14px; padding-top: 14px; border-top: 1px solid #ececf0; font-size: 15px; font-weight: 500; color: var(--ink); cursor: pointer; }
.unsicher input { flex: none; width: 20px; height: 20px; margin: 0; accent-color: var(--blue); cursor: pointer; }
.beraten .range-row, .beraten .range-scale { opacity: .4; transition: opacity .2s; }

.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; padding: 4px; border-radius: 14px; background: #f0f0f3; }
.seg button {
  min-height: 44px; border: 0; border-radius: 10px; background: transparent; cursor: pointer;
  font-size: 14px; font-weight: 500; color: var(--ink);
  transition: background .25s var(--ease), box-shadow .25s var(--ease);
}
.seg button[aria-pressed="true"] { background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.12), 0 0 0 .5px rgba(0,0,0,.04); font-weight: 600; }

.toggles { display: grid; gap: 2px; }
.tog {
  display: flex; align-items: center; gap: 14px;
  width: 100%; padding: 12px 2px; border: 0; background: none; text-align: left; cursor: pointer;
  border-bottom: 1px solid var(--line-soft);
}
.tog:last-child { border-bottom: 0; }
.tog-ico { width: 36px; height: 36px; flex: none; display: grid; place-items: center; border-radius: 10px; background: #f0f0f3; color: var(--ink); }
.tog-ico svg { width: 20px; height: 20px; }
.tog-txt { flex: 1; min-width: 0; }
.tog-txt b { display: block; font-size: 16px; font-weight: 600; }
.tog-txt span { display: block; font-size: 13px; color: var(--ink-2); line-height: 1.35; }
.switch { position: relative; width: 51px; height: 31px; flex: none; border-radius: 16px; background: #e3e3e8; transition: background .25s var(--ease); }
.switch::after { content: ""; position: absolute; left: 2px; top: 2px; width: 27px; height: 27px; border-radius: 50%; background: #fff; box-shadow: 0 3px 8px rgba(0,0,0,.15), 0 0 0 .5px rgba(0,0,0,.04); transition: transform .3s var(--ease-out); }
.tog[aria-pressed="true"] .switch { background: var(--blue); }
.tog[aria-pressed="true"] .switch::after { transform: translateX(20px); }

.price-card { background: #fff; border-radius: var(--r); padding: 24px 22px; }
.price-card .lbl { font-size: 14px; color: var(--ink-2); }
.price-card .price { font-size: 34px; font-weight: 700; letter-spacing: -.03em; line-height: 1.15; margin: 4px 0 2px; font-variant-numeric: tabular-nums; }
.price-card .sub { font-size: 13px; color: var(--ink-2); margin-bottom: 18px; }
.price-card .btn { width: 100%; }
.price-card .note { margin: 12px 0 0; font-size: 12px; color: var(--ink-3); text-align: center; }

@media (max-width: 600px) {
  .kv-chips { position: static; padding: 0 16px 18px; }
  .kv-bottom div { padding: 14px 12px 16px; }
  .kv-bottom b { font-size: 17px; white-space: nowrap; }
  .kv-bottom span { font-size: 11px; }
  .cmp-bar .seg button { font-size: 13px; white-space: nowrap; padding: 0 6px; }
  .offer-val span { white-space: nowrap; }
}
@media (max-width: 900px) {
  .konfig { grid-template-columns: 1fr; }
  .konfig-visual { position: relative; top: 0; min-height: 0; }
  .kv-chips { padding: 10px 20px 0 !important; }
  .kv-preis { grid-template-columns: 1fr; grid-template-areas: "lbl" "price" "sub" "btn" "note"; gap: 0; padding: 6px 20px 20px; }
  .kv-cta .btn { margin-top: 16px; }
  .house-stage { min-height: 0; padding: 14px 12px 6px; }
}

/* Haus-Bild im Konfigurator, Module als Ebene darüber */
.house-stage { flex: 1; display: grid; place-items: center; padding: 4px 16px 0; }
.haus { position: relative; width: 100%; max-width: 680px; }
.haus img { display: block; width: 100%; height: auto; }
@media (min-width: 901px) {
  /* Rechte Spalte gibt die Höhe vor, linke Box endet bündig; das Haus skaliert in der verbleibenden Höhe */
  .konfig { align-items: stretch; }
  .konfig-visual { contain: size; position: relative; top: 0; min-height: 0; }
  .house-stage { min-height: 0; container-type: size; }
  .haus { width: min(100%, 680px, 150cqh); }
}
.haus-fx { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.haus .pv { opacity: 0; transform: translateY(-24px); transition: opacity .45s var(--ease), transform .6s var(--ease-out); }
.haus .pv.da { opacity: 1; transform: none; }
.haus .pv-glas { fill: #1b2639; stroke: #b9c0cb; stroke-width: 1.4; stroke-linejoin: round; transition: fill .4s, stroke .4s; }
.haus.opt-fullblack .pv-glas { fill: #12161e; stroke: #5b6271; stroke-width: 1.3; }
.haus.opt-silber .pv-glas { fill: #22324f; stroke: #e6e9ee; stroke-width: 2.4; }
.haus .pv-schatten { fill: rgba(0,0,0,.42); }
.haus .pv-linie { stroke: rgba(255,255,255,.13); stroke-width: .9; }
.haus .pv-glanz { animation: hausGlanz 6.5s 1.5s var(--ease) infinite; }
@keyframes hausGlanz { 0% { transform: skewX(-25deg) translateX(0); } 50%, 100% { transform: skewX(-25deg) translateX(1900px); } }
.haus .extra { opacity: 0; transition: opacity .5s var(--ease); }
.haus.wallbox .x-wallbox { opacity: 1; }
.haus .energie { fill: none; stroke: #2997ff; stroke-width: 4; stroke-linecap: round; stroke-dasharray: 6 12; animation: fluss .8s linear infinite; }
.haus .energie-glow { fill: none; stroke: rgba(41,151,255,.3); stroke-width: 12; stroke-linecap: round; animation: glimmen 1.8s var(--ease) infinite; }
@keyframes fluss { to { stroke-dashoffset: -18; } }
@keyframes glimmen { 50% { opacity: .45; } }
/* Callouts für aktivierte Extras */
.haus-call { position: absolute; width: 0; height: 0; opacity: 0; transition: opacity .4s var(--ease); pointer-events: none; }
.haus-call i { position: absolute; left: -6px; top: -6px; width: 12px; height: 12px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(0,113,227,.35), 0 2px 8px rgba(0,0,0,.3); transform: scale(0); transition: transform .45s var(--ease-out); }
.haus-call i::after { content: ""; position: absolute; left: 5.5px; bottom: 12px; width: 1px; height: 38px; background: rgba(29,29,31,.55); transform: scaleY(0); transform-origin: bottom; transition: transform .45s .15s var(--ease-out); }
.haus-call b { position: absolute; left: -10px; bottom: 50px; white-space: nowrap; padding: 6px 11px; border-radius: 10px; font-size: 13px; font-weight: 600; color: #fff; background: rgba(29,29,31,.72); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); transform: translateY(6px); opacity: 0; transition: opacity .4s .3s var(--ease), transform .5s .3s var(--ease-out); }
.haus-call.links b { left: auto; right: -10px; }
.haus.wallbox .haus-call.x-wallbox, .haus.speicher .haus-call.x-speicher, .haus.wp .haus-call.x-wp { opacity: 1; }
.haus.wallbox .x-wallbox i, .haus.speicher .x-speicher i, .haus.wp .x-wp i { transform: none; }
.haus.wallbox .x-wallbox i::after, .haus.speicher .x-speicher i::after, .haus.wp .x-wp i::after { transform: none; }
.haus.wallbox .x-wallbox b, .haus.speicher .x-speicher b, .haus.wp .x-wp b { opacity: 1; transform: none; }
.pv-rueck { position: absolute; left: 76.8%; top: 12.3%; transform: translate(-50%, calc(-50% + 6px)); white-space: nowrap; padding: 6px 12px; border-radius: 980px; font-size: 12px; font-weight: 600; color: var(--ink); background: var(--bg-alt); box-shadow: inset 0 0 0 1px rgba(0,0,0,.06); opacity: 0; transition: opacity .4s var(--ease), transform .5s var(--ease-out); }
.pv-rueck.an { opacity: 1; transform: translate(-50%, -50%); }
@media (max-width: 600px) { .pv-rueck { left: auto; right: 2%; transform: translateY(calc(-50% + 6px)); font-size: 11px; padding: 5px 10px; } .pv-rueck.an { transform: translateY(-50%); } }
@media (max-width: 900px) { .house-stage { padding: 4px 0 0; } .haus-call b { font-size: 11px; padding: 4px 8px; bottom: 44px; } .haus-call i::after { height: 32px; } .haus-call.x-speicher b, .haus-call.x-wallbox b { left: auto; right: -10px; } }

/* ---------- Ein Tag mit deiner Anlage ---------- */
.tag-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.tag-text .lead { margin-top: 18px; max-width: 460px; }
.tag-kopf { display: flex; align-items: center; gap: clamp(18px, 3vw, 40px); }
.tag-clock { flex: none; width: clamp(80px, 7.4vw, 108px); margin: 0; text-align: center; }
.tag-clock svg { display: block; width: 100%; height: auto; }
.tag-clock .zb { fill: #fff; }
.tag-clock .zt line { stroke: #86868b; stroke-width: 1.4; stroke-linecap: round; }
.tag-clock .zt line.gross { stroke: #1d1d1f; stroke-width: 2.4; }
.tag-clock .zh { stroke: #1d1d1f; stroke-width: 5; stroke-linecap: round; }
.tag-clock .zm { stroke: #1d1d1f; stroke-width: 3; stroke-linecap: round; }
.tag-clock .zk { fill: #1d1d1f; }
.tag-clock figcaption { margin-top: 10px; font-size: 13px; color: #a1a1a6; white-space: nowrap; }
.tag-quote { margin-top: 34px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); }
.tag-quote b { display: block; font-size: clamp(64px, 8vw, 120px); font-weight: 700; letter-spacing: -.055em; line-height: .95; color: #2997ff; font-variant-numeric: tabular-nums; }
.tag-quote span { display: block; margin-top: 8px; font-size: 19px; color: #f5f5f7; max-width: 380px; }
.tag-card {
  --tag: 0;
  position: relative; overflow: hidden; border-radius: var(--r-lg);
  padding: 26px 26px 22px;
  background: color-mix(in srgb, #0c1d36 calc(var(--tag) * 100%), #111113);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
  transition: background .4s linear;
}
.tag-chart { position: relative; height: 250px; }
.tag-chart svg { width: 100%; height: 100%; display: block; overflow: visible; }
.tc-achse { stroke: rgba(255,255,255,.18); stroke-width: 1; }
.tc-sonne-f { fill: rgba(41,151,255,.22); }
.tc-sonne { fill: none; stroke: #2997ff; stroke-width: 2.5; vector-effect: non-scaling-stroke; }
.tc-haus { fill: none; stroke: #f5f5f7; stroke-width: 1.6; stroke-dasharray: 4 4; opacity: .75; vector-effect: non-scaling-stroke; }
.tc-kopf { stroke: rgba(255,255,255,.55); stroke-width: 1; vector-effect: non-scaling-stroke; }
.tc-punkt { fill: #fff; stroke: #fff; stroke-width: 2; vector-effect: non-scaling-stroke; }
.tc-achsen { position: absolute; left: 0; right: 0; bottom: 0; height: 0; }
.tc-achsen text { display: none; }
.tag-chart .tc-achsen { display: none; }
.tc-legende { position: absolute; right: 0; top: -4px; display: flex; gap: 14px; font-size: 12px; color: #a1a1a6; }
.tc-legende span::before { content: ""; display: inline-block; width: 14px; height: 3px; border-radius: 2px; margin-right: 6px; vertical-align: middle; }
.tc-legende .l-sonne::before { background: #2997ff; }
.tc-legende .l-haus::before { background: repeating-linear-gradient(90deg, #f5f5f7 0 4px, transparent 4px 7px); }
.tag-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 20px; }
.tile-s { position: relative; padding: 14px 14px 13px; border-radius: 16px; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); }
.tile-s span { display: block; font-size: 12px; color: #a1a1a6; }
.tile-s b { display: block; margin-top: 4px; font-size: 22px; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tile-s.netz b { color: #63e6a0; }
.bat-bar { display: block; height: 4px; margin-top: 8px; border-radius: 2px; background: rgba(255,255,255,.12); overflow: hidden; }
.bat-bar i { display: block; height: 100%; width: 0; border-radius: 2px; background: #34c759; }
.tag-bilanz { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 18px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.1); }
.tag-bilanz b { display: block; font-size: 26px; font-weight: 700; letter-spacing: -.03em; }
.tag-bilanz span { font-size: 12px; color: #a1a1a6; }
.tag-note { margin-top: 26px; font-size: 12px; color: #6e6e73; }
@media (max-width: 900px) {
  .tag-grid { grid-template-columns: 1fr; }
  .tag-tiles { grid-template-columns: repeat(2, 1fr); }
  .tag-chart { height: 200px; }
  .tag-card { padding: 20px 18px 18px; }
  .tag-bilanz b { font-size: 21px; }
}

/* ---------- Rechner ---------- */
.calc { display: grid; grid-template-columns: .9fr 1.1fr; gap: 24px; }
.calc-in { display: grid; gap: 14px; align-content: start; }
.calc-out { background: #fff; border-radius: var(--r-lg); padding: 30px 30px 22px; display: flex; flex-direction: column; }
.calc-big { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
@media (max-width: 1100px) { .calc-big { grid-template-columns: repeat(2, 1fr); row-gap: 22px; } }
.calc-big b { display: block; font-size: clamp(26px, 2.6vw, 34px); white-space: nowrap; font-weight: 700; letter-spacing: -.035em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.calc-big span { display: block; margin-top: 4px; font-size: 13px; color: var(--ink-2); line-height: 1.35; }

.chart { margin-top: 26px; flex: 1; min-height: 240px; position: relative; }
.chart svg { width: 100%; height: 100%; overflow: visible; }
.chart-tip { position: absolute; padding: 6px 10px; border-radius: 10px; background: var(--ink); color: #fff; font-size: 12px; line-height: 1.3; pointer-events: none; opacity: 0; transform: translate(-50%, -120%); transition: opacity .15s; white-space: nowrap; }
.calc-note { margin: 14px 0 0; font-size: 12px; color: var(--ink-3); }
@media (max-width: 900px) { .calc { grid-template-columns: 1fr; } }
/* Desktop: linke Boxen füllen die Höhe der Ergebnis-Karte, unten bündig */
@media (min-width: 901px) {
  .calc-in { grid-template-rows: 1fr 1fr auto; align-content: stretch; }
  .calc-in > .opt-group:not(:last-child) { display: flex; flex-direction: column; justify-content: center; }
}

/* Preis-Rennen: Netzstrom vs. Solarstrom */
.race { max-width: 900px; margin: 0 auto; padding: clamp(28px, 4vw, 44px) clamp(22px, 4vw, 48px); border-radius: var(--r-lg); background: #fff; }
.race-row { display: grid; grid-template-columns: 210px 1fr 96px; align-items: center; gap: 20px; padding: 14px 0; }
.race-lbl { font-size: 17px; font-weight: 600; letter-spacing: -.015em; }
.race-bar { height: 12px; border-radius: 6px; background: #ededf0; overflow: hidden; }
.race-bar i { display: block; height: 100%; width: 0; border-radius: 6px; background: #86868b; transition: width 1.6s var(--ease-out); }
.race-row:nth-child(2) .race-bar i { background: var(--ink); transition-delay: .25s; }
.race-row.solar .race-bar i { background: var(--blue); transition-delay: .5s; }
.race-val { font-size: 28px; font-weight: 700; letter-spacing: -.03em; text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.race-row.solar .race-val { color: var(--blue); }
.race-note { margin: 18px 0 0; padding-top: 18px; border-top: 1px solid var(--line-soft); font-size: 14px; color: var(--ink-2); }
.race-note b { color: var(--ink); }
@media (max-width: 640px) {
  .race-row { grid-template-columns: 1fr auto; gap: 8px 14px; padding: 12px 0; }
  .race-bar { grid-column: 1 / -1; grid-row: 2; }
  .race-lbl { font-size: 15px; }
  .race-val { font-size: 22px; }
}
/* Chart-Animation */
.chart .draw { transition: stroke-dashoffset 2s var(--ease-out); }
.chart .fill-in { opacity: 0; transition: opacity 1s .9s var(--ease); }
.chart.drawn .fill-in { opacity: 1; }
.be-dot { transform-box: fill-box; transform-origin: center; }
.be-ring { transform-box: fill-box; transform-origin: center; animation: ring 2.4s var(--ease) infinite; }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.tile {
  position: relative; overflow: hidden;
  grid-column: span 2;
  min-height: 260px; padding: 30px 28px;
  border-radius: var(--r-lg);
  background: var(--bg-alt);
  display: flex; flex-direction: column;
  isolation: isolate;
}
.tile::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(0,0,0,.025);
  opacity: 0; transition: opacity .4s;
}
.tile:hover::before { opacity: 1; }
.tile.w3 { grid-column: span 3; }
.tile.w4 { grid-column: span 4; }
.tile.dk { background: #0b0b0c; color: #f5f5f7; }
.tile.dk p { color: #a1a1a6; }
.tile-ico { width: 40px; height: 40px; color: var(--ink); margin-bottom: auto; }
.tile.dk .tile-ico { color: #f5f5f7; }
.tile h3 { margin: 28px 0 8px; font-size: 24px; letter-spacing: -.02em; line-height: 1.15; }
.tile p { margin: 0; color: var(--ink-2); font-size: 16px; }
.tile .big { font-size: 56px; font-weight: 700; letter-spacing: -.04em; line-height: 1; margin-top: 24px; }
@media (max-width: 980px) { .bento { grid-template-columns: repeat(2, 1fr); } .tile, .tile.w3, .tile.w4 { grid-column: span 1; } .tile.full-m { grid-column: span 2; } }
@media (max-width: 600px) { .bento { grid-template-columns: 1fr; } .tile.full-m { grid-column: span 1; } .tile { min-height: 0; } }

/* ---------- Vergleich-Demo ---------- */
.cmp-bar { display: flex; justify-content: center; margin-bottom: 30px; }
.cmp-bar .seg { width: min(460px, 100%); background: #e8e8ed; }
.offers { position: relative; display: grid; gap: 16px; max-width: 1120px; margin: 0 auto; }
.offer {
  display: grid; grid-template-columns: minmax(0, 1.35fr) repeat(3, minmax(0, .8fr)) 290px; align-items: center; gap: 24px;
  padding: 34px 40px; border-radius: 28px;
  background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 6px 20px rgba(0,0,0,.04);
  transition: transform .6s var(--ease-out), box-shadow .4s, background-color .4s;
}
.offer.best { background: #e8f1fd; box-shadow: inset 0 0 0 1px rgba(81,81,84,.5), 0 2px 8px rgba(0,0,0,.05); } /* nur ein sehr feiner grauer Schatten, kein blauer Schein */
/* Vergleich steht auf Weiß: normale Karten hellgrau statt weiß */
#vergleich .offer:not(.best) { background: var(--bg-alt); box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); } /* dezente Umrandung */
.offer-name b { display: block; font-size: 25px; letter-spacing: -.02em; }
.offer-name span { font-size: 16px; color: var(--ink-2); white-space: nowrap; }
.offer-val b { display: block; white-space: nowrap; font-size: 32px; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.offer-val span { font-size: 15px; color: var(--ink-2); }
.offer-badge { justify-self: end; padding: 9px 16px; border-radius: 980px; font-size: 14px; font-weight: 600; background: var(--blue); color: #fff; opacity: 0; transform: scale(.8); transition: opacity .3s, transform .4s var(--ease-out); white-space: nowrap; }
.offer.best .offer-badge { opacity: 1; transform: none; }
.cmp-foot { text-align: center; margin: 22px auto 0; font-size: 13px; color: var(--ink-3); max-width: 640px; }
@media (max-width: 1100px) {
  .offer { grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(0, .8fr)) 236px; padding: 28px 30px; gap: 18px; }
  .offer-badge { padding: 7px 12px; font-size: 12px; }
  .offer-name b { font-size: 21px; }
  .offer-val b { font-size: 25px; }
}
@media (max-width: 980px) { /* darunter reicht die Breite nicht für fünf Spalten: Name oben, Werte darunter */
  .offer { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .offer-name { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; }
  .offer-badge { grid-column: 1 / -1; justify-self: start; display: none; }
  .offer.best .offer-badge { display: inline-block; }
}
@media (max-width: 600px) {
  .offer { padding: 20px 16px; gap: 12px 10px; border-radius: 22px; }
  .offer-name b { font-size: 19px; }
  .offer-name span { font-size: 13px; }
  .offer-val b { font-size: 18px; white-space: nowrap; }
  .offer-val span { font-size: 12px; }
}

/* ---------- Region ---------- */
.region { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.map { position: relative; width: 100%; max-width: 640px; }
.map canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-rings { position: absolute; width: 0; height: 0; }
.map-rings i { position: absolute; left: -60px; top: -60px; width: 120px; height: 120px; border-radius: 50%; border: 1px solid rgba(41,151,255,.6); opacity: 0; }
.map.an .map-rings i { animation: ring 4.2s 2.2s var(--ease) infinite; }
.map.an .map-rings i:nth-child(2) { animation-delay: 3.6s; }
.map.an .map-rings i:nth-child(3) { animation-delay: 5s; }
.map-berlin { position: absolute; transform: translate(-50%, -50%); font-size: clamp(15px, 1.8vw, 21px); font-weight: 700; letter-spacing: -.02em; color: #fff; text-shadow: 0 0 18px rgba(0,0,0,.9), 0 0 4px rgba(0,0,0,.9); opacity: 0; transition: opacity .8s .2s var(--ease); pointer-events: none; }
.map.an .map-berlin { opacity: 1; }
.map-land { color: #d2d2d7; letter-spacing: .01em; }
.map-ort { position: absolute; display: flex; align-items: center; gap: 7px; white-space: nowrap; font-size: 12px; color: #e8e8ed; padding: 4px 10px 4px 6px; border-radius: 980px; background: rgba(16,16,17,.82); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); transform: translate(-10px, -50%); opacity: 0; transition: opacity .7s var(--d, 0ms) var(--ease), color .2s; }
.map-ort.l { flex-direction: row-reverse; padding: 4px 6px 4px 10px; transform: translate(calc(-100% + 10px), -50%); }
.map-ort i { width: 5px; height: 5px; border-radius: 50%; background: #f5f5f7; flex: none; }
.map-ort.gross { font-size: 14px; font-weight: 600; color: #fff; }
.map-ort.gross i { width: 6px; height: 6px; }
.map.an .map-ort { opacity: 1; }
.map-ort:hover { color: #fff; }
@media (max-width: 600px) { .map-ort:not(.gross) { display: none; } .map-ort.gross { font-size: 12px; } .map-ort.r { flex-direction: row-reverse; padding: 4px 6px 4px 10px; transform: translate(calc(-100% + 10px), -50%); } }
.areas .eyebrow { color: var(--dark-ink-2) !important; }
.areas h3 { font-size: 14px; color: #86868b; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; margin: 28px 0 12px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.tags li { padding: 7px 13px; border-radius: 980px; font-size: 14px; background: rgba(255,255,255,.08); color: #e8e8ed; }
@media (max-width: 900px) { .region { grid-template-columns: 1fr; } }

/* ---------- Karten-Story: Karte bleibt stehen, Schritte laufen vorbei ---------- */
.story { overflow-x: clip; } /* schwebende Preisschilder dürfen kein seitliches Scrollen auslösen */
.story .sec-head { margin-bottom: clamp(20px, 4vw, 40px); }
.story-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(30px, 5vw, 80px); }
.story-map { position: sticky; top: max(40px, calc(50vh - 330px)); align-self: start; }
.story-map .map { max-width: 660px; margin: 0 auto; }
.story-steps { list-style: none; margin: 0; padding: 0; }
.story-step { min-height: 72vh; display: flex; flex-direction: column; justify-content: center; opacity: .28; transition: opacity .5s var(--ease); }
.story-step:first-child { min-height: 60vh; }
.story-step:last-child { min-height: 80vh; }
.story-step.an { opacity: 1; }
/* Riesige Schritt-Zahl; am Desktop zwischen Karte und Erklärtext */
/* Schrittzahl als Klappkalender-Blatt wie auf der Coming-Seite: weiße Ziffer auf grauem Blatt; wird der Schritt aktiv, schlägt das Blatt von der vorigen Zahl um */
.ss-n { --h: 200px; --r: calc(var(--h) * .08); position: relative; display: block; flex: none; width: calc(var(--h) * .86); height: var(--h); perspective: calc(var(--h) * 4); font-size: calc(var(--h) * .72); font-weight: 600; letter-spacing: -.03em; color: #f5f5f7; font-variant-numeric: tabular-nums; text-align: center; }
@media (min-width: 901px) and (max-width: 1239px) { .ss-n { --h: 150px; } }
/* Desktop: eine feste Klappkarte links neben den Schritten bleibt in der Bildschirmmitte stehen, nur der Text scrollt */
.story-rechts { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: clamp(24px, 2.6vw, 44px); }
.ss-uhr { position: sticky; top: calc(50vh - var(--h) / 2); align-self: start; margin-top: calc(30vh - var(--h) / 2); }
.story-step .ss-n { display: none; }
@media (min-width: 901px) { .story-step:last-child { min-height: 36vh; } } /* Abschnitt endet kurz nach Schritt 3, damit Karte und Text gemeinsam weiterscrollen */
.ss-n span { position: absolute; left: 0; right: 0; height: 50%; overflow: hidden; background: #1c1c1e; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.ss-n b { display: block; height: var(--h); line-height: var(--h); font-weight: inherit; }
.ss-n .o, .ss-n .ko { top: 0; border-radius: var(--r) var(--r) 0 0; transform-origin: 50% 100%; }
.ss-n .u, .ss-n .ku { bottom: 0; border-radius: 0 0 var(--r) var(--r); transform-origin: 50% 0; }
.ss-n .u b, .ss-n .ku b { transform: translateY(-50%); }
.ss-n .ko, .ss-n .ku { z-index: 2; }
.ss-n .ku { transform: rotateX(90deg); }
.ss-n::after { content: ""; position: absolute; left: 0; right: 0; top: calc(50% - 1px); height: 2px; background: var(--dark-2); z-index: 3; } /* Fuge zwischen den Hälften */
.ss-n.klappt .ko { animation: klappeOben .45s ease-in forwards; }  /* etwas langsamer als auf der Coming-Seite */
.ss-n.klappt .ku { animation: klappeUnten .7s .45s cubic-bezier(.2, 1.6, .45, 1) forwards; }
.ss-n.klappt .u b { animation: abdunkeln .45s ease-in forwards; }
@keyframes klappeOben { to { transform: rotateX(-90deg); filter: brightness(1.6); } }
@keyframes klappeUnten { from { transform: rotateX(90deg); filter: brightness(.45); } to { transform: rotateX(0); filter: none; } }
@keyframes abdunkeln { to { opacity: .35; } }
@media (min-width: 1240px) {
  /* Karte groß: breiterer Container, Karte nie höher als der Bildschirm */
  .story .wrap-wide { width: min(1440px, 100% - 64px); }
  .story-grid { grid-template-columns: 1.15fr .85fr; }
  .story-map { top: max(24px, 7vh); }
  .story-map .map { max-width: min(800px, 82vh); }
  .story-step h3 { margin-top: 0; }
}
.story-step h3 { margin: 18px 0 10px; font-size: clamp(28px, 3vw, 40px); letter-spacing: -.025em; line-height: 1.1; color: #f5f5f7; }
.story-step p { margin: 0; max-width: 420px; font-size: 19px; line-height: 1.45; color: #a1a1a6; }

/* Ebene über der Karte */
.story-fx { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.sf-line { fill: none; stroke: #2997ff; stroke-width: 2px; vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-dasharray: var(--L, 400); stroke-dashoffset: var(--L, 400); transition: stroke-dashoffset 1.1s var(--ease-out); }
.map.s2 .sf-line { stroke-dashoffset: 0; transition-delay: calc(var(--i, 0) * 70ms); }
/* Schritt 2: viele Betriebe, dann bleiben drei; Kugeln am Linienende */
.sf-line.extra { stroke: rgba(41,151,255,.6); }
.sf-kugel { r: 6px; fill: #2997ff; opacity: 0; transition: opacity .3s var(--ease); }
.map.s2 .sf-kugel { opacity: 1; transition: opacity .3s calc(.8s + var(--i, 0) * 70ms) var(--ease); }
.map.s2 .sf-line.extra, .map.s2 .sf-kugel.extra { animation: sfWeg .7s 2.3s var(--ease) forwards; }
@keyframes sfWeg { to { opacity: 0; } }
.sf-haus { position: absolute; width: 0; height: 0; z-index: 3; }
.sf-haus i { position: absolute; left: -9px; top: -9px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px #2997ff, 0 4px 14px rgba(0,0,0,.5); transform: scale(0); transition: transform .5s var(--ease-out); }
.sf-haus i::after { content: ""; position: absolute; inset: -12px; border-radius: 50%; border: 2px solid rgba(41,151,255,.7); animation: hsPulse 2.2s var(--ease) infinite; }
.sf-haus span { position: absolute; right: 20px; top: -15px; white-space: nowrap; padding: 6px 12px; border-radius: 980px; font-size: 13px; font-weight: 600; color: #fff; background: rgba(28,28,30,.7); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); opacity: 0; transform: translateX(6px); transition: opacity .4s .3s var(--ease), transform .5s .3s var(--ease-out); }
.map.s1 .sf-haus i { transform: none; }
.map.s1 .sf-haus span { opacity: 1; transform: none; }
.sf-tag { position: absolute; z-index: 3; transform: translate(-50%, -50%) scale(.85); white-space: nowrap; padding: 11px 18px; border-radius: 14px; font-size: 22px; font-weight: 700; letter-spacing: -.01em; color: var(--ink); background: #fff; box-shadow: 0 6px 20px rgba(0,0,0,.4); opacity: 0; transition: opacity .4s var(--ease), transform .5s var(--ease-out); }
.sf-tag small { display: block; font-size: 16px; font-weight: 600; color: #fff; margin-bottom: 3px; }
.sf-tag.best { background: #2997ff; color: #fff; }
.sf-tag.best small { color: #062b6e; } /* „Top Angebot“ dunkelblau auf dem hellen Blau */
.map.s3 .sf-tag { opacity: 1; transform: translate(-50%, -50%); }
.map.s3 .sf-tag:nth-of-type(2) { transition-delay: .15s; } .map.s3 .sf-tag:nth-of-type(3) { transition-delay: .3s; }

@media (max-width: 900px) {
  .story-grid { grid-template-columns: 1fr; gap: 0; }
  .story-map { top: 0; z-index: 4; background: var(--dark-2); margin: 0 -22px; padding: 14px 10px 10px; }
  .story-map .map { max-width: 420px; }
  .story-map::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 48px; background: linear-gradient(#101011, rgba(16,16,17,0)); pointer-events: none; } /* Klappzahl und Text tauchen weich unter der Karte ab statt hart abgeschnitten */
  /* Tablet: Karte rechts, Schritte laufen links daneben vorbei, nichts wird verdeckt */
  @media (min-width: 701px) {
    .story-map { background: none; margin: 0; padding: 14px 0 10px; z-index: 1; }
    .story-map::after { display: none; }
    .story-map .map { max-width: min(420px, 52%); margin: 0 0 0 auto; }
    .story-steps { max-width: 44%; }
  }
  .story-step, .story-step:first-child { min-height: 46vh; justify-content: flex-start; padding-top: 18px; }
  .story-step:last-child { min-height: 60vh; }
  .story-step p { font-size: 17px; }
  .ss-n { --h: 120px; }
  .story-rechts { display: block; }
  .ss-uhr { display: none; }
  .story-step .ss-n { display: block; } /* iPhone: Karte liegt oben, jede Zahl klappt im eigenen Schritt */
  .sf-tag { font-size: 15px; padding: 6px 11px; border-radius: 10px; }
  .sf-kugel { r: 11px; }
  .sf-tag small { font-size: 13px; }
  .sf-haus span { font-size: 11px; padding: 4px 9px; right: 16px; top: -12px; }
}
@media (prefers-reduced-motion: reduce) { .story-step { opacity: 1; } }

/* ---------- Wissen / Fakten ---------- */
/* ---------- Echte Anlage: App-Auswertung und Foto-Karussell ---------- */
.praxis-app { display: grid; grid-template-columns: 1fr auto auto 1fr; align-items: center; gap: 0; }
.praxis-app > .pa-phone:nth-child(2) { margin-right: 7px; }
.praxis-app > .pa-phone:nth-child(3) { margin-left: 7px; }
.pa-werte.links { padding-right: clamp(28px, 3.4vw, 52px); }
.pa-werte.rechts { padding-left: clamp(28px, 3.4vw, 52px); }
.pa-phone { position: relative; margin: 0; width: clamp(210px, 19vw, 270px); padding: 9px; border-radius: 46px; background: #1d1d1f; box-shadow: 0 0 0 1px rgba(0,0,0,.08), 0 14px 34px rgba(0,0,0,.10); }
/* Weicher Kontaktschatten: das Gerät steht auf dem Untergrund */
.pa-boden { position: absolute; z-index: -1; left: 8%; right: 8%; bottom: -24px; height: 34px; border-radius: 50%; background: rgba(0,0,0,.38); filter: blur(14px); pointer-events: none; }
.pa-phone img { display: block; width: 100%; height: auto; aspect-ratio: 640 / 1390; border-radius: 37px; background: #000; }
/* Glanz auf dem Display: feste Spiegelung plus gelegentlich wandernder Lichtstreifen */
.pa-phone::before, .pa-phone::after { content: ""; position: absolute; inset: 9px; border-radius: 37px; pointer-events: none; }
.pa-phone::before { background: linear-gradient(118deg, rgba(255,255,255,.16) 0%, rgba(255,255,255,.05) 34%, rgba(255,255,255,0) 34.2%); }
.pa-phone::after { background: linear-gradient(105deg, rgba(255,255,255,0) 42%, rgba(255,255,255,.22) 50%, rgba(255,255,255,0) 58%) no-repeat; background-size: 300% 100%; background-position: 150% 0; }
.pa-phone.in::after { animation: paGlanz 7s 1.2s var(--ease) infinite; }
.pa-phone + .pa-phone.in::after { animation-delay: 1.8s; }
@keyframes paGlanz { 0% { background-position: 150% 0; } 30%, 100% { background-position: -50% 0; } }
@media (prefers-reduced-motion: reduce) { .pa-phone.in::after { animation: none; } }
.pa-phone.rv.in { transform: translateY(-28px); }
.pa-phone + .pa-phone.rv.in { transform: translateY(28px); }
.pa-werte { display: grid; gap: 46px; }
.pa-werte.links { text-align: right; }
.pa-werte b { font-size: clamp(44px, 4.6vw, 68px); font-weight: 700; letter-spacing: -.045em; line-height: 1; font-variant-numeric: tabular-nums; }
.pa-werte small { margin-left: 6px; font-size: clamp(20px, 1.8vw, 26px); font-weight: 600; letter-spacing: -.02em; }
.pa-werte span { display: block; margin-top: 8px; font-size: 16px; color: var(--ink-2); }
.pa-kontakt { margin-top: clamp(70px, 8vw, 96px); text-align: center; }
.pa-kontakt p { margin: 12px 0 0; font-size: 14px; color: var(--ink-2); }
.pa-technik { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 28px; margin: clamp(60px, 7vw, 90px) 0 0; padding: 0; }
.pa-technik li { padding-top: 22px; border-top: 1px solid var(--line); }
.pa-technik b { display: block; font-size: clamp(30px, 3vw, 40px); font-weight: 700; letter-spacing: -.035em; line-height: 1.05; }
.pa-technik span { display: block; margin-top: 8px; font-size: 16px; color: var(--ink-2); max-width: 240px; }
.karussell { margin-top: clamp(64px, 8vw, 100px); }
.kar-spur {
  --rand: calc((100% - min(var(--wrap-wide), 100% - 44px)) / 2);
  display: flex; gap: 20px; overflow-x: auto; overscroll-behavior-x: contain;
  padding: 0 var(--rand); scrollbar-width: none; outline: 0;
}
.kar-spur::-webkit-scrollbar { display: none; }
.kar-slide { flex: 0 0 min(860px, 82vw); margin: 0; }
.kar-slide img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r-lg); background: #e8e8ed; }
.kar-slide:nth-child(1) img { object-position: 50% 35%; }
.kar-slide:nth-child(2) img { object-position: 28% 50%; }
.kar-slide:nth-child(3) img { object-position: 40% 50%; }
.kar-slide figcaption { margin-top: 16px; }
.kar-slide figcaption b { display: block; font-size: 21px; letter-spacing: -.02em; }
.kar-slide figcaption span { font-size: 16px; color: var(--ink-2); }
.kar-nav { display: flex; justify-content: flex-end; gap: 12px; margin-top: 8px; }
.kar-btn { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: #e3e3e8; color: var(--ink); cursor: pointer; transition: background .2s, opacity .2s; }
.kar-btn:hover { background: #d8d8de; }
.kar-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 900px) {
  .praxis-app { grid-template-columns: 1fr 1fr; grid-template-areas: "p1 p2" "l r"; gap: 34px 10px; justify-items: center; }
  .praxis-app > .pa-phone:nth-child(2), .praxis-app > .pa-phone:nth-child(3) { margin: 0; }
  .pa-werte.links, .pa-werte.rechts { padding: 0; }
  .pa-boden { bottom: -16px; height: 22px; filter: blur(9px); }
  .praxis-app > .pa-phone:nth-of-type(1) { grid-area: p1; } .praxis-app > .pa-phone:nth-of-type(2) { grid-area: p2; }
  .pa-werte.links { grid-area: l; } .pa-werte.rechts { grid-area: r; }
  .pa-phone { width: 100%; max-width: 240px; padding: 6px; border-radius: 30px; }
  .pa-phone img { border-radius: 24px; }
  .pa-phone::before, .pa-phone::after { inset: 6px; border-radius: 24px; }
  .pa-phone.rv.in { transform: none; } .pa-phone + .pa-phone.rv.in { transform: translateY(24px); }
  .pa-werte { gap: 22px; justify-self: stretch; margin-top: 14px; }
  .pa-werte.links { text-align: left; }
  .pa-werte b { font-size: 38px; } .pa-werte small { font-size: 17px; margin-left: 4px; } .pa-werte span { font-size: 14px; margin-top: 4px; }
  #praxis .sec-head h2 { font-size: 8.4vw; }
  .pa-technik { grid-template-columns: 1fr 1fr; gap: 28px 18px; margin-top: 70px; }
  .pa-technik li { padding-top: 16px; }
  .pa-technik b { font-size: 28px; }
  .pa-technik span { font-size: 14px; }
  .kar-slide { flex-basis: 84vw; }
  .kar-slide figcaption b { font-size: 18px; } .kar-slide figcaption span { font-size: 14px; }
}

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 18px 0; font-size: clamp(17px, 1.7vw, 21px); font-weight: 600; letter-spacing: -.02em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 14px; height: 14px; border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2); transform: rotate(45deg) translate(-3px,-3px); transition: transform .35s var(--ease-out); }
.faq details[open] summary::after { transform: rotate(-135deg) translate(-3px,-3px); }
.faq .ans { padding: 0 0 26px; color: var(--ink-2); font-size: 17px; max-width: 700px; }
.faq .ans p { margin: 0 0 10px; }
/* Kompakt: erst 6 Fragen, Rest per Button (bleibt im HTML, für Google lesbar) */
.faq.zu details:nth-of-type(n+7) { display: none; }
/* WhatsApp-Kontakt: Aktions-Blau wie alle Buttons, Symbol einfarbig (kein WhatsApp-Grün, bleibt clean) */
.btn-wa svg { width: 20px; height: 20px; flex: none; }
.btn-s.btn-wa svg { width: 15px; height: 15px; }
.noch-fragen { max-width: 820px; margin: clamp(40px, 5vw, 60px) auto 0; text-align: center; }
.noch-fragen p { margin: 0 0 18px; font-size: 19px; line-height: 1.4; color: var(--ink-2); }
.noch-fragen p b { color: var(--ink); font-weight: 600; }
.noch-fragen .noch-fragen-mail { margin: 14px 0 0; font-size: 14px; }
.faq-mehr { display: flex; justify-content: center; margin-top: 26px; }
.faq-mehr button { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 22px; border: 0; border-radius: 980px; background: #fff; color: var(--ink); font: inherit; font-size: 16px; font-weight: 500; cursor: pointer; box-shadow: 0 1px 3px rgba(0,0,0,.08); transition: background .2s; }
.faq-mehr button:hover { background: #fafafc; }
.faq-mehr button::after { content: ""; width: 8px; height: 8px; border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2); transform: rotate(45deg) translate(-2px, -2px); }

/* ---------- Abschluss-CTA ---------- */
.final { text-align: center; overflow: hidden; }
/* Dach mit Modulen über „Dein Dach. Drei Angebote.“ (weißer Hintergrund wie die Sektion) */
.dach-bild { display: block; width: min(1092px, 100vw); margin: 0 0 clamp(20px, 3vw, 34px) calc((100% - min(1092px, 100vw)) / 2); } /* darf breiter als der Textblock sein, bleibt mittig */
.dach-bild img { display: block; width: 100%; height: auto; }
/* Dezente Animationen: Lichtreflex gleitet über die Module, MacBook-Deckel atmet (Licht, kein Farbverlauf als Fläche) */
.dach-bild, .p-tastatur { position: relative; overflow: hidden; }
.dach-bild::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(105deg, transparent 38%, rgba(255,255,255,.42) 50%, transparent 62%) no-repeat; background-size: 250% 100%; background-position: 103% 0; mix-blend-mode: screen;
  clip-path: polygon(11.57% 13.44%, 87.18% 13.25%, 94.1% 72.25%, 4.8% 72.25%); /* Glanz nur auf der Modulfläche, harte Kante an der Outline */
  animation: dachLicht 13s 1.5s cubic-bezier(.45, .05, .55, .95) infinite; }
/* Zarte weiße Linie um die gesamte Modulfläche, zeichnet sich beim Erscheinen einmal herum */
.dach-rahmen { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; filter: drop-shadow(0 0 2px rgba(255,255,255,.75)) drop-shadow(0 0 7px rgba(41,151,255,.85)); } /* Glow um Kopf und Spur */
.dach-rahmen polygon { fill: none; stroke-width: 1.4px; vector-effect: non-scaling-stroke; stroke-linejoin: round; stroke-linecap: round; opacity: 0; }
/* immer mal wieder: weißer Kopf läuft einmal herum, Blau zieht nach, dann gleich ausblenden (Takt passt zum Glanz) */
.dach-rahmen .spur { stroke: #2997ff; stroke-dasharray: 1; stroke-dashoffset: 1; }
.dach-rahmen .kopf { stroke-width: 1.7px; stroke-dashoffset: 1; }
/* Kopf als weicher Übergang: vorne Weiß, nach hinten in Stufen ins Blau der Spur.
   Muster „0 Lücke Strich 2“: der Strich sitzt am Ende, gleiche Offset-Animation wie die Spur hält ihn genau an der Spitze */
.dach-rahmen .k1 { stroke: #fff; stroke-dasharray: 0 .982 .018 2; }
.dach-rahmen .k2 { stroke: #d6eaff; stroke-dasharray: 0 .964 .036 2; }
.dach-rahmen .k3 { stroke: #a9d3ff; stroke-dasharray: 0 .942 .058 2; }
.dach-rahmen .k4 { stroke: #74b8ff; stroke-dasharray: 0 .916 .084 2; }
.dach-rahmen .k5 { stroke: #4aa5ff; stroke-dasharray: 0 .885 .115 2; }
.dach-bild.in .dach-rahmen .spur { animation: dachSpur 13s 7.5s cubic-bezier(.45, .05, .55, .95) infinite; }
.dach-bild.in .dach-rahmen .kopf { animation: dachKopf 13s 7.5s cubic-bezier(.45, .05, .55, .95) infinite; }
@keyframes dachSpur {
  0% { stroke-dashoffset: 1; opacity: 1; }
  24% { stroke-dashoffset: 0; opacity: 1; }
  32%, 100% { stroke-dashoffset: 0; opacity: 0; }
}
@keyframes dachKopf {
  0% { stroke-dashoffset: 1; opacity: 1; }
  24% { stroke-dashoffset: 0; opacity: 1; }
  27%, 100% { stroke-dashoffset: 0; opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .dach-bild.in .dach-rahmen polygon { animation: none; } }
@keyframes dachLicht { 0% { background-position: 103% 0; } 40%, 100% { background-position: -3% 0; } }
.p-tastatur::after { content: ""; position: absolute; inset: 0 0 35% 0; pointer-events: none; background: radial-gradient(ellipse 40% 26% at 50% 14%, rgba(200,228,255,.9), transparent 70%), radial-gradient(ellipse 58% 75% at 50% 16%, rgba(110,175,255,.75), transparent 72%); mix-blend-mode: screen; opacity: .3; animation: deckelAtmen 4.5s ease-in-out infinite alternate; }
@keyframes deckelAtmen { to { opacity: 1; } }
/* MacBook schiebt sich beim ersten Erscheinen von oben ins Schwarz (Sektion schneidet ab) */
.p-tastatur.rv { transform: translateY(-140px); transition: opacity 2.4s ease-out, transform 4s cubic-bezier(.22, .61, .36, 1); }
.p-tastatur.rv.in { transform: none; }
@media (prefers-reduced-motion: reduce) { .dach-bild::after, .p-tastatur::after { animation: none; opacity: 0; } }
/* Leuchtendes MacBook über „Partner werden“ (Startseite und Partnerseite); Ränder laufen unsichtbar ins Schwarz aus */
.p-tastatur { display: block; width: min(1100px, 100%); margin: 0 auto clamp(10px, 2vw, 24px); -webkit-mask-image: linear-gradient(to bottom, transparent, #000 14%), linear-gradient(to right, transparent, #000 5%, #000 95%, transparent); -webkit-mask-composite: source-in; mask-image: linear-gradient(to bottom, transparent, #000 14%), linear-gradient(to right, transparent, #000 5%, #000 95%, transparent); mask-composite: intersect; }
.p-tastatur img { display: block; width: 100%; height: auto; }
.final .hero-glow { display: none; }
.final .wrap { position: relative; z-index: 2; }

/* ---------- Partner-Band ---------- */
.partner { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 34px 36px; border-radius: var(--r-lg); background: #fff; }
.partner h2 { margin: 0 0 6px; font-size: 24px; letter-spacing: -.02em; }
.partner p { margin: 0; color: var(--ink-2); }
.final-cta { margin-top: 36px; }
.final .checks { margin-top: 34px; } /* mehr Luft unter dem Button */
@media (max-width: 760px) { .partner { flex-direction: column; align-items: flex-start; } }

/* ---------- Footer ---------- */
.foot { background: var(--bg-alt); color: var(--ink-2); font-size: 12px; line-height: 1.5; padding: clamp(44px, 5vw, 64px) 0 30px; }
.foot-notes { padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.foot-notes ol { margin: 0; padding-left: 16px; }
.foot-notes li { margin-bottom: 8px; }
.foot-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.foot-cols h3 { margin: 0 0 8px; font-size: 12px; font-weight: 600; color: var(--ink); }
.foot-cols ul { list-style: none; margin: 0; padding: 0; }
.foot-cols li { margin-bottom: 7px; }
.foot-cols a { color: var(--ink-2); }
.foot-cols a:hover { color: var(--ink); }
.foot-seo { padding: 18px 0; border-bottom: 1px solid var(--line); }
.foot-seo p { margin: 0 0 8px; }
.foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 16px; }
.foot-bottom nav { display: flex; gap: 16px; flex-wrap: wrap; }
.foot-bottom a { color: var(--ink-2); }
@media (max-width: 760px) { .foot-cols { grid-template-columns: repeat(2, 1fr); } }


/* ---------- Unterseiten (Rechtliches) ---------- */
.legal { padding: clamp(50px, 8vw, 90px) 0 100px; }
.legal h1 { font-size: clamp(36px, 5vw, 56px); letter-spacing: -.03em; line-height: 1.08; margin: 0 0 30px; }
.legal h2 { font-size: 24px; letter-spacing: -.02em; margin: 40px 0 10px; }
.legal h3 { font-size: 19px; margin: 26px 0 8px; }
.legal p, .legal li { color: #424245; }
.legal .ph { background: #fff4d6; padding: 1px 6px; border-radius: 5px; color: #7a4b00; }
.legal .box { padding: 24px 26px; border-radius: var(--r); background: var(--bg-alt); margin: 20px 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .rv { opacity: 1; transform: none; }
}
