/* legal.css – gemeinsames Styling für die Rechtsseiten (Impressum, Datenschutz, AGB, Widerruf).
   Selbe Palette wie Landingpage/Panel; bewusst schlank (Prosa-Seiten). */
:root {
  color-scheme: dark;
  --bg: #0a0a0c;
  --surface: #121215;
  --surface-2: #17171c;
  --border: #26262d;
  --fg: #f4f4f5;
  --muted: #9ca3af;
  --primary: #6366f1;
  --accent: #8b5cf6;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
  background-color: var(--bg);
  background-image:
    radial-gradient(50rem 50rem at 110% -10%, rgba(99,102,241,.07), transparent 60%),
    radial-gradient(40rem 40rem at -10% 110%, rgba(139,92,246,.05), transparent 60%);
  color: var(--fg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.7;
}
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { width: 100%; max-width: 820px; margin: 0 auto; padding: 0 24px; }

/* Nav */
nav.top { position: sticky; top: 0; z-index: 10; backdrop-filter: blur(14px); background: rgba(10,10,12,.7); border-bottom: 1px solid var(--border); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -.02em; color: var(--fg); }
.brand img { height: 34px; width: auto; border-radius: 9px; box-shadow: 0 0 0 1px rgba(255,255,255,.06); }
.btn-back { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 9px; border: 1px solid var(--border);
  background: rgba(255,255,255,.04); color: var(--fg); font-size: 13px; font-weight: 600; transition: background .15s; }
.btn-back:hover { background: var(--surface-2); text-decoration: none; }

/* Article */
article { padding: 48px 0 24px; }
article h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); letter-spacing: -.025em; font-weight: 800; margin-bottom: 8px; }
article .updated { color: var(--muted); font-size: 13px; margin-bottom: 28px; }
article h2 { font-size: 1.15rem; font-weight: 700; margin-top: 34px; margin-bottom: 10px; letter-spacing: -.01em; }
article h3 { font-size: 1rem; font-weight: 600; margin-top: 22px; margin-bottom: 8px; color: #e4e4e7; }
article p, article li { color: #d4d4d8; font-size: 14.5px; margin-bottom: 10px; }
article ul, article ol { padding-left: 22px; margin-bottom: 12px; }
article li { margin-bottom: 6px; }
article code { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 13px; background: var(--surface-2); padding: 1px 6px; border-radius: 5px; }
article .card { border: 1px solid var(--border); border-radius: 12px; background: rgba(21,21,25,.5); padding: 16px 18px; margin: 14px 0; }
.ph { color: var(--primary); font-weight: 600; }
.muted { color: var(--muted); }

/* Footer */
footer { border-top: 1px solid var(--border); margin-top: 40px; padding: 32px 0; }
.foot-links { display: flex; flex-wrap: wrap; gap: 18px; justify-content: center; }
.foot-links a { color: var(--muted); font-size: 13.5px; }
.foot-links a:hover { color: var(--fg); }
.foot-copy { text-align: center; color: var(--muted); font-size: 12.5px; margin-top: 16px; }
