/* Grundlagen: Reset, Schrift, Überschriften, Fokus, Hilfsklassen */
* { box-sizing: border-box; }
html, body { margin: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { font-family: var(--font); font-size: var(--fs-base); line-height: var(--lh-body); font-feature-settings: "cv11", "calt"; background: var(--bg); color: var(--text);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; line-height: var(--lh-tight); letter-spacing: -.015em; font-weight: var(--fw-bold); }
h2 { font-size: var(--fs-lg); } h3 { font-size: var(--fs-base); font-weight: var(--fw-semibold); letter-spacing: -.01em; }
p { text-wrap: pretty; }
code { font-family: var(--mono); font-size: var(--fs-xs); background: var(--surface-2); border: 1px solid var(--border); padding: 1px 6px; border-radius: var(--r-xs); }
small, .small { font-size: var(--fs-xs); }
.muted { color: var(--muted); } .block { display: block; } .nowrap { white-space: nowrap; }
.num { font-variant-numeric: tabular-nums; }
[hidden] { display: none !important; }
::selection { background: color-mix(in srgb, var(--accent) 28%, transparent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; } }
/* Links im Fließtext sichtbar machen (Navigation, Knöpfe & Karten bleiben unverändert) */
p a:not(.btn):not(.link), .hint a, .empty a, li > a:not(.btn):not(.link):not([class]) { color: var(--accent-text); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; text-decoration-color: color-mix(in srgb, var(--accent) 45%, transparent); }
p a:not(.btn):not(.link):hover, .hint a:hover, .empty a:hover { text-decoration-color: currentColor; }
.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; }
