/* Modern Responsive Slider CSS */

.modern-slider {
    position: relative;
    overflow: hidden;
}

.carousel-item {
    height: 80vh;
    min-height: 450px;
    background-position: center;
    background-size: cover;
    position: relative;
}

.carousel-caption {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    bottom: auto;
    left: 0;
    right: 0;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 15px;
    text-align: left;
}

.slide-content {
    background-color: rgba(0, 0, 0, 0.7);
    padding: 30px;
    border-left: 5px solid #26bfeb;
    max-width: 580px;
    border-radius: 0;
}

.slide-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #fff;
    line-height: 1.2;
}

.slide-content h2 .highlight {
    color: #26bfeb;
}

.slide-content p {
    font-size: 1.1rem;
    line-height: 1.5;
    margin-bottom: 25px;
    color: rgba(255, 255, 255, 0.9);
}

.slide-btn {
    display: inline-block;
    background-color: #26bfeb;
    color: #fff;
    padding: 12px 25px;
    font-weight: 600;
    text-transform: uppercase;
    border: none;
    transition: all 0.3s ease;
    border-radius: 0;
    font-size: 16px;
    letter-spacing: 0.5px;
    text-decoration: none;
}

.slide-btn:hover {
    background-color: #fff;
    color: #26bfeb;
}

.slide-btn i {
    margin-left: 10px;
}

.carousel-control-prev, 
.carousel-control-next {
    width: 5%;
    opacity: 0;
    transition: all 0.3s ease;
}

.carousel-indicators {
    bottom: 20px;
}

.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #fff;
    background-color: transparent;
    opacity: 1;
    transition: all 0.3s ease;
}

.carousel-indicators .active {
    background-color: #26bfeb;
    border-color: #26bfeb;
}

.modern-slider:hover .carousel-control-prev,
.modern-slider:hover .carousel-control-next {
    opacity: 0.8;
}

/* Overlay für die Bilder */
.carousel-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
}

/* Responsive Anpassungen */
@media (max-width: 1200px) {
    .slide-content {
        max-width: 500px;
    }
    .slide-content h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 992px) {
    .carousel-item {
        height: 70vh;
    }
    .slide-content {
        max-width: 450px;
        padding: 25px;
    }
    .slide-content h2 {
        font-size: 2rem;
    }
    .slide-content p {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .carousel-item {
        height: 60vh;
    }
    .carousel-caption {
        text-align: center;
    }
    .slide-content {
        max-width: 90%;
        margin: 0 auto;
        padding: 20px;
        border-left: none;
        border-top: 5px solid #26bfeb;
    }
    .slide-content h2 {
        font-size: 1.8rem;
    }
    .slide-content p {
        font-size: 0.95rem;
        margin-bottom: 20px;
    }
    .slide-btn {
        padding: 10px 20px;
        font-size: 15px;
    }
}

@media (max-width: 576px) {
    .carousel-item {
        height: 100vh;
        min-height: 400px;
    }
    .slide-content {
        padding: 15px;
        max-width: 95%;
    }
    .slide-content h2 {
        font-size: 1.4rem;
        margin-bottom: 10px;
    }
    .slide-content p {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }
    .slide-btn {
        padding: 8px 15px;
        font-size: 14px;
    }
}
