.navigation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    font-family: "Montserrat-Bold", Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;

    padding: 2rem;

    list-style: none;
    z-index: 1000;

    transition: all 0.6s ease;
}

.navigation::before {
    content: "";
    position: absolute;
    inset: 0;

    background: rgba(0,0,0,0.95);

    opacity: 0;
    transition: opacity 0.6s ease;

    z-index: -1;
}

.navigation.scrolled::before {
    opacity: 1;
}

.navigation a {
    color: white;
    text-decoration: none;
}



@font-face {
            font-family: "uncialantiqua";
            src: url("/fonts/uncialantiqua.ttf");
        }
        @font-face {
            font-family: "Montserrat-Regular";
            src: url("/fonts/montserrat-regular.ttf");
        }
        @font-face {
    font-family: "Montserrat-Bold";
    src: url("../fonts/montserrat-extrabold.ttf");
}

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
            padding: 2rem;
            color: #fff;
            background: #1d0000;
            position: relative;
            overflow: hidden;
        }

        .bg {
            position: fixed;
            inset: 0;
            z-index: -2;
            background: url("/img/octavia-teaser.jpg") center/cover no-repeat;
            filter: blur(7px) brightness(.5);
            transform: scale(1.1);
        }

        .overlay {
            position: fixed;
            inset: 0;
            z-index: -1;
            background: rgba(0, 0, 0, 0.55);
        }

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;

    margin: 0 2rem;
    opacity: 0.7;
}

        h1 {
            font-family: "uncialantiqua", Arial, serif;
            font-size: clamp(2rem, 6vw, 4rem);
            margin-bottom: 1rem;
        }

        p {
            font-family: "Montserrat-Regular", Arial, sans-serif;
            font-size: clamp(1rem, 2.5vw, 1.3rem);
            opacity: 0.85;
            max-width: 42ch;
            line-height: 1.5;
        }
        .version {
    font-size: 2rem;
    line-height: 1;
}


        .logo-image {
            width: min(340px, 70vw);
            height: auto;
            margin-bottom: 2.5rem;
        }

        .nav-toggle { display: none; }

@media (max-width: 768px) {

    :root {
        --h2-size: 2.2rem;
        --h3-size: 1.6rem;
        --p-size: 1.05rem;
    }

    /* ---- Hamburger ---- */
    .nav-toggle {
        display: flex;
        position: fixed;
        top: 1rem;
        right: 1.25rem;
        z-index: 2000;

        width: 46px;
        height: 46px;
        padding: 11px;

        flex-direction: column;
        justify-content: space-between;

        background: rgba(0, 0, 0, 0.6);
        border: none;
        border-radius: 8px;
        cursor: pointer;
    }
    .nav-toggle span {
        display: block;
        width: 100%;
        height: 3px;
        background: #fff;
        border-radius: 2px;
        transition: 0.3s ease;
    }
    .nav-toggle.is-open span:nth-child(1) { transform: translateY(10.5px) rotate(45deg); }
    .nav-toggle.is-open span:nth-child(2) { opacity: 0; }
    .nav-toggle.is-open span:nth-child(3) { transform: translateY(-10.5px) rotate(-45deg); }

    /* ---- Navigation as full-screen drop-down ---- */
    .navigation {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 1.6rem;

        min-height: 100vh;
        padding: 4rem 1.5rem;

        background: rgba(0, 0, 0, 0.97);
        transform: translateY(-100%);
        transition: transform 0.4s ease;
    }
    .navigation.nav-open { transform: translateY(0); }
    .logo { margin: 0.4rem 0; }
    .version { font-size: 1.4rem; }

    /* ---- Hero ---- */
    h1 {
        font-size: 3rem;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    /* Hero-Bild randlos (kein schwarzer Spalt rechts) */
    .full-image { padding-right: 0; }

    /* Section-Untertitel unter dem Titel mittig */
    .content > h2 + p,
    .minified > h2 + p { text-align: center; }

    /* ---- Generic content sections ---- */
    .content { padding: 6rem 1.5rem 3rem; }
    .minified { width: 100%; }

    /* ---- Project grid ---- */
    .projects-image { grid-template-columns: 1fr; padding-top: 3rem; }
    .extra-images { display: none; }
    .project-card:hover { transform: none; }
    .projects-image:hover .project-card { filter: none; opacity: 1; }
    .projects-image .project-card:hover { transform: none; }

    /* ---- Collaboration blocks → stacked ---- */
    .collab-info,
    .collab-info-dream,
    .collab-info-skeleton {
        flex-direction: column;
        gap: 1.5rem;
        padding: 2.5rem 1.5rem;
    }
    .collab-image img,
    .collab-image-skeleton img { width: 100%; }
    .collab-image-dream { width: 100%; }
    .collab-logo { margin-top: 0; width: 12rem; }
    .collab-center { padding-left: 0; }
    .marquee { padding-bottom: 0; margin-top: 1.5rem; }
    .marquee-track { font-size: 2.6rem; }

    /* ---- In progress ---- */
    .progress { flex-direction: column; padding: 2.5rem 1.5rem; }
    .progress-center img { width: 60vw; }
    .progress-left img,
    .progress-right img { width: 70vw; height: auto; }

    /* ---- Galleries ---- */
    .gallery-image {
        grid-template-columns: repeat(2, 1fr);
        width: 100%;
        padding-left: 1rem;
        padding-right: 1rem;
    }
    .skelly { width: 40vw !important; }

    /* ---- Footer ---- */
    .footer_ {
        flex-direction: column;
        gap: 1.5rem;
        padding: 3rem 1.5rem;
        text-align: center;
    }
    .footer-logo { width: auto; }
    .logo-footer { align-items: center; margin: 0; font-size: 1rem; padding: 0; }
    .version-footer { font-size: 1.8rem; }
    .footer_ p { justify-content: center; font-size: 0.95rem; }
    .footer_ p a { padding: 0 1rem; }
}
        

