@font-face { font-family: "Archivo"; src: url("../fonts/archivo-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Inter Tight"; src: url("../fonts/inter-tight-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --bg: #121417; --bg-2: #1a1d22; --bg-3: #23272e;
  --ink: #f5f3ee; --ink-2: #b9b6ad; --ink-3: #7d7a72;
  --line: rgba(245,243,238,.12);
  --amber: #f2a900; --amber-2: #ffc23d; --sky: #5fa8d3; --sky-2: #8fc7e8;
  --f-display: "Archivo", system-ui, sans-serif;
  --f-body: "Inter Tight", system-ui, sans-serif;
  --max: 1200px; --gutter: clamp(20px, 5vw, 64px); --sp: clamp(64px, 10vw, 140px);
  --night: 0; /* 0 Tag … 1 Nacht, wird per JS gesetzt */
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--f-body); font-size: clamp(16px, 1.05vw, 18px); line-height: 1.55; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg, video { display: block; max-width: 100%; }
h1, h2, h3 { margin: 0; font-family: var(--f-display); font-weight: 800; letter-spacing: -.03em; line-height: 1; text-wrap: balance; }
h1 { font-size: clamp(42px, 7vw, 96px); }
h2 { font-size: clamp(32px, 4.2vw, 60px); }
h3 { font-size: clamp(20px, 1.7vw, 26px); letter-spacing: -.015em; line-height: 1.15; }
p { margin: 0; } p + p { margin-top: 1em; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }

.container { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.section { padding-block: var(--sp); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--amber); }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--amber); }
.lead { font-size: clamp(18px, 1.35vw, 22px); color: var(--ink-2); max-width: 58ch; }
.muted { color: var(--ink-2); }
.small { font-size: 14px; color: var(--ink-3); }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 26px; border: 1.5px solid var(--amber); border-radius: 6px; background: var(--amber); color: #1a1300; font-weight: 700; text-decoration: none; cursor: pointer; transition: transform .15s ease, background .15s ease; }
.btn:hover { background: var(--amber-2); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { background: rgba(255,255,255,.06); }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 20; backdrop-filter: blur(12px); background: rgba(18,20,23,.75); border-bottom: 1px solid var(--line); }
.nav .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--f-display); font-weight: 800; letter-spacing: -.02em; font-size: 18px; text-decoration: none; }
.logo i { width: 12px; height: 12px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px rgba(242,169,0,.2); }
.nav ul { display: none; gap: 26px; margin: 0; padding: 0; list-style: none; font-size: 15px; font-weight: 500; }
.nav ul a { text-decoration: none; color: var(--ink-2); }
.nav ul a:hover { color: var(--ink); }
.nav .tel { font-weight: 700; text-decoration: none; font-size: 15px; white-space: nowrap; }
.logo { white-space: nowrap; }
@media (max-width: 480px) { .logo { font-size: 16px; } .nav .tel { font-size: 14px; } }
@media (min-width: 960px) { .nav ul { display: flex; } }

/* ---------- Hero-Ebene in der Story ---------- */
.story .hero-lage { position: absolute; inset: 0; z-index: 3; display: grid; align-items: center; }
.story .hero-lage::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18,20,23,.78) 0%, rgba(18,20,23,.42) 44%, transparent 72%); pointer-events: none; }
.story .hero-lage .container { position: relative; }
.story .hero-lage .text { display: grid; gap: 22px; max-width: 620px; }
.story .hero-lage .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.story .hero-lage .fakten { display: flex; flex-wrap: wrap; gap: 20px 36px; margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); }
.story .hero-lage .fakten b { display: block; font-family: var(--f-display); font-weight: 800; font-size: 28px; line-height: 1; letter-spacing: -.02em; }
.story .hero-lage .fakten span { font-size: 13px; color: var(--ink-3); }
.story.intro-vorbei .hero-lage { pointer-events: none; }
@media (max-width: 899px) { .story .hero-lage { align-items: start; } .story .hero-lage .container { padding-top: 36px; } .story .hero-lage::before { background: linear-gradient(180deg, rgba(18,20,23,.82) 0%, rgba(18,20,23,.5) 55%, transparent 85%); } }



/* ---------- Szene (Haus, Himmel, Energie) ---------- */
.szene { width: 100%; height: auto; overflow: hidden; border-radius: 16px; box-shadow: 0 30px 80px rgba(0,0,0,.45);
  --h-oben: #2c3f5e; --h-unten: #7c6a58; --nacht: 0; --tag: 1; --fenster: 0; }
.szene .h-oben { stop-color: var(--h-oben); transition: stop-color .3s linear; }
.szene .h-unten { stop-color: var(--h-unten); transition: stop-color .3s linear; }
.szene .kontur { fill: none; stroke: rgba(245,243,238,.55); stroke-width: 1.6; stroke-linejoin: round; }
.szene .sprosse { stroke: rgba(18,20,23,.6); stroke-width: 2; }
.szene .fenster { fill: #3a4557; stroke: rgba(245,243,238,.35); stroke-width: 1.2; transition: fill .4s ease; }
.szene .fenster { fill: color-mix(in srgb, #ffcc66 calc(var(--fenster) * 100%), #3a4557); filter: drop-shadow(0 0 calc(var(--fenster) * 10px) rgba(255,200,90,.9)); }
.szene .tuer { fill: #171b22; stroke: rgba(245,243,238,.35); stroke-width: 1.2; }
.szene .kamin { fill: #2a3140; stroke: rgba(245,243,238,.4); }
.szene .dach-first { stroke: rgba(245,243,238,.2); stroke-width: 6; }
.szene .boden { stroke: rgba(245,243,238,.18); stroke-width: 1.5; }
.szene .modul { fill: url(#g-modul); stroke: rgba(143,199,232,.9); stroke-width: 1; transition: opacity .5s ease; }
.szene .module { opacity: calc(0.45 + 0.55 * var(--tag)); }
.szene .wisch { opacity: var(--tag); }
.szene .technik { fill: rgba(10,12,16,.85); stroke: rgba(245,243,238,.25); stroke-width: 1; stroke-dasharray: 4 4; }
.szene .wr { fill: #1c222c; stroke: rgba(245,243,238,.6); stroke-width: 1.2; }
.szene .wr-kurve { fill: none; stroke: #5fa8d3; stroke-width: 1.6; stroke-linecap: round; }
.szene .akku { fill: #11151b; stroke: rgba(245,243,238,.6); stroke-width: 1.4; }
.szene .akku-fuell { fill: #5fa8d3; transition: y .45s ease, height .45s ease; filter: drop-shadow(0 0 6px rgba(95,168,211,.7)); }
.szene .akku-glanz { fill: rgba(255,255,255,.08); }
.szene .lampe { fill: #ffc23d; filter: drop-shadow(0 0 10px rgba(255,194,61,.9)); }
.szene .wp { fill: #1c222c; stroke: rgba(245,243,238,.6); stroke-width: 1.4; }
.szene .wp-rotor line { stroke: rgba(245,243,238,.7); stroke-width: 1.5; }
.szene .wp-rotor { transform-box: fill-box; transform-origin: center; }
.szene .wp-rotor.laeuft { animation: drehen 2.2s linear infinite; }
.szene .waerme path { fill: none; stroke: #f2a900; stroke-width: 1.6; stroke-linecap: round; opacity: 0; }
.szene .waerme.an path { animation: waermen 1.6s ease-in-out infinite; }
.szene .waerme.an path:nth-child(2) { animation-delay: .5s; }
.szene .mast { stroke: rgba(245,243,238,.6); stroke-width: 2; stroke-linecap: round; }
.szene .leitung { fill: none; stroke: rgba(245,243,238,.35); stroke-width: 1.2; }
.szene .label { font-family: var(--f-body); font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; fill: rgba(245,243,238,.55); }
.szene .wert { font-family: var(--f-display); font-size: 14px; font-weight: 800; fill: #fff; }
.szene .sonne { filter: drop-shadow(0 0 20px rgba(242,169,0,.5)); }
.szene .strahlen line { stroke: #ffd766; stroke-width: 3; stroke-linecap: round; }
.szene .strahlen { transform-box: fill-box; transform-origin: center; animation: drehen 40s linear infinite; }
.szene .mond-schatten { fill: var(--h-oben); }
.szene .sterne circle { fill: #fff; opacity: 0; animation: funkeln 3s ease-in-out infinite; }
.szene .wolke ellipse { fill: rgba(255,255,255,.14); }
.szene .wolke { opacity: var(--tag); }
.szene .w1 { animation: ziehen 60s linear infinite; }
.szene .w2 { animation: ziehen 90s linear infinite; animation-delay: -30s; }
.szene .w3 { animation: ziehen 75s linear infinite; animation-delay: -55s; }
.szene .spur { fill: none; stroke-width: 2; stroke-linecap: round; opacity: 0; transition: opacity .5s ease; }
.szene .spur.an { opacity: .35; }
.szene .spur--pv { stroke: #f2a900; } .szene .spur--akku { stroke: #5fa8d3; } .szene .spur--netz { stroke: #b9b6ad; } .szene .spur--heiz { stroke: #ffc23d; }
.szene .partikel circle { fill: #fff; }
.szene .partikel .halo { opacity: .35; }
.szene .partikel .pv { fill: #ffd766; } .szene .partikel .akku { fill: #bfe3f7; } .szene .partikel .netz { fill: #e6e3da; } .szene .partikel .heiz { fill: #ffe3a0; }
.szene .partikel .pv.halo { fill: #f2a900; } .szene .partikel .akku.halo { fill: #5fa8d3; } .szene .partikel .netz.halo { fill: #b9b6ad; } .szene .partikel .heiz.halo { fill: #ffc23d; }
.szene .hud-box rect { fill: rgba(18,20,23,.75); stroke: rgba(245,243,238,.18); }
.szene .hud-label { font-family: var(--f-body); font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; fill: rgba(245,243,238,.6); }
.szene .hud-wert { font-family: var(--f-display); font-size: 18px; font-weight: 800; fill: #fff; }
.szene .hud-box { opacity: 0; transition: opacity .5s ease; }
.szene .hud-box.an { opacity: 1; }
.szene .wisch.laeuft { animation: wischen 3.5s ease-in-out infinite; }
@keyframes drehen { to { transform: rotate(360deg); } }
@keyframes waermen { 0% { opacity: 0; transform: translateX(0); } 40% { opacity: .9; } 100% { opacity: 0; transform: translateX(-18px); } }
@keyframes funkeln { 0%, 100% { opacity: calc(var(--nacht) * .35); } 50% { opacity: calc(var(--nacht) * 1); } }
@keyframes ziehen { from { transform: translateX(-250px); } to { transform: translateX(1450px); } }
@keyframes wischen { 0% { transform: translateX(0); } 60%, 100% { transform: translateX(420px); } }

/* Uhr in der Story */
.story .uhr { display: flex; align-items: center; gap: 14px; margin: -10px 0 22px; }
.story .uhrzeit { font-family: var(--f-display); font-weight: 800; font-size: clamp(34px, 3.6vw, 52px); letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; color: var(--amber); }
.story .ring { width: 44px; height: 44px; transform: rotate(-90deg); }
.story .ring circle { fill: none; stroke: var(--line); stroke-width: 3; }
.story .ring .ring-fuell { stroke: var(--amber); stroke-dasharray: 119.4; stroke-dashoffset: 119.4; transition: stroke-dashoffset .15s linear; }
.story .karte h3 { transform: translateY(20px); opacity: 0; transition: transform .5s cubic-bezier(.2,.8,.2,1) .1s, opacity .5s ease .1s; }
.story .karte p { transform: translateY(20px); opacity: 0; transition: transform .5s cubic-bezier(.2,.8,.2,1) .22s, opacity .5s ease .22s; }
.story .karte.aktiv h3, .story .karte.aktiv p { transform: none; opacity: 1; }
.story .buehne { background: var(--bg); }
.story .buehne::before { display: none; }
.story #haus-story { position: absolute; inset: 0; z-index: 0; }
.story #haus-story .szene { width: 100%; height: 100%; border-radius: 0; box-shadow: none; }
.story .buehne::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(18,20,23,.88) 0%, rgba(18,20,23,.7) 34%, rgba(18,20,23,.15) 55%, transparent 70%), linear-gradient(180deg, rgba(18,20,23,.5), transparent 25%, transparent 80%, rgba(18,20,23,.7)); }
.story .inhalt { position: relative; z-index: 2; }
.story .inhalt > div:first-child { position: relative; max-width: 520px; }
.story .hinweis { z-index: 2; }
@media (min-width: 900px) { .story .inhalt { grid-template-columns: 1fr; } }
@media (max-width: 899px) { .story .buehne::after { background: linear-gradient(180deg, rgba(18,20,23,.9) 0%, rgba(18,20,23,.75) 55%, rgba(18,20,23,.2) 100%); } .story .inhalt { align-content: start; padding-top: 24px; } }

/* Marquee */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: var(--amber); color: #1a1300; padding: 14px 0; transform: rotate(-1.2deg) scale(1.02); margin-block: 8px 24px; }
.marquee-spur { display: flex; gap: 40px; width: max-content; font-family: var(--f-display); font-weight: 800; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; animation: laufen 40s linear infinite; }
.marquee-spur i { width: 8px; height: 8px; border-radius: 50%; background: #1a1300; align-self: center; }
@keyframes laufen { to { transform: translateX(-50%); } }

/* Wellen-Trenner */
.welle { line-height: 0; background: var(--bg); }
.welle svg { width: 100%; height: 48px; }
.welle path { fill: var(--bg-2); }
.komp, .team { border-top: 0; }

/* Cursor-Licht */
.licht { position: fixed; left: 0; top: 0; width: 600px; height: 600px; margin: -300px 0 0 -300px; border-radius: 50%; pointer-events: none; z-index: 0; background: radial-gradient(circle, rgba(242,169,0,.10), transparent 60%); transform: translate(-1000px, -1000px); transition: transform .12s linear; mix-blend-mode: screen; }
@media (hover: none) { .licht { display: none; } }
main { position: relative; z-index: 1; }

/* Karten fächern beim Reinscrollen */
.rein { transform: translateY(28px) rotate(.4deg); }
.rein.sichtbar { transform: none; }
.ref .karte.rein:nth-child(2) { transition-delay: .12s; } .ref .karte.rein:nth-child(3) { transition-delay: .24s; }
.ref .karte .bild img { transform: scale(1.06); transition: transform 6s ease-out; }
.ref .karte.sichtbar .bild img { transform: scale(1); }
.ref .karte:hover .bild img { transform: scale(1.08); transition: transform 1.2s ease; }

/* ---------- Scroll-Story ---------- */
.story { position: relative; }
.story .buehne { position: sticky; top: 64px; height: calc(100vh - 64px); display: grid; align-items: center; overflow: hidden;
  background: linear-gradient(180deg,
    color-mix(in srgb, #1b2a3a calc(var(--night) * 100%), #2a3d52) 0%,
    var(--bg) 70%); transition: background .3s linear; }
.story .buehne::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 0%, rgba(242,169,0,calc(.22 * (1 - var(--night)))), transparent 60%); pointer-events: none; }
.story .inhalt { position: relative; display: grid; gap: 24px; align-items: center; opacity: 0; }
.story .karten { position: relative; min-height: 260px; }
.story .karte { position: absolute; inset: 0; display: grid; gap: 10px; align-content: start; opacity: 0; transform: translateY(16px); transition: opacity .4s ease, transform .4s ease; pointer-events: none; }
.story .karte.aktiv { opacity: 1; transform: none; pointer-events: auto; }
.story .karte .zeit { font-family: var(--f-display); font-weight: 800; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--amber); }
.story .karte h3 { font-size: clamp(24px, 2.4vw, 34px); }
.story .karte p { color: var(--ink-2); max-width: 42ch; }
.story .karte .badge { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; padding: 8px 12px; border-radius: 999px; background: rgba(95,168,211,.15); border: 1px solid rgba(95,168,211,.4); font-size: 14px; font-weight: 600; }
.story .karte .badge b { font-family: var(--f-display); font-size: 18px; }
.story .punkte { display: flex; gap: 8px; }
.story .punkte i { width: 28px; height: 3px; border-radius: 2px; background: var(--line); transition: background .3s ease; }
.story .punkte i.aktiv { background: var(--amber); }
.story .hinweis { position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); font-size: 13px; color: var(--ink-3); letter-spacing: .06em; }
@media (min-width: 900px) { .story .inhalt { grid-template-columns: 1fr 1.5fr; gap: 56px; } }
.story .kopf { padding-bottom: 32px; }

/* ---------- Rechner ---------- */
.rechner .wrap { display: grid; gap: 40px; }
.rechner .regler { display: grid; gap: 28px; }
.rechner .feld { display: grid; gap: 10px; }
.rechner .feld label { display: flex; justify-content: space-between; align-items: baseline; font-weight: 600; }
.rechner .feld label b { font-family: var(--f-display); font-size: 22px; font-weight: 800; color: var(--amber); }
.rechner input[type=range] { -webkit-appearance: none; width: 100%; height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--amber) var(--pct, 50%), var(--bg-3) var(--pct, 50%)); outline: none; }
.rechner input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: var(--ink); border: 4px solid var(--bg); box-shadow: 0 0 0 2px var(--amber); cursor: pointer; }
.rechner input[type=range]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--ink); border: 3px solid var(--amber); cursor: pointer; }
.rechner .ergebnis { display: grid; gap: 14px; }
.rechner .kachel { padding: 24px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg-2); }
.rechner .kachel > span { display: block; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.rechner .kachel b { display: block; margin-top: 8px; font-family: var(--f-display); font-size: clamp(30px, 3vw, 44px); font-weight: 800; letter-spacing: -.02em; line-height: 1; font-variant-numeric: tabular-nums; }
.rechner .kachel b small { font-size: .5em; font-weight: 600; color: var(--ink-2); margin-left: 4px; }
.rechner .kachel.gross { background: linear-gradient(135deg, rgba(242,169,0,.18), rgba(242,169,0,.04)); border-color: rgba(242,169,0,.4); }
.rechner .zaehler { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px 20px; }
.rechner .zaehler b { font-family: var(--f-display); font-size: clamp(40px, 5vw, 72px); font-weight: 800; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
@media (min-width: 900px) { .rechner .wrap { grid-template-columns: 1.1fr 1fr; gap: 72px; align-items: start; } .rechner .ergebnis { grid-template-columns: 1fr 1fr; } .rechner .kachel.gross { grid-column: 1 / -1; } }

/* ---------- Komponenten ---------- */
.komp { background: var(--bg-2); border-block: 1px solid var(--line); }
.komp .kopf { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 36px; }
.komp .spur { display: grid; grid-auto-flow: column; grid-auto-columns: min(78vw, 360px); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px var(--gutter) 24px; margin: 0 calc(-1 * var(--gutter)); scrollbar-width: none; }
.komp .spur::-webkit-scrollbar { display: none; }
.komp .karte { scroll-snap-align: start; display: grid; gap: 16px; align-content: start; padding: 28px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); min-height: 380px; transition: border-color .2s ease, transform .2s ease; }
.komp .karte:hover { border-color: rgba(242,169,0,.5); transform: translateY(-3px); }
.komp .karte .nr { font-family: var(--f-display); font-weight: 800; font-size: 13px; letter-spacing: .12em; color: var(--amber); }
.komp .karte svg { width: 100%; height: 120px; overflow: visible; }
.komp .karte svg * { fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.komp .karte svg .a { stroke: var(--amber); } .komp .karte svg .s { stroke: var(--sky); } .komp .karte svg .f { fill: var(--bg-3); }
.komp .karte ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: 15px; color: var(--ink-2); }
.komp .karte ul li::before { content: "— "; color: var(--amber); }
.komp .karte p { color: var(--ink-2); font-size: 15px; }
.komp .pfeile { display: flex; gap: 8px; }
.komp .pfeile button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; }
.komp .pfeile button:hover { border-color: var(--amber); }

/* ---------- Ablauf ---------- */
.ablauf .wrap { display: grid; gap: 48px; }
.ablauf .kopf { align-self: start; position: sticky; top: 100px; }
.ablauf ol { position: relative; margin: 0; padding: 0 0 0 44px; list-style: none; display: grid; gap: 40px; }
.ablauf ol::before { content: ""; position: absolute; left: 11px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.ablauf ol::after { content: ""; position: absolute; left: 11px; top: 8px; width: 2px; height: calc(var(--fuell, 0) * (100% - 16px)); background: var(--amber); transition: height .2s linear; }
.ablauf li { position: relative; display: grid; gap: 6px; }
.ablauf li::before { content: ""; position: absolute; left: -44px; top: 6px; width: 24px; height: 24px; border-radius: 50%; background: var(--bg); border: 2px solid var(--line); transition: border-color .3s ease, background .3s ease; z-index: 1; }
.ablauf li.aktiv::before { border-color: var(--amber); background: var(--amber); box-shadow: 0 0 0 6px rgba(242,169,0,.18); }
.ablauf li .wann { font-family: var(--f-display); font-weight: 800; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.ablauf li.aktiv .wann { color: var(--amber); }
.ablauf li p { color: var(--ink-2); max-width: 52ch; }
@media (min-width: 900px) { .ablauf .wrap { grid-template-columns: 1fr 1.4fr; gap: 96px; } }

/* ---------- Referenzen ---------- */
.ref .grid { display: grid; gap: 20px; margin-top: 40px; }
.ref .karte { position: relative; display: block; text-decoration: none; color: inherit; border-radius: 12px; overflow: hidden; background: var(--bg-2); border: 1px solid var(--line); transform-style: preserve-3d; transition: transform .25s ease; }
.ref .karte .bild { aspect-ratio: 4 / 3; background: var(--bg-3); }
.ref .karte .bild img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.ref .karte:hover .bild img { transform: scale(1.04); }
.ref .karte .text { padding: 20px 22px; display: grid; gap: 4px; }
.ref .karte .text b { font-family: var(--f-display); font-weight: 800; font-size: 18px; }
.ref .karte .text span { font-size: 14px; color: var(--ink-2); }
.ref .karte .zahlen { position: absolute; top: 14px; left: 14px; z-index: 2; display: flex; gap: 8px; }
.ref .karte .zahlen i { padding: 6px 10px; border-radius: 999px; background: rgba(18,20,23,.8); backdrop-filter: blur(6px); font-style: normal; font-size: 13px; font-weight: 700; font-family: var(--f-display); }
.ref .karte .zahlen i.a { color: var(--amber); }
@media (min-width: 720px) { .ref .grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Team ---------- */
.team { background: var(--bg-2); border-block: 1px solid var(--line); }
.team .wrap { display: grid; gap: 40px; align-items: center; }
.team .bild { position: relative; }
.team .bild img { border-radius: 12px; aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.team .bild .tag { position: absolute; left: 18px; bottom: 18px; padding: 10px 14px; border-radius: 8px; background: rgba(18,20,23,.85); backdrop-filter: blur(6px); font-size: 14px; }
.team .bild .tag b { display: block; font-family: var(--f-display); font-weight: 800; font-size: 16px; }
.team .text { display: grid; gap: 18px; }
.team .text p { color: var(--ink-2); }
.team .zert { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.team .zert span { padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; color: var(--ink-2); }
@media (min-width: 900px) { .team .wrap { grid-template-columns: 1fr 1.3fr; gap: 80px; } }

/* ---------- Kontakt ---------- */
.kontakt .wrap { display: grid; gap: 48px; }
.kontakt .info { display: grid; gap: 28px; align-content: start; }
.kontakt .tel-gross { font-family: var(--f-display); font-weight: 800; font-size: clamp(30px, 3.6vw, 48px); letter-spacing: -.02em; text-decoration: none; line-height: 1; }
.kontakt .daten { display: grid; gap: 16px; }
.kontakt .daten div { display: grid; gap: 2px; }
.kontakt .daten span { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.kontakt .daten b { font-weight: 600; }
.kontakt .karte { position: relative; aspect-ratio: 16 / 10; border-radius: 10px; overflow: hidden; background: var(--bg-2); border: 1px solid var(--line); }
.kontakt .karte svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.kontakt .karte .pin { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -100%); width: 28px; height: 36px; }
.kontakt .form { display: grid; gap: 16px; padding: 32px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; }
.kontakt .feld { display: grid; gap: 6px; }
.kontakt .feld label { font-size: 14px; font-weight: 600; }
.kontakt .feld input, .kontakt .feld select, .kontakt .feld textarea { width: 100%; padding: 13px 14px; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 6px; }
.kontakt .feld input:focus, .kontakt .feld select:focus, .kontakt .feld textarea:focus { outline: none; border-color: var(--amber); box-shadow: 0 0 0 3px rgba(242,169,0,.2); }
.kontakt .feld textarea { min-height: 110px; resize: vertical; }
.kontakt .zwei { display: grid; gap: 16px; }
.kontakt .form .btn { justify-self: start; align-self: start; }
@media (min-width: 640px) { .kontakt .zwei { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .kontakt .wrap { grid-template-columns: 1fr 1.1fr; gap: 80px; } }

/* ---------- Footer ---------- */
footer { padding: 36px 0; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }
footer .container { display: flex; flex-wrap: wrap; gap: 14px 32px; justify-content: space-between; align-items: center; }
footer ul { display: flex; gap: 20px; margin: 0; padding: 0; list-style: none; }
footer a { text-decoration: none; }

/* Sichtbar-werden beim Scrollen */
.rein { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.rein.sichtbar { opacity: 1; transform: none; }

.demo-badge { position: fixed; left: 16px; bottom: 16px; z-index: 30; padding: 7px 12px; border-radius: 999px; background: rgba(20,20,22,.85); color: #f4efe6; font: 600 12px/1 system-ui, sans-serif; letter-spacing: .04em; text-decoration: none; backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.15); }
