/* ===================================================================
   Kanzlei Wolters — Steuerberatung, Neukirchen-Vluyn
   VORTE Beispiel-Website (fiktiv, Paket: PREMIUM, 9 Seiten)

   Farbkonzept: Option A "Kompetenz in Blau" (von Hannes bestätigt) —
   gedecktes Kanzleiblau #1F3A5F + warmes Gold/Bronze #B08D3E.
   Typografie: Serifen-Systemstack (Georgia) für H1/H2 und Wortmarke,
   Sans-Systemstack für Fließtext. KEINE externen Schriftarten (DSGVO).

   Aufbau: Mobile First (Basis = Mobil, min-width-Queries = größer).

   HINWEIS: Fiktives Portfolio-Projekt. Alle Firmen-, Kontakt- und
   Pflichtangaben sind bewusst erfundene Platzhalter.
   =================================================================== */

/* ── KUNDENVARIABLEN ───────────────────────────────────────────── */
/*
   KONTRASTWERTE — selbst nach der WCAG-2.x-Formel gegen die
   tatsächlichen Hex-Werte ausgerechnet (relative Luminanz je Kanal,
   nicht geschätzt), Stand 21.08.2026.

   Verwendete Schwellen — genau diese zwei, sonst nichts
   (qualitaets-checkliste.md / haeufige-fehler.md Technik #9):
     ≥ 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-/Fettschriftbegründung durchgewinkt.

   (1) TEXTFARBEN
     #FFFFFF auf --primary   #1F3A5F ............... 11,48:1  ✓ AAA
     #FFFFFF auf --primary-d #16283F ............... 14,90:1  ✓ AAA
     --on-dark-soft #C3CCD9 auf --primary ...........  7,09:1  ✓ AAA
     --on-dark-min  #ABB6C6 auf --primary ...........  5,60:1  ✓ AA
     --on-dark-min  #ABB6C6 auf --primary-d .........  7,26:1  ✓ AAA
     --accent-l     #D4A94F auf --primary ...........  5,24:1  ✓ AA
     --accent-l     #D4A94F auf --primary-d .........  6,80:1  ✓ AAA
     --accent-text  #16283F auf --accent #B08D3E ....  4,77:1  ✓ AA
       → Buttons/Nav-CTA. Bewusst NICHT Weiß: Weiß auf diesem Gold
         ergibt nur 3,12:1 (klarer Fail für Normaltext). Und auch
         nicht --text #2C2C2C: das ergäbe 4,47:1 — knapp UNTER der
         Grenze, also ebenfalls unbrauchbar.
     --accent-text  #16283F auf --accent-l (Hover) ..  6,80:1  ✓ AAA
     --accent-ink   #7A5F26 auf --white .............  6,01:1  ✓ AA
     --accent-ink   #7A5F26 auf --bg ................  5,66:1  ✓ AA
     --text   #2C2C2C auf --bg #F7F8FA .............. 13,14:1  ✓ AAA
     --text   #2C2C2C auf --white ................... 13,97:1  ✓ AAA
     --text   #2C2C2C auf --ph-bg #E7EBF1 ........... 11,67:1  ✓ AAA
     --muted  #5A6270 auf --bg .......................  5,79:1  ✓ AA
     --muted  #5A6270 auf --white ....................  6,15:1  ✓ AA
     --muted  #5A6270 auf --ph-bg ....................  5,14:1  ✓ AA
     --muted  #5A6270 auf Kartenverlauf-Ende #DEE4EC .  4,81:1  ✓ AA
     --accent-ink #7A5F26 auf #DEE4EC ................  4,70:1  ✓ AA
       → Karten-Vorschaufläche der 2-Klick-Maps ist ein Verlauf;
         beide Endfarben einzeln geprüft, nicht nur --ph-bg.
     --danger #A33131 auf --white ....................  6,91:1  ✓ AA
     --danger #A33131 auf --bg .......................  6,50:1  ✓ AA
     --primary #1F3A5F auf --notice-bg #EDF1F6 ...... 10,12:1  ✓ AAA
     #4A3A14 auf --notice-warm-bg #F6F1E4 ...........  9,77:1  ✓ AAA
     Status OK:  #1E5B22 auf #E6F2E6 .................  7,07:1  ✓ AAA
     Status ERR: #8C2A16 auf #FBECEC .................  7,45:1  ✓ AAA

   (2) NICHT-TEXT-BEGRENZUNGEN (WCAG 1.4.11, ≥ 3:1)
       Zweite, eigenständige Liste — genau der blinde Fleck aus
       haeufige-fehler.md Technik #10 (dort war nur Textfarbe geprüft
       worden, der Button-Rahmen fiel durch).
     --input-border #7C8492 auf --white ..............  3,77:1  ✓
       → Formularfeld-Rahmen, Checkbox-Rahmen, Kartenvorschau-Rahmen
     --input-border #7C8492 auf --bg .................  3,55:1  ✓
     --ph-border    #7C8492 auf --ph-bg #E7EBF1 ......  3,15:1  ✓
       → gestrichelter Bildplatzhalter-Rahmen
     --accent-ink   #7A5F26 auf --white (btn-outline)   6,01:1  ✓
       → Rahmen des sekundären Buttons; SOLIDER Hex-Wert statt rgba(),
         weil der Rahmen dort das einzige Merkmal ist, das die Fläche
         als Schaltfläche erkennbar macht.
     --accent-l     #D4A94F auf --primary (btn-light-outline,
                    Nav-Unterkante, Footer-Oberkante) ..  5,24:1  ✓
     Fokusring --primary auf --bg ....................  10,81:1  ✓
     Fokusring --primary auf --white .................  11,48:1  ✓
     Fokusring #FFFFFF auf --primary (dunkle Bereiche)  11,48:1  ✓
     --accent #B08D3E auf --white .....................  3,12:1  ✓
       → nur als DEKORATIVE Linie/Fläche eingesetzt (Kartenoberkante,
         h-rule, Trust-Punkte). ACHTUNG: dieselbe Farbe auf --bg
         ergibt nur 2,94:1 — deshalb wird --accent NIRGENDS als
         bedeutungstragende Begrenzung auf --bg verwendet; dort steht
         immer --accent-ink oder --input-border.
     --border #DDE2E9 auf --white .....................  1,30:1
       → ausschließlich dekorative Kartenkontur, nie alleiniges
         Erkennungsmerkmal eines Bedienelements.
*/
:root {
  --primary:      #1F3A5F;   /* Kanzleiblau — Nav, Hero, Footer, Bänder */
  --primary-d:    #16283F;   /* Dunkler — Hover, Verlaufsende, Text auf Gold */
  --primary-l:    #35557F;   /* Heller — nur dekorativ auf dunklem Grund */
  --accent:       #B08D3E;   /* Gold/Bronze — CTA-Flächen, Dekorlinien */
  --accent-l:     #D4A94F;   /* Helles Gold — TEXT/Linien AUF dunklem Grund */
  --accent-ink:   #7A5F26;   /* Dunkles Gold — TEXT/Rahmen auf hellem Grund */
  --accent-text:  #16283F;   /* Text AUF --accent (Buttons, Nav-CTA) */

  --bg:           #F7F8FA;   /* Helles Blaugrau — Seitenhintergrund */
  --white:        #FFFFFF;
  --text:         #2C2C2C;   /* Fließtext */
  --muted:        #5A6270;   /* Sekundärtext */
  --border:       #DDE2E9;   /* dekorative Kartenrahmen (kein UI-Rahmen!) */
  --input-border: #7C8492;   /* Bedienelement-Rahmen, ≥3:1 (WCAG 1.4.11) */
  --danger:       #A33131;   /* Pflichtfeld-Sternchen */

  --ph-bg:        #E7EBF1;   /* Bildplatzhalter-Fläche */
  --ph-border:    #7C8492;   /* Bildplatzhalter-Rahmen (gestrichelt) */
  --notice-bg:    #EDF1F6;   /* Hinweiskasten, blau getönt */
  --notice-brd:   #CFDAE6;
  --notice-warm-bg:  #F6F1E4;  /* Hinweiskasten, gold getönt */
  --notice-warm-brd: #E4D6B0;
  --notice-warm-ink: #4A3A14;

  /* Textfarben in dunklen Bereichen — bewusst SOLIDE Hex-Werte statt
     rgba()-Opacity: der nötige Alphawert hängt an der Helligkeit der
     konkreten --primary und ist damit von Projekt zu Projekt anders
     (haeufige-fehler.md Technik #1/#3). Solide Werte lassen sich
     einmal ausrechnen und bleiben gültig. */
  --on-dark:      #FFFFFF;   /* Fließtext auf --primary (11,48:1) */
  --on-dark-soft: #C3CCD9;   /* Sekundärtext, Nav-Links (7,09:1) */
  --on-dark-min:  #ABB6C6;   /* Kleinstext, Footer-Bottom (5,60:1) */

  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
          'Helvetica Neue', Arial, 'Noto Sans', sans-serif;
  /* Serifen-SYSTEM-Stack für Überschriften — klassischer, seriöser
     Kanzleicharakter, aber weiterhin ohne jede externe Schriftdatei.
     Bewusst NICHT für Ziffern-lastige Elemente (Jahreszahl-Badge,
     nummerierte Kacheln, Kennzahlen): Georgia setzt Mediävalziffern,
     die dort unruhig wirken — diese Elemente nutzen var(--font). */
  --font-head: Georgia, 'Times New Roman', Times, serif;

  --radius-s: 4px;
  --radius-m: 8px;
  --radius-l: 14px;
  --shadow-s: 0 1px 4px rgba(31,58,95,0.10);
  --shadow-m: 0 6px 20px rgba(31,58,95,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 #main-content (Skip-Link) und
   künftig ergänzte IDs. Bewusst nicht als scroll-margin-top auf
   Einzelselektoren (haeufige-fehler.md Technik #6). */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  -webkit-text-size-adjust: 100%;
}
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; }
/* BEIDE Listentypen zurücksetzen, nicht nur ul: Die vier <ol> dieser
   Website (.steps auf drei Seiten, .timeline auf ueber-uns.html) tragen
   ihre Nummer/Jahreszahl als eigenes Element bzw. als CSS-Counter
   (.step::before). Ob der native ::marker daneben zusätzlich gerendert
   wird, ist bei Grid-Kindern browserabhängig (Firefox zeigt ihn,
   Chromium meist nicht) — es gäbe also je nach Browser eine doppelte
   Nummerierung. Siehe haeufige-fehler.md Technik #15. */
ul, ol { 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);   /* 10,81:1 auf --bg, 11,48:1 auf Weiß */
  outline-offset: 2px;
  border-radius: var(--radius-s);
}
/* Umkehrung für alle dunklen Flächen — sonst verschwindet der
   Fokusring in Nav/Hero/Footer/Hinweisleiste (haeufige-fehler.md
   Technik #13: bei jeder Hell/Dunkel-Rolle die outline-Regeln
   einzeln gegenprüfen, nicht nur die Textfarben). */
.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,
.section-quotes a:focus-visible,
.cta-dark a:focus-visible,
.cookie-bar a:focus-visible,
.cookie-bar button:focus-visible,
footer a:focus-visible {
  outline-color: #FFFFFF;              /* 11,48:1 auf --primary */
}

/* ── 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); }
/* WICHTIG — Spezifität, nicht nur Reihenfolge:
   Die generischen Regeln `.section h2 { color: var(--text) }` und
   `.section h3 { … }` stehen weiter UNTEN in dieser Datei und haben
   dieselbe Spezifität (0,1,1) wie ein einfaches `.section-dark h2`.
   Bei Gleichstand gewinnt die spätere Regel — die Überschrift im
   dunklen Band fiele damit auf #2C2C2C auf #1F3A5F zurück (1,22:1,
   praktisch unlesbar). Deshalb hier die Compound-Selektoren
   `.section.section-dark …` (0,2,1), die unabhängig von der
   Quellreihenfolge gewinnen. Siehe haeufige-fehler.md Technik #14. */
.section-dark, .section-dark p, .section-dark li,
.section.section-dark, .section.section-dark p,
.section.section-dark li { color: var(--on-dark); }
.section-dark h2, .section-dark h3,
.section.section-dark h2, .section.section-dark h3 { color: #FFFFFF; }
/* Listen-Varianten mit eigener Farbregel (.bullets li / .value-list li
   stehen ebenfalls später in der Datei) einzeln nachziehen. */
.section.section-dark .bullets li,
.section.section-dark .value-list li { color: var(--on-dark); }
.section.section-dark .bullets li::before { background: var(--accent-l); }
.narrow { max-width: 760px; }

/* ── TYPOGRAFIE ────────────────────────────────────────────────── */
h1, h2 { font-family: var(--font-head); font-weight: 700; }
/* overflow-wrap: lange deutsche Komposita ohne Leerzeichen koennen auf
   schmalen Viewports breiter sein als die verfuegbare Spalte und ohne
   Umbruchpunkt horizontal ueberlaufen -- praeventiv nach Fund auf
   berger-bedachungen/leistungen.html (30.08.2026), siehe
   haeufige-fehler.md Technik #16. */
h1 { font-size: clamp(27px, 5.4vw, 40px); line-height: 1.18; letter-spacing: -0.01em; overflow-wrap: break-word; }
h2 { font-size: clamp(22px, 4vw, 30px); line-height: 1.25; }
h3 { font-size: 18px; font-weight: 700; line-height: 1.4; }
h4 { font-size: 15px; font-weight: 700; }
p  { font-size: 16px; line-height: 1.75; color: var(--muted); }
.lead { font-size: 17.5px; color: var(--text); line-height: 1.7; }
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: 660px; }

/* Feine Goldlinie unter Abschnittsüberschriften (rein dekorativ) */
.h-rule::after {
  content: ""; display: block;
  width: 54px; height: 3px; border-radius: 2px;
  background: var(--accent);
  margin-top: 14px;
}
.section-dark .h-rule::after,
.section-quotes .h-rule::after,
.hero .h-rule::after { background: var(--accent-l); }

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

/* Fließtext-Links */
.section a:not(.btn):not(.card-link):not(.nav-link):not(.nav-cta) {
  color: var(--accent-ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.section a:not(.btn):not(.card-link):not(.nav-link):not(.nav-cta):hover {
  color: var(--primary);
}
/* Die :not()-Kette wird hier bewusst WIEDERHOLT: die generische
   Fließtext-Link-Regel darüber hat Spezifität (0,5,1); ein kurzes
   `.section-dark a:not(.btn)` käme nur auf (0,2,1) und würde verlieren —
   der Link im dunklen Band bekäme dann --accent-ink (#7A5F26) auf
   --primary = 1,91:1. Mit derselben Kette plus zusätzlicher Klasse
   sind es (0,6,1). Siehe haeufige-fehler.md Technik #14. */
.section-dark a:not(.btn):not(.card-link):not(.nav-link):not(.nav-cta),
.section-quotes a:not(.btn):not(.card-link):not(.nav-link):not(.nav-cta) { color: var(--accent-l); }
.section-dark a:not(.btn):not(.card-link):not(.nav-link):not(.nav-cta):hover,
.section-quotes a:not(.btn):not(.card-link):not(.nav-link):not(.nav-cta):hover { color: #FFFFFF; }

/* Aufzählungen (ul hat global list-style: none) */
.bullets { display: grid; gap: 10px; margin-top: 14px; }
.bullets li {
  position: relative; padding-left: 22px;
  font-size: 16px; color: var(--muted); line-height: 1.7;
}
.bullets li::before {
  content: ""; position: absolute; left: 0; top: 11px;
  width: 7px; height: 7px; border-radius: 50%; background: var(--accent-ink);
}
.bullets strong { color: var(--text); }
.bullets.on-dark li { color: var(--on-dark); }
.bullets.on-dark li::before { background: var(--accent-l); }
/* Globale strong-Regel zielt direkt aufs Element und gewinnt gegen
   jede nur vererbte Farbe — in dunklen Bereichen deshalb IMMER
   explizit überschreiben (haeufige-fehler.md Technik #4). */
.bullets.on-dark strong,
.section-dark strong,
.section-quotes .section-head strong,
.cta-dark strong,
.hero strong { color: #FFFFFF; }

/* ── BUTTONS ───────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 26px; border-radius: var(--radius-s);
  font-family: var(--font); font-size: 15px; font-weight: 700;
  cursor: pointer; text-align: center;
  border: 2px solid transparent;
  transition: background-color .15s, border-color .15s, color .15s, transform .15s;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-block { width: 100%; }

/* Gold-Button: dunkles Kanzleiblau als Schrift (4,77:1) — NICHT Weiß */
.btn-primary { background: var(--accent); color: var(--accent-text); }
.btn-primary:hover { background: var(--accent-l); transform: translateY(-1px); }

.btn-secondary { background: var(--primary); color: #FFFFFF; }
.btn-secondary:hover { background: var(--primary-d); transform: translateY(-1px); }

/* Sekundärer Button auf hellem Grund. Rahmen als SOLIDER Hex-Wert:
   ein rgba()-Rahmen deckt je nach Untergrund unvorhersehbar auf und
   war bei Berger Bedachungen mit 2,13:1 durchgefallen
   (haeufige-fehler.md Technik #10). --accent-ink = 6,01:1 auf Weiß. */
.btn-outline { background: transparent; color: var(--text); border-color: var(--accent-ink); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); background: rgba(31,58,95,0.06); }

/* Sekundärer Button auf dunklem Grund: --accent-l-Rahmen = 5,24:1 */
.btn-outline-light { background: transparent; color: #FFFFFF; border-color: var(--accent-l); }
.btn-outline-light:hover { border-color: #FFFFFF; background: rgba(255,255,255,0.12); }

/* Heller Button in dunklen Bändern */
.btn-light { background: #FFFFFF; color: var(--primary); border-color: #FFFFFF; }
.btn-light:hover { background: var(--accent-l); border-color: var(--accent-l); color: var(--primary-d); }

/* ── CTA-BAND ──────────────────────────────────────────────────── */
.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: 10px; }
.cta-band p { margin-bottom: 20px; max-width: 620px; margin-left: auto; margin-right: auto; }
.cta-band .btn-row { justify-content: center; }

.cta-dark {
  background: linear-gradient(180deg, var(--primary) 0%, var(--primary-d) 100%);
  border-radius: var(--radius-l);
  padding: 32px 24px; text-align: center;
}
.cta-dark h2 { color: #FFFFFF; margin-bottom: 10px; }
.cta-dark p { color: var(--on-dark); margin-bottom: 22px; max-width: 620px; margin-left: auto; margin-right: auto; }
.cta-dark .btn-row { justify-content: center; }

/* ── 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: 11px; color: #FFFFFF; }
.nav-logo-mark {
  width: 36px; height: 36px; flex-shrink: 0;
  border-radius: var(--radius-s);
  background: var(--accent); color: var(--accent-text);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-weight: 700; font-size: 16px; letter-spacing: .02em;
}
.nav-logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.nav-logo-name {
  font-family: var(--font-head);
  font-size: 16px; font-weight: 700; color: #FFFFFF;
}
.nav-logo-sub {
  font-size: 10.5px; font-weight: 600; letter-spacing: .08em;
  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: 10px; 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-l); }

.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.18);
}
.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.14);
  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 / SEITENKOPF ─────────────────────────────────────────── */
.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: 17.5px; max-width: 580px; margin-bottom: 26px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.head-split { display: grid; gap: 30px; }
.hero-photo-wrap { position: relative; width: 100%; }

.pagehead { background: var(--primary); padding: 40px 0 36px; }
.pagehead h1 { color: #FFFFFF; }
.pagehead p { color: var(--on-dark); margin-top: 12px; max-width: 640px; font-size: 16.5px; }

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

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

/* ── ERFAHRUNGS-SIEGEL ─────────────────────────────────────────── */
/* Bewusst rein geometrisch: ein Ring plus ein Perlrand, der aus EINEM
   Kreis mit runden Dash-Enden entsteht (mathematisch exakt gleich
   verteilte Punkte). Kein handgezeichnetes Blatt-/Kranzmotiv — genau
   dieses Muster ist bei zwei Vorgängerprojekten mehrfach gescheitert
   (haeufige-fehler.md Design/Wirkung #4). Kein Rund-Siegel im Stil
   eines echten Drittzertifikats: die Aussage ist eine EIGENE Angabe
   ("seit 2011"), kein verliehenes Siegel. */
.trust-badge-wrap {
  flex-shrink: 0; position: relative;
  width: 140px; height: 140px;
  display: flex; align-items: center; justify-content: center;
}
.hero-photo-wrap .trust-badge-wrap {
  position: absolute; right: -10px; bottom: -16px;
}
.trust-badge-wrap svg {
  width: 100%; height: 100%;
  filter: drop-shadow(0 8px 16px rgba(22,40,63,0.30));
}

/* ── BILDPLATZHALTER ───────────────────────────────────────────── */
/* Platzhalter-Muster aus tech-standards.md: gestrichelter Rahmen +
   Motiv-Chip + HTML-Kommentar mit fertigem <img>-Ersatzmarkup direkt
   darüber. Die echten Fotos beschafft die Hauptsession in einem
   eigenen Arbeitsschritt (siehe demo-fotos.md). Bis dahin bleiben
   alle 13 Platzhalter stehen — sie sind bewusst deutlich als solche
   erkennbar und dürfen so nicht live gehen. */
.img-ph {
  width: 100%; aspect-ratio: 4 / 3;
  border: 2px dashed var(--ph-border);
  border-radius: var(--radius-l);
  background: var(--ph-bg);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 10px; padding: 20px; text-align: center;
}
.img-ph.wide { aspect-ratio: 16 / 10; }
.img-ph.tall { aspect-ratio: 3 / 4; }
.img-ph.square { aspect-ratio: 1 / 1; }
.ph-icon { width: 30px; height: 30px; color: var(--accent-ink); }
.ph-icon svg { width: 100%; height: 100%; }
.ph-chip {
  display: inline-block;
  background: var(--white); border: 1px solid var(--ph-border);
  border-radius: 999px; padding: 6px 15px;
  font-size: 12.5px; font-weight: 700; color: var(--text);
}
.ph-note { font-size: 12.5px; line-height: 1.55; color: var(--muted); max-width: 300px; }

/* Rahmen für die späteren ECHTEN Fotos — identische Proportionen wie
   der Platzhalter, damit sich beim Austausch nichts verschiebt. */
.img-frame {
  width: 100%; aspect-ratio: 4 / 3;
  border-radius: var(--radius-l); overflow: hidden;
  background: var(--ph-bg); box-shadow: var(--shadow-s);
}
.img-frame.wide { aspect-ratio: 16 / 10; }
.img-frame.tall { aspect-ratio: 3 / 4; }
.img-frame img { width: 100%; height: 100%; object-fit: cover; }
.photo-credit { font-size: 11.5px; color: var(--muted); margin-top: 6px; text-align: right; }

/* ── KARTEN / GRIDS ────────────────────────────────────────────── */
.grid-2, .grid-3, .grid-4 { display: grid; grid-template-columns: 1fr; gap: 20px; }
/* Grid-Kinder haben per Spezifikation min-width:auto und schrumpfen
   deshalb NICHT unter die intrinsische Breite ihres Inhalts (breite
   Tabelle, festes Element) — auch dann nicht, wenn ein Nachfahre
   overflow-x:auto trägt. Ohne diese Regel zieht ein einziges breites
   Kind die ganze Seite auf Mobile in horizontales Scrollen
   (haeufige-fehler.md Technik #11). */
.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: 16px; flex-grow: 1; }
.card-link {
  color: var(--accent-ink); font-weight: 700; font-size: 14.5px;
  align-self: flex-start; text-decoration: underline; text-underline-offset: 3px;
}
.card-link:hover { color: var(--primary); }
.card-icon {
  width: 44px; height: 44px; 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: 16px;
}
.card-icon svg { width: 23px; height: 23px; }
.section-alt .card { background: var(--bg); }
.section-alt .card-icon { background: var(--white); }

/* ── NUMMERIERTE LEISTUNGSKACHELN (leistungen.html) ────────────── */
.numgrid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.numgrid > * { min-width: 0; }
.numcard {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-l);
  padding: 22px 24px 24px;
  box-shadow: var(--shadow-s);
  display: flex; flex-direction: column;
  transition: box-shadow .2s, transform .2s;
}
.numcard:hover, .numcard:focus-within { box-shadow: var(--shadow-m); transform: translateY(-2px); }
.section-alt .numcard { background: var(--bg); }
.numcard-no {
  display: block;
  font-family: var(--font);            /* bewusst Sans: Mediävalziffern
                                          der Serifenschrift wirken hier
                                          unruhig */
  font-size: 30px; font-weight: 800; line-height: 1;
  color: var(--accent-ink);
  margin-bottom: 12px;
}
.numcard-no::after {
  content: ""; display: block;
  width: 34px; height: 3px; border-radius: 2px;
  background: var(--accent); margin-top: 10px;
}
.numcard h3 { margin-bottom: 8px; }
.numcard p { font-size: 15px; margin-bottom: 16px; flex-grow: 1; }

/* ── LEISTUNGSBLÖCKE (Detailseiten) ────────────────────────────── */
.svc-block {
  background: var(--white); border: 1px solid var(--border);
  border-left: 5px solid var(--accent);
  border-radius: var(--radius-m);
  padding: 24px; margin-bottom: 26px;
}
.section-alt .svc-block { background: var(--bg); }
.svc-block:last-of-type { margin-bottom: 0; }
.svc-block h2, .svc-block h3 { margin-bottom: 10px; }
.svc-head { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.svc-head h2, .svc-head h3 { margin-bottom: 0; }
.svc-mark {
  width: 42px; height: 42px; flex-shrink: 0;
  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;
}
.section-alt .svc-mark { background: var(--white); }
.svc-mark svg { width: 22px; height: 22px; }

/* ── HAKENLISTE ────────────────────────────────────────────────── */
.value-list { display: grid; gap: 13px; margin-top: 8px; }
.value-list li { display: flex; gap: 13px; align-items: flex-start; font-size: 16px; color: var(--text); line-height: 1.6; }
.value-list .tick {
  flex-shrink: 0; width: 23px; height: 23px; margin-top: 3px;
  border-radius: 50%; background: var(--primary); color: #FFFFFF;
  display: flex; align-items: center; justify-content: center;
}
.value-list .tick svg { width: 13px; height: 13px; }
.value-list.gold .tick { background: var(--accent-ink); }

/* ── USP-BLÖCKE (eigenständig hervorgehoben, nicht nur Fließtext) ── */
.usp-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.usp-grid > * { min-width: 0; }
.usp {
  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);
}
.section-alt .usp { background: var(--bg); }
.usp-mark {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--primary); color: #FFFFFF;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.usp-mark svg { width: 20px; height: 20px; }
.usp h3 { margin-bottom: 8px; }
.usp p { font-size: 15px; }

/* ── ABLAUF-SCHRITTE ───────────────────────────────────────────── */
.steps { counter-reset: step; display: grid; gap: 16px; }
.steps > * { min-width: 0; }
.step {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-m);
  padding: 20px 20px 20px 66px; position: relative;
}
.section-alt .step { background: var(--bg); }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 18px; top: 19px;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--primary); color: #FFFFFF;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font); font-size: 15px; font-weight: 800;
}
.step h3 { margin-bottom: 6px; }
.step p { font-size: 15px; }

/* ── WERDEGANG (Zeitleiste, ueber-uns.html) ────────────────────── */
.timeline { display: grid; gap: 0; margin-top: 8px; border-left: 3px solid var(--border); }
.timeline li { position: relative; padding: 0 0 26px 26px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: ""; position: absolute; left: -9.5px; top: 7px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--accent); border: 3px solid var(--bg);
}
.section-alt .timeline li::before { border-color: var(--white); }
.tl-year {
  display: block; font-family: var(--font);
  font-size: 13px; font-weight: 800; letter-spacing: .1em;
  color: var(--accent-ink); margin-bottom: 3px;
}
.timeline h3 { margin-bottom: 5px; }
.timeline p { font-size: 15px; }

/* ── TEAM (Monogramm-Karten, KEINE Portraitfotos) ──────────────── */
.team-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.team-grid > * { min-width: 0; }
.team-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);
}
.section-alt .team-card { background: var(--bg); }
.team-mono {
  width: 62px; height: 62px; border-radius: 50%;
  background: var(--primary); color: #FFFFFF;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-size: 22px; font-weight: 700; letter-spacing: .04em;
  margin-bottom: 16px;
}
.team-card h3 { margin-bottom: 2px; }
.team-role {
  font-size: 13.5px; font-weight: 700; color: var(--accent-ink);
  letter-spacing: .04em; text-transform: uppercase; margin-bottom: 10px;
}
.team-card p:last-child { font-size: 15px; }
.team-note {
  margin-top: 22px; font-size: 13.5px; line-height: 1.65;
  color: var(--muted); border-top: 1px solid var(--border); padding-top: 14px;
}

/* ── FALLBEISPIELE ─────────────────────────────────────────────── */
.case-grid { display: grid; grid-template-columns: 1fr; gap: 30px; }
.case-grid > * { min-width: 0; }
.case-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;
}
.case-item h3 { margin-bottom: 8px; font-size: 19px; }
.case-item p { font-size: 15px; }
.case-result {
  margin-top: 14px; padding: 12px 16px;
  background: var(--notice-bg); border-left: 4px solid var(--accent-ink);
  border-radius: var(--radius-s);
  font-size: 14.5px; color: var(--text); line-height: 1.65;
}
.case-result strong { color: var(--primary); }

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

.quote-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.quote-grid > * { min-width: 0; }
.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-family: var(--font-head);
  font-size: 46px; line-height: 0.75; font-weight: 700;
  color: var(--accent); margin-bottom: 8px;
}
.quote-card blockquote { margin: 0; flex-grow: 1; }
.quote-card blockquote p { color: var(--text); font-size: 15.5px; line-height: 1.7; }
.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: 24px; font-size: 13.5px; line-height: 1.7;
  color: var(--on-dark-min);
  border-top: 1px solid rgba(255,255,255,0.22);
  padding-top: 14px;
}
.quote-note strong { color: #FFFFFF; }

/* ── VERTRAUENS-CHIPS ──────────────────────────────────────────── */
.credential-strip { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 24px; }
.credential-chip {
  display: flex; align-items: center; gap: 11px;
  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; }

/* ── KENNZAHLEN ────────────────────────────────────────────────── */
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.stats > * { min-width: 0; }
.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-family: var(--font);
  font-size: 30px; font-weight: 800; 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; }

/* ── 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; }

/* ── DATENTABELLEN ─────────────────────────────────────────────── */
.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: 460px; }
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; 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; width: 40%; }
.table-note { font-size: 13.5px; color: var(--muted); margin-top: 12px; line-height: 1.65; }

.ph-tag {
  display: inline-block; font-size: 11px; font-weight: 800;
  letter-spacing: .07em; text-transform: uppercase;
  background: var(--notice-warm-bg); border: 1px solid var(--notice-warm-brd);
  color: var(--notice-warm-ink); border-radius: 999px;
  padding: 2px 9px; margin-left: 6px; white-space: nowrap;
}

/* ── ÖFFNUNGSZEITEN ────────────────────────────────────────────── */
.hours {
  border: 1px solid var(--border); border-radius: var(--radius-m);
  background: var(--white); overflow: hidden;
}
.section-alt .hours { background: var(--bg); }
.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 { font-weight: 700; }
.hours dd { text-align: right; color: var(--muted); }
.hours .closed { color: var(--muted); }
.hours .highlight { background: var(--notice-bg); }

/* ── HINWEISKÄSTEN ─────────────────────────────────────────────── */
.notice-box {
  background: var(--notice-bg);
  border: 1px solid var(--notice-brd);
  border-left: 5px solid var(--primary);
  border-radius: var(--radius-m);
  padding: 16px 18px;
}
.notice-box h3 { margin-bottom: 8px; color: var(--primary); }
.notice-box p { color: var(--primary); font-size: 14.5px; margin: 0; }
.notice-box p + p { margin-top: 8px; }
.notice-box strong { color: var(--primary-d); }
.notice-box a { color: var(--primary) !important; }

.notice-box.warm {
  background: var(--notice-warm-bg);
  border-color: var(--notice-warm-brd);
  border-left-color: var(--accent-ink);
}
.notice-box.warm h3,
.notice-box.warm p { color: var(--notice-warm-ink); }
.notice-box.warm strong { color: #33280E; }
.notice-box.warm a { color: var(--notice-warm-ink) !important; }

/* ── TERMINPLATZHALTER (Premium-Zusatzfunktion) ────────────────── */
.booking-card {
  background: var(--white);
  border: 2px dashed var(--ph-border);
  border-radius: var(--radius-l);
  padding: 24px;
}
.booking-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.booking-title { font-family: var(--font-head); font-size: 19px; font-weight: 700; color: var(--text); }
.booking-card p { font-size: 14.5px; }
.booking-card p + p { margin-top: 10px; }

/* ── 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;
  /* --input-border (3,77:1 auf Weiß) statt des rein dekorativen
     --border: Formularfeld-Rahmen sind Bedienelement-Grenzen und
     brauchen nach WCAG 1.4.11 mindestens 3:1. */
  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: var(--muted); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);        /* 11,48:1 auf Weiß */
  box-shadow: 0 0 0 3px rgba(31,58,95,0.18);
}
.form-group textarea { min-height: 140px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr; gap: 0; }
.form-row > * { min-width: 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.6; }
.form-check a { color: var(--accent-ink); text-decoration: underline; }

.form-note { font-size: 13px; color: var(--muted); margin-top: 12px; line-height: 1.65; }

/* aria-live-Container: main.js setzt ZUERST die Sichtbarkeitsklasse
   und schreibt den Text erst im nächsten Frame — sonst verschlucken
   Screenreader die Ansage, weil das Element beim Textwechsel noch
   display:none war (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: #FBECEC; color: #8C2A16; border: 1px solid #F0C6C6; }

/* ── KONTAKTDATEN ──────────────────────────────────────────────── */
.contact-split { display: grid; grid-template-columns: 1fr; gap: 34px; }
.contact-split > * { min-width: 0; }
.contact-list { display: grid; gap: 16px; }
.contact-list li { display: flex; gap: 13px; 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(--input-border);
  border-radius: var(--radius-l); overflow: hidden; background: var(--white);
}
.maps-preview {
  min-height: 280px;
  /* Verlaufsende bewusst hell gehalten (#DEE4EC statt eines dunkleren
     Blaugraus): --muted käme auf einem dunkleren Ende nur auf 4,58:1 —
     rechnerisch noch über 4,5, aber ohne Puffer. Auf #DEE4EC sind es
     4,81:1 für --muted und 4,70:1 für --accent-ink (Link im Hinweis).
     Siehe haeufige-fehler.md Technik #9: Grenzwerte nicht knapp
     durchwinken, sondern die Farbe anpassen. */
  background: linear-gradient(135deg, var(--ph-bg) 0%, #DEE4EC 100%);
  display: flex; align-items: center; justify-content: center;
  padding: 26px 20px; text-align: center;
}
.maps-overlay { max-width: 400px; }
.maps-overlay .maps-title { font-family: var(--font-head); font-size: 19px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.maps-overlay .maps-addr { font-size: 15px; color: var(--muted); margin-bottom: 18px; }
.maps-overlay .maps-hint { font-size: 12.5px; color: var(--muted); margin-top: 14px; }
.maps-wrapper iframe { display: block; width: 100%; border: 0; }

/* ── RECHTSTEXTE ───────────────────────────────────────────────── */
.legal { max-width: 800px; }
.legal h2 { margin-top: 44px; margin-bottom: 12px; }
.legal h2:first-of-type { margin-top: 0; }
.legal h3 { margin-top: 26px; 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: 20px; position: relative; line-height: 1.7; }
.legal ul li::before {
  content: ""; position: absolute; left: 0; top: 11px;
  width: 7px; height: 7px; border-radius: 50%; background: var(--accent-ink);
}
.legal address { font-size: 16px; color: var(--muted); line-height: 1.85; 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(--ph-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: 34px;
}
.legal .toc h2 { margin: 0 0 10px; font-size: 18px; }
.legal .toc ul { gap: 6px; }
.legal .toc li::before { top: 10px; }
.legal .notice-box { margin-bottom: 30px; }
.legal .notice-box ul li { color: var(--primary); }
.legal .notice-box ul li::before { background: var(--primary); }

/* ── DATENSCHUTZ-HINWEISLEISTE (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.28);
  display: none;
}
.cookie-bar.show { display: block; }
/* main.js setzt zusätzlich `cookie-visible` auf <body>, solange die
   Leiste sichtbar ist. Ohne eine passende CSS-Regel wäre die Klasse
   wirkungslos und die fixierte Leiste würde den unteren Seitenbereich
   dauerhaft verdecken — auf kurzen Seiten genau den Footer mit den
   Impressum-/Datenschutz-Links, der erreichbar bleiben muss.
   Der Ausgleich sitzt bewusst auf dem FOOTER, nicht auf <body>: der
   Footer hat dieselbe dunkle Fläche wie die Leiste, dadurch entsteht
   kein hell abgesetzter Streifen, falls der Puffer etwas größer ist
   als die Leiste tatsächlich hoch baut. */
body.cookie-visible footer { padding-bottom: 210px; }
.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.65; }
/* 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; }

/* ── 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-grid > * { min-width: 0; }
footer h2, footer h4 {
  font-family: var(--font);
  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.6; }
footer ul li:last-child { margin-bottom: 0; }
.footer-desc { font-size: 15px; line-height: 1.75; margin-top: 12px; max-width: 320px; color: var(--on-dark); }
.footer-logo { display: flex; align-items: center; gap: 11px; }
.footer-hours { font-size: 15px; line-height: 1.75; 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; }

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

/* ── 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; }
  .numgrid { grid-template-columns: 1fr 1fr; }
  .usp-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .trust-badge-wrap { width: 158px; height: 158px; }
  .form-row { grid-template-columns: 1fr 1fr; gap: 16px; }
  .cookie-inner { flex-direction: row; align-items: center; justify-content: space-between; gap: 20px; }
  /* Ab hier stehen Text und Button nebeneinander, die Leiste ist
     deutlich flacher als im Mobil-Umbruch. */
  body.cookie-visible footer { padding-bottom: 130px; }
  .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; }
  .svc-block { padding: 28px 30px; }
  .form-card, .card, .usp { padding: 28px; }
  .cta-band, .cta-dark { padding: 40px 32px; }
}

/* Nav-Umschaltpunkt bewusst eigener, höherer Breakpoint statt Teil des
   940px-Blocks: die 6 Nav-Links + Logo/Subzeile + CTA-Button brauchen bei
   dieser Site mehr Platz als 940px hergeben — zwischen 940 und ~1075px
   brachen einzelne Mehrwort-Labels ("Digitale Kanzlei", "Über uns",
   "Erstberatung anfragen") mitten im Label um und die Nav-Zeile wurde
   höher als vorgesehen. Gefunden 30.08.2026, Schritt-7.5-Nachprüfung
   (bei 1080px sauber, bei 1060px noch gebrochen — 1090px als Breakpoint
   mit Sicherheitsabstand gewählt). Alle übrigen 940px-Regeln (Grids,
   Innenabstände) bleiben unverändert bei 940px, die betreffen die Nav
   nicht. */
@media (min-width: 1090px) {
  .nav-links { display: flex; }
  .nav-burger { display: none; }
  .nav-mobile, .nav-mobile.open { display: none; }
}

@media (min-width: 940px) {
  .section { padding: 72px 0; }
  .hero { padding: 84px 0 76px; }
  .pagehead { padding: 56px 0 50px; }
  .grid-2 { grid-template-columns: 1fr 1fr; gap: 40px; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .numgrid { grid-template-columns: repeat(3, 1fr); }
  .usp-grid { grid-template-columns: repeat(3, 1fr); }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .quote-grid { grid-template-columns: repeat(3, 1fr); }
  .case-grid { grid-template-columns: 1fr 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, 420px);
    align-items: center; gap: 48px;
  }
  .hero-photo-wrap { justify-self: end; }
  .trust-badge-wrap { width: 176px; height: 176px; }
  .hero-photo-wrap .trust-badge-wrap { right: -18px; bottom: -22px; }
  .footer-grid { grid-template-columns: 1.7fr 1.1fr 1.1fr 1.1fr; gap: 34px; }
  body.cookie-visible footer { padding-bottom: 100px; }
}

/* ── DRUCK ─────────────────────────────────────────────────────── */
@media print {
  .nav, .nav-mobile, footer, .cookie-bar, .skip-link,
  .hero-actions, .btn, .btn-row { display: none !important; }
  body { background: #FFFFFF; color: #000000; }
  body.cookie-visible footer { padding-bottom: 0; }   /* Leiste ist im Druck ausgeblendet */
  .hero, .pagehead, .section-dark, .section-quotes, .cta-dark {
    background: #FFFFFF !important;
  }
  .hero h1, .pagehead h1, .pagehead p, .hero-lead,
  .section-dark, .section-dark h2, .section-dark p,
  .section-quotes h2, .cta-dark h2, .cta-dark p { color: #000000 !important; }
  .img-ph { border-color: #999999; }
}
