@font-face {
  font-family: "Atkinson Hyperlegible";
  src: url("fonts/atkinson-hyperlegible-400.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Atkinson Hyperlegible";
  src: url("fonts/atkinson-hyperlegible-700.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  /* Farbe */
  --nw-color-paper: #f5f4f0;
  --nw-color-surface: #ffffff;
  --nw-color-ink: #000000;
  --nw-color-muted: #5c5b57;
  --nw-color-rule: #d4d1c9;
  --nw-color-accent: #1e5b4f;
  --nw-color-accent-hover: #17483f;

  /* Schrift */
  --nw-font-sans: "Atkinson Hyperlegible", Arial, Helvetica, sans-serif;
  --nw-font-weight-regular: 400;
  --nw-font-weight-bold: 700;
  --nw-font-weight-wordmark: 400;

  /* Schriftskala – Major Third, 1,25 */
  --nw-font-size-xs: 0.75rem;
  --nw-font-size-sm: 0.875rem;
  --nw-font-size-md: 1rem;
  --nw-font-size-lg: 1.25rem;
  --nw-font-size-xl: 1.563rem;
  --nw-font-size-2xl: 1.953rem;
  --nw-font-size-3xl: 2.441rem;
  --nw-font-size-4xl: 3.052rem;

  /* Zeilenhöhe */
  --nw-line-height-tight: 1.08;
  --nw-line-height-heading: 1.2;
  --nw-line-height-body: 1.55;

  /* Laufweite */
  --nw-letter-spacing-wordmark: -0.006em;
  --nw-letter-spacing-heading: -0.02em;
  --nw-letter-spacing-body: 0;
}

/* Dunkle Anwendung: helle Standardwerte oben bleiben für Dokumente erhalten. */
:root {
  /* Website schwarz-weiss: «antippbar» ist eine gefüllte helle Fläche oder eine
     Unterstreichung, keine Farbe. Das Grün oben gilt nur noch für Dokumente. */
  --nw-color-dark-background: #0a0a0a;
  --nw-color-dark-surface: #171717;
  --nw-color-dark-text: #f5f4f0;
  --nw-color-dark-muted: #bdbcb7;
  --nw-color-dark-rule: #343433;
  --nw-color-dark-control-border: #7b7a76;
  --nw-color-dark-accent: #f5f4f0;
  --nw-color-dark-accent-hover: #ffffff;
  --nw-color-light-paper: #f5f4f0;
  --nw-color-light-surface: #ffffff;
  --nw-color-light-ink: #000000;
  --nw-color-light-muted: #4d4c48;
  --nw-color-light-rule: #d4d1c9;
  --nw-color-light-accent: #000000;
  --nw-color-light-accent-hover: #2b2b2a;
  --nw-color-control-border: var(--nw-color-muted);
  --nw-color-button-text: var(--nw-color-surface);
}
[data-nw-theme="dark"] {
  color-scheme: dark;
  --nw-color-paper: var(--nw-color-dark-background);
  --nw-color-surface: var(--nw-color-dark-surface);
  --nw-color-ink: var(--nw-color-dark-text);
  --nw-color-muted: var(--nw-color-dark-muted);
  --nw-color-rule: var(--nw-color-dark-rule);
  --nw-color-accent: var(--nw-color-dark-accent);
  --nw-color-accent-hover: var(--nw-color-dark-accent-hover);
  --nw-color-control-border: var(--nw-color-dark-control-border);
  --nw-color-button-text: var(--nw-color-dark-background);
}
[data-nw-theme="light"] {
  color-scheme: light;
  --nw-color-paper: var(--nw-color-light-paper);
  --nw-color-surface: var(--nw-color-light-paper);
  --nw-color-ink: var(--nw-color-light-ink);
  --nw-color-muted: var(--nw-color-light-muted);
  --nw-color-rule: var(--nw-color-light-rule);
  --nw-color-accent: var(--nw-color-light-accent);
  --nw-color-accent-hover: var(--nw-color-light-accent-hover);
  --nw-color-control-border: var(--nw-color-light-muted);
  --nw-color-button-text: var(--nw-color-light-paper);
}
