.admin-nav { padding: 10px 20px; text-align: right; background: #f0f0f0; border-bottom: 1px solid #ddd; }
        .admin-nav a { color: #333; text-decoration: none; font-size: 14px; margin-left: 15px; }
        
        .sektions-titel { text-align: center; margin-top: 50px; font-size: 28px; font-weight: bold; color: #222; border-bottom: 2px solid #eee; padding-bottom: 15px; max-width: 800px; margin-left: auto; margin-right: auto; }
        
        /* --- CUSTOM DROPDOWNS --- */
        .filter-container-galerie { text-align: center; padding: 20px 10px; position: relative; z-index: 100; }
        .filter-container-galerie label { font-weight: 600; color: #444; margin-right: 12px; font-size: 15px; vertical-align: middle; }
        .custom-select-wrapper { position: relative; display: inline-block; user-select: none; text-align: left; min-width: 240px; }
        .custom-select-trigger { padding: 10px 45px 10px 24px; font-size: 15px; font-weight: bold; color: #333; border: 2px solid #e0e0e0; border-radius: 30px; background-color: #fff; cursor: pointer; transition: all 0.25s ease; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03); position: relative; }
        .custom-select-trigger:after { content: ""; position: absolute; right: 20px; top: 50%; width: 8px; height: 8px; border-right: 2px solid #333; border-bottom: 2px solid #333; transform: translateY(-70%) rotate(45deg); transition: transform 0.25s ease; }
        .custom-select-wrapper.offen .custom-select-trigger { border-color: #E50B7E; box-shadow: 0 4px 15px rgba(0, 123, 255, 0.15); }
        .custom-select-wrapper.offen .custom-select-trigger:after { transform: translateY(-30%) rotate(225deg); }
        .custom-options { position: absolute; display: block; top: 100%; left: 0; right: 0; background: #fff; border: 2px solid #E50B7E; border-radius: 15px; margin-top: 8px; box-shadow: 0 8px 25px rgba(0,0,0,0.1); opacity: 0; visibility: hidden; transform: translateY(-15px) scaleY(0.9); transform-origin: top center; transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s; overflow: hidden; }
        .custom-select-wrapper.offen .custom-options { opacity: 1; visibility: visible; transform: translateY(0) scaleY(1); }
        .custom-option { position: relative; padding: 12px 24px; font-size: 14px; font-weight: 600; color: #555; cursor: pointer; transition: all 0.2s ease; }
        .custom-option:hover { background: #f0f7ff; color: #007BFF; }
        .custom-option.gewaehlt { background: #E50B7E; color: #fff; }

        /* --- BESCHREIBUNGSBOXEN --- */
        .kategorie-beschreibung-box { max-width: 650px; margin: 0 auto 25px auto; text-align: center; min-height: 40px; background: #f0f7ff; padding: 15px 25px; border-radius: 12px; border-left: 4px solid #E50B7E; }
        .kat-text { font-size: 17px; color: #000000; font-weight: 500; line-height: 1.6; display: none; opacity: 0; transition: opacity 0.3s ease; margin: 0; }

        /* --- MEDIEN GRIDS --- */
        .container-galerie { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; padding: 0 20px 40px 20px; }
        .item-galerie { cursor: pointer; opacity: 1; transform: scale(1); transition: opacity 0.4s ease, transform 0.4s ease; position: relative; }
        .item-galerie.versteckt { opacity: 0; transform: scale(0.95); position: absolute; width: 0; height: 0; overflow: hidden; padding: 0; margin: 0; }
        
        .box-galerie-thumb { position: relative; width: 100%; padding-bottom: 100%; background-size: cover; background-position: center; border-radius: 12px; box-shadow: 0 4px 6px rgba(0,0,0,0.06); overflow: hidden; background-color: #000; }
        .box-galerie-thumb.video-format { padding-bottom: 56.25%; /* 16:9 Breitbild für Videos */ }
        .box-galerie-thumb video { position: absolute; top: 0; left: 0; width: 100% !important; height: 100% !important; object-fit: cover; pointer-events: none; }
        
        .click-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; z-index: 5; cursor: pointer; }
        .titel-galerie-bild { margin-top: 8px; text-align: center; font-size: 14px; font-weight: bold; }

        /* --- MULTI LIGHTBOX OVERLAY --- */
        .lightbox-galerie { display: none; position: fixed; z-index: 9999; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.97); justify-content: center; align-items: center; flex-direction: column; opacity: 0; transition: opacity 0.3s ease; }
        .lightbox-galerie.aktiv { display: flex; opacity: 1; }
        .lightbox-content-wrapper { position: relative; display: flex; justify-content: center; align-items: center; max-width: 95vw; max-height: 85vh; width: auto; background: transparent; border-radius: 8px; }
        .content-lightbox-img { max-width: 95vw; max-height: 95vh; display: none; object-fit: contain; box-shadow: 0 10px 30px rgba(255, 255, 255, 0.5); border-radius: 4px;}
        .content-lightbox-video { width: auto; height: auto; max-width: 95vw; max-height: 85vh; display: none; pointer-events: auto !important;border-radius: 4px; }
        
        .caption-lightbox { color: #fff; margin-top: 20px; font-size: 20px; font-weight: 500; text-align: center; text-shadow: 0 2px 4px rgba(0,0,0,0.6); }
        .close-lightbox { position: absolute; top: 20px; right: 30px; color: #fff; font-size: 40px; font-weight: bold; cursor: pointer; z-index: 1010; }
        .btn-lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); color: #fff; font-size: 50px; font-weight: bold; padding: 0 20px; cursor: pointer; user-select: none; z-index: 1010; }
        .btn-lightbox-prev { left: 10px; } .btn-lightbox-next { right: 10px; }
/* --- ZUSÄTZLICHER KOPIERSCHUTZ (OVERLAY) --- */

/* Nutzt dein vorhandenes click-overlay als Schutzschicht über den Thumbnails */
.click-overlay {
    background: transparent; /* Unsichtbar */
    z-index: 10; /* Liegt sicher über dem Bild/Video */
    -webkit-touch-callout: none; /* Verhindert langes Drücken auf Mobilgeräten */
    -webkit-user-select: none;
    user-select: none;
}

/* Schützt das große Bild in der Lightbox */
.lightbox-content-wrapper {
    position: relative; /* Basis für das Lightbox-Schutz-Overlay */
}

/* Das neue unsichtbare Schutz-Overlay für die Lightbox */
.lightbox-protection-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 1005; /* Liegt über dem Bild (.content-lightbox-img), aber unter den Nav-Buttons (1010) */
    -webkit-touch-callout: none !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
}

/* Verhindert das Ziehen (Drag & Drop) aller Bilder/Videos im gesamten Galeriebereich */
.container-galerie img, 
.container-galerie video, 
.lightbox-galerie img {
    pointer-events: none; /* Macht das Bild für die Maus "unfühlbar", Klicks gehen durch auf das Overlay */
    -webkit-user-select: none !important;
    user-select: none !important;
}

/* Reaktiviert die Maussteuerung für Videos in der Lightbox, da man sie sonst nicht abspielen/pausieren könnte */
.content-lightbox-video {
    pointer-events: auto !important;
}
 /* Gilt für alle einzelnen Bilder, die geschützt werden sollen */
.bild-schutz {
    pointer-events: none !important;        /* Macht das Bild am Desktop "unfühlbar" für Rechtsklicks */
    -webkit-touch-callout: none !important; /* Blockiert das iPhone-Halten-Menü */
    -webkit-user-select: none !important;   /* Verhindert Markierung auf iOS/Android */
    user-select: none !important;
}  
/* Der Container für das einzelne Bild */
.schutz-container {
    position: relative;
    display: inline-block;
    width: fit-content;
    height: fit-content;
}

/* Das Bild füllt den Container perfekt aus */
.schutz-container img {
    display: block;
    width: 100%;
    height: auto;
    pointer-events: none; /* Macht das Bild für die Maus am Desktop unsichtbar */
}

/* Die Schutzfolie schneidet überstehende Ecken ab (wichtig für border-radius) */
.schutz-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 5;
    border-radius: inherit; /* Übernimmt automatisch die 15px Abrundung vom Container */
    
    /* iPhone & Android Kopierschutz */
    -webkit-touch-callout: none !important;
    -webkit-user-select: none !important;
    user-select: none !important;
}