/* ===================================================================
   Malerbetrieb Feldmann — VORTE Beispiel-Website (Paket: Starter)
   Farbkonzept: "Meisterhandwerk in Grün" — warmes Anthrazit + kräftiges
   Waldgrün. Grün ist in Deutschland traditionell die Innungsfarbe des
   Maler- und Lackiererhandwerks; bewusst gewählt, um vom vorherigen
   Dunkelblau-Konzept abzurücken (Hannes-Feedback: "wirkt wie navy,
   passt nicht zu einem Malerbetrieb" — siehe UEBERGABE-NOTIZ.md,
   zweite Überarbeitung 11.08.2026).
   Aufbau: Mobile First (Basis = Mobil, min-width-Queries = größer)
   HINWEIS: Fiktives Portfolio-Projekt. Alle Firmen-/Kontaktdaten
   sind bewusst erfundene Platzhalter.
   =================================================================== */

/* ── KUNDENVARIABLEN ───────────────────────────────────────────── */
/* KONTRASTWERTE (nachgerechnet 11.08.2026 gegen die NEUEN Hex-Werte,
   WCAG-2.x-Formel, per Skript gegen die tatsächlichen Hex-Werte
   ausgerechnet, nicht geschätzt):
     Weiß auf --primary    #2B2723 ............ 14,82:1  ✓ AAA
     Weiß auf --primary-d  #1D1A17 ............ 17,32:1  ✓ AAA
     Weiß auf --accent     #2F6B3C .............. 6,38:1  ✓ AA
     Weiß auf --accent-d   #25522E .............. 9,03:1  ✓ AAA
     --accent-ink #1E4A26 auf --bg ............. 9,34:1  ✓ AAA
     --accent-ink #1E4A26 auf Weiß ............ 10,18:1  ✓ AAA
     --text auf --bg .......................... 12,82:1  ✓ AAA
     --muted auf --bg .......................... 6,04:1  ✓ AA
   Die alten Opacity-Werte (--on-dark u.a.) waren auf das vorherige
   Dunkelblau #12324A kalibriert (Schwelle für 4,5:1 lag bei 0,503).
   Das neue, noch dunklere Anthrazit senkt diese Schwelle weiter auf
   0,474 — die bestehenden Werte (0,72–0,88) bleiben also mit noch
   mehr Puffer gültig, unverändert übernommen. */
:root {
  --primary:      #2B2723;   /* Warmes Anthrazit — Header, Footer, Hero */
  --primary-d:    #1D1A17;   /* Dunkler — Hover, Verlaufsende, Cookie-Leiste */
  --primary-l:    #423C36;   /* Heller — Flächen im Dunkelbereich */
  --accent:       #2F6B3C;   /* Kräftiges Waldgrün — CTAs, Highlights */
  --accent-d:     #25522E;   /* Waldgrün dunkler — Hover (Weiß darauf 9,03:1) */
  --accent-l:     #5A9A63;   /* Waldgrün heller — NUR dekorativ AUF dunklem
                                Grund (4,40:1 gegen --primary, 5,14:1 gegen
                                --primary-d; das satte #2F6B3C käme dort nur
                                auf 2,32:1 und wäre als Trennlinie kaum
                                sichtbar). */
  --accent-text:  #FFFFFF;   /* Textfarbe AUF --accent (Buttons, Badge, Chips).
                                Weiß auf #2F6B3C = 6,38:1 ✓ AA. Nachgerechnet,
                                nicht geraten. */
  --accent-ink:   #1E4A26;   /* Akzentfarbe für TEXT auf hellem Grund
                                (Links, Karten-Links). Dunklere Variante von
                                --accent mit großzügigem Puffer (9,34:1 auf
                                --bg), da Links nicht nur auf --bg und Weiß
                                stehen, sondern auch auf den beigen
                                Verlaufsflächen der Karten-Vorschau
                                (dunkelstes Ende #DCD5C9, dort 6,98:1). */
  --bg:           #F7F5F0;   /* Warmweiß — Seitenhintergrund (unverändert) */
  --white:        #FFFFFF;
  --text:         #2C2C2C;   /* Fließtext */
  --muted:        #5F5D58;   /* Sekundärtext (6,0:1 auf --bg) */
  --border:       #E2DDD4;   /* dekorative Kartenrahmen */
  --input-border: #8C877D;   /* Formularfeld-Rahmen: 3,57:1 auf Weiß.
                                WCAG 1.4.11 verlangt für Bedienelement-
                                Begrenzungen 3:1 — ein zartes #E2DDD4
                                käme nur auf 1,35:1 und fiele durch. */
  --gold:         #B8945F;   /* Gedämpftes Altgold — NUR fürs Vertrauens-
                                Siegel (Ring), sechster Anlauf 13.08.2026:
                                Hannes wollte weder Lorbeerkranz noch
                                Perlrand, sondern das Siegel "leicht
                                vergoldet". Bewusst gedämpft statt eines
                                grellen Gelbgolds (Hannes' generelle
                                Präferenz gegen laute/knallige Farben) —
                                nur 3,1:1 auf Weiß, daher NUR für den
                                dekorativen Ring verwendet, nie für Text
                                (WCAG 4,5:1 für Normaltext würde reißen). */
  --gold-l:       #D8BE8E;   /* Gold heller — innerer, zarterer Ring */
  --gold-ink:     #96742E;   /* Dunkleres Gold NUR für die "15" (13.08.2026,
                                Hannes-Wunsch "die 15 auch golden"). Die
                                "15" ist groß/fett (56px/900), WCAG verlangt
                                für Großtext nur 3:1 statt 4,5:1 — dieser
                                Ton kommt auf 4,35:1 auf Weiß, --gold selbst
                                käme nur auf 2,82:1 und würde durchfallen.
                                Nicht für die kleinen Beschriftungen (SEIT
                                2011/JAHRE/MEISTERBETRIEB) verwenden — die
                                bleiben normalgroß und brauchen 4,5:1. */

  /* Footer-/Dunkelbereich-Textfarben.
     Neu nachgerechnet gegen --primary #2B2723 (siehe haeufige-fehler.md #1
     und #3: ein universell sicherer Opacity-Wert existiert nicht, er hängt
     an der Helligkeit der Primärfarbe). Auf diesem noch dunkleren Anthrazit
     liegt die 4,5:1-Grenze bereits bei rgba(255,255,255,0.474) — auf dem
     vorherigen Dunkelblau erst bei 0,503. Die Werte bleiben deshalb bewusst
     unverändert stehen und haben jetzt noch mehr Puffer. Trotzdem nie unter
     0,55 gehen. */
  --on-dark:      rgba(255,255,255,0.88);  /* 11,78:1 auf --primary — Fließtext */
  --on-dark-soft: rgba(255,255,255,0.75);  /*  8,96:1 auf --primary — Links, Sekundär */
  --on-dark-min:  rgba(255,255,255,0.72);  /*  8,38: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(43,39,35,0.10);
  --shadow-m: 0 6px 20px rgba(43,39,35,0.16);
}

/* ── RESET ─────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -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; }
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) ──────────────────────────── */
/* WICHTIG: Der Fokusrahmen ist ein Bedienelement und braucht nach
   WCAG 1.4.11 / 2.4.13 mindestens 3:1 gegen den Untergrund.
   Neu nachgerechnet für das Anthrazit-Konzept: --primary #2B2723 hat
   auf --bg 13,60:1 und auf Weiß 14,82:1, Weiß auf --primary 14,82:1.
   Waldgrün #2F6B3C käme auf Weiß auf 6,38:1 und würde formal auch
   reichen, bleibt aber der CTA-Farbe vorbehalten, damit der Fokus
   nicht mit einem Button verwechselt wird. */
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,
.cookie-bar a:focus-visible,
.cookie-bar button: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 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, 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 p + p { margin-top: 14px; }
.section-head { margin-bottom: 28px; }
.section-head p { max-width: 640px; }

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

/* Textlinks im Fließtext */
.section a:not(.btn):not(.card-link):not(.nav-link) {
  color: var(--accent-ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.section a:not(.btn):not(.card-link):not(.nav-link):hover { color: var(--primary); }

/* ── 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;
}
/* Waldgrün mit WEISSEM Text: Weiß auf #2F6B3C = 6,38:1 ✓ AA.
   Umgekehrt: #2C2C2C auf #2F6B3C wäre nur 2,19:1 — also NICHT nehmen. */
.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); }
.btn-outline { background: transparent; color: #FFFFFF; border-color: rgba(255,255,255,0.7); }
.btn-outline:hover { border-color: #FFFFFF; background: rgba(255,255,255,0.1); }
.btn-block { width: 100%; }

.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; }

/* ── NAVIGATION ────────────────────────────────────────────────── */
.nav {
  background: var(--primary);
  position: sticky; top: 0; z-index: 100;
  /* --accent-l statt --accent: die Trennlinie sitzt zwischen zwei dunklen
     Flächen (Nav und Hero). #2F6B3C hätte dort nur 2,32:1 und wäre kaum
     sichtbar, #5A9A63 kommt auf 4,40:1. Rein dekorativ, aber sichtbar. */
  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 13px; font-size: 14px; 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.14); }
.nav-link.active { box-shadow: inset 0 -2px 0 var(--accent-l); }
.nav-cta {
  margin-left: 8px; padding: 10px 18px;
  background: var(--accent); color: var(--accent-text);
  font-size: 14px; 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; /* seitlicher Abstand kommt vom .container innen */
  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; }

/* Kompakter Seitenkopf für Unterseiten */
.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; }

/* ── ERFAHRUNGS-SIEGEL (Vertrauenssignal) ───────────────────────── */
/* Siehe haeufige-fehler.md, Abschnitt "Design/Wirkung" #1: Das zentrale
   Vertrauenssignal ("15 Jahre") darf nicht nur im Fließtext stehen,
   sondern gehört als eigenständiges, sichtbares Element in den
   Seitenkopf — so machen es etablierte Handwerksbetriebe.
   ZWEITE ÜBERARBEITUNG (11.08.2026): Hannes-Feedback zur ersten Version
   war, ein einfacher Kreis mit weißem Ring wirke "wie ein Verkehrs-
   schild". Neu als Siegel/Medaille gebaut: ein 12-zackiger Stern
   (::before, Farbe --primary-l) liegt hinter dem eigentlichen Kreis
   und lugt an dessen Rand hervor — das klassische Muster von
   Prüf-/Gütesiegeln, klar von einem Rundschild unterscheidbar.
   KONTRAST: Alle Texte im inneren Kreis sind Weiß auf --accent
   #2F6B3C = 6,38:1 ✓ AA (die große "15" ist ohnehin Großtext). */
/* Mobil: Text oben, Badge darunter (eine Spalte).
   Ab 820px: Text links, Badge rechts daneben. */
.head-split { display: grid; gap: 30px; }

/* Bug gefunden 11.08.2026 (Hannes, beim Farb-Vergleich): .hero-photo-wrap
   wurde beim Hero-Foto-Umbau nie eine eigene Regel gegeben — ohne Breite
   sackte die "auto"-Grid-Spalte bei .head-split unvorhersehbar zusammen
   und quetschte die Textspalte auf Wortbreite. Jetzt mit fester
   Größenspanne UND position:relative als Anker für das absolut
   positionierte Siegel (das vorher ebenfalls keine Verankerung hatte und
   nur zufällig halbwegs richtig aussah). */
.hero-photo-wrap { position: relative; width: 100%; }

/* DRITTER ANLAUF beim Vertrauens-Siegel (11.08.2026, Hannes-Feedback:
   erster Kreis = "Verkehrsschild", zweiter Kreis mit 12-zackigem Stern =
   "billiger Discounter-Tiefpreis-Aufkleber"). Ursache beim zweiten
   Anlauf: ein knallig gefüllter Farbkreis MIT Sternenkranz dahinter ist
   optisch fast identisch mit echten Tiefpreis-/Sale-Aufklebern (genau
   dieses Muster nutzen Aldi/Lidl-Preisschilder). Diesmal vor dem Bau
   recherchiert, wie echte Gütesiegel/Jubiläums-Embleme aussehen: heller
   Grund statt knalliger Vollfläche, gedämpfte statt gesättigte Farbe,
   Lorbeerkranz statt Sternenkranz, feine Ringlinie statt dickem weißen
   Rand. Als echtes SVG gebaut (siehe Markup in index.html/ueber-uns.html)
   statt CSS-clip-path, damit der Kranz wirklich wie Blätter aussieht. */
.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(43,39,35,0.22));
}

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

/* ── FOTO-KARTEN (statt reiner Icon-Karten) ───────────────────────── */
/* Gefunden bei der Qualitätsschleife 13.08.2026 (siehe haeufige-fehler.md
   Design/Wirkung #4): reine Icon-Karten wiederholten sich identisch auf
   zwei verschiedenen Seiten (Leistungen im Überblick + Unsere Werte) und
   waren damit der letzte verbliebene "Kachel-Raster"-Punkt der Seite,
   obwohl branchen-kalibrierung-muster.md genau das als Warnsignal nennt.
   Referenzvergleich (Maler Ulm, Heitmann Berlin) zeigt: gute Leistungs-
   Karten haben ein Foto oben, keinen separaten Icon-Block. Das bisherige
   SVG-Icon bleibt als kleine Badge, die das Foto überlappt (gleiche
   Bauweise wie das Vertrauens-Siegel auf dem Hero-Foto), damit die
   Kategorie weiter auf einen Blick erkennbar ist, ohne dass Icons wieder
   die Hauptbildsprache der Sektion werden. */
.card-photo { padding: 0; overflow: hidden; }
.card-photo-frame { position: relative; aspect-ratio: 4 / 3; }
.card-photo-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card-photo-icon {
  position: absolute; left: 16px; bottom: -18px;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--accent); color: var(--accent-text);
  border: 3px solid var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-m);
}
.card-photo-icon svg { width: 20px; height: 20px; }
.card-photo-body { padding: 28px 22px 22px; display: flex; flex-direction: column; flex-grow: 1; }
.card-photo-body h3 { margin-bottom: 8px; }
.card-photo-body p { font-size: 15px; margin-bottom: 14px; flex-grow: 1; }

/* ── KUNDENSTIMMEN ─────────────────────────────────────────────── */
/* Dunkles Band als bewusster Ankerpunkt der Seite (entschiedene
   Farbrichtung statt sanfter Mitte — siehe haeufige-fehler.md
   Design/Wirkung #1).
   KONTRASTE:  Überschrift Weiß auf --primary #2B2723 ..... 14,82:1 ✓
               Einleitung --on-dark (0,88) auf --primary ... 11,78:1 ✓
               Zitattext --text auf Weiß .................. 13,97:1 ✓
               Ort/Rolle --muted auf Weiß .................. 6,58:1 ✓
               Hinweiszeile --on-dark-min (0,72) ........... 8,38:1 ✓
   Die Klassenkombination `.section.section-quotes h2` ist bewusst
   zweigliedrig: das einfache `.section h2 { color: var(--text) }`
   weiter oben hat dieselbe Spezifität und würde sonst gewinnen. */
.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); }

/* Leistungs-Block auf leistungen.html.
   ZWEITE ÜBERARBEITUNG (11.08.2026): Hannes-Feedback war, die Seite wirke
   flach/eintönig (nur Text-in-Karten). Jetzt Icon + Text + Bildplatzhalter
   im Zweispalten-Layout (wiederverwendet .grid-2), abwechselnd gespiegelt
   (.service-reverse) für visuelle Abwechslung statt vier gleicher Blöcke
   untereinander. */
.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; }
}

/* Werte-Liste */
.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;
}

/* Öffnungszeiten */
.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; }

/* ── BILDPLATZHALTER ───────────────────────────────────────────── */
/* HINWEIS für Hannes: Diese Platzhalter durch echte Fotos ersetzen:
   <img src="assets/img/dateiname.jpg" alt="[Alt-Text aus aria-label]"
        width="800" height="600" loading="lazy">
   Der Platzhalter benennt bewusst KONKRET, welches Motiv an die Stelle
   gehört (Motivart als Chip + Motivtitel + technischer Hinweis) — ein
   generisches "Bild" wirkt auch als Platzhalter unfertig.
   KONTRASTE:  Chip Weiß auf --accent ............ 6,38:1 ✓
               Titel --text auf Verlaufsende #E2DDD4 10,33:1 ✓
               Kleintext #56534D auf #E2DDD4 ...... 5,67:1 ✓ */
.img-placeholder {
  width: 100%; aspect-ratio: 4 / 3;
  border-radius: var(--radius-l);
  border: 1px dashed #B9B2A6;
  background: linear-gradient(135deg, #EFEBE3 0%, #E2DDD4 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; padding: 20px; text-align: center;
  color: var(--text); font-size: 15px; font-weight: 700; line-height: 1.4;
}
/* Kamera-Icon als SVG statt Emoji (hartes Prinzip: kein Emoji als
   funktionales Icon, siehe haeufige-fehler.md). Farbe #2C2C2C fest im
   SVG kodiert, da content:url() nicht auf currentColor reagiert. */
.img-placeholder::before {
  content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='26' viewBox='0 0 24 24' fill='none' stroke='%232C2C2C' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M23 19a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h4l2-3h6l2 3h4a2 2 0 0 1 2 2z'/%3E%3Ccircle cx='12' cy='13' r='4'/%3E%3C/svg%3E");
  display: block;
}
.img-ph-kind {
  display: inline-block;
  background: var(--accent); color: var(--accent-text);
  font-size: 10.5px; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px;
}
.img-placeholder small {
  font-weight: 500; font-size: 12.5px; color: #56534D;
  max-width: 34ch; line-height: 1.5;
}

/* ── ECHTE FOTOS (DRITTE ÜBERARBEITUNG, 11.08.2026) ───────────────── */
/* Nur für Demo-/Portfolio-Websites (siehe assets/img/BILDNACHWEIS.md) —
   echte Kundenprojekte bleiben bei .img-placeholder oben. */
.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; }

/* ── PARTNER-/MARKENLEISTE ────────────────────────────────────────── */
/* Ergänzt 13.08.2026 (Qualitätsschleife) — siehe
   references/branchen-kalibrierung-muster.md Punkt 4 "Konkrete statt
   abstrakte Vertrauenssignale": echte Malerbetrieb-Referenzen (u. a.
   Bönninger Dortmund, Heitmann Berlin, Schlüter München) zeigen
   durchgängig konkrete Marken-/Materialpartner-Logos statt nur
   Text-Claims wie "Markenprodukte namhafter Hersteller". Für diese
   fiktive Demo bewusst KEINE echten Markennamen (Brillux, Caparol etc.)
   verwendet, sondern klar erkennbare, plausible Platzhalter-Wortmarken —
   siehe Kennzeichnung direkt im Markup. */
.partner-strip-head { font-size: 13px; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.partner-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 36px; }
.partner-logo {
  font-weight: 800; font-size: 19px; letter-spacing: -0.01em;
  color: var(--muted); opacity: 0.8;
  display: flex; align-items: center; gap: 8px;
}
.partner-logo svg { width: 22px; height: 22px; flex-shrink: 0; }
.partner-note { margin-top: 16px; font-size: 12.5px; color: var(--muted); }

/* ── FAQ-AKKORDEON (natives <details>, kein JS nötig) ─────────────── */
/* Ergänzt 13.08.2026 (Qualitätsschleife) — Referenzvergleich (Maler Ulm,
   malermitleidenschaft.de Berlin, Heitmann Berlin) zeigte: FAQ-Sektionen
   sind bei echten Malerbetrieb-Websites Standard und fehlten hier
   komplett. Bewusst natives <details>/<summary> statt JS-Akkordeon —
   funktioniert ohne JavaScript, ist von Haus aus per Tastatur bedienbar
   und für Screenreader korrekt (kein eigenes aria-expanded nötig). */
.faq-list { display: grid; gap: 12px; }
.faq-item {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-m); overflow: hidden;
}
.faq-item summary {
  cursor: pointer; list-style: none; padding: 18px 46px 18px 20px;
  font-weight: 700; font-size: 16px; color: var(--text);
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 18px; top: 50%;
  transform: translateY(-50%); font-size: 22px; font-weight: 400;
  color: var(--accent-ink); transition: transform .15s;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item summary:focus-visible { outline-offset: -3px; }
.faq-item p { padding: 0 20px 20px; font-size: 15px; }

/* ── TRUST-/LEISTUNGS-CHIPS ("Wofür wir stehen") ──────────────────── */
.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);
}
.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;
}
.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 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 textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(43,39,35,0.18);
}
.form-group textarea { min-height: 130px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr; gap: 0; }
.req { color: #A3341F; font-weight: 700; }

.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; }
.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-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%, #DCD5C9 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; scroll-margin-top: 90px; }
.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 .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; }

/* Hinweiskasten — auf das Waldgrün-Konzept umgetönt (vorher Terracotta).
   #1E4A26 auf #EAF0EA = 8,80:1 ✓, Fett #153318 = 11,95:1 ✓ */
.notice-box {
  background: #EAF0EA; border: 1px solid #CBDCC9;
  border-left: 5px solid var(--accent);
  border-radius: var(--radius-m); padding: 16px 18px; margin-bottom: 28px;
}
.notice-box p { color: #1E4A26; font-size: 14.5px; margin: 0; }
.notice-box p + p { margin-top: 8px; }
.notice-box strong { color: #153318; }

/* ── 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;
}
/* Explizite helle Farbe auf dem UMGEBENDEN Element, nicht nur auf a —
   siehe haeufige-fehler.md #2. Gefunden 11.08.2026, NEUE Variante desselben
   Fehlermusters: die globale Regel "strong { color: var(--text) }" (dunkel)
   überschrieb hier <strong>keine Cookies</strong> - ein direkt aufs Element
   zielender Selektor gewinnt immer gegen einen nur vererbten Farbwert vom
   Elternelement, unabhängig von dessen Spezifität. Jedes Inline-Element
   (strong, em, b, i, ...) in einem dunklen Bereich braucht eine EIGENE
   Farbregel, nicht nur der Container. */
.cookie-bar, .cookie-inner, .cookie-text { color: var(--on-dark); }
.cookie-text { font-size: 14px; line-height: 1.6; }
.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 ────────────────────────────────────────────────────── */
/* KONTRAST-REGEL (haeufige-fehler.md #1 + #2):
   1) Auf dem Anthrazit #2B2723 liegt 4,5:1 bereits ab
      rgba(255,255,255,0.474) — neu nachgerechnet für dieses
      Farbkonzept (auf dem vorherigen Dunkelblau #12324A lag die
      Grenze noch bei 0,503). Alle Footer-Werte hier liegen mit 0,72 –
      0,88 deutlich darüber (8,38:1 – 11,78:1).
   2) Die Farbe steht auf JEDEM umgebenden Element (footer, footer p,
      footer li, footer address, footer span, footer div) — nicht nur
      auf `a`, damit reiner Text (z. B. die Adresse) nicht auf die
      dunkle globale Fließtextfarbe zurückfällt. */
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: #FFFFFF; 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; }

/* §19-UStG-Hinweis — eigene Regel statt geerbter footer-p-Größe.
   rgba(255,255,255,0.72) auf --primary #2B2723 = 8,38:1 ✓ */
.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-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }

/* ── RESPONSIVE (Mobile First → aufwärts) ──────────────────────── */
@media (min-width: 560px) {
  .grid-3, .grid-4 { 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; }
}

@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); }
  .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; }
}

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

/* ── DRUCK ─────────────────────────────────────────────────────── */
@media print {
  .nav, footer, .cookie-bar, .skip-link, .hero-actions, .btn { display: none !important; }
  body { background: #FFFFFF; color: #000000; }
}
