.site-header {
    position: sticky;
    /* Wichtig: macht den Header sticky */
    top: 0;
    /* Bleibt oben bei Scrollen */
    z-index: 1000;
    width: 100%;
    background-color: #000;
    border-bottom: 1px solid #333;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 90%;
    max-width: 1500px;
    padding: 20px 40px;
    margin: 0 auto;
}

/* Logo */
.logo img {
    height: 60px;
}

/* Burger */
.burger-button {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.burger-line {
    width: 25px;
    height: 3px;
    background-color: #fff;
}

/* Navigation */
.main-nav {
    display: flex;
    align-items: center;
    gap: 30px;
    justify-content: flex-end;
}

.main-nav ul.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 30px;
}

.main-nav a {
    color: #fff;
    text-decoration: none;
}

.main-nav a:hover {
    text-decoration: underline;
}

.cta-button {
    background-color: #b22222;
    color: #fff;
    padding: 10px 18px;
    border-radius: 4px;
    font-weight: bold;
    text-decoration: none;
}

.language-switch a {
    color: #aaa;
    font-size: 14px;
    margin-left: 10px;
    margin-right: 10px;
    text-decoration: none;
}

.language-switch a.active {
    color: #fff;
    font-weight: bold;
}

/* ------------ Responsive ------------ */
@media (max-width: 934px) {
    .burger-button {
        display: flex;
        margin-left: auto;
    }

    .main-nav {
        flex-direction: column;
        align-items: flex-start;
        overflow: hidden;
        width: 100%;
        transition: max-height 0.3s ease;
        background-color: #000;
        padding: 0 40px;
    }

    .main-nav.open {
        max-height: 500px;
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .main-nav ul.nav-links {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }

    .language-switch {
        margin-left: 0px;
    }

    .header-container {
        padding: 20px 40px;
        display: grid !important;
        grid-template-columns: repeat(3, 1fr);
    }

    .site-header {
        position: sticky;
        /* Wichtig: macht den Header sticky */
        top: 0;
        /* Bleibt oben bei Scrollen */
        z-index: 1000;
    }

    .mobile-nav {
        display: none;
        background-color: #000;
        height: min-content;
        width: 100%;
        z-index: 1000;
        padding: 20px 40px;
    }

    .mobile-nav ul.nav-links {
        display: flex;
        flex-direction: column;
        gap: 15px;
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .mobile-nav .cta-button,
    .mobile-nav .language-switch {
        margin-top: 15px;
    }
}

@media (min-width: 935px) {
    .burger-button {
        display: none;
    }

    .main-nav {
        max-width: 1200px;
        width: 100%;
        padding: 0 40px;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 30px;
        background: none;
        overflow: visible;
        max-height: none;
    }

    .main-nav ul.nav-links {
        display: flex;
        flex-direction: row;
        gap: 30px;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .main-nav a {
        text-decoration: none;
        color: #fff;
    }

    .cta-button {
        margin-left: 20px;
        background-color: #b22222;
        color: #fff;
        padding: 10px 18px;
        border-radius: 4px;
        font-weight: bold;
        text-decoration: none;
    }

    .language-switch {
        margin-left: 20px;
        font-size: 14px;
        white-space: nowrap;
    }

    .language-switch a {
        color: #aaa;
        text-decoration: none;
    }

    .language-switch a.active {
        color: #fff;
        font-weight: bold;
    }
}

/* Desktop-Navigation */
.desktop-nav {
    display: flex;
    align-items: center;
    gap: 30px;
    padding-right: 0;
}

.desktop-nav ul.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.name {
    display: flex;
    justify-self: center;
    align-self: center;
    margin: 0 auto;
    font-size: 24px;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
}

@media (max-width: 934px) {
    .desktop-nav {
        display: none;
    }

    .cta-button-dropdown {
        display: none;
    }
}

@media (min-width: 935px) {
    .mobile-nav {
        display: none;
    }

    .name {
        display: none;
    }


}

@media (max-width: 750px) {
    .name {
        font-size: 20px;
    }

    .cta-button-dropdown {
        display: none;
    }


}

@media (max-width: 650px) {
    .name {
        display: none;
    }

    .header-container {
        width: 80%;
        padding: 20px 40px;
        display: grid !important;
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-button-dropdown {
        display: block;
        background-color: #b22222;
        color: #fff;
        padding: 10px 18px;
        border-radius: 4px;
        font-weight: bold;
        text-decoration: none;
    }
}