header {
    padding: 10px 10px;
    display: flex;
    flex-direction: column; /* Vertikale Anordnung */
    align-items: center;
    gap: 20px;
}

.header-container {
    width: 100%;
    display: flex;
    flex-direction: column; /* Vertikale Anordnung */
    align-items: center;
}

.header-logo {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.header-logo img {
    width: 100%;
    height: auto;
    display: block;
}

.marquee-container {
    position: relative;
    width: 100%;
    overflow: hidden; /* Überlauf verstecken */
    height: 30px; /* Höhe der Laufschrift anpassen, falls notwendig */
    margin-bottom: 20px; /* Abstand zum Logo */
}

.marquee {
    position: absolute;
    width: 100%;
    white-space: nowrap;
    animation: marquee 50s linear infinite;
    font-size: 1.5rem;
    color: var(--secondary-text-color);
}
nav {
    margin-top: 20px;
}
nav ul {
    font-size: 2.0rem;
    list-style: none;
    display: flex;
    gap: 350px;
}
nav a {
    color: var(--secondary-text-color);
    text-decoration: none;
    position: absolute;    
    padding: 0.2%;
}
nav a:hover {
    color: red
}
nav a::after {
    content: '';
    height: 2px;
    width: 0;
    background-color: var(--main-brand-color);
    position: absolute;
    bottom: 0;
    left: 0;
    transition: 150ms ease-in-out;
}
nav a:hover::after {
    width: 100%;
}

@keyframes marquee {
    0% {
        transform: translateX(100%); /* Startposition rechts */
    }
    100% {
        transform: translateX(-100%); /* Endposition links */
    }
}

@media (max-width: 800px) {
    nav {
        position: absolute;
        top: 0;
        left: 0;
        background: var(--secondary-color);
        padding: 15px;
        border-radius: 0 0 25px 0;
    }

    nav ul {
        display: none;
        flex-direction: column;
    }

    #toggle_button:checked ~ ul {
        display: flex;
    }

    label[for="toggle_button"] {
        display: block;
    }
}
