/* wasserschaden-aschaffenburg.de – Neubau C „Noch nicht.“ (Stufe B1, 19.11.2026)
   Eine Datei für alle Seiten. Farben und Maße nur aus :root. Ruhige Skala (Wunsch Max 20.11.: „zu viele Schriftgrößen“): mobil 14 · 16 · 18 · 24 · 32, Desktop 14 · 16 · 18 · 22 · 36 · 56.
   H1, H2 und Frame-Überschriften teilen sich die größte Stufe; 14 nur für Bildunterschriften/Rechtliches, Formular 13/15 nach UI-Regel. Gewichte 400/600/800. Orange nur: Strich der Wortmarke, Logo, Belohnungsstrich im Werkzeug.
   Regel für Flächen: Tiefblau glatt wie die Plane (Abgleich Plakat 19.11.); dann je fertiger, desto glatter (Zementkorn → Putzkorn → feines Korn → Weiß glatt). */

@font-face { font-family: Inter; src: url("inter.woff2") format("woff2"); font-weight: 400 800; font-display: swap; }
@font-face { font-family: "Inter Ersatz"; src: local("Arial"); size-adjust: 107%; ascent-override: 90%; descent-override: 22%; line-gap-override: 0%; }

:root {
  --kalk: #F4F1EA; --kalk-dunkel: #E8E4DB; --weiss: #FFFFFF;
  --graphit: #1D1B20; --graphit-leise: #4A4650;
  --linie: rgb(29 27 32 / .18); --linie-hell: rgb(244 241 234 / .3);
  --tiefblau: #14306A; --tiefblau-tief: #0E2350; --blau-leise: #C9D3E8;
  --estrich: #4E5257; --estrich-leise: #D6D2CA; --rohputz: #C7BFB0; --kalkgrau: #DDD8CE;
  --orange: #F7A600; --orange-text: #8F5A00; --gruen: #056A3F;
  --rahmen: #79747E; --fehler: #B3261E;
  --rand: 20px; --kopf: 64px; --leiste: 64px; --abstand: 64px; --max: 1200px; --radius: 8px;
  --dauer: 240ms; --kurve: cubic-bezier(.2, .7, .2, 1);
  --kante: max(var(--rand), calc(50vw - var(--max) / 2));
  color-scheme: light;
}
@media (min-width: 768px) { :root { --rand: 40px; --abstand: 96px; } }
@media (min-width: 1024px) { :root { --kopf: 72px; --leiste: 0px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--kopf) + 8px); scroll-padding-bottom: calc(var(--leiste) + 8px); }
body { margin: 0; background: var(--kalk); color: var(--graphit); font: 400 18px/1.55 Inter, "Inter Ersatz", system-ui, sans-serif; padding-bottom: var(--leiste); }
img, svg, picture { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, figure, blockquote, fieldset, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
a { color: inherit; text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--graphit); outline-offset: 2px; box-shadow: 0 0 0 7px var(--orange); border-radius: 2px; }
.dunkel :focus-visible, .kopf :focus-visible, .fuss :focus-visible, .maler :focus-visible { outline-color: var(--kalk); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nowrap { white-space: nowrap; }

h1, .h1 { font-size: 32px; line-height: 1.05; font-weight: 800; letter-spacing: -.02em; text-wrap: balance; hyphens: manual; }
h2, .h2 { font-size: 32px; line-height: 1.1; font-weight: 800; letter-spacing: -.01em; text-wrap: balance; }
h3, .h3 { font-size: 18px; line-height: 1.4; font-weight: 600; }
.g14 { font-size: 14px; line-height: 1.5; } .g16 { font-size: 16px; line-height: 1.5; } .g22 { font-size: 18px; line-height: 1.5; }
@media (min-width: 1024px) { h1, .h1 { font-size: 56px; } h2, .h2 { font-size: 36px; } .g22 { font-size: 22px; line-height: 1.45; } }
p + p { margin-top: 1em; }
strong, b { font-weight: 600; }
.h1-klein { display: block; font-size: 16px; line-height: 1.4; font-weight: 600; letter-spacing: 0; margin-bottom: 8px; }
@media (min-width: 1024px) { .h1-klein { font-size: 18px; margin-bottom: 12px; } }

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

/* ---------- Knöpfe und Wege (Knöpfe immer Tiefblau; auf Tiefblau Kalk mit Tiefblau-Schrift) ---------- */
.knopf { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 12px 24px; border: 0; border-radius: var(--radius);
  background: var(--tiefblau); color: var(--kalk); font: 600 18px/1.2 Inter, "Inter Ersatz", system-ui, sans-serif; text-decoration: none; text-align: center; cursor: pointer; }
.knopf:hover { background: var(--tiefblau-tief); }
.knopf svg { width: 20px; height: 20px; flex: none; }
.knopf-rand { background: transparent; color: var(--tiefblau); box-shadow: inset 0 0 0 2px var(--tiefblau); }
.knopf-rand:hover { background: rgb(20 48 106 / .08); }
.knopf-hell, .dunkel .knopf { background: var(--kalk); color: var(--tiefblau); }
.knopf-hell:hover, .dunkel .knopf:hover { background: var(--weiss); }
.weg { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; font-weight: 600; }
.weg svg { width: 20px; height: 20px; flex: none; }
.pfeil { display: inline-block; }

/* ---------- Telefon ---------- */
.tel-block { display: grid; }
.tel-label { font-size: 16px; font-weight: 600; }
.tel-gross { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; width: fit-content; font-size: 24px; line-height: 1.15; font-weight: 800;
  letter-spacing: -.01em; color: var(--tiefblau); text-decoration-thickness: 2px; }
.tel-gross svg { width: 26px; height: 26px; flex: none; }
.dunkel .tel-gross, .flaeche-blau .tel-gross, .lkopf-blau .tel-gross { color: var(--kalk); }
.dunkel .tel-label, .flaeche-blau .tel-label, .lkopf-blau .tel-label { color: var(--blau-leise); }
@media (min-width: 1024px) { .tel-gross { font-size: 36px; } .tel-gross svg { width: 34px; height: 34px; } }

/* ---------- Kopf ---------- */
.skip { position: absolute; left: 8px; top: -100px; z-index: 60; background: var(--kalk); color: var(--graphit); padding: 12px 16px; font-weight: 600; }
.skip:focus { top: 8px; }
.kopf { position: sticky; top: 0; z-index: 40; height: var(--kopf); background: var(--tiefblau); color: var(--kalk); border-bottom: 1px solid var(--linie-hell); }
.kopf-zeile { height: 100%; display: flex; align-items: center; gap: 12px; }
.kopf-heim { position: relative; display: flex; align-items: center; gap: 16px; min-height: 48px; text-decoration: none; flex: none; }
.kopf-logo { width: 112px; height: auto; }
.kopf-trenn { width: 1px; height: 32px; background: var(--linie-hell); display: none; }
.kopf-marke { width: 147px; height: auto; }
.kopf-nav, .kopf-tel, .kopf-knopf { display: none; }
/* mobil: Startseite zeigt das Logo, nach der Plane blendet die Wortmarke an seiner Stelle ein; Unterseiten zeigen die Wortmarke */
.kopf .kopf-logo { display: none; }
.s-start .kopf .kopf-logo { display: block; transition: opacity var(--dauer) var(--kurve); }
.s-start .kopf .kopf-marke { position: absolute; left: 0; opacity: 0; transition: opacity var(--dauer) var(--kurve); }
.s-start .kopf.marke-an .kopf-marke { opacity: 1; }
.s-start .kopf.marke-an .kopf-logo { opacity: 0; }
html:not(.js) .s-start .kopf .kopf-marke { display: none; }
.menue { margin-left: auto; }
.menue > summary { list-style: none; display: flex; align-items: center; gap: 8px; min-height: 48px; min-width: 48px; padding: 0 4px; margin-right: -4px; cursor: pointer; font-weight: 600; font-size: 18px; }
.menue > summary::-webkit-details-marker { display: none; }
.menue > summary svg { width: 24px; height: 24px; }
.menue[open] .m-auf, .menue:not([open]) .m-zu { display: none; }
.menue-feld { position: fixed; left: 0; right: 0; top: var(--kopf); bottom: 0; overflow-y: auto; background: var(--kalk); color: var(--graphit);
  padding: 16px var(--rand) 112px; border-top: 1px solid var(--linie); }
.menue-feld a { display: flex; align-items: center; min-height: 48px; text-decoration: none; font-weight: 600; }
.menue-feld a:hover { text-decoration: underline; }
.menue-feld .unter a { font-weight: 400; padding-left: 20px; min-height: 44px; }
.menue-feld .trenner { border-top: 1px solid var(--linie); margin-top: 8px; padding-top: 8px; }
.menue-feld .knopf { margin-top: 16px; width: 100%; color: var(--kalk); }
.menue-feld .menue-tel { margin-top: 8px; font-weight: 800; color: var(--tiefblau); }
@media (min-width: 400px) { .kopf-logo { width: 124px; } }
@media (min-width: 1024px) {
  .kopf .kopf-logo, .s-start .kopf .kopf-logo { display: block; width: 120px; opacity: 1; }
  .kopf-trenn { display: block; }
  .kopf .kopf-marke, .s-start .kopf .kopf-marke { position: static; width: 147px; }
  html:not(.js) .s-start .kopf .kopf-marke { display: block; }
  .s-start .kopf .kopf-marke { opacity: 0; }
  .s-start .kopf.marke-an .kopf-logo { opacity: 1; }
  .kopf-tel { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; margin-left: auto; font-weight: 800; font-size: 18px; text-decoration: none; white-space: nowrap; }
  .kopf-tel svg { width: 20px; height: 20px; }
  .kopf-tel:hover { text-decoration: underline; }
  .kopf-knopf { display: inline-flex; min-height: 48px; padding: 8px 20px; font-size: 16px; background: var(--kalk); color: var(--tiefblau); white-space: nowrap; }
  .kopf-knopf:hover { background: var(--weiss); }
  .menue { margin-left: 8px; order: 9; }
}
@media (min-width: 1280px) {
  .menue { display: none; }
  .kopf-nav { display: flex; gap: 4px 20px; margin-left: 12px; }
  .kopf-nav a { display: inline-flex; align-items: center; min-height: 48px; font-size: 16px; font-weight: 600; text-decoration: none; white-space: nowrap; }
  .kopf-nav a:hover, .kopf-nav a[aria-current] { text-decoration: underline; text-underline-offset: 6px; }
}

/* ---------- Leiste mobil (immer sichtbar, nie abgefangen) ---------- */
.leiste { position: fixed; z-index: 45; left: 0; right: 0; bottom: 0; height: var(--leiste); display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  padding: 6px var(--rand); background: var(--kalk); border-top: 1px solid var(--linie); }
.leiste .knopf { min-height: 52px; padding: 6px 8px; font-size: 16px; gap: 8px; white-space: nowrap; }
@media (min-width: 1024px) { .leiste { display: none; } }

/* ---------- Plane (Startseite) ---------- */
.flaeche-blau { background: var(--tiefblau); color: var(--kalk); }
.plane-raster { display: grid; padding-block: 32px 40px; }
.plane-marke { width: min(100%, 420px); height: auto; }
.plane-raster { min-height: calc(100svh - var(--kopf) - var(--leiste) - 132px); align-content: center; }
.plane h1 { color: var(--weiss); margin-top: 28px; font-size: 32px; }   /* mobil eine Stufe unter der Wortmarke (Abgleich Plakat) */
.plane .h1-ort { display: block; margin-top: 16px; font-size: 18px; line-height: 1.45; font-weight: 400; letter-spacing: 0; color: var(--blau-leise); }
.plane-kontakt { margin-top: 14px; display: flex; flex-wrap: wrap; align-items: flex-end; gap: 16px 32px; }
.plane-knopf { display: none; }
.plane-satz { margin-top: 10px; font-size: 17px; line-height: 1.45; color: var(--blau-leise); max-width: 34em; }
.plane-hilfe { display: inline-block; padding-block: 10px; margin-top: 2px; font-size: 17px; line-height: 1.4; font-weight: 600; color: var(--kalk); text-decoration-thickness: 2px; }
.plane-logo { display: none; }
.band { background: var(--weiss); color: var(--tiefblau); border-bottom: 1px solid var(--linie); }
.band-raster { padding-block: 12px 14px; }
.band-ort { font-size: 24px; line-height: 1.15; font-weight: 600; letter-spacing: -.01em; padding-bottom: 6px; }
.band-ort strong { font-weight: 800; white-space: nowrap; }
.band-gross { display: block; font-size: 18px; line-height: 1.35; font-weight: 600; letter-spacing: -.01em; }
.band-klein { display: block; margin-top: 4px; font-size: 16px; line-height: 1.4; color: var(--graphit); }
.band.mit-ort .band-gross { font-size: 16px; color: var(--graphit); font-weight: 600; }
@media (min-width: 1024px) {
  .plane-raster { grid-template-columns: minmax(0, 1fr) auto; column-gap: 48px; padding-block: 40px 30px; }
  .plane-raster > * { grid-column: 1; }
  .plane-marke { width: min(880px, 62vw); }
  .plane h1 { margin-top: 40px; max-width: 16em; font-size: 56px; }
  .plane .h1-ort { margin-top: 20px; font-size: 22px; }
  .plane-raster { min-height: 0; padding-block: 56px 48px; }
  .plane-kontakt { margin-top: 22px; }
  .plane-knopf { display: inline-flex; margin-bottom: 4px; }
  .plane-satz { font-size: 22px; line-height: 1.4; margin-top: 14px; }
  .plane-hilfe { font-size: 18px; }
  .plane-logo { display: block; grid-column: 2; grid-row: 1 / span 2; align-self: end; width: 200px; height: auto; }
  .band-raster { min-height: 96px; display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-block: 16px; }
  .band-gross { font-size: 22px; }
  .band-ort { font-size: 36px; padding: 0; }
  .band.mit-ort .band-raster { justify-content: flex-start; align-items: baseline; }
  .band.mit-ort .band-absender { margin-left: auto; text-align: right; }
}

/* ---------- Erste Hilfe (normaler Abschnitt, nie im Einrasten) ---------- */
.hilfe { background: var(--kalk); }
.hilfe h2 { color: var(--tiefblau); }
.hilfe-raster { display: grid; gap: 20px; }
.hilfe { padding-block: 40px; }
@media (min-width: 768px) { .hilfe { padding-block: var(--abstand); } }
.hilfe-gefahr { margin-top: 16px; }
.hilfe-gefahr strong { font-weight: 800; }
.zitat { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--linie); }
.zitat blockquote { font-size: 18px; line-height: 1.4; font-weight: 600; color: var(--graphit); }
.zitat figcaption { margin-top: 8px; font-size: 16px; color: var(--graphit-leise); }
.freigabe { display: inline-block; margin-top: 6px; font-size: 14px; font-weight: 600; color: var(--orange-text); }
.dunkel .freigabe { color: var(--orange); }
.nummern { counter-reset: n; }
.nummern > li { position: relative; padding: 10px 0 10px 40px; border-top: 1px solid var(--linie); }
.nummern > li:last-child { border-bottom: 1px solid var(--linie); }
.nummern > li::before { counter-increment: n; content: counter(n); position: absolute; left: 0; top: 4px; font-size: 24px; font-weight: 800; color: var(--tiefblau); }
.nummern h3 { margin-bottom: 2px; }
.nummern p { font-size: 16px; }
.hilfe-mieter { margin-top: 16px; font-size: 16px; }
.angaben { margin-top: 28px; }
.angaben h3 { font-size: 18px; }
.angaben p { margin-top: 4px; font-size: 16px; color: var(--graphit-leise); }
.hilfe-wege { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 0 28px; }
@media (min-width: 1024px) {
  .hilfe-raster { grid-template-columns: repeat(12, 1fr); gap: 24px; }
  .hilfe-links { grid-column: 1 / span 5; }
  .hilfe-rechts { grid-column: 7 / span 6; }
}

/* ---------- Frames (Rastzone der Startseite) ---------- */
.frame { position: relative; display: flex; flex-direction: column; }
.frame-text { padding: 24px var(--rand) 32px; display: flex; flex-direction: column; }
.frame-bild { position: relative; order: -1; height: 36svh; min-height: 200px; max-height: 400px; overflow: hidden; background: var(--kalk-dunkel); }
.frame-bild > picture, .frame-bild > picture img, .frame-bild .wz-buehne { position: absolute; inset: 0; width: 100%; height: 100%; }
.frame-bild img { object-fit: cover; }
.zaehler { font-size: 16px; font-weight: 600; }
.frame h2 { font-size: 32px; line-height: 1.05; letter-spacing: -.02em; margin-top: 10px; }
.frame-satz { margin-top: 12px; font-size: 16px; line-height: 1.5; max-width: 32em; }
.frame-wege { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 0 28px; }
.ueberspringen { align-self: flex-start; display: inline-flex; align-items: center; min-height: 44px; font-size: 16px; font-weight: 600; margin-top: 4px; }
.f-blau { background: var(--tiefblau); color: var(--kalk); }
.f-blau .frame-satz, .f-blau .zaehler { color: var(--blau-leise); }
.f-estrich { background: var(--estrich) url("zement.svg"); color: var(--kalk); }
.f-estrich .frame-satz, .f-estrich .zaehler { color: var(--estrich-leise); }
.f-putz { background: var(--rohputz) url("putz.svg"); color: var(--graphit); }
.f-kalk { background: var(--kalkgrau) url("korn-fein.svg"); color: var(--graphit); }
.f-kalk h2 { color: var(--tiefblau); }
.f-weiss { background: var(--weiss); color: var(--graphit); }
.f-weiss h2 { color: var(--tiefblau); }
.beleg { margin-top: 16px; font-size: 16px; }
.beleg strong { font-weight: 800; }
/* Frame 5: echtes Einsatzfoto, gerahmt statt randabfallend (bleibt ein Foto) */
.einsatz { margin: 0; }
.einsatz img { width: 100%; height: auto; }
.einsatz figcaption { margin-top: 8px; font-size: 14px; color: var(--graphit-leise); }
.f-weiss .frame-bild { display: none; }
.f-weiss .einsatz { order: -1; }
.f-weiss .einsatz figcaption { padding: 0 var(--rand); }
@media (min-width: 1024px) {
  .frame { display: grid; grid-template-columns: 1fr 1fr; min-height: calc(100svh - var(--kopf)); }
  .frame-text { padding: 48px 56px 40px var(--kante); justify-content: center; }
  .frame-bild { order: 0; height: auto; max-height: none; min-height: 0; }
  .frame h2 { font-size: 56px; }
  .frame-satz { font-size: 22px; line-height: 1.45; }
  .f-weiss { grid-template-columns: 1fr 1fr; }
  .f-weiss .einsatz { order: 0; margin: 0; align-self: center; padding: 64px var(--kante) 64px 24px; }
  .f-weiss .einsatz figcaption { padding: 0; }
}

/* ---------- Werkzeug (Beispielwand, Boden): Bilder deckungsgleich übereinander ---------- */
.wz-buehne { position: relative; overflow: hidden; }
.wz-ebene, .wz-schicht { position: absolute; inset: 0; }
.wz-ebene picture, .wz-schicht picture { display: block; width: 100%; height: 100%; }
.wz-ebene img, .wz-schicht img { width: 100%; height: 100%; object-fit: cover; }
.wz-ebene { opacity: 0; }
.wz-ebene.an { opacity: 1; }
.wz-schicht { z-index: 3; }
.wz-noch { position: absolute; z-index: 5; left: 50%; top: 50%; transform: translate(-50%, -50%); padding: 12px 22px; background: var(--kalk); color: var(--tiefblau);
  font-size: 24px; line-height: 1.1; font-weight: 800; border-radius: var(--radius); opacity: 0; transition: opacity var(--dauer) var(--kurve); pointer-events: none; }
.wz-noch.an { opacity: 1; }
.wz-wahl { margin-top: 22px; }
.wz-wahl legend { font-size: 16px; font-weight: 600; margin-bottom: 10px; }
.wz-knoepfe { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.wz-knoepfe label { position: relative; display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 8px 12px; border-radius: var(--radius);
  box-shadow: inset 0 0 0 1.5px currentColor; cursor: pointer; font-size: 16px; line-height: 1.25; font-weight: 600; }
.wz-knoepfe input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.wz-ziffer { flex: none; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; box-shadow: inset 0 0 0 1.5px currentColor; font-weight: 800; font-size: 14px; }
.wz-knoepfe label:has(:checked) { box-shadow: inset 0 0 0 3px currentColor; }
.wz-knoepfe label:has(:checked) .wz-ziffer { background: currentColor; }
.wz-knoepfe label:has(:checked) .wz-ziffer span { color: var(--tiefblau); }
.f-weiss .wz-knoepfe label:has(:checked) .wz-ziffer span, .lese .wz-knoepfe label:has(:checked) .wz-ziffer span { color: var(--weiss); }
.wz-knoepfe label:has(:focus-visible) { outline: 3px solid currentColor; outline-offset: 2px; box-shadow: 0 0 0 7px var(--orange), inset 0 0 0 3px currentColor; }
.wz-saetze { margin-top: 16px; min-height: 3.1em; }
.wz-satz { display: none; font-size: 18px; line-height: 1.45; font-weight: 600; }
.wz-satz.an { display: block; }
html:not(.js) .wz-satz { display: none; }
.wz-live { font-size: 18px; line-height: 1.45; font-weight: 600; }
html:not(.js) .wz-live { display: none; }
.wz-strich { display: block; width: 168px; height: auto; margin-top: 6px; clip-path: inset(0 100% 0 0); }
.wz-strich.an { clip-path: inset(0 0 0 0); transition: clip-path 600ms cubic-bezier(.3, .6, .2, 1); }
.wz-hinweis { margin-top: 12px; font-size: 14px; }
.f-blau .wz-hinweis { color: var(--blau-leise); }
.wz-mehr[hidden] { display: none; }
/* ohne Skript: Auswahl schaltet per CSS sofort */
html:not(.js) [data-werkzeug]:has(input[value="1"]:checked) .wz-ebene[data-z="1"],
html:not(.js) [data-werkzeug]:has(input[value="2"]:checked) .wz-ebene[data-z="2"],
html:not(.js) [data-werkzeug]:has(input[value="3"]:checked) .wz-ebene[data-z="3"],
html:not(.js) [data-werkzeug]:has(input[value="4"]:checked) .wz-ebene[data-z="4"] { opacity: 1; z-index: 2; }
html:not(.js) [data-werkzeug]:has(input[value="1"]:checked) .wz-satz[data-z="1"],
html:not(.js) [data-werkzeug]:has(input[value="2"]:checked) .wz-satz[data-z="2"],
html:not(.js) [data-werkzeug]:has(input[value="3"]:checked) .wz-satz[data-z="3"],
html:not(.js) [data-werkzeug]:has(input[value="4"]:checked) .wz-satz[data-z="4"] { display: block; }
html:not(.js) [data-werkzeug]:has(input[value="4"]:checked) .wz-strich { clip-path: none; }
/* Handy: Bild bleibt oben stehen, solange Auswahl und Satz im Bild sind */
@media (max-width: 1023px) {
  .frame-wz .frame-bild { position: sticky; top: var(--kopf); z-index: 2; }
}

/* ---------- Schluss, Übergabe Maler, Fuß ---------- */
.schluss { background: var(--kalk); }
.schluss h2 { color: var(--tiefblau); }
.schluss p { margin-top: 12px; max-width: 36em; }
.schluss-zeile { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.schluss-wege { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 0 28px; }
.maler { background: var(--gruen); color: var(--kalk); padding-block: 18px; font-size: 16px; }
.maler a { color: var(--kalk); font-weight: 600; display: inline-flex; align-items: center; min-height: 44px; }
.fuss { background: var(--tiefblau-tief); color: var(--kalk); padding-block: 48px 24px; font-size: 16px; }
.fuss a { color: var(--kalk); }
.fuss-raster { display: grid; gap: 28px 16px; grid-template-columns: 1fr 1fr; }
.fuss-raster > .fuss-marke-spalte, .fuss-raster > .fuss-kontakt { grid-column: 1 / -1; }
.fuss h2 { font-size: 16px; line-height: 1.4; font-weight: 800; margin-bottom: 4px; letter-spacing: 0; }
.fuss-marke { width: 200px; height: auto; margin-bottom: 12px; }
.fuss li a { display: inline-flex; align-items: center; min-height: 40px; }
.fuss-kontakt p + p { margin-top: 10px; }
.fuss-tel { display: inline-flex; align-items: center; min-height: 44px; font-weight: 800; font-size: 24px; }
.fuss-leise { color: var(--blau-leise); }
.fuss-unten { margin-top: 32px; padding-top: 12px; border-top: 1px solid var(--linie-hell); display: flex; flex-wrap: wrap; gap: 0 22px; font-size: 14px; }
.fuss-unten a, .fuss-unten span { display: inline-flex; align-items: center; min-height: 44px; }
@media (min-width: 1024px) {
  .fuss-raster { grid-template-columns: 4fr 3fr 3fr 4fr; gap: 24px; }
  .fuss-raster > .fuss-marke-spalte, .fuss-raster > .fuss-kontakt { grid-column: auto; }
  .fuss-marke { width: 240px; }
}

/* ---------- Kopf der Unterseiten: kleine Plane ---------- */
.lkopf-blau { background: var(--tiefblau); color: var(--kalk); }
.lkopf-text { padding: 24px var(--rand) 32px; }
.lkopf h1 { color: var(--weiss); font-size: 32px; line-height: 1.08; overflow-wrap: break-word; hyphens: auto; }
.lkopf-satz { margin-top: 14px; font-size: 18px; line-height: 1.45; color: var(--blau-leise); max-width: 34em; }
.lkopf-kontakt { margin-top: 20px; display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 28px; }
.lkopf-kontakt .knopf { display: none; }
@media (max-width: 1023px) { .lkopf-kontakt { display: none; } }   /* mobil steht das Telefon in der Leiste */
.lkopf-hilfe { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 6px; font-weight: 600; color: var(--kalk); }
.lkopf-hilfe svg { width: 20px; height: 20px; flex: none; }
.lkopf-bild { position: relative; aspect-ratio: 4 / 3; max-height: 52svh; width: 100%; overflow: hidden; background: var(--kalk-dunkel); }
.lkopf-bild img { width: 100%; height: 100%; object-fit: cover; }
.band-zeile { padding-block: 6px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 24px; min-height: 64px; }
.brotkrumen ol { display: flex; flex-wrap: wrap; gap: 0 8px; font-size: 16px; color: var(--graphit); }
.brotkrumen li + li::before { content: "/"; margin-right: 8px; color: var(--graphit-leise); }
.brotkrumen a, .brotkrumen [aria-current] { display: inline-flex; align-items: center; min-height: 44px; }
.band-absender { font-size: 14px; color: var(--graphit); }
.band-absender strong { color: var(--tiefblau); }
@media (max-width: 767px) { .band-zeile .band-absender { display: none; } }
@media (min-width: 1024px) {
  .lkopf-blau { display: grid; grid-template-columns: 1fr 1fr; min-height: min(640px, calc(100svh - var(--kopf) - 64px)); }
  .lkopf-text { padding: 56px 56px 56px var(--kante); display: flex; flex-direction: column; justify-content: center; }
  .lkopf h1 { font-size: 56px; line-height: 1.05; }
  .lkopf-satz { font-size: 22px; }
  .lkopf-kontakt .knopf { display: inline-flex; margin-bottom: 4px; }
  .lkopf-bild { aspect-ratio: auto; max-height: none; height: 100%; }
  .lkopf-bild picture { position: absolute; inset: 0; }
  .lkopf-ohne-bild .lkopf-blau { display: block; min-height: 0; }
  .lkopf-ohne-bild .lkopf-text { padding: 56px var(--kante) 56px; max-width: none; }
  .lkopf-ohne-bild h1 { max-width: 18em; }
}

/* ---------- Inhalt der Unterseiten ---------- */
.inhalt { background: var(--kalk); padding-block: 48px var(--abstand); }
.lese { max-width: 46rem; }
.lese > * + * { margin-top: 1em; }
.lese h2 { hyphens: auto; margin-top: 64px; margin-bottom: 4px; color: var(--tiefblau); }
.lese > h2:first-child { margin-top: 0; }
.lese h3 { margin-top: 28px; }
.lese h2 + h3 { margin-top: 16px; }
.lese h3 + p { margin-top: 4px; }
.einstieg { font-size: 18px; line-height: 1.55; }
@media (min-width: 1024px) { .einstieg { font-size: 22px; line-height: 1.45; } }
.punkte > li { position: relative; padding-left: 22px; }
.punkte > li + li { margin-top: 8px; }
.punkte > li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 8px; height: 8px; background: var(--tiefblau); border-radius: 50%; }
.schritte { counter-reset: s; }
.schritte > li { position: relative; padding: 16px 0 16px 56px; border-top: 1px solid var(--linie); }
.schritte > li:last-child { border-bottom: 1px solid var(--linie); }
.schritte > li::before { counter-increment: s; content: counter(s); position: absolute; left: 0; top: 12px; font-size: 24px; line-height: 1.2; font-weight: 800; color: var(--tiefblau); }
.schritte h3 { margin: 0 0 2px; }
.schritte p { margin: 0; }
.zeilen > div { padding: 14px 0; border-top: 1px solid var(--linie); }
.zeilen > div:last-child { border-bottom: 1px solid var(--linie); }
.zeilen h3 { margin: 0 0 2px; }
.zeilen p { margin: 0; font-size: 16px; }
.grenzen { background: var(--kalk-dunkel); padding: 24px; border-radius: 2px; }
.grenzen h2 { margin-top: 0; font-size: 24px; }
.lese .grenzen { margin-top: 64px; }
.fragen { margin-top: 12px; border-top: 1px solid var(--linie); }
.frage { border-bottom: 1px solid var(--linie); }
.frage summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding: 12px 0; cursor: pointer; font-weight: 600; }
.frage summary::-webkit-details-marker { display: none; }
.frage summary::after { content: ""; flex: none; width: 12px; height: 12px; border-right: 2px solid var(--tiefblau); border-bottom: 2px solid var(--tiefblau); transform: rotate(45deg) translate(-3px, -3px); }
.frage[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.frage-antwort { padding: 0 0 18px; }
.frage-antwort p + p { margin-top: .7em; }
.bild-inhalt { margin-top: 40px; }
.bild-inhalt img { width: 100%; height: auto; }
.bild-inhalt figcaption { margin-top: 8px; font-size: 14px; color: var(--graphit-leise); }
.passt { margin-top: 64px; }
.passt h2 { font-size: 24px; }
.passt ul { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 0 28px; }
/* Werkzeug auf Unterseiten (heller Grund) */
.wz-feld { margin-top: 40px; color: var(--tiefblau); }
.wz-feld .wz-buehne { aspect-ratio: 4 / 3; }
.wz-feld .wz-satz, .wz-feld .wz-live { color: var(--graphit); }
.wz-feld .wz-hinweis { color: var(--graphit-leise); }
@media (max-width: 1023px) { .wz-feld .wz-buehne { position: sticky; top: var(--kopf); z-index: 2; } }
@media (min-width: 1024px) {
  .inhalt-raster { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
  .inhalt-raster .lese { grid-column: 1 / span 8; }
  .wz-feld { display: grid; grid-template-columns: 7fr 5fr; gap: 32px; align-items: start; max-width: none; }
}

/* Bodenschnitt (einzige Fachzeichnung, Beschriftung als HTML) */
.schnitt { margin-top: 32px; }
.schnitt svg { width: 100%; height: auto; }
.schnitt-legende { margin-top: 12px; display: grid; gap: 4px; font-size: 16px; }
.schnitt-legende span::before { content: ""; display: inline-block; width: 14px; height: 14px; margin-right: 8px; vertical-align: -2px; box-shadow: inset 0 0 0 1px #6E6A72; }
.lg-belag::before { background: #B98E5C; } .lg-estrich::before { background: #A9A59D; } .lg-daemm::before { background: #6B6253; } .lg-decke::before { background: #E3DED3; }

/* Ablauf: Beispielwand als Standbilder */
.ablauf-bilder { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ablauf-bilder img { width: 100%; height: auto; }
.ablauf-bilder p { margin-top: 4px; font-weight: 600; }
@media (min-width: 1024px) { .ablauf-bilder { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Leistungsübersicht ---------- */
.leistungen-liste > li { display: grid; grid-template-columns: 112px 1fr; gap: 16px; align-items: center; padding: 16px 0; border-top: 1px solid var(--linie); }
.leistungen-liste > li:last-child { border-bottom: 1px solid var(--linie); }
.leistungen-liste img { width: 112px; height: 84px; object-fit: cover; }
.leistungen-liste a { font-weight: 800; font-size: 24px; color: var(--tiefblau); }
.leistungen-liste p { margin-top: 4px; font-size: 16px; }
@media (min-width: 768px) { .leistungen-liste > li { grid-template-columns: 200px 1fr; gap: 24px; } .leistungen-liste img { width: 200px; height: 150px; } }
.zwei-listen { display: grid; gap: 24px; margin-top: 16px; }
@media (min-width: 768px) { .zwei-listen { grid-template-columns: 1fr 1fr; } }

/* ---------- Formular (Ansicht, sendet nichts) ---------- */
.formular { max-width: 560px; }
.vorschau-hinweis { padding: 12px 16px; background: var(--kalk-dunkel); color: var(--graphit); font-size: 16px; font-weight: 600; }
.schritt-zeile { margin-top: 24px; font-size: 16px; font-weight: 600; color: var(--graphit-leise); }
.feld { margin-top: 24px; }
.feld label, .gruppe legend { display: block; font-size: 15px; font-weight: 600; margin-bottom: 8px; }
.feld input, .feld textarea, .feld select { display: block; width: 100%; min-height: 48px; padding: 10px 14px; border: 1.5px solid var(--rahmen); border-radius: 12px;
  background: var(--weiss); color: var(--graphit); font: 400 17px/1.4 Inter, "Inter Ersatz", system-ui, sans-serif; }
.feld textarea { min-height: 120px; }
.feld input:focus-visible, .feld textarea:focus-visible, .feld select:focus-visible { border-color: var(--graphit); }
.feld .kurz { max-width: 180px; }
.feld .hilfe-text { font-size: 13px; margin-top: 6px; color: var(--graphit-leise); }
.optional { font-weight: 400; color: var(--graphit-leise); }
.gruppe { margin-top: 24px; }
.wahl { display: flex; flex-wrap: wrap; gap: 8px; }
.wahl label { position: relative; display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 8px 16px; border-radius: var(--radius);
  background: var(--weiss); box-shadow: inset 0 0 0 1.5px var(--rahmen); cursor: pointer; font-weight: 600; font-size: 16px; }
.wahl input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.wahl .punkt { width: 20px; height: 20px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--graphit); flex: none; }
.wahl label:has(:checked) { box-shadow: inset 0 0 0 3px var(--tiefblau); }
.wahl label:has(:checked) .punkt { box-shadow: inset 0 0 0 6px var(--tiefblau); }
.wahl label:has(:focus-visible) { outline: 3px solid var(--graphit); outline-offset: 2px; box-shadow: 0 0 0 7px var(--orange); }
.haupthahn { margin-top: 12px; padding: 12px 16px; background: var(--kalk-dunkel); font-size: 16px; font-weight: 600; }
.haupthahn[hidden] { display: none; }
.formular .knopf { margin-top: 32px; }
.formular .danach { margin-top: 12px; font-size: 14px; color: var(--graphit-leise); }
.formular [data-antwort] { margin-top: 12px; font-size: 16px; font-weight: 600; }
.schritt2 { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--linie); }
.js .schritt2[hidden] { display: none; }
@media (max-width: 767px) { .formular .knopf { width: 100%; } }
.melden-raster { display: grid; gap: 32px; }
@media (min-width: 1024px) { .melden-raster { grid-template-columns: repeat(12, 1fr); gap: 24px; } .melden-raster > :first-child { grid-column: 1 / span 4; } .melden-raster > :last-child { grid-column: 6 / span 7; } }

/* ---------- Bewegung ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 1ms !important; animation: none !important; scroll-behavior: auto !important; }
  .wz-strich { clip-path: none; }
}

/* ---------- Kompakte Abschnitte (Wunsch Max 20.11.: weniger Text auf einmal) ----------
   Je Abschnitt: Überschrift + Kernsatz sichtbar, der Rest unter „Mehr dazu“. */
.lese > .sek { margin-top: 40px; padding-top: 40px; border-top: 1px solid var(--linie); }
.lese > .sek:first-child, .lese > .einstieg + .sek, .lese > .wz-feld + .sek { border-top: 0; padding-top: 0; }
.lese > .sek.grenzen { padding: 24px; border-top: 0; }
.sek > h2, .lese .sek > h2 { margin: 0; }
.sek > * + * { margin-top: 12px; }
.kern { font-size: 18px; line-height: 1.55; }
.mehr > summary { list-style: none; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; cursor: pointer; font-weight: 600; color: var(--tiefblau);
  text-decoration: underline; text-underline-offset: .18em; text-decoration-thickness: 1px; }
.mehr > summary::-webkit-details-marker { display: none; }
.mehr > summary::after { content: ""; width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translate(-2px, -2px); }
.mehr[open] > summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.mehr[open] > summary { margin-bottom: 4px; }
.mehr-text > * + * { margin-top: 1em; }
.mehr-text h3 { margin-top: 20px; }
.mehr-text .zeilen:first-child, .mehr-text .punkte:first-child { margin-top: 0; }
.bild-markus { max-width: 420px; }
.kleingedrucktes { margin-top: 48px; padding-top: 16px; border-top: 1px solid var(--linie); color: var(--graphit-leise); }
.kleingedrucktes p + p { margin-top: 4px; }
