/* Patrick Smith · Design-Tokens
   Gemeinsame Grundlage für die Website (site.css) und die Tools unter /tools/.
   Wird vor allen anderen Stylesheets geladen. Farben, Schrift und Maße nur hier ändern. */

/* Montserrat (SIL Open Font License 1.1, see /assets/fonts/OFL.txt).
   Self-hosted variable font, Latin subset, weight axis 400-700. */
@font-face {
  font-family: "Montserrat";
  src: url("/assets/fonts/montserrat-latin-var.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #002659;
  --blue: #315391;
  --light-blue: #689be0;
  --teal: #00a5b2;
  --green: #b4d38b;
  --pale: #f4f8fb;
  --pale-teal: #eef8f9;
  --white: #ffffff;
  --line: #d3ddea;
  --line-soft: #e1e8f1;
  --muted: #9fb3cc;

  --font: "Montserrat", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(20px, 4vw, 40px);
  --max: 1240px;
  --rail: 280px;
  --section-y: clamp(64px, 8vw, 112px);
  --radius: 4px;
  --header-h: 76px;

  /* Bewegung: eine Skala für die ganze Website. Bewegung nur dort, wo sie einen Zusammenhang zeigt. */
  --motion-quick: 160ms; /* Zustandswechsel: Rahmen, Farben, Unterstreichung */
  --motion-base: 200ms; /* Verschieben und Heben: Pfeile, Karten, Knoten, Aufklappen */
  --motion-page: 280ms; /* Seitenübergänge und Filter */
  --motion-slow: 600ms; /* einmalige Hervorhebung beim Laden */
  --ease: ease-out;
}

/* Reduzierte Bewegung: Zustände wechseln sofort, nichts bewegt sich. */
@media (prefers-reduced-motion: reduce) {
  :root {
    --motion-quick: 0ms;
    --motion-base: 0ms;
    --motion-page: 0ms;
    --motion-slow: 0ms;
  }
}
