/* ==========================================================================
   Design-Tokens – djdenny.de
   Zweck: gemeinsame Design-Sprache für die öffentliche Seite und das CMS-Admin.
   Regel: Ein Akzent = eine Bedeutung. --accent nur für primäre Aktionen und
          Markenmomente, nicht für Deko oder sekundäre Elemente.
   Dark-only ist eine bewusste Markenentscheidung (kein Light-Theme vorgesehen).
   Einbindung: vor inter.css, fontawesome und styles.css.
   Kontrastwerte (WCAG 2.x): berechnet gegen --bg-0 / --bg-1 / --bg-2.
   ========================================================================== */

:root {
  /* ── Surfaces ── */
  --bg-0:#0a0a0a; --bg-1:#141414; --bg-2:#1d1d1f; --bg-tint:#170b05;
  --border-subtle:rgba(255,255,255,.08); --border-strong:rgba(255,255,255,.16);

  /* ── Content ── */
  --text-1:#f5f5f7;  /* Kontrast 18.18 (bg-0) / 16.92 (bg-1) / 15.46 (bg-2) */
  --text-2:#c9c9ce;  /* Kontrast 12.00 (bg-0) / 11.17 (bg-1) / 10.20 (bg-2) */
  --text-3:#98989d;  /* Kontrast 6.89 (bg-0) / 6.42 (bg-1) / 5.86 (bg-2); nur Text >=18px oder bold */

  /* ── Akzent (Marke) ── */
  --accent:#ff6a00;       /* Kontrast 6.90 (bg-0) / 6.42 (bg-1) / 5.86 (bg-2) */
  --accent-soft:#ff9500;  /* Kontrast 9.00 (bg-0) / 8.38 (bg-1) / 7.65 (bg-2) */
  --accent-press:#e05e00;
  --grad-accent:linear-gradient(135deg,#ff9500 0%,#ff6a00 60%,#ff4d00 100%);
  --focus-ring:#ffb366;   /* Kontrast 11.21 (bg-0) / 10.43 (bg-1) / 9.53 (bg-2) */

  /* ── Signale ── */
  --ok:#30d158; --err:#ff6961; --warn:#ffd60a;

  /* ── Typografie ── */
  --font-sans:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;
  --fs-display:clamp(3rem,9vw,7rem); --fs-title1:clamp(2rem,4.5vw,2.75rem);
  --fs-title2:clamp(1.5rem,3vw,2rem); --fs-title3:1.25rem;
  --fs-body:1.0625rem; --fs-callout:.9375rem; --fs-caption:.8125rem;
  --lh-tight:1.1; --lh-snug:1.3; --lh-normal:1.5;

  /* ── Spacing (4er-Raster) ── */
  --sp-1:4px; --sp-2:8px; --sp-3:12px; --sp-4:16px; --sp-5:24px; --sp-6:32px; --sp-7:48px; --sp-8:64px; --sp-9:96px;

  /* ── Radien ── */
  --r-sm:8px; --r-md:12px; --r-lg:20px; --r-pill:999px;

  /* ── Schatten & Glow ── */
  --shadow-1:0 2px 8px rgba(0,0,0,.4); --shadow-2:0 8px 24px rgba(0,0,0,.5);
  --glow-accent:0 0 24px rgba(255,106,0,.35);

  /* ── Motion ── */
  --dur-1:150ms; --dur-2:300ms; --dur-3:600ms;
  --ease-out:cubic-bezier(.22,.61,.36,1); --ease-in-out:cubic-bezier(.65,0,.35,1);
}

/* Reduzierte Bewegung respektieren (global) */
@media (prefers-reduced-motion: reduce){
  *,*::before,*::after{
    animation-duration:.01ms !important;
    animation-iteration-count:1 !important;
    transition-duration:.01ms !important;
    scroll-behavior:auto !important;
  }
}
