/* main.css – öffentliche Seiten. Geteilte Bausteine stehen hier, nicht je Seite.
   Regel seit Auftrag 19: JEDE :hover-Regel steht in @media (hover: hover) – auf Touch bleibt sonst der Zustand
   nach dem Antippen kleben. werkzeug/pruefe-breiten.py bricht ab, wenn eine Regel ohne diese Bedingung dazukommt. */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
/* Auftrag 198: Sprungziele landen 16 px unter der angehefteten Kopfzeile (Desktop sichtbar 90 px, ab 960 px 56 px plus Safe-Area). Weiches
   Scrollen für Links auf #… macht main.js (sprung), damit Dauer und Fokus stimmen; gesetzt wird hier nur der Abstand, kein scroll-behavior. */
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(106px + env(safe-area-inset-top, 0px)); }
body { margin: 0; font-family: var(--font); font-size: var(--text-size); font-weight: var(--text-weight); line-height: 1.6; color: var(--ink); background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: .22em; }   /* 212.1: Textlinks dunkel mit oranger Linie (Orange als Schrift: 2,4–2,9:1) */
strong, b { font-weight: 500; }
.fett { font-weight: var(--w-6); }   /* Auftrag 267: Hervorhebung ohne strong, wo es nur Gestaltung ist */
h1, h2, h3 { font-weight: var(--title-weight); line-height: 1.2; margin: 0 0 .6em; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 860px; }
.section { padding: var(--section-y) 0; }
.section-alt { background: var(--grau); }
.section-dark { background: var(--ink-2); color: var(--weiss); }
.center { text-align: center; }
.muted { color: var(--muted); }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 16px; top: 16px; background: #fff; padding: 8px 12px; z-index: 100; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Titel im Stil der heutigen Seite: Versalien, dünn, Orange, Linie darunter */
.titel { text-transform: uppercase; color: var(--orange-text); font-size: clamp(1.5rem, 3vw, 2rem); }
.titel-linie::after { content: ""; display: block; width: 150px; height: 2px; background: var(--orange); margin: 18px auto 0; }
.titel-klein { text-transform: uppercase; color: var(--orange-text); font-size: clamp(1.15rem, 2vw, 1.5rem); }
.lead { font-size: 1.15rem; max-width: 62ch; }
.center .lead { margin-left: auto; margin-right: auto; }
.prose { max-width: 75ch; }
.prose p { margin: 0 0 1em; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: var(--tap); padding: 10px 24px;
  border-radius: var(--radius); font: inherit; font-size: 15px; font-weight: 500; text-decoration: none; cursor: pointer; border: 2px solid transparent; }
.btn-primary { background: var(--btn-bg); color: var(--btn-text); }
@media (hover: hover) { .btn-primary:hover { filter: brightness(1.08); } }
.btn-outline { border-color: currentColor; color: inherit; background: transparent; }
.btn-dark { background: var(--ink-2); color: var(--weiss); }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn svg, .nav-toggle svg, .main-nav svg { fill: currentColor; }
.btn svg { width: 18px; height: 18px; flex: none; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.5rem; }
.center .actions { justify-content: center; }

/* Kopf – Topbar + Navigation, beide dunkel wie heute. Sticky mit Safe-Area. */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--ink); color: #dfe1e6; padding-top: env(safe-area-inset-top, 0px); }
.topbar { font-size: 14px; border-bottom: 1px solid rgba(255,255,255,.06); }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; }
.topbar a { color: var(--orange); text-decoration: none; }
.social { display: flex; gap: 6px; }
.social a { display: inline-flex; width: 26px; height: 26px; align-items: center; justify-content: center; background: var(--orange); color: #fff; border-radius: 3px; }
.social svg { width: 15px; height: 15px; fill: currentColor; }
.topbar .btn { min-height: 32px; padding: 4px 16px; font-size: 14px; color: var(--btn-text); }
.navbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.brand { display: flex; align-items: center; justify-content: center; text-decoration: none; }
.brand img { height: 56px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav > a { color: #dfe1e6; text-decoration: none; text-transform: uppercase; font-size: 14px; letter-spacing: .03em; padding: 10px 12px;
  background: none; border: 0; font-family: inherit; font-weight: 400; cursor: pointer; min-height: var(--tap); display: inline-flex; align-items: center; gap: 4px; }
.main-nav > a.active { color: var(--orange); }
.nav-toggle, .kopf-anruf { display: none; }

@media (max-width: 960px) {
  .topbar { display: none; }
  .nav-toggle { display: inline-flex; align-items: center; gap: 8px; background: none; border: 0; color: var(--orange); font: inherit; font-size: 18px; min-height: var(--tap); cursor: pointer; }
  .nav-toggle svg { width: 26px; height: 26px; }
  .brand span { display: none; }
  .brand img { height: 56px; }
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; background: var(--ink); padding: 8px var(--gutter) 16px; max-height: calc(100vh - 140px); overflow: auto; }
  .main-nav.open { display: flex; }
}

.trenner { width: 150px; height: 2px; background: var(--orange); border: 0; margin: 20px auto; }

/* Zahlenband */
.zahlen { background: var(--ink-2); color: #e9eaec; padding: 32px 0; }
.zahlen ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; text-align: center; }
.zahlen svg { width: 30px; height: 30px; fill: currentColor; display: block; margin: 0 auto 10px; }
@media (max-width: 640px) { .zahlen ul { grid-template-columns: 1fr; } }

/* Leistungskarten (dunkel, Foto oben) */
.karten { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.karte { background: var(--ink-2); color: #e9eaec; border-radius: 4px; overflow: hidden; display: flex; flex-direction: column; text-align: center; box-shadow: 0 6px 18px rgba(0,0,0,.12); }
.karte img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.karte-body { padding: 24px 22px 28px; display: flex; flex-direction: column; flex: 1; }
.karte h2, .karte h3 { text-transform: uppercase; color: var(--orange); font-size: 1.35rem; }
.karte p { flex: 1; margin: 0 0 1.25rem; }
.karte .btn { align-self: center; color: #fff; }
@media (max-width: 900px) { .karten { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; } }

/* Seitenkopf der Unterseiten */
.seitenkopf { padding: clamp(40px, 6vw, 72px) 0 clamp(28px, 4vw, 44px); text-align: center; background: var(--bg); }
/* Muster nur hinter großen Titeln, nie hinter kleinem Fließtext */
.mit-muster { background-color: var(--bg); background-image: var(--muster); background-size: 153px 96px; }
.seitenkopf h1 { text-transform: uppercase; font-size: clamp(1.8rem, 4vw, 2.5rem); }
.seitenkopf .unterzeile { color: var(--orange-text); text-transform: uppercase; font-size: clamp(1rem, 2vw, 1.3rem); margin: 0; }
.seitenkopf + .section { padding-top: 8px; }
.muster-band { padding: calc(var(--section-y) * .75) 0; }
.muster-band + .intro-text { padding-top: 32px; }
.intro-band { background: var(--grau); padding: 32px 0; text-align: center; font-size: 1.1rem; }
.breadcrumb { font-size: 14px; color: var(--muted); margin-bottom: 1rem; }
.breadcrumb a { color: var(--orange-text); text-decoration: none; display: inline-block; padding: 12px 4px; margin: -12px -4px; }   /* 103: Trefferfläche 44 px, Zeilenhöhe unverändert */
.breadcrumb > span[aria-hidden] { margin: 0 4px; }   /* 103: Abstand ≥ 8 px zwischen den Trefferflächen, Abstand zum Pfeil vorher durch die Leerzeichen ca. 8 px */

/* Wechselnde Bild-/Textblöcke (Städteseite) */
.wechsel { display: grid; gap: 48px; }
.wechsel-item { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.wechsel-item:nth-child(even) .wechsel-bild { order: -1; }
.wechsel-bild img { border-radius: 4px; width: 100%; max-width: 420px; margin: 0 auto; }
@media (max-width: 760px) { .wechsel-item { grid-template-columns: 1fr; } .wechsel-item:nth-child(even) .wechsel-bild { order: 0; } }

.entwurf-hinweis { background: #fff7d6; border: 2px dashed #d4a72c; color: #5c4a00; padding: 12px 16px; border-radius: 4px; margin: 0 0 1.5rem; font-weight: 400; }

/* Formulare */
.contact-form, .kommentar-form { margin-top: 1.5rem; }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 500; margin-bottom: .35rem; }
.field input, .field textarea { width: 100%; font: inherit; font-weight: 400; padding: 12px 14px; min-height: var(--tap);
  border: 1px solid #c4c6d0; border-radius: var(--radius); background: #fff; color: var(--ink); }
.field input:focus, .field textarea:focus { outline: 3px solid rgba(255, 104, 27, .35); border-color: var(--orange); }
.field.has-error textarea, .field.has-error input { border-color: var(--err); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 640px) { .field-row { grid-template-columns: 1fr; } }
.hint { font-size: .9rem; color: var(--muted); margin: .35rem 0 1rem; }
.hint-inline { font-weight: 400; color: var(--muted); font-size: .875rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { padding: 14px 16px; border-radius: var(--radius); margin: 1.5rem 0; font-weight: 400; }
.notice-ok { background: #e7f6ec; color: var(--ok); }
.notice-err { background: #fdecea; color: var(--err); }

/* Kommentare */
.kommentar-liste { margin-top: 2.5rem; }
.kommentar { background: #fff; border-radius: 4px; padding: 16px 18px; margin-bottom: 14px; }
.kommentar header { font-size: .95rem; margin-bottom: .4rem; }
.kommentar time { color: var(--muted); font-size: .875rem; margin-left: 6px; }
.kommentar-antworten { margin-top: 12px; border-left: 3px solid var(--orange); padding-left: 14px; }
.kommentar-antworten .kommentar { background: var(--bg); margin-bottom: 8px; }
.badge-betrieb { display: inline-block; font-size: .875rem; background: var(--orange); color: #fff; padding: 1px 8px; border-radius: 999px; margin-left: 4px; font-weight: 500; }
.pagination { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 1.5rem; }
.pagination a, .pagination span { display: inline-flex; min-width: 40px; min-height: 40px; align-items: center; justify-content: center; border-radius: 3px; background: #fff; text-decoration: none; }
.pagination span[aria-current] { background: var(--ink-2); color: #fff; }

/* Rechtstexte + Signatur „Schlicht" */
.placeholder { padding: 16px; border: 2px dashed var(--line); color: var(--muted); }
.sc-signatur { margin-top: 40px; padding-top: 24px; border-top: 1px solid #e0e0e0; max-width: 520px; font-size: .9rem; color: #555; }
.sc-signatur p { margin: 0 0 12px; line-height: 1.8; }
.sc-signatur-kicker { font-size: .875rem !important; color: var(--muted) !important; text-transform: uppercase; letter-spacing: .1em; }
.sc-signatur-name { font-weight: var(--w-7); font-size: 1.1rem; color: var(--ink); margin-bottom: 6px !important; }
.sc-signatur hr { border: none; border-top: 1px solid #e0e0e0; width: 32px; margin: 0 0 12px; }

.error-page { text-align: center; min-height: 50vh; }
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }

/* Telefon-Knopf in der Navigation – nur aktiv mit Vorschlag 7 (design-schalter.css) */
.main-nav > a.nav-call { display: none; }

/* ── Kopfzeile wie die alte Seite: Logo mittig, Menü links und rechts davon (Auftrag 8.2) ── */
.navbar-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; min-height: 84px; }
.main-nav { display: contents; }
.nav-seite { display: flex; align-items: center; gap: 2px; }
.nav-links { grid-column: 1; grid-row: 1; justify-content: flex-end; }
.brand { grid-column: 2; grid-row: 1; }
.nav-rechts { grid-column: 3; grid-row: 1; justify-content: flex-start; }
.nav-seite > a { color: #dfe1e6; text-decoration: none; text-transform: uppercase; font-size: 14px; letter-spacing: .03em;
  padding: 10px 12px; background: none; border: 0; font-family: inherit; font-weight: 400; cursor: pointer; min-height: var(--tap);
  display: inline-flex; align-items: center; gap: 4px; }
.nav-seite > a.active { color: var(--orange); }
@media (hover: hover) { .nav-seite > a:hover { color: var(--orange); } }
.marken-liste { columns: 3 200px; list-style: none; padding: 0; }
.marken-liste a { display: block; padding: 8px 0; color: var(--ink); font-weight: 500; }

/* 50.3: Menüpunkte brechen nie um („Autoschlüssel für“ blieb vorher mit „FÜR“ in Zeile zwei); werkzeug/pruefe-menue.py */
.nav-seite > a, .mega-knopf { white-space: nowrap; flex: none; }
@media (max-width: 1100px) {
  .nav-seite > a, .mega-knopf { padding: 10px 8px; font-size: 14px; }
}
@media (max-width: 960px) {
  .navbar-inner { grid-template-columns: 1fr auto 1fr; min-height: 76px; }
  .nav-toggle { grid-column: 1; grid-row: 1; justify-self: start; }
  .brand { grid-column: 2; }
  .kopf-anruf { grid-column: 3; grid-row: 1; justify-self: end; }
  .main-nav { display: none; grid-column: 1 / -1; grid-row: 2; flex-direction: column; align-items: stretch; padding: 0 0 16px;
    max-height: calc(100vh - 160px); overflow: auto; }
  .main-nav.open { display: flex; }
  .nav-seite { flex-direction: column; align-items: stretch; gap: 0; }
}

/* ── Rückruf-Modal ── */
.modal[hidden] { display: none !important; }
.modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 16px;
  padding-top: calc(16px + env(safe-area-inset-top, 0px)); background: rgba(20, 22, 27, .6); opacity: 0; transition: opacity .2s ease; }
.modal.offen { opacity: 1; }
.modal-box { background: #fff; color: var(--ink); width: 100%; max-width: 520px; max-height: min(92vh, 92dvh); overflow: auto; border-radius: 8px;
  padding: 28px 24px 24px; position: relative; transform: translateY(12px) scale(.98); transition: transform .25s ease; box-shadow: 0 20px 50px rgba(0,0,0,.35); }
.modal.offen .modal-box { transform: none; }
.modal-box h2 { margin: 0 0 .3em; font-size: 1.6rem; }
.modal-zu { position: absolute; top: 8px; right: 8px; width: 44px; height: 44px; border: 0; background: none; font-size: 28px; line-height: 1; cursor: pointer; color: var(--muted); }
@media (hover: hover) { .modal-zu:hover { color: var(--ink); } }
.modal-danke { text-align: center; padding: 24px 0 8px; }
.modal-danke svg { width: 64px; height: 64px; stroke: var(--orange); fill: none; stroke-width: 3; }
body.modal-auf { overflow: hidden; }

/* ── Bewegung (Auftrag 8.4): einmal einblenden, Hover, weiche Menüs ── */
/* Der unsichtbare Anfangszustand gilt nur, wenn JavaScript läuft (html.js, im <head> gesetzt). Ohne JavaScript blieb sonst
   jeder Abschnitt mit .reveal leer – auf allen Seiten (gefunden bei Auftrag 22.3). :where() lässt die Gewichtung, wie sie war. */
.reveal { transition: opacity .35s ease, transform .35s ease; }
:where(html.js) .reveal { opacity: 0; transform: translateY(16px); }
.reveal.sichtbar { opacity: 1; transform: none; }
.karte { transition: transform .25s ease, box-shadow .25s ease; }
@media (hover: hover) { .karte:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(0,0,0,.18); } }
.karte img { transition: transform .4s ease; }
@media (hover: hover) { .karte:hover img { transform: scale(1.04); } }
.karte { overflow: hidden; }
.btn { transition: filter .15s ease, transform .15s ease; }
.btn:active { transform: translateY(1px); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .karte, .karte img, .modal, .modal-box { transition: none; }
  @media (hover: hover) { .karte:hover, .karte:hover img { transform: none; } }
}
.preis-raster { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin-bottom: 1rem; }
.preis-karte { background: var(--ink-2); color: #fff; border-radius: 6px; padding: 20px; text-align: center; }
.preis-wert { font-size: 1.8rem; color: var(--orange); font-weight: var(--w-6); margin: .2em 0; }


/* ════════ Auftrag 9: Megamenü, Verläufe, Aha-Momente, UI/UX ════════ */

/* Sichtbarer Fokus überall (Tastatur) */
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 2px; }

/* Aha 2: Kopfzeile ohne Sprung – die Topbar scrollt mit der Seite weg (sticky mit negativem
   top). Das Logo wird beim Scrollen nicht mehr kleiner als 56 px (Auftrag 16.1, siehe Dateiende). */
.site-header { top: -45px; }
@media (max-width: 960px) { .site-header { top: 0; } }
/* Auftrag 245: Die Topbar misst 51,4 px (Knopf 34 px + Innenabstand + Linie), der Versatz stand seit Aha 2 auf -45 px: 6 px blieben beim Scrollen stehen.
   Höhe und Versatz sind jetzt dieselbe Zahl (Tablet mit Touch hat unten eigene Werte). */
@media (min-width: 961px) and (not ((hover: none) and (pointer: coarse))) { .topbar { height: 52px; box-sizing: border-box; } .site-header { top: -52px; } }

/* Megamenü: breites Panel unter der Kopfzeile */
.site-header { position: sticky; }
.mega { position: static; }
.mega-knopf { color: #dfe1e6; text-transform: uppercase; font-size: 14px; letter-spacing: .03em; padding: 10px 12px; background: none; border: 0;
  font-family: inherit; font-weight: 400; cursor: pointer; min-height: var(--tap); display: inline-flex; align-items: center; gap: 4px; position: relative; }
.mega-knopf svg { width: 16px; height: 16px; fill: currentColor; transition: transform .2s ease; }
.mega.open > .mega-knopf svg { transform: rotate(180deg); }
.mega.open > .mega-knopf, .mega.active > .mega-knopf { color: var(--orange); }
@media (hover: hover) { .mega-knopf:hover { color: var(--orange); } }
.nav-seite > a, .mega-knopf { position: relative; }
.nav-seite > a::after, .mega-knopf::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 6px; height: 2px;
  background: var(--orange-verlauf); transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.nav-seite > a.active::after, .mega.open > .mega-knopf::after { transform: scaleX(1); }
@media (hover: hover) { .nav-seite > a:hover::after, .mega-knopf:hover::after { transform: scaleX(1); } }
.mega-panel { position: absolute; left: 0; right: 0; top: 100%; background: var(--ink-2); box-shadow: 0 18px 40px rgba(0,0,0,.35);
  border-top: 3px solid transparent; border-image: var(--orange-verlauf) 1; opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s; z-index: 70; }
.mega.open > .mega-panel { opacity: 1; visibility: visible; transform: none; }
.mega-inhalt { display: grid; grid-template-columns: 1fr 300px; gap: 32px; padding-top: 28px; padding-bottom: 32px; color: #e9eaec; }
.mega-service { grid-template-columns: 1fr; }
.service-kacheln { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
/* Auftrag 267: Die Kachel ist das <li>, der Link liegt nur auf dem Titel (Ankertext) und deckt die Kachel über ::after ab. */
.service-kacheln li { position: relative; display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 18px; border-radius: 6px; background: rgba(255,255,255,.04);
  color: #e9eaec; text-decoration: none; transition: background .2s ease, transform .2s ease; font-size: .9rem; line-height: 1.45; }
.service-kacheln li a { color: inherit; text-decoration: none; }
.service-kacheln li a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.service-kacheln li:focus-within { background: rgba(255,255,255,.09); transform: translateY(-2px); }
@media (hover: hover) { .service-kacheln li:hover { background: rgba(255,255,255,.09); transform: translateY(-2px); } }
.service-kacheln .kachel-titel { color: #fff; font-weight: var(--w-6); font-size: 1rem; }
.kachel-icon svg { width: 30px; height: 30px; fill: url(#sc-verlauf); }
.kachel-icon .icon-duo { width: 30px; height: 30px; display: block; }   /* Auftrag 183: Duo-Symbole, Größe wie die bisherigen */
.marken-suche input { width: 100%; max-width: 360px; font: inherit; font-size: 16px; padding: 10px 14px; min-height: var(--tap);
  border-radius: 4px; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.06); color: #fff; }
.marken-suche input::placeholder { color: #aeb2ba; }
.mega-markenliste { list-style: none; margin: 16px 0 8px; padding: 0; columns: 5 140px; column-gap: 16px; }
.mega-markenliste-klein { columns: 2 140px; }
.mega-markenliste li { break-inside: avoid; }
.mega-markenliste a { display: flex; align-items: center; padding: 0 8px; color: #e9eaec; text-decoration: none; border-radius: 3px; min-height: var(--tap); }
.mega-markenliste a:focus-visible { background: var(--orange-verlauf); color: #fff; }
@media (hover: hover) { .mega-markenliste a:hover { background: var(--orange-verlauf); color: #fff; } }
.mega-alle a, .mega-leer a { color: var(--orange); font-weight: var(--w-6); }
.mega-teaser { background: rgba(0,0,0,.18); border-radius: 6px; padding: 16px; display: flex; flex-direction: column; gap: 12px; font-size: .92rem; }
.mega-teaser img { border-radius: 4px; aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.mega-teaser .btn { align-self: flex-start; }

@media (max-width: 960px) {
  .mega-panel { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; display: none; border: 0; background: transparent; }
  .mega.open > .mega-panel { display: block; }
  .mega-inhalt { grid-template-columns: 1fr; padding: 4px 0 12px 12px; gap: 12px; }
  .mega-teaser { display: none; }
  .service-kacheln { grid-template-columns: 1fr; }
  .service-kacheln li { padding: 10px 12px; }
  .service-kacheln span:not(.kachel-icon) { display: none; }
  .mega-markenliste { columns: 2; }
  .mega-knopf::after, .nav-seite > a::after { display: none; }
  .mega-knopf { width: 100%; justify-content: space-between; }
}

/* Verläufe aus der einen Orange-Familie: Buttons, Linien, Zahlen, Icons, Hover */
.btn-primary { background: var(--knopf-verlauf); transition: background-position .3s ease, transform .15s ease, box-shadow .2s ease; }
@media (hover: hover) { .btn-primary:hover { background: var(--knopf-verlauf-hover); filter: none; box-shadow: 0 6px 16px rgba(194, 70, 8, .35); } }
.titel-linie::after, .trenner { background: var(--orange-verlauf); }
.trenner { height: 3px; border-radius: 2px; }
.zahlen svg { fill: url(#sc-verlauf); width: 36px; height: 36px; }
.zahlen [data-zahl] { font-weight: var(--w-7); background: var(--orange-verlauf); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; font-size: 1.25em; }
.social a { background: var(--orange-verlauf); }

/* Aha 3: Karten mit Tiefe – Linie unter dem Titel fährt beim Hover ein */
.karte h2, .karte h3 { position: relative; padding-bottom: 10px; }
.karte h2::after, .karte h3::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 64px; height: 3px; margin-left: -32px;
  background: var(--orange-verlauf); transform: scaleX(0); transition: transform .3s ease; border-radius: 2px; }
.karte:focus-within h2::after, .karte:focus-within h3::after { transform: scaleX(1); }
@media (hover: hover) { .karte:hover h2::after, .karte:hover h3::after { transform: scaleX(1); } }

/* Markenseiten */
.marke-raster { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(280px, 1fr); gap: 32px; align-items: start; }
.marke-galerie { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.marke-galerie figure { margin: 0; background: #fff; border-radius: 6px; padding: 6px; box-shadow: 0 1px 3px rgba(0,0,0,.08); transition: transform .2s ease, box-shadow .2s ease; }
@media (hover: hover) { .marke-galerie figure:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(0,0,0,.12); } }
.marke-galerie img { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; }
.marke-box { background: #fff; border-radius: 8px; padding: 22px; box-shadow: 0 2px 10px rgba(0,0,0,.06); border-top: 4px solid transparent; border-image: var(--orange-verlauf) 1; }
.hinweis-original { font-weight: 400; font-size: .875rem; line-height: 1.5; color: var(--muted); }   /* Auftrag 250b: ruhiger Pflichthinweis, nicht fett, am Handy kurz */
.modell-kacheln, .marken-kacheln { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
.modell-kacheln a, .marken-kacheln a { display: flex; align-items: center; justify-content: center; min-height: 56px; padding: 10px; text-align: center;
  background: #fff; border-radius: 6px; color: var(--ink); text-decoration: none; font-weight: 500; box-shadow: 0 1px 3px rgba(0,0,0,.08);
  transition: transform .2s ease, box-shadow .2s ease, color .2s ease; }
@media (hover: hover) { .modell-kacheln a:hover, .marken-kacheln a:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(0,0,0,.12); color: var(--orange); } }
.prose-breit .abschnitt { max-width: 860px; margin: 0 auto 2rem; }
.faq details { background: #fff; border-radius: 6px; margin-bottom: 10px; box-shadow: 0 1px 3px rgba(0,0,0,.06); }
.faq summary { cursor: pointer; padding: 16px 18px; font-weight: var(--w-6); min-height: var(--tap); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: "+"; flex: 0 0 1.5rem; width: 1.5rem; height: 1.5rem; display: grid; place-items: center; align-self: flex-start; margin-top: max(0px, calc((1lh - 1.5rem) / 2)); transform-origin: 50% 50%; color: var(--orange); font-size: 1.4rem; line-height: 1; transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 18px 16px; }
@media (max-width: 860px) { .marke-raster { grid-template-columns: 1fr; } .marke-galerie { grid-template-columns: repeat(3, 1fr); } }

/* Videos */
.video-raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; margin-top: 1.5rem; }
.video-karte { margin: 0; }
.video-rahmen { aspect-ratio: 16 / 9; background: var(--ink-2); border-radius: 6px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; overflow: hidden; position: relative; isolation: isolate; }
/* 50.4: Vorschaubild liegt lokal (nie von YouTube), darüber ein dunkler Schleier, damit Knopf und Hinweis lesbar bleiben */
.video-rahmen .video-bild { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.video-rahmen:has(.video-bild)::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(27,29,34,.30) 0, rgba(27,29,34,.42) 50%, rgba(27,29,34,.82) 100%); }
.video-rahmen:has(.video-bild) .video-hinweis { color: #fff; font-size: .875rem; font-weight: var(--w-6); text-shadow: 0 1px 4px rgba(0,0,0,.85), 0 0 10px rgba(0,0,0,.5); }
.video-rahmen.video-ohne-bild { background: var(--ink-2) url("../images/autoschluessel-hilden-logo-light-22.svg") center 38% / auto 42% no-repeat; justify-content: flex-end; padding-bottom: 14px; }
.video-rahmen iframe { width: 100%; height: 100%; border: 0; }
.video-hinweis { color: #aeb2ba; font-size: .875rem; margin: 0; }
.video-karte figcaption { margin-top: 8px; font-weight: 500; }

/* Rückruf in zwei Schritten (Aha 4) */
.modal [tabindex="-1"]:focus { outline: none; }
[data-sprungziel]:focus { outline: none; }   /* 198: Abschnitt, der nach einem Sprung den Fokus bekommt (main.js), ohne Rahmen um den ganzen Abschnitt */
.schritt-anzeige { display: flex; justify-content: space-between; font-size: .875rem; color: var(--muted); margin: 4px 0 6px; }
.fortschritt { height: 4px; background: var(--grau); border-radius: 2px; overflow: hidden; margin-bottom: 18px; }
.fortschritt span { display: block; height: 100%; width: 50%; background: var(--orange-verlauf); transition: width .35s ease; }
.schritt[hidden] { display: none !important; }
.feld-fehler { color: var(--err); font-size: .875rem; margin: .3rem 0 0; }
.field.ungueltig input, .field.ungueltig select, .field.ungueltig textarea { border-color: var(--err); }
.field select { width: 100%; font: inherit; padding: 12px 14px; min-height: var(--tap); border: 1px solid #c4c6d0; border-radius: var(--radius); background: #fff; color: var(--ink); }
.auswahl { display: flex; flex-wrap: wrap; gap: 8px; }
.auswahl label { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid #c4c6d0; border-radius: 999px; cursor: pointer; min-height: 40px; font-weight: 400; }
.auswahl input { accent-color: var(--orange); width: 18px; height: 18px; margin: 0; }
.auswahl label:has(input:checked) { border-color: var(--orange); background: #fff3ec; }
.schritt-knoepfe { display: flex; gap: 10px; justify-content: space-between; flex-wrap: wrap; margin-top: 8px; }
.modal-danke svg circle { stroke-dasharray: 151; stroke-dashoffset: 151; animation: zeichnen .6s ease-out forwards; }
.modal-danke svg path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: zeichnen .4s ease-out .5s forwards; }
@keyframes zeichnen { to { stroke-dashoffset: 0; } }

@media (prefers-reduced-motion: reduce) {
  .hero.auftritt .hero-bild img, .hero.auftritt .telefon, .modal-danke svg circle, .modal-danke svg path { animation: none; stroke-dashoffset: 0; }
  .brand img, .mega-panel, .service-kacheln li, .btn-primary, .karte h2::after, .karte h3::after, .fortschritt span,
  .modell-kacheln a, .marken-kacheln a, .marke-galerie figure { transition: none; }
}

/* Rückruf-Formular: Felder paarweise, Kästchen-Zeile, Gruppenbeschriftung */
.feld-paar { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
@media (max-width: 480px) { .feld-paar { grid-template-columns: 1fr; } }
.field .label { display: block; font-weight: 500; margin-bottom: .35rem; }
.field .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; cursor: pointer; }
.field .check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--orange); flex: none; }
fieldset.schritt { border: 0; padding: 0; margin: 0; min-width: 0; }
.field .auswahl input, .field .check input { width: 20px; height: 20px; min-height: 0; padding: 0; border-radius: 3px; flex: none; }
.marken-suche input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
/* Zwei helle Abschnitte hintereinander: nur einmal Abstand, nicht doppelt */
.section:not(.section-alt):not(.section-dark) + .section:not(.section-alt):not(.section-dark) { padding-top: 0; }
.mega-alle a, .mega-leer a { display: inline-flex; align-items: center; min-height: var(--tap); }

/* Klickziele ≥ 44 px (Dennis, Auftrag 9): wo das Bild kleiner bleiben soll, wächst nur die
   Trefferfläche – unsichtbar über ::after, ohne Layout zu verschieben. */
.social a, .topbar .btn, .angebot .btn, .cta-band a[href^="tel:"], .hero .telefon, .site-footer a[href^="tel:"], .pagination a, .pagination span { position: relative; }
.social a::after { content: ""; position: absolute; inset: -9px -3px; }
.topbar .btn::after { content: ""; position: absolute; inset: -6px 0; }
.cta-band a[href^="tel:"]::after, .hero .telefon::after, .site-footer a[href^="tel:"]::after { content: ""; position: absolute; inset: -12px -4px; }
.angebot .btn { min-height: var(--tap); }
.pagination a, .pagination span { min-width: var(--tap); min-height: var(--tap); display: inline-flex; align-items: center; justify-content: center; }

/* Preise auf Marken-/Übersichtsseiten (aus /admin/preise) */
.marke-galerie figcaption { font-size: .875rem; line-height: 1.35; padding: 8px 4px 2px; text-align: center; color: var(--ink); }
.marke-galerie figcaption span { display: block; }
.preis-anfrage { display: inline-flex; align-items: center; justify-content: center; gap: 6px; align-self: center; min-height: 44px; margin-top: 4px; padding: 0 14px; border: 1.5px solid var(--orange); border-radius: 999px; color: var(--orange); font-weight: var(--w-7); font-size: .88rem; text-decoration: none; }
.preis-anfrage svg { width: 16px; height: 16px; fill: currentColor; }
@media (hover: hover) { .preis-anfrage:hover { background: var(--orange); color: #fff; } }
.marke-galerie figcaption .betrag { display: block; margin-top: 2px; font-size: 1rem; background: var(--orange-verlauf); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.preis-zeilen { list-style: none; margin: 0 0 1rem; padding: 0; }
.preis-zeilen li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.preis-zeilen .betrag { white-space: nowrap; font-size: 1.15rem; background: var(--orange-verlauf); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.preis-zeilen-mitte { max-width: 420px; margin: 0 auto 1.5rem; }
.preis-fussnote { font-size: .875rem; margin-top: .75rem; }
@media (max-width: 480px) { .marke-galerie { grid-template-columns: repeat(2, 1fr); } }

/* ════════ Auftrag 12 (03.10.2026): Hero bildschirmfüllend, Bewegung mit Sinn, Footer ════════
   Alle Bewegungen laufen über CSS-Variablen (--py), die main.js in requestAnimationFrame setzt –
   nie im Scroll-Handler gerechnet. Unter prefers-reduced-motion setzt main.js nichts. */
:root { --kopf-h: 129px; }
@media (max-width: 960px) { :root { --kopf-h: calc(76px + 68px + env(safe-area-inset-bottom, 0px)); } }

/* Knöpfe */
.btn-gross { min-height: 52px; padding: 12px 26px; font-size: 17px; }
.btn-dunkel { background: var(--ink); color: #fff; border: 2px solid var(--ink); }
/* Auftrag 44.4: .btn-hell (heller Umriss auf dunklem Grund) war in 40.2 mit der WhatsApp-Regel versehentlich gelöscht worden,
   wird aber auf Start, Angebote, 404 und im Schaufenster-Rückruf noch benutzt – Regel wie vor dem 16.10. */
.btn-hell { background: rgba(255,255,255,.08); color: #fff; border: 2px solid rgba(255,255,255,.7); }
@media (hover: hover) { .btn-hell:hover { background: #fff; color: var(--ink); border-color: #fff; } }
@media (hover: hover) { .btn-dunkel:hover { background: #fff; color: var(--ink); border-color: #fff; } }

/* 12.1 Hero: Foto füllt den Bildschirm unter der Kopfzeile, unten das Zahlenband */
.hero { position: relative; overflow: hidden; isolation: isolate; background: var(--ink); color: #fff; display: flex; flex-direction: column;
  min-height: calc(100vh - var(--kopf-h)); min-height: calc(100svh - var(--kopf-h)); }
.hero-bild { position: absolute; inset: -80px 0; z-index: -2; transform: translate3d(0, var(--py, 0px), 0); }
.hero-bild img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.hero.auftritt .hero-bild img { animation: hero-zoom 2.5s cubic-bezier(.2,.7,.2,1) 1; }
@keyframes hero-zoom { from { transform: scale(1.08); } to { transform: none; } }
.hero-schleier { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-b .hero-schleier { background:
  linear-gradient(0deg, var(--ink-2) 0, rgba(56,61,70,.85) 14%, rgba(56,61,70,0) 42%),
  linear-gradient(90deg, rgba(28,31,37,.94) 0%, rgba(28,31,37,.82) 38%, rgba(28,31,37,.35) 72%, rgba(28,31,37,.15) 100%); }
.hero-a .hero-schleier { background: linear-gradient(0deg, var(--ink-2) 0, rgba(56,61,70,.7) 14%, rgba(56,61,70,0) 40%); }
.hero-inhalt { flex: 1; display: flex; align-items: center; padding-top: clamp(28px, 6vh, 72px); padding-bottom: clamp(20px, 4vh, 48px);
  transform: translate3d(0, var(--py, 0px), 0); }
.hero .telefon { display: inline-block; padding: 6px 0; margin: -6px 0; text-decoration: none; font-size: clamp(2rem, 5vw, 3rem); line-height: 1.1; }
.hero.auftritt .telefon { animation: aufleuchten 1s ease-out 1.5s 1; }
@keyframes aufleuchten { 0%, 100% { filter: none; } 40% { filter: drop-shadow(0 0 12px rgba(255, 104, 27, .6)); } }

/* Variante A: heller Streifen wie bisher, jetzt mittig auf vollem Bild */
.hero-a .hero-inhalt { justify-content: center; }
.hero-band { background: rgba(234, 234, 242, .94); color: var(--ink); text-align: center; width: 100%; max-width: 900px;
  padding: clamp(28px, 4vw, 52px) clamp(20px, 5vw, 64px); border-radius: 4px; box-shadow: 0 24px 60px rgba(0,0,0,.35); }
.hero-band h1 { text-transform: uppercase; font-size: clamp(1.8rem, 4.5vw, 2.8rem); color: var(--ink); margin: 0; }
.hero-band .unterzeile { font-size: clamp(1.1rem, 2.3vw, 1.4rem); max-width: 32ch; margin: 0 auto; }
.hero-band .trenner { margin: 18px auto; }
.hero-band .hero-zeiten { color: var(--muted); margin: .6rem 0 0; }

/* Variante B: Text links, Foto rechts frei, zwei Knöpfe */
.hero-text { max-width: 640px; }
.hero-eyebrow { margin: 0 0 .6rem; color: var(--orange); font-weight: var(--w-7); font-size: .9rem; letter-spacing: .12em; text-transform: uppercase; }
.hero-b h1 { margin: 0 0 .35em; color: #fff; font-weight: var(--w-7); text-transform: none; letter-spacing: -.01em; line-height: 1.04;
  font-size: clamp(2.3rem, 6vw, 4.3rem); }
.hero-b .unterzeile { color: #e2e4e9; font-size: clamp(1.08rem, 2vw, 1.3rem); line-height: 1.55; max-width: 34ch; margin: 0 0 1.1rem; }
.hero-knoepfe { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.3rem 0 1rem; }
.hero-b .hero-zeiten { color: #c9ccd3; font-size: .95rem; margin: 0; }
.hero-weiter { align-self: center; display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 10px; border-radius: 50%;
  color: #fff; border: 1px solid rgba(255,255,255,.4); opacity: .85; }
.hero-weiter svg { width: 22px; height: 22px; fill: currentColor; }
@media (hover: hover) { .hero-weiter:hover { opacity: 1; border-color: var(--orange); color: var(--orange); } }
.hero.auftritt .hero-weiter { animation: winken 1.6s ease-in-out 2.6s 3; }
@keyframes winken { 0%, 100% { transform: none; } 50% { transform: translateY(6px); } }

/* Zahlenband unten im Hero */
.hero-zahlen { position: relative; background: var(--ink-2); padding: 22px 0 26px; }
.hero-zahlen::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--orange-verlauf); }
.zahlen ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; text-align: center; }
.zahlen li { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.zahlen li.sichtbar svg { animation: glimmen 1.4s ease-out .35s 1; }
@keyframes glimmen { 0%, 100% { filter: none; transform: none; } 45% { filter: drop-shadow(0 0 10px rgba(255,138,76,.85)); transform: scale(1.12); } }

@media (max-width: 960px) {
  .hero-b .hero-schleier { background: linear-gradient(0deg, var(--ink-2) 0, rgba(56,61,70,.9) 16%, rgba(28,31,37,.78) 45%, rgba(28,31,37,.7) 100%); }
  .hero-b h1 { font-size: clamp(2rem, 9vw, 2.6rem); }
  .hero .telefon { font-size: clamp(1.8rem, 8vw, 2.3rem); }
  .hero-knoepfe .btn { flex: 1 1 100%; }
  .zahlen ul { grid-template-columns: repeat(3, 1fr); gap: 8px; font-size: .875rem; line-height: 1.35; }
  .zahlen svg { width: 28px; height: 28px; }
  .hero-weiter { display: none; }
}

/* 12.2 Abschnittstitel gleiten ein, Linien zeichnen sich */
.reveal.titel-linie::after { transform: scaleX(0); transform-origin: center; transition: transform .8s cubic-bezier(.2,.7,.2,1) .25s; }
.reveal.titel-linie.sichtbar::after { transform: scaleX(1); }

/* 12.3 Einleitung: Lead, drei Kacheln, kurzer Text */
.intro.mit-muster { background-image: linear-gradient(180deg, rgba(250,250,255,0) 0, var(--bg) 380px), var(--muster); background-size: auto, 153px 96px; }
.intro .titel-verlauf { margin-bottom: .2em; }
.intro-lead { font-size: 1.25rem; line-height: 1.6; max-width: 60ch; margin: 1.4rem auto 2.6rem; text-align: center; color: var(--ink); }
.intro-kacheln { list-style: none; margin: 0 auto 3rem; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; max-width: 1060px; }
.intro-kacheln a { position: relative; display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 26px 24px 28px; border-radius: 8px;
  background: #fff; color: var(--ink); text-decoration: none; box-shadow: 0 2px 14px rgba(0,0,0,.06); overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease; }
.intro-kacheln a::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--orange-verlauf);
  transform: scaleX(.25); transform-origin: left; transition: transform .35s ease; }
.intro-kacheln a:focus-visible { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(0,0,0,.12); }
@media (hover: hover) { .intro-kacheln a:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(0,0,0,.12); } }
.intro-kacheln a:focus-visible::before { transform: scaleX(1); }
@media (hover: hover) { .intro-kacheln a:hover::before { transform: scaleX(1); } }
.intro-kacheln .kachel-icon svg { width: 40px; height: 40px; fill: url(#sc-verlauf); }
.intro-kacheln strong { font-size: 1.35rem; font-weight: var(--w-7); }
.intro-kacheln span:last-child { line-height: 1.55; color: #4a4f59; }
.intro-text { max-width: 65ch; margin: 0 auto; }
.intro-text p { margin: 0 0 1em; }
.intro-kacheln li:nth-child(2) { transition-delay: .06s; }
.intro-kacheln li:nth-child(3) { transition-delay: .12s; }
@media (max-width: 860px) { .intro-kacheln { grid-template-columns: 1fr; max-width: 520px; } .intro-lead { font-size: 1.15rem; } }

/* 12.2 Leistungskarten: Foto leicht parallax (max. 20 px), Karte hebt sich */
.karte-bild { overflow: hidden; aspect-ratio: 16 / 10; }
.karte .karte-bild img { width: 100%; height: calc(100% + 40px); margin-top: -20px; aspect-ratio: auto; object-fit: cover;
  transform: translate3d(0, var(--py, 0px), 0) scale(var(--s, 1)); transition: transform .4s ease; }
@media (hover: hover) { .karte:hover .karte-bild img { --s: 1.04; transform: translate3d(0, var(--py, 0px), 0) scale(1.04); } }

/* Dunkle Bänder: EINE Musterebene (Auftrag 54.P7.3, ersetzt 48.4/50.2/P1.2): Kachel 153×96 mit einem Logo (…-eins.webp), Deckkraft .5, nur langsames Mitdriften beim Scrollen; Beleg werkzeug/pruefe-muster.py) + Verlaufs-Schimmer beim Eintritt */
.band-tiefe { position: relative; overflow: hidden; isolation: isolate; }
.tiefe { position: absolute; inset: -140px 0; z-index: -1; pointer-events: none; transform: translate3d(0, var(--py, 0px), 0); }
.section-dark .tiefe-hinten { background: url("../images/muster-ziegel-hell.webp") 0 0 / 153px 192px; opacity: .6; }
.band-tiefe[data-schimmer]::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(255,138,76,.18) 45%, rgba(255,104,27,.28) 50%, rgba(232,93,12,.18) 55%, transparent 70%);
  transform: translateX(-100%); }
.band-tiefe.schimmert::after { animation: schimmer 1.6s cubic-bezier(.3,.6,.3,1) 1; }
@keyframes schimmer { 0% { opacity: 1; transform: translateX(-100%); } 100% { opacity: 1; transform: translateX(100%); } }
.band-tiefe > .container { position: relative; z-index: 1; }

/* 12.2 Schlüsselangebote: Schlüssel kommen versetzt ins Bild, drehen sich auf null, heben sich beim Hover */
.angebote { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 40px; }
.angebot { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; padding: 18px 16px 22px; border-radius: 10px;
  color: #e9eaec; text-decoration: none; transition: background .25s ease; }
.angebot-bild { display: block; width: 180px; max-width: 70%; transition: transform .35s cubic-bezier(.2,.7,.2,1), filter .35s ease; }
.angebot-bild img { width: 100%; height: auto; border-radius: 50%; }
.angebot-text { display: flex; flex-direction: column; gap: 6px; max-width: 32ch; }
.angebot-name { color: #fff; font-size: 1.1rem; font-weight: var(--w-7); transition: color .2s ease; }
.angebot-text > span:not(.angebot-link) { color: #c9ccd3; font-size: .95rem; }
.angebot-link { display: inline-flex; align-items: center; justify-content: center; gap: 4px; min-height: var(--tap); color: var(--orange); font-weight: var(--w-6); }
.angebot-link svg { width: 16px; height: 16px; fill: currentColor; transform: rotate(-90deg); transition: transform .2s ease; }
.angebot:focus-visible { background: rgba(255,255,255,.04); }
@media (hover: hover) { .angebot:hover { background: rgba(255,255,255,.04); } }
.angebot:focus-visible .angebot-bild { transform: translateY(-8px); filter: drop-shadow(0 16px 18px rgba(0,0,0,.45)); }
@media (hover: hover) { .angebot:hover .angebot-bild { transform: translateY(-8px); filter: drop-shadow(0 16px 18px rgba(0,0,0,.45)); } }
.angebot:focus-visible .angebot-name { color: var(--orange); }
@media (hover: hover) { .angebot:hover .angebot-name { color: var(--orange); } }
@media (hover: hover) { .angebot:hover .angebot-link svg { transform: rotate(-90deg) translateY(3px); } }
[data-stagger] .angebot { opacity: 0; transform: translateY(28px) rotate(-6deg);
  transition: opacity .55s ease, transform .7s cubic-bezier(.2,.7,.2,1), background .25s ease; transition-delay: calc(var(--i, 0) * 60ms); }
[data-stagger] .angebot:nth-child(even) { transform: translateY(28px) rotate(6deg); }
[data-stagger].sichtbar .angebot { opacity: 1; transform: none; }
@media (max-width: 860px) { .angebote { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } .angebot-bild { width: 140px; } }
@media (max-width: 480px) { .angebote { grid-template-columns: 1fr 1fr; } .angebot { padding: 12px 6px 16px; } .angebot-text > span:not(.angebot-link) { display: none; } .angebot-name { font-size: .98rem; } }

/* 12.7 Rückruf-Band im Orange-Verlauf + Footer auf Anthrazit */
.ruf-band { background: var(--orange-verlauf); color: #fff; padding: 22px 0; }
.ruf-band .tiefe-hinten { background: url("../images/muster-ziegel-hell-stark.webp") 0 0 / 153px 192px; }
.ruf-band-inhalt { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 28px; text-align: center; }
.ruf-band-text { margin: 0; font-size: clamp(1.1rem, 2.2vw, 1.35rem); }
.ruf-band [data-schimmer]::after, .ruf-band.band-tiefe::after { background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,.22) 50%, transparent 70%); }

.site-footer { background: var(--ink); color: #cfd2d8; padding: 56px 0 0; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 36px; }
.footer-logo { display: inline-flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; font-weight: var(--w-7); font-size: 1.1rem; margin-bottom: 14px; min-height: var(--tap); }
.footer-logo img { width: 52px; height: auto; }
.footer-marke p { line-height: 1.6; max-width: 34ch; margin: 0 0 16px; }
.footer-titel { color: #fff; font-weight: var(--w-7); font-size: 1.02rem; text-transform: none; margin: 0 0 12px; position: relative; padding-bottom: 10px; }
.footer-titel::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 3px; border-radius: 2px; background: var(--orange-verlauf); }
.footer-titel-klein { margin-top: 18px; }
.footer-liste { list-style: none; margin: 0; padding: 0; }
.footer-liste li { margin: 0; }
.footer-liste a { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; color: #cfd2d8; text-decoration: none; transition: color .2s ease; }
@media (hover: hover) { .footer-liste a:hover { color: var(--orange); } }
.footer-liste svg { width: 18px; height: 18px; fill: var(--orange); }
.site-footer .social { margin-top: 4px; }
.zeiten-liste { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; margin: 0 0 14px; }
.zeiten-liste dt { font-weight: var(--w-7); }
.zeiten-liste dd { margin: 0; }
.footer-zeiten dt { color: #fff; }
.footer-anschrift { margin: 0; line-height: 1.6; }
.footer-platzhalter { background: #fff7d6; color: var(--ink); border: 1px dashed #d4a72c; padding: 6px 10px; font-size: .875rem; }
.footer-unten { margin-top: 48px; border-top: 1px solid rgba(255,255,255,.08); padding: 18px 0 calc(18px + env(safe-area-inset-bottom, 0px));
  font-size: .875rem; color: #9ea3ad; text-align: center; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-marke { grid-column: 1 / -1; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } .ruf-band-inhalt .btn { width: 100%; } }
@media (hover: none) and (pointer: coarse), (max-width: 760px) { .footer-liste a { min-height: var(--tap); } }

/* Öffnungszeiten auf Kontakt- und Städteseiten */
.kontakt-zeiten, .stadt-zeiten { margin: 1.5rem 0; padding: 18px 22px; background: #fff; border-radius: 8px; box-shadow: 0 2px 12px rgba(0,0,0,.06);
  border-left: 4px solid transparent; border-image: var(--orange-verlauf) 1; max-width: 520px; }
.kontakt-zeiten .zeiten-liste, .stadt-zeiten .zeiten-liste { margin: 0; }
.stadt-zeiten p { margin: 0 0 .6rem; }
.topbar-zeiten { color: #b9bdc6; }
@media (max-width: 1180px) { .topbar-zeiten { display: none; } }
.modal-zeiten { margin: -.2rem 0 .8rem; }

/* 12.5 Lightbox */
.lupe { display: block; position: relative; cursor: zoom-in; border-radius: 4px; overflow: hidden; }
.lupe::after { content: ""; position: absolute; right: 6px; bottom: 6px; width: 30px; height: 30px; border-radius: 50%;
  background: rgba(255,255,255,.92) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23FF681B' d='M10 3a7 7 0 0 1 5.6 11.2l4.6 4.6-1.4 1.4-4.6-4.6A7 7 0 1 1 10 3zm0 2a5 5 0 1 0 0 10 5 5 0 0 0 0-10zm-1 2h2v2h2v2h-2v2H9v-2H7V9h2z'/%3E%3C/svg%3E") center / 18px no-repeat;
  box-shadow: 0 2px 6px rgba(0,0,0,.25); opacity: 0; transform: scale(.8); transition: opacity .2s ease, transform .2s ease; }
.lupe:focus-visible::after { opacity: 1; transform: none; }
@media (hover: hover) { .lupe:hover::after { opacity: 1; transform: none; } }
@media (hover: none) { .lupe::after { opacity: .9; transform: none; } }
.lightbox { position: fixed; inset: 0; z-index: 200; display: grid; grid-template-rows: 1fr auto; place-items: center; background: rgba(20,22,27,.92);
  padding: max(16px, env(safe-area-inset-top, 0px)) 16px max(16px, env(safe-area-inset-bottom, 0px)); opacity: 0; transition: opacity .2s ease; }
.lightbox.offen { opacity: 1; }
.lightbox[hidden] { display: none; }
.lightbox-bild { max-width: min(92vw, 800px); max-height: calc(100svh - 150px); width: auto; height: auto; border-radius: 6px; box-shadow: 0 20px 60px rgba(0,0,0,.5);
  touch-action: pan-y; user-select: none; }
.lightbox-text { color: #fff; text-align: center; font-size: 1.05rem; margin: 14px 0 0; max-width: 60ch; }
.lightbox-text small { display: block; color: #9ea3ad; font-size: .875rem; margin-top: 4px; }
.lightbox button { position: absolute; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255,255,255,.12); color: #fff; font-size: 28px; line-height: 1; }
@media (hover: hover) { .lightbox button:hover { background: var(--orange); } }
.lightbox .lb-zu { top: max(14px, env(safe-area-inset-top, 0px)); right: 14px; }
.lightbox .lb-zurueck { left: 14px; top: 50%; margin-top: -26px; }
.lightbox .lb-weiter { right: 14px; top: 50%; margin-top: -26px; }
@media (max-width: 640px) { .lightbox .lb-zurueck, .lightbox .lb-weiter { top: auto; bottom: max(14px, env(safe-area-inset-bottom, 0px)); margin: 0; } }
body.lightbox-auf { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  .hero-bild, .hero-inhalt, .tiefe, .karte .karte-bild img { transform: none !important; }
  .hero.auftritt .hero-bild img, .hero.auftritt .hero-weiter, .zahlen li.sichtbar svg, .band-tiefe.schimmert::after { animation: none; }
  [data-stagger] .angebot, [data-stagger] .angebot:nth-child(even) { opacity: 1; transform: none; }
  .reveal.titel-linie::after { transform: scaleX(1); }
  .lightbox { transition: none; }
}
/* Feinschliff Hero nach Sichtprüfung: alles inkl. Zahlenband passt in den ersten Bildschirm */
.hero-b h1 { font-size: clamp(2.2rem, 5.2vw, 3.7rem); }
.hero-inhalt { padding-top: clamp(24px, 5vh, 64px); padding-bottom: clamp(56px, 8vh, 80px); }
.hero-weiter { position: absolute; left: 50%; top: -58px; margin: 0 0 0 -22px; }
@media (max-width: 960px) {
  .hero-eyebrow { font-size: .875rem; letter-spacing: .06em; }
  .hero-inhalt { padding-bottom: 28px; }
}
.hero-inhalt { width: 100%; }
/* Mobil: Platz für die feste Anruf-Leiste im dunklen Footer statt als heller Streifen darunter */
@media (max-width: 960px) {
  body { padding-bottom: 0; }
  .footer-unten { padding-bottom: calc(18px + env(safe-area-inset-bottom, 0px)); }
}

/* ════════ Auftrag 13 (03.10.2026): luftiger, Schaufenster, Lightbox, Hero-Schrift ════════ */

/* 13.2 Grundrhythmus: mehr Luft, ruhige Titel, Karten nur Fläche + weicher Schatten, keine Trennlinien */
:root { --section-y: clamp(64px, 10vw, 150px); --text-breit: 720px; --radius-karte: 18px; --schatten-weich: 0 20px 60px rgba(0,0,0,.08); }
.prose, .narrow, .intro-text, .container.narrow { max-width: var(--text-breit); }
.titel-gross { font-size: clamp(2rem, 3.4vw, 3rem); font-weight: 500; letter-spacing: -.02em; line-height: 1.12; margin: 0 0 .5em; text-transform: none; }
.titel-gross, .titel-verlauf { background-image: var(--orange-verlauf); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.titel-verlauf { font-size: clamp(2rem, 3.4vw, 3rem); font-weight: 500; letter-spacing: -.02em; line-height: 1.12; }
.titel-mittel { font-size: clamp(1.4rem, 2.2vw, 1.75rem); font-weight: 500; letter-spacing: -.015em; color: var(--ink); margin: 0 0 .6em; }
.intro-lead, .lead { font-size: clamp(1.15rem, 1.6vw, 1.375rem); font-weight: 400; line-height: 1.55; }
.intro-lead { max-width: 34em; margin: .8rem auto 4rem; color: var(--ink); }
.titel-linie::after, .reveal.titel-linie::after { display: none; }
.btn { min-height: 52px; padding: 10px 28px; border-radius: 999px; }
.topbar .btn { min-height: 32px; padding: 4px 16px; }
.hero-zahlen::before { display: none; }
.footer-titel { padding-bottom: 0; } .footer-titel::after { display: none; }
.footer-unten { border-top: 0; }
.preis-zeilen li { border-bottom: 0; padding: 8px 0; }
.marke-box { border: 0; border-image: none; border-radius: var(--radius-karte); box-shadow: var(--schatten-weich); padding: 28px; }
.kontakt-zeiten, .stadt-zeiten { border: 0; border-image: none; border-radius: var(--radius-karte); box-shadow: var(--schatten-weich); padding: 22px 26px; }
.marke-galerie { gap: 16px; }
.marke-galerie figure { background: transparent; box-shadow: none; padding: 0; }
@media (hover: hover) { .marke-galerie figure:hover { box-shadow: none; } }
.marke-galerie img, .lupe { border-radius: 14px; }
.faq details { border-radius: 14px; box-shadow: var(--schatten-weich); }
.modell-kacheln a, .marken-kacheln a { border-radius: 14px; box-shadow: var(--schatten-weich); min-height: 64px; }

/* Einleitung + Kacheln */
.intro .titel-gross { max-width: 18em; margin-left: auto; margin-right: auto; }
.intro-kacheln { gap: 28px; margin-bottom: 5rem; }
.intro-kacheln a { border-radius: var(--radius-karte); box-shadow: var(--schatten-weich); padding: 34px 30px 36px; gap: 12px; }
.intro-kacheln a::before { display: none; }
.intro-kacheln a:focus-visible { transform: translateY(-6px); box-shadow: 0 28px 70px rgba(0,0,0,.12); }
@media (hover: hover) { .intro-kacheln a:hover { transform: translateY(-6px); box-shadow: 0 28px 70px rgba(0,0,0,.12); } }
.intro-kacheln strong { font-size: 1.5rem; font-weight: var(--w-6); letter-spacing: -.01em; }
.intro-text p { font-size: 1.06rem; line-height: 1.7; }

/* Leistungskarten hell und ruhig */
.karten { gap: 28px; }
.karte { background: #fff; color: var(--ink); border-radius: var(--radius-karte); box-shadow: var(--schatten-weich); text-align: left; }
@media (hover: hover) { .karte:hover { transform: translateY(-6px); box-shadow: 0 28px 70px rgba(0,0,0,.12); } }
.karte-body { padding: 26px 28px 30px; }
.karte h2, .karte h3 { color: var(--ink); text-transform: none; font-size: 1.45rem; font-weight: var(--w-6); letter-spacing: -.01em; padding-bottom: 0; }
.karte h2::after, .karte h3::after { display: none; }
.karte p { color: #4a4f59; }
.karte-link { display: inline-flex; align-items: center; gap: 4px; min-height: var(--tap); color: var(--orange); font-weight: var(--w-6); text-decoration: none; }
.karte-link svg { width: 16px; height: 16px; fill: currentColor; transform: rotate(-90deg); transition: transform .2s ease; }
@media (hover: hover) { .karte-link:hover svg, .karte:hover .karte-link svg { transform: rotate(-90deg) translateY(3px); } }

/* Ergänzung Dennis 15:25: Hero beim Betreten vollständig, Schrift baut sich einmal je Sitzung auf (< 1,2 s) */
.hero-name .wort { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.hero-name .ha-wort { display: inline-block; }
.hero.auftritt .ha { animation: ha-ein .5s cubic-bezier(.2,.7,.2,1) both; }
.hero.auftritt .ha-1 { animation-delay: 0s; }
.hero.auftritt .ha-2 { animation-delay: .42s; }
.hero.auftritt .ha-3 { animation: ha-ein .5s cubic-bezier(.2,.7,.2,1) .56s both, aufleuchten .9s ease-out .9s 1; }
.hero.auftritt .ha-4 { animation-delay: .7s; }
.hero.auftritt .ha-wort { animation: wort-ein .5s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(.1s + var(--w, 0) * 60ms); }
@keyframes ha-ein { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes wort-ein { from { transform: translateY(108%); } to { transform: none; } }
.zahlen li.sichtbar svg { animation: none; }
.hero.auftritt .zahlen svg { animation: glimmen 1.2s ease-out .9s 1; }

/* 13.3 Schaufenster: Produktbühne */
.schaufenster { position: relative; color: #fff; min-height: 90vh; min-height: 90svh; display: flex; flex-direction: column; justify-content: center;
  padding: clamp(72px, 9vw, 130px) 0; background: radial-gradient(ellipse 80% 70% at 50% 40%, #2b2f37 0%, #1b1d22 60%, #141519 100%); }
.schaufenster .tiefe-hinten { background: url("../images/muster-ziegel-hell.webp") 0 0 / 153px 192px; opacity: .6; }
.schaufenster-kopf { text-align: center; position: relative; z-index: 1; }
.schaufenster .titel-gross { background: none; color: #fff; -webkit-text-fill-color: #fff; font-size: clamp(2.2rem, 4.6vw, 3.8rem); font-weight: var(--w-6); margin-bottom: .3em; }
.schaufenster-satz { color: #b9bdc6; font-size: clamp(1.1rem, 1.6vw, 1.35rem); font-weight: 400; margin: 0 auto; max-width: 36em; }
.schaufenster-buehne { position: relative; z-index: 1; }
.schaufenster-reihe { list-style: none; margin: clamp(40px, 6vw, 80px) auto 0; padding: 0 24px; max-width: 1480px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; }
.sf-eintrag { display: flex; }
.sf-link { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; text-align: center; color: #fff; text-decoration: none;
  padding: 0 6px 24px; border-radius: 24px; outline-offset: 4px; }
.sf-spot { position: absolute; left: 50%; top: 34%; width: 130%; aspect-ratio: 1; transform: translate(-50%, -50%) scale(.55); z-index: 0; pointer-events: none;
  background: radial-gradient(circle, rgba(255,138,76,.38) 0, rgba(255,104,27,.16) 32%, rgba(232,93,12,0) 62%); opacity: 0; transition: opacity .45s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.sf-bild { position: relative; z-index: 1; display: block; width: min(100%, 290px); margin-bottom: -16%; }
.sf-bild img { display: block; width: 100%; height: auto; }
.sf-bild img:first-child { -webkit-mask-image: radial-gradient(closest-side, #000 70%, transparent 100%); mask-image: radial-gradient(closest-side, #000 70%, transparent 100%);
  transition: transform .55s cubic-bezier(.2,.7,.2,1); }
/* Auftrag 193: Schlüsselbilder aus der PSB haben Schatten und Spiegelung im Bild: keine Maske, keine zweite Spiegelung */
.sf-psb img:first-child { -webkit-mask-image: none; mask-image: none; }
.sf-spiegel { position: absolute; left: 0; top: 78%; transform: scaleY(-1); opacity: .22; pointer-events: none;
  -webkit-mask-image: linear-gradient(to top, #000 0%, transparent 38%); mask-image: linear-gradient(to top, #000 0%, transparent 38%);
  transition: transform .55s cubic-bezier(.2,.7,.2,1), opacity .4s ease; }
.sf-marke, .sf-preis, .sf-satz, .sf-knopf { position: relative; z-index: 1; }
.sf-marke { font-size: clamp(1.35rem, 1.9vw, 1.75rem); font-weight: var(--w-6); letter-spacing: -.01em; }
.sf-preis { margin-top: 2px; font-weight: var(--w-7); font-size: 1.1rem; background: var(--orange-verlauf); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.sf-satz { margin-top: 4px; color: #a9adb6; font-size: .95rem; line-height: 1.4; max-width: 18em; }
.sf-knopf { margin-top: 14px; display: inline-flex; align-items: center; min-height: 44px; padding: 0 24px; border-radius: 999px; background: var(--knopf-verlauf);
  color: #fff; font-weight: var(--w-6); opacity: 0; transform: translateY(8px); transition: opacity .3s ease, transform .3s ease; }
.sf-link:focus-visible .sf-spot { opacity: 1; transform: translate(-50%, -50%) scale(1); }
@media (hover: hover) { .sf-link:hover .sf-spot { opacity: 1; transform: translate(-50%, -50%) scale(1); } }
.sf-link:focus-visible .sf-bild img:first-child { transform: translateY(-12px) rotate(3deg); }
@media (hover: hover) { .sf-link:hover .sf-bild img:first-child { transform: translateY(-12px) rotate(3deg); } }
.sf-link:focus-visible .sf-spiegel { transform: translateY(12px) scaleY(-1) rotate(-3deg); opacity: .14; }
@media (hover: hover) { .sf-link:hover .sf-spiegel { transform: translateY(12px) scaleY(-1) rotate(-3deg); opacity: .14; } }
.sf-link:focus-visible .sf-knopf { opacity: 1; transform: none; }
@media (hover: hover) { .sf-link:hover .sf-knopf { opacity: 1; transform: none; } }
@media (hover: none) { .sf-knopf { opacity: 1; transform: none; } }
/* Auftritt (Auftrag 59.C2): die Karten steigen wie an einer Kette nacheinander von unten herein, einmalig und dezent (kein Drehen) */
[data-stagger] .sf-eintrag { opacity: 0; transform: translateY(56px);
  transition: opacity .6s ease, transform .8s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--i, 0) * 90ms); }
[data-stagger].sichtbar .sf-eintrag { opacity: 1; transform: none; filter: none; }
.sf-punkte { display: none; }
.schaufenster-fuss { position: relative; z-index: 1; margin-top: clamp(32px, 4vw, 56px); }
.sf-fussnote { color: #8d929c; font-size: .875rem; margin: 18px 0 0; }
@media (max-width: 860px) {
  .schaufenster { min-height: 0; }
  .schaufenster-reihe { display: flex; overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; touch-action: pan-x pan-y; scroll-snap-type: x mandatory; gap: 12px; padding: 10px 14vw 0; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .schaufenster-reihe::-webkit-scrollbar { display: none; }
  .sf-eintrag { flex: 0 0 72vw; scroll-snap-align: center; }
  .sf-bild { width: min(100%, 260px); }
  .sf-punkte { display: flex; justify-content: center; gap: 4px; margin-top: 18px; }
  .sf-punkte span { width: 16px; height: 28px; display: grid; place-items: center; }
  .sf-punkte span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.35); transition: background .2s ease, transform .2s ease; }
  .sf-punkte span.aktiv::before { background: var(--orange); transform: scale(1.3); }
}

/* News */
.news-karten { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 28px; margin: 2.5rem 0; }
.news-karte { position: relative; }
.news-karte .news-flaeche { display: flex; flex-direction: column; height: 100%; background: #fff; border-radius: var(--radius-karte); box-shadow: var(--schatten-weich);
  overflow: hidden; color: var(--ink); text-decoration: none; transition: transform .25s ease, box-shadow .25s ease; }
@media (hover: hover) { .news-karte:hover { transform: translateY(-6px); box-shadow: 0 28px 70px rgba(0,0,0,.12); } }
.news-bild img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.news-text { display: flex; flex-direction: column; gap: 8px; padding: 24px 26px 26px; flex: 1; }
.news-text time, .news-datum { color: var(--muted); font-size: .9rem; }
.news-text .news-titel { font-size: 1.3rem; font-weight: var(--w-6); letter-spacing: -.01em; line-height: 1.3; }
.news-text > span:not(.karte-link) { color: #4a4f59; line-height: 1.55; flex: 1; }
.news-beitrag .seitenkopf { text-align: left; }
.news-titelbild img { width: 100%; max-width: 1100px; height: auto; display: block; margin: 0 auto; border-radius: 22px; }
.news-inhalt img { max-width: 100%; height: auto; border-radius: 14px; margin: 1rem 0; }
.news-inhalt h3 { font-size: 1.4rem; font-weight: var(--w-6); letter-spacing: -.01em; margin-top: 2rem; }

/* 13.4 Lightbox im Stil des Schaufensters */
.lightbox { position: fixed; inset: 0; z-index: 200; display: grid; grid-template-rows: auto 1fr auto; background: rgba(14,15,18,.72);
  -webkit-backdrop-filter: blur(18px) saturate(1.15); backdrop-filter: blur(18px) saturate(1.15); color: #fff; opacity: 0; transition: opacity .25s ease;
  padding: max(10px, env(safe-area-inset-top, 0px)) 0 max(12px, env(safe-area-inset-bottom, 0px)); }
.lightbox.offen { opacity: 1; }
.lb-kopf { display: flex; align-items: center; justify-content: space-between; padding: 8px 20px; }
.lb-zaehler { color: #b9bdc6; font-size: .95rem; font-variant-numeric: tabular-nums; }
.lb-mitte { display: grid; grid-template-columns: minmax(56px, 1fr) minmax(0, 860px) minmax(56px, 1fr); align-items: center; min-height: 0; }
.lb-figur { margin: 0; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 32px; align-items: center; min-height: 0; }
.lb-bildrahmen { position: relative; }
.lightbox-bild { display: block; width: 100%; height: auto; max-height: calc(100svh - 260px); object-fit: contain; border-radius: 0;
  -webkit-mask-image: radial-gradient(closest-side, #000 74%, transparent 100%); mask-image: radial-gradient(closest-side, #000 74%, transparent 100%); transform-origin: 0 0; }
.lb-spiegel { position: absolute; left: 0; top: 80%; width: 100%; height: auto; transform: scaleY(-1); opacity: .2; pointer-events: none;
  -webkit-mask-image: linear-gradient(to top, #000 0%, transparent 34%); mask-image: linear-gradient(to top, #000 0%, transparent 34%); transition: opacity .3s ease; }
.lb-info { display: flex; flex-direction: column; gap: 6px; }
.lb-name { font-size: clamp(1.4rem, 2.6vw, 2.2rem); font-weight: var(--w-6); letter-spacing: -.015em; line-height: 1.15; }
.lb-preis { font-size: clamp(1.3rem, 2.2vw, 1.8rem); font-weight: var(--w-7); background: var(--orange-verlauf); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.lb-hinweis { color: #9ea3ad; font-size: .875rem; }
.lb-knoepfe { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.lightbox button.lb-zu { position: static; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; font-size: 26px; cursor: pointer; }
.lightbox button.lb-pfeil { position: static; align-self: stretch; justify-self: stretch; margin: 0; width: auto; height: auto; min-height: 120px; border: 0; border-radius: 0;
  background: transparent; color: rgba(255,255,255,.75); font-size: 56px; cursor: pointer; transition: background .2s ease, color .2s ease; }
.lightbox button.lb-pfeil:focus-visible { background: rgba(255,255,255,.06); color: #fff; }
@media (hover: hover) { .lightbox button.lb-pfeil:hover { background: rgba(255,255,255,.06); color: #fff; } }
@media (hover: hover) { .lightbox button.lb-zu:hover { background: var(--orange); } }
.lb-daumen { display: flex; justify-content: center; gap: 10px; padding: 12px 20px 4px; overflow-x: auto; }
.lb-daumen button { flex: 0 0 auto; width: 64px; height: 64px; padding: 0; border: 2px solid transparent; border-radius: 12px; overflow: hidden; background: #2b2f37; cursor: pointer; opacity: .6; transition: opacity .2s ease, border-color .2s ease; }
.lb-daumen button img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lb-daumen button[aria-current="true"] { opacity: 1; border-color: var(--orange); }
@media (hover: hover) { .lb-daumen button:hover { opacity: 1; border-color: var(--orange); } }
@media (max-width: 760px) {
  /* 206: Pfeile links/rechts neben dem Bild, senkrecht mittig zum Bild (gleiche Zelle, halb über dem Bildrand); Text darunter in voller Breite */
  .lb-mitte { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto; align-content: start; padding: 0 10px; overflow-y: auto; }
  .lb-figur { display: contents; }
  .lb-bildrahmen { grid-area: 1 / 1; justify-self: center; max-width: 100%; }
  .lb-info { grid-area: 2 / 1; align-items: center; text-align: center; padding: 10px 8px 0; }
  .lb-knoepfe { justify-content: center; }
  .lb-knoepfe .btn { flex: 1 1 40%; }
  .lightbox-bild { max-height: 46svh; margin: 0 auto; width: auto; max-width: 100%; }
  .lightbox button.lb-pfeil { position: static; grid-area: 1 / 1; align-self: center; z-index: 2; width: 48px; height: 48px; min-height: 48px; border-radius: 50%;
    background: rgba(14,15,18,.72); color: #fff; font-size: 30px; line-height: 1; padding: 0 0 4px; box-shadow: 0 0 0 1px rgba(255,255,255,.22); }
  .lightbox button.lb-zurueck, .lightbox button.lb-weiter { top: auto; left: auto; right: auto; bottom: auto; margin: 0; }
  .lightbox button.lb-zurueck { justify-self: start; } .lightbox button.lb-weiter { justify-self: end; }
  .lb-daumen { display: none; }
}

/* Auftrag 59.C1: kein heller Kasten um die Marken-Karte beim Überfahren (Glanz-Ebene aus sc-motion gehört hier nicht hin; werkzeug/pruefe-marken-karten.py) */
.sf-link::before, .sf-link::after { content: none !important; }

/* Admin-Hilfen auf öffentlichen Seiten: nichts */
@media (prefers-reduced-motion: reduce) {
  .hero.auftritt .ha, .hero.auftritt .ha-wort, .hero.auftritt .zahlen svg { animation: none; }
  [data-stagger] .sf-eintrag, [data-stagger] .sf-eintrag:nth-child(even) { opacity: 1; transform: none; filter: none; }
  .sf-bild img, .sf-spiegel, .sf-spot, .sf-knopf { transition: none; }
}
/* Lightbox: Reste der ersten Fassung (12.5) neutralisieren */
.lightbox { place-items: stretch; }
.lightbox-bild { box-shadow: none; max-width: 100%; }
.lb-daumen button { position: static; margin: 0; }
.lightbox button.lb-pfeil { margin: 0; }
/* Feinschliff nach Sichtprüfung: Schlüssel im Schaufenster größer (Produktfotos haben viel Rand) */
@media (min-width: 861px) {
  .sf-bild img:first-child { transform: scale(1.22); }
  .sf-spiegel { transform: scaleY(-1) scale(1.22); }
  .sf-link:focus-visible .sf-bild img:first-child { transform: translateY(-12px) rotate(3deg) scale(1.22); }
@media (hover: hover) { .sf-link:hover .sf-bild img:first-child { transform: translateY(-12px) rotate(3deg) scale(1.22); } }
  .sf-link:focus-visible .sf-spiegel { transform: translateY(12px) scaleY(-1) rotate(-3deg) scale(1.22); }
@media (hover: hover) { .sf-link:hover .sf-spiegel { transform: translateY(12px) scaleY(-1) rotate(-3deg) scale(1.22); } }
  .sf-marke { margin-top: 18px; }
}
.lb-knoepfe .btn { white-space: nowrap; }
/* design-schalter.css lädt nach main.css – die größeren Titel brauchen hier die höhere Gewichtung */
h1.titel-verlauf, h2.titel-verlauf { font-size: clamp(2rem, 3.4vw, 3rem); font-weight: 500; letter-spacing: -.02em; line-height: 1.12; }
/* News-Beitrag: ruhiger Kopf, linksbündig */
.news-beitrag .seitenkopf h1 { text-transform: none; margin: .2em 0 .3em; }
.news-beitrag .intro-lead { margin: .4rem 0 0; text-align: left; }
.news-beitrag .seitenkopf { padding-bottom: 24px; }
.news-beitrag .section { padding-top: 40px; }
.zahl-fest { display: inline-block; font-variant-numeric: tabular-nums; text-align: center; }
/* Eigene Seitentexte aus dem Admin (Auftrag 14.2) sehen aus wie die Standardtexte */
.seite-eigen h2 { font-weight: var(--w-6); color: var(--orange); font-size: 1.35rem; text-transform: none; margin: 1.6em 0 .5em; }
.seite-eigen h2:first-child { margin-top: 0; }
.seite-eigen h3 { font-size: 1.15rem; font-weight: var(--w-6); margin: 1.3em 0 .4em; }
.seite-eigen img { max-width: 100%; height: auto; border-radius: 14px; }
/* 15.1 Rechtliches in einer Zeile ganz unten */
.footer-unten-zeile { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 24px; }
.footer-recht { color: #9ea3ad; }   /* Trennpunkte: 4,8:1 statt 2,6:1 */
.footer-recht a { color: #9ea3ad; text-decoration: none; display: inline-flex; align-items: center; min-height: var(--tap); }
@media (hover: hover) { .footer-recht a:hover { color: var(--orange); } }
@media (max-width: 760px) { .footer-unten-zeile { justify-content: center; text-align: center; } }

/* 15.3 Zahlenband neu: drei Kennzahlen, die man sieht */
.hero-zahlen { padding: clamp(18px, 2.6vh, 30px) 0 clamp(20px, 3vh, 34px); background: #24272e; }
.hero-zahlen .tiefe-hinten { background: url("../images/muster-ziegel-hell.webp") 0 0 / 153px 192px; opacity: .6; inset: -60px 0; }
.hero-zahlen .container { position: relative; z-index: 1; }
.hero-zahlen .zahlen-liste { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; text-align: center; font-size: 1rem; }
.hero-zahlen .zahl-kachel { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 0 16px; }
.hero-zahlen .zahl-kachel + .zahl-kachel::before { content: ""; position: absolute; left: 0; top: 8%; bottom: 8%; width: 1px; background: rgba(255,255,255,.2);
  transform-origin: center; animation: linie-wachsen .9s cubic-bezier(.2,.7,.2,1) .45s both; }
@keyframes linie-wachsen { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.hero-zahlen .icon-linie { width: 40px; height: 40px; margin-bottom: 4px; animation: none; }
.hero.auftritt .hero-zahlen .icon-linie { animation: glimmen 1.2s ease-out .9s 1; }
.hero-zahlen .zahl-gross { display: inline-flex; align-items: baseline; font-size: clamp(3rem, 5.2vw, 4.75rem); font-weight: var(--w-7); line-height: 1; letter-spacing: -.02em;
  font-variant-numeric: tabular-nums; background: var(--orange-verlauf); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.hero-zahlen .zahl-gross [data-zahl] { font-size: 1em; font-weight: var(--w-7); background: none; -webkit-text-fill-color: inherit; }
.hero-zahlen .zahl-plus { font-size: .7em; margin-left: .04em; }
.hero-zahlen .zahl-text { display: flex; flex-direction: column; gap: 2px; margin-top: 6px; }
.hero-zahlen .zahl-begriff { color: #fff; font-size: 1.125rem; font-weight: var(--w-6); }
.hero-zahlen .zahl-satz { color: #9ea3ad; font-size: .875rem; }
.hero-zahlen svg:not(.icon-linie) { fill: currentColor; }
@media (max-width: 960px) {
  .hero-zahlen { padding: 14px 0 16px; }
  .hero-zahlen .zahlen-liste { grid-template-columns: 1fr; }
  .hero-zahlen .zahl-kachel { flex-direction: row; align-items: center; gap: 14px; padding: 8px 4px; text-align: left; }
  .hero-zahlen .zahl-kachel + .zahl-kachel::before { left: 0; right: 0; top: 0; bottom: auto; width: auto; height: 1px; transform-origin: center; animation-name: linie-wachsen-quer; }
  .hero-zahlen .zahl-gross { font-size: 2.75rem; min-width: 4.2ch; justify-content: flex-end; }
  .hero-zahlen .zahl-text { margin-top: 0; }
  .hero-zahlen .zahl-begriff { font-size: 1rem; }
  .hero-zahlen .zahl-satz { font-size: .875rem; }
  .hero-zahlen .icon-linie { display: none; }
}
@keyframes linie-wachsen-quer { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) { .hero-zahlen .zahl-kachel + .zahl-kachel::before { animation: none; } }
/* Zahlenband nach Sichtprüfung: passt in den ersten Bildschirm, „+“ direkt an der Zahl, Linien-Symbole wirklich als Linie */
.hero-zahlen .zahl-gross { font-size: clamp(2.75rem, 4.4vw, 4.25rem); }
.hero-zahlen .zahl-fest { text-align: right; }
.hero-zahlen .icon-linie { fill: none; width: 34px; height: 34px; }
.hero-zahlen { padding: clamp(14px, 2vh, 24px) 0 clamp(16px, 2.4vh, 26px); }
@media (min-width: 961px) { .hero-inhalt { padding-bottom: 64px; } }
@media (max-width: 960px) { .hero-zahlen .zahl-gross { font-size: 2.75rem; min-width: 0; width: 4.6ch; justify-content: flex-end; } }
/* design-schalter.css gibt .zahlen den halben Abschnittsabstand (heute 72 px) – im Hero zu viel */
.hero .hero-zahlen { padding: clamp(14px, 2.2vh, 26px) 0 clamp(16px, 2.6vh, 28px); }
/* Hero + Zahlenband passen auch auf niedrigere Bildschirme (Laptop 800 px) in den ersten Bildschirm */
@media (min-width: 961px) {
  .hero-inhalt { padding-top: clamp(16px, 3.4vh, 44px); padding-bottom: clamp(52px, 6.5vh, 64px); }
}
@media (min-width: 961px) and (max-height: 860px) {
  .hero-b h1 { font-size: clamp(2.2rem, 6.4vh, 3.4rem); margin-bottom: .25em; }
  .hero-b .unterzeile { font-size: 1.12rem; margin-bottom: .7rem; }
  .hero .telefon { font-size: clamp(2rem, 5.4vh, 2.8rem); }
  .hero-knoepfe { margin: .9rem 0 .7rem; }
  .hero-zahlen .zahl-gross { font-size: clamp(2.6rem, 7.2vh, 4rem); }
  .hero-zahlen .zahl-text { margin-top: 2px; }
}
:root { --kopf-h: 132px; } /* gemessen: Topbar 45 + Navigation 87 */
@media (max-width: 960px) { :root { --kopf-h: calc(76px + 68px + env(safe-area-inset-bottom, 0px)); } }
/* Mobil: Anrufen steht im Kopf (Auftrag 127, keine feste Leiste mehr); im Hero bleibt nur der Anfrage-Knopf, damit das Zahlenband in den ersten Bildschirm passt */
@media (max-width: 960px) {
  .hero-b .hero-knoepfe .btn-hell { display: none; }
  .hero-b .telefon { margin-bottom: .5rem; }
  .hero-inhalt { padding-top: 22px; padding-bottom: 20px; }
}

/* ════════ Auftrag 16.1: Logo groß am Seitenanfang, schrumpft beim Scrollen auf Normalgröße ════════
   Nur wo ein dunkler Hero direkt unter der Kopfzeile liegt (.logo-gross am Header, heute: Startseite) –
   das Logo hat helle Flächen und ginge auf dem hellen Kopfband der Unterseiten verloren.
   Die Kopfzeile behält ihre Höhe: Das Logo wächst per transform von seiner Oberkante nach unten in den
   Hero. --logo-t (0 = Seitenanfang, 1 = gescrollt) setzt main.js. Ohne JavaScript und unter „Bewegung
   reduzieren“ fehlt html.logo-anim – dann steht das Logo in Normalgröße (56 px), die auch die Endgröße ist. */
.site-header { --logo-gross: 2; }
@media (max-width: 1199px) { .site-header { --logo-gross: 1.7; } }
@media (max-width: 1023px) { .site-header { --logo-gross: 1.6; } }   /* Menü füllt die Zeile – weniger Platz neben dem Logo */
@media (max-width: 960px) { .site-header { --logo-gross: 1.4; } }
@media (max-width: 339px) { .site-header { --logo-gross: 1.25; } }
/* Etwas mehr Luft links und rechts vom Logo – auf allen Seiten gleich, damit das Menü zwischen den Seiten nicht wandert.
   Unter 1024 px füllt das Menü die Zeile schon aus (sonst bricht „Motorradschlüssel für“ um). */
@media (min-width: 1024px) { .brand { margin-inline: 10px; } }
/* Bewusst ohne will-change: Der Browser soll das SVG in jeder Größe neu zeichnen, sonst wird es beim Vergrößern unscharf. */
.logo-anim .logo-gross .brand img { transform-origin: 50% 0; transition: transform .2s ease-out;
  transform: scale(calc(1 + (var(--logo-gross) - 1) * (1 - var(--logo-t, 0)))); }
/* Offenes Menü (Megamenü, Mobilmenü): Das Logo macht Platz. */
.logo-anim .logo-gross:has(.mega.open, .main-nav.open) .brand img { transform: none; }
/* Mobil sitzt die erste Hero-Zeile dicht unter der Kopfzeile: 8 px von unten nach oben verlagert,
   damit das Logo Luft hat und das Zahlenband trotzdem an seiner Stelle bleibt. */
@media (max-width: 960px) { .logo-anim .hero-inhalt { padding-top: 30px; padding-bottom: 12px; } }

/* ════════ Auftrag 16.2: News-Karte ohne Titelbild – Schlüsselmuster als Platzhalter ════════
   Gleiche Bauart wie die dunklen Bänder (Muster in zwei Tiefen), damit Karten mit und ohne Foto
   gleich hoch sind und der Platzhalter nach Absicht aussieht, nicht nach fehlendem Bild. */
.news-bild-muster { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 10; overflow: hidden; background-color: #2b2f37;
  background-image: radial-gradient(60% 80% at 50% 50%, rgba(255,104,27,.2) 0, rgba(255,104,27,0) 70%),
    url("../images/muster-kachel-hell-stark-eins.webp"), url("../images/muster-kachel-hell-eins.webp");
  background-size: auto, 153px 96px, 153px 96px; background-position: center, 76px 48px, 0 0; }
.news-bild-muster::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--orange-verlauf); }
.news-bild.news-bild-muster img { width: 30%; max-width: 104px; height: auto; aspect-ratio: auto; object-fit: contain;
  filter: drop-shadow(0 10px 22px rgba(0,0,0,.45)); transition: transform .35s cubic-bezier(.2,.7,.2,1); }
@media (hover: hover) { .news-karte:hover .news-bild-muster img { transform: translateY(-4px) scale(1.05); } }
/* Drei Platzhalter nebeneinander sollen nicht wie Kopien aussehen: Muster je Karte versetzt */
.news-karte:nth-child(3n+2) .news-bild-muster { background-position: center, 136px 88px, 60px 40px; }
.news-karte:nth-child(3n) .news-bild-muster { background-position: center, 186px 118px, 110px 70px; }
@media (prefers-reduced-motion: reduce) { .news-bild.news-bild-muster img { transition: none; } @media (hover: hover) { .news-karte:hover .news-bild-muster img { transform: none; } } }

/* Zahlenband mobil: Spaltenbreite richtet sich nach der breitesten Zahl (--zahl-b aus index.php). Vorher fest 4,6 Ziffern –
   „5.000+“ ist breiter, und was über den Kasten hinausragt, malt der Verlauf (background-clip: text) nicht mit. */
@media (max-width: 960px) { .hero-zahlen .zahl-gross { width: calc(var(--zahl-b, 4.6) * 1ch); flex: none; } }
@media (max-width: 339px) { .hero-zahlen .zahl-gross { font-size: 2.2rem; } }

/* ════════ Auftrag 17 (03.10.2026): Unterseiten in der Sprache der Startseite ════════
   Geteilte Bausteine für ALLE Seitentypen (includes/bausteine.php): Seiten-Hero, Einleitungsabsatz,
   Karten, Bild-Text-Blöcke, Preiskarten. Seiten-Spezifisches steht darunter je Seitentyp.
   Abstände: ein Maß (--section-y), mobil mindestens 72 px. Zwischentitel auf hellen Flächen in Anthrazit –
   das CI-Orange erreicht auf Weiß nur 2,9:1. */
:root { --section-y: clamp(72px, 10vw, 150px); }

/* 17.1 Seiten-Hero: Anthrazit, Schlüsselmuster in zwei Tiefen, Schrift baut sich auf (60 % der Startseite) */
.seiten-hero { color: #fff; display: flex; align-items: center; min-height: clamp(300px, 46vh, 480px);
  padding: clamp(68px, 9vh, 104px) 0 clamp(44px, 7vh, 80px);
  background: radial-gradient(ellipse 85% 140% at 10% 0%, #353a44 0%, #262a31 46%, #1b1d22 100%); }
.seiten-hero .tiefe-hinten { background: url("../images/muster-ziegel-hell.webp") 0 0 / 153px 192px; opacity: .6; }
.seiten-hero-inhalt { position: relative; z-index: 1; width: 100%; display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px 56px; align-items: center; }
.seiten-hero.mit-bild .seiten-hero-inhalt { grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); }
.seiten-hero-text { max-width: 780px; }
.seiten-hero .breadcrumb { color: #9ea3ad; font-size: .875rem; margin: 0 0 .9rem; line-height: 1.5; }
.seiten-hero .breadcrumb a { color: #cfd2d8; text-decoration: none; }
@media (hover: hover) { .seiten-hero .breadcrumb a:hover { color: var(--orange); text-decoration: underline; text-underline-offset: 3px; } }
.seiten-hero .breadcrumb [aria-current] { color: #fff; }
.seiten-hero .hero-eyebrow { margin: 0 0 .7rem; }
.seiten-hero-titel { margin: 0 0 .3em; color: #fff; font-weight: var(--w-7); text-transform: none; letter-spacing: -.015em; line-height: 1.1;
  font-size: clamp(2.1rem, 4.4vw, 3.5rem); }
.seiten-hero.titel-lang .seiten-hero-titel { font-size: clamp(1.7rem, 3.2vw, 2.6rem); line-height: 1.16; }
.seiten-hero-titel .wort { display: inline-block; overflow: hidden; vertical-align: top; padding: .1em 0 .14em; margin: -.1em 0 -.14em; }
.seiten-hero-titel .ha-wort { display: inline-block; }
.seiten-hero-unterzeile { margin: 0; max-width: 30em; font-size: clamp(1.15rem, 1.9vw, 1.5rem); font-weight: 500; line-height: 1.35; color: var(--orange);
  background-image: var(--orange-verlauf); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.seiten-hero-zusatz { margin-top: 1.1rem; color: #c9ccd3; }
.seiten-hero-zusatz .actions { margin-top: 1.4rem; }
.seiten-hero-ruhig { min-height: 0; padding-bottom: clamp(36px, 5vh, 56px); }
.seiten-hero-ruhig .seiten-hero-titel, .seiten-hero-beitrag .seiten-hero-titel { font-size: clamp(1.9rem, 3.4vw, 2.8rem); }
.seiten-hero-beitrag .seiten-hero-text { max-width: 46rem; }
.seiten-hero-beitrag .news-datum { color: #c9ccd3; font-size: .95rem; }

/* Bild rechts: Foto als Karte, Markenschlüssel freigestellt mit Lichtfleck und Spiegelung (wie im Schaufenster) */
.seiten-hero-bild { position: relative; justify-self: end; width: min(100%, 360px); transform: translate3d(0, var(--py, 0px), 0); }
.seiten-hero-bild img { display: block; width: 100%; height: auto; }
.seiten-hero-bild.art-foto::before { content: ""; position: absolute; inset: -16%; z-index: -1; pointer-events: none;
  background: radial-gradient(circle, rgba(255,138,76,.3) 0, rgba(255,104,27,.1) 38%, rgba(232,93,12,0) 66%); }
.seiten-hero-bild.art-foto img { aspect-ratio: 1; object-fit: cover; border-radius: 28px; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.seiten-hero-bild.art-schluessel { width: min(100%, 340px); margin-right: 3%; }
.sh-spot { position: absolute; left: 50%; top: 48%; width: 150%; aspect-ratio: 1; transform: translate(-50%, -50%); pointer-events: none;
  background: radial-gradient(circle, rgba(255,138,76,.34) 0, rgba(255,104,27,.14) 32%, rgba(232,93,12,0) 62%); }
.seiten-hero-bild.art-schluessel img { position: relative; transform: scale(1.22);
  -webkit-mask-image: radial-gradient(closest-side, #000 70%, transparent 100%); mask-image: radial-gradient(closest-side, #000 70%, transparent 100%); }
.seiten-hero-bild.art-schluessel img.sh-spiegel { position: absolute; left: 0; top: 78%; transform: scaleY(-1) scale(1.22); opacity: .2; pointer-events: none;
  -webkit-mask-image: linear-gradient(to top, #000 0%, transparent 38%); mask-image: linear-gradient(to top, #000 0%, transparent 38%); }

/* Auftrag 24.2: freigestellter Schlüssel (marken-frei/) schwebt frei – kein Maskenkreis (der „graue Fleck“), Spiegelung steckt im Bild */
.seiten-hero-bild.art-schluessel.frei img { -webkit-mask-image: none; mask-image: none; transform: scale(1.12);
  filter: drop-shadow(0 22px 26px rgba(0,0,0,.38)); }
.seiten-hero-bild.art-schluessel.frei .sh-spot { opacity: .8; }

/* Auftritt: einmal beim Laden, alles unter 0,75 s. „backwards“: nach dem Ende gilt wieder der Grundzustand (Parallaxe). */
.seiten-hero.auftritt .ha { animation: ha-ein .32s cubic-bezier(.2,.7,.2,1) backwards; }
.seiten-hero.auftritt .ha-wort { animation: wort-ein .34s cubic-bezier(.2,.7,.2,1) backwards; animation-delay: calc(.06s + var(--w, 0) * 36ms); }
.seiten-hero.auftritt .ha-2 { animation-delay: .28s; }
.seiten-hero.auftritt .ha-3 { animation-delay: .38s; }
.seiten-hero.auftritt .ha-bild { animation: sh-bild-ein .6s cubic-bezier(.2,.7,.2,1) .12s backwards; }
@keyframes sh-bild-ein { from { opacity: 0; transform: translate3d(0, 26px, 0) scale(.96); } to { opacity: 1; transform: translate3d(0, 0, 0); } }
.seiten-hero + .section { padding-top: clamp(56px, 7vw, 104px); }
@media (max-width: 860px) {
  .seiten-hero { min-height: 0; padding: 46px 0 40px; }
  .seiten-hero.mit-bild .seiten-hero-inhalt { grid-template-columns: 1fr; }
  .seiten-hero-bild.art-foto { justify-self: stretch; width: 100%; max-width: 560px; }   /* 53.B: Spaltenbreite wie der Text (vorher 70 %, am Handy schmaler als die Textspalte) */
  .seiten-hero-bild.art-foto img { aspect-ratio: 16 / 10; border-radius: 20px; }
  .seiten-hero-bild.art-schluessel { display: none; }   /* dasselbe Bild folgt direkt darunter in der Galerie */
}
@media (prefers-reduced-motion: reduce) { .seiten-hero-bild { transform: none; } }

/* 17.2 Lesen: Einleitungsabsatz, Zwischentitel, Fließtext */
.einleitung { font-size: clamp(1.2rem, 1.7vw, 1.4rem); font-weight: 400; line-height: 1.55; color: #4a4f59; max-width: 34em; margin: 0 0 2.4rem; }
.einleitung.center, .center > .einleitung { margin-left: auto; margin-right: auto; }
.einleitung a { color: var(--orange); font-weight: var(--w-6); }
main .titel-klein, main .seite-eigen h2, main .abschnitt h2 { color: var(--ink); font-weight: var(--w-6); text-transform: none; letter-spacing: -.01em;
  font-size: clamp(1.3rem, 2vw, 1.65rem); line-height: 1.25; margin: 2.2em 0 .6em; }
main .prose > .titel-klein:first-child, main .seite-eigen h2:first-child, main .abschnitt h2:first-child { margin-top: 0; }
.prose { font-size: 1.06rem; line-height: 1.7; }
.prose p { margin: 0 0 1.1em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .4em; }
.prose .preis-zeilen { padding: 0; columns: auto; }
/* Die Linkregel für Fließtext (design-schalter.css) darf Knöpfe nicht orange auf Orange färben */
.prose a.btn-primary, .lead a.btn-primary, main p > a.btn.btn-primary { color: #fff; }
.prose a.btn-outline, main p > a.btn.btn-outline { color: var(--ink); }
.btn-outline { border-color: var(--ink); color: var(--ink); }
@media (hover: hover) { .btn-outline:hover { background: var(--ink); color: #fff; } }
@media (hover: hover) { .section-alt .btn-outline:hover { background: var(--ink); } }
/* Auftrag 24.0: „.prose a.btn-outline“ / „main p > a.btn.btn-outline“ setzen die Schrift auf Anthrazit und schlagen „.btn-outline:hover“
   (höhere Gewichtung) – mit Maus darüber stand Anthrazit auf Anthrazit, der Knopf wirkte leer (Dennis-Screenshot 04.10.). */
@media (hover: hover) { .prose a.btn-outline:hover, main p > a.btn.btn-outline:hover, .btn-outline:hover { color: #fff; } }
.btn-outline:focus-visible, .prose a.btn-outline:focus-visible, main p > a.btn.btn-outline:focus-visible { background: var(--ink); color: #fff; }
.hero .btn-outline, .seiten-hero .btn-outline { border-color: rgba(255,255,255,.7); color: #fff; }

/* 17.3 Karten: Leistungen (ganze Karte ist der Link, Verlaufs-Linie oben) */
.karte-leistung { position: relative; }
.karte-leistung::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; z-index: 1; background: var(--orange-verlauf); }
.karte-flaeche { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.karte-flaeche .karte-bild { display: block; }
.karte-flaeche .karte-bild img { height: 100%; margin: 0; transform: scale(var(--s, 1)); }
@media (hover: hover) { .karte:hover .karte-flaeche .karte-bild img { transform: scale(1.04); } }
.karte-flaeche .karte-body { gap: 10px; }
.karte-flaeche h2, .karte-flaeche h3 { margin: 0; }
/* Auftrag 267: News-/Ratgeber-Karten und Hinweiszeilen: Link nur am Titel, Fläche über ::after klickbar */
.news-titel a, .hinweis-titel { color: inherit; text-decoration: none; }
.news-titel a::after, .hinweis-titel::after { content: ""; position: absolute; inset: 0; }
.hinweis-zeile > span:nth-child(2) > .hinweis-titel { display: block; }
/* Auftrag 267: Link nur auf dem Titel, die Karte bleibt über ::after klickbar (Ankertext = Leistung). Die Überschrift darf dafür nicht
   positioniert sein (sonst deckt ::after nur die Zeile), ihr Strich kommt als Hintergrund statt als ::after. Fokusring bleibt am Link. */
.karte-leistung h2, .karte-leistung h3 { position: static; background: var(--orange-verlauf) no-repeat center bottom / 0 3px; transition: background-size .3s ease; }
.karte-leistung h2::after, .karte-leistung h3::after { display: none; }
.karte-leistung:focus-within h2, .karte-leistung:focus-within h3 { background-size: 64px 3px; }
@media (hover: hover) { .karte-leistung:hover h2, .karte-leistung:hover h3 { background-size: 64px 3px; } }
.karte-titel-link { color: inherit; text-decoration: none; }
.karte-titel-link::after { content: ""; position: absolute; inset: 0; }
.karte-satz { color: #4a4f59; line-height: 1.55; flex: 1; }
.karten-vier { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 1280px) { .karten-vier { grid-template-columns: repeat(4, minmax(0, 1fr)); } .karten-vier .karte h2 { font-size: 1.3rem; } }
@media (max-width: 900px) { .karten-vier { grid-template-columns: 1fr; } }
.hinweis-zeile { position: relative; display: flex; align-items: center; gap: 18px; margin-top: 28px; padding: 20px 26px; border-radius: var(--radius-karte); background: #fff;
  box-shadow: var(--schatten-weich); color: var(--ink); text-decoration: none; transition: transform .25s ease, box-shadow .25s ease; }
@media (hover: hover) { .hinweis-zeile:hover { transform: translateY(-4px); box-shadow: 0 28px 70px rgba(0,0,0,.12); } }
.hinweis-zeile > span:nth-child(2) { flex: 1; color: #4a4f59; }
.hinweis-zeile .hinweis-titel { display: block; color: var(--ink); font-weight: var(--w-6); font-size: 1.15rem; }
.hinweis-zeile .kachel-icon svg { width: 36px; height: 36px; }
.hinweis-zeile .kachel-icon .icon-duo { width: 36px; height: 36px; }
@media (max-width: 640px) { .hinweis-zeile { flex-wrap: wrap; gap: 10px 14px; padding: 18px 20px; } .hinweis-zeile > span:nth-child(2) { flex: 1 1 60%; } }

/* 17.4 Preiskarten (Angebote, Markenübersicht): hell, Preis groß im Verlauf; einzelne Karten stehen mittig, nie mit Loch */
.preis-raster { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; margin: 0 0 1rem; }
.preis-karte { position: relative; flex: 1 1 230px; max-width: 290px; background: #fff; color: var(--ink); border-radius: var(--radius-karte); box-shadow: var(--schatten-weich);
  padding: 34px 22px 30px; text-align: center; overflow: hidden; }
.preis-karte::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--orange-verlauf); }
.preis-leistung { margin: 0 0 .5rem; font-weight: var(--w-6); font-size: 1.08rem; line-height: 1.3; }
.preis-wert { margin: 0; font-size: clamp(1.8rem, 2.8vw, 2.3rem); font-weight: var(--w-7); line-height: 1.1; color: var(--orange);
  background-image: var(--orange-verlauf); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.preis-karte .hint { margin: .7rem 0 0; }
.preis-raster-klein .preis-karte { flex-basis: 250px; padding: 26px 20px 24px; }
.preis-fussnote.center { text-align: center; margin: 1rem auto 0; }
.angebote-fuss { margin-top: clamp(40px, 6vw, 72px); }
.angebote-fuss .einleitung { margin-bottom: 0; }
@media (max-width: 560px) { .preis-raster { gap: 14px; } .preis-karte { flex-basis: 150px; padding: 26px 14px 22px; } .preis-leistung { font-size: .98rem; } }

/* 17.5 Marken: Übersicht, Galerie als Preiskarten, Kasten */
.marken-kacheln-gross { margin-top: clamp(36px, 5vw, 64px); grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.marken-kacheln-gross a { min-height: 72px; font-size: 1.08rem; font-weight: var(--w-6); }
/* Auftrag 154: Baustein „Modell nicht dabei“ (modellFehlt() in bausteine.php) – ruhige Zeile unter Schlüssel- und Modelllisten */
.modell-fehlt { max-width: 44rem; margin: clamp(28px, 4vw, 44px) auto 0; padding-top: 18px; border-top: 1px solid var(--linie, #dcdee4); text-align: center; color: var(--muted); font-size: .98rem; line-height: 1.55; }
.modell-fehlt strong { color: var(--ink); font-weight: var(--w-6); }
.modell-fehlt a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 0; }   /* 201: Tippziel mind. 44 px */
.abschnitt .prose { max-width: none; }
.marke-raster { gap: 40px; grid-template-columns: minmax(0, 1.55fr) minmax(280px, 1fr); }
.marke-galerie { grid-template-columns: repeat(3, 1fr); gap: 20px; }
.marke-galerie figure { background: #fff; border-radius: var(--radius-karte); box-shadow: var(--schatten-weich); overflow: hidden; display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease; }
@media (hover: hover) { .marke-galerie figure:hover { transform: translateY(-5px); box-shadow: 0 28px 70px rgba(0,0,0,.12); } }
.marke-galerie .lupe, .marke-galerie img { border-radius: 0; }
.marke-galerie figcaption { padding: 14px 14px 18px; font-size: .92rem; flex: 1; display: flex; flex-direction: column; justify-content: space-between; gap: 6px; }
.marke-galerie figcaption .betrag { font-size: 1.2rem; font-weight: var(--w-7); }
.marke-box { position: sticky; top: 108px; }
.marke-box .preis-zeilen .betrag { font-size: 1.3rem; font-weight: var(--w-7); }
.marke-box .actions .btn { flex: 1 1 auto; }
.modell-kacheln { margin-top: 36px; }
.marke-leistungen .titel-verlauf, .news-weitere .titel-verlauf { margin-bottom: clamp(32px, 4vw, 56px); }
@media (max-width: 860px) { .marke-raster { grid-template-columns: 1fr; } .marke-box { position: static; } }
@media (max-width: 560px) { .marke-galerie { grid-template-columns: repeat(2, 1fr); gap: 14px; } .marke-galerie figcaption { padding: 10px 10px 14px; font-size: .875rem; } }

/* 17.6 Bild-Text-Blöcke (Städte): große Radien, weicher Schatten, viel Abstand, Text höchstens 36 rem */
.wechsel { gap: clamp(72px, 10vw, 150px); }
.wechsel-item { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); }
.wechsel-text { max-width: 36rem; }
.wechsel-text p { font-size: 1.06rem; line-height: 1.7; margin: 0 0 1.6rem; color: #3d424c; }
.wechsel-bild img { border-radius: 28px; box-shadow: 0 30px 80px rgba(0,0,0,.14); max-width: 460px; aspect-ratio: 4 / 3; object-fit: cover; }
.wechsel-item:nth-child(even) .wechsel-text { justify-self: end; }
.stadt-zeiten { margin: 2.6rem 0 0; max-width: none; padding: 28px 30px; }
.stadt-zeiten .titel-mittel { margin-bottom: .5em; }
.zeiten-liste .heute { color: var(--ink); font-weight: var(--w-7); }
.heute-marke { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: #ffe4d3; color: #8f3600; font-size: .875rem; font-weight: var(--w-7); vertical-align: 2px; }
.site-footer .heute-marke { display: none; }
@media (max-width: 760px) { .wechsel-item:nth-child(even) .wechsel-text { justify-self: start; } .wechsel-bild img { max-width: 100%; } }

/* 17.7 Kontakt: Formular als Karte, daneben Zeiten, Wege, Anschrift; Karte lädt erst nach Klick */
.kontakt-raster { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.kontakt-formular, .kontakt-karte { background: #fff; border-radius: var(--radius-karte); box-shadow: var(--schatten-weich); }
.kontakt-formular { padding: clamp(24px, 3.4vw, 44px); }
.kontakt-lead { color: #4a4f59; margin: 0 0 1.4rem; }
.kontakt-lead a { color: var(--orange); font-weight: var(--w-6); white-space: nowrap; }
.kontakt-formular .contact-form { margin-top: 0; }
.kontakt-formular .field input, .kontakt-formular .field textarea, .kommentar-form .field input, .kommentar-form .field textarea {
  min-height: 48px; border-radius: 12px; border-color: #c7cad3; padding: 12px 16px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 3px solid rgba(255, 104, 27, .35); outline-offset: 0; border-color: var(--orange); }
.field label { font-weight: var(--w-6); font-size: .95rem; }
.kontakt-seite { display: grid; gap: 22px; }
.kontakt-karte { padding: 26px 28px; }
.kontakt-karte .titel-mittel { display: flex; align-items: center; gap: 10px; font-size: 1.25rem; margin-bottom: .7em; }
.kontakt-karte .titel-mittel svg { width: 22px; height: 22px; fill: url(#sc-verlauf); flex: none; }
.kontakt-karte .zeiten-liste { margin: 0; gap: 6px 18px; }
.status { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; padding: 6px 14px; border-radius: 999px; font-weight: var(--w-6); font-size: .92rem; }
.status-punkt { width: 9px; height: 9px; border-radius: 50%; background: currentColor; flex: none; }
.status-offen { background: #e7f6ec; color: #17612e; }
.status-zu { background: #f1f1f5; color: #4a4f59; }
.status-absprache { background: #fff1e8; color: #a23e00; }
.kontakt-wege { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.kontakt-wege a { display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 10px 14px; border-radius: 14px; background: var(--bg); color: var(--ink);
  text-decoration: none; transition: background .2s ease, transform .2s ease; }
@media (hover: hover) { .kontakt-wege a:hover { background: #fff1e8; transform: translateX(3px); } }
.weg-symbol { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--orange-verlauf); flex: none; }
.weg-symbol svg { width: 22px; height: 22px; fill: #fff; }
.kontakt-wege small { display: block; color: var(--muted); font-size: .875rem; line-height: 1.2; }
.kontakt-wege strong { display: block; font-weight: var(--w-6); font-size: 1.05rem; overflow-wrap: anywhere; }
.kontakt-anschrift { margin: 0 0 .6rem; line-height: 1.6; }
.karte-laden { margin-top: clamp(32px, 4vw, 56px); border-radius: var(--radius-karte); overflow: hidden; background: #2b2f37 url("../images/muster-ziegel-hell.webp") 0 0 / 153px 192px;
  min-height: 320px; display: grid; place-items: center; text-align: center; color: #fff; box-shadow: var(--schatten-weich); }
.karte-laden-inhalt { padding: 32px 20px; max-width: 34em; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.karte-laden-inhalt p { margin: 0; }
.karte-laden .hint { color: #b9bdc6; margin: 4px 0 0; }
.karte-laden .kachel-icon svg { width: 40px; height: 40px; }
.karte-laden iframe { display: block; width: 100%; height: clamp(320px, 50vh, 460px); border: 0; }
@media (max-width: 900px) { .kontakt-raster { grid-template-columns: 1fr; } }

/* 17.8 Vollmacht: Download-Karte, Haken-Liste, Schritte in Nummernkreisen */
.download-karte { display: flex; align-items: center; gap: 20px; margin: 0 0 3rem; padding: 22px 26px; border-radius: var(--radius-karte); background: #fff;
  box-shadow: var(--schatten-weich); color: var(--ink); text-decoration: none; transition: transform .25s ease, box-shadow .25s ease; }
@media (hover: hover) { .download-karte:hover { transform: translateY(-4px); box-shadow: 0 28px 70px rgba(0,0,0,.12); } }
.download-symbol { position: relative; display: grid; place-items: center; width: 60px; height: 72px; flex: none; }
.download-symbol svg { width: 60px; height: 72px; fill: url(#sc-verlauf); }
.download-symbol span { position: absolute; left: 0; right: 0; bottom: 14px; text-align: center; font-size: .875rem; font-weight: var(--w-7); letter-spacing: .06em; color: #fff; display: none; }
.download-text { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.download-text strong { font-size: 1.25rem; font-weight: var(--w-6); }
.download-text span { color: var(--muted); font-size: .95rem; }
.download-karte .btn { flex: none; }
.haken-liste { list-style: none; margin: 0 0 3rem; padding: 0; display: grid; gap: 12px; }
.haken-liste li { display: flex; gap: 12px; align-items: flex-start; font-size: 1.06rem; line-height: 1.55; }
.haken-liste svg { width: 22px; height: 22px; fill: url(#sc-verlauf); flex: none; margin-top: 3px; }
.schritte { list-style: none; margin: 0 0 2.4rem; padding: 0; display: grid; gap: 18px; counter-reset: none; }
.schritte li { display: flex; align-items: center; gap: 18px; padding: 18px 22px; border-radius: var(--radius-karte); background: #fff; box-shadow: var(--schatten-weich); font-size: 1.06rem; line-height: 1.5; }
.schritt-nr { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--orange-verlauf); color: #fff; font-weight: var(--w-7); font-size: 1.3rem; flex: none; }
.vollmacht-fragen a { display: inline-flex; align-items: center; min-height: 44px; color: var(--orange); font-weight: var(--w-6); }   /* Auftrag 127: einziger Link im Satz, Tippziel 44 px */
@media (max-width: 560px) { .download-karte { flex-wrap: wrap; } .download-karte .btn { width: 100%; } }

/* 17.9 News-Beitrag: Lesespalte 42 rem, Teilen, weitere Beiträge */
.news-spalte { max-width: calc(42rem + 2 * var(--gutter)); }
.news-beitrag > .section { padding-top: clamp(44px, 6vw, 88px); }
.news-titelbild { margin-top: clamp(28px, 4vw, 56px); }
.news-inhalt { max-width: none; }
.teilen { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.teilen-titel { font-weight: var(--w-6); margin-right: 6px; }
.teilen-knopf { display: inline-flex; align-items: center; gap: 8px; min-height: var(--tap); padding: 8px 16px; border-radius: 999px; border: 1px solid #c7cad3; background: #fff;
  color: var(--ink); font: inherit; font-size: .95rem; font-weight: 500; text-decoration: none; cursor: pointer; transition: border-color .2s ease, color .2s ease; }
.teilen-knopf svg { width: 18px; height: 18px; fill: currentColor; }
@media (hover: hover) { .teilen-knopf:hover { border-color: var(--orange); color: #b34100; } }
.news-weitere .news-karten { margin-top: 0; }

/* 17.10 Rechtliches: ruhige Textseite, Inhaltsverzeichnis links (mitlaufend ab 1024 px, entsteht ab drei Zwischentiteln) */
.legal-raster { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; }
.legal-text { max-width: 44rem; margin: 0 auto; width: 100%; }
.legal-text h2 { font-size: clamp(1.3rem, 2vw, 1.6rem); font-weight: var(--w-6); letter-spacing: -.01em; margin: 2.4em 0 .6em; scroll-margin-top: 28px; }   /* zusätzlich zu html { scroll-padding-top } */
.legal-text h2:first-child { margin-top: 0; }
.legal-text h3 { font-size: 1.15rem; font-weight: var(--w-6); margin: 1.8em 0 .5em; }
.legal-verzeichnis { font-size: .95rem; }
.legal-verzeichnis strong { display: block; margin-bottom: 10px; font-weight: var(--w-6); }
.legal-verzeichnis ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; border-left: 2px solid var(--line); }
.legal-verzeichnis a { display: block; padding: 8px 0 8px 16px; margin-left: -2px; border-left: 2px solid transparent; color: #4a4f59; text-decoration: none; line-height: 1.35; }
.legal-verzeichnis a[aria-current] { color: var(--ink); border-left-color: var(--orange); }
@media (hover: hover) { .legal-verzeichnis a:hover { color: var(--ink); border-left-color: var(--orange); } }
@media (min-width: 1024px) {
  .legal-raster.mit-verzeichnis { grid-template-columns: 260px minmax(0, 1fr); gap: 64px; }
  .legal-raster.mit-verzeichnis .legal-text { margin: 0; }
  .legal-verzeichnis { position: sticky; top: 120px; align-self: start; max-height: calc(100vh - 150px); overflow: auto; }
}
@media (max-width: 1023px) { .legal-verzeichnis { background: #fff; border-radius: var(--radius-karte); box-shadow: var(--schatten-weich); padding: 20px 22px; } }
/* Auftrag 47.4: Der Generator-Text hat sieben Abschnitte – das Inhaltsverzeichnis erscheint jetzt wirklich; Treffer ab 44 px, 8 px Luft; lange Adressen im Rechtstext brechen um */
/* (Treffer ab 44 px in allen Breiten – die Prüfung misst überall mit Touch-Regeln) */
.legal-verzeichnis ol { gap: 8px; } .legal-verzeichnis a { display: flex; align-items: center; min-height: 44px; }
.legal-text a { overflow-wrap: anywhere; }

/* 17.11 Fehlerseite: Marken-Schnellwahl unter dem Hero */
.seiten-hero-fehler .seiten-hero-text { max-width: 820px; }
.fehler-marken .marken-suche { display: block; max-width: 420px; margin: 0 auto; }
.marken-suche-hell input { max-width: none; background: #fff; color: var(--ink); border: 1px solid #c7cad3; border-radius: 999px; padding: 12px 20px; min-height: 52px; }
.marken-suche-hell input::placeholder { color: #6c717b; }
.fehler-marken [hidden] { display: none; }

/* 17.12 Kommentare, FAQ, Videos: gleiche Radien wie der Rest */
.kommentare h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 500; letter-spacing: -.02em; }
.kommentar { border-radius: 14px; padding: 18px 22px; }
.faq summary { padding: 18px 22px; }
.faq details p { padding: 0 22px 20px; color: #3d424c; }
.video-rahmen { border-radius: var(--radius-karte); }
.video-karte figcaption { margin-top: 12px; line-height: 1.4; }
.entwurf-hinweis { border-radius: 14px; }

/* 17 – Feinschliff nach Sichtprüfung */
/* Bild-Text-Blöcke mobil untereinander (die Zwei-Spalten-Regel oben steht später in der Datei als die alte Mobilregel) */
@media (max-width: 760px) {
  .wechsel-item { grid-template-columns: 1fr; gap: 24px; }
  .wechsel-item:nth-child(even) .wechsel-bild { order: 0; }
  .wechsel-bild img { aspect-ratio: 16 / 10; margin: 0; }
}
/* Preise brechen nicht mitten im Betrag um */
.preis-wert, .preis-zeilen .betrag, .marke-galerie figcaption .betrag { white-space: nowrap; }
@media (max-width: 560px) { .preis-wert { font-size: 1.45rem; } .preis-raster-klein .preis-karte { flex-basis: 100%; max-width: 320px; } }
/* Marken-Kacheln mobil zweispaltig statt einer langen Liste */
@media (max-width: 560px) { .marken-kacheln-gross { grid-template-columns: repeat(2, 1fr); gap: 10px; } .marken-kacheln-gross a { min-height: 60px; font-size: 1rem; } }
/* „Weitere Beiträge“: auch zwei Karten stehen mittig */
.news-weitere .news-karten { display: flex; flex-wrap: wrap; justify-content: center; }
.news-weitere .news-karte { flex: 1 1 300px; max-width: 380px; }
.marken-text { padding-top: 0; }
.marken-text .abschnitt + .abschnitt { margin-top: clamp(28px, 3vw, 40px); }   /* 23.4d: mehrere Abschnitte unter der Markenübersicht – Überschrift klebte am Absatz davor */
/* Band vor dem Footer: die beiden Knöpfe bleiben zusammen (sie rutschen gemeinsam in die zweite Zeile) */
.ruf-band-knoepfe { display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 22px; }
.ruf-band-leise { display: inline-flex; align-items: center; min-height: var(--tap); color: #16181d; font-size: .95rem; text-decoration: underline; text-underline-offset: 3px; }   /* Auftrag 127: leiser zweiter Weg, Anthrazit wie auf der Bühne */
@media (max-width: 560px) { .ruf-band-knoepfe { width: 100%; } .ruf-band-knoepfe .btn { flex: 1 1 100%; } .ruf-band-leise { flex: 1 1 100%; justify-content: center; } }
/* Kontrast (Lighthouse, 03.10.): Marke „Antwort des Betriebs“ dunkel auf hellem Orange statt Weiß auf Orange (2,9:1) */
.badge-betrieb { background: #ffe4d3; color: #8f3600; font-weight: var(--w-6); }

/* ════════ Auftrag 18 (03.10.2026): Befunde aus Sichtbar CREATIVE ════════ */
/* 23.3 Turnstile-Platzhalter: liegt unter dem Widget (300 × 65), feste Höhe – sonst rutscht der Knopf 8 px */
.ts-feld { position: relative; height: 65px; margin: .4rem 0 .6rem; }
.ts-feld .cf-turnstile { position: relative; height: 65px; line-height: 0; }
.ts-platz { position: absolute; top: 0; left: 0; box-sizing: border-box; width: 300px; max-width: 100%; height: 65px; margin: 0; padding: 0 .8rem 0 2.9rem; display: flex; align-items: center;
  border: 1px solid var(--line); border-radius: 4px; color: var(--muted); font-size: .875rem; line-height: 1.3;
  background: #f6f7f9 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='1.8'%3E%3Cpath d='M12 3 5 6v5c0 4.5 3 8.2 7 10 4-1.8 7-5.5 7-10V6zM9 12l2 2 4-4'/%3E%3C/svg%3E") .8rem 50% / 24px no-repeat; }
.turnstile-hinweis { color: var(--ink); font-weight: 500; }
.wegweiser { margin: 2.8rem auto 2.4rem; }
.placeholder ul { margin: .6rem 0 0; padding-left: 1.2em; }
.placeholder li { margin-bottom: .4em; }
.placeholder p { margin: 0 0 .6em; }
/* 18.4 Spiegelungen und Platzhalter-Logo sind Schmuck: als Hintergrundflächen statt als Bilder ohne Alt-Text */
.sh-spiegel, .sf-spiegel { display: block; width: 100%; aspect-ratio: 1; background: center / contain no-repeat; }
.seiten-hero-bild.art-schluessel .sh-spiegel { position: absolute; left: 0; top: 78%; transform: scaleY(-1) scale(1.22); opacity: .2; pointer-events: none;
  -webkit-mask-image: linear-gradient(to top, #000 0%, transparent 38%); mask-image: linear-gradient(to top, #000 0%, transparent 38%); }
.news-bild-logo { display: block; width: 30%; max-width: 104px; aspect-ratio: 57 / 56; background: url("../images/autoschluessel-hilden-logo-light-22.svg") center / contain no-repeat;
  filter: drop-shadow(0 10px 22px rgba(0,0,0,.45)); transition: transform .35s cubic-bezier(.2,.7,.2,1); }
@media (hover: hover) { .news-karte:hover .news-bild-logo { transform: translateY(-4px) scale(1.05); } }
@media (prefers-reduced-motion: reduce) { .news-bild-logo { transition: none; } @media (hover: hover) { .news-karte:hover .news-bild-logo { transform: none; } } }
/* Auftrag 61: „Auf einen Blick“ als ruhige Tabelle: dunkle Kopflinie, feine Trennlinien, Name links in Fettschrift, Text rechts; keine Karten, keine Symbole, kein Schatten. Orange nur über die Seite (Überschrift), nicht hier. */
.fakten-block .titel-klein { margin: 0 0 clamp(18px, 2.4vw, 28px); }
/* „Auf einen Blick“ im Stil des Zahlenbands (Auftrag 64): dunkles Band mit Muster, Spalten mit feinen senkrechten Linien, Etikett, orange Kernaussage, grauer Satz */
.fakten-band { position: relative; overflow: hidden; background: #24272e; color: #e9eaec; padding: clamp(32px, 4.4vw, 56px) 0 clamp(34px, 4.8vw, 60px); }
/* Auftrag 82: dunkel ohne Muster, feine Trennlinie oben und unten, damit es neben Musterflächen (Marken-Band) nicht kollidiert */
.fakten-band { border-top: 1px solid rgba(255,255,255,.14); border-bottom: 1px solid rgba(255,255,255,.14); }
.fakten-band .container { position: relative; z-index: 1; }
.fakten-titel { margin: 0 0 clamp(20px, 2.6vw, 32px); font-size: clamp(1.25rem, 2vw, 1.6rem); font-weight: var(--w-7); color: #fff; text-align: center; }
/* Auftrag 231: bis zu fünf Spalten, je höchstens zwei orange Zeilen (eine Zeile bricht nie um). Raster 5 / 3+2 / 2 / 1, bei vier Spalten 4 / 2+2 / 2 / 1.
   Senkrechte Linie nur zwischen Nachbarn einer Reihe (::before), waagerechte nur über Folgereihen (::after). Breitenbereiche überschneiden sich nicht. */
.fakten-band-liste { --fb-abstand: 28px; list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; row-gap: var(--fb-abstand); text-align: center; }
.fakten-band-liste > li { min-width: 0; position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 4px clamp(10px, 1.4vw, 20px); }
.fakten-band-liste > li::before, .fakten-band-liste > li::after { content: ""; position: absolute; display: none; background: rgba(255,255,255,.2); }
.fakten-band-liste > li::before { left: 0; top: 6%; bottom: 6%; width: 1px; }
.fakten-band-liste > li::after { left: 12%; right: 12%; top: calc(var(--fb-abstand) / -2); height: 1px; }
.fakten-etikett { color: #9ea3ad; font-size: .875rem; font-weight: var(--w-6); letter-spacing: .08em; text-transform: uppercase; }
.fakten-kern { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 1.2rem; font-weight: var(--w-7); line-height: 1.25; font-variant-numeric: tabular-nums; color: var(--orange); }
.fakten-zeile-kern { white-space: nowrap; }
.fakten-link { text-decoration: none; color: inherit; display: flex; flex-direction: column; align-items: center; }
@media (hover: hover) { .fakten-link:hover .fakten-kern { text-decoration: underline; } }
.fakten-link:focus-visible .fakten-kern { text-decoration: underline; }
.fakten-satz { color: #b4b8c0; font-size: .9375rem; line-height: 1.45; max-width: 24ch; text-wrap: pretty; }
@media (min-width: 1180px) {
  .fakten-band-liste > li { flex: 1 1 0; max-width: 25%; }
  .fakten-band-liste > li:first-child:nth-last-child(n+5), .fakten-band-liste > li:first-child:nth-last-child(n+5) ~ li { max-width: 20%; }
  .fakten-band-liste > li + li::before { display: block; }
  .fakten-kern { font-size: clamp(1.05rem, 1.45vw, 1.3rem); }
}
@media (min-width: 721px) and (max-width: 1179px) {
  .fakten-band-liste:has(> li:nth-child(3)) { justify-content: flex-start; } /* Auftrag 234: zweite Reihe links am Raster der ersten */
  .fakten-band-liste > li { flex: 0 0 33.333%; max-width: 33.333%; }
  .fakten-band-liste > li:not(:nth-child(3n+1))::before, .fakten-band-liste > li:nth-child(n+4)::after { display: block; }
  /* genau vier Spalten: 2+2 statt 3+1 */
  .fakten-band-liste > li:first-child:nth-last-child(4), .fakten-band-liste > li:first-child:nth-last-child(4) ~ li { flex-basis: 50%; max-width: 50%; }
  .fakten-band-liste > li:first-child:nth-last-child(4) ~ li:nth-child(3)::before { display: none; }
  .fakten-band-liste > li:first-child:nth-last-child(4) ~ li:nth-child(4)::before, .fakten-band-liste > li:first-child:nth-last-child(4) ~ li:nth-child(3)::after { display: block; }
}
@media (min-width: 481px) and (max-width: 720px) {
  .fakten-band-liste > li { flex: 0 0 50%; max-width: 50%; }
  .fakten-band-liste > li:nth-child(even)::before, .fakten-band-liste > li:nth-child(n+3)::after { display: block; }
}
@media (max-width: 480px) { .fakten-band-liste { --fb-abstand: 22px; }
  .fakten-band-liste > li { flex: 0 0 100%; max-width: 100%; }
  .fakten-band-liste > li + li::after { display: block; } .fakten-satz { max-width: 34ch; } }

.fakten-zeile { list-style: none; margin: clamp(36px, 5vw, 64px) auto 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 900px; }
.fakten-zeile li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 22px 14px; border-radius: var(--radius-karte); background: #fff; box-shadow: var(--schatten-weich); }
.fakten-zeile .betrag { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: var(--w-7); line-height: 1.1; font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--orange);
  background-image: var(--orange-verlauf); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.fakten-zeile span { font-weight: var(--w-6); line-height: 1.3; }
.fakten-zeile small { display: block; font-weight: 400; font-size: .875rem; color: var(--muted); }
.fakten-links { margin: 0 0 2.6rem; max-width: none; }
.stadt-faq .titel-verlauf { margin-bottom: clamp(28px, 4vw, 48px); }
@media (max-width: 560px) { .fakten-zeile { gap: 10px; } .fakten-zeile li { padding: 16px 6px; } .fakten-zeile small { display: none; } .fakten-zeile span { font-size: .9rem; } }

/* ════════ Auftrag 19 (03.10.2026): Tablet und Handy ════════
   Gemessen mit werkzeug/pruefe-breiten.py: 320 · 360 · 390 · 430 · 768 · 820 · 1024 · 1180 px, Touch-Kontext.
   Umbruchpunkte der Site: 640 (Handy) · 960 (Mobilmenü + Anruf-Leiste) · 1023 (Tablet hoch) – ab 1024 Desktop-Raster. */

/* 19.2 Mobilmenü: Schublade von links über der Seite – nichts springt, die Seite dahinter steht still.
   Die Anruf-Leiste bleibt darüber erreichbar (Entscheidung: sie ist immer sichtbar). */
.nav-kopf, .nav-schleier, .nav-fuss { display: none; }
@media (max-width: 960px) {
  .main-nav, .main-nav.open { display: flex; }
  .main-nav { position: fixed; top: 0; bottom: 0; left: 0; right: auto; z-index: 80; width: min(88vw, 400px); max-height: none; grid-column: auto; grid-row: auto;
    flex-direction: column; align-items: stretch; margin: 0; background: var(--ink); box-shadow: 18px 0 50px rgba(0,0,0,.45);
    padding: env(safe-area-inset-top, 0px) 0 calc(24px + env(safe-area-inset-bottom, 0px)) env(safe-area-inset-left, 0px);
    overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
    transform: translateX(-104%); visibility: hidden; transition: transform .26s cubic-bezier(.2,.7,.2,1), visibility 0s linear .26s; }
  .main-nav.open { transform: none; visibility: visible; transition: transform .26s cubic-bezier(.2,.7,.2,1), visibility 0s; }
  .nav-kopf { display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 2; flex: none; min-height: 64px;
    padding: 8px 8px 8px 20px; background: var(--ink); border-bottom: 1px solid rgba(255,255,255,.1); color: #fff; font-weight: var(--w-7); font-size: 1.1rem; }
  .nav-zu { display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255,255,255,.1); color: #fff; font-size: 28px; line-height: 1; cursor: pointer; }
  .nav-seite { flex: none; padding: 0 12px; }
  .nav-fuss { display: block; flex: none; padding: 20px 20px 8px; }
  .nav-fuss-knoepfe { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .nav-fuss-knoepfe .btn { min-height: 48px; justify-content: center; }
  .nav-fuss-knoepfe .btn:only-child { grid-column: 1 / -1; }
  .nav-fuss-knoepfe .btn-outline, .nav-fuss-knoepfe .btn-outline:hover { color: #fff; border-color: rgba(255,255,255,.5); }
  .nav-fuss-recht { margin: 6px 0 0; text-align: center; font-size: .85rem; color: #a9adb6; }
  .nav-fuss-recht a { display: inline-block; color: #a9adb6; text-decoration: underline; padding: 13px 6px; }
  .nav-seite > a, .mega-knopf { min-height: 52px; padding: 10px 8px; font-size: 1rem; letter-spacing: .02em; border-bottom: 1px solid rgba(255,255,255,.07); }
  .mega-knopf svg { width: 22px; height: 22px; }
  .mega-knopf { scroll-margin-top: 66px; }   /* aufgeklappte Gruppe bleibt unter dem Kopf „Menü“ sichtbar */
  .mega-inhalt { padding: 10px 0 14px 8px; }
  .marken-suche input { max-width: none; }
  .mega-markenliste { margin: 10px 0 4px; column-gap: 8px; }
  .service-kacheln { gap: 0; }
  .service-kacheln li { flex-direction: row; align-items: center; gap: 12px; min-height: 48px; padding: 6px 8px; background: none; font-size: 1rem; }
  .service-kacheln .kachel-icon svg { width: 24px; height: 24px; display: block; }
  .service-kacheln .kachel-icon .icon-duo { width: 24px; height: 24px; }
  .nav-schleier { display: block; position: fixed; inset: 0; z-index: 70; background: rgba(14,15,18,.62); opacity: 0; visibility: hidden;
    transition: opacity .26s ease, visibility 0s linear .26s; touch-action: none; }
  .menue-auf .nav-schleier { opacity: 1; visibility: visible; transition: opacity .26s ease, visibility 0s; }
  html.menue-auf, html.menue-auf body { overflow: hidden; }
  html { scroll-padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
}

/* 19.1 Tap-Ziele: 44 × 44 px Trefferfläche, 8 px Luft zwischen einzelnen Knöpfen und Symbolen */
.footer-liste a { min-width: var(--tap); }
.pagination { gap: 8px; }
.solo-link { display: inline-flex; align-items: center; min-height: var(--tap); }
a[href^="tel:"] { white-space: nowrap; }                     /* eine Telefonnummer bricht nie um */
.seiten-hero .breadcrumb a { position: relative; }
.seiten-hero .breadcrumb a::after { content: ""; position: absolute; inset: -22px -4px; }
.topbar p a { position: relative; }
.topbar p a::after { content: ""; position: absolute; inset: -14px -4px; }
@media (hover: none) and (pointer: coarse), (max-width: 760px) {
  .social { gap: 14px; }
  .social a { width: 38px; height: 38px; border-radius: 8px; }
  .social a::after { inset: -3px; }
  .social svg { width: 20px; height: 20px; }
  .lightbox button.lb-zu { width: 52px; height: 52px; }
}
/* Tablet quer mit Desktop-Kopf: obere Leiste hoch genug für den Finger */
@media (hover: none) and (pointer: coarse) and (min-width: 961px) {
  .topbar-inner { min-height: 56px; }
  .topbar .btn { min-height: 44px; padding: 6px 20px; }
  .topbar .btn::after { display: none; }
  .site-header { top: -57px; }
  :root { --kopf-h: 144px; }
}
/* Mobil zeigen die Brotkrumen nur den Weg zurück – die aktuelle Seite steht als Titel direkt darunter. Eine Zeile, auch bei 320 px. */
@media (max-width: 640px) { .seiten-hero .breadcrumb .krume-hier { display: none; } }

/* 19.3 Seitenkopf: Titel mobil nie unter 32 px; lange Wörter trennen statt hinausragen */
@media (max-width: 860px) {
  .seiten-hero.titel-lang .seiten-hero-titel, .seiten-hero-ruhig .seiten-hero-titel, .seiten-hero-beitrag .seiten-hero-titel { font-size: 2rem; line-height: 1.14; }
}
@media (max-width: 640px) {
  h1, h2, h3, .seiten-hero-titel .wort, .hero-name .wort, .karte-flaeche h2, .karte-flaeche h3 { -webkit-hyphens: auto; hyphens: auto; overflow-wrap: break-word;
    -webkit-hyphenate-limit-before: 5; -webkit-hyphenate-limit-after: 5; hyphenate-limit-chars: 12 5 5; }
}
/* Schriftauftritt mobil kürzer: alles steht nach 0,7 s (Desktop 1,2 s) */
@media (max-width: 960px) {
  .hero.auftritt .ha { animation-duration: .32s; }
  .hero.auftritt .ha-2 { animation-delay: .22s; }
  .hero.auftritt .ha-3 { animation: ha-ein .32s cubic-bezier(.2,.7,.2,1) .3s both; }
  .hero.auftritt .ha-4 { animation-delay: .38s; }
  .hero.auftritt .ha-wort { animation-duration: .34s; animation-delay: calc(.04s + var(--w, 0) * 36ms); }
  .hero.auftritt .hero-bild img { animation-duration: 1.2s; }
  .hero.auftritt .zahlen svg, .hero.auftritt .hero-zahlen .icon-linie { animation-delay: .45s; }
}
/* Die Anruf-Leiste ist 72 px hoch (Knöpfe 52 px seit Auftrag 13), nicht 68 – das Kopfbild endete 4 px hinter ihr */
@media (max-width: 960px) { :root { --kopf-h: 56px; } }
/* Niedrige Handy-Bildschirme (mit eingeblendeten Browserleisten bleiben oft nur 640–700 px): Zahlenband kompakt,
   damit Kopfbild, Nummer und alle drei Zahlen in den ersten Bildschirm passen */
@media (max-width: 640px) and (max-height: 720px) {
  .hero .hero-zahlen { padding: 8px 0 10px; }
  .hero-zahlen .zahl-kachel { padding: 4px 4px; gap: 12px; }
  .hero-zahlen .zahl-gross { font-size: 2.2rem; }
  .hero-zahlen .zahl-satz { display: none; }
  .logo-anim .hero-inhalt { padding-top: 26px; padding-bottom: 8px; }
  .hero-b .unterzeile { margin-bottom: .7rem; line-height: 1.45; }
  .hero-b h1 { margin-bottom: .25em; }
}
/* Zahlenband am Tablet: drei Spalten wie am Desktop, nicht die Handy-Zeilen */
@media (min-width: 641px) and (max-width: 960px) {
  .hero .hero-zahlen { padding: 18px 0 22px; }
  .hero-zahlen .zahlen-liste { grid-template-columns: repeat(3, 1fr); }
  .hero-zahlen .zahl-kachel { flex-direction: column; align-items: center; gap: 4px; padding: 0 12px; text-align: center; }
  .hero-zahlen .zahl-kachel + .zahl-kachel::before { left: 0; right: auto; top: 8%; bottom: 8%; width: 1px; height: auto; animation-name: linie-wachsen; }
  .hero-zahlen .zahl-gross { font-size: 3rem; width: auto; min-width: 0; justify-content: center; }
  .hero-zahlen .zahl-text { margin-top: 4px; }
  .hero-b h1 { font-size: clamp(2.6rem, 6vw, 3.2rem); }
  .hero-b .unterzeile { max-width: 30em; }
}

/* 19.4 Schaufenster: am Tablet zwei ganze Karten und der Anriss der dritten; Preis bricht nicht um */
.sf-preis, .lb-preis { white-space: nowrap; }
@media (min-width: 600px) and (max-width: 860px) {
  .schaufenster-reihe { padding: 10px 7vw 0; scroll-padding: 0 7vw; }
  .sf-eintrag { flex: 0 0 37vw; scroll-snap-align: start; }
}
@media (max-width: 860px) { .sf-punkte { gap: 0; pointer-events: none; } }
/* Handy: Karte schmaler als der Bildschirm, damit vom nächsten Schlüssel wirklich etwas zu sehen ist (vorher nur leerer Kartenrand) */
@media (max-width: 599px) {
  .schaufenster-reihe { padding: 10px 19vw 0; }
  .sf-eintrag { flex: 0 0 62vw; }
}
/* Lightbox: mit einem Finger wischen, mit zwei Fingern zoomen */
.lightbox-bild { touch-action: pan-y pinch-zoom; }

/* 19.5 Kundenfragen: seit Auftrag 21.4 zuerst zehn (Handy fünf) und „Weitere Fragen laden“ – siehe unten */
/* Galerie: Bildgröße passt zur Spalte */
@media (max-width: 560px) { .marke-galerie figcaption { font-size: .9rem; } }

/* 19.6 Kontakt: mobil zuerst Öffnungszeiten und Anrufen, dann das Formular. Reihenfolge im HTML = Reihenfolge am Handy. */
.kontakt-raster { grid-template-rows: auto auto 1fr; column-gap: clamp(28px, 4vw, 56px); row-gap: 22px; }
.kontakt-formular { grid-column: 1; grid-row: 1 / span 3; }
.kontakt-raster > .kontakt-karte { grid-column: 2; }
.field.has-error input, .field.has-error textarea, .field.ungueltig input, .field.ungueltig textarea { border-color: var(--err); }
@media (max-width: 900px) {
  .kontakt-raster { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; }
  .kontakt-formular, .kontakt-raster > .kontakt-karte { grid-column: 1; grid-row: auto; }
  /* Telefon als Hauptknopf */
  .kontakt-wege .weg-haupt a { min-height: 60px; background: var(--knopf-verlauf); color: #fff; box-shadow: 0 8px 20px rgba(232,93,12,.28); }
  .kontakt-wege .weg-haupt small { color: rgba(255,255,255,.85); }
  .kontakt-wege .weg-haupt .weg-symbol { background: rgba(255,255,255,.18); }
}
@media (min-width: 641px) and (max-width: 900px) {
  .kontakt-raster { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 22px; }
  .kontakt-raster > .k-zeiten { grid-column: 1; }
  .kontakt-raster > .k-wege { grid-column: 2; }
  .kontakt-formular, .kontakt-raster > .k-anschrift { grid-column: 1 / -1; }
  .kontakt-raster.ohne-zeiten > .k-wege { grid-column: 1 / -1; }
}

/* 19.10 Tablet-Raster: Karten zweispaltig, die dritte füllt die Reihe quer – keine einsame Karte. Ab 1024 dreispaltig. */
@media (min-width: 641px) and (max-width: 1023px) {
  .karten, .karten-vier { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: none; margin: 0; gap: 24px; }
  .karten > .karte:last-child:nth-child(odd) { grid-column: 1 / -1; flex-direction: row; }
  .karten > .karte:last-child:nth-child(odd) .karte-flaeche { flex-direction: row; width: 100%; }
  .karten > .karte:last-child:nth-child(odd) .karte-bild { flex: 0 0 46%; aspect-ratio: auto; min-height: 230px; }
  .karten > .karte:last-child:nth-child(odd) .karte-flaeche .karte-bild img { height: 100%; margin: 0; }
  .karten > .karte:last-child:nth-child(odd) .karte-body { justify-content: center; }
  .intro-kacheln { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: none; gap: 24px; }
  .intro-kacheln li:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (min-width: 641px) and (max-width: 935px) {
  .news-karten, .news-weitere .news-karten { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .news-weitere .news-karte { max-width: none; }
  .news-karten > .news-karte:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .news-karten > .news-karte:last-child:nth-child(odd) .news-flaeche { flex-direction: row; }
  .news-karten > .news-karte:last-child:nth-child(odd) .news-bild { flex: 0 0 46%; }
  .news-karten > .news-karte:last-child:nth-child(odd) .news-bild, .news-karten > .news-karte:last-child:nth-child(odd) .news-bild img { aspect-ratio: auto; height: 100%; min-height: 220px; }
  .news-karten > .news-karte:last-child:nth-child(odd) .news-text { justify-content: center; }
}
/* Footer am Tablet: zwei mal zwei, kein Block allein */
@media (min-width: 561px) and (max-width: 960px) { .footer-marke { grid-column: auto; } }
/* Städte-Blöcke: bis 900 px untereinander, Bild oben */
@media (max-width: 900px) {
  .wechsel { max-width: var(--text-breit); margin: 0 auto; }   /* in einer Flucht mit der Textspalte darüber */
  .wechsel-item { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .wechsel-item .wechsel-bild, .wechsel-item:nth-child(even) .wechsel-bild { order: -1; }
  .wechsel-item:nth-child(even) .wechsel-text { justify-self: start; }
  .wechsel-bild img { max-width: 100%; aspect-ratio: 16 / 10; margin: 0; }
}

/* 19.9 Typografie: höchstens 75 Zeichen je Zeile (35 rem bei 17 px), Nebentexte mobil nicht unter 14 px */
:root { --text-breit: 35rem; }
.container.narrow { max-width: calc(var(--text-breit) + 2 * var(--gutter)); }
main .prose, .prose-breit .abschnitt, .legal-text, .wechsel-text { max-width: var(--text-breit); }
.news-spalte { max-width: calc(var(--text-breit) + 2 * var(--gutter)); }
.intro-lead { max-width: 32em; }
.prose table { display: block; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
/* Kennzahlen-Kacheln: lange Wörter („Schlüsselarten“) trennen statt die Seite zu verbreitern (320 px) */
.fakten-zeile li { min-width: 0; }
.fakten-zeile span { max-width: 100%; overflow-wrap: anywhere; -webkit-hyphens: auto; hyphens: auto; }
@media (max-width: 960px) {
  .site-footer { font-size: 1rem; }
  .footer-unten { font-size: .875rem; }
  .seiten-hero .breadcrumb { font-size: .875rem; }
  .field label, .field .label, .kommentar header, .status, .download-text span, .teilen-knopf, .preis-leistung, .sf-satz, .seiten-hero-beitrag .news-datum { font-size: 1rem; }
  .hint-inline, .preis-fussnote, .sf-fussnote, .hero-zahlen .zahl-satz, .video-hinweis, .kontakt-wege small, .kommentar time, .news-text time, .fakten-zeile small { font-size: .875rem; }
  .hero-eyebrow, .badge-betrieb { font-size: .875rem; }
  .hinweis-original { font-size: .8125rem; line-height: 1.45; }   /* Auftrag 250b: Pflichthinweis am Handy höchstens 4 Zeilen */
  .heute-marke { font-size: .875rem; }
}

/* ════════ Auftrag 20 (03.10.2026): Ratgeber, Preiszeile im Seitenkopf ════════ */
@media (min-width: 961px) { .service-kacheln { grid-template-columns: repeat(3, 1fr); } }   /* sechs Kacheln in zwei Reihen */
/* Preise im Seitenkopf der Marken- und Modellseiten (Suchintent „Kosten“) */
.hero-preise { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 10px; }
.hero-preise li { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; padding: 8px 16px; border-radius: 999px; background: rgba(255,255,255,.08); color: #e2e4e9; font-size: .95rem; line-height: 1.3; }
.hero-preise .betrag { white-space: nowrap; font-size: 1.12rem; font-weight: var(--w-7); color: var(--orange);
  background-image: var(--orange-verlauf); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
@media (max-width: 640px) { .hero-preise li { border-radius: 14px; font-size: 1rem; } }

/* Ratgeber-Beitrag */
.ratgeber-bild { float: right; width: min(42%, 260px); margin: 4px 0 18px 26px; }
.ratgeber-bild img { width: 100%; height: auto; border-radius: var(--radius-karte); box-shadow: var(--schatten-weich); }
@media (max-width: 560px) { .ratgeber-bild { float: none; width: min(72%, 260px); margin: 0 0 22px; } }
.ratgeber-inhalt h2 { color: var(--ink); font-weight: var(--w-6); letter-spacing: -.01em; font-size: clamp(1.3rem, 2vw, 1.65rem); line-height: 1.25; margin: 2em 0 .6em; }
.ratgeber-inhalt > h2:first-child { margin-top: 0; }
.ratgeber-videos { clear: both; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); margin: 2rem 0 .6rem; }
.ratgeber-aktionen { clear: both; margin-top: 2.2rem; }
.ratgeber-marke { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: .9rem; }
.ratgeber-marke svg { width: 16px; height: 16px; fill: var(--orange); }
.ratgeber-karten { margin-top: 0; }
.news-karte .news-bild img { background: #2b2f37; }
.marke-ratgeber { padding-bottom: 0; }
.marke-ratgeber .titel-verlauf { margin-bottom: clamp(20px, 3vw, 36px); }
.marke-ratgeber .hinweis-zeile { margin-top: 16px; }
.leistung-faq .titel-verlauf { margin-bottom: clamp(28px, 4vw, 48px); }
.stadt-km { margin: 0 0 .8rem; color: #3d424c; }
.stadt-km strong { color: var(--ink); }
.stadt-route { margin: 0 0 .8rem; }
.stadt-route a { display: inline-flex; align-items: center; min-height: var(--tap); }   /* 54: Tap-Ziel war 20 px hoch */
/* Lange Aufzählungen (Modell-Listen der alten Seiten) zweispaltig, damit die Seite nicht meterlang wird */
.prose ul:has(> li:nth-child(12)) { columns: 2 11em; column-gap: 32px; }
.prose ul:has(> li:nth-child(12)) > li { break-inside: avoid; }

/* ════════ Auftrag 21 (03.10.2026): breiter Lesebereich, Bild-Text-Wechsel, Kommentare, Angebote ════════
   Dennis: „Warum sind die Textbereiche so schmal, das macht die Seiten kilometerlang!“
   Lesespalte 760 px, ab 1280 px Fensterbreite 800 px; Fließtext 18 px am Desktop, 17 px mobil.
   Unterseiten haben ein engeres Abstandsmaß als die Startseite (body.unterseite) – weniger Leerraum über den Abschnitten. */

/* 21.2 Maße – EINE Stelle */
:root { --text-breit: 47.5rem; --lese: 1.0625rem; }
@media (min-width: 961px) { :root { --lese: 1.125rem; } }
@media (min-width: 1280px) { :root { --text-breit: 50rem; } }
.unterseite { --section-y: clamp(52px, 6vw, 88px); }
.unterseite .seiten-hero + .section, .unterseite .seiten-hero + .container + .section { padding-top: clamp(44px, 4.6vw, 68px); }
.prose, .wechsel-text p, .faq details p, .legal-text, .haken-liste li, .schritte li { font-size: var(--lese); }
.prose p { margin: 0 0 1.25em; }
.prose > :last-child { margin-bottom: 0; }
/* Zwischentitel größer, weniger Raum darüber */
main .titel-klein, main .seite-eigen h2, main .abschnitt h2, .ratgeber-inhalt h2, .legal-text h2 { font-size: clamp(1.4rem, 2.3vw, 1.85rem); line-height: 1.22; margin: 1.5em 0 .5em; }
.einleitung { max-width: 38em; margin-bottom: 2rem; }
.fakten-links { margin: 0 0 clamp(36px, 4.4vw, 60px); max-width: none; }   /* 203.2a: drei gleich breite Kacheln über die ganze Inhaltsbreite */

/* Bild-Text-Wechsel: Text 60 %, Bild 40 %, die Seite wechselt je Reihe (includes/bausteine.php, leseAbschnitte()) */
.lese-spalte { max-width: var(--text-breit); margin: 0 auto; }
.lese-wechsel { display: grid; gap: clamp(44px, 5.5vw, 80px); }
.lese-reihe { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.lese-reihe:nth-child(even) { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
.lese-reihe:nth-child(even) .lese-bild { order: -1; }
.lese-spalte .abschnitt, .lese-text .abschnitt, .stadt-text .abschnitt { max-width: none; margin: 0 0 clamp(28px, 3vw, 40px); }
.leistungen-wegweiser, .lese-spalte.wegweiser { margin-top: clamp(40px, 5vw, 64px); margin-bottom: 0; }   /* Auftrag 209: gleicher Abschnittsabstand wie unter den Karten der Referenzseiten */
.lese-spalte .abschnitt:last-child, .lese-text .abschnitt:last-child, .stadt-text .abschnitt:last-child { margin-bottom: 0; }
.lese-text .abschnitt .titel-klein:first-child, .lese-spalte .abschnitt .titel-klein:first-child, .stadt-text .abschnitt .titel-klein:first-child { margin-top: 0; }
.lese-bild { position: sticky; top: 118px; margin: 0; }
.lese-bild img { width: 100%; height: auto; border-radius: 28px; box-shadow: 0 30px 80px rgba(0,0,0,.14); }
/* 48.2: freigestellter Schlüssel (transparenter Grund) liegt frei auf der Seite – kein Kasten aus Rundung und Schatten */
.lese-bild-frei img { border-radius: 0; box-shadow: none; filter: drop-shadow(0 16px 18px rgba(0,0,0,.22)); }
.lese-bild figcaption { margin-top: 14px; text-align: center; color: var(--muted); font-size: .95rem; line-height: 1.4; }
.lese-bild figcaption .betrag { color: var(--ink); font-weight: var(--w-7); white-space: nowrap; }
.leistung-aktionen { align-items: center; margin-top: clamp(32px, 4vw, 52px); }
@media (max-width: 900px) {
  .lese-wechsel { max-width: var(--text-breit); margin: 0 auto; gap: 36px; }
  .lese-reihe, .lese-reihe:nth-child(even) { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .lese-bild, .lese-reihe:nth-child(even) .lese-bild { order: -1; position: static; max-width: 420px; }
  .lese-bild img { border-radius: 20px; }
  .lese-bild-frei img { border-radius: 0; }
  .lese-marke .lese-bild { display: none; }   /* dieselben Schlüssel stehen direkt darüber in der Galerie */
  .lese-marke .lese-bild-altneu { display: block; }   /* 30.2: Vorher/nachher steht nicht in der Galerie */
}

/* Listen: ab sechs Einträgen zweispaltig, ab achtzehn dreispaltig (Modell-Listen) – nummerierte Schritte bleiben einspaltig */
.prose ul:has(> li:nth-child(6)) { columns: 2 14em; column-gap: 40px; }
.prose ul:has(> li:nth-child(18)) { columns: 3 11em; }
.prose ul:has(> li:nth-child(6)) > li { break-inside: avoid; }

/* Häufige Fragen: am Desktop zwei Spalten */
.faq-zwei { max-width: 1040px; margin: 0 auto; }
@media (min-width: 1024px) {
  .faq-zwei { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; align-items: start; }
  .faq-zwei details { margin-bottom: 0; }
}

/* Leistungskarten kompakt (Markenseiten): kleines Bild links, Titel, Pfeil – ein Drittel der Höhe */
.karten-kompakt { gap: 20px; }
.karten-kompakt .karte-leistung::before { display: none; }
.karten-kompakt .karte-flaeche { flex-direction: row; align-items: center; gap: 18px; padding: 16px 20px 16px 16px; }
.karten-kompakt .karte-bild { flex: 0 0 88px; aspect-ratio: 1; border-radius: 14px; }
.karten-kompakt .karte-body { padding: 0; gap: 2px; }
.karten-kompakt .karte h3 { font-size: 1.2rem; }
.karten-kompakt .karte-satz { display: none; }
@media (min-width: 641px) and (max-width: 1023px) {
  .karten-kompakt > .karte:last-child:nth-child(odd) .karte-bild { flex: 0 0 88px; min-height: 0; aspect-ratio: 1; }
}

/* Markenseite: Modelle unter Galerie und Preiskasten; Ratgeber, Leistungen und Fragen in einem hellen Abschnitt */
.marke-raster { grid-template-columns: minmax(0, 1fr) minmax(280px, 340px); }
@media (min-width: 1100px) { .marke-galerie { grid-template-columns: repeat(4, 1fr); gap: 18px; } }
.marke-modelle { margin-top: clamp(44px, 5vw, 68px); }
.marke-modelle .modell-kacheln { margin-top: 20px; }
.marke-service .marke-ratgeber { padding: 0; margin: 0 auto clamp(44px, 5vw, 68px); max-width: 1040px; }
.marke-service .marke-leistungen { margin-bottom: clamp(44px, 5vw, 68px); }
.marke-service .titel-verlauf { margin-bottom: clamp(20px, 2.6vw, 32px); }
@media (max-width: 860px) { .marke-raster { grid-template-columns: minmax(0, 1fr); } }

/* Städteseite: Text links, Kasten „So erreichen Sie uns“ läuft rechts mit */
.stadt-raster { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.stadt-raster.ohne-seite { grid-template-columns: minmax(0, var(--text-breit)); justify-content: center; }
.stadt-seite { position: sticky; top: 118px; }
.stadt-seite .stadt-zeiten { margin: 0; }
.stadt-seite .actions .btn { flex: 1 1 auto; }
.stadt-oben .fakten-zeile { margin-top: clamp(40px, 5vw, 64px); }
.unterseite .wechsel { gap: clamp(48px, 6vw, 92px); }
@media (max-width: 900px) {
  .stadt-raster { grid-template-columns: minmax(0, 1fr); max-width: calc(var(--text-breit) + 2 * var(--gutter)); }
  .stadt-seite { position: static; }
}

/* 21.1 Bau-Übersicht (/_bau/…): nur während des Baus */
.bau-hinweis { margin: 0 0 1.6rem; padding: 18px 22px; border-radius: 14px; background: #fff7d6; border: 2px dashed #d4a72c; color: #5c4a00; }
.bau-hinweis p { margin: .4rem 0 0; }
.bau-summe { margin: 0 0 1rem; }
.tabelle-rahmen { overflow-x: auto; -webkit-overflow-scrolling: touch; background: #fff; border-radius: var(--radius-karte); box-shadow: var(--schatten-weich); }
.bau-tabelle { width: 100%; min-width: 680px; border-collapse: collapse; }
.bau-tabelle th, .bau-tabelle td { padding: 10px 18px; text-align: left; vertical-align: middle; border-bottom: 1px solid var(--line); font-weight: 400; }
.bau-tabelle tbody tr:last-child > * { border-bottom: 0; }
.bau-tabelle thead th { color: var(--muted); font-weight: var(--w-6); font-size: .92rem; }
.bau-tabelle .zahl { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.bau-tabelle a { display: inline-flex; align-items: center; min-height: var(--tap); min-width: var(--tap); color: var(--ink); font-weight: var(--w-6); text-underline-offset: 3px; }
.bau-tabelle .status { margin: 0; }
.bau-pfad { display: block; color: var(--muted); font-size: .875rem; }
.bau-weitere { margin: 1.4rem 0 0; }
.bau-weitere a { display: inline-flex; align-items: center; min-height: var(--tap); color: var(--ink); font-weight: var(--w-6); text-underline-offset: 3px; }

/* 21.4 Fragen und Antworten: volle Lesespalte, Karten mit Avatar, Antwort des Betriebs eingerückt und orange markiert,
   Frage-Formular als Karte oben, zuerst zehn Fragen (Handy fünf), dann „Weitere Fragen laden“ */
.k-kopf { margin: 0 0 1.6rem; }
.kommentare .k-kopf h2 { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 0 0 .35em; font-size: clamp(1.7rem, 2.8vw, 2.3rem); font-weight: 500; letter-spacing: -.02em; }
.k-zahl { display: inline-grid; place-items: center; min-width: 2.2em; padding: .12em .6em; border-radius: 999px; background: var(--orange-verlauf); color: #fff;
  font-size: max(.55em, 14px); font-weight: var(--w-7); letter-spacing: 0; font-variant-numeric: tabular-nums; }
.k-kopf p { margin: 0; color: #4a4f59; font-size: var(--lese); }
.k-avatar { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; background: #e4e5ee; color: var(--ink); font-weight: var(--w-7); font-size: 1.1rem; line-height: 1; }
.k-avatar svg { width: 22px; height: 22px; fill: currentColor; }
.k-formkarte { margin: 0; padding: clamp(20px, 3vw, 32px); border-radius: var(--radius-karte); background: #fff; box-shadow: var(--schatten-weich); }
.k-formtitel { display: flex; align-items: center; gap: 12px; margin: 0 0 1.1rem; font-size: 1.25rem; font-weight: var(--w-6); letter-spacing: -.01em; }
.k-formtitel .k-avatar { background: var(--orange-verlauf); color: #fff; }
.k-formkarte textarea { resize: vertical; }
.k-formfuss .hint { margin: 0 0 .9rem; }
.k-namevorschau { margin: .4rem 0 0; }
.k-namevorschau .fett { color: var(--ink); font-weight: var(--w-7); }
.k-formkarte .field:last-of-type, .k-formkarte .field-row .field { margin-bottom: 1.1rem; }
.kommentar-liste { list-style: none; margin: clamp(28px, 3.4vw, 44px) 0 0; padding: 0; display: grid; gap: 16px; }
.k-faden { margin: 0; }
.kommentar { display: flex; gap: 14px; align-items: flex-start; margin: 0; padding: 20px 22px; border-radius: var(--radius-karte); background: #fff; box-shadow: var(--schatten-weich); scroll-margin-top: 130px; }
.k-inhalt { flex: 1; min-width: 0; }
.kommentar header { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; margin: 0 0 .35rem; font-size: 1rem; }
.k-name { font-weight: var(--w-6); }
.k-datum { margin-left: auto; color: var(--muted); font-size: .875rem; text-decoration: none; position: relative; }
.k-datum::after { content: ""; position: absolute; inset: -14px -6px; }
.k-datum time { margin: 0; font-size: inherit; color: inherit; }
@media (hover: hover) { .k-datum:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; } }
.kommentar-text { font-size: var(--lese); line-height: 1.65; overflow-wrap: anywhere; }
.kommentar:target { box-shadow: 0 0 0 3px rgba(255,104,27,.45), var(--schatten-weich); }
.kommentar:focus { outline: none; }
.kommentar:focus-visible { outline: 3px solid rgba(255,104,27,.5); outline-offset: 2px; }
.kommentar-antworten { display: grid; gap: 10px; margin: 10px 0 0 clamp(18px, 5vw, 58px); padding: 0; border: 0; }
.kommentar-antworten .kommentar { margin: 0; padding: 16px 18px; background: #fff; box-shadow: none; border: 1px solid var(--line); }
.kommentar-antworten .kommentar-betrieb { background: #fff6f0; border: 0; border-left: 4px solid var(--orange); border-radius: 6px var(--radius-karte) var(--radius-karte) 6px; }
.kommentar-betrieb .k-avatar { background: var(--orange-verlauf); color: #fff; }
.kommentar-antwort .k-avatar { width: 36px; height: 36px; font-size: .95rem; }
.kommentar-antwort .k-avatar svg { width: 18px; height: 18px; }
.badge-betrieb { margin: 0; padding: 2px 10px; font-size: .875rem; }
.k-mehr { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin: clamp(22px, 3vw, 32px) 0 0; }
.k-stand { color: var(--muted); font-size: .95rem; }
.k-zurueck { margin: 1.4rem 0 0; }
.k-zurueck + .kommentar-liste { margin-top: .6rem; }
/* Vor dem Skript gilt dieselbe Auswahl schon per CSS – so springt nichts, wenn main.js übernimmt */
.js .kommentar-liste:not(.bereit) > li:nth-child(n+11) { display: none; }
@media (max-width: 860px) { .js .kommentar-liste:not(.bereit) > li:nth-child(n+6) { display: none; } }
@media (max-width: 640px) {
  .kommentar { padding: 16px; gap: 12px; }
  .k-avatar { width: 38px; height: 38px; font-size: 1rem; }
  .kommentar-antworten { margin-left: 14px; }
  .kommentar-antworten .kommentar { padding: 14px; }
  .k-formfuss .btn { width: 100%; }
}
/* Sprunganker im Seitenkopf */
.hero-sprung { display: inline-flex; align-items: center; gap: 6px; min-height: var(--tap); margin-top: 10px; color: #e2e4e9; font-weight: 500; text-decoration: underline; text-decoration-color: rgba(255,255,255,.35); text-underline-offset: 4px; }
.hero-sprung svg { width: 18px; height: 18px; fill: var(--orange); flex: none; }
.hero-preise + .hero-sprung { display: flex; width: fit-content; }
@media (hover: hover) { .hero-sprung:hover { color: #fff; text-decoration-color: var(--orange); } }

/* 21.3 Angebote: Preiskarten nach Schlüsselart, Preise je Marke, „im Preis enthalten“, Ablauf */
.angebot-arten .einleitung, .angebot-marken .einleitung { margin-bottom: clamp(28px, 3.4vw, 44px); }
.angebot-arten .titel-verlauf, .angebot-marken .titel-verlauf { margin-bottom: .35em; }
.art-karten { list-style: none; margin: 0 0 1.4rem; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
.art-karte { display: flex; flex-direction: column; flex: 1 1 250px; max-width: 300px;   /* 154: größer, Bild quadratisch */
  background: #fff; border-radius: var(--radius-karte); box-shadow: var(--schatten-weich); overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease; }
@media (hover: hover) { .art-karte:hover { transform: translateY(-5px); box-shadow: 0 28px 70px rgba(0,0,0,.12); } }
.art-bild { display: block; aspect-ratio: 1 / 1; overflow: hidden; background: #2b2f37; }
.art-bild img { width: 100%; height: 100%; object-fit: cover; }
/* 24b.3: freigestellter Schlüssel ganz sichtbar auf dem dunklen Kartenkopf, gleiche Größe und Lage in allen Karten */
.art-bild-frei { background: radial-gradient(120% 90% at 50% 35%, #3a3f49 0%, #2b2f37 60%, #23262d 100%); }
.art-bild-frei img { object-fit: contain; padding: 2% 5% 0; box-sizing: border-box; filter: drop-shadow(0 14px 16px rgba(0,0,0,.45)); }
.art-inhalt { display: flex; flex-direction: column; flex: 1; gap: 10px; padding: 22px 22px 24px; }
.art-inhalt h3 { margin: 0; color: var(--ink); font-size: 1.2rem; font-weight: var(--w-6); letter-spacing: -.01em; line-height: 1.25; min-height: 2.5em; }
.art-preis { display: flex; align-items: center; min-height: 2.6rem; margin: 0; font-size: clamp(1.9rem, 2.5vw, 2.25rem); font-weight: var(--w-7); line-height: 1.1; white-space: nowrap; color: var(--orange);
  background-image: var(--orange-verlauf); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.art-anfrage { font-size: 1.3rem; }
.art-punkte { list-style: none; margin: 4px 0 10px; padding: 0; display: grid; gap: 8px; align-content: start; flex: 1; }
.art-punkte li { display: flex; gap: 10px; align-items: flex-start; color: #3d424c; line-height: 1.4; }
.art-punkte svg { width: 18px; height: 18px; flex: none; margin-top: 3px; fill: url(#sc-verlauf); }
.art-karte .btn { width: 100%; justify-content: center; }
.angebot-marken .marken-suche { display: block; max-width: 420px; margin: 0 auto; }
.angebot-marken [hidden] { display: none; }
.marken-preise { grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 12px; margin-top: 26px; }
.marken-preise a { flex-direction: column; gap: 2px; min-height: 76px; }
.marken-preise .kachel-titel { font-weight: var(--w-6); font-size: 1.05rem; }
.marken-preise span { color: var(--muted); font-size: .92rem; white-space: nowrap; }
/* Auftrag 61.8: Marken-Kacheln mit Schlüsselfoto der Marke (Machart wie das Raster: grau, -20°, Spiegelung, kein Schatten). Ruhig: dunkle Fläche wie die Marken-Karten der Startseite, keine Kartenschatten, Hover nur das orange Leuchten (.sf-spot) */
.marken-preise a.mit-bild { position: relative; overflow: hidden; isolation: isolate; min-height: 0; padding: 14px 10px 14px; gap: 0; background: var(--ink); box-shadow: none; border-radius: var(--radius-karte); color: #fff; }
.marken-preise a.mit-bild::before { content: ""; position: absolute; left: 50%; top: 38%; width: 150%; aspect-ratio: 1; z-index: -1; translate: -50% -50%; scale: .7; opacity: 0; pointer-events: none;
  background: radial-gradient(circle, rgba(255,138,76,.38) 0, rgba(255,104,27,.16) 32%, rgba(232,93,12,0) 62%); transition: opacity .45s ease, scale .7s cubic-bezier(.2,.7,.2,1); }
.marken-preise li { display: flex; }
.marken-preise li > a { flex: 1; }
.marken-preise a.mit-bild { justify-content: flex-end; }
.marken-preise a.ohne-bild { justify-content: center; }
.marken-kachel-bild { display: block; width: calc(100% + 20px); max-width: none; aspect-ratio: 5 / 4; height: auto; object-fit: cover; margin: -14px -10px 6px; transform-origin: 50% 60%; }
/* Auftrag 125: Hover wie auf der alten Seite: der Schlüssel kommt der Kachel entgegen (kleine Verschiebung und Drehung, 250 ms, nur transform); Tippen/Fokus am Handy derselbe Zustand ohne Hover-Zwang. Der Grund des Fotos ist #31353E, gleich der Kachel. */
.marken-preise a.mit-bild .marken-kachel-bild { transition: transform .25s ease-out; }
.marken-preise a.mit-bild:focus-visible .marken-kachel-bild, .marken-preise a.mit-bild:active .marken-kachel-bild { transform: translate(5px, -4px) rotate(-3deg) scale(1.05); }
@media (hover: hover) { .marken-preise a.mit-bild:hover .marken-kachel-bild { transform: translate(5px, -4px) rotate(-3deg) scale(1.05); } }
@media (prefers-reduced-motion: reduce) { .marken-preise a.mit-bild .marken-kachel-bild { transition: none; } }
/* Auftrag 193: alle Karten haben dasselbe Bildfeld (480 × 384, transparent, Schlüssel mittig); die Sonderregel für Volvo (320 px, contain) entfällt */
.marken-preise a.mit-bild .kachel-titel { color: #fff; position: relative; }
.marken-preise a.mit-bild span { color: #b9bdc6; position: relative; }
@media (hover: hover) { .marken-preise a.mit-bild:hover { transform: none; box-shadow: none; color: #fff; } }   /* Auftrag 125: orange Leuchten entfällt, das Foto deckt die Kachel, die Bewegung trägt der Schlüssel (.marken-kachel-bild) */
.angebot-enthalten { margin-bottom: clamp(48px, 6vw, 84px); }
.angebot-enthalten .titel-verlauf, .angebot-ablauf .titel-verlauf, .angebot-faq .titel-verlauf { margin-bottom: clamp(24px, 3vw, 40px); }
.angebot-enthalten .enthalten-zusatz { margin: 1.75rem auto 0; }
.enthalten-reihe { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 24px; }
.enthalten-reihe li { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.enthalten-reihe .kachel-icon { display: grid; place-items: center; width: 68px; height: 68px; margin-bottom: 8px; border-radius: 50%; background: var(--orange-verlauf); box-shadow: 0 12px 28px rgba(232,93,12,.28); }
.enthalten-reihe .kachel-icon svg { width: 32px; height: 32px; fill: #fff; }
.enthalten-reihe strong { font-size: 1.2rem; font-weight: var(--w-6); }
.enthalten-reihe li > span:last-child { max-width: 17em; color: #4a4f59; line-height: 1.5; }
.schritte-reihe { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-bottom: 1rem; }
.schritte-reihe li { flex-direction: column; align-items: flex-start; gap: 14px; padding: 26px 24px; }
.angebot-vertrauen .einleitung { margin: 0 auto; }
.angebot-vertrauen .fakten-zeile { margin: clamp(28px, 3.4vw, 44px) auto; }
@media (max-width: 860px) {
  .enthalten-reihe { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .schritte-reihe { grid-template-columns: minmax(0, 1fr); }
  .schritte-reihe li { flex-direction: row; align-items: center; padding: 18px 20px; }
}
/* Tablet: zwei bzw. drei Spalten, die letzte Karte füllt ihre Reihe quer – keine einsame Karte */
@media (min-width: 561px) and (max-width: 1111px) {
  .art-karte { flex: 0 1 calc(50% - 12px); max-width: calc(50% - 12px); }
  .art-karte:last-child:nth-child(odd) { flex-basis: 100%; max-width: none; flex-direction: row; }
  .art-karte:last-child:nth-child(odd) .art-bild { flex: 0 0 40%; aspect-ratio: auto; }
  .art-karte:last-child:nth-child(odd) .art-inhalt h3 { min-height: 0; }
}
@media (min-width: 900px) and (max-width: 1111px) {
  .art-karte { flex: 0 1 calc(33.333% - 16px); max-width: calc(33.333% - 16px); }
  .art-karte:last-child:nth-child(odd) { flex-basis: calc(50% - 12px); max-width: calc(50% - 12px); flex-direction: column; }
  .art-karte:last-child:nth-child(odd) .art-bild { flex: none; aspect-ratio: 16 / 10; }
  .art-karte:last-child:nth-child(3n+1) { flex-basis: 100%; max-width: none; flex-direction: row; }
  .art-karte:last-child:nth-child(3n+1) .art-bild { flex: 0 0 34%; aspect-ratio: auto; }
}
@media (max-width: 560px) {
  /* Handy (154): Bild in voller Kartenbreite als Kopf der Karte, Schlüssel klar erkennbar */
  .art-karten { gap: 16px; }
  .art-karte { flex-basis: 100%; max-width: 420px; }
  .art-bild { aspect-ratio: 16 / 10; }
  .art-inhalt { padding: 20px 20px 22px; gap: 8px; }
  .art-inhalt h3 { min-height: 0; }
  .art-preis { min-height: 2.4rem; }
  .art-punkte { margin: 10px 0 12px; }
  .marken-preise { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* 21.8 Landingpage „Schlüsseldienst <Ort>“: zwei ehrliche Spalten – was wir nicht tun, was wir tun */
.sd-ehrlich .einleitung { max-width: 40em; }
.sd-spalten { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.sd-spalte { padding: clamp(24px, 3vw, 38px); border-radius: var(--radius-karte); background: #fff; box-shadow: var(--schatten-weich); }
.sd-spalte .haken-liste { margin: 0 0 1.4rem; }
.sd-nicht { background: #f3f3f8; box-shadow: none; }
.kreuz-liste svg { fill: #7a808c; }
.sd-nicht .haken-liste span { color: #4a4f59; }
.sd-hinweis { margin: 0; padding-top: 1.1rem; border-top: 1px solid var(--line); color: #3d424c; font-size: var(--lese); line-height: 1.6; }
.sd-wir { position: relative; overflow: hidden; }
.sd-wir::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--orange-verlauf); }
.sd-wir .actions { margin-top: 0; }
.sd-leistungen .titel-verlauf { margin-bottom: clamp(28px, 3.4vw, 48px); }
.sd-preise { margin-top: clamp(36px, 4.4vw, 60px); }
.sd-preise .einleitung { margin: 0 auto 1.2rem; }
.sd-faq .titel-verlauf { margin-bottom: clamp(24px, 3vw, 40px); }
@media (max-width: 760px) { .sd-spalten { grid-template-columns: minmax(0, 1fr); } }

/* Gelöschte Frage (Antworten bleiben stehen) und Seite „Frage löschen“ aus der Bestätigungs-E-Mail */
.kommentar-geloescht { background: transparent; box-shadow: none; border: 1px dashed #c7cad3; }
.kommentar-geloescht .kommentar-text { color: var(--muted); font-style: italic; }
.selbst-karte { max-width: var(--text-breit); margin: 0 auto; padding: clamp(22px, 3vw, 36px); border-radius: var(--radius-karte); background: #fff; box-shadow: var(--schatten-weich); }
.selbst-karte blockquote { margin: 0 0 1.4rem; padding: 14px 18px; border-left: 4px solid var(--orange); border-radius: 6px 14px 14px 6px; background: #fff6f0; font-size: var(--lese); line-height: 1.6; overflow-wrap: anywhere; }
.selbst-karte .actions { margin-top: 1.2rem; }
.selbst-karte .actions form { display: contents; }
.btn-warnung { background: var(--err); color: #fff; border-color: var(--err); }
@media (max-width: 560px) { .selbst-karte .actions .btn { width: 100%; } }

/* Suche im Kommentarbereich (Dennis, 03.10.2026 23:50): Suchfeld, „Nur beantwortete“, Themen-Chips, Treffer hervorgehoben */
.kommentare { --k-flaeche: var(--bg); }
.kommentare.section-alt { --k-flaeche: var(--grau); }
.k-suchleiste { margin: clamp(26px, 3.2vw, 40px) 0 0; }
.k-suchfeld { position: relative; display: block; }
.k-suchfeld svg { position: absolute; left: 18px; top: 50%; width: 22px; height: 22px; transform: translateY(-50%); fill: var(--muted); pointer-events: none; }
.k-suchfeld input { width: 100%; min-height: 54px; padding: 12px 20px 12px 52px; border: 1px solid #c7cad3; border-radius: 999px; background: #fff; box-shadow: var(--schatten-weich);
  font: inherit; font-size: 1.0625rem; font-weight: 400; color: var(--ink); -webkit-appearance: none; appearance: none; }
.k-suchfeld input:focus { outline: 3px solid rgba(255, 104, 27, .35); outline-offset: 0; border-color: var(--orange); }
.k-filterzeile { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin: 14px 0 0; }
/* Die Trefferfläche reicht 12 px links über das Kästchen hinaus (sonst nur 42 px breit), optisch bleibt es bündig */
.k-filter { display: inline-flex; align-items: center; gap: 10px; min-height: var(--tap); margin-left: -12px; padding: 0 6px 0 12px; font-weight: var(--w-6); cursor: pointer; }
.k-filter input { width: 22px; height: 22px; margin: 0; accent-color: var(--orange); }
.k-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.k-chip { font: inherit; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; min-height: var(--tap); padding: 6px 16px; border: 1px solid #c7cad3; border-radius: 999px; background: #fff; color: var(--ink);
  font-weight: var(--w-6); text-decoration: none; transition: border-color .2s ease, background .2s ease, color .2s ease; }
.k-chip span { color: var(--muted); font-weight: 400; font-size: .9rem; }
.k-chip.aktiv { background: var(--ink); border-color: var(--ink); color: #fff; }
.k-chip.aktiv span { color: #cfd2d8; }
@media (hover: hover) { .k-chip:hover { border-color: var(--orange); } }
.k-treffer { margin: 16px 0 0; font-weight: var(--w-6); }
.k-treffer a { font-weight: 400; color: var(--ink); text-underline-offset: 3px; }
.k-treffer + .k-leer, .k-treffer + .kommentar-liste, .k-filterzeile + .k-treffer[hidden] + .k-leer[hidden] + .kommentar-liste { margin-top: 18px; }
.k-leer { margin: 18px 0 0; padding: 18px 22px; border-radius: var(--radius-karte); background: #fff; box-shadow: var(--schatten-weich); }
/* Ohne Innenabstand: sonst steht der Treffer mitten im Wort mit Lücke da („Preis e“) */
.kommentar-text mark { padding: 0; border-radius: 2px; background: #ffe0cc; color: inherit; }
.kommentar-liste[aria-busy="true"] { opacity: .55; transition: opacity .15s ease; }
/* Handy und Tablet hoch: Das Suchfeld bleibt beim Durchgehen der Liste unter der Kopfzeile stehen */
@media (max-width: 860px) {
  /* Schließt bündig an die Kopfzeile (76 px) an und deckt mit der Farbe des Abschnitts ab – sonst scheint der Text darüber durch */
  .k-suchleiste { position: sticky; top: calc(76px + env(safe-area-inset-top, 0px)); z-index: 6; margin-left: -8px; margin-right: -8px; padding: 8px 8px 10px; background: var(--k-flaeche); }
  .k-suchleiste + .k-filterzeile { margin-top: 4px; }
}
/* Sprung zur Meldung nach dem Absenden: nicht unter der haftenden Kopfzeile landen (zusätzlich zu scroll-padding-top) */
#formular-meldung { scroll-margin-top: 32px; }

/* Auftrag 24.4: schwebende Schlüssel im Kopf der Angebote-Seite. Liegen hinter dem Text (z-index 0, Text 1), rechts davon;
   hintere kleiner und weich. Bewegung nur über transform (main.js), daher kein Layout-Shift. */
.schwebe { position: absolute; inset: 0 0 0 46%; z-index: 0; pointer-events: none; overflow: hidden; }
/* 24b.4: Wolke in der rechten Hälfte des Inhaltsrahmens (Container 1200 px), nicht am Rand des Fensters */
@media (min-width: 1281px) { .schwebe { left: 50%; right: calc(50% - 600px); } }
.schwebe .sw { position: absolute; left: var(--x); top: var(--y); width: var(--b); height: auto; max-width: none;
  transform: translate3d(-50%, var(--sy, 0px), 0) rotate(calc(var(--r) + var(--sr, 0deg))); will-change: transform;
  filter: drop-shadow(0 18px 22px rgba(0,0,0,.4)); }
/* 24c.2: hintere Schlüssel deckend – Tiefe über Größe, Unschärfe und brightness(), nie über opacity (Muster schien durch) */
/* 48.1: Tiefe über die Ebenenreihenfolge (z-index aus data-tiefe, kleine Schlüssel hinter großen) und Unschärfe nach Tiefe (--u: 0 bis 2,6 px);
   große Schlüssel vorn scharf mit kurzer Schattenkante. Bewusst weiter ohne opacity (24c.2). */
.schwebe .sw { filter: blur(var(--u, 0px)) drop-shadow(0 6px 8px rgba(0,0,0,.45)) drop-shadow(0 18px 22px rgba(0,0,0,.3)); }
.schwebe .sw-hinten { filter: blur(var(--u, 1.6px)) brightness(.78) drop-shadow(0 8px 12px rgba(0,0,0,.35)); }
@media (min-width: 861px) { .seiten-hero.mit-schwebe .seiten-hero-text { max-width: 54%; } }
@media (max-width: 860px) {
  .seiten-hero.mit-schwebe { flex-direction: column; align-items: stretch; }
  .seiten-hero.mit-schwebe .schwebe { position: relative; inset: auto; order: 2; height: 150px; margin-top: 8px; }
  .schwebe .sw-breit { display: none; }
  .schwebe .sw { --b: 120px !important; }
  .schwebe .sw:nth-child(1) { left: 22%; top: 8%; } .schwebe .sw:nth-child(2) { left: 52%; top: 18%; } .schwebe .sw:nth-child(3) { left: 80%; top: 6%; }
}

/* Auftrag 24.3: Startseite „Wie kommen Sie zu Ihrem neuen Schlüssel?“ mit Werkstattfoto daneben */
.intro-foto { margin: 0; }
.intro-foto img { display: block; width: 100%; height: auto; border-radius: 22px; box-shadow: 0 24px 60px rgba(0,0,0,.14); }
@media (min-width: 901px) {
  .intro-ablauf { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr); gap: 56px; align-items: center; max-width: 1100px; margin: 0 auto; }
  .intro-ablauf .intro-text { margin: 0; }
}
@media (max-width: 900px) { .intro-foto { max-width: 560px; margin: 28px auto 0; } }

/* Nachtrag 24.2 (Dennis 12:55): Bei nur einem Bild sind die Pfeile ausgeblendet – das Raster setzte die Figur dann in die
   erste Spalte („klebt links“, Motorradmarken haben je ein Bild). Figur steht fest in der Mitte. Lange Namen trennen sauber. */
.lb-figur { grid-column: 2; }
.lb-name { -webkit-hyphens: auto; hyphens: auto; overflow-wrap: break-word; }
.lightbox-bild[src*="/marken-frei/"] { box-shadow: none; filter: drop-shadow(0 24px 30px rgba(0,0,0,.45)); }
.lightbox-bild:not([src*="-1600."]) { max-width: min(100%, 800px); }   /* 24b.2: nie größer als die Datei (800er ohne PSD-Fassung) */
@media (max-width: 760px) { .lb-figur { grid-column: 1; } }

/* ════════ Auftrag 28 (06.10.2026): Mobil mehr Platz für den Inhalt, Zeichen in runden Knöpfen mittig ════════
   28.1/28.2: Kopf 76 → 56 px, Logo 56 → 44 px, Anruf-Leiste 72 → 56 px (Knöpfe 44 px = Tap-Ziel, Safe-Area bleibt).
   Kopf + Leiste gescrollt bei 390 × 844: 148 px (17,5 %) → 112 px (13,3 %). Desktop unverändert (nur ≤ 960 px).
   „.site-header .mobile-calls“ – eine Stufe mehr als design-schalter.css, das nach main.css lädt. */
@media (max-width: 960px) {
  .navbar-inner { min-height: 56px; }
  .site-header .brand img { height: 44px; }
  /* Auftrag 127: keine feste Anruf-Leiste mehr; kleiner Anrufen-Knopf im Kopf (.kopf-anruf), Seitenende frei */
  .kopf-anruf { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; border-radius: 12px; border: 2px solid var(--orange); color: var(--orange); font-size: 15px; font-weight: var(--w-6); text-decoration: none; }
  .kopf-anruf svg { width: 16px; height: 16px; fill: currentColor; }
  .kopf-anruf { white-space: nowrap; }
  body { padding-bottom: 0; }
  :root { --kopf-h: 56px; }
  html { scroll-padding-top: calc(72px + env(safe-area-inset-top, 0px)); scroll-padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }   /* 198: Kopf 56 px + 16 px */
  .main-nav { padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px)); }
  .footer-unten { padding-bottom: calc(18px + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 860px) { .k-suchleiste { top: calc(56px + env(safe-area-inset-top, 0px)); } }

/* 28.3: Das „ד war ein Schriftzeichen – seine Tinte liegt nicht in der Mitte der Zeilenbox (Schriftmetrik: Ober-/Unterlänge),
   gemessen 0,9 px zu hoch (Menü), 1 px (Rückruf); die Pfeile „‹ ›“ 3,6–4,4 px zu tief. Je nach Schrift (iPhone) mehr.
   Jetzt zwei Striche bzw. ein Winkel, absolut auf die Knopfmitte gesetzt. Prüfung: werkzeug/pruefe-icons.py (±0,5 px). */
.nav-zu, .modal-zu, .lightbox button.lb-zu, .lightbox button.lb-pfeil { position: relative; font-size: 0 !important; }
.lightbox button.lb-pfeil { position: relative; }
@media (min-width: 761px) { .lightbox button.lb-pfeil { top: auto; left: auto; right: auto; margin-top: 0; } }   /* 206: alte Versätze (14 px) schoben den Pfeil in die Beschriftung */
.lightbox button.lb-zu { top: auto; right: auto; }   /* relativ statt statisch – sonst verschieben die alten Werte (14 px) das Kreuz */   /* relativ statt statisch – die alten Versatzwerte dürfen nicht greifen */
.nav-zu::before, .nav-zu::after, .modal-zu::before, .modal-zu::after, .lightbox button.lb-zu::before, .lightbox button.lb-zu::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 20px; height: 2px; margin: -1px 0 0 -10px; border-radius: 1px; background: currentColor; transform: rotate(45deg); }
.nav-zu::after, .modal-zu::after, .lightbox button.lb-zu::after { transform: rotate(-45deg); }
.modal-zu::before, .modal-zu::after { width: 18px; margin-left: -9px; }
/* Winkel: Quadrat mit zwei Rändern, um 45° gedreht – die Tinte liegt dann zur Spitze hin; translateX gleicht das aus (√2·s/4) */
.lightbox button.lb-pfeil::before { content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 16px; margin: -8px 0 0 -8px;
  border: solid currentColor; border-width: 0 0 3px 3px; transform: translateX(var(--pfeil-x, 0)) rotate(45deg); }
.lightbox button.lb-zurueck { --pfeil-x: 4.6px; }
.lightbox button.lb-weiter::before { transform: translateX(-4.6px) rotate(-135deg); }
/* FAQ: „+“ ebenfalls aus zwei Strichen (gleiches Quadrat, dreht beim Öffnen wie bisher um 45°) */
.faq summary::after { content: ""; background: linear-gradient(currentColor, currentColor) center / 14px 2px no-repeat, linear-gradient(currentColor, currentColor) center / 2px 14px no-repeat; }
.marke-modelle-satz { max-width: 60ch; margin: 0 auto; color: var(--muted); }
.modell-kacheln .kein-umbruch { white-space: nowrap; }   /* 28.4: „V-Klasse“ bricht nicht am Bindestrich */
/* 28.5: „So entsteht Ihr neuer Schlüssel“ – vier Schritte, dezent nummeriert; darunter die klare Zeile, was im Preis enthalten ist */
.enthalten-reihe { counter-reset: schritt; }
.enthalten-reihe li { counter-increment: schritt; }
.enthalten-reihe .kachel-icon { position: relative; }
.enthalten-reihe .kachel-icon::after { content: counter(schritt); position: absolute; top: -4px; right: -6px; display: grid; place-items: center; width: 24px; height: 24px;
  border-radius: 50%; background: #fff; color: var(--ink); font-size: 14px; font-weight: var(--w-7); line-height: 1; box-shadow: 0 2px 8px rgba(0,0,0,.18); }
.angebot-enthalten .enthalten-zusatz { max-width: 52ch; font-size: 1.05rem; line-height: 1.55; color: var(--ink); }

/* Auftrag 34.1: Vertrauenszeile – Google-Siegel (nur mit Werten aus den Stammdaten) und Presse-Hinweis, ohne Fremd-Logo */
.vertrauen-zeile { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 28px; margin: -1.4rem auto 2.4rem; }
.kontakt-siegel { margin: 1rem 0 0; justify-content: flex-start; align-items: flex-start; }
.bewertung-siegel { display: inline-flex; align-items: center; gap: 10px; min-height: var(--tap); color: var(--ink); text-decoration: none; font-size: .95rem; }
.bewertung-siegel strong { font-weight: var(--w-6); }
a.bewertung-siegel:focus-visible .siegel-text { text-decoration: underline; text-underline-offset: 3px; }
@media (hover: hover) { a.bewertung-siegel:hover .siegel-text { text-decoration: underline; text-underline-offset: 3px; } a.presse-zeile:hover { color: var(--orange); } }
.siegel-sterne { --stern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 20'%3E%3Cg%3E%3Cpath id='s' d='M10 1.2l2.6 5.6 6.1.7-4.5 4.2 1.2 6L10 14.7 4.6 17.7l1.2-6L1.3 7.5l6.1-.7z'/%3E%3Cuse href='%23s' x='20'/%3E%3Cuse href='%23s' x='40'/%3E%3Cuse href='%23s' x='60'/%3E%3Cuse href='%23s' x='80'/%3E%3C/g%3E%3C/svg%3E");
  display: inline-block; width: 100px; height: 20px; flex: 0 0 auto;
  background: linear-gradient(90deg, var(--orange) var(--wert), #cfd0da var(--wert));
  -webkit-mask: var(--stern) center / 100% 100% no-repeat; mask: var(--stern) center / 100% 100% no-repeat; }
.siegel-text { display: block; }
.siegel-stand { color: var(--muted); font-size: .875rem; margin-left: 8px; white-space: nowrap; }
.presse-zeile { display: inline-flex; align-items: center; gap: 6px; min-height: var(--tap); margin: 0; color: var(--ink); font-size: .95rem; font-weight: 500; letter-spacing: .02em; text-decoration: none; }
a.presse-zeile:focus-visible { color: var(--orange); }
.presse-zeile svg { width: 14px; height: 14px; fill: currentColor; transform: rotate(-90deg); }
@media (max-width: 600px) {
  .vertrauen-zeile { flex-direction: column; gap: 4px; margin-top: -1.8rem; }
  .bewertung-siegel { flex-direction: column; gap: 4px; text-align: center; }
  .vertrauen-zeile.kontakt-siegel { margin: .6rem 0 1.6rem; align-items: flex-start; }
  .kontakt-siegel .bewertung-siegel { align-items: flex-start; text-align: left; }
  .siegel-stand { display: block; margin: 2px 0 0; }
}

/* ── Rückruf-Fenster „Eine Seite“ (Auftrag 39, Entwurf B). Baustein: Bottom-Sheet bis 640 px, Fenster darüber; Antwort-Chips 48 px.
   Dokumentiert in _docs/ui-bausteine.md. Baut auf .modal, .field, .btn auf; Chip-Farben wie .auswahl label. ── */
.modal-box.rr-box { max-width: 560px; max-height: min(92dvh, 760px); padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.modal-box.rr-box .modal-zu { position: absolute; top: 8px; right: 8px; z-index: 2; }
.rr-inhalt, .rr-form { display: contents; }
.rr-form[hidden], .rr-danke[hidden] { display: none !important; }
.rr-griff { display: none; width: 44px; height: 5px; border-radius: 3px; background: #c4c6d0; margin: 10px auto 0; flex: none; }
.rr-kopf { padding: 22px 24px 0; flex: none; }
.rr-kopf h2 { margin: 0 0 .15em; font-size: 1.5rem; font-weight: 400; line-height: 1.2; padding-right: 40px; }
.rr-zeiten { margin: 0 0 .9rem; font-size: .9rem; color: var(--muted); }
.rr-stand { display: flex; justify-content: space-between; font-size: .875rem; color: var(--muted); margin: 4px 0 6px; }
.rr-balken { margin-bottom: 4px; }
.rr-mitte { padding: 14px 24px 8px; overflow-y: auto; flex: 1 1 auto; overscroll-behavior: contain; }
.rr-fuss { flex: none; padding: 12px 24px calc(14px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); background: #fff; }
.rr-fuss .btn, .rr-danke .btn { width: 100%; min-height: 52px; }
/* Auftrag 41: Knopftext auf Orange einheitlich weiß (--btn-text), keine eigene Farbe im Rückruf-Fenster. */
.rr-frage { font-size: 1.15rem; font-weight: 400; margin: 1.4rem 0 .7rem; }
.rr-frage small { display: block; font-size: .88rem; color: var(--muted); font-weight: 400; margin-top: 2px; }
.rr-gruppe { border: 0; padding: 0; margin: 0 0 1.25rem; min-width: 0; }
.rr-gruppe legend { font-weight: 500; padding: 0; margin-bottom: .5rem; }
.rr-gruppe legend small { font-weight: 400; color: var(--muted); font-size: .875rem; margin-left: 6px; }
.rr-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.rr-chip { position: relative; display: inline-flex; align-items: center; min-height: 48px; padding: 8px 16px; border: 1px solid #c4c6d0; border-radius: 999px; background: #fff; cursor: pointer; }
.rr-chip input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.rr-chip:has(input:checked) { border-color: var(--orange); background: #fff3ec; }
.rr-chip:has(input:checked)::before { content: ""; width: 14px; height: 14px; margin-right: 8px; flex: none; background: no-repeat center/contain url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FF681B' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'><path d='M4 12l5 5 11-11'/></svg>"); }
.rr-chip:has(input:focus-visible) { outline: 3px solid rgba(255,104,27,.45); outline-offset: 2px; }
.rr-box .field { margin-bottom: 1rem; }
.rr-box .field input[type=text], .rr-box .field input[type=tel] { font-size: 16px; }
.rr-recht { font-size: .875rem; color: var(--muted); margin: .5rem 0; }
.rr-recht a { color: inherit; text-decoration: underline; }
.rr-danke { padding: 26px 24px 24px; text-align: center; overflow-y: auto; }
.rr-danke svg.haken { width: 64px; height: 64px; stroke: var(--orange); fill: none; stroke-width: 3; }
.rr-danke svg.haken circle { stroke-dasharray: 151; stroke-dashoffset: 151; animation: zeichnen .6s ease-out forwards; }
.rr-danke svg.haken path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: zeichnen .4s ease-out .5s forwards; }
.rr-danke h2 { font-weight: 400; font-size: 1.5rem; margin: .4em 0 .3em; }
.rr-danke p { margin: 0 0 .8rem; }
.rr-fasst { text-align: left; background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 12px 16px; margin: 1rem 0; font-size: .95rem; }
.rr-fasst dt { color: var(--muted); font-size: .875rem; margin-top: 6px; }
.rr-fasst dt:first-child { margin-top: 0; }
.rr-fasst dd { margin: 0; }
@media (prefers-reduced-motion: reduce) { .rr-danke svg.haken circle, .rr-danke svg.haken path { animation: none; stroke-dashoffset: 0; } }
@media (max-width: 640px) {
  .modal:has(.rr-box) { align-items: flex-end; padding: 0; padding-top: calc(env(safe-area-inset-top, 0px) + 24px); }
  .modal-box.rr-box { max-width: none; border-radius: 20px 20px 0 0; max-height: 94dvh; transform: translateY(40px); }
  .modal.offen .modal-box.rr-box { transform: none; }
  .rr-griff { display: block; }
  .rr-kopf { padding: 12px 18px 0; }
  .rr-mitte { padding: 12px 18px 8px; }
  .rr-fuss { padding-left: 18px; padding-right: 18px; }
  .rr-danke { padding: 20px 18px calc(18px + env(safe-area-inset-bottom, 0px)); }
  .modal-box.rr-box:not(.rr-fertig) { min-height: min(78dvh, 640px); }
}
/* Auftrag 44.1: Handy quer (niedriges Fenster, z. B. 844 x 390): Kopf und Fuß schrumpfen, damit die Felder Platz haben (vorher 152 px) */
@media (max-height: 500px) and (orientation: landscape) {
  .modal:has(.rr-box) { padding-top: calc(env(safe-area-inset-top, 0px) + 6px); padding-bottom: 6px; }
  .modal-box.rr-box { max-height: calc(100dvh - 12px); }
  .rr-kopf { padding: 8px 18px 0; }
  .rr-kopf h2 { font-size: 1.15rem; margin: 0; }
  .rr-zeiten { margin: 0 0 .25rem; font-size: .875rem; }
  .rr-stand { margin: 0 0 2px; }
  .rr-mitte { padding: 8px 18px 4px; }
  .rr-box .field { margin-bottom: .6rem; }
  .rr-fuss { padding-top: 8px; padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px)); }
  .rr-fuss .btn, .rr-danke .btn { min-height: 44px; }
}

/* Auftrag 53.B: Menü 961–1279 px. Der mitlaufende Rückruf-Knopf (49.1, in 54 ersatzlos entfernt) war unsichtbar, nahm aber 118 px in der rechten Hälfte, die Spalten wurden
   ungleich und das Logo rückte bis zu 89 px aus der Mitte. Seit Auftrag 54 gibt es den Knopf nicht mehr (die Topbar trägt den einen Rückruf-Knopf), die Spalten sind gleich breit;
   ab 1280 px passt alles, die Mitte stimmt auf 3 px. Messung: werkzeug/pruefe-menue.py (Logo-Mitte). */
@media (min-width: 961px) and (max-width: 1279px) {
  .navbar-inner { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
}


/* ════════ Auftrag 54: Schlüssel-Schatten (ein Baustein für alle freigestellten Schlüsselbilder) ════════
   Gilt für Bilder mit transparentem Grund: Seiten-Hero (frei), Angebotskarten-Bild, Ratgeber-/Leistungs-Bild frei, Schwebe-Schlüssel, Lightbox, News-Platzhalter.
   Werte: variables.css (--ks-schatten dunkel, --ks-schatten-hell hell). Neue Stellen: Selektor hier eintragen, kein eigener drop-shadow. */
.seiten-hero-bild.art-schluessel.frei img,
.art-bild-frei img,
.angebot-bild,
.news-bild.news-bild-muster img,
.lightbox-bild[src*="/marken-frei/"],
.hero-schl { filter: var(--ks-schatten); }
.lese-bild-frei img { filter: var(--ks-schatten-hell); }
.schwebe .sw { filter: blur(var(--u, 0px)) var(--ks-schatten); }
.schwebe .sw-hinten { filter: blur(var(--u, 1.6px)) brightness(.78) var(--ks-schatten); }
.angebot:focus-visible .angebot-bild { filter: var(--ks-schatten); }
@media (hover: hover) { .angebot:hover .angebot-bild { filter: var(--ks-schatten); } }

/* ════════ Auftrag 54.P5: Ebenen im Startseiten-Kopf (Muster + drei freigestellte Schlüssel, folgen der Maus, nur Desktop mit Maus) ════════
   Reihenfolge von hinten: Foto, Schleier, Muster, Schlüssel, Text. Bewegt wird nur `translate` (motion.js), Drehung über `rotate`, damit sich beides nicht beißt. */
.hero-ebenen { display: none; }
@media (hover: hover) and (pointer: fine) and (min-width: 961px) and (prefers-reduced-motion: no-preference) {
  .hero-ebenen { display: block; position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
  /* Das Foto zeigt rechts selbst viele Schlüssel: ein Dämpfer legt sie nach hinten, damit die einzelnen Schlüssel davor lesbar bleiben */
  .hero-ebenen::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 55% 70% at 78% 40%, rgba(24,27,33,.5), rgba(24,27,33,0) 75%); }
  .hero-muster { position: absolute; inset: -40px -24px; opacity: .16; background: url("../images/muster-ziegel-hell.webp") 0 0 / 153px 192px;
    -webkit-mask-image: linear-gradient(90deg, transparent 40%, #000 85%); mask-image: linear-gradient(90deg, transparent 40%, #000 85%); }
  .hero-schl { position: absolute; height: auto; }
  .hero-schl-1 { width: clamp(190px, 20vw, 300px); right: 7%; top: 6%; rotate: -12deg; }
  .hero-schl-2 { width: clamp(150px, 15vw, 230px); right: 27%; top: 50%; rotate: 9deg; opacity: .88; }
  .hero-schl-3 { width: clamp(100px, 10vw, 160px); right: 1%; top: 52%; rotate: -26deg; opacity: .6; filter: blur(1.6px) var(--ks-schatten); }
}
}

/* ════════ Auftrag 57: Startseiten-Kopf mit Schlüssel-Raster (sc-feld, css/feld.css) wie das Foto: dunkle, glänzende Fläche, Licht oben links, Raster bis über die Ränder.
   Der Schleier macht nur den Textbereich links ruhig (Raster läuft gedämpft dahinter durch, nicht ausgespart). Handy: dasselbe Raster kleiner und gedämpft hinter dem Text (Auftrag 56 „Streifen“ ersetzt). */
.hero-mit-feld { background: radial-gradient(ellipse 85% 70% at 28% 8%, #2b2e36 0%, #1b1d23 55%, #121317 100%); }
.hero-mit-feld::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(118deg, rgba(255,255,255,.045) 0%, rgba(255,255,255,0) 38%, rgba(255,255,255,.02) 70%, rgba(255,255,255,0) 100%); }
.hero-mit-feld.hero-b .hero-schleier { background:
  linear-gradient(0deg, var(--ink-2) 0, rgba(56,61,70,.7) 10%, rgba(56,61,70,0) 30%),
  linear-gradient(90deg, rgba(18,19,23,.84) 0%, rgba(18,19,23,.7) 34%, rgba(18,19,23,.26) 56%, rgba(18,19,23,0) 76%); }
/* Auftrag 125: Kopf der Startseite ruhiger (Richtwert: die dunkle, gedämpfte Schlüsselfläche der alten Live-Seite): Schlüssel am Desktop gedämpft, Text bekommt mehr dunklen Grund */
@media (min-width: 961px) {
  .hero-mit-feld .feld { opacity: 1; }      /* Auftrag 146: echte Farben, keine Deckkraft-Dämpfung; der Schleier links macht den Text ruhig */
  .hero-mit-feld.hero-b .hero-schleier { background:
    linear-gradient(0deg, var(--ink-2) 0, rgba(56,61,70,.7) 10%, rgba(56,61,70,0) 30%),
    linear-gradient(90deg, rgba(18,19,23,.9) 0%, rgba(18,19,23,.8) 38%, rgba(18,19,23,.4) 58%, rgba(18,19,23,.08) 78%); }
}
@media (max-width: 960px) {
  .hero-mit-feld .feld { opacity: .95; }
  .hero-mit-feld.hero-b .hero-schleier { background:
    linear-gradient(0deg, var(--ink-2) 0, rgba(56,61,70,.55) 10%, rgba(56,61,70,0) 28%),
    linear-gradient(180deg, rgba(18,19,23,.1) 0%, rgba(18,19,23,.4) 6%, rgba(18,19,23,.97) 15%, rgba(18,19,23,.97) 38%, rgba(18,19,23,.7) 46%, rgba(18,19,23,.7) 89%, rgba(18,19,23,.4) 100%); }   /* Auftrag 58: Raster hinter dem Text wie beim Foto sichtbar, unten bis zu den Zahlen gleich kräftig */
}

/* 63.1: alleinstehende Textlinks am Handy mit 44 px Trefferfläche, Schrift und Abstände unverändert */
.kontakt-lead a[href^="tel:"], .hint a[href^="/datenschutz"] { position: relative; }
.kontakt-lead a[href^="tel:"]::after, .hint a[href^="/datenschutz"]::after { content: ""; position: absolute; inset: -12px -4px; }

/* 63.3: Die Meldung bekommt per Skript den Fokus (Anker #formular-meldung). Kein oranger Rahmen um den leeren Wrapper, der Fokus zeigt sich als feiner Ring in der Farbe der Meldung. */
#formular-meldung:focus, #kommentar-meldung:focus { outline: none; }
#formular-meldung:focus-visible .notice, #kommentar-meldung:focus-visible .notice { outline: 2px solid currentColor; outline-offset: 2px; }

/* 63: Im Fuß sind Telefon und E-Mail eigene 44-px-Zeilen; die Zusatzfläche des Telefonlinks überdeckte oben die E-Mail-Zeile */
.site-footer .footer-liste a[href^="tel:"]::after { inset: 0 -4px; }

/* Auftrag 88.4: Startseiten-Kopf am Handy wieder mit dem Schlüssel-Raster wie am Desktop (feld-start.json "mobil": Fenster aus dem Desktop-Raster, werkzeug/feld-handy-88.py),
   aber ruhig: Raster gedämpft über die ganze Kopfhöhe, der Text liegt auf einem weichen, dunklen Verlauf (Ellipse, läuft ohne Kante aus), unten geht der Kopf glatt in den Grund des Zahlenbands über.
   --kz = Höhe der freien Schlüsselzone über dem Text. Vorschlag A/B und Vergleich mit der Live-Seite: _verify/88/handy-hero-vorschlag.png (B gewählt). */
@media (max-width: 960px) {
  .hero-mit-feld { --kz: clamp(190px, 52vw, 260px); }
  .hero-b.hero-mit-feld .hero-schleier { background: radial-gradient(ellipse 125% 54% at 40% 64%, rgba(33,36,43,.97) 0, rgba(33,36,43,.95) 55%, rgba(33,36,43,.7) 78%, rgba(33,36,43,0) 100%),
    linear-gradient(180deg, rgba(49,53,62,0) 0, rgba(49,53,62,0) 60%, var(--ink) 100%); }
  .hero-mit-feld .hero-inhalt { align-items: flex-start; padding-top: calc(var(--kz) * .95); }
  .hero-mit-feld .feld { opacity: .8; }   /* Auftrag 146: Schlüssel in Farbe, nur leicht gedämpft */
  .hero-mit-feld .hero-eyebrow { color: #ff8548; }   /* 87: Orange 18 % aufgehellt, damit die kleine Dachzeile auf dem helleren Grund AA (4,5:1) erreicht; Telefon und Knöpfe bleiben #FF681B */
}
/* Auftrag 87: Tablet (600 bis 960 px): Schlüsselfläche gedeckelt (Schlüssel etwa so groß wie bei 430 px, die zwei Randschlüssel stehen neben der Mitte), Kopf so hoch wie sein Inhalt, kein Leerraum unter dem Text */
@media (min-width: 600px) and (max-width: 960px) {
  .hero-mit-feld { --kz: 200px; min-height: 0; }
  .hero-mit-feld .feld-oben .feld-flaeche, .hero-mit-feld.hero .feld-oben .feld-flaeche { width: min(100%, 500px); }
  .hero-mit-feld .hero-inhalt { padding-bottom: 36px; }
}
/* Dachzeile bricht am Punkt um, nicht mitten im Ort (Inhalt unverändert, nur der Umbruch) */
@media (max-width: 560px) {
  .hero-eyebrow .eb-teil { display: block; }
  .hero-eyebrow .eb-punkt { display: none; }
}
/* Auftrag 86: Angebote-Kopf in der Bildsprache der Startseite: gleicher Grund (--ink), kein Logo-Muster, Schlüssel gedämpft wie dort, weich ausgeblendet; Knöpfe am Handy untereinander in voller Breite */
.seiten-hero.mit-schwebe { background: var(--ink); }
.seiten-hero.mit-schwebe .tiefe-hinten { display: none; }
@media (max-width: 480px) {
  .seiten-hero-zusatz .actions .btn { flex: 1 1 100%; }
}

/* ── Auftrag 111/122 (06.11.2026): dezenter, ruhiger, luftiger. Grenzwerte: _docs/pruef-stab.md. Eine Überschreibungsschicht, bewusst am Ende. ── */
/* Preise: klein, Gewicht 600, Anthrazit statt Orange, kein Verlauf */
.art-preis, .sf-preis, .preis-wert, .preis-anfrage { font-size: 1.25rem !important; font-weight: var(--w-6) !important; color: var(--ink) !important; background: none !important; -webkit-text-fill-color: currentColor !important; letter-spacing: 0; min-height: 0; }
.schaufenster .sf-preis { color: #fff !important; }
.preis-anfrage { min-height: 44px; }   /* Auftrag 127: jetzt Link zum Formular, Tippziel 44 px */
.art-preis { padding-right: 0; }
/* Zahlenband: Ziffern kleiner, ruhiger */
.hero-zahlen .zahl-gross { font-size: clamp(2rem, 3.4vw, 2.5rem) !important; font-weight: 500; letter-spacing: 0; }
.hero-zahlen .zahl-begriff { font-weight: 500; }
.hero-zahlen .zahl-satz { color: #b4b9c2; }
.hero-zahlen .zahl-kachel + .zahl-kachel::before { background: rgba(255,255,255,.12); }
.hero-zahlen .icon-linie { width: 32px; height: 32px; }
/* Desktop: mehr Luft zwischen Abschnitten */
@media (min-width: 1024px) {
  main .section, main section:not(.hero):not(.hero-zahlen):not(.leist):not(.seiten-hero):not(.abschnitt):not(.intro-nach-buehne) { padding-top: max(96px, var(--section-y)); padding-bottom: max(96px, var(--section-y)); }
  /* Auftrag 131: Sektion nach der Bühne: oben nur die Stab-Untergrenze (96 px), damit die Überschrift in den Streifen unter der Bühne hereinragt */
  main .section.intro-nach-buehne { padding-top: 96px; padding-bottom: max(96px, var(--section-y)); }
}
@media (max-width: 640px) {
  h1, h1.titel-gross, h1.titel-verlauf { font-size: 1.875rem !important; line-height: 1.2; letter-spacing: 0; }
  h2, h2.titel-gross, h2.titel-verlauf { font-size: 1.5rem !important; line-height: 1.25; letter-spacing: 0; }
  .hero-zahlen .zahl-gross { font-size: 1.75rem !important; min-width: 3.4ch; }
  .container { padding-left: max(20px, var(--gutter)); padding-right: max(20px, var(--gutter)); }
  main .section, main section:not(.hero):not(.hero-zahlen):not(.leist):not(.seiten-hero):not(.abschnitt) { padding-top: 56px; padding-bottom: 56px; }
  main p, main li, main label, main td, main dd { font-size: max(1rem, 1em); }
  .art-preis { font-size: 1.125rem !important; }
}

/* ── Auftrag 129 (06.11.2026): Angebotspreis. Normalpreis klein, grau, durchgestrichen; Angebot daneben; ruhiges Etikett statt Schild. ── */
.preis-alt { color: #5b616b; -webkit-text-fill-color: #5b616b; background: none; font-size: .82em; font-weight: 400; text-decoration: line-through; white-space: nowrap; }
.preis-neu { white-space: nowrap; font-weight: 600; }
.preis-etikett { display: inline-block; margin-left: 2px; padding: 0 8px; border: 1px solid #c4c6d0; border-radius: 999px; font-size: .75rem; font-weight: 500; line-height: 1.6; color: #3b4048; -webkit-text-fill-color: #3b4048; background: none; vertical-align: middle; white-space: nowrap; }
.marke-galerie figcaption .preis-alt, .marke-galerie figcaption .preis-etikett { display: block; width: fit-content; margin-inline: auto; }

/* ── Auftrag 135.1 (06.11.2026): /angebote am Handy, Bild liegt nicht mehr über dem ersten Listenpunkt. Die Überschreibung `.art-preis { padding-right: 0 }` weiter oben hob den Abstand rechts auf. ── */
@media (max-width: 560px) {
  .art-preis { padding-right: 100px; }
  .art-punkte li:first-child { padding-right: 100px; }
}

/* ── Auftrag 135.6 (06.11.2026): Tippflächen mit echter Größe von 44 px, Optik bleibt dezent ── */
@media (hover: none) and (pointer: coarse), (max-width: 760px) {
  /* Social-Icons im Fuß: das Feld ist 44 px groß, das sichtbare Quadrat bleibt 38 px (::before) */
  .social a { width: 44px; height: 44px; background: none; border-radius: 0; }
  .social a::before { content: ""; position: absolute; inset: 3px; border-radius: 8px; background: var(--orange-verlauf); }
  .social a::after { content: none; }
  .social a svg { position: relative; }
  .social { gap: 8px; margin-left: -3px; }
}
/* Datum in der Kundenfrage: Link 44 px hoch, ohne den Kopf der Frage höher zu machen */
.k-datum { display: inline-flex; align-items: center; min-height: 44px; margin-block: -11px; }
.k-datum::after { content: none; }

/* ── Auftrag 137 (08.11.2026): „Preis auf Anfrage“ als ruhige Textzeile statt Knopf, Knöpfe ohne Umbruch ── */
.marke-galerie figcaption { position: relative; }
.marke-galerie figcaption .preis-anfrage { display: block; align-self: stretch; min-height: 0; margin: -13px 0; padding: 13px 0; border: 0; border-radius: 0; background: none; text-align: center; text-decoration: none; color: var(--muted) !important; font-size: 1.25rem !important; font-weight: var(--w-6) !important; line-height: 1.1; white-space: nowrap; }
.marke-galerie figcaption .preis-anfrage::after { content: ""; position: absolute; inset: 0; }   /* ganze Beschriftung führt zur Anfrage, das Bild öffnet weiter die Vergrößerung */
@media (hover: hover) { .marke-galerie figcaption .preis-anfrage:hover { background: none; color: var(--ink) !important; } }
@media (max-width: 560px) { .marke-galerie figcaption .preis-anfrage, .marke-galerie figcaption .betrag { font-size: 1.05rem !important; } }
.marke-box .actions .btn { white-space: nowrap; }

/* ── Auftrag 138 (08.11.2026): Start am Handy dünner. Erster Bildschirm = Schlüsselfeld oben (dicht, gedämpft), darunter Dachzeile, H1, Satz, Knopf, Öffnungszeiten.
   Das Zahlenband steht erst im nächsten Bereich, kleiner und ruhiger. --kz = Höhe des Schlüsselfelds. Variantenvergleich: _verify/138/. ── */
@media (max-width: 760px) {
  .hero-mit-feld { --kz: clamp(170px, calc(100svh - 480px), 360px); min-height: 0; }
  .hero-mit-feld .feld { bottom: auto; height: calc(var(--kz) + 64px); opacity: .95;
    -webkit-mask-image: linear-gradient(180deg, #000 0, #000 58%, transparent 100%); mask-image: linear-gradient(180deg, #000 0, #000 58%, transparent 100%); }
  .hero-mit-feld .feld-oben .feld-flaeche { width: 100%; }
  .hero-b.hero-mit-feld .hero-schleier { background: none; }
  .hero-mit-feld .hero-inhalt { min-height: calc(100svh - var(--kopf-h)); align-items: flex-start; padding-top: calc(var(--kz) + 40px); padding-bottom: 48px; }
  .hero-mit-feld .hero-eyebrow { margin-bottom: .8rem; }
  .hero-mit-feld .unterzeile { margin-top: 1rem; }
  .hero-mit-feld .hero-knoepfe { margin: 1.5rem 0 1.1rem; }
  .hero-mit-feld .hero-zeiten { font-size: .875rem; color: #aab0ba; }
  /* Zahlenband: eigener, ruhiger Bereich unter dem ersten Bildschirm */
  .hero .hero-zahlen { padding: 40px 0 44px; }
  .hero-zahlen .zahl-kachel { padding: 12px 4px; }
  .hero-zahlen .zahl-gross { font-size: 1.75rem !important; font-weight: 500; color: #e9ebef; }
  .hero-zahlen .zahl-plus { color: var(--orange); }
  .hero-zahlen .zahl-begriff { font-size: 1rem; }
}

/* Auftrag 138.4: Angebote-Kopf wirkt nach großer Auswahl. Handy: das dichte Raster (35 Schlüssel, wie Start) läuft über die ganze Kopfhöhe, hinter der Überschrift gedämpft, der Text liegt auf einem ruhigen Verlauf (Kontrast bleibt über 4,5:1).
   Desktop: das Raster des Startkopfs (feld-start.json) füllt die rechte Hälfte und läuft hinter die Überschrift aus. */
@media (max-width: 860px) {
  .seiten-hero.mit-schwebe .feld { opacity: .78; }
  .seiten-hero.mit-schwebe::after { background: linear-gradient(180deg, rgba(27,29,35,.9) 0, rgba(27,29,35,.88) 50%, rgba(27,29,35,.4) 66%, rgba(27,29,35,0) 82%); }
}
@media (min-width: 861px) {
  .seiten-hero.mit-schwebe .feld { inset: 0; opacity: .6; -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,.12) 0, rgba(0,0,0,.2) 38%, #000 62%); mask-image: linear-gradient(90deg, rgba(0,0,0,.12) 0, rgba(0,0,0,.2) 38%, #000 62%); }
}

.build-kennung { position: fixed; left: calc(8px + env(safe-area-inset-left, 0px)); bottom: calc(6px + env(safe-area-inset-bottom, 0px)); z-index: 80; padding: 2px 8px; border-radius: 6px; background: rgba(18,19,23,.85); color: #c9ccd3; font-size: .72rem; line-height: 1.4; pointer-events: none; }   /* Auftrag 145: nur Vorschau, immer im Bild unten links (Nachtrag: in Firefox und Safari sofort sichtbar) */

/* ════════ Auftrag 152 (Dennis, 09.11.2026): Kopf von Start und Angebote = das Schlüsselbild als ruhiger Hintergrund. Keine Animation, kein Schlüsselfeld.
   Bild füllt den Kopf (cover), Ausschnitt über --hf-pos; links dunkler Schleier hinter dem Text (Kontrast >= 4,5:1, gemessen mit werkzeug/pruefe-152.py), rechts bleibt das Bild unverändert. ════════ */
.hero-foto { position: absolute; inset: 0; z-index: -2; overflow: hidden; background: #16181d; }
.hero-foto img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: var(--hf-pos, 72% 38%); }
.hero { --hf-pos: 72% 38%; }
.hero-b .hero-schleier { background:
  linear-gradient(0deg, var(--ink-2) 0, rgba(56,61,70,.85) 14%, rgba(56,61,70,0) 42%),
  linear-gradient(90deg, rgba(22,24,29,.97) 0%, rgba(22,24,29,.95) 44%, rgba(22,24,29,.5) 66%, rgba(22,24,29,.08) 88%, rgba(22,24,29,0) 100%); }
.seiten-hero.mit-foto { position: relative; overflow: hidden; isolation: isolate; background: #16181d; --hf-pos: 72% 40%; }
.seiten-hero.mit-foto .tiefe-hinten { display: none; }
.seiten-hero.mit-foto .hero-schleier { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(0deg, rgba(22,24,29,.85) 0, rgba(22,24,29,0) 26%),
    linear-gradient(90deg, rgba(22,24,29,.97) 0%, rgba(22,24,29,.95) 48%, rgba(22,24,29,.5) 70%, rgba(22,24,29,.1) 90%, rgba(22,24,29,0) 100%); }
@media (max-width: 960px) {   /* Tablet: Bild oben und unten sichtbar, der Text liegt auf der dunklen Mitte */
  .hero { --hf-pos: 62% 30%; }
  .hero-b .hero-schleier { background:
    linear-gradient(0deg, var(--ink-2) 0, rgba(56,61,70,.85) 12%, rgba(56,61,70,0) 34%),
    linear-gradient(180deg, rgba(22,24,29,.5) 0, rgba(22,24,29,.94) 30%, rgba(22,24,29,.95) 62%, rgba(22,24,29,.5) 100%); }
  .seiten-hero.mit-foto { --hf-pos: 62% 30%; }
  .seiten-hero.mit-foto .hero-schleier { background: linear-gradient(180deg, rgba(22,24,29,.5) 0, rgba(22,24,29,.94) 22%, rgba(22,24,29,.95) 70%, rgba(22,24,29,.55) 100%); }
}
@media (max-width: 600px) {   /* Handy: Text beginnt oben, darunter zeigt sich das Bild */
  .hero-b .hero-schleier { background:
    linear-gradient(0deg, var(--ink-2) 0, rgba(56,61,70,.85) 10%, rgba(56,61,70,0) 30%),
    linear-gradient(180deg, rgba(22,24,29,.93) 0, rgba(22,24,29,.95) 54%, rgba(22,24,29,.5) 84%, rgba(22,24,29,.4) 100%); }
  .seiten-hero.mit-foto .hero-schleier { background: linear-gradient(180deg, rgba(22,24,29,.94) 0, rgba(22,24,29,.95) 78%, rgba(22,24,29,.6) 100%); }
}

/* ════════ Auftrag 158 (Dennis, 18.11.2026): Kopf von Start und Angebote als Schlüsselfeld aus einzeln freigestellten Schlüsseln (Admin → Einstellungen → Kopfbild-Art „Schlüsselfeld“; „Foto“ = Stand 152 oben).
   Keine Bewegung beim Laden. Beim Scrollen leichte Parallaxe: das Feld läuft höchstens 24 px langsamer mit (nur translate/transform), der Text wie bisher.
   Lesbarkeit: kein flächiger Schleier, die Schlüssel links nur zurückgenommen (--hf-dimm), direkt hinter dem Text ein weicher Verlauf (Kontrast gemessen mit werkzeug/pruefe-158.py). ════════ */
.hero-feld { inset: -24px 0 0; transform: translate3d(0, min(var(--py, 0px), 24px), 0); will-change: transform; }
.hero-feld picture { display: block; width: 100%; height: 100%; }
/* ════════ Auftrag 197 (Dennis, 21.11.2026): Feld = nahtlose Kachel in Graustufen im geraden Raster (werkzeug/hero-feld-197.py), als wiederholter Hintergrund: auf sehr breiten und hohen Schirmen läuft das Raster weiter, nichts wird aufgeblasen.
   Kachel in CSS-Pixeln (Quer 1710 x 1005, Hoch 488 x 855), Dichten 1x/2x(/3x) über image-set. Fokus und dunkler Rand kommen als neutrale Überlagerung (::after, keine Farbe). Ohne image-set-Typen gilt die erste Zeile (WebP 1x). ════════ */
.hero-feld { background-color: #424a5c; background-repeat: repeat; background-size: 1710px 1005px; background-position: 62% 0; }
.hero-feld::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 60% 75% at 72% 45%, rgba(255,255,255,.08) 0, rgba(255,255,255,0) 100%), radial-gradient(ellipse 85% 95% at 66% 48%, rgba(0,0,0,0) 55%, rgba(0,0,0,.3) 100%); }
.hero-feld-start { background-image: url(/assets/images/inhalt/feld-start-quer-1x.webp);
  background-image: image-set(url(/assets/images/inhalt/feld-start-quer-1x.avif) type("image/avif") 1x, url(/assets/images/inhalt/feld-start-quer-2x.avif) type("image/avif") 2x, url(/assets/images/inhalt/feld-start-quer-1x.webp) type("image/webp") 1x, url(/assets/images/inhalt/feld-start-quer-2x.webp) type("image/webp") 2x); }
.hero-feld-angebote { background-image: url(/assets/images/inhalt/feld-angebote-quer-1x.webp);
  background-image: image-set(url(/assets/images/inhalt/feld-angebote-quer-1x.avif) type("image/avif") 1x, url(/assets/images/inhalt/feld-angebote-quer-2x.avif) type("image/avif") 2x, url(/assets/images/inhalt/feld-angebote-quer-1x.webp) type("image/webp") 1x, url(/assets/images/inhalt/feld-angebote-quer-2x.webp) type("image/webp") 2x); }
@media (max-width: 760px) {
  .hero-feld { background-size: 488px 855px; background-position: 50% 0; }
  .hero-feld-start { background-image: url(/assets/images/inhalt/feld-start-hoch-1x.webp);
    background-image: image-set(url(/assets/images/inhalt/feld-start-hoch-1x.avif) type("image/avif") 1x, url(/assets/images/inhalt/feld-start-hoch-2x.avif) type("image/avif") 2x, url(/assets/images/inhalt/feld-start-hoch-3x.avif) type("image/avif") 3x, url(/assets/images/inhalt/feld-start-hoch-1x.webp) type("image/webp") 1x, url(/assets/images/inhalt/feld-start-hoch-2x.webp) type("image/webp") 2x, url(/assets/images/inhalt/feld-start-hoch-3x.webp) type("image/webp") 3x); }
  .hero-feld-angebote { background-image: url(/assets/images/inhalt/feld-angebote-hoch-1x.webp);
    background-image: image-set(url(/assets/images/inhalt/feld-angebote-hoch-1x.avif) type("image/avif") 1x, url(/assets/images/inhalt/feld-angebote-hoch-2x.avif) type("image/avif") 2x, url(/assets/images/inhalt/feld-angebote-hoch-3x.avif) type("image/avif") 3x, url(/assets/images/inhalt/feld-angebote-hoch-1x.webp) type("image/webp") 1x, url(/assets/images/inhalt/feld-angebote-hoch-2x.webp) type("image/webp") 2x, url(/assets/images/inhalt/feld-angebote-hoch-3x.webp) type("image/webp") 3x); }
}
.hero-art-feld, .seiten-hero.mit-feld { --hf-pos: 68% 42%; --hf-dimm: .44; }
@supports (animation-timeline: scroll()) {
  .hero-feld { transform: none; animation: hf-tiefe linear both; animation-timeline: scroll(root); animation-range: 0 100svh; }
  @keyframes hf-tiefe { from { translate: 0 0; } to { translate: 0 24px; } }
}
@media (prefers-reduced-motion: reduce) { .hero-feld { animation: none; transform: none; translate: none; will-change: auto; } }
.hero-art-feld.hero-b .hero-schleier { background:
  linear-gradient(0deg, var(--ink-2) 0, rgba(56,61,70,.7) 9%, rgba(56,61,70,0) 26%),
  radial-gradient(ellipse var(--hf-rx, 44%) 62% at var(--hf-cx, 25%) 46%, rgba(14,15,19,.92) 0, rgba(14,15,19,.86) 52%, rgba(14,15,19,0) 100%),
  linear-gradient(90deg, rgba(14,15,19,var(--hf-dimm)) 0%, rgba(14,15,19,var(--hf-dimm)) 36%, rgba(14,15,19,calc(var(--hf-dimm) * .45)) 60%, rgba(14,15,19,0) 82%); }
.seiten-hero.mit-feld .hero-schleier { background:
  linear-gradient(0deg, rgba(22,24,29,.75) 0, rgba(22,24,29,0) 22%),
  radial-gradient(ellipse var(--hf-rx, 46%) 90% at var(--hf-cx, 26%) 42%, rgba(14,15,19,.95) 0, rgba(14,15,19,.9) 58%, rgba(14,15,19,0) 100%),
  linear-gradient(90deg, rgba(14,15,19,var(--hf-dimm)) 0%, rgba(14,15,19,var(--hf-dimm)) 40%, rgba(14,15,19,calc(var(--hf-dimm) * .45)) 64%, rgba(14,15,19,0) 84%); }
@media (max-width: 1280px) { .hero-art-feld, .seiten-hero.mit-feld { --hf-rx: 60%; --hf-cx: 33%; } }
@media (min-width: 1600px) { .seiten-hero.mit-feld { --hf-cx: 33%; --hf-rx: 40%; } }   /* breite Schirme: Text beginnt weiter innen */   /* Laptop: der Textblock ist relativ breiter */
@media (max-width: 960px) {   /* Tablet: Text über der ganzen Breite, Schlüssel oben und unten frei */
  .hero-art-feld, .seiten-hero.mit-feld { --hf-pos: 60% 40%; }
  .seiten-hero.mit-feld { --hf-dimm: .52; }
  .hero-art-feld.hero-b .hero-schleier { background:
    linear-gradient(0deg, var(--ink-2) 0, rgba(56,61,70,.7) 8%, rgba(56,61,70,0) 22%),
    radial-gradient(ellipse 70% 42% at 40% 48%, rgba(14,15,19,.9) 0, rgba(14,15,19,.8) 55%, rgba(14,15,19,0) 100%),
    linear-gradient(rgba(14,15,19,var(--hf-dimm)), rgba(14,15,19,var(--hf-dimm))); }
  .seiten-hero.mit-feld .hero-schleier { background:
    radial-gradient(ellipse 72% 60% at 40% 50%, rgba(14,15,19,.9) 0, rgba(14,15,19,.8) 55%, rgba(14,15,19,0) 100%),
    linear-gradient(rgba(14,15,19,var(--hf-dimm)), rgba(14,15,19,var(--hf-dimm))); }
}
@media (max-width: 760px) {   /* Handy: Hochformat mit kleineren Zellen; Text liegt oben, darunter das Feld ungedämpft */
  .hero-art-feld, .seiten-hero.mit-feld { --hf-pos: 50% 30%; }
  .hero-art-feld.hero-b .hero-schleier { background:
    linear-gradient(0deg, var(--ink-2) 0, rgba(56,61,70,.6) 6%, rgba(56,61,70,0) 16%),
    linear-gradient(180deg, rgba(14,15,19,.88) 0, rgba(14,15,19,.8) 18%, rgba(14,15,19,.8) 62%, rgba(14,15,19,.5) 74%, rgba(14,15,19,.08) 86%, rgba(14,15,19,0) 92%); }
  .seiten-hero.mit-feld .hero-schleier { background:
    linear-gradient(180deg, rgba(14,15,19,.88) 0, rgba(14,15,19,.84) 20%, rgba(14,15,19,.84) 66%, rgba(14,15,19,.5) 86%, rgba(14,15,19,.3) 100%); }
}

/* ════════ Auftrag 166 (Dennis, 18.11.2026): Feld heller (Bild aus werkzeug/hero-feld-166.py), abgedunkelt wird nur noch direkt hinter dem Text.
   Ein weicher Fleck hinter dem Textblock (.hero-text / .seiten-hero-text ::before), kein Kasten, kein flächiger Schleier; Stärke --ht-dunkel so gewählt,
   dass jeder Text gerade sicher 4,5:1 erreicht (große Überschrift 3:1), gemessen mit werkzeug/pruefe-166.py.
   Handy: Kopf = Bildschirmhöhe minus Kopfzeile, Text oben, darunter freie Schlüssel; das Zahlenband folgt erst beim Scrollen, mittig gesetzt. ════════ */
.hero-art-feld, .seiten-hero.mit-feld { --hf-dimm: 0; --ht-dunkel: .84; }
.hero-art-feld.hero-b .hero-schleier { background: linear-gradient(0deg, var(--ink-2) 0, rgba(56,61,70,.6) 7%, rgba(56,61,70,0) 18%); }
.seiten-hero.mit-feld .hero-schleier { background: linear-gradient(0deg, rgba(22,24,29,.6) 0, rgba(22,24,29,0) 16%); }
.hero-art-feld .hero-text, .seiten-hero.mit-feld .seiten-hero-text { position: relative; isolation: isolate; }
.hero-art-feld .hero-text::before, .seiten-hero.mit-feld .seiten-hero-text::before { content: ""; position: absolute; z-index: -1; inset: -220px -320px -200px -300px; pointer-events: none;
  background: radial-gradient(farthest-corner at 50% 50%, rgba(14,15,19,var(--ht-dunkel)) 0, rgba(14,15,19,var(--ht-dunkel)) 44%, rgba(14,15,19,calc(var(--ht-dunkel) * .5)) 56%, rgba(14,15,19,0) 70%); }   /* Ellipse endet vor dem Rand der Fläche: keine Kante */
@media (max-width: 1280px) {
  .hero-art-feld .hero-text::before, .seiten-hero.mit-feld .seiten-hero-text::before { inset: -190px -230px -170px -220px; }
}
@media (max-width: 760px) {
  /* Kopf füllt den Bildschirm (ohne Zahlenband); Rückfall ohne svh: vh */
  .hero-art-feld { background: #24272e; }   /* Feld läuft unten in die Farbe des Zahlenbands aus */
  .hero-art-feld .hero-inhalt, .seiten-hero.mit-feld .seiten-hero-inhalt { min-height: calc(100vh - var(--kopf-h)); min-height: calc(100svh - var(--kopf-h)); align-items: flex-start; box-sizing: border-box; }
  .seiten-hero.mit-feld .seiten-hero-inhalt { display: flex; }
  .hero-art-feld .hero-foto { bottom: auto; height: calc(100vh - var(--kopf-h) + 24px); height: calc(100svh - var(--kopf-h) + 24px); }
  .hero-art-feld.hero-b .hero-schleier, .seiten-hero.mit-feld .hero-schleier { background: none; }
  .hero-art-feld .hero-foto { -webkit-mask-image: linear-gradient(180deg, #000 calc(100% - 96px), transparent); mask-image: linear-gradient(180deg, #000 calc(100% - 96px), transparent); }   /* läuft weich ins Zahlenband aus */
  /* Text: über die ganze Breite ein weicher Verlauf, oben und unten auslaufend; unter dem Knopf bleibt das Feld frei */
  .hero-art-feld .hero-text::before, .seiten-hero.mit-feld .seiten-hero-text::before { inset: -48px calc(50% - 50vw) -64px;
    background: linear-gradient(180deg, rgba(14,15,19,0) 0, rgba(14,15,19,var(--ht-dunkel)) 48px, rgba(14,15,19,var(--ht-dunkel)) calc(100% - 64px), rgba(14,15,19,0) 100%); }
  /* Zahlenband: Zahl, Titel, Zeile untereinander und mittig, mehr Luft */
  .hero-art-feld .hero-zahlen { padding: 44px 0 48px; }
  .hero-art-feld .hero-zahlen .zahl-kachel { flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 22px 8px; text-align: center; }
  .hero-art-feld .hero-zahlen .zahl-gross { width: auto; min-width: 0; justify-content: center; }
  .hero-art-feld .hero-zahlen .zahl-text { align-items: center; margin-top: 2px; }
  .hero-art-feld .hero-zahlen .zahl-kachel + .zahl-kachel::before { left: 25%; right: 25%; }
}

/* Auftrag 185.3: kein einzelnes Wort in der letzten Zeile bei Überschriften, Unterzeilen und Hinweiszeilen (Fließtext .prose bleibt unberührt) */
h1, h2, h3, h4, legend, figcaption, .titel-gross, .titel-verlauf, .titel-mittel, .titel-klein, .seiten-hero-unterzeile, .hero-b .unterzeile, .hero-band .unterzeile, .enthalten-zusatz, .hinweis-zeile > span, .karte-satz { text-wrap: balance; }
.einleitung, .hint, p.center, .center > p { text-wrap: pretty; }

/* Auftrag 202 (BFSG): Kontrast und Tippziel. Orange (#FF681B) auf #31353E erreicht 4,24:1 und reicht für kleinen Text nicht (4,5:1): Telefonnummer der Topbar und „Menü“ stehen in Weiß, das Orange bleibt an Symbol und Knöpfen. Skip-Link wie jedes Tippziel mindestens 44 px. */
.topbar p a[href^="tel:"] { color: #fff; font-weight: 600; text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: 3px; }
.nav-toggle span, .kopf-anruf span { color: #fff; }
.kopf-anruf svg { color: var(--orange); }
.nav-toggle svg { color: var(--orange); }
.skip-link:focus { min-height: 44px; display: inline-flex; align-items: center; }
/* Auftrag 202.5: am Handy kein Text unter 16 px (Startseite: Bühne, Zahlenband, Siegel, Fakten, News, Fuß; Unterseiten: Brotkrumen, Eyebrow, Hinweise, Preis auf Karten). `body` vorn hebt die Gewichtung über die Einzelregeln der Bausteine. */
@media (max-width: 640px) {
  body .kopf-anruf span, body .hero-eyebrow, body .hero-eyebrow .eb-teil, body .hero-zeiten, body .zahl-satz, body .leist-block p, body .leist-link, body .leist-skip, body .siegel-text, body .siegel-stand, body .presse-zeile,
  body .fakten-etikett, body .fakten-satz, body .sf-fussnote, body .news-text time, body .ruf-band-leise, body .footer-unten-zeile span, body .footer-recht a, body .footer-recht .link-knopf,
  body .breadcrumb a, body .breadcrumb .krume-nur, body .hint, body a.mit-bild > span,
  body .hero-inhalt .hero-zeiten, body .zahl-kachel .zahl-satz, body .leist-links .leist-link, body .modell-fehlt, body .fakten-zeile span { font-size: 1rem; }
}

/* Auftrag 203.2: Leistungsseiten gegliedert – Ablauf als Schrittfolge, Mitbringen und Kosten als Karten (leseVoll() in includes/bausteine.php) */
.leist-ablauf { padding: clamp(26px, 3.6vw, 48px); border-radius: 28px; background: var(--grau); }
.leist-ablauf .titel-klein { margin: 0 0 clamp(20px, 2.6vw, 32px); }
.leist-schritte { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); margin: 0; }
.leist-schritte li { align-items: flex-start; gap: 16px; padding: 24px 22px; font-size: 1rem; }
.leist-schritte .schritt-text { display: block; line-height: 1.55; }
.leist-schritte .schritt-text strong { display: block; margin-bottom: 6px; font-size: 1.1rem; font-weight: var(--w-6); }
.leist-zwei { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 2.6vw, 32px); align-items: stretch; }
.leist-zwei:has(> :only-child) { grid-template-columns: minmax(0, 1fr); }
.leist-karte { margin: 0; padding: clamp(24px, 3vw, 40px); border-radius: var(--radius-karte); background: #fff; box-shadow: var(--schatten-weich); }
.leist-karte .titel-klein { margin: 0 0 1rem; font-size: clamp(1.2rem, 1.8vw, 1.5rem); }
.leist-karte .prose p { margin: 0 0 .9em; }
.leist-haken { margin: 0; gap: 14px; }
.leist-haken li { font-size: 1rem; }
.leist-kosten .preis-zeilen { margin: 0 0 1.2rem; }
.leist-kosten .preis-zeilen li { align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.leist-kosten .preis-zeilen li:last-child { border-bottom: 0; }
.leist-kosten .preis-zeilen .betrag { font-size: 1.35rem; font-weight: var(--w-7); text-align: right; }
.leist-kosten .prose > p:last-child { margin: 0; padding-top: 1rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .95rem; }
@media (max-width: 860px) {
  .leist-zwei { grid-template-columns: minmax(0, 1fr); }
  .leist-ablauf { padding: 22px 16px; border-radius: 20px; }
}

/* Auftrag 203.6: Rückruf-Fenster mit mehr Luft – Kontaktdaten, freiwillige Angaben und Notiz als klare Gruppen; Felder und Fortschritt dezenter */
.rr-kopf { padding: 28px 32px 0; }
.rr-kopf h2 { font-size: 1.6rem; font-weight: var(--w-6); margin: 0 0 .25em; }
.rr-zeiten { margin: 0 0 .7rem; }
.rr-stand { margin: 2px 0 8px; font-size: .8125rem; justify-content: flex-start; opacity: .85; }
.rr-balken { height: 2px; margin-bottom: 0; }
.rr-mitte { padding: 22px 32px 12px; }
.rr-abschnitt + .rr-abschnitt { margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--line); }
.rr-box .field { margin-bottom: 14px; }
.rr-box .field:last-child { margin-bottom: 0; }
.rr-box .field label { margin-bottom: 6px; font-size: .9rem; font-weight: var(--w-6); color: #4a4f59; }
.rr-box .field input[type=text], .rr-box .field input[type=tel], .rr-box .field textarea { min-height: 46px; padding: 10px 14px; font-size: 16px; border: 1px solid #d3d5de; border-radius: 10px; background: #fff; }
.rr-box .field textarea { min-height: 88px; resize: vertical; line-height: 1.45; }
.rr-namen { gap: 0 14px; }
.rr-namen .field { min-width: 0; }
.rr-frage { margin: 0 0 18px; font-size: 1.05rem; font-weight: var(--w-6); }
.rr-gruppe { margin: 0 0 22px; }
.rr-gruppe legend { margin-bottom: 10px; font-size: .9rem; font-weight: var(--w-6); color: #4a4f59; }
.rr-chips { gap: 10px; }
.rr-chip { padding: 8px 18px; border-color: #d3d5de; }
.rr-recht { margin: 18px 0 8px; }
.rr-fuss { padding: 14px 32px calc(16px + env(safe-area-inset-bottom, 0px)); }
@media (max-width: 640px) {
  .rr-kopf { padding: 14px 20px 0; }
  .rr-kopf h2 { font-size: 1.4rem; }
  .rr-mitte { padding: 18px 20px 10px; }
  .rr-fuss { padding-left: 20px; padding-right: 20px; }
  .rr-abschnitt + .rr-abschnitt { margin-top: 22px; padding-top: 20px; }
  .rr-namen { gap: 0 10px; }
}
@media (max-height: 520px) and (orientation: landscape) {
  .rr-kopf { padding: 8px 20px 0; } .rr-mitte { padding: 10px 20px 4px; } .rr-abschnitt + .rr-abschnitt { margin-top: 14px; padding-top: 12px; }
}
.rr-box .rr-namen { grid-template-columns: repeat(2, minmax(0, 1fr)); }   /* Vor- und Nachname bleiben auch am Handy nebeneinander */
@media (max-width: 560px) { .fakten-zeile span { font-size: .8125rem; -webkit-hyphens: none; hyphens: none; overflow-wrap: normal; } }   /* 203.2a: „Schlüsselarten“ bricht am Handy nicht mehr mitten im Wort */
/* Auftrag 205.8: Absatz nach der Schrittfolge („Verloren“) */
.leist-ablauf .leist-nach { margin: 1.2rem 0 0; max-width: 62ch; }
.leist-ablauf > p:not(.leist-nach) { margin: 0 0 1.2rem; max-width: 62ch; }

/* Auftrag 209b: Übersicht /leistungen. Karten 2×2 mit Bild links (die Querform der Tablet-Karte, Zeile 1482), „Wann?“ oben, ab-Preis unten links. Abstände aus dem Bestand. */
.karte-wann { font-size: .82rem; font-weight: var(--w-6); letter-spacing: .02em; color: #6a6f79; text-wrap: pretty; }
.karte-fuss { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 4px; }
.karte-preis { font-weight: var(--w-6); color: var(--ink); }
.karte-fuss .karte-link { margin-left: auto; }
.karte-leistung .karte-satz { text-wrap: pretty; }
.karte-leistung h2, .karte-leistung h3 { text-wrap: balance; }
.karten-zwei { grid-template-columns: repeat(2, minmax(0, 1fr)); }
/* Auftrag 211.1: keine Randlinie oben (KI-Optik); stattdessen schmale orange Trennlinie zwischen Foto und Text */
.karten-zwei .karte-leistung::before { display: none; }
.karten-zwei .karte-body { border-left: 3px solid var(--orange, #FF681B); }
.karten-zwei .karte-flaeche { flex-direction: row; }
.karten-zwei .karte-bild { flex: 0 0 40%; aspect-ratio: auto; min-height: 260px; }
.karten-zwei .karte-flaeche .karte-bild img { height: 100%; margin: 0; }
.karten-zwei .karte-body { justify-content: center; }
.hinweis-reihe { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: clamp(40px, 5vw, 64px); }
.hinweis-reihe .hinweis-zeile { margin-top: 0; flex-wrap: wrap; align-items: flex-start; }
.hinweis-reihe .hinweis-zeile > span:nth-child(2) { flex: 1 1 60%; }
.hinweis-reihe .hinweis-zeile .karte-link { flex: 1 0 100%; min-height: 44px; }
@media (max-width: 1100px) { .karten-zwei { grid-template-columns: 1fr; } .hinweis-reihe { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .karten-zwei .karte-body { border-left: 0; border-top: 3px solid var(--orange, #FF681B); } .karten-zwei .karte-flaeche { flex-direction: column; } .karten-zwei .karte-bild { flex: none; aspect-ratio: 16 / 10; min-height: 0; } }
.karte-fuss { flex-wrap: wrap; }
.karte-preis, .karte-fuss .karte-link { white-space: nowrap; }
/* Auftrag 209c: Dreierreihe als Raster: Symbol links, Text über die volle Restbreite, Link unten bündig, drei Karten gleich hoch */
.hinweis-reihe .hinweis-zeile { display: grid; grid-template-columns: auto 1fr; grid-template-rows: 1fr auto; align-items: start; gap: 8px 16px; }
.hinweis-reihe .hinweis-zeile > span:nth-child(2) { text-wrap: pretty; }
.hinweis-reihe .hinweis-zeile .karte-link { grid-column: 1 / -1; align-self: end; min-height: 44px; }
