/* Philipp Hartmann Energieberatung, zweiter Entwurf vom 29. Oktober 2026.
   Neu gebaut nach den Vorbildern Enter, Thermondo, Greenox und Greiling
   (Herkunft je Baustein in docs/VORHABEN.md), weil der erste Entwurf
   „sehr nach Claude" aussah (Gründer, 29. Oktober 2026).
   Zwei Richtungen über <html data-richtung>: A Blau, B Grün. Sie
   unterscheiden sich nur in Logo und Akzent. Farben nur über die Tokens hier. */

@font-face { font-family: 'Jakarta'; src: url('schrift/jakarta.woff2') format('woff2'); font-weight: 200 800; font-display: swap; }
/* Source Serif nur noch für Logo A */
@font-face { font-family: 'Source Serif'; src: url('schrift/source-serif.woff2') format('woff2'); font-weight: 200 900; font-display: swap; }
@font-face { font-family: 'Source Serif'; src: url('schrift/source-serif-kursiv.woff2') format('woff2'); font-weight: 200 900; font-style: italic; font-display: swap; }

:root {
    --weiss: #ffffff;
    --flaeche: #f3f4f1;
    --tinte: #12202a;
    --tinte-tief: #0c161d;
    --grau: #4a5760;
    --linie: #dfe2dc;
    --auf-dunkel: #c4cdd2;

    --akzent: #0a6690;
    --akzent-tief: #084f70;
    --akzent-hell: #009fe3;
    --akzent-flaeche: #e4f1f8;
    --akzent-auf-dunkel: #8ccfef;

    --schrift: 'Jakarta', 'Helvetica Neue', Arial, sans-serif;
    --rund: 20px;
    --rund-klein: 12px;
    --schatten: 0 24px 60px rgba(12, 22, 29, 0.18);

    --rand: clamp(16px, 4vw, 40px);
    --breite: 1240px;
    --abstand: clamp(72px, 9vw, 128px);
    --abstand-innen: clamp(32px, 4vw, 56px);
}

[data-richtung="b"] {
    --akzent: #1f7040;
    --akzent-tief: #165530;
    --akzent-hell: #4cb848;
    --akzent-flaeche: #e6f2e8;
    --akzent-auf-dunkel: #93d98e;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--weiss); color: var(--tinte); font-family: var(--schrift); font-size: 1.0625rem; line-height: 1.65; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--akzent); }
h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -0.025em; line-height: 1.1; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5.2vw, 4.1rem); letter-spacing: -0.035em; line-height: 1.04; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.3rem; line-height: 1.25; letter-spacing: -0.015em; }
p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }
svg.symbol { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

.innen { max-width: var(--breite); margin: 0 auto; padding: 0 var(--rand); }
.sektion { padding: var(--abstand) 0; }
.sektion.flaeche { background: var(--flaeche); }
.kopfzeile { max-width: 44rem; margin: 0 auto var(--abstand-innen); text-align: center; }
.kopfzeile.links { margin-left: 0; text-align: left; }
.kopfzeile p { color: var(--grau); font-size: 1.15rem; margin-top: 1rem; }
.kicker { display: block; font-weight: 700; font-size: 0.95rem; color: var(--akzent); margin-bottom: 0.75rem; }
/* Etikett hinter einem Wort, wie die farbigen Kästen bei Thermondo */
.etikett { background: var(--akzent); color: var(--weiss); padding: 0.02em 0.22em 0.06em; border-radius: 8px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
/* Im Hero ist die Fläche nur 1,02em hoch statt der ganzen Schrifthöhe (rund
   1,3em), sonst überlappen zwei umbrochene Etikettzeilen (Durchsicht des
   Gründers vom 30. Oktober 2026). Nur dort, weil „80 % Zuschuss" keine
   Unterlängen hat; in den Leistungen ragten g und p sonst heraus. */
.hero h1 { line-height: 1.12; }
.hero h1 .etikett { background: linear-gradient(var(--akzent), var(--akzent)) 0 58% / 100% 1.02em no-repeat; padding: 0 0.22em; border-radius: 0; }
.platz { background: #fff1b8; color: #574300; padding: 0 0.25em; border-radius: 4px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }

/* Pillenknopf mit rundem Pfeil (nach Enter) */
.knopf { display: inline-flex; align-items: center; justify-content: center; gap: 0.75rem; min-height: 52px; padding: 0.4rem 0.45rem 0.4rem 1.4rem; border: 0; border-radius: 999px; background: var(--akzent); color: var(--weiss); font: 700 1rem/1.2 var(--schrift); text-decoration: none; cursor: pointer; text-align: left; transition: background 0.15s, transform 0.15s; }
.knopf .pfeil { width: 40px; height: 40px; border-radius: 50%; background: var(--weiss); color: var(--akzent); display: grid; place-items: center; flex-shrink: 0; transition: transform 0.15s; }
.knopf .pfeil svg { width: 18px; height: 18px; }
.knopf:hover { background: var(--akzent-tief); }
.knopf:hover .pfeil { transform: translateX(3px); }
.knopf.hell { background: var(--weiss); color: var(--tinte); }
.knopf.hell .pfeil { background: var(--akzent); color: var(--weiss); }
.knopf.hell:hover { background: var(--akzent-flaeche); }
.knopf.schlicht { padding: 0.4rem 1.3rem; min-height: 46px; }
.knopf.breit { width: 100%; justify-content: space-between; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid var(--akzent-hell); outline-offset: 2px; }

/* Menü als schwebende weiße Leiste (nach Thermondo) */
.kopf { position: fixed; top: 12px; left: 0; right: 0; z-index: 40; padding: 0 var(--rand); pointer-events: none; }
.kopf .leiste { pointer-events: auto; max-width: calc(var(--breite) - 2 * var(--rand)); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; min-height: 68px; padding: 0.5rem 0.6rem 0.5rem 1.2rem; background: var(--weiss); border-radius: 16px; box-shadow: 0 8px 30px rgba(12, 22, 29, 0.12); }
.marke { display: block; flex-shrink: 0; text-decoration: none; }
.logo { display: block; height: 42px; width: auto; }
.logo-b { display: none; }
[data-richtung="b"] .logo-a { display: none; }
[data-richtung="b"] .logo-b { display: block; }
.logo .l-tinte { fill: var(--tinte); }
.logo .l-akzent { fill: var(--akzent); }
.logo .l-hell { fill: var(--akzent-hell); }
.logo .l-grau { fill: var(--grau); }
.logo .l-weiss { fill: var(--weiss); }
.logo .l-dach { fill: none; stroke: var(--tinte); stroke-width: 4.5; stroke-linejoin: miter; }
.logo .t-titel { font-family: 'Source Serif', Georgia, serif; font-weight: 600; }
.logo .t-titel-kursiv { font-family: 'Source Serif', Georgia, serif; font-style: italic; font-weight: 500; }
.logo .t-text { font-family: var(--schrift); font-weight: 700; }
.logo .t-fett { font-family: var(--schrift); font-weight: 800; }
.fuss .logo .l-tinte { fill: var(--weiss); }
.fuss .logo .l-dach { stroke: var(--weiss); }
.fuss .logo .l-grau { fill: var(--auf-dunkel); }
.fuss .logo .l-akzent { fill: var(--akzent-auf-dunkel); }
[data-richtung="b"] .fuss .logo-b .l-akzent { fill: var(--akzent-hell); }
.menue { display: flex; gap: 1.6rem; }
.menue a { color: var(--tinte); text-decoration: none; font-weight: 600; font-size: 0.98rem; }
.menue a:hover { color: var(--akzent); }
.kopf-rechts { display: flex; align-items: center; gap: 1rem; }
.kopf .knopf .kurz { display: none; }
.kopf .telefon { display: flex; align-items: center; gap: 0.45rem; color: var(--tinte); text-decoration: none; font-weight: 700; font-size: 0.98rem; }
.kopf .telefon svg { color: var(--akzent); width: 20px; height: 20px; }
.menue a, .kopf .telefon, .kopf .knopf { white-space: nowrap; }
/* Mit der echten Nummer (30. Oktober 2026) wird die Leiste zwischen 1101 und 1240 px zu eng: Nummer weg, Symbol bleibt */
@media (max-width: 1240px) { .kopf .telefon .nummer { display: none; } }
@media (max-width: 1100px) { .menue { display: none; } }
@media (max-width: 640px) {
    .kopf .telefon .nummer { display: none; }
    .kopf .knopf .lang { display: none; }
    .kopf .knopf .kurz { display: inline; }
}
@media (max-width: 420px) {
    .kopf .leiste { padding-left: 0.85rem; gap: 0.6rem; min-height: 60px; }
    .logo { height: 32px; }
    .kopf .knopf.schlicht { padding: 0.4rem 1rem; }
}
/* Bis 380 px passt Logo A nicht neben Telefon und Knopf (gemessen bei 360 px, 29. Oktober 2026) */
@media (max-width: 380px) { .logo { height: 25px; } .kopf .telefon { display: none; } .kopf .knopf.schlicht { padding: 0.4rem 0.8rem; font-size: 0.9rem; } }

/* Hero: vollflächiges Foto, Text links, Fördercheck rechts */
.hero { position: relative; color: var(--weiss); background: var(--tinte-tief); padding: 132px 0 clamp(48px, 6vw, 88px); overflow: hidden; }
.hero-foto { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 70%; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 18, 24, 0.86) 0%, rgba(10, 18, 24, 0.7) 55%, rgba(10, 18, 24, 0.2) 85%, rgba(10, 18, 24, 0.1) 100%), linear-gradient(0deg, rgba(10, 18, 24, 0.55) 0%, rgba(10, 18, 24, 0) 40%); }
.hero .innen { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: clamp(28px, 5vw, 72px); align-items: center; min-height: min(70vh, 640px); }
.hero .ort { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.45rem 0.9rem 0.45rem 0.7rem; background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.25); border-radius: 999px; font-weight: 600; font-size: 0.92rem; margin-bottom: 1.4rem; backdrop-filter: blur(6px); }
.hero .ort svg { width: 18px; height: 18px; }
.hero h1 { margin-bottom: 1.4rem; }
.hero .unterzeile { font-size: clamp(1.08rem, 1.5vw, 1.25rem); color: var(--weiss); max-width: 34rem; margin-bottom: 1.6rem; }
.haken { list-style: none; margin: 0 0 2rem; padding: 0; display: grid; gap: 0.55rem; }
.haken li { display: flex; align-items: center; gap: 0.65rem; font-weight: 600; }
.haken svg { width: 22px; height: 22px; color: var(--weiss); background: var(--akzent); border-radius: 50%; padding: 4px; stroke-width: 2.6; }
.hero-wege { display: flex; flex-wrap: wrap; align-items: center; gap: 0.8rem 1.4rem; }
.hero .anruf { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--weiss); font-weight: 700; font-size: 1.05rem; text-decoration: none; }
.hero .anruf svg { width: 20px; height: 20px; }
.hero .anruf:hover { text-decoration: underline; }
.hero .siegel-klein { display: inline-flex; align-items: center; gap: 0.9rem; margin-top: 2rem; padding: 0.55rem 0.9rem 0.55rem 0.6rem; background: var(--weiss); border-radius: var(--rund-klein); color: var(--tinte); font-size: 0.85rem; line-height: 1.3; font-weight: 600; }
.hero .siegel-klein img { width: 132px; }
@media (max-width: 960px) {
    .hero { padding-top: 104px; }
    .hero .innen { grid-template-columns: minmax(0, 1fr); min-height: 0; }
    .hero::after { background: linear-gradient(180deg, rgba(10, 18, 24, 0.7) 0%, rgba(10, 18, 24, 0.8) 45%, rgba(10, 18, 24, 0.95) 100%); }
}

/* Fördercheck in Schritten (nach dem Quiz auf der Münster-Seite von Enter) */
.check { background: var(--weiss); color: var(--tinte); border-radius: var(--rund); box-shadow: var(--schatten); padding: clamp(20px, 2.6vw, 32px); }
.check-kopf { display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-size: 0.88rem; font-weight: 700; color: var(--grau); margin-bottom: 0.6rem; }
.check-kopf .titel { color: var(--akzent); }
.balken { height: 6px; background: var(--flaeche); border-radius: 99px; overflow: hidden; margin-bottom: 1.5rem; }
.balken span { display: block; height: 100%; width: 20%; background: var(--akzent); border-radius: 99px; transition: width 0.3s; }
.schritt[hidden] { display: none; }
.schritt h2 { font-size: clamp(1.35rem, 2.2vw, 1.6rem); margin-bottom: 1.1rem; letter-spacing: -0.02em; }
.kacheln { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem; }
.kachel { display: flex; flex-direction: column; align-items: flex-start; gap: 0.6rem; min-height: 64px; padding: 0.95rem 1rem; background: var(--weiss); border: 1.5px solid var(--linie); border-radius: var(--rund-klein); font: 650 0.98rem/1.3 var(--schrift); color: var(--tinte); text-align: left; cursor: pointer; transition: border-color 0.15s, background 0.15s; }
.kachel.zeile { flex-direction: row; align-items: center; }
.kachel svg { width: 30px; height: 30px; color: var(--akzent); }
.kachel:hover { border-color: var(--akzent); background: var(--akzent-flaeche); }
.kachel[aria-pressed="true"] { border-color: var(--akzent); background: var(--akzent-flaeche); }
.check-fuss { display: flex; justify-content: space-between; align-items: center; margin-top: 1.1rem; font-size: 0.88rem; color: var(--grau); }
.berater-mini { display: inline-flex; align-items: center; gap: 0.55rem; }
.berater-mini img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; }
.zurueck { background: none; border: 0; padding: 0.3rem 0; font: 600 0.92rem var(--schrift); color: var(--grau); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.zurueck[hidden] { visibility: hidden; display: inline; }
.ergebnis-zahl { font-size: clamp(2.6rem, 5vw, 3.4rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1; color: var(--akzent); margin: 0.3rem 0 0.5rem; }
.ergebnis-satz { color: var(--grau); font-size: 0.98rem; }
.zeilen { list-style: none; margin: 1rem 0 1.3rem; padding: 0; }
.zeilen li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.6rem 0; border-bottom: 1px solid var(--linie); font-size: 0.95rem; }
.zeilen b { white-space: nowrap; }
.hinweis-klein { font-size: 0.8rem; color: var(--grau); margin-top: 0.9rem; line-height: 1.5; }
.felder { display: grid; gap: 0.7rem; margin-bottom: 1rem; }
.felder label { display: block; font-weight: 650; font-size: 0.88rem; margin-bottom: 0.25rem; }
input, select, textarea { width: 100%; font: inherit; font-size: 1rem; padding: 0.75rem 0.9rem; border: 1.5px solid #c9cec6; border-radius: 10px; background: var(--weiss); color: var(--tinte); }
.danke { background: var(--akzent-flaeche); border-radius: var(--rund-klein); padding: 1.1rem 1.2rem; font-weight: 600; }

/* Stichtag (nach Enters Hinweisband zum Heizungsgesetz) und Vertrauenszeile */
.leiste-unten { background: var(--weiss); padding: 28px 0 8px; }
.stichtag { display: flex; align-items: center; gap: 0.9rem; padding: 0.9rem 1.2rem; background: var(--akzent-flaeche); border-radius: var(--rund-klein); color: var(--akzent-tief); font-size: 0.98rem; }
.stichtag svg { width: 26px; height: 26px; }
.stichtag b { white-space: nowrap; }
.vertrauen { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; padding: 1.6rem 0 1rem; }
.vertrauen ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.7rem 2rem; }
.vertrauen li { display: flex; align-items: center; gap: 0.5rem; font-weight: 650; font-size: 0.98rem; }
.vertrauen li svg { width: 22px; height: 22px; color: var(--akzent); }
.vertrauen img { width: 170px; }
@media (max-width: 560px) { .stichtag { align-items: flex-start; } }

/* Förderung: Infokarten (nach Enter Münster) */
.foerder-karten { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.foerder-karte { background: var(--weiss); border-radius: var(--rund); padding: 1.6rem 1.5rem; display: flex; flex-direction: column; }
.rund-symbol { width: 52px; height: 52px; border-radius: 50%; background: var(--akzent-flaeche); color: var(--akzent); display: grid; place-items: center; margin-bottom: 1.2rem; }
.rund-symbol svg { width: 26px; height: 26px; }
.foerder-karte .zahl { font-size: clamp(2.3rem, 3.4vw, 2.9rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1; color: var(--akzent); margin-bottom: 0.7rem; }
.foerder-karte .zahl small { font-size: 0.42em; font-weight: 700; color: var(--grau); letter-spacing: 0; margin-right: 0.25em; }
.foerder-karte h3 { margin-bottom: 0.5rem; }
.foerder-karte p { color: var(--grau); font-size: 0.97rem; }
.quelle { margin-top: auto; padding-top: 1rem; font-size: 0.8rem; font-weight: 600; color: var(--grau); }
.stadt { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); margin-top: 16px; background: var(--weiss); border-radius: var(--rund); overflow: hidden; }
.stadt img { width: 100%; height: 100%; min-height: 300px; object-fit: cover; }
.stadt .inhalt { padding: clamp(24px, 4vw, 48px); }
.stadt .zahl { font-size: clamp(2.3rem, 3.4vw, 2.9rem); font-weight: 800; letter-spacing: -0.04em; color: var(--akzent); line-height: 1; margin: 0.4rem 0 0.8rem; }
.stadt .zahl small { font-size: 0.42em; font-weight: 700; color: var(--grau); letter-spacing: 0; margin-right: 0.25em; }
.stadt h3 { font-size: 1.5rem; margin-bottom: 0.7rem; }
.stadt p { color: var(--grau); }
.stadt .marke-stadt { display: inline-block; font-weight: 700; font-size: 0.85rem; padding: 0.3rem 0.7rem; border-radius: 999px; background: var(--flaeche); }
@media (max-width: 1080px) { .foerder-karten { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .stadt { grid-template-columns: minmax(0, 1fr); } .stadt img { min-height: 0; aspect-ratio: 16 / 9; } }
@media (max-width: 560px) { .foerder-karten { grid-template-columns: minmax(0, 1fr); } }

/* Leistungen: Bild-Text-Karten im Wechsel (nach Thermondo) */
.reihen { display: grid; gap: 20px; }
.reihe { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: var(--flaeche); border-radius: var(--rund); overflow: hidden; }
.reihe:nth-child(even) .reihe-bild { order: 2; }
/* Bild füllt die Zeile, bestimmt aber nicht ihre Höhe: sonst ziehen Hochformate die Karte lang */
.reihe-bild { position: relative; min-height: 340px; }
.reihe-bild img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reihe .inhalt { padding: clamp(24px, 4vw, 56px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.reihe h3 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); margin-bottom: 1rem; }
.reihe p { color: var(--grau); }
.reihe .punkte { list-style: none; padding: 0; margin: 0.4rem 0 1.6rem; display: grid; gap: 0.45rem; }
.reihe .punkte li { display: flex; gap: 0.6rem; align-items: flex-start; }
.reihe .punkte svg { width: 20px; height: 20px; color: var(--akzent); margin-top: 0.2em; stroke-width: 2.4; }
.reihe .preis { font-weight: 700; color: var(--akzent-tief); background: var(--akzent-flaeche); padding: 0.35rem 0.8rem; border-radius: 999px; font-size: 0.9rem; margin-bottom: 1.4rem; }
.skala { display: flex; gap: 3px; width: 100%; max-width: 360px; margin: 0.2rem 0 0.4rem; }
.skala span { flex: 1; height: 26px; border-radius: 4px; display: grid; place-items: center; font: 800 0.75rem/1 var(--schrift); color: #12202a; }
.skala-text { display: flex; justify-content: space-between; width: 100%; max-width: 360px; font-size: 0.8rem; color: var(--grau); margin-bottom: 1.2rem; }
@media (max-width: 860px) {
    .reihe { grid-template-columns: minmax(0, 1fr); }
    .reihe:nth-child(even) .reihe-bild { order: 0; }
    .reihe-bild { min-height: 0; }
    .reihe-bild img { position: static; aspect-ratio: 16 / 10; }
}

/* Ablauf mit großen Nummern (nach Enter) */
.ablauf { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.ablauf-bild { margin: 0; position: sticky; top: 104px; }
.ablauf-bild img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--rund); }
.schritte { list-style: none; margin: 0; padding: 0; counter-reset: schritt; }
.schritte li { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 1rem; padding: 1.6rem 0; border-bottom: 1px solid var(--linie); }
.schritte li:first-child { padding-top: 0; }
.schritte li::before { counter-increment: schritt; content: '0' counter(schritt); font-size: 3rem; font-weight: 800; letter-spacing: -0.05em; line-height: 0.9; color: var(--akzent); opacity: 0.28; }
.schritte h3 { margin-bottom: 0.4rem; }
.schritte p { color: var(--grau); }
.schritte .dauer { display: inline-block; margin-top: 0.7rem; font-size: 0.85rem; font-weight: 700; color: var(--akzent-tief); background: var(--akzent-flaeche); padding: 0.25rem 0.7rem; border-radius: 999px; }
@media (max-width: 860px) {
    .ablauf { grid-template-columns: minmax(0, 1fr); }
    .ablauf-bild { position: static; }
    .ablauf-bild img { aspect-ratio: 16 / 10; }
    .schritte li { grid-template-columns: 60px minmax(0, 1fr); }
    .schritte li::before { font-size: 2.2rem; }
}

/* Drei Fehler: dunkles Band */
.dunkel { background: var(--tinte); color: var(--weiss); }
.dunkel .kicker { color: var(--akzent-auf-dunkel); }
.dunkel .kopfzeile p { color: var(--auf-dunkel); }
.fehler { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.fehler article { background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: var(--rund); padding: 1.8rem 1.6rem; }
.fehler .nr { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--akzent); color: var(--weiss); font-weight: 800; margin-bottom: 1.2rem; }
.fehler h3 { margin-bottom: 0.6rem; }
.fehler p { color: var(--auf-dunkel); }
@media (max-width: 900px) { .fehler { grid-template-columns: minmax(0, 1fr); } }

/* Persönlicher Berater mit PLZ-Abfrage (nach Enter) */
.berater { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
/* Echtes Foto vom Gründer, 30. Oktober 2026 (quadratisch, 800 px) */
.portraet { margin: 0; aspect-ratio: 4 / 5; border-radius: var(--rund); overflow: hidden; background: var(--flaeche); }
.portraet img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.zitat { font-size: clamp(1.2rem, 1.9vw, 1.45rem); font-weight: 600; line-height: 1.45; letter-spacing: -0.01em; margin: 1.4rem 0; padding-left: 1.2rem; border-left: 4px solid var(--akzent); }
.siegel { display: flex; align-items: center; gap: 1.2rem; margin-top: 1.6rem; }
.siegel img { width: 170px; flex-shrink: 0; }
.siegel p { font-size: 0.9rem; color: var(--grau); margin: 0; }
@media (max-width: 860px) { .berater { grid-template-columns: minmax(0, 1fr); } .portraet { aspect-ratio: 1 / 1; max-width: 520px; } }
@media (max-width: 480px) { .siegel { flex-direction: column; align-items: flex-start; } }

/* Fragen, mittig (nach Enter) */
.fragen { max-width: 860px; margin: 0 auto; display: grid; gap: 10px; }
.fragen details { background: var(--weiss); border-radius: var(--rund-klein); }
.fragen summary { list-style: none; cursor: pointer; padding: 1.15rem 3.2rem 1.15rem 1.4rem; font-weight: 700; font-size: 1.05rem; position: relative; }
.fragen summary::-webkit-details-marker { display: none; }
.fragen summary svg { position: absolute; right: 1.2rem; top: 50%; width: 22px; height: 22px; transform: translateY(-50%); color: var(--akzent); transition: transform 0.2s; }
.fragen details[open] summary svg { transform: translateY(-50%) rotate(180deg); }
.fragen details > div { padding: 0 1.4rem 1.3rem; color: var(--grau); }

/* Kontakt: Fotokarte mit Formular */
.kontakt-karte { position: relative; border-radius: calc(var(--rund) + 8px); overflow: hidden; color: var(--weiss); background: var(--tinte); }
.kontakt-karte > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.kontakt-karte::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 18, 24, 0.9) 0%, rgba(10, 18, 24, 0.7) 50%, rgba(10, 18, 24, 0.45) 100%); }
.kontakt-raster { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); padding: clamp(28px, 5vw, 72px); align-items: center; }
.kontakt-karte .kicker { color: var(--akzent-auf-dunkel); }
.kontakt-karte h2 { margin-bottom: 1rem; }
.kontakt-karte .weg { color: #dfe5e8; font-size: 1.1rem; }
.kontakt-karte dl { margin: 2rem 0 0; display: grid; gap: 1rem; }
.kontakt-karte dt { font-size: 0.85rem; font-weight: 600; color: #dfe5e8; }
.kontakt-karte dd { margin: 0; font-size: 1.15rem; font-weight: 700; }
.kontakt-karte dd a { color: var(--weiss); text-decoration: none; }
.formular { background: var(--weiss); color: var(--tinte); border-radius: var(--rund); padding: clamp(20px, 3vw, 32px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0.9rem; }
.formular .ganz { grid-column: 1 / -1; }
.formular label { display: block; font-weight: 650; font-size: 0.9rem; margin-bottom: 0.3rem; }
.formular textarea { min-height: 110px; resize: vertical; }
.formular .klein { font-size: 0.82rem; color: var(--grau); margin: 0; }
@media (max-width: 900px) { .kontakt-raster { grid-template-columns: minmax(0, 1fr); } .kontakt-karte::after { background: rgba(10, 18, 24, 0.82); } }
@media (max-width: 520px) { .formular { grid-template-columns: minmax(0, 1fr); } }

/* Fuß mit runden Ecken (nach Enter) */
.fuss { background: var(--tinte); color: var(--auf-dunkel); border-radius: 28px 28px 0 0; margin-top: 0; padding: clamp(40px, 6vw, 72px) 0 2rem; font-size: 0.95rem; }
.fuss-raster { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 2rem; }
.fuss h4 { color: var(--weiss); font-size: 0.95rem; margin: 0 0 0.8rem; }
.fuss ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; }
.fuss a { color: var(--auf-dunkel); text-decoration: none; }
.fuss a:hover { color: var(--weiss); }
.fuss .logo { height: 44px; margin-bottom: 1rem; }
.fuss .unten { margin-top: 2.5rem; padding-top: 1.4rem; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 0.85rem; }
@media (max-width: 860px) { .fuss-raster { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (max-width: 480px) { .fuss-raster { grid-template-columns: minmax(0, 1fr); } }

/* Effizienzskala wie auf dem Energieausweis (GEG), reine Illustration */
/* G etwas dunkler als das Ausweis-Rot #ed1c24, weil Weiß darauf nur 4,38 : 1
   hatte; mit #e01b22 sind es 4,83 (gemessen am 30. Oktober 2026). */
.k-ap { background: #00a650; } .k-a { background: #4cb848; } .k-b { background: #a6ce39; }
.k-c { background: #e2e82a; } .k-d { background: #fff200; } .k-e { background: #fdb913; }
.k-f { background: #f37021; } .k-g { background: #e01b22; color: #ffffff !important; } .k-h { background: #b3121f; color: #ffffff !important; }

/* Rechtsseiten */
.recht { max-width: 46rem; padding: var(--abstand) var(--rand); margin: 0 auto; }
.recht h1 { margin-bottom: 1.5rem; }

/* Entwurfsleiste: nur im Entwurf, fliegt beim Livegang raus */
