/* Hallmark · genre: editorial · macrostructure: Split Studio · theme: custom · enrichment: Tier C photographs (Symbolbilder, bis eigene Fotos da sind) · nav: N9 · footer: Ft1
 * vibe: "Rheinischer Backstein, Creme, Anthrazit, Messing" · paper oklch(96.5% 0.012 80) · accent oklch(58% 0.1 66) brass
 * display: Cormorant Garamond (roman) · body: Geist
 * axes: light / classical-serif / warm
 */

@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Geist";
  src: url("../fonts/geist-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Farbe · Papier und Tinte */
  --color-paper: oklch(96.5% 0.012 80);
  --color-paper-2: oklch(93.6% 0.015 78);
  --color-paper-3: oklch(90.4% 0.018 76);
  --color-rule: oklch(84% 0.014 75);
  --color-rule-strong: oklch(66% 0.012 70);
  --color-muted: oklch(43% 0.011 65);
  --color-ink: oklch(22% 0.008 65);
  --color-ink-hover: oklch(32% 0.009 65);

  /* Dunkle Flächen */
  --color-night: oklch(20% 0.008 65);
  --color-deep: oklch(10% 0.004 65);
  --color-night-2: oklch(25% 0.009 65);
  --color-night-rule: oklch(36% 0.01 65);
  --color-on-night: oklch(94.5% 0.012 80);
  --color-on-night-muted: oklch(78% 0.013 76);

  /* Akzent · Messing */
  --color-accent: oklch(58% 0.1 66);
  --color-accent-strong: oklch(49% 0.095 62);
  --color-accent-on-night: oklch(76% 0.1 74);
  --color-focus: oklch(52% 0.13 58);

  /* Status */
  --color-error: oklch(49% 0.16 30);
  --color-error-soft: oklch(94% 0.03 30);
  --color-success: oklch(46% 0.09 150);
  --color-success-soft: oklch(94% 0.03 150);

  /* Entwurfs-Markierung (nur solange html.entwurf gesetzt ist) */
  --color-draft: oklch(60% 0.16 42);
  --color-draft-soft: oklch(93% 0.04 60);

  /* Schrift */
  --font-display: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  --font-body: "Geist", ui-sans-serif, "Segoe UI", system-ui, sans-serif;

  /* Typo-Skala · Quarte 1.333, Basis 17px */
  --text-xs: 0.78rem;
  --text-sm: 0.875rem;
  --text-base: 1.0625rem;
  --text-md: 1.25rem;
  --text-lg: clamp(1.45rem, 1.2rem + 0.8vw, 1.8rem);
  --text-xl: clamp(1.9rem, 1.4rem + 1.6vw, 2.6rem);
  --text-2xl: clamp(2.4rem, 1.6rem + 2.6vw, 3.6rem);
  --text-display: clamp(2.85rem, 1.7rem + 3.9vw, 5.1rem);

  --tracking-caps: 0.2em;
  --tracking-wordmark: 0.26em;

  /* Abstand · 4pt-Raster */
  --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(5rem, 3.5rem + 5vw, 8.5rem);

  --page-gutter: clamp(1rem, 0.4rem + 3vw, 3rem);
  --container: 78rem;
  --measure: 62ch;

  /* Linien, Radien */
  --rule: 1px solid var(--color-rule);
  --rule-strong: 1px solid var(--color-rule-strong);
  --radius-sm: 2px;
  --shadow-float: 0 6px 24px oklch(20% 0.01 65 / 0.18);

  /* 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-base: 220ms;
  --dur-slow: 700ms;
}
