#hamburger-icon {
    margin: auto 0;
    display: block;
    cursor: pointer;
}

#hamburger-icon div {
    width: 28px;
    height: 3px;
    background-color: #fff;
    margin: 5px 0;
    transition: 0.4s;
}

.open .bar1 {
    -webkit-transform: rotate(-45deg) translate(-6px, 6px);
    transform: rotate(-45deg) translate(-6px, 6px);
}

.open .bar2 {
    opacity: 0;
}

.open .bar3 {
    -webkit-transform: rotate(45deg) translate(-6px, -8px);
    transform: rotate(45deg) translate(-6px, -8px);
}

.open .mobile-menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;
    width: 100%;
    background: #f7f7f7;
    box-shadow: 0 6px 24px rgba(60, 156, 222, 0.13);
    z-index: 999;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    margin: 0;
    padding: 0;
}

/* Entferne das li-Element, wenn du es nicht nutzt,
   ansonsten setze hier padding/margin zurück */
.mobile-menu li {
    margin: 0;
    list-style: none;
}

/* Mach das <a> zum Block-Element, fülle 100% Breite,
   und beziehe Padding in die Breite mit ein */
.mobile-menu a {
    display: block;
    width: 90%;
    box-sizing: border-box;
    padding: 12px 18px;
    color: #222;
    text-decoration: none;
    font-size: 1rem;
    margin-bottom: 0px;
    text-align: center;
    border-bottom: 1px solid #ccc;

}

/* Hover-Effekt bleibt wie gehabt */
.mobile-menu a:hover {
    background: #f0f7f0;
    color: #3B973B;
}


@media only screen and (max-width: 600px) {
    header nav {
        display: none;
    }
}