/* Gemeinsamer Rahmen aller Seiten: Marke, Schrift, Kopf, Fuß, Knöpfe.
   Jede Unterseite bringt ihre eigene Welt in ein eigenes Stylesheet mit. */
@font-face { font-family: "Overpass"; src: url(/assets/overpass-var.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --board: #121417;      /* Tafel, dunkler Grund */
  --board-2: #1D2025;
  --chalk: #EDEFF1;      /* Schrift auf der Tafel, kühl wie die Halle */
  --chalk-2: #B4B8BF;
  --hall: #EEF0F2;       /* Halle, heller Grund */
  --hall-2: #E1E4E8;
  --ink: #121417;
  --ink-2: #3F454D;
  --feather: #C8202F;    /* rote Feder im Logo: Handlungen */
  --feather-deep: #A3182A;
  --signal: #F2B705;     /* Kern */
  --gutter: clamp(16px, 4vw, 48px);
  --wrap: 1240px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 88px; }
body { margin: 0; background: var(--hall); color: var(--ink); font: 400 18px/1.6 "Overpass", system-ui, sans-serif; font-feature-settings: "liga" 0; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: .2em; }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; }
h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -.025em; line-height: 1.02; }
p { margin: 0; }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 20; background: var(--chalk); color: var(--ink); padding: 10px 14px; }
.skip-link:focus { left: 8px; }

/* Kopf */
.site-header { position: sticky; top: 0; z-index: 10; background: var(--board); color: var(--chalk); }
.header-inner { display: flex; align-items: center; gap: 28px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 800; font-size: 19px; letter-spacing: -.01em; }
.brand img { width: 34px; height: auto; }
.brand small { display: block; font-size: 13px; font-weight: 600; color: var(--chalk-2); letter-spacing: 0; }
.nav { display: flex; gap: 24px; margin-left: auto; font-weight: 600; font-size: 16px; }
.nav a { text-decoration: none; padding: 8px 0; border-bottom: 2px solid transparent; }
.nav a[aria-current="page"] { border-color: var(--signal); }
@media (hover: hover) and (pointer: fine) { .nav a:hover { border-color: var(--chalk-2); } }
.switch { font-size: 15px; font-weight: 600; color: var(--chalk-2); text-decoration: none; padding: 8px 0; }
@media (hover: hover) and (pointer: fine) { .switch:hover { color: var(--chalk); } }

/* Knöpfe */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 22px 10px; font: 700 17px/1.1 "Overpass", sans-serif; text-decoration: none; border-radius: 4px; transition: background-color .15s ease, color .15s ease; }
.btn-action { background: var(--feather); color: #fff; }
.btn-line { border: 2px solid currentColor; padding: 10px 20px 8px; }
@media (hover: hover) and (pointer: fine) {
  .btn-action:hover { background: var(--feather-deep); }
  .btn-line:hover { background: var(--chalk); color: var(--ink); border-color: var(--chalk); }
  .on-hall .btn-line:hover, .btn-line.on-hall:hover { background: var(--ink); color: var(--hall); border-color: var(--ink); }
}

/* Fuß */
.site-footer { background: var(--board); color: var(--chalk-2); font-size: 15px; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding: 28px 0 36px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.site-footer a { text-decoration: none; display: inline-block; padding: 4px 0; }
@media (hover: hover) and (pointer: fine) { .site-footer a:hover { color: var(--chalk); } }

/* Rechtsseiten */
.legal { padding: 64px 0 96px; }
.legal h1 { font-size: clamp(36px, 5vw, 56px); margin-bottom: 32px; }
.legal h2 { font-size: 22px; margin: 40px 0 10px; letter-spacing: -.01em; }
.legal p, .legal dd { max-width: 44em; }
.legal dl { display: grid; grid-template-columns: 9em 1fr; gap: 10px 24px; }
.legal dt { font-weight: 700; }
.legal dd { margin: 0; white-space: pre-line; }
.todo { background: var(--signal); color: var(--ink); padding: 0 4px; }

@media (max-width: 860px) {
  .nav { display: none; }
  .switch { margin-left: auto; }
  .header-inner { gap: 16px; min-height: 60px; }
  .legal dl { grid-template-columns: 1fr; gap: 2px; }
  .legal dd { margin-bottom: 12px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
.legal-lead { font-size: 20px; color: var(--ink-2); max-width: 40em; margin-bottom: 8px; }
/* Mail- und Telefonlinks im Fließtext: Tippfläche ≥ 24 px (WCAG 2.5.8) */
main a[href^="mailto:"], main a[href^="tel:"] { display: inline-block; padding: 4px 0; }
