/* Nightbreaker — Impressum / AGB / Datenschutz
   Document-style pages on a plain paper theme (separate from the dark
   cover used on index.html) — same structure as the CHREMIGO legal
   pages, with its own standalone values (no shared token file here). */

:root {
  --lg-paper: #faf9fc;
  --lg-ink: #15131f;
  --lg-muted: #5c5968;
  --lg-border: rgba(21, 19, 31, 0.12);
  --lg-accent: #c04f8d;
}

body {
  margin: 0;
  -webkit-font-smoothing: antialiased;
  font-family: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  color: var(--lg-ink);
  background: var(--lg-paper);
}

.legal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 20px clamp(20px, 4vw, 56px);
  border-bottom: 1px solid var(--lg-border);
}

.legal-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  font-style: italic;
  font-size: 1.125rem;
  color: var(--lg-ink);
  text-decoration: none;
}

.legal-logo img {
  flex: none;
}

.legal-nav {
  display: flex;
  gap: 20px;
}

.legal-nav a {
  font-size: 0.8125rem;
  color: var(--lg-muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.legal-nav a:hover {
  color: var(--lg-ink);
  border-color: var(--lg-accent);
}

.legal {
  max-width: 640px;
  margin: 0 auto;
  padding: 56px clamp(20px, 4vw, 56px);
}

.legal__rule {
  width: 44px;
  height: 2px;
  background: var(--lg-accent);
  margin-bottom: 16px;
}

.legal__label {
  font-weight: 600;
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lg-muted);
}

.legal h1 {
  margin: 12px 0 0;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2rem;
}

.legal__meta {
  margin-top: 8px;
  font-size: 0.8125rem;
  color: var(--lg-muted);
}

.legal section {
  margin-top: 32px;
}

.legal h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--lg-ink);
}

.legal h3 {
  margin-top: 16px;
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--lg-ink);
}

.legal section p,
.legal section > ol,
.legal section > ul {
  margin-top: 8px;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--lg-ink);
}

.legal section ol,
.legal section ul {
  padding-left: 1.3em;
}

.legal section li {
  margin-top: 8px;
}

.legal section li:first-child {
  margin-top: 0;
}

.legal section li ul {
  margin-top: 8px;
  padding-left: 1.2em;
}

.legal section a {
  color: var(--lg-ink);
  border-bottom: 1px solid var(--lg-border);
}

.legal section a:hover {
  border-color: var(--lg-accent);
}

.legal__table-wrap {
  margin-top: 8px;
  overflow-x: auto;
}

.legal table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8125rem;
}

.legal th,
.legal td {
  border: 1px solid var(--lg-border);
  padding: 8px 12px;
  text-align: left;
  vertical-align: top;
}

.legal th {
  font-weight: 600;
  color: var(--lg-ink);
  background: rgba(21, 19, 31, 0.04);
}

.legal td {
  color: var(--lg-ink);
}

.legal__closing {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--lg-border);
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--lg-muted);
}

.legal-footer {
  padding: 32px clamp(20px, 4vw, 56px) 48px;
  border-top: 1px solid var(--lg-border);
  text-align: center;
}

.legal-footer p {
  margin: 0;
  font-size: 0.75rem;
  color: var(--lg-muted);
}

.legal-footer a {
  color: var(--lg-muted);
  border-bottom: 1px solid var(--lg-border);
}

.legal-footer a:hover {
  color: var(--lg-ink);
  border-color: var(--lg-accent);
}
