/* Slider Container */
.slider-container {
    position: relative;
    width: 100%;
    max-width: 800px; /* Max. Breite des Sliders */
    margin: auto;
    overflow: hidden;
}

/* Einzelne Slides */
.slide {
    display: none;
    position: relative;
    text-align: center;
}

/* Einheitliche Bildgröße & abgerundete Ecken */
.slide img {
    width: 100%; /* Bild füllt den Slider */
    height: 600px; /* Feste Höhe für gleiche Größe */
    object-fit: cover; /* Bild bleibt gleichmäßig skaliert */
    border-radius: 16px; /* Abgerundete Ecken */
}

/* Text-Overlay */
.text-overlay {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 15px;
    border-radius: 10px;
    width: 80%;
}

/* Navigation Buttons */
.nav-buttons {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 24px;
    padding: 10px;
    cursor: pointer;
}

/* Button-Styling */
.btn2 {
    display: inline-block;
    margin-top: 10px;
    padding: 12px 24px;
    background: #ff6600; /* Knalliges Orange */
    color: white;
    text-decoration: none;
    border-radius: 25px; /* Mehr abgerundete Ecken */
    font-weight: bold;
    font-size: 16px;
    transition: background 0.3s, transform 0.2s;
    border: none;
    cursor: pointer;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2); /* Leichter Schatten */
}

/* Hover-Effekt */
.btn2:hover {
    background: #e65c00; /* Dunkleres Orange */
    transform: scale(1.05); /* Leicht vergrößern */
}

/* Button im Text-Overlay */
.text-overlay .btn2 {
    display: inline-block;
    text-align: center;
}



.prev {
    left: 10px;
}

.next {
    right: 10px;
}
