/* ==========================================================================
   CAUSA LOGIC — Haupt-Stylesheet (causa.css)
   --------------------------------------------------------------------------
   Hier wird das gesamte Design gesteuert: Farben, Schriften, Abstände.
   Du musst KEIN CSS können, um Farben oder Schriften zu ändern:
   → Ändere einfach die Werte im Abschnitt ":root" weiter unten.
     Beispiel: --farbe-hintergrund:#000000;  ändern auf  #0d0d0d;

   Aufbau dieser Datei:
     1) DESIGN-STEUERUNG (:root)  → Farben, Schriften, Abstände
     2) GRUNDLAGEN                → Reset, Body, Typografie
     3) BAUSTEINE                 → Buttons, Karten, Badges ...
     4) KOPF / MENÜ (Header)
     5) ABSCHNITTE                → Hero, Produkte, Stats, FAQ, Preise ...
     6) BUCHUNGSFLOW (Umfrage + Termin)
     7) FUSSZEILE (Footer)
     8) HANDY / TABLET (Responsive)
   ========================================================================== */


/* ==========================================================================
   1) DESIGN-STEUERUNG  —  HIER kannst du gefahrlos Werte ändern
   ========================================================================== */
:root {

  /* ---- FARBEN ---------------------------------------------------------- */
  --farbe-hintergrund:        #000000;   /* Seiten-Hintergrund (Marke: Schwarz) */
  --farbe-flaeche:            #0a0a0a;   /* Karten / Boxen (leicht heller)      */
  --farbe-flaeche-2:          #111111;   /* Karten-Variante / Hover             */
  --farbe-rand:               #1d1d1d;   /* dünne Linien / Ränder               */
  --farbe-rand-stark:         #2c2c2c;   /* stärker sichtbare Ränder            */

  --farbe-text:               #ffffff;   /* Haupt-Textfarbe                     */
  --farbe-text-leise:         #a3a3a3;   /* Fliesstext / Beschreibungen         */
  --farbe-text-dezent:        #6b6b6b;   /* Hinweise / kleine Labels            */

  /* Akzentfarbe: Standard = Weiss (Marke schwarz/weiss).
     Möchtest du später Farbe (z. B. Blau), ändere NUR diese zwei Werte. */
  --farbe-akzent:             #ffffff;   /* Flächen-Buttons, Highlights         */
  --farbe-akzent-text:        #000000;   /* Textfarbe AUF der Akzentfläche       */
  --farbe-akzent-hover:       #e4e4e4;   /* Akzent beim Drüberfahren            */

  --farbe-fehler:             #ff5b5b;   /* Formular-Fehlermeldungen            */

  /* ---- SCHRIFTEN ------------------------------------------------------- */
  --schrift:                  'Inter', 'Helvetica Neue', Arial, sans-serif;
  --schrift-logo:             'Inter', 'Helvetica Neue', Arial, sans-serif;

  /* ---- RUNDUNGEN & ABSTÄNDE ------------------------------------------- */
  --radius:                   14px;      /* Rundung von Karten                  */
  --radius-klein:             10px;      /* Rundung von Buttons / kleinen Boxen */
  --abstand-sektion:          120px;     /* vertikaler Abstand zwischen Blöcken */
  --breite-max:               1180px;    /* maximale Inhaltsbreite              */

  /* ---- ANIMATION ------------------------------------------------------- */
  --tempo:                    .25s;      /* Geschwindigkeit von Übergängen      */
}


/* ==========================================================================
   2) GRUNDLAGEN
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--farbe-hintergrund);
  color: var(--farbe-text);
  font-family: var(--schrift);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a   { color: inherit; text-decoration: none; }

/* Inhalts-Container: zentriert den Inhalt und begrenzt die Breite */
.container {
  width: 100%;
  max-width: var(--breite-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* Standard-Abstand für jeden Seitenabschnitt */
.section { padding: var(--abstand-sektion) 0; }
.section--eng { padding: 80px 0; }

/* Trennlinie */
.trennlinie { height: 1px; background: var(--farbe-rand); border: 0; }

/* Hilfsklasse: blendet ein Element komplett aus (von Skripten genutzt) */
.hidden { display: none !important; }

/* --- Überschriften-Helfer ---------------------------------------------- */
.eyebrow {              /* kleines Label über einer Überschrift */
  display: inline-block;
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--farbe-text-dezent);
  margin-bottom: 18px;
}

.section-title {
  font-size: clamp(28px, 4.2vw, 46px);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -.02em;
}

.section-lead {         /* einleitender Text unter einer Überschrift */
  margin-top: 18px;
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--farbe-text-leise);
  max-width: 620px;
}

.text-zentriert { text-align: center; }
.text-zentriert .section-lead { margin-left: auto; margin-right: auto; }

.highlight { color: var(--farbe-text); }       /* hebt einzelne Wörter hervor */
.muted     { color: var(--farbe-text-leise); }


/* ==========================================================================
   3) BAUSTEINE
   ========================================================================== */

/* --- BUTTONS ----------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .01em;
  border-radius: var(--radius-klein);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background var(--tempo), color var(--tempo),
              border-color var(--tempo), transform .12s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

/* Gefüllter Haupt-Button (weiss) */
.btn-primary { background: var(--farbe-akzent); color: var(--farbe-akzent-text); }
.btn-primary:hover { background: var(--farbe-akzent-hover); }

/* Umrandeter Button (transparent) */
.btn-ghost { background: transparent; color: var(--farbe-text); border-color: var(--farbe-rand-stark); }
.btn-ghost:hover { border-color: var(--farbe-text); background: rgba(255,255,255,.04); }

/* dezenter Text-Button mit Pfeil */
.btn-link { color: var(--farbe-text-leise); font-weight: 500; }
.btn-link:hover { color: var(--farbe-text); }

.btn-block { width: 100%; }       /* Button über volle Breite */
.btn-gross { padding: 17px 34px; font-size: 16px; }

/* --- BADGE / PILL (kleines Etikett, z. B. "3 Plätze frei") ------------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 16px 7px 14px;
  border: 1px solid var(--farbe-rand-stark);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--farbe-text-leise);
  background: rgba(255,255,255,.03);
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);
}
.badge .punkt {           /* der kleine pulsierende Punkt */
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--farbe-text);
  box-shadow: 0 0 0 0 rgba(255,255,255,.5);
  animation: puls 2.2s infinite;
}
@keyframes puls {
  0%   { box-shadow: 0 0 0 0 rgba(255,255,255,.45); }
  70%  { box-shadow: 0 0 0 7px rgba(255,255,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}

/* --- KARTE (Grund-Box für Inhalte) ------------------------------------- */
.card {
  background: var(--farbe-flaeche);
  border: 1px solid var(--farbe-rand);
  border-radius: var(--radius);
  padding: 32px;
  transition: border-color var(--tempo), transform var(--tempo), background var(--tempo);
}
.card:hover { border-color: var(--farbe-rand-stark); }

/* Raster-Helfer (Spalten nebeneinander) */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

/* Sternebewertung (Social Proof) */
.sterne { color: var(--farbe-text); letter-spacing: 2px; font-size: 15px; }


/* ==========================================================================
   4) KOPF / MENÜ  (auf jeder Seite gleich)
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(0,0,0,.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--farbe-rand);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
/* Logo im Menü (Bildmarke + Schriftzug) */
.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-logo img { width: 26px; height: auto; }
.nav-logo .wort {
  font-family: var(--schrift-logo);
  font-weight: 800; font-size: 16px; letter-spacing: .22em;
}
/* Menü-Links */
.nav-links { display: flex; align-items: center; gap: 34px; list-style: none; }
.nav-links a {
  font-size: 14.5px; color: var(--farbe-text-leise);
  transition: color var(--tempo); position: relative;
}
.nav-links a:hover { color: var(--farbe-text); }
.nav-links a.aktiv { color: var(--farbe-text); }   /* aktuelle Seite */
.nav-rechts { display: flex; align-items: center; gap: 16px; }
.nav-cta-mobil { display: none; }   /* CTA im Menü — nur auf dem Handy sichtbar */

/* Hamburger-Knopf (nur auf dem Handy sichtbar) */
.nav-burger {
  display: none; width: 42px; height: 42px;
  background: transparent; border: 1px solid var(--farbe-rand-stark);
  border-radius: var(--radius-klein); cursor: pointer;
  flex-direction: column; gap: 5px; align-items: center; justify-content: center;
}
.nav-burger span { width: 18px; height: 1.5px; background: var(--farbe-text); transition: var(--tempo); }
.nav-burger.offen span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-burger.offen span:nth-child(2) { opacity: 0; }
.nav-burger.offen span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }


/* ==========================================================================
   5) ABSCHNITTE
   ========================================================================== */

/* --- HERO (oberster Bereich einer Seite) ------------------------------- */
.hero { position: relative; padding: 90px 0 70px; text-align: center; overflow: hidden; }
.hero::before {     /* dezenter Lichtschein oben */
  content: ''; position: absolute; top: -200px; left: 50%; transform: translateX(-50%);
  width: 900px; height: 500px; pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(255,255,255,.06), transparent 70%);
}
.hero .container { position: relative; z-index: 2; }
.hero h1 {
  font-size: clamp(34px, 6vw, 68px);
  line-height: 1.05; font-weight: 800; letter-spacing: -.03em;
  margin: 26px auto 0; max-width: 16ch;
}
.hero .hero-sub {
  margin: 24px auto 0; max-width: 600px;
  font-size: clamp(16px, 1.8vw, 20px); color: var(--farbe-text-leise);
}
.hero-cta { margin-top: 38px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-proof { margin-top: 30px; display: flex; gap: 12px; justify-content: center; align-items: center;
              flex-wrap: wrap; color: var(--farbe-text-dezent); font-size: 14px; }
.hero-hook { margin: 32px auto 4px; color: var(--farbe-text-leise);
             font-size: clamp(15px, 1.6vw, 18px); font-weight: 500; }

/* --- VIDEO-HINTERGRUND im Hero (nur Startseite sichtbar) --------------- */
.hero-video {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%; object-fit: cover;
  background: transparent; pointer-events: none;
}
.hero-overlay {       /* dunkler Verlauf über dem Video → Text bleibt lesbar */
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255,255,255,.06), transparent 55%),
    linear-gradient(to bottom, rgba(0,0,0,.45) 0%, rgba(0,0,0,.72) 60%, #000 100%);
}

/* Startseiten-Hero als grosse Bühne (volle Höhe für das Video) */
body[data-page="start"] .hero { min-height: 90vh; display: flex; align-items: center; padding: 120px 0 80px; }
body[data-page="start"] .hero h1,
body[data-page="start"] .hero .hero-sub { text-shadow: 0 2px 26px rgba(0,0,0,.45); }

/* Handy & "weniger Bewegung": kein Video (spart Daten/Akku), ruhiger Verlauf */
@media (max-width: 760px)                  { .hero-video { display: none; } }
@media (prefers-reduced-motion: reduce)    { .hero-video { display: none; } }

/* --- LOGO-ANIMATION im Hero (CAUSA [X] LOGIC) -------------------------- */
/* Steuerwerte der Animation stehen zusätzlich in js/causa.js              */
.cl-scene { position: relative; width: 100%; height: 150px; }
.cl-group {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: flex; align-items: center; justify-content: center;
  width: 520px; height: 110px; z-index: 10;
}
.cl-logo-wrapper { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
                   z-index: 2; width: 62px; height: 78px; }
.cl-logo-img { width: 100%; height: 100%; object-fit: contain; display: block; opacity: 0; }
.cl-text {
  position: absolute; top: 50%; margin-top: -0.5em; line-height: 1;
  color: var(--farbe-text); font-family: var(--schrift-logo);
  font-size: clamp(20px, 4vw, 30px); font-weight: 700; letter-spacing: .26em;
  opacity: 0; white-space: nowrap;
}
/* Abstand der Wörter zur Sanduhr. Das letzte Zeichen hat durch das Buchstaben-
   Spacing rechts etwas Luft — bei CAUSA per negativem Rand ausgeglichen,
   damit CAUSA und LOGIC symmetrisch zum Logo stehen. */
#cl-causa { right: calc(50% + 38px); margin-right: -.26em; }
#cl-logic { left:  calc(50% + 38px); }

/* --- PRODUKT-KARTEN (die zwei Angebote) -------------------------------- */
.produkt-karte {
  display: flex; flex-direction: column;
  background: var(--farbe-flaeche); border: 1px solid var(--farbe-rand);
  border-radius: var(--radius); overflow: hidden;
  transition: border-color var(--tempo), transform var(--tempo);
}
.produkt-karte:hover { border-color: var(--farbe-rand-stark); transform: translateY(-4px); }
.produkt-karte .pk-bild {           /* oberer Bild-/Grafikbereich */
  position: relative; aspect-ratio: 16 / 10; overflow: hidden;
  background: var(--farbe-flaeche-2); border-bottom: 1px solid var(--farbe-rand);
  display: flex; align-items: center; justify-content: center;
}
.produkt-karte .pk-bild img { width: 100%; height: 100%; object-fit: cover; }
.produkt-karte .pk-inhalt { padding: 34px 32px; display: flex; flex-direction: column; flex: 1; }
.produkt-karte .pk-label {
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--farbe-text-dezent); margin-bottom: 12px;
}
.produkt-karte h3 { font-size: 25px; font-weight: 700; letter-spacing: -.01em; }
.produkt-karte p  { margin-top: 13px; color: var(--farbe-text-leise); font-size: 16px; flex: 1; }
.produkt-karte .pk-link { margin-top: 22px; display: inline-flex; align-items: center; gap: 8px;
                          font-weight: 600; color: var(--farbe-text); }
.produkt-karte .pk-link .pfeil { transition: transform var(--tempo); }
.produkt-karte:hover .pk-link .pfeil { transform: translateX(5px); }

/* --- FEATURE-KARTEN (Vorteile mit Icon) -------------------------------- */
.feature { text-align: left; }
.feature .feature-icon {
  width: 48px; height: 48px; border-radius: var(--radius-klein);
  border: 1px solid var(--farbe-rand-stark);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; color: var(--farbe-text);
}
.feature h3 { font-size: 19px; font-weight: 650; }
.feature p  { margin-top: 10px; color: var(--farbe-text-leise); font-size: 15px; }

/* --- STATISTIK-ZAHLEN (z. B. 76 % / 90 % / 28 %) ----------------------- */
.stat { text-align: center; padding: 14px; }
.stat .stat-zahl {
  font-size: clamp(40px, 6vw, 60px); font-weight: 800; letter-spacing: -.03em; line-height: 1;
}
.stat .stat-text { margin-top: 14px; color: var(--farbe-text-leise); font-size: 15px; }
.stat-reihe .stat { border-right: 1px solid var(--farbe-rand); }
.stat-reihe .stat:last-child { border-right: 0; }

/* --- ABLAUF-SCHRITTE (01 / 02 / 03) ------------------------------------ */
.schritt { position: relative; padding-top: 12px; }
.schritt .schritt-nr {
  font-size: 54px; font-weight: 800; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px var(--farbe-rand-stark);
  margin-bottom: 18px;
}
.schritt h3 { font-size: 19px; font-weight: 650; }
.schritt p  { margin-top: 10px; color: var(--farbe-text-leise); font-size: 15px; }

/* --- LEISTUNGS-LISTE (Häkchen-Punkte) ---------------------------------- */
.leistungen { list-style: none; display: grid; gap: 14px; }
.leistungen.spalten-2 { grid-template-columns: 1fr 1fr; gap: 14px 40px; }
.leistungen li {
  position: relative; padding-left: 30px; font-size: 15.5px; color: var(--farbe-text-leise);
}
.leistungen li::before {
  content: ''; position: absolute; left: 0; top: 3px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--farbe-akzent);
  /* weisses Häkchen als Hintergrundbild */
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/></svg>") center / 13px no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/></svg>") center / 13px no-repeat;
}

/* --- PREIS-KARTEN ------------------------------------------------------ */
.preis-karte {
  display: flex; flex-direction: column;
  background: var(--farbe-flaeche); border: 1px solid var(--farbe-rand);
  border-radius: var(--radius); padding: 34px 30px;
}
.preis-karte.hervorgehoben {        /* empfohlenes Paket */
  border-color: var(--farbe-text); background: var(--farbe-flaeche-2);
  position: relative;
}
.preis-karte .pk-tag {
  position: absolute; top: -12px; left: 30px;
  background: var(--farbe-akzent); color: var(--farbe-akzent-text);
  font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px;
}
.preis-karte .pk-name { font-size: 15px; color: var(--farbe-text-leise); letter-spacing: .04em; }
.preis-karte .pk-preis { margin-top: 14px; font-size: 40px; font-weight: 800; letter-spacing: -.02em; }
.preis-karte .pk-preis .pk-einheit { font-size: 15px; font-weight: 500; color: var(--farbe-text-dezent); }
.preis-karte .pk-beschr { margin-top: 8px; color: var(--farbe-text-leise); font-size: 14.5px; min-height: 44px; }
.preis-karte .leistungen { margin: 24px 0 28px; }
.preis-karte .leistungen li { font-size: 14.5px; }
.preis-karte .btn { margin-top: auto; }

/* --- TESTIMONIAL / ZITAT ----------------------------------------------- */
.zitat-box {
  border: 1px solid var(--farbe-rand); border-radius: var(--radius);
  background: var(--farbe-flaeche); padding: 50px;
  text-align: center; max-width: 820px; margin: 0 auto;
}
.zitat-box .anfuehrung { font-size: 44px; line-height: 1; color: var(--farbe-rand-stark); }
.zitat-box blockquote { font-size: clamp(19px, 2.4vw, 26px); font-weight: 500; line-height: 1.4;
                        margin: 14px 0 26px; letter-spacing: -.01em; }
.zitat-box .autor { color: var(--farbe-text-leise); font-size: 15px; }
.zitat-box .autor strong { color: var(--farbe-text); font-weight: 600; }

/* --- LOGO-LEISTE (Kundennamen / Branchen) ------------------------------ */
.logo-leiste { display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
               gap: 18px 48px; }
.logo-leiste span { color: var(--farbe-text-dezent); font-weight: 600; font-size: 18px;
                    letter-spacing: .04em; opacity: .65; transition: opacity var(--tempo); }
.logo-leiste span:hover { opacity: 1; }

/* --- FAQ (aufklappbare Fragen) ----------------------------------------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--farbe-rand); }
.faq-frage {
  width: 100%; background: transparent; border: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 26px 4px; text-align: left;
  font-family: inherit; font-size: clamp(16px, 2vw, 18px); font-weight: 550; color: var(--farbe-text);
}
.faq-frage .faq-zeichen { flex-shrink: 0; font-size: 22px; font-weight: 300; transition: transform var(--tempo); color: var(--farbe-text-leise); }
.faq-item.offen .faq-zeichen { transform: rotate(45deg); }
.faq-antwort { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-antwort p { padding: 0 4px 26px; color: var(--farbe-text-leise); font-size: 15.5px; max-width: 90%; }

/* --- GARANTIE-BLOCK ---------------------------------------------------- */
.garantie {
  border: 1px solid var(--farbe-rand-stark); border-radius: var(--radius);
  background: linear-gradient(180deg, var(--farbe-flaeche-2), var(--farbe-flaeche));
  padding: 56px; text-align: center;
}
.garantie .garantie-wort { font-size: clamp(40px, 6vw, 62px); font-weight: 800; letter-spacing: -.03em; }
.garantie p { margin: 18px auto 0; max-width: 560px; color: var(--farbe-text-leise); }

/* --- FLIESSTEXT / ARTIKEL (z. B. Seite „Über uns") --------------------- */
.prose { max-width: 760px; }
.prose p { color: var(--farbe-text-leise); font-size: 17px; line-height: 1.7; margin-bottom: 20px; }
.prose p strong { color: var(--farbe-text); font-weight: 600; }
.prose .betonung { color: var(--farbe-text); font-style: italic; }
.prose h2 { font-size: 23px; font-weight: 700; letter-spacing: -.01em; margin: 40px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 17px; font-weight: 650; margin: 24px 0 8px; }
.prose ul { margin: 0 0 20px; padding-left: 22px; color: var(--farbe-text-leise); }
.prose ul li { margin-bottom: 8px; line-height: 1.6; }
.prose a { color: var(--farbe-text); text-decoration: underline; text-underline-offset: 2px; }
.prose .platzhalter { color: var(--farbe-text-dezent); }   /* markiert auszufüllende Stellen */

/* --- CTA-ABSCHLUSSBLOCK ------------------------------------------------ */
.cta-block { text-align: center; }
.cta-block h2 { font-size: clamp(30px, 5vw, 52px); font-weight: 800; letter-spacing: -.03em; margin-top: 22px; }
.cta-block p  { margin: 18px auto 0; max-width: 520px; color: var(--farbe-text-leise); }


/* ==========================================================================
   STARTSEITE — Hero-Feinschliff, Branchen-Karussell, Schluss-CTA
   ========================================================================== */

/* Breiterer Container (z. B. für die 3 Leistungs-Kacheln) */
.container-breit { max-width: 1300px; }

/* --- Hero: diagonaler Claim (oben links / unten rechts) ---------------- */
.hero h1.hero-claim {
  display: flex; flex-direction: column; align-items: flex-start;
  width: fit-content; max-width: 100%;
  margin: 34px auto 6px;
  font-size: clamp(36px, 6.4vw, 72px); line-height: 1.0; letter-spacing: -.03em;
}
.hero-claim .zeile-a, .hero-claim .zeile-b { display: block; }
.hero-claim .zeile-b { margin-left: 1.8em; }   /* schiebt die 2. Zeile nach rechts → diagonal */

/* Untertitel bewusst kleiner/leiser, damit der CTA dominiert */
body[data-page="start"] .hero .hero-sub {
  font-size: clamp(15px, 1.5vw, 17px); color: var(--farbe-text-dezent);
  margin-top: 16px; font-weight: 400;
}

/* Hero-CTA-Block: klar dominant, führt zum Button */
.hero-cta-block { margin-top: 40px; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.hero-hook {
  font-size: clamp(18px, 2.2vw, 23px); font-weight: 600; color: var(--farbe-text);
  letter-spacing: -.01em; margin: 0;
}
.hero-zweit-link {
  color: var(--farbe-text-dezent); font-size: 14px; letter-spacing: .02em;
  transition: color var(--tempo);
}
.hero-zweit-link:hover { color: var(--farbe-text); }

/* Extra-grosser Haupt-Button */
.btn-xl { padding: 19px 44px; font-size: 17px; font-weight: 650; }

/* --- Leistungen: Stichwort-Zeile + grössere Kacheln -------------------- */
.leistungen-stichworte {
  margin-top: 14px; color: var(--farbe-text); font-weight: 600;
  font-size: clamp(15px, 1.7vw, 18px); letter-spacing: .02em;
}
.leistungen-grid { gap: 26px; }
.leistungen-grid .pk-bild { aspect-ratio: 16 / 9; }

/* --- Branchen-Karussell (nahtloser Endlos-Lauf) ----------------------- */
.branchen-marquee {
  overflow: hidden;
  -webkit-mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
          mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.branchen-track {
  display: flex; width: max-content; gap: 54px;
  animation: branchen-lauf 46s linear infinite;
}
.branchen-track span {
  color: var(--farbe-text-dezent); font-weight: 600; font-size: 18px;
  letter-spacing: .04em; white-space: nowrap; opacity: .7;
}
@keyframes branchen-lauf {     /* -50% = genau eine Listenlänge → nahtlos */
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}
@media (prefers-reduced-motion: reduce) { .branchen-track { animation: none; } }

/* --- Zitat: "Mehr über mich"-Link ------------------------------------- */
.zitat-link {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 22px;
  font-weight: 600; color: var(--farbe-text); font-size: 15px;
}
.zitat-link .pfeil { transition: transform var(--tempo); }
.zitat-link:hover .pfeil { transform: translateX(5px); }

/* --- Schluss-CTA: schlank & zentriert --------------------------------- */
.schluss-cta { text-align: center; max-width: 620px; margin: 0 auto; padding: 20px 0; }
.schluss-cta h2 { font-size: clamp(30px, 4.6vw, 48px); font-weight: 800; letter-spacing: -.03em; margin-top: 22px; }
.schluss-cta p  { margin: 16px auto 28px; max-width: 460px; color: var(--farbe-text-leise); }

/* --- Startseite: mobile Feinheiten ------------------------------------ */
@media (max-width: 560px) {
  .hero-claim .zeile-b { margin-left: 0.9em; }
}
.cta-block .hero-cta { margin-top: 34px; }


/* ==========================================================================
   6) BUCHUNGSFLOW  (Umfrage → Kontakt → Leistungen → Termin)
   Steuerung der Logik: js/buchung.js
   ========================================================================== */
.bf-outer { width: 100%; }
.bf-card {
  max-width: 720px; margin: 0 auto;
  background: var(--farbe-flaeche); border: 1px solid var(--farbe-rand);
  border-top: 2px solid var(--farbe-akzent);
  border-radius: var(--radius); padding: 40px 44px 44px;
}
.bf-header { margin-bottom: 26px; }
.bf-eyebrow { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--farbe-text-dezent); margin-bottom: 10px; }
.bf-title { font-size: clamp(20px, 3vw, 26px); font-weight: 700; line-height: 1.25; }
.bf-sub { margin-top: 8px; font-size: 14.5px; color: var(--farbe-text-leise); }

.bf-progress { width: 100%; height: 2px; background: var(--farbe-rand-stark); border-radius: 1px; overflow: hidden; margin-bottom: 6px; }
.bf-progress-fill { height: 100%; width: 25%; background: var(--farbe-akzent); transition: width .4s ease; }
.bf-progress-label { font-size: 11px; color: var(--farbe-text-dezent); letter-spacing: .05em; margin-bottom: 26px; }

.bf-q-title { font-size: clamp(17px, 2.5vw, 21px); font-weight: 600; line-height: 1.3; margin-bottom: 22px; }

.bf-options { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.bf-opt {
  padding: 13px 22px; background: transparent;
  border: 1px solid var(--farbe-rand-stark); border-radius: var(--radius-klein);
  color: var(--farbe-text-leise); font-size: 14.5px; cursor: pointer; font-family: inherit;
  transition: background .18s, border-color .18s, color .18s, transform .12s;
}
.bf-opt:hover { background: var(--farbe-flaeche-2); border-color: var(--farbe-text); color: var(--farbe-text); transform: translateY(-1px); }
.bf-opt.selected { background: var(--farbe-akzent); border-color: var(--farbe-akzent); color: var(--farbe-akzent-text); }

.bf-form { display: flex; flex-direction: column; gap: 16px; }
.bf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.bf-wrap { display: flex; flex-direction: column; gap: 6px; }
.bf-label { font-size: 12px; color: var(--farbe-text-leise); letter-spacing: .03em; }
.bf-req { color: var(--farbe-text); }
.bf-opt-tag { color: var(--farbe-text-dezent); font-size: 11px; }

.bf-input {
  padding: 12px 14px; background: var(--farbe-flaeche-2);
  border: 1px solid var(--farbe-rand-stark); border-radius: var(--radius-klein);
  color: #fff; font-size: 14.5px; font-family: inherit; outline: none;
  transition: border-color .2s; width: 100%;
}
textarea.bf-input { min-height: 140px; resize: vertical; line-height: 1.55; }
.bf-input::placeholder { color: #4a4a4a; }
.bf-input:focus { border-color: var(--farbe-text); }
.bf-input.invalid { border-color: var(--farbe-fehler); }

.bf-phone-wrap { display: flex; }
.bf-country {
  padding: 12px 8px; background: var(--farbe-flaeche-2);
  border: 1px solid var(--farbe-rand-stark); border-right: none;
  border-radius: var(--radius-klein) 0 0 var(--radius-klein);
  color: #ccc; font-size: 13px; font-family: inherit; outline: none; cursor: pointer;
  flex-shrink: 0; width: 96px; transition: border-color .2s;
}
.bf-tel { flex: 1; border-radius: 0 var(--radius-klein) var(--radius-klein) 0; }

.bf-err { font-size: 12px; color: var(--farbe-fehler); }

.bf-checks { display: flex; flex-direction: column; gap: 10px; padding-top: 4px; }
.bf-check-label { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; user-select: none; }
.bf-checkbox { position: absolute; opacity: 0; width: 0; height: 0; }
.bf-check-box {
  flex-shrink: 0; width: 18px; height: 18px; margin-top: 1px;
  border: 1px solid var(--farbe-rand-stark); border-radius: 5px;
  background: var(--farbe-flaeche-2); transition: border-color .18s, background .18s; position: relative;
}
.bf-check-box::after {
  content: ''; position: absolute; top: 2px; left: 5px; width: 5px; height: 9px;
  border: 2px solid var(--farbe-akzent-text); border-top: none; border-left: none;
  transform: rotate(45deg); opacity: 0; transition: opacity .15s;
}
.bf-checkbox:checked + .bf-check-box { background: var(--farbe-akzent); border-color: var(--farbe-akzent); }
.bf-checkbox:checked + .bf-check-box::after { opacity: 1; }
.bf-check-label:hover .bf-check-box { border-color: var(--farbe-text); }
.bf-check-box.invalid { border-color: var(--farbe-fehler); }
.bf-check-text { font-size: 13px; color: var(--farbe-text-leise); line-height: 1.5; }
.bf-check-text a { color: var(--farbe-text); text-decoration: underline; text-underline-offset: 2px; }

.bf-btn-primary {
  margin-top: 8px; padding: 15px 32px; align-self: flex-start;
  background: var(--farbe-akzent); border: none; border-radius: var(--radius-klein);
  color: var(--farbe-akzent-text); font-size: 15px; font-weight: 600; cursor: pointer;
  font-family: inherit; transition: background .18s, transform .12s;
}
.bf-btn-primary:hover { background: var(--farbe-akzent-hover); transform: translateY(-1px); }

.bf-btn-back {
  display: inline-block; margin-top: 16px; background: none; border: none;
  color: var(--farbe-text-dezent); font-size: 13px; cursor: pointer; font-family: inherit;
  padding: 4px 0; transition: color .18s;
}
.bf-btn-back:hover { color: var(--farbe-text); }

.bf-value-list { list-style: none; margin-bottom: 24px; display: flex; flex-direction: column; gap: 13px; }
.bf-value-list li { padding-left: 26px; position: relative; font-size: 15px; color: var(--farbe-text-leise); }
.bf-value-list li::before { content: '✓'; position: absolute; left: 0; color: var(--farbe-text); }
.bf-guarantee { font-size: 13px; color: var(--farbe-text-dezent); font-style: italic; margin-bottom: 24px; }

.bf-step { animation: bf-in .3s ease; }
@keyframes bf-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }


/* ==========================================================================
   7) FUSSZEILE (Footer) — auf jeder Seite gleich
   ========================================================================== */
.site-footer { border-top: 1px solid var(--farbe-rand); padding: 70px 0 40px; margin-top: 40px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; padding-bottom: 50px; }
.footer-marke .nav-logo { margin-bottom: 16px; }
.footer-marke p { color: var(--farbe-text-leise); font-size: 15px; max-width: 320px; }
.footer-spalte h4 { font-size: 13px; letter-spacing: .1em; text-transform: uppercase;
                    color: var(--farbe-text-dezent); margin-bottom: 18px; }
.footer-spalte ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-spalte a { color: var(--farbe-text-leise); font-size: 15px; transition: color var(--tempo); }
.footer-spalte a:hover { color: var(--farbe-text); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px;
  padding-top: 28px; border-top: 1px solid var(--farbe-rand);
  color: var(--farbe-text-dezent); font-size: 13.5px;
}
.footer-bottom .footer-rechtlich { display: flex; gap: 24px; }


/* ==========================================================================
   8) SCROLL-EINBLENDUNG (Inhalte erscheinen beim Scrollen)
   ========================================================================== */
/* Nur wenn JavaScript aktiv ist (Klasse .js), werden Inhalte erst beim
   Scrollen eingeblendet. Ohne JavaScript sind sie sofort sichtbar. */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.sichtbar { opacity: 1; transform: translateY(0); }


/* ==========================================================================
   9) HANDY / TABLET  (Responsive)
   ========================================================================== */
@media (max-width: 980px) {
  :root { --abstand-sektion: 84px; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  /* Menü: Links ausblenden, Hamburger zeigen */
  .nav-links {
    position: fixed; inset: 72px 0 auto 0;
    flex-direction: column; gap: 0; align-items: stretch;
    background: var(--farbe-hintergrund); border-bottom: 1px solid var(--farbe-rand);
    padding: 8px 24px 24px; transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: opacity var(--tempo), transform var(--tempo);
  }
  .nav-links.offen { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .nav-links a { padding: 16px 0; border-bottom: 1px solid var(--farbe-rand); font-size: 16px; }
  .nav-rechts .btn { display: none; }       /* Desktop-CTA ausblenden */
  .nav-burger { display: flex; }
  .nav-cta-mobil { display: block; }        /* CTA stattdessen im Menü zeigen */
  .nav-cta-mobil a { color: var(--farbe-text); font-weight: 600; }

  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .leistungen.spalten-2 { grid-template-columns: 1fr; }
  .stat-reihe { grid-template-columns: 1fr; }
  .stat-reihe .stat { border-right: 0; border-bottom: 1px solid var(--farbe-rand); padding: 26px 0; }
  .stat-reihe .stat:last-child { border-bottom: 0; }

  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .bf-card { padding: 28px 22px 34px; }
  .bf-row { grid-template-columns: 1fr; }
  .zitat-box { padding: 34px 24px; }
  .garantie { padding: 38px 24px; }
  .card { padding: 26px; }
}

@media (max-width: 420px) {
  .container { padding: 0 18px; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }
}
