/* =========================================================================
   MONO DIMENSION – Design Tokens
   Abgeleitet aus dem Logo-Styleguide (16-01-04_Logos_mit_Elementen.pdf).
   Diese Datei enthaelt ausschliesslich Variablen (Custom Properties).
   In der Website als erstes Stylesheet einbinden:
     <link rel="stylesheet" href="/assets/css/tokens.css">
   ========================================================================= */

:root {
  /* --- Markenfarben (Kernpalette) --------------------------------------- */
  --color-petrol: #005b61;        /* Primaerfarbe: Wortmarke, Headlines     */
  --color-teal: #00a2aa;          /* Sekundaerfarbe: Flaechen, Akzente      */

  /* --- Element-Akzente (drei Wuerfel; sparsam einsetzen: Icons, Highlights) - */
  --color-teal-dark: #006d7b;
  --color-green: #009839;
  --color-green-dark: #006a2d;
  --color-lime: #c7d300;
  --color-orange: #ea5707;
  --color-brown: #b9531d;

  /* --- Petrol-Abstufungen (Hover, Flaechen, Linien) -------------------- */
  --color-petrol-900: #003c40;
  --color-petrol-700: #004a4f;
  --color-petrol-600: #005b61;    /* = Basis                                */
  --color-petrol-300: #7fadb0;
  --color-petrol-100: #e5eeef;    /* dezente Flaechen / Section-Hintergrund */

  /* --- Neutrale Toene --------------------------------------------------- */
  --color-ink: #14242b;           /* Fliesstext                             */
  --color-ink-soft: #4b5a5e;      /* Sekundaertext, Captions                */
  --color-line: #dfe6e6;          /* Trennlinien, Rahmen                    */
  --color-paper: #f6f8f8;         /* heller Section-Hintergrund             */
  --color-white: #ffffff;

  /* --- Semantische Zuordnung ------------------------------------------- */
  --bg: var(--color-white);
  --bg-muted: var(--color-paper);
  --surface: var(--color-white);
  --text: var(--color-ink);
  --text-muted: var(--color-ink-soft);
  --heading: var(--color-petrol);
  --brand: var(--color-petrol);
  --brand-accent: var(--color-teal);
  --border: var(--color-line);
  --focus-ring: var(--color-teal);

  /* --- Typografie ------------------------------------------------------- */
  --font-display: "Montserrat", "Helvetica Neue", Arial, sans-serif; /* geometrisch, wie Wortmarke */
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;

  /* Fluid Type Scale (clamp: mobil -> desktop) */
  --fs-display: clamp(2.5rem, 6vw, 4.5rem);
  --fs-h1: clamp(2rem, 4.5vw, 3.25rem);
  --fs-h2: clamp(1.5rem, 3vw, 2.25rem);
  --fs-h3: clamp(1.25rem, 2vw, 1.5rem);
  --fs-body: clamp(1rem, 1.1vw, 1.125rem);
  --fs-small: 0.875rem;

  --lh-tight: 1.1;
  --lh-heading: 1.2;
  --lh-body: 1.6;

  --tracking-display: -0.01em;
  --tracking-caps: 0.08em;   /* fuer Grossbuchstaben-Labels wie in der Wortmarke */

  /* --- Spacing (8px-Raster) -------------------------------------------- */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* --- Layout ----------------------------------------------------------- */
  --container-max: 1200px;
  --container-pad: clamp(1.25rem, 5vw, 4rem);
  --section-gap: clamp(4rem, 10vw, 8rem);

  /* --- Radius / Rahmen / Schatten -------------------------------------- */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --border-width: 1px;

  --shadow-sm: 0 1px 2px rgba(0, 91, 97, 0.06);
  --shadow-md: 0 8px 24px rgba(0, 91, 97, 0.08);

  /* --- Motion ----------------------------------------------------------- */
  --ease: cubic-bezier(0.2, 0.6, 0.2, 1);
  --dur-fast: 150ms;
  --dur: 250ms;
}

@media (prefers-reduced-motion: reduce) {
  :root { --dur-fast: 0ms; --dur: 0ms; }
}
