:root {
    --bg-gradient-start: #1b4fd8;
    --bg-gradient-end: #4f9cff;
    --header-bg: #0f152b;
    --footer-bg: #0f152b;
    --text-main: #ffffff;
    --text-muted: #cccccc;
    --accent: #4f9cff;
    --font-main: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: var(--font-main);
    color: var(--text-main);
    background: linear-gradient(180deg, var(--bg-gradient-start), var(--bg-gradient-end));
}

/* ---------------------------------------------------
   HEADER
--------------------------------------------------- */

.header {
    background: var(--header-bg);
    padding: 0.75rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    position: relative; /* WICHTIG für Mobile-Menü */
}

.header-left .logo {
    font-weight: 600;
    font-size: 1.2rem;
    margin-right: auto; /* Logo bleibt links */
}

.header-logo {
    width: 64px;
    height: 64px;
    border-radius: 12px;
}

/* NAVBAR Container */
.navbar {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: auto; /* Schiebt Burger + Menü nach rechts */
}

/* Desktop-Navigation */
.nav-links-header {
    display: flex;
    flex-direction: row;
    gap: 20px;
}

.nav-links-header li {
    list-style: none;
}

.nav-links-header a {
    color: var(--text-main);
    text-decoration: none;
    padding: 5px 10px;
    font-size: 0.95rem;
}

/* Burger-Button (Standard: versteckt auf Desktop) */
.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    margin-left: auto; /* Burger ganz nach rechts */
}

.burger-menu .bar {
    height: 3px;
    width: 100%;
    background-color: white;
    border-radius: 10px;
}

/* ---------------------------------------------------
   MOBILE
--------------------------------------------------- */

@media (max-width: 768px) {

    /* Header Layout */
    .header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    /* Burger auf Mobile anzeigen */
    .burger-menu {
        display: flex;
    }

    /* Navigation auf Mobile verstecken */
    .nav-links-header {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 0; /* Menü rechts ausrichten */
        width: 70%;
        background-color: #333;
        padding: 10px 0;
        z-index: 999;
        border-radius: 0 0 0 10px;
    }

    /* Aktiviertes Mobile-Menü */
    .nav-links-header.active {
        display: flex;
    }

    .nav-links-header a {
        padding: 15px;
        text-align: left;
    }

}

/* ---------------------------------------------------
   MAIN / HERO
--------------------------------------------------- */

.main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 2rem 1rem;
    text-align: center;
}

.hero h1 {
    margin-bottom: 0.75rem;
    font-size: clamp(1.4rem, 4vw, 2.2rem);
}

.hero p {
    margin: 0;
    color: var(--text-muted);
    font-size: clamp(0.9rem, 2.5vw, 1.2rem);
}

/* ---------------------------------------------------
   IMPRESSUM
--------------------------------------------------- */

.impressum {
    text-align: left;
    line-height: 1.6;
    max-width: 700px;
    margin: 2rem auto;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    backdrop-filter: blur(4px);
}

.impressum h1 {
    text-align: left;
}
/* ---------------------------------------------------
   FOOTER
--------------------------------------------------- */
.footer{
    background: var(--footer-bg);
    padding: 0.75rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    position: relative; /* WICHTIG für Mobile-Menü */
}

/* HIER kommt es rein */
.footer-left,
.footer-center,
.footer-navbar {
    flex: 1;
}

.footer-center {
    text-align: center;
    color: var(--text-muted);
    font-size: 2.0rem;
}

.footer-navbar {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: auto; /* Schiebt Burger + Menü nach rechts */
}

/* NAVBAR Container */
.navbar {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: auto; /* Schiebt Burger + Menü nach rechts */
}

/* Desktop-Navigation */
.nav-links-footer {
    display: flex;
    flex-direction: row;
    gap: 20px;
}

.nav-links-footer li {
    list-style: none;
}

.nav-links-footer a {
    color: var(--text-main);
    text-decoration: none;
    padding: 5px 10px;
    font-size: 0.95rem;
}

/* Burger-Button (Standard: versteckt auf Desktop) */
.footer-burger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    margin-left: auto; /* Burger ganz nach rechts */
}
.footer-burger-menu .bar {
    height: 3px;
    width: 100%;
    background-color: white;
    border-radius: 10px;
}

@media (max-width: 768px) {

    .footer {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .footer-burger-menu {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 21px;
        background: transparent;
        border: none;
        cursor: pointer;
        margin-left: auto;
    }

    .nav-links-footer {
        display: none;
        flex-direction: column;
        position: absolute;
        bottom: 100%;
        right: 0;
        width: 70%;
        margin: 0;
        padding: 10px 0;
        background-color: #333;
        z-index: 9999;
        border-radius: 10px 0 0 0;
    }

    .nav-links-footer.active {
        display: flex;
    }

    .nav-links-footer li {
        list-style: none;
        width: 100%;
    }

    .nav-links-footer a {
        display: block;
        padding: 15px;
        text-align: left;
    }
}