/* ============================================================
   Legal pages (Impressum, Datenschutz, AGB)
   Lean, clean, no React. Inherits font/colour tokens from styles.css.
   ============================================================ */

.legal-page {
  min-height: 100vh;
  background: var(--bg, #0F1C29);
  color: var(--ink, #e8f2f5);
  font-family: var(--font-sans, "Open Sans", system-ui, sans-serif);
  padding: clamp(32px, 4vw, 64px) clamp(20px, 5vw, 64px) 96px;
  display: flex;
  justify-content: center;
}

.legal-page .legal-shell {
  width: 100%;
  max-width: 70ch;
}

.legal-page .legal-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: clamp(32px, 4vw, 56px);
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-soft, #6b8090);
}

.legal-page .legal-topbar a {
  color: var(--ink-2, #c8d4dc);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.legal-page .legal-topbar a:hover {
  color: var(--ink, #e8f2f5);
  border-bottom-color: currentColor;
}

.legal-page .legal-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.legal-page .legal-brand img {
  width: 18px;
  height: 18px;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

.legal-page h1 {
  font-family: var(--font-display, "Open Sans Condensed", "Open Sans", sans-serif);
  font-weight: 300;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
}

.legal-page .legal-eyebrow {
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-soft, #6b8090);
  margin-bottom: 12px;
}

.legal-page h2 {
  font-family: var(--font-display, "Open Sans Condensed", "Open Sans", sans-serif);
  font-weight: 400;
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.2;
  margin: 32px 0 8px;
  color: var(--ink, #e8f2f5);
}

.legal-page h3 {
  font-family: var(--font-sans, "Open Sans", system-ui, sans-serif);
  font-weight: 600;
  font-size: 15px;
  line-height: 1.3;
  margin: 20px 0 6px;
  color: var(--ink, #e8f2f5);
}

.legal-page p,
.legal-page li {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-2, #c8d4dc);
}

.legal-page p {
  margin: 0 0 10px;
}

.legal-page ul,
.legal-page ol {
  margin: 0 0 10px;
  padding-left: 20px;
}
.legal-page li {
  margin-bottom: 3px;
}

.legal-page a {
  color: var(--ink, #e8f2f5);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  transition: border-color 0.2s ease;
}
.legal-page a:hover {
  border-bottom-color: rgba(255, 255, 255, 0.7);
}

.legal-page .legal-meta {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--ink-soft, #6b8090);
}

.legal-page .legal-block {
  margin: 0 0 18px;
  /* Globales `section { padding: clamp(80px,11vw,160px) ... }` aus styles.css:813
     hier überschreiben — sonst entstehen riesige Lücken zwischen Legal-Blöcken. */
  padding: 0;
  overflow: visible;
}

.legal-page .legal-address {
  font-style: normal;
  margin: 0 0 18px;
  line-height: 1.7;
  color: var(--ink-2, #c8d4dc);
}
