/* Feldhaus Energietechnik · Entwurf
   Farbidee: Anthrazit der Modulgläser, Mittagslicht als einzige starke Farbe,
   Kalkputz als Papier. Speicherstrom glüht orange, Netzstrom bleibt kühles Stahlgrau. */

@font-face { font-family: "Schibsted"; src: url("../fonts/schibsted-grotesk-var.woff2") format("woff2"); font-weight: 400 900; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url("../fonts/ibm-plex-mono-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url("../fonts/ibm-plex-mono-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --nacht: #111216;
  --graphit: #1b1d23;
  --graphit-2: #262931;
  --papier: #f2eee7;
  --kalk: #e6e0d5;
  --tinte: #16171b;
  --tinte-2: #50525a;
  --sonne: #ffb224;
  --sonne-hell: #ffd27a;
  --glut: #ff6a2b;
  --netz: #9aa3b5;
  --haar-d: rgba(255,255,255,.14);
  --haar-h: rgba(22,23,27,.16);
  --rand: clamp(16px, 4vw, 56px);
  --max: 1320px;
  --kopf-h: 68px;
  --mono: "Plex Mono", ui-monospace, Consolas, monospace;
  --schrift: "Schibsted", "Segoe UI", system-ui, sans-serif;
  --ease: cubic-bezier(.2,.7,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--kopf-h); }
body { margin: 0; background: var(--papier); color: var(--tinte); font-family: var(--schrift); font-size: 17px; line-height: 1.55; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
.unsichtbar { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sprung { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--sonne); color: var(--tinte); padding: 10px 14px; font-weight: 600; }
.sprung:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--sonne); outline-offset: 3px; }

.weite { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--rand); }

.titel { font-size: clamp(30px, 4.6vw, 64px); line-height: 1.02; letter-spacing: -.025em; font-weight: 700; max-width: 18ch; text-wrap: balance; }
.titel span { display: block; margin-top: .45em; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.4; letter-spacing: 0; font-weight: 400; color: var(--tinte-2); max-width: 46ch; }
.titel.hell { color: #fff; }
.titel.hell span { color: rgba(255,255,255,.62); }

/* Knöpfe: Licht läuft beim Darüberfahren einmal durch wie Strom durch eine Leitung */
.knopf { position: relative; display: inline-flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 22px; font-weight: 600; font-size: 16px; text-decoration: none; border: 0; cursor: pointer; overflow: hidden; isolation: isolate; transition: transform .25s var(--ease); }
.knopf::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%); transform: translateX(-120%); }
.knopf:hover::after { transform: translateX(120%); transition: transform .7s var(--ease); }
.knopf:active { transform: translateY(1px); }
.knopf-sonne { background: var(--sonne); color: var(--tinte); }
.knopf-sonne::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--tinte); box-shadow: 0 0 0 0 rgba(22,23,27,.5); animation: puls 2.4s infinite; }
.knopf-rand { color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.55); }
.knopf-rand:hover { box-shadow: inset 0 0 0 1px var(--sonne); color: var(--sonne-hell); }
.knopf-dunkel { background: var(--tinte); color: #fff; }
@keyframes puls { 0% { box-shadow: 0 0 0 0 rgba(22,23,27,.45); } 70% { box-shadow: 0 0 0 9px rgba(22,23,27,0); } 100% { box-shadow: 0 0 0 0 rgba(22,23,27,0); } }

/* ---------- Kopf ---------- */
.kopf { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--kopf-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-inline: var(--rand); color: #fff; transition: background .3s, color .3s, box-shadow .3s; }
.kopf.fest { background: rgba(17,18,22,.92); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--haar-d); }
.marke { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.marke-zeichen { display: grid; grid-template-columns: repeat(3, 7px); gap: 2px; transform: skewX(-14deg); }
.marke-zeichen i { height: 22px; background: currentColor; }
.marke-zeichen i:nth-child(2) { background: var(--sonne); }
.marke-text { font-weight: 800; font-size: 19px; letter-spacing: -.01em; line-height: 1; }
.marke-text small { display: block; font-family: var(--mono); font-weight: 400; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; opacity: .7; margin-top: 4px; }
.navi { display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); font-size: 15px; }
.navi a { text-decoration: none; opacity: .85; position: relative; padding: 6px 0; }
.navi a:not(.navi-knopf)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--sonne); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.navi a:hover, .navi a.an { opacity: 1; }
.navi a:hover::after, .navi a.an::after { transform: scaleX(1); }
.navi-knopf { background: var(--sonne); color: var(--tinte); padding: 10px 16px !important; font-weight: 600; opacity: 1 !important; }
.menue { display: none; }

@media (max-width: 980px) {
  .menue { display: grid; place-content: center; gap: 6px; width: 46px; height: 46px; background: none; border: 0; cursor: pointer; margin-right: -8px; }
  .menue span:not(.unsichtbar) { display: block; width: 24px; height: 2px; background: currentColor; transition: transform .3s; }
  .menue[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
  .menue[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
  .navi { position: fixed; inset: var(--kopf-h) 0 auto; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--rand) 24px; background: var(--nacht); box-shadow: 0 1px 0 var(--haar-d); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: .25s var(--ease); }
  .navi.offen { transform: none; opacity: 1; visibility: visible; }
  .navi a { padding: 14px 0; border-bottom: 1px solid var(--haar-d); font-size: 18px; }
  .navi-knopf { margin-top: 16px; text-align: center; border: 0; }
  .kopf.offen { background: var(--nacht); }
}

/* ---------- Foto-Rahmen: Bild füllt wie cover, Überlagerungen bleiben deckungsgleich ---------- */
.held-foto, .buehne-bild { position: absolute; inset: 0; overflow: hidden; container-type: size; }
.rahmen { --w: max(100cqw, 176.84cqh); --h: calc(var(--w) / 1.7684); position: absolute; width: var(--w); height: var(--h);
  left: clamp(calc(100cqw - var(--w)), calc(50cqw - var(--fx, .5) * var(--w)), 0px);
  top: clamp(calc(100cqh - var(--h)), calc(50cqh - var(--fy, .5) * var(--h)), 0px); }
.rahmen > img { width: 100%; height: 100%; object-fit: cover; }
.dach { position: absolute; inset: 0; clip-path: polygon(33.4% 52.1%, 65.1% 46.3%, 77.6% 17.1%, 43.8% 33.9%); pointer-events: none; }

/* ---------- 1 Einstieg ---------- */
.held { position: relative; height: 100svh; min-height: 600px; background: var(--nacht); color: #fff; overflow: hidden; }
.held-foto .rahmen { --fx: .56; --fy: .5; transform: translate3d(0, var(--hy, 0px), 0) scale(var(--hs, 1.04)); transform-origin: 60% 40%; will-change: transform; }
.dach-glanz { background: linear-gradient(105deg, transparent 0 40%, rgba(255,226,160,.0) 42%, rgba(255,226,160,.38) 50%, rgba(255,226,160,0) 58%, transparent 60%); background-size: 260% 100%; background-position: 130% 0; mix-blend-mode: screen; animation: glanz 7s 1.2s var(--ease) infinite; }
@keyframes glanz { 0% { background-position: 130% 0; } 45%, 100% { background-position: -30% 0; } }
.held-schatten { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,11,14,.78) 0%, rgba(10,11,14,.45) 34%, rgba(10,11,14,0) 58%), linear-gradient(0deg, rgba(10,11,14,.7) 0%, rgba(10,11,14,0) 30%); }
.held-text { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; padding: calc(var(--kopf-h) + 20px) var(--rand) 140px; max-width: calc(var(--max) + 0px); margin-inline: auto; }
.held-zeile { font-family: var(--mono); font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--sonne-hell); margin-bottom: 22px; }
.held h1 { font-size: clamp(42px, 7.2vw, 108px); line-height: .96; letter-spacing: -.035em; font-weight: 800; max-width: 9.5ch; }
.held-unter { margin-top: 26px; max-width: 44ch; font-size: clamp(17px, 1.45vw, 20px); color: rgba(255,255,255,.82); }
.knoepfe { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.held-werte { position: absolute; z-index: 3; right: var(--rand); bottom: 34px; display: grid; grid-template-columns: repeat(3, auto); gap: 0; background: rgba(17,18,22,.72); backdrop-filter: blur(12px); box-shadow: inset 0 0 0 1px var(--haar-d); }
.held-werte > div { padding: 14px 22px 12px; border-right: 1px solid var(--haar-d); }
.held-werte > div:last-of-type { border-right: 0; }
.held-werte dt { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.held-werte dd { font-family: var(--mono); font-size: 15px; color: rgba(255,255,255,.75); }
.held-werte dd b { font-family: var(--schrift); font-size: 30px; font-weight: 700; color: #fff; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.held-werte > div:first-child dd b { color: var(--sonne); }
.held-werte > p { grid-column: 1 / -1; padding: 8px 22px; border-top: 1px solid var(--haar-d); font-family: var(--mono); font-size: 11px; color: rgba(255,255,255,.55); }

@media (max-width: 760px) {
  .held { height: auto; min-height: 100svh; display: flex; flex-direction: column; }
  .held-foto { bottom: auto; height: 62svh; }
  .held-foto .rahmen { --fx: .6; --fy: .5; }
  .held-schatten { bottom: auto; height: 62svh; background: linear-gradient(0deg, var(--nacht) 0%, rgba(17,18,22,.55) 22%, rgba(17,18,22,0) 45%, rgba(17,18,22,0) 80%, rgba(17,18,22,.45) 100%); }
  .held-text { height: auto; flex: 1; justify-content: flex-end; padding-bottom: 20px; padding-top: 50svh; }
  .held h1 { font-size: clamp(38px, 11.5vw, 54px); }
  .held-unter { margin-top: 18px; }
  .knoepfe { margin-top: 24px; }
  .knoepfe .knopf { flex: 1 1 100%; justify-content: center; }
  .held-werte { position: relative; right: auto; bottom: auto; margin: 4px var(--rand) 24px; grid-template-columns: repeat(3, 1fr); }
  .held-werte > div { padding: 10px 12px 8px; }
  .held-werte dd b { font-size: 22px; }
  .held-werte dd { font-size: 12px; }
  .held-werte dt { font-size: 9.5px; letter-spacing: .06em; }
  .held-werte > p { padding: 7px 12px; font-size: 10px; }
}

/* ---------- 2 Ausgangslage ---------- */
.lage { padding: clamp(80px, 11vw, 150px) 0 clamp(60px, 9vw, 120px); }
.lage-kopf { display: grid; grid-template-columns: 1fr 120px 1fr; margin-top: clamp(40px, 6vw, 80px); font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--tinte-2); }
.lage-kopf span:last-child { grid-column: 3; color: #b06a00; }
.lage-liste { margin-top: 14px; }
.paar { display: grid; grid-template-columns: 1fr 120px 1fr; align-items: center; border-top: 1px solid var(--haar-h); padding: clamp(26px, 3.4vw, 44px) 0; }
.paar:last-child { border-bottom: 1px solid var(--haar-h); }
.paar p { font-size: clamp(18px, 1.75vw, 24px); line-height: 1.38; letter-spacing: -.01em; }
.vorher { color: var(--tinte-2); padding-right: 12px; transition: color .5s, opacity .5s; }
.vorher .nr { display: block; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; margin-bottom: 10px; color: var(--tinte-2); }
.nachher { color: var(--tinte); font-weight: 600; opacity: .22; transform: translateX(-10px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.leitung { position: relative; height: 2px; margin: 0 18px; background: var(--haar-h); }
.leitung i { position: absolute; inset: 0; background: linear-gradient(90deg, var(--netz), var(--sonne)); transform: scaleX(var(--l, 0)); transform-origin: left; }
.leitung::after { content: ""; position: absolute; right: -4px; top: -4px; width: 10px; height: 10px; border-radius: 50%; background: var(--papier); box-shadow: inset 0 0 0 2px var(--haar-h); transition: background .4s, box-shadow .4s; }
.paar.an .nachher { opacity: 1; transform: none; }
.paar.an .vorher { color: #8d8e93; }
.paar.an .leitung::after { background: var(--sonne); box-shadow: 0 0 0 5px rgba(255,178,36,.25); }
@media (max-width: 760px) {
  .lage-kopf { display: none; }
  .paar { grid-template-columns: 1fr; gap: 14px; }
  .leitung { width: 2px; height: 34px; margin: 0 0 0 4px; }
  .leitung i { transform: scaleY(var(--l, 0)); transform-origin: top; }
  .leitung::after { right: auto; left: -4px; top: auto; bottom: -6px; }
  .nachher { transform: translateY(-6px); padding-left: 18px; }
  .vorher::before { content: "Heute"; display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 6px; }
  .vorher .nr { display: none; }
}

/* ---------- 3 Energiefluss ---------- */
.system { background: var(--nacht); color: #fff; padding-top: clamp(80px, 10vw, 140px); }
.system-intro p { margin-top: 22px; max-width: 52ch; color: rgba(255,255,255,.7); font-size: clamp(17px, 1.4vw, 19px); }
.system-spur { position: relative; height: 560vh; margin-top: clamp(40px, 6vw, 70px); }
.buehne { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.buehne-bild .rahmen { --fx: .6; --fy: .5; }
.buehne-bild img { filter: brightness(var(--hell, .3)) saturate(var(--satt, .6)); }
.licht-nacht, .licht-warm, .fenster-licht { position: absolute; inset: 0; pointer-events: none; }
.licht-nacht { background: linear-gradient(180deg, #0d1330 0%, #121838 50%, #0b0d18 100%); mix-blend-mode: multiply; opacity: var(--nacht, .7); }
.licht-warm { background: radial-gradient(80% 70% at 5% 35%, rgba(255,140,40,.55), transparent 70%); mix-blend-mode: soft-light; opacity: var(--warm, 0); }
.fenster-licht { opacity: var(--fenster, .8); mix-blend-mode: screen; }
.fenster-licht span { position: absolute; background: linear-gradient(180deg, rgba(255,196,120,.85), rgba(255,150,60,.55)); filter: blur(1.5px); box-shadow: 0 0 30px 6px rgba(255,170,80,.35); }
.dach-ertrag { background: linear-gradient(160deg, var(--sonne-hell), var(--sonne) 55%, var(--glut)); mix-blend-mode: soft-light; opacity: var(--pvglow, 0); }
#fluss-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }

.knoten { position: absolute; left: calc(var(--x) * 100%); top: calc(var(--y) * 100%); width: 0; height: 0; }
.knoten i { position: absolute; left: -7px; top: -7px; width: 14px; height: 14px; border-radius: 50%; background: var(--nacht); box-shadow: 0 0 0 2px #fff, 0 0 0 7px rgba(255,255,255,.12); }
.knoten span { position: absolute; left: 16px; top: -13px; white-space: nowrap; font-family: var(--mono); font-size: 12px; letter-spacing: .04em; padding: 5px 9px; background: rgba(17,18,22,.8); backdrop-filter: blur(6px); box-shadow: inset 0 0 0 1px var(--haar-d); }
.knoten span b { font-weight: 500; color: var(--sonne); margin-left: 4px; }
@media (min-width: 761px) { .buehne-bild { left: calc(var(--rand) + min(400px, 36vw) + 20px); } }
.k-pv i { background: var(--sonne); box-shadow: 0 0 0 2px var(--sonne), 0 0 calc(4px + var(--pvglow, 0) * 40px) rgba(255,178,36,.9); }
.k-speicher i { background: conic-gradient(var(--glut) calc(var(--soc, 0) * 1%), var(--nacht) 0); }
.k-speicher span b { color: var(--glut); }
.k-netz span b { color: var(--netz); }
.k-netz span { left: auto; right: 16px; }
.k-haus span { left: auto; right: 16px; top: -34px; }
.k-auto span { top: -40px; left: auto; right: -12px; }
.k-speicher span { top: 14px; left: -40px; }

.tafel { position: absolute; z-index: 4; left: var(--rand); top: calc(var(--kopf-h) + 18px); bottom: 24px; width: min(400px, 36vw); display: flex; flex-direction: column; gap: 16px; padding: 22px 22px 18px; background: rgba(17,18,22,.82); backdrop-filter: blur(14px); box-shadow: inset 0 0 0 1px var(--haar-d); overflow: hidden; }
.uhr { font-size: 58px; font-weight: 700; line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.uhr small { font-family: var(--mono); font-size: 13px; font-weight: 400; letter-spacing: .08em; margin-left: 8px; color: rgba(255,255,255,.55); }
.phase { margin-top: 10px; min-height: 3em; font-size: 16px; line-height: 1.45; color: rgba(255,255,255,.85); }
.mess { display: grid; gap: 9px; border-top: 1px solid var(--haar-d); padding-top: 14px; }
.mess li { display: grid; grid-template-columns: 92px 1fr 70px; align-items: center; gap: 12px; font-family: var(--mono); font-size: 12.5px; }
.mess li > span:first-child { color: rgba(255,255,255,.65); }
.mess b { text-align: right; font-weight: 500; font-variant-numeric: tabular-nums; }
.balken { height: 6px; background: rgba(255,255,255,.08); overflow: hidden; }
.balken i { display: block; height: 100%; width: 100%; transform: scaleX(0); transform-origin: left; background: currentColor; }
.m-pv { color: var(--sonne); } .m-haus { color: #fff; } .m-auto { color: var(--sonne-hell); } .m-netz { color: var(--netz); }
.akku { display: flex; align-items: center; gap: 16px; border-top: 1px solid var(--haar-d); padding-top: 14px; }
.akku-koerper { position: relative; width: 120px; height: 38px; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.5); padding: 4px; flex: none; }
.akku-koerper::after { content: ""; position: absolute; right: -6px; top: 12px; width: 4px; height: 14px; background: rgba(255,255,255,.5); }
.akku-koerper i { display: block; height: 100%; width: 100%; transform: scaleX(var(--soc-a, .1)); transform-origin: left; background: linear-gradient(90deg, #c2410c, var(--glut) 60%, #ff9c5c); }
.akku-koerper span { position: absolute; inset: 0; display: grid; place-content: center; font-family: var(--mono); font-size: 13px; font-weight: 500; text-shadow: 0 1px 3px rgba(0,0,0,.6); }
.akku p { font-size: 14px; line-height: 1.35; }
.akku small { font-family: var(--mono); font-size: 11.5px; color: var(--glut); }
.kurve { border-top: 1px solid var(--haar-d); padding-top: 12px; flex: 1; min-height: 90px; display: flex; flex-direction: column; }
.kurve svg { width: 100%; flex: 1; min-height: 70px; }
.raster line { stroke: rgba(255,255,255,.08); stroke-width: 1; vector-effect: non-scaling-stroke; }
.k-pv { fill: url(#pv-verlauf); stroke: var(--sonne); stroke-width: 2; vector-effect: non-scaling-stroke; }
.k-last { fill: none; stroke: #fff; stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.k-soc { fill: none; stroke: var(--glut); stroke-width: 1.5; stroke-dasharray: 4 3; vector-effect: non-scaling-stroke; }
.k-jetzt { stroke: rgba(255,255,255,.5); stroke-width: 1; vector-effect: non-scaling-stroke; }
.kurve figcaption { display: flex; gap: 14px; margin-top: 8px; font-family: var(--mono); font-size: 11px; color: rgba(255,255,255,.6); }
.kurve figcaption span::before { content: ""; display: inline-block; width: 12px; height: 2px; margin-right: 6px; vertical-align: middle; background: currentColor; }
.l-pv { color: var(--sonne); } .l-soc { color: var(--glut); }
.bilanz { font-family: var(--mono); font-size: 12px; color: rgba(255,255,255,.65); }
.bilanz b { color: #fff; font-weight: 500; }

@media (max-height: 760px) and (min-width: 761px) {
  .uhr { font-size: 44px; } .phase { font-size: 15px; } .tafel { gap: 11px; padding: 16px 18px 14px; }
  .mess { gap: 6px; padding-top: 10px; } .akku { padding-top: 10px; } .akku-koerper { height: 32px; } .akku-koerper::after { top: 9px; }
}
@media (max-width: 760px) {
  .system-spur { height: 520vh; }
  .buehne-bild { bottom: auto; height: 46svh; top: var(--kopf-h); }
  .buehne-bild .rahmen { --fx: .635; --fy: .55; }
  .knoten span { font-size: 10.5px; padding: 3px 6px; top: -11px; left: 12px; }
  .knoten span b { display: none; }
  .k-netz span, .k-haus span { left: 12px; right: auto; }
  .k-haus span { top: -28px; }
  .k-auto span { top: -30px; right: -6px; left: auto; }
  .k-speicher span { top: 10px; left: -30px; }
  .knoten i { width: 11px; height: 11px; left: -5.5px; top: -5.5px; }
  .tafel { left: 0; right: 0; width: auto; top: calc(var(--kopf-h) + 46svh); bottom: 0; padding: 12px var(--rand) 12px; gap: 9px; background: var(--nacht); box-shadow: 0 -1px 0 var(--haar-d); backdrop-filter: none; }
  .tafel-kopf { display: flex; align-items: flex-start; gap: 14px; }
  .uhr { font-size: 34px; flex: none; }
  .uhr small { display: none; }
  .phase { margin-top: 2px; font-size: 14px; min-height: 0; line-height: 1.35; }
  .mess { grid-template-columns: 1fr 1fr; gap: 6px 16px; padding-top: 9px; }
  .mess li { grid-template-columns: 1fr auto; gap: 2px 8px; font-size: 11.5px; }
  .mess .balken { grid-column: 1 / -1; grid-row: 2; height: 4px; }
  .akku { padding-top: 9px; } .akku-koerper { width: 96px; height: 28px; } .akku-koerper::after { top: 7px; }
  .akku p { font-size: 13px; }
  .kurve { padding-top: 8px; min-height: 60px; }
  .kurve svg { min-height: 50px; }
  .kurve figcaption { font-size: 10px; margin-top: 4px; }
  .bilanz { font-size: 11px; }
}
@media (max-width: 760px) and (max-height: 700px) { .kurve { display: none; } }

/* ---------- 4 Lösungen ---------- */
.loesungen { padding: clamp(80px, 11vw, 150px) 0; }
.loe-raster { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(30px, 5vw, 80px); margin-top: clamp(40px, 6vw, 80px); align-items: start; }
.loe-liste li { border-top: 1px solid var(--haar-h); }
.loe-liste li:last-child { border-bottom: 1px solid var(--haar-h); }
.loe-liste button { width: 100%; display: flex; align-items: baseline; gap: 18px; padding: 22px 0; background: none; border: 0; cursor: pointer; text-align: left; }
.loe-liste .nr { font-family: var(--mono); font-size: 13px; color: var(--tinte-2); width: 26px; transition: color .3s; }
.loe-name { position: relative; font-size: clamp(22px, 2.4vw, 32px); font-weight: 700; letter-spacing: -.02em; line-height: 1.1; transition: transform .4s var(--ease); }
.loe-name::after { content: ""; position: absolute; left: 0; bottom: -6px; height: 3px; width: 100%; background: var(--sonne); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.loe-liste li > p { padding: 0 0 8px 44px; max-width: 48ch; color: var(--tinte-2); opacity: .5; transition: opacity .4s; }
.loe-liste li > p.kennzahl { padding-bottom: 24px; font-family: var(--mono); font-size: 13px; color: #9a5d00; }
.loe-liste li.aktiv > p { opacity: 1; }
.loe-liste li.aktiv .nr { color: #9a5d00; }
.loe-liste li.aktiv .loe-name { transform: translateX(6px); }
.loe-liste li.aktiv .loe-name::after { transform: scaleX(1); }
.loe-liste button:hover .loe-name { transform: translateX(6px); }

.loe-buehne { position: sticky; top: calc(var(--kopf-h) + 24px); aspect-ratio: 4 / 4.4; max-height: calc(100svh - var(--kopf-h) - 48px); width: 100%; background: var(--graphit); overflow: hidden; }
.loe-tafel { position: absolute; inset: 0; clip-path: inset(0 0 100% 0); transition: clip-path .8s var(--ease); }
.loe-tafel.aktiv { clip-path: inset(0 0 0 0); z-index: 2; }
.loe-tafel.raus { clip-path: inset(0 0 0 0); z-index: 1; }
.loe-tafel img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 1.4s var(--ease); }
.loe-tafel.aktiv img { transform: scale(1); }
.loe-schild { position: absolute; left: 18px; bottom: 18px; font-family: var(--mono); font-size: 12px; letter-spacing: .04em; padding: 7px 11px; color: #fff; background: rgba(17,18,22,.78); backdrop-filter: blur(6px); }
.loe-tafel.ui { background: radial-gradient(120% 80% at 80% 0%, #2a2c34, var(--graphit) 60%); color: #fff; display: grid; place-items: center; padding: clamp(20px, 4vw, 48px); }
.ui-titel { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.6); margin-bottom: 18px; }
.ui-fuss { margin-top: 18px; font-family: var(--mono); font-size: 12px; color: rgba(255,255,255,.55); }
.vorrang { width: 100%; max-width: 440px; }
.v-zeile { display: grid; grid-template-columns: 26px 110px 1fr 64px; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--haar-d); font-size: 15px; }
.v-zeile span { font-family: var(--mono); font-size: 12px; color: rgba(255,255,255,.5); }
.v-zeile em { font-style: normal; }
.v-zeile i { height: 8px; background: linear-gradient(90deg, var(--sonne), var(--sonne-hell)); width: var(--w); transform-origin: left; }
.v-zeile.netz i { background: var(--netz); }
.v-zeile b { font-family: var(--mono); font-weight: 500; font-size: 13px; text-align: right; }
.loe-tafel.aktiv .v-zeile i { animation: wachsen 1.1s var(--ease) both, atmen 3.2s 1.1s ease-in-out infinite alternate; }
.loe-tafel.aktiv .v-zeile:nth-child(3) i { animation-delay: .1s, 1.4s; } .loe-tafel.aktiv .v-zeile:nth-child(4) i { animation-delay: .2s, 1.7s; } .loe-tafel.aktiv .v-zeile:nth-child(5) i { animation-delay: .3s, 2s; }
@keyframes wachsen { from { transform: scaleX(0); } }
@keyframes atmen { to { transform: scaleX(.86); } }
.monitor-mini { width: 100%; max-width: 440px; }
.mm-zahlen { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--haar-d); }
.mm-zahlen p { padding: 14px 0; }
.mm-zahlen b { display: block; font-size: 38px; font-weight: 700; letter-spacing: -.02em; line-height: 1; }
.mm-zahlen p:first-child b { color: var(--sonne); }
.mm-zahlen small { font-family: var(--mono); font-size: 11px; color: rgba(255,255,255,.6); }
.mm-balken { display: flex; align-items: flex-end; gap: 10px; height: 150px; border-bottom: 1px solid var(--haar-d); margin-top: 14px; }
.mm-balken i { flex: 1; height: var(--h); background: linear-gradient(180deg, var(--sonne), rgba(255,178,36,.25)); transform-origin: bottom; }
.loe-tafel.aktiv .mm-balken i { animation: hoch .9s var(--ease) both; }
.loe-tafel.aktiv .mm-balken i:nth-child(2) { animation-delay: .06s; } .loe-tafel.aktiv .mm-balken i:nth-child(3) { animation-delay: .12s; } .loe-tafel.aktiv .mm-balken i:nth-child(4) { animation-delay: .18s; } .loe-tafel.aktiv .mm-balken i:nth-child(5) { animation-delay: .24s; } .loe-tafel.aktiv .mm-balken i:nth-child(6) { animation-delay: .3s; } .loe-tafel.aktiv .mm-balken i:nth-child(7) { animation-delay: .36s; }
@keyframes hoch { from { transform: scaleY(0); } }
.monitor-mini .ui-fuss { display: flex; justify-content: space-around; margin-top: 8px; }

@media (max-width: 900px) {
  .loe-raster { grid-template-columns: 1fr; gap: 0; }
  .loe-buehne { order: -1; top: var(--kopf-h); z-index: 3; aspect-ratio: auto; height: 36svh; margin-bottom: 8px; }
  .loe-liste li > p { padding-left: 44px; }
  .vorrang .v-zeile { padding: 7px 0; font-size: 13px; grid-template-columns: 20px 90px 1fr 54px; }
  .ui-titel { margin-bottom: 8px; } .ui-fuss { margin-top: 8px; font-size: 11px; }
  .mm-balken { height: 70px; } .mm-zahlen b { font-size: 26px; } .mm-zahlen p { padding: 8px 0; }
}

/* ---------- 5 Ablauf ---------- */
.ablauf { background: var(--graphit); color: #fff; padding: clamp(80px, 11vw, 150px) 0; }
.ablauf-raster { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(30px, 6vw, 100px); margin-top: clamp(40px, 6vw, 80px); }
.zeiger { position: sticky; top: calc(var(--kopf-h) + 40px); align-self: start; }
.zeiger-nr { font-size: clamp(90px, 13vw, 200px); font-weight: 800; line-height: .85; letter-spacing: -.05em; color: var(--sonne); font-variant-numeric: tabular-nums; }
.zeiger-nr small { font-size: 22px; font-weight: 400; letter-spacing: 0; color: rgba(255,255,255,.45); margin-left: 10px; font-family: var(--mono); }
.zeiger-name { margin-top: 18px; font-size: 26px; font-weight: 600; }
.schiene { position: relative; display: flex; justify-content: space-between; margin-top: 34px; height: 14px; max-width: 420px; }
.schiene::before, .schiene i { content: ""; position: absolute; left: 7px; right: 7px; top: 6px; height: 2px; background: rgba(255,255,255,.15); }
.schiene i { background: var(--sonne); transform: scaleX(var(--a, 0)); transform-origin: left; box-shadow: 0 0 12px rgba(255,178,36,.7); }
.schiene span { position: relative; width: 14px; height: 14px; border-radius: 50%; background: var(--graphit); box-shadow: inset 0 0 0 2px rgba(255,255,255,.3); transition: background .3s, box-shadow .3s; }
.schiene span.an { background: var(--sonne); box-shadow: inset 0 0 0 2px var(--sonne), 0 0 0 5px rgba(255,178,36,.18); }
.schritte li { min-height: 46svh; padding: 28px 0 40px; border-top: 1px solid var(--haar-d); opacity: .38; transition: opacity .5s; }
.schritte li.an { opacity: 1; }
.schritte li:last-child { min-height: 30svh; }
.dauer { font-family: var(--mono); font-size: 12.5px; letter-spacing: .06em; color: var(--sonne-hell); }
.schritte h3 { margin-top: 10px; font-size: clamp(28px, 3vw, 42px); letter-spacing: -.02em; line-height: 1.05; }
.schritte li > p:last-child { margin-top: 14px; max-width: 50ch; color: rgba(255,255,255,.75); font-size: 18px; }
@media (max-width: 900px) {
  .ablauf-raster { grid-template-columns: 1fr; gap: 0; }
  .zeiger { top: var(--kopf-h); z-index: 3; background: var(--graphit); padding: 12px 0 14px; margin-inline: calc(var(--rand) * -1); padding-inline: var(--rand); display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 14px; box-shadow: 0 1px 0 var(--haar-d); }
  .zeiger-nr { font-size: 46px; grid-row: span 2; }
  .zeiger-nr small { font-size: 13px; margin-left: 4px; }
  .zeiger-name { margin: 0; font-size: 18px; }
  .schiene { margin-top: 8px; }
  .schritte li { min-height: 0; padding: 26px 0 34px; }
}

/* ---------- 6 Wirtschaftlichkeit ---------- */
.potenzial { padding: clamp(80px, 11vw, 150px) 0; background: var(--kalk); }
.pot-raster { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(30px, 6vw, 90px); align-items: start; }
.pot-text { position: sticky; top: calc(var(--kopf-h) + 40px); }
.pot-text > p { margin-top: 22px; max-width: 46ch; color: #3d3f46; }
.foerder { margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--haar-h); }
.foerder h3 { font-size: 18px; }
.foerder p { margin-top: 8px; max-width: 46ch; color: var(--tinte-2); font-size: 16px; }
.rechner { background: var(--papier); padding: clamp(20px, 3vw, 36px); box-shadow: 0 0 0 1px var(--haar-h); display: grid; gap: 24px; }
.rechner-kopf { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #9a5d00; }
.rechner fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.rechner legend, .regler-kopf { font-weight: 600; font-size: 15px; margin-bottom: 10px; padding: 0; }
.wahl, .schalter { display: flex; flex-wrap: wrap; gap: 8px; }
.wahl legend, .schalter legend { width: 100%; }
.wahl label, .schalter label, .anliegen label { position: relative; cursor: pointer; }
.wahl input, .schalter input, .anliegen input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.wahl span, .schalter span, .anliegen span { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 14px; font-size: 15px; box-shadow: inset 0 0 0 1px var(--haar-h); background: #fff; transition: background .2s, box-shadow .2s, color .2s; }
.schalter span::before, .anliegen span::before { content: ""; width: 14px; height: 14px; box-shadow: inset 0 0 0 1.5px currentColor; transition: background .2s; }
.wahl input:checked + span, .schalter input:checked + span { background: var(--tinte); color: #fff; box-shadow: inset 0 0 0 1px var(--tinte); }
.schalter input:checked + span::before { background: var(--sonne); box-shadow: inset 0 0 0 1.5px var(--sonne); }
.wahl input:focus-visible + span, .schalter input:focus-visible + span, .anliegen input:focus-visible + span { outline: 2px solid var(--sonne); outline-offset: 2px; }
.regler { display: block; }
.regler-kopf { display: flex; justify-content: space-between; gap: 12px; }
.regler output { font-family: var(--mono); font-weight: 500; font-size: 14px; color: #9a5d00; }
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: 4px; background: linear-gradient(90deg, var(--sonne) var(--p), rgba(22,23,27,.15) var(--p)); }
input[type="range"]::-moz-range-track { height: 4px; background: rgba(22,23,27,.15); }
input[type="range"]::-moz-range-progress { height: 4px; background: var(--sonne); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -9px; border-radius: 50%; background: var(--tinte); box-shadow: 0 0 0 4px var(--papier), 0 0 0 5px var(--tinte); transition: transform .2s; }
input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border: 0; border-radius: 50%; background: var(--tinte); box-shadow: 0 0 0 4px var(--papier), 0 0 0 5px var(--tinte); }
input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.15); }

.ergebnis { background: var(--nacht); color: #fff; padding: clamp(18px, 2.4vw, 28px); display: grid; gap: 22px; margin-inline: calc(clamp(20px, 3vw, 36px) * -1); }
.erg-gross { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.erg-gross b { display: block; font-size: clamp(30px, 3.4vw, 46px); font-weight: 700; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.erg-gross p:last-child b { color: var(--sonne); }
.erg-gross small { display: block; margin-top: 6px; font-family: var(--mono); font-size: 11.5px; line-height: 1.3; color: rgba(255,255,255,.62); }
.erg-titel { font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.55); margin-bottom: 10px; }
.v-balken { display: flex; height: 18px; gap: 2px; }
.v-balken i { flex: 0 0 auto; height: 100%; transition: width .6s var(--ease); }
.v-direkt { --f: var(--sonne); } .v-speicher { --f: var(--glut); } .v-auto { --f: var(--sonne-hell); } .v-netz { --f: var(--netz); }
.v-balken i { background: var(--f); }
.v-legende { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px; margin-top: 12px; font-size: 14px; color: rgba(255,255,255,.75); }
.v-legende li { display: flex; align-items: center; gap: 8px; }
.v-legende li::before { content: ""; width: 10px; height: 10px; background: var(--f); flex: none; }
.v-legende b { margin-left: auto; font-family: var(--mono); font-weight: 500; font-size: 13px; color: #fff; }
.v-legende li.leer { opacity: .35; }
.r-zeile { display: grid; grid-template-columns: 92px 1fr 72px; align-items: center; gap: 12px; font-size: 14px; margin-top: 8px; }
.r-zeile b { text-align: right; font-family: var(--mono); font-weight: 500; }
.r-balken { height: 12px; background: rgba(255,255,255,.06); }
.r-balken i { display: block; height: 100%; background: var(--netz); transition: width .6s var(--ease); }
.r-zeile.neu .r-balken i { background: var(--sonne); }
.r-zeile.neu b { color: var(--sonne); }
.amort { font-size: 16px; color: rgba(255,255,255,.8); border-top: 1px solid var(--haar-d); padding-top: 16px; }
.amort b { color: #fff; }
.annahme { font-size: 13.5px; color: var(--tinte-2); }
.rechner .knopf { justify-self: start; }
@media (max-width: 900px) {
  .pot-raster { grid-template-columns: 1fr; }
  .pot-text { position: static; }
}
@media (max-width: 480px) {
  .erg-gross { grid-template-columns: 1fr 1fr; }
  .erg-gross p:last-child { grid-column: 1 / -1; }
  .v-legende { grid-template-columns: 1fr; }
  .r-zeile { grid-template-columns: 76px 1fr 62px; gap: 8px; }
}

/* ---------- 7 Beispielprojekt ---------- */
.projekt { background: var(--nacht); color: #fff; padding: clamp(80px, 11vw, 150px) 0; }
.projekt-raster { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 60px); margin-top: clamp(40px, 6vw, 70px); align-items: start; }
.vergleich { position: relative; aspect-ratio: 2688 / 1520; overflow: hidden; background: var(--graphit); --s: 50%; user-select: none; }
.vergleich > img, .vergleich-vorher img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vergleich-vorher { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--s)) 0 0); }
.vergleich-vorher img { filter: saturate(.8) brightness(.95); }
.vergleich input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.griff { position: absolute; top: 0; bottom: 0; left: var(--s); width: 2px; margin-left: -1px; background: #fff; pointer-events: none; }
.griff::after { content: ""; position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; background: var(--sonne) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 6l-6 6 6 6M15 6l6 6-6 6' fill='none' stroke='%2316171b' stroke-width='2'/%3E%3C/svg%3E") center / 22px no-repeat; box-shadow: 0 2px 10px rgba(0,0,0,.4); }
.vergleich input:focus-visible ~ .griff::after { outline: 2px solid #fff; outline-offset: 3px; }
.vergleich.gleitet .griff, .vergleich.gleitet .vergleich-vorher { transition: left .9s var(--ease), clip-path .9s var(--ease); }
.v-marke { position: absolute; top: 14px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; padding: 5px 9px; background: rgba(17,18,22,.75); pointer-events: none; }
.v-marke.links { left: 14px; } .v-marke.rechts { right: 14px; color: var(--sonne); }

.stufen { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.stufen button { width: 100%; display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 14px; text-align: left; font-size: 15px; font-weight: 600; background: transparent; color: rgba(255,255,255,.7); border: 0; box-shadow: inset 0 0 0 1px var(--haar-d); cursor: pointer; transition: .25s; }
.stufen button span { font-family: var(--mono); font-size: 11.5px; font-weight: 400; color: rgba(255,255,255,.45); }
.stufen button:hover { color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.4); }
.stufen button.aktiv { background: var(--sonne); color: var(--tinte); box-shadow: none; }
.stufen button.aktiv span { color: var(--tinte); }
.stufe-text { margin-top: 18px; min-height: 4.6em; color: rgba(255,255,255,.78); }
.dash { margin-top: 18px; background: var(--graphit); box-shadow: inset 0 0 0 1px var(--haar-d); padding: 18px; display: grid; grid-template-columns: 1fr auto; gap: 16px 20px; }
.dash-kopf { grid-column: 1 / -1; display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.live { display: flex; align-items: center; gap: 7px; }
.live i { width: 7px; height: 7px; border-radius: 50%; background: var(--sonne); animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: .25; } }
.dash-zahlen { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; }
.dash-zahlen b { display: block; font-size: clamp(24px, 2.4vw, 32px); font-weight: 700; letter-spacing: -.02em; line-height: 1; font-variant-numeric: tabular-nums; }
.dash-zahlen p:nth-child(2) b { color: var(--sonne); }
.dash-zahlen small { font-family: var(--mono); font-size: 11px; color: rgba(255,255,255,.58); }
.dash-ring { width: 120px; text-align: center; }
.dash-ring svg { width: 110px; height: 110px; transform: rotate(-90deg); }
.ring-grund { fill: none; stroke: rgba(255,255,255,.08); stroke-width: 10; }
.ring-wert { fill: none; stroke: var(--sonne); stroke-width: 10; stroke-dasharray: 314.16; stroke-dashoffset: 314.16; transition: stroke-dashoffset 1s var(--ease); }
.dash-ring p { font-family: var(--mono); font-size: 10.5px; line-height: 1.3; color: rgba(255,255,255,.55); margin-top: 4px; }
.hinweis { margin-top: 10px; font-family: var(--mono); font-size: 11px; color: rgba(255,255,255,.45); }
@media (max-width: 1000px) { .projekt-raster { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .dash { grid-template-columns: 1fr; } .dash-ring { display: none; } .stufen button { font-size: 14px; padding: 0 10px; } }

/* ---------- 8 Vertrauen ---------- */
.vertrauen { padding: clamp(80px, 11vw, 150px) 0; }
.vertrauen-raster { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(30px, 6vw, 90px); align-items: start; }
.person { position: sticky; top: calc(var(--kopf-h) + 30px); }
.person img { width: 100%; aspect-ratio: 4 / 4.2; object-fit: cover; object-position: 44% 50%; }
.person figcaption { margin-top: 12px; font-size: 15px; color: var(--tinte-2); }
.person figcaption b { color: var(--tinte); margin-right: 6px; }
.belege { margin-top: clamp(30px, 4vw, 50px); }
.belege div { display: grid; grid-template-columns: 180px 1fr; gap: 20px; padding: 20px 0; border-top: 1px solid var(--haar-h); }
.belege div:last-child { border-bottom: 1px solid var(--haar-h); }
.belege dt { font-weight: 700; position: relative; padding-left: 18px; }
.belege dt::before { content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; background: var(--sonne); }
.belege dd { color: #3d3f46; }
@media (max-width: 900px) {
  .vertrauen-raster { grid-template-columns: 1fr; }
  .person { position: static; }
  .person img { aspect-ratio: 3 / 2; }
  .belege div { grid-template-columns: 1fr; gap: 6px; }
}

/* ---------- 9 Kontakt ---------- */
.kontakt { background: var(--graphit); color: #fff; padding: clamp(80px, 11vw, 150px) 0; position: relative; overflow: hidden; }
.kontakt::before { content: ""; position: absolute; right: -10%; top: -30%; width: 70%; height: 120%; background: radial-gradient(closest-side, rgba(255,178,36,.16), transparent); pointer-events: none; }
.kontakt-raster { position: relative; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(30px, 6vw, 90px); }
.kontakt-text > p { margin-top: 22px; max-width: 42ch; color: rgba(255,255,255,.72); }
.direkt { margin-top: 34px; }
.direkt li { display: grid; grid-template-columns: 90px 1fr; gap: 12px; padding: 14px 0; border-top: 1px solid var(--haar-d); }
.direkt span { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.5); padding-top: 3px; }
.direkt a { text-decoration: none; font-weight: 600; }
.direkt a:hover { color: var(--sonne); }
.anfrage { display: grid; gap: 22px; align-content: start; }
.anfrage fieldset { border: 0; margin: 0; padding: 0; min-width: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.anfrage legend { width: 100%; font-weight: 600; margin-bottom: 10px; padding: 0; }
.anliegen span { background: transparent; box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); }
.anliegen input:checked + span { background: var(--sonne); color: var(--tinte); box-shadow: none; }
.anliegen input:checked + span::before { background: var(--tinte); box-shadow: none; }
.felder { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.feld { display: grid; gap: 6px; }
.feld.breit { grid-column: 1 / -1; }
.feld span { font-size: 14px; color: rgba(255,255,255,.72); }
.feld em { font-style: normal; color: rgba(255,255,255,.45); margin-left: 4px; }
.feld input, .feld textarea { width: 100%; min-height: 50px; padding: 12px 14px; background: rgba(255,255,255,.05); border: 0; border-bottom: 2px solid rgba(255,255,255,.3); border-radius: 0; color: #fff; transition: border-color .2s, background .2s; }
.feld textarea { resize: vertical; }
.feld input:focus, .feld textarea:focus { outline: none; border-bottom-color: var(--sonne); background: rgba(255,255,255,.09); }
.feld.falsch input { border-bottom-color: var(--glut); }
.anfrage .knopf { justify-self: start; }
.fehler { color: #ffb08a; font-size: 15px; }
.danke { padding: 16px 18px; background: rgba(255,178,36,.12); box-shadow: inset 3px 0 0 var(--sonne); }
.klein { font-size: 13px; color: rgba(255,255,255,.5); }
@media (max-width: 900px) { .kontakt-raster { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .felder { grid-template-columns: 1fr; } .anfrage .knopf { justify-self: stretch; justify-content: center; } }

/* ---------- Fuß ---------- */
.fuss { background: var(--nacht); color: rgba(255,255,255,.65); padding: 34px 0 40px; font-size: 14px; }
.fuss-raster { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 40px; }
.fuss b { color: #fff; }
.fuss a { margin-right: 18px; }
.fuss a:hover { color: var(--sonne); }
.entwurf { flex-basis: 100%; font-family: var(--mono); font-size: 11.5px; color: rgba(255,255,255,.4); border-top: 1px solid var(--haar-d); padding-top: 16px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0s !important; }
  .held-foto .rahmen { transform: none; }
}

