/* Rechtsseiten (Impressum, Datenschutz, Nutzungsbedingungen, Konto löschen, Support).
   Baut auf style.css auf (Tokens, Marke, Buttons, Fußzeile). */

html, body { height: auto; overscroll-behavior: auto; }
body { line-height: 1.65; }

.doc-header {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--surface) 85%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--border);
  padding-top: var(--safe-top);
}
.doc-header .lp-container { height: var(--topbar-h); display: flex; align-items: center; justify-content: space-between; gap: 12px; }

.doc-hero {
  padding: 56px 0 36px;
  background: radial-gradient(900px 300px at 80% -20%, color-mix(in srgb, var(--brand) 18%, transparent), transparent 60%), var(--bg);
}
.doc-hero .section-kicker { display: block; margin-bottom: 8px; }
.doc-hero h1 { margin: 0; font-size: clamp(2rem, 5vw, 2.8rem); letter-spacing: -0.035em; line-height: 1.1; }
.doc-hero p { color: var(--muted); margin: 12px 0 0; max-width: 40em; font-size: 1.05rem; }

.doc {
  max-width: 780px;
  margin: 0 auto;
  padding: 8px 20px 72px;
}
.doc-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 4vw, 40px);
  box-shadow: var(--shadow-sm);
}
.doc h2 { font-size: 1.15rem; letter-spacing: -0.01em; margin: 32px 0 8px; }
.doc h2:first-child { margin-top: 0; }
.doc h3 { font-size: 1rem; margin: 0 0 6px; }
.doc p { margin: 0 0 12px; }
.doc ol, .doc ul { padding-left: 22px; margin: 0 0 12px; }
.doc li { margin: 5px 0; }
.doc address { font-style: normal; }
.doc .muted { color: var(--muted); font-size: 0.85rem; margin-top: 24px; }

.box {
  background: var(--surface-2);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin: 12px 0;
}
.box p:last-child, .box ol:last-child, .box ul:last-child { margin-bottom: 0; }

.contact-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin: 8px 0 12px; }
.contact-grid .box { margin: 0; }
.contact-grid small { display: block; color: var(--muted); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 700; margin-bottom: 4px; }

.toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 0; padding: 0; list-style: none; }
.toc a { display: inline-block; padding: 6px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); color: var(--text); text-decoration: none; font-size: 0.85rem; }
.toc a:hover, .toc a[aria-current="page"] { border-color: var(--brand); color: var(--brand-700); background: var(--brand-50); }
