.df-alle-leistungen-tab__nav {
    background-color: #f5f7fa;
    padding: 40px;
}

.df-alle-leistungen-tab__nav-title {
    margin-bottom: 40px;
    padding-bottom: 15px;
}


@media only screen and (min-width: 768px) {
    .df-alle-leistungen-tab__nav-title::before,
    .df-alle-leistungen-tab__nav-title::after,
    .df-office-opening-hours__title::after {
        content: '';
        position: absolute;
        bottom: 0;
        width: 100%;
        height: 3px;
        background-color: #D8DDE1;
        border-radius: 99px;
        left: 0;
    }
    
    .df-alle-leistungen-tab__nav-title::before {
        max-width: 30px;
        background-color: var(--color-main);
        z-index: 3;
    }

    .df-alle-leistungen-tab-list-wrapper{
        display: block !important;
    }
}

/* Tab List */
.df-alle-leistungen-tab-list {
    gap: 14px;
    padding: 0;
}

.df-alle-leistungen-tab__nav-selected,
.df-alle-leistungen-tab-list > li {
    background-color: #FFFFFF;
    padding: 16px 38px 16px 30px;
    border-radius: 30px;
    box-shadow: 0px 2px 4px rgba(2, 29, 53, 0.1);
    cursor: pointer;
}

.df-alle-leistungen-tab-list > li > a{
    font-weight: 500;
    font-size: 15px;
    line-height: 1.2em;
    color: var(--color-heavy);
}

.df-alle-leistungen-tab-list li svg {
    position: absolute;
    right: 23px;
    transition: all 0.3s ease;
    top: 50%;
    transform: translateY(-50%);
}

.df-alle-leistungen-tab-list li svg path{
    transition: all 0.3s ease;
}

.df-alle-leistungen-tab-list li:hover svg {
    right: 18px;
}

.df-alle-leistungen-tab-list__sub{
    /* visibility: hidden;
    opacity: 0; */
    max-height: 0;
    font-size: 15px;
    list-style-type: disc;
}

li.df-active .df-alle-leistungen-tab-list__sub{
    max-height: 500px;
    /* visibility: visible;
    opacity: 1; */
    color: var(--color-main);
}

/* Office Opening hours box */
.df-office-opening-hours__box {
    padding: 50px 40px;
    margin-top: 35px;
}

.df-office-opening-hours__title {
    padding-bottom: 16px;
    margin-bottom: 30px;
}

.df-office-opening-hours__box-item {
    gap: 15px;
    line-height: 1.1em;
}

.df-office-opening-hours__box-item:not(:last-child) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.df-alle-leistungen-contents-item:not(.df-active){
    display: none;
}

/* Tab Content Image */
.df-alle-leistungen-contents__image {
    margin-bottom: 35px;
}

.df-alle-leistungen__title {
    margin-bottom: 20px;
}

/* CTA */
.df-leistungen-cta__wrapper {
    margin-top: 50px;
}

.df-leistungen-cta__title {
    margin-bottom: 20px;
}

.df-leistungen-cta__buttons {
    margin-top: 50px;
    gap: 15px;
}

.df-leistungen-cta__buttons a {
    filter: brightness(100%);
    transition: all 0.3s;
}

.btn.df-leistungen-service-detail-btn:hover {
    color: #FFFFFF;
    filter: brightness(110%);
}

.df-leistungen-kontakt-btn {
    gap: 10px;
    font-size: 14px;
    line-height: 1em;
    color: var(--color-main);
}

.df-leistungen-kontakt-btn:hover{
    color: var(--color-main);
}

@media only screen and (max-width: 1200px) {
    .df-alle-leistungen-tab__nav,
    .df-office-opening-hours__box{
        padding: 25px;
    }
}

@media only screen and (max-width: 992px) {
    .df-alle-leistungen-tab__nav,
    .df-office-opening-hours__box{
        padding: 20px;
    }

    .df-alle-leistungen-tab__nav-selected,
    .df-alle-leistungen-tab-list > li{
        padding: 16px 35px 16px 20px;
    }

    .df-alle-leistungen-tab-list li a svg{
        right: 20px;
    }

    .df-alle-leistungen-tab-list li:hover svg {
        right: 15px;
    }
}

@media only screen and (max-width: 767px) {
    .df-alle-leistungen-contents{
        margin-top: 30px;
    }

    .df-leistungen-cta__buttons{
        gap: 25px;
        margin-top: 30px;
    }

    .df-leistungen-cta__wrapper{
        margin-top: 30px;
    }

    .df-alle-leistungen-tab__nav-title{
        margin-bottom: 30px;
        padding-bottom: 0;
    }

    .df-alle-leistungen-tab-list-wrapper{
        display: none;
    }

    .df-alle-leistungen-tab-list {
        position: absolute;
        width: 100%;
        z-index: 99;
        background-color: #fff;
        padding: 10px;
        left: 0;
        margin-top: 20px;
    }

    .df-alle-leistungen-tab__nav-selected{
        padding-right: 20px;
    }

    .df-alle-leistungen-tab-list > li:not(:last-child){
        margin-bottom: 14px;
    }
    
    .df-alle-leistungen__title{
        font-size: 28px;
    }

    .df-leistungen-cta__title{
        font-size: 25px;
    }
}