/* ======================================================
   ROOT
====================================================== */
:root {
    --primary-bg: #FFFFFF;
    --text-main: #111111;
    --text-soft: #555555;
    --border-soft: #EBEBEB;
    --accent: #FF00CC;
    --nav-height: 96px;
}

/* ======================================================
   GLOBAL
====================================================== */
html, body {
    margin: 0;
    padding: 0;
    font-family: "Rajdhani", sans-serif;
    background: var(--primary-bg);
    color: var(--text-main);
}

body {
    padding-top: var(--nav-height);
}
/* ======================================================
    TOP-NAVIGATION (FIXED & IMMER SICHTBAR)
====================================================== */

.top-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    height: var(--nav-height);
    width: 100%;
    box-sizing: border-box;

    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    border-bottom: 1px solid var(--border-soft);

    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;

    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

/* Navbar ausgeblendet */
.top-navbar.nav-hidden {
    transform: translateY(-100%);
}

/* Logo */
.nav-logo img {
    width: 150px;
    height: auto;
    display: block;
}

/* DESKTOP NAV */
.nav-links {
    display: flex;
    gap: 15px;
}

.nav-links a {
    text-decoration: none;
    font-size: 30px;
    font-weight: 500;
    letter-spacing: 0.4px;
    color: var(--text-main);
    padding: 10px 14px;
    border-radius: 10px;
    transition: color 0.25s ease;
}

.nav-links a:hover {
    color: var(--accent);
}


/* ======================================
   HAMBURGER BUTTON
====================================== */

.nav-toggle {
    display: none; /* Desktop: AUS */
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 10001;
}

.nav-toggle span {
    display: block;
    width: 28px;
    height: 2px;
    background: var(--text-main);
    border-radius: 2px;
    margin: 6px 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}


/* ======================================================
   LANGUAGE SWITCH – DE / EN
====================================================== */

.lang-switch {
    position: relative;
    margin-left: 20px;
}

.lang-current {
    background: none;
    border: none;
    font-family: inherit;
    font-size: 30px;
    font-weight: 500;
    letter-spacing: 0.4px;
    color: var(--text-main);
    cursor: pointer;
    padding: 10px 6px;
    transition: color 0.25s ease;
}

.lang-current:hover {
    color: var(--accent);
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    padding: 8px 0;
    min-width: 70px;

    opacity: 0;
    pointer-events: none;
    transform: translateY(6px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 10000;
}

.lang-dropdown a {
    display: block;
    padding: 8px 16px;
    font-size: 18px;
    color: var(--text-main);
    text-decoration: none;
}

.lang-dropdown a:hover {
    color: var(--accent);
}

.lang-switch.open .lang-dropdown {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}


/* ======================================================
   MOBILE / TABLET NAVIGATION
====================================================== */

@media (max-width: 900px) {

    .top-navbar {
        padding: 0 16px;
    }

    /* Burger sichtbar */
    .nav-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    /* Mobile Menü */
    .nav-links {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        right: 0;

        background: rgba(255,255,255,0.98);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);

        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 14px;

        padding: 24px 0;

        opacity: 0;
        pointer-events: none;
        transform: translateY(-10px);
        transition: opacity 0.25s ease, transform 0.25s ease;

        border-bottom: 1px solid var(--border-soft);
        z-index: 10000;
    }

    .nav-links.open {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .nav-links a {
        font-size: 22px;
        padding: 10px 14px;
    }

    .lang-switch {
        margin-top: 10px;
    }
}


/* ======================================================
   LEGAL CONTENT
====================================================== */
.legal-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 24px 120px;
}

.legal-content h1 {
    font-size: 38px;
    margin-bottom: 40px;
}

.legal-content h2 {
    font-size: 24px;
    margin-top: 40px;
    margin-bottom: 12px;
}

.legal-content p {
    font-size: 18px;
    line-height: 1.6;
    color: var(--text-soft);
}

/* ======================================================
   MOBILE
====================================================== */
@media (max-width: 900px) {
    .top-navbar {
        padding: 0 16px;
    }

    .nav-links {
        display: none; /* bewusst simpel */
    }

    .legal-content {
        padding: 40px 20px 80px;
    }

    .legal-content h1 {
        font-size: 30px;
    }
}


/* ======================================================
   LEGAL FOOTER
====================================================== */
/* ======================================================
    FOOTER – vereinfacht, keine Sidebar-Abhängigkeit
====================================================== */

.footer {
    width: 100%;
    padding: 40px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    font-size: 15px;
    margin-top: 80px;
    border-top: none;
}

.footer-left {
    display: flex;
    gap: 25px;
}

.footer-left a {
    text-decoration: none;
    color: var(--text-main);
    transition: 0.2s ease;
}

.footer-left a:hover {
    color: var(--accent);
}

.footer-copyright {
    text-align: center;
    font-size: 14px;
    color: var(--text-soft);
}

/* Mobile Footer */

@media (max-width: 900px) {
    .footer {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .footer-left {
        flex-wrap: wrap;
        gap: 15px;
    }
}

