/*
Theme Name: Schlüsseldienst Thomas
Theme URI: https://localhost/schluesseldienst-a1.de/
Author: Schlüsseldienst Thomas
Description: Maßgeschneidertes Theme für einen deutschen Schlüsseldienst (Marke „Schlüsseldienst A1"). Seriös-sachliches, helles Vertrauensdesign (Blau-Grau + zurückhaltendes Signalrot nur für den Notruf), keine Glow-Effekte, kein Dark-Theme. DSGVO-freundlich: System-Schriften, keine CDNs, kein Tracking. Dezente, reduced-motion-sichere Mikro-Animationen.
Version: 2.0.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: schluesseldienst-thomas
*/

/* ==========================================================================
   0. Schrift – Public Sans, selbst gehostet (DSGVO, keine CDN)
   ========================================================================== */
@font-face { font-family: "Public Sans"; src: url("fonts/public-sans-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url("fonts/public-sans-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url("fonts/public-sans-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

/* ==========================================================================
   1. Design-Token  (A1 „Leitstelle" – Graphit + kühles Papier, ein Signalrot)
   ========================================================================== */
:root {
  /* Flächen – kühles, helles Papier, nie grelles Weiß */
  --bg: #f7f8fa;
  --bg-alt: #eef1f5;
  --surface: #ffffff;

  /* Text */
  --ink: #14202e;     /* Überschriften – 15.6:1 auf Weiß */
  --text: #2c3a47;    /* Fließtext – 10.7:1 */
  --muted: #5b6776;   /* Leads, Kicker – 5.0:1 (AA) */
  --line: #dde2e9;    /* Haarlinien */
  --line-strong: #c7ced7;

  /* Vertrauens-Blau (ruhig, nicht elektrisch) */
  --blue-50: #eaf1fb;
  --blue-500: #2563ae; /* nur Icons / große UI-Flächen */
  --primary: #1e548f;  /* Links, Buttons, Kicker, Fokus – 5.6:1 */
  --primary-hover: #184774;
  --blue-800: #133a5e; /* flache Akzentbänder: Topbar, CTA, Footer */

  /* EIN Akzent – ausschließlich Notruf-Button (flach, kein Glow) */
  --accent: #c8102e;
  --accent-hover: #a50c25;
  --accent-tint: #fbebed;

  /* Semantik */
  --ok: #1f7a4d;
  --ok-tint: #e8f3ec;
  --warn: #b45309;
  --warn-tint: #fff8e6;
  --info: #1e548f;
  --info-tint: #eaf1fb;

  /* Abstände (8px-Raster) */
  --container: 1140px;
  --container-narrow: 820px;
  --section-pad: clamp(3rem, 7vw, 5.5rem);

  /* Radius – moderat, niemals Pille (außer echte Badges) */
  --radius-sm: 6px;
  --radius: 8px;
  --radius-lg: 10px;

  /* Schatten – flach/weich, neutral. NIE farbig, NIE Glow. */
  --shadow-card: 0 1px 2px rgba(20, 32, 46, 0.06), 0 1px 3px rgba(20, 32, 46, 0.08);
  --shadow-hover: 0 2px 4px rgba(20, 32, 46, 0.08), 0 8px 20px rgba(20, 32, 46, 0.07);
  --shadow-header: 0 1px 0 rgba(20, 32, 46, 0.06), 0 6px 16px -12px rgba(20, 32, 46, 0.25);

  /* Bewegung */
  --t-fast: 120ms;
  --t-base: 180ms;
  --t-medium: 240ms;
  --t-reveal: 420ms;
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --ease-standard: cubic-bezier(0.4, 0, 0.2, 1);

  --font: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ==========================================================================
   2. Basis
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; font-size: 16px; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5 {
  color: var(--ink);
  line-height: 1.2;
  margin: 0 0 0.6em;
  font-weight: 700;
}

p { margin: 0 0 1.1em; }

a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-hover); text-decoration: underline; }

img, svg { max-width: 100%; height: auto; vertical-align: middle; }

ul, ol { padding-left: 1.3em; }

strong { color: var(--ink); font-weight: 600; }

::selection { background: var(--blue-50); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  border-radius: 3px;
}

/* ==========================================================================
   3. Icons (CSS-Masken, keine externen Dateien)
   ========================================================================== */
.ico {
  display: inline-block;
  width: 1.25em;
  height: 1.25em;
  flex: none;
  background-color: currentColor;
  -webkit-mask: var(--i) center / contain no-repeat;
  mask: var(--i) center / contain no-repeat;
  vertical-align: -0.25em;
}
.ico--key    { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 2l-2 2m-7.61 7.61a5.5 5.5 0 1 1-7.778 7.778 5.5 5.5 0 0 1 7.777-7.777zm0 0L15.5 7.5m0 0l3 3L22 7l-3-3m-3.5 3.5L19 4'/%3E%3C/svg%3E"); }
.ico--lock   { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='11' width='18' height='11' rx='2'/%3E%3Cpath d='M7 11V7a5 5 0 0 1 10 0v4'/%3E%3C/svg%3E"); }
.ico--shield { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3C/svg%3E"); }
.ico--clock  { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpolyline points='12 6 12 12 16 14'/%3E%3C/svg%3E"); }
.ico--phone  { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6A19.79 19.79 0 0 1 2.12 4.18 2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.127.96.361 1.903.7 2.81a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.907.339 1.85.573 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E"); }
.ico--check  { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E"); }
.ico--star   { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2'/%3E%3C/svg%3E"); }
.ico--alert  { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z'/%3E%3Cline x1='12' y1='9' x2='12' y2='13'/%3E%3Cline x1='12' y1='17' x2='12.01' y2='17'/%3E%3C/svg%3E"); }
.ico--map    { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E"); }
.ico--users  { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M23 21v-2a4 4 0 0 0-3-3.87'/%3E%3Cpath d='M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E"); }
.ico--award  { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='7'/%3E%3Cpolyline points='8.21 13.89 7 23 12 20 17 23 15.79 13.88'/%3E%3C/svg%3E"); }
.ico--bolt   { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='13 2 3 14 12 14 11 22 21 10 12 10 13 2'/%3E%3C/svg%3E"); }
.ico--wrench { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.77-3.77a6 6 0 0 1-7.94 7.94l-6.91 6.91a2.12 2.12 0 0 1-3-3l6.91-6.91a6 6 0 0 1 7.94-7.94l-3.76 3.76z'/%3E%3C/svg%3E"); }
.ico--home   { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'/%3E%3Cpolyline points='9 22 9 12 15 12 15 22'/%3E%3C/svg%3E"); }
.ico--door   { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='2' width='14' height='20' rx='1'/%3E%3Ccircle cx='15' cy='12' r='1.2'/%3E%3C/svg%3E"); }
.ico--car    { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 11l1.7-4.2A2 2 0 0 1 8.6 5.5h6.8a2 2 0 0 1 1.9 1.3L19 11'/%3E%3Cpath d='M3 16v-3a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v3'/%3E%3Ccircle cx='7.5' cy='16.5' r='1.8'/%3E%3Ccircle cx='16.5' cy='16.5' r='1.8'/%3E%3C/svg%3E"); }
.ico--safe   { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='14' rx='2'/%3E%3Ccircle cx='12' cy='11' r='3.5'/%3E%3Cpath d='M7 18v2m10-2v2'/%3E%3C/svg%3E"); }
.ico--mail   { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='M22 6l-10 7L2 6'/%3E%3C/svg%3E"); }
.ico--euro   { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18.5 5.5A7.5 7.5 0 1 0 18.5 18.5'/%3E%3Cline x1='3.5' y1='10.5' x2='13' y2='10.5'/%3E%3Cline x1='3.5' y1='13.5' x2='12' y2='13.5'/%3E%3C/svg%3E"); }
.ico--file   { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpolyline points='14 2 14 8 20 8'/%3E%3Cline x1='16' y1='13' x2='8' y2='13'/%3E%3Cline x1='16' y1='17' x2='8' y2='17'/%3E%3C/svg%3E"); }

/* ==========================================================================
   4. Buttons  (flach, kein farbiger Schatten / Glow)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.75em 1.5em;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none !important;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background-color var(--t-base) var(--ease-out),
              border-color var(--t-base) var(--ease-out),
              color var(--t-base) var(--ease-out),
              transform var(--t-fast) var(--ease-out);
  white-space: nowrap;
}
.btn--accent { background: var(--accent); color: #fff; }   /* nur Notruf */
.btn--accent:hover { background: var(--accent-hover); color: #fff; }
.btn--ghost { background: var(--surface); color: var(--primary); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--primary); color: var(--primary-hover); }
.btn--dark { background: var(--blue-800); color: #fff; }
.btn--dark:hover { background: var(--primary-hover); color: #fff; }
.btn--lg { padding: 1em 1.7em; font-size: 1.0625rem; min-height: 52px; }
.btn:active { transform: translateY(1px); }
.btn { min-height: 44px; }

/* ==========================================================================
   5. Topbar + Header + Navigation
   ========================================================================== */
.topbar {
  background: var(--blue-800);
  color: #c7d2de;
  font-size: 0.8125rem;
}
.topbar__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0.5em 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1em;
}
.topbar .ico { color: #8fb4dd; margin-right: 0.35em; }
.topbar a { color: #fff; font-weight: 600; }
.topbar__right { display: flex; gap: 1.6em; align-items: center; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--t-medium) var(--ease-out);
}
.site-header.is-stuck { box-shadow: var(--shadow-header); }

.header__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0.9rem 24px;
  display: flex;
  align-items: center;
  gap: 28px;
  transition: padding var(--t-medium) var(--ease-out);
}
.site-header.is-stuck .header__inner { padding-top: 0.55rem; padding-bottom: 0.55rem; }

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none !important;
  margin-right: auto;
}
.brand__logo { flex: none; }
.brand__text { line-height: 1.15; }
.brand__name {
  display: block;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.brand__claim {
  display: block;
  font-size: 0.8125rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.nav__list {
  display: flex;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}
.nav__list a {
  position: relative;
  display: block;
  padding: 0.5em 0.66em;
  border-radius: 6px;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.9375rem;
  white-space: nowrap;
  text-decoration: none !important;
}
.header__cta { padding: 0.58em 1.05em; font-size: 0.95rem; }
/* dezenter Unterstrich, der von links wächst – kein Glow */
.nav__list a::after {
  content: "";
  position: absolute;
  left: 0.66em;
  right: 0.66em;
  bottom: 0.32em;
  height: 1.5px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-base) var(--ease-out);
}
.nav__list a:hover { color: var(--primary); }
.nav__list a:hover::after,
.nav__list a:focus-visible::after { transform: scaleX(1); }
.nav__list .current-menu-item > a,
.nav__list .current-menu-ancestor > a,
.nav__list .current_page_item > a { color: var(--primary); }
.nav__list .sub-menu a::after { content: none; }

/* Dropdown */
.nav__list li { position: relative; }
.nav__list .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 250px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  list-style: none;
  margin: 0;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity var(--t-base) var(--ease-out), transform var(--t-base) var(--ease-out), visibility var(--t-base);
}
.nav__list li:hover > .sub-menu,
.nav__list li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav__list .menu-item-has-children > a::after {
  content: "";
  position: static;
  display: inline-block;
  width: 0.5em;
  height: 0.5em;
  margin-left: 0.45em;
  border: none;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  background: none;
  transform: rotate(45deg) translateY(-2px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  padding: 10px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 3px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ==========================================================================
   6. Hero  (hell & sachlich – kein Gradient, kein Glow, kein Wasserzeichen)
   ========================================================================== */
.hero {
  position: relative;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
  color: var(--text);
}
.hero__inner {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(2.75rem, 6vw, 4.75rem) 24px;
}
.hero--home .hero__inner { padding-top: clamp(3rem, 7vw, 5.5rem); padding-bottom: clamp(3rem, 7vw, 5.5rem); max-width: 940px; }

.hero__kicker {
  display: inline-block;
  background: var(--blue-50);
  border: 1px solid var(--line);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.4em 0.9em;
  border-radius: 999px;
  margin: 0 0 1.1em;
}
.hero__title {
  color: var(--ink);
  font-size: clamp(2rem, 1.4rem + 2.6vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 0.45em;
  max-width: 22ch;
}
.hero--home .hero__title { max-width: 24ch; }
.hero__lead {
  font-size: 1.25rem;
  line-height: 1.55;
  color: var(--muted);
  max-width: 64ch;
  margin-bottom: 1.6em;
}
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.6em;
}
.hero__usps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7em 1.8em;
  list-style: none;
  margin: 0;
  padding: 0;
}
.hero__usps li {
  display: flex;
  align-items: center;
  gap: 0.5em;
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
}
.hero__usps li::before {
  content: "";
  width: 1.15em;
  height: 1.15em;
  flex: none;
  background-color: var(--ok);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ==========================================================================
   7. Sektionen
   ========================================================================== */
.section { padding: var(--section-pad) 0; background: var(--surface); }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--blue-800); color: #e7edf4; }
.section--dark h2, .section--dark h3, .section--dark strong { color: #fff; }
.section--dark a { color: #cfe0f3; }
.section--dark a:hover { color: #fff; }

.section__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.section__inner--narrow { max-width: var(--container-narrow); }

.section__kicker {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.6em;
}
.section--dark .section__kicker { color: #8fb4dd; }
.section__title {
  font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2rem);
  font-weight: 700;
  max-width: 28ch;
  margin-bottom: 0.5em;
}
.section__lead {
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 66ch;
  margin-bottom: 1.75em;
}
.section--dark .section__lead { color: #b8c8da; }

/* ==========================================================================
   8. Raster & Karten
   ========================================================================== */
.grid {
  display: grid;
  gap: 1.5rem;
  margin: 1.25em 0 0;
}
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
  transition: transform var(--t-base) var(--ease-out), box-shadow var(--t-base) var(--ease-out), border-color var(--t-base) var(--ease-out);
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); border-color: var(--line-strong); }
.section--dark .card { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.14); }

.card__icon {
  width: 48px;
  height: 48px;
  padding: 12px;
  box-sizing: border-box;
  border-radius: var(--radius-sm);
  background: var(--blue-50);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.card .card__icon::before {
  content: "";
  width: 24px;
  height: 24px;
  background-color: var(--primary);
  -webkit-mask: var(--i) center / contain no-repeat;
  mask: var(--i) center / contain no-repeat;
}
.card__title { font-size: 1.25rem; line-height: 1.3; font-weight: 600; margin-bottom: 0.4em; color: var(--ink); }
.card__text { color: var(--text); font-size: 1rem; flex: 1; max-width: 66ch; }
.card__link {
  position: relative;
  align-self: flex-start;
  font-weight: 600;
  color: var(--primary);
  margin-top: 0.7em;
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 0% 1.5px;
  transition: background-size var(--t-base) var(--ease-out);
}
.card__link:hover { background-size: 100% 1.5px; text-decoration: none; }

/* ==========================================================================
   9. Schritte, Checklisten, Badges, Kennzahlen
   ========================================================================== */
.steps {
  list-style: none;
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 2em 0;
  padding: 0;
}
.step {
  counter-increment: step;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 1.6rem 1.5rem 1.4rem;
  position: relative;
}
.section--dark .step { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.14); }
.step::before {
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--primary);
  color: var(--primary);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 14px;
}
.step__title { font-size: 1.125rem; font-weight: 600; margin-bottom: 0.35em; }
.step p { margin-bottom: 0; color: var(--text); font-size: 1rem; }

.checklist {
  list-style: none;
  padding: 0;
  margin: 1.2em 0;
  display: grid;
  gap: 0.6em;
}
.checklist li {
  position: relative;
  padding-left: 2em;
  font-weight: 400;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.3em;
  width: 1.2em;
  height: 1.2em;
  border-radius: 50%;
  background-color: var(--ok-tint);
}
.checklist li::after {
  content: "";
  position: absolute;
  left: 0.3em;
  top: 0.58em;
  width: 0.66em;
  height: 0.66em;
  background-color: var(--ok);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / contain no-repeat;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.4em 0;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  background: var(--blue-50);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.4em 0.9em;
  font-weight: 600;
  font-size: 0.8125rem;
  color: var(--primary);
}
.badge .ico { color: var(--primary); }
.section--dark .badge { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.18); color: #fff; }
.section--dark .badge .ico { color: #8fb4dd; }

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin: 2em 0;
  text-align: center;
}
.stat {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 1.6rem 1rem;
}
.section--dark .stat { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.14); }
.stat__num {
  display: block;
  font-size: clamp(1.7rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.01em;
}
.section--dark .stat__num { color: #8fb4dd; }
.stat__label {
  display: block;
  margin-top: 0.3em;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.9rem;
}
.section--dark .stat__label { color: #b8c8da; }

/* ==========================================================================
   10. Tabellen (Preise, Öffnungszeiten)
   ========================================================================== */
.prices, .hours {
  width: 100%;
  border-collapse: collapse;
  margin: 1.6em 0 0.8em;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  font-size: 1rem;
}
.hours { max-width: 560px; }
.prices th {
  background: var(--bg-alt);
  color: var(--ink);
  text-align: left;
  padding: 0.85rem 1rem;
  font-size: 0.95rem;
  font-weight: 600;
}
.prices td, .hours td {
  padding: 0.85rem 1rem;
  border-top: 1px solid var(--line);
  color: var(--text);
}
.prices tbody tr:hover td, .hours tr:hover td { background: #fafbfc; }
.prices__price {
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
  text-align: right;
}
.prices__note { font-size: 0.875rem; color: var(--muted); }
.hours td:last-child { text-align: right; font-weight: 600; color: var(--ink); }
.hours tr:first-child td { border-top: none; }

/* ==========================================================================
   11. FAQ-Akkordeon
   ========================================================================== */
.faq { display: grid; gap: 0; margin: 1.6em 0; border-top: 1px solid var(--line); }
.faq__item {
  background: transparent;
  border-bottom: 1px solid var(--line);
}
.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.1rem 52px 1.1rem 4px;
  font-weight: 600;
  color: var(--ink);
  position: relative;
  user-select: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--primary); }
.faq__item summary::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 50%;
  width: 11px;
  height: 11px;
  border-right: 2.5px solid var(--primary);
  border-bottom: 2.5px solid var(--primary);
  transform: translateY(-70%) rotate(45deg);
  transition: transform var(--t-base) var(--ease-out);
}
.faq__item[open] summary { color: var(--primary); }
.faq__item[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq__body { padding: 0 4px 1.2rem; color: var(--text); }
.faq__item[open] .faq__body { animation: faqIn var(--t-medium) var(--ease-out); }
.faq__body p:last-child { margin-bottom: 0; }
@keyframes faqIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* ==========================================================================
   12. Hinweisboxen, Zitate, Zweispalter
   ========================================================================== */
.notice {
  border-radius: var(--radius);
  padding: 1.1rem 1.3rem;
  margin: 1.6em 0;
  border: 1px solid var(--line);
  border-left: 4px solid var(--info);
  background: var(--info-tint);
}
.notice h3 { font-size: 1.1rem; display: flex; align-items: center; gap: 0.5em; margin-bottom: 0.4em; }
.notice p:last-child, .notice ul:last-child { margin-bottom: 0; }
.notice--info { background: var(--info-tint); border-left-color: var(--info); }
.notice--warn { background: var(--warn-tint); border-left-color: var(--warn); }
.notice--warn h3 { color: var(--warn); }
.notice--warn h3::before {
  content: "";
  width: 1.2em;
  height: 1.2em;
  flex: none;
  background-color: var(--warn);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z'/%3E%3Cline x1='12' y1='9' x2='12' y2='13'/%3E%3Cline x1='12' y1='17' x2='12.01' y2='17'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z'/%3E%3Cline x1='12' y1='9' x2='12' y2='13'/%3E%3Cline x1='12' y1='17' x2='12.01' y2='17'/%3E%3C/svg%3E") center / contain no-repeat;
}

.quote {
  margin: 0;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
}
.quote p { font-style: italic; color: var(--text); }
.quote__author {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 0.6em;
  align-items: center;
}
.quote__stars { color: var(--ok); letter-spacing: 0.1em; }

.split {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 2rem;
  align-items: start;
  margin: 1.6em 0;
}
.split__aside .card, .split__aside .notice { margin: 0; }

/* ==========================================================================
   13. CTA-Banner  (flach, ein ruhiges Tiefblau-Band – kein Glow)
   ========================================================================== */
.cta-banner {
  padding: var(--section-pad) 24px;
  background: var(--blue-800);
  color: #e7edf4;
}
.cta-banner__inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.cta-banner h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2rem); }
.cta-banner p { font-size: 1.1rem; margin-bottom: 1.6em; color: #cdd9e6; }
.cta-banner .hero__ctas { justify-content: center; margin-bottom: 0; }
.cta-banner .btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.5); }
.cta-banner .btn--ghost:hover { border-color: #fff; color: #fff; }

/* ==========================================================================
   14. Formular
   ========================================================================== */
.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 32px;
  margin: 1.6em 0;
}
.form__field { display: flex; flex-direction: column; gap: 6px; }
.form__field--full { grid-column: 1 / -1; }
.form label { font-weight: 600; font-size: 0.92rem; color: var(--ink); }
.form label .req { color: var(--warn); }
.form input[type="text"],
.form input[type="tel"],
.form input[type="email"],
.form select,
.form textarea {
  font: inherit;
  padding: 0.7em 0.85em;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--ink);
  transition: border-color var(--t-base) var(--ease-out), box-shadow var(--t-base) var(--ease-out);
  width: 100%;
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(30, 84, 143, 0.15);
}
.form textarea { min-height: 150px; resize: vertical; }
.form__consent {
  grid-column: 1 / -1;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.9rem;
  color: var(--muted);
}
.form__consent input { margin-top: 0.3em; width: 1.1em; height: 1.1em; }
.form__submit { grid-column: 1 / -1; }
.form__hp { position: absolute !important; left: -9999px !important; height: 0; overflow: hidden; }

.form-result {
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 1.4em 0;
  font-weight: 600;
}
.form-result--ok { background: var(--ok-tint); border: 1px solid #b5e3c8; color: #14693a; }
.form-result--error { background: var(--warn-tint); border: 1px solid #f0d9a2; color: var(--warn); }

/* ==========================================================================
   15. Footer + mobile Anrufleiste
   ========================================================================== */
.site-footer {
  background: var(--blue-800);
  color: #c7d2de;
  font-size: 0.95rem;
}
.footer__grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 3.5rem 24px 2.5rem;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1.2fr;
  gap: 36px;
}
.footer__cities { grid-template-columns: 1fr 1fr; column-gap: 1.2em; }
.footer__brand .brand__name { color: #fff; }
.footer__brand .brand__claim { color: #8fa6bd; }
.site-footer h4 {
  color: #fff;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1em;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55em; }
.site-footer a { color: #cdd9e6; }
.site-footer a:hover { color: #fff; }
.footer__grid a { display: inline-block; padding: 3px 0; }
.footer__contact li { display: flex; gap: 0.6em; align-items: baseline; }
.footer__contact .ico { color: #8fb4dd; }
.footer__badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 1.2em; }
.footer__badges .badge {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.16);
  color: #e7edf4;
  font-size: 0.8rem;
  padding: 0.35em 0.85em;
}
.footer__badges .badge .ico { color: #8fb4dd; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); }
.footer__bottom-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1em;
  font-size: 0.85rem;
  color: #8fa6bd;
}
.footer__legal { display: flex !important; gap: 1.4em !important; }
.footer__legal ul, ul.footer__legal { display: flex; gap: 1.4em; }

.mobile-call {
  display: none;
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 60;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  text-align: center;
  min-height: 48px;
  padding: 13px 18px;
  border-radius: var(--radius);
  box-shadow: 0 -1px 0 rgba(20, 32, 46, 0.06), 0 -4px 14px -6px rgba(20, 32, 46, 0.30);
  text-decoration: none !important;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
}
.mobile-call:hover { background: var(--accent-hover); color: #fff; }

/* ==========================================================================
   16. Rechtsseiten & 404
   ========================================================================== */
.legal h2 { font-size: 1.45rem; margin-top: 1.8em; }
.legal h3 { font-size: 1.12rem; margin-top: 1.4em; }
.legal p, .legal li { font-size: 0.99rem; }

.error-404 .section__inner { text-align: center; padding-top: 40px; padding-bottom: 40px; }

/* ==========================================================================
   16b. A1-Module: Vertrauensleiste, Städte-Wähler-Hero, Telefon-Zusage
   ========================================================================== */

/* Vertrauensleiste direkt unter dem Hero (auf jeder Inhaltsseite) */
.trustbar { background: var(--surface); border-bottom: 1px solid var(--line); }
.trustbar__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.trustbar__item {
  padding: 1.05rem 1.25rem;
  border-left: 1px solid var(--line);
}
.trustbar__item:first-child { border-left: none; padding-left: 0; }
.trustbar__item b {
  display: block;
  color: var(--ink);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.trustbar__item b .ico { color: var(--primary); font-size: 0.95em; margin-right: 0.3em; }
.trustbar__item span { color: var(--muted); font-size: 0.84rem; }

/* Hero mit Städte-Wähler (Layout-Variante I) + dezentes Punktraster-Motiv */
.hero--home {
  background-color: var(--bg-alt);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28'%3E%3Ccircle cx='1.3' cy='1.3' r='1.3' fill='%23d7dde6'/%3E%3C/svg%3E");
}
.hero__pick {
  font-weight: 700;
  color: var(--ink);
  margin: 0.4rem 0 0;
}
.citychooser {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.6rem;
  margin: 1rem 0 0;
  list-style: none;
  padding: 0;
}
.citychooser li { display: flex; }
.citychooser__tile {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.8rem;
  text-decoration: none !important;
  transition: border-color var(--t-base) var(--ease-out), transform var(--t-base) var(--ease-out), box-shadow var(--t-base) var(--ease-out);
}
.citychooser__tile:hover { border-color: var(--primary); transform: translateY(-2px); box-shadow: var(--shadow-card); }
.citychooser__city { color: var(--ink); font-weight: 700; font-size: 0.97rem; }
.citychooser__city::after { content: " →"; color: var(--primary); }
.citychooser__ex { color: var(--muted); font-size: 0.78rem; line-height: 1.35; }

/* Telefon-Zusage / Signatur-Versprechen-Band */
.promise { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.promise__inner {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: var(--section-pad) 24px;
  text-align: center;
}
.promise__mark {
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8125rem;
  margin: 0;
}
.promise__text {
  font-size: clamp(1.3rem, 1rem + 1.5vw, 1.85rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.32;
  letter-spacing: -0.01em;
  margin: 0.5rem auto 0;
  max-width: 26ch;
}
.promise__sub { color: var(--muted); max-width: 60ch; margin: 0.9rem auto 1.6rem; }

/* Brotkrumen (interne Orientierung & Verlinkung) */
.crumbs { background: var(--surface); border-bottom: 1px solid var(--line); font-size: 0.85rem; }
.crumbs__inner { max-width: var(--container); margin: 0 auto; padding: 0.6rem 24px; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--primary); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }
.crumbs__sep { margin: 0 0.5em; color: var(--line-strong); }

/* Link-Chips: Stadtteil-/Städte-Verweise als Tag-Reihe */
.linkchips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.1em 0 0; }
.linkchip {
  display: inline-flex;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.4em 0.9em;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none !important;
  transition: border-color var(--t-base) var(--ease-out), background var(--t-base) var(--ease-out);
}
.linkchip:hover { border-color: var(--primary); background: var(--blue-50); }

/* Mid-Page-CTA-Band (volle Breite, ruhiges Tiefblau) */
.midcta { background: var(--blue-800); color: #e7edf4; }
.midcta__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(2rem, 4vw, 3rem) 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2rem;
}
.midcta__text { flex: 1 1 30ch; }
.midcta__text h2 { color: #fff; font-size: clamp(1.3rem, 2.4vw, 1.7rem); margin: 0 0 0.3em; }
.midcta__text p { color: #cdd9e6; margin: 0; max-width: 56ch; }
.midcta__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.midcta .btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.5); }
.midcta .btn--ghost:hover { border-color: #fff; color: #fff; }

/* Fallkarten (Einsatzbeispiele) */
.casecard { border-left: 3px solid var(--primary); }
.casecard__ic { color: var(--primary); font-size: 1.25rem; margin-bottom: 0.5rem; }
.casecard .card__title { font-size: 1.02rem; line-height: 1.35; }
.casecard .card__text { font-size: 0.97rem; }

/* Soforthilfe-Anrufkarte (Aside im Zweispalter) */
.callcard {
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 1.4rem;
  position: sticky;
  top: 92px;
}
.callcard__label {
  display: flex;
  align-items: center;
  gap: 0.4em;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 0.4rem;
}
.callcard__lead { color: var(--text); margin: 0 0 1rem; font-size: 1rem; }
.callcard__btn { width: 100%; justify-content: center; }
.callcard__usps { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: 0.5em; }
.callcard__usps li { position: relative; padding-left: 1.7em; color: var(--text); font-size: 0.95rem; }
.callcard__usps li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.32em;
  width: 1.1em;
  height: 1.1em;
  background-color: var(--ok);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / contain no-repeat;
}

@media (max-width: 1020px) {
  .citychooser { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 700px) {
  .trustbar__inner { grid-template-columns: repeat(2, 1fr); }
  .trustbar__item { padding: 0.9rem 1rem; }
  .trustbar__item:nth-child(odd) { border-left: none; padding-left: 0; }
  .trustbar__item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .citychooser { grid-template-columns: repeat(2, 1fr); }
}

/* ==========================================================================
   17. Scroll-Reveal (dezent, nur mit JS aktiv)
   ========================================================================== */
.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity var(--t-reveal) var(--ease-out), transform var(--t-reveal) var(--ease-out);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ==========================================================================
   18. Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }

  /* Navigation -> Hamburger + feste Notruf-Leiste bereits ab Tablet,
     damit der Anruf-Button in keiner Bildschirmbreite verschwindet. */
  .header__cta { display: none; }
  .nav-toggle { display: flex; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-card);
    max-height: calc(100vh - 130px);
    overflow-y: auto;
  }
  body.nav-open .nav { display: block; }
  .nav__list { flex-direction: column; align-items: stretch; padding: 12px 16px 18px; gap: 2px; }
  .nav__list a { padding: 0.8em 0.9em; font-size: 1.05rem; }
  .nav__list a::after { content: none; }
  .nav__list .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    border-left: 3px solid var(--bg-alt);
    border-radius: 0;
    margin-left: 1em;
    padding: 0;
    min-width: 0;
  }
  .nav__list .menu-item-has-children > a::after { display: none; }
  .mobile-call { display: flex; }
  body { padding-bottom: 76px; }
}

@media (max-width: 768px) {
  .section { padding: clamp(2.5rem, 9vw, 3.25rem) 0; }
  .topbar__right span:not(:last-child) { display: none; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; padding: 22px; }
  .hero__inner, .hero--home .hero__inner { padding: 2.75rem 20px; }
  .hero__ctas .btn { width: 100%; justify-content: center; }
  .callcard { position: static; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; padding-top: 2.75rem; }
}

/* ==========================================================================
   19. Reduced Motion  (immer zuletzt)
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  html { scroll-behavior: auto !important; }
  .js .reveal { opacity: 1 !important; transform: none !important; }
  .card:hover { transform: none; }
}
