/* Grundlage aller Seiten · Richtung A „Präzision“
   Weiß, feines Raster, Blau als Hauptfarbe, Oliv als Akzent. Schriften selbst gehostet (keine Anfragen an Dritte). */
@font-face { font-family: "IBM Plex Sans"; font-weight: 400; font-style: normal; font-display: swap; src: url("schriften/ibm-plex-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 500; font-style: normal; font-display: swap; src: url("schriften/ibm-plex-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 600; font-style: normal; font-display: swap; src: url("schriften/ibm-plex-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 700; font-style: normal; font-display: swap; src: url("schriften/ibm-plex-sans-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 400; font-style: normal; font-display: swap; src: url("schriften/ibm-plex-mono-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 500; font-style: normal; font-display: swap; src: url("schriften/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); }

:root {
  --tinte: #0F2A47;        /* Text, dunkle Flächen */
  --blau: #1F5FAD;         /* Hauptfarbe, Knöpfe */
  --blau-hell: #DCE8F6;
  --blau-flaeche: #E8EFF8;
  --oliv: #5E6B2A;         /* Akzent */
  --oliv-hell: #E9EDDD;
  --oliv-auf-dunkel: #C9D48F;
  --leise: #4A5B6E;        /* Nebentext, 7:1 auf Weiß */
  --linie: #D9E1EA;
  --linie-stark: #C7D3E0;
  --raster: #EEF2F6;
  --flaeche: #F5F8FB;
  --weiss: #FFFFFF;
  --fehler: #A3261B;
  --sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --radius: 4px;
  --breite: 1200px;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--weiss); color: var(--tinte); font-family: var(--sans); font-size: 17px; line-height: 1.55; }
img { max-width: 100%; height: auto; }
a { color: var(--blau); }
a:hover { color: var(--tinte); }
:focus-visible { outline: 3px solid var(--blau); outline-offset: 3px; }
h1, h2, h3 { text-wrap: balance; letter-spacing: -0.02em; }
.wrap { max-width: var(--breite); margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left)); padding-right: max(20px, env(safe-area-inset-right)); }
.kennung { font-family: var(--mono); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--oliv); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ueberspringen { position: absolute; left: 12px; top: -60px; background: var(--tinte); color: var(--weiss); padding: 10px 14px; z-index: 50; border-radius: var(--radius); }
.ueberspringen:focus { top: 12px; color: var(--weiss); }

/* Wortmarke: Schriftzug mit olivem Trennstrich. Name folgt, bis dahin Platzhalter. */
.marke { display: inline-flex; align-items: baseline; text-decoration: none; color: var(--tinte); font-size: 22px; letter-spacing: -0.02em; white-space: nowrap; }
.marke b { font-weight: 700; }
.marke i { font-style: normal; font-weight: 700; color: var(--oliv); }
.marke span { font-weight: 400; }

/* Knöpfe: mindestens 48 px hoch, gut mit dem Daumen zu treffen */
.knopf { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: var(--radius); border: 1px solid var(--blau); background: var(--blau); color: var(--weiss); font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; }
.knopf:hover { background: var(--tinte); border-color: var(--tinte); color: var(--weiss); }
.knopf.rahmen { background: transparent; color: var(--tinte); border-color: var(--tinte); }
.knopf.rahmen:hover { background: var(--tinte); color: var(--weiss); }
.knopf.gross { min-height: 56px; font-size: 18px; padding: 0 28px; }
.knopf:disabled { opacity: .5; cursor: default; }

/* Kopf */
.kopf { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: rgba(255,255,255,0.96); border-bottom: 1px solid var(--linie); backdrop-filter: saturate(1.4) blur(6px); }
.kopf .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.kopf nav { display: flex; align-items: center; gap: 26px; }
.kopf nav a.link { color: var(--tinte); text-decoration: none; font-size: 15px; }
.kopf nav a.link:hover { color: var(--blau); text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 900px) { .kopf nav a.link { display: none; } .kopf .knopf { padding: 0 14px; font-size: 15px; } }

/* Fuß */
.fuss { background: var(--tinte); color: #C7D3E0; font-size: 14px; }
.fuss .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding-top: 24px; padding-bottom: calc(28px + env(safe-area-inset-bottom)); border-top: 1px solid #3A5675; }
.fuss a { color: #C7D3E0; }
.fuss a:hover { color: var(--weiss); }
.fuss nav { display: flex; flex-wrap: wrap; gap: 20px; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
