/* Textseiten (Impressum, Datenschutz) — bewusst schlicht und ohne JavaScript. */

:root {
  --bg: #f5f5f7;
  --surface: #ffffff;
  --border: #dcdce1;
  --text: #1c1c1e;
  --muted: #6b6b70;
  --accent: #8a5a2b;
  --accent-soft: #f2e8dd;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

a { color: var(--accent); }

header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: calc(14px + env(safe-area-inset-top, 0px)) 20px 14px;
}

.zurueck { text-decoration: none; font-weight: 550; }
.zurueck:hover { text-decoration: underline; }

main {
  max-width: 760px;
  margin: 0 auto;
  padding: 32px 20px 48px;
}

h1 { font-size: 30px; line-height: 1.2; margin: 0 0 24px; letter-spacing: -.02em; }
h2 { font-size: 19px; margin: 32px 0 10px; }
h2:first-of-type { margin-top: 24px; }

p { margin: 0 0 14px; }

/* Kurzfassung ganz oben — das Wichtigste soll man lesen, ohne zu scrollen. */
.lead {
  background: var(--accent-soft);
  border-radius: 12px;
  padding: 16px 18px;
  margin-bottom: 28px;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .92em;
  background: #eeeef1;
  padding: 1px 5px;
  border-radius: 5px;
}

footer {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  padding: 24px 20px calc(28px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--border);
  background: var(--surface);
  font-size: 15px;
}
