/* Design-Tokens: einzige Quelle für Farben, Typografie, Abstände und Radien. */

@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/plus-jakarta-sans-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  color-scheme: light;

  /* Farben */
  --color-navy: #101c2c;
  --color-slate: #1d3045;
  --color-navy-raised: #1d3045;
  --color-ink: #101c2c;
  --color-text: #3a4658;
  --color-muted: #5d6878;
  --color-line: #e3e7ec;
  --color-line-strong: #cdd4dd;
  --color-surface: #ffffff;
  --color-subtle: #f5f7fa;
  --color-accent: #16b8a6;
  --color-accent-hover: #12a493;
  --color-accent-text: #0b7a6e;
  --color-accent-soft: #e2f6f3;
  --color-on-accent: #101c2c;
  --color-tint: #f5f7fa;
  --color-sky: #5fd8ca;
  --color-on-dark: #f1f4f8;
  --color-on-dark-muted: #aab6c4;
  --color-line-dark: rgba(255, 255, 255, 0.12);
  --color-success: #15803d;
  --color-danger: #b42318;
  --color-focus: #16b8a6;

  /* Typografie */
  --font-sans: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --text-xs: 0.8125rem;   /* 13px */
  --text-sm: 0.875rem;    /* 14px */
  --text-base: 1.0625rem; /* 17px */
  --text-lg: 1.1875rem;   /* 19px */
  --text-xl: 1.375rem;    /* 22px */
  --text-2xl: clamp(1.75rem, 1.2rem + 1.8vw, 2.5rem);
  --text-3xl: clamp(2.25rem, 1.4rem + 3vw, 3.5rem);
  --leading-tight: 1.1;
  --leading-snug: 1.3;
  --leading-body: 1.65;
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;

  /* Abstände (4px-Raster) */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;
  --section-y: clamp(4rem, 3rem + 5vw, 7.5rem);
  --gutter: clamp(1.125rem, 0.6rem + 2.4vw, 2.5rem);

  /* Layout */
  --container: 1180px;
  --measure: 38rem;
  --header-h: 72px;

  /* Form */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 2px rgba(16, 28, 44, 0.06);
  --shadow-lg: 0 24px 48px -24px rgba(16, 28, 44, 0.28), 0 2px 6px rgba(16, 28, 44, 0.05);

  /* Bewegung */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --duration: 180ms;
}
