/* Typografie für die Rechtsseiten (Impressum, Datenschutz).
   Baut auf styles.css auf — Variablen, Schriften und Basis kommen von dort.
   Navigation und Footer sind dieselben wie auf der Startseite (styles.css).
   Diese Seiten kommen ohne eigenes JavaScript aus. */

.legal-page {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* Inhalt */
.legal-body {
  padding: clamp(40px, 6vw, 72px) 0 clamp(60px, 8vw, 96px);
}
.legal-body h1 {
  font-size: clamp(34px, 6vw, 54px);
  margin-bottom: 28px;
  line-height: 1.05;
}
.legal-body h2 {
  font-size: 26px;
  line-height: 1.2;
  margin: 52px 0 16px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.legal-body h2:first-of-type { border-top: none; padding-top: 0; margin-top: 40px; }
.legal-body h3 {
  font-size: 19px;
  line-height: 1.25;
  margin: 34px 0 10px;
}
.legal-body h4 {
  font-size: 16px;
  line-height: 1.3;
  margin: 24px 0 8px;
  color: var(--fg-muted);
}
.legal-body p {
  margin: 0 0 14px;
  color: var(--fg-muted);
  text-wrap: pretty;
}
.legal-body ul {
  margin: 0 0 16px;
  padding-left: 22px;
  color: var(--fg-muted);
}
.legal-body li { margin-bottom: 10px; }
.legal-body a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.legal-body a:hover { text-decoration-thickness: 2px; }

/* Anschriftenblock (verantwortliche Stelle, Angaben nach § 5 TMG) */
.legal-address {
  margin: 0 0 20px;
  padding: 20px 22px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-style: normal;
  color: var(--fg);
  line-height: 1.7;
}
.legal-address strong { font-weight: 600; }
.legal-address a { color: var(--accent); }

/* Hervorgehobene Rechtstexte in Versalien (Art. 21 DSGVO) — der Quelltext
   schreibt sie groß; hier etwas ruhiger gesetzt, damit sie lesbar bleiben. */
.legal-emphasis {
  font-size: 14px;
  letter-spacing: 0.01em;
}

.legal-source {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
  color: var(--fg-dim);
}
