/* Lightbox Grundgerüst */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.95);
    justify-content: center;
    align-items: center;
}

.lightbox-content {
    max-width: 90%;
    max-height: 80%;
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
    border: 2px solid var(--gold);
}

.lightbox-close {
    position: absolute;
    top: 30px; right: 30px;
    color: var(--gold);
    font-size: 40px;
    cursor: pointer;
    font-weight: bold;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    transform: translateY(-50%);
}

.nav-btn {
    background: rgba(197, 160, 89, 0.2);
    color: var(--gold);
    border: 1px solid var(--gold);
    padding: 15px 20px;
    cursor: pointer;
    font-size: 20px;
    transition: 0.3s;
}

.nav-btn:hover { background: var(--gold); color: #000; }/* Bento-Galerie Layout */
.bento-gallery {
    display: grid;
    grid-template-columns: 2fr 1fr; /* Links doppelt so breit wie rechts */
    grid-template-rows: repeat(2, 250px); /* Zwei Zeilen à 250px = 500px Gesamthöhe */
    gap: 10px;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border: 1px solid #333;
    cursor: pointer;
}

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

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

/* Das erste Bild geht über beide Zeilen */
.item-big {
    grid-row: span 2;
}

/* Button für "Alle Bilder anzeigen" im letzten kleinen Bild */
.more-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Mobil-Anpassung: Untereinander stapeln */
@media (max-width: 768px) {
    .bento-gallery {
        grid-template-columns: 1fr;
        grid-template-rows: 300px 200px 200px;
    }
    .item-big { grid-row: span 1; }
}