/* =========================
   RESET & BASIS
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Helvetica Neue", Arial, sans-serif;
    background-color: #f5f1ec; /* Beige */
    color: #6b6b6b; /* Grau */
    line-height: 1.6;
}

/* =========================
   HEADER & NAVIGATION
========================= */
.site-header {
    background-color: #e6ded6; /* Dunkelbeige */
    padding: 3rem 2rem;
    text-align: center;
}

    .site-header h1 {
        font-size: 2.4rem;
        letter-spacing: 2px;
        color: #000;
        margin-bottom: 0.5rem;
    }

    .site-header p {
        font-size: 1rem;
    }

.nav {
    margin-bottom: 2rem;
}

    .nav a {
        text-decoration: none;
        color: #000;
        margin: 0 1rem;
        font-size: 0.85rem;
        letter-spacing: 1px;
        position: relative;
    }

        .nav a::after {
            content: "";
            position: absolute;
            left: 0;
            bottom: -4px;
            width: 0;
            height: 1px;
            background: #000;
            transition: width 0.3s ease;
        }

        .nav a:hover::after {
            width: 100%;
        }

/* =========================
   MAIN CONTENT
========================= */
.content {
    max-width: 1100px;
    margin: auto;
    padding: 3rem 2rem;
}

    .content section {
        margin-bottom: 3rem;
    }

    .content h2 {
        font-size: 1.6rem;
        color: #000;
        letter-spacing: 1px;
        margin-bottom: 1rem;
        border-bottom: 1px solid #000;
        display: inline-block;
        padding-bottom: 0.3rem;
    }

/* =========================
   INFO-BLÖCKE
========================= */
.info-block {
    background-color: #ffffff;
    border: 1px solid #ddd;
    padding: 1.5rem;
    margin-top: 1rem;
    border-radius: 6px;
}

    .info-block h3 {
        font-size: 1rem;
        color: #000;
        margin-bottom: 0.5rem;
    }

/* =========================
   BILD-GRID
========================= */
.image-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

    .image-grid img {
        width: 100%;
        height: 260px;
        object-fit: cover;
        border-radius: 6px;
        filter: grayscale(100%);
        transition: filter 0.4s ease, transform 0.3s ease;
    }

        .image-grid img:hover {
            filter: grayscale(0%);
            transform: scale(1.02);
        }

/* =========================
   FOOTER
========================= */
.site-footer {
    background-color: #1e1e1e;
    color: #e6ded6;
    text-align: center;
    padding: 2.5rem 2rem;
    font-size: 0.85rem;
}

    .site-footer h2 {
        color: #ffffff;
        margin-bottom: 1rem;
    }

/* =========================
   RESPONSIVE DESIGN
========================= */
@media (max-width: 900px) {
    .image-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .nav {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .site-header {
        padding: 2rem 1rem;
    }

        .site-header h1 {
            font-size: 1.8rem;
        }

    .content {
        padding: 2rem 1rem;
    }

    .image-grid {
        grid-template-columns: 1fr;
    }
}
/* =========================
   LIGHTBOX
========================= */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 999;
}

    .lightbox.active {
        opacity: 1;
        pointer-events: all;
    }

    .lightbox img {
        max-width: 90%;
        max-height: 90%;
        border-radius: 6px;
    }
/* =========================
   SLIDESHOW
========================= */
.slideshow {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 999;
}

    .slideshow.active {
        opacity: 1;
        pointer-events: all;
    }

    .slideshow img {
        max-width: 90%;
        max-height: 90%;
        border-radius: 6px;
    }

    /* Buttons */
    .slideshow button {
        position: absolute;
        background: none;
        border: none;
        color: #fff;
        font-size: 2.5rem;
        cursor: pointer;
        padding: 1rem;
    }

    .slideshow .prev {
        left: 20px;
    }

    .slideshow .next {
        right: 20px;
    }

    .slideshow .close {
        top: 20px;
        right: 30px;
        font-size: 3rem;
    }
