/* AGB1: calm reading pages (/agb, /seo; since THNEU1 also /impressum and /datenschutz) in the look of the start page: black, Inter, #0A84FF links, one column. */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 500; font-display: swap;
  src: url(/fonts/g/inter-400-500.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
:root { --bg: #000000; --bubble: #1C1C1E; --text: #FFFFFF; --soft: #D1D1D6; --muted: #8E8E93; --link: #0A84FF; --rand: #2C2C2E; }
* { box-sizing: border-box; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; background: var(--bg); color: var(--soft);
  font: 400 17px/1.65 "Inter", system-ui, -apple-system, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
main { flex: 1 0 auto; width: 100%; max-width: 680px; margin: 0 auto; padding: calc(32px + env(safe-area-inset-top)) 20px 48px; }
.mark { margin: 0 0 28px; font-size: 15px; }
.mark a { color: var(--muted); text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.mark a:hover { color: var(--text); }
.stand { margin: 0 0 6px; font-size: 14px; color: var(--muted); }
h1 { margin: 0 0 12px; color: var(--text); font-size: clamp(22px, 7.6vw, 30px); line-height: 1.2; font-weight: 500; letter-spacing: -0.01em; }
.lead { margin: 0 0 8px; font-size: 19px; line-height: 1.5; color: var(--text); }
h2 { margin: 40px 0 10px; color: var(--text); font-size: 20px; line-height: 1.3; font-weight: 500; }
h3 { margin: 24px 0 6px; color: var(--text); font-size: 17px; font-weight: 500; }
p, li { margin: 0 0 12px; }
b, strong { font-weight: 500; color: var(--text); }
ol, ul { margin: 0 0 12px; padding-left: 22px; }
ol.abs { list-style: none; padding-left: 0; counter-reset: abs; }
ol.abs > li { counter-increment: abs; padding-left: 34px; position: relative; }
ol.abs > li::before { content: "(" counter(abs) ")"; position: absolute; left: 0; color: var(--muted); }
a { color: var(--link); text-underline-offset: 3px; }
a:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; border-radius: 4px; }
.frage { margin: 0 0 6px; padding: 8px 14px; border-radius: 18px; background: var(--bubble); color: var(--text); display: inline-block; max-width: 85%; }
.zeit { margin: 0 0 12px; padding: 0; list-style: none; }
.zeit li { margin: 0 0 14px; padding-left: 16px; border-left: 2px solid var(--rand); }
.zeit b { display: block; color: var(--text); font-weight: 500; }
.leise { color: var(--muted); font-size: 15px; }
.note { color: var(--muted); font-size: 15px; }
/* THNEU1: /seo, the short summary on top and the long parts folded, opened on tap. */
.kurz { margin: 28px 0 8px; padding: 20px 22px; border-radius: 24px; background: var(--bubble); }
.kurz-titel { margin: 0 0 10px; color: var(--muted); font-size: 15px; }
.kurz ul { margin: 0; padding-left: 20px; }
.kurz li { margin: 0 0 6px; color: var(--text); }
.kurz li:last-child { margin: 0; }
.falte { border-bottom: 1px solid var(--rand); }
.falte:first-of-type { margin-top: 28px; border-top: 1px solid var(--rand); }
.falte > summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; cursor: pointer; list-style: none; -webkit-tap-highlight-color: transparent; }
.falte > summary::-webkit-details-marker { display: none; }
.falte > summary h2 { margin: 0; padding: 14px 0; }
.falte > summary::after { content: ""; flex: none; width: 10px; height: 10px; margin-right: 6px; border: solid var(--muted); border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform 200ms ease-out; }
.falte[open] > summary::after { transform: rotate(-135deg); }
.falte > summary:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; border-radius: 6px; }
.falte[open] { padding-bottom: 14px; }
@media (prefers-reduced-motion: reduce) { .falte > summary::after { transition: none; } }
.recht { flex: none; width: 100%; margin: 0; padding: 0 16px env(safe-area-inset-bottom); text-align: center; font-size: 14px; color: var(--muted); }
.recht a { color: inherit; text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; padding: 0 8px; }
.recht a:hover, .recht a:focus-visible { color: var(--text); }
.recht span { color: var(--rand); }
@media (min-width: 900px) and (hover: hover) {
  main { padding-top: clamp(48px, 10vh, 120px); }
  h1 { font-size: 40px; }
}

/* THNEU2 (E): the name bar. "Timo Hölscher" stays on top of every page but the start page: sticky in the top left, at most
   44 px high, a link home. Once it has reached the top (leiste.js), it slides into the window's corner, gets a little
   smaller and a soft dark blur plate fades in behind it, so it stays readable over the content. The plate is fixed to the
   window's top edge, so it is as wide as the window and never makes the page wider. */
html { scroll-padding-top: calc(56px + env(safe-area-inset-top)); }
.mark { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 6; display: flex; align-items: center; height: 44px; }
.mark .mark-merker { display: none; }
.mark-merker { display: block; height: 0; }
.mark::before { content: ""; position: fixed; z-index: -1; top: 0; left: 0; right: 0; height: calc(44px + env(safe-area-inset-top, 0px));
  background: rgba(0,0,0,.86); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 1px 0 rgba(255,255,255,.07); opacity: 0; pointer-events: none; }
.mark a { min-height: 44px; transform-origin: 0 50%; }
.mark.klein::before { opacity: 1; }
.mark.klein a { color: #FFFFFF; transform: translateX(var(--nach, 0px)) scale(.92); }
.mark.bereit::before { transition: opacity 200ms ease-out; }
.mark.bereit a { transition: transform 220ms cubic-bezier(.2,.7,.2,1), color 200ms ease-out; }
body:has(.mark) #sprache { top: env(safe-area-inset-top, 0px); width: 44px; height: 44px; z-index: 7; }
@media (prefers-reduced-motion: reduce) { .mark.klein a { transform: none; } .mark.bereit::before, .mark.bereit a { transition: none; } }

/* THNEU2 (H4, I): headings break evenly (no word alone on the last line); footer links are 44 px wide at least. */
h1, h2, h3 { text-wrap: balance; }
.recht a { min-width: 44px; justify-content: center; }
