
/* = = = = = = = = = = = = = = = = = datei galerie.css = = = = = = = = = = = = = = = = = = = = = = = = = */


.gallery-note {
    text-align: center;
    color: #8a8a8a;
    font-size: 1.3rem;
    margin-top: -3rem;
    margin-bottom: 2rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr));
    gap: .8rem;
    margin-bottom: 2rem;
}

.gallery-item {
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: .4rem;
    background: #232323;
    border: .1rem solid #2a2a2a;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .3s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

/* ---------- Lightbox ---------- */

#lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .92);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 3rem;
    cursor: zoom-out;
}

#lightbox-overlay.active {
    display: flex;
}

#lightbox-overlay img {
    max-width: 92vw;
    max-height: 88vh;
    border-radius: .4rem;
    box-shadow: 0 0 4rem rgba(0, 0, 0, .7);
}

#lightbox-close {
    position: fixed;
    top: 1.5rem;
    right: 2.5rem;
    color: #fff;
    font-size: 3.5rem;
    line-height: 1;
    cursor: pointer;
    z-index: 1001;
}

@media (max-width: 480px) {

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr));
        gap: .5rem;
    }
}

/* +  +  +  +  + +  +  +  +  +  C O D E ENDE  +  +  +  +  +  +  +  +  +  + */
