/* =====================================================================
   Baltrex Treuhand AG — Design-System
   Markenfarben aus der Bestandsseite übernommen, Layout neu aufgebaut:
   kein clip-path/100vmax-Full-Bleed-Hack mehr (der war nur nötig, weil die
   alte Seite in einem eingeengten Builder-Container steckte und kostete
   bei jedem Scroll Paint-Zeit). Hier ist die Seite selbst der Container.
   ===================================================================== */

/* ---------- Reset ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

/* ---------- Tokens ---------- */
:root {
  /* Marke */
  --navy-deep: #050D1C;
  --navy: #0A1A2F;
  --navy-mid: #102A4C;
  --silver: #C9D2DC;
  --silver-soft: #E6ECF2;
  --paper: #F4EFE6;
  /* Helle Blautöne NUR für Flächen, Ränder und Text auf Dunkel.
     Sie tragen keine weisse Schrift: Weiss auf #42A5F5 erreicht 2.65:1,
     auf #64B5F6 sogar nur 2.21:1 — beides klar unlesbar. */
  --bx-blue: #42A5F5;
  --bx-blue-bright: #64B5F6;

  /* Arbeitsblau für Text auf hellem Grund und für Flächen mit weisser Schrift.
     Vorher #1976D2 — das lag als Text auf den Tint-/Chip-Flächen bei 4.16–4.39
     und damit unter den geforderten 4.5:1. #1565C0 liegt überall bei >= 5.19. */
  --bx-blue-mid: #1565C0;
  --bx-blue-deep: #0D47A1;

  /* Verlauf für Primär-Buttons — beide Enden tragen weisse Schrift sicher
     (6.69:1 bzw. 5.19:1). */
  --grad-btn-a: #0F5CAB;
  --grad-btn-b: #1565C0;

  /* Flächen & Text */
  --txt: #0A1A2F;
  --sub: #55657C;          /* leicht abgedunkelt ggü. Original: erfüllt AA auf Weiss */
  --brd: #E1E7EE;
  --bg: #FFFFFF;
  --bg-tint: #F7FAFC;

  /* Rhythmus */
  --shell: 1280px;
  --gutter: clamp(20px, 4vw, 48px);
  --section-y: clamp(64px, 8vw, 120px);
  --radius: 16px;
  --radius-lg: 22px;

  /* Typo — fluid, ohne Sprünge */
  --fs-display: clamp(2.4rem, 1.6rem + 3.4vw, 5.2rem);
  --fs-h2: clamp(1.9rem, 1.35rem + 2.1vw, 3.4rem);
  --fs-h3: clamp(1.25rem, 1.1rem + 0.6vw, 1.6rem);
  --fs-lead: clamp(1.05rem, 0.98rem + 0.45vw, 1.3rem);
  --fs-body: clamp(1rem, 0.97rem + 0.16vw, 1.0625rem);
  --fs-small: 0.875rem;

  /* Bewegung */
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-back: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Schatten */
  --sh-sm: 0 4px 14px rgba(10, 26, 47, 0.06);
  --sh-md: 0 14px 34px rgba(10, 26, 47, 0.09);
  --sh-lg: 0 28px 64px rgba(10, 26, 47, 0.13);
  /* Glow unter Primär-Buttons — auf die TATSÄCHLICHE Buttonfarbe (dunkelblauer
     Verlauf) abgestimmt statt auf das helle --bx-blue; sonst schwebt ein
     hellblauer Schein unter einem dunkelblauen Button. */
  --sh-blue: 0 14px 34px rgba(15, 92, 171, 0.30);
}

/* ---------- Basis ---------- */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--bg);
  color: var(--txt);
  font-family: 'Ubuntu', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* clip statt hidden: hidden würde den Body zum Scroll-Container machen —
     das bricht Ankersprünge und window.scrollY. clip beschneidet nur. */
  overflow-x: clip;
}

a { color: inherit; text-decoration: none; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
ul, ol { list-style: none; }
::selection { background: var(--bx-blue); color: #fff; }

/* Sichtbarer Fokus — Tastaturbedienung muss erkennbar sein (WCAG 2.4.7).
   Mittelblau statt hell: der Fokus-Ring liegt meist auf weissem Grund und muss
   dort deutlich erkennbar sein. */
:focus-visible {
  outline: 3px solid var(--bx-blue-mid);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; left: 12px; top: -100px;
  z-index: 999;
  padding: 12px 20px;
  background: var(--bx-blue-mid); color: #fff;
  border-radius: 0 0 10px 10px;
  font-weight: 500;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 0; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%);
  white-space: nowrap; border: 0;
}

/* ---------- Layout-Primitive ---------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.shell-wide { max-width: 1560px; }
/* Lesespalte für Artikel und Rechtstexte: eine Satzbreite für Überschrift
   und Fliesstext, statt einer schmalen Textspalte in einer breiten Fläche. */
.shell-prose { max-width: calc(72ch + 2 * var(--gutter)); }
.shell-prose .section-head { max-width: none; }

section { position: relative; }
.section { padding-block: var(--section-y); }
.section-tint { background: var(--bg-tint); }
.section-paper { background: var(--paper); }
.section-dark { background: var(--navy-deep); color: #fff; }
.section-dark .lead, .section-dark p { color: rgba(255, 255, 255, 0.72); }

/* ---------- Typografie ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--bx-blue-mid);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 32px; height: 1px; background: currentColor; }
.section-dark .eyebrow { color: var(--bx-blue-bright); }

h1, h2, h3, h4 { font-weight: 400; line-height: 1.12; letter-spacing: -0.022em; text-wrap: balance; }
.display { font-size: var(--fs-display); font-weight: 300; line-height: 1.04; }
h2, .h2 { font-size: var(--fs-h2); font-weight: 300; }
h3, .h3 { font-size: var(--fs-h3); font-weight: 500; letter-spacing: -0.012em; }
em.accent { font-style: italic; color: var(--bx-blue-mid); font-weight: 400; }
.section-dark em.accent, .hero em.accent { color: var(--bx-blue-bright); font-style: italic; }

.lead {
  font-size: var(--fs-lead);
  line-height: 1.62;
  color: var(--sub);
  font-weight: 300;
  max-width: 68ch;
  text-wrap: pretty;
}
.section-head { max-width: 900px; margin-bottom: clamp(40px, 5vw, 68px); }
.section-head .lead { margin-top: 18px; }

/* Fliesstext in Inhaltsseiten.
   Die Satzbreite gehört an die SPALTE, nicht an einzelne Absätze — sonst laufen
   Überschriften über die volle Breite, während der Text bei 72 Zeichen umbricht. */
.prose { max-width: 72ch; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 2.2em; font-size: clamp(1.45rem, 1.2rem + 0.9vw, 2rem); }
.prose h3 { margin-top: 1.8em; }
.prose p, .prose li { color: #3D4B5F; }
.prose ul { display: flex; flex-direction: column; gap: 10px; }
.prose ul li { position: relative; padding-left: 26px; }
.prose ul li::before {
  content: ""; position: absolute; left: 0; top: 0.62em;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--bx-blue); opacity: 0.85;
}
.prose ol { counter-reset: p; display: flex; flex-direction: column; gap: 10px; }
.prose ol li { counter-increment: p; position: relative; padding-left: 34px; }
.prose ol li::before {
  content: counter(p); position: absolute; left: 0; top: 0.05em;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--bx-blue-mid); color: #fff;
  font-size: 0.75rem; font-weight: 600;
  display: grid; place-items: center;
}
.prose strong { font-weight: 500; color: var(--txt); }
.prose a:not(.btn) {
  color: var(--bx-blue-mid);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.prose a:not(.btn):hover { text-decoration-thickness: 2px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 16px 30px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.875rem; font-weight: 500;
  letter-spacing: 0.07em; text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.3s var(--ease-out-quart), box-shadow 0.3s var(--ease-out-quart),
              background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn .arrow { transition: transform 0.3s var(--ease-out-quart); }
.btn:hover .arrow { transform: translateX(5px); }

.btn-primary {
  background: linear-gradient(135deg, var(--grad-btn-a), var(--grad-btn-b));
  color: #fff;
  box-shadow: var(--sh-blue);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--grad-btn-b), #1B78D2);
  box-shadow: 0 24px 56px rgba(21, 101, 192, 0.45);
}

.btn-ghost { background: rgba(255, 255, 255, 0.06); color: #fff; border-color: rgba(255, 255, 255, 0.22); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.13); border-color: rgba(255, 255, 255, 0.45); }

.btn-outline { background: transparent; color: var(--navy-deep); border-color: var(--brd); }
.btn-outline:hover { border-color: var(--bx-blue); color: var(--bx-blue-mid); }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Header / Navigation (HELL) ----------
   Heller, klarer Header über dem dunklen Hero. Bewusst hoch-deckend weiss statt
   stark durchscheinend: dunkler Navigationstext muss lesbar bleiben, egal ob
   dahinter der dunkle Hero oder eine helle Sektion liegt. */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid rgba(10, 26, 47, 0.07);
  transition: background-color 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.96);
  border-bottom-color: rgba(10, 26, 47, 0.09);
  box-shadow: 0 8px 30px rgba(10, 26, 47, 0.08);
}

.nav-bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding-block: 10px;
}
/* Logo sitzt direkt auf dem hellen Header — die dunkle Wortmarke liest sich
   auf Weiss ohne den früheren weissen Kasten. */
.nav-logo {
  flex: 0 0 auto;
  display: inline-flex; align-items: center;
  transition: transform 0.3s var(--ease-out-quart);
}
.nav-logo:hover { transform: translateY(-1px); }
.nav-logo img { width: auto; height: 46px; max-width: 280px; object-fit: contain; }

/* Mobiles Menü-Panel (Basis). .site-header hat backdrop-filter und ist damit
   Containing-Block für fixed-Kinder — ein `position: fixed` Panel würde sich am
   Header ausrichten statt am Viewport. Darum absolut unter dem Header verankert. */
.nav-main {
  position: absolute; top: 100%; left: 0; right: 0;
  /* 100% = Höhe des Headers (des Containing-Blocks); passt sich automatisch an. */
  height: calc(100dvh - 100%);
  display: flex; flex-direction: column; align-items: stretch; gap: 2px;
  padding: 18px var(--gutter) max(40px, calc(env(safe-area-inset-bottom) + 24px));
  background: #fff;
  border-top: 1px solid rgba(10, 26, 47, 0.06);
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  transform: translateY(-10px);
  opacity: 0; visibility: hidden; pointer-events: none;
  /* visibility wird NICHT mitanimiert, sondern nur beim Schliessen verzögert —
     ein Menü darf nie daran scheitern, dass eine Transition nicht durchläuft. */
  transition: opacity 0.25s ease, transform 0.3s var(--ease-out-quart), visibility 0s linear 0.25s;
}
.nav-main[data-open="true"] {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0);
  transition: opacity 0.25s ease, transform 0.3s var(--ease-out-quart), visibility 0s linear 0s;
}

.nav-link {
  display: flex; align-items: center; gap: 8px;
  /* Mobil: grosszügige Tap-Fläche (>= 48px hoch). */
  padding: 14px 16px;
  /* Der Dropdown-Auslöser ist ein <button> — Browser-Defaults hier abräumen,
     sonst sitzt eine graue Systemschaltfläche in der Navigation. */
  background: none;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  border-radius: 12px;
  color: var(--navy-deep);
  font-size: 1rem; font-weight: 500;
  letter-spacing: 0.01em;
  transition: color 0.2s ease, background-color 0.2s ease;
}
.nav-link:hover { color: var(--bx-blue-mid); background: var(--bg-tint); }
.nav-link[aria-current="page"] { color: var(--bx-blue-mid); background: rgba(21, 101, 192, 0.10); }

/* Dropdown „Dienstleistungen" — MOBIL-ZUERST: eine im Menü aufklappende Liste.
   Die schwebende Desktop-Variante steht weiter unten in der min-width-Query.
   Bewusst nicht als Mobil-Override gebaut: vorher gewann die Desktop-Regel
   `.nav-group[data-open] .nav-panel { transform: translateX(-50%) }` per
   Spezifität auch auf dem Handy und schob das Panel halb aus dem Bild. */
.nav-group { position: static; }
.nav-group > .nav-link { width: 100%; justify-content: space-between; }
.nav-group > .nav-link::after {
  content: ""; flex: 0 0 auto;
  width: 7px; height: 7px;
  border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform 0.3s var(--ease-out-quart);
}
.nav-group[data-open="true"] > .nav-link::after { transform: rotate(-135deg) translate(-2px, -2px); }

.nav-panel {
  display: none;
  margin: 2px 0 10px;
  padding: 6px;
  border-radius: 14px;
  background: var(--bg-tint);
  border: 1px solid var(--brd);
}
.nav-group[data-open="true"] .nav-panel { display: grid; gap: 2px; }

.nav-panel a {
  display: block;
  padding: 13px 16px;
  border-radius: 10px;
  color: var(--navy-deep);
  font-size: 0.95rem; font-weight: 500;
  transition: background-color 0.18s ease, color 0.18s ease;
}
.nav-panel a span {
  display: block; margin-top: 3px;
  font-size: 0.8rem; font-weight: 400;
  color: var(--sub);
}
.nav-panel a:hover, .nav-panel a:focus-visible { background: #fff; color: var(--bx-blue-mid); }
.nav-panel a[aria-current="page"] { background: #fff; color: var(--bx-blue-mid); }

/* Mobil steht rechts im Header nur der Menü-Knopf; Telefon und Offerte-Button
   wandern in den Fuss des geöffneten Menüs (.mobile-cta). */
.nav-cta { display: flex; align-items: center; gap: 16px; flex: 0 0 auto; }
.nav-phone { display: none; }
.nav-cta > .btn { display: none; }
.nav-phone small {
  font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase;
  /* Über dem durchscheinenden Header liegt der effektive Grund bei ~rgb(225) —
     dort erreicht --bx-blue-mid als Kleintext nur 4.43:1. Der tiefere Ton hält AA. */
  color: var(--bx-blue-deep); font-weight: 700;
}
.nav-phone span { font-size: 0.95rem; font-weight: 600; white-space: nowrap; color: var(--navy-deep); }

/* Menü-Knopf (nur mobil sichtbar) — dunkle Striche auf hellem Header */
.nav-toggle {
  display: block;
  width: 48px; height: 48px;
  background: transparent;
  border: 1px solid rgba(10, 26, 47, 0.14);
  border-radius: 14px;
  cursor: pointer;
  position: relative;
  transition: background-color 0.25s ease, border-color 0.25s ease;
}
.nav-toggle:hover { background: var(--bg-tint); }
.nav-toggle[aria-expanded="true"] { background: rgba(21, 101, 192, 0.10); border-color: rgba(21, 101, 192, 0.35); }
.nav-toggle span {
  position: absolute; left: 50%; top: 50%;
  width: 18px; height: 2px;
  border-radius: 2px;
  background: var(--navy-deep);
  transform: translate(-50%, -50%);
  transition: transform 0.3s var(--ease-out-quart), opacity 0.2s ease;
}
.nav-toggle span:nth-child(1) { transform: translate(-50%, calc(-50% - 5px)); }
.nav-toggle span:nth-child(3) { transform: translate(-50%, calc(-50% + 5px)); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translate(-50%, -50%) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translate(-50%, -50%) rotate(-45deg); }

/* Kontaktblock am Fuss des mobilen Menüs */
.mobile-cta {
  display: flex; flex-direction: column; gap: 12px;
  margin-top: auto; padding-top: 24px;
  border-top: 1px solid var(--brd);
}
.mobile-cta .btn { width: 100%; }
.mobile-cta .btn-ghost { background: transparent; color: var(--navy-deep); border-color: var(--brd); }
.mobile-cta .btn-ghost:hover { background: var(--bg-tint); border-color: var(--bx-blue); color: var(--bx-blue-mid); }

/* ============================================================
   Ab hier: Desktop-Navigation. Alles darüber gilt für Mobil.
   ============================================================ */
@media (min-width: 1081px) {
  .nav-toggle { display: none; }
  .mobile-cta { display: none; }

  .nav-main {
    position: static;
    height: auto;
    flex-direction: row; align-items: center; gap: 2px;
    padding: 0;
    background: none;
    border-top: 0;
    overflow: visible;
    transform: none;
    opacity: 1; visibility: visible; pointer-events: auto;
    transition: none;
  }

  .nav-link {
    width: auto;
    padding: 10px 14px;
    border-radius: 999px;
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    white-space: nowrap;
  }
  .nav-group > .nav-link { width: auto; gap: 7px; }

  .nav-phone {
    display: flex; flex-direction: column; align-items: flex-end;
    color: var(--navy-deep); line-height: 1.2;
  }
  /* Kompakter Schatten im hellen Header — der grosse Default-Glow würde auf
     Weiss oben rechts ausblühen. */
  .nav-cta > .btn { display: inline-flex; padding: 13px 22px; font-size: 0.78rem; box-shadow: 0 6px 16px rgba(15, 92, 171, 0.26); }
  .nav-cta > .btn:hover { box-shadow: 0 10px 24px rgba(15, 92, 171, 0.34); }

  /* Schwebendes Panel unter dem Auslöser */
  .nav-group { position: relative; }
  .nav-panel {
    display: grid;
    position: absolute; top: calc(100% + 14px); left: 50%;
    transform: translateX(-50%) translateY(-8px);
    width: max-content; max-width: min(620px, calc(100vw - 48px));
    grid-template-columns: 1fr 1fr; gap: 2px;
    margin: 0; padding: 14px;
    background: #fff;
    border: 1px solid var(--brd);
    border-radius: var(--radius);
    box-shadow: var(--sh-lg);
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity 0.22s ease, transform 0.28s var(--ease-out-quart), visibility 0s linear 0.22s;
  }
  .nav-group[data-open="true"] .nav-panel {
    opacity: 1; visibility: visible; pointer-events: auto;
    transform: translateX(-50%) translateY(0);
    transition: opacity 0.22s ease, transform 0.28s var(--ease-out-quart), visibility 0s linear 0s;
  }
  /* Unsichtbare Brücke: sonst schliesst das Panel, wenn die Maus die 14px Lücke quert. */
  .nav-group[data-open="true"] .nav-panel::before {
    content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px;
  }

  .nav-panel a { padding: 11px 14px; font-size: 0.9rem; color: var(--navy-deep); }
  .nav-panel a span { color: var(--sub); font-size: 0.78rem; }
  .nav-panel a:hover, .nav-panel a:focus-visible { background: var(--bg-tint); color: var(--bx-blue-mid); }
  .nav-panel a[aria-current="page"] { background: rgba(66, 165, 245, 0.12); color: var(--bx-blue-mid); }
}

body.nav-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--navy-deep);
  color: #fff;
  padding-block: clamp(60px, 8vw, 104px) clamp(72px, 9vw, 120px);
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(ellipse at 75% 28%, rgba(66, 165, 245, 0.20), transparent 52%),
    radial-gradient(ellipse at 18% 88%, rgba(25, 118, 210, 0.17), transparent 52%),
    linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 58%, var(--navy-deep) 100%);
}
.hero-grid {
  position: absolute; inset: -40px; z-index: -1;
  background-image:
    linear-gradient(rgba(180, 200, 230, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(180, 200, 230, 0.035) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, #000 28%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 28%, transparent 78%);
  animation: gridDrift 34s linear infinite;
}
@keyframes gridDrift { to { transform: translate(80px, 80px); } }

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(40px, 5vw, 88px);
  align-items: center;
}
@media (max-width: 1000px) { .hero-inner { grid-template-columns: 1fr; } }

/* Hero ohne Aktionskarte: eine Spalte, Zeilenlänge trotzdem begrenzt —
   sonst laufen die Zeilen auf grossen Bildschirmen unlesbar breit. */
.hero-single { grid-template-columns: minmax(0, 68ch); }
.hero-single .hero-sub { max-width: 58ch; }

.hero .eyebrow { color: var(--bx-blue-bright); }
.hero h1 { margin-bottom: 24px; }
.hero h1 em { font-style: italic; color: var(--bx-blue-bright); font-weight: 400; }
.hero-sub {
  font-size: var(--fs-lead);
  color: rgba(255, 255, 255, 0.76);
  font-weight: 300;
  line-height: 1.6;
  max-width: 62ch;
  margin-bottom: 36px;
}

/* Aktions-Karte im Hero */
.hero-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  backdrop-filter: blur(20px) saturate(1.3);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 38px);
  position: relative;
  overflow: hidden;
}
.hero-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--bx-blue-bright), transparent);
}
.hero-card h2 { font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.8rem); color: #fff; margin-bottom: 6px; }
.hero-card > p { font-size: 0.9rem; color: var(--silver); margin-bottom: 24px; }
.hero-card ul { display: flex; flex-direction: column; gap: 12px; }
.hero-card li {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 15px 16px;
  background: rgba(66, 165, 245, 0.07);
  border: 1px solid rgba(66, 165, 245, 0.2);
  border-radius: 12px;
  transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.25s var(--ease-out-quart);
}
.hero-card li:hover {
  background: rgba(66, 165, 245, 0.13);
  border-color: rgba(66, 165, 245, 0.38);
  transform: translateX(4px);
}
.hero-card .num {
  flex: 0 0 36px; height: 36px;
  border-radius: 50%;
  background: var(--bx-blue);
  color: var(--navy-deep);
  display: grid; place-items: center;
  font-size: 0.85rem; font-weight: 700;
}
/* display:block ist hier Pflicht, nicht Kosmetik: als Inline-Spans liefen
   Titel und Beschreibung ohne Umbruch ineinander. */
.hero-card li > span:last-child { display: block; min-width: 0; }
.hero-card .t { display: block; color: #fff; font-size: 0.95rem; font-weight: 500; margin-bottom: 3px; }
.hero-card .d { display: block; color: var(--silver); font-size: 0.82rem; line-height: 1.5; }

/* ---------- Statistik-Band ---------- */
.stat-band { background: var(--navy-deep); color: #fff; padding-block: 40px; border-top: 1px solid rgba(255, 255, 255, 0.06); }
.stat-band .grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; text-align: center; }
@media (max-width: 820px) { .stat-band .grid { grid-template-columns: repeat(2, 1fr); gap: 24px 16px; } }
.stat-num {
  font-size: clamp(2rem, 1.4rem + 2vw, 2.9rem);
  font-weight: 300; line-height: 1;
  color: var(--bx-blue-bright);
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  margin-bottom: 8px;
}
.stat-lbl {
  font-size: 0.76rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.58); line-height: 1.4;
}

/* ---------- Karten-Raster ---------- */
.grid-cards { display: grid; gap: clamp(16px, 2vw, 24px); }
.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1100px) { .cols-4, .cols-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 980px)  { .cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px)  { .cols-2, .cols-3, .cols-4, .cols-5 { grid-template-columns: 1fr; } }

.card {
  position: relative;
  background: #fff;
  border: 1px solid var(--brd);
  border-radius: var(--radius);
  padding: clamp(24px, 2.6vw, 34px);
  overflow: hidden;
  transition: transform 0.4s var(--ease-out-quart), box-shadow 0.4s var(--ease-out-quart), border-color 0.3s ease;
}
.card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--bx-blue-mid), var(--bx-blue-bright));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.5s var(--ease-out-quart);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--sh-md); border-color: var(--bx-blue); }
.card:hover::before { transform: scaleX(1); }
.card h3 { margin-bottom: 12px; color: var(--navy-deep); }
.card p { color: var(--sub); font-size: 0.95rem; }

/* Verlinkte Karte: ganze Fläche klickbar, Fokus sichtbar */
.card-link h3 a::after { content: ""; position: absolute; inset: 0; }
.card-link:focus-within { border-color: var(--bx-blue); box-shadow: var(--sh-md); }

/* FACTS-Säulen */
.pillar .letter {
  font-size: clamp(2.6rem, 2rem + 2vw, 3.9rem);
  font-weight: 300; line-height: 1;
  color: var(--bx-blue);
  letter-spacing: -0.05em;
  margin-bottom: 16px;
}
.pillar .letter sup {
  font-size: 0.72rem; color: var(--sub); letter-spacing: 0.28em;
  margin-left: 9px; font-weight: 600; text-transform: uppercase;
}
.pillar ul { display: flex; flex-direction: column; }
.pillar li {
  position: relative;
  padding: 6px 0 6px 18px;
  color: var(--sub);
  font-size: 0.93rem; line-height: 1.5;
}
.pillar li::before {
  content: ""; position: absolute; left: 0; top: 0.95em;
  width: 8px; height: 1px; background: var(--bx-blue);
}

/* Dunkle Karte (Versprechen) */
.card-dark {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.012));
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: var(--radius);
  padding: clamp(28px, 3vw, 42px);
  position: relative; overflow: hidden;
  transition: transform 0.4s var(--ease-out-quart), border-color 0.3s ease, background-color 0.3s ease;
}
.card-dark::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at top right, rgba(66, 165, 245, 0.16), transparent 52%);
  opacity: 0; transition: opacity 0.4s ease;
}
.card-dark:hover { transform: translateY(-5px); border-color: rgba(66, 165, 245, 0.4); }
.card-dark:hover::after { opacity: 1; }
.card-dark > * { position: relative; z-index: 1; }
.card-dark .num {
  display: inline-grid; place-items: center;
  width: 46px; height: 46px;
  border: 1.5px solid var(--bx-blue-bright);
  border-radius: 50%;
  color: var(--bx-blue-bright);
  font-size: 0.85rem; font-weight: 600;
  margin-bottom: 22px;
}
.card-dark h3 { color: #fff; font-weight: 400; font-size: clamp(1.3rem, 1.1rem + 0.7vw, 1.6rem); margin-bottom: 14px; }
.card-dark p { color: rgba(255, 255, 255, 0.7); font-weight: 300; font-size: 0.98rem; }

/* ---------- Leistungs-Akkordeon ---------- */
.svc-item {
  background: #fff;
  border: 1px solid var(--brd);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.svc-item[open] { border-color: var(--bx-blue); box-shadow: var(--sh-sm); }
.svc-q {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 500;
  color: var(--navy-deep);
  list-style: none;
}
.svc-q::-webkit-details-marker { display: none; }
.svc-icon {
  flex: 0 0 44px; height: 44px;
  display: grid; place-items: center;
  background: #F2F7FD;
  border-radius: 12px;
  color: var(--bx-blue-mid);
}
.svc-icon svg { width: 22px; height: 22px; }
.svc-head { display: flex; align-items: center; gap: 15px; min-width: 0; }
.svc-toggle {
  flex: 0 0 30px; height: 30px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--bg-tint);
  color: var(--bx-blue-mid);
  transition: transform 0.35s var(--ease-out-quart), background-color 0.25s ease, color 0.25s ease;
}
.svc-item[open] .svc-toggle { transform: rotate(180deg); background: var(--bx-blue-mid); color: #fff; }
.svc-body { padding: 0 24px 22px; color: var(--sub); font-size: 0.95rem; }
.svc-body ul { display: flex; flex-direction: column; gap: 7px; margin-top: 12px; }
.svc-body li { position: relative; padding-left: 20px; }
.svc-body li::before {
  content: ""; position: absolute; left: 0; top: 0.62em;
  width: 7px; height: 7px; border-radius: 50%; background: var(--bx-blue);
}

/* ---------- FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr); gap: clamp(32px, 5vw, 76px); }
@media (max-width: 980px) { .faq-layout { grid-template-columns: 1fr; } }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  border: 1px solid var(--brd);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.faq-item[open] { border-color: var(--bx-blue); box-shadow: 0 12px 34px rgba(66, 165, 245, 0.1); }
.faq-q {
  display: flex; justify-content: space-between; align-items: center; gap: 22px;
  padding: 20px 24px;
  cursor: pointer;
  font-size: 1rem; font-weight: 500;
  color: var(--navy-deep);
  list-style: none;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-item:hover .faq-q { color: var(--bx-blue-mid); }
.faq-plus {
  flex: 0 0 30px; height: 30px;
  position: relative;
  border-radius: 50%;
  background: var(--bg-tint);
  color: var(--bx-blue-mid);
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.35s var(--ease-out-quart);
}
.faq-plus::before, .faq-plus::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform 0.35s var(--ease-out-quart), opacity 0.25s ease;
}
.faq-plus::before { width: 12px; height: 1.5px; }
.faq-plus::after { width: 1.5px; height: 12px; }
.faq-item[open] .faq-plus { background: var(--bx-blue-mid); color: #fff; }
.faq-item[open] .faq-plus::after { transform: translate(-50%, -50%) scaleY(0); opacity: 0; }
.faq-a { padding: 0 24px 24px; color: var(--sub); line-height: 1.68; }

/* ---------- Person / Team ---------- */
.person-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (max-width: 980px) { .person-layout { grid-template-columns: 1fr; } }
.person-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--sh-lg);
  background: var(--silver-soft);
}
.person-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 52%, rgba(10, 26, 47, 0.6));
}
.person-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out-quart); }
.person-photo:hover img { transform: scale(1.04); }
.person-caption { position: absolute; left: 24px; bottom: 22px; z-index: 1; color: #fff; }
.person-caption .n { font-size: 1.3rem; font-weight: 500; }
.person-caption .r { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255, 255, 255, 0.78); margin-top: 3px; }

.quote {
  font-size: clamp(1.25rem, 1.05rem + 1vw, 1.85rem);
  font-weight: 300; font-style: italic;
  line-height: 1.42; letter-spacing: -0.012em;
  color: var(--navy-deep);
  border-left: 3px solid var(--bx-blue);
  padding-left: 26px;
  margin: 12px 0 28px;
}
.metrics { display: flex; flex-wrap: wrap; gap: clamp(24px, 4vw, 52px); }
.metric-num { font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.5rem); font-weight: 300; color: var(--bx-blue-mid); line-height: 1; letter-spacing: -0.03em; }
.metric-lbl { font-size: 0.76rem; color: var(--sub); letter-spacing: 0.11em; text-transform: uppercase; margin-top: 7px; }

/* Team-Raster */
/* Obergrenze statt 1fr: sonst dehnt auto-fit eine Gruppe mit nur zwei Personen
   (die Partner) über die volle Breite — 650px breite Portraits neben 280px
   breiten in der Gruppe darunter. So bleiben alle Karten gleich gross. */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 290px));
  justify-content: start;
  gap: clamp(28px, 3vw, 44px);
}
@media (max-width: 560px) { .team-grid { grid-template-columns: minmax(0, 1fr); } }
.team-member img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover;
  border-radius: var(--radius);
  background: var(--silver-soft);
  margin-bottom: 16px;
}
.team-member h3 { font-size: 1.05rem; margin-bottom: 3px; }
.team-role { display: block; font-size: 0.85rem; color: var(--bx-blue-mid); margin-bottom: 10px; font-weight: 500; }
.team-member p { font-size: 0.88rem; color: var(--sub); line-height: 1.55; margin-bottom: 10px; }
.team-qual { font-size: 0.8rem; color: #64748B; margin-bottom: 8px; }
.team-mail { font-size: 0.85rem; color: var(--bx-blue-mid); font-weight: 500; word-break: break-word; }
.team-mail:hover { text-decoration: underline; text-underline-offset: 3px; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.tag {
  padding: 5px 12px;
  background: #EEF4FB;
  color: var(--bx-blue-mid);
  border-radius: 999px;
  font-size: 0.74rem; font-weight: 500;
}

/* ---------- Prozess-Schritte ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.5vw, 32px); position: relative; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }
.step {
  position: relative;
  background: #fff;
  border: 1px solid #E4EFFF;
  border-radius: var(--radius);
  padding: clamp(24px, 2.5vw, 34px);
  box-shadow: var(--sh-sm);
  transition: transform 0.3s var(--ease-out-quart), box-shadow 0.3s ease;
}
.step:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.step-icon {
  position: relative;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #F4F8FF, #E1EDFF);
  border: 1px solid #D5E6FB;
  display: grid; place-items: center;
  margin: 0 auto 18px;
  box-shadow: 0 14px 26px rgba(0, 80, 170, 0.13);
  color: var(--bx-blue-deep);
}
.step-icon svg { width: 25px; height: 25px; }
.step-icon b {
  position: absolute; top: -9px; right: -9px;
  width: 27px; height: 27px;
  background: #fff;
  border: 1px solid #DBE8FB;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 0.78rem; font-weight: 600;
  color: var(--bx-blue-mid);
  box-shadow: 0 10px 20px rgba(0, 70, 160, 0.16);
}
.step h3 { text-align: center; margin-bottom: 10px; font-size: 1.12rem; }
.step p { text-align: center; color: var(--sub); font-size: 0.95rem; }
@media (max-width: 900px) {
  .step { padding-left: 88px; }
  .step-icon { position: absolute; left: 22px; top: 24px; margin: 0; }
  .step h3, .step p { text-align: left; }
}

/* ---------- Vorteile ---------- */
.benefit-list { display: grid; gap: 16px; }
.benefit {
  display: flex; gap: 18px;
  padding: 20px 22px;
  background: #fff;
  border: 1px solid var(--brd);
  border-radius: var(--radius);
  box-shadow: var(--sh-sm);
  transition: transform 0.28s var(--ease-out-quart), box-shadow 0.28s ease, border-color 0.28s ease;
}
.benefit:hover { transform: translateY(-3px); border-color: #CCE4FF; box-shadow: 0 16px 32px rgba(0, 143, 222, 0.14); }
.benefit-icon {
  flex: 0 0 50px; height: 50px;
  border-radius: 14px;
  /* Weisse Icons brauchen 3:1 — auf #42A5F5 wären es nur 2.65:1. */
  background: linear-gradient(145deg, var(--bx-blue-mid), var(--grad-btn-a));
  display: grid; place-items: center;
  color: #fff;
  box-shadow: 0 7px 16px rgba(0, 143, 222, 0.28);
}
.benefit-icon svg { width: 24px; height: 24px; }
.benefit strong { display: block; margin-bottom: 5px; font-size: 1.05rem; font-weight: 500; }
.benefit p { color: var(--sub); font-size: 0.95rem; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.chip {
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 0.85rem; font-weight: 500;
  background: #F0F7FF;
  color: var(--bx-blue-mid);
  border: 1px solid #D7E9FF;
}
.chip-soft { background: #F9FBFF; color: #495566; border-color: #EBF2FB; }

/* ---------- CTA-Band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(34px, 5vw, 64px);
  position: relative; overflow: hidden;
  text-align: center;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 20%, rgba(66, 165, 245, 0.2), transparent 55%);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; margin-bottom: 14px; }
.cta-band p { color: rgba(255, 255, 255, 0.72); max-width: 60ch; margin: 0 auto 28px; }
.cta-band .btn-row { justify-content: center; }

/* ---------- Rezensionen ---------- */
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.review {
  background: #fff;
  border: 1px solid var(--brd);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--sh-sm);
}
/* #FBBF24 erreicht auf Weiss nur 1.7:1 — für ein bedeutungstragendes Element zu wenig. */
.review-stars { color: #B45309; letter-spacing: 2px; margin-bottom: 12px; }
.review p { color: #3D4B5F; font-size: 0.95rem; line-height: 1.6; margin-bottom: 16px; }
.review-author { display: flex; align-items: center; gap: 12px; }
.review-author img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; }
.review-author b { font-size: 0.9rem; font-weight: 500; display: block; }
.review-author small { font-size: 0.78rem; color: var(--sub); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.62);
  padding-block: clamp(48px, 6vw, 78px) 32px;
  position: relative;
}
.site-footer::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--bx-blue), transparent);
}
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: clamp(28px, 3.5vw, 52px); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand img {
  height: 38px; width: auto;
  background: #fff; padding: 8px 12px; border-radius: 10px;
  margin-bottom: 18px;
}
.footer-brand p { font-size: 0.88rem; line-height: 1.7; max-width: 40ch; }
.site-footer h2 {
  color: #fff;
  font-size: 0.76rem; font-weight: 500;
  letter-spacing: 0.17em; text-transform: uppercase;
  margin-bottom: 16px;
}
.site-footer ul { display: flex; flex-direction: column; gap: 9px; font-size: 0.88rem; }
.site-footer a:hover { color: var(--bx-blue-bright); }
.footer-bottom {
  margin-top: clamp(36px, 4vw, 54px);
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
}
.footer-bottom nav { display: flex; gap: 18px; flex-wrap: wrap; }

/* ---------- Reveal-on-Scroll ---------- */
/* Standard ist SICHTBAR. Der versteckte Ausgangszustand gilt nur, wenn das
   Inline-Skript im <head> die Klasse .js gesetzt hat — also JavaScript läuft
   und die Elemente auch wieder eingeblendet werden können. */
.reveal { transition: opacity 0.85s var(--ease-out-quart), transform 0.95s var(--ease-out-quart); }
.js .reveal { opacity: 0; transform: translateY(28px); }
.js .reveal.in { opacity: 1; transform: none; }
.reveal-1 { transition-delay: 0.07s; }
.reveal-2 { transition-delay: 0.14s; }
.reveal-3 { transition-delay: 0.21s; }
.reveal-4 { transition-delay: 0.28s; }
.reveal-5 { transition-delay: 0.35s; }

/* Bewegungsempfindlichkeit respektieren (WCAG 2.3.3) */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .hero-grid { animation: none; }
}
