/* ============================================================
   Confitax — Global Stylesheet
   ============================================================

   TABLE OF CONTENTS
   -----------------
   1.  CSS Variables & Design Tokens
   2.  Reset & Base
   3.  Typography
   4.  Layout Utilities  (.container, .section, .grid-*)
   5.  Buttons
   6.  Badges & Tags
   7.  Navigation
   8.  Hero Section
   9.  Page Hero (inner pages)
   10. Section Components (sec-head, why-section, offers, etc.)
   11. Cards & Feature Tiles
   12. Team / About
   13. Testimonials
   14. FAQ Accordion
   15. Forms & Inputs
   16. Contact Page
   17. Legal Pages (datenschutz, impressum)
   18. Map Components
   19. Footer
   20. Cookie Banner
   21. Scroll-to-top Button
   22. Animations & Transitions
   23. Utility Classes (inline-style replacements)

   Page-specific styles live in separate files:
     karriere.css     — Karriere page components
     selbstcheck.css  — Quiz module
   ============================================================ */

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

/* ---- Custom Properties ---- */
:root {
  /* Color Palette — Light Theme */
  --bg:           #ffffff;
  --bg-secondary: #f4f7fb;
  --bg-card:      #ffffff;
  --bg-elevated:  #eaf0f8;
  --accent:       #a8bb00;
  --accent-hover: #bdd100;
  --accent-dim:   rgba(168, 187, 0, 0.10);
  --accent-border:rgba(168, 187, 0, 0.32);
  --white:        #ffffff;
  --text-sub:     #4a5a70;
  --text-muted:   #7a8fa8;
  --border:       rgba(10, 25, 50, 0.08);
  --border-light: rgba(10, 25, 50, 0.04);

  /* Dark section palette (hero, footer, cta) */
  --dark:         #111820;
  --dark-card:    #1a2535;
  --dark-text:    #ffffff;
  --dark-sub:     #8a9ab5;
  --dark-border:  rgba(255,255,255,0.09);

  /* Typography */
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-head: 'Outfit', 'Inter', sans-serif;

  /* Spacing Scale */
  --sp-1: 0.5rem;
  --sp-2: 1rem;
  --sp-3: 1.5rem;
  --sp-4: 2rem;
  --sp-5: 3rem;
  --sp-6: 5rem;
  --sp-7: 8rem;

  /* Radii */
  --r-sm:   8px;
  --r-md:   14px;
  --r-lg:   22px;
  --r-xl:   28px;
  --r-pill: 9999px;

  /* Transitions */
  --tr:      0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --tr-slow: 0.6s  cubic-bezier(0.4, 0, 0.2, 1);

  /* Shadows — softer for light theme */
  --sh-sm:     0 2px 8px  rgba(10,25,50,0.08);
  --sh-md:     0 6px 24px rgba(10,25,50,0.10);
  --sh-lg:     0 16px 48px rgba(10,25,50,0.13);
  --sh-accent: 0 0 40px rgba(183,200,0,0.25);

  /* Layout */
  --max-w: 1260px;
  /* Einheitliche Header-Höhe (Startseite, Karriere, Kanzlei):
     Kundenwunsch Juli 2026 (2. Runde): Titelbild über die ganze Seite —
     Bildfläche exakt im Teambild-Verhältnis 1279:475, dadurch wird das
     Bild in voller Breite unbeschnitten gezeigt (alle Gesichter sichtbar) */
  --hero-img-h: calc(100vw * 475 / 1279);
  --hero-h: calc(68px + var(--sh-h) + var(--hero-img-h));
  /* Einheitlicher Abstand von der Navigation bis zur Oberkante des
     Hero-Claims — Kundenfeedback Juli 2026 (5. Runde): die Hero-Texte
     sollen auf allen Seiten auf derselben Höhe beginnen. Die Formel
     bildet die Startseiten-Position nach (Text unten im Verlauf, alle
     Gesichter sichtbar): Bildhöhe minus unterem Innenabstand, Kapitel-
     zähler (52px), zweizeiligem Claim (2 × 1.05 Zeilenhöhe) und dem
     Platz für die längste Kapitel-Subline inkl. Abstand (140px).
     Startseite, Kanzlei, Karriere und Mandant-werden verankern ihre
     Claims alle an dieser Oberkante. */
  --hero-copy-top: calc(
    var(--hero-img-h)
    - clamp(1.25rem, 2.2vw, 2.25rem)
    - 52px
    - (2.1 * clamp(2.4rem, 4.2vw, 4.1rem))
    - 140px
  );
  --pad-x: 1.5rem;
}

/* ---- Utilities ---- */
/* Nur für Screenreader/SEO — visuell unsichtbar, bleibt aber im DOM */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---- Base ---- */
html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: #0a1628;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ---- Typography ---- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  letter-spacing: -0.025em;
  line-height: 1.18;
}

h1 { font-size: clamp(2.6rem, 5.5vw, 4.8rem); font-weight: 700; }
h2 { font-size: clamp(2rem,   4vw,   3.2rem);  font-weight: 650; }
h3 { font-size: clamp(1.35rem,2.5vw, 1.8rem);  font-weight: 600; }
h4 { font-size: 1.2rem;  font-weight: 600; }
h5 { font-size: 1rem;    font-weight: 500; }

p  { color: var(--text-sub); line-height: 1.82; }
a  { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }

/* ============================================================
   LAYOUT
   ============================================================ */

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

/* Kundenwunsch: weniger Leerraum zwischen den Abschnitten (alle Seiten) */
.section      { padding: clamp(3.5rem, 7vw, 5.5rem) 0; }
.section--sm  { padding: clamp(2.5rem, 5vw, 4rem) 0; }

/* ============================================================
   UTILITIES
   ============================================================ */

.text-accent  { color: var(--accent); }
.text-muted   { color: var(--text-sub); }
.text-center  { text-align: center; }

/* Badge pill */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent-dim);
  color: var(--accent);
  border: 1px solid var(--accent-border);
  border-radius: var(--r-pill);
  padding: 5px 16px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

/* Horizontal rule */
.hr {
  height: 1px;
  background: var(--border);
  border: none;
  margin: var(--sp-5) 0;
}

/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--r-pill);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--tr);
  letter-spacing: 0.01em;
  white-space: nowrap;
  text-decoration: none;
  line-height: 1;
}

.btn-primary {
  background: var(--accent);
  color: var(--bg);
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: var(--sh-accent);
}

.btn-outline {
  background: transparent;
  color: #0a1628;
  border: 1px solid rgba(10,25,50,0.18);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

/* btn-outline on dark backgrounds (hero, cta-band, footer) */
.hero .btn-outline,
.cta-band .btn-outline,
.footer .btn-outline {
  color: rgba(255,255,255,0.85);
  border-color: rgba(255,255,255,0.25);
}
.hero .btn-outline:hover,
.cta-band .btn-outline:hover,
.footer .btn-outline:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.btn-ghost {
  background: transparent;
  color: var(--text-sub);
  padding: 13px 20px;
}
.btn-ghost:hover { color: #0a1628; }

.btn-lg  { padding: 17px 38px; font-size: 1rem; }
.btn-sm  { padding: 9px  18px; font-size: 0.82rem; }
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ============================================================
   SUPER HEADER — DATEV ZUGÄNGE
   ============================================================ */

/* Kundenwunsch Juli 2026: Leiste um ¼ kleiner (36px → 27px) und
   dezenter im confitax-Grün statt Neongrün */
:root { --sh-h: 27px; }

.superheader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 910;
  height: var(--sh-h);
  background: var(--accent);
  display: flex;
  align-items: center;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.superheader::-webkit-scrollbar { display: none; }

.superheader-inner {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  margin: 0 auto;
  padding: 0 20px;
  white-space: nowrap;
}

.superheader-inner .sh-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: #0a0f1a;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.7;
}

.superheader-inner a {
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 0.78rem;
  font-weight: 600;
  color: #0a0f1a;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: opacity 0.15s ease;
}

.superheader-inner a:hover {
  text-decoration: underline;
  opacity: 0.75;
}

/* ============================================================
   NAVIGATION
   ============================================================ */

.nav {
  position: fixed;
  top: var(--sh-h);
  left: 0;
  right: 0;
  z-index: 900;
  background: var(--dark);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: box-shadow var(--tr);
}

.nav.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.35);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 1.38rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  text-decoration: none;
  color: #ffffff;
  transition: color var(--tr);
}
.nav-logo-img {
  height: 38px;
  width: auto;
  display: block;
  object-fit: contain;
}

/* Immer weißes Logo */
.nav-logo-img-white { display: block; }
.nav-logo-img-color { display: none; }

.nav-logo-icon {
  width: 34px;
  height: 34px;
  background: var(--accent);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--bg);
  flex-shrink: 0;
}

.nav-logo em {
  font-style: normal;
  color: var(--accent);
}

/* Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
}

.nav-link {
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255,255,255,0.78);   /* white on dark hero */
  transition: color var(--tr);
  letter-spacing: 0.01em;
}
.nav-link:hover { color: var(--accent); }
.nav-link.active { color: var(--accent); }


/* Dropdown trigger */
.nav-item { position: relative; }

.nav-trigger {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255,255,255,0.78);   /* white on dark hero */
  cursor: pointer;
  transition: color var(--tr);
  background: none;
  border: none;
  padding: 0;
  letter-spacing: 0.01em;
}
.nav-trigger:hover { color: #ffffff; }


.nav-trigger .chevron {
  width: 14px;
  height: 14px;
  transition: transform var(--tr);
}
.nav-item.open .chevron { transform: rotate(180deg); }

/* Dropdown panel */
.dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 6px;
  min-width: 290px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--tr), transform var(--tr), visibility var(--tr);
  box-shadow: 0 12px 40px rgba(10,25,50,0.14);
}

/* Invisible bridge covers the visual gap above the panel so hover stays active */
.dropdown::before {
  content: '';
  position: absolute;
  top: -12px;
  left: -10px; right: -10px;  /* Wider than panel to catch diagonal mouse paths */
  height: 12px;
  background: transparent;
}

.nav-item.open .dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.dd-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: var(--r-sm);
  color: #4a6080;
  font-size: 0.88rem;
  transition: all var(--tr);
  text-decoration: none;
}
.dd-item:hover {
  background: var(--accent-dim);
  color: #3a5000;
}
.dd-icon {
  width: 30px;
  height: 30px;
  background: var(--bg-secondary);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  flex-shrink: 0;
}

/* Nav right side */
.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

/* CTA-Block im Mobilmenü — wird nur im aufgeklappten Menü gezeigt */
.nav-menu-ctas { display: none; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: #ffffff;          /* white on dark hero */
  border-radius: 2px;
  transition: all var(--tr);
  transform-origin: center;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ============================================================
   HERO — Split Layout
   ============================================================ */

.hero {
  display: flex;
  align-items: stretch;
  position: relative;
  overflow: hidden;
  padding-top: calc(68px + var(--sh-h));
  color: #ffffff;
}

/* Background — Teambild (Datei assets/teambild.jpg austauschbar).
   Beginnt unterhalb der Navigation; die Bildfläche hat exakt das
   Bildverhältnis, das Foto wird also unbeschnitten gezeigt.
   Kundenwunsch Juli 2026 (2. Runde): alle Gesichter sichtbar — statt der
   dunklen linken Wand nur noch ein Verlauf von unten (Gesichter liegen im
   oberen Bilddrittel, der Text unten auf Höhe der Anzüge). */
.hero-bg {
  position: absolute;
  inset: calc(68px + var(--sh-h)) 0 0 0;
  background:
    linear-gradient(to top, rgba(8,15,26,0.88) 0%, rgba(8,15,26,0.55) 28%, rgba(8,15,26,0.12) 55%, rgba(8,15,26,0) 68%),
    url('assets/teambild.jpg?v=2') center top / cover no-repeat;
}

/* Innerer Container — Höhe folgt der einheitlichen Header-Formel,
   damit Startseite, Karriere und Kanzlei gleich hoch enden */
.hero-split {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  /* Unten ausgerichtet — die Gesichter liegen im oberen Bildbereich,
     der Text sitzt darunter im dunklen Verlauf (alle Gesichter sichtbar) */
  justify-content: flex-end;
  width: 100%;
  min-height: var(--hero-img-h);
  padding: var(--sp-4) 0 clamp(1.25rem, 2.2vw, 2.25rem);
}
/* Desktop: Claim an der gemeinsamen Oberkante verankert (5. Runde:
   Hero-Texte beginnen auf allen Seiten auf derselben Höhe). Die Formel
   in --hero-copy-top reproduziert die bisherige Position — ändert sich
   später ein Kapiteltext, wandert der Zähler statt der Überschrift. */
@media (min-width: 901px) {
  .hero-split {
    justify-content: flex-start;
    padding-top: var(--hero-copy-top);
  }
}
/* Als Flex-Item würde der Container sonst auf Inhaltsbreite schrumpfen
   (auto-Margins verhindern stretch) — volle Breite erzwingen */
.hero-split .container { width: 100%; }

.hero-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 700px;
  /* Leichter Schatten — der Text liegt jetzt ohne dunkle Wand direkt auf
     dem Bild und muss auch über weißen Hemden lesbar bleiben */
  text-shadow: 0 1px 3px rgba(8,15,26,0.55), 0 4px 24px rgba(8,15,26,0.45);
}

.hero-left h1,
.hero-chapter-title {
  /* Kundenwunsch Juli 2026 (3. Runde): zwei Schriftgrößen größer —
     bleibt aber unter dem globalen h1-Clamp, damit die Gesichter
     oberhalb des Textes sichtbar bleiben */
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 4.2vw, 4.1rem);
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.05;
  color: #ffffff;
}

.hero-left h1 em {
  font-style: normal;
  color: var(--accent);
}

/* ---- Hero-Kapitel: auto-rotierender Header-Text ----
   Die Kapitel wechseln zeitbasiert (JS in script.js), die Fülllinie
   läuft als Ladebalken durch. Alle Kapitel liegen in derselben
   Grid-Zelle — das höchste Kapitel bestimmt die Höhe, beim Wechsel
   springt nichts. */
.hero-chapters { display: grid; }

.hero-chapter {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  transform: translateY(22px);
  transition:
    opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s linear 0.65s;
}

.hero-chapter.is-active {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition:
    opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Die Subline folgt der Überschrift mit leichtem Versatz */
.hero-chapter.is-active .hero-chapter-sub { transition-delay: 0.09s; }
.hero-chapter .hero-chapter-sub {
  transition:
    opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Verlassendes Kapitel steigt nach oben aus statt zurückzufallen */
.hero-chapter.is-leaving {
  transform: translateY(-16px);
  transition:
    opacity 0.4s ease,
    transform 0.4s ease,
    visibility 0s linear 0.4s;
}

/* Bei reduzierter Bewegung (OS-Einstellung) wechseln die Kapitel per
   hartem Schnitt: kein Slide, kein Fade, kein Versatz. Die Rotation
   selbst läuft weiter (script.js), nur die Bewegung entfällt. */
@media (prefers-reduced-motion: reduce) {
  .hero-chapter,
  .hero-chapter.is-active,
  .hero-chapter.is-leaving,
  .hero-chapter .hero-chapter-sub {
    transition: none;
    transform: none;
  }
  .hero-chapter.is-active .hero-chapter-sub { transition-delay: 0s; }
}

.hero-chapter-sub {
  font-family: var(--font-head);
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  font-weight: 600;
  color: var(--accent);
  letter-spacing: -0.01em;
  max-width: 600px;
  line-height: 1.45;
}

/* Kapitelzähler — Nummer + Fülllinie als sichtbarer Auto-Wechsel-Takt */
.hero-chapternav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  margin-top: 1.5rem;
}

.hc-dot {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 6px 0;
  background: none;
  border: 0;
  cursor: pointer;
}
.hc-dot:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 2px;
}

.hc-num {
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
  color: rgba(255,255,255,0.45);
  transition: color var(--tr);
}
.hc-dot.is-active .hc-num { color: var(--accent); }
.hc-dot:hover .hc-num     { color: rgba(255,255,255,0.8); }
.hc-dot.is-active:hover .hc-num { color: var(--accent); }

.hc-track {
  display: block;
  width: 26px;
  height: 2px;
  border-radius: 1px;
  background: rgba(255,255,255,0.28);
  overflow: hidden;
  transition: width 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.hc-dot.is-active .hc-track { width: 64px; }

.hc-fill {
  display: block;
  height: 100%;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
}

/* Responsive — mobil Bild und Text untereinander: das 2,7:1-Bild wird in
   voller Breite unbeschnitten gezeigt (alle Gesichter sichtbar), der Text
   steht darunter auf dunkler Fläche */
@media (max-width: 900px) {
  .hero {
    display: block;
    background: var(--dark);
  }
  .hero-bg {
    position: static;
    inset: auto;
    aspect-ratio: 1279 / 475;
    background: url('assets/teambild.jpg?v=2') center top / cover no-repeat;
  }
  .hero-split {
    text-align: center;
    min-height: 0;
    padding: var(--sp-4) 0 var(--sp-5);
  }
  .hero-left { align-items: center; max-width: 100%; }
  .hero-chapters { justify-items: center; }
  .hero-chapter-sub { margin-left: auto; margin-right: auto; }
  .hero-chapternav { justify-content: center; }
}

/* Legacy classes (andere Seiten) */
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 920px;
  margin: 0 auto;
  padding: var(--sp-7) 0 var(--sp-6);
}

.hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
}

.trust-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-6);
  padding-top: var(--sp-5);
  margin-top: var(--sp-5);
  border-top: 1px solid rgba(255,255,255,0.12);
}

.stat-num {
  font-size: 2.6rem;
  font-weight: 750;
  font-family: var(--font-head);
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.04em;
}

.stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  margin-top: 5px;
  letter-spacing: 0.02em;
}

/* ============================================================
   SECTION HEADER
   ============================================================ */

.sec-head {
  text-align: center;
  margin-bottom: var(--sp-6);
}
.sec-head .badge { margin-bottom: var(--sp-2); }
.sec-head h2    { margin-bottom: var(--sp-2); }
.sec-head p {
  max-width: 560px;
  margin: 0 auto;
  font-size: 1.02rem;
}

/* Left-aligned variant */
.sec-head.left { text-align: left; }
.sec-head.left p { margin: 0; }

/* ============================================================
   SERVICE CARDS (Homepage overview)
   ============================================================ */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.svc-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--sp-5);
  transition: all var(--tr);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  display: block;
}

.svc-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--r-lg);
  background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(183,200,0,0.06) 0%, transparent 70%);
  opacity: 0;
  transition: opacity var(--tr);
}

.svc-card:hover {
  border-color: var(--accent-border);
  transform: translateY(-5px);
  box-shadow: var(--sh-lg);
}

.svc-card:hover::after { opacity: 1; }

/* Top accent line on hover */
.svc-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}
.svc-card:hover::before { transform: scaleX(1); }

.svc-icon {
  width: 48px;
  height: 48px;
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: var(--sp-3);
  position: relative;
  z-index: 1;
}

.svc-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}

.svc-card p {
  font-size: 0.88rem;
  line-height: 1.72;
  position: relative;
  z-index: 1;
}

.svc-arrow {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: var(--sp-3);
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 600;
  transition: gap var(--tr);
  position: relative;
  z-index: 1;
}
.svc-card:hover .svc-arrow { gap: 10px; }

/* ============================================================
   ABOUT PREVIEW (Homepage)
   ============================================================ */

.about-wrap {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: var(--sp-7);
  align-items: center;
}

/* Visual side */
.about-visual {
  position: relative;
}

/* Real photo wrap */
.about-photo-wrap {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 5/4;
}
.about-real-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--sp-5);
  aspect-ratio: 5/4;
  position: relative;
  overflow: hidden;
}

.about-card-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 60% 30%, rgba(183,200,0,0.09) 0%, transparent 60%);
}

/* Floating stat cards on the visual */
.about-float {
  position: absolute;
  background: rgba(13,27,42,0.92);
  backdrop-filter: blur(14px);
  border: 1px solid var(--accent-border);
  border-radius: var(--r-md);
  padding: 14px 20px;
}

.about-float-1 { top: var(--sp-3);  right: var(--sp-3); }
.about-float-2 { bottom: var(--sp-3); left: var(--sp-3); }

.about-float strong {
  display: block;
  font-size: 1.7rem;
  color: var(--accent);
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}
.about-float span {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.55);
  margin-top: 3px;
  display: block;
}

/* Large bg number */
.about-big-num {
  position: absolute;
  bottom: var(--sp-3);
  right: var(--sp-4);
  font-size: 7rem;
  font-weight: 800;
  font-family: var(--font-head);
  color: rgba(183,200,0,0.05);
  line-height: 1;
  letter-spacing: -0.06em;
  user-select: none;
}

/* Text side */
.about-text .badge { margin-bottom: var(--sp-3); }
.about-text h2     { margin-bottom: var(--sp-3); }
.about-text p      { margin-bottom: var(--sp-3); }

.about-feats {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: var(--sp-4);
}

.about-feat {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text-sub);
}
.about-feat-mark {
  width: 20px;
  height: 20px;
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  color: var(--accent);
  flex-shrink: 0;
}

/* ============================================================
   IDENTITY SECTION (Wer wir sind — neu)
   ============================================================ */

.identity-section {
  padding: var(--sp-7) 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.identity-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 10% 20%, rgba(168,187,0,0.06) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 90% 80%, rgba(168,187,0,0.04) 0%, transparent 60%);
  pointer-events: none;
}

.identity-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--sp-6);
}

.identity-header .badge {
  margin-bottom: var(--sp-3);
}

.identity-header h2 {
  color: inherit;
  margin-bottom: var(--sp-3);
}

.identity-lead {
  color: var(--text-sub);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ---- Stats ---- */
.identity-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-bottom: var(--sp-6);
}

.istat {
  background: var(--bg-card);
  padding: var(--sp-4) var(--sp-3);
  text-align: center;
  position: relative;
  transition: background var(--tr);
}

.istat:hover {
  background: var(--bg-elevated);
}

.istat-num-wrap {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
  margin-bottom: 8px;
}

.istat-num {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.04em;
  line-height: 1;
}

.istat-suffix {
  font-family: var(--font-head);
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.03em;
  line-height: 1;
}

.istat-label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ---- Areas grid ---- */
.identity-areas {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-bottom: var(--sp-5);
}

.iarea {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: var(--sp-4);
  background: var(--bg-card);
  transition: background var(--tr);
  cursor: default;
}

.iarea:hover {
  background: var(--bg-elevated);
}

.iarea-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-top: 2px;
}

.iarea-icon svg {
  width: 18px;
  height: 18px;
}

.iarea-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.iarea-body strong {
  font-size: 0.92rem;
  font-weight: 600;
  color: inherit;
  line-height: 1.3;
}

.iarea-body span {
  font-size: 0.78rem;
  color: var(--text-sub);
  line-height: 1.4;
}

/* ---- CTA ---- */
.identity-cta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--sp-3);
  flex-wrap: wrap;
  margin-top: var(--sp-5);
  text-align: center;
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .identity-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .identity-areas {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .identity-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .identity-areas {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   WHY US
   ============================================================ */

.why-bg {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.why-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--sp-5);
  display: flex;
  gap: var(--sp-3);
  transition: all var(--tr);
}
.why-card:hover {
  border-color: var(--accent-border);
  box-shadow: var(--sh-md);
}

.why-num {
  font-size: 3.2rem;
  font-weight: 800;
  font-family: var(--font-head);
  line-height: 1;
  background: linear-gradient(135deg, var(--accent) 0%, rgba(183,200,0,0.2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  min-width: 52px;
  flex-shrink: 0;
}

.why-body h4 { margin-bottom: 7px; font-size: 1.05rem; }
.why-body p  { font-size: 0.88rem; }

/* ============================================================
   STANDORT
   ============================================================ */

.standort-section {
  padding: var(--sp-7) 0;
  background: var(--bg);
}

.standort-grid {
  display: grid;
  /* Info-Spalte breit genug für Adresse und Öffnungszeiten nebeneinander */
  grid-template-columns: 1.1fr 1.3fr;
  gap: 3.5rem;
  align-items: center;
}

.standort-eyebrow {
  display: inline-block;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .65rem;
}

.standort-info h2 {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 2.2vw, 1.9rem);
  font-weight: 800;
  color: #0a1628;
  line-height: 1.18;
  margin-bottom: 2rem;
}

.standort-details {
  /* Links: Adresse, Telefon, E-Mail untereinander — rechts daneben: Öffnungszeiten */
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem 2rem;
  margin-bottom: 2rem;
}
.standort-details .standort-item:nth-child(1) { grid-area: 1 / 1; }
.standort-details .standort-item:nth-child(2) { grid-area: 2 / 1; }
.standort-details .standort-item:nth-child(3) { grid-area: 3 / 1; }
.standort-details .standort-item:nth-child(4) { grid-area: 1 / 2 / span 3; }
@media (max-width: 560px) {
  .standort-details { grid-template-columns: 1fr; }
  .standort-details .standort-item:nth-child(n) { grid-area: auto; }
}

.standort-item {
  display: flex;
  align-items: flex-start;
  gap: .9rem;
}

.standort-item svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.standort-item div {
  display: flex;
  flex-direction: column;
  gap: .15rem;
}

.standort-item strong {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #0a1628;
}

.standort-item span,
.standort-item a {
  font-size: .9rem;
  color: var(--text-sub);
  line-height: 1.55;
  text-decoration: none;
}

.standort-item a:hover { color: var(--accent); }

/* Startseiten-Variante (Kundenwunsch Juli 2026): keine große Überschrift,
   zwei Spalten mit eigenen Überschriften; die Karte streckt sich auf die
   volle Blockhöhe, damit kein Leerraum entsteht */
.standort-grid--fill {
  align-items: stretch;
  /* Textspalte etwas breiter, damit der Firmenname nicht zerfällt */
  grid-template-columns: 1.25fr 1.15fr;
}
.standort-grid--fill .standort-map {
  height: auto;
  min-height: 320px;
}

.standort-cols {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 2rem 2.5rem;
}

.standort-col-head {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 800;
  color: #0a1628;
  line-height: 1.25;
  margin-bottom: 1.2rem;
}

.standort-cols .standort-item { margin-bottom: 1.15rem; }
.standort-cols .standort-item:last-child { margin-bottom: 0; }

.standort-hours p {
  font-size: .9rem;
  font-weight: 600;
  color: #0a1628;
  line-height: 1.55;
  margin-bottom: .95rem;
}
.standort-hours p:last-child { margin-bottom: 0; }
.standort-hours p span {
  display: block;
  font-weight: 400;
  color: var(--text-sub);
}

@media (max-width: 560px) {
  .standort-cols { grid-template-columns: 1fr; }
}

.standort-map {
  height: 420px;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-lg);
  border: 1px solid var(--border);
}

.standort-map iframe {
  width: 100%;
  height: 100%;
  display: block;
}

@media (max-width: 860px) {
  .standort-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .standort-map { height: 300px; }
}

/* ============================================================
   GOOGLE BEWERTUNGEN — Auto-Scroll Slider
   ============================================================ */

@keyframes reviewsScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.reviews-section {
  padding: 4rem 0;
  background: var(--dark);
  overflow: hidden;
}

.reviews-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.reviews-eyebrow {
  display: block;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .4rem;
}

.reviews-score-row {
  display: flex;
  align-items: center;
  gap: .6rem;
}

.reviews-score {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.reviews-stars {
  font-size: 1.1rem;
  color: var(--accent);
  letter-spacing: .05em;
}

.reviews-count {
  font-size: .85rem;
  color: var(--dark-sub);
}

.reviews-cta-link {
  font-size: .85rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  white-space: nowrap;
  transition: opacity var(--tr);
}
.reviews-cta-link:hover { opacity: .75; }

/* Track */
.reviews-track-outer {
  position: relative;
  /* fade edges */
  mask-image: linear-gradient(to right, transparent 0%, #000 6%, #000 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 6%, #000 94%, transparent 100%);
}

.reviews-track {
  display: flex;
  gap: 1.25rem;
  width: max-content;
  animation: reviewsScroll 40s linear infinite;
}

.reviews-track:hover {
  animation-play-state: paused;
}

/* Cards */
.rev-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--r-md);
  padding: 1.5rem 1.75rem;
  width: 320px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  transition: border-color var(--tr), transform var(--tr);
}

.rev-card:hover {
  border-color: var(--accent-border);
  transform: translateY(-3px);
}

.rev-stars {
  color: var(--accent);
  font-size: 1rem;
  letter-spacing: .05em;
}

.rev-text {
  font-size: .875rem;
  color: rgba(255,255,255,.75);
  line-height: 1.65;
  flex: 1;
}

.rev-author {
  font-size: .78rem;
  font-weight: 700;
  color: var(--dark-sub);
  letter-spacing: .04em;
}

/* ============================================================
   CTA BAND
   ============================================================ */

.cta-band {
  background: linear-gradient(135deg, #0a1628 0%, #0f2035 100%);
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  top: -60px; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 300px;
  background: radial-gradient(ellipse, rgba(183,200,0,0.12) 0%, transparent 70%);
}

.cta-band h2,
.cta-band h3 { color: #ffffff; }
.cta-band .lead { color: rgba(255,255,255,0.65); }

.cta-inner {
  position: relative;
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
}
.cta-inner h2    { margin-bottom: var(--sp-2); }
.cta-inner .lead { font-size: 1.05rem; margin-bottom: var(--sp-5); max-width: 680px; margin-left: auto; margin-right: auto; }

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  flex-wrap: wrap;
}

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
  background: #080f1a;
  border-top: 1px solid rgba(255,255,255,0.06);
  /* Kompakter: weniger Leerraum oben/unten */
  padding-top: var(--sp-4);
  padding-bottom: 1.25rem;
  color: rgba(255,255,255,0.7);
}
/* Footer-Inhalt läuft weiter nach links und rechts als der Seiteninhalt */
.footer .container { max-width: 1400px; }
.footer p { color: rgba(255,255,255,0.5); }
.footer h5 { color: rgba(255,255,255,0.4); }

.footer-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr;
  gap: var(--sp-6);
  margin-bottom: var(--sp-6);
}

/* Brand column */
.footer-brand .nav-logo { margin-bottom: var(--sp-3); }
.footer-brand p { font-size: 0.87rem; max-width: 270px; }

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: var(--sp-3);
}
.soc-link {
  width: 40px; height: 40px;
  background: transparent;
  border: none;
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.88rem;
  color: var(--text-sub);
  transition: all var(--tr);
}
.soc-link:hover {
  background: var(--accent-dim);
  border-color: var(--accent-border);
  color: var(--accent);
}

/* Nav columns */
.footer-col h5 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.35);
  margin-bottom: var(--sp-3);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer-links a {
  font-size: 0.87rem;
  color: rgba(255,255,255,0.5);
  transition: color var(--tr);
}
.footer-links a:hover { color: var(--accent); }

/* Footer brand logo */
.footer .nav-logo { color: #ffffff; }
.footer .soc-link {
  background: transparent;
  border: none;
}
.footer .soc-link:hover {
  background: transparent;
  opacity: 0.8;
}
.soc-link img {
  display: block;
  width: 30px;
  height: 30px;
  /* Source SVGs are solid black — recolour to white for the dark footer */
  filter: brightness(0) invert(1);
  opacity: 0.5;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.25s ease;
}

.soc-link:hover img {
  transform: scale(1.25);
  opacity: 1;
}

@keyframes soc-pop {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.4); }
  100% { transform: scale(1); }
}

/* Bottom bar — zentriert (Rechtliches steht in der Sitemap) */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.07);
  gap: var(--sp-2);
}
.footer-bottom p { font-size: 0.82rem; color: rgba(255,255,255,0.3); }

.footer-legal {
  display: flex;
  gap: var(--sp-3);
  flex-wrap: wrap;
}
.footer-legal a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
  transition: color var(--tr);
}
.footer-legal a:hover { color: var(--accent); }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */

.page-hero {
  padding: 138px 0 72px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 55% at 50% -5%, rgba(183,200,0,0.12) 0%, transparent 55%),
    linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg) 100%);
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.page-hero .badge { margin-bottom: var(--sp-2); }
.page-hero h1     { margin-bottom: var(--sp-3); }
.page-hero .lead  { font-size: 1.08rem; }

/* Datenschutz-Hero: Überschrift und Untertitel bewusst einzeilig —
   der breitere Innenbereich gibt dem Untertitel den nötigen Platz */
.page-hero-inner--wide { max-width: none; }
@media (min-width: 768px) {
  .lead--oneline { white-space: nowrap; }
}

/* Untertitel unter der Hero-Überschrift — gleiche Typo wie die
   Startseiten-Subline (hero-chapter-sub), Kundenwunsch 4. Runde */
.page-hero-sub {
  font-family: var(--font-head);
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  font-weight: 600;
  color: var(--accent);
  letter-spacing: -0.01em;
  line-height: 1.45;
  white-space: nowrap;
  margin-bottom: var(--sp-3);
}

/* Variante: Teambild als Hero-Hintergrund, Text liegt auf dem Bild */
.page-hero--team {
  border-bottom: none;
  color: #ffffff;
}
.page-hero--team .page-hero-inner {
  /* Wie beim Startseiten-Hero: Text liegt ohne dunkle Wand auf dem Bild */
  text-shadow: 0 1px 3px rgba(8,15,26,0.55), 0 4px 24px rgba(8,15,26,0.45);
}
/* Desktop: gleiche Header-Höhe wie Start- und Karriereseite.
   Kundenwunsch Juli 2026 (2. Runde): Bild über die ganze Seite, alle
   Gesichter sichtbar. 5. Runde: der Claim beginnt auf der gemeinsamen
   Oberkante (--hero-copy-top) statt unten verankert — dadurch starten
   die Hero-Texte auf allen Seiten auf derselben Höhe. */
@media (min-width: 901px) {
  .page-hero--team {
    display: flex;
    align-items: flex-start;
    min-height: var(--hero-h);
    padding: calc(68px + var(--sh-h) + var(--hero-copy-top)) 0 clamp(1.5rem, 2.6vw, 2.5rem);
  }
  /* Auto-Margins würden das Flex-Stretching aushebeln — volle Breite erzwingen */
  .page-hero--team .container { width: 100%; }
  /* Breiterer Textblock: der Lead bricht in 3 statt 4 Zeilen um und
     passt so unterhalb der gemeinsamen Claim-Oberkante in die Hero-Höhe */
  .page-hero--team .page-hero-inner { max-width: 860px; }
}
.page-hero--team .page-hero-bg {
  /* Bild beginnt erst unter der fixen Navigation, sonst verdeckt sie die Köpfe im Foto */
  top: calc(68px + var(--sh-h));
  background:
    linear-gradient(to top, rgba(8,15,26,0.88) 0%, rgba(8,15,26,0.55) 28%, rgba(8,15,26,0.12) 55%, rgba(8,15,26,0) 68%),
    url('assets/fotos-andi-werner/confitax-team-steuerkanzlei-koeln.jpg?v=2') center 15% / cover no-repeat;
}
/* Mobil: Bild und Text untereinander — Foto unbeschnitten in voller
   Breite, Text mittig wie beim Startseiten-Hero */
@media (max-width: 900px) {
  .page-hero--team {
    background: var(--dark);
    padding: calc(68px + var(--sh-h)) 0 var(--sp-5);
    text-align: center;
  }
  .page-hero--team .page-hero-inner { margin: 0 auto; }
  .page-hero--team .page-hero-bg {
    position: static;
    inset: auto;
    aspect-ratio: 1280 / 531;
    margin-bottom: var(--sp-4);
    background: url('assets/fotos-andi-werner/confitax-team-steuerkanzlei-koeln.jpg?v=2') center top / cover no-repeat;
  }
}
.page-hero--team h1 {
  color: #ffffff;
  /* Kundenwunsch Juli 2026 (4. Runde): Hero-Text beginnt wie auf der
     Startseite — gleiches Clamp, gleiche Zeilenhöhe, gleicher Abstand
     zur Subline (zweizeiliger Versal-Claim im Markup) */
  font-size: clamp(2.4rem, 4.2vw, 4.1rem);
  line-height: 1.05;
  margin-bottom: 1rem;
}
.page-hero--team .lead { color: rgba(255,255,255,0.82); }
.page-hero--team .breadcrumb,
.page-hero--team .breadcrumb a { color: rgba(255,255,255,0.55); }
.page-hero--team .breadcrumb a:hover { color: var(--accent); }

/* Story-Sektion: Köln-Bild neben dem Text */
.story-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}
.story-img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
  border-radius: var(--r-xl);
}
@media (max-width: 900px) {
  .story-grid { grid-template-columns: 1fr; }
  .story-img { height: auto; min-height: 0; aspect-ratio: 3 / 2; }
  .page-hero-sub { white-space: normal; }
}

/* Überschrift, die auf Desktop in einer Zeile bleiben soll */
.h2-oneline {
  white-space: nowrap;
  font-size: clamp(1.8rem, 3vw, 2.55rem);
}
@media (max-width: 900px) { .h2-oneline { white-space: normal; } }

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: var(--sp-3);
}
.breadcrumb a { transition: color var(--tr); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb-sep { color: var(--text-muted); opacity: 0.5; }

/* ============================================================
   SERVICE DETAIL LAYOUT
   ============================================================ */

.svc-detail-layout {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: var(--sp-7);
  align-items: start;
}

/* Prose (left column) */
.prose h3 {
  margin-top: var(--sp-5);
  margin-bottom: var(--sp-2);
  font-size: 1.3rem;
}
.prose h3:first-child { margin-top: 0; }
.prose p  { margin-bottom: var(--sp-3); }

.prose ul {
  margin-bottom: var(--sp-3);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.prose ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 9px 0;
  color: var(--text-sub);
  font-size: 0.93rem;
  border-bottom: 1px solid var(--border-light);
}
.prose ul li::before {
  content: '→';
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
  font-size: 0.8rem;
}

/* Inline images within prose content */
.prose-img {
  width: 100%;
  border-radius: var(--r-lg);
  margin: var(--sp-4) 0;
  object-fit: cover;
  aspect-ratio: 16 / 7;
  display: block;
}

/* Offer sidebar (right column) */
.svc-sidebar {
  position: sticky;
  top: 90px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.svc-offers-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--sp-4);
}

.svc-offers-box h4 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: var(--sp-3);
  padding-bottom: var(--sp-2);
  border-bottom: 1px solid var(--border);
}

.offer-list {
  display: flex;
  flex-direction: column;
}

.offer-item {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 11px 0;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-sub);
  font-size: 0.9rem;
  line-height: 1.5;
  transition: color var(--tr);
}
.offer-item:last-child { border-bottom: none; }
.offer-item:hover { color: var(--accent); }
.offer-dot {
  width: 7px; height: 7px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 5px;
}

/* CTA sidebar box */
.svc-cta-box {
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  border-radius: var(--r-lg);
  padding: var(--sp-4);
  text-align: center;
}
.svc-cta-box h4 { margin-bottom: 8px; font-size: 1.05rem; }
.svc-cta-box p  { font-size: 0.87rem; margin-bottom: var(--sp-3); }
.svc-cta-box .btn { width: 100%; justify-content: center; }

/* ============================================================
   SERVICES OVERVIEW PAGE
   ============================================================ */

.svc-overview-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.svc-overview-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--sp-5);
  display: flex;
  gap: var(--sp-4);
  align-items: flex-start;
  transition: all var(--tr);
  text-decoration: none;
  color: inherit;
}
.svc-overview-card:hover {
  border-color: var(--accent-border);
  transform: translateY(-4px);
  box-shadow: var(--sh-md);
}

.svc-overview-icon {
  width: 52px; height: 52px;
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}
.svc-overview-body h3 { font-size: 1.1rem; margin-bottom: 7px; }
.svc-overview-body p  { font-size: 0.87rem; }
.svc-overview-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: var(--sp-2);
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 600;
  transition: gap var(--tr);
}
.svc-overview-card:hover .svc-overview-link { gap: 10px; }

/* ============================================================
   ABOUT PAGE
   ============================================================ */

/* Values */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.value-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--sp-5);
  transition: all var(--tr);
}
.value-card:hover {
  border-color: var(--accent-border);
  transform: translateY(-4px);
}

.value-icon {
  font-size: 2rem;
  margin-bottom: var(--sp-2);
  display: flex;
  justify-content: center;
}
/* Inline-SVGs ohne width/height-Attribute sonst 100 % breit */
.value-icon svg {
  width: 104px;
  height: 104px;
  color: var(--accent);
}
.value-card h4 { margin-bottom: 7px; }
.value-card p  { font-size: 0.88rem; }

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: all var(--tr);
}
.team-card:hover {
  border-color: var(--accent-border);
  transform: translateY(-4px);
}

.team-avatar {
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--bg-elevated), var(--bg-secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.8rem;
  position: relative;
  overflow: hidden;
}
.team-avatar::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(10,22,40,0.12) 100%);
}

/* Teamfotos: volle Proportion, kein Beschnitt; dezenter Graustufen-Effekt */
img.team-photo {
  display: block;
  width: 100%;
  height: auto;
  border-bottom: 1px solid var(--border);
  filter: grayscale(100%);
  transition: filter var(--tr);
}
.team-card:hover img.team-photo {
  filter: grayscale(0%);
}

.team-photo-placeholder {
  aspect-ratio: 3 / 2;
  background: linear-gradient(135deg, var(--bg-elevated), var(--bg-secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  border-bottom: 1px solid var(--border);
}

.team-info {
  padding: var(--sp-3);
}
.team-info h4 { font-size: 1rem; margin-bottom: 3px; }
.team-info .role {
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 500;
}
.team-info .exp {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 3px;
}

/* Timeline */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  padding-left: var(--sp-5);
}
.timeline::before {
  content: '';
  position: absolute;
  left: 7px; top: 8px; bottom: 8px;
  width: 1px;
  background: linear-gradient(to bottom, var(--accent), transparent);
}

.timeline-item {
  position: relative;
  padding-bottom: var(--sp-4);
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: calc(-1 * var(--sp-5) + 2px);
  top: 6px;
  width: 12px; height: 12px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(183,200,0,0.2);
}

.timeline-year {
  font-size: 0.78rem;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.timeline-item h4 { margin-bottom: 5px; font-size: 1rem; }
.timeline-item p  { font-size: 0.87rem; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */

/* Formular breiter, Sidebar schmaler; beide Spalten schließen bündig ab */
.contact-wrap {
  display: grid;
  grid-template-columns: 1.65fr 1fr;
  gap: var(--sp-4);
  align-items: stretch;
}

.contact-form-col {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.contact-info h3 {
  font-size: 1.5rem;
  margin-bottom: var(--sp-4);
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.contact-item {
  display: flex;
  gap: var(--sp-3);
  align-items: flex-start;
}

.ci-icon {
  width: 42px; height: 42px;
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.ci-body h5 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.ci-body p {
  color: #0a1628;
  font-size: 0.92rem;
}
.ci-body a {
  color: #0a1628;
  transition: color var(--tr);
}
.ci-body a:hover { color: var(--accent); }

/* Form */
.form-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--sp-5);
}

.form-box h3 {
  font-size: 1.4rem;
  margin-bottom: var(--sp-4);
}

.form {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-2);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-sub);
}

/* Checkboxen und Radios brauchen ihre native Darstellung —
   mit appearance:none zeichnet der Browser keinen Haken mehr */
.form-group input:not([type="checkbox"]):not([type="radio"]),
.form-group select,
.form-group textarea {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 13px 15px;
  color: #0a1628;
  font-size: 0.92rem;
  font-family: var(--font-body);
  transition: border-color var(--tr), box-shadow var(--tr);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(183,200,0,0.08);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }
.form-group select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238a9ab5' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.form-group select option { background: var(--bg-card); color: #0a1628; }
.form-group textarea { resize: vertical; min-height: 130px; }

.form-note {
  font-size: 0.78rem;
  color: var(--text-muted);
}
.form-note a { color: var(--accent); }

/* Form success state */
.form-success {
  text-align: center;
  padding: var(--sp-6);
  display: none;
}
.form-success.show { display: block; }
.form-success .check {
  font-size: 3rem;
  margin-bottom: var(--sp-2);
}
.form-success h3 { margin-bottom: var(--sp-2); }

/* ============================================================
   COOKIE BANNER
   ============================================================ */

.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 520px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--sp-4);
  box-shadow: 0 8px 40px rgba(10,25,50,0.18);
  z-index: 9000;
  animation: slideUp 0.4s ease forwards;
  display: none;
}
.cookie-banner.show { display: block; }

@keyframes slideUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.cookie-banner h4 { margin-bottom: 6px; font-size: 0.95rem; color: #0a1628; }
.cookie-banner p  { font-size: 0.82rem; margin-bottom: var(--sp-3); color: var(--text-sub); }
.cookie-banner p a { color: var(--accent); }

.cookie-actions {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
}
.cookie-actions .btn {
  padding: 9px 18px;
  font-size: 0.82rem;
}

/* ============================================================
   COOKIE SETTINGS PAGE
   ============================================================ */

.cookie-cats {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cookie-cat {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--sp-4) var(--sp-5);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--sp-4);
  transition: border-color var(--tr);
}
.cookie-cat:hover { border-color: var(--accent-border); }

.cat-info h4 { margin-bottom: 5px; font-size: 1rem; }
.cat-info p  { font-size: 0.87rem; }

/* Toggle switch */
.toggle-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
}

.toggle {
  position: relative;
  width: 48px; height: 26px;
}
.toggle input { opacity: 0; width: 0; height: 0; position: absolute; }
.toggle-track {
  position: absolute;
  inset: 0;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  cursor: pointer;
  transition: all var(--tr);
}
.toggle-track::before {
  content: '';
  position: absolute;
  width: 18px; height: 18px;
  background: var(--text-muted);
  border-radius: 50%;
  top: 3px; left: 3px;
  transition: all var(--tr);
}
.toggle input:checked + .toggle-track {
  background: var(--accent-dim);
  border-color: var(--accent);
}
.toggle input:checked + .toggle-track::before {
  background: var(--accent);
  transform: translateX(22px);
}
.toggle input:disabled + .toggle-track {
  opacity: 0.45;
  cursor: not-allowed;
}

.toggle-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-align: center;
}

/* ============================================================
   LEGAL PAGES (Datenschutz, Impressum)
   ============================================================ */

.legal-wrap {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: var(--sp-6);
  align-items: start;
}

.legal-nav {
  position: sticky;
  top: 90px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--sp-3);
}

.legal-nav h5 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: var(--sp-2);
  padding: 0 var(--sp-1);
}

.legal-nav-links {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.legal-nav-links a {
  font-size: 0.85rem;
  color: var(--text-sub);
  padding: 8px 10px;
  border-radius: var(--r-sm);
  transition: all var(--tr);
}
.legal-nav-links a:hover,
.legal-nav-links a.active {
  background: var(--accent-dim);
  color: var(--accent);
}

/* Variante ohne Inhaltsverzeichnis (Impressum): eine zentrierte Spalte */
.legal-wrap--single { grid-template-columns: 1fr; }
.legal-wrap--single .legal-body { margin: 0 auto; }

.legal-body { max-width: 720px; }

.legal-body h3 {
  font-size: 1.2rem;
  margin-top: var(--sp-5);
  margin-bottom: var(--sp-2);
  padding-bottom: var(--sp-1);
  border-bottom: 1px solid var(--border);
}
.legal-body h3:first-child { margin-top: 0; }
.legal-body p { margin-bottom: var(--sp-3); font-size: 0.93rem; }
.legal-body ul { margin-bottom: var(--sp-3); }
.legal-body ul li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--text-sub);
  padding: 5px 0;
  font-size: 0.9rem;
}
.legal-body ul li::before { content: '–'; color: var(--accent); flex-shrink: 0; }

/* ============================================================
   ANIMATIONS (Intersection Observer)
   ============================================================ */

/* Nur animieren, wenn JS aktiv ist (html.js wird per Skript gesetzt).
   Ohne JS bleiben alle Inhalte sichtbar — verhindert "unsichtbare" Formulare. */
.js .fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.js .fade-up.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.stagger > *:nth-child(1) { transition-delay: 0.05s; }
.stagger > *:nth-child(2) { transition-delay: 0.13s; }
.stagger > *:nth-child(3) { transition-delay: 0.21s; }
.stagger > *:nth-child(4) { transition-delay: 0.29s; }
.stagger > *:nth-child(5) { transition-delay: 0.37s; }
.stagger > *:nth-child(6) { transition-delay: 0.45s; }

/* ============================================================
   SCROLL-TO-TOP
   ============================================================ */

.scroll-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 40px; height: 40px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  box-shadow: var(--sh-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--tr);
  z-index: 800;
  color: var(--bg);
  font-size: 1rem;
}
.scroll-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.scroll-top:hover { background: var(--accent-hover); transform: translateY(-2px); }

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1024px) {
  .about-wrap          { grid-template-columns: 1fr; gap: var(--sp-5); }
  .why-grid            { grid-template-columns: 1fr; }
  .footer-grid         { grid-template-columns: 1fr 1fr; gap: var(--sp-4); }
  .svc-detail-layout   { grid-template-columns: 1fr; }
  .svc-sidebar         { position: static; }
  .contact-wrap        { grid-template-columns: 1fr; }
  .team-grid           { grid-template-columns: repeat(2, 1fr); }
  .legal-wrap          { grid-template-columns: 1fr; }
  .legal-nav           { position: static; }
  .svc-overview-grid   { grid-template-columns: 1fr; }
  .values-grid         { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root {
    --sp-7: 4.5rem;
    --sp-6: 3.5rem;
    --sp-5: 2.2rem;
  }

  /* Mobile nav — beginnt unterhalb von Superheader + Navigationsleiste */
  .nav-menu {
    position: fixed;
    top: calc(68px + var(--sh-h)); left: 0; right: 0; bottom: 0;
    background: var(--bg);
    flex-direction: column;
    align-items: stretch;
    padding: var(--sp-4) var(--pad-x);
    gap: 0;
    display: none;
    overflow-y: auto;
    border-top: 1px solid var(--border);
  }
  .nav-menu.open { display: flex; }

  .nav-link, .nav-trigger {
    font-size: 1rem;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    width: 100%;
    color: #0a1628;
  }
  .nav-trigger { justify-content: space-between; }

  .dropdown {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    background: var(--bg-secondary);
    min-width: auto;
    margin: 8px 0;
    display: none;
    pointer-events: auto;
  }
  .nav-item.open .dropdown { display: block; }
  .nav-item:hover .dropdown { opacity: 1; visibility: visible; transform: none; }

  /* In der Leiste bleiben nur Logo, Telefon-Icon und Hamburger —
     die CTA-Buttons wandern ins aufgeklappte Menü (.nav-menu-ctas) */
  .nav-actions .btn-outline,
  .nav-actions .btn-primary { display: none; }
  .nav-toggle { display: flex; }


  .nav-menu-ctas {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: var(--sp-4);
    padding-bottom: var(--sp-4);
  }
  .nav-menu-ctas .btn-mandant,
  .nav-menu-ctas .btn {
    display: inline-flex;
    justify-content: center;
    text-align: center;
  }

  /* Superheader: kompakter, bleibt seitlich wischbar */
  .superheader-inner { gap: 1.1rem; padding: 0 16px; }

  /* Services grid mobile */
  .services-grid     { grid-template-columns: 1fr; }
  .team-grid         { grid-template-columns: 1fr 1fr; }
  .values-grid       { grid-template-columns: 1fr; }
  .svc-overview-grid { grid-template-columns: 1fr; }
  .footer-grid       { grid-template-columns: 1fr; }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .footer-legal { justify-content: center; }

  .form-row { grid-template-columns: 1fr; }

  .cookie-cat { flex-direction: column; }

  .hero-stats {
    gap: var(--sp-4);
    flex-wrap: wrap;
  }
  .stat-num { font-size: 2rem; }
}

@media (max-width: 480px) {
  /* Sehr schmale Screens: Telefon nur als Icon in der Leiste */
  .nav .nav-phone { font-size: 0; gap: 0; padding: 6px; }
  .nav .nav-phone svg { width: 19px; height: 19px; }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-actions .btn { justify-content: center; }
  .hero-stats        { flex-direction: column; text-align: center; }
  .cta-actions       { flex-direction: column; align-items: stretch; }
  .cta-actions .btn  { justify-content: center; }
  .team-grid         { grid-template-columns: 1fr; }
  .hero-trust        { flex-direction: column; gap: 10px; }
}

/* ============================================================
   SERVICE CARD — IMAGE-TOP VARIANT (Homepage v2)
   ============================================================ */

/* Override base padding so the image can flush to the card edge.
   Scoped to cards that actually contain an image, so the text-only
   related-service cards keep their base padding. */
.svc-card:has(.svc-card-img) {
  padding: 0;
  display: flex;
  flex-direction: column;
}

.svc-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.svc-card-body .svc-arrow {
  margin-top: auto;
  padding-top: var(--sp-3);
}

.svc-card-img {
  height: 190px;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}

.svc-card-img {
  background: var(--dark);
}
.svc-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.92;
  transition: opacity var(--tr), transform 0.5s ease;
}
.svc-card:hover .svc-card-img img {
  opacity: 1;
  transform: scale(1.04);
}
.svc-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,0.35) 100%);
  z-index: 1;
}

.svc-card-body {
  padding: var(--sp-4);
}
.svc-card-body h3 { font-size: 1.05rem; margin-bottom: 8px; }
.svc-card-body p  { font-size: 0.87rem; line-height: 1.72; }

/* ============================================================
   STANDALONE ZITAT (white bg pull-quote)
   ============================================================ */

.zitat-section {
  background: var(--bg);
  padding: var(--sp-8) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.zitat-text {
  font-family: var(--font-head);
  font-size: clamp(1.45rem, 2.5vw, 2.2rem);
  font-weight: 600;
  color: var(--dark);
  line-height: 1.4;
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
  font-style: italic;
}

/* ============================================================
   QUOTE / TESTIMONIAL SECTION
   ============================================================ */

.quote-section {
  background: var(--dark);
  padding: 3.5rem 0;
  position: relative;
  overflow: hidden;
}
.quote-section::before {
  content: '';
  position: absolute;
  top: -80px; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 350px;
  background: radial-gradient(ellipse, rgba(183,200,0,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.quote-inner {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

/* Testimonial with photo layout */
.quote-with-photo {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: var(--sp-5);
  text-align: left;
  max-width: 900px;
  margin: 0 auto;
}
.quote-photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  border: 3px solid var(--accent);
  flex-shrink: 0;
}
.quote-with-photo .quote-mark { margin-bottom: var(--sp-2); }
.quote-with-photo blockquote { font-size: clamp(1.2rem, 2.5vw, 1.65rem); }
@media (max-width: 600px) {
  .quote-with-photo { grid-template-columns: 1fr; text-align: center; }
  .quote-photo { margin: 0 auto; }
}

.quote-mark {
  display: block;
  font-size: 5.5rem;
  line-height: 0.55;
  color: var(--accent);
  font-family: Georgia, 'Times New Roman', serif;
  margin-bottom: var(--sp-3);
  opacity: 0.75;
}

.quote-inner blockquote {
  font-family: var(--font-head);
  font-size: clamp(1.45rem, 3vw, 2.1rem);
  font-weight: 600;
  color: #ffffff;
  line-height: 1.42;
  letter-spacing: -0.02em;
  font-style: italic;
  margin-bottom: var(--sp-4);
}

/* Rotierende Google-Bewertung (Startseite) */
.quote-review .quote-mark { margin-bottom: var(--sp-2); }
.quote-stars {
  color: var(--accent);
  font-size: 1.15rem;
  letter-spacing: 0.12em;
  margin-bottom: var(--sp-3);
}
.quote-review blockquote {
  font-size: clamp(1.25rem, 2.5vw, 1.7rem);
}

.quote-cite {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.45);
  font-style: normal;
}
.quote-cite strong {
  display: block;
  color: var(--accent);
  font-size: 0.95rem;
  margin-bottom: 3px;
}

/* ============================================================
   FAQ ACCORDION
   ============================================================ */

.faq {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:first-child { border-top: 1px solid var(--border); }

.faq-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  width: 100%;
  padding: var(--sp-3) 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 600;
  color: #0a1628;
  transition: color var(--tr);
}
.faq-toggle:hover { color: var(--accent); }

.faq-plus {
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--accent);
  flex-shrink: 0;
  line-height: 1;
  transition: transform var(--tr), border-color var(--tr), background var(--tr);
}
.faq-item.open .faq-plus {
  transform: rotate(45deg);
  border-color: var(--accent);
  background: var(--accent-dim);
}

.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.38s ease;
}
.faq-item.open .faq-answer {
  max-height: 600px;
}
.faq-answer p {
  padding-bottom: var(--sp-3);
  font-size: 0.94rem;
  line-height: 1.82;
}

/* ============================================================
   CTA BAND — ACCENT / LIME VARIANT
   ============================================================ */

.cta-band-accent {
  background: var(--accent);
  padding: var(--sp-6) 0;
  position: relative;
  overflow: hidden;
}
.cta-band-accent .cta-bg-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.18;
  mix-blend-mode: multiply;
}

.cta-band-accent .cta-inner h2 {
  color: #0a1628;
  margin-bottom: var(--sp-2);
}
.cta-band-accent .cta-inner p {
  color: rgba(10,22,40,0.65);
  margin-bottom: var(--sp-5);
}
.cta-band-accent .btn-primary {
  background: #0a1628;
  color: #ffffff;
}
.cta-band-accent .btn-primary:hover {
  background: #0f2035;
  box-shadow: 0 8px 28px rgba(10,22,40,0.28);
  transform: translateY(-2px);
}
.cta-band-accent .btn-outline {
  border-color: rgba(10,22,40,0.3);
  color: #0a1628;
}
.cta-band-accent .btn-outline:hover {
  border-color: #0a1628;
  background: rgba(10,22,40,0.08);
  color: #0a1628;
  transform: translateY(-2px);
}

/* ============================================================
   NAV PHONE LINK
   ============================================================ */

.nav-phone {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255,255,255,0.78);
  text-decoration: none;
  transition: color var(--tr);
  white-space: nowrap;
}
.nav-phone svg { width: 14px; height: 14px; flex-shrink: 0; }
.nav-phone:hover { color: var(--accent); }
.nav.scrolled .nav-phone { color: var(--text-sub); }
.nav.scrolled .nav-phone:hover { color: var(--accent); }

/* ============================================================
   FOOTER — V2 (3-column, Confitax-style)
   ============================================================ */

.footer-grid-v2 {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: var(--sp-6);
  margin-bottom: var(--sp-5);
}

.footer-appt h5 {
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  margin-bottom: 10px;
  text-transform: none;
  letter-spacing: normal;
}
.footer-appt p {
  font-size: 0.87rem;
  color: rgba(255,255,255,0.45);
  max-width: 280px;
  margin-bottom: var(--sp-3);
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-contact-list span,
.footer-contact-list a {
  font-size: 0.87rem;
  color: rgba(255,255,255,0.5);
  transition: color var(--tr);
}
.footer-contact-list a:hover { color: var(--accent); }

.footer-social-row {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-bottom: var(--sp-4);
  padding-bottom: var(--sp-4);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

/* Responsive for new components */
@media (max-width: 1024px) {
  .footer-grid-v2 { grid-template-columns: 1fr 1fr; }
  .footer-grid-v2 .footer-appt { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .footer-grid-v2 { grid-template-columns: 1fr; gap: var(--sp-4); }
  .footer-social-row { justify-content: flex-start; }
  .services-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .quote-inner blockquote { font-size: 1.25rem; }
  .faq-toggle { font-size: 0.92rem; }
}

/* ============================================================
   FEATURES IMAGE GRID (Startseite)
   ============================================================ */

.features-img-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-4);
}

.feat-img-card {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--bg-secondary);
}
.feat-img-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.feat-img-card:hover img { transform: scale(1.04); }

.feat-img-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1rem 1.25rem;
  background: linear-gradient(to top, rgba(10,22,40,0.85) 0%, transparent 100%);
  color: #fff;
}
.feat-img-caption strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 2px;
}
.feat-img-caption span {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.65);
}

@media (max-width: 768px) {
  .features-img-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   NAV — MANDANT BUTTON
   ============================================================ */

.btn-mandant {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: var(--r-pill);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid var(--accent);
  background: transparent;
  color: var(--accent);
  text-decoration: none;
  white-space: nowrap;
  transition: all var(--tr);
  letter-spacing: 0.01em;
}
.btn-mandant:hover {
  background: var(--accent);
  color: var(--dark);
  transform: translateY(-1px);
}
.nav.scrolled .btn-mandant {
  border-color: var(--accent);
  color: #3a5000;
}
.nav.scrolled .btn-mandant:hover {
  background: var(--accent);
  color: var(--dark);
}

/* ============================================================
   HOMEPAGE LEAD-KONTAKT SECTION
   ============================================================ */

.lead-contact-section {
  padding: var(--sp-7) 0;
  background: var(--bg-secondary);
}

.lead-contact-inner {
  display: grid;
  /* Formularspalte breiter, damit die Kachel quadratisch statt hochkant wirkt */
  grid-template-columns: 0.8fr 1.2fr;
  gap: var(--sp-5);
  align-items: start;
}
/* Kompaktere Nachricht-Box als auf der Kontaktseite (quadratische Kachel) */
.lead-contact-inner .form-group textarea { min-height: 96px; }

.lead-contact-text h2 {
  margin-bottom: var(--sp-2);
}
.lead-contact-text p {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: var(--sp-4);
}
.lead-contact-points {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: var(--sp-4);
}
.lead-contact-points span {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-sub);
}
.lead-contact-points span::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .lead-contact-inner { grid-template-columns: 1fr; }
  .nav-actions .btn-mandant { display: none; }
}

/* ============================================================
   UTILITY CLASSES — replaces common inline styles
   ============================================================ */

/* Full-width button */
.btn--full { width: 100%; justify-content: center; }

/* Footer text (address, phone in compact footers) */
.footer-text { color: var(--text-sub); font-size: 0.87rem; }

/* Footer brand logo link */
.footer-brand .nav-logo { display: inline-flex; margin-bottom: 1rem; }

/* Accent link (inside text) */
.link-accent { color: var(--accent); }

/* Contact page: promise box */
.contact-promise {
  margin-top: 3rem;
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
}
.contact-promise__title {
  font-size: 0.9rem;
  margin-bottom: 1rem;
  color: var(--text-sub);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}
.contact-promise__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact-promise__item {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 0.88rem;
  color: var(--text-sub);
}
.contact-promise__check { color: var(--accent); }

/* Contact page: map placeholder */
.map-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.map-box__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(183,200,0,0.05) 0%, transparent 70%);
}
.map-box__inner {
  text-align: center;
  position: relative;
  z-index: 1;
}
.map-box__icon { font-size: 3rem; margin-bottom: 1rem; }
.map-box__title { margin-bottom: 0.5rem; font-size: 1.2rem; }
.map-box__sub { font-size: 0.9rem; }
.map-box__cta { margin-top: 1rem; }

/* Contact page: form consent label */
.form-consent-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 0.88rem;
  color: var(--text-sub);
}
.form-consent-checkbox {
  margin-top: 2px;
  width: 17px;
  height: 17px;
  accent-color: var(--accent);
  flex-shrink: 0;
  cursor: pointer;
}

/* Cookie settings page */
.cookie-settings-bar {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
}
.cookie-settings-bar__note {
  font-size: 0.85rem;
  margin: 0;
  max-width: 400px;
}
.cookie-settings-bar__actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.cookie-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}
.cookie-info-box {
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
}
.cookie-info-box h4 { font-size: 0.95rem; margin-bottom: 0.5rem; }
.cookie-info-box p  { font-size: 0.85rem; margin: 0; }
.cat-tags {
  margin-top: 1rem;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.cat-tag {
  font-size: 0.75rem;
  background: rgba(255,255,255,0.05);
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  padding: 3px 10px;
}
.cat-tag--active {
  background: var(--accent-dim);
  color: var(--accent);
  border-color: var(--accent-border);
}
.container--narrow { max-width: 780px; margin-left: auto; margin-right: auto; }

@media (max-width: 600px) {
  .cookie-info-grid { grid-template-columns: 1fr; }
  .cookie-settings-bar { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   FOOTER — V3 (Logo/Adresse links, Kennenlernen Mitte, Sitemap rechts)
   ============================================================ */

.footer-grid-v3 {
  display: grid;
  /* Mittlere Karte maximal breit; Mindestbreiten sichern Adresse (nowrap)
     und Sitemap-Einträge gegen Umbruch/Überlauf */
  grid-template-columns: minmax(280px, 0.78fr) 1.82fr minmax(150px, 0.4fr);
  gap: clamp(1.5rem, 2.5vw, 2.25rem);
  margin-bottom: var(--sp-3);
  /* Alle drei Spalten schließen bündig als ein Block ab */
  align-items: stretch;
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
}

/* Logo mit grüner Akzentlinie darunter */
.footer-brand-col .footer-logo {
  display: inline-flex;
  position: relative;
  padding-bottom: 16px;
  margin-bottom: var(--sp-3);
}
.footer-brand-col .footer-logo::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 46px;
  height: 3px;
  border-radius: 2px;
  background: var(--accent);
}
/* Logo im Footer größer als in der Navigation */
.footer-brand-col .footer-logo .nav-logo-img { height: 60px; }

.footer-address {
  font-style: normal;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.8;
  margin-bottom: var(--sp-4);
}
/* Firmenname (erste Zeile) hervorgehoben, ohne Umbruch */
.footer-address strong {
  color: rgba(255,255,255,0.85);
  font-weight: 600;
  white-space: nowrap;
}
@media (max-width: 480px) {
  .footer-address strong { white-space: normal; }
}

.footer-contact-rows {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: var(--sp-4);
}
.footer-contact-row {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.88rem;
}
/* Grüne Icons vor Telefon / Telefax / E-Mail */
.footer-contact-row::before {
  content: "";
  flex-shrink: 0;
  width: 17px;
  height: 17px;
  background: var(--accent);
  -webkit-mask: var(--fc-icon) center / contain no-repeat;
          mask: var(--fc-icon) center / contain no-repeat;
}
.footer-contact-row:nth-child(1) {
  --fc-icon: 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-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 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-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");
}
.footer-contact-row:nth-child(2) {
  --fc-icon: 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%3Cpolyline points='6 9 6 2 18 2 18 9'/%3E%3Cpath d='M6 18H4a2 2 0 0 1-2-2v-5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-2'/%3E%3Crect x='6' y='14' width='12' height='8'/%3E%3C/svg%3E");
}
.footer-contact-row:nth-child(3) {
  --fc-icon: 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='M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z'/%3E%3Cpolyline points='22,6 12,13 2,6'/%3E%3C/svg%3E");
}
.footer-contact-row .fc-label {
  color: rgba(255,255,255,0.45);
  min-width: 56px;
}
.footer-contact-row a,
.footer-contact-row span:not(.fc-label) {
  color: rgba(255,255,255,0.75);
  transition: color var(--tr);
}
.footer-contact-row a:hover { color: var(--accent); }

.footer-slogan {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  /* Schließt bündig mit der Unterkante des Blocks ab */
  margin-top: auto;
}

/* Mittlere Karte: Persönliches Kennenlernen — nutzt die volle Blockhöhe */
.footer-appt {
  /* Fläche wie die übrigen Footer-Bereiche, Umrandung bleibt */
  background: transparent;
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--r-lg);
  padding: var(--sp-4);
  /* Gleiche Oberkante wie Logo- und Sitemap-Block — der gewonnene
     Platz kommt dem Foto zugute */
  margin-top: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.footer-appt h5 {
  font-family: var(--font-head);
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.footer-grid-v3 .footer-appt p {
  max-width: none;
  font-size: 0.93rem;
  line-height: 1.7;
}
.footer-grid-v3 .footer-appt .btn {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
/* Kalender-Icon und Pfeil im Termin-Button */
.footer-grid-v3 .footer-appt .btn::before {
  content: "";
  width: 15px;
  height: 15px;
  background: currentColor;
  -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%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%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%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3C/svg%3E") center / contain no-repeat;
}
.footer-grid-v3 .footer-appt .btn::after { content: "→"; }

/* Daniels Porträt — der Kopf sitzt in den Fotos direkt an der Oberkante,
   deshalb muss der Ausschnitt oben beginnen, sonst wird er abgeschnitten */
.footer-appt-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  max-height: 380px;
  object-fit: cover;
  object-position: center top;
  border-radius: 12px;
  margin-bottom: 1.1rem;
  display: block;
}

/* Sitemap-Spalte: Zeilenliste mit Trennlinien und Pfeilen */
.footer-col.footer-sitemap {
  display: flex;
  flex-direction: column;
}
.footer-sitemap h5 {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-sitemap h5::before {
  content: "";
  width: 15px;
  height: 15px;
  background: 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='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='8' y1='6' x2='21' y2='6'/%3E%3Cline x1='8' y1='12' x2='21' y2='12'/%3E%3Cline x1='8' y1='18' x2='21' y2='18'/%3E%3Cline x1='3' y1='6' x2='3.01' y2='6'/%3E%3Cline x1='3' y1='12' x2='3.01' y2='12'/%3E%3Cline x1='3' y1='18' x2='3.01' y2='18'/%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%3Cline x1='8' y1='6' x2='21' y2='6'/%3E%3Cline x1='8' y1='12' x2='21' y2='12'/%3E%3Cline x1='8' y1='18' x2='21' y2='18'/%3E%3Cline x1='3' y1='6' x2='3.01' y2='6'/%3E%3Cline x1='3' y1='12' x2='3.01' y2='12'/%3E%3Cline x1='3' y1='18' x2='3.01' y2='18'/%3E%3C/svg%3E") center / contain no-repeat;
}
.footer-sitemap .footer-links { gap: 0; }
.footer-sitemap .footer-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 2px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-sitemap .footer-links a::after {
  content: "›";
  color: var(--accent);
  font-size: 1.05rem;
  line-height: 1;
  transition: transform var(--tr);
}
.footer-sitemap .footer-links a:hover::after { transform: translateX(3px); }

/* Deutlich sichtbare, dickere Trennlinie zwischen Haupt- und Rechtslinks */
.footer-links-sep {
  display: block;
  height: 3px;
  background: rgba(255,255,255,0.28);
  border-radius: 2px;
  margin: 12px 0 4px;
}

/* Social-Icons bündig am Blockende der Sitemap-Spalte */
.footer-soc-inline {
  display: flex;
  gap: 10px;
  margin-top: auto;
  padding-top: var(--sp-3);
  margin-left: -8px; /* Icon-Innenabstand optisch an der Textkante ausrichten */
}

@media (max-width: 1024px) {
  .footer-grid-v3 { grid-template-columns: 1fr 1fr; }
  .footer-grid-v3 .footer-brand-col { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .footer-grid-v3 { grid-template-columns: 1fr; gap: var(--sp-5); }
  .footer-company { white-space: normal; }
}

/* ============================================================
   KONTAKT — "Wie können wir weiterhelfen?" Kacheln
   ============================================================ */

.help-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* Icon links im Kasten, Text rechts daneben (wie Designvorlage) */
.help-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--sp-4);
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: var(--sp-3);
  text-decoration: none;
  color: inherit;
  transition: all var(--tr);
}
.help-card:hover {
  border-color: var(--accent-border);
  transform: translateY(-4px);
  box-shadow: var(--sh-md);
}

.help-card-icon {
  width: 58px;
  height: 58px;
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}
.help-card-icon svg { width: 28px; height: 28px; }

.help-card-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.help-card h3 { font-size: 1.05rem; }
.help-card p  { font-size: 0.87rem; flex: 1; }

.help-card .svc-arrow { margin-top: 4px; }
.help-card:hover .svc-arrow { gap: 10px; }

@media (max-width: 860px) {
  .help-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   KONTAKT — Formular links, Sidebar rechts, Erreichbarkeit + Karte
   ============================================================ */

.form-intro {
  font-size: 0.92rem;
  margin: -1rem 0 var(--sp-3);
}

/* Eigenständige Kachel mit Icon (wie Designvorlage) */
.form-safety-note {
  padding: var(--sp-3);
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  border-radius: var(--r-md);
  font-size: 0.85rem;
  color: var(--text-sub);
  line-height: 1.6;
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}
.fsn-icon {
  width: 46px;
  height: 46px;
  background: var(--bg-card);
  border: 1px solid var(--accent-border);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}
.fsn-icon svg { width: 24px; height: 24px; }
.form-safety-note strong {
  display: block;
  color: #0a1628;
  margin-bottom: 2px;
}

.contact-side {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.contact-side-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--sp-4);
  /* Boxen füllen die Spaltenhöhe, damit beide Spalten bündig enden */
  flex: 1;
}

.contact-side-box h4 {
  font-size: 1.05rem;
  margin-bottom: var(--sp-3);
  padding-bottom: var(--sp-2);
  border-bottom: 1px solid var(--border);
}

.expect-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.expect-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-left: 26px;
  position: relative;
}
.expect-item::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: 700;
}
.expect-item strong { font-size: 0.9rem; }
.expect-item span   { font-size: 0.82rem; color: var(--text-sub); line-height: 1.55; }

.next-steps {
  display: flex;
  flex-direction: column;
  gap: 14px;
  counter-reset: steps;
  list-style: none;
}
.next-steps li {
  position: relative;
  padding-left: 38px;
  counter-increment: steps;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.next-steps li::before {
  content: counter(steps);
  position: absolute;
  left: 0;
  top: 0;
  width: 26px;
  height: 26px;
  background: var(--accent);
  color: #0a1628;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  font-family: var(--font-head);
}
.next-steps strong { font-size: 0.9rem; }
.next-steps span   { font-size: 0.82rem; color: var(--text-sub); line-height: 1.55; }

/* ============================================================
   GOOGLE MAPS — Zwei-Klick-Einwilligung
   ============================================================ */

.map-consent {
  height: 100%;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
  padding: var(--sp-4);
  background:
    radial-gradient(ellipse at 50% 40%, rgba(168,187,0,0.08) 0%, transparent 65%),
    var(--bg-secondary);
}
.map-consent p {
  font-size: 0.85rem;
  max-width: 420px;
  line-height: 1.6;
}
.map-consent-alt {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
}
.map-consent-alt:hover { opacity: 0.75; }

/* ============================================================
   UTILITY — Überschrift auf einer Zeile (nur Desktop)
   ============================================================ */

@media (min-width: 769px) {
  .h1-oneline { white-space: nowrap; }
  .page-hero h1.h1-oneline { font-size: clamp(2rem, 3.6vw, 3.4rem); }
  .page-hero-inner--wide { max-width: 960px; }
}
