/* e-voltair – Webseite
   Layout: helle, ruhige Fläche mit viel Weißraum, schwarze Typografie,
   Farbcodes je Bereich (Kühlen/Heizen/Laden) nur als gezielte Akzente */

@font-face { font-family: "Sora"; font-weight: 300; font-display: swap; src: url("../fonts/sora-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Sora"; font-weight: 400; font-display: swap; src: url("../fonts/sora-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Sora"; font-weight: 600; font-display: swap; src: url("../fonts/sora-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Sora"; font-weight: 700; font-display: swap; src: url("../fonts/sora-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Sora"; font-weight: 300; font-display: swap; src: url("../fonts/sora-latin-ext-300-normal.woff2") format("woff2"); unicode-range: U+0100-024F, U+0131, U+1E00-1EFF; }
@font-face { font-family: "Sora"; font-weight: 400; font-display: swap; src: url("../fonts/sora-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-024F, U+0131, U+1E00-1EFF; }
@font-face { font-family: "Sora"; font-weight: 600; font-display: swap; src: url("../fonts/sora-latin-ext-600-normal.woff2") format("woff2"); unicode-range: U+0100-024F, U+0131, U+1E00-1EFF; }
@font-face { font-family: "Sora"; font-weight: 700; font-display: swap; src: url("../fonts/sora-latin-ext-700-normal.woff2") format("woff2"); unicode-range: U+0100-024F, U+0131, U+1E00-1EFF; }

:root {
  color-scheme: light;
  --bg: #FFFFFF;
  --surface: #F6F7F8;
  --surface-2: #EEF0F2;
  --line: #E3E6EA;
  --fg: #111315;
  --muted: #5C6670;
  --on-dark: #FFFFFF;
  --btn-hover: #2A2E33;
  --glass: rgba(255, 255, 255, 0.9);
  --viewer-hi: #FFFFFF;

  /* Bereichsfarben: hell = Dekor, mittel = große Schrift/Icons, ink = kleiner Text */
  --kuehlen-hell: #33C3DD; --kuehlen: #1497AF; --kuehlen-ink: #0B7C92;
  --heizen-hell: #F2A341;  --heizen: #D27A12;  --heizen-ink: #A95E06;
  --laden-hell: #8FD694;   --laden: #3F9E4B;   --laden-ink: #2D7A38;

  --accent-hell: var(--kuehlen-hell);
  --accent: var(--kuehlen);
  --accent-ink: var(--kuehlen-ink);
  --danger: #B42318;

  --font: "Sora", "Segoe UI", system-ui, -apple-system, sans-serif;
  --step--1: 0.8125rem;
  --step-0: 1rem;
  --step-1: 1.2rem;
  --step-2: 1.5rem;
  --step-3: clamp(1.8rem, 1.2rem + 2.2vw, 3rem);
  --step-4: clamp(2.4rem, 1.2rem + 4.2vw, 5.4rem);
  --radius: 12px;
  --wrap: 1680px;
  --gutter: clamp(16px, 5.5vw, 112px);
  --shadow: 0 1px 2px rgba(17, 19, 21, 0.04), 0 8px 24px rgba(17, 19, 21, 0.06);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-weight: 300;
  font-size: var(--step-0);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: var(--fg); text-decoration-color: var(--line); text-underline-offset: 4px; }
a:hover { text-decoration-color: var(--fg); }
:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { font-weight: 600; line-height: 1.12; letter-spacing: -0.025em; text-wrap: balance; margin: 0; }
h1 { font-size: var(--step-4); letter-spacing: -0.035em; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); letter-spacing: -0.015em; }
p { margin: 0; max-width: 65ch; }
strong { font-weight: 600; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 120px); }
.section + .section { border-top: 1px solid var(--line); }
.section.tint { background: var(--surface); border-top: 0; }
.section.tint + .section { border-top: 0; }
.stack { display: flex; flex-direction: column; gap: 1.1rem; }
.lead { font-size: var(--step-1); color: var(--muted); max-width: 56ch; }
.muted { color: var(--muted); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: var(--step--1); font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: var(--accent-hell); }
.section-head { display: flex; flex-direction: column; gap: 1rem; margin-bottom: clamp(32px, 4.5vw, 56px); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--fg); color: var(--on-dark); padding: 8px 14px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 8px; }

.t-kuehlen { --accent-hell: var(--kuehlen-hell); --accent: var(--kuehlen); --accent-ink: var(--kuehlen-ink); }
.t-heizen { --accent-hell: var(--heizen-hell); --accent: var(--heizen); --accent-ink: var(--heizen-ink); }
.t-laden { --accent-hell: var(--laden-hell); --accent: var(--laden); --accent-ink: var(--laden-ink); }

/* Kopfzeile */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: rgba(255, 255, 255, 0.9); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 28px; width: auto; display: block; }
.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav a { color: var(--fg); text-decoration: none; font-weight: 400; font-size: 0.92rem; padding: 10px 12px; border-radius: 8px; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--surface); }
.nav .dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 8px; vertical-align: 1px; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line); color: var(--fg); border-radius: 10px; width: 44px; height: 44px; cursor: pointer; }
@media (max-width: 960px) {
  .nav-toggle { display: inline-grid; place-items: center; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 16px; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 12px; }
  .nav .header-cta { margin: 8px 0 0 !important; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 24px; border-radius: 999px; font: inherit; font-weight: 500; font-weight: 600; font-size: 0.95rem; text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: background .2s ease, border-color .2s ease, color .2s ease; }
.btn-primary { background: var(--fg); color: var(--on-dark); }
.btn-primary:hover { background: var(--btn-hover); color: var(--on-dark); }
.btn-ghost { background: var(--bg); color: var(--fg); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--fg); color: var(--fg); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn svg { width: 18px; height: 18px; }
.nav .header-cta { color: var(--on-dark); min-height: 42px; padding: 0 20px; margin-left: 10px; }
.nav .header-cta:hover { background: var(--btn-hover); }

/* Hero */
.hero { padding-block: clamp(48px, 7vw, 96px) clamp(56px, 8vw, 112px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-weight: 600; }
.hero h1 .w { display: block; }
.hero h1 .k { color: var(--kuehlen); }
.hero h1 .h { color: var(--heizen); }
.hero h1 .l { color: var(--laden); }
.hero .sub { font-size: var(--step-1); color: var(--muted); max-width: 44ch; }
.hero .sub strong { color: var(--fg); }
.hero-copy { display: flex; flex-direction: column; gap: 1.8rem; min-width: 0; }
.region { display: inline-flex; align-items: center; gap: 8px; font-size: var(--step--1); color: var(--muted); letter-spacing: 0.02em; }
.region svg { width: 16px; height: 16px; }
@media (max-width: 880px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } }

/* 3D / AR */
.viewer { position: relative; background: radial-gradient(circle at 50% 38%, var(--viewer-hi), var(--surface) 72%); border: 1px solid var(--line); border-radius: 24px; aspect-ratio: 5 / 4; max-width: 100%; overflow: hidden; }
.viewer model-viewer { width: 100%; height: 100%; --poster-color: transparent; --progress-bar-color: transparent; background: transparent; }
.viewer-bar { position: absolute; left: 16px; right: 16px; bottom: 16px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; }
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: 0.75rem; font-weight: 400; letter-spacing: 0.04em; padding: 6px 12px; border-radius: 999px; background: var(--glass); border: 1px solid var(--line); color: var(--muted); }
.ar-button { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 0; background: var(--fg); color: var(--on-dark); font: inherit; font-weight: 600; font-size: 0.9rem; cursor: pointer; }
.ar-button svg { width: 18px; height: 18px; }
.dims { position: absolute; top: 16px; left: 16px; font-size: 0.75rem; font-variant-numeric: tabular-nums; color: var(--muted); background: var(--glass); border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; line-height: 1.5; }
.dims b { color: var(--fg); font-weight: 600; }

/* Bereich-Karten */
.areas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.area { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 32px 28px 28px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--fg); transition: box-shadow .25s ease, border-color .25s ease; min-width: 0; }
.area::before { content: ""; position: absolute; left: 28px; right: 28px; top: -1px; height: 3px; border-radius: 0 0 3px 3px; background: var(--accent-hell); }
a.area:hover { box-shadow: var(--shadow); border-color: transparent; color: var(--fg); }
.area .icon { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--accent-hell) 16%, var(--bg)); color: var(--accent); }
.area .icon svg { width: 22px; height: 22px; }
.area h3 { font-size: var(--step-2); }
.area .verb { color: var(--accent); }
.area p { color: var(--muted); }
.area ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; }
.area li { display: flex; gap: 10px; font-size: 0.94rem; color: var(--muted); }
.area li::before { content: ""; flex: none; width: 5px; height: 5px; margin-top: 0.7em; border-radius: 50%; background: var(--accent-hell); }
.area .more { margin-top: auto; padding-top: 8px; font-weight: 600; color: var(--accent-ink); font-size: 0.92rem; }
.areas.plain .area::before { display: none; }
@media (max-width: 880px) { .areas { grid-template-columns: minmax(0, 1fr); } }

/* Zusammenspiel */
.system { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (max-width: 880px) { .system { grid-template-columns: minmax(0, 1fr); } }
.flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; background: var(--bg); border: 1px solid var(--line); border-radius: 20px; padding: 24px; box-shadow: var(--shadow); }
.flow .node { background: var(--surface); border-radius: 10px; padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.flow .node b { font-weight: 600; font-size: 0.92rem; }
.flow .node span { font-size: 0.8rem; color: var(--muted); line-height: 1.5; }
.flow .src { grid-column: 1 / -1; background: color-mix(in srgb, var(--laden-hell) 14%, var(--bg)); }
.flow .src b { color: var(--laden-ink); }
.flow .arrows { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); text-align: center; color: var(--muted); font-size: 1rem; line-height: 1; }
.flow .n-k { box-shadow: inset 0 3px 0 var(--kuehlen-hell); }
.flow .n-h { box-shadow: inset 0 3px 0 var(--heizen-hell); }
.flow .n-l { box-shadow: inset 0 3px 0 var(--laden-hell); }
.flow .foot { grid-column: 1 / -1; font-size: 0.8rem; color: var(--muted); padding-top: 6px; }
@media (max-width: 520px) { .flow { grid-template-columns: minmax(0, 1fr); } .flow .arrows { display: none; } }

/* Ablauf */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(24px, 4vw, 48px); row-gap: 40px; counter-reset: s; }
.steps li { padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; counter-increment: s; min-width: 0; }
.steps li::before { content: counter(s, decimal-leading-zero); font-weight: 600; font-size: 0.8rem; color: var(--muted); font-variant-numeric: tabular-nums; letter-spacing: 0.1em; }
.steps h3 { font-size: 1.05rem; }
.steps p { color: var(--muted); font-size: 0.94rem; }
.steps.single { grid-template-columns: minmax(0, 1fr); row-gap: 24px; }
@media (max-width: 880px) { .steps { grid-template-columns: minmax(0, 1fr); row-gap: 24px; } }

/* Split-Sektionen */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 880px) { .split { grid-template-columns: minmax(0, 1fr); } }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { font-size: 0.85rem; padding: 7px 14px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); }
.list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.list li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.list li:first-child { padding-top: 0; }
.list li:last-child { border-bottom: 0; padding-bottom: 0; }
.list svg { width: 18px; height: 18px; color: var(--accent); margin-top: 4px; }
.list b { font-weight: 600; display: block; }
.list span { color: var(--muted); font-size: 0.94rem; }

.panel { background: var(--bg); border: 1px solid var(--line); border-radius: 20px; padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: 1.2rem; min-width: 0; }

/* Wartungspakete */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.plan { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.plan.featured { border-color: var(--fg); box-shadow: var(--shadow); }
.plan .price { font-size: var(--step-2); font-weight: 600; font-variant-numeric: tabular-nums; }
.plan .price small { font-size: 0.85rem; font-weight: 300; color: var(--muted); }
.plan ul { margin: 0; padding-left: 1.1rem; color: var(--muted); display: flex; flex-direction: column; gap: 6px; font-size: 0.94rem; }
.plan .btn { margin-top: auto; }
@media (max-width: 880px) { .plans { grid-template-columns: minmax(0, 1fr); } }

/* Seitenkopf Unterseiten */
.page-hero { padding-block: clamp(56px, 8vw, 104px) clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--line); }
.page-hero .wrap { display: flex; flex-direction: column; gap: 1.3rem; }
.page-hero h1 { max-width: 18ch; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.fact { padding-top: 20px; border-top: 2px solid var(--accent-hell); display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.fact .v { font-size: var(--step-2); font-weight: 600; color: var(--accent); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.fact .t { color: var(--muted); font-size: 0.94rem; }
@media (max-width: 880px) { .facts { grid-template-columns: minmax(0, 1fr); } }

/* CTA-Band */
.cta-band { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; justify-content: space-between; padding: clamp(28px, 4.5vw, 56px); border-radius: 24px; background: var(--surface); }
.cta-band .stack { min-width: 0; flex: 1 1 320px; }

/* Formulare */
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label, .legend { font-weight: 600; font-size: 0.9rem; }
.field .hint { font-size: 0.8rem; color: var(--muted); }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], select, textarea {
  width: 100%; min-height: 48px; font: inherit; font-weight: 400; color: var(--fg); background: var(--bg); border: 1px solid #D5D9DE; border-radius: 10px; padding: 10px 14px;
}
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--fg); outline-offset: 1px; border-color: transparent; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 640px) { .grid-2 { grid-template-columns: minmax(0, 1fr); } }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 0.88rem; color: var(--muted); }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--fg); flex: none; }
.form-msg { padding: 14px 16px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); font-size: 0.94rem; }
.form-msg.error { border-color: var(--danger); color: var(--danger); }
.form-msg.error b, .form-msg.error textarea { color: var(--fg); }
.form-msg.ok { border-color: var(--laden); }

/* Rechtstexte */
.legal { display: flex; flex-direction: column; gap: 1.6rem; max-width: 760px; }
.legal h2 { font-size: var(--step-1); margin-top: 0.6rem; }
.legal p, .legal li { color: var(--muted); }
.legal .ph { color: var(--heizen-ink); font-weight: 600; }
.note { padding: 16px 18px; border-radius: 12px; border: 1px dashed var(--heizen); background: color-mix(in srgb, var(--heizen-hell) 10%, var(--bg)); font-size: 0.94rem; }

/* Fußzeile */
.site-footer { border-top: 1px solid var(--line); padding-block: 56px 36px; background: var(--surface); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.footer-grid h4 { font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 14px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 0.94rem; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { text-decoration: underline; }
.footer-claim { font-size: 0.92rem; color: var(--muted); }
.footer-claim b { color: var(--fg); font-weight: 600; }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font-size: 0.82rem; color: var(--muted); }
.footer-bottom a { color: var(--muted); }
@media (max-width: 880px) { .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }

/* Konfigurator */
.cfg { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; align-items: start; }
@media (max-width: 960px) { .cfg { grid-template-columns: minmax(0, 1fr); } }
.cfg-main { background: var(--bg); border: 1px solid var(--line); border-radius: 20px; padding: clamp(22px, 3.5vw, 44px); display: flex; flex-direction: column; gap: 24px; min-width: 0; box-shadow: var(--shadow); scroll-margin-top: 96px; }
.progress { display: flex; gap: 6px; }
.progress span { flex: 1; height: 3px; border-radius: 3px; background: var(--line); }
.progress span.done { background: var(--fg); }
.step-label { font-size: var(--step--1); color: var(--muted); font-variant-numeric: tabular-nums; letter-spacing: 0.02em; }
#cfg-step { display: flex; flex-direction: column; gap: 28px; }
#cfg-step h2 { font-size: var(--step-2); }
.q { display: flex; flex-direction: column; gap: 12px; border: 0; padding: 0; margin: 0; min-width: 0; }
.q legend { font-weight: 600; font-size: 1rem; margin-bottom: 12px; padding: 0; }
.options { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.opt label { display: flex; flex-direction: column; gap: 4px; min-height: 64px; padding: 14px 16px; border-radius: 12px; border: 1px solid #D5D9DE; background: var(--bg); cursor: pointer; height: 100%; transition: border-color .15s ease, background .15s ease; }
.opt label b { font-weight: 600; font-size: 0.94rem; }
.opt label span { font-size: 0.8rem; color: var(--muted); }
.opt input:hover + label { border-color: var(--muted); }
.opt input:checked + label { border-color: var(--fg); box-shadow: inset 0 0 0 1px var(--fg); background: var(--bg); }
.opt.k input:checked + label { background: color-mix(in srgb, var(--kuehlen-hell) 10%, var(--bg)); }
.opt.h input:checked + label { background: color-mix(in srgb, var(--heizen-hell) 12%, var(--bg)); }
.opt.l input:checked + label { background: color-mix(in srgb, var(--laden-hell) 14%, var(--bg)); }
.opt input:focus-visible + label { outline: 2px solid var(--fg); outline-offset: 2px; }
.cfg-nav { display: flex; gap: 12px; justify-content: space-between; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 22px; }
.cfg-side { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 96px); display: flex; flex-direction: column; gap: 14px; }
.estimate { background: var(--surface); border-radius: 16px; padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.estimate h3 { font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.est-row { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.est-row:last-of-type { border-bottom: 0; padding-bottom: 0; }
.est-row span { color: var(--muted); font-size: 0.88rem; }
.est-row b { font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; }
.est-row.k b { color: var(--kuehlen-ink); } .est-row.h b { color: var(--heizen-ink); } .est-row.l b { color: var(--laden-ink); }
.est-empty { color: var(--muted); font-size: 0.88rem; }
.est-note { font-size: 0.76rem; color: var(--muted); }
.drop { border: 1.5px dashed #CDD2D8; border-radius: 14px; padding: 24px; text-align: center; display: flex; flex-direction: column; gap: 8px; align-items: center; background: var(--surface); position: relative; font-size: 0.85rem; color: var(--muted); }
.drop.over { border-color: var(--fg); }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.photo-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 560px) { .photo-slots { grid-template-columns: minmax(0, 1fr); } }
.slot { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.slot .drop { aspect-ratio: 4 / 3; max-width: 100%; justify-content: center; padding: 12px; overflow: hidden; }
.slot .drop img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slot .drop svg { width: 26px; height: 26px; color: var(--muted); }
.slot b { font-size: 0.88rem; font-weight: 600; }
.slot span { font-size: 0.8rem; color: var(--muted); }
.result-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.result { border-radius: 14px; padding: 18px; background: var(--surface); box-shadow: inset 0 3px 0 var(--accent-hell); display: flex; flex-direction: column; gap: 4px; }
.result .v { font-size: var(--step-2); font-weight: 600; font-variant-numeric: tabular-nums; color: var(--accent); }
.result.k { --accent-hell: var(--kuehlen-hell); --accent: var(--kuehlen); }
.result.h { --accent-hell: var(--heizen-hell); --accent: var(--heizen); }
.result.l { --accent-hell: var(--laden-hell); --accent: var(--laden); }
.result span { color: var(--muted); font-size: 0.86rem; }

/* Bildflächen */
.photo { position: relative; margin: 0; width: 100%; max-width: 100%; border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.photo::before { content: attr(data-label); position: absolute; inset: 0; display: grid; place-items: center; padding: 16px; text-align: center; font-size: 0.8rem; color: var(--muted); background-image: repeating-linear-gradient(135deg, transparent 0 14px, rgba(17,19,21,0.025) 14px 15px); }
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.area .photo { border-radius: 8px; }
.page-hero .wrap.with-photo { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.page-hero .with-photo > .stack { gap: 1.3rem; }
@media (max-width: 880px) { .page-hero .wrap.with-photo { grid-template-columns: minmax(0, 1fr); } }
.t-pv { --accent-hell: var(--heizen-hell); --accent: var(--heizen); --accent-ink: var(--heizen-ink); }
.t-klima { --accent-hell: var(--kuehlen-hell); --accent: var(--kuehlen); --accent-ink: var(--kuehlen-ink); }
.t-wallbox { --accent-hell: var(--laden-hell); --accent: var(--laden); --accent-ink: var(--laden-ink); }
.flow .src { background: color-mix(in srgb, var(--heizen-hell) 14%, var(--bg)); }
.flow .src b { color: var(--heizen-ink); }
.flow .n-x { box-shadow: inset 0 3px 0 var(--line); }

/* Dunkle Flächen: Graphit mit diagonalen Lichtstreifen */
.dark {
  --bg: #232226;
  --surface: #2D2C31;
  --surface-2: #36353A;
  --line: rgba(255, 255, 255, 0.10);
  --fg: #F4F4F5;
  --muted: #A1A1AA;
  --on-dark: #111315;
  --btn-hover: #E4E4E7;
  --glass: rgba(35, 34, 38, 0.8);
  --viewer-hi: #3A393F;
  --kuehlen: var(--kuehlen-hell); --kuehlen-ink: var(--kuehlen-hell);
  --heizen: var(--heizen-hell);   --heizen-ink: var(--heizen-hell);
  --laden: var(--laden-hell);     --laden-ink: var(--laden-hell);
  --accent: var(--accent-hell); --accent-ink: var(--accent-hell);
  color-scheme: dark;
  color: var(--fg);
  background:
    linear-gradient(118deg, transparent 0 46%, rgba(255,255,255,0.045) 52%, transparent 60%),
    linear-gradient(118deg, transparent 0 62%, rgba(255,255,255,0.06) 68%, transparent 74%),
    linear-gradient(118deg, transparent 0 76%, rgba(255,255,255,0.09) 83%, transparent 91%),
    linear-gradient(118deg, transparent 0 88%, rgba(255,255,255,0.05) 93%, transparent 99%),
    radial-gradient(ellipse 70% 90% at 18% 45%, #1A191D, transparent 70%),
    #2A292D;
  border-top: 0 !important;
}
.dark + .section { border-top: 0; }
.dark .viewer { border-color: rgba(255,255,255,0.08); }
.dark .btn-ghost { background: transparent; }
.dark .flow, .dark .panel { background: rgba(255,255,255,0.03); box-shadow: none; }
.dark .flow .node { background: rgba(255,255,255,0.05); }
.dark .photo { background: rgba(255,255,255,0.05); }
.dark .photo::before { background-image: repeating-linear-gradient(135deg, transparent 0 14px, rgba(255,255,255,0.03) 14px 15px); }

/* Hero im Stil: weiße Kernaussage, graue Ergänzung */
.hero.dark { padding-block: clamp(64px, 9vw, 128px); }
.hero.dark .sub { font-size: clamp(1.15rem, 0.95rem + 0.9vw, 1.6rem); line-height: 1.35; letter-spacing: -0.02em; color: var(--muted); max-width: 30ch; }
.hero.dark .sub strong { color: var(--fg); font-weight: 600; }
.page-hero.dark { border-bottom: 0; }

/* CTA-Band dunkel */
.cta-band.dark { border-radius: 24px; }

/* Fußzeile dunkel */
.site-footer.dark { background: #1C1B1F; border-top: 0; }
.site-footer.dark .footer-bottom a { color: var(--muted); }
