/* ==========================================================================
   Gebäude Helden – Stylesheet
   Farbwelt / Corporate Design unverändert (CSS-Variablen unten).
   Struktur: Basis → Komponenten → Sektionen → Footer → Responsive
   ========================================================================== */

/* ----- Lokal gehostete Schriften (DSGVO-konform, keine Google-Server) ----- */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 600; /* variable Schrift deckt 400, 500 und 600 ab */
  font-display: swap;
  src: url("assets/fonts/inter-latin-var.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/poppins-600-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/poppins-700-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("assets/fonts/poppins-800-latin.woff2") format("woff2");
}

/* ----- Design-Tokens (Farben unverändert) ----- */
:root {
  --bg: oklch(0.16 0.01 260);
  --bg-alt: oklch(0.20 0.015 260);
  --surface: oklch(0.23 0.015 260);
  --border: oklch(0.32 0.02 260);
  --text: oklch(0.95 0.005 260);
  --text-dim: oklch(0.72 0.01 260);
  --orange: oklch(0.72 0.16 45);
  --orange-dim: oklch(0.60 0.14 45);
  --navy: oklch(0.30 0.05 260);
  --font-head: "Poppins", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;

  /* Abgeleitete Tokens für konsistente Tiefe & Rundungen */
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --shadow-sm: 0 2px 8px oklch(0 0 0 / 0.25);
  --shadow-md: 0 10px 30px -10px oklch(0 0 0 / 0.45);
  --shadow-lg: 0 24px 50px -18px oklch(0 0 0 / 0.55);
  --shadow-orange: 0 8px 24px -8px oklch(0.72 0.16 45 / 0.45);
  --header-height: 84px;

  /* Glassmorphism-Ebenen (Markenfarben, halbtransparent) */
  --glass: oklch(0.23 0.015 260 / 0.55);
  --glass-strong: oklch(0.21 0.015 260 / 0.78);
  --glass-border: oklch(0.95 0.005 260 / 0.09);
  --glass-blur: 16px;
}

/* ----- Basis ----- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

/* Feine Noise-Textur über der ganzen Seite – nimmt Flächen die "Flatness" */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: 0.032;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

a { color: var(--orange); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--orange-dim); }

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 700;
  margin: 0 0 16px;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
h2 { font-size: clamp(28px, 3.5vw, 40px); color: var(--text); line-height: 1.15; }

p { margin: 0 0 16px; color: var(--text-dim); }

/* Sichtbarer Tastatur-Fokus (Accessibility) */
:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Skip-Link: erst bei Tastatur-Fokus sichtbar */
.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  z-index: 200;
  background: var(--orange);
  color: oklch(0.15 0.01 260);
  padding: 10px 18px;
  border-radius: 0 0 10px 10px;
  font-weight: 600;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 0; color: oklch(0.15 0.01 260); }

/* ----- Scroll-Reveal-Animationen -----
   Nur aktiv, wenn JS verfügbar ist (html.js) – ohne JS bleibt alles sichtbar.
   Einheitliche Dauer (0.6s), kurzer Weg (14px), nur transform + opacity (GPU-schonend). */
html.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease-out, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
html.js .reveal.is-visible { opacity: 1; transform: none; will-change: auto; }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

/* Nutzer mit reduzierter Bewegung: alle Animationen deaktivieren */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
}

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-lg { padding: 16px 34px; font-size: 16px; }
.btn-primary {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--orange), var(--orange-dim));
  color: oklch(0.15 0.01 260);
  box-shadow: var(--shadow-orange), inset 0 1px 0 oklch(1 0 0 / 0.25);
}
/* Lichtstreifen, der beim Hover über den Button zieht */
.btn-primary::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 40%;
  background: linear-gradient(105deg, transparent, oklch(1 0 0 / 0.35), transparent);
  transform: translateX(-160%) skewX(-18deg);
  transition: transform 0.55s ease;
  pointer-events: none;
}
.btn-primary:hover {
  color: oklch(0.15 0.01 260);
  box-shadow: 0 14px 34px -8px oklch(0.72 0.16 45 / 0.6), inset 0 1px 0 oklch(1 0 0 / 0.25);
}
.btn-primary:hover::after { transform: translateX(360%) skewX(-18deg); }
.btn-ghost {
  border-color: var(--glass-border);
  background: oklch(0.95 0.005 260 / 0.04);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--text);
}
.btn-ghost:hover { border-color: var(--orange); color: var(--orange); background: oklch(0.72 0.16 45 / 0.06); }
.btn-dark {
  background: oklch(0.15 0.01 260);
  color: var(--orange);
  box-shadow: var(--shadow-md);
}
.btn-dark:hover { background: oklch(0.22 0.01 260); color: var(--orange); }

/* ----- Header ----- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: oklch(0.14 0.01 260 / 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-md);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: var(--header-height);
}
.brand { display: flex; align-items: center; margin-right: auto; }
.brand-logo { height: 64px; width: auto; object-fit: contain; display: block; }
.main-nav { display: flex; gap: 30px; align-items: center; }
.main-nav a {
  color: var(--text);
  font-weight: 500;
  font-size: 15px;
  position: relative;
  padding: 6px 0;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.main-nav a:hover { color: var(--orange); }
.main-nav a:hover::after { transform: scaleX(1); }
/* Aktiver Menüpunkt (Scrollspy) */
.main-nav a.is-active { color: var(--orange); }
.main-nav a.is-active::after { transform: scaleX(1); }
.nav-cta { flex-shrink: 0; }
.nav-cta-mobile { display: none; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  display: block;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ----- Hero ----- */
.hero {
  position: relative;
  padding: 120px 0 132px;
  overflow: hidden;
}
/* Mehrschichtiger Hero-Hintergrund:
   Themenbild mit sehr langsamem Ken-Burns-Zoom, Markenfarb-Überlagerung
   für Lesbarkeit, schwebende Lichtflächen, Wellen-Übergang zur Trust-Bar. */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--bg);
}
.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  /* Parallax läuft über `translate` (separat von der transform-Animation) */
  translate: 0 var(--parallax, 0px);
  animation: heroZoom 30s ease-in-out infinite alternate;
}
@keyframes heroZoom {
  from { transform: scale(1.06) translateX(0); }
  to   { transform: scale(1.12) translateX(-1.5%); }
}
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(115deg, oklch(0.24 0.02 260 / 0.5) 0px, oklch(0.24 0.02 260 / 0.5) 2px, transparent 2px, transparent 26px),
    radial-gradient(circle at 82% 18%, oklch(0.30 0.10 45 / 0.30), transparent 55%),
    linear-gradient(100deg,
      oklch(0.16 0.01 260 / 0.97) 0%,
      oklch(0.16 0.01 260 / 0.90) 45%,
      oklch(0.16 0.01 260 / 0.72) 100%);
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
}
.hero-orb-1 {
  width: 420px;
  height: 420px;
  top: -120px;
  right: -80px;
  background: oklch(0.45 0.12 45 / 0.28);
  animation: orbFloat 24s ease-in-out infinite alternate;
}
.hero-orb-2 {
  width: 320px;
  height: 320px;
  bottom: -110px;
  left: -70px;
  background: oklch(0.38 0.08 260 / 0.45);
  animation: orbFloat 30s ease-in-out infinite alternate-reverse;
}
@keyframes orbFloat {
  from { transform: translate(0, 0); }
  to   { transform: translate(-44px, 32px); }
}
/* Weicher Auslauf des Hero-Fotos nach unten */
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 140px;
  background: linear-gradient(180deg, transparent, var(--bg));
  pointer-events: none;
  z-index: 1;
}
.hero-inner { position: relative; z-index: 2; max-width: 800px; }
.eyebrow {
  color: var(--orange);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 14px;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(36px, 5.5vw, 60px);
  line-height: 1.08;
  color: var(--text);
  margin-bottom: 20px;
}
.hero-sub {
  font-size: clamp(16px, 2vw, 19px);
  max-width: 640px;
  margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-phone {
  margin: 20px 0 0;
  font-size: 15px;
  color: var(--text-dim);
}
.hero-phone a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 6px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 17px;
  color: var(--text);
  padding: 4px 2px;
}
.hero-phone a:hover { color: var(--orange); }
.hero-phone svg { width: 18px; height: 18px; color: var(--orange); }
/* Vertrauens-Chips im Glas-Look */
.hero-benefits {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 36px 0 0;
  padding: 0;
}
.hero-benefits li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text);
  background: oklch(0.95 0.005 260 / 0.06);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.hero-benefits li::before {
  content: "✓";
  color: var(--orange);
  font-weight: 700;
}

/* ----- Vertrauensleiste ----- */
/* Schwebende Glas-Leiste, die den Hero unten überlappt */
.trust-bar {
  position: relative;
  z-index: 3;
  margin-top: -46px;
  padding: 0;
  background: transparent;
}
.trust-panel {
  display: flex;
  justify-content: center;
  gap: 24px 64px;
  flex-wrap: wrap;
  padding: 26px 32px;
  border-radius: var(--radius-lg);
  background: var(--glass-strong);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-lg), inset 0 1px 0 oklch(1 0 0 / 0.06);
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 600;
  font-size: 15px;
}
.trust-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--orange);
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.25s ease, color 0.25s ease;
}
.trust-icon svg { width: 20px; height: 20px; }
.trust-item:hover .trust-icon { background: var(--orange); color: oklch(0.15 0.01 260); }

/* ----- Glass-Card-Grundlage mit Pointer-Glow -----
   JS setzt --mx/--my (Mausposition), der Glow folgt dem Zeiger. */
.glass-card {
  position: relative;
  background: var(--glass);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm), inset 0 1px 0 oklch(1 0 0 / 0.05);
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.glass-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), oklch(0.72 0.16 45 / 0.10), transparent 70%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.glass-card:hover::before { opacity: 1; }
.glass-card:hover {
  border-color: oklch(0.72 0.16 45 / 0.45);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg), 0 0 40px -18px oklch(0.72 0.16 45 / 0.5), inset 0 1px 0 oklch(1 0 0 / 0.05);
}
.glass-card > * { position: relative; }

/* Grid-Kinder dürfen schrumpfen – verhindert horizontales Scrollen
   durch nicht-umbrechbare Inhalte (Min-Content-Überlauf) */
.services-grid > *, .process-grid > *, .contact-grid > *,
.area-grid > *, .footer-grid > *, .form-row-split > *,
.benefit-grid > * {
  min-width: 0;
}

/* ----- Sektionen (allgemein) ----- */
.section { padding: clamp(72px, 9vw, 110px) 0; }
/* Mesh-artige Hintergründe: mehrere weiche Lichtquellen in Markenfarben */
.section-alt {
  background:
    radial-gradient(760px 400px at 92% -6%, oklch(0.30 0.10 45 / 0.12), transparent 70%),
    radial-gradient(600px 400px at 0% 110%, oklch(0.28 0.05 260 / 0.35), transparent 70%),
    var(--bg-alt);
}
.process-section {
  background:
    radial-gradient(640px 340px at 6% 108%, oklch(0.30 0.10 45 / 0.10), transparent 70%),
    radial-gradient(700px 380px at 100% 0%, oklch(0.26 0.04 260 / 0.4), transparent 70%),
    var(--bg);
}
/* Eyebrow als Glas-Pill – wirkt hochwertiger als reine Textzeile */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--orange);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 12px;
  margin-bottom: 16px;
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid oklch(0.72 0.16 45 / 0.25);
  background: oklch(0.72 0.16 45 / 0.08);
}
.section-eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 8px oklch(0.72 0.16 45 / 0.8);
}
.section-eyebrow.center {
  display: flex;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}
.center { text-align: center; }
.section-intro {
  max-width: 620px;
  margin: 0 auto 0;
  font-size: 16px;
}

/* ----- Leistungen: asymmetrisches Bento-Raster -----
   Breite Karten (1 & 4) laufen quer mit Bild links, die übrigen stapeln klassisch. */
.services-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.service-card { display: flex; flex-direction: column; overflow: hidden; }
.service-card:nth-child(1),
.service-card:nth-child(4) { grid-column: span 4; }
.service-card:nth-child(2),
.service-card:nth-child(3) { grid-column: span 2; }
.service-card:nth-child(5),
.service-card:nth-child(6) { grid-column: span 3; }

@media (min-width: 981px) {
  .service-card:nth-child(1),
  .service-card:nth-child(4) {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
  }
  .service-card:nth-child(1) .service-media,
  .service-card:nth-child(4) .service-media {
    aspect-ratio: auto;
    height: 100%;
    min-height: 260px;
    border-bottom: 0;
    border-right: 1px solid var(--glass-border);
  }
}
.service-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-bottom: 1px solid var(--glass-border);
}
.service-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease-out;
}
.service-card:hover .service-media img { transform: scale(1.03); }
.service-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 28px;
}
.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: oklch(0.72 0.16 45 / 0.15);
  color: var(--orange);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 18px;
}
.service-card h3 { font-size: 19px; color: var(--text); margin-bottom: 10px; }
.service-card p { margin: 0 0 18px; font-size: 15px; }
.service-link {
  margin-top: auto;
  font-weight: 600;
  font-size: 14px;
}
.service-link span { display: inline-block; transition: transform 0.2s ease; }
.service-link:hover span { transform: translateX(4px); }

/* ----- Vorteile / Qualitätsversprechen ----- */
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.benefit-card { padding: 28px 24px; }
.benefit-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: oklch(0.72 0.16 45 / 0.15);
  color: var(--orange);
  margin-bottom: 16px;
}
.benefit-icon svg { width: 22px; height: 22px; }
.benefit-card h3 { font-size: 17px; color: var(--text); margin-bottom: 8px; }
.benefit-card p { font-size: 14px; margin: 0; }

/* ----- Ablauf ----- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 56px;
}
/* Verbindungslinie zwischen den Schritten (nur Desktop) */
.process-grid { position: relative; }
.process-grid::before {
  content: "";
  position: absolute;
  top: 56px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: linear-gradient(90deg, transparent, oklch(0.72 0.16 45 / 0.4) 20%, oklch(0.72 0.16 45 / 0.4) 80%, transparent);
  pointer-events: none;
}
.process-step {
  padding: 32px 24px;
  text-align: center;
  overflow: hidden;
}
/* Große Ghost-Nummer im Hintergrund jeder Schritt-Karte */
.process-step::after {
  content: attr(data-step);
  position: absolute;
  right: 10px;
  bottom: -18px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 96px;
  line-height: 1;
  color: oklch(0.95 0.005 260 / 0.05);
  pointer-events: none;
}
.process-num {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), var(--orange-dim));
  color: oklch(0.15 0.01 260);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 19px;
  box-shadow: var(--shadow-orange), 0 0 0 6px oklch(0.72 0.16 45 / 0.12);
}
.process-step h3 { font-size: 17px; color: var(--text); margin-bottom: 8px; }
.process-step p { font-size: 14px; margin: 0; }
.process-cta { text-align: center; margin-top: 48px; }

/* ----- Über uns ----- */
.about-grid { max-width: 780px; }
.about-list {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.about-list li {
  padding-left: 30px;
  position: relative;
  color: var(--text);
  font-weight: 500;
}
.about-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: 700;
}

/* ----- Einsatzgebiet & Karte ----- */
.area-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  margin-top: 56px;
  align-items: stretch;
}
.area-list { padding: 32px; }
.area-list h3 { font-size: 17px; color: var(--text); margin-bottom: 18px; }
.area-towns {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: grid;
  /* Passt sich automatisch an: 2 Spalten auf Desktop, 1 Spalte auf schmalen Geräten */
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px 20px;
}
.area-towns li { min-width: 0; overflow-wrap: break-word; }
.area-towns li {
  position: relative;
  padding-left: 26px;
  color: var(--text-dim);
  font-size: 15px;
}
.area-towns li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: 700;
}
.area-note { font-size: 14px; margin: 0; }

.map-wrap {
  position: relative;
  min-height: 380px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.map-consent {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px;
  gap: 4px;
  background:
    radial-gradient(circle at 70% 30%, oklch(0.30 0.10 45 / 0.2), transparent 60%),
    var(--surface);
}
.map-consent svg { width: 44px; height: 44px; color: var(--orange); margin-bottom: 10px; }
.map-consent p { margin: 0 0 6px; }
.map-consent strong { color: var(--text); font-size: 17px; }
.map-consent-text { font-size: 13px; max-width: 380px; }
.map-consent .btn { margin-top: 14px; }
.map-frame { position: absolute; inset: 0; }
.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  filter: grayscale(0.15);
}

/* Über uns – Zusatzabschnitt Fachpartner-Netzwerk (im Stil der Sektion) */
.about-network {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--glass-border);
}
.about-network h3 {
  font-size: clamp(20px, 2.4vw, 24px);
  color: var(--text);
  margin-bottom: 14px;
}
.about-network p { font-size: 15px; }
.about-network-note {
  font-size: 13px;
  color: var(--text-dim);
  opacity: 0.85;
  margin: 4px 0 0;
  padding-left: 14px;
  border-left: 2px solid var(--orange);
}

/* ----- CTA-Banner ----- */
.cta-banner {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, var(--orange), var(--orange-dim));
  padding: clamp(56px, 7vw, 80px) 0;
}
/* Dezente Struktur im CTA-Band – greift das Hero-Linienmuster auf */
.cta-banner::before {
  content: "";
  position: absolute;
  inset: -5%;
  background: repeating-linear-gradient(115deg, oklch(1 0 0 / 0.05) 0px, oklch(1 0 0 / 0.05) 2px, transparent 2px, transparent 26px);
  pointer-events: none;
  animation: ctaPan 45s ease-in-out infinite alternate;
}
@keyframes ctaPan {
  from { transform: translateX(-1.5%); }
  to   { transform: translateX(1.5%); }
}
.cta-banner-inner { position: relative; text-align: center; }
.cta-banner h2 { color: oklch(0.15 0.01 260); margin-bottom: 10px; }
.cta-banner p {
  color: oklch(0.25 0.02 260);
  margin: 0 auto 32px;
  font-size: 17px;
  max-width: 560px;
}
.cta-banner-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px 32px;
  flex-wrap: wrap;
}
.cta-banner-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: oklch(0.15 0.01 260);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
}
.cta-banner-phone:hover { color: oklch(0.25 0.02 260); }
.cta-banner-phone svg { width: 22px; height: 22px; }

/* ----- Kontakt: eine große Glas-Bühne statt loser Spalten ----- */
.contact-shell {
  position: relative;
  border-radius: 32px;
  background: var(--glass);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-lg), inset 0 1px 0 oklch(1 0 0 / 0.05);
  padding: clamp(28px, 5vw, 56px);
  overflow: hidden;
}
/* Lichtfläche hinter der Kontakt-Bühne */
.contact-shell::before {
  content: "";
  position: absolute;
  top: -160px;
  right: -120px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, oklch(0.72 0.16 45 / 0.10), transparent 65%);
  pointer-events: none;
}
.contact-shell > * { position: relative; }
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: start;
}
.contact-lead { font-size: 16px; }
.contact-list {
  list-style: none;
  margin: 36px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.contact-list li { display: flex; align-items: flex-start; gap: 16px; }
.contact-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-icon svg { width: 20px; height: 20px; }
.contact-list strong { display: block; color: var(--text); font-size: 14px; margin-bottom: 2px; }
.contact-list a, .contact-list span { color: var(--text-dim); font-size: 15px; }
.contact-list a:hover { color: var(--orange); }

.contact-form {
  background: oklch(0.16 0.01 260 / 0.55);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 44px);
}
.contact-form-title { font-size: clamp(24px, 3vw, 30px); margin-bottom: 10px; }
.contact-form-lead { font-size: 14px; margin-bottom: 26px; }
.label-optional { font-weight: 400; color: var(--text-dim); font-size: 13px; }
.form-row { margin-bottom: 18px; }
.form-row-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}
.req { color: var(--orange); }
input, select, textarea {
  width: 100%;
  padding: 13px 15px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px oklch(0.72 0.16 45 / 0.2);
}
input[aria-invalid="true"], textarea[aria-invalid="true"] {
  border-color: #ff8a7a;
}
textarea { resize: vertical; min-height: 120px; }

/* Datenschutz-Checkbox */
.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 4px;
}
.form-consent input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  flex-shrink: 0;
  accent-color: var(--orange);
  cursor: pointer;
}
.form-consent label {
  font-weight: 400;
  font-size: 13px;
  color: var(--text-dim);
  margin: 0;
  line-height: 1.55;
  cursor: pointer;
}

.form-submit { width: 100%; margin-top: 16px; }
.form-hint {
  margin: 14px 0 0;
  font-size: 12px;
  color: var(--text-dim);
  opacity: 0.8;
}
.form-note { margin: 10px 0 0; font-size: 14px; color: var(--orange); min-height: 20px; }
.form-note-success { color: #7fd88f; font-weight: 600; }
.form-note-error { color: #ff8a7a; font-weight: 600; }

/* Honeypot: für Menschen unsichtbar */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ----- Footer ----- */
.site-footer {
  position: relative;
  background:
    radial-gradient(700px 300px at 15% 0%, oklch(0.30 0.10 45 / 0.07), transparent 70%),
    var(--bg-alt);
  border-top: 1px solid transparent;
  padding-top: 72px;
}
/* Leuchtende Haarlinie als Abschluss nach oben */
.site-footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, oklch(0.72 0.16 45 / 0.5), transparent);
}
.footer-links a { transition: color 0.2s ease, transform 0.2s ease; }
.footer-links a:hover { transform: translateX(4px); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.7fr 0.7fr;
  gap: 40px;
  padding-bottom: 56px;
}
.footer-logo { width: 60px; height: auto; object-fit: contain; margin-bottom: 16px; }
.footer-brand p { color: var(--text); font-family: var(--font-head); font-size: 15px; line-height: 1.5; }
.footer-brand strong { color: var(--orange); }
.footer-heading {
  font-size: 15px;
  color: var(--text);
  margin-bottom: 18px;
}
.footer-contact p { font-size: 14px; margin-bottom: 12px; }
.footer-links { display: flex; flex-direction: column; align-items: flex-start; }
.footer-links a { color: var(--text-dim); font-size: 14px; margin-bottom: 12px; }
.footer-links a:hover { color: var(--orange); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.footer-bottom p { margin: 0; font-size: 13px; color: var(--text-dim); }
.footer-bottom a { color: var(--text-dim); }
.footer-bottom a:hover { color: var(--orange); }

/* ----- "Nach oben"-Button ----- */
.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--orange);
  color: oklch(0.15 0.01 260);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-orange);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--orange-dim); color: oklch(0.15 0.01 260); }
.to-top svg { width: 22px; height: 22px; }

/* ----- Cookie-Consent-Banner (Google Ads) ----- */
#consentBanner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 1000;
  max-width: 720px;
  margin: 0 auto;
  padding: 20px 24px;
  border-radius: var(--radius-md);
  background: var(--glass-strong);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
#consentBanner p { margin: 0; font-size: 13.5px; flex: 1 1 320px; line-height: 1.55; }
#consentBanner .consent-actions { display: flex; gap: 10px; flex-shrink: 0; }
#consentBanner .btn { padding: 10px 20px; font-size: 14px; }
@media (max-width: 560px) {
  #consentBanner { flex-direction: column; align-items: stretch; text-align: left; }
  #consentBanner .consent-actions { justify-content: stretch; }
  #consentBanner .consent-actions .btn { flex: 1; }
}

/* ----- Rechtsseiten (Impressum / Datenschutz) ----- */
.legal-page { padding: 64px 0 96px; }
.legal-page .container { max-width: 820px; }
.legal-page h1 { font-size: clamp(30px, 4vw, 42px); color: var(--text); margin-bottom: 32px; }
.legal-page h2 { font-size: 22px; margin: 40px 0 12px; }
.legal-page h3 { font-size: 17px; color: var(--text); margin: 28px 0 8px; }
.legal-page p, .legal-page li { font-size: 15px; color: var(--text-dim); }
.legal-page ul { padding-left: 22px; }
.legal-back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 32px; font-weight: 600; font-size: 14px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 980px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card:nth-child(n) { grid-column: auto; }
  .benefit-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid::before { display: none; }
  .area-grid { grid-template-columns: 1fr; }
  .map-wrap { min-height: 320px; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  :root { --header-height: 72px; }
  .brand-logo { height: 52px; }
  .main-nav { display: none; }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .main-nav.open {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: oklch(0.14 0.01 260 / 0.98);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    padding: 24px;
    gap: 18px;
    box-shadow: var(--shadow-lg);
    animation: navSlide 0.25s ease;
  }
  .main-nav.open a { font-size: 17px; }
  .nav-cta-mobile { display: inline-flex; margin-top: 6px; }

  .hero { padding: 84px 0 108px; }
  /* Erzwungener Umbruch in der H1 nur auf breiten Screens – auf Mobil bricht der Browser selbst sauber um */
  .hero-br { display: none; }
  .hero-actions .btn { width: 100%; }
  .trust-bar { margin-top: -36px; }
  .trust-panel { gap: 16px; padding: 22px 24px; }
  /* Auf Mobilgeräten: Hintergrundbewegung deaktivieren (Akku & Performance) */
  .hero-bg-img { animation: none; transform: scale(1.04); }
  .hero-orb { display: none; }
  .cta-banner::before { animation: none; }
  /* Buttons dürfen auf schmalen Geräten umbrechen statt überzulaufen */
  .btn { white-space: normal; text-align: center; }
  .trust-panel { flex-direction: column; align-items: flex-start; gap: 18px; }
  .services-grid { grid-template-columns: 1fr; }
  .benefit-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .form-row-split { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom-inner { justify-content: center; text-align: center; }
  .area-list { padding: 24px; }
  /* Platz für den schwebenden "Nach oben"-Button, damit er die
     Impressum-/Datenschutz-Links nie überdeckt */
  .footer-bottom { padding-bottom: 88px; }
  .to-top { right: 16px; bottom: 16px; }
}

@keyframes navSlide {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: none; }
}
