/* Slider Container */
[class^="number-slide"],
[class*=" number-slide"] {
    background: grey;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
    color: #fff;
    font-weight: 500;
    height: 600px;
    max-height: 100vh;
}

.slider-container {
    background-color: #ffffff;
    position: relative;
    width: 1200px; /* Doppelte Breite */
    margin: 0 auto;
    padding-top: 30px; /* Etwas Abstand von oben */
}

/* Container für den gesamten Slider */
.container {
    position: relative;
}

/* Styling für die einzelnen Slides im Slider */
.keen-slider__slide {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 60vh;
}

/* Slider Bild */
.keen-slider__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Verhindert Beschnitt */
}

/* Beschreibung unter den Bildern */
.description {
    display: block; /* Text in einer neuen Zeile */
    text-align: center;
    font-size: 16px; /* Größerer Text */
    color: #333;
    background-color: #f9f9f9;
    width: 100%;
    height: 58px;
    padding: 10px 15px 13px 15px;
}

/* Arrows - Navigation Pfeile */
.arrows {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    z-index: 100;
}

/* Pfeil-Button Styling */
.arrows button {
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 2rem;
    padding: 10px;
    cursor: pointer;
    border-radius: 50%; /* Runde Buttons */
    transition: background 0.3s ease;
}

.arrows button:hover {
    background: rgba(0, 0, 0, 0.8); /* Etwas dunkler bei Hover */
}

/* Dots (Punkte) Navigation */
.dots {
    text-align: center;
    margin-top: 20px;
}

/* Dots individual styling */
.dots .dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin: 0 8px;
    background-color: #ccc;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

/* Aktivierte Dot (der aktuelle Punkt) */
.dots .dot--active {
    background-color: #333;
}

/* Hover-Effekt für Dots */
.dots .dot:hover {
    background-color: #666;
}

/* Arrows und Dots auf mobilen Geräten zentrieren */
@media (max-width: 768px) {
    .slider-container {
        width: 100%;
        padding-top: 15px; /* Weniger Abstand oben auf mobilen Geräten */
    }

    .keen-slider__slide {
        height: 30vh;
    }

    .keen-slider__slide img {
        max-width: 100%; /* Vollbild auf mobilen Geräten */
    }

    .arrows button {
        font-size: 1.5rem; /* Kleinere Pfeile */
        padding: 8px;
    }

    .dots .dot {
        width: 8px;
        height: 8px;
    }
}

@media (min-height: 768px) {
    .fader {
        height: 768px;
    }
}

.arrow {
    width: 30px;
    height: 30px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    fill: #fff;
    cursor: pointer;
}

.arrow--left {
    left: 5px;
    fill: "#fff";
    background-image: url("data:image/svg+xml, %3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' %3E%3Cpath d='M16.67 0l2.83 2.829-9.339 9.175 9.339 9.167-2.83 2.829-12.17-11.996z' %3E%3C/path%3E%3C/svg%3E");
}

.arrow--right {
    left: auto;
    right: 5px;
    background-image: url("data:image/svg+xml, %3Csvg xmlns='http://www.w3.org/2000/svg'  viewBox='0 0 24 24' %3E%3Cpath d='M5 3l3.057-3 11.943 12-11.943 12-3.057-3 9-9z'%3E%3C/path%3E%3C/svg%3E");
}

.arrow--disabled.arrow--left {
    background-image: url("data:image/svg+xml, %3Csvg xmlns='http://www.w3.org/2000/svg' fill='grey' viewBox='0 0 24 24' %3E%3Cpath d='M16.67 0l2.83 2.829-9.339 9.175 9.339 9.167-2.83 2.829-12.17-11.996z' %3E%3C/path%3E%3C/svg%3E");
}

.arrow--disabled.arrow--right {
    background-image: url("data:image/svg+xml, %3Csvg xmlns='http://www.w3.org/2000/svg' fill='grey' viewBox='0 0 24 24' %3E%3Cpath d='M5 3l3.057-3 11.943 12-11.943 12-3.057-3 9-9z'%3E%3C/path%3E%3C/svg%3E");
}

.multi-text-truncate-peter {
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Anzahl der sichtbaren Zeilen */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 3.5em; /* Passt sich an die Schriftgröße an */
    line-height: 1em; /* Abstand zwischen den Zeilen */
    white-space: normal; /* Erlaubt Umbrüche */
    padding-bottom: 2px;
}
