:root {
  --paper: #f3f2f0; --surface: #ffffff; --ink: #221f1c; --muted: #655f59; --line: #dcd7d1;
  --accent: #b04f0c; --accent-soft: #f8e3d2;
  --font-display: "Figtree", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Schibsted Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --paper: #14120f; --surface: #1d1a16; --ink: #eeebe7; --muted: #a8a199; --line: #37312b; --accent: #ea8440; --accent-soft: #3d2312; color-scheme: dark; } }
:root[data-theme="dark"] { --paper: #14120f; --surface: #1d1a16; --ink: #eeebe7; --muted: #a8a199; --line: #37312b; --accent: #ea8440; --accent-soft: #3d2312; color-scheme: dark; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.6 var(--font-body);
  padding: env(safe-area-inset-top, 0px) max(16px, env(safe-area-inset-right, 0px)) 64px max(16px, env(safe-area-inset-left, 0px)); }
main { max-width: 760px; margin: 0 auto; }
a { color: var(--accent); }
.meta { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding-block: 24px; font-family: var(--font-mono); font-size: .78rem;
  text-transform: uppercase; letter-spacing: .1em; color: var(--muted); border-bottom: 1px solid var(--line); }
.meta a { color: inherit; text-decoration: none; }
.meta a.wort { color: var(--ink); }
.wort { font-family: var(--font-display); font-weight: 800; letter-spacing: -.04em; }
.wort span { color: var(--accent); }
h1 { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.2rem, 6vw, 3.6rem); line-height: 1; letter-spacing: -.035em; margin: 40px 0 24px; text-wrap: balance; overflow-wrap: anywhere; hyphens: auto; }
h2 { font-family: var(--font-display); font-weight: 750; font-size: 1.3rem; margin: 36px 0 8px; }
p, li { max-width: 68ch; }
ul { padding-left: 1.2em; }
.klein { color: var(--muted); font-size: .92rem; }
footer { margin-top: 56px; padding-top: 16px; border-top: 1px solid var(--line); font-size: .9rem; color: var(--muted); }

/* Unterseiten der Suchmaschinenfassung */
:root { --stamp: #b5093f; --stamp-soft: #fbe5eb; --calm: #2f6b4f; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --stamp: #ff5c86; --stamp-soft: #3e1424; --calm: #7fcaa5; } }
:root[data-theme="dark"] { --stamp: #ff5c86; --stamp-soft: #3e1424; --calm: #7fcaa5; }
.krumen { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .06em; color: var(--muted); margin-top: 20px; }
.krumen:empty { display: none; }
.krumen a { color: inherit; }
.krumen + h1 { margin-top: 16px; }
.lede { font-size: 1.12rem; line-height: 1.5; margin: 0; }
.kopfzeile { display: flex; gap: 20px; align-items: flex-start; margin-bottom: 20px; }
.kopfzeile .stempel { margin-top: 4px; }
.knopf { display: inline-block; background: var(--accent); color: #fff; font-weight: 700; text-decoration: none; padding: 10px 16px; border-radius: 6px; margin-right: 12px; }
:root[data-theme="dark"] .knopf { color: #14120f; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .knopf { color: #14120f; } }
.links { margin: 20px 0; }
.achtung { border-left: 3px solid var(--stamp); padding-left: 12px; }
dl.fakten { display: grid; grid-template-columns: minmax(9rem, max-content) 1fr; gap: 6px 18px; margin: 24px 0; font-size: .95rem; }
dl.fakten dt { color: var(--muted); font-family: var(--font-mono); font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; padding-top: 3px; }
dl.fakten dd { margin: 0; }
@media (max-width: 560px) { dl.fakten { grid-template-columns: 1fr; gap: 2px; } dl.fakten dd { margin-bottom: 10px; } .kopfzeile { flex-direction: column-reverse; gap: 10px; } }
.progliste { list-style: none; padding: 0; margin: 12px 0 0; }
.pz { display: flex; gap: 16px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--line); max-width: none; }
.pz > div { min-width: 0; overflow-wrap: anywhere; hyphens: auto; }
.pz a { font-weight: 650; color: var(--ink); text-decoration-color: var(--line); text-underline-offset: 3px; }
.pz a:hover { color: var(--accent); }
.geber { font-size: .88rem; color: var(--muted); }
.geber b { font-family: var(--font-mono); font-size: .72rem; font-weight: 500; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); margin-right: 6px; }
.stempel { flex: none; font-family: var(--font-mono); text-align: center; color: var(--stamp); border: 1.5px solid var(--stamp); border-radius: 4px;
  padding: 3px 6px 4px; transform: rotate(-2.5deg); background: var(--stamp-soft); min-width: 7.2rem; line-height: 1.3; }
.stempel .k { display: block; font-size: .58rem; text-transform: uppercase; letter-spacing: .12em; }
.stempel .d { display: block; font-size: .9rem; font-weight: 500; font-variant-numeric: tabular-nums; }
.stempel.ruhig { color: var(--calm); border-color: var(--calm); background: transparent; }
.stempel.grau { color: var(--muted); border-color: var(--line); background: transparent; transform: none; }
.stempel.vor { border-style: dashed; }
.weiter { margin-top: 32px; font-size: .92rem; }
