/* ═══════════════════════════════════════════════════════════════
   Main FiBu GmbH — Editorial Luxury Design System
   Inter (Sans, UI/Body) + Cormorant Garamond (Serif, Headlines), Black/Cream/Gold
   ═══════════════════════════════════════════════════════════════ */

/* ─── Tokens ─────────────────────────────────────────────────── */
:root {
  /* === Dark-Theme Semantic Tokens =====================================
     Zentrale Farb-Tokens für die durchgehend dunkle Bildsprache.
     Alle Sektionen liegen auf --color-bg, Karten leicht heller auf
     --color-bg-card, Forms/Modals auf --color-bg-elevated. */
  --color-bg:             #0a0a0a;            /* Body & alle Sektionen */
  --color-bg-elevated:    #1a1a1d;            /* Forms, Modals, Maps */
  --color-bg-card:        #16161a;            /* Karten-Hintergrund */
  --color-text-primary:   #f5f5f0;            /* Headlines, Hauptschrift */
  --color-text-secondary: #c5c5c5;            /* Fließtext */
  --color-text-muted:     #9a9a9a;            /* Sekundärtext, Labels */
  --color-gold:           #c9a961;            /* Akzent: Eyebrow, Links, Borders */
  --color-gold-soft:      rgba(201,169,97,0.2);  /* dezente Goldton-Border */
  --color-border:         rgba(255,255,255,0.08); /* dezente helle Border auf Dunkel */

  /* === Legacy-Aliase (zurück-kompatibel zu bestehenden Selektoren) ====
     --bone und --off-white wurden vorher als helle Backgrounds genutzt;
     hier auf die neuen Dark-Tokens gemappt, sodass alte Regeln automatisch
     in den Dark Look greifen. --off-white bleibt als heller Text-Wert. */
  --black:       #0a0a0a;
  --black-soft:  #111111;
  --ink-blue:    #0d1424;                     /* tiefer, dunkler für Hero-Karte */
  --off-white:   #f5f5f0;                     /* heller Haupt-Text */
  --bone:        var(--color-bg-card);        /* früher hell, jetzt dunkel */
  --muted:       var(--color-text-muted);
  --gold:        var(--color-gold);
  --gold-light:  #d4bc8a;
  --gold-dark:   #9e7e47;
  --border:      rgba(201,169,107,0.2);
  --border-soft: var(--color-border);         /* früher rgba(0,0,0,0.08) */

  /* Schriftarten: Inter (Sans) für Body/UI, Cormorant Garamond (Serif) für
     Headlines und Hero-Brand. Hero-Brand differenziert sich über Italic
     600 + Goldton-Verlauf gegenüber den restlichen Headlines. */
  --font-sans:  'Inter', sans-serif;
  --font-serif: 'Cormorant Garamond', serif;

  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-inout:  cubic-bezier(0.65, 0, 0.35, 1);

  --container: 1280px;
  --radius: 2px;
  --radius-lg: 6px;

  /* Kanonische Breakpoints (informativ — CSS @media übernimmt keine
     custom-property-Werte). Im Stylesheet referenziert:
       ≤380px  : Kleines Mobile (Galaxy S22, kleine Androids)
       ≤600px  : Mobile Standard (iPhone SE/14/Pro Max portrait)
       ≤768px  : Tablet (iPad Mini portrait, große Phones landscape)
       ≤1024px : Großes Tablet / kleines Desktop
       ≥1025px : Desktop (Default-Styles oben gelten – unverändert) */
}

/* ─── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
/* === Scroll-Verhalten ===
   Pro Anker-Ziel wird scroll-margin-top vergeben (siehe weiter unten),
   damit die jeweilige Sektions-Überschrift unter dem fixierten Header
   (~72px Desktop / 64px Tablet / 56px Mobile) landet – unabhängig vom
   internen padding-top der jeweiligen Sektion. Wirkt sowohl für native
   href-Navigation als auch für scrollIntoView({block:'start'}). */
html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: 0;
}

/* Anker-Ziele der Hauptnavigation: einheitlicher Offset, damit die
   Überschrift direkt unter dem Header oben am Bildschirmrand landet.
   IDs sitzen jeweils auf dem inneren Heading-/Grid-Wrapper, nicht auf
   dem äußeren Section-Container, weil dessen padding-top sonst die
   Überschrift weiter unten anzeigen würde. */
#leistungen,
#ueber-uns,
#branchen,
#testimonials,
#faq,
#kontakt {
  scroll-margin-top: 80px;
}

body {
  font-family: 'Inter', sans-serif;
  /* Fluid Body-Typo: 1rem (16px) → 1.125rem (18px) zwischen ~640px und ~1280px. */
  font-size: clamp(1rem, 0.5vw + 0.875rem, 1.125rem);
  line-height: 1.6;
  background: var(--color-bg);
  color: var(--color-text-secondary);
  overflow-x: hidden;
  width: 100%;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

/* ─── Schriftarten: zentrale Element-Regeln ──────────────────────
   Inter für Body/UI, Cormorant Garamond für Überschriften & Zitate.
   Keine anderen Hauptschriften – nur generische Fallbacks. */
body, p, a, button, input, textarea, select, label, nav, li {
  font-family: 'Inter', sans-serif;
}
h1, h2, h3, h4, h5, h6, blockquote {
  font-family: 'Cormorant Garamond', serif;
}

/* Images: responsive baseline, no blue iOS tap highlight, no drag/select */
img {
  display: block;
  max-width: 100%;
  height: auto;
  user-select: none;
  -webkit-user-drag: none;
  -webkit-tap-highlight-color: transparent;
}
/* Inline SVG icons behave like images */
svg { user-select: none; -webkit-tap-highlight-color: transparent; }

a  { text-decoration: none; color: inherit; -webkit-tap-highlight-color: transparent; }
ul { list-style: none; }
button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  color: inherit;
  -webkit-tap-highlight-color: transparent;
}

/* Skip link for a11y */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--black);
  color: var(--gold);
  padding: 8px 16px;
  z-index: 9999;
  font-size: 0.85rem;
}
.skip-link:focus { top: 0; }

/* ─── Utility ────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
}

.gold-line {
  width: 64px;
  height: 1px;
  background: var(--gold);
  margin: 18px 0 22px;
}

/* ─── Sektions-Trennlinien ────────────────────────────────────────
   Dezente, mittig zentrierte Goldton-Verlaufslinie zwischen direkt
   aufeinanderfolgenden <section>-Elementen. Wirkt als sanfter
   Übergangsmarker, ohne die Sektionen visuell zu zerschneiden.
   Trust-Section hat eigene volle Borders — die Verlaufslinie
   überlagert sich dort, was visuell den Übergang zusätzlich betont. */
section { position: relative; }
section + section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  max-width: 1100px;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(201, 169, 97, 0.15) 50%,
    transparent 100%
  );
  pointer-events: none;
}
@media (max-width: 600px) {
  section + section::before { width: 90%; }
}

/* ─── Reveal Animations ──────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.is-visible,
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}
.reveal--delay-1, .reveal-delay-1 { transition-delay: 0.1s; }
.reveal--delay-2, .reveal-delay-2 { transition-delay: 0.2s; }
.reveal--delay-3, .reveal-delay-3 { transition-delay: 0.3s; }
.reveal--delay-4, .reveal-delay-4 { transition-delay: 0.4s; }

/* ─── Section Primitives ─────────────────────────────────────── */
.section-label,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  white-space: nowrap;
}
.section-label::before,
.eyebrow::before {
  content: '';
  width: 24px; height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

.section-header {
  margin-bottom: 64px;
  text-align: left;
}

.section-title,
.section h2,
.services h2,
section h2 {
  font-family: var(--font-serif);
  /* Mobile: 1.4rem → Desktop: 3.4rem (flüssig via clamp) */
  font-size: clamp(1.4rem, 4vw, 3.4rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--color-text-primary);
  /* Wenn ein Umbruch nötig ist, gleichmäßig verteilen statt Orphans. */
  text-wrap: balance;
}
.section-title em,
section h2 em {
  font-style: italic;
  color: var(--gold);
}

.section-lede,
.section-subtitle {
  font-size: clamp(0.9rem, 1.2vw, 1rem);
  font-weight: 300;
  line-height: 1.7;
  color: var(--color-text-secondary);
  max-width: 620px;
  margin-top: 16px;
}

/* ─── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 14px 28px;
  min-height: 44px; /* Touch-Target-Mindestmaß */
  border-radius: var(--radius);
  transition: background 0.25s var(--ease-out), color 0.25s var(--ease-out),
              transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out),
              filter 0.25s var(--ease-out), border-color 0.25s var(--ease-out);
  white-space: nowrap;
  cursor: pointer;
}

.btn-primary,
.btn--primary {
  background: var(--gold);
  color: var(--black);
}
.btn-primary:hover,
.btn--primary:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: 0 8px 32px rgba(196,169,107,0.35);
}
/* Kein scale beim :active – nur Brightness/Shadow zur Rückmeldung. */
.btn-primary:active,
.btn--primary:active {
  filter: brightness(0.96);
  box-shadow: 0 4px 18px rgba(196,169,107,0.30);
}
.btn-primary:disabled,
.btn--primary:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
  filter: none;
}

/* Sekundärbutton im dunklen Karten-Ton – passend zu den
   Leistungs-Karten 02–08 (--color-bg-card). Helle Schrift,
   dezente Goldton-Border. Kein transform beim Hover, nur leichte
   Helligkeitsänderung als Rückmeldung. */
.btn-ghost,
.btn--ghost {
  background: var(--color-bg-card);
  color: var(--off-white);
  border: 1px solid var(--color-gold-soft);
}
.btn-ghost:hover,
.btn--ghost:hover {
  background: #1d1d22;
  border-color: rgba(201,169,97,0.45);
}
.btn-ghost:active,
.btn--ghost:active {
  filter: brightness(0.95);
}

.btn--outline {
  background: transparent;
  color: var(--color-text-primary);
  border: 1px solid rgba(255,255,255,0.2);
}
.btn--outline:hover {
  background: var(--color-gold);
  color: var(--color-bg);
  border-color: var(--color-gold);
}

.btn--full { width: 100%; justify-content: center; }

/* ═══════════════════════════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 40px;
  /* Schlanker Header: Logo + Wordmark bestimmen die Höhe, vertikales
     Padding ergibt sich aus (height - logo-höhe)/2 ≈ 16px. */
  height: 72px;
  display: flex;
  align-items: center;
  background: transparent;
  transition: background 0.4s var(--ease-out), border-bottom 0.4s;
}
.nav.scrolled {
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(196,169,107,0.12);
}

.nav__inner {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__brand {
  /* Logo + Wordmark bilden eine Einheit; align-items: center richtet das
     Logo vertikal mittig zum zweizeiligen Textblock aus, nicht zur
     gesamten Header-Höhe. Das Logo darf dabei größer als der Textblock
     sein — die Mitte beider Elemente bleibt deckungsgleich. */
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Logo: bereinigte transparente PNG-Variante.
   Logo-Pfade sind bereits in Site-Goldton (#C4A96B) eingebrannt,
   Hintergrund ist echte Alpha-Transparenz. Daher kein Filter, keine
   Blend-Mode-Hacks mehr — das Logo verschmilzt nativ mit jedem Header-
   Hintergrund (transparent über Hero, dunkel beim Scrollen, dunkel im Footer). */
.nav__logo {
  /* Logo füllt den 72px-Header prominent aus, ohne ihn zu sprengen.
     Bewusst größer als die reine Wordmark-Höhe (≈30px) — visuelle
     Präsenz, vertikale Mitte deckt sich weiter mit dem Schriftzug. */
  height: 56px;
  width: auto;
  display: block;
  flex-shrink: 0;
  /* Optischer Ausgleich: Logo-Asset hat unten mehr Leerraum,
     daher visuell nach oben schieben, bis Bildmitte ≈ Textmitte. */
  transform: translateY(-5px);
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none; /* Klicks gehen an die umschließende <a href="#hero"> */
  /* Keine border, kein box-shadow, keine Hover-/Click-Transformation. */
}

.nav__wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.nav__name {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--gold);
  white-space: nowrap;
}
.nav__tagline {
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(201, 169, 97, 0.7);
  margin-top: 3px;
  white-space: nowrap;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav__links a {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(247,245,240,0.75);
  letter-spacing: 0.03em;
  transition: color 0.2s;
  /* Menüeinträge nie umbrechen */
  white-space: nowrap;
}
.nav__links a:hover,
.nav__links a.active { color: var(--off-white); }
.nav__links a.active { color: var(--gold); }

.nav__cta {
  background: var(--gold) !important;
  color: var(--black) !important;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-weight: 600 !important;
  white-space: nowrap;
}
.nav__cta:hover {
  background: var(--gold-light) !important;
  transform: translateY(-1px);
}

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 4px;
}
.nav__burger span {
  display: block;
  width: 24px; height: 1.5px;
  background: var(--off-white);
  transition: all 0.3s;
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  /* Sitzt unter dem Header — synchron zur Nav-Höhe (Desktop 72, Tablet 64, Mobile 56). */
  top: 72px; left: 0; right: 0;
  background: rgba(10,10,10,0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 99;
  padding: 32px 40px;
  transform: translateY(-10px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s var(--ease-out);
  border-bottom: 1px solid var(--border);
}
.mobile-menu.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu ul { display: flex; flex-direction: column; gap: 24px; }
.mobile-menu a {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--off-white);
  letter-spacing: 0.02em;
  transition: color 0.2s;
  white-space: nowrap;
}
.mobile-menu a:hover { color: var(--gold); }

/* ═══════════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100dvh;
  background: var(--black);
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  /* Stat-Strip unten entfernt → Bottom-Padding reduziert. */
  padding: 120px 40px 100px;
}

.hero__parallax {
  position: absolute;
  inset: -15% 0;
  background-image: url('../assets/images/skylinenight.jpg');
  /* WebP-Variante kann später automatisch genutzt werden, sobald
     /assets/images/skylinenight.webp existiert. Dann diesen Block
     einkommentieren — image-set wählt das beste Format pro Browser:
     background-image: image-set(
       url('../assets/images/skylinenight.webp') type('image/webp'),
       url('../assets/images/skylinenight.jpg') type('image/jpeg')
     ); */
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  will-change: transform;
  pointer-events: none;
  transform: translateY(0px);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  /* Stark abgedunkelter 3-Stop-Verlauf. Skyline ist nur noch als
     dezente Atmosphäre erkennbar – Texte stehen klar im Vordergrund. */
  background: linear-gradient(to right,
    rgba(0,0,0,0.85) 0%,
    rgba(0,0,0,0.70) 50%,
    rgba(0,0,0,0.55) 100%);
  pointer-events: none;
  z-index: 1;
}

.hero__bg-grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(196,169,107,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(196,169,107,0.035) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
}

/* Firmenname als dominantestes Element – Playfair Display als Display-Schrift,
   mit Goldton-Verlauf im Text (background-clip) für edle Aura.
   Hierarchie: Brand zuerst riesig, Tagline kleiner darunter. */
.hero__brand {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-style: italic;
  /* Desktop-Range: Standard-Headline-Skala. */
  font-size: clamp(4rem, 9vw, 8rem);
  line-height: 1;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
  /* Goldton-Verlauf mit drei spiegelsymmetrischen Glanz-Peaks bei den
     Gradient-Positionen 0%, 50% und 100%. Jeder Peak hat exakt denselben
     Falloff (4% / 12%) zu beiden Seiten — das ist entscheidend, damit am
     Loop-Punkt (bg-position 0% ↔ 100%) die Helligkeitsverteilung links
     und rechts vom Container deckungsgleich ist und der Übergang
     vollständig nahtlos wirkt. Mit background-size: 200% wandert die
     mittlere Welle pro Cycle einmal von links nach rechts; sobald sie
     den rechten Rand erreicht, taucht durch die Rand-Peaks bereits die
     nächste Welle links auf — kontinuierlicher Fluss, kein Ruckler.
     Peaks auf #ffffff für maximalen Glanz-Kontrast zum Goldton.
     Fallback-Color greift, falls background-clip:text nicht unterstützt wird. */
  color: var(--gold);
  background: linear-gradient(
    110deg,
    #ffffff 0%,
    #ffe5a0 4%,
    var(--color-gold) 12%,
    var(--color-gold) 38%,
    #ffe5a0 46%,
    #ffffff 50%,
    #ffe5a0 54%,
    var(--color-gold) 62%,
    var(--color-gold) 88%,
    #ffe5a0 96%,
    #ffffff 100%
  );
  background-size: 200% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  /* Cycle: 4.5s — kontinuierlicher, gleichmäßiger Sweep ohne Pause.
     linear-Timing hält die Wellengeschwindigkeit konstant; durch die
     drei Peaks im Gradient ist immer eine Welle sichtbar und der Loop
     vollständig nahtlos. */
  animation: heroBrandShimmer 4.5s linear infinite;
  /* drop-shadow statt text-shadow – wirkt auf den durch background-clip
     freigestellten Text und gibt Tiefe + Lesbarkeit auf der Skyline. */
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.45));
}

@keyframes heroBrandShimmer {
  0%   { background-position: 100% 0; }
  100% { background-position: 0% 0; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__brand {
    animation: none;
    background-position: 50% 0;
  }
}

/* Tagline zweifarbig: erster Teil Regular in Weiß, zweiter Teil
   (per <em>) Italic im Goldton. */
.hero__tagline {
  font-family: var(--font-serif);
  /* Etwa 1/3 des Brand-Wertes. */
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--off-white);
  margin: 0 0 28px;
  max-width: 720px;
  text-wrap: balance;
  /* Schatten für Lesbarkeit im mittleren Verlaufsbereich, wo Skyline
     durchscheint. */
  text-shadow: 0 2px 12px rgba(0,0,0,0.55);
}
.hero__tagline em {
  font-style: italic;
  color: var(--gold);
}

.hero__sub {
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  font-weight: 400;
  line-height: 1.7;
  /* Helleres, fast reines Weiß für besseren Kontrast über der Skyline. */
  color: #f0f0f0;
  margin-bottom: 44px;
  max-width: 620px;
  /* Dezenter Schatten am Beschreibungstext. */
  text-shadow: 0 1px 8px rgba(0,0,0,0.45);
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero__scroll-hint {
  position: absolute;
  right: 48px;
  bottom: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  z-index: 2;
}
.scroll-line {
  width: 1px;
  height: 64px;
  background: linear-gradient(to bottom, transparent, var(--gold));
  animation: scroll-anim 2s ease-in-out infinite;
}
@keyframes scroll-anim {
  0%, 100% { transform: scaleY(0.3); transform-origin: top; opacity: 0.4; }
  50%       { transform: scaleY(1);   transform-origin: top; opacity: 1;   }
}
.hero__scroll-hint span {
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(247,245,240,0.4);
  writing-mode: vertical-rl;
}

/* ═══════════════════════════════════════════════════════════════
   MARQUEE
   ═══════════════════════════════════════════════════════════════ */
.marquee-wrap {
  background: var(--gold);
  overflow: hidden;
  padding: 14px 0;
}
.marquee-track {
  display: flex;
  gap: 32px;
  white-space: nowrap;
  /* Geschwindigkeit per CSS-Variable, damit Mobile sie verlangsamen kann. */
  animation: marquee var(--marquee-duration, 30s) linear infinite;
  width: max-content;
}
.marquee-track span {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--black);
}
.marquee-dot { color: rgba(10,10,10,0.4) !important; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ═══════════════════════════════════════════════════════════════
   LEISTUNGEN — Bento mit Service-Karten
   ═══════════════════════════════════════════════════════════════ */
/* Dark Section. Hero-Karte bekommt noch tieferes Schwarz mit Gold-Akzent. */
.leistungen {
  /* Schrittweise reduziert: 120px → 80px → 64px, damit der gesamte
     Bereich bis zur letzten Kartenreihe auf einen Desktop-Viewport
     (~1080p) passt. */
  padding: 64px 0;
  background: var(--color-bg);
}
.leistungen .section-label,
.leistungen .eyebrow { color: var(--color-gold); }
.leistungen .section-title { color: var(--color-text-primary); }
.leistungen .section-lede { color: var(--color-text-secondary); }
/* Section-Header dichter ans Karten-Grid (Default 64px → 24px) und
   Section-Title eine Stufe kompakter (Default-Max 3.4rem → 2.6rem),
   damit die beiden Bereiche möglichst auf eine Bildschirmhöhe passen. */
.leistungen .section-header,
.branchen .section-header { margin-bottom: 24px; }
.leistungen .section-title,
.branchen .section-title { font-size: clamp(1.4rem, 3.4vw, 2.6rem); }
.leistungen .section-lede,
.branchen .section-lede { margin-top: 12px; }

/* 3-Spalten-Grid; Hero-Karte (Card 01) belegt Spalte 1 über zwei Reihen.
   Übrige 7 Karten fließen automatisch in die restlichen Slots. */
.leistungen__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 1fr;
  /* Vorher 24px → 16px → 14px für noch engeren Karten-Rhythmus. */
  gap: 14px;
}

.service-card {
  /* Vertikal schlanker für kompakten Bereich auf einer Bildschirmhöhe:
     32px → 22px → 18px → 16px vertikal, horizontal 20px → 18px. */
  padding: 16px 18px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  position: relative;
  /* Keine Bewegung beim Hover/Klick – nur Schatten + Goldrand. */
  transition: box-shadow 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  box-shadow: 0 4px 24px rgba(0,0,0,0.4);
}
.service-card:hover {
  box-shadow: 0 12px 32px rgba(0,0,0,0.55);
  border-color: var(--color-gold-soft);
}

.service-card__number {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--color-text-muted);
  /* Nummer kompakter ans Icon: 16px → 6px → 4px. */
  margin-bottom: 4px;
}
.service-card__icon {
  color: var(--gold);
  margin-bottom: 6px;
  transition: color 0.3s var(--ease-out);
}
.service-card:hover .service-card__icon { color: var(--gold-dark); }
/* Icon-SVG-Größe: zentral hier kontrolliert (28px Standard, 32px Feature). */
.service-card__icon svg { width: 28px; height: 28px; }

.service-card__title {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 1.5vw, 1.3rem);
  font-weight: 500;
  color: var(--color-text-primary);
  margin-bottom: 4px;
  line-height: 1.2;
  white-space: nowrap;
}
/* Längere, zweizeilige Titel (z. B. „Vorbereitung Jahresabschlüsse & BWA"):
   Umbruch erlauben, leicht kleinere Schrift, Zeilen sauber balanciert. */
.service-card__title--two-line {
  white-space: normal;
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  line-height: 1.25;
  text-wrap: balance;
}
.service-card__text {
  font-size: 0.86rem;
  line-height: 1.45;
  color: var(--color-text-secondary);
  margin-bottom: 8px;
}

/* Tags am Boden — Karten mit und ohne Tags wirken gleich strukturiert. */
.service-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 2px;
}
.service-card__tag {
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--color-gold);
  background: transparent;
  border: 1px solid rgba(201,169,97,0.45);
  padding: 3px 9px;
  border-radius: 999px;
  white-space: nowrap;
}

/* Hero-Karte: Spalte 1, zwei Reihen hoch. Vollflächiger Goldton als
   visueller Anker für die Hauptleistung. Alle Inhalte in dunklen
   Tönen, damit sie auf dem Goldton klar lesbar bleiben. Nur diese
   Karte (.service-card--feature) ist umgefärbt – Karten 02–08 bleiben
   im dunklen Karten-Look. */
.service-card--feature {
  grid-column: 1;
  grid-row: 1 / span 2;
  background: var(--color-gold);
  border-color: rgba(0,0,0,0.25);
  /* Anteilig zur reduzierten Standardkarte (16/18) – Hero-Karte
     bleibt etwas großzügiger, weil sie zwei Reihen umfasst. */
  padding: 20px 22px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.4);
}
.service-card--feature .service-card__number { color: rgba(26,26,29,0.6); }
.service-card--feature .service-card__title {
  color: #1a1a1d;
  font-size: clamp(1.4rem, 2vw, 1.7rem);
}
.service-card--feature .service-card__text {
  color: #2a2a2a;
  font-size: 0.92rem;
  line-height: 1.45;
  max-width: 460px;
}
.service-card--feature .service-card__icon svg { width: 32px; height: 32px; }
.service-card--feature .service-card__icon { color: #1a1a1d; }
/* Kein Farbwechsel des Icons im Hover – auf Gold würde --gold-dark
   aus der Default-Regel sonst greifen und schlecht lesbar werden. */
.service-card--feature:hover .service-card__icon { color: #1a1a1d; }
.service-card--feature .service-card__tag {
  color: #1a1a1d;
  background: rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.4);
}
.service-card--feature:hover {
  /* Dezente Helligkeitsänderung statt Bewegung – konsistent mit den
     anderen Karten, aber ohne den Gold-Soft-Border-Hover-Effekt der
     Default-.service-card:hover-Regel (der auf Gold unsichtbar wäre). */
  border-color: rgba(0,0,0,0.4);
  box-shadow: 0 12px 32px rgba(0,0,0,0.5);
  filter: brightness(1.03);
}

/* ═══════════════════════════════════════════════════════════════
   ABOUT — Über uns
   ═══════════════════════════════════════════════════════════════ */
.about {
  /* Großzügiger vertikaler Raum, damit Visitenkarte + Text nicht am
     oberen Rand kleben und unter den 4 Werte-Karten kein Leerraum
     stehen bleibt. */
  padding: 140px 0 100px;
  background: var(--color-bg);
  overflow: hidden;
}

.about__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  /* Bild links etwas schmaler (≈ 41%), Text rechts breiter (≈ 59%) —
     Text-Spalte erhält mehr Breite für flüssigere Zeilenumbrüche. */
  grid-template-columns: 0.85fr 1.2fr;
  gap: 48px;
  /* Beide Spalten werden auf gleiche Höhe gezogen — Visitenkarte
     beginnt bündig oben mit dem Eyebrow der Text-Spalte und endet
     auf gleicher Höhe wie die Statistik-Box. */
  align-items: stretch;
}

/* Visual ist Flex-Column, damit das innenliegende Frame per flex:1
   die volle Spaltenhöhe einnimmt. Kein eigenes Padding — die Karte
   beginnt am oberen Rand der Grid-Zelle, also bündig zum Eyebrow
   „ÜBER DIE MAIN FIBU GMBH". */
.about__visual {
  position: relative;
  display: flex;
  flex-direction: column;
}
.about__img-frame {
  position: relative;
  width: 100%;
  max-width: 420px;
  /* Auf Desktop füllt die Karte die Höhe der Text-Spalte. aspect-ratio
     wird im Mobile-Breakpoint (≤1024px) für gestapeltes Layout wieder
     aktiviert. */
  flex: 1;
}
.about__img-inner {
  position: absolute;
  inset: 0;
  background: var(--color-bg-card);
  border: 1px solid var(--color-gold-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Kompakte Innenränder (24px) plus zusätzlicher Bottom-Reserve für
     den Meta-Block, damit die Karte schlanker innerhalb der rechten
     Spalte bleibt. */
  padding: 1.5rem 1.5rem calc(1.5rem + 56px);
}
.about__img-emblem {
  width: 100%;
  height: auto;
  /* Agent zurückhaltender skaliert, damit Karte luftiger wirkt und
     vertikal nicht aus der Spalte herausläuft — bleibt aber prominent. */
  max-width: 56%;
  max-height: 100%;     /* Safety: nie höher als Innenbox → kein Crop */
  object-fit: contain;  /* keine Verzerrung, kein Anschnitt */
  object-position: center;
  margin: auto;         /* Zentrierung als Backup zum Flex-Parent */
  display: block;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}
/* Im Geschäftsführungs-Meta keine dekorativen Gold-Striche vor der Eyebrow. */
.about__img-meta .eyebrow::before { content: none; }
.about__img-meta {
  position: absolute;
  left: 24px;
  bottom: 24px;
  z-index: 2;
  color: var(--off-white);
}
.about__img-meta .eyebrow {
  color: var(--gold);
  margin-bottom: 8px;
}
.about__img-meta .eyebrow--tight,
.eyebrow--tight { margin-bottom: 4px; }
.about__img-meta strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
  white-space: nowrap;
}
.about__img-meta span {
  font-size: 0.78rem;
  color: rgba(247,245,240,0.65);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.about__img-bezel {
  /* Der dekorative Außenring entfällt: er hätte oben über den Eyebrow
     hinausgereicht und unten unter die Statistik-Box. Die Karte trägt
     ihre eigene Gold-Soft-Border und kommt ohne zweiten Rahmen aus. */
  display: none;
}

.about__text { padding-left: 24px; }

.about__lead {
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--color-text-primary);
  margin: 16px 0 10px;
}
.about__body {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--color-text-secondary);
  margin-bottom: 20px;
}

.about__quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.2rem;
  line-height: 1.55;
  color: var(--color-text-primary);
  border-left: 2px solid var(--gold);
  padding: 10px 0 10px 24px;
  /* Großzügige Abstände nach oben/unten – Zitat steht visuell isoliert
     als Highlight zwischen Beschreibungstext und Autor-/Metrics-Block. */
  margin: 48px 0;
}
.about__quote-author {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
  padding-left: 22px;
}
.about__quote-author strong {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--color-text-primary);
  white-space: nowrap;
}
.about__quote-author span {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  margin-top: 2px;
  white-space: nowrap;
}

.about__metrics {
  display: flex;
  gap: 28px;
  margin-bottom: 0;
  padding: 18px 24px;
  background: var(--color-bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
}
.about__metric { display: flex; flex-direction: column; }
.about__metric-num {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  font-weight: 500;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 4px;
  white-space: nowrap;
}
.about__metric-label {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

/* About: full-width values row */
.about__values {
  max-width: var(--container);
  /* Größerer Abstand zur darüberliegenden Visitenkarte/rechten Spalte
     – der Werte-Streifen sitzt damit klarer als eigener Block darunter. */
  margin: 64px auto 0;
  padding: 0 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  align-items: stretch;
}
.about__value {
  padding: 20px 22px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: border-color 0.3s var(--ease-out), box-shadow 0.3s;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 24px rgba(0,0,0,0.4);
}
.about__value:hover {
  border-color: var(--color-gold-soft);
  box-shadow: 0 16px 40px rgba(0,0,0,0.55);
}
.about__value strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--color-text-primary);
  margin-bottom: 8px;
  white-space: nowrap;
}
.about__value p {
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--color-text-secondary);
}

/* About: kompaktere Section-Title-Größe — der Bereich + 4 Karten
   sollen auf einem typischen 1080p-Viewport sichtbar sein. */
.about .section-title { font-size: clamp(1.6rem, 3.6vw, 3.2rem); margin-bottom: 4px; }
.about .section-label { margin-bottom: 10px; }

/* ═══════════════════════════════════════════════════════════════
   BRANCHEN
   ═══════════════════════════════════════════════════════════════ */
.branchen {
  /* Vorher 120px — auf 80px reduziert (analog Leistungen). */
  padding: 80px 0;
  background: var(--color-bg);
}

.branchen .section-label,
.branchen .eyebrow { color: var(--color-gold); }
.branchen .section-title { color: var(--color-text-primary); }
.branchen .section-lede { color: var(--color-text-secondary); }

/* === Branchen-Liste ===
   Einspaltige, listenartige Anordnung: jede Branche ist eine breite
   horizontale Zeile, getrennt durch dezente goldgetönte Linien.
   Linke Spalte (~40%): Icon + Name; rechte Spalte (~60%): Beschreibung.
   Auf Mobile stapeln sich Head und Description vertikal. */
.branchen-list {
  border-top: 1px solid rgba(201, 169, 97, 0.15);
}
.branchen-row {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(201, 169, 97, 0.15);
  cursor: default;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.branchen-row__head {
  flex: 0 0 40%;
  display: flex;
  align-items: center;
  gap: 16px;
}
.branchen-icon {
  color: var(--color-gold);
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  transition: color 0.25s var(--ease-out);
}
.branchen-name {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.2vw, 1.7rem);
  font-weight: 500;
  color: var(--color-text-primary);
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin: 0;
  transition: color 0.25s var(--ease-out);
}
.branchen-description {
  flex: 1 1 60%;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--color-text-muted);
  margin: 0;
}
/* Hover: nur dezente Helligkeitsänderung an Icon + Name, keine Bewegung. */
.branchen-row:hover .branchen-icon { color: var(--gold-light); }
.branchen-row:hover .branchen-name { color: #ffffff; }

/* ═══════════════════════════════════════════════════════════════
   TESTIMONIALS
   ═══════════════════════════════════════════════════════════════ */
.testimonials {
  padding: 140px 0;
  background: var(--color-bg);
}
/* Beschreibungstext der Mandantenstimmen darf auf Desktop in einer Zeile
   stehen — kein hartes <br>, auf schmalen Containern bricht der Satz
   weiterhin natürlich um. */
.testimonials .section-lede { max-width: 760px; }

/* ─── Slider-Container ───────────────────────────────────────── */
.testimonial-slider {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
  box-sizing: border-box;
}
.testimonial-slider *,
.testimonial-slider *::before,
.testimonial-slider *::after {
  box-sizing: border-box;
}
.testimonial-slider__viewport {
  overflow: hidden;
  border-radius: var(--radius-lg);
  width: 100%;
}
.testimonial-slider__track {
  display: flex;
  width: 100%;
  /* Track wird per JS via translateX verschoben. translateX(-100%) bezieht
     sich auf die Track-Breite, daher MÜSSEN alle Slides exakt 100% der
     Viewport-Breite einnehmen – sonst entsteht pro Slide ein Offset. */
  transition: transform 0.6s var(--ease-out);
  will-change: transform;
}
.testimonial-slider__track > .testimonial-card {
  flex: 0 0 100%;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  /* Karten dürfen weder durch max-width noch durch margin verkleinert oder
     verschoben werden – sonst weicht Slide-Breite von der Translate-Distanz ab. */
  margin: 0;
}

/* ─── Slider-Pfeile ──────────────────────────────────────────── */
.testimonial-slider__arrow {
  position: absolute;
  top: calc(50% - 22px); /* leicht über Mitte, da Dots unten Platz brauchen */
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(196,169,107,0.08);
  border: 1px solid rgba(196,169,107,0.4);
  border-radius: 50%;
  color: var(--gold);
  cursor: pointer;
  transition: background 0.25s var(--ease-out),
              color 0.25s var(--ease-out),
              border-color 0.25s var(--ease-out);
  z-index: 2;
  -webkit-tap-highlight-color: transparent;
}
.testimonial-slider__arrow:hover {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
}
.testimonial-slider__arrow:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.testimonial-slider__arrow--prev { left: -72px; }
.testimonial-slider__arrow--next { right: -72px; }

/* ─── Dots ───────────────────────────────────────────────────── */
.testimonial-slider__dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}
.testimonial-slider__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(196,169,107,0.28);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.25s var(--ease-out), width 0.25s var(--ease-out);
  -webkit-tap-highlight-color: transparent;
}
.testimonial-slider__dot:hover { background: var(--gold-light); }
.testimonial-slider__dot.is-active {
  background: var(--gold);
  width: 28px; /* aktiver Dot wird zur kleinen Linie */
  border-radius: 6px;
}
.testimonial-slider__dot:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* === Mandantenstimmen-Karten (einheitlich) ===
   Bug-Ursache vor dieser Überarbeitung: Jede Karte trug zusätzlich zur
   Basisklasse die Modifier --feature und --solo. Der --feature-Modifier
   überschrieb den einheitlichen Karten-Hintergrund mit einem 160°-Verlauf
   (linear-gradient(160deg, #050505 → #161616)) und legte ein dekoratives
   ::before-Pseudo (riesiges italic „"") in jede Karte. In Kombination mit
   dem flex-Track, dem clipping per overflow:hidden auf dem Viewport und
   den Box-Shadows benachbarter Karten ergab das beim Durchklicken einen
   sichtbar uneinheitlichen Eindruck pro Slide-Position.

   Fix: Verlauf entfernt, dekoratives Pseudo entfernt, Border auf einen
   einheitlichen, dezenten Goldton vereinheitlicht. Alle Karten teilen
   sich jetzt exakt denselben Hintergrund, dieselbe Border, denselben
   Schatten und dasselbe Padding. Modifier --feature/--solo bleiben in
   der Klassenliste erhalten und steuern nur noch typografische
   Eigenschaften (zentrierter Text, größere Zitat-Schrift,
   gold-getönter Author-Trenner) – nichts mehr am Hintergrund. */
.testimonial-card {
  background: var(--color-bg-card);
  border: 1px solid rgba(201,169,97,0.15);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  box-shadow: 0 4px 24px rgba(0,0,0,0.4);
  transition: box-shadow 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
  /* Keine Bewegung beim Hover/Klick – nur Schatten als Akzent. */
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  /* Einheitliche Mindesthöhe, damit unterschiedlich lange Zitate
     nicht zu springenden Slider-Höhen führen. Flex-Stretch des Tracks
     gleicht zusätzlich automatisch alle Karten an die höchste an. */
  min-height: 360px;
  text-align: center;
}
.testimonial-card:hover {
  box-shadow: 0 16px 48px rgba(0,0,0,0.6);
  border-color: rgba(201,169,97,0.3);
}

/* Modifier ohne eigenen Hintergrund/Border – sie ändern nur Typografie.
   Alle Karten bleiben damit visuell identisch, egal welche Modifier
   gesetzt sind und egal an welcher Slider-Position sie stehen. */
.testimonial-card--feature,
.testimonial-card--solo {
  /* bewusst leer – kein Background-/Border-Override mehr. */
}

.testimonial-card .stars {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: 24px;
  color: var(--gold);
  font-size: 1rem;
  letter-spacing: 0.08em;
}

.testimonial-card__text {
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  line-height: 1.55;
  color: var(--color-text-primary);
  margin-bottom: auto;
  padding-bottom: 32px;
  font-style: italic;
}

.testimonial-card__author {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border-top: 1px solid rgba(201,169,97,0.18);
  padding-top: 24px;
  margin-top: 28px;
}
.testimonial-card__author strong {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text-primary);
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.testimonial-card__author span {
  font-size: 0.76rem;
  color: var(--color-text-muted);
  margin-top: 3px;
  letter-spacing: 0.04em;
}

/* ═══════════════════════════════════════════════════════════════
   FAQ — einspaltig, volle Content-Breite, Items als eigene Karten
   ═══════════════════════════════════════════════════════════════ */
.faq {
  padding: 120px 0;
  background: var(--color-bg);
}

/* Einspaltiger Stack: Section-Header oben, Liste über volle Container-Breite. */
.faq__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Jedes FAQ-Item als eigene dunkle Karte mit dezenter Goldton-Border. */
.faq-item {
  background: #16161a;
  border: 1px solid rgba(201, 169, 97, 0.12);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.25s var(--ease-out);
}
.faq-item:hover { border-color: rgba(201, 169, 97, 0.25); }
.faq-item.open { border-color: rgba(201, 169, 97, 0.3); }

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 32px;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--color-text-primary);
  text-align: left;
  background: transparent;
  border: 0;
  cursor: pointer;
  transition: color 0.2s;
}
.faq-question:hover { color: var(--color-gold); }
.faq-question:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: -2px;
}

.faq-chevron {
  flex-shrink: 0;
  color: var(--color-gold);
  transition: transform 0.3s var(--ease-out);
}
.faq-item.open .faq-chevron { transform: rotate(180deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s var(--ease-out), opacity 0.3s var(--ease-out);
}
.faq-item.open .faq-answer { opacity: 1; }

.faq-answer-inner {
  padding: 0 32px 24px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--color-text-secondary);
  max-width: 880px;
}
.faq-answer-inner a { color: var(--color-gold); border-bottom: 1px solid var(--color-gold); }

/* ═══════════════════════════════════════════════════════════════
   CONTACT
   ═══════════════════════════════════════════════════════════════ */
.contact {
  padding: 140px 0;
  background: var(--color-bg);
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  /* Beide Spalten gleich hoch: Formular-Karte rechts streckt sich
     vertikal bis zum unteren Rand der Maps-Karte links. */
  align-items: stretch;
}

/* Rechte Spalte als Flex-Column, damit das Formular-Card mit flex:1
   den verbleibenden vertikalen Platz füllt. padding-top schiebt den
   oberen Rand des Formulars unter die Section-Label + Section-Title
   der linken Spalte – das Formular beginnt damit auf gleicher Höhe
   wie der Beschreibungstext „Diskretion und Verbindlichkeit…". */
.contact__right {
  display: flex;
  flex-direction: column;
  padding-top: 96px;
}
.contact__right .contact__form { flex: 1; }

.contact__left .section-title { margin-bottom: 24px; }
.contact__left p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--color-text-secondary);
  margin-bottom: 32px;
}

.contact__info { display: flex; flex-direction: column; gap: 18px; }
.contact__info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 0.92rem;
  color: var(--color-text-secondary);
  line-height: 1.5;
}
.contact__info-item svg { color: var(--color-gold); flex-shrink: 0; margin-top: 3px; }
.contact__info-item strong {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 4px;
  white-space: nowrap;
}
.contact__info-item a:hover { color: var(--color-gold); }

/* Adresse zweizeilig: Straße + PLZ/Ort als eigenständige Zeilen. */
.contact__address-line { display: block; }
.contact__address-line + .contact__address-line { margin-top: 2px; }

/* Öffnungszeiten zweispaltig: Wochentage links, Uhrzeit rechts.
   Grid mit zwei content-getriebenen Spalten — bleibt bei Erweiterung
   (z. B. weitere Zeile für Samstag) sauber ausgerichtet, tabular-nums
   sorgt für gleichmäßige Ziffernspalten. */
.contact__hours {
  display: grid;
  grid-template-columns: max-content max-content;
  column-gap: 32px;
  row-gap: 4px;
  align-items: baseline;
}
.contact__hours-time {
  color: var(--color-text-muted);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* Maps gate */
.contact__maps {
  margin-top: 32px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-gold-soft);
  background: var(--color-bg-elevated);
}
.maps-gate {
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}
.maps-gate-icon {
  width: 36px;
  height: 36px;
  color: var(--color-gold);
}
.maps-gate p {
  font-size: 0.85rem;
  line-height: 1.65;
  color: var(--color-text-muted);
  margin: 0;
  max-width: 380px;
}
.maps-gate p a { color: var(--color-gold); text-decoration: underline; }
.maps-wrapper {
  display: none;
  width: 100%;
  height: 280px;
}
.maps-wrapper iframe { width: 100%; height: 100%; border: 0; }

/* Form — Dark Theme: Karten-Container auf elevated Bg, Inputs noch tiefer
   abgesenkt, Goldton-Border bei Fokus, Label & Placeholder hell. */
.contact__form {
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-gold-soft);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.5);
}
.contact__form h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 28px;
  color: var(--color-text-primary);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.form-group label {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-gold);
  white-space: nowrap;
}
.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-sans);
  font-size: 0.94rem;
  color: var(--color-text-primary);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 13px 16px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
  resize: none;
}
.form-group textarea { min-height: 120px; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(201,169,97,0.15);
}
.form-group input.error,
.form-group textarea.error {
  border-color: #d65a5a;
  box-shadow: 0 0 0 3px rgba(214,90,90,0.15);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(245,245,240,0.3);
}

.dsgvo-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
}
.dsgvo-checkbox input {
  width: 16px;
  height: 16px;
  margin-top: 3px;
  accent-color: var(--color-gold);
  flex-shrink: 0;
}
.dsgvo-checkbox label {
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--color-text-muted);
}
.dsgvo-checkbox label a { color: var(--color-gold); text-decoration: underline; }

.form-success {
  display: none;
  padding: 24px;
  background: rgba(120,180,140,0.08);
  border: 1px solid rgba(120,180,140,0.25);
  border-radius: var(--radius);
  text-align: center;
}
.form-success.show { display: block; }

/* Honeypot: visuell ausgeblendet, bleibt für Bots im DOM erreichbar.
   Bewusst kein display:none, damit Headless-Bots das Feld dennoch
   serialisieren — der Server verwirft Submits mit gefülltem Wert. */
.form-honeypot {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Inline-Statuszeile (Validierungs-/Sendefehler).
   Erfolgsmeldung läuft weiterhin über .form-success oberhalb des Formulars. */
.form-status {
  display: none;
  margin: 0 0 14px;
  padding: 10px 14px;
  font-size: 0.85rem;
  line-height: 1.45;
  border-radius: var(--radius);
  border: 1px solid transparent;
}
.form-status.is-visible { display: block; }
.form-status.is-error {
  background: rgba(220,90,90,0.08);
  border-color: rgba(220,90,90,0.3);
  color: #f0a8a8;
}
.form-status.is-info {
  background: rgba(201,169,97,0.08);
  border-color: rgba(201,169,97,0.3);
  color: var(--gold);
}
.form-success strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: #8fcfa6;
  margin-bottom: 6px;
}
.form-success p {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  margin: 0;
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════ */
.footer {
  position: relative;
  background: var(--black);
  padding: 60px 0 0;
}
/* Dezenter Goldton-Trennstrich oberhalb des Footers (Variante A —
   Verlauf, der zu den Rändern hin sanft ausläuft). Liegt mittig auf
   der Footer-Oberkante, kein Glow (weniger ist mehr). */
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  max-width: 1100px;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(201, 169, 97, 0.6) 50%,
    transparent 100%
  );
  pointer-events: none;
}
.footer__top {
  display: grid;
  /* Zwei Spalten: Branding-Block links (am Rand), Kontakt rechts.
     Horizontales Padding rückt beide Spalten von den Rändern weg. */
  grid-template-columns: 1fr 1fr;
  column-gap: 80px;
  row-gap: 32px;
  align-items: center;
  padding: 0 32px 28px;
  border-bottom: 1px solid rgba(196,169,107,0.12);
}
/* Branding-Block: Logo links, Schriftzug + Tagline rechts daneben,
   vertikal mittig zur Logo-Höhe. Linksbündig in der Spalte. */
.footer__brand {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 22px;
  text-align: left;
  justify-self: start;
}
.footer__logo {
  height: 160px;
  width: auto;
  max-width: 100%;
  display: block;
  flex-shrink: 0;
  object-fit: contain;
  margin: 0;
  align-self: center;
  /* Optischer Ausgleich: das Logo-Asset hat unten mehr Leerraum,
     daher visuell nach oben schieben, bis Bildmitte ≈ Textmitte. */
  transform: translateY(-12px);
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}
.footer__brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-self: center;
  margin: 0;
}
.footer__brand-name {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-bottom: 6px;
  white-space: nowrap;
}
.footer__brand-tagline {
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(201, 169, 97, 0.7);
  white-space: nowrap;
}

.footer__nav-col:last-child {
  /* Kontakt-Spalte rückt an den rechten Rand des Footers. */
  justify-self: end;
}
.footer__nav-col h4 {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
  white-space: nowrap;
}
.footer__nav-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer__nav-col a,
.footer__nav-col span {
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgba(247,245,240,0.45);
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 10px;
  /* Footer-Linktexte einzeilig (kurze Begriffe) */
  white-space: nowrap;
}
.footer__nav-col a:hover { color: var(--off-white); }
.footer__nav-col svg {
  flex-shrink: 0;
  color: var(--gold);
  opacity: 0.6;
}

/* Adresse zweizeilig im Footer (Straße + PLZ/Ort als eigenständige Zeilen),
   konsistent zum Direktkontakt-Block in der Kontakt-Sektion oben.
   Das Map-Pin-Icon sitzt horizontal mittig zur ersten Zeile (Straße),
   nicht zwischen beiden Adresszeilen. */
.footer__nav-col span.footer__address {
  align-items: flex-start;
}
.footer__nav-col span.footer__address > svg {
  margin-top: 4px;
}
.footer__nav-col span.footer__address-lines {
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  /* Adresse darf umbrechen, falls Spaltenbreite knapp wird. */
  white-space: normal;
  line-height: 1.4;
}
.footer__nav-col span.footer__address-line {
  display: block;
  white-space: nowrap;
}
.footer__nav-col span.footer__address-line + .footer__address-line {
  margin-top: 2px;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 64px;
  font-size: 0.85rem;
  color: rgba(247,245,240,0.3);
}
.footer__legal { display: flex; gap: 24px; }
.footer__legal a {
  color: rgba(247,245,240,0.3);
  transition: color 0.2s;
  cursor: pointer;
}
.footer__legal a:hover { color: rgba(247,245,240,0.7); }


/* ═══════════════════════════════════════════════════════════════
   LEGAL MODALS
   ═══════════════════════════════════════════════════════════════ */
.legal-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 32px 16px;
}
.legal-modal.open { display: flex; }
.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,10,10,0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.modal-card {
  position: relative;
  background: var(--color-bg-elevated);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-gold-soft);
  max-width: 760px;
  width: 100%;
  max-height: calc(100vh - 64px);
  overflow-y: auto;
  padding: 56px 56px 48px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.7);
}
.modal-close {
  position: absolute;
  top: 18px;
  right: 22px;
  width: 38px;
  height: 38px;
  font-size: 1.4rem;
  color: var(--color-text-muted);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
}
.modal-close:hover { background: var(--color-bg-card); color: var(--color-text-primary); }

.legal-content h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 500;
  color: var(--color-text-primary);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}
.legal-content h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--color-text-primary);
  margin: 28px 0 10px;
}
.legal-content p,
.legal-content li {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--color-text-secondary);
  margin-bottom: 8px;
}
.legal-content ul {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 12px;
}
.legal-content strong { color: var(--color-text-primary); }
.legal-content em { color: var(--color-gold); font-style: italic; }
.legal-divider {
  height: 1px;
  background: var(--color-border);
  margin: 24px 0 16px;
}
.legal-stamp {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE  —  Desktop-First-Cascade
   Vier Mobile/Tablet-Breakpoints, alle Desktop-Styles bleiben oberhalb
   1024px unverändert.
     ≤1024px  : Großes Tablet / kleines Desktop
     ≤768px   : Tablet (iPad Mini portrait)
     ≤600px   : Mobile Standard
     ≤380px   : Kleines Mobile
   Zusatz: (hover: none) deaktiviert Cursor-Effekt + Hover-Lifts auf
   Touch-Geräten; (prefers-reduced-motion) entspannt Animationen.
   ═══════════════════════════════════════════════════════════════ */

/* === GROSSES TABLET / KLEINES DESKTOP: ≤1024px === */
@media (max-width: 1024px) {
  /* Container-Padding etwas reduzieren. */
  .container { padding: 0 32px; }

  /* Anker-Offset an Tablet-Nav-Höhe (64px) anpassen. */
  #leistungen,
  #ueber-uns,
  #branchen,
  #testimonials,
  #faq,
  #kontakt {
    scroll-margin-top: 72px;
  }

  /* Sektion-Abstände auf Tablet: 96–80px statt 120–140px. */
  .leistungen,
  .branchen,
  .testimonials,
  .faq,
  .about,
  .contact { padding: 88px 0; }

  /* Anker-Offset an die Tablet-Nav-Höhe anpassen (Nav bleibt 120px,
     scroll-margin von Desktop ist passend → keine Änderung nötig). */

  /* Header: Logo proportional kleiner als Desktop. Auf Tablet ≤1024px
     wird auf Burger-Menü gewechselt — Desktop-Nav-Links komplett aus,
     Burger eingeblendet. Mobile-Menu sitzt unter dem 64px-Header. */
  .nav { height: 64px; padding: 0 24px; }
  .nav__logo { height: 48px; }
  .nav__links { display: none; }
  .nav__burger {
    display: flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
  }
  .mobile-menu { top: 64px; }

  /* Hero: Headline ca. 80% der Desktop-Cap, CTAs bleiben in Reihe
     (flex-wrap kümmert sich falls Platz fehlt). */
  .hero { padding: 100px 32px 88px; }
  .hero__brand    { font-size: clamp(3.5rem, 8vw, 6.4rem); }
  .hero__tagline  { font-size: clamp(1.4rem, 2.6vw, 2rem); }
  .hero__sub      { font-size: clamp(0.95rem, 1.4vw, 1.05rem); }

  /* Marquee Speed: bleibt 30s — Lesbarkeit auf Tablet ok. */

  /* 3-Spalten → 2 Spalten; Hero-Karte bleibt links und spannt 2 Reihen. */
  .leistungen__grid { grid-template-columns: repeat(2, 1fr); }
  .service-card--feature { grid-column: 1; grid-row: 1 / span 2; }
  .service-card { padding: 24px 22px; }

  /* Tablet: Sektions-Padding etwas reduziert, bleibt aber großzügig. */
  .about { padding: 110px 0 80px; }
  /* Visitenkarte (Agent + Geschäftsführung) ab Tablet 1024px komplett
     ausblenden — die rechte Spalte (Eyebrow, Headline, Beschreibung,
     Zitat, Statistiken) füllt die volle Breite. Desktop ≥1025px bleibt
     unverändert. */
  .about__visual { display: none; }
  .about__inner { grid-template-columns: 1fr; gap: 0; }
  .about__text { padding-left: 0; }
  .about__quote { margin: 36px 0; }
  /* Werte: 2×2 auf Tablet. */
  .about__values { grid-template-columns: repeat(2, 1fr); }

  /* Pfeile rutschen auf Tablet ins Viewport hinein. */
  .testimonial-slider { padding: 0 56px; }
  .testimonial-slider__arrow--prev { left: 0; }
  .testimonial-slider__arrow--next { right: 0; }
  /* Pagination ab Tablet: kleine Punkte (8px), aktiver Punkt als
     dezente Pille (24×8px) im Goldton — keine riesigen Goldblöcke mehr. */
  .testimonial-slider__dots { gap: 10px; margin-top: 24px; }
  .testimonial-slider__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(201,169,97,0.3);
  }
  .testimonial-slider__dot.is-active {
    width: 24px;
    height: 8px;
    border-radius: 4px;
    background: var(--color-gold);
  }

  .contact__grid { grid-template-columns: 1fr; gap: 56px; }
  /* Formular entfernt — Mobile-Regeln für die rechte Spalte obsolet.
  .contact__right { padding-top: 0; }
  .contact__right .contact__form { flex: 0 1 auto; }
  */

  /* Footer ab Tablet ≤1024px: einspaltig, beide Blöcke (Branding +
     Kontakt) zentriert untereinander. Innerhalb der Kontakt-Liste
     bleiben die Items linksbündig (Icon links vor Text), der Block
     selbst ist mittig zur Branding-Zeile. */
  .footer__top {
    grid-template-columns: 1fr;
    column-gap: 0;
    row-gap: 32px;
    padding: 0 32px 28px;
    text-align: center;
  }
  .footer__brand {
    justify-self: center;
    flex-direction: row;
    gap: 18px;
    text-align: left;
  }
  .footer__logo { height: 96px; transform: translateY(-6px); }
  .footer__nav-col:last-child {
    justify-self: center;
    text-align: center;
  }
  /* Kontakt-Liste als Block zentriert, Items darin linksbündig. */
  .footer__nav-col ul {
    align-items: flex-start;
    width: fit-content;
    margin: 0 auto;
    gap: 12px;
  }
  /* Pin-Icon vertikal mittig zwischen Straße und PLZ-Zeile. */
  .footer__nav-col span.footer__address { align-items: center; }
  .footer__nav-col span.footer__address > svg { margin-top: 0; }
  .footer__bottom { padding: 20px 32px; }

  /* Modale: max 80% Viewport-Breite. */
  .modal-card { max-width: 80vw; padding: 48px 40px 40px; }

  /* Branchen-Liste: Layout (40/60-Split) bleibt auf Tablet erhalten. */
}

/* === TABLET: ≤768px ===
   iPad Mini portrait & große Phones landscape. Nav-Links sind hier noch
   horizontal sichtbar (passen mit kompaktem Logo problemlos). Layout
   wird gegenüber 1024 leicht verdichtet, ohne in Mobile-Stack-Modus zu
   wechseln – das übernimmt der 600er Breakpoint. */
@media (max-width: 768px) {
  .container { padding: 0 28px; }

  /* Nav: Logo bleibt 48px (vom 1024er übernommen), Gaps weiter reduzieren,
     CTA leicht kompakter. */
  .nav__links { gap: 18px; }
  .nav__links a { font-size: 0.82rem; }
  .nav__cta { padding: 9px 16px; }
  .nav__name { font-size: 1rem; }
  .nav__tagline { font-size: 0.55rem; }

  /* Sektions-Padding ein Schritt enger. */
  .leistungen,
  .branchen,
  .testimonials,
  .faq,
  .about,
  .contact { padding: 76px 0; }
  .about { padding: 96px 0 72px; }

  /* Section-Header etwas dichter ans Inhaltsraster. */
  .section-header { margin-bottom: 48px; }

  /* Hero auf 768 noch eine Stufe kompakter als 1024, aber CTAs in Reihe. */
  .hero { padding: 96px 28px 88px; }
  .hero__brand   { font-size: clamp(3.2rem, 9vw, 5.4rem); }
  .hero__tagline { font-size: clamp(1.3rem, 3.4vw, 1.8rem); }

  /* Service-Karten: Hero-Karte spannt im 1024er noch 2 Reihen, das
     bleibt erhalten. Padding leicht straffer. */
  .service-card { padding: 22px 20px; }
  .service-card--feature { padding: 24px 22px; }

  /* Visitenkarte ist bereits ab 1024px ausgeblendet — kein zusätzlicher
     Override nötig. */
  /* Werte-Reihe bleibt 2x2 aus 1024, Abstand gleich. */
  .about__quote { font-size: 1.1rem; margin: 32px 0; }
  .about__metrics { gap: 18px; padding: 16px 20px; }
  .about__metric-num { font-size: 1.55rem; }

  /* Branchen-Liste: 40/60-Split bleibt, nur leicht dichter. */
  .branchen-row { gap: 24px; padding: 24px 0; }

  /* Testimonial-Slider: Pfeile bündig im Container, Karten-Padding kompakter.
     Mindesthöhe entfällt auf Tablet — Karten richten sich nach Inhalt. */
  .testimonial-slider { padding: 0 52px; }
  .testimonial-card { padding: 36px 28px; min-height: auto; }

  /* FAQ-Items: kompakteres Padding. */
  .faq-question { padding: 22px 26px; font-size: 1.1rem; }
  .faq-answer-inner { padding: 0 26px 22px; }

  /* Formular entfernt — Form-Padding-Regel obsolet.
  .contact__form { padding: 36px 32px; }
  */

  /* Footer: Logo eine Stufe kleiner, Spalten kompakter. */
  .footer__top { column-gap: 32px; padding: 0 28px 26px; }
  .footer__logo { height: 96px; }
  .footer__brand-name { font-size: 1.25rem; }
  .footer__bottom { padding: 18px 28px; }

  /* Modale: max-width gleich, Padding minimal. */
  .modal-card { padding: 44px 36px 36px; }
}

/* === MOBILE STANDARD: ≤600px === */
@media (max-width: 600px) {
  .container { padding: 0 20px; }
  /* Mobile Nav ist 64px hoch → Anker-Offset darunter. */
  #leistungen,
  #ueber-uns,
  #branchen,
  #testimonials,
  #faq,
  #kontakt {
    scroll-margin-top: 72px;
  }
  .nav {
    padding: 0 20px;
    /* Mobile-Header bleibt deutlich präsent (64px), passend zum 48px-Logo. */
    height: 64px;
  }
  .nav__links { display: none; }
  /* Wordmark neben dem Logo bleibt sichtbar, aber kompakt. */
  .nav__name { font-size: 0.95rem; }
  .nav__tagline { font-size: 0.5rem; letter-spacing: 0.16em; }
  .nav__logo { height: 48px; }     /* Logo nach Spec 48–56px Höhe auf Mobile */
  .footer__logo { height: 70px; }
  .mobile-menu { top: 64px; }      /* synchron zur Mobile-Nav-Höhe */
  .nav__burger {
    display: flex;
    /* Touch-Target ≥ 44×44 */
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
  }

  /* Mobile Menu: Vollbild-Slide, Goldton-Akzente, Touch-Targets ≥ 48px,
     Schrift ≥ 18px. Top-Border in Goldton hebt das Menü vom Header ab,
     ein dezenter Goldton-Strich vor jedem Eintrag rhythmisiert die Liste. */
  .mobile-menu {
    padding: 28px 24px 32px;
    /* Vom Nav-Unterkant bis Viewport-Unterkant — verhindert abgeschnittene
       Einträge auf kurzen Geräten in Landscape. */
    height: calc(100dvh - 64px);
    overflow-y: auto;
    background: linear-gradient(180deg,
      rgba(10,10,10,0.98) 0%,
      rgba(14,14,16,0.98) 100%);
    border-top: 1px solid rgba(201,169,97,0.25);
    border-bottom: none;
    box-shadow: 0 18px 32px rgba(0,0,0,0.55);
  }
  .mobile-menu ul { gap: 4px; }
  .mobile-menu li {
    border-bottom: 1px solid rgba(201,169,97,0.10);
  }
  .mobile-menu li:last-child { border-bottom: 0; }
  .mobile-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 48px;
    font-family: var(--font-serif);
    font-size: 1.25rem;            /* 20px – edler, gut tappbar */
    font-weight: 500;
    letter-spacing: -0.005em;
    color: var(--off-white);
    padding: 14px 4px;
  }
  .mobile-menu a::before {
    content: '';
    width: 18px;
    height: 1px;
    background: var(--gold);
    flex-shrink: 0;
    transition: width 0.25s var(--ease-out);
  }
  .mobile-menu a:hover,
  .mobile-menu a:active {
    color: var(--gold);
  }
  .mobile-menu a:hover::before,
  .mobile-menu a:active::before {
    width: 28px;
  }

  /* Hero auf Mobile: kompakteres Padding (80px Top reicht über den
     64px-Header hinaus), volle Höhe für Erstwirkung. Brand-Verlauf
     erbt aus der Basis-Definition (var(--color-gold)). */
  .hero {
    padding: 80px 20px 40px;
    min-height: 100dvh;
  }
  /* Skyline auf Mobile leicht rechts der Mitte ankern, sodass mehr
     vom rechten Skyline-Ausschnitt sichtbar ist (Desktop unverändert). */
  .hero__parallax {
    background-position: 68% bottom;
  }
  .hero__brand {
    font-size: clamp(2.6rem, 13vw, 4.2rem);
    margin-bottom: 16px;
    line-height: 1;
  }
  .hero__tagline {
    font-size: clamp(1.1rem, 5vw, 1.5rem);
    margin-bottom: 16px;
    line-height: 1.3;
  }
  .hero__sub {
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 24px;
  }
  .hero__actions { flex-direction: column; align-items: stretch; gap: 12px; width: 100%; }
  .hero__actions .btn {
    width: 100%;
    min-width: 0;
    min-height: 48px;
    padding: 14px 20px;
    font-size: 0.95rem;
  }
  /* Scroll-Indikator auf Mobile mittig statt rechts; bleibt klickbar. */
  .hero__scroll-hint {
    right: auto;
    left: 50%;
    transform: translateX(-50%);
    bottom: 24px;
  }
  .hero__scroll-hint span { display: none; }    /* Label weg, Linie reicht */
  .scroll-line { height: 40px; }
  /* Auf Mobile nimmt der Text prozentual mehr Bildbreite ein →
     Verlauf etwas dichter, harmoniert mit dem darunter folgenden
     schwarzen Body. */
  .hero__overlay {
    background: linear-gradient(to right,
      rgba(0,0,0,0.85) 0%,
      rgba(0,0,0,0.6) 60%,
      rgba(0,0,0,0.4) 100%);
  }

  /* Marquee: gemächlicher auf Mobile (Lesbarkeit + weniger CPU),
     Schrift leicht reduziert. Animation und Inhalt bleiben unverändert. */
  .marquee-wrap { padding: 12px 0; }
  .marquee-track { animation-duration: 45s; gap: 24px; }
  .marquee-track span { font-size: 0.7rem; letter-spacing: 0.16em; }

  /* Sektionen-Abstand auf Mobile reduzieren (48–64 px). */
  .leistungen,
  .branchen,
  .testimonials,
  .faq,
  .about,
  .contact { padding: 64px 0; }

  .section-header { margin-bottom: 40px; }

  /* Karten einspaltig und deutlich kompakter. Hero-Karte verliert ihre
     doppelte Höhe, behält aber den Goldton-Hintergrund (var(--color-gold)). */
  .leistungen__grid { grid-template-columns: 1fr; gap: 10px; }
  .service-card--feature { grid-column: 1; grid-row: auto; }
  .service-card { padding: 14px 16px; }
  .service-card--feature { padding: 16px 16px; }
  .service-card__icon svg { width: 24px; height: 24px; }
  .service-card--feature .service-card__icon svg { width: 26px; height: 26px; }
  .service-card__icon { margin-bottom: 8px; }
  .service-card__number { font-size: 0.7rem; margin-bottom: 4px; }
  .service-card__title {
    font-size: 1.15rem;
    line-height: 1.2;
    margin-bottom: 6px;
    /* Auf Mobile dürfen längere Titel umbrechen statt overflow. */
    white-space: normal;
  }
  .service-card__title--two-line { font-size: 1.1rem; }
  .service-card__text { font-size: 0.82rem; line-height: 1.45; }
  .service-card--feature .service-card__title { font-size: 1.25rem; }
  .service-card--feature .service-card__text { font-size: 0.85rem; }
  /* Tags wrappen statt horizontal scrollen, kompakte Pills. */
  .service-card__tags { flex-wrap: wrap; overflow: visible; gap: 6px; }
  .service-card__tag { font-size: 0.65rem; padding: 3px 8px; }

  /* Mobile: Sektions-Padding kompakter (60–80px nach Spec). */
  .about { padding: 72px 0 60px; }
  .about .section-title { font-size: clamp(1.8rem, 7vw, 2.6rem); }
  .about__lead {
    font-size: 1rem;
    line-height: 1.55;
    margin: 18px 0 12px;
  }
  .about__body {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 22px;
  }
  .about__quote {
    font-size: 1.1rem;
    line-height: 1.55;
    margin: 28px 0;
    padding: 8px 0 8px 18px;
  }
  .about__quote-author { padding-left: 18px; margin-bottom: 22px; }
  /* Werte-Karten einspaltig stapeln, kompaktes Padding. */
  .about__values { grid-template-columns: 1fr; gap: 14px; margin-top: 44px; padding: 0 20px; }
  .about__value { padding: 20px 22px; }
  .about__value strong { font-size: 1.15rem; }
  .about__value p { font-size: 0.92rem; line-height: 1.55; }
  /* Visitenkarte: 320–400px Höhe nach Spec. 1:1 ergibt bei ~320–360px
     Container-Breite eine Höhe in genau diesem Bereich. */
  .about__img-frame { aspect-ratio: 1/1; max-width: 100%; }
  .about__img-meta { left: 20px; bottom: 20px; }
  .about__img-meta strong { font-size: 1.2rem; }
  .about__inner { padding: 0 20px; gap: 40px; }

  /* Statistiken: 3 Spalten nebeneinander BLEIBEN auf Mobile (Spec).
     Zahlen ca. 1.6rem (≤ 2rem laut Spec), Gap kleiner. */
  .about__metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    flex-direction: row;
    gap: 8px;
    padding: 16px 14px;
    text-align: center;
  }
  .about__metric { align-items: center; text-align: center; }
  .about__metric-num {
    font-size: 1.6rem;
    margin-bottom: 4px;
    white-space: nowrap;
  }
  .about__metric-label {
    font-size: 0.62rem;
    letter-spacing: 0.08em;
    line-height: 1.2;
    white-space: nowrap;
  }

  /* Mobile: Branchen-Zeile von horizontal auf vertikal gestapelt
     umstellen, Schriftgrößen reduzieren. Card-Höhe automatisch. */
  .branchen-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 22px 0;
  }
  .branchen-row__head { flex: 1 1 auto; width: 100%; gap: 12px; }
  .branchen-name { font-size: 1.25rem; }
  .branchen-description { flex: 1 1 auto; font-size: 0.95rem; line-height: 1.55; }

  /* Karte: kompakter (24×20 nach Spec), keine starre Mindesthöhe —
     kürzere Zitate führen nicht mehr zu großen Leerräumen.
     Hintergrund (var(--color-bg-card) = #16161a) und Border kommen
     aus der Basis-Definition und sind für alle Karten identisch. */
  .testimonial-card { padding: 24px 20px; min-height: auto; }
  .testimonial-card .testimonial-card__text {
    font-size: 0.95rem;
    line-height: 1.6;
    padding-bottom: 20px;
  }
  .testimonial-card .testimonial-card__author { margin-top: 20px; padding-top: 18px; }
  /* Slider-Pfeile auf Smartphone: Touch-Target ≥44×44, kein Overlap mit Card-Inhalt. */
  .testimonial-slider { padding: 0 44px; }
  .testimonial-slider__arrow {
    width: 44px;
    height: 44px;
  }
  /* Dots auf Mobile: Touch-Target ≥44×44 via padding + content-box clipping —
     sichtbarer Punkt 8px klein, aktiver Punkt 24×8 als Pille (Goldton),
     klickbare Fläche 44×44. */
  .testimonial-slider__dot {
    box-sizing: content-box;
    background-clip: content-box;
    width: 8px;
    height: 8px;
    padding: 18px;
  }
  .testimonial-slider__dot.is-active {
    width: 24px;
    height: 8px;
    border-radius: 4px;
  }
  .testimonial-slider__dots { margin-top: 22px; gap: 0; }

  /* Kontakt: Spalten gestapelt (aus 1024 geerbt), Map mit fester Höhe,
     Form full-width, Inputs 16px (kein iOS-Zoom), min-height 48px. */
  .contact__maps { margin-top: 24px; }
  .maps-wrapper { height: 260px; }
  .maps-gate { padding: 28px 22px; gap: 14px; }
  .contact__info { gap: 16px; }
  .contact__info-item { font-size: 0.92rem; }
  /* Formular entfernt — sämtliche Form-Mobile-Regeln obsolet.
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact__form { padding: 24px 22px; }
  .contact__form h3 { font-size: 1.3rem; margin-bottom: 20px; }
  .form-group { margin-bottom: 16px; gap: 6px; }
  .form-group label { white-space: normal; }
  .form-group input,
  .form-group select,
  .form-group textarea {
    font-size: 16px;
    padding: 14px 14px;
    min-height: 48px;
  }
  .form-group textarea { min-height: 120px; }
  #submit-btn,
  .btn--full { width: 100%; min-height: 48px; }
  .dsgvo-checkbox { gap: 12px; align-items: flex-start; margin-bottom: 18px; }
  .dsgvo-checkbox input { width: 22px; height: 22px; margin-top: 1px; }
  .dsgvo-checkbox label { font-size: 0.85rem; line-height: 1.55; }
  */

  /* Footer: Branding-Block + Kontakt-Block untereinander, beide
     vollständig zentriert. Brand vertikal gestapelt, damit Logo und
     Tagline auf schmalen Geräten balanciert wirken. Spacings fluide
     via clamp, damit der Footer von 320px–430px sauber skaliert. */
  .footer { padding: clamp(36px, 9vw, 48px) 0 0; }
  .footer__top {
    grid-template-columns: 1fr;
    padding: 0 clamp(16px, 5vw, 24px) clamp(20px, 6vw, 28px);
    gap: clamp(24px, 7vw, 32px);
  }
  .footer__brand {
    justify-self: center;
    flex-direction: column;
    gap: clamp(8px, 2.5vw, 12px);
    align-items: center;
    text-align: center;
  }
  .footer__logo {
    height: clamp(56px, 16vw, 72px);
    transform: none;
  }
  .footer__brand-text { align-items: center; }
  .footer__brand-name {
    font-size: clamp(1.05rem, 4.5vw, 1.25rem);
    margin-bottom: clamp(2px, 1vw, 4px);
  }
  .footer__brand-tagline {
    font-size: clamp(0.65rem, 2.6vw, 0.78rem);
    letter-spacing: clamp(0.1em, 0.5vw, 0.16em);
    white-space: normal;
  }
  .footer__nav-col:last-child {
    justify-self: center;
    text-align: center;
  }
  /* Heading als inline-block zentriert über der Liste — so richtet
     sie sich an der tatsächlichen Listenbreite aus, nicht an der
     Spaltenmitte. */
  .footer__nav-col h4 {
    font-size: clamp(0.78rem, 3.2vw, 0.88rem);
    display: inline-block;
    width: fit-content;
    margin: 0 auto clamp(10px, 3vw, 14px);
  }
  /* Kontakt-Liste als Block zentriert unter dem Branding,
     Items innerhalb des Blocks linksbündig (Icon links vor Text). */
  .footer__nav-col ul {
    align-items: flex-start;
    gap: clamp(10px, 3vw, 14px);
    width: fit-content;
    margin: 0 auto;
  }
  .footer__nav-col a,
  .footer__nav-col span {
    font-size: clamp(0.82rem, 3.2vw, 0.92rem);
    gap: clamp(8px, 2.5vw, 12px);
  }
  /* Pin-Icon vertikal mittig zur zweizeiligen Adresse — auf Mobile
     zwischen Straße und PLZ-Zeile zentriert (statt am Top der ersten
     Zeile wie auf Desktop). */
  .footer__nav-col span.footer__address { align-items: center; }
  .footer__nav-col span.footer__address > svg { margin-top: 0; }
  .footer__bottom {
    flex-direction: column;
    gap: clamp(8px, 2.5vw, 12px);
    text-align: center;
    padding: clamp(14px, 4vw, 18px) clamp(16px, 5vw, 20px);
    /* iOS Safari Bottom-Toolbar berücksichtigen — Reserve für
       Home-Indicator/Safe-Area, damit Impressum/Datenschutz nicht
       von der UI-Toolbar überdeckt wirken. */
    padding-bottom: max(clamp(14px, 4vw, 18px), env(safe-area-inset-bottom));
    font-size: clamp(0.7rem, 2.8vw, 0.8rem);
  }
  .footer__legal { gap: clamp(16px, 5vw, 22px); }
  .footer__legal a {
    padding: clamp(6px, 2vw, 8px) clamp(2px, 1vw, 4px);
    min-height: 36px;
    display: inline-flex;
    align-items: center;
  }

  /* Modale: nahezu Vollbild mit innerem Scroll. */
  .modal-card {
    width: 95vw;
    max-width: 95vw;
    max-height: 90vh;
    padding: 32px 20px 24px;
  }
  .modal-close {
    width: 44px;
    height: 44px;
    top: 8px;
    right: 8px;
    font-size: 1.5rem;
  }

  /* FAQ: Klickfläche & Lesbarkeit. Pfeil-Icon Touch-Target ≥44px durch
     Klickfläche der Question (sie umfasst das Icon mit). */
  .faq__list { gap: 12px; }
  .faq-question {
    padding: 18px 20px;
    min-height: 56px;
    font-size: 1.05rem;
    line-height: 1.35;
    gap: 16px;
  }
  .faq-answer-inner { padding: 0 20px 22px; font-size: 0.92rem; line-height: 1.65; }
  .faq-chevron { width: 22px; height: 22px; flex-shrink: 0; }

  /* Nav-CTA bleibt versteckt im Mobile-Menü ausreichend groß. */
  .nav__cta { min-height: 44px; padding: 12px 20px; }

  /* Mandantenstimmen-Slider: Sprecher-Info nach Mobile-Spec. */
  .testimonial-card__author strong { font-size: 0.95rem; }
  .testimonial-card__author span { font-size: 0.8rem; white-space: normal; }

}

/* === KLEINES MOBILE: ≤380px ===
   Galaxy S22 (360px), kleine Androids und ältere Geräte. Reduziert
   horizontales Padding und schaltet den Testimonial-Slider in ein
   Grid-Layout um, in dem Pfeile UND Dots gemeinsam unter der Karte
   stehen statt sie zu flankieren. */
@media (max-width: 380px) {
  .container { padding: 0 16px; }
  .nav { padding: 0 16px; }
  .nav__logo { height: 44px; }
  .nav__name { font-size: 0.9rem; }
  .nav__tagline { font-size: 0.48rem; }
  .mobile-menu { padding: 20px 16px 24px; }

  /* Hero auf sehr kleinen Geräten: Brand bleibt durch clamp im Limit. */
  .hero { padding: 96px 16px 110px; }
  .hero__sub { font-size: 0.9rem; margin-bottom: 26px; line-height: 1.6; }
  .hero__actions { gap: 10px; }
  .hero__actions .btn {
    width: 100%;
    min-width: 0;
    padding: 13px 16px;
    font-size: 0.88rem;
  }

  .marquee-track { gap: 24px; }
  .marquee-track span { font-size: 0.68rem; }

  /* Sektionen extra-kompakt */
  .leistungen,
  .branchen,
  .testimonials,
  .faq,
  .about,
  .contact { padding: 64px 0 56px; }

  .section-header { margin-bottom: 32px; }

  /* Karten auf sehr schmalen Screens noch eine Stufe kompakter. */
  .service-card { padding: 12px 14px; }
  .service-card--feature { padding: 14px 14px; }
  .service-card__title { font-size: 1.05rem; }
  .service-card__title--two-line { font-size: 1rem; }
  .service-card__text { font-size: 0.78rem; }
  .service-card--feature .service-card__title { font-size: 1.15rem; }
  .service-card--feature .service-card__text { font-size: 0.82rem; }
  .service-card__icon svg { width: 22px; height: 22px; }
  .service-card--feature .service-card__icon svg { width: 24px; height: 24px; }

  /* Auf sehr schmalen Screens: nowrap aufheben, wo Lesbarkeit Vorrang hat */
  .service-card__title,
  .about__value strong,
  .about__img-meta strong { white-space: normal; }

  .about__inner { gap: 36px; padding: 0 16px; }
  .about__values { padding: 0 16px; margin-top: 36px; }
  .about__value { padding: 22px 20px; }
  .about__lead { font-size: 0.98rem; margin: 18px 0 12px; }
  .about__body { font-size: 0.9rem; margin-bottom: 22px; }
  .about__quote { font-size: 1rem; padding: 8px 0 8px 14px; margin: 24px 0; }
  .about__quote-author { padding-left: 16px; margin-bottom: 22px; }
  /* Stats-Block bleibt 3-spaltig, nur Schrift und Padding verkleinert. */
  .about__metrics { padding: 14px 8px; gap: 6px; }
  .about__metric-num { font-size: 1.4rem; }
  .about__metric-label { font-size: 0.58rem; }
  .about__img-bezel { inset: -6px; }
  .about__img-meta { left: 16px; bottom: 16px; }
  .about__img-meta strong { font-size: 1.1rem; }

  /* Branchen-Liste auf sehr kleinen Screens: Padding und Schriften
     leicht weiter reduzieren, vertikales Stapeln bleibt aus dem
     767px-Breakpoint erhalten. */
  .branchen-row { padding: 18px 0; }
  .branchen-icon { width: 22px; height: 22px; }
  .branchen-name { font-size: 1.15rem; }
  .branchen-description { font-size: 0.86rem; }

  .testimonial-card { padding: 32px 20px; }

  /* Auf sehr schmalen Screens: Pfeile unter die Karte, in Reihe mit den Dots. */
  .testimonial-slider { padding: 0; }
  .testimonial-slider__arrow {
    position: static;
    transform: none;
    width: 40px;
    height: 40px;
  }
  .testimonial-slider__dots {
    margin-top: 20px;
    align-items: center;
    gap: 10px;
  }
  .testimonial-slider__dot { width: 8px; height: 8px; }
  .testimonial-slider__dot.is-active { width: 22px; }
  /* Pfeile + Dots in eine Zeile unterhalb des Tracks */
  .testimonial-slider {
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-template-areas:
      "viewport viewport viewport"
      "prev dots next";
    column-gap: 8px;
    row-gap: 16px;
  }
  .testimonial-slider__viewport { grid-area: viewport; }
  .testimonial-slider__arrow--prev { grid-area: prev; }
  .testimonial-slider__arrow--next { grid-area: next; }
  .testimonial-slider__dots { grid-area: dots; margin-top: 0; }

  .faq-question { font-size: 1rem; padding: 16px 18px; gap: 14px; }
  .faq-answer-inner { font-size: 0.9rem; padding: 0 18px 18px; }

  .contact__info-item { font-size: 0.88rem; }
  /* Formular entfernt — Form-Padding/Input-Regeln obsolet.
  .contact__form { padding: 20px 16px; }
  .form-group input,
  .form-group select,
  .form-group textarea { font-size: 16px; padding: 12px 14px; }
  */

  .footer { padding: 36px 0 0; }
  /* Goldton-Trennstrich auf schmalen Screens proportional anpassen. */
  .footer::before { width: 90%; }
  /* Feste Untergrenzen für Geräte ≤380px (Galaxy S22, iPhone SE);
     hält die clamp()-Werte aus dem 600px-Breakpoint nach unten ab. */
  .footer__logo { height: 56px; }
  .footer__brand-name { font-size: 1rem; }
  .footer__brand-tagline { font-size: 0.65rem; letter-spacing: 0.1em; }
  /* margin-bottom als Shorthand mit auto, sonst zerschießt es das
     auto-Margin der inline-block-Heading aus dem 600px-Block. */
  .footer__nav-col h4 { margin: 0 auto 12px; }
  .footer__nav-col a,
  .footer__nav-col span { font-size: 0.82rem; }

  .modal-card { padding: 24px 16px 20px; max-height: calc(100vh - 32px); }
  .modal-close { top: 10px; right: 10px; }

  /* Buttons auf kleinem Screen kompakter, aber mind. 44px hoch */
  .btn { font-size: 0.85rem; padding: 12px 20px; }
}

/* ═══════════════════════════════════════════════════════════════
   AGENT-EFFEKTE
   Wiederkehrendes Markenelement (Agent-Figur aus dem Logo) als
   subtiler Cursor-Begleiter (Option A) und Scroll-To-Top-Button
   (Option E). JS injiziert die Elemente am Ende von <body>;
   alle Effekte sind dekorativ → aria-hidden bzw. eindeutiges
   aria-label am klickbaren Button.
   ═══════════════════════════════════════════════════════════════ */
.agent-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 28px;
  height: 28px;
  margin: -14px 0 0 -14px;     /* zentriert auf die Cursor-Position */
  pointer-events: none;
  z-index: 95;                  /* unter Nav (100) + Mobile-Menu (99) + Modals (9999) */
  opacity: 0;
  transition: opacity 0.5s var(--ease-out);
  will-change: transform, opacity;
}
.agent-cursor.is-visible { opacity: 0.55; }
.agent-cursor.is-suppressed { opacity: 0; } /* über Buttons/Links/Inputs ausgeblendet */
.agent-cursor img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 1px 4px rgba(0,0,0,0.5));
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

.agent-scroll-top {
  position: fixed;
  right: 28px;
  bottom: 28px;
  width: 62px;
  height: 62px;
  padding: 10px;
  display: grid;
  place-items: center;
  background: rgba(20,20,22,0.85);
  border: 1px solid rgba(196,169,107,0.35);
  border-radius: 50%;
  cursor: pointer;
  z-index: 90;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition:
    opacity 0.3s var(--ease-out),
    transform 0.3s var(--ease-out),
    border-color 0.25s var(--ease-out),
    background 0.25s var(--ease-out);
}
.agent-scroll-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.agent-scroll-top:hover {
  border-color: var(--gold);
  background: rgba(28,28,32,0.95);
}
.agent-scroll-top:active { transform: translateY(0) scale(0.96); }
.agent-scroll-top:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.agent-scroll-top img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

/* Auf Touch-Geräten: Cursor-Begleiter komplett deaktivieren —
   Scroll-To-Top bleibt funktional. Hover-spezifische Lift-Effekte
   ohne Touch-Pendant deaktivieren, damit Interaktion auf Touch
   nicht „hängt" (z. B. CTA bleibt im Hover-Zustand nach Tap). */
@media (hover: none), (pointer: coarse) {
  .agent-cursor { display: none !important; }
  .btn-primary:hover,
  .btn--primary:hover,
  .nav__cta:hover { transform: none; box-shadow: none; }
  .service-card:hover,
  .testimonial-card:hover,
  .about__value:hover { box-shadow: 0 4px 24px rgba(0,0,0,0.4); }
  .testimonial-slider__dot:hover { background: rgba(196,169,107,0.28); }
}

/* Scroll-To-Kontakt-Button auf Mobile dezent kleiner (Spec: 48–56px),
   am rechten Rand mit angenehmem Abstand. */
@media (max-width: 600px) {
  .agent-scroll-top {
    right: 18px;
    bottom: 18px;
    width: 60px;
    height: 60px;
    padding: 10px;
  }
}
@media (max-width: 380px) {
  .agent-scroll-top {
    right: 14px;
    bottom: 14px;
    width: 55px;
    height: 55px;
    padding: 8px;
  }
}

/* ═══════════════════════════════════════════════════════════════
   Spezial-Effekte
   Erweiterte Animations-Schicht: Active-Nav-Pulse, Word-Reveal,
   Service-Card-Border-Sweep, Typewriter-Caret, Agent-Wave,
   Konfetti, Magnetic-Buttons. Alle dezent, im Premium-Look.
   ═══════════════════════════════════════════════════════════════ */

/* ─── Active-Nav-Pulse ──────────────────────────────────────────
   Header-Link der aktuell sichtbaren Sektion pulsiert dezent
   im Goldton (text-shadow). .active-Klasse wird vom JS gesetzt
   (siehe updateActiveNav / IntersectionObserver). */
.nav__links a.active {
  animation: navPulse 2.5s ease-in-out infinite;
}
@keyframes navPulse {
  0%, 100% { text-shadow: 0 0 0 rgba(201,169,97,0); }
  50%      { text-shadow: 0 0 12px rgba(201,169,97,0.5); }
}

/* ─── Word-by-word Text Reveal ──────────────────────────────────
   Sektions-Headlines blenden Wort für Wort ein, sobald sie
   ins Viewport kommen. JS splittet die Headline in
   <span class="reveal-word"> und setzt --delay pro Wort. */
.text-reveal { /* Wrapper-Hook — Sichtbarkeit gesteuert über is-revealed */ }
.reveal-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  transition-delay: var(--delay, 0s);
  /* Erhält Italic/Goldton-Formatierung für eingebettete <em>-Tags */
  will-change: opacity, transform;
}
.text-reveal.is-revealed .reveal-word {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Typewriter-Effekt für Italic-Goldton-Teile ─────────────────
   Caret blinkt während des Tippens. JS füllt textContent
   Buchstabe für Buchstabe und entfernt is-typing am Ende. */
.typewriter.is-typing::after {
  content: '|';
  display: inline-block;
  margin-left: 2px;
  color: var(--gold);
  font-weight: 400;
  animation: caretBlink 0.7s steps(2) infinite;
}
@keyframes caretBlink {
  to { opacity: 0; }
}

/* ─── Agent-Wave ────────────────────────────────────────────────
   Floating-Agent-Button (Scroll-zum-Kontakt) tippt sich alle 45s
   kurz an den Hut. Im Hover/Focus pausiert die Animation. */
.agent-scroll-top img {
  transform-origin: bottom center;
  animation: agentWave 45s ease-in-out infinite;
}
.agent-scroll-top:hover img,
.agent-scroll-top:focus-visible img {
  animation-play-state: paused;
}
@keyframes agentWave {
  0%, 88%, 100% { transform: rotate(0deg); }
  90% { transform: rotate(-8deg); }
  92% { transform: rotate(6deg); }
  94% { transform: rotate(-5deg); }
  96% { transform: rotate(4deg); }
  98% { transform: rotate(0deg); }
}

/* ─── Confetti / Goldregen ──────────────────────────────────────
   JS-injizierte Partikel beim erfolgreichen Form-Submit.
   2–3s Lebensdauer, dann automatische Entfernung. */
.confetti-container {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  overflow: hidden;
}
.confetti-particle {
  position: absolute;
  top: -20px;
  width: 8px;
  height: 12px;
  border-radius: 2px;
  animation: confettiFall linear forwards;
  box-shadow: 0 0 8px rgba(201,169,97,0.6);
  will-change: transform, opacity;
}
@keyframes confettiFall {
  to {
    transform: translateY(110vh) rotate(720deg);
    opacity: 0;
  }
}

/* ─── Magnetic Buttons ─────────────────────────────────────────
   Sanfte Cursor-Anziehung. JS setzt transform inline; Easing
   sorgt für weiches Aus-/Einlaufen. Nur auf Hover-Geräten,
   JS-seitig per matchMedia gegated. */
.btn-magnetic {
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1),
              background 0.25s var(--ease-out),
              color 0.25s var(--ease-out),
              box-shadow 0.25s var(--ease-out),
              filter 0.25s var(--ease-out),
              border-color 0.25s var(--ease-out);
}

/* Auf Touch-Geräten: Magnetic-Effect wird im JS deaktiviert,
   die transition-Regel bleibt unschädlich. Border-Sweep ist
   bereits über @media (hover: hover) gegated. */

/* === Mandantenstimmen-Pagination Mobile-Fix ===
   Behebt verbuggte Darstellung auf Mobile: aktiver Dot wurde fälschlich
   als großer goldener Block (~60×40 px) gerendert, weil
   `.testimonial-slider__dot.is-active { background: var(--gold); }` als
   Shorthand das vorgelagerte `background-clip: content-box` (für das
   44×44-Touch-Target via padding:18px) zurücksetzt — der Goldton füllt
   dann die volle Außenbox statt nur die 24×8-Pille.
   Lösung: aggressive Overrides mit !important — Padding zurück auf 0,
   feste Maße, explizite Pseudo-Element-Resets. Desktop (≥1280px)
   bleibt vollständig unverändert. */
@media (max-width: 1024px) {
  /* Container der Pagination zurücksetzen */
  .testimonial-slider__dots {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 8px !important;
    margin-top: 24px !important;
    padding: 0 !important;
    list-style: none !important;
    width: 100% !important;
    height: auto !important;
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    transform: none !important;
  }

  /* Inaktive Punkte */
  .testimonial-slider__dot {
    box-sizing: border-box !important;
    background-clip: border-box !important;
    width: 8px !important;
    height: 8px !important;
    min-width: 8px !important;
    min-height: 8px !important;
    max-width: 8px !important;
    max-height: 8px !important;
    border-radius: 50% !important;
    background: rgba(201, 169, 97, 0.3) !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
    cursor: pointer !important;
    transition: background 0.3s ease, width 0.3s ease !important;
    flex-shrink: 0 !important;
    text-indent: -9999px !important;
    overflow: hidden !important;
    opacity: 1 !important;
    font-size: 0 !important;
  }

  /* Pseudo-Elemente innerhalb der Buttons komplett verstecken */
  .testimonial-slider__dot::before,
  .testimonial-slider__dot::after {
    display: none !important;
    content: '' !important;
    width: 0 !important;
    height: 0 !important;
    font-size: 0 !important;
  }

  /* Aktiver Punkt — leicht länger als Pille, gleiche Höhe */
  .testimonial-slider__dot.is-active {
    width: 24px !important;
    min-width: 24px !important;
    max-width: 24px !important;
    height: 8px !important;
    min-height: 8px !important;
    max-height: 8px !important;
    border-radius: 4px !important;
    background-color: var(--color-gold, #c9a961) !important;
    background-image: none !important;
    background-clip: border-box !important;
    box-shadow: none !important;
    transform: none !important;
  }
}

/* Sehr kleine Geräte: Galaxy S22 (360 px) und kleiner. */
@media (max-width: 380px) {
  .testimonial-slider__dot {
    width: 7px !important;
    height: 7px !important;
    min-width: 7px !important;
    min-height: 7px !important;
    max-width: 7px !important;
    max-height: 7px !important;
  }

  .testimonial-slider__dot.is-active {
    width: 20px !important;
    min-width: 20px !important;
    max-width: 20px !important;
    height: 7px !important;
    min-height: 7px !important;
    max-height: 7px !important;
  }
}

/* === Leistungs-Karten Mobile Höhen-Fix ===
   Ursache des leeren Whitespaces unter Karten wie „08 — Mandantenbetreuung":
   `.leistungen__grid { grid-auto-rows: 1fr; }` (Zeile 727) zwingt im
   Single-Column-Mobile-Layout alle Karten auf die Höhe der höchsten
   Karte. Auf Mobile soll jede Karte ihrer Inhaltshöhe folgen.
   Lösung: grid-auto-rows zurücksetzen, align-items: start, Hero-Karte
   entgrid-spannen, Karten-Höhe nicht künstlich strecken. Desktop
   (≥1280px) bleibt vollständig unverändert. */
@media (max-width: 1024px) {
  .leistungen__grid {
    grid-auto-rows: auto !important;
    align-items: start !important;
  }

  .service-card--feature {
    grid-row: auto !important;
    grid-column: auto !important;
  }

  .service-card {
    padding: 18px 18px !important;
    min-height: auto !important;
    height: auto !important;
  }
}

@media (max-width: 600px) {
  .service-card {
    padding: 16px 16px !important;
  }

  .service-card__number {
    margin-bottom: 6px;
  }

  .service-card__icon {
    margin-bottom: 8px;
  }

  .service-card__title {
    margin-bottom: 6px;
    line-height: 1.2;
  }

  .service-card__text {
    margin-bottom: 0;
  }

  .leistungen__grid {
    gap: 10px !important;
  }
}

/* Sehr kleine Geräte */
@media (max-width: 380px) {
  .service-card {
    padding: 14px 14px !important;
  }
}

/* === Goldton-Mobile-Normalisierung ===
   Ursache des „bräunlich-stumpfen" Eindrucks auf Mobile war NICHT eine
   abweichende Hex-Variable — `--color-gold: #c9a961` gilt global —,
   sondern sticky `:hover`/`:active`-States auf Touch-Geräten:
   • `.btn-primary:active { filter: brightness(0.96); }` (Zeile 270)
     bleibt auf einigen Android-Browsern nach Tap kleben → Button
     wirkt dauerhaft dunkler.
   • `.btn-primary:hover { background: var(--gold-light); box-shadow:
     0 8px 32px rgba(196,169,107,0.35); }` (Zeile 263–265) bleibt
     auf iOS Safari nach Tap im Hover-Zustand → bräunlicher Schein.
   • `.service-card--feature:hover { filter: brightness(1.03);
     border-color: rgba(0,0,0,0.4); }` (Zeile 850–856) gleiches
     Sticky-Hover-Verhalten auf Hero-Karte 01.
   Lösung: Hintergrund explizit als var(--color-gold) festschreiben
   und Filter/Opacity/Blend-Mode auf den Goldton-Elementen auf Mobile
   und Touch-Geräten zurücksetzen. Desktop (≥1280px) bleibt
   vollständig unverändert. */
@media (max-width: 1024px) {
  /* Alle Voll-Goldton-Flächen: Hintergrund auf den kanonischen
     Token-Wert pinnen, jegliche Tönung durch Filter/Opacity/Blend
     entfernen. */
  .btn-primary,
  .btn--primary,
  .service-card--feature,
  .testimonial-slider__dot.is-active,
  .swiper-pagination-bullet-active {
    background-color: var(--color-gold) !important;
    background-image: none !important;
    opacity: 1 !important;
    filter: none !important;
    mix-blend-mode: normal !important;
  }

  /* Goldton-Text/Icons/Borders ebenfalls voll deckend — keine
     versehentliche Abdunklung durch geerbte opacity/filter. */
  .eyebrow,
  .section-label,
  .footer__nav-col h4,
  .footer__brand-name,
  .stat__num,
  .testimonial-card__stars,
  .testimonial-slider__arrow,
  .service-card__tag {
    opacity: 1 !important;
    filter: none !important;
    mix-blend-mode: normal !important;
  }
}

/* Touch-Geräte: sticky :hover/:active-States, die den Goldton
   tönen, komplett deaktivieren. Greift unabhängig von der
   Viewport-Breite, schützt also auch große Touch-Laptops. */
@media (hover: none), (pointer: coarse) {
  .btn-primary,
  .btn--primary,
  .btn-primary:hover,
  .btn--primary:hover,
  .btn-primary:active,
  .btn--primary:active,
  .btn-primary:focus,
  .btn--primary:focus {
    background-color: var(--color-gold) !important;
    background-image: none !important;
    filter: none !important;
    opacity: 1 !important;
    mix-blend-mode: normal !important;
  }

  .service-card--feature,
  .service-card--feature:hover,
  .service-card--feature:active,
  .service-card--feature:focus,
  .service-card--feature:focus-within {
    background-color: var(--color-gold) !important;
    background-image: none !important;
    filter: none !important;
    opacity: 1 !important;
    mix-blend-mode: normal !important;
  }
}

/* ─── Reduced Motion ───────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  html { scroll-behavior: auto !important; }
  /* Marquee komplett anhalten, Inhalt bleibt als statische Liste sichtbar. */
  .marquee-track { animation: none !important; transform: none !important; }
  .scroll-line { animation: none !important; }
  /* Reveal-Animationen: sofort sichtbar, kein Slide. */
  .reveal { opacity: 1 !important; transform: none !important; }
  /* Word-Reveal: alle Worte sofort sichtbar, kein Stagger. */
  .reveal-word { opacity: 1 !important; transform: none !important; transition: none !important; }
  /* Typewriter-Caret aus. */
  .typewriter.is-typing::after { animation: none !important; opacity: 0 !important; }
  /* Agent-Wave aus. */
  .agent-scroll-top img { animation: none !important; transform: none !important; }
  /* Konfetti aus — Trigger im JS bricht zusätzlich ab. */
  .confetti-particle { animation: none !important; display: none !important; }
  /* Magnetic-Buttons: keine transform-Bewegung. */
  .btn-magnetic { transform: none !important; }
  /* Agent-Effekte: Cursor-Begleiter aus, Scroll-To-Top bleibt
     funktional (nur ohne Bewegung). */
  .agent-cursor { display: none !important; }
  .agent-scroll-top { transition: none !important; transform: none !important; }
}

/* === Kontaktformular entfernt — Layout-Anpassung ===
   Die Kontakt-Section war zweispaltig (Adressblock + Formular).
   Nach Entfernung des Formulars bleibt nur die linke Spalte. Wir
   setzen das Grid auf eine Spalte und begrenzen die Breite, damit
   der Inhalt nicht über die ganze Section gezogen wird. */
.contact__grid {
  grid-template-columns: 1fr !important;
  max-width: 640px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
@media (max-width: 768px) {
  .contact__grid { max-width: 100% !important; }
}
