/* ==========================================================================
   Durchgeklickt — Landingpage, Bauhaus-inspiriertes Design (auf Wunsch von
   Daniel, 2026-08-05). Grundformen-Theorie nach Kandinsky (Bauhaus-Fragebogen
   1923): Quadrat=Rot, Kreis=Blau, Dreieck=Gelb -- dieselbe Zuordnung wie im
   Logo (assets/logo-mark.svg), konsequent als Farbpalette weitergefuehrt.
   Harte Kanten statt runder Ecken, flache Offset-Schatten statt weichem Blur,
   geometrische Grotesk-Schrift, sichtbare Rasterlinien -- bewusst eigenstaendig
   von DESIGN_BIBLE.md (dunkles AEGIS-Cyberpunk-HUD-Theme der internen App).
   ========================================================================== */

/* ---------- Design Tokens ---------- */
:root {
  --color-bg: #F4F1EA;
  --color-bg-alt: #EAE3D3;
  --color-surface: #FFFFFF;
  --color-black: #1A1A1A;
  --color-text: #1A1A1A;
  --color-text-muted: #5A564C;
  --color-red: #D6321C;
  --color-blue: #1B4F9C;
  --color-yellow: #F5B700;
  /* Dunklere Rot-Variante NUR fuer Textfarbe (nicht Flaechen/Buttons) -- echt mit
     Lighthouse gefunden: #D6321C als Textfarbe auf Creme unterschreitet WCAG-AA
     (4.30:1 statt noetiger 4.5:1). #B8280F erreicht 4.91-6.27:1 je Untergrund. */
  --color-red-text: #B8280F;
  --border-hard: 2px solid var(--color-black);
  --shadow-offset: 5px 5px 0 var(--color-black);
  --shadow-offset-sm: 3px 3px 0 var(--color-black);
  --max-width: 1080px;
  --font-display: 'Century Gothic', 'Poppins', 'Futura', 'Trebuchet MS', sans-serif;
  --font-body: 'Poppins', 'Century Gothic', 'Trebuchet MS', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  line-height: 1.2;
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(30px, 4.6vw, 46px); text-transform: uppercase; letter-spacing: 0; }
h2 { font-size: clamp(24px, 3.2vw, 32px); text-align: center; text-transform: uppercase; }
h3 { font-size: 18px; text-transform: uppercase; letter-spacing: 0.01em; }
p { margin: 0 0 12px; color: var(--color-text-muted); }

a { color: var(--color-blue); }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
}
.skip-link:focus {
  left: 12px;
  top: 12px;
  background: var(--color-surface);
  padding: 10px 16px;
  border: var(--border-hard);
  z-index: 999;
}

/* ---------- Section index numbers (Bauhaus/Swiss editorial convention) ---------- */
.section-index {
  display: block;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.15em;
  color: var(--color-red-text);
  margin-bottom: 10px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--color-bg);
  border-bottom: var(--border-hard);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo img { width: 34px; height: 34px; display: block; }
.logo-word {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 0.01em;
  color: var(--color-black);
  text-transform: lowercase;
}
.main-nav { display: flex; align-items: center; gap: 24px; }
.main-nav a {
  color: var(--color-text);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.main-nav a:not(.nav-cta):hover { color: var(--color-red); }
.nav-cta {
  background: var(--color-red);
  color: #fff !important;
  padding: 9px 16px;
  border: var(--border-hard);
  box-shadow: var(--shadow-offset-sm);
}

/* ---------- Sections ---------- */
.section { padding: 76px 0; }
.section-alt { background: var(--color-bg-alt); border-top: var(--border-hard); border-bottom: var(--border-hard); }
.section-intro {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 40px;
  font-size: 16px;
}

/* ---------- Hero ---------- */
.hero { padding: 88px 0 76px; }
.hero-inner { text-align: center; max-width: 780px; margin: 0 auto; }
.eyebrow {
  color: var(--color-blue);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 13px;
  margin-bottom: 12px;
  font-family: var(--font-display);
}
.hero-sub { font-size: 17px; max-width: 620px; margin: 0 auto 30px; }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 20px;
}
.hero-trust { font-size: 13px; color: var(--color-text-muted); letter-spacing: 0.02em; }

/* ---------- Buttons (hart, kantig, Offset-Schatten) ---------- */
.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border: var(--border-hard);
  padding: 14px 28px;
  font-size: 14.5px;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.btn-primary {
  background: var(--color-red);
  color: #fff !important;
  box-shadow: var(--shadow-offset);
}
.btn-primary:hover,
.btn-primary:focus-visible {
  transform: translate(3px, 3px);
  box-shadow: 2px 2px 0 var(--color-black);
}
.btn-large { padding: 16px 34px; font-size: 15.5px; }

.zero-cost-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--color-yellow);
  color: var(--color-black);
  font-weight: 700;
  font-family: var(--font-display);
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  padding: 9px 14px;
  border: var(--border-hard);
}

/* ---------- Verlustaversion ---------- */
.loss-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}
.loss-card {
  background: var(--color-surface);
  border: var(--border-hard);
  border-left: 8px solid var(--color-red);
  padding: 22px;
  box-shadow: var(--shadow-offset-sm);
}
.loss-card h3 { margin-bottom: 8px; font-size: 16.5px; }
.loss-card p { margin: 0; font-size: 14.5px; }

/* ---------- Zielgruppen ---------- */
.branchen-grid {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
}
.branchen-grid li {
  background: var(--color-surface);
  border: var(--border-hard);
  padding: 16px 18px;
  font-weight: 700;
  font-family: var(--font-display);
  font-size: 13.5px;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  text-align: center;
  box-shadow: var(--shadow-offset-sm);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.branchen-grid li:hover {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 var(--color-black);
}
.branchen-grid li:nth-child(3n+1) { border-left: 6px solid var(--color-red); }
.branchen-grid li:nth-child(3n+2) { border-left: 6px solid var(--color-blue); }
.branchen-grid li:nth-child(3n+3) { border-left: 6px solid var(--color-yellow); }
.branchen-footnote { text-align: center; font-size: 13.5px; }

/* ---------- Langzeitpartnerschaft (Sprint 123, parallele Session) ---------- */
.partnership-points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.pp-item {
  background: var(--color-surface);
  border: var(--border-hard);
  border-top: 6px solid var(--color-yellow);
  padding: 20px;
  box-shadow: var(--shadow-offset-sm);
}
.pp-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin-bottom: 8px;
}
.pp-item span { display: block; font-size: 14px; color: var(--color-text-muted); }

/* ---------- 3-Schritte ---------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.step-card {
  background: var(--color-surface);
  border: var(--border-hard);
  padding: 28px 24px;
  box-shadow: var(--shadow-offset);
  position: relative;
}
.step-card-highlight { background: var(--color-black); color: #fff; }
.step-card-highlight h3,
.step-card-highlight p { color: #fff; }
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%; /* einzige bewusste Ausnahme: der Kreis ist die dritte
    Bauhaus-Grundform selbst (Kandinsky-Zuordnung), kein rundes UI-Element */
  background: var(--color-blue);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  margin-bottom: 14px;
}
.step-card-highlight .step-number { background: var(--color-yellow); color: var(--color-black); }
.step-card p { font-size: 14.5px; margin: 0; }

/* ---------- Autoritaet (Sprint 123, ersetzt im Markup die Testimonial-Platzhalter unten --
   die .testimonial-*-Regeln bleiben bewusst im Stylesheet stehen, nicht geloescht, siehe
   Daniels Vorgabe "loesche keinen Code, ergaenze nur", fuer den Tag, an dem echte Stimmen
   das .authority-grid wieder ergaenzen/ersetzen). ---------- */
.authority-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
  margin-bottom: 48px;
}
.authority-card {
  background: var(--color-surface);
  border: var(--border-hard);
  border-top: 6px solid var(--color-blue);
  padding: 24px;
  box-shadow: var(--shadow-offset-sm);
}
.authority-card h3 { margin-bottom: 8px; font-size: 16.5px; }
.authority-card p { font-size: 14.5px; margin: 0; }

/* .authority-item: zweite, im aktuellen Markup tatsaechlich verwendete Struktur innerhalb
   von .authority-grid (strong+span statt h3+p, Werkzeuge-Abschnitt) -- .authority-grid selbst
   bleibt als generisches Grid fuer beide Varianten wiederverwendbar. */
.authority-item {
  background: var(--color-surface);
  border: var(--border-hard);
  border-top: 6px solid var(--color-red);
  padding: 22px;
  box-shadow: var(--shadow-offset-sm);
}
.authority-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 17px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.authority-item span { display: block; font-size: 14px; color: var(--color-text-muted); }
.authority-footnote { text-align: center; font-size: 13.5px; }

/* ---------- Testimonials & Partner ---------- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  margin-bottom: 48px;
}
.testimonial-card {
  background: var(--color-surface);
  border: 2px dashed var(--color-black);
  padding: 22px;
  margin: 0;
}
.testimonial-card p {
  font-style: italic;
  font-size: 15px;
  color: var(--color-text);
  margin-bottom: 10px;
}
.testimonial-card cite {
  font-style: normal;
  font-size: 12.5px;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
/* Bewusst KEIN opacity-Dimmen fuer Platzhalter mehr -- reduzierte Opazitaet senkt den
   Text-Kontrast unter WCAG-AA (echt mit Lighthouse gefunden). Der gestrichelte Rahmen
   signalisiert "Platzhalter" bereits eindeutig, ohne den Text schwerer lesbar zu machen. */

.partners { text-align: center; }
.partners-label {
  font-weight: 700;
  font-family: var(--font-display);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  margin-bottom: 16px;
}
.partner-names {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.partner-names span {
  font-weight: 800;
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--color-black);
  border: var(--border-hard);
  padding: 8px 18px;
  background: var(--color-surface);
}
.partners-footnote { font-size: 13px; max-width: 480px; margin: 0 auto; }

/* ---------- Kapazitaet ---------- */
.capacity-section .section-intro { max-width: 680px; }
.capacity-section strong { color: var(--color-red-text); }

/* ---------- Kontakt ---------- */
.kontakt-section { text-align: center; }
.kontakt-inner { max-width: 640px; }
.kontakt-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 18px;
}
.kontakt-direct { font-size: 14px; }

/* ---------- Kontaktformular (Sprint 123, Formspree) ---------- */
.kontakt-form {
  text-align: left;
  background: var(--color-surface);
  border: var(--border-hard);
  box-shadow: var(--shadow-offset);
  padding: 28px;
  margin-bottom: 20px;
}
.form-row { margin-bottom: 16px; }
.form-row label {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 6px;
}
.form-row input,
.form-row textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 15px;
  padding: 11px 12px;
  border: var(--border-hard);
  background: var(--color-bg);
  color: var(--color-text);
}
.form-row input:focus,
.form-row textarea:focus {
  outline: 3px solid var(--color-blue);
  outline-offset: 1px;
}
.form-row textarea { resize: vertical; font-family: var(--font-body); }
.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 6px;
  margin-bottom: 14px;
}
.form-actions .btn { width: auto; }
.form-privacy-note { font-size: 12.5px; margin: 0; }
.form-privacy-note a { color: var(--color-blue); }

.kontakt-success {
  background: var(--color-surface);
  border: var(--border-hard);
  border-left: 8px solid var(--color-blue);
  box-shadow: var(--shadow-offset-sm);
  padding: 24px;
  margin-bottom: 20px;
  text-align: left;
}
.kontakt-success p { margin: 0; color: var(--color-text); }

/* ---------- Rechtsseiten (Impressum/Datenschutz) ---------- */
.legal-page { padding-top: 56px; }
.legal-content { max-width: 720px; margin: 0 auto; }
.legal-h1 { text-align: left; margin-bottom: 4px; }
.legal-meta { font-size: 13px; margin-bottom: 30px; }
.legal-disclaimer {
  background: var(--color-bg-alt);
  border: var(--border-hard);
  border-left: 6px solid var(--color-yellow);
  padding: 16px 18px;
  font-size: 13.5px;
  margin-bottom: 34px;
}
.legal-content h2 {
  text-align: left;
  text-transform: none;
  font-size: 19px;
  margin-top: 34px;
}
.legal-content p,
.legal-content li { font-size: 14.5px; }
.legal-content ul { padding-left: 20px; }
.legal-content a { color: var(--color-blue); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-black);
  color: rgba(255,255,255,0.85);
  padding: 48px 0 96px; /* extra Platz unten fuer mobile sticky CTA */
  border-top: 6px solid var(--color-red);
}
.footer-inner { text-align: center; }
.footer-logo { width: 30px; height: 30px; margin-bottom: 16px; }
.footer-impressum h3 {
  color: #fff;
  font-size: 14px;
  margin-bottom: 10px;
}
.footer-impressum p { color: rgba(255,255,255,0.7); font-size: 13.5px; }
.footer-impressum a { color: #fff; }
.footer-links { margin-top: 18px; }
.footer-links a { color: rgba(255,255,255,0.85); font-size: 13px; text-decoration: underline; }
.footer-copyright {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  margin-top: 20px;
  letter-spacing: 0.03em;
}
.footer-legal { margin-top: 10px; }
.footer-legal a { color: rgba(255,255,255,0.55); font-size: 12px; text-decoration: underline; }

/* ---------- Partnerschaft-Sektion ---------- */
.partnership-points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 36px;
}
.pp-item {
  border: var(--border-hard);
  border-top: 6px solid var(--color-yellow);
  box-shadow: var(--shadow-offset-sm);
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pp-item strong { font-size: 15px; font-weight: 700; }
.pp-item span { font-size: 14px; line-height: 1.6; color: var(--color-muted, #555); }

/* ---------- Autorität-Werkzeuge-Sektion ---------- */
.authority-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 32px;
}
.authority-item {
  border: var(--border-hard);
  border-top: 6px solid var(--color-red);
  box-shadow: var(--shadow-offset-sm);
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.authority-item strong { font-size: 17px; font-weight: 700; }
.authority-item span { font-size: 14px; line-height: 1.6; }
.authority-footnote {
  /* Bewusst KEIN opacity-Dimmen -- gleicher WCAG-Kontrast-Bug wie beim Testimonial-Platzhalter
     weiter oben (Sprint 122/123), hier unabhaengig erneut aufgetreten und mit Lighthouse
     bestaetigt gefunden. font-style:italic + text-muted-Farbe reichen als visuelle Abstufung. */
  margin-top: 28px;
  font-size: 13.5px;
  font-style: italic;
  color: var(--color-text-muted);
}

/* ---------- Rechtsseiten: Hinweisbox ---------- */
.legal-notice-box {
  border: var(--border-hard);
  border-left: 6px solid var(--color-blue);
  background: var(--color-bg-alt);
  padding: 14px 18px;
  font-size: 14px;
  margin-bottom: 24px;
  line-height: 1.6;
}

/* ---------- Sticky Mobile CTA ---------- */
.mobile-sticky-cta {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: var(--color-bg);
  border-top: var(--border-hard);
  text-align: center;
}
.mobile-sticky-cta .btn { width: 100%; text-align: center; }

@media (max-width: 768px) {
  .mobile-sticky-cta { display: block; }
  .main-nav a:not(.nav-cta) { display: none; }
  .section { padding: 54px 0; }
  .hero { padding: 64px 0 56px; }
}

/* ---------- Scroll Fade-in (progressive enhancement, siehe script.js) ----------
   Zwei echte, mit Playwright/Lighthouse gefundene Bugs fuehrten hierher, nicht nur
   theoretisch vermieden:
   1. Startzustand opacity:0 liess Elemente ganz unsichtbar werden, wenn nie ein
      echtes Scroll-Event den IntersectionObserver ausgeloest hat (Vollseiten-
      Screenshot-Tools, Drucken, Strg+F-Sprung).
   2. Der naheliegende Fix (Start bei reduzierter Opazitaet statt 0) erzeugte einen
      NEUEN echten Bug: reduzierte Opazitaet verwaesserte den Text-Kontrast unter die
      WCAG-AA-Schwelle (Lighthouse-Accessibility-Audit schlug fuer praktisch jeden
      Textblock unterhalb des ersten Viewports fehl, weil er dort noch nicht
      ausgeloest war).
   Sauberste Loesung: opacity bleibt IMMER 1, animiert wird ausschliesslich die
   Position. Kontrast ist dadurch in jedem Animationszustand korrekt, und selbst
   ein Element, dessen Observer nie feuert, bleibt voll lesbar -- hoechstens um
   10px vertikal versetzt statt in Endposition, nie unsichtbar oder kontrastarm. */
.fade-in {
  transform: translateY(10px);
  transition: transform 0.6s ease;
}
.fade-in.is-visible {
  transform: translateY(0);
}
.no-js .fade-in { transform: none; }

/* ── Sticky Header ── */
.site-header.is-scrolled {
  box-shadow: 0 3px 0 var(--color-black);
  background: var(--color-surface);
}

/* ── Stats-Leiste ── */
.stats-bar {
  background: var(--color-black);
  color: #fff;
  padding: 28px 0;
}
.stats-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 40px;
  text-align: center;
}
.stat-num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--color-yellow);
  line-height: 1;
}
.stat-suffix {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--color-yellow);
  line-height: 1;
}
.stat-label {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-top: 6px;
}
.stat-divider {
  width: 2px;
  height: 40px;
  background: rgba(255,255,255,0.15);
}
@media (max-width: 600px) {
  .stat-divider { display: none; }
  .stat-item { padding: 12px 20px; }
  .stats-inner { gap: 0; }
}

/* ── Card Hover ── */
.loss-card {
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.loss-card:hover {
  transform: translateY(-4px);
  box-shadow: 8px 8px 0 var(--color-black);
}
.step-card {
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.step-card:hover {
  transform: translateY(-4px);
  box-shadow: 8px 8px 0 var(--color-black);
}
.pp-item {
  transition: transform 0.18s ease;
}
.pp-item:hover {
  transform: translateY(-3px);
}

/* ── FAQ ── */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
  border: var(--border-hard);
}
.faq-item {
  border-bottom: var(--border-hard);
}
.faq-item:last-child {
  border-bottom: none;
}
.faq-question {
  width: 100%;
  background: var(--color-surface);
  border: none;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text);
  cursor: pointer;
  text-align: left;
  gap: 16px;
  transition: background 0.15s;
}
.faq-question:hover {
  background: var(--color-bg);
}
.faq-question[aria-expanded="true"] {
  background: var(--color-black);
  color: #fff;
}
.faq-icon {
  font-size: 1.4rem;
  font-weight: 400;
  flex-shrink: 0;
  transition: transform 0.2s;
  line-height: 1;
}
.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
}
.faq-answer {
  padding: 0 24px 20px;
  background: var(--color-surface);
  border-top: var(--border-hard);
}
.faq-answer p {
  margin: 16px 0 0;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ── Kapazitäts-Visual ── */
.capacity-visual {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
.capacity-slots {
  display: flex;
  gap: 10px;
}
.slot {
  width: 48px;
  height: 48px;
  border: var(--border-hard);
}
.slot-taken {
  background: var(--color-red);
}
.slot-free {
  background: var(--color-bg);
}
.capacity-label {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin: 0;
}
.capacity-label strong {
  color: var(--color-text);
}

/* ── Typed.js Cursor ── */
#typed-hero {
  color: var(--color-red-text);
  font-style: normal;
}
.typed-cursor {
  color: var(--color-red-text);
  font-weight: 400;
  animation: typed-blink 0.7s infinite;
}
@keyframes typed-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* AOS + fade-in Harmonie: AOS setzt seine eigenen opacity/transform —
   Elemente die BEIDE haben zeigen ggf. doppelte Transition. Kein Bug,
   aber AOS gewinnt da es später im DOM lädt. */
[data-aos] {
  pointer-events: none;
}
[data-aos].aos-animate {
  pointer-events: auto;
}

/* ── Splitting.js — Hero H1 Buchstaben-Animation ── */
.hero h1.splitting-ready .word { overflow: visible; }
.hero h1.splitting-ready .char {
  display: inline-block;
  animation: char-drop-in 0.55s cubic-bezier(0.22, 0.61, 0.36, 1) both;
  animation-delay: calc(40ms + var(--char-index) * 22ms);
}
@keyframes char-drop-in {
  from { opacity: 0; transform: translateY(22px) rotate(2deg); }
  to   { opacity: 1; transform: translateY(0) rotate(0deg); }
}

/* ── just-validate Fehlertext ── */
.just-validate-error-label {
  color: var(--color-red-text) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  margin-top: 3px !important;
}
.just-validate-error-field {
  border-color: var(--color-red) !important;
}

/* ── Lenis Smooth Scroll ── */
html.lenis { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }

@media print {
  .fade-in { transform: none !important; }
  .mobile-sticky-cta, .site-header { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  .fade-in { transition: none; transform: none; }
  html { scroll-behavior: auto; }
}
