/* ============================================================
   VEXORA — LEGAL / DOC PAGES
   Schlankes, gut lesbares Layout für AGB · Datenschutz · Impressum
   ============================================================ */
:root {
  --brand: var(--vx-brand);
  --brand-soft: var(--vx-brand-soft);
  --ink: var(--vx-ink);
  --ink-2: var(--vx-ink-2);
  --text: var(--vx-text);
  --muted: var(--vx-muted);
  --line: var(--vx-line);
  --surface: var(--vx-surface);
  --bg: var(--vx-bg);
  --ease: var(--vx-ease);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--vx-font, "Geist", -apple-system, system-ui, sans-serif);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* Top bar */
.doc-top {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.doc-top img { height: 26px; width: auto; display: block; }
.doc-top__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s;
}
.doc-top__back:hover { color: var(--brand); }
.doc-top__back svg { width: 16px; height: 16px; }

/* Content */
.doc {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 24px 120px;
}
.doc__eyebrow {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 12px;
}
.doc__title {
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 10px;
}
.doc__updated {
  font-size: 13.5px;
  color: var(--muted);
  margin-bottom: 36px;
}

.doc h2 {
  font-size: 19px;
  font-weight: 650;
  color: var(--ink);
  letter-spacing: -0.015em;
  margin: 38px 0 12px;
}
.doc h3 {
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ink-2);
  margin: 22px 0 8px;
}
.doc p { font-size: 15px; color: var(--text); margin-bottom: 14px; }
.doc ul, .doc ol { margin: 0 0 16px 22px; }
.doc li { font-size: 15px; color: var(--text); margin-bottom: 7px; }
.doc a { color: var(--brand); text-decoration: none; }
.doc a:hover { text-decoration: underline; }
.doc strong { color: var(--ink-2); font-weight: 600; }

/* Platzhalter-Markierung (vom Betreiber auszufüllen) */
.doc mark, .ph {
  background: var(--brand-soft);
  color: var(--brand);
  padding: 1px 6px;
  border-radius: 5px;
  font-size: 0.92em;
  font-weight: 500;
}

/* Hinweis-Banner (rechtliche Prüfung) */
.doc-note {
  display: flex;
  gap: 12px;
  padding: 16px 18px;
  margin-bottom: 36px;
  background: #fff8ec;
  border: 1px solid #f5d99a;
  border-radius: 12px;
  font-size: 13.5px;
  color: #8a5a00;
  line-height: 1.55;
}
.doc-note svg { width: 19px; height: 19px; flex-shrink: 0; margin-top: 1px; color: #d98a00; }

/* Definitionsliste (Impressum-Kontakt) */
.doc-dl { margin: 4px 0 18px; }
.doc-dl div { display: flex; gap: 10px; padding: 5px 0; font-size: 15px; }
.doc-dl dt { min-width: 150px; color: var(--muted); }
.doc-dl dd { color: var(--ink-2); font-weight: 500; }

/* Footer */
.doc-foot {
  border-top: 1px solid var(--line);
  padding: 28px 24px;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}
.doc-foot a { color: var(--muted); margin: 0 8px; text-decoration: none; }
.doc-foot a:hover { color: var(--brand); }

@media (max-width: 600px) {
  .doc { padding: 40px 20px 90px; }
  .doc__title { font-size: 27px; }
  .doc-dl div { flex-direction: column; gap: 2px; }
  .doc-dl dt { min-width: 0; }
}
