/* ============================================================
   LOTUS · Rechtliches (Impressum & Datenschutzerklärung)
   Nutzt die Design-System-Tokens (css/tokens/*) und die
   Nav-/Footer-Primitive aus startseite.css.
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

.site {
  min-height: 100vh;
  background: var(--black);
  color: var(--text-body);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

/* ---- Content shell ---------------------------------------- */
.legal {
  flex: 1 0 auto;
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(48px, 8vw, 96px) var(--gutter) clamp(56px, 9vw, 110px);
}

.legal__eyebrow {
  font-family: var(--font-sans);
  font-size: var(--t-eyebrow);
  font-weight: var(--w-medium);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 14px;
}

.legal__title {
  font-family: var(--font-display);
  font-size: var(--t-h1);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-display);
  color: var(--text-strong);
  margin: 0 0 12px;
}

.legal__intro {
  color: var(--text-muted);
  font-size: var(--t-small);
  max-width: 60ch;
  margin: 0 0 8px;
}

/* Center-fading gold hairline under the header */
.legal__rule {
  height: 1px;
  border: 0;
  margin: 32px 0 8px;
  background: var(--rule-gold, linear-gradient(90deg, transparent, var(--gold-500), transparent));
}

/* ---- Sections --------------------------------------------- */
.legal__section { margin-top: 44px; }

.legal__h2 {
  font-family: var(--font-display);
  font-size: var(--t-h3);
  font-weight: var(--w-medium);
  color: var(--accent-bright);
  margin: 0 0 18px;
  letter-spacing: var(--ls-display);
}

/* Definition-list rows for the data blocks */
.legal__dl {
  display: grid;
  grid-template-columns: minmax(190px, max-content) 1fr;
  gap: 12px 32px;
  margin: 0;
}
.legal__dl dt {
  color: var(--text-dim);
  font-size: var(--t-small);
  letter-spacing: 0.04em;
}
.legal__dl dd {
  margin: 0;
  color: var(--text-body);
  font-size: var(--t-body);
}

.legal__list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.legal__list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border-hairline);
  color: var(--text-body);
}
.legal__list li:last-child { border-bottom: 0; }
.legal__list .legal__role {
  display: block;
  margin-top: 2px;
  font-size: var(--t-caption);
  letter-spacing: 0.06em;
  color: var(--text-dim);
  text-transform: uppercase;
}

/* Sub-heading inside a section (Datenschutz: einzelne Verarbeitungen) */
.legal__h3 {
  font-family: var(--font-sans);
  font-size: var(--t-small);
  font-weight: var(--w-semibold);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: var(--gold-bright);
  margin: 28px 0 10px;
}
.legal__section > .legal__h3:first-of-type { margin-top: 0; }

/* Bulleted prose list (Betroffenenrechte, Datenkategorien) */
.legal__ul {
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
  max-width: 68ch;
}
.legal__ul li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
  color: var(--text-body);
  line-height: var(--lh-body);
}
.legal__ul li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 11px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--violet-400);
  box-shadow: 0 0 6px var(--violet-400);
}
.legal__ul li strong { color: var(--text-strong); font-weight: var(--w-semibold); }

.legal__p {
  color: var(--text-body);
  line-height: var(--lh-body);
  margin: 0 0 14px;
  max-width: 68ch;
}
.legal__p:last-child { margin-bottom: 0; }
.legal__p strong { color: var(--text-strong); font-weight: var(--w-semibold); }

.legal a {
  color: var(--violet-300);
  text-decoration: none;
  border-bottom: 1px solid color-mix(in srgb, var(--violet-300) 45%, transparent);
  transition: color 200ms ease, border-color 200ms ease;
}
.legal a:hover,
.legal a:focus-visible {
  color: var(--silver-50);
  border-bottom-color: currentColor;
}

/* ---- Responsive ------------------------------------------- */
@media (max-width: 560px) {
  .legal__dl {
    grid-template-columns: 1fr;
    gap: 4px 0;
  }
  .legal__dl dt { margin-top: 16px; }
  .legal__dl dd { margin-bottom: 2px; }
}
