/* .masonry {
	position: relative;
}

.masonry img {
	position: absolute;
	width:100%;
	height: auto;
}

.masonry a {
	position: absolute;
}
.masonry a > img {
	position: relative;
} */

.images.masonry {
    width: 100% !important;
    height: auto !important;

    column-count: 4;
    column-gap: 20px;

	margin-bottom: 30px;
}

.images.masonry img {
    display: block;
    width: 100% !important;
    height: auto !important;

    margin-bottom: 20px;

    break-inside: avoid;
    transform: none !important;

    border-radius: 6px;
}

@media (max-width: 1200px) {
    .images.masonry {
        column-count: 3;
    }
}

@media (max-width: 800px) {
    .images.masonry {
        column-count: 2;
    }
}

@media (max-width: 500px) {
    .images.masonry {
        column-count: 2;
    }
}

/* Lightbox Overlay */
.image-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;

    display: none;
    align-items: center;
    justify-content: center;

    padding: 40px;

    background: rgba(0, 0, 0, 0.9);
}

.image-lightbox.is-open {
    display: flex;
}

/* Großes Bild */
.image-lightbox img {
    display: block;

    width: auto !important;
    max-width: 95vw;
    height: auto !important;
    max-height: 90vh;

    object-fit: contain;

    transform: none !important;
    margin: 0;
}

/* Schließen-Button */
.image-lightbox-close {
    position: absolute;
    top: 20px;
    right: 25px;

    border: 0;
    background: transparent;

    color: #fff;
    font-size: 42px;
    line-height: 1;

    cursor: pointer;
}

/* Galerie-Bilder klickbar machen */
.images.masonry img {
    cursor: zoom-in;
}