/*
Theme Name: Schlüsseldienst Berlin (Variante A)
Theme URI: https://schluesseldienst-berlin.de/
Author: Schlüsseldienst Berlin
Description: Layout-Variante A für schluesseldienst-berlin.de — Hero linksbündig, Trust-Chips, Karten-Sektionen. Farbwelt Tiefblau (#0d4f8b) + Signal-Orange. Inter selbst gehostet. Keine externen Requests (DSGVO), Performance-Budget LCP < 2 s.
Version: 1.0.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: schluesseldienst-berlin
*/

/* ==========================================================================
   0. Schrift: Inter (selbst gehostet, fonts/)
   ========================================================================== */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/inter-400.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/inter-600.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/inter-700.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("fonts/inter-800.woff2") format("woff2");
}

/* ==========================================================================
   1. Design-Token — Variante A: Tiefblau + Signal-Orange
   ========================================================================== */
:root {
  --blue: #0d4f8b;
  --blue-deep: #083258;
  --blue-soft: #1465ad;
  --blue-bright: #2a7fd0;
  --accent: #ff6a13;
  --accent-dark: #e25405;
  --accent-soft: #fff0e7;
  --ink: #14212e;
  --text: #3b4a59;
  --muted: #5f7183;
  --bg: #ffffff;
  --bg-alt: #f2f6fa;
  --bg-soft: #e3edf6;
  --line: #d8e3ee;
  --ok: #178f50;
  --warn: #b54708;
  --warn-bg: #fff4e3;
  --info-bg: #e9f2fb;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 14px 34px rgba(8, 50, 88, 0.13);
  --shadow-sm: 0 3px 14px rgba(8, 50, 88, 0.08);
  --container: 1180px;
  --container-narrow: 840px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

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

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}

h1, h2, h3, h4, h5 {
  color: var(--ink);
  line-height: 1.18;
  margin: 0 0 0.6em;
  font-weight: 800;
  letter-spacing: -0.02em;
}

p { margin: 0 0 1.1em; }

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

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

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

strong { color: var(--ink); }

:focus-visible {
  outline: 3px solid var(--accent);
  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"); }
.ico--smart  { --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='7' y='2' width='10' height='20' rx='2'/%3E%3Cline x1='11' y1='18' x2='13' y2='18'/%3E%3C/svg%3E"); }
.ico--build  { --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='4' y='2' width='16' height='20' rx='1'/%3E%3Cpath d='M9 22v-4h6v4M9 6h.01M15 6h.01M9 10h.01M15 10h.01M9 14h.01M15 14h.01'/%3E%3C/svg%3E"); }

/* ==========================================================================
   4. Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  padding: 0.8em 1.5em;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  font-family: var(--font);
  text-decoration: none !important;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn--accent {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 22px rgba(255, 106, 19, 0.35);
}
.btn--accent:hover { background: var(--accent-dark); }

.btn--ghost {
  border-color: currentColor;
  color: inherit;
  background: transparent;
}

.btn--dark {
  background: var(--blue);
  color: #fff;
}
.btn--dark:hover { background: var(--blue-soft); }

.btn--lg { padding: 0.95em 1.9em; font-size: 1.08rem; }

.nowrap { white-space: nowrap; }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.2s ease;
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }

.header__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 11px 24px;
  display: flex;
  align-items: center;
  gap: 26px;
}

.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: 800;
  font-size: 1.1rem;
  color: var(--blue);
  letter-spacing: -0.01em;
}
.brand__claim {
  display: block;
  font-size: 0.72rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-weight: 600;
}

.nav__list {
  display: flex;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}
.nav__list a {
  display: block;
  padding: 0.55em 0.8em;
  border-radius: 8px;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none !important;
}
.nav__list a:hover { background: var(--bg-alt); color: var(--blue); }
.nav__list .current-menu-item > a,
.nav__list .current-menu-ancestor > a,
.nav__list .current_page_item > a { color: var(--blue); box-shadow: inset 0 -3px 0 var(--accent); border-radius: 8px 8px 0 0; }

/* Dropdown */
.nav__list li { position: relative; }
.nav__list .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 290px;
  max-height: 74vh;
  overflow-y: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  list-style: none;
  margin: 0;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(0.97);
  transform-origin: top center;
  transition: opacity 0.2s ease, transform 0.24s cubic-bezier(0.2, 0.75, 0.2, 1), visibility 0.24s;
  z-index: 60;
}
.nav__list li:hover > .sub-menu,
.nav__list li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}
.nav__list .sub-menu a { font-size: 0.92rem; }
.nav__list .menu-item-has-children > a::after {
  content: "";
  display: inline-block;
  width: 0.5em;
  height: 0.5em;
  margin-left: 0.45em;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.2s ease;
}
.nav__list .menu-item-has-children:hover > a::after,
.nav__list .menu-item-has-children:focus-within > a::after {
  transform: rotate(-135deg) 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(--blue);
  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. Brotkrumen
   ========================================================================== */
.breadcrumbs {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
  font-size: 0.85rem;
}
.breadcrumbs__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0.6em 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6em;
  align-items: center;
  color: var(--muted);
}
.breadcrumbs a { color: var(--blue); font-weight: 600; }
.breadcrumbs__sep { color: var(--line); }
.breadcrumbs__current { color: var(--ink); font-weight: 600; }

/* ==========================================================================
   7. Hero — Variante A: linksbündig, klare Kante
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(820px 400px at 100% 0%, rgba(42, 127, 208, 0.5), transparent 62%),
    linear-gradient(120deg, var(--blue-deep) 0%, var(--blue) 64%, var(--blue-soft) 100%);
}
.hero::after {
  content: "";
  position: absolute;
  right: -50px;
  top: 50%;
  width: 430px;
  height: 430px;
  margin-top: -215px;
  background-color: rgba(255, 255, 255, 0.055);
  -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='1.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") 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='1.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") center / contain no-repeat;
  transform: rotate(10deg);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
  padding: 58px 24px 50px;
}
.hero--home .hero__inner { padding: 88px 24px 72px; }

.hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  background: rgba(255, 106, 19, 0.16);
  border: 1px solid rgba(255, 138, 70, 0.55);
  color: #ffc8a3;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.45em 1em;
  border-radius: 6px;
  margin: 0 0 1.2em;
}
.hero__title {
  color: #fff;
  font-size: clamp(1.85rem, 4vw, 2.95rem);
  font-weight: 800;
  margin-bottom: 0.45em;
  max-width: 22ch;
}
.hero__lead {
  font-size: clamp(1.02rem, 1.5vw, 1.18rem);
  color: #d2e2f2;
  max-width: 64ch;
  margin-bottom: 1.5em;
}
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 1.5em;
}
.hero .btn--ghost { color: #fff; }
.hero__usps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7em 1.7em;
  list-style: none;
  margin: 0;
  padding: 0;
}
.hero__usps li {
  display: flex;
  align-items: center;
  gap: 0.5em;
  color: #e3eefa;
  font-weight: 600;
  font-size: 0.94rem;
}
.hero__usps li::before {
  content: "";
  width: 1.1em;
  height: 1.1em;
  flex: none;
  background-color: var(--accent);
  -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;
}

/* ==========================================================================
   8. Trust-Chips
   ========================================================================== */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 1.4em 0;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 0.6em 1.1em;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.chip .ico { color: var(--accent); }
.hero .chip, .section--dark .chip {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.22);
  color: #fff;
}

/* Trust-Bar direkt unter dem Hero */
.trustbar {
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.trustbar .chips {
  max-width: var(--container);
  margin: 0 auto;
  padding: 16px 24px;
  justify-content: space-between;
}
.trustbar .chip { border: none; box-shadow: none; padding: 0.3em 0; }

/* ==========================================================================
   9. Sektionen
   ========================================================================== */
.section { padding: 68px 0; }
.section--alt { background: var(--bg-alt); }
.section--dark {
  background: linear-gradient(120deg, var(--blue-deep), var(--blue));
  color: #d2e2f2;
}
.section--dark h2, .section--dark h3, .section--dark strong { color: #fff; }
.section--dark a { color: #93c4ef; }

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

.section__kicker {
  color: var(--accent-dark);
  font-weight: 800;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.6em;
}
.section--dark .section__kicker { color: #ffa264; }
.section__title {
  font-size: clamp(1.45rem, 2.7vw, 2.05rem);
  max-width: 30ch;
}
.section__lead {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 72ch;
  margin-bottom: 2em;
}
.section--dark .section__lead { color: #b4cce2; }

/* ==========================================================================
   10. Raster & Karten
   ========================================================================== */
.grid {
  display: grid;
  gap: 22px;
  margin: 1.6em 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: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.section--dark .card { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.14); }

.card .card__icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: var(--accent-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  -webkit-mask: none;
  mask: none;
  margin-bottom: 16px;
}
.card .card__icon::before {
  content: "";
  width: 25px;
  height: 25px;
  background-color: var(--accent-dark);
  -webkit-mask: var(--i) center / contain no-repeat;
  mask: var(--i) center / contain no-repeat;
}
.card__title { font-size: 1.1rem; margin-bottom: 0.4em; }
.card__text { color: var(--muted); font-size: 0.96rem; flex: 1; }
.card__link { font-weight: 700; color: var(--blue); margin-top: 0.6em; }

/* ==========================================================================
   11. Schritte, Checklisten, Badges, Kennzahlen
   ========================================================================== */
.steps {
  list-style: none;
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin: 2em 0;
  padding: 0;
}
.step {
  counter-increment: step;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 26px 24px 22px;
  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: 10px;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 14px;
  box-shadow: 0 6px 16px rgba(255, 106, 19, 0.4);
}
.step__title { font-size: 1.06rem; margin-bottom: 0.35em; }
.step p { margin-bottom: 0; color: var(--muted); font-size: 0.95rem; }

.checklist {
  list-style: none;
  padding: 0;
  margin: 1.2em 0;
  display: grid;
  gap: 0.65em;
}
.checklist li {
  position: relative;
  padding-left: 2em;
  font-weight: 500;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.28em;
  width: 1.25em;
  height: 1.25em;
  border-radius: 6px;
  background-color: var(--ok);
}
.checklist li::after {
  content: "";
  position: absolute;
  left: 0.28em;
  top: 0.56em;
  width: 0.7em;
  height: 0.7em;
  background-color: #fff;
  -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: 12px;
  margin: 1.4em 0;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.5em 1.1em;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--blue);
  box-shadow: var(--shadow-sm);
}
.badge .ico { color: var(--accent-dark); }
.section--dark .badge { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.18); color: #fff; }

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin: 2em 0;
  text-align: center;
}
.stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 26px 16px;
}
.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.6rem, 3vw, 2.3rem);
  font-weight: 800;
  color: var(--blue);
  letter-spacing: -0.02em;
}
.section--dark .stat__num { color: var(--accent); }
.stat__label {
  display: block;
  margin-top: 0.3em;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.9rem;
}
.section--dark .stat__label { color: #b4cce2; }

/* ==========================================================================
   12. Tabellen (Preise, Vergleich, Öffnungszeiten)
   ========================================================================== */
.prices, .table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.6em 0 0.8em;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
}
.prices th, .table th {
  background: var(--blue);
  color: #fff;
  text-align: left;
  padding: 13px 18px;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
}
.prices td, .table td {
  padding: 12px 18px;
  border-top: 1px solid var(--line);
  color: var(--text);
  vertical-align: top;
}
.prices tbody tr:nth-child(even), .table tbody tr:nth-child(even) { background: var(--bg-alt); }
.prices td a { font-weight: 700; }
.prices__price {
  font-weight: 800;
  color: var(--blue);
  white-space: nowrap;
  text-align: right;
}
.prices__note, .table__note { font-size: 0.88rem; color: var(--muted); }
.section--dark .prices th { background: var(--accent); color: #fff; }
.section--dark .prices td { background: rgba(255, 255, 255, 0.04); color: #d2e2f2; border-color: rgba(255, 255, 255, 0.1); }
.section--dark .prices tbody tr:nth-child(even) td { background: rgba(255, 255, 255, 0.08); }
.section--dark .prices__price { color: #ffb27d; }
.section--dark .prices__note { color: #b4cce2; }

.hours {
  width: 100%;
  max-width: 560px;
  border-collapse: collapse;
  margin: 1.4em 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.hours td {
  padding: 13px 20px;
  border-top: 1px solid var(--line);
}
.hours tr:first-child td { border-top: none; }
.hours td:last-child { text-align: right; font-weight: 700; color: var(--blue); }

/* ==========================================================================
   13. FAQ-Akkordeon
   ========================================================================== */
.faq { display: grid; gap: 12px; margin: 1.6em 0; }
.faq__item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 17px 52px 17px 22px;
  font-weight: 700;
  color: var(--ink);
  position: relative;
  user-select: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "";
  position: absolute;
  right: 20px;
  top: 50%;
  width: 11px;
  height: 11px;
  border-right: 2.5px solid var(--accent-dark);
  border-bottom: 2.5px solid var(--accent-dark);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s ease;
}
.faq__item[open] summary { color: var(--blue); }
.faq__item[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq__body { padding: 0 22px 18px; color: var(--text); overflow: hidden; }
.faq__body p:last-child { margin-bottom: 0; }

/* ==========================================================================
   14. Hinweisboxen, Zitate, Zweispalter
   ========================================================================== */
.notice {
  border-radius: var(--radius);
  padding: 24px 26px;
  margin: 1.6em 0;
  border: 1px solid var(--line);
  border-left: 5px solid var(--blue);
  background: var(--info-bg);
}
.notice h3 { font-size: 1.08rem; display: flex; align-items: center; gap: 0.5em; }
.notice p:last-child, .notice ul:last-child { margin-bottom: 0; }
.notice--warn {
  background: var(--warn-bg);
  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;
}
.notice--info { background: var(--info-bg); border-left-color: var(--blue); }

.quote {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 30px 26px 24px;
  position: relative;
}
.quote::before {
  content: "\201E";
  position: absolute;
  top: -6px;
  left: 18px;
  font-size: 4.4rem;
  line-height: 1;
  color: var(--accent);
  font-family: Georgia, serif;
}
.quote p { font-style: italic; color: var(--ink); position: relative; z-index: 1; }
.quote__author {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 0.6em;
  align-items: center;
}
.quote__stars { color: var(--accent); letter-spacing: 0.1em; }

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

/* ==========================================================================
   15. CTA-Banner
   ========================================================================== */
.cta-banner {
  padding: 68px 24px;
  background:
    radial-gradient(700px 320px at 92% 0%, rgba(255, 106, 19, 0.25), transparent 60%),
    linear-gradient(120deg, var(--blue-deep), var(--blue));
  color: #d2e2f2;
}
.cta-banner__inner {
  max-width: 860px;
  margin: 0 auto;
}
.cta-banner h2 { color: #fff; font-size: clamp(1.45rem, 3vw, 2.1rem); }
.cta-banner p { font-size: 1.08rem; margin-bottom: 1.6em; }
.cta-banner .hero__ctas { margin-bottom: 0; }
.cta-banner .btn--ghost { color: #fff; }

/* ==========================================================================
   16. Formular
   ========================================================================== */
.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  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: 700; 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.9em;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg-alt);
  color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  width: 100%;
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(13, 79, 139, 0.15);
  background: #fff;
}
.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: #e7f6ee; border: 1px solid #b5e3c8; color: #14693a; }
.form-result--error { background: var(--warn-bg); border: 1px solid #f0c9a2; color: var(--warn); }

/* ==========================================================================
   17. Footer + mobile Anrufleiste
   ========================================================================== */
.site-footer {
  background: var(--blue-deep);
  color: #b4cce2;
  font-size: 0.94rem;
}
.footer__grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 58px 24px 38px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 34px;
}
.site-footer h4 {
  color: #fff;
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1em;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5em; }
.site-footer a { color: #b4cce2; }
.site-footer a:hover { color: #fff; }
.footer__contact li { display: flex; gap: 0.6em; align-items: baseline; }
.footer__contact .ico { color: var(--accent); }
.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: #87a6c2;
}
.footer__legal { display: flex; gap: 1.4em; list-style: none; margin: 0; padding: 0; }

.mobile-call {
  display: none;
  position: fixed;
  left: 14px;
  bottom: 14px;
  z-index: 60;
  width: auto;
  max-width: calc(100vw - 80px);
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  font-size: 0.98rem;
  padding: 12px 18px;
  border-radius: 999px;
  box-shadow: 0 8px 22px rgba(8, 50, 88, 0.4);
  text-decoration: none !important;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  white-space: nowrap;
}
.mobile-call small { font-weight: 600; opacity: 0.92; }

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

.error-404 .hero__inner { text-align: left; }

/* ==========================================================================
   19. Responsive
   ========================================================================== */
@media (max-width: 1020px) {
  .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; }
  .header__cta { display: none; }
  .trustbar .chips { justify-content: flex-start; }
}

@media (max-width: 768px) {
  body { font-size: 16px; }
  .section { padding: 50px 0; }
  .topbar { font-size: 0.8rem; }
  .topbar__inner { padding: 0.55em 14px; gap: 0.7em; }
  .topbar span { white-space: nowrap; }
  .topbar .ico { margin-right: 0.3em; }
  .topbar__right span:not(:last-child) { display: none; }
  .topbar__more { 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: 48px 20px 42px; }
  .hero__ctas .btn { width: 100%; justify-content: center; }
  .btn { white-space: normal; max-width: 100%; }
  .notice .btn { display: flex; width: 100%; justify-content: center; text-align: center; }

  .nav-toggle { display: flex; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    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.75em 0.9em; font-size: 1.02rem; }
  .nav__list .current-menu-item > a { box-shadow: inset 3px 0 0 var(--accent); border-radius: 8px; }
  .nav__list .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    border-left: 3px solid var(--bg-soft);
    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: 78px; }

  .footer__grid { grid-template-columns: 1fr; gap: 26px; padding-top: 42px; }
  .hero::after { width: 260px; height: 260px; right: -100px; }
  .prices, .table { display: block; overflow-x: auto; }
}

/* ==========================================================================
   20. Bewegung: Seiten-, FAQ- & Scroll-Animationen
   ========================================================================== */

/* Sanfter Übergang zwischen Seiten (Chromium: Cross-Fade beim Navigieren;
   andere Browser ignorieren die Regel folgenlos). */
@view-transition { navigation: auto; }

@media (prefers-reduced-motion: no-preference) {
  /* Inhalt fährt beim Laden dezent ein */
  #main { animation: sd-page-in 0.4s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  /* FAQ-Höhe wird per JS animiert */
  .faq__body { transition: height 0.3s ease; }
}
@keyframes sd-page-in {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: none; }
}

/* Nach-oben-Button */
.to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 65;
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(8, 50, 88, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(0.9);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s, background 0.15s ease;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--blue-soft); transform: translateY(-3px); }
.to-top:active { transform: translateY(-1px) scale(0.96); }
.to-top .ico { width: 22px; height: 22px; }
.ico--up { --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='18 15 12 9 6 15'/%3E%3C/svg%3E"); }

@media (max-width: 768px) {
  /* Nach-oben-Button rechts unten, Anruf-Pille links unten – kein Überlapp */
  .to-top { right: 14px; bottom: 14px; width: 44px; height: 44px; }
}

/* ==========================================================================
   21. DISPATCH-LAYOUT — Startseiten-Neustruktur + globale Aktionsleiste
   ========================================================================== */
@keyframes sd-pulse { 0% { box-shadow: 0 0 0 0 rgba(58,208,122,.55); } 70% { box-shadow: 0 0 0 7px rgba(58,208,122,0); } 100% { box-shadow: 0 0 0 0 rgba(58,208,122,0); } }

/* Live-Punkt am Header-Call */
.header__cta::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #3ad07a; margin-right: .15em; animation: sd-pulse 2s infinite; }

/* --- Dispatch-Hero --- */
.dispatch { position: relative; overflow: hidden; color: #dce9f6; background: radial-gradient(820px 440px at 88% -12%, rgba(255,106,19,.34), transparent 60%), linear-gradient(135deg, var(--blue-deep), #061f38 72%); }
.dispatch::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 34px 34px; -webkit-mask: radial-gradient(680px 420px at 72% 0%, #000, transparent 76%); mask: radial-gradient(680px 420px at 72% 0%, #000, transparent 76%); }
.dispatch__inner { position: relative; z-index: 1; max-width: var(--container); margin: 0 auto; padding: 52px 24px 60px; }
.dispatch__status { display: inline-flex; align-items: center; gap: .55em; font-weight: 700; font-size: .8rem; letter-spacing: .05em; text-transform: uppercase; color: #c4ecd5; background: rgba(58,208,122,.12); border: 1px solid rgba(58,208,122,.42); padding: .42em .95em; border-radius: 999px; }
.dispatch__status::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #3ad07a; animation: sd-pulse 2s infinite; }
.dispatch__title { color: #fff; font-size: clamp(2rem, 4.7vw, 3.4rem); line-height: 1.07; letter-spacing: -.03em; margin: .55em 0 .35em; max-width: 19ch; }
.dispatch__title span { color: var(--accent); }
.dispatch__lead { font-size: clamp(1.05rem, 1.6vw, 1.24rem); color: #aecae3; max-width: 60ch; margin-bottom: 1.7em; }

/* Situationswahl (4 Kacheln) */
.situations { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 0; padding: 0; list-style: none; }
.situation { display: flex; }
.situation > a { display: flex; flex-direction: column; gap: .55em; width: 100%; padding: 22px 20px 18px; border-radius: 16px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); color: #eaf3fb; text-decoration: none !important; transition: transform .16s ease, background .16s ease, border-color .16s ease, box-shadow .16s ease; }
.situation > a:hover { transform: translateY(-5px); background: rgba(255,255,255,.1); border-color: var(--accent); box-shadow: 0 20px 42px rgba(0,0,0,.32); }
.situation__ic { width: 46px; height: 46px; border-radius: 12px; background: var(--accent); display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 8px 18px rgba(255,106,19,.42); }
.situation__ic::before { content: ""; width: 24px; height: 24px; background-color: #fff; -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; }
.situation__t { font-weight: 800; font-size: 1.08rem; color: #fff; }
.situation__ex { font-size: .9rem; color: #a9c6e0; flex: 1; margin: 0; }
.situation__go { font-weight: 800; color: var(--accent); font-size: .92rem; }

/* Vertrauenszeile */
.trustrow { display: flex; flex-wrap: wrap; gap: 1.2em 2.4em; margin-top: 1.9em; padding-top: 1.5em; border-top: 1px solid rgba(255,255,255,.13); }
.trustrow div { display: flex; flex-direction: column; }
.trustrow b { color: #fff; font-size: 1.25rem; letter-spacing: -.02em; }
.trustrow span { color: #a9c6e0; font-size: .85rem; }

/* Ablauf-Timeline */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: fl; margin: 1.8em 0 .5em; list-style: none; padding: 0; }
.flow__step { counter-increment: fl; position: relative; padding: 0 18px; }
.flow__step::before { content: counter(fl); display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 800; margin-bottom: 14px; position: relative; z-index: 1; }
.flow__step::after { content: ""; position: absolute; top: 22px; left: calc(-50% + 22px); width: 100%; height: 2px; background: var(--bg-soft); z-index: 0; }
.flow__step:first-child::after { display: none; }
.flow__step h3 { font-size: 1.04rem; margin-bottom: .3em; }
.flow__step p { color: var(--muted); font-size: .95rem; margin: 0; }

/* Gebiete-Schnellsuche */
.areasearch { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 26px; }
.areasearch input { width: 100%; font: inherit; font-size: 1.05rem; padding: .85em 1em; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--bg-alt); margin-bottom: 1em; }
.areasearch input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(13,79,139,.15); background: #fff; }
.arealist { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.arealist a { display: inline-flex; align-items: center; gap: .4em; padding: .45em .9em; border-radius: 999px; background: var(--bg-alt); border: 1px solid var(--line); color: var(--blue); font-weight: 700; font-size: .9rem; text-decoration: none; }
.arealist a:hover { background: var(--accent-soft); border-color: var(--accent); color: var(--accent-dark); }
.arealist li.is-hidden { display: none; }
.areasearch__none { color: var(--muted); font-size: .92rem; margin: .6em 0 0; display: none; }

/* Globale Aktionsleiste (Dispatch-Signatur, alle Seiten) */
.actionbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; display: flex; align-items: center; gap: 14px; justify-content: center; padding: 10px 16px; background: rgba(6,31,56,.97); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-top: 1px solid rgba(255,255,255,.12); box-shadow: 0 -8px 30px rgba(8,50,88,.3); }
.actionbar__txt { color: #cfe0f0; font-weight: 700; font-size: .92rem; display: flex; align-items: center; gap: .5em; }
.actionbar__txt::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #3ad07a; animation: sd-pulse 2s infinite; }
.actionbar .btn { padding: .6em 1.3em; }
.actionbar__call { background: var(--accent); color: #fff; border-color: var(--accent); font-weight: 800; }
.actionbar__call:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.actionbar__ghost { color: #cfe0f0; border: 1.5px solid rgba(255,255,255,.4); background: transparent; }
.actionbar__ghost:hover { border-color: #fff; color: #fff; }
body { padding-bottom: 64px; }
.to-top { bottom: 76px; }

@media (max-width: 880px) {
  .situations { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: 1fr 1fr; row-gap: 26px; }
  .flow__step::after { display: none; }
}
@media (max-width: 768px) {
  .mobile-call { display: none !important; }
  .actionbar__txt { display: none; }
  .actionbar { padding: 9px 12px; gap: 10px; }
  .actionbar .btn { flex: 1; justify-content: center; }
  .dispatch__inner { padding: 38px 18px 46px; }
}
@media (max-width: 520px) {
  .situations { grid-template-columns: 1fr; }
  .actionbar__ghost { display: none; }
}

/* Fix: schmale Inhaltsspalte auch ohne Basisklasse zentrieren + Innenabstand */
.section__inner--narrow { margin-left: auto; margin-right: auto; padding-left: 24px; padding-right: 24px; }

/* ==========================================================================
   22. SITE-WIDE / INNER-PAGE OVERRIDES — Dispatch-Kohäsion (Leistungen + Bezirke)
   --------------------------------------------------------------------------
   Leichte Angleichung der geteilten Komponenten an den modernen Dispatch-Look
   der Startseite. KEINE Neugestaltung — nur Hero-Konsole, Status-Chip und
   Schutz vor Überlappung der fixen .actionbar. Tokens werden wiederverwendet.
   ========================================================================== */

/* (a) Inner-Hero liest sich wie die Dispatch-Konsole: tieferes Navy + Grid */
.hero {
  background:
    radial-gradient(820px 420px at 88% -10%, rgba(255, 106, 19, 0.30), transparent 60%),
    linear-gradient(135deg, var(--blue-deep), #061f38 74%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 34px 34px;
  -webkit-mask: radial-gradient(640px 420px at 74% 0%, #000, transparent 78%);
  mask: radial-gradient(640px 420px at 74% 0%, #000, transparent 78%);
}
.hero__lead { color: #aecae3; }
.hero__usps li { color: #d7e6f6; }

/* (b) .hero__kicker als runder Status-Chip mit grünem Live-Punkt (sd-pulse) */
.hero__kicker {
  background: rgba(58, 208, 122, 0.12);
  border: 1px solid rgba(58, 208, 122, 0.42);
  color: #c4ecd5;
  letter-spacing: 0.05em;
  padding: 0.42em 0.95em;
  border-radius: 999px;
}
.hero__kicker::before {
  content: "";
  width: 9px;
  height: 9px;
  flex: none;
  border-radius: 50%;
  background: #3ad07a;
  animation: sd-pulse 2s infinite;
}

/* (c) Nichts überlappt die fixe globale .actionbar — Endabstände sicherstellen.
   Die letzte Sektion / das CTA-Banner / der Footer erhalten Luft nach unten. */
.cta-banner { padding-bottom: 76px; }
.site-footer .footer__bottom-inner { padding-bottom: calc(18px + 12px); }

/* Geteilte Karten/Komponenten leicht modernisieren (rundere Ecken, weicher) */
.card,
.step,
.stat,
.quote,
.areasearch,
.prices, .table, .hours,
.notice { border-radius: var(--radius); }
.card { border-radius: 16px; }
.card .card__icon { border-radius: 14px; }
.faq__item { border-radius: var(--radius); }

/* Geteilte Buttons exakt wie auf der Startseite (Dispatch) */
.btn--dark { background: var(--blue); }
.btn--dark:hover { background: var(--blue-soft); }

/* Badges/Chip-artige Elemente runder = Pill-Look der Startseite */
.badge { border-radius: 999px; }

/* Brotkrumen subtil an die ruhige Token-Welt angleichen (unverändert hell) */
.breadcrumbs__current { color: var(--ink); }

/* === Stadtteile-Mega-Dropdown (viele Einträge → breite Mehrspalten-Ansicht) === */
@media (min-width: 1021px) {
  .nav { position: relative; }
  .nav__list li.has-mega { position: static; }
  .nav__list li.has-mega > .sub-menu {
    left: 0;
    right: 0;
    width: auto;
    min-width: 0;
    max-height: none;
    overflow: visible;
    column-width: 172px;
    column-gap: 10px;
    padding: 14px 18px;
  }
  .nav__list li.has-mega > .sub-menu > li { break-inside: avoid; }
  .nav__list li.has-mega > .sub-menu a { white-space: normal; }
}
