/* Standard-Header */
header {
    background: white;
    color: black;
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 10px 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: background 0.3s ease-in-out;

}

/* Header-Container */
.header-container {
    display: flex;

    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

/* Logo */
.logo img {
    width: 315px;

}

/* Navigation */
nav ul {
    display: flex;
    list-style: none;
        align-items: center;
    padding: 0;
    margin: 0;
}

nav ul li {

    bottom: 10px;


}

#nav-menu{
height: max-content;
margin-top: 14px;
    padding-top: 0;
}

nav ul li a {
    color: black;
    font-size: 22px;
    font-weight: 500;
    padding: 5px 10px;
    border-radius: 5px;
    transition: background 0.3s, color 0.3s, transform 0.2s;
    text-decoration: none;
    display: flex;
    align-items: center;
}

nav ul li a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

nav ul li a i {
    margin-right: 8px;
    transition: transform 0.3s;
}

nav ul li a:hover i {
    transform: rotate(10deg);
}

/* --- Responsive Anpassungen --- */
.menu-toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
    color: black;
    position: absolute;
    right: 20px;
    z-index: 1500;
}

.smalllogo{
    display: none;
}

@media (max-width: 450px) {
.smalllogo{
    display: block;
}
.smalllogo img {
    width: 250px;

}
.logo{
    display: none;
}
}

@media (max-width: 1000px) {


    .header-container {
align-items: center;
}


    .menu-toggle {
        display: block;
    }

nav {
    position: absolute;
    top: 90px;
  left: 0;
  right: 0;
  margin: 0 auto;
    width: 100%;
    max-width: 600px;
    background: white;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    display: none;
    flex-direction: column;
    border-radius: 5px;
    opacity: 0;
    transition: transform 0.3s ease-out, opacity 0.3s ease-out;
}




    nav ul {
        display: flex;
        flex-direction: column;
        width: 100%;
        align-items: stretch;

    }

nav ul li {
    text-align: center;
}

nav ul li:not(:last-child) {
    border-bottom: 1px solid rgba(32, 32, 32, 0.15);
}



    nav ul li a {
        font-size: 19px;
        padding: 10px 0;
        display: block;
        width: 100%;
    }


    nav.active {
        display: flex;
        transform: translateY(0);
        opacity: 1;
        background-color: whitesmoke;
    }
}