/* legal.css — gemeinsames Aussehen der Rechtsseiten (Impressum, Datenschutz,
   Nutzungsbedingungen, Widerruf). Bewusst eine eigene Datei statt vier Kopien
   desselben <style>-Blocks: Rechtstexte werden über Jahre einzeln angefasst,
   und dabei driften eingebettete Kopien auseinander.
   Farben und Schrift sind identisch zur Startseite. */

:root {
  --bg: #0b1220;
  --text: #e8eefc;
  --muted: #aab6d1;
  --line: rgba(255, 255, 255, .12);
  --primary: #56a3ff;
  --warn: #ffd24a;
  --max: 860px;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  background: linear-gradient(180deg, #0a1120 0%, #0d1525 100%);
  color: var(--text);
  line-height: 1.7;
}
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { width: min(calc(100% - 32px), var(--max)); margin: 0 auto; }
header { padding: 36px 0 22px; border-bottom: 1px solid var(--line); }
main { padding: 28px 0 72px; }
.back { display: inline-block; margin-bottom: 18px; }
h1 { font-size: clamp(28px, 4.5vw, 44px); line-height: 1.05; margin: 0 0 10px; }
h2 { margin: 34px 0 10px; font-size: 21px; }
h3 { margin: 22px 0 6px; font-size: 17px; color: var(--text); }
p, li, td, th { color: var(--muted); }
ul, ol { padding-left: 22px; }
li { margin: 4px 0; }
.panel {
  margin-top: 20px;
  background: rgba(255, 255, 255, .03);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px 26px;
}
.small { font-size: 13px; }
code { background: rgba(255, 255, 255, .07); padding: 1px 5px; border-radius: 5px; font-size: 13px; }

/* Sprachumschalter: die verbindliche Fassung ist Deutsch, Englisch ist die
   Übersetzung. Beides steht auf DERSELBEN Seite — so kann keine Fassung
   vergessen werden, wenn eine geändert wird. */
.langbar { display: flex; gap: 8px; margin: 14px 0 0; }
.langbar button {
  font: inherit; font-size: 14px; cursor: pointer;
  background: rgba(255, 255, 255, .05); color: var(--muted);
  border: 1px solid var(--line); border-radius: 999px; padding: 5px 16px;
}
.langbar button[aria-pressed="true"] { background: var(--primary); color: #06101f; border-color: transparent; font-weight: 600; }
[data-lang] { display: none; }
[data-lang].on { display: block; }

/* Tabellen (Empfängerlisten in der Datenschutzerklärung) müssen auf dem Handy
   scrollen dürfen, ohne die Seite quer zu ziehen. */
.tablewrap { overflow-x: auto; margin: 12px 0; }
table { border-collapse: collapse; width: 100%; min-width: 520px; font-size: 14px; }
th, td { text-align: left; vertical-align: top; padding: 8px 10px; border-bottom: 1px solid var(--line); }
th { color: var(--text); font-weight: 600; }

/* Hinweiskasten für alles, was noch NICHT geprüft oder noch offen ist. Er ist
   absichtlich auffällig: eine ungeprüfte Rechtsseite darf nicht wie eine
   geprüfte aussehen. */
.hinweis {
  border-left: 3px solid var(--warn);
  background: rgba(255, 210, 74, .07);
  padding: 12px 16px; margin: 18px 0; border-radius: 0 10px 10px 0;
}
.hinweis p { color: var(--text); margin: 6px 0; }

footer { border-top: 1px solid var(--line); padding: 22px 0 40px; }
footer p { margin: 4px 0; }
