/*
    Ersatz für den "Slide Anything" Owl-Carousel (Shortcode [leistungen-slider]).
    Nachgebaut mit dem im Theme bereits enthaltenen Slick-Slider.
*/

.leistungen-slider {
    position: relative;
    padding: 0 3.5rem;
}

.leistungen-slider__track:focus,
.leistungen-slider__slide:focus {
    outline: none;
}

.leistungen-slider__slide {
    padding: 1rem 0;
}

.leistungen-slider__circle {
    width: 100%;
    aspect-ratio: 1 / 1;
    margin: 0 auto;
    padding: 10%;
    border-radius: 50%;
    background-color: #fff;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    transition: all 0.7s ease;
    transform: scale(0.75) !important;
}

.leistungen-slider__slide.slick-center .leistungen-slider__circle {
    transform: scale(1) !important;
}

.leistungen-slider__circle h3 {
    color: #c1b900;
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
}

.leistungen-slider__text {
    font-size: 0.9rem;
    line-height: 1.4;
}

.leistungen-slider__text p {
    margin-bottom: 0.75rem;
}

.leistungen-slider__text p:last-child {
    margin-bottom: 0;
}

.leistungen-slider__circle .btn {
    margin-top: 1rem;
}

.leistungen-slider__arrows {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    pointer-events: none;
}

.leistungen-slider__arrow {
    pointer-events: all;
    width: 44px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.6);
    border: none;
    border-radius: 8px;
    font-size: 1.5rem;
    line-height: 1;
    color: rgba(0, 0, 0, 0.55);
    cursor: pointer;
    transition: background 0.2s ease;
}

.leistungen-slider__arrow:hover,
.leistungen-slider__arrow:focus {
    background: rgba(255, 255, 255, 0.85);
    outline: none;
}

.leistungen-slider .slick-dots {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0;
    margin: 1.5rem 0 0;
}

.leistungen-slider .slick-dots li {
    display: flex;
}

.leistungen-slider .slick-dots li button {
    text-indent: -9999px;
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    background: #fff;
    border: none;
    padding: 0;
    cursor: pointer;
	border: 3px solid #fff;
}

.leistungen-slider .slick-dots li.slick-active button {
    background: #c1b900;
}

@media (max-width: 767px) {
    .leistungen-slider {
        padding: 0 2.75rem;
    }

    .leistungen-slider__arrow {
        width: 36px;
        height: 56px;
        font-size: 1.1rem;
    }
}
