﻿/* Masonry-Galerie: Tetris-Effekt */
.masonry-gallery {
    column-count: 5;
    column-gap: 24px;
    padding: 40px;
    max-width: 1600px;
    margin: 0 auto;
}

/* Einzelnes Bild-Element */
.masonry-item {
    break-inside: avoid;
    margin-bottom: 24px;
    cursor: pointer;
    transition: transform 0.2s ease;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.masonry-item:hover {
    transform: scale(1.03);
}

.masonry-item img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    border-radius: 8px;
 }

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    cursor: pointer;
}

.lightbox-img {
    max-width: 90vw;
    max-height: 90vh;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(0,0,0,0.6);
}
.gallery-title {
    text-align: center;
    margin-top: 40px;
    font-size: 2.5rem;
    font-weight: 600;
    color: #ffffff;
    text-shadow: 0 2px 6px rgba(0,0,0,0.4);
    letter-spacing: 1px;
}

* {
    pointer-events: auto !important;
}


