/* Hallmark · route: custom (tuned) · vibe: "seriös, ruhig, Wiener Handwerksbetrieb, vertrauenswürdig" · anchor hue: copper 50
 * paper oklch(98.6% 0.004 85) · accent oklch(55% 0.115 50) · display: Newsreader · body: IBM Plex Sans
 * axes: light / classical-serif / warm  (AT Räumt: light / high-contrast-serif / chromatic-green)
 */
@font-face {
  font-family: "Newsreader";
  src: url("/fonts/newsreader.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("/fonts/ibm-plex-sans.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Farben: warmes Weiß, Dunkelblau, dezentes Kupfer */
  --color-paper: oklch(98.6% 0.004 85);
  --color-paper-2: oklch(96.4% 0.008 80);
  --color-paper-3: oklch(93% 0.012 78);
  --color-ink: oklch(24% 0.04 258);
  --color-ink-2: oklch(40% 0.03 258);
  --color-ink-3: oklch(53% 0.024 258);
  --color-line: oklch(90.5% 0.009 80);
  --color-line-strong: oklch(81% 0.014 80);
  --color-accent: oklch(55% 0.115 50);
  --color-accent-hover: oklch(49% 0.11 48);
  --color-accent-soft: oklch(95.5% 0.022 62);
  --color-accent-on-night: oklch(80% 0.085 68);
  --color-on-accent: oklch(99% 0.003 85);
  --color-night: oklch(26% 0.05 258);
  --color-night-2: oklch(30% 0.052 258);
  --color-night-3: oklch(35% 0.05 258);
  --color-night-line: oklch(40% 0.04 258);
  --color-on-night: oklch(97.5% 0.006 85);
  --color-on-night-2: oklch(80% 0.022 250);
  --color-focus: oklch(55% 0.16 255);
  --color-danger: oklch(50% 0.17 25);
  --color-danger-soft: oklch(95.5% 0.025 25);
  --color-warn: oklch(80% 0.13 85);
  --color-warn-soft: oklch(96% 0.04 90);
  --color-focus-ring: oklch(55% 0.16 255 / 0.18);
  --color-online: oklch(72% 0.15 150);
  --color-online-ring: oklch(72% 0.15 150 / 0.25);
  --color-shadow: oklch(24% 0.04 258 / 0.1);
  --color-scrim: oklch(20% 0.04 258 / 0.6);

  /* Schrift */
  --font-display: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: var(--font-display); /* Alias für das Admin-Portal */

  --text-xs: 0.8125rem;
  --text-sm: 0.9375rem;
  --text-md: 1.0625rem;
  --text-lg: 1.1875rem;
  --text-xl: clamp(1.35rem, 0.5vw + 1.2rem, 1.55rem);
  --text-2xl: clamp(1.65rem, 1vw + 1.35rem, 2.1rem);
  --text-3xl: clamp(2.1rem, 2vw + 1.45rem, 3rem);
  --text-display: clamp(2.6rem, 3.6vw + 1.2rem, 4.6rem);

  /* Abstände (4-pt) */
  --space-3xs: 0.25rem;
  --space-2xs: 0.5rem;
  --space-xs: 0.75rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4.5rem;
  --space-3xl: clamp(3.5rem, 7vw, 7rem);
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --max: 76rem;

  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 10px;
  --radius-pill: 999px;
  --rule: 1px solid var(--color-line);
  --rule-strong: 1px solid var(--color-line-strong);

  /* Bewegung */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in: cubic-bezier(0.55, 0, 1, 0.45);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 140ms;
  --dur-med: 220ms;
  --dur-slow: 360ms;
}
