/* Feedboard — Support und Datenschutz
   Farben und Schrift wie in der App (Theme.swift). Keine fremden Quellen:
   kein Google Fonts, kein CDN, keine Skripte — auf einer Datenschutzseite
   wäre eine eingebundene Fremd-Schriftart ein Eigentor. */

@font-face {
  font-family: "Fraunces";
  src: url("fonts/Fraunces9pt-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("fonts/Fraunces9pt-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

:root {
  --bg: #F6F2EA;
  --surface: #FFFDF8;
  --ink: #1C1914;
  --muted: #625B4E;
  --faint: #7A7263;
  --line: #E4DDCE;
  --line-strong: #CFC5B0;
  --accent: #B3341E;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --surface: #0D0B08;
    --ink: #EDE7DA;
    --muted: #9B917F;
    --faint: #847C6C;
    --line: #302A21;
    --line-strong: #453D30;
    --accent: #E25638;
  }
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  padding: 0 16px 96px;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  text-rendering: optimizeLegibility;
}

.wrap { max-width: 44rem; margin: 0 auto; }

/* Kopf — die Masthead-Anmutung der App: Linie oben, Linie unten, Name dazwischen */
header.masthead {
  border-bottom: 2px solid var(--ink);
  padding: 40px 0 14px;
  margin-bottom: 34px;
}

header.masthead h1 {
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-weight: 700;
  font-size: clamp(2.1rem, 8vw, 3.1rem);
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0 0 6px;
}

header.masthead p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

nav.top {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  align-items: baseline;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
  margin-bottom: 8px;
  font-size: 0.9rem;
}

nav.top a { color: var(--muted); }
nav.top a[aria-current="page"] { color: var(--ink); font-weight: 600; }
nav.top .lang { margin-left: auto; color: var(--faint); }

h2 {
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 44px 0 12px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

h2:first-of-type { border-top: none; padding-top: 0; }

h3 {
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-weight: 600;
  font-size: 1.12rem;
  margin: 28px 0 6px;
}

p, ul, ol { margin: 0 0 14px; }
ul, ol { padding-left: 1.25em; }
li { margin-bottom: 6px; }

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }

strong { font-weight: 600; }

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.88em;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 1px 5px;
}

/* Kasten für den Kern einer Aussage — in der App die „Kachel" */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px 22px;
  margin: 0 0 26px;
}

.card p:last-child, .card ul:last-child { margin-bottom: 0; }

.lede {
  font-size: 1.16rem;
  line-height: 1.55;
  color: var(--ink);
}

dl.facts { margin: 0; }
dl.facts dt { font-weight: 600; margin-top: 14px; }
dl.facts dt:first-child { margin-top: 0; }
dl.facts dd { margin: 2px 0 0; color: var(--muted); }

footer {
  margin-top: 56px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 0.86rem;
}

footer a { color: var(--faint); }

@media (max-width: 480px) {
  body { font-size: 16px; }
  .card { padding: 16px 17px; }
}
