/* =============================================================================
   Pferdearomatologie (Regina Hoffmann) — Funnel-CI-Kit · tokens.css   (aus dem kanonischen Skelett)
   -----------------------------------------------------------------------------
   KANONISCHES TOKEN-VOKABULAR — die Namen sind agenturweit IDENTISCH, nur die
   WERTE werden pro Kunde gefüllt. Rollen NIE umbenennen, KEINE Rolle löschen,
   KEINE Kunden-eigene Rolle erfinden (sonst driften die Kits — genau das soll
   dieses Skelett verhindern). Fehlt ein Wert im Marken-Material → aus Live-Scan
   ableiten oder mit Berni klären, NICHT raten.

   Master im <kunde>-router-Repo. Funnel tragen Kopien (funnel-deploy --kit-Gate).
   Standard: $HOME/repos/mog-lead-system/MOG-Funnel-CI-Kit-Standard.md
   Herkunft der Werte (Autoritäten) hier dokumentieren:
   - Farben = Live-Scan von https://pferdearomatologie.com/ (kompilierte Divi-Unified-CSS
     + Inline-Module-Styles). Marken-CTA `.cta-button{background:#a98c43;color:white}`.
     Divi-Theme-Defaults (#2EA3F2 Blau, Divi-Pixel-Lila) bewusst VERWORFEN — keine Marke.
   - Fonts  = self-hosted woff2 (aus Kunden-Fonts, SIL OFL): News Cycle (Head) + Catamaran (Body).
     Konvertiert aus `1 Kundenordner/Fonts/`. NIE Google-Fonts-CDN.
   - Stand: 2026-07-25
   ============================================================================= */

/* ---- Webfonts — SELF-HOSTED (woff2 in ./fonts/). KEIN Google-Fonts-CDN
   (leakt IP vor Consent, Preflight-Blockliste). Gewichte je nach Marke. -------- */
/* Head-Familie: News Cycle (kondensiert, editorial) — Gewichte 400 + 700 (kein 500 im Font). */
@font-face{font-family:"News Cycle";src:url("./fonts/newscycle-400.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap;}
@font-face{font-family:"News Cycle";src:url("./fonts/newscycle-700.woff2") format("woff2");font-weight:700;font-style:normal;font-display:swap;}
/* Body-Familie: Catamaran (humanistisch, ruhig) — Gewichte 400 / 500 / 700. */
@font-face{font-family:"Catamaran";src:url("./fonts/catamaran-400.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap;}
@font-face{font-family:"Catamaran";src:url("./fonts/catamaran-500.woff2") format("woff2");font-weight:500;font-style:normal;font-display:swap;}
@font-face{font-family:"Catamaran";src:url("./fonts/catamaran-700.woff2") format("woff2");font-weight:700;font-style:normal;font-display:swap;}

:root{
  /* ============================================================================
     Werte unten sind SENTINEL-PLATZHALTER (grelles Magenta / neutrale Graustufen).
     Bleibt Magenta irgendwo sichtbar → Token wurde vergessen zu ersetzen.
     ========================================================================== */

  /* ---- Farben — Basis / Flächen (warme, sandige Off-Whites — Marken-Charakter) */
  --c-bg:            #ffffff;   /* Seiten-Basis (light-first, weiß)               */
  --c-bg-surface:    #f7f3ec;   /* gehobene Sektion (warmer Sand-Ton)             */
  --c-bg-panel:      #efe8db;   /* Panel/Karte auf Surface (tiefere warme Tönung) */
  --c-bg-tint:       #fbf9f5;   /* zarter Wechsel-Ton (Zebra-Sektionen)           */
  --c-white:         #ffffff;

  /* ---- Farben — Marke (Struktur/Sekundär) — warmes Slate -------------------- */
  --c-primary:       #2c3d49;   /* Marken-Primärfarbe: Struktur, sekundäre Buttons, Links */
  --c-primary-dark:  #1f2b33;   /* dunkler: Headlines auf hell, Marken-Bänder     */
  --c-primary-light: #4a5d6b;   /* heller: Icons, dezente Akzente                 */
  --c-primary-soft:  rgba(44,61,73,.10);   /* Marken-Fläche 10% (Hover, Badges)  */

  /* ---- Farben — CTA-Akzent: GOLD (DISZIPLIN: nur primärer CTA + Selected) --- */
  --c-accent:        #a98c43;   /* CTA-Akzent — Marken-Gold (Live: .cta-button bg) */
  --c-accent-hover:  #8c7333;   /* Akzent dunkler (Hover/Active)                  */
  --c-on-accent:     #ffffff;   /* Textfarbe AUF dem Akzent (Live: color:white)   */
  --c-accent-soft:   rgba(169,140,67,.14);  /* Akzent-Fläche (Highlight, Badge)  */
  --c-accent-glow:   rgba(169,140,67,.34);  /* Akzent-Schein (CTA-Schatten)      */

  /* ---- Text auf Hell -------------------------------------------------------- */
  --c-heading:       #2c3d49;   /* Headlines (Marken-Slate)                       */
  --c-text:          #333333;   /* Fließtext (Live-Body-Ton)                      */
  --c-text-muted:    #595959;   /* Sekundärtext, Captions                         */
  --c-text-subtle:   #8c857a;   /* sehr leise (Meta, Hinweise) — warmer Grauton   */

  /* ---- Border (warm getönt) ------------------------------------------------- */
  --c-border:        #e5dfd4;   /* Standard-Rahmen (Karten, Inputs)               */
  --c-border-strong: #cfc6b6;   /* betonter Rahmen (Selected-Rand, Trenner)       */

  /* ---- Text/Flächen auf Dunkel (Marken-Bänder, Footer, Overlays) — Slate ---- */
  --c-on-dark-bg:      #2c3d49;
  --c-on-dark-heading: #ffffff;
  --c-on-dark-text:    rgba(255,255,255,.90);
  --c-on-dark-muted:   rgba(255,255,255,.66);
  --c-on-dark-border:  rgba(255,255,255,.16);

  /* ---- Verläufe (Marke) — Hero/Bänder wärmer als flache Fläche -------------- */
  --grad-brand: linear-gradient(155deg, var(--c-primary) 0%, var(--c-primary-dark) 100%);

  /* ---- Funktionale States (nicht Marke, aber Pflicht für Formulare) --------- */
  --c-focus:         var(--c-primary);   /* Fokus-Ring                           */
  --c-error:         #c0392b;   --c-error-soft: rgba(192,57,43,.10);
  --c-success:       #2e7d5b;   --c-success-soft: rgba(46,125,91,.10);

  /* ---- Typografie — Familien (self-hosted) --------------------------------- */
  --font-head:    "News Cycle","Segoe UI",system-ui,-apple-system,Arial,sans-serif;
  --font-body:    "Catamaran","Segoe UI",system-ui,-apple-system,Arial,sans-serif;
  --font-eyebrow: "News Cycle","Segoe UI",system-ui,Arial,sans-serif; /* 700, VERSALIEN */

  /* ---- Typografie — Gewichte ------------------------------------------------ */
  --fw-light:  300;   --fw-normal: 400;   --fw-medium: 500;   --fw-bold: 700;

  /* ---- Typografie — Scale (mobile→desktop via clamp; ggf. an Marke anpassen) - */
  --fs-display: clamp(2.25rem, 6vw,   3.5rem);
  --fs-h1:      clamp(1.875rem,5vw,   2.75rem);
  --fs-h2:      clamp(1.5rem,  3.6vw, 2.125rem);
  --fs-h3:      clamp(1.25rem, 2.6vw, 1.5rem);
  --fs-lead:    clamp(1.0625rem,1.8vw,1.25rem);
  --fs-body:    1.0625rem;   /* 17px */
  --fs-small:   0.875rem;    /* 14px */
  --fs-caption: 0.75rem;     /* 12px */

  --lh-tight: 1.14;   --lh-head: 1.24;   --lh-body: 1.6;
  --ls-tight: -.015em;   --ls-eyebrow: .14em;

  /* ---- Spacing (8px-Scale — agenturweit gleich, NICHT pro Kunde ändern) ----- */
  --sp-1: .25rem;  --sp-2: .5rem;  --sp-3: .75rem; --sp-4: 1rem;
  --sp-5: 1.5rem;  --sp-6: 2rem;   --sp-7: 3rem;   --sp-8: 4rem;  --sp-9: 6rem;
  --section-y: clamp(3rem, 7vw, 5.5rem);
  --gutter:    clamp(1rem, 4vw, 1.5rem);
  --container: 1120px;
  --container-narrow: 720px;

  /* ---- Radius — kantig/editorial (Live-Site: border-radius 3px an Buttons) --- */
  --r-xs:    3px;
  --r-input: 4px;
  --r-btn:   4px;     /* CTA/Buttons — knapp, crisp (zur News-Cycle-Editorial-Anmutung) */
  --r-card:  8px;     /* Karten, Quiz-Optionen, Panels */
  --r-pill:  999px;   /* Chips/Badges */
  --r-round: 50%;

  /* ---- Schatten (weich=light-first / härter je nach Marke) ------------------ */
  --sh-xs:   0 1px 2px rgba(0,0,0,.06);
  --sh-card: 0 4px 16px rgba(0,0,0,.08);
  --sh-lift: 0 10px 30px rgba(0,0,0,.14);
  --sh-cta:  0 8px 24px var(--c-accent-glow);

  /* ---- Motion --------------------------------------------------------------- */
  --dur:  .18s;
  --ease: cubic-bezier(.2,.7,.2,1);

  /* ---- Layout-Konstanten ---------------------------------------------------- */
  --tap-min: 48px;
  --z-header: 30;  --z-sticky-cta: 40;  --z-overlay: 60;  --z-modal: 70;
}

/* ---- Reduced Motion respektieren ------------------------------------------- */
@media (prefers-reduced-motion: reduce){
  /* Schaltet Bewegung wirklich ab statt sie nur zu daempfen: Das alte
     `--dur: .001s` griff NUR bei Transitions, die var(--dur) benutzen —
     fest notierte Dauern (.sticky-cta .3s, .quiz__bar .4s, .btn.is-loading
     .6s infinite, .live-dot 1.4s infinite) liefen trotz aktivierter
     Systemeinstellung weiter. Lastenheft #205. */
  :root{ --dur: .001s; }
  *,*::before,*::after{
    animation-duration:.01ms !important;
    animation-iteration-count:1 !important;
    transition-duration:.01ms !important;
    scroll-behavior:auto !important;
  }
}

/* ---- Basis-Defaults (jeder Funnel erbt) ----------------------------------- */
*,*::before,*::after{ box-sizing:border-box; }
html{ -webkit-text-size-adjust:100%; scroll-behavior:smooth; height:100%; }
body{
  margin:0; background:var(--c-bg); color:var(--c-text);
  font-family:var(--font-body); font-weight:var(--fw-normal);
  font-size:var(--fs-body); line-height:var(--lh-body);
  -webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility;
  /* Sticky-Footer: min-height:100vh + flex-column + margin-top:auto auf dem
     Footer (letztes Kind) schiebt ihn ans Viewport-Ende, auch wenn der
     Seiteninhalt kuerzer als der Bildschirm ist -- sonst haengt der Footer
     bei kurzen Seiten irgendwo in der Bildschirmmitte statt ganz unten.
     Faellt bei langem Inhalt automatisch zurueck auf normales Scrollen. */
  min-height:100vh; display:flex; flex-direction:column;
}
body > footer.site-footer{ margin-top:auto; }
img,svg,video{ max-width:100%; height:auto; display:block; }
a{ color:var(--c-primary); }
:focus-visible{ outline:2px solid var(--c-focus); outline-offset:2px; }
