/* ==========================================================================
   MauBusiness – Design System
   ========================================================================== */

:root {
    --bg: #050507;
    --bg-elev: #0c0c11;
    --surface: rgba(255, 255, 255, 0.035);
    --surface-hover: rgba(255, 255, 255, 0.06);
    --border: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.16);
    --text: #f5f5f7;
    --muted: #a1a1aa;
    --dim: #71717a;

    --pink: #ff2a85;
    --violet: #a64bff;
    --blurple: #5865f2;
    --blue: #2997ff;
    --green: #3ddc97;
    --accent: var(--blue);

    --grad: linear-gradient(100deg, #ff2a85 0%, #c13cff 35%, #5865f2 65%, #2997ff 100%);
    --grad-soft: linear-gradient(135deg, rgba(255, 42, 133, .18), rgba(88, 101, 242, .18));

    --radius: 24px;
    --radius-sm: 14px;
    --max: 1160px;
    --nav-h: 64px;
    --ease: cubic-bezier(.16, 1, .3, 1);
    --font: "Inter", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI Variable", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --mono: ui-monospace, "SF Mono", "Cascadia Code", Consolas, monospace;
}

.page-bots { --accent: var(--blurple); }

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--nav-h) + 32px);
    -webkit-text-size-adjust: 100%;
    color-scheme: dark;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main { flex: 1; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; }
::selection { background: rgba(166, 75, 255, .45); color: #fff; }

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 8px;
}

/* ---------- Sprache (DE / EN) ---------- */
html:not([data-lang="en"]) [data-l="en"],
html[data-lang="en"] [data-l="de"] { display: none !important; }

/* ---------- Icons ---------- */
.i {
    width: 1.25em;
    height: 1.25em;
    flex-shrink: 0;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ---------- Hintergrund ---------- */
.backdrop {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}
.backdrop::before {
    /* feines Raster */
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
}
.blob {
    position: absolute;
    width: 60vmax;
    height: 60vmax;
    border-radius: 50%;
    filter: blur(90px);
    opacity: .5;
    will-change: transform;
}
.blob-1 {
    top: -30vmax; left: -15vmax;
    background: radial-gradient(circle, rgba(255, 42, 133, .35), transparent 65%);
    animation: drift-1 26s ease-in-out infinite alternate;
}
.blob-2 {
    top: -20vmax; right: -25vmax;
    background: radial-gradient(circle, rgba(88, 101, 242, .38), transparent 65%);
    animation: drift-2 32s ease-in-out infinite alternate;
}
.blob-3 {
    bottom: -40vmax; left: 20vw;
    background: radial-gradient(circle, rgba(41, 151, 255, .18), transparent 65%);
    animation: drift-1 40s ease-in-out infinite alternate-reverse;
}
.page-bots .blob-1 { background: radial-gradient(circle, rgba(88, 101, 242, .42), transparent 65%); }
.page-bots .blob-2 { background: radial-gradient(circle, rgba(166, 75, 255, .3), transparent 65%); }

@keyframes drift-1 { to { transform: translate(18vw, 12vh) scale(1.15); } }
@keyframes drift-2 { to { transform: translate(-14vw, 18vh) scale(1.1); } }

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

.section { padding: 120px 0; position: relative; }
.section-tight { padding: 72px 0; }

.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 18px;
}
.eyebrow::before {
    content: "";
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: var(--grad);
}
.section-head.center .eyebrow::after {
    content: "";
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: var(--grad);
}

h1, h2, h3, h4 { line-height: 1.1; letter-spacing: -.03em; font-weight: 700; }
h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: 18px; }
h3 { font-size: 1.3rem; letter-spacing: -.02em; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--muted); }

.grad-text {
    background: var(--grad);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: grad-flow 10s ease infinite;
}
@keyframes grad-flow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.muted { color: var(--muted); }
.dim { color: var(--dim); }

/* ---------- Navigation ---------- */
.nav {
    position: fixed;
    top: 14px;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 0 16px;
}
.nav-inner {
    max-width: var(--max);
    margin: 0 auto;
    height: var(--nav-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 0 10px 0 20px;
    border-radius: 20px;
    border: 1px solid transparent;
    transition: background .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
}
.nav.scrolled .nav-inner,
.nav.open .nav-inner {
    background: rgba(12, 12, 17, .72);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-color: var(--border);
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, .6);
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: -.02em;
    white-space: nowrap;
}
.logo-mark {
    width: 30px;
    height: 30px;
    border-radius: 9px;
}
.logo .crumb { color: var(--dim); font-weight: 500; }

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
}
.nav-links a {
    position: relative;
    padding: 8px 14px;
    border-radius: 12px;
    font-size: .92rem;
    font-weight: 500;
    color: var(--muted);
    transition: color .25s, background .25s;
}
.nav-links a:hover { color: var(--text); background: var(--surface-hover); }
.nav-links a.active { color: var(--text); }
.nav-links a.active::after {
    content: "";
    position: absolute;
    left: 14px; right: 14px; bottom: 3px;
    height: 2px;
    border-radius: 2px;
    background: var(--grad);
}

.nav-actions { display: flex; align-items: center; gap: 10px; }

.lang-switch {
    position: relative;
    display: inline-flex;
    padding: 3px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .05);
    border: 1px solid var(--border);
}
.lang-switch::before {
    content: "";
    position: absolute;
    top: 3px; left: 3px;
    width: calc(50% - 3px);
    height: calc(100% - 6px);
    border-radius: 999px;
    background: rgba(255, 255, 255, .14);
    transition: transform .35s var(--ease);
}
html[data-lang="en"] .lang-switch::before { transform: translateX(100%); }
.lang-switch button {
    position: relative;
    z-index: 1;
    padding: 5px 12px;
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .04em;
    color: var(--dim);
    transition: color .25s;
}
html:not([data-lang="en"]) .lang-switch [data-set-lang="de"],
html[data-lang="en"] .lang-switch [data-set-lang="en"] { color: #fff; }

.menu-btn {
    display: none;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    background: var(--surface);
}
.menu-btn .i { width: 20px; height: 20px; }
.menu-btn .i-close { display: none; }
.nav.open .menu-btn .i-menu { display: none; }
.nav.open .menu-btn .i-close { display: block; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 24px;
    border-radius: 14px;
    font-weight: 600;
    font-size: .98rem;
    letter-spacing: -.01em;
    white-space: nowrap;
    transition: transform .3s var(--ease), background .3s, border-color .3s, box-shadow .3s, color .3s;
}
.btn .i { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.btn:hover .i-arrow { transform: translateX(3px); }
.btn-primary {
    background: var(--text);
    color: #0a0a0f;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px -12px rgba(166, 75, 255, .7);
}
.btn-ghost {
    border: 1px solid var(--border-strong);
    background: rgba(255, 255, 255, .03);
}
.btn-ghost:hover { background: var(--surface-hover); border-color: rgba(255, 255, 255, .3); transform: translateY(-2px); }
.btn-discord { background: var(--blurple); color: #fff; }
.btn-discord:hover { transform: translateY(-2px); box-shadow: 0 12px 40px -12px rgba(88, 101, 242, .9); }
.btn-sm { padding: 10px 16px; font-size: .9rem; border-radius: 12px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    font-size: .95rem;
    color: var(--text);
}
.link-arrow .i { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.link-arrow:hover .i { transform: translateX(3px); }

/* ---------- Hero ---------- */
.hero {
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    padding: calc(var(--nav-h) + 60px) 0 100px;
    position: relative;
    text-align: center;
}
.hero-inner { width: 100%; }
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 16px 7px 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid var(--border);
    font-size: .85rem;
    color: var(--muted);
    margin-bottom: 32px;
    backdrop-filter: blur(8px);
}
.hero-badge .dot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 3px 10px;
    border-radius: 999px;
    background: var(--grad);
    color: #fff;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.hero h1 {
    font-size: clamp(3.2rem, 11vw, 8.4rem);
    font-weight: 800;
    letter-spacing: -.055em;
    line-height: .98;
    margin-bottom: 28px;
}
.hero h1 .line { display: block; }
.hero .lead {
    max-width: 620px;
    margin: 0 auto 40px;
    font-size: clamp(1.1rem, 2vw, 1.4rem);
}
.hero .btn-row { justify-content: center; }
.hero-parallax { transition: transform .2s ease-out; will-change: transform; }

.scroll-cue {
    position: absolute;
    bottom: 34px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--dim);
}
.scroll-cue .mouse {
    width: 22px;
    height: 34px;
    border-radius: 12px;
    border: 1.5px solid rgba(255, 255, 255, .25);
    position: relative;
}
.scroll-cue .mouse::after {
    content: "";
    position: absolute;
    top: 7px; left: 50%;
    width: 3px; height: 7px;
    margin-left: -1.5px;
    border-radius: 2px;
    background: var(--text);
    animation: wheel 1.8s ease-in-out infinite;
}
@keyframes wheel {
    0% { opacity: 0; transform: translateY(-3px); }
    30% { opacity: 1; }
    100% { opacity: 0; transform: translateY(9px); }
}

/* ---------- Cards ---------- */
.card {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    overflow: hidden;
    isolation: isolate;
    transition: border-color .4s var(--ease), transform .4s var(--ease), background .4s;
}
/* Licht folgt der Maus */
.card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: 0;
    background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .07), transparent 45%);
    transition: opacity .4s;
}
.card:hover::before { opacity: 1; }
.card:hover { border-color: var(--border-strong); }
a.card:hover, .card.lift:hover { transform: translateY(-4px); }

.icon-tile {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--grad-soft);
    border: 1px solid var(--border);
    margin-bottom: 22px;
}
.icon-tile .i { width: 22px; height: 22px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); }

.check-list { display: grid; gap: 10px; margin-top: 18px; }
.check-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    color: var(--muted);
}
.check-list .i {
    width: 18px;
    height: 18px;
    margin-top: 3px;
    color: var(--green);
}

/* ---------- Bento (Bereiche) ---------- */
.bento {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 18px;
}
.bento > * { grid-column: span 2; }
.bento .span-4 { grid-column: span 4; }
.bento .span-3 { grid-column: span 3; }
.bento .span-6 { grid-column: span 6; }
.bento .card { display: flex; flex-direction: column; min-height: 260px; }
.bento .card .card-foot { margin-top: auto; padding-top: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }

.card-feature {
    background:
        radial-gradient(600px circle at 100% 0%, rgba(88, 101, 242, .25), transparent 55%),
        radial-gradient(500px circle at 0% 100%, rgba(255, 42, 133, .14), transparent 55%),
        var(--surface);
}
.card-feature h3 { font-size: clamp(1.6rem, 3vw, 2.1rem); }

.tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: .74rem;
    font-weight: 600;
    letter-spacing: .02em;
    color: var(--muted);
    background: rgba(255, 255, 255, .05);
    border: 1px solid var(--border);
}
.tag .i { width: 14px; height: 14px; }
.tag-discord { color: #c9cdfb; background: rgba(88, 101, 242, .16); border-color: rgba(88, 101, 242, .35); }

.chip-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 12px;
    font-size: .88rem;
    font-weight: 500;
    color: var(--muted);
    background: rgba(255, 255, 255, .04);
    border: 1px solid var(--border);
    transition: color .25s, border-color .25s, background .25s;
}
.chip-link .i { width: 16px; height: 16px; }
.chip-link:hover { color: var(--text); border-color: var(--border-strong); background: var(--surface-hover); }

/* ---------- Grid Helfer ---------- */
.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Split (Bots-Teaser) ---------- */
.split {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 56px;
    align-items: center;
}

/* Discord-Profil-Mockup */
.bot-mock {
    position: relative;
    border-radius: 22px;
    background: #111218;
    border: 1px solid var(--border);
    overflow: hidden;
    box-shadow: 0 40px 120px -30px rgba(88, 101, 242, .5);
    transform: perspective(1200px) rotateY(-6deg) rotateX(3deg);
    transition: transform .6s var(--ease);
}
.bot-mock:hover { transform: perspective(1200px) rotateY(0) rotateX(0); }
.bot-mock .banner {
    height: 96px;
    background: linear-gradient(120deg, #5865f2, #a64bff 55%, #ff2a85);
}
.bot-mock .body { padding: 0 24px 24px; }
.bot-mock .avatar {
    width: 84px;
    height: 84px;
    margin-top: -42px;
    border-radius: 50%;
    border: 6px solid #111218;
    background: #1e1f2a;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.bot-mock .avatar .i { width: 38px; height: 38px; color: #fff; }
.bot-mock .avatar::after {
    content: "";
    position: absolute;
    right: -2px; bottom: 2px;
    width: 20px; height: 20px;
    border-radius: 50%;
    background: var(--green);
    border: 4px solid #111218;
}
.bot-mock .name {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    font-size: 1.35rem;
    font-weight: 700;
}
.bot-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 6px;
    border-radius: 5px;
    background: var(--blurple);
    font-size: .66rem;
    font-weight: 700;
    letter-spacing: .02em;
}
.bot-badge .i { width: 11px; height: 11px; stroke-width: 3; }
.bot-mock .handle { color: var(--dim); font-size: .9rem; margin-bottom: 16px; }
.bot-mock .panel {
    border-radius: 14px;
    background: rgba(255, 255, 255, .035);
    border: 1px solid var(--border);
    padding: 16px;
}
.bot-mock .panel-title {
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--dim);
    margin-bottom: 10px;
}
.bot-mock .chips { display: flex; flex-wrap: wrap; gap: 6px; }
.bot-mock .chips span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .05);
    font-size: .8rem;
    color: #d4d4d8;
}
.bot-mock .chips .i { width: 14px; height: 14px; color: #aab1ff; }
.bot-mock .legal-row {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}
.bot-mock .legal-row a {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 9px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .05);
    font-size: .82rem;
    color: #d4d4d8;
    transition: background .25s;
}
.bot-mock .legal-row a:hover { background: rgba(255, 255, 255, .1); }
.bot-mock .legal-row .i { width: 14px; height: 14px; }

/* ---------- Socials ---------- */
.social-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 28px;
}
.social-card .brand {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    background: rgba(255, 255, 255, .06);
    transition: background .4s, color .4s;
}
.social-card .brand .i { width: 24px; height: 24px; }
.social-card strong { font-size: 1.1rem; }
.social-card .handle { color: var(--dim); font-size: .92rem; }
.social-card .go {
    position: absolute;
    top: 26px;
    right: 26px;
    color: var(--dim);
    transition: color .3s, transform .3s var(--ease);
}
.social-card .go .i { width: 20px; height: 20px; }
.social-card:hover .go { color: var(--text); transform: translate(2px, -2px); }
.social-card[data-brand="twitch"]:hover .brand { background: #9146ff; }
.social-card[data-brand="tiktok"]:hover .brand { background: linear-gradient(135deg, #25f4ee, #fe2c55); }
.social-card[data-brand="instagram"]:hover .brand { background: linear-gradient(45deg, #f9ce34, #ee2a7b, #6228d7); }
.social-card[data-brand="x"]:hover .brand { background: #fff; color: #000; }

/* ---------- Kontakt ---------- */
.contact-card {
    text-align: center;
    padding: clamp(40px, 7vw, 88px) 24px;
    background:
        radial-gradient(700px circle at 50% 0%, rgba(166, 75, 255, .22), transparent 60%),
        var(--surface);
}
.contact-card h2 { margin-bottom: 14px; }
.contact-card .lead { max-width: 560px; margin: 0 auto 36px; }
.contact-card .btn-row { justify-content: center; }
.mail-big {
    font-size: clamp(1.05rem, 2.4vw, 1.35rem);
    padding: 18px 30px;
    border-radius: 16px;
}

.copy-btn.copied { border-color: rgba(61, 220, 151, .5); color: var(--green); }

/* ---------- Module-Grid (Bots) ---------- */
.module-card { padding: 26px; }
.module-card .head { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.module-card .icon-tile { width: 44px; height: 44px; margin: 0; border-radius: 12px; background: rgba(88, 101, 242, .14); border-color: rgba(88, 101, 242, .28); color: #c3c8ff; }
.module-card h3 { margin: 0; font-size: 1.12rem; }
.module-card p { font-size: .95rem; }

/* Stats / Versprechen */
.promise {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 26px;
}
.promise .icon-tile { margin: 0; flex-shrink: 0; }
.promise h3 { font-size: 1.05rem; margin-bottom: 6px; }
.promise p { font-size: .95rem; }

/* Rechtliches-Karten */
.legal-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 34px;
    min-height: 240px;
}
.legal-card .icon-tile { background: rgba(88, 101, 242, .14); border-color: rgba(88, 101, 242, .28); color: #c3c8ff; }
.legal-card h3 { font-size: 1.5rem; }
.legal-card .meta { font-size: .85rem; color: var(--dim); }
.legal-card .link-arrow { margin-top: auto; padding-top: 18px; }

.notice {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 20px 24px;
    border-radius: 18px;
    background: rgba(88, 101, 242, .1);
    border: 1px solid rgba(88, 101, 242, .3);
    color: #d6d9ff;
}
.notice .i { width: 22px; height: 22px; margin-top: 2px; color: #aab1ff; }
.notice strong { color: #fff; }

/* ---------- Legal-Seiten ---------- */
.legal-hero {
    padding: calc(var(--nav-h) + 90px) 0 48px;
}
.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: .88rem;
    color: var(--dim);
    margin-bottom: 26px;
}
.breadcrumbs a { color: var(--muted); transition: color .2s; }
.breadcrumbs a:hover { color: var(--text); }
.breadcrumbs .sep { opacity: .5; }
.legal-hero h1 { font-size: clamp(2.6rem, 7vw, 4.8rem); letter-spacing: -.045em; margin-bottom: 16px; }
.legal-meta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 30px; }

.doc-tabs {
    display: inline-flex;
    padding: 4px;
    gap: 4px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid var(--border);
}
.doc-tabs a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    border-radius: 10px;
    font-size: .9rem;
    font-weight: 600;
    color: var(--muted);
    transition: color .25s, background .25s;
}
.doc-tabs a .i { width: 16px; height: 16px; }
.doc-tabs a:hover { color: var(--text); }
.doc-tabs a.active { background: rgba(255, 255, 255, .1); color: var(--text); }

.legal-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 56px;
    align-items: start;
    padding-bottom: 120px;
}
.toc {
    position: sticky;
    top: calc(var(--nav-h) + 40px);
}
.toc-title {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--dim);
    margin-bottom: 14px;
}
.toc ol { list-style: none; display: grid; gap: 2px; border-left: 1px solid var(--border); }
.toc a {
    display: block;
    padding: 7px 0 7px 16px;
    margin-left: -1px;
    border-left: 2px solid transparent;
    font-size: .9rem;
    color: var(--dim);
    transition: color .2s, border-color .2s;
}
.toc a:hover { color: var(--text); }
.toc a.active { color: var(--text); border-left-color: var(--accent); }

.legal-body { max-width: 760px; }
.legal-section {
    padding: 34px;
    margin-bottom: 18px;
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px solid var(--border);
}
.legal-section h2 {
    display: flex;
    gap: 14px;
    align-items: baseline;
    font-size: clamp(1.3rem, 2.4vw, 1.6rem);
    letter-spacing: -.02em;
    margin-bottom: 16px;
}
.legal-section h2 .num {
    font-family: var(--mono);
    font-size: .85rem;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 0;
}
.legal-section p, .legal-section li { color: #c4c4cc; line-height: 1.75; }
.legal-section p + p, .legal-section p + ul, .legal-section ul + p { margin-top: 14px; }
.legal-section ul { display: grid; gap: 12px; }
.legal-section li {
    position: relative;
    padding-left: 22px;
}
.legal-section li::before {
    content: "";
    position: absolute;
    left: 4px; top: .72em;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--accent);
}
.legal-section strong { color: #fff; font-weight: 600; }
.legal-section a { color: #aab1ff; text-decoration: underline; text-underline-offset: 3px; }
.legal-footer-note {
    margin-top: 28px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    padding: 22px 26px;
    border-radius: 18px;
    border: 1px dashed var(--border-strong);
    color: var(--muted);
}

/* ---------- Footer ---------- */
.footer {
    border-top: 1px solid var(--border);
    padding: 64px 0 36px;
    background: linear-gradient(180deg, transparent, rgba(255, 255, 255, .015));
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 48px;
}
.footer p { color: var(--dim); font-size: .92rem; max-width: 300px; margin-top: 14px; }
.footer h4 {
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 16px;
}
.footer ul { display: grid; gap: 10px; }
.footer ul a { color: var(--dim); font-size: .93rem; transition: color .2s; }
.footer ul a:hover { color: var(--text); }
.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: space-between;
    align-items: center;
    padding-top: 28px;
    border-top: 1px solid var(--border);
    color: var(--dim);
    font-size: .85rem;
}
.version-pill {
    font-family: var(--mono);
    font-size: .76rem;
    padding: 3px 9px;
    border-radius: 999px;
    border: 1px solid var(--border);
    color: var(--dim);
}

/* ---------- 404 ---------- */
.error-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 24px;
}
.error-page .code {
    font-size: clamp(6rem, 22vw, 12rem);
    font-weight: 800;
    letter-spacing: -.06em;
    line-height: 1;
    margin-bottom: 12px;
}
.error-page .btn-row { justify-content: center; margin-top: 32px; }

/* ---------- Reveal-Animationen ---------- */
.js .reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .9s var(--ease), transform .9s var(--ease);
    transition-delay: var(--d, 0ms);
}
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
    .bento > *, .bento .span-3 { grid-column: span 3; }
    .bento .span-4, .bento .span-6 { grid-column: span 6; }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .split { grid-template-columns: 1fr; gap: 48px; }
    .bot-mock { max-width: 520px; transform: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .legal-layout { grid-template-columns: 1fr; gap: 24px; }
    .toc { position: static; }
    .toc ol { display: flex; flex-wrap: wrap; gap: 8px; border: 0; }
    .toc a { border: 1px solid var(--border); border-radius: 10px; padding: 6px 12px; margin: 0; }
    .toc a.active { border-color: var(--accent); }
}

@media (max-width: 820px) {
    .menu-btn { display: inline-flex; }
    .nav-links {
        position: absolute;
        top: calc(var(--nav-h) + 22px);
        left: 16px;
        right: 16px;
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
        padding: 10px;
        border-radius: 20px;
        background: rgba(12, 12, 17, .94);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border: 1px solid var(--border);
        box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px) scale(.98);
        transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
    }
    .nav.open .nav-links { opacity: 1; visibility: visible; transform: none; }
    .nav-links a { padding: 14px 16px; font-size: 1rem; }
    .nav-links a.active::after { display: none; }
    .nav-links a.active { background: var(--surface-hover); }
    .section { padding: 88px 0; }
}

@media (max-width: 640px) {
    .container { padding: 0 18px; }
    .bento > *, .bento .span-3, .bento .span-4 { grid-column: span 6; }
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .card { padding: 26px; }
    .legal-section { padding: 24px; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .btn-row .btn { flex: 1 1 auto; }
    .logo .crumb { display: none; }
    .hero-badge { font-size: .78rem; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
    .js .reveal { opacity: 1; transform: none; }
}

@media print {
    .nav, .backdrop, .footer, .toc, .doc-tabs, .scroll-cue { display: none !important; }
    body { background: #fff; color: #000; }
    .legal-section { border: 0; background: none; padding: 0 0 16px; }
    .legal-section p, .legal-section li { color: #000; }
}
