/* bau-geld24.de. Farben aus dem Logo: Blau und Orange. Schrift vom Gerät, keine fremden Server. */
:root {
  --blau: #17428f;
  --blau-dunkel: #0f2b61;
  --blau-hell: #eaf0fa;
  --orange: #f26a0e;
  --orange-dunkel: #c85000;
  --orange-hell: #fff1e6;
  --text: #14233f;
  --grau: #56627a;
  --linie: #d7deea;
  --weiss: #fff;
  --creme: #f7f8fb;
  --radius: 14px;
  --schatten: 0 10px 30px rgba(15, 43, 97, .12);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif; font-size: 17px; line-height: 1.6; color: var(--text); background: var(--weiss); }
img, svg { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; color: var(--blau-dunkel); text-wrap: balance; }
h1 { font-size: clamp(2rem, 5vw, 3.3rem); font-weight: 800; letter-spacing: -.01em; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 800; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
a { color: var(--blau); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

.rahmen { width: min(1140px, 100% - 40px); margin-inline: auto; }
.schmal { max-width: 780px; }
.mitte { text-align: center; }
.sprung { position: absolute; left: -999px; top: 8px; background: var(--weiss); padding: 10px 16px; z-index: 100; }
.sprung:focus { left: 8px; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 24px; border: 0; border-radius: 999px; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s; }
.btn:hover { transform: translateY(-1px); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.btn-orange { background: var(--orange-dunkel); color: var(--weiss); box-shadow: 0 6px 18px rgba(184, 74, 0, .35); }
.btn-orange:hover { background: #9c3f00; }
.btn-blau { background: var(--blau); color: var(--weiss); }
.btn-gross { min-height: 58px; padding: 16px 34px; font-size: 1.1rem; }

.kopf { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--linie); }
.kopf-innen { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.kopf-logo img { width: 128px; }
.kopf-nav { display: flex; gap: 22px; margin-left: auto; }
.kopf-nav a { color: var(--text); text-decoration: none; font-weight: 600; padding: 12px 0; }
.kopf-nav a:hover { color: var(--orange-dunkel); }

.buehne { background: linear-gradient(135deg, var(--blau-dunkel), var(--blau) 60%, #2a5cb8); color: var(--weiss); overflow: hidden; }
.buehne-innen { display: grid; grid-template-columns: 1.25fr .75fr; gap: 40px; align-items: center; padding-block: clamp(48px, 8vw, 96px); }
.buehne h1 { color: var(--weiss); }
.marke { display: inline-block; margin-bottom: 18px; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .14); font-size: .9rem; font-weight: 600; letter-spacing: .02em; }
.einstieg { font-size: 1.15rem; max-width: 36em; color: #e3ebf9; }
.buehne-knoepfe { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 28px; }
.buehne-notiz { color: #cfdcf5; font-size: .95rem; }
.stempel { width: min(360px, 100%); margin-inline: auto; transform: rotate(-8deg); filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .3)); }
.stempel circle:first-of-type { fill: var(--weiss); }
.st-ring { fill: none; stroke: var(--blau); stroke-width: 6; }
.st-duenn { stroke-width: 2; }
.stempel text { text-anchor: middle; font-family: inherit; fill: var(--blau-dunkel); }
.st-rand { font-size: 13.5px; font-weight: 800; letter-spacing: .04em; }
.st-klein { font-size: 15px; font-weight: 700; }
.stempel .st-zahl { font-size: 50px; font-weight: 900; fill: var(--orange-dunkel); }
.st-wort { font-size: 23px; font-weight: 900; letter-spacing: .04em; }
.stempel .st-fuss { font-size: 11.5px; font-weight: 700; fill: var(--orange-dunkel); }

.leiste { background: var(--weiss); border-bottom: 1px solid var(--linie); }
.leiste-innen { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding-block: 26px; }
.leiste-innen div { text-align: center; }
.leiste strong { display: block; font-size: 1.7rem; font-weight: 800; color: var(--orange-dunkel); line-height: 1.2; }
.leiste span { color: var(--grau); font-size: .95rem; }

.abschnitt { padding-block: clamp(52px, 8vw, 92px); }
.abschnitt h2 { text-align: center; }
.unter { text-align: center; max-width: 42em; margin: 0 auto 36px; color: var(--grau); font-size: 1.08rem; }
.abschnitt-hell { background: var(--creme); }
.abschnitt-blau { background: var(--blau-hell); }
.stand { margin: 28px 0 0; font-size: .88rem; color: var(--grau); text-align: center; }

.karten { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.karte { background: var(--weiss); border: 1px solid var(--linie); border-top: 5px solid var(--orange); border-radius: var(--radius); padding: 26px 22px; box-shadow: var(--schatten); }
.karte p { margin: 0; font-size: .98rem; }
.karte .karte-zahl { margin-bottom: 12px; font-weight: 800; font-size: 1.15rem; color: var(--orange-dunkel); }

/* Die fünf Zeilen jeder Karte teilen sich das Raster der Nachbarn, damit Zahlen und Zuschuss auf einer Höhe stehen */
.beispiel { display: grid; grid-template-rows: subgrid; grid-row: span 5; row-gap: 0; align-content: start; background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius); padding: 24px 22px; box-shadow: var(--schatten); }
.beispiel h3 { font-size: 1.15rem; }
.beispiel-art { margin: 0 0 8px; font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--blau); }
.beispiel dl { margin: 6px 0 16px; }
.beispiel dl div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--linie); font-size: .95rem; }
.beispiel dt { color: var(--grau); }
.beispiel dd { margin: 0; font-weight: 700; text-align: right; white-space: nowrap; }
.karten > * { min-width: 0; }
.beispiel-summe { display: flex; justify-content: space-between; align-items: baseline; align-self: start; gap: 12px; margin: 0 0 12px; padding: 14px 16px; border-radius: 10px; background: var(--orange-hell); }
.beispiel-summe span { font-weight: 700; }
.beispiel-summe strong { font-size: 1.5rem; font-weight: 900; color: var(--orange-dunkel); white-space: nowrap; }
.beispiel-notiz { margin: 0; font-size: .86rem; color: var(--grau); }
.beispiel-knopf { margin: 28px 0 0; }
.fuss-partner img { width: 150px; margin-bottom: 10px; }

/* Rechner */
.rech { background: var(--weiss); border: 1px solid var(--linie); border-radius: 20px; box-shadow: var(--schatten); overflow: hidden; }
.rech-reiter { display: flex; background: var(--blau-hell); overflow-x: auto; scrollbar-width: thin; }
.rech-knopf { flex: 1 0 auto; min-height: 56px; padding: 12px 20px; border: 0; border-bottom: 4px solid transparent; background: none; font: inherit; font-weight: 700; color: var(--blau-dunkel); cursor: pointer; white-space: nowrap; }
.rech-knopf[aria-selected="true"] { background: var(--weiss); border-bottom-color: var(--orange); color: var(--orange-dunkel); }
.rech-flaeche { display: grid; grid-template-columns: 1.1fr .9fr; }
.rech-flaeche[hidden] { display: none; }
.rech-eingabe { padding: clamp(20px, 4vw, 34px); display: grid; gap: 14px; align-content: start; }
.rech-eingabe h3 { margin: 0; font-size: 1.35rem; }
.rech-text { margin: 0; color: var(--grau); }
.rech-feld span { display: block; font-size: .92rem; font-weight: 600; margin-bottom: 4px; }
.rech-feld input, .rech-feld select { width: 100%; min-height: 50px; padding: 10px 14px; border: 2px solid var(--linie); border-radius: 10px; font: inherit; color: var(--text); background: var(--weiss); }
.rech-feld input:focus, .rech-feld select:focus { border-color: var(--blau); outline: none; }
.rech-haken { display: flex; gap: 12px; align-items: center; min-height: 44px; font-weight: 600; font-size: .95rem; cursor: pointer; }
.rech-haken input { flex: none; width: 22px; height: 22px; accent-color: var(--blau); }
.rech-ergebnis { padding: clamp(20px, 4vw, 34px); background: var(--creme); border-left: 1px solid var(--linie); display: flex; flex-direction: column; gap: 16px; }
.rech-summe { margin: 0; padding: 20px; border-radius: var(--radius); background: var(--orange-hell); text-align: center; }
.rech-summe small { display: block; font-size: 1rem; font-weight: 600; color: var(--grau); }
.rech-summe strong { display: block; font-size: clamp(2.1rem, 6vw, 3rem); font-weight: 900; line-height: 1.15; color: var(--orange-dunkel); }
.rech-zeilen { margin: 0; }
.rech-zeilen div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--linie); }
.rech-zeilen dt { color: var(--grau); flex: none; }
.rech-zeilen dd { margin: 0; font-weight: 700; text-align: right; }
.rech-zeilen div:last-child dd { color: var(--blau); font-size: 1.1rem; }
.rech-knoepfe { display: grid; gap: 10px; }
.btn-hell { background: var(--weiss); color: var(--blau); border: 2px solid var(--blau); }
.rech-klein { margin: 0; font-size: .84rem; color: var(--grau); }

/* Beispielfälle: der Zuschuss steht oben, darunter Kosten gegen eigener Anteil */
.faelle { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.fall { display: grid; grid-template-rows: subgrid; grid-row: span 6; row-gap: 0; min-width: 0; padding: 24px 22px; background: var(--weiss); border: 1px solid var(--linie); border-radius: 20px; box-shadow: var(--schatten); transition: transform .2s, box-shadow .2s; }
.fall:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(15, 43, 97, .18); }
.fall-art { margin: 0 0 8px; font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--blau); }
.fall h3 { margin: 0 0 18px; font-size: 1.15rem; }
.fall-geld { margin: 0 0 14px; padding: 18px 12px; border-radius: var(--radius); background: linear-gradient(160deg, var(--blau-dunkel), var(--blau)); color: var(--weiss); text-align: center; }
.fall-geld strong { display: block; font-size: clamp(1.7rem, 2.5vw, 2.2rem); font-weight: 900; line-height: 1.1; color: #ffc89a; white-space: nowrap; }
.fall-geld span { display: block; margin-top: 4px; font-size: .88rem; font-weight: 600; }
.fall-balken { height: 26px; margin-bottom: 14px; border-radius: 999px; background: var(--blau-hell); overflow: hidden; }
.fall-balken span { display: flex; align-items: center; justify-content: flex-end; height: 100%; min-width: 58px; padding-right: 10px; border-radius: 999px; background: var(--orange); color: var(--weiss); font-size: .82rem; font-weight: 800; white-space: nowrap; }
.fall-rechnung { margin: 0 0 14px; }
.fall-rechnung div { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 7px 0; }
.fall-rechnung dt { color: var(--grau); font-size: .95rem; }
.fall-rechnung dd { margin: 0; white-space: nowrap; color: var(--grau); }
.fall-rechnung s { text-decoration-thickness: 2px; }
.fall-rest { border-top: 1px solid var(--linie); }
.fall-rest dt { color: var(--blau-dunkel); font-weight: 700; }
.fall-rechnung .fall-rest dd { color: var(--blau-dunkel); font-size: 1.25rem; font-weight: 900; }
.fall-notiz { margin: 0; font-size: .85rem; color: var(--grau); }
/* Kopf der Unterseiten */
.buehne-klein { padding-block: clamp(40px, 6vw, 72px); }
.buehne-klein h1 { max-width: 18em; }

/* Förderprogramme mit Suche und Filter */
.prog-seite { padding-top: 36px; }
.prog-filter { display: grid; grid-template-columns: 1fr auto; gap: 14px 16px; align-items: center; padding: 20px 22px; border: 1px solid var(--linie); border-radius: 20px; background: var(--weiss); box-shadow: var(--schatten); position: sticky; top: 84px; z-index: 5; }
.prog-suche { grid-column: 1 / -1; }
.prog-suche input, .prog-land select { width: 100%; min-height: 52px; padding: 10px 16px; border: 2px solid var(--linie); border-radius: 12px; font: inherit; color: var(--text); background: var(--weiss); }
.prog-suche input:focus, .prog-land select:focus { border-color: var(--blau); outline: none; }
.prog-wahl { display: inline-flex; flex-wrap: wrap; padding: 4px; border-radius: 999px; background: var(--blau-hell); justify-self: start; }
.prog-wahl label { position: relative; cursor: pointer; }
.prog-wahl input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.prog-wahl span { display: block; min-height: 40px; padding: 8px 16px; border-radius: 999px; font-weight: 700; font-size: .93rem; color: var(--blau-dunkel); white-space: nowrap; }
.prog-wahl input:checked + span { background: var(--blau); color: var(--weiss); }
.prog-wahl input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }
.prog-land { min-width: 240px; }
.prog-nur { display: flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 600; font-size: .93rem; cursor: pointer; justify-self: end; }
.prog-nur input { width: 22px; height: 22px; accent-color: var(--blau); }
.prog-zahl { margin: 22px 0 14px; font-weight: 800; color: var(--blau-dunkel); }
.prog-raster { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.prog { display: flex; flex-direction: column; min-width: 0; padding: 22px; border: 1px solid var(--linie); border-top: 4px solid var(--blau); border-radius: var(--radius); background: var(--weiss); }
.prog[hidden] { display: none; }
.prog[data-ebene="land"] { border-top-color: var(--orange); }
.prog[data-aktiv="false"] { background: var(--creme); }
.prog-kopf { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: 0 0 10px; }
.prog-geber { font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--blau); }
.prog[data-ebene="land"] .prog-geber { color: var(--orange-dunkel); }
.prog-art, .prog-status { padding: 2px 10px; border-radius: 999px; font-size: .76rem; font-weight: 700; white-space: nowrap; }
.prog-art { background: var(--blau-hell); color: var(--blau-dunkel); }
.prog-status { background: #fde2e2; color: #8a1c1c; }
.prog-status[data-status="unklar"] { background: #fff4c2; color: #6b4e00; }
.prog h3 { margin: 0 0 8px; font-size: 1.12rem; overflow-wrap: anywhere; }
.prog-fuer { margin: 0 0 8px; font-weight: 600; font-size: .93rem; color: var(--blau-dunkel); }
.prog-text { margin: 0 0 16px; font-size: .95rem; }
.prog-fuss { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: auto 0 0; padding-top: 14px; border-top: 1px solid var(--linie); font-size: .9rem; }
.prog-anfrage { font-weight: 800; color: var(--orange-dunkel); text-decoration: none; white-space: nowrap; }
.prog-anfrage::after { content: " \2192"; }
.prog-leer { padding: 28px; border-radius: var(--radius); background: var(--blau-hell); text-align: center; font-weight: 600; }
.prog-hilfe { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; margin-top: 36px; padding: 30px 34px; border-radius: 22px; background: linear-gradient(160deg, var(--blau-dunkel), var(--blau)); color: #dbe6fa; }
.prog-hilfe h2 { margin: 0 0 8px; text-align: left; color: var(--weiss); font-size: 1.5rem; }
.prog-hilfe p { margin: 0; max-width: 40em; }
.kopf-nav a[aria-current="page"] { color: var(--orange-dunkel); }
/* Energieausweis */
.fuss-titel { margin: 0 0 .5em; color: var(--blau-dunkel); font-size: 1.05rem; font-weight: 800; }
.aw-haken { list-style: none; margin: 0; padding: 26px 28px; display: grid; gap: 14px; border-radius: 20px; background: rgba(255, 255, 255, .12); font-weight: 600; }
.aw-haken li { padding-left: 34px; position: relative; }
.aw-haken li::before { content: "✓"; position: absolute; left: 0; top: -1px; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: var(--orange); color: var(--weiss); font-size: .9rem; font-weight: 900; }
.aw-hilfe { display: grid; grid-template-columns: 1.2fr .8fr; gap: 24px; align-items: stretch; max-width: 980px; margin-inline: auto; }
.aw-fragen { padding: 8px 28px; border: 1px solid var(--linie); border-radius: 20px; background: var(--weiss); box-shadow: var(--schatten); }
.aw-frage { display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center; margin: 0; padding: 18px 0; border: 0; border-bottom: 1px solid var(--linie); min-width: 0; }
.aw-frage:last-of-type { border-bottom: 0; }
.aw-frage[hidden] { display: none; }
.aw-frage legend { float: left; padding: 0; font-weight: 600; color: var(--blau-dunkel); }
.aw-wahl { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--blau-hell); }
.aw-wahl label { position: relative; cursor: pointer; }
.aw-wahl input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.aw-wahl span { display: block; min-height: 40px; padding: 8px 18px; border-radius: 999px; font-weight: 700; font-size: .95rem; color: var(--blau-dunkel); white-space: nowrap; transition: background .15s, color .15s; }
.aw-wahl input:checked + span { background: var(--blau); color: var(--weiss); box-shadow: 0 2px 8px rgba(15, 43, 97, .25); }
.aw-wahl input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }
.aw-raster { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
.aw-raster [hidden] { display: none; }
.aw-voll { grid-column: 1 / -1; }
.aw-rat { padding: 30px; border-radius: 20px; background: linear-gradient(160deg, var(--blau-dunkel), var(--blau)); color: var(--weiss); display: flex; flex-direction: column; justify-content: center; gap: 10px; box-shadow: var(--schatten); }
.aw-rat h3 { color: var(--weiss); font-size: 1.45rem; }
.aw-rat .aw-rat-marke { color: #ffc89a; }
.aw-rat .aw-rat-preis { color: var(--weiss); }
.aw-rat .btn { align-self: stretch; }
.aw-rat h3, .aw-rat p { margin: 0; }
.aw-rat-marke { font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--orange-dunkel); }
.aw-rat-preis { font-size: 1.9rem; font-weight: 900; color: var(--orange-dunkel); line-height: 1.2; }
.aw-rat .btn { margin-top: 8px; }
.aw-kartenknopf { width: 100%; }
/* Eingabe Energieausweis: Felder in drei gemeinsamen Zeilen (Beschriftung, Eingabe, Hilfe) */
.aw-raster { grid-auto-rows: auto; row-gap: 0; column-gap: 18px; }
.aw-raster > * { margin-bottom: 16px; }
.aw-feld { display: grid; grid-template-rows: subgrid; grid-row: span 3; row-gap: 5px; }
.aw-label { display: block; align-self: end; font-size: .92rem; font-weight: 600; margin: 0; }
.aw-label em { margin-left: 8px; padding: 1px 8px; border-radius: 999px; background: var(--blau-hell); font-style: normal; font-size: .72rem; font-weight: 700; color: var(--grau); white-space: nowrap; }
.aw-eingabe { position: relative; display: block; }
.aw-eingabe input, .aw-eingabe select, .aw-eingabe textarea { width: 100%; min-height: 50px; padding: 10px 14px; border: 2px solid var(--linie); border-radius: 10px; font: inherit; color: var(--text); background: var(--weiss); }
.aw-eingabe input:focus, .aw-eingabe select:focus, .aw-eingabe textarea:focus { border-color: var(--blau); outline: none; }
.aw-eingabe:has(.aw-einheit) input { padding-right: 54px; }
.aw-einheit { position: absolute; right: 2px; top: 2px; bottom: 2px; display: grid; place-items: center; min-width: 46px; padding: 0 8px; border-left: 1px solid var(--linie); border-radius: 0 8px 8px 0; background: var(--creme); color: var(--grau); font-size: .88rem; font-weight: 700; pointer-events: none; }
.aw-feld .aw-hilfe { margin: 0; min-height: 0; }
.aw-gruppe { margin: 10px 0 14px; padding-bottom: 8px; border-bottom: 2px solid var(--blau-hell); font-size: 1.05rem; color: var(--blau-dunkel); }
.aw-frage-im-formular { padding: 4px 0 12px; border-bottom: 0; }
.aw-datei input { padding: 10px; border: 2px dashed var(--linie); border-radius: 10px; background: var(--creme); width: 100%; font: inherit; }
.aw-schritte { display: flex; gap: 6px; padding: 12px clamp(14px, 4vw, 28px); overflow-x: auto; background: var(--creme); border-bottom: 1px solid var(--linie); scrollbar-width: thin; }
.aw-schritt { flex: none; min-height: 40px; padding: 6px 14px; border: 2px solid var(--linie); border-radius: 999px; background: var(--weiss); font: inherit; font-size: .86rem; font-weight: 700; color: var(--blau-dunkel); cursor: pointer; white-space: nowrap; }
.aw-schritt:disabled { opacity: .45; cursor: default; }
.aw-schritt[data-fertig="true"] { border-color: var(--blau); background: var(--blau-hell); }
.aw-schritt[data-fertig="true"]::before { content: "\2713  "; }
.aw-schritt[aria-current] { border-color: var(--orange-dunkel); background: var(--orange-dunkel); color: var(--weiss); }
.aw-formen { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.aw-form-karte { position: relative; display: grid; justify-items: center; gap: 8px; padding: 14px 10px 12px; border: 2px solid var(--linie); border-radius: var(--radius); cursor: pointer; text-align: center; }
.aw-form-karte input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.aw-form-karte:has(input:checked) { border-color: var(--orange-dunkel); background: var(--orange-hell); }
.aw-form-karte:has(input:focus-visible) { outline: 3px solid var(--orange); outline-offset: 3px; }
.aw-skizze { width: 100%; max-width: 130px; height: auto; }
.aw-skizze-gross { max-width: 320px; }
.aw-haus { fill: var(--blau-hell); stroke: var(--blau); stroke-width: 2; stroke-linejoin: round; }
.aw-wandname { font-size: 7px; font-weight: 800; fill: var(--orange-dunkel); text-anchor: middle; }
.aw-skizze:not(.aw-skizze-gross) .aw-wandname { display: none; }
.aw-waende { display: grid; grid-template-columns: minmax(200px, .8fr) 1.2fr; gap: 18px 24px; align-items: start; padding: 18px; border: 1px solid var(--linie); border-radius: var(--radius); background: var(--creme); }
.aw-waende .aw-meldung { grid-column: 1 / -1; }
.aw-wandbild { display: grid; justify-items: center; gap: 6px; text-align: center; }
.aw-wandliste { display: grid; gap: 8px; }
.aw-wand { display: grid; grid-template-columns: 34px 1fr 1fr auto; gap: 10px; align-items: center; }
.aw-wandkopf { font-size: .78rem; font-weight: 700; color: var(--grau); }
.aw-wandbuchstabe { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--orange-dunkel); color: var(--weiss); font-weight: 800; }
.aw-wand input[readonly] { background: #e9edf5; color: var(--grau); }
.aw-wand input:disabled { background: #e9edf5; }
.aw-angebaut { display: flex; align-items: center; gap: 6px; min-height: 44px; font-size: .84rem; white-space: nowrap; cursor: pointer; }
.aw-angebaut input { width: 20px; height: 20px; accent-color: var(--blau); }
.aw-sperre { padding: 20px 22px; border: 2px solid var(--orange-dunkel); border-radius: var(--radius); background: var(--orange-hell); }
.aw-sperre h4 { margin: 0 0 8px; font-size: 1.1rem; color: var(--blau-dunkel); }
.aw-pdf { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.aw-pdf-titel { margin: 6px 0 0; }
/* Preiskarten: fünf Zeilen je Karte im gemeinsamen Raster, damit Preis, Liste und Knopf auf einer Linie stehen */
.preise { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding-top: 14px; }
.preis { position: relative; display: grid; grid-template-rows: subgrid; grid-row: span 5; row-gap: 0; min-width: 0; padding: 26px 22px 24px; background: var(--weiss); border: 2px solid var(--linie); border-radius: 20px; box-shadow: var(--schatten); text-align: center; }
.preis-top { border: 2px solid var(--orange); }
.preis-art { display: flex; justify-content: center; align-items: center; gap: 10px; margin: 0 0 8px; font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--blau); }
.preis-band { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); padding: 4px 14px; border-radius: 999px; background: var(--orange-dunkel); color: var(--weiss); font-size: .74rem; letter-spacing: .05em; white-space: nowrap; }
.preis h3 { margin: 0 0 18px; font-size: 1.35rem; }
.preis-zahl { margin: 0 0 20px; padding: 18px 10px; border-radius: var(--radius); background: var(--orange-hell); }
.preis-zahl strong { display: block; font-size: clamp(1.8rem, 2.6vw, 2.3rem); font-weight: 900; line-height: 1.1; color: var(--orange-dunkel); white-space: nowrap; }
.preis-zahl span { display: block; margin-top: 4px; font-size: .82rem; color: var(--grau); }
.preis-liste { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 10px; align-content: start; text-align: left; font-size: .96rem; }
.preis-liste li { position: relative; padding-left: 28px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.preis-liste li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; background: var(--blau); color: var(--weiss); font-size: .72rem; font-weight: 900; }
.preis .btn { align-self: end; width: 100%; }
.aw-vergleich { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.aw-vergleich article { padding: 28px; border: 1px solid var(--linie); border-top: 5px solid var(--blau); border-radius: var(--radius); background: var(--weiss); box-shadow: var(--schatten); }
.aw-vergleich article + article { border-top-color: var(--orange); }
.aw-vergleich ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.aw-tabelle { margin-top: 28px; overflow-x: auto; border: 1px solid var(--linie); border-radius: var(--radius); }
.aw-tabelle table { width: 100%; min-width: 560px; border-collapse: collapse; background: var(--weiss); }
.aw-tabelle th, .aw-tabelle td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--linie); vertical-align: top; }
.aw-tabelle thead th { background: var(--blau); color: var(--weiss); }
.aw-tabelle tbody th { width: 28%; color: var(--blau-dunkel); }
.aw-tabelle tr:last-child th, .aw-tabelle tr:last-child td { border-bottom: 0; }
.aw-merksatz { margin: 24px 0 0; padding: 18px 22px; border-radius: var(--radius); background: var(--orange-hell); border-left: 6px solid var(--orange); }
.aw-drei { grid-template-columns: repeat(3, 1fr); }
.aw-abstand { margin: 32px 0 0; }
.aw-app { overflow: hidden; }
.aw-leiste { height: 6px; background: var(--blau-hell); }
.aw-leiste span { display: block; height: 100%; width: 0; background: var(--orange); transition: width .3s; }
.aw-form { padding: clamp(20px, 4vw, 34px); display: grid; gap: 14px; }
.aw-form h3 { margin: 0; font-size: 1.4rem; }
.aw-zaehler { margin: 0; font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--blau); }
.aw-text { margin: 0; color: var(--grau); }
.aw-hilfe-text, .aw-hilfe small, small.aw-hilfe { display: block; margin-top: 4px; font-size: .84rem; font-weight: 400; color: var(--grau); }
.rech-feld textarea { width: 100%; padding: 10px 14px; border: 2px solid var(--linie); border-radius: 10px; font: inherit; color: var(--text); background: var(--weiss); resize: vertical; }
.rech-feld textarea:focus { border-color: var(--blau); outline: none; }
.aw-kacheln { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.aw-kachel { display: grid; gap: 2px; padding: 18px; border: 2px solid var(--linie); border-radius: var(--radius); cursor: pointer; position: relative; }
.aw-kachel input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.aw-kachel strong { color: var(--blau-dunkel); }
.aw-kachel span { font-weight: 800; color: var(--orange-dunkel); }
.aw-kachel:has(input:checked) { border-color: var(--orange-dunkel); background: var(--orange-hell); }
.aw-kachel:has(input:focus-visible) { outline: 3px solid var(--orange); outline-offset: 3px; }
.aw-meldung { margin: 0; padding: 12px 16px; border-radius: 10px; font-size: .93rem; background: var(--blau-hell); }
.aw-meldung[data-art="warnung"] { background: #fff4c2; font-weight: 600; }
.aw-knoepfe { display: flex; justify-content: space-between; gap: 12px; margin-top: 6px; }
.aw-knoepfe .btn:only-child { margin-left: auto; }
.aw-summe { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 16px 20px; border-radius: var(--radius); background: var(--orange-hell); font-weight: 700; }
.aw-summe strong { font-size: 1.6rem; font-weight: 900; color: var(--orange-dunkel); white-space: nowrap; }
.aw-gutschein { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 10px; align-items: end; }
.aw-gutschein-status { grid-column: 1 / -1; margin: 0; }
.aw-gutschein-status:empty { display: none; }
.aw-uebersicht { margin: 0; padding: 16px 18px; max-height: 320px; overflow: auto; border-radius: 10px; background: var(--creme); border: 1px solid var(--linie); font: inherit; font-size: .9rem; white-space: pre-wrap; }
.aw-danke { text-align: center; }
.aw-vorschau { padding: 18px 20px 14px; border: 1px solid var(--linie); border-radius: var(--radius); background: var(--weiss); }
.aw-vorschau-titel { margin: 0 0 30px; font-weight: 800; color: var(--blau-dunkel); }
.aw-zahlung .aw-vorschau-titel { margin-bottom: 12px; }
.aw-skala { position: relative; height: 22px; border-radius: 999px; background: linear-gradient(90deg, #2e9e4f, #9ccc3c 25%, #f4d21f 45%, #f39a1e 65%, #e3541b 82%, #c81e1e); }
.aw-zeiger { position: absolute; bottom: calc(100% + 6px); transform: translateX(-50%); padding: 2px 9px; border-radius: 6px; background: var(--blau-dunkel); color: var(--weiss); font-weight: 800; font-size: .9rem; white-space: nowrap; }
.aw-zeiger::after { content: ""; position: absolute; left: 50%; top: 100%; transform: translateX(-50%); border: 6px solid transparent; border-top-color: var(--blau-dunkel); }
.aw-achse { display: flex; justify-content: space-between; margin-top: 4px; font-size: .78rem; color: var(--grau); }
.aw-zahlung { display: grid; gap: 10px; padding: 18px 20px; border: 2px solid var(--blau); border-radius: var(--radius); }
.aw-zahlung .rech-haken { align-items: flex-start; font-weight: 400; font-size: .92rem; }
.aw-paypal { min-height: 48px; margin-top: 6px; }
.aw-aussteller { margin-top: 36px; }

.schritte { list-style: none; margin: 36px 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.schritte li { background: var(--weiss); border-radius: var(--radius); padding: 26px 22px; }
.schritte p { margin: 0; font-size: .98rem; }
.nr { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 14px; border-radius: 50%; background: var(--blau); color: var(--weiss); font-weight: 800; font-size: 1.2rem; }

.puzzle { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; max-width: 860px; margin-inline: auto; }
.teil { padding: 30px 28px; border-radius: 22px; color: var(--weiss); }
.teil h3 { color: var(--weiss); font-size: 1.35rem; }
.teil p { margin: 0; }
.teil-blau { background: var(--blau); }
.teil-orange { background: var(--orange-dunkel); }

details { background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius); margin-bottom: 12px; }
summary { cursor: pointer; padding: 18px 22px; font-weight: 700; color: var(--blau-dunkel); }
details p { padding: 0 22px 18px; margin: 0; }

.abschluss { background: linear-gradient(135deg, var(--blau-dunkel), var(--blau)); color: var(--weiss); }
.abschluss h2 { color: var(--weiss); }
.abschluss p { font-size: 1.15rem; margin-bottom: 26px; }

/* Heller Fuß, damit beide Logos ohne Kachel und ohne Hintergrund stehen */
.fuss { background: var(--creme); color: var(--grau); border-top: 4px solid var(--orange); padding-block: 48px; font-size: .95rem; }
.fuss-innen { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; }
.fuss h2 { color: var(--blau-dunkel); font-size: 1.05rem; text-align: left; }
.fuss a { color: var(--blau); display: inline-block; padding-block: 10px; }
.fuss a.fuss-partner { padding-block: 0; }
.fuss-logo { width: 170px; margin-bottom: 16px; }

.finanzpartner { display: grid; grid-template-columns: 240px 1fr; gap: 40px; align-items: center; max-width: 860px; margin: 40px auto 0; padding: 34px; border: 1px solid var(--linie); border-left: 6px solid var(--orange); border-radius: 22px; background: var(--weiss); box-shadow: var(--schatten); }
.finanzpartner-logo img { width: 100%; }
.finanzpartner + .finanzpartner { margin-top: 20px; }
.finanzpartner-wort { text-align: center; line-height: 1.15; color: var(--blau-dunkel); }
.finanzpartner-wort strong { display: block; font-size: 1.9rem; font-weight: 900; letter-spacing: -.01em; }
.finanzpartner-wort span { display: block; font-size: 1rem; font-weight: 700; letter-spacing: .18em; color: var(--orange-dunkel); }
.finanzpartner h3 { font-size: 1.6rem; margin-bottom: 2px; }
.finanzpartner-marke { margin: 0 0 6px; font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--orange-dunkel); }
.finanzpartner-zeile { display: flex; flex-wrap: wrap; gap: 6px 0; font-weight: 700; color: var(--blau); letter-spacing: .03em; }
.finanzpartner-zeile span { white-space: nowrap; }
.finanzpartner-zeile span + span::before { content: "|"; padding-inline: 10px; color: var(--orange-dunkel); }
.fuss-wort { text-align: left; margin-bottom: 10px; }
.fuss-wort strong { font-size: 1.35rem; }
.fuss-wort span { font-size: .8rem; }

.kopf-telefon { font-weight: 800; color: var(--blau-dunkel); text-decoration: none; white-space: nowrap; }
.stempel-notiz { max-width: 300px; margin: 18px auto 0; font-size: .85rem; text-align: center; color: #cfdcf5; }
.frist { max-width: 860px; margin: 32px auto 0; padding: 26px 30px; border-radius: 20px; background: var(--weiss); border: 1px solid var(--linie); border-left: 6px solid var(--orange); box-shadow: var(--schatten); }
.frist p { margin-bottom: 18px; }
/* Team: dunkler Abschnitt mit nummerierten Fachbereichen */
.team { background: radial-gradient(1200px 500px at 85% -10%, #2a5cb8 0%, transparent 60%), linear-gradient(160deg, #0b1f47, var(--blau-dunkel) 55%, var(--blau)); color: #dbe6fa; }
.team-kopf { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: end; margin-bottom: 44px; }
.team-kopf h2 { margin: 0; text-align: left; color: var(--weiss); font-size: clamp(1.9rem, 4.4vw, 3rem); letter-spacing: -.015em; }
.team-marke { margin: 0 0 14px; font-size: .9rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; color: #ffb37a; }
.team-text { margin: 0; font-size: 1.1rem; }
.team-liste { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255, 255, 255, .18); border-left: 1px solid rgba(255, 255, 255, .18); counter-reset: fach; }
.team-liste li { counter-increment: fach; display: grid; border-right: 1px solid rgba(255, 255, 255, .18); border-bottom: 1px solid rgba(255, 255, 255, .18); transition: background .2s; }
.team-knopf { display: grid; align-content: start; gap: 0; width: 100%; padding: 28px 24px 26px; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; transition: background .2s; }
.team-knopf:hover, .team-knopf:focus-visible { background: rgba(255, 255, 255, .09); }
.team-titel { margin-bottom: 8px; color: var(--weiss); font-size: 1.2rem; font-weight: 800; line-height: 1.2; overflow-wrap: anywhere; }
.team-info { font-size: .95rem; color: #c3d2ef; }
.team-mehr { margin-top: 16px; font-size: .88rem; font-weight: 800; color: #ffb37a; }
.team-mehr::after { content: " \2192"; }
.chk-voll { grid-column: 1 / -1; }
.chk-feld textarea { width: 100%; padding: 10px 14px; border: 2px solid var(--linie); border-radius: 10px; font: inherit; color: var(--text); background: var(--weiss); resize: vertical; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.team-knopf::before { content: counter(fach, decimal-leading-zero); display: block; margin-bottom: 18px; font-size: 2.1rem; font-weight: 900; line-height: 1; color: var(--orange); }
.team-liste h3 { margin-bottom: 8px; color: var(--weiss); font-size: 1.2rem; }
.team-liste p { margin: 0; font-size: .95rem; color: #c3d2ef; }
.team-zwischen { margin: 56px 0 0; text-align: center; color: var(--weiss); font-size: 1.5rem; }
.team .finanzpartner { border-color: transparent; box-shadow: 0 20px 50px rgba(4, 12, 32, .45); color: var(--text); }
.team-zwischen + .finanzpartner { margin-top: 26px; }
.team-stand { color: #c3d2ef; }
.team-stand a { color: var(--weiss); }
.rech-ohne { margin: 0; padding: 28px; text-align: center; color: var(--grau); }
.rech-fehler { margin: 0; padding: 18px 20px; border-radius: var(--radius); background: #fff4c2; font-weight: 600; }
.rech-feld input[aria-invalid="true"] { border-color: #b00020; }
.rech-mini { display: none; }

/* Förder-Check */
.chk { width: min(640px, 100% - 24px); max-height: min(92dvh, 860px); padding: 0; border: 0; border-radius: 20px; color: var(--text); box-shadow: 0 30px 80px rgba(8, 22, 54, .45); overflow: hidden; }
.chk[open] { display: flex; flex-direction: column; }
.chk::backdrop { background: rgba(8, 22, 54, .62); }
.chk-kopf { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 12px 14px; background: var(--blau); color: var(--weiss); }
.chk-name { grid-column: 2; font-weight: 800; }
.chk-zurueck, .chk-zu { min-width: 44px; min-height: 44px; border: 0; background: none; color: var(--weiss); font: inherit; font-weight: 600; cursor: pointer; border-radius: 8px; }
.chk-zurueck { justify-self: start; padding-inline: 10px; }
.chk-zu { grid-column: 3; justify-self: end; display: grid; place-items: center; padding: 0 0 5px; font-size: 1.8rem; line-height: 1; }
.chk-leiste { height: 6px; background: var(--blau-hell); }
.chk-leiste span { display: block; height: 100%; width: 0; background: var(--orange); transition: width .3s; }
.chk-buehne { padding: 26px clamp(18px, 5vw, 34px) 30px; overflow-y: auto; }
.chk-titel { font-size: clamp(1.3rem, 4.2vw, 1.65rem); outline: none; }
.chk-hinweis { color: var(--grau); margin-top: -4px; }
.chk-antworten { display: grid; gap: 10px; margin-top: 18px; }
.chk-antwort { display: grid; gap: 2px; width: 100%; text-align: left; padding: 15px 18px; min-height: 58px; border: 2px solid var(--linie); border-radius: var(--radius); background: var(--weiss); color: var(--text); font: inherit; cursor: pointer; transition: border-color .15s, background .15s; }
.chk-antwort strong { font-size: 1.05rem; color: var(--blau-dunkel); }
.chk-antwort span { color: var(--grau); font-size: .93rem; }
.chk-antwort:hover { border-color: var(--blau); background: var(--blau-hell); }
.chk-antwort[aria-pressed="true"] { border-color: var(--orange-dunkel); background: var(--orange-hell); }
.chk-weiter { margin-top: 18px; width: 100%; }
.chk-zahl { display: flex; gap: 12px; margin-top: 18px; }
.chk-zahl input, .chk-feld input { width: 100%; min-height: 50px; padding: 10px 14px; border: 2px solid var(--linie); border-radius: 10px; font: inherit; color: var(--text); background: var(--weiss); }
.chk-zahl input:focus, .chk-feld input:focus { border-color: var(--blau); outline: none; }
.chk-summe { margin: 6px 0 18px; padding: 20px; border-radius: var(--radius); background: var(--orange-hell); text-align: center; }
.chk-summe small { display: block; font-size: 1rem; font-weight: 600; color: var(--grau); }
.chk-summe strong { display: block; font-size: clamp(2.3rem, 10vw, 3.4rem); font-weight: 900; line-height: 1.1; color: var(--orange-dunkel); }
.chk-posten { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 10px; }
.chk-posten li { padding: 12px 16px; border-left: 4px solid var(--blau); background: var(--creme); border-radius: 0 10px 10px 0; }
.chk-posten strong, .chk-posten span { display: block; }
.chk-posten span { font-size: .95rem; color: var(--grau); }
.chk-klein { font-size: .84rem; color: var(--grau); }
.chk-zwischentitel { margin-top: 22px; font-size: 1.25rem; }
.chk-form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.chk-feld span { display: block; font-size: .9rem; font-weight: 600; margin-bottom: 4px; }
.chk-haken, .chk-meldung, .chk-senden, .chk-feld:nth-of-type(5) { grid-column: 1 / -1; }
.chk-haken { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; }
.chk-haken input { flex: none; width: 22px; height: 22px; margin-top: 2px; accent-color: var(--blau); }
.chk-meldung { margin: 0; color: #b00020; font-weight: 600; }
.chk-meldung:empty { display: none; }
.chk-falle { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.chk-danke { text-align: center; padding-block: 20px; }

/* Rechtstexte */
.recht { padding-block: 48px; }
.recht h1 { font-size: 2rem; }
.recht h2 { font-size: 1.25rem; margin-top: 1.6em; }
.offen { background: #fff4c2; padding: 2px 6px; border-radius: 4px; font-weight: 600; }

@media (max-width: 960px) {
  .karten, .schritte, .team-liste, .preise, .faelle, .prog-raster { grid-template-columns: repeat(2, 1fr); }
  .team-kopf { grid-template-columns: 1fr; gap: 18px; }
  .kopf-nav, .kopf-telefon { display: none; }
  .kopf-knopf { margin-left: auto; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .buehne-innen { grid-template-columns: 1fr; text-align: center; gap: 28px; }
  .einstieg { margin-inline: auto; }
  .buehne-knoepfe { justify-content: center; flex-direction: column; }
  .buehne-knoepfe .btn { width: 100%; }
  .stempel { width: 230px; }
  .leiste-innen { grid-template-columns: repeat(2, 1fr); }
  .karten, .schritte, .puzzle, .fuss-innen, .rech-flaeche { grid-template-columns: 1fr; }
  .rech-ergebnis { border-left: 0; border-top: 1px solid var(--linie); }
  .aw-hilfe, .aw-vergleich, .aw-drei, .aw-raster, .aw-kacheln, .aw-frage, .preise, .faelle, .prog-raster, .prog-filter { grid-template-columns: 1fr; }
  .prog-filter { position: static; padding: 16px; }
  .prog-wahl { display: flex; justify-self: stretch; }
  .prog-wahl label { flex: 1; text-align: center; }
  .prog-wahl span { padding-inline: 8px; }
  .prog-nur { justify-self: start; }
  .prog-hilfe { padding: 24px 20px; }
  .preise { row-gap: 30px; }
  .aw-fragen { padding: 4px 18px; }
  .aw-feld { grid-row: auto; grid-template-rows: none; }
  .aw-formen, .aw-pdf { grid-template-columns: 1fr 1fr; }
  .aw-waende { grid-template-columns: 1fr; padding: 14px; }
  .aw-wand { grid-template-columns: 30px 1fr 1fr; }
  .aw-angebaut { grid-column: 2 / -1; min-height: 36px; }
  .aw-wandkopf span:last-child { display: none; }
  .aw-frage { gap: 10px; }
  .aw-wahl { display: flex; }
  .aw-wahl label { flex: 1; text-align: center; }
  .aw-wahl span { padding-inline: 10px; white-space: normal; }
  .aw-knoepfe .btn { flex: 1; }
  .finanzpartner { grid-template-columns: 1fr; gap: 20px; padding: 24px; text-align: center; }
  .finanzpartner-logo img { width: 180px; margin-inline: auto; }
  .finanzpartner-wort:not(.fuss-wort) { display: none; }
  .finanzpartner-zeile { justify-content: center; }
  .rech-reiter { display: grid; grid-template-columns: 1fr 1fr; }
  .rech-knopf { white-space: normal; padding-inline: 8px; min-width: 0; }
  .rech-mini { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; position: sticky; bottom: 0; margin: 0; padding: 12px 18px; background: var(--blau-dunkel); color: var(--weiss); font-weight: 600; box-shadow: 0 -6px 18px rgba(8, 22, 54, .25); }
  .rech-mini strong { font-size: 1.3rem; font-weight: 900; color: #ffc89a; }
  .frist { padding: 22px 20px; }
  .team-knopf { padding: 20px 16px 20px; }
  .team-knopf::before { font-size: 1.6rem; margin-bottom: 12px; }
  .team-titel { font-size: 1.05rem; }
  .kopf-innen { min-height: 64px; }
  .kopf-logo img { width: 104px; }
  .kopf-knopf { min-height: 44px; padding: 8px 18px; }
  .chk { width: 100%; max-width: 100%; height: 100dvh; max-height: 100dvh; margin: 0; border-radius: 0; }
  .chk-form { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* Korrekturen nach dem zweiten Nutzertest */
.nb { white-space: nowrap; }
.rech { overflow: clip; }
.rech-summe strong, .chk-summe strong { white-space: nowrap; }
.team-liste li { min-width: 0; }
.team-knopf { display: flex; flex-direction: column; height: 100%; min-width: 0; }
.team-titel { hyphens: auto; overflow-wrap: break-word; }
.team-mehr { margin-top: auto; padding-top: 16px; white-space: nowrap; }
.karte { display: grid; grid-template-rows: subgrid; grid-row: span 3; row-gap: 0; }
.karte h3 { margin-bottom: 8px; }
.schritte li { display: grid; grid-template-rows: subgrid; grid-row: span 3; row-gap: 0; }
.kopf-innen > .kopf-knopf:nth-child(2) { margin-left: auto; }
.fall-balken span { background: var(--orange-dunkel); }
.prog-filter { position: static; }
.aw-form, .aw-form > * { min-width: 0; }
.aw-uebersicht { overflow-wrap: anywhere; }
.aw-summe { flex-wrap: wrap; }
.aw-pdf .btn { min-width: 0; white-space: normal; text-align: center; }
.vs-gruppe dd { overflow-wrap: normal; word-break: normal; }
.vs-gruppe dt { flex: 1; }
@media (max-width: 960px) {
  html { scroll-padding-top: 130px; }
  .kopf-innen { flex-wrap: wrap; gap: 0 16px; }
  .kopf-nav { display: flex; order: 3; width: 100%; margin: 0; gap: 20px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
  .kopf-nav a { flex: none; padding: 8px 0; font-size: .92rem; white-space: nowrap; }
  .aw-hilfe { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .aw-pdf { grid-template-columns: 1fr; }
  .karte, .schritte li { grid-row: auto; grid-template-rows: none; }
  .vs-kopf img { width: 96px; height: auto; flex: none; }
}
@media (max-width: 480px) {
  .team-liste { grid-template-columns: 1fr; }
  .team-knopf { padding: 18px 16px; }
  .team-knopf::before { display: inline-block; margin: 0 12px 0 0; font-size: 1.3rem; vertical-align: baseline; }
}
.prog .prog-name { margin: 0 0 8px; font-size: 1.12rem; text-align: left; overflow-wrap: anywhere; }

/* Reiter des Rechners teilen sich auf Tablet-Breite den Platz, statt über den Rand zu laufen */
@media (min-width: 721px) and (max-width: 1000px) {
  .rech-knopf { flex: 1 1 0; min-width: 0; padding-inline: 10px; white-space: normal; line-height: 1.25; }
  .rech-knoepfe .btn { white-space: normal; text-align: center; }
}

/* Reiter der Energieausweis-Eingabe: Status je Abschnitt, offene Abschnitte in der Übersicht */
.aw-schritt[data-fertig="false"]::before { content: "\25CB  "; color: var(--orange-dunkel); }
.aw-schritt[aria-current][data-fertig]::before { color: var(--weiss); }
.aw-offen { padding: 18px 20px; border: 2px solid var(--orange-dunkel); border-radius: var(--radius); background: var(--orange-hell); }
.aw-offen h4 { margin: 0 0 10px; font-size: 1.05rem; color: var(--blau-dunkel); }
.aw-offen p { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px; margin: 0 0 8px; }
.aw-offen .btn { min-height: 40px; padding: 6px 16px; font-size: .9rem; }
.aw-pdf .btn:disabled, .aw-knoepfe .btn:disabled { opacity: .45; cursor: not-allowed; }
/* Vorausgewählte Felder sind als solche markiert */
.aw-label .aw-vor { background: var(--orange-hell); color: var(--orange-dunkel); }
.aw-eingabe-vor input, .aw-eingabe-vor select { border-color: var(--orange); background: #fffaf5; }
