/* Wagner Hausmeisterservice & Gebäudereinigung
   Keine externen Fonts/CDNs (DSGVO): nur Systemschriften. */
:root {
  --teal: #25b59c;
  --teal-dark: #147a68; /* 4.9:1 auf hellem Grund (WCAG AA) */
  --blue: #3a6cc4;
  --blue-dark: #2d56a0;
  --navy: #1d3557;
  --ink: #23303d;
  --muted: #5b6875;
  --bg: #f5f7fa;
  --white: #fff;
  --radius: 10px;
  --shadow: 0 6px 24px rgba(29, 53, 87, .10);
  --serif: "Merriweather", Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 100; background: var(--navy); color: var(--white); padding: .6rem 1rem; border-radius: 6px; }
.skip-link:focus { top: 1rem; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.section-brand :focus-visible { outline-color: var(--white); }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--white); line-height: 1.6; font-size: 17px; }
img { max-width: 100%; display: block; }
a { color: var(--blue); }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.25; color: var(--navy); margin: 0 0 .6em; }
h1 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }

.container { width: min(1140px, 100% - 2.5rem); margin-inline: auto; }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; font-weight: 600; color: var(--teal-dark); margin-bottom: .5rem; }

/* Buttons */
.btn { display: inline-block; background: var(--blue); color: var(--white); text-decoration: none; padding: .75em 1.4em; border-radius: 6px; border: 0; font: inherit; font-weight: 600; cursor: pointer; transition: background .2s, transform .2s; }
.btn:hover, .btn:focus-visible { background: var(--blue-dark); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 2px var(--navy); }
.btn-ghost:hover { background: var(--navy); color: var(--white); }
.phone-badge { display: inline-block; text-decoration: none; transition: background .2s, color .2s; padding: .75em 1.4em; border-radius: 6px; font-weight: 600; color: var(--navy); box-shadow: inset 0 0 0 2px var(--navy); }
.phone-badge:hover, .phone-badge:focus-visible { background: var(--navy); color: var(--white); }
.btn-small { padding: .45em 1em; font-size: .95rem; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .6; cursor: wait; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(6px); box-shadow: 0 1px 0 rgba(0,0,0,.06); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 70px; }
.brand img { height: 48px; width: auto; }
.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 500; }
.nav a:not(.btn):hover { color: var(--teal-dark); }
.nav .btn { color: var(--white); }
.nav-toggle { display: none; background: none; border: 0; padding: .5rem; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; transition: .2s; }

/* Hero */
.hero { background: var(--bg); padding: 3.5rem 0 0; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.hero-text .lead { font-weight: 700; font-size: 1.1rem; }
.hero-text .claim { font-weight: 700; color: var(--navy); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.5rem; }
.hero-media img { width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4/3; object-fit: cover; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; padding: 3rem 0; text-align: center; }
.stat strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.7rem; color: var(--navy); }
.stat span { color: var(--muted); font-weight: 600; font-size: .95rem; }

/* Sections */
.section { padding: 5rem 0; }
.section-alt { background: var(--bg); }
.section-head { max-width: 700px; margin-bottom: 2.5rem; }

/* Services */
.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
.service { display: grid; grid-template-columns: 110px 1fr; gap: 1.2rem; background: var(--white); border: 1px solid #e6ebf0; border-radius: var(--radius); padding: 1.3rem; transition: box-shadow .2s; }
.service:hover { box-shadow: var(--shadow); }
.service img { width: 110px; height: 110px; object-fit: cover; border-radius: 8px; }
.service h3 { font-size: 1.1rem; margin-bottom: .4em; }
.service p { font-size: .95rem; color: var(--muted); margin-bottom: .5em; }
.more { font-weight: 600; text-decoration: none; font-size: .95rem; }

/* Showcase (Referenzen) */
.showcase { display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem; align-items: center; margin-bottom: 4.5rem; }
.showcase:last-child { margin-bottom: 0; }
.showcase-reverse .gallery { order: 2; }
.gallery { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: .8rem; height: 460px; }
.gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.gallery .g-main { grid-row: 1 / 3; }
.gallery-transport .g-main { object-position: 72% center; }
.checks { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.checks li { padding-left: 1.7rem; position: relative; margin-bottom: .4rem; }
.checks li::before { content: "✓"; position: absolute; left: 0; color: var(--teal-dark); font-weight: 700; }

/* About */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.split h3 { margin-top: 1.5rem; }
.about-motto { font-weight: 600; color: var(--teal-dark); }
.about-claim { font-weight: 600; font-style: italic; margin-top: 1.5rem; }
.about-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; }
.about-signature { margin: 0; }
/* Über uns: auf Desktop komplett in den Bildschirm passen (Header ca. 80px) */
@media (min-width: 901px) {
  #ueber-uns { padding: 1rem 0; min-height: calc(100vh - 80px); display: flex; align-items: center; }
  #ueber-uns .split { grid-template-columns: 3fr 2fr; gap: 2.5rem; }
  #ueber-uns h2 { font-size: clamp(1.5rem, 2.2vw, 1.9rem); margin-bottom: .25em; }
  #ueber-uns .about-values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin: .8rem 0 .3rem; }
  #ueber-uns .about-values h3 { margin-top: 0; }
  #ueber-uns .about-values p { font-size: .95rem; margin: 0; hyphens: auto; overflow-wrap: break-word; }
  #ueber-uns p { margin-bottom: .5em; }
  #ueber-uns h3 { font-size: 1.1rem; margin: .9rem 0 .2em; }
  #ueber-uns .about-claim { margin-top: .6rem; }
  #ueber-uns .split-media.single img { width: auto; max-width: 100%; max-height: calc(100vh - 80px - 2rem); margin-inline: auto; }
}
.about-signature strong, .about-signature span { display: block; }
.about-signature span { color: var(--muted); font-size: .95rem; }
.split-media { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.split-media img { border-radius: var(--radius); aspect-ratio: 3/4; object-fit: cover; box-shadow: var(--shadow); }
.split-media img:last-child { margin-top: 2.5rem; }
.split-media.single { grid-template-columns: 1fr; }

/* Aktuelles */
.news-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.2rem; }
.news-item { background: var(--white); border: 1px solid #e6ebf0; border-left: 4px solid var(--teal-dark); border-radius: var(--radius); padding: 1.3rem; }
.news-item h3 { font-size: 1.1rem; margin-bottom: .4em; }
.news-item p { font-size: .95rem; color: var(--muted); margin-bottom: .6em; }
.news-meta { font-size: .85rem !important; font-weight: 600; }
.news-tag { color: var(--teal-dark); text-transform: uppercase; letter-spacing: .06em; font-size: .75rem; }
.news-links { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; }
.news-links a { font-weight: 600; }
.news-links a::after { content: " ↗"; }
.split-media.single img { width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; margin-top: 0; }

/* Contact */
.section-brand { background: var(--teal-dark); color: var(--white); } /* weiß auf #25b59c hatte nur 2.6:1 Kontrast */
.section-brand h2 { color: var(--white); }
.section-brand a { color: var(--white); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.contact-grid > * { min-width: 0; } /* lange E-Mail-Adresse darf das Raster nicht sprengen */
.contact-data a { overflow-wrap: anywhere; }
.contact-form { display: grid; gap: 1rem; margin-top: 1.5rem; }
.contact-form label { display: grid; gap: .3rem; font-weight: 600; font-size: .95rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-form input, .contact-form select, .contact-form textarea {
  font: inherit; font-weight: 400; color: var(--ink); width: 100%; padding: .7em .8em; border-radius: 6px; border: 2px solid transparent; background: var(--white);
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--navy); }
.contact-form .invalid { border-color: #c0392b; box-shadow: 0 0 0 2px #fff; }
.contact-form .consent { display: grid; grid-template-columns: auto 1fr; gap: .7rem; font-weight: 400; font-size: .88rem; align-items: start; }
.consent input { width: 18px; height: 18px; margin-top: .2rem; }
.hint { font-size: .85rem; margin: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 0; font-weight: 600; min-height: 1.5em; }
.form-status.ok { background: rgba(255,255,255,.18); padding: .8em 1em; border-radius: 6px; }
.form-status.err { background: #fff; color: #b03a2e; padding: .8em 1em; border-radius: 6px; }

.map { border-radius: var(--radius); overflow: hidden; background: #e8eef2; color: var(--ink); aspect-ratio: 4/3; position: relative; }
.map iframe { border: 0; width: 100%; height: 100%; display: block; }
.map-consent { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 2rem; gap: .3rem;
  background: linear-gradient(rgba(255,255,255,.88), rgba(255,255,255,.88)), repeating-linear-gradient(45deg, #dfe6ec 0 12px, #e8eef2 12px 24px); }
.map-consent p { max-width: 380px; font-size: .9rem; }
.map-consent a { color: var(--blue); }
.map-link { margin-top: .6rem; font-size: .9rem; font-weight: 600; }
.contact-data { font-style: normal; margin-top: 1.5rem; }
.contact-data p { display: grid; grid-template-columns: 6.5rem 1fr; gap: .5rem; margin-bottom: .6rem; }
.contact-data span { font-weight: 700; }

/* WhatsApp floating button */
.whatsapp-fab { position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 60; display: flex; align-items: center; gap: .5rem;
  background: #107c41; color: #fff; text-decoration: none; font-weight: 700; padding: .7rem 1.1rem .7rem .8rem; border-radius: 999px;
  box-shadow: 0 6px 20px rgba(0,0,0,.25); transition: transform .2s, background .2s; }
.whatsapp-fab:hover, .whatsapp-fab:focus-visible { background: #0b6232; transform: translateY(-2px); }
@media (max-width: 720px) { .whatsapp-fab { padding: .8rem; } .whatsapp-fab span { display: none; } }

/* Footer */
.site-footer { background: var(--navy); color: #cfd8e3; padding: 1.6rem 0; font-size: .9rem; }
.site-footer a { color: var(--white); }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; }
.footer-inner p { margin: 0; }
.footer-credit { margin-top: .75rem; text-align: center; font-size: .85rem; opacity: .75; }
.footer-credit p { margin: 0; }

/* Legal pages */
.legal { padding: 3.5rem 0 5rem; max-width: 800px; }
.legal h2 { font-size: 1.35rem; margin-top: 2rem; }
.placeholder { background: #fff3cd; padding: 0 .25em; border-radius: 3px; }

/* Responsive */
@media (max-width: 900px) {
  .hero-grid, .showcase, .split, .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .showcase-reverse .gallery { order: 0; }
  .services { grid-template-columns: 1fr; }
  .gallery { height: 380px; }
}
@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .nav { position: absolute; top: 70px; left: 0; right: 0; background: var(--white); flex-direction: column; align-items: stretch; gap: 0; padding: .5rem 1.25rem 1rem; box-shadow: 0 10px 20px rgba(0,0,0,.08); display: none; }
  .nav.open { display: flex; }
  .nav a { padding: .7rem 0; border-bottom: 1px solid #eef1f4; }
  .nav .btn { margin-top: .6rem; text-align: center; }
  .stats { grid-template-columns: 1fr; padding: 2rem 0; }
  .field-row { grid-template-columns: 1fr; }
  .service { grid-template-columns: 80px 1fr; padding: 1rem; }
  .service img { width: 80px; height: 80px; }
  .gallery { height: 300px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* ---------- Leistungs-Unterseiten ---------- */
.page-hero { padding: 1.2rem 0 3.5rem; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; padding: 0; margin: 0 0 2rem; font-size: .9rem; color: var(--muted); }
.breadcrumb li + li::before { content: "›"; margin-right: .4rem; }
.breadcrumb a { color: var(--muted); }
.hero-grid-single { grid-template-columns: 1fr; max-width: 820px; }
.prose { max-width: 820px; }
.prose h2 { margin-top: 2.5rem; }
.prose h2:first-child { margin-top: 0; }
.checks-cols { columns: 2; column-gap: 2rem; }
.checks-cols li { break-inside: avoid; }
.split-top { align-items: start; }
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; }
.steps li { counter-increment: step; position: relative; padding-left: 3rem; margin-bottom: 1.2rem; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 2.1rem; height: 2.1rem; border-radius: 50%; background: var(--navy); color: var(--white); display: grid; place-items: center; font-weight: 700; }
.steps strong { display: block; color: var(--navy); }
.cta-band { text-align: center; }
.cta-band p { max-width: 640px; margin-inline: auto; }
.cta-band .hero-actions { justify-content: center; }
.section-brand .btn-light { background: var(--white); color: var(--navy); }
.section-brand .btn-light:hover, .section-brand .btn-light:focus-visible { background: #e8eef2; }
.section-brand .btn-outline-light { background: transparent; color: var(--white); box-shadow: inset 0 0 0 2px var(--white); }
.section-brand .btn-outline-light:hover, .section-brand .btn-outline-light:focus-visible { background: rgba(255,255,255,.15); }
.related { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: .8rem; }
.related-card { display: flex; justify-content: space-between; align-items: center; gap: .5rem; padding: 1rem 1.2rem; border: 1px solid #e6ebf0; border-radius: var(--radius); text-decoration: none; font-weight: 600; color: var(--navy); transition: box-shadow .2s, border-color .2s; }
.related-card:hover, .related-card:focus-visible { box-shadow: var(--shadow); border-color: var(--teal-dark); }
.service h3 a { color: inherit; text-decoration: none; }
.service h3 a:hover { color: var(--blue); }
.service .more + .more { margin-left: 1rem; }
.service-status { font-size: .75rem !important; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: .35em !important; }
.service-more-info { font-style: italic; }

/* Footer mit Leistungs-Links */
.footer-cols { display: grid; grid-template-columns: 1fr 2fr; gap: 2rem; padding-bottom: 1.4rem; margin-bottom: 1.4rem; border-bottom: 1px solid rgba(255,255,255,.15); }
.footer-cols p { margin: 0; }
.footer-title { font-weight: 700; color: var(--white); margin-bottom: .5rem !important; }
.footer-links { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 2rem; }
.footer-links li { margin-bottom: .3rem; }
.site-footer { padding-top: 2.2rem; }
@media (max-width: 720px) {
  .checks-cols, .footer-links { columns: 1; }
  .footer-cols { grid-template-columns: 1fr; }
}

/* Ausrüstung je Leistung */
.service .equipment { font-size: .88rem; color: var(--ink); background: var(--bg); border-left: 3px solid var(--teal-dark); padding: .45em .7em; border-radius: 0 6px 6px 0; }
.service .equipment strong { color: var(--navy); }

/* Referenzen / Kundenstimmen */
.reviews { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.4rem; }
.review { margin: 0; display: flex; flex-direction: column; gap: .6rem; background: var(--white); border: 1px solid #e6ebf0; border-radius: var(--radius); padding: 1.4rem; box-shadow: var(--shadow); }
.review-stars { margin: 0; color: #b7791f; font-size: 1.15rem; letter-spacing: .1em; }
.review blockquote { margin: 0; flex: 1; font-style: italic; }
.review blockquote p:last-child { margin-bottom: 0; }
.review figcaption { font-size: .9rem; color: var(--muted); }
.review figcaption strong { color: var(--navy); }
.reviews-empty { grid-column: 1 / -1; margin: 0; padding: 2rem; text-align: center; background: var(--bg); border: 2px dashed #d5dde5; border-radius: var(--radius); color: var(--muted); }
.contact-form label small { font-weight: 400; }

/* Kopfbilder aus kleinen Vorlagen: nicht größer als nötig darstellen, damit sie nicht unscharf wirken */
.hero-media-small img { aspect-ratio: 1 / 1; }
.hero-media-duo { display: grid; grid-template-columns: 3fr 2fr; gap: .8rem; align-items: end; }
.hero-media-duo img { aspect-ratio: 1 / 1; }
.hero-media-duo img:first-child { object-position: center top; }
.hero-media-duo img:last-child { margin-bottom: 2.5rem; }
.hero-media-small { max-width: 400px; justify-self: center; width: 100%; }

/* Theme-Umschalter (Sonne/Mond) im Header */
.header-inner { justify-content: flex-start; gap: 1rem; }
.brand { margin-right: auto; position: relative; }
.brand .logo-dark { display: none; }
html[data-theme="dark"] .brand .logo-light { display: none; }
html[data-theme="dark"] .brand .logo-dark { display: block; }
.theme-toggle { order: 2; flex: none; display: inline-grid; place-items: center; width: 42px; height: 42px; padding: 0; border-radius: 50%; border: 2px solid #d5dde5; background: transparent; color: var(--navy); cursor: pointer; transition: background .2s, border-color .2s; }
.theme-toggle:hover { background: var(--bg); border-color: var(--navy); }
.theme-toggle svg { width: 20px; height: 20px; }
.theme-toggle .icon-sun { display: none; }
html[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
html[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
.nav { order: 1; }
@media (max-width: 720px) { .theme-toggle { order: 0; } }
html { color-scheme: light; }

/* ---------- Dark Mode: per Button gewählt oder (ohne Wahl) nach Systemeinstellung, siehe theme.js ---------- */
  html[data-theme="dark"] { /* Variablen: normale Spezifität, damit sie :root überschreiben */
    color-scheme: dark;
    --ink: #dbe3ec;
    --muted: #a5b2bf;
    --bg: #141d28;          /* abgesetzte Flächen */
    --page: #0e151d;        /* Seitenhintergrund */
    --card: #18232f;
    --line: #273544;
    --heading: #eef3f8;
    --link: #8db2ff;
    --accent: #4fd1b8;      /* Teal für Text auf dunklem Grund */
    --shadow: 0 6px 24px rgba(0, 0, 0, .35);
  }
  :where(html[data-theme="dark"]) body { background: var(--page); }
  :where(html[data-theme="dark"]) h1, :where(html[data-theme="dark"]) h2, :where(html[data-theme="dark"]) h3, :where(html[data-theme="dark"]) .stat strong, :where(html[data-theme="dark"]) .hero-text .claim, :where(html[data-theme="dark"]) .steps strong { color: var(--heading); }
  :where(html[data-theme="dark"]) a { color: var(--link); }
  :where(html[data-theme="dark"]) .eyebrow { color: var(--accent); }
  :where(html[data-theme="dark"]) .checks li::before { color: var(--accent); }
  /* Header & Navigation */
  :where(html[data-theme="dark"]) .site-header { background: rgba(14, 21, 29, .94); box-shadow: 0 1px 0 var(--line); }
  :where(html[data-theme="dark"]) .nav a:not(.btn) { color: var(--ink); }
  :where(html[data-theme="dark"]) .nav a:not(.btn):hover { color: var(--accent); }
  :where(html[data-theme="dark"]) .nav-toggle span { background: var(--heading); }
  /* Buttons */
  :where(html[data-theme="dark"]) .btn-ghost, :where(html[data-theme="dark"]) .phone-badge { color: var(--heading); box-shadow: inset 0 0 0 2px var(--heading); }
  :where(html[data-theme="dark"]) .btn-ghost:hover, :where(html[data-theme="dark"]) .phone-badge:hover, :where(html[data-theme="dark"]) .phone-badge:focus-visible { background: var(--heading); color: var(--page); }
  :where(html[data-theme="dark"]) :focus-visible { outline-color: var(--link); }
  /* Karten */
  :where(html[data-theme="dark"]) .service, :where(html[data-theme="dark"]) .news-item, :where(html[data-theme="dark"]) .related-card, :where(html[data-theme="dark"]) .review { background: var(--card); border-color: var(--line); }
  :where(html[data-theme="dark"]) .related-card { color: var(--heading); }
  :where(html[data-theme="dark"]) .related-card:hover, :where(html[data-theme="dark"]) .related-card:focus-visible { border-color: var(--accent); }
  :where(html[data-theme="dark"]) .service h3 a:hover { color: var(--link); }
  :where(html[data-theme="dark"]) .service .equipment { background: var(--page); border-left-color: var(--accent); }
  :where(html[data-theme="dark"]) .service .equipment strong, :where(html[data-theme="dark"]) .review figcaption strong { color: var(--heading); }
  :where(html[data-theme="dark"]) .review-stars { color: #f0b54a; }
  :where(html[data-theme="dark"]) .reviews-empty { border-color: var(--line); }
  :where(html[data-theme="dark"]) .steps li::before { background: var(--blue-dark); }
  :where(html[data-theme="dark"]) .gallery img, :where(html[data-theme="dark"]) .hero-media img, :where(html[data-theme="dark"]) .split-media img { box-shadow: 0 6px 24px rgba(0, 0, 0, .45); }
  /* Kontakt- und Bewertungsbereich */
  :where(html[data-theme="dark"]) .section-brand { background: #0f5f51; }
  :where(html[data-theme="dark"]) .contact-form input, :where(html[data-theme="dark"]) .contact-form select, :where(html[data-theme="dark"]) .contact-form textarea { background: var(--page); color: var(--ink); border-color: #2f6f63; }
  :where(html[data-theme="dark"]) .contact-form input::placeholder, :where(html[data-theme="dark"]) .contact-form textarea::placeholder { color: #8293a3; }
  :where(html[data-theme="dark"]) .contact-form input:focus, :where(html[data-theme="dark"]) .contact-form select:focus, :where(html[data-theme="dark"]) .contact-form textarea:focus { border-color: var(--accent); }
  :where(html[data-theme="dark"]) .contact-form .invalid { border-color: #ff8a7a; box-shadow: none; }
  :where(html[data-theme="dark"]) .form-status.err { background: #2b1513; color: #ffb3a7; }
  /* Karte (2-Klick-Lösung) */
  :where(html[data-theme="dark"]) .map { background: var(--card); }
  :where(html[data-theme="dark"]) .map-consent { background: linear-gradient(rgba(14,21,29,.86), rgba(14,21,29,.86)), repeating-linear-gradient(45deg, #1b2733 0 12px, #141d28 12px 24px); }
  :where(html[data-theme="dark"]) .map-consent a, :where(html[data-theme="dark"]) .section-brand .map-consent a { color: var(--link); }
  /* Footer & Rechtstexte */
  :where(html[data-theme="dark"]) .site-footer { background: #090f15; border-top: 1px solid var(--line); }
  :where(html[data-theme="dark"]) .placeholder { background: #4a3c0c; color: #ffe8a3; }
  @media (max-width: 720px) {
  :where(html[data-theme="dark"]) .nav { background: var(--page); box-shadow: 0 10px 20px rgba(0,0,0,.4); }
  :where(html[data-theme="dark"]) .nav a { border-bottom-color: var(--line); }
  }
  :where(html[data-theme="dark"]) .theme-toggle { color: var(--heading); border-color: var(--line); }
  :where(html[data-theme="dark"]) .theme-toggle:hover { background: var(--card); border-color: var(--heading); }

