/* =========================================================
   Der Hausheld – Stylesheet (Version 2)
   Farben aus dem Logo: Dunkelgrün #1D554C, Figur-Grün #458678, Weiß.
   Ruhig und schlicht: Fotos laufen weich in die Flächen aus,
   Abschnitte gehen mit Farbverläufen ineinander über.
   Mobil zuerst: Grundregeln fürs Handy, größere Bildschirme per min-width.
   ========================================================= */

/* ---------- Schriften (selbst gehostet, OFL) ---------- */
@font-face { font-family: "Oswald"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("/fonts/oswald-latin-wght-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Oswald"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("/fonts/oswald-latin-ext-wght-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/source-sans-3-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/source-sans-3-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/source-sans-3-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/source-sans-3-latin-ext-600-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2C60-2C7F, U+A720-A7FF; }

/* ---------- Farben und Maße ---------- */
:root {
  --gruen: #1d554c;
  --gruen-tief: #133a34;
  --figur: #458678;
  --figur-hell: #a9d3c8;
  --flaeche: #eef3f1;
  --weiss: #ffffff;
  --tinte: #12302b;
  --tinte-2: #44605a;
  --linie: #cfdcd8;
  --fehlt: #fff1a6;

  --schrift-titel: "Oswald", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --schrift: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;

  --rand: 20px;
  --breite: 1200px;
  --abstand: clamp(4rem, 11vw, 8rem);
  --uebergang: clamp(90px, 14vw, 180px);   /* Höhe der Farbverläufe zwischen Abschnitten */
  --leiste: 72px;
  --kopf: 72px;
  --weich: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: light;
}
@media (min-width: 600px) { :root { --rand: 32px; } }
@media (min-width: 900px) { :root { --kopf: 84px; } }

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 16px; }
@media (min-width: 900px) { html { scroll-padding-top: calc(var(--kopf) + 16px); } }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; font-family: var(--schrift); font-size: 1.125rem; line-height: 1.6; color: var(--tinte); background: var(--weiss); padding-bottom: calc(var(--leiste) + env(safe-area-inset-bottom)); overflow-x: clip; }
@media (min-width: 900px) { body { padding-bottom: 0; } }
img { display: block; max-width: 100%; height: auto; }
svg { display: block; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--gruen); text-underline-offset: 0.2em; text-decoration-thickness: 1.5px; }
a:hover { color: var(--gruen-tief); }
:focus-visible { outline: 3px solid var(--figur); outline-offset: 3px; }
::selection { background: var(--gruen); color: var(--weiss); }
.wrap { width: 100%; max-width: var(--breite); margin-inline: auto; padding-inline: var(--rand); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: var(--rand); top: -100px; z-index: 100; padding: 12px 18px; background: var(--gruen); color: var(--weiss); font-weight: 600; }
.skip:focus { top: 12px; color: var(--weiss); }

mark.fehlt { background: var(--fehlt); color: #3b3000; padding: 0.05em 0.3em; outline: 1.5px dashed #b39500; outline-offset: 1px; font-family: var(--schrift); font-size: 0.85em; font-weight: 600; text-transform: none; letter-spacing: 0; line-height: 1.4; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* ---------- Typografie: Überschriften in normaler Schreibweise, Großbuchstaben nur für kleine Auszeichnungen ---------- */
h1, h2, h3, .textseite-titel, .direkt-tel, .fuss-cta-text { font-family: var(--schrift-titel); font-weight: 600; letter-spacing: -0.005em; color: var(--gruen); }
h1 { font-size: clamp(2.1rem, 8.4vw, 4.25rem); line-height: 1.12; text-wrap: balance; }
h2 { font-size: clamp(2.25rem, 8vw, 3.75rem); line-height: 1.1; text-wrap: balance; }
h3 { font-size: clamp(1.6rem, 6vw, 2.25rem); line-height: 1.15; }
.einleitung { font-size: clamp(1.1875rem, 3.2vw, 1.375rem); line-height: 1.5; max-width: 38ch; margin-top: 1rem; }

.slogan, .werte, .fuss-slogan, .vergleich-label, .fuss-titel, .direkt-tel span { font-family: var(--schrift-titel); text-transform: uppercase; font-weight: 500; letter-spacing: 0.08em; }
.slogan, .werte { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 0.45em; font-size: clamp(0.9375rem, 3vw, 1.0625rem); color: var(--figur); }
.slogan .punkt, .werte .punkt { color: var(--gruen); }
.slogan { margin-bottom: 1.1rem; }
.slogan { position: relative; padding-bottom: 0.8rem; }
.slogan::before { content: ""; position: absolute; left: 0; bottom: 0; width: 64px; height: 3px; background: var(--gruen); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.6em; min-height: 52px; padding: 0 1.4em; border: 2px solid transparent; border-radius: 4px; font-family: var(--schrift-titel); text-transform: uppercase; font-size: 1.0625rem; font-weight: 500; letter-spacing: 0.06em; line-height: 1; text-decoration: none; cursor: pointer; transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s var(--weich); }
.btn svg { width: 1.1em; height: 1.1em; flex: none; transition: transform 0.25s var(--weich); }
.btn:hover svg { transform: translateX(4px); }
.btn:active { transform: scale(0.98); }
.btn-primaer { background: var(--gruen); color: var(--weiss); }
.btn-primaer:hover { background: var(--gruen-tief); color: var(--weiss); }
.btn-hell { background: var(--weiss); color: var(--gruen); }
.btn-hell:hover { background: var(--flaeche); color: var(--gruen-tief); }
.btn-rand { background: transparent; color: var(--gruen); border-color: var(--gruen); }
.btn-rand:hover { background: var(--weiss); color: var(--gruen-tief); }
.btn-gross { min-height: 58px; font-size: 1.1875rem; padding: 0 1.6em; }
.btn-klein { min-height: 44px; font-size: 0.9375rem; padding: 0 1.1em; }

/* ---------- Kopf ---------- */
.kopf { position: relative; z-index: 50; background: var(--weiss); transition: box-shadow 0.3s; }
.kopf-innen { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--kopf); }
.marke img { width: 160px; }
.kopf-nav { display: none; }
.kopf-aktion { display: flex; align-items: center; gap: 1.25rem; }
.kopf-aktion .btn-klein { display: none; }
.kopf-tel { display: inline-flex; align-items: center; gap: 0.45em; font-weight: 600; text-decoration: none; white-space: nowrap; }
.kopf-tel svg { width: 1.1em; height: 1.1em; }
@media (max-width: 420px) { .kopf-tel span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } .kopf-tel { width: 44px; height: 44px; justify-content: center; border: 2px solid var(--gruen); border-radius: 50%; } }
@media (min-width: 900px) {
  .kopf { position: sticky; top: 0; }
  .kopf.gescrollt { box-shadow: 0 6px 24px rgba(18, 48, 43, 0.1); }
  .marke img { width: 200px; }
  .kopf-nav { display: block; }
  .kopf-nav ul { display: flex; gap: 2rem; }
  .kopf-nav a { font-weight: 600; text-decoration: none; color: var(--tinte); background: linear-gradient(var(--figur), var(--figur)) 0 100% / 0 2px no-repeat; padding-bottom: 2px; transition: background-size 0.3s var(--weich), color 0.2s; }
  .kopf-nav a:hover { color: var(--gruen); background-size: 100% 2px; }
  .kopf-aktion .btn-klein { display: inline-flex; }
}

/* ---------- Abschnitte ---------- */
.abschnitt { padding-block: var(--abstand); }
.abschnitt-kopf { margin-bottom: clamp(2rem, 6vw, 3.5rem); }

/* ---------- Bild mit weichem Verlauf ---------- */
.verlauf img { -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 14%, #000 80%, transparent 100%); mask-image: linear-gradient(to bottom, transparent 0, #000 14%, #000 80%, transparent 100%); }

/* ---------- 1. Start: Foto läuft in Weiß aus, Text darunter ---------- */
.start { position: relative; }
.start-bild { position: relative; height: 44svh; min-height: 260px; max-height: 520px; overflow: hidden; }
.start-bild picture, .start-bild img { width: 100%; height: 100%; }
.start-bild img { object-fit: cover; object-position: 50% 42%; }
.start-bild::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 38%, rgba(255, 255, 255, 0.55) 68%, rgba(255, 255, 255, 0.92) 88%, #fff 100%); }
.start-text { position: relative; margin-top: -3rem; padding-bottom: clamp(3rem, 8vw, 5rem); }
.start-unterzeile { font-size: clamp(1.1875rem, 3.4vw, 1.375rem); line-height: 1.5; margin-top: 1rem; max-width: 34ch; }
.start-aktion { margin-top: 1.75rem; display: grid; gap: 0.9rem; justify-items: start; }
.start-aktion .btn { width: 100%; }
.start-anruf { color: var(--tinte-2); }
.start-anruf a { font-weight: 600; white-space: nowrap; }
@media (min-width: 600px) { .start-aktion .btn { width: auto; } }
@media (min-width: 900px) {
  .start { min-height: min(calc(100svh - var(--kopf)), 820px); display: flex; align-items: center; }
  .start-bild { position: absolute; top: 0; right: 0; bottom: 0; width: 58%; height: auto; max-height: none; }
  .start-bild::after { background: linear-gradient(to right, #fff 0%, rgba(255, 255, 255, 0.85) 10%, rgba(255, 255, 255, 0) 42%), linear-gradient(to bottom, rgba(255, 255, 255, 0) 70%, #fff 100%); }
  .start-text { margin-top: 0; padding-block: 3rem 4rem; }
  .start-text > * { max-width: min(540px, 40vw); }
  .start h1 { font-size: clamp(2.4rem, min(4.2vw, 7.5vh), 4rem); }
}

/* ---------- 2. Leistungen: aufklappbar ---------- */
.bereiche { border-bottom: 1px solid var(--linie); }
.bereich { border-top: 1px solid var(--linie); }
.bereich summary { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.3rem 1.25rem; align-items: center; padding: 1.4rem 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.bereich summary::-webkit-details-marker { display: none; }
.bereich summary h3 { grid-column: 1; transition: color 0.2s; }
.bereich-kurz { grid-column: 1; color: var(--tinte-2); line-height: 1.45; }
.bereich summary:hover h3 { color: var(--figur); }
.bereich summary:focus-visible { outline-offset: 6px; }
.plus { grid-column: 2; grid-row: 1 / span 2; position: relative; width: 46px; height: 46px; border: 2px solid var(--gruen); border-radius: 50%; transition: background-color 0.25s, transform 0.4s var(--weich); }
.plus::before, .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 2px; margin: -1px 0 0 -8px; background: var(--gruen); transition: transform 0.4s var(--weich), background-color 0.25s; }
.plus::after { transform: rotate(90deg); }
.bereich[open] .plus, .bereich.oeffnet .plus { background: var(--gruen); }
.bereich[open] .plus::before, .bereich[open] .plus::after, .bereich.oeffnet .plus::before, .bereich.oeffnet .plus::after { background: var(--weiss); }
.bereich[open] .plus::after, .bereich.oeffnet .plus::after { transform: rotate(0deg); }
.bereich.schliesst .plus { background: transparent; }
.bereich.schliesst .plus::before, .bereich.schliesst .plus::after { background: var(--gruen); }
.bereich.schliesst .plus::after { transform: rotate(90deg); }
.bereich-inhalt { overflow: hidden; }
.bereich-inhalt { display: grid; gap: 1.5rem; padding-bottom: 2rem; }
.bereich-liste li { position: relative; padding: 0.55rem 0 0.55rem 1.5rem; }
.bereich-liste li::before { content: ""; position: absolute; left: 0; top: 1.2rem; width: 0.65rem; height: 2px; background: var(--figur); }
.bereich-bild { margin-inline: calc(var(--rand) * -1); }
.bereich-bild img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.regelmaessig { margin-top: clamp(2rem, 5vw, 3rem); padding: 1.4rem 1.5rem; background: linear-gradient(to right, var(--flaeche), rgba(238, 243, 241, 0)); border-left: 4px solid var(--gruen); font-size: 1.1875rem; line-height: 1.5; font-weight: 600; }
@media (min-width: 900px) {
  .bereich summary { grid-template-columns: 260px minmax(0, 1fr) auto; padding: 1.75rem 0; }
  .bereich summary h3 { grid-row: 1; }
  .bereich-kurz { grid-column: 2; grid-row: 1; font-size: 1.1875rem; }
  .plus { grid-column: 3; grid-row: 1; }
  .bereich-inhalt { padding-left: calc(260px + 1.25rem); padding-bottom: 2.5rem; }
  .bereich-inhalt.mit-bild { grid-template-columns: minmax(0, 1fr) 360px; align-items: start; gap: 2.5rem; }
  .bereich-bild { margin: 0; }
  .bereich-bild img { aspect-ratio: 3 / 4; -webkit-mask-image: linear-gradient(to right, transparent 0, #000 30%), linear-gradient(to bottom, transparent 0, #000 12%, #000 85%, transparent 100%); -webkit-mask-composite: source-in; mask-image: linear-gradient(to right, transparent 0, #000 30%), linear-gradient(to bottom, transparent 0, #000 12%, #000 85%, transparent 100%); mask-composite: intersect; }
}

/* ---------- Vorher / Nachher ---------- */
.vergleich-abschnitt { padding-top: 0; }
.vergleich-raster { display: grid; gap: 2rem; }
.vergleich { position: relative; width: 100%; max-width: 460px; aspect-ratio: 9 / 13; overflow: hidden; border-radius: 6px; background: var(--flaeche); touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.vergleich-bild { position: absolute; inset: 0; }
.vergleich-bild picture, .vergleich-bild img { width: 100%; height: 100%; }
.vergleich-bild img { object-fit: cover; object-position: 50% 55%; }
.vergleich-bild.vorher { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.vergleich-griff { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: var(--weiss); box-shadow: 0 0 12px rgba(0, 0, 0, 0.35); pointer-events: none; }
.vergleich-griff::after { content: "‹ ›"; position: absolute; top: 50%; left: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; display: grid; place-items: center; border-radius: 50%; background: var(--weiss); color: var(--gruen); font-family: var(--schrift-titel); font-size: 1.4rem; font-weight: 600; letter-spacing: 0.1em; box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25); }
.vergleich-label { position: absolute; top: 14px; padding: 0.3rem 0.65rem; border-radius: 3px; background: rgba(19, 58, 52, 0.82); color: var(--weiss); font-size: 0.8125rem; pointer-events: none; }
.vergleich-label.links { left: 14px; }
.vergleich-label.rechts { right: 14px; }
.vergleich-regler { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; }
.vergleich:has(.vergleich-regler:focus-visible) { outline: 3px solid var(--figur); outline-offset: 4px; }
@media (min-width: 900px) { .vergleich-raster { grid-template-columns: minmax(0, 1fr) 440px; gap: 4rem; align-items: center; } }

/* ---------- 3. Einsatzgebiet: Weiß geht in Grün über, Foto läuft in Grün aus ---------- */
.gebiet { position: relative; color: var(--weiss); padding-top: var(--uebergang); padding-bottom: calc(var(--abstand) + var(--uebergang)); background: linear-gradient(to bottom, var(--weiss) 0, var(--gruen) var(--uebergang), var(--gruen) calc(100% - var(--uebergang)), var(--weiss) 100%); }
.gebiet h2 { color: var(--weiss); }
.gebiet .einleitung { color: #e6f0ed; }
.gebiet-bild { margin-bottom: -2rem; }
.gebiet-bild img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 60%; -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 18%, #000 60%, transparent 100%); mask-image: linear-gradient(to bottom, transparent 0, #000 18%, #000 60%, transparent 100%); }
.gebiet-text { position: relative; }
.orte { margin-top: 2rem; }
.orte li { font-family: var(--schrift-titel); font-weight: 500; font-size: clamp(1.5rem, 6vw, 2.25rem); line-height: 1.2; padding-block: 0.7rem; border-bottom: 1px solid rgba(255, 255, 255, 0.28); }
.orte li:first-child { border-top: 1px solid rgba(255, 255, 255, 0.28); }
.orte li + li { color: var(--figur-hell); }
.gebiet-hinweis { margin-block: 1.5rem; font-size: 1.125rem; }
@media (min-width: 900px) {
  .gebiet { display: grid; align-items: center; }
  .gebiet-bild { position: absolute; top: var(--uebergang); bottom: var(--uebergang); right: 0; width: 46%; margin: 0; }
  .gebiet-bild picture, .gebiet-bild img { height: 100%; }
  .gebiet-bild img { aspect-ratio: auto; -webkit-mask-image: linear-gradient(to right, transparent 0, #000 40%), linear-gradient(to bottom, transparent 0, #000 15%, #000 85%, transparent 100%); -webkit-mask-composite: source-in; mask-image: linear-gradient(to right, transparent 0, #000 40%), linear-gradient(to bottom, transparent 0, #000 15%, #000 85%, transparent 100%); mask-composite: intersect; }
  .gebiet-text > * { max-width: min(560px, 48vw); }
  .gebiet-text { padding-block: var(--abstand) 0; }
}

/* ---------- 4. Über Maxi ---------- */
.ueber { padding-top: calc(var(--abstand) * 0.5); }
.ueber-raster { display: grid; gap: 1.5rem; }
.ueber-name { margin-top: 1rem; font-weight: 600; }
.ueber-name span { display: block; font-weight: 400; color: var(--tinte-2); }
.ueber-text p + p { margin-top: 1rem; max-width: 56ch; }
.ueber-text .einleitung { margin-top: 0; margin-bottom: 1.25rem; }
.werte { margin-top: 2rem; padding-top: 1rem; position: relative; }
.werte::before { content: ""; position: absolute; left: 0; top: 0; width: 64px; height: 3px; background: var(--gruen); }
@media (min-width: 900px) { .ueber-raster { grid-template-columns: 360px minmax(0, 1fr); gap: 4rem; } }

/* ---------- 5. Anfrage ---------- */
.anfrage { padding-top: calc(var(--abstand) + var(--uebergang) * 0.5); background: linear-gradient(to bottom, var(--weiss) 0, var(--flaeche) var(--uebergang)); }
.anfrage-raster { display: grid; gap: 3.5rem; }
.formular { margin-top: 2.25rem; display: grid; gap: 1.4rem; max-width: 640px; }
.feld label { display: block; font-weight: 600; margin-bottom: 0.4rem; }
.pflicht { color: var(--gruen); }
.feld input[type="text"], .feld textarea { width: 100%; font: inherit; color: var(--tinte); background: var(--weiss); border: 1.5px solid #9fb3ad; border-radius: 4px; padding: 0.8rem 0.9rem; min-height: 54px; transition: border-color 0.2s, box-shadow 0.2s; }
.feld textarea { resize: vertical; min-height: 140px; }
.feld input[type="text"]:focus-visible, .feld textarea:focus-visible { outline: none; border-color: var(--gruen); box-shadow: 0 0 0 3px rgba(69, 134, 120, 0.35); }
.hinweis { margin-top: 0.35rem; font-size: 1rem; color: var(--tinte-2); }
.fehler { margin-top: 0.35rem; font-size: 1rem; font-weight: 600; color: #a1261b; }
.fehler:empty { display: none; }
.feld input[aria-invalid="true"], .feld textarea[aria-invalid="true"] { border-color: #a1261b; }
.feld-check { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.25rem 0.85rem; align-items: start; }
.feld-check input { width: 26px; height: 26px; margin: 0.1rem 0 0; accent-color: var(--gruen); }
.feld-check label { font-weight: 400; margin: 0; }
.feld-check .fehler { grid-column: 2; }
.pflicht-hinweis { font-size: 1rem; color: var(--tinte-2); }
.formular .btn { justify-self: start; width: 100%; }
.formular-status:empty { display: none; }
.formular-status { padding: 1rem 1.25rem; background: var(--weiss); border-left: 4px solid var(--gruen); font-weight: 600; }
.falle { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.direkt { padding-top: 1.5rem; position: relative; }
.direkt::before { content: ""; position: absolute; left: 0; top: 0; width: 64px; height: 3px; background: var(--gruen); }
.direkt h3 { font-size: clamp(1.5rem, 5vw, 2rem); }
.direkt-tel { display: block; margin-top: 1rem; font-size: clamp(2rem, 9vw, 2.75rem); line-height: 1.1; text-decoration: none; }
.direkt-tel span { display: block; font-size: 0.9375rem; line-height: 1.3; color: var(--figur); margin-bottom: 0.75rem; }
.direkt-wa { margin-top: 1.25rem; }
.direkt-name { margin-top: 2rem; color: var(--tinte-2); }
@media (min-width: 600px) { .formular .btn { width: auto; } }
@media (min-width: 900px) { .anfrage-raster { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 5rem; } .direkt { margin-top: 0.5rem; align-self: start; position: sticky; top: calc(var(--kopf) + 32px); } }

/* ---------- Fuß: Fläche geht in Dunkelgrün über ---------- */
.fuss { color: var(--weiss); padding-block: calc(var(--uebergang) + 1rem) 2rem; background: linear-gradient(to bottom, var(--flaeche) 0, var(--gruen-tief) var(--uebergang)); }
.fuss a { color: var(--weiss); }
.fuss a:hover { color: var(--figur-hell); }
.fuss .btn-hell { color: var(--gruen); }
.fuss .btn-hell:hover { color: var(--gruen-tief); }
.fuss-cta { display: grid; gap: 1.5rem; padding-bottom: 2.5rem; margin-bottom: 2.5rem; border-bottom: 1px solid rgba(255, 255, 255, 0.3); }
.fuss-cta-text { color: var(--weiss); font-size: clamp(1.6rem, 5.5vw, 2.5rem); line-height: 1.15; }
.fuss-cta .btn { justify-self: start; }
.fuss-raster { display: grid; gap: 2rem; }
.fuss-logo { width: 210px; }
.fuss-titel { font-size: 0.9375rem; color: var(--figur-hell); margin-bottom: 0.5rem; }
.fuss li + li { margin-top: 0.3rem; }
.fuss-unten { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, 0.25); display: grid; gap: 0.75rem; font-size: 1rem; color: #d5e5e0; }
.fuss-slogan { display: flex; flex-wrap: wrap; gap: 0 0.45em; font-size: 0.9375rem; }
@media (min-width: 700px) { .fuss-raster { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .fuss-cta { grid-template-columns: minmax(0, 1fr) auto; align-items: center; } .fuss-raster { grid-template-columns: 1.4fr 1fr 1fr 1fr; } .fuss-unten { grid-template-columns: minmax(0, 1fr) auto; } }

/* ---------- Handy-Leiste ---------- */
.handy-leiste { position: fixed; inset: auto 0 0 0; z-index: 60; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; padding: 10px var(--rand) calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, 0.94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 -8px 24px rgba(18, 48, 43, 0.12); transition: transform 0.35s var(--weich); }
.handy-leiste .btn { min-height: 52px; font-size: 1rem; padding: 0 1em; }
@media (min-width: 900px) { .handy-leiste { display: none; } }
/* Netlify-Hinweis „Powered by Netlify“ (von Netlify eingeblendet): auf dem Handy über die Leiste setzen,
   damit er den Anfrage-Button nicht verdeckt. Er bleibt sichtbar. */
@media (max-width: 899px) { #nl-badge-frame { bottom: calc(var(--leiste) + env(safe-area-inset-bottom) + 6px) !important; } }

/* ---------- Textseiten ---------- */
.textseite { padding-block: clamp(2.5rem, 8vw, 5rem) var(--abstand); }
.textseite-titel { font-size: clamp(2.25rem, 9vw, 4rem); line-height: 1.1; margin-bottom: 2.5rem; padding-bottom: 1rem; position: relative; }
.textseite-titel::after { content: ""; position: absolute; left: 0; bottom: 0; width: 64px; height: 3px; background: var(--gruen); }
.prosa { max-width: 68ch; }
.prosa h2 { font-size: clamp(1.4rem, 4.5vw, 1.75rem); line-height: 1.2; margin-top: 2.5rem; margin-bottom: 0.6rem; }
.prosa p + p, .prosa p + ul, .prosa ul + p { margin-top: 1em; }
.prosa ul { list-style: square; padding-left: 1.25rem; }
.prosa li + li { margin-top: 0.4rem; }
.prosa li::marker { color: var(--figur); }

/* ---------- Animationen (nur wenn Bewegung erwünscht) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--weich), transform 0.9s var(--weich); transition-delay: var(--verz, 0ms); }
  .js .reveal.sichtbar { opacity: 1; transform: none; }
  .start-bild img { animation: einzoomen 2.2s var(--weich) both; }
  @keyframes einzoomen { from { transform: scale(1.08); opacity: 0.6; } to { transform: scale(1); opacity: 1; } }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }

/* ---------- Druck ---------- */
@media print { .handy-leiste, .kopf-aktion, .kopf-nav, .fuss-cta, .formular, .vergleich-abschnitt { display: none; } body { padding: 0; } .js .reveal { opacity: 1; transform: none; } }
