/* Textseiten (Anleitung, Datenschutz): gleiche Farben wie die App, gut lesbar. */
:root {
  --bg: #0e0f13; --panel: #15161c; --surface: #1d1f27; --border: #2b2e3a;
  --ink: #eceef5; --muted: #a2a7b8; --accent: #8b96ff; --accent-grad: linear-gradient(135deg, #6f7dff 0%, #9a74ff 100%);
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root { --bg: #f3f4f8; --panel: #ffffff; --surface: #ffffff; --border: #dde0e9; --ink: #161821; --muted: #4f5568; --accent: #4350d6; color-scheme: light; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 18px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
}
a { color: var(--accent); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; max-width: 820px; margin: 0 auto; padding: 16px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; font-size: 19px; text-decoration: none; }
.logo img { width: 34px; height: 34px; border-radius: 9px; }
.cta {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 12px;
  background: var(--accent-grad); color: #fff; font-weight: 600; text-decoration: none; white-space: nowrap;
}
main { max-width: 820px; margin: 0 auto; padding: 8px 16px 48px; overflow-wrap: anywhere; }
main table { overflow-wrap: normal; }
nav.crumbs { font-size: 15px; color: var(--muted); }
nav.crumbs a { color: var(--muted); }
h1 { font-size: clamp(30px, 5vw, 42px); line-height: 1.15; letter-spacing: -0.02em; margin: 12px 0 16px; }
h2 { font-size: 26px; line-height: 1.25; margin: 48px 0 12px; letter-spacing: -0.01em; }
h3 { font-size: 20px; margin: 28px 0 8px; }
p, li { color: var(--ink); }
.lead { font-size: 20px; color: var(--muted); }
.stand { font-size: 15px; color: var(--muted); }
.kasten { padding: 16px 20px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); }
ol.schritte { padding-left: 0; list-style: none; counter-reset: s; display: grid; gap: 12px; }
ol.schritte > li { counter-increment: s; position: relative; padding: 14px 16px 14px 60px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); }
ol.schritte > li::before {
  content: counter(s); position: absolute; left: 16px; top: 14px; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; background: var(--accent-grad); color: #fff; font-weight: 700; font-size: 16px;
}
.tabelle { overflow-x: auto; border: 1px solid var(--border); border-radius: 14px; }
table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 16px; }
th, td { padding: 10px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); }
thead th { background: var(--surface); }
tbody tr:last-child td, tbody tr:last-child th { border-bottom: 0; }
details.frage { border-bottom: 1px solid var(--border); }
footer { max-width: 820px; margin: 0 auto; padding: 24px 16px 40px; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 15px; }
footer a { color: var(--muted); display: inline-flex; align-items: center; min-height: 44px; }
code { font-size: 0.9em; padding: 1px 5px; border-radius: 6px; background: var(--surface); border: 1px solid var(--border); }
