/* AquaPlus – ein Stylesheet für alle Stadt- und Bezirksseiten.
   Layout: helle Bänder im Wechsel, ein dunkler Hero mit Faktenleiste, Tabellen als Hauptinhalt.
   Keine externen Schriften (DSGVO, Ladezeit): Systemschriften mit sorgfältigem Fallback. */
:root {
  --bg: #f4f7fa;          /* Seite: Grau mit leichtem Blaustich */
  --surface: #ffffff;     /* Karten, Tabellen */
  --soft: #e9eff5;        /* Wechselband */
  --ink: #0f2233;         /* Text */
  --muted: #4d6275;       /* Nebentext */
  --line: #d3dee8;        /* Linien */
  --deep: #0f2a40;        /* Hero, Abschlussband */
  --deep-ink: #eaf2f9;
  --deep-muted: #a9c0d4;
  --accent: #1463c4;      /* Anruf, Links */
  --accent-ink: #ffffff;
  --wa: #11804a;
  --warn-bg: #fff4d6;
  --warn-line: #e3b341;
  --todo-bg: #ffe27a;
  --todo-ink: #3d2f00;
  --z1: #bfe0f2; --z2: #7fb3d9; --z3: #3d7bb3; --range: #e2622b;
  --font-display: "Avenir Next", "Segoe UI Variable Display", "Helvetica Neue", Arial, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --r: 10px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b1520; --surface: #111f2c; --soft: #0f1b27; --ink: #e4edf5; --muted: #9db2c4;
    --line: #22384b; --deep: #071019; --deep-ink: #e4edf5; --deep-muted: #8fa8bd;
    --accent: #5da3f0; --accent-ink: #04121f; --wa: #33c07a;
    --warn-bg: #2b2410; --warn-line: #8a6d1c; --todo-bg: #6b5600; --todo-ink: #fff3c4;
    --z1: #1d3a52; --z2: #2c5c85; --z3: #4b86bd; --range: #ff8a52;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0b1520; --surface: #111f2c; --soft: #0f1b27; --ink: #e4edf5; --muted: #9db2c4;
  --line: #22384b; --deep: #071019; --deep-ink: #e4edf5; --deep-muted: #8fa8bd;
  --accent: #5da3f0; --accent-ink: #04121f; --wa: #33c07a;
  --warn-bg: #2b2410; --warn-line: #8a6d1c; --todo-bg: #6b5600; --todo-ink: #fff3c4;
  --z1: #1d3a52; --z2: #2c5c85; --z3: #4b86bd; --range: #ff8a52;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 16px/1.6 var(--font-body);
  padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px));
}
@media (min-width: 900px) { body { padding-bottom: 0; } }
img { max-width: 100%; height: auto; }
a { color: var(--accent); text-underline-offset: 3px; }
a:focus-visible, summary:focus-visible, .btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.2rem); letter-spacing: -0.02em; font-weight: 700; }
h2 { font-size: clamp(1.45rem, 1.2rem + 1vw, 2rem); letter-spacing: -0.01em; font-weight: 700; }
h3 { font-size: 1.1rem; font-weight: 700; }
.measure { max-width: 66ch; }
.wrap {
  max-width: 1120px; margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 12px; z-index: 50; }
.skip:focus { left: 8px; }
.eyebrow { margin: 0 0 8px; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
mark.todo { background: var(--todo-bg); color: var(--todo-ink); padding: 0 4px; border-radius: 4px; font-weight: 600; }

/* Kopf */
.topbar { background: var(--deep); color: var(--deep-muted); font-size: .82rem; }
.topbar-in { display: flex; flex-wrap: wrap; gap: 4px 20px; justify-content: space-between; padding-block: 7px; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #3fcf8e; margin-right: 8px; vertical-align: 1px; }
.header { background: var(--surface); border-bottom: 1px solid var(--line); }
.header-in { display: flex; align-items: center; gap: 16px; padding-block: 12px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; margin-right: auto; }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--deep); color: var(--deep-ink); }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; line-height: 1.1; display: flex; flex-direction: column; }
.brand-name small { font-family: var(--font-body); font-weight: 500; font-size: .72rem; color: var(--muted); }
.nav { display: flex; gap: 18px; flex-wrap: wrap; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .92rem; }
.nav a:hover { color: var(--accent); }
@media (max-width: 720px) { .nav { order: 3; width: 100%; gap: 14px; } }

.crumbs { background: var(--surface); border-bottom: 1px solid var(--line); font-size: .85rem; }
.crumbs ol { list-style: none; margin: 0; padding: 8px 0; display: flex; flex-wrap: wrap; gap: 4px; }
.crumbs li + li::before { content: "/"; margin: 0 8px 0 4px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px; border-radius: 999px; font-weight: 700; text-decoration: none; font-size: .98rem; }
.btn-call { background: var(--accent); color: var(--accent-ink); }
.btn-call:hover { filter: brightness(1.08); }
.btn-wa { background: transparent; color: var(--deep-ink); border: 2px solid var(--wa); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: .9rem; font-variant-numeric: tabular-nums; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Hero */
.hero { background: var(--deep); color: var(--deep-ink); padding-block: 48px 52px; }
.hero-slim { padding-block: 40px; }
.hero .eyebrow { color: #7fc0ff; }
.hero-grid { display: grid; gap: 32px; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.lead { margin: 0; font-size: 1.08rem; color: var(--deep-muted); max-width: 60ch; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin: 0; background: rgba(255,255,255,.12); border-radius: var(--r); overflow: hidden; }
.facts > div { background: var(--deep); padding: 16px 18px; }
.facts dt { font-size: .75rem; letter-spacing: .07em; text-transform: uppercase; color: var(--deep-muted); }
.facts dd { margin: 4px 0 0; font-family: var(--font-display); font-size: 1.8rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.facts dd small { font-size: .9rem; color: var(--deep-muted); }
.facts .dd-text { font-family: var(--font-body); font-size: 1rem; font-weight: 600; }
.facts-wide { grid-column: 1 / -1; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } }

/* Bänder */
.band { padding-block: 56px; }
.band-soft { background: var(--soft); }
.band > .wrap { display: flex; flex-direction: column; gap: 16px; }
.band p { margin: 0; }
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; align-items: start; }
.two-center { align-items: center; }
.two > div { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
@media (max-width: 860px) { .two { grid-template-columns: 1fr; } }
.source { font-size: .82rem; color: var(--muted); }

/* Tabellen */
.table-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.tbl { width: 100%; border-collapse: collapse; font-size: .93rem; }
.tbl caption { text-align: left; padding: 14px 16px 6px; font-weight: 700; font-family: var(--font-display); }
.tbl th, .tbl td { padding: 10px 16px; text-align: left; border-top: 1px solid var(--line); vertical-align: top; }
.tbl thead th { font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); border-top: 0; }
.tbl tbody th { font-weight: 600; }
.tbl .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; font-weight: 700; }
.plz { font-family: var(--font-mono); font-variant-numeric: tabular-nums; white-space: nowrap; }
td.plz { white-space: normal; }
.is-rand td { color: var(--muted); }

/* Gebäudetypen */
.types { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.type { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; display: flex; flex-direction: column; gap: 10px; }
.type ul { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; color: var(--muted); }

/* Härteskala */
.scale { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.scale-bar { position: relative; height: 22px; border-radius: 6px; overflow: hidden; background: var(--z3); }
.scale-bar .z, .scale-bar .range { position: absolute; top: 0; bottom: 0; }
.z1 { background: var(--z1); } .z2 { background: var(--z2); } .z3 { background: var(--z3); }
.scale-bar .z1 { left: 0; }
.scale-bar .range { background: var(--range); top: 5px; bottom: 5px; border-radius: 4px; }
.scale-ticks { position: relative; height: 1.2em; font: .78rem var(--font-mono); color: var(--muted); }
.scale-ticks span { position: absolute; transform: translateX(-50%); }
.scale-ticks span:first-child { transform: none; }
.scale-ticks span:last-child { transform: translateX(-100%); }
.scale-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .85rem; color: var(--muted); }
.k { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.k.range { background: var(--range); }

/* Notfall */
.steps { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 10px; }
.alerts { display: flex; flex-direction: column; gap: 14px; }
.alerts-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.alert { background: var(--warn-bg); border: 1px solid var(--warn-line); border-radius: var(--r); padding: 16px 18px; display: flex; flex-direction: column; gap: 6px; }
.alert-h { font-weight: 700; }
.alert-n { font: 700 1.25rem var(--font-mono); font-variant-numeric: tabular-nums; }

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 10px; max-width: 820px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.faq summary { cursor: pointer; padding: 14px 18px; font-weight: 700; list-style-position: outside; }
.faq details p { padding: 0 18px 16px; color: var(--muted); }

/* Bezirke & Chips */
.districts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.district { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 16px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; color: var(--ink); }
.district:hover { border-color: var(--accent); }
.district-name { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; }
.district-meta { font-size: .85rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.district-lage { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--accent); }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips a { display: inline-block; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); text-decoration: none; color: var(--ink); font-weight: 600; font-size: .92rem; }
.chips a:hover { border-color: var(--accent); color: var(--accent); }
.chips .chip-all { background: var(--deep); color: var(--deep-ink); border-color: var(--deep); }
h2 a { color: inherit; }

/* Abschluss */
.cta { background: var(--deep); color: var(--deep-ink); padding-block: 44px; }
.cta-in { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.cta p { margin: 6px 0 0; color: var(--deep-muted); }

.footer { padding-block: 40px; font-size: .88rem; color: var(--muted); border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 24px; }
.footer-grid > * { min-width: 0; }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { font: 700 1.1rem var(--font-display); color: var(--ink); margin: 0 0 6px; }
.footer-op { margin: 0; line-height: 1.8; }
.footer-links { display: flex; flex-direction: column; gap: 6px; }
.footer-h { margin: 0; font-weight: 700; color: var(--ink); }
.footer-note { margin: 24px 0 0; font-size: .8rem; }

/* Anrufleiste auf dem Handy */
.callbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; background: var(--surface); border-top: 1px solid var(--line);
  padding: 10px max(16px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); }
.callbar .btn { width: 100%; }
@media (min-width: 900px) { .callbar { display: none; } }
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto; transition: none !important; } }

/* Zweispaltige Bänder: .band > .wrap setzt flex, hier gewinnt das Raster */
.band > .wrap.two { display: grid; }
.scale-ticks span { white-space: nowrap; }
@media (max-width: 720px) { .header .btn-sm { display: none; } }

/* Mehrstädtische Erweiterungen */
.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.service { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; display: flex; flex-direction: column; gap: 10px; scroll-margin-top: 16px; }
.service p { color: var(--muted); }
.service ul { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 4px; }
.service a { margin-top: auto; font-weight: 700; }
.service:target { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 25%, transparent); }
.type p { margin: 0; color: var(--muted); }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; display: flex; flex-direction: column; gap: 12px; }
.chips-static span { display: inline-block; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: .9rem; }
.notes { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.note { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; display: flex; flex-direction: column; gap: 8px; }
.note p, .note ul { margin: 0; color: var(--muted); }
.note ul { padding-left: 18px; }
.band-soft .note, .band-soft .panel, .band-soft .service, .band-soft .type { background: var(--surface); }
.district-sub { font-size: .82rem; color: var(--muted); }
.plain { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 10px; }
.muted { color: var(--muted); }
.kv { margin: 0; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; max-width: 820px; }
.kv > div { display: grid; grid-template-columns: minmax(140px, 220px) minmax(0, 1fr); gap: 16px; background: var(--surface); padding: 12px 16px; }
.kv dt { font-weight: 700; } .kv dd { margin: 0; }
@media (max-width: 560px) { .kv > div { grid-template-columns: 1fr; gap: 4px; } }
.process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; counter-reset: s; }
.process li { counter-increment: s; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; display: flex; flex-direction: column; gap: 6px; }
.process li::before { content: counter(s); font: 700 1.6rem var(--font-display); color: var(--accent); }
.process span { color: var(--muted); }
.footer-grid-4 { grid-template-columns: 2fr 1fr 1fr 1fr; }
@media (max-width: 860px) { .footer-grid-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid-4 { grid-template-columns: 1fr; } }
.hero h1 { max-width: 22ch; }

/* Bilder aus /wp-content/uploads/ */
:root { --logo-bg: #ffffff; }
.brand-logo { display: block; width: 176px; height: auto; max-width: 46vw; background: var(--logo-bg); border-radius: 8px; padding: 4px 8px; }
.photo { margin: 0; min-width: 0; }
.photo img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r); background: var(--soft); }
.photo-wide img { aspect-ratio: 21 / 9; }
.service-img { display: block; width: calc(100% + 40px); max-width: none; margin: -20px -20px 4px; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r) var(--r) 0 0; background: var(--soft); }
.service { overflow: hidden; }
.legal { max-width: 820px; }
.legal h2 { font-size: 1.2rem; margin-top: 12px; }
.legal p { max-width: 72ch; }

/* Kontaktknöpfe: Anruf (Hauptaktion) und WhatsApp, überall gleich */
:root { --wa-ink: #ffffff; --tel-shadow: rgba(20, 99, 196, .35); --wa-shadow: rgba(17, 128, 74, .35); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --wa-ink: #04121f; --tel-shadow: rgba(0, 0, 0, .4); --wa-shadow: rgba(0, 0, 0, .4); } }
:root[data-theme="dark"] { --wa-ink: #04121f; --tel-shadow: rgba(0, 0, 0, .4); --wa-shadow: rgba(0, 0, 0, .4); }
.btn { min-height: 54px; padding: 8px 22px 8px 16px; gap: 12px; text-align: left; transition: transform .15s ease, box-shadow .15s ease, filter .15s ease; }
.btn svg { flex: none; }
.btn-txt { display: flex; flex-direction: column; line-height: 1.15; }
.btn-label { font-weight: 800; font-size: 1rem; }
.btn-num { font-weight: 600; font-size: .8rem; opacity: .92; font-variant-numeric: tabular-nums; letter-spacing: .01em; }
.btn-call { background: var(--accent); color: var(--accent-ink); box-shadow: 0 8px 20px -8px var(--tel-shadow); }
.btn-wa { background: var(--wa); color: var(--wa-ink); border: 0; box-shadow: 0 8px 20px -8px var(--wa-shadow); }
.btn-call:hover, .btn-wa:hover { transform: translateY(-1px); filter: brightness(1.06); }
.btn-sm { min-height: 42px; padding: 0 16px 0 12px; gap: 8px; font-size: .92rem; box-shadow: none; }
.btn-icon { width: 42px; padding: 0; justify-content: center; }
.header-cta { display: flex; gap: 8px; align-items: center; }
@media (max-width: 720px) { .header .header-cta { display: none; } }

/* Feste Leiste auf dem Handy: beide Wege mit einem Daumen erreichbar */
.callbar { display: grid; grid-template-columns: 1.35fr 1fr; gap: 10px; box-shadow: 0 -6px 20px -10px rgba(0, 0, 0, .25); }
.callbar-btn { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 8px 12px; border-radius: 14px; text-decoration: none; }
.callbar-btn span { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.callbar-btn strong { font-size: 1rem; }
.callbar-btn small { font-size: .78rem; opacity: .92; font-variant-numeric: tabular-nums; }
.callbar-tel { background: var(--accent); color: var(--accent-ink); }
.callbar-wa { background: var(--wa); color: var(--wa-ink); }
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } .btn-call:hover, .btn-wa:hover { transform: none; } }
/* Leiste nur auf schmalen Bildschirmen; auf dem Handy volle Breite für die Hero-Knöpfe */
@media (min-width: 900px) { .callbar { display: none; } }
@media (max-width: 560px) { .hero .actions .btn, .cta .actions .btn, .hero-slim .actions .btn { flex: 1 1 100%; justify-content: flex-start; } }

/* Gruppen (Kreise, Stadtteile) auf Stadt- und Übersichtsseiten */
.group-h { margin: 28px 0 12px; font-size: 1.05rem; }
.group-h:first-of-type { margin-top: 8px; }
.group-h .muted { font-weight: 400; }
.services-compact .service { padding-top: 20px; }
.services-compact .service h3 { margin-top: 0; }

/* Kleinreparaturen-Tabelle und Regionen */
.tbl tbody th { font-weight: 600; }
.tbl-sub { display: block; font-weight: 400; font-size: .84rem; color: var(--muted); margin-top: 2px; }
.tbl caption { caption-side: top; text-align: left; font-weight: 700; padding: 0 0 10px; }
.region-towns { columns: 3 180px; column-gap: 24px; list-style: none; margin: 0; padding: 0; }
.region-towns li { break-inside: avoid; padding: 7px 0; border-bottom: 1px solid var(--line); font-weight: 600; }
.region-towns li span { display: block; font-weight: 400; font-size: .84rem; color: var(--muted); }
.mt { margin-top: 18px; }
.tbl-klein caption { padding: 14px 16px 4px; }
@media (max-width: 640px) {
  .tbl-klein thead { display: none; }
  .tbl-klein, .tbl-klein tbody, .tbl-klein caption { display: block; }
  .tbl-klein tr { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 12px 16px; border-top: 1px solid var(--line); }
  .tbl-klein th, .tbl-klein td { padding: 0; border: 0; }
  .tbl-klein td:nth-child(2) { grid-column: 1 / -1; grid-row: 2; color: var(--muted); font-size: .92rem; }
  .tbl-klein td.num { grid-column: 2; grid-row: 1; text-align: right; }
}

/* =====================================================================
   Kopf- und Fusszeile, Ausgabe November 2026
   Leitmotiv: die Kalt-/Warm-Markierung einer Mischbatterie. Blau steht für
   Wasser und Sanitär, Rot für Heizung und Warmwasser. Sie erscheint als
   geteilte Linie unter dem Kopf und über dem Fuss und als Punkte in der Navigation.
   ===================================================================== */
:root { --cold: #1f78d1; --cold-soft: #e3effb; --hot: #d63b2a; --hot-soft: #fbe7e3; --navy: #0b2236; --navy-2: #12304a; --navy-ink: #e9f1f8; --navy-muted: #9fb6ca; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --cold: #5aa6f0; --cold-soft: #11263a; --hot: #ff7a66; --hot-soft: #2c1714; --navy: #061019; --navy-2: #0c1d2b; } }
:root[data-theme="dark"] { --cold: #5aa6f0; --cold-soft: #11263a; --hot: #ff7a66; --hot-soft: #2c1714; --navy: #061019; --navy-2: #0c1d2b; }

/* Kalt-/Warm-Linie */
.tapline { display: grid; grid-template-columns: 1fr 1fr; gap: 0; height: 4px; }
.tapline span:first-child { background: var(--cold); }
.tapline span:last-child { background: var(--hot); }
.tap { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 7px; vertical-align: 0; }
.tap-cold { background: var(--cold); box-shadow: 0 0 0 3px rgba(31, 120, 209, .25); }
.tap-hot { background: var(--hot); box-shadow: 0 0 0 3px rgba(214, 59, 42, .25); }

/* Kopfleiste */
.topbar { background: var(--navy); color: var(--navy-muted); font-size: .8rem; }
.topbar-in { display: flex; align-items: center; justify-content: space-between; gap: 6px 24px; flex-wrap: wrap; padding-block: 8px; }
.topbar p { margin: 0; }
.tb-live { display: flex; align-items: center; gap: 8px; color: var(--navy-ink); }
.tb-live strong { font-weight: 700; }
.tb-sub { color: var(--navy-muted); }
.pulse { position: relative; width: 9px; height: 9px; border-radius: 50%; background: #34d27f; flex: none; }
.pulse::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid #34d27f; opacity: 0; animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(1.5); opacity: 0; } }
.tb-facts { display: flex; gap: 18px; list-style: none; margin: 0; padding: 0; }
.tb-facts li { display: flex; align-items: center; white-space: nowrap; }
.tb-mwst { padding-left: 18px; border-left: 1px solid rgba(255, 255, 255, .16); }
.tb-addr { white-space: nowrap; }
@media (max-width: 1100px) { .tb-addr { display: none; } }
@media (max-width: 820px) { .tb-facts { display: none; } .tb-sub { display: none; } .topbar-in { justify-content: center; } }

/* Kopf */
.header { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--surface) 94%, transparent); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 0; box-shadow: 0 10px 24px -22px rgba(11, 34, 54, .55); }
.header-in { display: flex; align-items: center; gap: 28px; padding-block: 12px; flex-wrap: nowrap; }
.brand { display: flex; align-items: center; gap: 14px; margin-right: 0; text-decoration: none; color: var(--ink); flex: none; }
.brand-logo { width: 164px; padding: 3px 6px; }
.brand-tag { display: flex; flex-direction: column; line-height: 1.2; padding-left: 14px; border-left: 1px solid var(--line); }
.brand-tag strong { font: 700 .95rem var(--font-display); letter-spacing: -.005em; }
.brand-tag span { font-size: .74rem; color: var(--muted); }
.nav { display: flex; gap: 4px; flex-wrap: nowrap; margin-left: auto; }
.nav a { position: relative; display: inline-flex; align-items: center; gap: 7px; padding: 9px 12px; border-radius: 999px; color: var(--ink); font-weight: 600; font-size: .93rem; text-decoration: none; white-space: nowrap; transition: background-color .15s ease, color .15s ease; }
.nav a:hover { background: var(--soft); color: var(--ink); }
.nav a[aria-current="page"] { background: var(--soft); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 3px; height: 2px; border-radius: 2px; background: var(--ink); }
.nav-cold::before, .nav-hot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; flex: none; }
.nav-cold::before { background: var(--cold); }
.nav-hot::before { background: var(--hot); }
.nav-cold[aria-current="page"]::after { background: var(--cold); }
.nav-hot[aria-current="page"]::after { background: var(--hot); }
.header-cta { display: flex; align-items: center; gap: 8px; flex: none; }
.hcall { display: flex; align-items: center; gap: 10px; padding: 6px 18px 6px 6px; border-radius: 999px; background: var(--navy); color: var(--navy-ink); text-decoration: none; box-shadow: 0 8px 20px -10px rgba(11, 34, 54, .7); transition: transform .15s ease, box-shadow .15s ease; }
.hcall:hover { transform: translateY(-1px); box-shadow: 0 12px 24px -10px rgba(11, 34, 54, .75); }
.hcall-ico { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--hot); color: #fff; }
.hcall-ico svg { width: 18px; height: 18px; }
.hcall-txt { display: flex; flex-direction: column; line-height: 1.12; }
.hcall-label { font-size: .7rem; font-weight: 700; color: var(--navy-muted); }
.hcall-num { font: 800 1.06rem var(--font-display); letter-spacing: .01em; font-variant-numeric: tabular-nums; }
.hwa { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--wa); color: var(--wa-ink); box-shadow: 0 8px 20px -10px var(--wa-shadow); }
.hwa:hover { filter: brightness(1.08); }
@media (max-width: 1180px) { .brand-tag { display: none; } .header-in { gap: 18px; } }
@media (max-width: 960px) {
  .header-in { flex-wrap: wrap; row-gap: 6px; padding-block: 10px 6px; }
  .header .header-cta { display: flex; margin-left: auto; }
  .nav { order: 3; width: 100%; margin: 0 -6px; overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { padding: 7px 11px; font-size: .9rem; }
}
@media (max-width: 560px) {
  .brand-logo { width: 132px; }
  .hcall { padding: 4px; }
  .hcall-txt { display: none; }
  .hwa { display: none; }
}

/* Fuss */
.footer { background: var(--navy); color: var(--navy-muted); border-top: 0; padding: 0 0 28px; font-size: .9rem; margin-top: 0; }
.footer a { color: var(--navy-ink); text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.f-cta { display: flex; align-items: center; justify-content: space-between; gap: 20px 40px; flex-wrap: wrap; padding: 40px 0 28px; }
.f-cta-h { margin: 0 0 6px; font: 700 clamp(1.35rem, 1.1rem + 1vw, 1.85rem)/1.2 var(--font-display); color: #fff; letter-spacing: -.01em; text-wrap: balance; }
.f-cta-p { margin: 0; max-width: 54ch; }
.f-cta-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.footer .f-cta-btns a { color: inherit; text-decoration: none; }
.footer .f-cta-btns .btn-call { color: var(--accent-ink); }
.footer .f-cta-btns .btn-wa { color: var(--wa-ink); }
.f-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.f-tile { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 18px 20px 18px 24px; border-radius: 12px; background: var(--navy-2); border: 1px solid rgba(255, 255, 255, .08); overflow: hidden; }
.f-tile::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; }
.f-cold::before { background: var(--cold); }
.f-hot::before { background: var(--hot); }
.f-tile-h { font: 700 1.05rem var(--font-display); color: #fff; }
.f-tile-p { color: var(--navy-muted); font-variant-numeric: tabular-nums; }
.footer .f-tile:hover { text-decoration: none; border-color: rgba(255, 255, 255, .2); }
.footer .f-tile:hover .f-tile-h { text-decoration: underline; text-underline-offset: 3px; }
.f-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 28px; padding: 36px 0 28px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.f-grid > * { min-width: 0; }
.f-logo { display: block; width: 168px; height: auto; background: #fff; border-radius: 8px; padding: 4px 8px; margin-bottom: 14px; }
.f-op { margin: 0 0 10px; line-height: 1.7; }
.f-small { font-size: .8rem; }
.f-links { display: flex; flex-direction: column; gap: 7px; }
.f-h { margin: 0 0 4px; font-size: .78rem; font-weight: 700; letter-spacing: .02em; color: #fff; }
.f-h2 { margin-top: 14px; }
.f-links .f-sub { color: var(--navy-muted); font-size: .85rem; margin-top: -4px; }
.f-bottom { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px 24px; flex-wrap: wrap; padding-top: 18px; font-size: .8rem; }
.f-bottom p { margin: 0; max-width: 80ch; }
.f-legal { display: flex; gap: 18px; }
@media (max-width: 900px) { .f-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) {
  .f-tiles { grid-template-columns: 1fr; }
  .f-grid { grid-template-columns: 1fr 1fr; gap: 24px 18px; }
  .f-brand { grid-column: 1 / -1; }
  .f-cta-btns { width: 100%; }
  .f-cta-btns .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) { .pulse::after { animation: none; } .hcall, .nav a { transition: none; } }
/* Seiten mit eigenem Abschluss-Aufruf: kein zweiter Aufruf im Fuss */
body:has(main > .cta:last-child) .f-cta { display: none; }
body:has(main > .cta:last-child) .f-tiles { padding-top: 36px; }
.f-tiles { padding-top: 0; }
.header-in { gap: 18px; }
.nav a { padding: 9px 10px; }
@media (max-width: 1320px) { .brand-tag { display: none; } }
/* Barrierefreiheit: genügend Kontrast auf den Knöpfen, Links im Fliesstext unterstrichen */
:root { --wa: #0c6b3d; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --wa: #33c07a; } }
:root[data-theme="dark"] { --wa: #33c07a; }
.btn-num { opacity: 1; }
.footer .f-op a { text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .45); text-underline-offset: 3px; }
.footer .f-op a:hover { text-decoration-color: #fff; }

/* ---------- Icons und Versprechen */
.ic { width: 28px; height: 28px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; color: var(--ink); }
.ic .ia { stroke: var(--accent); }
.ic .ih { stroke: #d6402b; }
.ic circle.ia { fill: none; }
.ic-badge { width: 52px; height: 52px; padding: 11px; border-radius: 14px; background: var(--soft, #eef4fa); border: 1px solid var(--line); }
.band-promise { background: var(--surface); }
.promise { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.promise li { display: flex; gap: 14px; align-items: flex-start; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; }
.promise h3 { margin: 2px 0 6px; font-size: 1.02rem; }
.promise p { margin: 0; color: var(--muted); font-size: .95rem; }
.icon-grid { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.icon-grid li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; display: flex; flex-direction: column; gap: 8px; }
.icon-grid h3 { margin: 0; font-size: 1rem; }
.icon-grid p { margin: 0; color: var(--muted); font-size: .95rem; }
.steps-ic { list-style: none; counter-reset: s; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.steps-ic li { counter-increment: s; position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 18px 18px 18px; }
.steps-ic li::before { content: counter(s); position: absolute; top: 14px; right: 16px; font-weight: 800; font-size: 1.4rem; color: var(--line); }
.steps-ic h3 { margin: 10px 0 6px; font-size: 1rem; }
.steps-ic p { margin: 0; color: var(--muted); font-size: .95rem; }
.service h3 .ic, .service-h .ic { width: 26px; height: 26px; vertical-align: -6px; margin-right: 8px; }
.hero-ic { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); margin-bottom: 10px; }
.hero-ic .ic { width: 36px; height: 36px; color: #fff; }
.hero-ic .ic .ia { stroke: #7cc0ff; }
.tbl .ic { width: 22px; height: 22px; vertical-align: -5px; margin-right: 8px; }
.band-tight { padding-block: 18px; }
.promise-kurz { margin: 0; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
@media (max-width: 420px) { .promise-kurz li { padding: 8px 10px; gap: 8px; } .promise-kurz h3 { font-size: .88rem; } .promise-kurz .ic-badge { width: 36px; height: 36px; padding: 7px; } }
.promise-kurz li { align-items: center; padding: 10px 14px; }
.promise-kurz h3 { margin: 0; font-size: .98rem; }
.promise-kurz .ic-badge { width: 44px; height: 44px; padding: 9px; }
.note h3 .ic { width: 22px; height: 22px; vertical-align: -5px; margin-right: 6px; }
.facts dd { font-size: clamp(1.25rem, 2.2vw, 1.6rem); }
.facts dd.dd-text { font-size: 1rem; }
.promise:not(.promise-kurz) li { flex-direction: column; gap: 12px; }
