/* Burger Button */
header {
    position: absolute;
    top: 30px;
    right: 40px;
    z-index: 1001;
}

.burger {
    width: 50px;
    height: 30px;
    cursor: pointer;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.line {
    position: absolute;
    width: 100%;
    height: 4px;
    background-color: #ccc;
    border-radius: 2px;
    transition: transform 0.4s ease, top 0.4s ease, opacity 0.4s ease;
}

.line1 {
    top: 10px;
}

.line2 {
    top: 20px;
}

/* Animation zum X */
.burger.open .line1 {
    transform: rotate(45deg);
    top: 15px;
}

.burger.open .line2 {
    transform: rotate(-45deg);
    top: 15px;
}

/* Menü-Overlay */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #222;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateY(-100%);
    transition: transform 0.4s ease-in-out;
    z-index: 1000;
}

.menu-overlay.open {
    transform: translateY(0);
}

.menu-overlay nav ul {
    list-style: none;
    padding: 0;
    text-align: center;
}

.menu-overlay nav ul li {
    margin: 25px 0;
}

.menu-overlay nav ul li a {
    color: #ccc;
    text-decoration: none;
    font-size: 2rem;
    transition: color 0.3s ease;
}

.menu-overlay nav ul li a:hover {
    color: #ff6f61;
}