/* Friedemann Benner – Design-Tokens
   Farben, Schriften, Abstände und Bausteine an einer Stelle.
   Alles andere im Code verweist nur auf diese Werte. */

@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/sourcesans3.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/sourcesans3-italic.woff2") format("woff2");
  font-weight: 200 900;
  font-style: italic;
  font-display: swap;
}

:root {
  /* Farbpalette aus dem Designbrief */
  --green: #203A32;      /* Tiefes Tannengrün – Hauptfarbe, dunkle Flächen */
  --ivory: #F5F0E6;      /* Warmes Elfenbein – Seitenhintergrund */
  --brass: #B39A65;      /* Messinggold, matt – sparsame Akzente */
  --walnut: #594438;     /* Walnussbraun – ergänzende Flächen */
  --ink: #292B28;        /* Dunkles Anthrazit – Fließtext */
  --sage: #DDE2D8;       /* Gedämpftes Salbeigrün – sekundäre Flächen */

  /* Abgeleitete Töne (Flächenstufen statt Linien) */
  --ivory-deep: #ECE5D7;
  --ink-soft: #4E514C;          /* Nebentext auf hellem Grund */
  --ivory-soft: #D9D3C6;        /* Nebentext auf dunklem Grund */
  --scrim: rgba(22, 24, 23, 0.62);

  /* Rollen */
  --bg: var(--ivory);
  --surface: var(--ivory-deep);
  --text: var(--ink);
  --accent: var(--brass);

  /* Schriften: Serif für Name und Überschriften, Sans für Text */
  --font-display: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-text: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;

  /* Fünf Schriftgrößen, mehr nicht */
  --size-name: clamp(56px, 9vw, 140px);        /* der Name */
  --size-head: clamp(44px, 5.4vw, 84px);       /* Bereichsüberschriften */
  --size-statement: clamp(24px, 2.3vw, 34px);  /* Aussagen, Tabellen, Kapiteltitel */
  --size-body: 18px;                           /* Fließtext */
  --size-small: 15px;                          /* Bildunterschriften, Navigation */

  /* Raster und Abstände */
  --margin: clamp(16px, 2.2vw, 32px);
  --gutter: clamp(12px, 1.6vw, 24px);
  --section-gap: clamp(112px, 14vw, 200px);

  /* Bausteine: eckig, einmal entschieden */
  --radius: 0;
  --button-height: 52px;

  /* Bewegung */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 180ms;
  --dur: 600ms;
  --dur-slow: 900ms;
}
