.page-template-page-leistungen .hero2 {
    height: 30vh;
    display: flex;
    align-items: center;
    clip-path: polygon(0% 0%, 100% 0%, 100% 60%, 0% 100%);
    background-image: url("../assets/ub-bg.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.page-template-page-leistungen .hero2::after {
    content: "";
    width: 100%;
    height: 100%;
    background-color: #003160;
    position: absolute;
    opacity: 0.25;
    z-index: -1;
}


.page-template-page-leistungen .hero2__content {
    max-width: 1440px;
    margin: 0 auto;
    width: 80%;
    /*background-image: url("../assets/clippedimg.png");*/
}


.page-template-page-leistungen .hero2__title {
    font-size: 50px;
    color: #fff;
    font-family: 'Barlow', sans-serif;
    font-weight: 700;
}


.page-template-page-leistungen .leistung__container {
    max-width: 1440px;
    margin: 0 auto;
    width: 80%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 100px;
    padding-top: 70px;
}


.page-template-page-leistungen .leistung__title {
    font-size: 40px;
    color: #000;
    font-family: 'Barlow';
    margin: 0;
    margin-bottom: 25px;
    line-height: 2.4rem;
}

.page-template-page-leistungen .leistung__subtitle {
    font-size: 14px;
    font-family: 'Barlow';
    color: #003160;
    padding-bottom: 20px;
}

.page-template-page-leistungen .leistung__text {
    font-family: barlow;
    font-size: 16px;
    color: #2f2f2f;
    margin-bottom: 40px;
}


.page-template-page-leistungen .filter2__title {
    font-size: 32px;
    font-family: 'Barlow';
    margin-top: 0;
}


.page-template-page-leistungen .filter2 {
    max-width: 1440px;
    margin: 0 auto;
    margin-bottom: 20px;
    padding: 0;
    position: relative;
    display: block;
}

.page-template-page-leistungen .filter2__item {
    background-color: white;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 2rem;
    max-width: 430px;
    width: 100%;

}


.page-template-page-leistungen .filter2__item__heading, .page-template-page-leistungen .filter2__item__text {
    font-family: barlow;
    padding-bottom: 1em !important;
}

.page-template-page-leistungen .filter2__item:hover {
    background-color: #053c6f;
    color: white;
}

.page-template-page-leistungen .filter2:hover .filter2__item__heading {
    color: white;
}

.page-template-page-leistungen .filter2__item__heading {
    color: #053c6f;
    line-height: 1.7;
}


/*-----------------------------------------accordion---------------------------------------------*/
.page-template-page-leistungen .accordion {
    background-color: #fff;
    box-shadow: 0px 2px 36px -21px rgba(0, 0, 0, 0.3) !important;
    padding: 20px;
    margin-bottom: 15px;
}

.page-template-page-leistungen .accordion .accordion-item {

}

.page-template-page-leistungen .accordion .accordion-item button[aria-expanded=true] {

}

.page-template-page-leistungen .accordion button {
    position: relative;
    display: block;
    text-align: left;
    width: 100%;
    padding: 1em 0;
    padding-bottom: 0px;
    color: #7288a2;
    font-size: 1.15rem;
    font-weight: 400;
    border: none;
    background: none;
    outline: none;
    padding-top: 0;
}

.page-template-page-leistungen .accordion button:hover, .page-template-page-leistungen .accordion button:focus {
    cursor: pointer;
    color: #03b5d2;
}

.page-template-page-leistungen .accordion button:hover::after, .page-template-page-leistungen .accordion button:focus::after {
    cursor: pointer;
    color: #03b5d2;
    border: 1px solid #03b5d2;
}

.page-template-page-leistungen .accordion button .accordion-title {
    padding: 1em 1.5em 1em 0;
    font-family: 'Barlow Condensed';
    font-size: 16px;
    font-weight: bold;
    color: #000;
    margin-left: 40px;
    font-family: barlow;
}

.page-template-page-leistungen .accordion .accordion-subtitle {
    font-size: 16px;
    padding-top: 15px;
    font-weight: normal;
}

.page-template-page-leistungen .accordion button .icon {
    display: inline-block;
    position: absolute;
    top: 2px;
    left: 0;
    width: 18px;
    height: 18px;
    border: 1px solid #000;
    border-radius: 22px;
}

.page-template-page-leistungen .accordion button .icon::before {
    display: block;
    position: absolute;
    content: "";
    top: 8px;
    left: 5px;
    width: 8px;
    height: 2px;
    background: currentColor;
    color: #000;
}

.page-template-page-leistungen .accordion button .icon::after {
    display: block;
    position: absolute;
    content: "";
    top: 5px;
    left: 8px;
    width: 2px;
    height: 8px;
    background: currentColor;
    color: #000;
}


.page-template-page-leistungen .accordion button[aria-expanded=true] {
    color: #03b5d2;
}

.page-template-page-leistungen .accordion button[aria-expanded=false] .icon::after {
    width: 2px;
}

.page-template-page-leistungen .accordion button[aria-expanded=true] .icon::after {
    width: 0;
}

.page-template-page-leistungen .accordion button[aria-expanded=true] + .accordion-content {
    opacity: 1;
    max-height: 100%;
    transition: all 200ms linear;
    will-change: opacity, max-height;
}

.page-template-page-leistungen .accordion button[aria-expanded=false] + .accordion-content, .page-template-page-leistungen .accordion .accordion-content {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 200ms linear, max-height 200ms linear;
    will-change: opacity, max-height;
}

.page-template-page-leistungen .accordion .accordion-content p {
    font-size: 14px;
    color: #000;
    font-weight: normal;
    font-family: barlow;
    margin-left: 40px;
}


/*---------------------------------------*/


/*-----------------------------MQ-------------------------------*/


@media (max-width: 980px) {
    .leistung__container {

        grid-template-columns: repeat(1, 1fr);
        gap: 0;
    }

    .hero2__title {
        font-size: 40px;
    }

    .leistung__title {
        font-size: 30px;
    }

    .filter2__title {
        font-size: 25px;
    }

    .filter2__item {
        max-width: 100%;
        width: auto;
    }

    .container__rechts {
        padding-top: 40px;
    }
}

