header {
    width: 100%;
    background-color: #c9b8b9;
    padding: 10px 0;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.header-container {
    display: flex;
    align-items: center;
    padding: 0 30px;
    background-color: #1b1b1b;
    height: 100px;
    gap: 20px;
    flex-wrap: nowrap;
    justify-content: left;
}

.header-logo {
    height: 80px;
    /* etwas kleiner für bessere Ausrichtung */
    object-fit: contain;
    display: block;
}


.nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap;
    list-style: none;
    padding: 0;
    margin: 0;
}


.nav-links li {
    display: block;
}

.nav-links a {
    display: block;
    padding: 6px 12px;
    border: 1px solid #ffc107;
    border-radius: 5px;
    background-color: #1e1e1e;
    color: #ffc107;
    text-decoration: none;
    text-align: center;
    font-size: 16px;
    transition: all 0.3s;
    box-sizing: border-box;
    white-space: nowrap;
}



.nav-links a.active {
    font-weight: bold;
    color: #ffffff;
    background-color: #b15858;
}

.nav-links a:hover {
    color: #ff6600;
    background-color: #2a2a2a;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: #333;
    color: #fff;
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    margin: 0;
    /* <<< margin entfernen */
    height: fit-content;
}



.logout-button {
    background-color: #826e6e;
    color: white;
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 6px;
    font-weight: bold;
    transition: background 0.3s ease-in-out;
}

.logout-button:hover {
    background-color: #774747;
}

h1 {
    margin-bottom: 20px;
    color: #37cf88;
}

label {
    display: block;
    margin: 10px 0 5px;
    color: #fff;
    font-size: 14px;
}

input,
textarea {
    width: 96%;
    padding: 10px;
    margin-bottom: 15px;
    border: none;
    border-radius: 5px;
    background: #4a3b37;
    color: #fff;
}

textarea {
    resize: vertical;
}

.login-links {
    margin-top: 10px;
}

.login-links a {
    display: block;
    color: #4e4d4a;
    text-decoration: none;
    margin-top: 5px;
    transition: color 0.3s;
}

.login-links a:hover {
    color: #ff6600;
}

.menu-toggle {
    display: none;
    background-color: #333;
    color: #ffc107;
    font-size: 20px;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin: 10px auto;
}

footer {
    background-color: #1b1b1b;
    color: #fff;
    text-align: center;
    padding: 20px 10px;
    font-size: 14px;
    margin-top: auto;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.5);
}

.nav-footer {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.nav-footer a {
    color: #ffc107;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-footer a:hover {
    color: #ff6600;
}

.nav-footer a.active {
    color: #ffffff;
    font-weight: bold;
}

@media screen and (max-width: 768px) {
    .header-container {
        flex-direction: column;
        /* <<< Elemente untereinander */
        align-items: flex-start;
        justify-content: center;
        height: auto;
        padding: 10px;
        gap: 10px;
    }

    .header-logo {
        max-height: 60px;
        width: auto;
    }

    .menu-toggle {
        display: block;
        align-self: flex-end;
    }

    nav {
        width: 100%;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        gap: 10px;
        margin-top: 10px;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        width: 100%;
        text-align: left;
        padding: 10px;
        margin-left: 0;
    }

    .user-info {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        padding: 10px;
        font-size: 14px;
    }

    .logout-button {
        width: fit-content;
        padding: 8px 12px;
        border: 1px solid #ffc107;
        background-color: #1e1e1e;
        color: #ffc107;
        border-radius: 5px;
    }

    footer {
        padding: 12px;
        font-size: 13px;
    }

    .nav-footer {
        gap: 14px;
        justify-content: center;
        flex-wrap: wrap;
    }
}