/*
 * legal.css — Styles für Impressum + Datenschutz.
 * Wird ZUSÄTZLICH zu css/main.css geladen (gleiche Tokens, Fonts, Reset,
 * Background-Dot-Grid, Nav, Buttons). Diese Datei deckt nur ab, was die
 * Landing-Page nicht hat: prose-layout, page-head, slim footer-Variante.
 *
 * Activator: <body class="legal-page">. Damit greifen nur Overrides
 * wenn das HTML es explizit anfordert.
 */

/* Schmalerer Container für Prose-Lesefluss (vs --c-max 1280px für LP) */
.legal-page .c { max-width: 880px; }

/* Link-Defaults für Prose: dezenter Underline-Hover (kein Pill, kein .bp) */
.legal-page a {
  color: var(--ac);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s ease;
}
.legal-page a:hover { border-bottom-color: var(--ac); }

/* ── Page-Header (Eyebrow + H1 + Subtitle, top of legal page) ───── */
.page-head {
  padding: 80px 0 60px;
  border-bottom: 1px solid var(--ln);
  position: relative;
  z-index: 1;
}

/*
 * .eyebrow ist eine andere Variante als .eb auf der LP:
 *   .eb:  Pill mit Orange-Background + pulsierendem Dot
 *   .eyebrow:  schlichter Mono-Strich-Marker (wie .sm) ohne Pill-Background
 */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ac);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: '';
  width: 14px;
  height: 1px;
  background: var(--ac);
}

.legal-page h1 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: 14px;
  color: var(--fg);
}
.subtitle {
  color: var(--fgs);
  font-size: 17px;
  max-width: 600px;
  line-height: 1.6;
}

/* ── Main content (sections mit h2/h3/p/ul) ──────────────────────── */
.legal-page .content {
  padding: 60px 0 100px;
  position: relative;
  z-index: 1;
}
.legal-page .content section { margin-bottom: 48px; }

.legal-page .content h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: 18px;
  padding-top: 32px;
  border-top: 1px solid var(--ln);
  color: var(--fg);
}
.legal-page .content section:first-child h2 {
  padding-top: 0;
  border-top: none;
}
.legal-page .content h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 18px;
  font-weight: 600;
  margin: 24px 0 12px;
  color: var(--fg);
}
.legal-page .content p {
  color: var(--fgs);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 14px;
}
.legal-page .content ul,
.legal-page .content ol {
  color: var(--fgs);
  font-size: 16px;
  line-height: 1.7;
  margin: 8px 0 14px 24px;
}
.legal-page .content li { margin-bottom: 6px; }
.legal-page .content strong { color: var(--fg); font-weight: 600; }
.legal-page .content em { color: var(--fgm); font-style: italic; }

/* Placeholder-Tag für noch nicht ausgefüllte Felder (Tooling-Marker) */
.placeholder {
  display: inline-block;
  background: var(--acs);
  border: 1px dashed rgba(254, 85, 2, 0.4);
  color: var(--ac);
  padding: 2px 8px;
  border-radius: 4px;
  font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.85em;
  letter-spacing: 0.02em;
}

/* Disclaimer-Box am Ende der Seite (grauer Border-Left, bg2-Hintergrund) */
.disclaimer {
  margin-top: 48px;
  padding: 24px 28px;
  background: var(--bg2);
  border-left: 3px solid var(--fgm);
  border-radius: 0 8px 8px 0;
  color: var(--fgs);
  font-size: 14px;
  line-height: 1.55;
}
.disclaimer strong {
  color: var(--fg);
  display: block;
  margin-bottom: 8px;
  font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* ── Slim-Footer-Variante (überschreibt 4-col Grid aus footer.css) ── */
.legal-page .footer {
  padding: 40px 0;
}
.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-links a {
  color: var(--fgs);
  font-size: 13px;
  margin-left: 24px;
  border-bottom: none;
}
.footer-links a:hover { color: var(--ac); }
.footer-meta {
  font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--fgm);
}
@media (max-width: 600px) {
  .footer-links a:first-child { margin-left: 0; }
}
