/* Der Dachdecker Rostock — Basis (alle Seiten). Ästhetik „Zinkkante“: Flächen Vollton, Tiefe nur durch Firstlinie, Anschnitt und einen Schatten-Typ. */

/* ── Schriften (lokal, swap, Metrik-Fallback) ────────────────────────────────────────────── */
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; src: url("../fonts/archivo-100-900-latin.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: "Archivo"; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; src: url("../fonts/archivo-100-900-latin-ext.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: "IBM Plex Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/plex-400-latin.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: "IBM Plex Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/plex-400-latin-ext.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: "IBM Plex Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/plex-500-latin.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: "IBM Plex Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/plex-500-latin-ext.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: "IBM Plex Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/plex-600-latin.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: "IBM Plex Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/plex-600-latin-ext.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: "IBM Plex Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/plex-700-latin.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: "IBM Plex Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/plex-700-latin-ext.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; }

/* ── Grund ────────────────────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scrollbar-color: var(--zink) var(--kalk); scrollbar-width: thin; }
html.reduziert, html[data-ansicht="ruhig"] { scroll-behavior: auto; }
body {
  margin: 0; background: var(--kalk); color: var(--text);
  font-family: var(--schrift-text); font-size: var(--t-text); line-height: var(--zeile);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  padding-bottom: calc(var(--leiste-h) + env(safe-area-inset-bottom, 0px));
}
@media (min-width: 1024px) { body { padding-bottom: 0; } }
::selection { background: var(--rot); color: var(--kalk); }
img, video, svg { display: block; max-width: 100%; height: auto; }
img { color: var(--grau); font-size: var(--t-klein); }
a { color: inherit; text-decoration: none; touch-action: manipulation; }
p, ul, ol, figure, blockquote, dl { margin: 0 0 1em; }
ul, ol { padding-left: 1.3em; }
strong, b { font-weight: 600; }
hr { border: 0; border-top: 1px solid var(--zink); margin: 2rem 0; }
button { font: inherit; color: inherit; touch-action: manipulation; }
:focus { outline: none; }
:focus-visible { outline: 3px solid var(--rot); outline-offset: 3px; border-radius: 2px; }
.dunkel :focus-visible, .leiste :focus-visible, .fuss :focus-visible, .kopfzeile :focus-visible, .oben :focus-visible { outline: 3px solid var(--rot); outline-offset: 2px; box-shadow: 0 0 0 2px var(--kalk); }
.knopf--rot:focus-visible, .nummer:focus-visible, .leiste__cta:focus-visible { outline: 3px solid var(--kalk); outline-offset: 3px; box-shadow: none; }

/* Fließtext-Links */
.fliesstext a, .lauftext a, .stimme a, .faq a, .verweis a, p a { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; text-decoration-color: var(--zink); transition: text-decoration-color var(--d-kurz); }
.fliesstext a:hover, .lauftext a:hover, p a:hover, .faq a:hover, .verweis a:hover { text-decoration-color: var(--rot); }

/* ── Typografie ───────────────────────────────────────────────────────────────────────────── */
h1, h2, h3, h4 { font-family: var(--schrift-display); font-stretch: 75%; font-variation-settings: "wdth" var(--wdth-display); font-weight: 800; letter-spacing: -0.015em; word-spacing: 0.08em; line-height: 1.05; margin: 0 0 0.5em; text-wrap: balance; color: inherit; }
h1, .display { font-size: var(--t-display); letter-spacing: -0.02em; line-height: 1.02; }
h2 { font-size: var(--t-h2); }
h3 { font-size: var(--t-h3); line-height: 1.15; }
h4 { font-size: var(--t-lead); font-family: var(--schrift-text); font-stretch: normal; font-variation-settings: normal; font-weight: 600; letter-spacing: 0; word-spacing: normal; }
.lead { font-size: var(--t-lead); line-height: 1.45; font-weight: 400; max-width: 34em; }
.kicker { font-size: var(--t-klein); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--grau); margin: 0 0 .75rem; }
.dunkel .kicker { color: var(--zink-hell); }
.klein { font-size: var(--t-klein); color: var(--grau); }
.dunkel .klein { color: var(--zink-hell); }
.textspalte { max-width: var(--textspalte); }
.zahl { font-family: var(--schrift-display); font-stretch: 82%; font-variation-settings: "wdth" var(--wdth-nummer); font-weight: 800; font-variant-numeric: tabular-nums lining-nums; }

/* ── Flächen und Raster ───────────────────────────────────────────────────────────────────── */
.raster { width: 100%; max-width: var(--inhalt); margin-inline: auto; padding-inline: var(--rand); }
.kapitel { padding-block: var(--kapitel); position: relative; }
.kapitel--eng { padding-block: calc(var(--kapitel) * .6); }
.dunkel { background: var(--schiefer); color: var(--kalk); }
.dunkel .grau, .dunkel .klein { color: var(--zink-hell); }
.weiss { background: var(--weiss); }
.spalten { display: grid; gap: clamp(28px, 4vw, 64px); align-items: center; }
@media (min-width: 1024px) {
  .spalten { grid-template-columns: 5fr 7fr; }
  .spalten--7-5 { grid-template-columns: 7fr 5fr; }
  .spalten--gleich { grid-template-columns: 1fr 1fr; }
  .spalten--oben { align-items: start; }
  .spalten > .bild-rechts { order: 2; }
}
.sektionskopf { max-width: 44em; margin-bottom: clamp(32px, 4vw, 56px); }
.sektionskopf h2 { margin-bottom: .35em; }
.sektionskopf .lead { margin: 0; }

/* Bilder */
.bild { margin: 0; border-radius: var(--radius-bild); overflow: hidden; background: var(--kalk-tief); position: relative; }
.bild img { width: 100%; height: 100%; object-fit: cover; }
.bild--4-3 { aspect-ratio: 4 / 3; } .bild--3-2 { aspect-ratio: 3 / 2; } .bild--4-5 { aspect-ratio: 4 / 5; } .bild--1-1 { aspect-ratio: 1; } .bild--16-9 { aspect-ratio: 16 / 9; } .bild--3-4 { aspect-ratio: 3 / 4; }
.bild--anschnitt { border-radius: 0; }
.bild figcaption, .bildunterschrift { font-size: var(--t-klein); color: var(--grau); padding-top: .6rem; }
.dunkel .bild figcaption { color: var(--zink-hell); }
.bild--rund { border-radius: 50%; aspect-ratio: 1; width: 96px; flex: none; }

/* ── Knöpfe ───────────────────────────────────────────────────────────────────────────────── */
.knopf { display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 48px; padding: 0 24px; border-radius: var(--radius-knopf); border: 1px solid transparent; font-family: var(--schrift-text); font-weight: 700; font-size: 1.0625rem; line-height: 1.1; cursor: pointer; text-align: center; transition: background var(--d-kurz) ease, border-color var(--d-kurz) ease, transform var(--d-kurz) var(--ease-out); -webkit-tap-highlight-color: transparent; }
.knopf svg { width: 1.2em; height: 1.2em; flex: none; }
.fliesstext a.knopf, .lauftext a.knopf, p a.knopf, .faq a.knopf, .verweis a.knopf, a.knopf { text-decoration: none; }
.knopf:active { transform: scale(.97); }
.knopf--rot { background: var(--rot); color: var(--kalk); border-color: var(--rot); }
.knopf--rot:hover { background: var(--rot-dunkel); border-color: var(--rot-dunkel); }
.knopf--sek { background: transparent; color: var(--text); border-color: var(--grau); }
.knopf--sek:hover { border-color: var(--text); }
.dunkel .knopf--sek, .fuss .knopf--sek { color: var(--kalk); border-color: var(--zink-hell); }
.dunkel .knopf--sek:hover { border-color: var(--kalk); }
.knopf--gross { min-height: 56px; font-size: 1.125rem; padding: 0 28px; }
.knopf--breit { width: 100%; }
@media (max-width: 767px) { .knopf--mobil-breit { width: 100%; } }
.knopfzeile { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; margin-top: 1.5rem; }
.knopfzeile .klein { margin: 0; flex-basis: 100%; }

/* Rolle „Nummer“: steht nur auf Rot oder auf Kalkputz-Feld, nie als rote Schrift auf Schiefer */
.nummer { display: inline-flex; align-items: center; gap: .4em; white-space: nowrap; background: var(--rot); color: var(--kalk); border-radius: var(--radius-knopf); padding: .18em .5em .2em; font-family: var(--schrift-display); font-stretch: 82%; font-variation-settings: "wdth" var(--wdth-nummer); font-weight: 800; font-variant-numeric: tabular-nums lining-nums; font-size: var(--t-nummer); line-height: 1; letter-spacing: -0.01em; text-decoration: none; transition: background var(--d-kurz) ease, transform var(--d-kurz) var(--ease-out); }
.nummer:hover { background: var(--rot-dunkel); }
.nummer:active { transform: scale(.97); }
.nummer svg { width: .7em; height: .7em; flex: none; }
.nummer-block { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.nummer-block__zeile { font-weight: 500; }
.nummer-block__gesicht { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; flex: none; }
@media (max-width: 479px) { .nummer-block__gesicht { width: 64px; height: 64px; } }

/* ── Zum Inhalt ───────────────────────────────────────────────────────────────────────────── */
.zum-inhalt { position: absolute; left: 12px; top: -200px; z-index: 100; background: var(--rot); color: var(--kalk); padding: 12px 18px; border-radius: var(--radius-knopf); font-weight: 700; }
.zum-inhalt:focus { top: 12px; }

/* ── Sekundärleiste (Desktop) ─────────────────────────────────────────────────────────── */
.oben { display: none; background: var(--text); color: var(--zink-hell); font-size: .875rem; }
.oben__innen { display: flex; align-items: center; justify-content: space-between; height: 34px; gap: 16px; }
.oben__liste { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.oben__liste a { display: inline-flex; align-items: center; height: 34px; padding: 0 12px; font-weight: 500; color: var(--zink-hell); border-bottom: 2px solid transparent; }
.oben__liste a:hover { color: var(--kalk); }
.oben__liste a[aria-current="page"] { color: var(--kalk); border-bottom-color: var(--rot); }
.oben__gebiet { margin: 0; color: var(--zink); }
@media (min-width: 1024px) { .oben { display: block; } }

/* ── Kopfzeile (Schiefer, helles Logo) ────────────────────────────────────────────────── */
.kopfzeile { position: sticky; top: 0; z-index: 60; background: var(--schiefer); color: var(--kalk); border-bottom: 1px solid rgba(201, 198, 192, .18); transition: box-shadow var(--d-mittel) ease; }
.kopfzeile.geschrumpft { box-shadow: 0 2px 8px rgba(0, 0, 0, .35); }
.kopfzeile__innen { display: flex; align-items: center; gap: 12px; height: var(--kopf-h); transition: height 200ms ease; }
.kopfzeile.geschrumpft .kopfzeile__innen { height: 60px; }
.kopfzeile__logo { display: block; flex: none; }
.kopfzeile__logo img { width: auto; height: calc(var(--kopf-h) - 14px); max-width: none; transition: height 200ms ease; }
.kopfzeile.geschrumpft .kopfzeile__logo img { height: 48px; }
.nav { display: none; margin-left: 8px; }
.nav__liste { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.nav__liste > li { position: relative; }
.nav__link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; border-radius: var(--radius-knopf); font-weight: 600; font-size: 1rem; color: var(--kalk); background: none; border: 0; cursor: pointer; white-space: nowrap; }
.nav__link:hover, .nav__link[aria-expanded="true"] { background: rgba(242, 240, 236, .1); }
.nav__link[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--rot); }
.nav__link--notdienst::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--rot); flex: none; }
.nav__link svg { width: 16px; height: 16px; transition: transform var(--d-kurz); }
.nav__link[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav__sub { position: absolute; top: calc(100% + 10px); left: 0; background: var(--weiss); color: var(--text); border-radius: var(--radius); box-shadow: var(--schatten); padding: 22px; display: none; gap: 22px; transform-origin: top left; }
.nav__sub--breit { min-width: 860px; grid-template-columns: repeat(4, 1fr); }
.nav__sub--schmal { min-width: 320px; grid-template-columns: 1fr; }
.nav__sub.offen { display: grid; animation: aufklappen 180ms var(--ease-out); }
@keyframes aufklappen { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
.nav__gruppe h4 { font-family: var(--schrift-display); font-stretch: 82%; font-variation-settings: "wdth" 82; font-weight: 800; font-size: 1.0625rem; letter-spacing: 0; text-transform: none; color: var(--text); margin: 0 0 .35rem; }
.nav__wen { font-size: .8125rem; color: var(--grau); margin: 0 0 .7rem; line-height: 1.4; min-height: 2.8em; }
.nav__gruppe a { display: block; padding: 7px 8px; margin: 0 -8px; border-radius: 4px; font-size: .9375rem; font-weight: 500; }
.nav__gruppe a:hover { background: var(--kalk); }
.nav__gruppe a.nav__rot { color: var(--rot); font-weight: 700; }
.kopfzeile__aktionen { margin-left: auto; display: flex; align-items: center; gap: 8px; }
@media (min-width: 1024px) { .nav { display: block; } .kopfzeile__aktionen { margin-left: auto; } }
@media (min-width: 1024px) and (max-width: 1279px) { .nav__link { padding: 0 9px; font-size: .9375rem; } .kopf-cta { padding: 0 14px; font-size: .9375rem; } .nav__sub--breit { min-width: 760px; } }
.kopf-tel { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: var(--radius-knopf); border: 1px solid var(--zink-hell); color: var(--kalk); background: transparent; transition: background var(--d-kurz), border-color var(--d-kurz); }
.kopf-tel:hover { background: rgba(242, 240, 236, .12); border-color: var(--kalk); }
.kopf-tel svg { width: 20px; height: 20px; }
.kopf-cta { display: none; min-height: 44px; }
@media (min-width: 1024px) { .kopf-cta { display: inline-flex; } }
.ansicht-schalter { display: none; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px; border-radius: var(--radius-knopf); border: 1px solid transparent; background: none; font-size: .9375rem; font-weight: 500; color: var(--zink-hell); cursor: pointer; }
.ansicht-schalter svg { width: 20px; height: 20px; }
.ansicht-schalter:hover { border-color: var(--zink-hell); color: var(--kalk); }
.ansicht-schalter--icon { width: 44px; padding: 0; justify-content: center; }
.ansicht-schalter[aria-pressed="true"] { color: var(--kalk); border-color: var(--rot); }
/* Kundenwunsch 11/2026: kein Schalter „Ruhige Ansicht“ mehr in der Kopfzeile — er bleibt im Handy-Menü und im Fuß */
.kopfzeile__aktionen .ansicht-schalter--icon { display: none; }
.menue .ansicht-schalter { display: inline-flex; color: var(--text); border-color: var(--grau); }
.burger { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 0 10px; background: none; border: 1px solid var(--zink-hell); border-radius: var(--radius-knopf); cursor: pointer; }
.burger span { display: block; height: 2px; background: var(--kalk); transition: transform var(--d-kurz) var(--ease-out), opacity var(--d-kurz); }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (min-width: 1024px) { .burger { display: none; } }

/* Vollbild-Menü (mobil) */
.menue { position: fixed; inset: 0; bottom: calc(var(--leiste-h) + env(safe-area-inset-bottom, 0px)); background: var(--kalk); color: var(--text); z-index: 55; overflow-y: auto; padding: calc(var(--kopf-h) + 12px) var(--rand) 32px; display: none; }
.menue.offen { display: block; animation: menue-auf 240ms var(--ease-out); }
@keyframes menue-auf { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: none; } }
.menue ul { list-style: none; margin: 0; padding: 0; }
.menue > ul > li { border-bottom: 1px solid var(--kalk-tief); }
.menue a, .menue summary { display: flex; align-items: center; justify-content: space-between; min-height: 52px; font-family: var(--schrift-display); font-stretch: 82%; font-variation-settings: "wdth" 82; font-weight: 700; font-size: 1.375rem; cursor: pointer; list-style: none; }
.menue summary::-webkit-details-marker { display: none; }
.menue summary svg { width: 20px; height: 20px; transition: transform var(--d-kurz); }
.menue details[open] summary svg { transform: rotate(180deg); }
.menue .menue__gruppe { padding: 0 0 14px; }
.menue .menue__gruppe h4 { font-size: var(--t-klein); text-transform: uppercase; letter-spacing: .04em; color: var(--grau); margin: 12px 0 2px; font-family: var(--schrift-text); font-stretch: normal; font-variation-settings: normal; }
.menue .menue__gruppe a { font-family: var(--schrift-text); font-stretch: normal; font-variation-settings: normal; font-weight: 500; font-size: 1.0625rem; min-height: 44px; }
.menue .menue__notdienst::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--rot); margin-right: 10px; }
.menue .menue__notdienst { justify-content: flex-start; }
/* Handy-Menü (Kundenwunsch 11/2026): die meistgefragten Leistungen als große Einzelpunkte,
   alle weiteren gebündelt unter „Alle Leistungen“. Dessen Pfeil nickt beim ersten Öffnen zweimal nach unten,
   damit klar ist: hier geht es weiter. */
.menue .menue__alle { border-top: 2px solid var(--text); }
.menue .menue__alle > summary svg { width: 24px; height: 24px; color: var(--rot); flex: none; }
.menue .menue__alle[open] > summary { color: var(--rot-dunkel); }
.menue .menue__alle .menue__gruppe { padding-left: 14px; border-left: 2px solid var(--kalk-tief); margin-left: 2px; }
.menue .menue__alle .menue__gruppe h4:first-child { margin-top: 2px; }
@keyframes menue-nicken { 0%, 40%, 100% { transform: translateY(0); } 20%, 60% { transform: translateY(5px); } 80% { transform: translateY(2px); } }
.menue.offen.menue--hinweis .menue__alle:not([open]) > summary svg { animation: menue-nicken 1000ms var(--ease-out) 500ms 2; }
.menue__sekundaer { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 16px !important; }
.menue__sekundaer a { font-family: var(--schrift-text); font-stretch: normal; font-variation-settings: normal; font-weight: 600; font-size: 1.0625rem; min-height: 44px; color: var(--grau); }
.menue__ansicht { margin-top: 16px; display: flex; flex-direction: column; gap: 12px; }
.menue__kontakt { margin-top: 24px; font-size: .9375rem; color: var(--grau); }
body.menue-offen { overflow: hidden; }

/* ── Feste Leiste unten (mobil): Anrufen + Anliegen schildern ─────────────────────────── */
.leiste { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; height: calc(var(--leiste-h) + env(safe-area-inset-bottom, 0px)); padding-bottom: env(safe-area-inset-bottom, 0px); background: var(--schiefer); color: var(--kalk); display: flex; align-items: center; border-top: 1px solid rgba(201, 198, 192, .18); }
.leiste__innen { width: 100%; display: grid; grid-template-columns: auto 1fr; gap: 10px; padding: 8px 12px; align-items: center; }
.leiste__tel { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 16px; border-radius: var(--radius-knopf); border: 1px solid var(--zink-hell); color: var(--kalk); font-weight: 600; font-size: .9375rem; }
.leiste__tel svg { width: 20px; height: 20px; }
.leiste__cta { display: inline-flex; align-items: center; justify-content: center; height: 48px; border-radius: var(--radius-knopf); background: var(--rot); color: var(--kalk); font-weight: 700; font-size: 1.0625rem; }
.leiste__cta:hover, .leiste__cta:active { background: var(--rot-dunkel); }
@media (min-width: 1024px) { .leiste { display: none; } }
@media (max-width: 359px) { .leiste__tel span { display: none; } .leiste__tel { padding: 0 14px; } }

/* ── Telefon-Knopf (Icon + „Anrufen“, nie die Nummer) und Text-Telefonlink ───────────── */
.knopf--tel { background: transparent; color: var(--text); border-color: var(--grau); gap: 8px; }
.knopf--tel:hover { border-color: var(--text); }
.knopf--tel svg { width: 20px; height: 20px; }
.dunkel .knopf--tel, .knopf--tel-dunkel { color: var(--kalk); border-color: var(--zink-hell); }
.dunkel .knopf--tel:hover, .knopf--tel-dunkel:hover { border-color: var(--kalk); }
.tel-text { font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; text-decoration-color: var(--zink); }
.tel-text:hover { text-decoration-color: var(--rot); }
.fuss__handlung { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }

/* ── Firstlinie (SVG, zeichnet sich zeitbasiert) ──────────────────────────────────────────── */
.first { width: 100%; height: 24px; overflow: visible; }
.first path, .first circle { fill: none; stroke: var(--grau); stroke-width: 4; stroke-linecap: square; stroke-linejoin: miter; vector-effect: non-scaling-stroke; }
.dunkel .first path, .dunkel .first circle { stroke: var(--zink-hell); }
.first--kante path, .first--kante circle { stroke: var(--zink); }
.first .riss { stroke: var(--rot); stroke-width: 4; }
.first .tropfen { fill: var(--rot); stroke: none; }
.first .punkt { fill: var(--rot); stroke: none; }
@media (max-width: 767px) { .first path, .first circle, .first .riss { stroke-width: 3; } }
.js .first [pathLength] { stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset var(--d-linie) var(--ease-linie); }
.js .first.gezeichnet [pathLength], .js .sichtbar .first [pathLength] { stroke-dashoffset: 0; }
html.reduziert .first [pathLength], html[data-ansicht="ruhig"] .first [pathLength], html.kein-js .first [pathLength] { stroke-dasharray: none; stroke-dashoffset: 0; transition: none; }

/* ── Einblenden (Fluss) ───────────────────────────────────────────────────────────────────── */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity var(--d-mittel) var(--ease-linie), transform var(--d-mittel) var(--ease-linie); }
.js .reveal.sichtbar { opacity: 1; transform: none; }
html.reduziert .reveal, html[data-ansicht="ruhig"] .reveal, html.kein-js .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }

/* ── Seitenkopf der Unterseiten ───────────────────────────────────────────────────────────── */
.seitenkopf { padding-block: clamp(40px, 6vw, 88px) clamp(32px, 5vw, 64px); }
.seitenkopf h1 { max-width: 16em; margin-bottom: .4em; }
.seitenkopf .lead { margin-bottom: 1.25rem; }
.seitenkopf--dunkel { background: var(--schiefer); color: var(--kalk); }
/* Kundenwunsch 11/2026: keine sichtbare Brotkrume auf irgendeiner Seite — auch nicht auf künftigen.
   Das Markup ist aus allen Seitenköpfen entfernt; diese Regel ist das Sicherheitsnetz für neue Seiten.
   Die Brotkrume für Suchmaschinen steht weiterhin als BreadcrumbList-JSON-LD im Quelltext. */
.brotkrume { display: none !important; }

/* ── Seitenkopf als Bild-Bühne (Kundenwunsch 11/2026, wie die Startseite) ───────────────────
   Jedes Kopf-Foto der Unterseiten (letztes Kind in .spalten bzw. .seitenkopf__foto) wird zum
   vollflächigen Hintergrund; ein Schleier in Schiefer sichert den Kontrast, der Text liegt darüber.
   Ohne :has()-Unterstützung bleibt das bisherige Zwei-Spalten-Layout — nichts geht verloren. */
:is(.seitenkopf:has(> .raster > .spalten > figure.bild:last-child), .seitenkopf:has(> .raster > .seitenkopf__foto)) {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--schiefer); color: var(--kalk);
  padding-block: clamp(28px, 6vw, 96px) clamp(44px, 7vw, 104px);
}
:is(.seitenkopf:has(> .raster > .spalten > figure.bild:last-child), .seitenkopf:has(> .raster > .seitenkopf__foto)) :is(.spalten > figure.bild:last-child, .seitenkopf__foto) {
  position: absolute; inset: 0; z-index: -2; margin: 0; width: 100%; height: 100%; max-width: none;
  aspect-ratio: auto; border-radius: 0; background: var(--schiefer);
}
:is(.seitenkopf:has(> .raster > .spalten > figure.bild:last-child), .seitenkopf:has(> .raster > .seitenkopf__foto)) :is(.spalten > figure.bild:last-child, .seitenkopf__foto) img {
  width: 100%; height: 100%; max-width: none; aspect-ratio: auto; object-fit: cover; object-position: 50% 35%;
}
:is(.seitenkopf:has(> .raster > .spalten > figure.bild:last-child), .seitenkopf:has(> .raster > .seitenkopf__foto)) :is(.spalten > figure.bild:last-child, .seitenkopf__foto) figcaption {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap;
}
/* Schleier mobil: von oben nach unten dichter, damit Brotkrume, H1 und Knöpfe auf jedem Foto lesbar bleiben */
:is(.seitenkopf:has(> .raster > .spalten > figure.bild:last-child), .seitenkopf:has(> .raster > .seitenkopf__foto))::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(to bottom, rgba(43,43,43,.8) 0%, rgba(43,43,43,.84) 30%, rgba(43,43,43,.9) 65%, rgba(43,43,43,.95) 100%);
}
:is(.seitenkopf:has(> .raster > .spalten > figure.bild:last-child), .seitenkopf:has(> .raster > .seitenkopf__foto)) .spalten { grid-template-columns: minmax(0, 1fr); }
:is(.seitenkopf:has(> .raster > .spalten > figure.bild:last-child), .seitenkopf:has(> .raster > .seitenkopf__foto)) .spalten > div:first-child { max-width: 46rem; }
:is(.seitenkopf:has(> .raster > .spalten > figure.bild:last-child), .seitenkopf:has(> .raster > .seitenkopf__foto)) :is(h1, .lead) { text-shadow: 0 2px 24px rgba(0, 0, 0, .45); }
/* Helle Unterseiten-Köpfe bekommen dieselben Textfarben wie die dunklen */
:is(.seitenkopf:has(> .raster > .spalten > figure.bild:last-child), .seitenkopf:has(> .raster > .seitenkopf__foto)) :is(.kicker, .klein, .brotkrume, .beitragskopf, .zusagen li span) { color: var(--zink-hell); }
:is(.seitenkopf:has(> .raster > .spalten > figure.bild:last-child), .seitenkopf:has(> .raster > .seitenkopf__foto)) :is(.knopf--tel, .knopf--sek) { color: var(--kalk); border-color: var(--zink-hell); }
:is(.seitenkopf:has(> .raster > .spalten > figure.bild:last-child), .seitenkopf:has(> .raster > .seitenkopf__foto)) :is(.knopf--tel, .knopf--sek):hover { border-color: var(--kalk); }
:is(.seitenkopf:has(> .raster > .spalten > figure.bild:last-child), .seitenkopf:has(> .raster > .seitenkopf__foto)) :focus-visible { outline: 3px solid var(--rot); outline-offset: 2px; box-shadow: 0 0 0 2px var(--kalk); }
:is(.seitenkopf:has(> .raster > .spalten > figure.bild:last-child), .seitenkopf:has(> .raster > .seitenkopf__foto)) .knopf--rot:focus-visible { outline: 3px solid var(--kalk); outline-offset: 3px; box-shadow: none; }
:is(.seitenkopf:has(> .raster > .spalten > figure.bild:last-child), .seitenkopf:has(> .raster > .seitenkopf__foto)) .ziffern li { border-color: rgba(201, 198, 192, .35); }
/* Desktop: Schleier von links (Text) nach rechts (Foto frei), Bühne mit Mindesthöhe */
@media (min-width: 1024px) {
  :is(.seitenkopf:has(> .raster > .spalten > figure.bild:last-child), .seitenkopf:has(> .raster > .seitenkopf__foto)) {
    display: flex; align-items: center; min-height: min(72svh, 680px);
  }
  :is(.seitenkopf:has(> .raster > .spalten > figure.bild:last-child), .seitenkopf:has(> .raster > .seitenkopf__foto))::before {
    background: linear-gradient(to right, rgba(43,43,43,.93) 0%, rgba(43,43,43,.86) 50%, rgba(43,43,43,.5) 78%, rgba(43,43,43,.25) 100%),
                linear-gradient(to top, rgba(42,42,42,.7), transparent 45%);
  }
  :is(.seitenkopf:has(> .raster > .spalten > figure.bild:last-child), .seitenkopf:has(> .raster > .seitenkopf__foto)) .spalten { grid-template-columns: minmax(0, 1fr); }
  :is(.seitenkopf:has(> .raster > .spalten > figure.bild:last-child), .seitenkopf:has(> .raster > .seitenkopf__foto)) .raster > :not(.spalten):not(.seitenkopf__foto) { max-width: 46rem; }
}
/* Handy (Kundenwunsch 11/2026): kompakter Kopf — Botschaft, Knöpfe, drei kurze Zusagen.
   Die gekürzten Texte bleiben im Quelltext für Vorleseprogramme. */
@media (max-width: 767px) {
  .seitenkopf .kicker { display: none; }
  .seitenkopf h1 { font-size: clamp(1.875rem, 1.3rem + 2.6vw, 2.25rem); line-height: 1.06; margin-bottom: .45em; }
  .seitenkopf .lead { font-size: 1.0625rem; line-height: 1.5; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; line-clamp: 4; overflow: hidden; }
  .seitenkopf .zusagen li span { display: none; }
  .seitenkopf .knopfzeile { margin-top: 1.1rem; }
}
/* Ruhige Ansicht: gleichmäßig dichter Schleier für maximalen Kontrast */
html[data-ansicht="ruhig"] :is(.seitenkopf:has(> .raster > .spalten > figure.bild:last-child), .seitenkopf:has(> .raster > .seitenkopf__foto))::before { background: rgba(42, 42, 42, .9); }

/* ── Bild-Text-Wechsel ────────────────────────────────────────────────────────────────────── */
.wechsel { display: grid; gap: clamp(24px, 4vw, 64px); align-items: center; }
.wechsel + .wechsel { margin-top: clamp(48px, 6vw, 96px); }
.wechsel .fliesstext h2, .wechsel .fliesstext h3 { margin-bottom: .5em; }
.wechsel .fliesstext p:last-child { margin-bottom: 0; }
@media (min-width: 1024px) {
  .wechsel { grid-template-columns: 7fr 5fr; }
  .wechsel--text-links { grid-template-columns: 5fr 7fr; }
  .wechsel--text-links .bild { order: 2; }
}
.fliesstext ul, .fliesstext ol { padding-left: 1.2em; }
.fliesstext li { margin-bottom: .35em; }
.fliesstext li::marker { color: var(--rot); font-weight: 700; }

/* Liste mit Ziffern (ohne Icons) */
.ziffern { list-style: none; margin: 0; padding: 0; counter-reset: z; max-width: 40em; }
.ziffern li { counter-increment: z; display: grid; grid-template-columns: 2.2em 1fr; gap: 12px; padding: 14px 0; border-top: 1px solid var(--zink); }
.ziffern li:last-child { border-bottom: 1px solid var(--zink); }
.ziffern li::before { content: counter(z); font-family: var(--schrift-display); font-stretch: 82%; font-variation-settings: "wdth" 82; font-weight: 800; font-size: 1.5rem; line-height: 1; color: var(--rot); padding-top: .1em; }

/* Schritte */
.schritte { list-style: none; margin: 0; padding: 0; counter-reset: s; display: grid; gap: 20px; }
@media (min-width: 768px) { .schritte { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); } }
.schritte li { counter-increment: s; background: var(--weiss); border-radius: var(--radius); padding: 24px 24px 24px; position: relative; }
.dunkel .schritte li { background: rgba(242, 240, 236, .06); }
.schritte li::before { content: counter(s, decimal-leading-zero); display: block; font-family: var(--schrift-display); font-stretch: 82%; font-variation-settings: "wdth" 82; font-weight: 800; font-size: 2rem; line-height: 1; color: var(--rot); margin-bottom: 12px; }
.schritte h3 { font-size: 1.25rem; margin-bottom: .4em; }
.schritte p { margin: 0; font-size: 1rem; }

/* Statement (Festpreis-Satz) */
.statement { background: var(--schiefer); color: var(--kalk); border-radius: var(--radius); padding: clamp(28px, 4vw, 48px); }
.statement p { font-family: var(--schrift-display); font-stretch: 82%; font-variation-settings: "wdth" 85; font-weight: 700; font-size: var(--t-h3); line-height: 1.25; margin: 0; max-width: 24em; text-wrap: balance; }
.statement .klein { margin-top: 1rem; font-family: var(--schrift-text); font-stretch: normal; font-variation-settings: normal; font-weight: 400; font-size: var(--t-klein); color: var(--zink-hell); max-width: none; }
.statement--hell { background: var(--weiss); color: var(--text); }
.statement--hell .klein { color: var(--grau); }

/* Zahlenzeile (drei echte Werte) */
.zahlen { display: grid; gap: 24px; list-style: none; margin: 0; padding: 0; }
@media (min-width: 640px) { .zahlen { grid-template-columns: repeat(3, 1fr); } }
.zahlen li { border-top: 3px solid var(--rot); padding-top: 14px; }
.zahlen .zahl { font-size: clamp(2.25rem, 1.5rem + 2.6vw, 3.5rem); line-height: 1; display: block; margin-bottom: 6px; }
.zahlen p { margin: 0; font-size: 1rem; }

/* ── Kundenstimmen ────────────────────────────────────────────────────────────────────────── */
.stimmen { display: grid; gap: 20px; }
@media (min-width: 768px) { .stimmen { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); } }
.stimme { margin: 0; background: var(--weiss); border-radius: var(--radius); padding: 24px 24px 20px; display: flex; flex-direction: column; gap: 14px; }
.dunkel .stimme { background: rgba(242, 240, 236, .06); }
.stimme p { font-size: 1.1875rem; line-height: 1.5; font-weight: 500; margin: 0; flex: 1; }
.stimme p::before { content: "„"; } .stimme p::after { content: "“"; }
.stimme footer { font-size: var(--t-klein); color: var(--grau); font-weight: 600; }
.dunkel .stimme footer { color: var(--zink-hell); }
.stimme footer span { font-weight: 400; }
.stimme--zeile { background: none; padding: 0; border-left: 3px solid var(--rot); padding-left: 16px; }
.stimme--zeile p { font-size: 1.0625rem; }

/* ── FAQ ──────────────────────────────────────────────────────────────────────────────────── */
.faq { max-width: 46em; }
.faq details { border-top: 1px solid var(--zink); }
.faq details:last-child { border-bottom: 1px solid var(--zink); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding: 14px 0; cursor: pointer; list-style: none; font-weight: 600; font-size: 1.0625rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 24px; height: 24px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / contain no-repeat; transition: transform 200ms var(--ease-out); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 20px; max-width: 40em; }
.faq details > div p:last-child { margin-bottom: 0; }

/* ── Karten (Leistungen nach Anliegen, Referenzen) ────────────────────────────────────────── */
.karten { display: grid; gap: 20px; list-style: none; margin: 0; padding: 0; }
@media (min-width: 640px) { .karten { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .karten--3 { grid-template-columns: repeat(3, 1fr); } .karten--4 { grid-template-columns: repeat(4, 1fr); } }
.karte { background: var(--weiss); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; min-height: 100%; }
.dunkel .karte { background: rgba(242, 240, 236, .06); }
.karte .bild { border-radius: 0; }
.karte__text { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.karte__text h3 { font-size: 1.3125rem; margin: 0; }
.karte__text p { margin: 0; font-size: 1rem; }
.karte__text ul { margin: 0; padding-left: 1.1em; font-size: 1rem; list-style: disc; }
.karte__text li { margin-bottom: .3em; }
.karte__text li::marker { color: var(--rot); }
.karte__links { margin-top: auto; padding-top: 8px; display: flex; flex-wrap: wrap; gap: 6px 14px; font-weight: 600; font-size: .9375rem; }
.karte__links a { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; text-decoration-color: var(--zink); }
.karte__links a:hover { text-decoration-color: var(--rot); }
a.karte, .karte--link { color: inherit; transition: border-color var(--d-kurz); border: 1px solid transparent; }
a.karte:hover { border-color: var(--text); }

/* Verweis-Kasten (Schwester-Seite, Hinweise) */
.verweis { border: 1px solid var(--grau); border-radius: var(--radius); padding: 20px 24px; max-width: 40em; }
.verweis p:last-child { margin: 0; }
.hinweis { font-size: var(--t-klein); color: var(--grau); }

/* ── Formulare ────────────────────────────────────────────────────────────────────────────── */
.kontakt-split { display: grid; gap: clamp(28px, 4vw, 64px); align-items: start; }
@media (min-width: 1024px) { .kontakt-split { grid-template-columns: 5fr 7fr; } }
.formular-karte { background: var(--weiss); border-radius: var(--radius); padding: clamp(20px, 3vw, 36px); box-shadow: var(--schatten); max-width: 640px; }
.dunkel .formular-karte { color: var(--text); }
.formular { display: grid; gap: 16px; }
.formular h3 { margin: 0 0 .25em; }
.feld { display: grid; gap: 6px; }
.feld label, .feld legend { font-weight: 600; font-size: .9375rem; }
.feld label span, .feld legend span { font-weight: 400; color: var(--grau); }
.feld input, .feld select, .feld textarea { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid var(--grau); border-radius: var(--radius-knopf); background: var(--weiss); color: var(--text); font: inherit; font-size: 1rem; transition: border-color 120ms, box-shadow 120ms; }
.feld textarea { min-height: 120px; resize: vertical; }
.feld input:focus-visible, .feld select:focus-visible, .feld textarea:focus-visible { border-color: var(--text); outline: 3px solid var(--rot); outline-offset: 2px; }
.feld select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231E1F1F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
.feld--zeile { display: grid; gap: 16px; }
@media (min-width: 560px) { .feld--zeile { grid-template-columns: 1fr 1fr; } }
.feld.fehlerhaft input, .feld.fehlerhaft select, .feld.fehlerhaft textarea { border-color: var(--rot); border-width: 2px; }
.feld__fehler { display: none; font-size: var(--t-klein); color: var(--rot); font-weight: 500; }
.feld__fehler::before { content: "! "; font-weight: 700; }
.feld.fehlerhaft .feld__fehler { display: block; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; border: 0; }
.chips legend { padding: 0; margin-bottom: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--grau); border-radius: 999px; font-weight: 500; font-size: .9375rem; background: var(--weiss); transition: border-color 120ms, background 120ms; }
.chip input:checked + span { background: var(--schiefer); color: var(--kalk); border-color: var(--schiefer); }
.chip input:focus-visible + span { outline: 3px solid var(--rot); outline-offset: 2px; }
.haken { display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: start; font-size: .9375rem; }
.haken input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--rot); }
.haken a { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; text-decoration-color: var(--zink); }
.schritt-nr { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: var(--schiefer); color: var(--kalk); font-family: var(--schrift-display); font-weight: 800; font-size: 1rem; margin-right: 8px; vertical-align: middle; }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.upload { display: grid; gap: 4px; padding: 16px; border: 1px dashed var(--grau); border-radius: var(--radius-knopf); font-size: .9375rem; }
.upload input { font-size: .9375rem; }
.rueckmeldung { display: none; border-radius: var(--radius-knopf); padding: 14px 16px; font-weight: 500; }
.rueckmeldung.ok { display: block; background: #E7EFE5; color: var(--moos); border: 1px solid var(--moos); }
.rueckmeldung.fehler { display: block; background: #F7E6E6; color: var(--rot); border: 1px solid var(--rot); }
.rueckmeldung a { font-weight: 700; text-decoration: underline; }
.formular .knopf[disabled] { opacity: .7; cursor: progress; }
.formular .knopf .lader { display: none; width: 18px; height: 18px; border: 2px solid rgba(242, 240, 236, .5); border-top-color: var(--kalk); border-radius: 50%; animation: drehen 800ms linear infinite; }
.formular .knopf[disabled] .lader { display: inline-block; }
@keyframes drehen { to { transform: rotate(360deg); } }
.formular__hinweis { font-size: var(--t-klein); color: var(--grau); margin: 0; }

/* ── Anfrageformulare neu (formulare.js): kompakt, Mehrschritt mit Kacheln, Notdienst-Rückruf ── */
.formular [hidden], .formular[hidden] { display: none !important; }
.formular-karte { container-type: inline-size; }
.kacheln { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; border: 0; min-width: 0; }
@container (min-width: 520px) { .kacheln--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.kacheln__frage { padding: 0; margin-bottom: 12px; font-family: var(--schrift-display); font-weight: 800; font-size: 1.25rem; line-height: 1.2; }
.kacheln .feld__fehler { grid-column: 1 / -1; }
.kacheln.fehlerhaft .feld__fehler { display: block; }
.kachel { position: relative; display: block; min-width: 0; }
.kachel input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.kachel__box { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 96px; height: 100%; padding: 14px 8px; border: 1.5px solid var(--grau); border-radius: var(--radius-knopf); background: var(--weiss); text-align: center; font-weight: 600; font-size: .9375rem; line-height: 1.25; overflow-wrap: anywhere; transition: border-color 120ms var(--ease-out), box-shadow 120ms var(--ease-out); }
.kachel__box svg { width: 30px; height: 30px; flex: none; color: var(--schiefer); }
.kachel input:checked + .kachel__box { border-color: var(--rot); box-shadow: inset 0 0 0 1.5px var(--rot); }
.kachel input:checked + .kachel__box svg { color: var(--rot); }
.kachel input:focus-visible + .kachel__box { outline: 3px solid var(--rot); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) { .kachel:hover .kachel__box { border-color: var(--text); } }
.schritte__kopf { display: grid; gap: 8px; }
.schritte__stand { margin: 0; font-size: var(--t-klein); font-weight: 600; color: var(--grau); }
.schritte__balken { height: 6px; border-radius: 3px; background: rgba(30, 31, 31, .12); overflow: hidden; }
.schritte__balken span { display: block; width: 100%; height: 100%; background: var(--rot); transform-origin: left center; transform: scaleX(.3333); transition: transform 240ms var(--ease-out); }
.schritt { display: grid; gap: 16px; }
.schritt__zurueck { margin: 0; }
.link-knopf { display: inline-flex; align-items: center; min-height: 44px; padding: 0; border: 0; background: none; color: inherit; font: inherit; font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; text-decoration-color: var(--zink); cursor: pointer; }
.link-knopf::before { content: "←"; margin-right: .4em; text-decoration: none; }
.link-knopf:hover { text-decoration-color: var(--rot); }
.schritt__dringend { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 0; padding: 12px 14px; border: 1.5px solid var(--rot); border-radius: var(--radius-knopf); }
.formular__eines { margin: -6px 0 0 !important; font-size: var(--t-klein); color: var(--grau) !important; }
.formular__extra summary { display: inline-flex; align-items: center; min-height: 44px; cursor: pointer; list-style: none; font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; text-decoration-color: var(--zink); }
.formular__extra summary::-webkit-details-marker { display: none; }
.formular__extra summary::before { content: "+"; margin-right: .45em; color: var(--rot); font-weight: 800; text-decoration: none; }
.formular__extra[open] summary::before { content: "–"; }
.formular__extra-innen { display: grid; gap: 16px; padding-top: 8px; }
.formular__anruf { margin: 0; }
.formular__anruf .knopf, .schritt__dringend .knopf { gap: 8px; }
.formular__anruf .knopf svg, .schritt__dringend .knopf svg { width: 20px; height: 20px; flex: none; }
.formular__oder { margin: 18px 0 6px; font-weight: 600; }
.formular__danke { padding: 18px 20px; border: 1px solid var(--moos); border-radius: var(--radius-knopf); background: #E7EFE5; color: var(--moos); }
.formular__danke p { margin: 0 0 .45em; }
.formular__danke p:last-child { margin: 0; }
.formular__danke a { color: inherit; font-weight: 700; }
.vertrauen { display: grid; gap: 8px; margin: 0 0 16px; font-size: .9375rem; line-height: 1.45; }
.vertrauen__chef { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.vertrauen__chef svg { width: 18px; height: 18px; flex: none; color: var(--rot); }
/* Variante A: eigener Abschnitt direkt unter dem Kopf */
.formular-oben__raster { display: grid; gap: 20px; align-items: center; }
.formular-oben__text .vertrauen { font-size: 1.0625rem; margin: 0; }
@media (min-width: 1024px) { .formular-oben__raster { grid-template-columns: 5fr 7fr; } }
/* Variante B: Schritt 1 im Kopf — Desktop rechte Spalte, Handy unter Überschrift und Knöpfen */
.hero-formular { min-width: 0; }
.hero-formular .formular-karte { color: var(--text); max-width: 540px; }
.hero-formular :is(.knopf--tel, .knopf--sek) { color: var(--text) !important; border-color: var(--grau) !important; }
.hero-formular :is(.klein, .kicker) { color: var(--grau) !important; }
.hero-formular :focus-visible { box-shadow: none !important; }
@media (max-width: 1023px) { .hero-formular { margin-top: 24px; } }
@media (min-width: 1024px) {
  html[data-formular-variante="B"] .seitenkopf .spalten:has(> .hero-formular) { grid-template-columns: minmax(0, 1.1fr) minmax(340px, .9fr) !important; align-items: center; column-gap: clamp(24px, 4vw, 56px); }
  .hero-formular .formular-karte { margin-left: auto; }
}
@media (prefers-reduced-motion: reduce) { .schritte__balken span, .kachel__box { transition: none; } }

/* Kontakt-Block (links neben dem Formular) */
.kontaktblock h2 { margin-bottom: .4em; }
.kontaktblock .nummer { margin: 1rem 0 .5rem; }
.kontaktblock address { font-style: normal; line-height: 1.7; }
.kontaktblock .zeiten { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; margin: 1rem 0; font-size: 1rem; }
.kontaktblock .zeiten dt { font-weight: 600; } .kontaktblock .zeiten dd { margin: 0; }

/* ── Tabelle (Angebotsblatt, Ratgeber) ────────────────────────────────────────────────────── */
.tabelle { width: 100%; border-collapse: collapse; font-size: 1rem; }
.tabelle th, .tabelle td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--zink); vertical-align: top; }
.tabelle th { font-weight: 600; font-size: .9375rem; }
.tabelle td.betrag, .tabelle th.betrag { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ── Fußzeile ─────────────────────────────────────────────────────────────────────────────── */
.fuss { background: var(--schiefer); color: var(--kalk); padding: clamp(56px, 6vw, 72px) 0 32px; margin-top: 0; }
.fuss__spalten { display: grid; gap: 36px 32px; }
@media (min-width: 640px) { .fuss__spalten { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .fuss__spalten { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }
.fuss h2 { font-family: var(--schrift-text); font-stretch: normal; font-variation-settings: normal; font-size: var(--t-klein); text-transform: uppercase; letter-spacing: .04em; font-weight: 600; color: var(--zink-hell); margin: 0 0 14px; }
.fuss ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
/* Textlinks im Fuß — Knöpfe ausdrücklich ausgenommen (Spezifitäts-Falle: „.fuss a“ schlug „.knopf“ und nahm dem CTA das Padding) */
.fuss a:not(.knopf) { display: inline-block; padding: 2px 0; font-size: .9375rem; text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: transparent; text-underline-offset: 4px; transition: text-decoration-color var(--d-kurz); }
.fuss a:not(.knopf):hover, .fuss a:not(.knopf):focus-visible { text-decoration-color: var(--rot); }
.fuss .knopf { white-space: nowrap; flex: none; }
.fuss address { font-style: normal; font-size: .9375rem; line-height: 1.7; }
.fuss address strong { font-weight: 600; }
.fuss .fuss__tel { font-family: var(--schrift-display); font-stretch: 82%; font-variation-settings: "wdth" 82; font-weight: 800; font-size: 1.5rem; text-decoration: none; display: inline-block; margin: 8px 0 4px; }
.fuss .fuss__zeiten { margin-top: 10px; color: var(--zink-hell); }
.fuss .fuss__orte { font-size: .9375rem; line-height: 1.7; color: var(--zink-hell); }
.fuss__schluss { border-top: 1px solid rgba(201, 198, 192, .35); margin-top: 44px; padding-top: 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; font-size: var(--t-klein); color: var(--zink-hell); }
.fuss__schluss img { width: 110px; height: auto; }
.fuss__schluss a { text-decoration-color: var(--zink); }
.fuss button.fuss__link { background: none; border: 0; padding: 2px 0; color: inherit; font: inherit; font-size: .9375rem; cursor: pointer; text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: transparent; text-underline-offset: 4px; }
.fuss button.fuss__link:hover { text-decoration-color: var(--rot); }

/* ── Dialog (Ansicht-Rückfrage) ───────────────────────────────────────────────────────────── */
dialog.rueckfrage { border: 0; border-radius: var(--radius); padding: 28px; max-width: 440px; width: calc(100% - 40px); background: var(--weiss); color: var(--text); box-shadow: var(--schatten); }
dialog.rueckfrage::backdrop { background: rgba(30, 31, 31, .5); }
dialog.rueckfrage h2 { font-size: var(--t-h3); margin-bottom: .5em; }
dialog.rueckfrage p { margin-bottom: 1.25rem; }
dialog.rueckfrage .knopfzeile { margin: 0; }

/* ── Einwilligung (Google Tag Manager): beim ersten Besuch als Leiste unten, sonst als Dialog ── */
dialog.rueckfrage .knopfzeile--gleich { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
dialog.rueckfrage .knopfzeile--gleich .knopf { width: 100%; justify-content: center; padding-left: 12px; padding-right: 12px; }
dialog.rueckfrage [data-einwilligung-status]:empty { display: none; }
dialog.rueckfrage--leiste[open] { position: fixed; z-index: 80; margin: 0; left: 8px; right: 8px; top: auto; width: auto; max-width: none; bottom: calc(var(--leiste-h) + env(safe-area-inset-bottom, 0px) + 8px); padding: 20px; max-height: calc(100svh - var(--leiste-h) - 96px); overflow-y: auto; }
dialog.rueckfrage--leiste h2 { font-size: 1.125rem; }
dialog.rueckfrage--leiste p { font-size: .9375rem; margin-bottom: 1rem; }
@media (min-width: 1024px) {
  dialog.rueckfrage--leiste[open] { left: 24px; right: auto; bottom: 24px; max-width: 460px; padding: 24px; }
}
@media (max-width: 359px) { dialog.rueckfrage .knopfzeile--gleich { grid-template-columns: 1fr; } }
body.menue-offen dialog.rueckfrage--leiste[open] { display: none; }

/* ── Ratgeber / Lesemodus ─────────────────────────────────────────────────────────────────── */
.lauftext { max-width: 68ch; font-size: 1.125rem; }
.lauftext h2 { font-size: var(--t-h3); margin-top: 1.6em; }
.lauftext h3 { font-size: 1.3125rem; margin-top: 1.4em; }
.lauftext blockquote { border-left: 3px solid var(--rot); margin: 1.5em 0; padding-left: 18px; font-weight: 500; }
.lauftext figure { margin: 1.5em 0; }
.lauftext .kasten { background: var(--weiss); border-radius: var(--radius); padding: 20px 24px; margin: 1.5em 0; }
.lauftext .kasten p:last-child { margin: 0; }
.beitragskopf { font-size: var(--t-klein); color: var(--grau); margin-bottom: 1rem; display: flex; gap: 12px; flex-wrap: wrap; }

/* ── Rechtstexte ──────────────────────────────────────────────────────────────────────────── */
.recht { max-width: 70ch; }
.recht h2 { font-size: var(--t-h3); margin-top: 1.6em; }
.recht h3 { font-size: 1.1875rem; margin-top: 1.2em; }

/* ── Reduzierte Bewegung / ruhige Ansicht ─────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
html[data-ansicht="ruhig"] *, html[data-ansicht="ruhig"] *::before, html[data-ansicht="ruhig"] *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }

/* ── Hilfen ───────────────────────────────────────────────────────────────────────────────── */
.visuell-versteckt { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.nur-mobil { display: block; } .nur-desktop { display: none; }
@media (min-width: 1024px) { .nur-mobil { display: none; } .nur-desktop { display: block; } }
.abstand-oben { margin-top: clamp(32px, 4vw, 56px); }
.icon { width: 1.1em; height: 1.1em; vertical-align: -.15em; }
