/* Dachstrom – Art Direction „Mittagslicht" */

:root {
  --paper: #FBFAF6;       /* Tageslicht-Weiss */
  --paper-2: #F2F0EA;     /* etwas tiefer, für Flächen */
  --paper-3: #E8E5DC;
  --ink: #1C2127;         /* Modul-Anthrazit */
  --ink-2: #262D35;
  --ink-soft: #545B63;
  --ink-mute: #7A8088;
  --line: #DAD7CE;
  --line-dark: rgba(251, 250, 246, .16);
  --sun: #FFC72C;         /* Sonnengelb */
  --sun-hover: #FFB700;
  --sun-deep: #E3A300;
  --tile: #B5543C;        /* Ziegelrot, selten */
  --tile-text: #A2462F;

  --f-display: "Red Hat Display", "Segoe UI", system-ui, sans-serif;
  --f-text: "Red Hat Text", "Segoe UI", system-ui, sans-serif;

  --header-h: 76px;
  --gutter: clamp(20px, 4vw, 56px);
  --max: 1320px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-text);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
button, input, select { font: inherit; color: inherit; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-display); margin: 0; font-weight: 800; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
[hidden] { display: none !important; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 3px; }
.skip:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 2px; }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }

h2 {
  font-size: clamp(2.1rem, 3.9vw, 3.6rem);
  line-height: 1.02;
  letter-spacing: -0.032em;
  font-weight: 800;
  text-wrap: balance;
}
h3 {
  font-size: clamp(1.45rem, 2.1vw, 2rem);
  line-height: 1.1;
  letter-spacing: -0.022em;
  font-weight: 800;
  text-wrap: balance;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 26px;
  font-family: var(--f-display); font-weight: 700; font-size: 1.02rem; letter-spacing: -0.005em;
  text-decoration: none; border: 0; border-radius: 3px; cursor: pointer;
  transition: background-color .2s ease, transform .2s var(--ease), box-shadow .2s ease;
}
.btn-sun { background: var(--sun); color: var(--ink); box-shadow: inset 0 -3px 0 rgba(28, 33, 39, .14); }
.btn-sun:hover { background: var(--sun-hover); }
.btn-sun:active { transform: translateY(1px); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: #2E3640; }
.btn-small { min-height: 42px; padding: 0 16px; font-size: .95rem; }
.btn-link {
  font-family: var(--f-display); font-weight: 700; text-decoration: underline;
  text-decoration-thickness: 2px; text-underline-offset: 6px; text-decoration-color: var(--sun-deep);
  transition: text-decoration-color .2s ease;
}
.btn-link:hover { text-decoration-color: var(--ink); }
.btn-back {
  background: none; border: 0; padding: 12px 4px; cursor: pointer;
  font-family: var(--f-display); font-weight: 700; color: var(--ink-soft);
  text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1.5px;
}
.btn-back:hover { color: var(--ink); }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  transition: background-color .3s ease, box-shadow .3s ease;
}
.site-header.is-solid { background: var(--paper); box-shadow: 0 1px 0 var(--line); }
.site-header:has(#nav-list.open) { background: var(--paper); transition: none; }
.header-inner {
  height: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter);
  display: flex; align-items: center; gap: 32px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--f-display); font-weight: 900; font-size: 1.32rem; letter-spacing: -0.03em; }
.brand-mark { width: 30px; height: 30px; color: var(--ink); }
.brand-sun { fill: var(--sun); }
.brand-light, .brand-light .brand-mark { color: var(--paper); }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: 4px; }
.nav a { display: block; padding: 10px 12px; text-decoration: none; font-weight: 500; font-size: .98rem; border-radius: 3px; }
.nav a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; text-decoration-color: var(--sun-deep); }
.nav-toggle { display: none; }
.show-s { display: none; }

/* 1 Hero */
.hero {
  position: relative;
  min-height: clamp(680px, 100svh, 960px);
  display: flex; align-items: stretch;
  overflow: hidden;
}
.hero-media { position: absolute; top: 0; right: 0; bottom: 0; width: 62%; background: #C9DAEA; }
.hero-media picture, .hero-media img { width: 100%; height: 100%; }
.hero-media img { object-fit: cover; object-position: 58% 100%; }
.hero-arc { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.arc-day { fill: none; stroke: rgba(28, 33, 39, .38); stroke-width: 1.4; stroke-dasharray: 2 7; stroke-linecap: round; }
.arc-done { fill: none; stroke: var(--sun); stroke-width: 3; stroke-linecap: round; }
.sun-core { fill: var(--sun); }
.sun-halo { fill: var(--sun); opacity: .28; }
.arc-sun { transition: opacity .6s ease; }
.hero-sunlabel {
  position: absolute; left: 0; top: 0; z-index: 3;
  display: grid; gap: 1px; max-width: 250px;
  font-size: .82rem; line-height: 1.35; color: var(--ink);
  padding-left: 12px; border-left: 2px solid var(--sun);
  transform: translate(-9999px, 0);
}
.hero-sunlabel .sl-a { color: var(--ink-soft); }
.hero-sunlabel .sl-b { font-family: var(--f-display); font-weight: 700; font-size: .95rem; }

.hero-copy {
  position: relative; z-index: 2;
  width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto;
  padding: calc(var(--header-h) + clamp(40px, 9vh, 110px)) var(--gutter) clamp(40px, 7vh, 80px);
  display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
}
.hero h1 {
  font-weight: 900;
  font-size: clamp(3.4rem, 8.1vw, 8.2rem);
  line-height: .9;
  letter-spacing: -0.052em;
  display: flex; flex-direction: column;
}
.hero h1 span { display: block; white-space: nowrap; }
.hero h1 .l2 { font-variant-numeric: tabular-nums; }
.hero-foot { max-width: 400px; display: grid; gap: 26px; }
.hero-lead { font-size: 1.14rem; line-height: 1.5; color: var(--ink); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.hero-basis { font-size: .84rem; color: var(--ink-soft); text-wrap: balance; }

/* 2 Rechner */
.calc { padding-block: clamp(84px, 11vw, 150px) clamp(64px, 8vw, 110px); background: var(--paper); position: relative; }
.calc-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 40px; align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.calc-head p { color: var(--ink-soft); max-width: 36ch; justify-self: end; }
.calc-body {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 0;
  border-top: 2px solid var(--ink);
}
.calc-inputs { padding: 34px clamp(24px, 3vw, 48px) 34px 0; display: grid; gap: 30px; align-content: start; }
.ctrl { border: 0; margin: 0; padding: 0; min-width: 0; }
.ctrl-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.ctrl label, .ctrl legend, .ctrl-label { font-weight: 500; font-size: 1rem; }
.ctrl legend { padding: 0; margin-bottom: 12px; }
.ctrl-val { font-family: var(--f-display); font-size: 1.05rem; font-weight: 700; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.ctrl-val b { font-size: 2rem; font-weight: 900; color: var(--ink); letter-spacing: -0.03em; }
.ctrl-val-block { display: block; margin: -4px 0 8px; }
.ctrl-scale { display: flex; justify-content: space-between; font-size: .8rem; color: var(--ink-mute); margin-top: 6px; }
.ctrl-hint { font-size: .86rem; color: var(--ink-soft); margin-top: 8px; }

/* Regler */
input[type="range"] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 34px; background: transparent; cursor: pointer; margin: 0;
  --p: 16%;
}
input[type="range"]::-webkit-slider-runnable-track {
  height: 6px; border-radius: 3px;
  background: linear-gradient(to right, var(--sun) 0 var(--p), var(--paper-3) var(--p) 100%);
}
input[type="range"]::-moz-range-track { height: 6px; border-radius: 3px; background: var(--paper-3); }
input[type="range"]::-moz-range-progress { height: 6px; border-radius: 3px; background: var(--sun); }
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 28px; height: 28px; margin-top: -11px; border-radius: 50%;
  background: var(--ink); border: 5px solid var(--paper); box-shadow: 0 0 0 1.5px var(--ink);
  transition: transform .15s ease;
}
input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--ink); border: 5px solid var(--paper); box-shadow: 0 0 0 1.5px var(--ink); }
input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.12); }
input[type="range"]:focus-visible { outline: none; }
input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 1.5px var(--ink), 0 0 0 7px rgba(255, 199, 44, .6); }
input[type="range"]:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 1.5px var(--ink), 0 0 0 7px rgba(255, 199, 44, .6); }

/* Segment-Auswahl */
.seg { display: grid; grid-template-columns: repeat(3, 1fr); border: 1.5px solid var(--ink); border-radius: 3px; overflow: hidden; }
.seg input, .unit-switch input, .day-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.seg label { text-align: center; padding: 12px 8px; cursor: pointer; font-family: var(--f-display); font-weight: 700; font-size: .98rem; transition: background-color .2s ease, color .2s ease; }
.seg label + input + label { border-left: 1.5px solid var(--ink); }
.seg input:checked + label { background: var(--ink); color: var(--paper); }
.seg label:hover { background: var(--paper-2); }
.seg input:checked + label:hover { background: var(--ink); }
.seg input:focus-visible + label, .unit-switch input:focus-visible + label, .day-toggle input:focus-visible + label { outline: 3px solid var(--sun-deep); outline-offset: -3px; }

.unit-switch { display: inline-flex; gap: 2px; background: var(--paper-2); border-radius: 3px; padding: 3px; }
.unit-switch label { padding: 4px 10px; font-size: .84rem; font-weight: 500; border-radius: 2px; cursor: pointer; color: var(--ink-soft); }
.unit-switch input:checked + label { background: var(--paper); color: var(--ink); box-shadow: 0 0 0 1px var(--line); }

/* Schalter */
.ctrl-switches { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.switch { position: relative; display: flex; align-items: flex-start; gap: 12px; cursor: pointer; padding-top: 4px; }
.switch input { position: absolute; opacity: 0; width: 46px; height: 26px; margin: 0; cursor: pointer; }
.switch-ui { flex: none; width: 46px; height: 26px; border-radius: 13px; background: var(--paper-3); position: relative; transition: background-color .25s ease; box-shadow: inset 0 0 0 1.5px rgba(28, 33, 39, .25); }
.switch-ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--paper); box-shadow: 0 0 0 1.5px var(--ink); transition: transform .25s var(--ease), background-color .25s ease; }
.switch input:checked + .switch-ui { background: var(--sun); box-shadow: inset 0 0 0 1.5px var(--ink); }
.switch input:checked + .switch-ui::after { transform: translateX(20px); background: var(--ink); }
.switch input:focus-visible + .switch-ui { outline: 3px solid var(--ink); outline-offset: 3px; }
.switch-text { font-weight: 500; line-height: 1.3; }
.switch-text small { display: block; font-weight: 400; font-size: .84rem; color: var(--ink-soft); margin-top: 2px; }

/* Szene */
.calc-scene { background: #EFEDE6; border-left: 1px solid var(--line); display: flex; flex-direction: column; }
.calc-scene svg { width: 100%; height: auto; display: block; }
.calc-scene figcaption { font-size: .84rem; color: var(--ink-soft); padding: 12px 20px 16px; border-top: 1px solid var(--line); margin-top: auto; background: var(--paper-2); }
.sc-compass, .sc-compass text { font-family: var(--f-text); fill: var(--ink-soft); font-weight: 500; font-size: 13px; }
.sc-face { fill: var(--ink); }
.yield-row { margin-top: auto; padding: 14px 20px 18px; display: grid; gap: 10px; }
.yr-label { font-size: .8rem; color: var(--ink-soft); }
.yr-items { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.yr { display: grid; gap: 6px; font-size: .84rem; color: var(--ink-mute); line-height: 1.2; transition: color .3s ease; }
.yr i { display: block; height: 5px; width: calc(var(--v) * 100%); background: #DCD8CD; border-radius: 1px; transition: background-color .3s ease; }
.yr b { font-family: var(--f-display); font-weight: 800; font-size: 1rem; margin-right: 4px; }
.yr.is-active { color: var(--ink); }
.yr.is-active i { background: var(--sun); }
.calc-scene .yield-row + figcaption { margin-top: 0; }
.sc-arc-ref { fill: none; stroke: rgba(28, 33, 39, .3); stroke-width: 1.2; stroke-dasharray: 2 6; stroke-linecap: round; }
.sc-arc { fill: none; stroke: var(--sun); stroke-width: 5; stroke-linecap: round; }
.house { transition: opacity .45s ease; }
.win { fill: #3B4652; }
.slot { fill: url(#modG); stroke: #0F1317; stroke-width: .8; opacity: 0; transform-box: fill-box; transform-origin: 50% 100%; transform: scale(.6); transition: opacity .28s ease, transform .38s var(--ease); }
.slot.on { opacity: 1; transform: scale(1); }
.sc-dim line { stroke: var(--ink); stroke-width: 1.3; }
.sc-dim text { font-family: var(--f-display); font-weight: 700; font-size: 15px; fill: var(--ink); }
.sc-callout polyline { stroke: var(--ink); stroke-width: 1.3; }
.sc-callout circle { fill: var(--ink); }
.sc-callout .co-a { font-family: var(--f-text); font-weight: 500; font-size: 14px; fill: var(--ink-soft); }
.sc-callout .co-b { font-family: var(--f-display); font-weight: 900; font-size: 22px; fill: var(--ink); letter-spacing: -0.02em; }

/* Ergebnis */
.result {
  background: var(--ink); color: var(--paper);
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  border-radius: 0 0 4px 4px;
}
.result-key { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding: clamp(28px, 3vw, 44px); border-right: 1px solid var(--line-dark); }
.rk { display: grid; align-content: start; gap: 6px; }
.rk-label { font-size: .92rem; color: rgba(251, 250, 246, .72); }
.rk-val { font-family: var(--f-display); color: var(--sun); line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.rk-val b { font-weight: 900; font-size: clamp(2.8rem, 4.6vw, 4.4rem); letter-spacing: -0.045em; }
.rk-val small { font-weight: 700; font-size: 1.05rem; letter-spacing: 0; color: rgba(255, 199, 44, .85); }
.rk-note { font-size: .8rem; color: rgba(251, 250, 246, .58); line-height: 1.4; max-width: 22ch; }
.result-grid { margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.result-grid > div { padding: clamp(28px, 3vw, 44px) 20px 24px; border-right: 1px solid var(--line-dark); display: grid; align-content: start; gap: 4px; }
.result-grid > div:last-child { border-right: 0; }
.result-grid dt { font-size: .86rem; color: rgba(251, 250, 246, .72); line-height: 1.3; min-height: 2.6em; }
.result-grid dd { margin: 0; }
.rg-val { font-family: var(--f-display); font-weight: 700; font-size: 1rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.rg-val b { font-weight: 900; font-size: clamp(1.6rem, 2.1vw, 2.05rem); letter-spacing: -0.03em; }
.rg-sub { font-size: .8rem; color: rgba(251, 250, 246, .58); line-height: 1.35; }
.result-foot {
  grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  padding: 20px clamp(28px, 3vw, 44px); border-top: 1px solid var(--line-dark);
}
.result-disclaimer { font-weight: 500; color: rgba(251, 250, 246, .85); }
.calc-dock { display: none; transition: transform .35s var(--ease), opacity .3s ease; }
.calc-dock.is-hidden { transform: translateY(110%); opacity: 0; pointer-events: none; }

.assumptions { margin-top: 18px; max-width: 760px; }
.assumptions summary { cursor: pointer; font-family: var(--f-display); font-weight: 700; display: inline-flex; align-items: center; gap: 10px; padding: 8px 0; list-style: none; }
.assumptions summary::-webkit-details-marker { display: none; }
.assumptions summary::before { content: ""; width: 10px; height: 10px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(-45deg); transition: transform .2s ease; margin-right: 2px; }
.assumptions[open] summary::before { transform: rotate(45deg); }
.assumptions-body ul { display: grid; gap: 6px; padding: 8px 0 0 22px; font-size: .92rem; color: var(--ink-soft); }
.assumptions-body li { position: relative; }
.assumptions-body li::before { content: ""; position: absolute; left: -18px; top: .7em; width: 8px; height: 1.5px; background: var(--sun-deep); }

/* 3 Ablauf */
.flow { background: var(--paper-2); padding-top: clamp(84px, 11vw, 150px); }
.flow-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 40px; align-items: end; margin-bottom: clamp(56px, 7vw, 100px); }
.flow-head p { color: var(--ink-soft); max-width: 34ch; justify-self: end; }
.step-no { display: flex; align-items: center; gap: 12px; font-weight: 500; font-size: .95rem; color: var(--ink-soft); margin-bottom: 18px; }
.step-no span {
  display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--sun); color: var(--ink); font-family: var(--f-display); font-weight: 900; font-size: 1rem;
}
.step-text h3 { margin-bottom: 16px; }
.step-text p + p { margin-top: 14px; }
.step-text > p:not(.step-no):not(.step-fact) { color: var(--ink-soft); max-width: 44ch; }
.step-fact { font-family: var(--f-display); font-weight: 700; padding-top: 14px; border-top: 1.5px solid var(--ink); display: inline-block; margin-top: 22px !important; }

.step { position: relative; }
.step-1 { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(28px, 5vw, 80px); align-items: end; }
.step-1 .step-img { margin-left: calc(-1 * max(var(--gutter), (100vw - var(--max)) / 2)); }
.step-1 .step-img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: 50% 45%; }
.step-1 .step-text { padding-bottom: 8px; }

.step-2 { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: center; margin-top: clamp(90px, 11vw, 160px); }
.big-num { display: block; font-size: clamp(6rem, 13vw, 11.5rem); line-height: .78; letter-spacing: -0.06em; font-weight: 900; margin-bottom: 18px; }
.plan { background: var(--paper); padding: clamp(16px, 2.4vw, 32px); border: 1px solid var(--line); }
.plan svg { width: 100%; height: auto; display: block; }
.plan-grid path { stroke: rgba(28, 33, 39, .06); stroke-width: 1; }
.plan-roof { fill: #F6F4EE; stroke: var(--ink); stroke-width: 1.6; }
.plan-ridge { stroke: var(--ink); stroke-width: 4; }
.plan-mods rect { fill: var(--ink); stroke: var(--paper); stroke-width: 1; }
.plan-keepout { stroke: var(--tile); stroke-width: 1; stroke-dasharray: 3 3; }
.plan-chimney { fill: var(--paper); stroke: var(--ink); stroke-width: 1.4; }
.plan-dim path { stroke: var(--ink); stroke-width: 1.1; fill: none; }
.plan-label { font-family: var(--f-display); font-weight: 700; font-size: 14px; fill: var(--ink); }
.plan-small { font-family: var(--f-text); font-size: 11px; fill: var(--ink-soft); }
.plan-red { fill: var(--tile-text); font-weight: 500; }

.step-3 { margin-top: clamp(90px, 11vw, 170px); display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.step3-media { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 3fr); gap: 16px; align-items: end; }
.step3-main img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; object-position: 35% 22%; }
.step3-side { margin-bottom: -64px; }
.step3-side img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: 48% 50%; }
.step3-text { padding-top: clamp(0px, 4vw, 60px); }
.days { display: grid; gap: 0; margin-top: 8px; border-top: 1px solid var(--line); }
.days li { display: grid; grid-template-columns: 64px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--ink-soft); }
.days b { font-family: var(--f-display); font-weight: 900; color: var(--ink); }

.step-4 { margin-top: clamp(120px, 14vw, 200px); padding-bottom: clamp(80px, 10vw, 140px); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: auto 1fr; column-gap: clamp(28px, 5vw, 80px); align-items: start; }
.step-4 .step-no { grid-column: 1; }
.step-4 h3 { grid-column: 1; font-size: clamp(1.8rem, 2.8vw, 2.6rem); }
.step-4 .paper { grid-column: 2; grid-row: 1 / span 2; border-top: 2px solid var(--ink); }
.paper li { display: grid; grid-template-columns: minmax(120px, 3fr) 7fr; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.paper b { font-family: var(--f-display); font-weight: 800; font-size: 1.25rem; letter-spacing: -0.015em; }
.paper span { color: var(--ink-soft); }

.step-5 { position: relative; color: var(--paper); }
.band { position: relative; height: clamp(520px, 80vh, 780px); overflow: hidden; }
.band img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 6%; }
.band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14, 44, 82, .5) 0%, rgba(14, 44, 82, .22) 42%, rgba(14, 44, 82, 0) 64%); }
.band-copy { position: absolute; inset: 0 0 auto 0; padding-top: clamp(48px, 6vw, 80px); z-index: 2; }
.band-copy h3 { font-size: clamp(2.4rem, 5vw, 4.8rem); line-height: .95; letter-spacing: -0.045em; font-weight: 900; max-width: 12ch; }
.band-copy p:not(.step-no) { max-width: 40ch; margin-top: 18px; font-size: 1.1rem; text-shadow: 0 1px 12px rgba(10, 40, 80, .35); }
.step-no-light { color: rgba(251, 250, 246, .92); }

/* 4 Speicher */
.store { background: var(--paper); }
.store-hero { position: relative; height: clamp(560px, 88vh, 860px); overflow: hidden; background: #E9E7EA; }
.store-hero img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 24%; }
.store-hero-copy { position: absolute; inset: 0 0 auto 0; padding-top: clamp(72px, 8vw, 116px); }
.store-hero-copy h2 { font-size: clamp(2.6rem, 6vw, 5.8rem); line-height: .95; letter-spacing: -0.048em; font-weight: 900; max-width: 11ch; }
.store-hero-copy p { max-width: 40ch; margin-top: 22px; font-size: 1.12rem; color: var(--ink); }

.store-body { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); padding-block: clamp(64px, 8vw, 120px) clamp(84px, 10vw, 150px); align-items: start; }
.day-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; padding-bottom: 16px; border-bottom: 2px solid var(--ink); }
.day-head figcaption { display: grid; gap: 2px; }
.day-head figcaption b { font-family: var(--f-display); font-weight: 800; font-size: 1.35rem; letter-spacing: -0.02em; }
.day-head figcaption span { font-size: .9rem; color: var(--ink-soft); }
.day-toggle { display: inline-flex; border: 1.5px solid var(--ink); border-radius: 3px; overflow: hidden; }
.day-toggle label { padding: 8px 14px; font-family: var(--f-display); font-weight: 700; font-size: .92rem; cursor: pointer; }
.day-toggle input:checked + label { background: var(--ink); color: var(--paper); }
.day-legend { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 16px; font-size: .86rem; color: var(--ink-soft); }
.day-legend li { display: inline-flex; align-items: center; gap: 8px; }
.day-legend i { width: 14px; height: 14px; display: inline-block; box-shadow: inset 0 0 0 1px rgba(28, 33, 39, .22); }
.lg-direct { background: var(--sun); }
.lg-store { background: repeating-linear-gradient(45deg, #E3A300 0 2.5px, #FFE7A0 2.5px 5px); }
.lg-feed { background: #FFF1C9; }
.lg-imp { background: #DAD7CE; }
.carried { margin: 0 0 20px; }
#daychart { width: 100%; height: auto; display: block; margin-top: 12px; overflow: visible; }
#daychart text { font-family: var(--f-text); font-size: 12px; fill: var(--ink-soft); }
#daychart .dc-lbl { font-family: var(--f-display); font-weight: 700; font-size: 13px; fill: var(--ink); }
#daychart .dc-area { transition: d .6s var(--ease), opacity .4s ease; }
.day-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.day-stats p { display: grid; gap: 2px; }
.ds-label { font-size: .88rem; color: var(--ink-soft); }
.day-stats b { font-family: var(--f-display); font-weight: 900; font-size: 2.3rem; letter-spacing: -0.04em; line-height: 1.05; font-variant-numeric: tabular-nums; }

.store-side { display: grid; gap: 36px; }
.store-photo img { width: 100%; aspect-ratio: 4 / 3.3; object-fit: cover; object-position: 55% 40%; }
.facts { display: grid; border-top: 2px solid var(--ink); }
.facts li { display: grid; grid-template-columns: 124px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.facts b { font-family: var(--f-display); font-weight: 900; font-size: 1.3rem; letter-spacing: -0.025em; white-space: nowrap; }
.facts span { color: var(--ink-soft); font-size: .98rem; line-height: 1.5; }

/* 5 Förderung */
.money { background: var(--paper-2); padding-block: clamp(84px, 11vw, 150px); }
.money-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(32px, 6vw, 100px); row-gap: 48px; align-items: start; }
.money-intro { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 40px; align-items: end; }
.money-intro h2 { max-width: 16ch; }
.money-intro p { color: var(--ink-soft); max-width: 36ch; justify-self: end; }

.receipt {
  background: var(--paper); padding: clamp(24px, 3vw, 40px); position: sticky; top: calc(var(--header-h) + 24px);
  border-top: 6px solid var(--sun);
  box-shadow: 0 1px 0 var(--line), 0 18px 40px -28px rgba(28, 33, 39, .35);
}
.receipt figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 18px; }
.receipt figcaption b { font-family: var(--f-display); font-weight: 800; font-size: 1.3rem; letter-spacing: -0.02em; }
.receipt figcaption span { font-size: .84rem; color: var(--ink-soft); }
.receipt dl { margin: 0 0 22px; }
.receipt dl > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.receipt dt { color: var(--ink-soft); font-size: .96rem; }
.receipt dt em { font-style: normal; font-size: .76rem; font-weight: 500; color: var(--ink); background: var(--paper-2); padding: 1px 6px; border-radius: 2px; margin-left: 4px; white-space: nowrap; }
.receipt dd { margin: 0; font-family: var(--f-display); font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.rc-muted dd { font-family: var(--f-text); font-weight: 400; color: var(--ink-soft); font-size: .92rem; }
.receipt .rc-total { border-bottom: 0; border-top: 2px solid var(--ink); margin-top: 8px; padding-top: 16px; align-items: end; }
.rc-total dt { color: var(--ink); font-weight: 500; }
.rc-total dd { font-weight: 900; font-size: clamp(1.6rem, 2.4vw, 2.2rem); letter-spacing: -0.03em; }

.money-points { display: grid; gap: 0; border-top: 2px solid var(--ink); }
.mp { padding: 28px 0 32px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px; }
.mp h3 { font-size: clamp(1.25rem, 1.7vw, 1.55rem); }
.mp p { color: var(--ink-soft); }
.mp-stages { grid-template-columns: 1fr; }
.stages { display: flex; gap: 4px; margin: 4px 0 8px; }
.st { flex: var(--w) 1 0; min-width: 0; background: var(--paper); border-top: 5px solid var(--sun); padding: 12px 12px 10px; font-size: .86rem; line-height: 1.3; color: var(--ink-soft); }
.st b { display: block; font-family: var(--f-display); font-weight: 900; font-size: 1.5rem; color: var(--ink); letter-spacing: -0.03em; }
.st-2 { border-top-color: var(--ink); }
.st-3 { border-top-color: var(--tile); }
.st-3 i { font-style: normal; display: block; }

/* 6 FAQ */
.faq { padding-block: clamp(84px, 11vw, 150px); }
.faq-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 100px); align-items: start; }
.faq-aside { position: sticky; top: calc(var(--header-h) + 32px); display: grid; gap: 36px; }
.faq-aside h2 { max-width: 13ch; }
.faq-img { width: 62%; }
.faq-img img { width: 100%; aspect-ratio: 2 / 2.6; object-fit: cover; }
.faq-list { border-top: 2px solid var(--ink); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 26px 0; font-family: var(--f-display); font-weight: 800; font-size: clamp(1.2rem, 1.8vw, 1.55rem); letter-spacing: -0.02em; line-height: 1.2;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: ""; flex: none; width: 34px; height: 34px; border-radius: 50%;
  background:
    linear-gradient(var(--ink), var(--ink)) center / 12px 2px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 2px 12px no-repeat,
    var(--paper-2);
  transition: transform .3s var(--ease), background-color .2s ease;
}
.qa summary:hover::after { background-color: var(--sun); }
.qa[open] summary::after {
  transform: rotate(180deg);
  background: linear-gradient(var(--ink), var(--ink)) center / 12px 2px no-repeat, var(--sun);
}
.qa-body { padding: 0 60px 28px 0; display: grid; gap: 12px; color: var(--ink-soft); max-width: 62ch; }
.qa-body a { color: var(--ink); text-decoration-color: var(--sun-deep); text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* 7 Anfrage */
.lead { background: var(--paper-2); padding-block: clamp(84px, 11vw, 150px); }
.lead-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 100px); align-items: start; }
.lead-aside { display: grid; gap: 24px; }
.lead-aside > p { color: var(--ink-soft); max-width: 38ch; }
.lead-photo { margin-top: 12px; margin-left: calc(-1 * max(var(--gutter), (100vw - var(--max)) / 2)); }
.lead-photo img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; object-position: 50% 30%; }
.lead-promise { display: grid; gap: 0; border-top: 1px solid var(--line); }
.lead-promise li { padding: 12px 0 12px 30px; border-bottom: 1px solid var(--line); position: relative; font-weight: 500; }
.lead-promise li::before { content: ""; position: absolute; left: 2px; top: 19px; width: 14px; height: 7px; border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(-45deg); }

.lead-panel { background: var(--paper); padding: clamp(24px, 4vw, 56px); border-top: 6px solid var(--ink); min-height: 560px; }
.progress { margin-bottom: 8px; }
.progress-arc { width: 100%; height: auto; display: block; overflow: visible; }
.pa-base { fill: none; stroke: var(--line); stroke-width: 2; stroke-dasharray: 2 6; stroke-linecap: round; }
.pa-done { fill: none; stroke: var(--sun); stroke-width: 4; stroke-linecap: round; transition: stroke-dashoffset .6s var(--ease); }
.pa-ticks circle { fill: var(--paper); stroke: var(--ink-mute); stroke-width: 1.5; transition: fill .3s ease, stroke .3s ease; }
.pa-ticks circle.done { fill: var(--ink); stroke: var(--ink); }
.pa-sun { transition: transform .6s var(--ease); }
.pa-halo { fill: var(--sun); opacity: .3; }
.pa-core { fill: var(--sun); stroke: var(--ink); stroke-width: 1.5; }
.progress-steps { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 6px; font-size: .84rem; color: var(--ink-mute); text-align: center; }
.progress-steps li.is-current { color: var(--ink); font-weight: 500; }
.progress-steps li.is-done { color: var(--ink-soft); }
.step-status { font-size: .84rem; color: var(--ink-soft); text-align: center; margin-bottom: 24px; }

.fstep { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 20px; }
.fstep legend { font-family: var(--f-display); font-weight: 800; font-size: clamp(1.6rem, 2.6vw, 2.2rem); letter-spacing: -0.03em; line-height: 1.1; padding: 0; margin-bottom: 20px; }
.frow { display: flex; gap: 16px; flex-wrap: wrap; }
.f { display: grid; gap: 6px; min-width: 0; align-content: start; }
.f-plz { flex: 0 0 150px; }
.f-grow { flex: 1 1 220px; }
.f label { font-weight: 500; font-size: .95rem; }
.f label small { font-weight: 400; color: var(--ink-soft); font-size: .85rem; }
.f input, .f select, .unit-input {
  width: 100%; min-height: 54px; padding: 0 14px; border: 1.5px solid #B9B5AA; border-radius: 3px; background: var(--paper);
  font-size: 1.05rem; transition: border-color .2s ease, box-shadow .2s ease;
}
.f select { appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
.f input:hover, .f select:hover { border-color: var(--ink-soft); }
.f input:focus, .f select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(255, 199, 44, .7); }
.unit-input { display: flex; align-items: center; padding: 0; overflow: hidden; }
.unit-input input { border: 0; min-height: 51px; box-shadow: none !important; flex: 1; }
.unit-input span { padding: 0 14px; color: var(--ink-soft); font-weight: 500; }
.unit-input:focus-within { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(255, 199, 44, .7); }
.f.has-error input, .f.has-error select, .f.has-error .unit-input { border-color: var(--tile); }
.err { color: var(--tile-text); font-size: .88rem; font-weight: 500; min-height: 0; }
.err:empty { display: none; }
.fhint, .fnote { font-size: .86rem; color: var(--ink-soft); }
.fnav > span:empty { display: none; }
.fnav { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 12px; padding-top: 22px; border-top: 1px solid var(--line); }
.prefill { font-size: .9rem; background: var(--paper-2); padding: 10px 14px; border-left: 3px solid var(--sun); margin-top: -8px; }

.roofs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.roof { position: relative; display: grid; justify-items: center; gap: 8px; padding: 18px 8px 14px; border: 1.5px solid #B9B5AA; border-radius: 3px; cursor: pointer; transition: border-color .2s ease, background-color .2s ease; }
.roof input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.roof svg { width: 64px; height: 40px; fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.roof svg .thin { stroke-width: 1.6; stroke: var(--ink-soft); }
.roof span { font-family: var(--f-display); font-weight: 700; font-size: .98rem; }
.roof:hover { border-color: var(--ink); }
.roof:has(input:checked) { border-color: var(--ink); background: #FFF6DA; box-shadow: inset 0 0 0 1.5px var(--ink); }
.roof:has(input:focus-visible) { outline: 3px solid var(--ink); outline-offset: 3px; }
.roofs.has-error .roof { border-color: var(--tile); }

.checks { display: grid; gap: 10px; }
.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; line-height: 1.45; }
.check input { appearance: none; -webkit-appearance: none; flex: none; width: 24px; height: 24px; margin: 0; border: 1.5px solid #9E9A90; border-radius: 3px; background: var(--paper); display: grid; place-items: center; cursor: pointer; }
.check input::after { content: ""; width: 11px; height: 6px; border-left: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink); transform: rotate(-45deg) translate(1px, -1px); opacity: 0; }
.check input:checked { background: var(--sun); border-color: var(--ink); }
.check input:checked::after { opacity: 1; }
.check input:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.check-consent { font-size: .92rem; color: var(--ink-soft); margin-top: 4px; }
.check-consent.has-error input { border-color: var(--tile); }

.success { text-align: left; }
.success:focus { outline: none; }
.success-arc { width: 100%; max-width: 420px; height: auto; display: block; margin-bottom: 18px; }
.sa-path { fill: none; stroke: var(--sun); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 600; stroke-dashoffset: 600; animation: draw 1.4s var(--ease) forwards; }
.sa-halo { fill: var(--sun); opacity: 0; animation: pop .6s 1s ease forwards; }
.sa-core { fill: var(--sun); stroke: var(--ink); stroke-width: 2; opacity: 0; animation: pop2 .5s .9s ease forwards; }
.sa-horizon { stroke: var(--ink); stroke-width: 1.5; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { to { opacity: .3; } }
@keyframes pop2 { to { opacity: 1; } }
.success-title { font-size: clamp(1.8rem, 3vw, 2.6rem); letter-spacing: -0.035em; line-height: 1.05; max-width: 18ch; }
.success-lead { margin-top: 24px; font-weight: 500; }
.next { margin-top: 12px; border-top: 2px solid var(--ink); counter-reset: n; }
.next li { display: grid; grid-template-columns: 34px 1fr; column-gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); counter-increment: n; }
.next li::before { content: counter(n); grid-row: 1 / span 2; width: 30px; height: 30px; border-radius: 50%; background: var(--sun); display: grid; place-items: center; font-family: var(--f-display); font-weight: 900; font-size: .95rem; }
.next b { font-family: var(--f-display); font-weight: 800; }
.next span { color: var(--ink-soft); }
.summary { margin: 24px 0 8px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; font-size: .9rem; }
.summary div { display: grid; }
.summary dt { color: var(--ink-mute); font-size: .8rem; }
.summary dd { margin: 0; font-weight: 500; overflow-wrap: anywhere; }

/* Footer */
.foot { background: var(--ink); color: var(--paper); }
.foot-sky { position: relative; height: clamp(360px, 56vh, 560px); overflow: hidden; }
.foot-sky img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.foot-sky::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(28, 33, 39, 0) 40%, rgba(28, 33, 39, .9) 100%); }
.foot-sky-copy { position: absolute; left: 0; right: 0; bottom: clamp(32px, 5vw, 64px); z-index: 2; }
.foot-sky-copy p { font-family: var(--f-display); font-weight: 900; font-size: clamp(2rem, 4.6vw, 4.2rem); line-height: .98; letter-spacing: -0.04em; }
.foot-bar { padding-block: 48px 36px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px 48px; align-items: start; }
.foot-brand p { color: rgba(251, 250, 246, .7); max-width: 40ch; margin-top: 14px; font-size: .95rem; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 4px 22px; justify-content: flex-end; }
.foot-nav a { text-decoration: none; padding: 6px 0; font-weight: 500; }
.foot-nav a:hover { text-decoration: underline; text-decoration-color: var(--sun); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.foot-meta { grid-column: 1 / -1; font-size: .8rem; color: rgba(251, 250, 246, .5); padding-top: 24px; border-top: 1px solid var(--line-dark); }

/* Reveal-Bewegung */
.js .reveal { clip-path: inset(0 0 14% 0); opacity: 0; transform: translateY(24px); transition: clip-path 1s var(--ease), opacity .7s ease, transform 1s var(--ease); }
.js .reveal.in { clip-path: inset(0 0 0 0); opacity: 1; transform: none; }
.js .reveal-soft { transform: scale(1.06); transition: transform 2.2s var(--ease); }
.js .reveal-soft.in { transform: none; }

/* Niedrige Fenster: Hero kompakter, damit die Handlung im ersten Bild bleibt */
@media (max-height: 840px) and (min-width: 761px) {
  .hero-copy { padding-top: calc(var(--header-h) + 36px); padding-bottom: 36px; justify-content: flex-start; gap: 48px; }
  .hero h1 { font-size: clamp(3.4rem, min(8.1vw, 12.6vh), 8.2rem); }
  .hero-foot { gap: 20px; }
}

/* ---------- Laptop ---------- */
@media (max-width: 1280px) {
  .result { grid-template-columns: 1fr; }
  .result-key { border-right: 0; border-bottom: 1px solid var(--line-dark); }
  .hero-media { width: 60%; }
}

/* ---------- Tablet ---------- */
@media (max-width: 1024px) {
  .nav ul { gap: 0; }
  .nav a { padding: 10px 8px; }
  .calc-body { grid-template-columns: 1fr; }
  .calc-scene { order: -1; border-left: 0; }
  .calc-inputs { padding-right: 0; grid-template-columns: 1fr 1fr; column-gap: 40px; }
  .result-grid { grid-template-columns: repeat(2, 1fr); }
  .result-grid > div:nth-child(2) { border-right: 0; }
  .result-grid > div:nth-child(-n+2) { border-bottom: 1px solid var(--line-dark); }
  .money-grid { grid-template-columns: 1fr; }
  .receipt { position: static; max-width: 560px; }
  .store-body { grid-template-columns: 1fr; }
  .store-side { grid-template-columns: 1fr 1fr; align-items: start; }
}

/* ---------- Mobile ---------- */
@media (max-width: 860px) {
  .nav-toggle {
    display: grid; place-items: center; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; border-radius: 3px;
  }
  .nav-toggle-lines, .nav-toggle-lines::before, .nav-toggle-lines::after { display: block; width: 22px; height: 2px; background: var(--ink); position: relative; transition: transform .25s ease, background-color .25s ease; }
  .nav-toggle-lines::before, .nav-toggle-lines::after { content: ""; position: absolute; left: 0; }
  .nav-toggle-lines::before { top: -7px; }
  .nav-toggle-lines::after { top: 7px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-lines { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-lines::before { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-lines::after { transform: translateY(-7px) rotate(-45deg); }
  .nav { order: 3; margin-left: 0; }
  .header-cta { margin-left: auto; }
  .nav ul {
    position: absolute; left: 0; right: 0; top: var(--header-h); display: none; flex-direction: column; gap: 0;
    background: var(--paper); padding: 8px var(--gutter) 20px; box-shadow: 0 1px 0 var(--line), 0 20px 30px -20px rgba(28, 33, 39, .3);
  }
  .nav ul.open { display: flex; }
  .nav ul a { padding: 14px 0; font-family: var(--f-display); font-weight: 700; font-size: 1.3rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .header-inner { gap: 8px; }
}

@media (max-width: 760px) {
  :root { --header-h: 64px; }
  body { font-size: 1rem; }
  .hide-s { display: none; }
  .show-s { display: inline; }
  .brand { font-size: 1.18rem; }
  .brand-mark { width: 26px; height: 26px; }

  /* Hero: Foto zuerst, Headline im Himmel */
  .hero { min-height: 0; display: block; }
  .hero-media { position: relative; width: 100%; height: min(128vw, 560px); }
  .hero-media img { object-position: 50% 100%; }
  .hero-copy { position: static; padding: 0; display: block; }
  .hero h1 {
    position: absolute; left: var(--gutter); right: var(--gutter); top: calc(var(--header-h) + 22px); z-index: 3;
    font-size: clamp(2.7rem, 13.4vw, 4rem); line-height: .9; letter-spacing: -0.05em;
  }
  .hero-foot { max-width: none; padding: 26px var(--gutter) 8px; gap: 20px; }
  .hero-lead { font-size: 1.06rem; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 14px; }
  .hero-actions .btn-link { align-self: flex-start; padding: 4px 0; }
  .hero-sunlabel { display: none; }

  .calc { padding-top: 72px; }
  .calc-head, .flow-head, .money-intro { grid-template-columns: 1fr; gap: 14px; }
  .calc-head p, .flow-head p, .money-intro p { justify-self: start; }
  .calc-body { border-top: 0; margin-inline: calc(-1 * var(--gutter)); }
  .calc-scene { border-top: 2px solid var(--ink); }
  .calc-scene figcaption { padding-inline: var(--gutter); }
  .calc-inputs { grid-template-columns: 1fr; padding: 28px var(--gutter) 24px; gap: 28px; }
  .ctrl-switches { grid-template-columns: 1fr; gap: 14px; }
  .seg label { font-size: .92rem; padding: 12px 4px; }
  .result { margin-inline: calc(-1 * var(--gutter)); border-radius: 0; }
  .result-key { padding: 28px var(--gutter); gap: 16px; }
  .rk-val b { font-size: clamp(2.3rem, 11vw, 3rem); }
  .rk-note { display: none; }
  .result-grid > div { padding: 20px 14px 18px var(--gutter); }
  .result-grid > div:nth-child(even) { padding-left: 14px; }
  .result-grid dt { min-height: 0; }
  .result-foot { padding: 20px var(--gutter) 28px; }
  .result-foot .btn { width: 100%; }
  .calc-dock {
    display: flex; justify-content: space-between; gap: 8px;
    position: sticky; bottom: 0; z-index: 20; margin: 0 calc(-1 * var(--gutter));
    background: var(--ink); color: var(--paper); padding: 12px var(--gutter);
    font-size: .84rem; font-variant-numeric: tabular-nums;
    border-top: 3px solid var(--sun);
  }
  .calc-dock b { font-family: var(--f-display); font-weight: 900; font-size: 1.1rem; color: var(--sun); }

  .flow { padding-top: 72px; }
  .step-1, .step-2, .step-3, .step-4 { grid-template-columns: 1fr; }
  .step-1 .step-img { margin-inline: calc(-1 * var(--gutter)); }
  .step-1 .step-img img { aspect-ratio: 4 / 3.2; }
  .step-2 { margin-top: 80px; }
  .big-num { font-size: 7.5rem; }
  .plan { margin-inline: calc(-1 * var(--gutter)); border-inline: 0; }
  .step-3 { margin-top: 84px; }
  .step3-media {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px;
    margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scrollbar-width: none;
  }
  .step3-media::-webkit-scrollbar { display: none; }
  .step3-main, .step3-side { flex: 0 0 84%; scroll-snap-align: start; margin: 0; }
  .step3-main img, .step3-side img { aspect-ratio: 4 / 4.6; }
  .step3-text { padding-top: 0; }
  .step-4 { margin-top: 84px; padding-bottom: 72px; }
  .step-4 .paper { grid-column: 1; grid-row: auto; margin-top: 24px; }
  .paper li { grid-template-columns: 1fr; gap: 4px; padding: 16px 0; }
  .band { height: 560px; }
  .band img { object-position: 62% 60%; }

  .store-hero { height: 620px; }
  .store-hero img { object-position: 62% 100%; }
  .store-hero-copy { padding-top: 72px; }
  .store-body { padding-block: 44px 72px; }
  .day-head { align-items: start; }
  .day-stats b { font-size: 1.9rem; }
  .store-side { grid-template-columns: 1fr; }
  .store-photo { margin-inline: calc(-1 * var(--gutter)); }
  .facts li { grid-template-columns: 1fr; gap: 2px; }

  .money { padding-block: 72px; }
  .mp { grid-template-columns: 1fr; gap: 10px; }
  .stages { flex-direction: column; }
  .st { display: flex; align-items: baseline; gap: 10px; border-top: 0; border-left: 5px solid var(--sun); padding: 10px 12px; }
  .st b { display: inline; font-size: 1.25rem; min-width: 52px; }
  .st-2 { border-left-color: var(--ink); }
  .st-3 { border-left-color: var(--tile); }
  .st-3 i { display: inline; }

  .faq { padding-block: 72px; }
  .faq-grid { grid-template-columns: 1fr; gap: 28px; }
  .faq-aside { position: static; grid-template-columns: 1fr 34%; align-items: end; gap: 16px; }
  .faq-img { width: 100%; }
  .faq-img img { aspect-ratio: 3 / 4; }
  .qa summary { padding: 20px 0; }
  .qa-body { padding-right: 0; }

  .lead { padding-block: 72px 0; }
  .lead-grid { grid-template-columns: 1fr; gap: 28px; }
  .lead-photo { display: none; }
  .lead-panel { margin-inline: calc(-1 * var(--gutter)); padding: 28px var(--gutter) 40px; min-height: 0; }
  .roofs { gap: 6px; }
  .roof { padding: 14px 4px 10px; }
  .roof svg { width: 52px; height: 32px; }
  .roof span { font-size: .88rem; }
  .fnav .btn { flex: 1; }
  .f-plz { flex-basis: 100%; }
  .f-plz input { max-width: 170px; }
  .summary { grid-template-columns: 1fr; }

  .foot-sky { height: 380px; }
  .foot-grid { grid-template-columns: 1fr; }
  .foot-nav { justify-content: flex-start; }
}

@media (max-width: 380px) {
  .seg label { font-size: .84rem; }
  .calc-dock { font-size: .78rem; }
}

/* Mobile: SVG-Beschriftungen lesbar, Hero ohne Bogen */
@media (max-width: 760px) {
  .hero-arc { display: none; }
  .yield-row { padding: 12px var(--gutter) 14px; }
  .yr-items { gap: 10px; }
  .yr { font-size: .76rem; }
  .yr b { font-size: .9rem; display: block; }
  .sc-compass, .sc-compass text { font-size: 24px; }
  .sc-dim text { font-size: 26px; transform: translateY(7px); }
  .sc-callout { display: none; }
  .dim-extra { display: inline; }
  .plan-label { font-size: 21px; }
  .plan-small { font-size: 17px; }
  .band::after { background: linear-gradient(180deg, rgba(12, 38, 72, .74) 0%, rgba(12, 38, 72, .5) 52%, rgba(12, 38, 72, 0) 80%); }
  .band-copy { padding-top: 48px; }
  .faq-aside { grid-template-columns: 1fr; }
  .faq-img { display: none; }
}

/* Bewegung reduzieren */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { clip-path: none; transform: none; transition: opacity .5s ease; }
  .js .reveal-soft { transform: none; transition: none; }
  .slot { transform: none; transition: opacity .2s ease; }
  .sa-path { animation: none; stroke-dashoffset: 0; }
  .sa-halo { animation: none; opacity: .3; }
  .sa-core { animation: none; opacity: 1; }
  .pa-sun, .pa-done { transition: none; }
}

/* Review-Modus für Screenshots */
.review *, .review *::before, .review *::after { transition: none !important; }
.review .hero { min-height: 900px; }
.review .band { height: 700px; }
.review .store-hero { height: 780px; }
.review .foot-sky { height: 480px; }
.review .js .reveal, .review.js .reveal { clip-path: none; opacity: 1; transform: none; transition: none; }
.review.js .reveal-soft { transform: none; transition: none; }
.review .faq-aside, .review .receipt { position: static; }
.review .calc-dock { position: static; }
@media (max-width: 760px) {
  .review .hero { min-height: 0; }
  .review .band { height: 560px; }
  .review .store-hero { height: 620px; }
  .review .foot-sky { height: 380px; }
}
