/* Leitwerk Elektrotechnik (Beispielbetrieb) · Der Verteiler.
   Mantelgrau als Grund, Module als Kacheln mit 8 px Fuge, die fünf Aderfarben als einzige Farben. Ecken 0. */
@font-face { font-family: "Bricolage Grotesque"; src: url("fonts/bricolage-grotesque-latin-standard-normal.woff2") format("woff2"); font-weight: 200 800; font-stretch: 75% 100%; font-display: swap; }

:root {
  --grund: #DFE1DD;      /* Mantel der Leitung, RAL-7035-Ton */
  --kanal: #9EA39C;
  --modul: #F5F6F3;      /* Kunststoff der Module */
  --modul-2: #EAECE8;
  --tinte: #141514;
  --tinte-2: #474B48;
  --braun: #7A4A2A;
  --schwarz: #161616;
  --grau: #8E928E;
  --blau: #2A6EB4;
  --blau-tief: #1F5590;
  --gruen: #3E8E35;
  --gelb: #F2C200;
  --hell: #F5F6F3;

  --sc-canvas: var(--grund); --sc-surface: var(--modul);
  --sc-ink: var(--tinte); --sc-ink-soft: var(--tinte-2);
  --sc-accent: var(--blau); --sc-accent-ink: #fff;
  --sc-font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --sc-font-text: "Bricolage Grotesque", system-ui, sans-serif;

  --schrift: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --s-klein: clamp(0.875rem, 0.85rem + 0.1vw, 0.9375rem);
  --s-text: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --s-lead: clamp(1.25rem, 1.05rem + 0.75vw, 1.6rem);
  --s-kopf: clamp(2.2rem, 1.3rem + 3.2vw, 4.2rem);
  --fuge: 8px;
  --kopf-h: 64px;
  --raus: cubic-bezier(0.16, 1, 0.3, 1);
  --pe: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 28 28'%3E%3Crect width='28' height='28' fill='%233E8E35'/%3E%3Cpath d='M0 28 28 0h-10L0 18zM18 28 28 18v10z' fill='%23F2C200'/%3E%3C/svg%3E");
  --schlitz: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='36' viewBox='0 0 24 36'%3E%3Crect width='24' height='36' fill='%239EA39C'/%3E%3Crect x='9' y='4' width='6' height='10' fill='%23878C85'/%3E%3Crect x='9' y='22' width='6' height='10' fill='%23878C85'/%3E%3C/svg%3E");
}

html { scroll-padding-top: calc(var(--kopf-h) + 16px); scrollbar-color: var(--grau) var(--grund); }
body { margin: 0; background: var(--grund); color: var(--tinte); font-family: var(--schrift); font-size: var(--s-text); line-height: 1.5; font-variation-settings: "opsz" 18;
  -webkit-font-smoothing: antialiased; }
::selection { background: var(--blau); color: #fff; }
:focus-visible { outline: 3px solid var(--blau); outline-offset: 2px; }
h1, h2, h3, p, ul, ol, dl, dd, figure, fieldset, table { margin: 0; }
ul, ol { padding: 0; list-style: none; }
fieldset { border: 0; padding: 0; min-width: 0; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 2px; }
img { display: block; max-width: 100%; height: auto; }
svg { fill: currentColor; }
[hidden] { display: none !important; }
.unsichtbar { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.springen { position: fixed; left: 1rem; top: -4rem; z-index: 300; background: var(--tinte); color: #fff; padding: .7rem 1rem; text-decoration: none; }
.springen:focus { top: 1rem; }
h2 { font-size: var(--s-kopf); font-weight: 600; letter-spacing: -0.04em; line-height: .95; text-wrap: balance; font-variation-settings: "opsz" 96; }
h3 { font-size: var(--s-lead); font-weight: 600; letter-spacing: -0.025em; line-height: 1.1; font-variation-settings: "opsz" 48; }

/* ---------- Knöpfe ---------- */
.knopf { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 3.2rem; padding: .8rem 1.4rem; border: 0; border-radius: 0;
  background: var(--blau); color: #fff; font: 600 1.0625rem/1 var(--schrift); text-decoration: none; cursor: pointer; transition: background-color 180ms var(--raus), transform 180ms var(--raus); }
.knopf:hover { background: var(--blau-tief); }
.knopf:active { transform: scale(.98); }
.knopf--hell { background: var(--modul); color: var(--tinte); }
.knopf--hell:hover { background: #fff; }
.knopf--leise { background: var(--modul-2); color: var(--tinte); }
.knopf--leise:hover { background: var(--kanal); }
.knopf svg { width: 1.2rem; height: 1.2rem; }

/* ---------- Kopf als Kachelreihe ---------- */
.kopf { position: fixed; z-index: 60; left: var(--fuge); right: var(--fuge); top: var(--fuge); height: calc(var(--kopf-h) - var(--fuge)); display: grid; grid-template-columns: calc(var(--kopf-h) - var(--fuge)) 1fr auto; gap: var(--fuge); }
.kopf::before { content: ""; position: fixed; inset: 0 0 auto; height: var(--kopf-h); background: var(--grund); z-index: -1; }
.kopf__zeichen { display: grid; place-items: center; background: var(--modul); }
.kopf__zeichen svg { width: 28px; height: 28px; }
.kopf__nav { background: var(--modul); display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2.4rem); padding-left: 38%; }
.kopf__nav a { position: relative; font-weight: 600; font-size: .9375rem; text-decoration: none; padding: .6rem 0; }
.kopf__nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: .2rem; height: 4px; background: var(--ader); transform: scaleX(0); transform-origin: 0 50%; transition: transform 320ms var(--raus); }
.kopf__nav a:hover::after, .kopf__nav a.ist-hier::after { transform: scaleX(1); }
.kopf__cta { display: flex; align-items: center; padding: 0 1.4rem; background: var(--blau); color: #fff; font-weight: 600; text-decoration: none; transition: background-color 180ms var(--raus); white-space: nowrap; }
.kopf__cta:hover { background: var(--blau-tief); }
@media (max-width: 1100px) { .kopf__nav { padding-left: 1.4rem; } }
@media (max-width: 860px) {
  :root { --kopf-h: 58px; --fuge: 6px; }
  .kopf__nav { display: none; }
  .kopf { grid-template-columns: calc(var(--kopf-h) - var(--fuge)) 1fr; }
  .kopf__cta { justify-content: center; }
}

/* ---------- Hero: das Board ---------- */
.hero { background: var(--grund); }
.hero__buehne { height: 100svh; min-height: 600px; overflow: hidden; background: var(--grund); }
.board { position: absolute; left: var(--fuge); right: var(--fuge); top: calc(var(--kopf-h) + var(--fuge)); bottom: var(--fuge);
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: minmax(0, 1fr) 40px minmax(0, 1fr); gap: var(--fuge); }
.t { position: relative; z-index: 2; overflow: hidden; background: var(--modul); transition: background-color 500ms var(--raus), color 500ms var(--raus); }
.t--name { grid-column: 1 / 9; grid-row: 1; display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(1.25rem, 2vw, 1.75rem); gap: 1rem; }
.t--foto1 { grid-column: 9 / 13; grid-row: 1; }
.kanal { grid-column: 1 / 13; grid-row: 2; background: var(--schlitz); background-size: 24px 40px; position: relative; z-index: 0; }
.t--foto2 { grid-column: 1 / 5; grid-row: 3; }
.t--satz { grid-column: 5 / 9; grid-row: 3; padding: 1.5rem; display: flex; flex-direction: column; justify-content: space-between; gap: 1.25rem; background: var(--modul-2); }
.t--not { grid-column: 9 / 13; grid-row: 3; padding: 1.5rem; display: flex; flex-direction: column; justify-content: space-between; text-decoration: none; background: var(--modul-2); }
.t__name { display: block; font-size: clamp(5.2rem, 1rem + 11.5vw, 12rem); font-weight: 600; letter-spacing: -0.05em; line-height: .82; margin-left: -.05em; font-variation-settings: "opsz" 96; }
.t__unter { display: block; font-size: var(--s-lead); font-weight: 500; letter-spacing: -0.02em; margin-top: .8rem; }
.t__was { max-width: 40ch; color: var(--tinte); }
.t--satz p { font-size: clamp(1.25rem, .9rem + 1vw, 1.6rem); line-height: 1.25; letter-spacing: -0.02em; font-weight: 500; }
.t--satz .knopf { align-self: flex-start; }
.t__klein { font-size: var(--s-klein); font-weight: 600; }
.t__nummer { font-size: clamp(2rem, 1rem + 2.6vw, 3.4rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1; white-space: nowrap; }
.t__bild { position: absolute; inset: -4% 0; transform: translate3d(0, var(--bild-y, 0), 0); }
.t__bild img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.t__bild img.an { opacity: 0; transition: opacity 700ms var(--raus); }
/* Strom an */
.t.ist-an .t__bild img.an { opacity: 1; }
.t--satz.ist-an { background: var(--schwarz); color: var(--hell); }
.t--not.ist-an { background: var(--blau); color: #fff; }
.t--not.ist-an:hover { background: var(--blau-tief); }
.t--name.ist-an { background: var(--modul); }
.t--name .t__name { transition: color 500ms var(--raus); }
.leitung { position: absolute; z-index: 1; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; transform: translate3d(0, var(--leitung-y, 0), 0); }
.leitung .mantel { fill: none; stroke: #E4E6E1; stroke-linecap: butt; }
.leitung .mantel-kante { fill: none; stroke: #6F746D; }
.leitung .ader { fill: none; stroke-linecap: butt; stroke-linejoin: round; }
.leitung .klemme { fill: var(--tinte); }

@media (max-width: 860px) {
  .hero__buehne { min-height: 640px; }
  .board { bottom: calc(var(--fuge) * 2 + 52px + env(safe-area-inset-bottom)); grid-template-columns: 1fr 1fr; grid-template-rows: minmax(0, 1.05fr) 30px minmax(0, 1fr) minmax(0, 1fr); }
  .t--name { grid-column: 1 / 3; grid-row: 1; padding: 1.1rem; }
  .kanal { grid-column: 1 / 3; grid-row: 2; background-size: 24px 30px; }
  .t--foto1 { grid-column: 1 / 3; grid-row: 3; }
  .t--foto2 { display: none; }
  .t--satz { grid-column: 1; grid-row: 4; padding: 1rem; }
  .t--not { grid-column: 2; grid-row: 4; padding: 1rem; }
  .t__name { font-size: clamp(4.2rem, 24vw, 6.4rem); }
  .t__was { display: none; }
  .t--satz p { font-size: 1.0625rem; }
  .t--satz .knopf { min-height: 2.8rem; padding: .6rem .9rem; font-size: .9375rem; }
  .t__nummer { font-size: clamp(1.2rem, 5.6vw, 1.7rem); white-space: nowrap; }
  .t--not { justify-content: center; gap: .5rem; }
  .t--satz { justify-content: space-between; gap: .6rem; }
  .t--satz p { font-size: .9375rem; line-height: 1.3; }
  .t--satz .knopf { align-self: stretch; justify-content: center; }
  .nur-gross { display: none; }
}

/* ---------- Leistungen: Mosaik ---------- */
.leistungen { padding: clamp(5rem, 9vw, 9rem) var(--fuge) var(--fuge); }
.leistungen { padding: var(--abstand) clamp(1rem, 3vw, 2.5rem); }
.leistungen__kopf { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem 3rem; align-items: end; margin-bottom: clamp(2.5rem, 6vh, 4rem); }
.leistungen__kopf h2 { font-size: clamp(2.6rem, 1rem + 4.4vw, 5.4rem); }
.leistungen__kopf p { font-size: var(--s-lead); line-height: 1.35; max-width: 34ch; }
.dienst { display: grid; gap: var(--fuge); }
.dienst li { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(1.25rem, 3vw, 3rem); align-items: center; background: var(--modul); padding: var(--fuge); }
.dienst figure { overflow: hidden; aspect-ratio: 16 / 10; }
.dienst figure img, .dienst figure video { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--b-aus, ease); }
@media (hover: hover) and (pointer: fine) { .dienst li:hover figure img, .dienst li:hover figure video { transform: scale(1.04); } }
.dienst h3 { display: flex; align-items: center; gap: .7rem; font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.2rem); margin-bottom: .6rem; }
.dienst h3::before { content: ""; flex: none; width: .9rem; height: .9rem; border-radius: 50%; background: var(--ader); }
.dienst p { max-width: 52ch; font-size: 1.125rem; line-height: 1.5; padding-right: 1rem; }
.dienst__meta { margin-top: .8rem; font-weight: 650; color: var(--tinte); font-size: 1rem !important; }
@media (max-width: 860px) {
  .leistungen__kopf { grid-template-columns: 1fr; }
  .dienst li { grid-template-columns: 1fr; padding: var(--fuge) var(--fuge) 1.25rem; }
  .dienst p { padding: 0 .5rem; font-size: 1.0625rem; }
  .dienst h3 { padding: 0 .5rem; }
}

/* ---------- Kasten-Check ---------- */
.check { padding: clamp(6rem, 10vw, 10rem) var(--fuge) var(--fuge); }
.check__kopf { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 1rem 3rem; align-items: end; padding: 0 clamp(.5rem, 2vw, 1.5rem) 2.5rem; }
.check__kopf p { max-width: 46ch; }
.check__form { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--fuge); align-items: start; }
.check__fragen { display: grid; gap: var(--fuge); }
.frage { background: var(--modul); padding: 1.5rem; }
.frage legend { float: left; width: 100%; font-size: var(--s-lead); font-weight: 600; letter-spacing: -0.02em; margin-bottom: 1rem; }
.frage__bilder { clear: both; display: grid; grid-template-columns: 1fr 1fr; gap: var(--fuge); }
.bildwahl { position: relative; cursor: pointer; background: var(--modul-2); display: grid; }
.bildwahl input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.bildwahl img { aspect-ratio: 16 / 10; width: 100%; object-fit: cover; filter: grayscale(1); transition: filter 400ms var(--raus); }
.bildwahl span { display: grid; gap: .15rem; padding: .8rem 1rem; font-size: .9375rem; color: var(--tinte-2); }
.bildwahl b { color: var(--tinte); font-size: 1.0625rem; }
.bildwahl:has(input:checked) { background: var(--blau); }
.bildwahl:has(input:checked) span, .bildwahl:has(input:checked) b { color: #fff; }
.bildwahl:has(input:checked) img { filter: none; }
.bildwahl:has(input:focus-visible) { outline: 3px solid var(--tinte); outline-offset: 2px; }
.chips { clear: both; display: flex; flex-wrap: wrap; gap: 6px; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chips span { display: flex; align-items: center; min-height: 3rem; padding: .6rem 1rem; background: var(--modul-2); font-weight: 600; transition: background-color 160ms var(--raus), color 160ms var(--raus); }
.chips label:hover span { background: var(--kanal); }
.chips input:checked + span { background: var(--schwarz); color: #fff; }
.chips input:focus-visible + span { outline: 3px solid var(--blau); outline-offset: 2px; }
.chips--mehr input:checked + span { background: var(--blau); }
.regler { clear: both; display: flex; align-items: center; gap: 1.25rem; }
.regler input { flex: 1; accent-color: var(--blau); height: 2.4rem; }
.regler output { min-width: 5.5ch; font-size: 1.6rem; font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.ergebnis { position: sticky; top: calc(var(--kopf-h) + var(--fuge)); background: var(--modul); padding: 1.5rem; display: grid; gap: 1.1rem; }
.verteiler { background: var(--kanal); padding: 10px; display: grid; gap: 10px; }
.vt-reihe { display: grid; grid-template-columns: repeat(12, 1fr); gap: 2px; background: #B5B9B3; padding: 2px; min-height: 76px; }
.vt-m { position: relative; background: var(--modul); display: grid; align-content: space-between; justify-items: center; padding: 6px 2px 4px; min-width: 0;
  animation: rein 420ms var(--raus) both; animation-delay: calc(var(--i, 0) * 28ms); }
.vt-m::before { content: ""; width: 42%; max-width: 12px; height: 16px; background: var(--schwarz); }
.vt-m small { font-size: 10px; line-height: 1.1; font-weight: 600; color: var(--tinte-2); text-align: center; overflow: hidden; max-width: 100%; white-space: nowrap; text-overflow: clip; }
.vt-m--fi { background: #fff; }
.vt-m--fi::after { content: "T"; position: absolute; top: 6px; right: 6px; font: 700 10px var(--schrift); color: var(--blau); }
.vt-m--fi::before { background: var(--blau); }
.vt-m--uess::before { background: var(--gruen); }
.vt-m--wb::before { background: var(--braun); }
.vt-leer { background: transparent; }
@keyframes rein { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.ergebnis__werte { display: grid; grid-template-columns: 1fr 1fr; gap: var(--fuge); }
.ergebnis__werte div { background: var(--modul-2); padding: .8rem 1rem; }
.ergebnis__werte dt { font-size: var(--s-klein); font-weight: 600; color: var(--tinte-2); }
.ergebnis__werte dd { font-size: 1.35rem; font-weight: 600; letter-spacing: -0.02em; }
.ergebnis__preis { grid-column: 1 / -1; background: var(--schwarz) !important; color: #fff; }
.ergebnis__preis dt { color: var(--modul-2) !important; }
.ergebnis__preis dd { font-size: clamp(1.6rem, 1rem + 1.6vw, 2.2rem); }
.ergebnis__rat { font-weight: 500; }
.ergebnis__posten { display: grid; gap: .35rem; font-size: .9375rem; color: var(--tinte-2); }
.ergebnis__posten li { display: flex; justify-content: space-between; gap: 1rem; }
.ergebnis__posten li span:last-child { white-space: nowrap; color: var(--tinte); font-weight: 600; }
.ergebnis__kontakt { display: grid; grid-template-columns: 1fr 1fr; gap: var(--fuge); }
.feld { display: grid; gap: .3rem; font-size: var(--s-klein); font-weight: 600; }
.feld input { min-height: 3.1rem; border: 0; border-bottom: 3px solid var(--tinte); background: var(--modul-2); padding: .6rem .8rem; font: 400 1rem var(--schrift); border-radius: 0; color: var(--tinte); }
.feld input:focus { border-bottom-color: var(--blau); background: #fff; }
.feld input:focus-visible { outline: 3px solid var(--blau); outline-offset: 2px; }
.feld input[aria-invalid="true"] { border-bottom-color: var(--braun); background: #F5E9E1; }
.ergebnis .knopf { width: 100%; }
.ergebnis__fehler { font-weight: 600; color: var(--braun); }
.ergebnis__fuss { font-size: var(--s-klein); color: var(--tinte-2); }
.ergebnis__fuss.ist-fertig { color: var(--tinte); font-weight: 600; }
@media (max-width: 960px) {
  .check__kopf, .check__form { grid-template-columns: 1fr; }
  .ergebnis { position: static; }
}
@media (max-width: 520px) {
  .frage { padding: 1.1rem; }
  .ergebnis__kontakt { grid-template-columns: 1fr; }
  .bildwahl span { padding: .6rem .7rem; font-size: .875rem; }
}

/* ---------- Ablauf ---------- */
.ablauf { scroll-margin-top: calc(var(--kopf-h) + var(--fuge)); margin: clamp(6rem, 10vw, 10rem) var(--fuge) 0; background: var(--modul); padding: clamp(2rem, 4vw, 3.5rem) clamp(1.25rem, 3vw, 2.5rem); }
.ablauf__kopf { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 1rem 3rem; align-items: end; margin-bottom: 2.5rem; }
.ablauf__kopf h2 { max-width: 14ch; }
.ablauf__kopf p { max-width: 38ch; }
.ablauf__bild { width: 100%; height: auto; display: block; }
.ablauf__bild rect { transition: opacity 600ms var(--raus), transform 900ms var(--raus); transform-box: fill-box; }
.ablauf__bild:not(.ist-da) rect { opacity: 0; transform: translateX(-30px); }
.ablauf__schritte { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 2rem; }
.ablauf__schritte li { font-size: 1rem; line-height: 1.5; max-width: 34ch; }
.ablauf__schritte b { display: block; font-size: 1.25rem; margin-bottom: .3rem; }
@media (max-width: 860px) {
  .ablauf__kopf, .ablauf__schritte { grid-template-columns: 1fr; }
  .ablauf__bild { display: none; }
  .ablauf__schritte { gap: 1.25rem; }
}

.stille { padding: clamp(5rem, 9vw, 9rem) 1.5rem clamp(4rem, 7vw, 7rem); text-align: center; }
.stille p { font-size: clamp(1.4rem, 1rem + 1.3vw, 2.1rem); font-weight: 500; letter-spacing: -0.03em; color: var(--tinte-2); }

/* ---------- Höhepunkt: Tausch ---------- */
.tausch { background: var(--grund); }
.tausch__buehne { height: 100svh; overflow: hidden; background: var(--grund); }
.tausch__raster { position: absolute; left: var(--fuge); right: var(--fuge); top: calc(var(--kopf-h) + var(--fuge)); bottom: var(--fuge);
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: repeat(3, minmax(0, 1fr)); gap: var(--fuge); }
/* Überblenden statt Kippen: das neue Bild legt sich Kachel für Kachel über das alte */
.tk { position: relative; overflow: hidden; }
.tk__v, .tk__n { position: absolute; inset: 0; background-repeat: no-repeat; }
.tk__n { opacity: var(--k, 0); }
.tk--farbe { background: var(--modul); padding: 1.1rem; display: flex; flex-direction: column; justify-content: space-between; gap: .5rem; transform: none; }
.tk--farbe h2 { font-size: clamp(1.8rem, 1rem + 1.9vw, 3rem); }
.tk--farbe p { font-size: clamp(1rem, .8rem + .4vw, 1.15rem); line-height: 1.35; }
.tk--farbe b { display: block; font-size: clamp(1.6rem, 1rem + 1.4vw, 2.6rem); line-height: 1; letter-spacing: -0.03em; }
.tk--braun { background: var(--braun); color: var(--hell); }
.tk--schwarz { background: var(--schwarz); color: var(--hell); }
.tk--blau { background: var(--blau); color: #fff; text-decoration: none; }
.tk--blau:hover { background: var(--blau-tief); }
.tk--pe { background: var(--pe); background-size: 28px 28px; }
.tk--pe p { background: var(--modul); padding: .5rem .7rem; }
.tk__satz { font-size: clamp(1.1rem, .9rem + .6vw, 1.5rem) !important; font-weight: 500; line-height: 1.25 !important; margin-top: auto; }
@media (max-width: 860px) {
  .tausch__raster { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(4, minmax(0, 1fr)); }
  .tk--farbe { padding: .7rem; }
  .tk--farbe h2 { font-size: 1.35rem; }
  .tk--farbe p { font-size: .875rem; }
  .tk--farbe b { font-size: 1.3rem; }
}
.tausch-ruhig { padding: 0 var(--fuge) var(--fuge); }
.tausch-ruhig h2 { padding: 0 1rem 2rem; }
.tausch-ruhig__paar { display: grid; grid-template-columns: 1fr 1fr; gap: var(--fuge); }
.tausch-ruhig figure { position: relative; aspect-ratio: 3 / 2; }
.tausch-ruhig img { width: 100%; height: 100%; object-fit: cover; }
.tausch-ruhig figcaption { position: absolute; left: 0; bottom: 0; background: var(--modul); padding: .6rem .9rem; font-weight: 600; }
@media (max-width: 760px) { .tausch-ruhig__paar { grid-template-columns: 1fr; } }

/* ---------- Preise ---------- */
.preise { padding: clamp(6rem, 10vw, 10rem) var(--fuge) 0; }
.tabelle { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--modul); table-layout: fixed; }
.tabelle th, .tabelle td { text-align: left; vertical-align: top; padding: 1.15rem 1.25rem; font-size: clamp(1.0625rem, .9rem + .45vw, 1.375rem); line-height: 1.3; }
.tabelle thead th { font-size: clamp(1.4rem, 1rem + 1.4vw, 2.6rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1.05; padding-top: 1.5rem; padding-bottom: 1.5rem; }
.tabelle thead th span { display: block; font-weight: 400; margin-top: .4rem; }
.tabelle thead th:first-child { width: 33%; }
.tabelle thead h2 { font-size: clamp(1.9rem, 1rem + 2.2vw, 3.2rem); }
.tabelle tbody th { font-weight: 600; }
.tabelle tbody tr:nth-child(odd) th, .tabelle tbody tr:nth-child(odd) td { background: var(--modul-2); }
.tabelle .ist-schwerpunkt { background: var(--blau) !important; color: #fff; }
.tabelle .ist-schwerpunkt .knopf { background: #fff; color: var(--blau-tief); }
.tabelle__knopf td, .tabelle__knopf th { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.tabelle .knopf { width: 100%; }
.tabelle__link { font-weight: 600; color: var(--tinte); text-decoration: underline; text-decoration-color: var(--blau); text-decoration-thickness: 2px; text-underline-offset: .25em; }
.tabelle__link:hover { text-decoration-thickness: 3px; }
.preise__handy { display: none; }
@media (max-width: 860px) {
  .preise .tabelle { display: none; }
  .preise__handy { display: grid; gap: var(--fuge); }
  .preise__handy-titel { background: var(--modul); padding: 1.4rem 1rem 1rem; font-size: 2rem; font-weight: 600; letter-spacing: -0.03em; line-height: 1.05; }
  .preisblock { background: var(--modul); padding: 1.1rem 1rem 1.2rem; }
  .preisblock h3 { font-size: 1.5rem; line-height: 1.1; letter-spacing: -0.02em; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .2rem 1rem; }
  .preisblock h3 span { font-weight: 600; white-space: nowrap; }
  .preisblock dl { display: grid; grid-template-columns: 7.2rem minmax(0, 1fr); gap: .45rem 1rem; margin-top: .9rem; font-size: 1rem; line-height: 1.35; }
  .preisblock dt { font-weight: 600; }
  .preisblock--schwerpunkt { background: var(--blau); color: #fff; }
  .preise__handy .knopf { justify-content: center; }
}
.preise__hinweis { margin: 1rem 1.25rem 0; font-size: var(--s-klein); color: var(--tinte-2); max-width: 70ch; }
@media (max-width: 860px) {
  .tabelle, .tabelle thead, .tabelle tbody, .tabelle tr, .tabelle th, .tabelle td { display: block; width: auto !important; }
  .tabelle thead tr { display: grid; grid-template-columns: 1fr; }
  .tabelle thead th:not(:first-child) { display: none; }
  .tabelle tbody tr { display: grid; grid-template-columns: 1fr 1fr 1fr; }
  .tabelle tbody th { grid-column: 1 / -1; padding-bottom: .3rem; }
  .tabelle tbody td { font-size: .9375rem; padding: .5rem .7rem 1rem; }
  .tabelle tbody tr:first-child::before { content: none; }
}
@media (max-width: 860px) {
  .preise .tabelle tbody td::before { display: block; font-size: .8125rem; font-weight: 600; opacity: .8; margin-bottom: .2rem; }
  .preise .tabelle tbody td:nth-of-type(1)::before { content: "Zählerschrank ab 2.200 €"; }
  .preise .tabelle tbody td:nth-of-type(2)::before { content: "Altbau 70 m² ab 6.900 €"; }
  .preise .tabelle tbody td:nth-of-type(3)::before { content: "Wallbox ab 1.400 €"; }
  .preise .tabelle tbody tr.tabelle__knopf td::before { content: none; }
  .preise .tabelle tbody tr.tabelle__knopf { grid-template-columns: 1fr; }
  .preise .tabelle tbody tr.tabelle__knopf td:not(.ist-schwerpunkt) { display: none; }
  .tabelle tbody tr > * { min-width: 0; overflow-wrap: normal; hyphens: auto; }
}

/* ---------- Fragen: Bahnen ---------- */
.fragen { margin: clamp(6rem, 10vw, 10rem) var(--fuge) 0; display: grid; gap: var(--fuge); }
.bahn { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 1.5rem; padding: 3rem clamp(1rem, 3vw, 2.5rem); background: var(--modul); }
.bahn:nth-child(odd) { background: var(--modul-2); }
.bahn h3 { grid-column: 1 / 6; font-size: clamp(1.45rem, 1rem + 1.1vw, 2rem); }
.bahn p { grid-column: 7 / 13; font-size: 1.125rem; line-height: 1.5; max-width: 52ch; }
.bahn--titel { background: var(--grund) !important; padding-top: var(--abstand); }
.bahn--titel h2 { grid-column: 1 / -1; font-size: clamp(2.6rem, 1rem + 4.4vw, 5.4rem); }
@media (max-width: 860px) {
  .bahn { grid-template-columns: 1fr; padding: 2rem 1.25rem; row-gap: .75rem; }
  .bahn h3, .bahn p { grid-column: 1; }
  .bahn h3 { font-size: 1.375rem; }
  .bahn p { font-size: 1.0625rem; }
  .bahn--titel h2 { font-size: 2.6rem; }
}

/* ---------- Rückruf ---------- */
.rueckruf { margin: var(--fuge); background: var(--blau); color: #fff; padding: 2rem 0 3.5rem; display: grid; align-content: start; overflow: hidden; }
@keyframes lauf { to { transform: translateX(-50%); } }
.rueckruf__kopf { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1rem 2rem; margin: 4.5rem clamp(1rem, 3vw, 2.5rem) 2.5rem; }
.rueckruf h2 { color: #fff; }
.rueckruf__direkt { font-size: clamp(1.4rem, 1rem + 1.6vw, 2.6rem); font-weight: 600; letter-spacing: -0.02em; text-decoration: none; display: flex; align-items: center; gap: .6rem; }
.rueckruf__direkt svg { width: 1em; height: 1em; }
.rueckruf__direkt:hover { text-decoration: underline; }
.leiste3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--fuge); margin: 0 clamp(1rem, 3vw, 2.5rem); }
.leiste3 label { display: block; }
.leiste3 input, .leiste3 button { width: 100%; height: 96px; border: 0; border-radius: 0; font: 500 1.125rem var(--schrift); text-align: center; }
.leiste3 label { position: relative; background: var(--modul); }
.leiste3__name { position: absolute; left: 1rem; top: .75rem; font-size: .875rem; font-weight: 600; color: var(--tinte-2); pointer-events: none; }
.leiste3 input { background: var(--modul); color: var(--tinte); text-align: left; padding: 1.7rem 1rem 0; }
.leiste3 input:focus { background: #fff; }
.leiste3 input:focus-visible, .leiste3 button:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.leiste3 input[aria-invalid="true"] { background: #fff; color: var(--tinte); border-bottom: 4px solid var(--braun); }
.leiste3 button { background: var(--schwarz); color: #fff; font-weight: 600; cursor: pointer; transition: background-color 180ms var(--raus); }
.leiste3 button:hover { background: #000; }
.rueckruf__klein { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--fuge); margin-top: .9rem; font-size: var(--s-klein); }
.rueckruf__klein p:first-child { grid-column: 1 / 3; max-width: 60ch; }
.rueckruf__klein p:last-child { grid-column: 3; }
.rueckruf a { color: #fff; }
@media (max-width: 760px) {
  .rueckruf { min-height: 0; }
  .rueckruf__kopf { margin-top: 3rem; }
  .rueckruf h2 { font-size: 9vw; }
  .leiste3 { grid-template-columns: 1fr; }
  .leiste3 input, .leiste3 button { height: 68px; }
  .rueckruf__klein { grid-template-columns: 1fr; }
  .rueckruf__klein p:first-child, .rueckruf__klein p:last-child { grid-column: 1; }
}

/* ---------- Fuß: ruhig, fünf Adern als einzige Linie ---------- */
.fuss { background: #2A2C2A; color: var(--hell); padding: clamp(4rem, 9vh, 6rem) clamp(1rem, 3vw, 2.5rem) calc(2.5rem + env(safe-area-inset-bottom)); display: grid; gap: clamp(2rem, 5vh, 3rem); margin-top: var(--fuge); }
.fuss__oben { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 1rem 4rem; align-items: end; }
.fuss__satz { font-size: clamp(1.9rem, 1.2rem + 1.6vw, 2.4rem); font-weight: 600; letter-spacing: -0.04em; line-height: .95; }
.fuss__not { display: grid; gap: .3rem; }
.fuss__not a { font-size: clamp(1.6rem, 1.1rem + 1.6vw, 2.6rem); font-weight: 600; letter-spacing: -0.02em; color: #fff; text-decoration: none; }
.fuss__not a:hover { text-decoration: underline; text-decoration-color: var(--blau); }
.fuss__not span { color: #B9BDB8; }
.fuss__oben { padding-bottom: clamp(.5rem, 2vh, 1rem); }
.fuss__spalten { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; font-size: 1rem; line-height: 1.6; }
.fuss__k { font-weight: 700; color: #B9BDB8; margin-bottom: .3rem; }
.fuss__spalten nav { display: grid; align-content: start; }
.fuss__spalten a { color: var(--hell); text-decoration-color: var(--blau); text-underline-offset: .25em; }
.fuss__entwurf { font-size: .875rem; color: #B9BDB8; padding-right: 15rem; }
@media (max-width: 860px) {
  .fuss { padding-bottom: calc(6.5rem + env(safe-area-inset-bottom)); }
  .fuss__oben { grid-template-columns: 1fr; }
  .fuss__spalten { grid-template-columns: 1fr 1fr; }
  .fuss__entwurf { padding-right: 0; }
}
@media (max-width: 420px) { .fuss__spalten { grid-template-columns: 1fr; } }

/* ---------- Handy-Leiste aus Kacheln ---------- */
.leiste { display: none; }
@media (max-width: 860px) {
  .leiste { position: fixed; z-index: 55; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--fuge); padding: var(--fuge) var(--fuge) calc(var(--fuge) + env(safe-area-inset-bottom)); background: var(--grund); }
  .leiste a, .leiste button { all: unset; display: grid; justify-items: center; align-content: center; gap: 2px; min-height: 52px; background: var(--modul); font-size: .8125rem; font-weight: 600; cursor: pointer; text-align: center; }
  .leiste a:first-child { background: var(--blau); color: #fff; }
  .leiste svg { width: 1.3rem; height: 1.3rem; }
  .leiste small { font-size: .75rem; color: var(--tinte-2); }
  .leiste a:focus-visible, .leiste button:focus-visible { outline: 3px solid var(--blau); outline-offset: -3px; }
}

/* ---------- Opener: Abisolieren ---------- */
.opener { display: none; }
.opener-an .opener { display: grid; position: fixed; inset: 0; z-index: 200; place-items: center; background: var(--schwarz); color: var(--hell); }
.opener-an body { overflow: hidden; }
.opener__buehne { width: min(88vw, 60rem); display: grid; gap: 1.4rem; }
.opener__name { font-size: clamp(4rem, 2rem + 9vw, 10rem); font-weight: 600; letter-spacing: -0.05em; line-height: .85; font-variation-settings: "opsz" 96; }
.opener__kabel { width: 100%; height: auto; overflow: visible; }
.ok__druck { font: 600 18px var(--schrift); fill: #8A8F89; letter-spacing: .08em; }
.opener__zeile { font-size: 1.0625rem; color: #A9AEA8; font-weight: 500; }

/* ---------- Paketfenster in der Board-Welt ---------- */
.pf { --pf-flaeche: var(--modul); --pf-hover: var(--modul-2); --pf-tinte: var(--tinte); --pf-tinte-2: var(--tinte-2);
  --pf-akzent: var(--blau); --pf-akzent-tief: var(--blau-tief); --pf-akzent-tinte: #fff;
  --pf-radius: 0; --pf-rand: 2px; --pf-linie: 2px; --pf-schrift: "Bricolage Grotesque", sans-serif; --pf-schrift-text: "Bricolage Grotesque", sans-serif;
  --pf-oben: var(--kopf-h); --pf-unten-hand: 5.2rem; }
.pf__griff { box-shadow: none; } /* taste-skill-ignore: hebt nur den Schatten des Bausteins auf */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; }
}

@media (max-width: 520px) {
  .preise .tabelle tbody tr { grid-template-columns: 1fr; }
  .preise .tabelle tbody td { padding: .55rem 1rem; }
  .preise .tabelle tbody th { padding: 1rem 1rem .2rem; }
}

@media (max-width: 520px) {
  .vt-reihe { min-height: 96px; }
  .vt-m small { writing-mode: vertical-rl; transform: rotate(180deg); white-space: nowrap; font-size: 11px; max-height: 62px; overflow: hidden; }
  .tk--pe p { padding: .35rem .45rem; font-size: .8125rem; }
}
@media (max-width: 1000px) {
}

@media (max-width: 860px) { .tk__satz { font-size: .875rem !important; } }
