/* ===================================================================
   Berger Bedachungen — VORTE Beispiel-Website (Paket: Standard, 8 Seiten)
   Farbkonzept: "Ziegel & Schiefer" (bestätigte Variante A) — kräftiges
   Ziegelrot + Schiefer-Anthrazit. Folgt der klaren Branchennorm (5 von 6
   echten Referenz-Websites rot-dominiert, Schritt-2.5-Recherche
   17.08.2026), zusätzlich materialbegründet: Rot = Dachziegel,
   Anthrazit = Schiefereindeckung — kein beliebiges Rot.

   Aufbau: Mobile First (Basis = Mobil, min-width-Queries = größer)
   Herkunft: 1:1 übernommen aus preview/style-a.css (bestätigtes
   Farbkonzept, alle Kontraste dort nachgerechnet), erweitert um die
   Komponenten der sieben Unterseiten (Galerie/Lightbox, Notdienst-Seite,
   Preislisten, Projektkarten, Tabellen, FAQ, Kontakt-Layout).

   HINWEIS: Fiktives Portfolio-Projekt. Alle Firmen-/Kontaktdaten
   sind bewusst erfundene Platzhalter.
   =================================================================== */

/* ── KUNDENVARIABLEN ───────────────────────────────────────────── */
/* KONTRASTWERTE (WCAG-2.x-Formel, gegen die tatsächlichen Hex-Werte
   ausgerechnet, nicht geschätzt, 17.08.2026):
     Weiß auf --primary    #A63A2C ............ 6,44:1  ✓ AA
     Weiß auf --primary-d  #8A2F23 ............ 8,36:1  ✓ AAA
     Weiß auf --accent     #2B2B2E ............ 14,12:1 ✓ AAA
     Weiß auf --primary-xd #6E2419 ........... 10,89:1 ✓ AAA
     --accent-ink #8A2F23 auf --bg ............ 7,68:1  ✓ AAA
     --accent-ink #8A2F23 auf Weiß ............ 8,36:1  ✓ AAA
     --accent-ink #8A2F23 auf --accent-l ...... 6,24:1  ✓ AA (btn-light Hover)
     --text auf --bg .......................... 14,59:1 ✓ AAA
     --muted auf --bg ......................... 6,00:1  ✓ AA
     --muted auf Weiß ......................... 6,54:1  ✓ AA
     --danger #A3341F auf Weiß ................ 6,84:1  ✓ AA
     --danger #A3341F auf --bg ................ 6,29:1  ✓ AA
     --on-dark-soft #EFE7E1 auf --primary ..... 5,27:1  ✓ AA
     --on-dark-min  #E9DFD9 auf --primary ..... 4,91:1  ✓ AA
     --accent-l #E8DDD0 auf --primary ......... 4,81:1  ✓ AA (auch für den
       12px/800-Kicker ausreichend, nicht nur dekorativ)
     Alert-Box: #8C2A16 auf #FBE9E7 ........... 7,29:1  ✓ AAA
     Notice-Box: #4A2E20 auf #F0E9E4 ......... 10,27:1  ✓ AAA
   WCAG-Schwellen, die hier durchgängig gelten (siehe
   qualitaets-checkliste.md): ≥ 24px normal ODER ≥ 18,66px/14pt fett
   → 3:1; alles darunter → 4,5:1. Der Bereich 18–18,66px fett zählt
   als NORMALTEXT. Kein Wert unter 4,6:1 wurde mit einer Größen-
   begründung durchgewinkt.
   Wichtig: --on-dark-* sind hier bewusst SOLIDE Farbwerte, nicht
   rgba()-Opacity wie im Malerbetrieb-Template — Weiß auf diesem Rot hat
   mit 6,44:1 deutlich weniger Puffer als auf dem dortigen Anthrazit
   (14,82:1), rgba-Abdunklung hätte zu schnell unter 4,5:1 gedrückt. */
:root {
  --primary:      #A63A2C;   /* Ziegelrot — Header, Footer, Hero */
  --primary-d:    #8A2F23;   /* Dunkler — Hover, Verlaufsende */
  --primary-xd:   #6E2419;   /* Sehr dunkel — Notdienst-Seitenkopf */
  --primary-l:    #C15A4B;   /* Heller — dekorativ auf hellem Grund */
  --accent:       #2B2B2E;   /* Schiefer-Anthrazit — CTAs, Buttons */
  --accent-d:     #1C1C1E;   /* Anthrazit dunkler — Hover */
  --accent-l:     #E8DDD0;   /* Warmes Creme — AUF --primary
                                (Trennlinien, Kicker, Badge-Ring; 4,81:1) */
  --accent-text:  #FFFFFF;   /* Text AUF --accent (Buttons): 14,12:1 */
  --accent-ink:   #8A2F23;   /* Ziegelrot dunkel — TEXT auf hellem Grund
                                (Links, Karten-Links): 7,68:1 auf --bg */
  --bg:           #F7F5F2;   /* Warmweiß — Seitenhintergrund */
  --white:        #FFFFFF;
  --text:         #232221;   /* Fließtext */
  --muted:        #615D58;   /* Sekundärtext (6,00:1 auf --bg) */
  --border:       #E6DFD8;   /* dekorative Kartenrahmen */
  --input-border: #8C877D;   /* Formularfeld-Rahmen: ≥3:1 auf Weiß (WCAG 1.4.11) */
  --danger:       #A3341F;   /* Pflichtfeld-Sternchen, Notdienst-Akzent */

  /* Footer-/Dunkelbereich-Textfarben — solide Werte, siehe Hinweis oben. */
  --on-dark:      #FFFFFF;   /* 6,44:1 auf --primary — Fließtext */
  --on-dark-soft: #EFE7E1;   /* 5,27:1 auf --primary — Links, Sekundär */
  --on-dark-min:  #E9DFD9;   /* 4,91:1 auf --primary — Kleinstext, Minimum */

  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
          'Helvetica Neue', Arial, 'Noto Sans', sans-serif;
  --radius-s: 4px;
  --radius-m: 8px;
  --radius-l: 14px;
  --shadow-s: 0 1px 4px rgba(35,34,33,0.10);
  --shadow-m: 0 6px 20px rgba(35,34,33,0.16);
}

/* ── RESET ─────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
/* scroll-padding-top GLOBAL auf html — deckt die Sticky-Nav (~64px) für
   ALLE Anker-Sprungziele ab, auch für #main-content (Skip-Link) und
   künftig ergänzte IDs. Bewusst nicht als scroll-margin-top auf
   einzelnen Selektoren, siehe haeufige-fehler.md Technik #6. */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ── SICHTBARER TASTATURFOKUS (BFSG) ──────────────────────────── */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
  border-radius: var(--radius-s);
}
.nav a:focus-visible,
.nav button:focus-visible,
.nav-mobile a:focus-visible,
.hero a:focus-visible,
.pagehead a:focus-visible,
.section-dark a:focus-visible,
.notdienst-band a:focus-visible,
.emergency-card a:focus-visible,
.cookie-bar a:focus-visible,
.cookie-bar button:focus-visible,
.lightbox button:focus-visible,
.notruf-float:focus-visible,
footer a:focus-visible {
  outline-color: #FFFFFF;
}

/* ── SKIP LINK ─────────────────────────────────────────────────── */
.skip-link {
  position: absolute; top: -60px; left: 0;
  background: var(--primary); color: #FFFFFF;
  padding: 10px 18px; z-index: 1000;
  font-size: 14px; font-weight: 600;
  transition: top 0.15s;
}
.skip-link:focus { top: 0; }

/* ── LAYOUT ────────────────────────────────────────────────────── */
.container { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.section { padding: 48px 0; }
.section-alt { background: var(--white); }
.section-dark { background: var(--primary); }
.section-dark, .section-dark p, .section-dark li { color: var(--on-dark); }
.section-dark h2 { color: #FFFFFF; }
.narrow { max-width: 760px; }

/* ── TYPOGRAFIE ────────────────────────────────────────────────── */
/* overflow-wrap: lange deutsche Komposita ohne Leerzeichen
   ("Dachdeckermeisterbetriebs") können auf schmalen Viewports breiter
   sein als die verfügbare Spalte und ohne Umbruchpunkt horizontal
   überlaufen — Fund 30.08.2026 auf leistungen.html, 390px, siehe
   haeufige-fehler.md Technik #16. */
h1 { font-size: clamp(27px, 6vw, 42px); font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; overflow-wrap: break-word; }
h2 { font-size: clamp(21px, 4vw, 30px); font-weight: 700; line-height: 1.25; letter-spacing: -0.01em; }
h3 { font-size: 18px; font-weight: 700; line-height: 1.35; }
h4 { font-size: 15px; font-weight: 700; }
p  { font-size: 16px; line-height: 1.7; color: var(--muted); }
.lead { font-size: 17px; color: var(--text); }
strong { color: var(--text); font-weight: 700; }

.section h2 { margin-bottom: 14px; color: var(--text); }
.section h3 { color: var(--text); }
.section p + p { margin-top: 14px; }
.section-head { margin-bottom: 28px; }
.section-head p { max-width: 640px; }

.h-rule::after {
  content: ""; display: block;
  width: 52px; height: 4px; border-radius: 2px;
  background: var(--accent);
  margin-top: 12px;
}

/* Kicker / Eyebrow-Zeile über Überschriften */
.kicker {
  display: block;
  font-size: 12.5px; font-weight: 800;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent-ink);
  margin-bottom: 10px;
}
.pagehead .kicker,
.hero .kicker,
.section-dark .kicker,
.section-quotes .kicker { color: var(--accent-l); }

.section a:not(.btn):not(.card-link):not(.nav-link):not(.gallery-btn) {
  color: var(--accent-ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.section a:not(.btn):not(.card-link):not(.nav-link):not(.gallery-btn):hover { color: var(--primary); }

/* Aufzählungen außerhalb der Rechtstexte (ul { list-style: none } global) */
.bullets { display: grid; gap: 9px; margin-top: 12px; }
.bullets li { position: relative; padding-left: 20px; font-size: 16px; color: var(--muted); line-height: 1.65; }
.bullets li::before {
  content: ""; position: absolute; left: 0; top: 10px;
  width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
}
.bullets strong { color: var(--text); }
.bullets.on-dark li { color: var(--on-dark); }
.bullets.on-dark li::before { background: var(--accent-l); }
.bullets.on-dark strong { color: #FFFFFF; }

/* ── BUTTONS ───────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: var(--radius-s);
  font-family: var(--font); font-size: 15px; font-weight: 700;
  cursor: pointer; transition: background-color .15s, transform .15s, border-color .15s;
  border: 2px solid transparent;
  text-align: center;
}
.btn-primary { background: var(--accent); color: var(--accent-text); }
.btn-primary:hover { background: var(--accent-d); transform: translateY(-1px); }
.btn-secondary { background: var(--primary); color: #FFFFFF; }
.btn-secondary:hover { background: var(--primary-d); transform: translateY(-1px); }
/* border-color als solider Hex-Wert, nicht rgba: rgba(35,34,33,0.35) über
   Weiß ergab nur 2,13:1 statt der laut WCAG 1.4.11 nötigen 3:1 für
   UI-Komponenten (gefunden 17.08.2026, Schritt-7-Prüfung, siehe
   haeufige-fehler.md Technik #10). --accent-ink (8,36:1 auf Weiß) passt
   zusätzlich farblich zur Marke statt eines neutralen Grautons. */
.btn-outline { background: transparent; color: var(--text); border-color: var(--accent-ink); }
.btn-outline:hover { border-color: var(--text); background: rgba(35,34,33,0.08); }
.btn-outline-light { background: transparent; color: #FFFFFF; border-color: rgba(255,255,255,0.55); }
.btn-outline-light:hover { border-color: #FFFFFF; background: rgba(255,255,255,0.12); }
/* Heller Button für dunkle Bänder: --primary-d auf Weiß = 8,36:1 ✓,
   im Hover auf --accent-l = 6,24:1 ✓ */
.btn-light { background: #FFFFFF; color: var(--primary-d); border-color: #FFFFFF; }
.btn-light:hover { background: var(--accent-l); border-color: var(--accent-l); color: var(--primary-d); }
.btn-block { width: 100%; }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.cta-band {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 4px solid var(--accent);
  border-radius: var(--radius-l);
  padding: 28px 24px;
  text-align: center;
  box-shadow: var(--shadow-s);
}
.cta-band h2 { margin-bottom: 8px; }
.cta-band p { margin-bottom: 20px; }
.cta-band .btn-row { justify-content: center; }

/* ── NOTDIENST-BAND ────────────────────────────────────────────── */
/* Neu für die Dachdecker-Branche (Schritt-2.5-Recherche 17.08.2026):
   24h-Notdienst/Sturmschäden ist auf praktisch jeder echten Referenz-
   Website ein eigener, visuell dringlicher Block — kein Nice-to-have.
   Bewusst dunkler als der normale CTA, damit sich der Ton klar von
   Werbung abhebt (Dringlichkeit statt Angebot).
   KONTRAST: Weiß auf --primary-d (Hintergrund hier) = 8,36:1 ✓ AAA. */
.notdienst-band {
  background: var(--primary-d); color: #FFFFFF;
  padding: 22px 0;
}
.notdienst-inner {
  display: flex; flex-direction: column; gap: 14px;
  align-items: flex-start; justify-content: space-between;
}
.notdienst-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 800; letter-spacing: .1em;
  text-transform: uppercase; color: var(--on-dark-min);
}
.notdienst-label svg { width: 16px; height: 16px; }
.notdienst-text { font-size: 17px; font-weight: 700; color: #FFFFFF; margin-top: 4px; }
.notdienst-text a { color: #FFFFFF; text-decoration: underline; }

/* ── NAVIGATION ────────────────────────────────────────────────── */
.nav {
  background: var(--primary);
  position: sticky; top: 0; z-index: 100;
  border-bottom: 3px solid var(--accent-l);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 64px; gap: 12px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; color: #FFFFFF; }
.nav-logo-mark {
  width: 34px; height: 34px; flex-shrink: 0;
  border-radius: var(--radius-s);
  background: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 16px; color: var(--accent-text);
}
.nav-logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.nav-logo-name { font-size: 15px; font-weight: 800; color: #FFFFFF; }
.nav-logo-sub { font-size: 10.5px; font-weight: 600; letter-spacing: .06em;
                text-transform: uppercase; color: var(--on-dark-soft); }

.nav-links { display: none; align-items: center; gap: 2px; }
.nav-link {
  padding: 8px 11px; font-size: 13.5px; font-weight: 600;
  color: var(--on-dark-soft); border-radius: var(--radius-s);
  transition: color .15s, background-color .15s;
}
.nav-link:hover, .nav-link.active { color: #FFFFFF; background: rgba(255,255,255,0.10); }
.nav-link.active { box-shadow: inset 0 -2px 0 var(--accent-l); }
.nav-cta {
  margin-left: 8px; padding: 10px 16px;
  background: var(--accent); color: var(--accent-text);
  font-size: 13.5px; font-weight: 700;
  border-radius: var(--radius-s);
  transition: background-color .15s;
}
.nav-cta:hover { background: var(--accent-d); }

.nav-burger {
  display: block; background: none; border: none; cursor: pointer;
  padding: 8px; border-radius: var(--radius-s);
}
.nav-burger span {
  display: block; width: 24px; height: 2px; background: #FFFFFF;
  margin: 5px 0; border-radius: 1px; transition: transform .2s, opacity .2s;
}
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: none; background: var(--primary);
  padding: 8px 0 20px;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.nav-mobile.open { display: block; }
.nav-mobile .nav-link {
  display: block; padding: 13px 0; font-size: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  border-radius: 0;
}
.nav-mobile .nav-link:last-of-type { border-bottom: none; }
.nav-mobile .nav-cta { display: block; margin: 14px 0 0; text-align: center; }

/* ── HERO ──────────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(180deg, var(--primary) 0%, var(--primary-d) 100%);
  padding: 52px 0 48px;
}
.hero h1 { color: #FFFFFF; margin-bottom: 16px; }
.hero-lead { color: var(--on-dark); font-size: 17px; max-width: 580px; margin-bottom: 22px; }
.hero-usp {
  color: var(--on-dark); font-size: 14.5px; font-weight: 600;
  max-width: 620px; margin-bottom: 26px;
  border-left: 4px solid var(--accent-l); padding-left: 14px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.pagehead { background: var(--primary); padding: 40px 0 36px; }
.pagehead h1 { color: #FFFFFF; }
.pagehead p { color: var(--on-dark); margin-top: 10px; max-width: 620px; font-size: 16px; }
/* Dringlichkeits-Variante für notdienst.html — dunkler als der normale
   Seitenkopf, damit der Notfallcharakter sofort ablesbar ist.
   Weiß auf --primary-xd #6E2419 = 10,89:1 ✓ AAA */
.pagehead-urgent { background: linear-gradient(180deg, var(--primary-d) 0%, var(--primary-xd) 100%); }

/* ── ERFAHRUNGS-SIEGEL (Vertrauenssignal) ───────────────────────── */
.head-split { display: grid; gap: 30px; }
.hero-photo-wrap { position: relative; width: 100%; }

.trust-badge-wrap {
  flex-shrink: 0; position: relative;
  width: 148px; height: 148px;
  display: flex; align-items: center; justify-content: center;
}
.hero-photo-wrap .trust-badge-wrap {
  position: absolute; right: -14px; bottom: -18px;
}
.trust-badge-wrap svg {
  width: 100%; height: 100%;
  filter: drop-shadow(0 8px 16px rgba(35,34,33,0.28));
}

.crumbs { font-size: 13px; color: var(--on-dark-soft); margin-bottom: 10px; }
.crumbs a { color: var(--on-dark-soft); text-decoration: underline; }
.crumbs a:hover { color: #FFFFFF; }

/* ── TRUST BAR ─────────────────────────────────────────────────── */
.trust-bar { background: var(--white); padding: 14px 0; border-bottom: 1px solid var(--border); }
.trust-bar-inner {
  display: flex; align-items: center; justify-content: center;
  gap: 10px 24px; flex-wrap: wrap;
}
.trust-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; color: var(--text);
}
.trust-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }

/* ── KARTEN / GRIDS ────────────────────────────────────────────── */
.grid-2, .grid-3, .grid-4 { display: grid; grid-template-columns: 1fr; gap: 20px; }
/* Grid-Kinder haben per Spec min-width:auto und schrumpfen deshalb NICHT
   unter die intrinsische Breite ihres Inhalts (z.B. table.data min-width:480px),
   selbst wenn ein Nachfahre overflow-x:auto hat — das treibt sonst die ganze
   Seite auf Mobile in horizontales Scrollen (gefunden 17.08.2026,
   notdienst.html, Erreichbarkeits-Tabelle im .grid-2). Standard-Fix: */
.grid-2 > *, .grid-3 > *, .grid-4 > * { min-width: 0; }
.grid-2 { gap: 28px; align-items: start; }

.card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-l); padding: 24px;
  box-shadow: var(--shadow-s);
  transition: box-shadow .2s, transform .2s;
  display: flex; flex-direction: column;
}
.card:hover, .card:focus-within { box-shadow: var(--shadow-m); transform: translateY(-2px); }
.card-top { border-top: 4px solid var(--accent); }
.card h3 { margin-bottom: 8px; color: var(--text); }
.card p { font-size: 15px; margin-bottom: 14px; flex-grow: 1; }
.card-link {
  color: var(--accent-ink); font-weight: 700; font-size: 14px;
  align-self: flex-start;
}
.card-link:hover { color: var(--primary); text-decoration: underline; }
.card-icon {
  width: 42px; height: 42px; border-radius: var(--radius-m);
  background: var(--bg); border: 1px solid var(--border);
  color: var(--accent-ink);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.card-icon svg { width: 22px; height: 22px; }

/* ── KUNDENSTIMMEN ─────────────────────────────────────────────── */
.section-quotes {
  background: linear-gradient(180deg, var(--primary) 0%, var(--primary-d) 100%);
}
.section.section-quotes h2 { color: #FFFFFF; }
.section-quotes .h-rule::after { background: var(--accent-l); }
.section-quotes .section-head p { color: var(--on-dark); }

.quote-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }

.quote-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 4px solid var(--accent);
  border-radius: var(--radius-l);
  padding: 22px 24px 24px;
  box-shadow: var(--shadow-m);
  display: flex; flex-direction: column;
  margin: 0;
}
.quote-mark {
  font-size: 42px; line-height: 0.7; font-weight: 800;
  color: var(--accent); margin-bottom: 6px;
}
.quote-card blockquote { margin: 0; flex-grow: 1; }
.quote-card blockquote p { color: var(--text); font-size: 15.5px; line-height: 1.65; }
.quote-author {
  margin-top: 16px; padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 14.5px; font-weight: 700; color: var(--text);
}
.quote-author span { display: block; margin-top: 2px; font-size: 13.5px; font-weight: 500; color: var(--muted); }
.quote-note {
  margin-top: 22px; font-size: 13px; line-height: 1.6;
  color: var(--on-dark-min);
  border-top: 1px solid rgba(255,255,255,0.18);
  padding-top: 14px;
}
.quote-note strong { color: var(--on-dark); }

/* ── GOOGLE-BUSINESS-PLATZHALTER (Standard-Paket) ──────────────── */
/* Bewusst OHNE Google-Logo und OHNE erfundene Sternebewertung: eine
   fiktive "4,9 von 5"-Zahl neben einem Google-Schriftzug sähe wie eine
   echte Bewertung aus. Stattdessen klar als Platzhalter markiert.
   Die Bewertungen selbst werden statisch als Text eingebettet (kein
   externes Widget) — dadurch fließen beim Seitenaufruf keine Daten an
   Google und es bleibt bei der statischen Cookie-Freiheit. */
.gbp-card {
  background: var(--white); border: 1px solid var(--border);
  border-left: 5px solid var(--accent);
  border-radius: var(--radius-m); padding: 20px 22px;
  box-shadow: var(--shadow-s);
}
.gbp-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.gbp-title { font-size: 16px; font-weight: 800; color: var(--text); }
.gbp-card p { font-size: 14.5px; }
.ph-chip {
  display: inline-block; font-size: 11.5px; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase;
  background: var(--bg); border: 1px solid var(--input-border);
  color: var(--accent-ink); border-radius: 999px; padding: 4px 10px;
}
.stars { display: flex; gap: 4px; }
.stars svg { width: 18px; height: 18px; color: var(--input-border); }

/* ── LEISTUNGSBLÖCKE ───────────────────────────────────────────── */
.service-block {
  background: var(--white); border: 1px solid var(--border);
  border-left: 5px solid var(--accent);
  border-radius: var(--radius-m);
  padding: 24px; margin-bottom: 32px;
}
.service-block h2 { margin-bottom: 10px; }
.service-block:last-of-type { margin-bottom: 0; }
.service-icon { margin-bottom: 16px; }
@media (min-width: 820px) {
  .service-reverse .grid-2 > :first-child { order: 2; }
  .service-reverse .grid-2 > :last-child { order: 1; }
}

.value-list { display: grid; gap: 12px; margin-top: 6px; }
.value-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; color: var(--text); }
.value-list .tick {
  flex-shrink: 0; width: 22px; height: 22px; margin-top: 2px;
  border-radius: 50%; background: var(--accent); color: var(--accent-text);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 800;
}

/* ── ABLAUF-SCHRITTE (nummeriert, ohne Bild) ───────────────────── */
.steps { counter-reset: step; display: grid; gap: 16px; }
.step {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-m);
  padding: 20px 20px 20px 64px; position: relative;
}
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 18px; top: 19px;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--accent); color: var(--accent-text);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 800;
}
.step h3 { margin-bottom: 6px; }
.step p { font-size: 15px; }
.section-alt .step { background: var(--bg); }

/* ── ÖFFNUNGSZEITEN / DEFINITIONSLISTEN ────────────────────────── */
.hours { border: 1px solid var(--border); border-radius: var(--radius-m); background: var(--white); overflow: hidden; }
.hours div {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 12px 16px; font-size: 15px; color: var(--text);
  border-bottom: 1px solid var(--border);
}
.hours div:last-child { border-bottom: none; }
.hours dt, .hours .day { font-weight: 700; }
.hours dd { text-align: right; }
.hours .closed { color: var(--muted); }
.hours .highlight { background: var(--bg); }

/* ── PREISLISTE (leistungen.html) ──────────────────────────────── */
/* Branchenüblich beim Dachdecker: keine festen Endpreise, sondern
   Ab-Preise/Preisrahmen je Quadratmeter oder Stück plus ausdrücklicher
   Hinweis, dass das verbindliche Angebot nach Ortstermin kommt. */
.pricelist {
  border: 1px solid var(--border); border-radius: var(--radius-m);
  background: var(--white); overflow: hidden; margin-top: 18px;
}
.section-alt .pricelist { background: var(--bg); }
.pricelist > div {
  display: flex; justify-content: space-between; gap: 18px;
  padding: 13px 16px; border-bottom: 1px solid var(--border);
}
.pricelist > div:last-child { border-bottom: none; }
/* min-width: 0 auf dt, damit lange Leistungsnamen ("Dachfenster neu
   einbauen") bei Bedarf umbrechen statt den Flex-Container über die
   Viewport-Breite hinauszutreiben — dd bleibt bewusst nowrap, ein
   Preis darf nicht mitten in der Zahl umbrechen (haeufige-fehler.md
   Technik #11, hier auf .pricelist statt .grid-2/3/4 übertragen).
   min-width: 0 reicht allein nicht: deutsche Komposita ohne Leerzeichen
   ("Zwischensparrendämmung mit Dampfbremse", "Komplettsanierung mit
   neuer Wärmedämmung") sind als EIN Wort länger als die geschrumpfte
   Spalte und überlaufen ohne Umbruchpunkt — overflow-wrap erlaubt den
   Umbruch als letzten Ausweg mitten im Wort, wenn nötig. */
.pricelist dt { font-size: 15px; font-weight: 600; color: var(--text); min-width: 0; overflow-wrap: break-word; }
.pricelist dd { font-size: 15px; font-weight: 800; color: var(--accent-ink); white-space: nowrap; text-align: right; flex-shrink: 0; }
.pl-note { display: block; font-size: 13px; font-weight: 400; color: var(--muted); margin-top: 3px; }
.price-note { font-size: 13.5px; color: var(--muted); margin-top: 12px; line-height: 1.6; }

/* ── ECHTE FOTOS ───────────────────────────────────────────────── */
.img-frame {
  width: 100%; aspect-ratio: 4 / 3;
  border-radius: var(--radius-l);
  overflow: hidden;
  box-shadow: var(--shadow-s);
}
.img-frame img { width: 100%; height: 100%; object-fit: cover; }
.img-frame.wide { aspect-ratio: 16 / 10; }
.photo-credit { font-size: 11.5px; color: var(--muted); margin-top: 6px; text-align: right; }
.photo-credit a { color: var(--muted); text-decoration: underline; }

/* ── FALLBEISPIEL-SEKTION ("Beispiele unserer Arbeit") ────────────── */
.showcase-grid { display: grid; grid-template-columns: 1fr; gap: 28px; }
.showcase-loc {
  display: inline-block; font-size: 11.5px; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent-ink); margin: 18px 0 6px;
}
.showcase-item h3 { margin-bottom: 8px; }
.showcase-item p { font-size: 15px; }

/* ── PROJEKTKARTEN (referenzen.html) ───────────────────────────── */
.project-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
.project {
  background: var(--white); border: 1px solid var(--border);
  border-top: 4px solid var(--accent);
  border-radius: var(--radius-l); overflow: hidden;
  box-shadow: var(--shadow-s);
  display: flex; flex-direction: column;
}
.project-body { padding: 22px 24px 24px; }
.project-body h3 { margin-bottom: 6px; }
.project-body > p { font-size: 15px; }
.spec { margin-top: 16px; border-top: 1px solid var(--border); }
.spec div {
  display: flex; justify-content: space-between; gap: 14px;
  padding: 9px 0; border-bottom: 1px solid var(--border);
  font-size: 14.5px;
}
.spec div:last-child { border-bottom: none; }
.spec dt { font-weight: 700; color: var(--muted); }
.spec dd { text-align: right; color: var(--text); }

/* ── ZAHLEN-BAND ───────────────────────────────────────────────── */
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.stat {
  background: var(--white); border: 1px solid var(--border);
  border-top: 4px solid var(--accent);
  border-radius: var(--radius-m); padding: 18px 14px; text-align: center;
}
.section-alt .stat { background: var(--bg); }
.stat-num { display: block; font-size: 32px; font-weight: 900; line-height: 1.1; color: var(--accent-ink); }
.stat-lbl { display: block; font-size: 13.5px; font-weight: 600; color: var(--muted); margin-top: 6px; }

/* ── GALERIE + LIGHTBOX (Standard-Paket) ───────────────────────── */
.gallery { display: grid; grid-template-columns: 1fr; gap: 14px; }
.gallery-btn {
  display: block; width: 100%; padding: 0; text-align: left;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-m); overflow: hidden; cursor: zoom-in;
  transition: box-shadow .2s, transform .2s;
}
.section-alt .gallery-btn { background: var(--bg); }
.gallery-btn:hover { box-shadow: var(--shadow-m); transform: translateY(-2px); }
.gallery-btn img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.g-cap { display: block; padding: 10px 14px 12px; font-size: 13.5px; font-weight: 600; color: var(--text); }
.gallery-hint { font-size: 13.5px; color: var(--muted); margin-top: 14px; }

.lightbox {
  position: fixed; inset: 0; z-index: 400;
  background: rgba(20,18,17,0.93);
  display: none; padding: 24px 20px;
}
.lightbox.open { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; }
.lightbox-figure { display: flex; justify-content: center; max-width: 100%; }
.lightbox-figure img {
  max-width: min(1000px, 100%); max-height: 72vh; width: auto;
  border-radius: var(--radius-m);
}
.lightbox-cap { color: #FFFFFF; font-size: 15px; line-height: 1.6; text-align: center; max-width: 640px; }
.lightbox-close {
  position: absolute; top: 14px; right: 14px;
  width: 46px; height: 46px; border-radius: 50%;
  border: 2px solid #FFFFFF; background: rgba(0,0,0,0.45);
  color: #FFFFFF; font-size: 20px; font-weight: 800; line-height: 1;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.lightbox-close:hover { background: rgba(0,0,0,0.75); }

/* ── NOTDIENST-SEITE ───────────────────────────────────────────── */
.emergency-card {
  background: var(--primary-d); color: #FFFFFF;
  border: 3px solid var(--accent-l);
  border-radius: var(--radius-l);
  padding: 24px 22px;
}
.emergency-card p,
.emergency-card li,
.emergency-card span,
.emergency-card strong,
.emergency-card h2 { color: #FFFFFF; }
.emergency-num {
  display: inline-block; margin: 8px 0 6px;
  font-size: clamp(28px, 7vw, 40px); font-weight: 900;
  letter-spacing: -0.01em; color: #FFFFFF; text-decoration: underline;
  text-underline-offset: 4px;
}
.emergency-num:hover { color: var(--accent-l); }
.emergency-meta { font-size: 14.5px; color: var(--on-dark-min); }

/* Warnhinweis (Eigengefährdung, "nicht selbst aufs Dach") */
.alert-box {
  background: #FBE9E7; border: 1px solid #F0C0B7;
  border-left: 5px solid var(--danger);
  border-radius: var(--radius-m); padding: 18px 20px;
}
.alert-box h3, .alert-box p, .alert-box li, .alert-box strong { color: #8C2A16; }
.alert-box h3 { margin-bottom: 8px; }
.alert-box p { font-size: 15px; }
.alert-box ul { display: grid; gap: 8px; margin-top: 10px; }
.alert-box li { font-size: 15px; padding-left: 18px; position: relative; line-height: 1.6; }
.alert-box li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 7px; height: 7px; border-radius: 50%; background: var(--danger);
}

/* ── DATENTABELLEN (Erreichbarkeit, Förderung, U-Werte) ────────── */
.table-wrap {
  overflow-x: auto; margin-top: 18px;
  border: 1px solid var(--border); border-radius: var(--radius-m);
  background: var(--white);
}
.section-alt .table-wrap { background: var(--bg); }
table.data { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 480px; }
table.data th, table.data td {
  text-align: left; padding: 12px 16px; vertical-align: top;
  border-bottom: 1px solid var(--border); color: var(--text);
}
table.data thead th {
  font-size: 12.5px; font-weight: 800; letter-spacing: .06em;
  text-transform: uppercase; color: var(--text);
  background: var(--bg);
}
.section-alt table.data thead th { background: var(--white); }
table.data tbody tr:last-child th,
table.data tbody tr:last-child td { border-bottom: none; }
table.data tbody th { font-weight: 700; }
.table-note { font-size: 13.5px; color: var(--muted); margin-top: 12px; line-height: 1.6; }

/* ── U-WERT-VERGLEICH (Datengrafik, kein Bildplatzhalter) ──────── */
.uwert { display: grid; gap: 16px; margin-top: 18px; }
.uwert-head {
  display: flex; justify-content: space-between; gap: 12px;
  font-size: 14.5px; font-weight: 700; color: var(--text); margin-bottom: 6px;
}
.uwert-track { height: 16px; border-radius: 8px; background: var(--border); overflow: hidden; }
.uwert-fill { height: 100%; border-radius: 8px; background: var(--primary); }
.uwert-fill.good { background: var(--accent); }
.uwert-note { font-size: 13px; color: var(--muted); margin-top: 6px; }

/* ── FAQ ───────────────────────────────────────────────────────── */
.faq { display: grid; gap: 14px; }
.faq-item {
  background: var(--white); border: 1px solid var(--border);
  border-left: 5px solid var(--accent);
  border-radius: var(--radius-m); padding: 18px 20px;
}
.section-alt .faq-item { background: var(--bg); }
.faq-item h3 { margin-bottom: 6px; }
.faq-item p { font-size: 15px; }

/* ── TRUST-/LEISTUNGS-CHIPS ────────────────────────────────────── */
.credential-strip { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }
.credential-chip {
  display: flex; align-items: center; gap: 10px;
  background: var(--white); border: 1px solid var(--border);
  border-radius: 999px; padding: 10px 18px 10px 12px;
  font-size: 13.5px; font-weight: 700; color: var(--text);
  box-shadow: var(--shadow-s);
}
.section-alt .credential-chip { background: var(--bg); }
.credential-chip .ci-mark {
  width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0;
  background: var(--bg); border: 1px solid var(--border);
  color: var(--accent-ink);
  display: flex; align-items: center; justify-content: center;
}
.section-alt .credential-chip .ci-mark { background: var(--white); }
.credential-chip .ci-mark svg { width: 16px; height: 16px; }

/* ── FORMULAR ──────────────────────────────────────────────────── */
.form-card {
  background: var(--white); border: 1px solid var(--border);
  border-top: 4px solid var(--accent);
  border-radius: var(--radius-l); padding: 24px;
  box-shadow: var(--shadow-s);
}
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 12px 14px;
  border: 1.5px solid var(--input-border); border-radius: var(--radius-m);
  font-size: 16px; font-family: var(--font); color: var(--text);
  background: var(--white); transition: border-color .15s, box-shadow .15s;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #6E6B65; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(166,58,44,0.18);
}
.form-group textarea { min-height: 130px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr; gap: 0; }
.req { color: var(--danger); font-weight: 700; }
.form-optional { font-weight: 400; color: var(--muted); }

.form-check { display: flex; gap: 12px; align-items: flex-start; }
.form-check input[type="checkbox"] {
  width: 20px; height: 20px; margin-top: 2px; flex-shrink: 0;
  accent-color: var(--primary); cursor: pointer;
}
.form-check label { font-size: 14px; font-weight: 400; color: var(--text); cursor: pointer; line-height: 1.55; }
.form-check a { color: var(--accent-ink); text-decoration: underline; }

.form-note { font-size: 13px; color: var(--muted); margin-top: 12px; line-height: 1.6; }
/* aria-live-Container: bewusst OHNE display:none-Umschaltung im JS-Pfad —
   main.js setzt zuerst die Klasse und schreibt den Text erst im nächsten
   Frame, sonst wird die Ansage von Screenreadern verschluckt
   (haeufige-fehler.md Technik #7). */
.form-status {
  margin-top: 14px; padding: 12px 14px; border-radius: var(--radius-m);
  font-size: 15px; font-weight: 600; display: none;
}
.form-status.show { display: block; }
.form-status.ok { background: #E6F2E6; color: #1E5B22; border: 1px solid #B7DAB8; }
.form-status.err { background: #FBE9E7; color: #8C2A16; border: 1px solid #F0C0B7; }

/* ── KONTAKTDATEN-BLOCK ────────────────────────────────────────── */
.contact-split { display: grid; grid-template-columns: 1fr; gap: 32px; }
.contact-list { display: grid; gap: 16px; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; color: var(--text); }
.contact-list .ci {
  flex-shrink: 0; width: 34px; height: 34px; border-radius: var(--radius-m);
  background: var(--primary); color: #FFFFFF;
  display: flex; align-items: center; justify-content: center;
}
.contact-list .ci svg { width: 18px; height: 18px; }
.contact-list .cl { display: block; font-size: 12px; font-weight: 700; letter-spacing: .07em;
                    text-transform: uppercase; color: var(--muted); }
.contact-list a { color: var(--accent-ink); text-decoration: underline; font-weight: 600; }
.contact-list a:hover { color: var(--primary); }
address { font-style: normal; }

/* ── GOOGLE MAPS — 2-KLICK-LÖSUNG ──────────────────────────────── */
.maps-wrapper {
  margin-top: 8px; border: 1px solid var(--border);
  border-radius: var(--radius-l); overflow: hidden; background: var(--white);
}
.maps-preview {
  min-height: 260px;
  background: linear-gradient(135deg, #EFEBE3 0%, #E6DFD8 100%);
  display: flex; align-items: center; justify-content: center;
  padding: 26px 20px; text-align: center;
}
.maps-overlay { max-width: 380px; }
.maps-overlay .maps-title { font-size: 17px; font-weight: 800; color: var(--text); margin-bottom: 4px; }
.maps-overlay .maps-addr { font-size: 15px; color: var(--muted); margin-bottom: 16px; }
.maps-overlay .maps-hint { font-size: 12.5px; color: var(--muted); margin-top: 12px; }
.maps-wrapper iframe { display: block; width: 100%; border: 0; }

/* ── RECHTSTEXTE (Impressum / Datenschutz) ─────────────────────── */
.legal { max-width: 780px; }
.legal h2 { margin-top: 40px; margin-bottom: 12px; }
.legal h2:first-of-type { margin-top: 0; }
.legal h3 { margin-top: 24px; margin-bottom: 8px; color: var(--text); }
.legal p { margin-bottom: 12px; }
.legal ul { margin: 0 0 12px 0; display: grid; gap: 8px; }
.legal ul li { font-size: 16px; color: var(--muted); padding-left: 18px; position: relative; line-height: 1.65; }
.legal ul li::before {
  content: ""; position: absolute; left: 0; top: 10px;
  width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
}
.legal address { font-size: 16px; color: var(--muted); line-height: 1.8; margin-bottom: 12px; }
.legal a { color: var(--accent-ink); text-decoration: underline; }
.legal a:hover { color: var(--primary); }
.legal code {
  font-family: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
  font-size: 14px; background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius-s); padding: 1px 5px; color: var(--text);
}
.legal .toc {
  background: var(--white); border: 1px solid var(--border);
  border-left: 5px solid var(--accent);
  border-radius: var(--radius-m); padding: 18px 20px; margin-bottom: 32px;
}
.legal .toc h2 { margin: 0 0 10px; font-size: 17px; }
.legal .toc ul { gap: 6px; }
.legal .toc li::before { top: 9px; }

.notice-box {
  background: #F0E9E4; border: 1px solid #DCCEC5;
  border-left: 5px solid var(--accent);
  border-radius: var(--radius-m); padding: 16px 18px; margin-bottom: 28px;
}
.notice-box p { color: #4A2E20; font-size: 14.5px; margin: 0; }
.notice-box p + p { margin-top: 8px; }
.notice-box strong { color: #3A2419; }

/* ── COOKIE-HINWEIS (statisch, kein Tracking) ──────────────────── */
.cookie-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 300;
  background: var(--primary-d);
  border-top: 3px solid var(--accent-l);
  padding: 14px 20px;
  box-shadow: 0 -4px 18px rgba(0,0,0,0.22);
  display: none;
}
.cookie-bar.show { display: block; }
.cookie-inner {
  max-width: 1080px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 12px; align-items: flex-start;
}
.cookie-bar, .cookie-inner, .cookie-text { color: var(--on-dark); }
.cookie-text { font-size: 14px; line-height: 1.6; }
/* Globale strong-Regel würde hier dunkles Grau erzwingen — explizit
   überschreiben (haeufige-fehler.md Technik #4). */
.cookie-text strong { color: #FFFFFF; }
.cookie-text a { color: #FFFFFF; text-decoration: underline; font-weight: 600; }
.cookie-bar .btn { flex-shrink: 0; padding: 10px 22px; }

/* ── NOTRUF-SCHNELLWAHL (mobil) ────────────────────────────────── */
/* Statt eines WhatsApp-Buttons (keine WhatsApp-Nummer im Briefing, siehe
   UEBERGABE-NOTIZ.md): Klick-zum-Anrufen für den Notdienst. Reiner
   tel:-Link, kein Drittanbieter, keine Datenübertragung. Nur bis 819px
   sichtbar — auf dem Desktop steht die Nummer ohnehin im Kopfbereich. */
.notruf-float {
  position: fixed; right: 16px; bottom: 16px;
  /* Höher als .cookie-bar (z-index 300) als zweite Absicherung — selbst
     falls die Höhenmessung unten je aus dem Tritt gerät, bleibt der
     Button wenigstens SICHTBAR (obenauf), statt komplett hinter der
     Leiste zu verschwinden (gefunden 17.08.2026, Schritt-7-Prüfung). */
  z-index: 310;
  display: flex; align-items: center; gap: 9px;
  background: var(--primary-d); color: #FFFFFF;
  border: 2px solid #FFFFFF; border-radius: 999px;
  padding: 12px 18px; font-size: 14.5px; font-weight: 800;
  box-shadow: 0 6px 18px rgba(0,0,0,0.32);
  transition: background-color .15s, transform .15s;
}
.notruf-float:hover { background: var(--accent-d); transform: translateY(-1px); }
.notruf-float svg { width: 19px; height: 19px; flex-shrink: 0; }
/* Solange die Hinweisleiste sichtbar ist, rutscht der Button hoch, damit
   sich beide nicht überlagern (Klasse setzt main.js). --cookie-bar-h wird
   per JS auf die TATSÄCHLICH gerenderte Höhe der Leiste gesetzt (ändert
   sich mit Zeilenumbruch/Bildschirmbreite) — 152px bleibt nur der
   Fallback, falls JS deaktiviert ist oder vor der ersten Messung. */
body.cookie-visible .notruf-float { bottom: calc(var(--cookie-bar-h, 152px) + 14px); }

/* ── FOOTER ────────────────────────────────────────────────────── */
/* Farbregeln stehen auf JEDEM umgebenden Element, nicht nur auf `a` —
   sonst fällt reiner Text (z. B. die Adresse) auf die dunkle globale
   Fließtextfarbe zurück (haeufige-fehler.md Technik #2). */
footer {
  background: var(--primary);
  border-top: 3px solid var(--accent-l);
  padding: 40px 0 20px;
  color: var(--on-dark);
}
footer p, footer li, footer div, footer span, footer address, footer strong, footer dt, footer dd { color: var(--on-dark); }
footer a { color: var(--on-dark); }
footer a:hover, footer a:focus-visible { color: var(--on-dark-min); text-decoration: underline; }

.footer-grid { display: grid; grid-template-columns: 1fr; gap: 28px; margin-bottom: 28px; }
footer h2, footer h4 {
  font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: var(--on-dark-soft); margin-bottom: 12px;
}
footer ul li { margin-bottom: 8px; font-size: 15px; line-height: 1.55; }
footer ul li:last-child { margin-bottom: 0; }
.footer-desc { font-size: 15px; line-height: 1.7; margin-top: 12px; max-width: 320px; color: var(--on-dark); }
.footer-logo { display: flex; align-items: center; gap: 10px; }
.footer-hours { font-size: 15px; line-height: 1.7; color: var(--on-dark); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.22);
  padding-top: 18px;
  display: flex; flex-direction: column; gap: 10px;
  font-size: 13px;
  color: var(--on-dark-min);
}
.footer-bottom span, .footer-bottom div { color: var(--on-dark-min); }
.footer-bottom a { color: var(--on-dark-min); }
.footer-bottom a:hover { color: #FFFFFF; }
.footer-bottom-links { display: flex; flex-wrap: wrap; gap: 8px 18px; }

.legal-notice { margin-top: 14px; font-size: 13px; color: var(--on-dark-min); }

.footer-demo-note {
  margin-top: 14px; font-size: 12.5px; line-height: 1.6;
  color: var(--on-dark-min);
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 12px;
}

/* ── HILFSKLASSEN ──────────────────────────────────────────────── */
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-40 { margin-top: 40px; }

/* ── RESPONSIVE (Mobile First → aufwärts) ──────────────────────── */
@media (min-width: 560px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .trust-badge-wrap { width: 168px; height: 168px; }
  .form-row { grid-template-columns: 1fr 1fr; gap: 16px; }
  .cookie-inner { flex-direction: row; align-items: center; justify-content: space-between; gap: 20px; }
  .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; }
  .service-block { padding: 28px 30px; }
  .form-card, .card { padding: 28px; }
  .notdienst-inner { flex-direction: row; align-items: center; }
  .emergency-card { padding: 30px 32px; }
  body.cookie-visible .notruf-float { bottom: 100px; }
}

@media (min-width: 820px) {
  .section { padding: 72px 0; }
  .hero { padding: 88px 0 76px; }
  .pagehead { padding: 56px 0 50px; }
  .nav-links { display: flex; }
  .nav-burger { display: none; }
  .nav-mobile, .nav-mobile.open { display: none; }
  .grid-2 { grid-template-columns: 1fr 1fr; gap: 40px; }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .quote-grid { grid-template-columns: repeat(3, 1fr); }
  .project-grid { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .steps { grid-template-columns: 1fr 1fr; }
  .contact-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 48px; align-items: start; }
  .head-split {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 400px);
    align-items: center; gap: 48px;
  }
  .hero-photo-wrap { justify-self: end; }
  .trust-badge-wrap { width: 186px; height: 186px; }
  .hero-photo-wrap .trust-badge-wrap { right: -20px; bottom: -24px; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 36px; }
  .cta-band { padding: 40px 32px; }
  h1 { font-size: 42px; }
  /* Auf dem Desktop nicht nötig — Nummer steht im Kopf und im Notdienst-Band */
  .notruf-float { display: none; }
}

@media (min-width: 1000px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}

/* ── DRUCK ─────────────────────────────────────────────────────── */
@media print {
  .nav, footer, .cookie-bar, .skip-link, .hero-actions, .btn,
  .notdienst-band, .notruf-float, .lightbox { display: none !important; }
  body { background: #FFFFFF; color: #000000; }
  .hero, .pagehead, .section-dark, .section-quotes, .emergency-card { background: #FFFFFF !important; }
  .hero h1, .pagehead h1, .section-dark h2, .section-quotes h2,
  .emergency-card, .emergency-card p, .emergency-card a { color: #000000 !important; }
}
