/* RadiBaz Rechtstexte (Unterseiten) – Farben wie landing/index.html */
:root {
    --bg: #0f0f0f;
    --bg2: #141414;
    --surface: #1a1a1a;
    --border: #333333;
    --accent: #38bdf8;
    --text: #f8fafc;
    --muted: #94a3b8;
    --muted2: #64748b;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
}

.legal-page-header {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 22px;
    background: rgba(15, 15, 15, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.legal-back {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--muted);
    text-decoration: none;
}
.legal-back:hover { color: var(--accent); }

.legal-brand {
    font-size: 1.05rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    color: var(--muted);
    text-decoration: none;
}
.legal-brand .accent { color: var(--accent); }

.legal-page-main {
    max-width: 720px;
    margin: 0 auto;
    padding: 36px 22px 80px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.legal-doc {
    font-size: 0.94rem;
    line-height: 1.65;
}

.legal-doc :is(h1, h2, h3) {
    letter-spacing: -0.02em;
}

.legal-doc h1 {
    font-size: clamp(1.35rem, 3vw, 1.75rem);
    font-weight: 800;
    margin-bottom: 1.25rem;
    line-height: 1.2;
}

.legal-doc h2 {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 2rem 0 0.75rem;
    color: var(--text);
}

.legal-doc h2:first-child { margin-top: 0; }

.legal-doc h3 {
    font-size: 0.95rem;
    font-weight: 650;
    margin: 1.35rem 0 0.5rem;
    color: var(--muted);
}

.legal-doc p { margin: 0 0 0.85rem; color: var(--muted); }
.legal-doc p strong { color: var(--text); }

.legal-doc ul, .legal-doc ol {
    margin: 0 0 1rem 1.25rem;
    color: var(--muted);
}

.legal-doc li { margin-bottom: 0.35rem; }
.legal-doc li::marker { color: var(--muted2); }

.legal-doc a {
    color: var(--accent);
    text-decoration: none;
}

.legal-doc a:hover { text-decoration: underline; }

.legal-doc hr {
    border: none;
    border-top: 1px solid var(--border);
    margin: 1.5rem 0;
}

.legal-doc table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.82rem;
    margin: 0.75rem 0 1.25rem;
    min-width: 560px;
}

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

.legal-doc th {
    background: var(--surface);
    color: var(--text);
    font-weight: 600;
}
