@media (max-width: 1024px) {
    .image-grid-pictures,
    .image-grid-pictures2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 3 Spalten */
    gap: 20px; /* Abstand zwischen Bildern */
    padding: 40px;
}

.image-grid-pictures img,
.image-grid-pictures2 img {
    width: 100%;
    height: auto;
    object-fit: cover; /* Bild wird zugeschnitten, behält Proportionen */
}

/* Responsive Anpassungen scroll background in index.html */
    .overlay-text {
        font-size: 35px;
    }
    
    .scroll-background {
        font-size: 11px;
    }
}


@media (max-width: 768px) {

    main {
        margin-top: 60px; /* Etwas mehr Platz für mobile Navigation */
    }

/* Responsive */
.nav-btn {
    font-size: 14px;
}

 /* Titel Past Exhibition (NOt ORIGINAL) */
.exhibition-titel {
    font-size: 50px;
}

/* Text in Project (Urania) Navigation */
.image-text-banner {
    top: 50px;
    left: 125px;
    font-size: 60px;
}
/* Hamburger Menu - nur mobil sichtbar */
.hamburger-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    position: absolute;
    right: 20px;
    z-index: 1001;
}

.hamburger-menu span {
    width: 25px;
    height: 2px;
    background-color: #000;
    transition: all 0.3s ease;
}

/* Hamburger Animation beim Öffnen */
.hamburger-menu.active {
    /* transform: rotate(45deg) translate(7px, 7px); */
    opacity: 0;
}

/* Mobile Navigation */
    .hamburger-menu {
        display: flex;
    }
    
    .nav-center {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%; /* vorher 70%*/
        height: 100vh;
        display: flex;
        background-color: rgba(255, 255, 255, 0.7);
        flex-direction: column;
        justify-content: space-between; /* <── verteilt Inhalte: oben – Mitte – unten */
        align-items: center;
        padding: 80px 0 40px; /* oben/unten mehr Atmung */
        transition: right 0.6s ease;
        z-index: 1000;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }

    /* Menüpunkte in der Mitte */
    .nav-links {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 30px;
        margin: auto;
    }

    /* Close-Button unten im Menü */
    .menu-close {
    display: inline-block;    /* sichtbar auf Mobil */
    font-size: 35px;
    text-decoration: none;    /* wie Button aussehen lassen */
    color: inherit;
    background: none;
    border: none;
    cursor: pointer;
    margin-top: 60px;         /* mehr Abstand als normaler gap */
    margin-bottom: 40px;
    padding: 10px 20px;
  }

   .only-phone-menu {
    display: inline-block;    /* sichtbar auf Mobil */
    font-size: 35px;
    text-decoration: none;    /* wie Button aussehen lassen */
    color: inherit;
    background: none;
    border: none;
    cursor: pointer;
  }

.nav-center.nav-active {
        right: 0; /* Menü sichtbar vorher 15% */
    }

    a {
        font-size: 35px;
    }
    
    /* Verhindere Scrollen wenn Menu offen */
    body.menu-open {
        overflow: hidden;
    }
    
    /* Logo bleibt sichtbar */
    .logo-link {
        z-index: 1001;
    }

/* Grid & Gallery am Handy ausblenden */
    .image-grid-pictures,
    .image-grid-pictures2,
    .image-gallery-pictures {
        display: none;
    }

    /* Slider Wrapper sichtbar-1-2-3 */
    .mobile-slider-wrapper,
    .mobile-slider-wrapper-2,
    .mobile-slider-wrapper-3 {
        display: block;
        overflow: hidden;
        width: 100%;
        position: relative;
        margin-bottom: 0;
    }

    /* Slider Track-1-2-3 */
    .mobile-slider-wrapper .slider,
.mobile-slider-wrapper-2 .slider-2,
.mobile-slider-wrapper-3 .slider-3 {
    display: flex;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    padding-left: 20px;
    padding-right: 20px;
    gap: 20px;
}

    /* Slides-1-2-3 */
    .mobile-slider-wrapper .slider img,
    .mobile-slider-wrapper-2 .slider-2 img,
    .mobile-slider-wrapper-3 .slider-3 img {
        scroll-snap-align: center;
        flex-shrink: 0;
        width: 90%;
        height: auto;
        object-fit: cover;
    }

    /* Anpassung Scroll Backgorund in index.html*/

    .overlay-text {
        font-size: 35px;
        line-height: 1.3;
    }
    
    .scroll-background {
        font-size: 10px;
        line-height: 1.5;
    }
    
    .scroll-content {
        margin-top: 0;
        padding-bottom: 0;
        animation-duration: 150s;
    }
    
    .project-navigation {
        padding: 0;
}
}

/* Anpassung Scroll Backgorund in index.html*/

@media (max-width: 480px) {
    .overlay-text {
        font-size: 25px;
    }
    
    .scroll-background {
        font-size: 9px;
    }
    
    .scroll-content {
        padding: 10px;
        padding-bottom: 0;
    }
}