/* ============================================================
   RADIOLPUNA 3D HOLOGRAMM – SLIDER
============================================================ */
/* Gesamter Slider als Hologramm-Panel */
.slideshow-container {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    max-width: 900px;
    margin: 0 auto;
    /* FIX: feste Höhe, verhindert Springen */
    height: 320px;
    background: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(18px);
    transform: perspective(900px) rotateX(6deg);
    animation: holoFloatSlider 6s ease-in-out infinite;
    box-shadow:
        0 0 35px rgba(0, 200, 255, 0.4),
        inset 0 0 25px rgba(150, 0, 255, 0.35);
}
@keyframes holoFloatSlider {
    0%, 100% { transform: perspective(900px) rotateX(6deg) translateY(0); }
    50% { transform: perspective(900px) rotateX(4deg) translateY(-6px); }
}
/* Scanlines */
.slideshow-container::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: repeating-linear-gradient(
        to bottom,
        rgba(255,255,255,0.04) 0px,
        rgba(255,255,255,0.04) 2px,
        transparent 3px,
        transparent 6px
    );
    animation: scanMoveSlider 5s linear infinite;
}
@keyframes scanMoveSlider {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100%); }
}

/* Glow Layer */
.slideshow-container::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at 30% 50%, rgba(255,0,255,0.35), transparent 70%);
    filter: blur(35px);
    animation: holoGlowSlider 7s ease-in-out infinite;
}
@keyframes holoGlowSlider {
    0%, 100% { opacity: 0.4; transform: translateX(0); }
    50% { opacity: 0.8; transform: translateX(40px); }
}

/* Slides */
.slide {
    display: none;
    width: 100%;
    height: 100%; /* FIX: nimmt die feste Höhe */
}
.slide img {
    width: 100%;
    height: 100%; /* FIX: füllt den Container */
    object-fit: cover; /* FIX: keine Höhenänderung */
    border-radius: 18px;
    box-shadow:
        0 0 18px rgba(0,200,255,0.5),
        inset 0 0 12px rgba(150,0,255,0.3);
}

/* Fade Animation */
.fade {
    animation: fade 1s ease;
}
@keyframes fade {
    from { opacity: .4 }
    to { opacity: 1 }
}

/* Navigation Buttons */
.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 28px;
    padding: 12px;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.45);
    border-radius: 50%;
    color: rgba(0,200,255,0.9);
    text-shadow: 0 0 10px rgba(0,200,255,0.8);
    box-shadow:
        0 0 12px rgba(0,200,255,0.5),
        inset 0 0 8px rgba(150,0,255,0.3);
    transition: 0.2s ease;
    z-index: 10;
}
.prev:hover, .next:hover {
    background: rgba(0, 0, 0, 0.65);
    color: #ff00e1;
    text-shadow: 0 0 14px #ff00e1;
}
.prev { left: 12px; }
.next { right: 12px; }

/* Dots */
.dots {
    text-align: center;
    margin-top: 14px;
}
.dot {
    height: 14px;
    width: 14px;
    background: rgba(0,200,255,0.4);
    border-radius: 50%;
    display: inline-block;
    margin: 0 5px;
    cursor: pointer;
    box-shadow:
        0 0 8px rgba(0,200,255,0.6),
        inset 0 0 6px rgba(150,0,255,0.3);
    transition: 0.2s ease;
}
.dot:hover {
    background: rgba(255,0,225,0.7);
    box-shadow:
        0 0 12px rgba(255,0,225,0.9),
        inset 0 0 8px rgba(255,0,225,0.4);
}
.dot.active {
    background: #ff00e1;
    box-shadow:
        0 0 14px #ff00e1,
        inset 0 0 10px rgba(255,0,225,0.5);
}

/* Mobile */
@media (max-width: 768px) {
    .slideshow-container {
        max-width: 100%;
        height: 240px; /* kleinere Höhe für Handy */
    }
}
