/* ==========================================================================
   MXA UG – Stylesheet für Impressum & Datenschutz (gleiche Optik wie die Startseite)
   Systemschriften: keine externen Ressourcen, keine Datenübertragung an Dritte.
   ========================================================================== */

:root {
    --bg: #070708; --ink: #f5f5f7; --muted: #a1a1a6; --muted-2: #6e6e73;
    --line: rgba(255,255,255,.12); --line-strong: rgba(255,255,255,.22);
    --accent: #ffffff; --accent-2: #b8b8bd; --accent-ink: #0a0a0b;
    --glass: rgba(22,22,24,.55); --glass-2: rgba(28,28,30,.65);
    --radius: 18px; --maxw: 1180px;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI Variable Display', 'Segoe UI', system-ui, sans-serif;
}

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

body {
    font-family: var(--font);
    color: var(--ink);
    background:
        radial-gradient(90% 60% at 85% -10%, rgba(255,255,255,.06), transparent 60%),
        radial-gradient(70% 50% at 0% 110%, rgba(255,255,255,.03), transparent 60%),
        var(--bg);
    background-attachment: fixed;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */

.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(7,7,8,.72);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
}
.site-header .container { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { height: 26px; width: auto; display: block; filter: invert(1); }

.nav { display: flex; align-items: center; gap: 30px; font-size: 14.5px; }
.nav a { text-decoration: none; color: var(--muted); transition: color .2s ease; }
.nav a:hover { color: var(--ink); }

.btn {
    display: inline-flex; align-items: center; justify-content: center;
    font: 600 14.5px/1 var(--font);
    padding: 11px 18px; border-radius: 999px;
    border: 1px solid var(--line-strong);
    background: rgba(255,255,255,.05);
    color: var(--ink) !important;
    transition: background .2s ease;
}
.btn:hover { background: rgba(255,255,255,.1); }

.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 11px; right: 11px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .3s ease, top .3s ease; }
.nav-toggle span:nth-child(1) { top: 17px; }
.nav-toggle span:nth-child(2) { top: 25px; }
.nav-open .nav-toggle span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

/* ---------- Rechtstexte ---------- */

.legal-page { padding: clamp(64px, 10vw, 120px) 0 clamp(80px, 10vw, 120px); }
.legal { max-width: 780px; }
.eyebrow {
    display: inline-block; font-size: 12px; font-weight: 600;
    letter-spacing: .18em; text-transform: uppercase; color: var(--accent);
    margin-bottom: 18px;
}
.legal h1 { font-size: clamp(38px, 6vw, 62px); font-weight: 800; letter-spacing: -.03em; line-height: 1.05; margin-bottom: 48px; }
.legal h2 { font-size: 21px; font-weight: 700; letter-spacing: -.01em; margin: 52px 0 14px; padding-top: 24px; border-top: 1px solid var(--line); }
.legal h3 { font-size: 16.5px; font-weight: 700; margin: 26px 0 8px; }
.legal p, .legal li { color: var(--muted); margin-bottom: 14px; }
.legal strong { color: var(--ink); }
.legal ul { padding-left: 20px; }
.legal a { text-underline-offset: 3px; }
.legal a:hover { color: var(--accent); }
.legal .source { margin-top: 64px; font-size: 13px; color: var(--muted-2); }
.legal-card {
    background: var(--glass); border: 1px solid var(--line); border-radius: var(--radius);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    padding: 26px 30px; margin-bottom: 14px;
}
.legal-card p:last-child { margin-bottom: 0; }

/* ---------- Footer ---------- */

.site-footer { border-top: 1px solid var(--line); padding: 28px 0 36px; font-size: 13px; color: var(--muted-2); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--ink); }

/* ---------- Responsive ---------- */

@media (max-width: 720px) {
    .container { padding: 0 20px; }
    .site-header .container { height: 64px; }
    .nav-toggle { display: block; }
    .nav {
        position: absolute; top: 64px; left: 0; right: 0;
        flex-direction: column; align-items: stretch; gap: 0;
        background: rgba(7,7,8,.96); border-bottom: 1px solid var(--line);
        padding: 4px 20px 20px;
        opacity: 0; pointer-events: none; transform: translateY(-6px);
        transition: opacity .25s ease, transform .3s ease;
    }
    .nav a { padding: 15px 0; font-size: 17px; border-bottom: 1px solid var(--line); }
    .nav .btn { margin-top: 16px; padding: 15px; border-bottom: 1px solid var(--line-strong); }
    .nav-open .nav { opacity: 1; pointer-events: auto; transform: none; }
    .legal-card { padding: 22px; }
}
