
    /* 💠 Bildergalerie */
    .slider {
        display: grid !important;
        grid-template-columns: repeat(5, 1fr) !important;
        grid-auto-rows: 1fr !important;
        grid-auto-flow: row dense !important;
        gap: 1px !important;
        width: 100% !important;
        height: auto !important;
        padding: 0 !important;
        margin-left: 0px;
        margin-right: 0px;
        margin-top: 100px;
        margin-bottom: 0px;
        float: left;
        position: relative;
    }

    /* 💠 Einzelnes Bild-/Video-Wrapper */
    .gallery-media-wrapper {
        position: relative;
        overflow: hidden;
        width: 100%;
        height: 100%;
        aspect-ratio: 1 / 1; /* 🚀 Sorgt für gleichmäßige Darstellung */
    }

    /* 💠 Bilder & Videos */
    .gallery-img, .gallery-video {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        display: block;
    }

    /* 💠 Hover-Effekt */
    .hover-box {
        position: absolute;
        bottom: -100%;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.7);
        display: flex;
        justify-content: center;
        align-items: center;
        transition: bottom 0.3s ease-in-out;
        pointer-events: none;
        cursor: pointer;
    }

    .hover-box img {
        width: 40px;
        height: 40px;
        opacity: 1;
    }

    .gallery-media-wrapper:hover .hover-box {
        bottom: 0;
    }

    /* 💠 Lightbox */
    .lightbox {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.8);
        display: flex;
        justify-content: center;
        align-items: center;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease-in-out;
    }

    .lightbox.active {
        opacity: 1;
        visibility: visible;
    }

    /* 💠 Inhalt innerhalb der Lightbox */
    .lightbox-content {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .lightbox-media img, .lightbox-media video {
        max-width: 90vw;
        max-height: 90vh;
        border-radius: 10px;
    }

    /* 💠 Bildzähler innerhalb der Lightbox */
    .lightbox-counter {
        position: absolute;
        top: 10px;
        right: 10px;
        color: white;
        font-size: 18px;
        font-family: Arial, sans-serif;
        background: rgba(0, 0, 0, 0.5);
        padding: 5px 10px;
        border-radius: 5px;
    }

    /* 💠 Navigation */
    .lightbox-prev, .lightbox-next {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background: rgba(255, 255, 255, 0.3);
        border: none;
        padding: 10px;
        font-size: 24px;
        cursor: pointer;
    }

    .lightbox-prev { left: 20px; }
    .lightbox-next { right: 20px; }

    /* 💠 Schließen-Button */
    .lightbox-close {
        position: absolute;
        top: 20px;
        right: 20px;
        background: none;
        border: none;
        color: white;
        font-size: 26px;
        cursor: pointer;
        font-weight: bold;
        opacity: 0.8;
        transition: opacity 0.2s ease-in-out;
    }

    .lightbox-close:hover {
        opacity: 1;
    }

    /* 💠 Load More Button */
    .load-more-container {
        top: 0;
        left: 0;
        float: left;
        margin-top: 25px;
        position: relative;
    }

    #loadMore {
        top: 0;
        left: 0;
        float: left;
        border: none;
        outline: none;
        color: #fff;
        display: block;
        font-size: 16px;
        cursor: pointer;
        padding: 10px 20px;
        position: relative;
        font-variant: small-caps;
        background-color: #222;
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    }

    #loadMore:hover {
        background-color: #000;
    }

