/* Design-Tokens – Bernazki Events */

@font-face {
  font-family: "Noto Serif";
  src: url("../fonts/NotoSerif-Variable.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans";
  src: url("../fonts/NotoSans-Variable.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Farben */
  --color-bg: #FBF9F5;
  --color-surface: #FFFFFF;
  --color-surface-alt: #F0EAE1;
  --color-text: #24322E;
  --color-text-muted: #56635E;
  --color-primary: #2F6255;
  --color-primary-hover: #244B42;
  --color-primary-soft: #E3ECE8;
  --color-accent: #B98A56;          /* nur dekorativ, nicht für kleinen Text auf Weiß */
  --color-accent-soft: #EBDCC8;
  --color-line: #D9DED8;
  --color-focus: #2F6255;
  --color-error: #9B2C2C;
  --color-error-soft: #FBEDEC;
  --color-warning-soft: #FBF1DD;
  --color-warning-line: #E2C58F;
  --color-success-soft: #E6F1EA;

  /* Typografie */
  --font-serif: "Noto Serif", Georgia, "Times New Roman", serif;
  --font-sans: "Noto Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --text-base: 1.0625rem;           /* 17 px */
  --text-small: 0.9375rem;
  --text-lead: clamp(1.125rem, 1.05rem + 0.35vw, 1.3rem);
  --h1: clamp(2.1rem, 1.6rem + 2.4vw, 3.5rem);
  --h2: clamp(1.6rem, 1.35rem + 1.2vw, 2.35rem);
  --h3: clamp(1.15rem, 1.08rem + 0.35vw, 1.35rem);
  --measure: 70ch;

  /* Abstände */
  --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: clamp(3.5rem, 2.5rem + 4vw, 6rem);

  /* Form */
  --container: 1200px;
  --gutter: clamp(1rem, 0.6rem + 2vw, 2rem);
  --radius: 18px;
  --radius-small: 10px;
  --radius-pill: 999px;
  --shadow: 0 1px 2px rgba(36, 50, 46, 0.05), 0 6px 20px rgba(36, 50, 46, 0.06);
  --shadow-hover: 0 2px 4px rgba(36, 50, 46, 0.06), 0 12px 32px rgba(36, 50, 46, 0.09);
  --duration: 200ms;
  --ease: cubic-bezier(0.2, 0.6, 0.2, 1);
}

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