.logo-container{
    position: fixed;
    left:-20px;
    margin-top: -20px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    height: 100px;
    width: auto;
    z-index: 1000;
    padding: 30px 10px 10px 30px;
    transform: rotate(calc(-1*var(--rotation)));
    transition: transform 0.3s ease, filter 0.3s ease;
}

.logo-container:hover{
    transform: scale(1.05) rotate(0);
    filter: brightness(1.1);
}

.logo-container a {
    width: 100%;
    height: 100%;
}

/* Logo-Größe */
.logo-container img {
    width: auto;
    height: 100%;
    object-fit: cover;
}


/* Header Container */
.header-container {
    display: flex;
    justify-content: flex-start;
    align-items:end;
    padding: 30px 30px 10px 10px;
    right: -20px;
    margin-top: -20px;
    position: fixed;
    z-index: 1000;
    background-color: var(--primary-color);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transform: rotate(calc(-1*var(--rotation)));
    transition: transform 0.3s ease, filter 0.3s ease;
    height: 80px;
}

.header-container:hover{
    transform: scale(1.05) rotate(0);
    filter: brightness(1.1);
}

/* Hamburger Button */
.menu-toggle {
    cursor: pointer;
    font-size: 30px;
    font-weight: 200;
    border: none;
    color: var(--secondary-color);
    font-family: var(--font-regular);
}

/* Fullscreen Menu */
.fullscreen-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--secondary-color);
    color: var(--primary-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
        clip-path: polygon(
        0 0,
        100% 0,
        100% calc(95% - var(--para-offset)),
        0 95%
    );
    transform: translateY(-100%); /* Start: komplett außerhalb oben */                 /* Start unsichtbar */
    transition: transform 1s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 999;
    filter: drop-shadow(0 8px 25px rgba(0,0,0,0.25));
}

/* Menü geöffnet */
.fullscreen-menu.open {
    transform: translateY(0); /* In Position */
}

/* Fullscreen Bottom Menu */
.fullscreen-bottom {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--primary-color);
    color: var(--primary-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    /* Clip-Path */
    clip-path: polygon(
        0 94.8%,
        100% calc(94.8% - var(--para-offset)),
        100% 100%,
        0 100%
    );

    /* Startposition: unterhalb des Viewports */
    transform: translateY(100%);
    transition: transform 1s cubic-bezier(0.25, 1, 0.5, 1);

    z-index: 998;
}

/* Menü geöffnet */
.fullscreen-bottom.open {
    transform: translateY(0); /* In Position */
}



.fullscreen-menu .fullscreen-nav{
        rotate: calc(-1 * (var(--rotation)));
}


.fullscreen-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
    gap: 50px;
    list-style-type: none;
}

.fullscreen-menu ul li {
    margin: 25px 0;
    opacity: 0;
    transform: translateY(-20px);
    transition: transform 0.4s ease, opacity 0.4s ease;
        list-style-type: none;
}

.fullscreen-menu.open ul li {
    opacity: 1;
    transform: translateY(0);
}

.fullscreen-menu a {
    font-size: 2rem;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: opacity 0.3s ease, transform 0.2s ease;
}

.fullscreen-menu ul li a:hover {
    transform: translateX(-5px) translateY(2px);
     opacity: 0.8;
}

/* Optional Desktop Styling */
@media(max-height: 800px) {
.fullscreen-menu ul li {
    margin: 15px 0;
    opacity: 0;
    transform: translateY(-20px);
    transition: transform 0.4s ease, opacity 0.4s ease;
        list-style-type: none;
}
}
