/* ===== VT Mobile Nav (drop-in) v1 ===== */
:root {
    --vt-ink: #0f172a;
    --vt-muted: #475569;
    --vt-line: #e5e7eb;
    --vt-accent: var(--accent, #b45309);
    --vt-accent2: var(--accent-2, #f59e0b);
}

header.nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: #fff;
    border-bottom: 1px solid rgba(2,6,23,.06);
}

    header.nav .nav-inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 10px 0;
    }

/* Desktop */
@media (min-width: 1024px) {
    .vt-burger {
        display: none !important;
    }

    .vt-overlay, .vt-drawer {
        display: none !important;
    }
}

/* Mobile */
@media (max-width: 1023.98px) {
    header.nav .menu {
        display: none !important;
    }
    /* Original-Menü ausblenden */
    .vt-burger {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        border-radius: 12px;
        border: 1px solid var(--vt-line);
        background: #fff;
        box-shadow: 0 8px 18px rgba(2,6,23,.08);
        cursor: pointer;
    }

        .vt-burger svg {
            width: 22px;
            height: 22px;
        }

    .vt-overlay {
        position: fixed;
        inset: 0;
        background: rgba(2,6,23,.35);
        opacity: 0;
        pointer-events: none;
        transition: opacity .2s ease;
        z-index: 60;
    }

    .vt-drawer {
        position: fixed;
        top: 0;
        right: 0;
        height: 100dvh;
        width: min(86vw, 380px);
        background: #fff;
        box-shadow: -24px 0 64px rgba(2,6,23,.22);
        transform: translateX(100%);
        transition: transform .28s ease;
        z-index: 70;
        display: flex;
        flex-direction: column;
        padding: 16px;
    }

        .vt-drawer .vt-head {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 8px;
            margin-bottom: 8px;
        }

        .vt-drawer .vt-close {
            width: 40px;
            height: 40px;
            border-radius: 12px;
            border: 1px solid var(--vt-line);
            background: #fff;
            display: grid;
            place-items: center;
            cursor: pointer;
        }

        .vt-drawer nav {
            display: flex;
            flex-direction: column;
            gap: 6px;
            margin-top: 6px;
        }

            .vt-drawer nav a {
                display: flex;
                align-items: center;
                gap: 10px;
                padding: 12px 12px;
                border-radius: 12px;
                text-decoration: none;
                color: var(--vt-ink);
                border: 1px solid transparent;
            }

                .vt-drawer nav a:hover {
                    background: #f8fafc;
                    border-color: var(--vt-line);
                }

                .vt-drawer nav a.btn {
                    justify-content: center;
                    border: none;
                    color: #fff;
                    background: linear-gradient(90deg,var(--vt-accent),var(--vt-accent2));
                }

                    .vt-drawer nav a.btn:not(.primary) {
                        background: #0f172a;
                        color: #fff;
                    }

    /* Open state */
    .vt-open .vt-overlay {
        opacity: 1;
        pointer-events: auto;
    }

    .vt-open .vt-drawer {
        transform: translateX(0%);
    }

    body.vt-lock {
        overflow: hidden;
    }
}
