/* Akkordeon */

.accordion_content .col:empty {
    display: none;
}

.accordion-container .controlls {
    padding-left: 0;
    padding-right: 0;
}

.accordion_content .button-controll-wrapper {
    margin: 2rem 0;
}

.accordion_content .content {
    width: 100%;
}

.accordion_content .lg_8 .content {
    margin-left: 5rem;
}

.wassermann_block.accordion-single+.accordion-block,
.wassermann_block+.wassermann_block.accordion-single {
    margin-top: 4rem;
}

.accordion-container {
    margin-bottom: 2rem;
    margin-top: 4.3rem;
}

.accordion-container .headline .h3 {
    font-weight: 550;
    margin-left: 6rem;
}

.accordion-container .headline .h3.font-light {
    font-weight: 300;
}

.accordion-container .accordion_content {
    display: none;
}

.accordion-container .accordion_content ul li {
    text-align: justify;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
}

.accordion-container .accordion_entry a {
    position: relative;
    display: block;
}

.accordion-container .accordion_entry a.headline::before {
    position: absolute;
    display: block;
    content: ' ';
    background-image: url('../img/arrow-right-orange.svg');
    background-size: 4.1rem 4.5rem;
    height: 4.1rem;
    width: 4.5rem;
    left: -3.5rem;
    left: 4.5rem;
    top: 50%;
    -webkit-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    transition: all 0.2s ease;
    -webkit-transform: translate(-100%, -50%);
    -ms-transform: translate(-100%, -50%);
    transform: translate(-100%, -50%);
}

.accordion-container .accordion_entry a.active::before {
    -webkit-transform: translate(-100%, -50%) rotate(90deg);
    -ms-transform: translate(-100%, -50%) rotate(90deg);
    transform: translate(-100%, -50%) rotate(90deg);
    opacity: 1;
}

.accordion_entry+.accordion_entry {
    margin-top: 4rem;
}

.accordion-container .controlls {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    -webkit-box-align: end;
    -ms-flex-align: end;
    align-items: flex-end;
}


.accordion-container.table-of-contents {
    margin-bottom: 10rem;
    margin-top: 4.3rem;
}

.accordion-container.table-of-contents .accordion_toggler {
    font-weight: 550;
}

.accordion-container.table-of-contents .accordion_content {
    display: none;
}

.accordion-container.table-of-contents .accordion_content ul li {
    text-align: justify;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
}

.accordion-container.table-of-contents .accordion_entry a {
    position: relative;
    display: block;
}

.accordion-container.table-of-contents .accordion_entry a.headline::before {
    position: absolute;
    display: block;
    content: ' ';
    background-image: url('img/arrow-right.svg');
    background-size: 4.1rem 4.5rem;
    height: 4.1rem;
    width: 4.5rem;
    left: -3.5rem;
    top: 0;
    -webkit-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    transition: all 0.2s ease;
    -webkit-transform: translateX(-100%);
    -ms-transform: translateX(-100%);
    transform: translateX(-100%);
}

.accordion-container.table-of-contents .accordion_entry.open a::before {
    -webkit-transform: translateX(-100%) rotate(90deg);
    -ms-transform: translateX(-100%) rotate(90deg);
    transform: translateX(-100%) rotate(90deg);
    opacity: 1;
}

.accordion-container.table-of-contents .accordion_entry+.accordion_entry {
    margin-top: 8rem;
}

@media screen and (max-width: 850px) {
    .accordion-container .accordion_entry a.headline::before {
        /* background-size: 2.25rem 2.25rem;
        height: 2.25rem;
        width: 2.25rem;
        left: 0rem; */
        top: calc(1em * 1.2);
        /* -webkit-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
        transform: translateY(-50%); */
    }

    .accordion-container .headline .h3 {
        /* margin-left: 4rem; */
    }
}

/* Kacheln */


.service-subpages {
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 4.5rem;
    justify-content: flex-start;

    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(30rem, 1fr));
    align-items: stretch;
    margin: 0;
}

@media (min-width: 1380px) {
    .service-subpages {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-subpages .service-subpages-tile {
    background-position: center;
    background-size: cover;
    display: inline-block;
    text-align: left;
    vertical-align: top;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    -webkit-transition: 0.3s ease;
    -o-transition: 0.3s ease;
    transition: 0.3s ease;
    color: #fff;
    padding-right: 0;
    width: 100%;
    min-height: 35rem;
    margin-bottom: 0;
    /* -webkit-box-shadow: 0 0 1rem rgba(0, 0, 0, 0.25);
    box-shadow: 0 0 1rem rgba(0, 0, 0, 0.25); */
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
}

.full-content .lg_4.service-subpages-tile {
    padding-right: 0;
}

.service-subpages .overlay {
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
    color: #fff;
    opacity: 0;
    -webkit-transition: 0.3s ease;
    -o-transition: 0.3s ease;
    transition: 0.3s ease;
    position: relative;
    opacity: 1;
}

.service-subpages .overlay.static:hover,
.service-subpages .overlay.static {
    opacity: 1;
}

.service-subpages .overlay:after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary, #003a65);
    z-index: 0;
    /* opacity: 0.6; */
}

.service-subpages .overlay.static::after {
    opacity: 1;
}


.service-subpages .service-subpages-tile .no-a,
.service-subpages .service-subpages-tile .overlay > a {
    color: #fff;
    height: 100%;
    width: 100%;
    padding: 10%;
    padding: 3rem;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    /* position: relative; */
    z-index: 1;
}

.service-subpages .service-subpages-tile .overlay > a:after {
    content: url(../img/arrow-right-white.svg);
    bottom: 3.5rem;
    right: 3rem;
    position: absolute;
    width: 3rem;
    height: 3rem;
}

.service-subpages .service-subpages-tile .square .button-wrapper {
    min-height: 3.7rem;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
}

.service-subpages .service-subpages-tile a .square .button-wrapper > :last-child {
    padding: 0;
    padding-right: 2.5em;
    margin: 0;
    box-shadow: none;
    filter: unset;
    background: none;
    color: currentColor;
    border: none;
    min-height: fit-content;
}

.service-subpages .service-subpages-tile .square .button-wrapper > .button {
    background-color: transparent;
    border: 1px solid;
    color: currentColor;
}

.service-subpages .square {
    width: 100%;
    display: flex;
    flex-direction: column;
    vertical-align: top;
    color: #fff;
    overflow: hidden;
    justify-content: space-between;
    align-items: stretch;
    height: 100%;
}
.service-subpages .overlay .service-subpages-name {
    color: #fff;
    margin: 0;
    display: inline-block;
    font-weight: 550;
    font-weight: 300;
    /* font-weight: 350; */
    line-height: initial;
    padding-top: 0.5rem;
}

.service-subpages .overlay .service-name { /* warum war das auskommentiert? */
    color: #fff;
    margin: 0;
    display: inline-block;
    font-weight: 550;
    line-height: initial;
    padding-top: 0.5rem;
    /* word-wrap: break-word; */
    /* overflow-wrap: break-word; */
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
}

.service-subpages .overlay .service-subpages-name + p {
    padding-right: 15%;
    padding-top: 3rem;
}
.splide .splide__track,
.service-wrapper .splide__track {
    padding-top: 1rem;
    padding-bottom: 1rem;
    margin-top: -1rem;
    margin-bottom: -1rem;
    filter: drop-shadow(0 0 1rem rgba(0, 0, 0, 0.25));
}

.service-subpages.splide__list {
    overflow: visible;
}

.service-subpages .service-subpages-tile {
    flex-direction: column;
    position: relative;
}

.service-subpages-tile img {
    aspect-ratio: 1.5;
    object-fit: cover;
}

.service-subpages-tile img:only-child {
    aspect-ratio: 1;
}

.service-subpages-tile:before {
    content: none;
}

.service-subpages  .overlay {
    flex-grow: 1;
    background-color: var(--primary);
    position: static;
}

.service-subpages  .overlay:after {
    transition: all .5s ease;
    opacity: .7;
}

.service-subpages :hover .overlay:after {
    opacity: 0;
}

.splide__list.service-subpages {
    flex-wrap: nowrap;
    gap: 0;
}

.service-wrapper {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
}

.service-wrapper > a {
    margin: 5rem var(--side) 0;
    align-self: flex-end;
}

.splide .splide__pagination {
    position: static;
    margin: 5rem 0;
    bottom: -2rem
}

.splide .splide__pagination__page {
    background: #ccc;
    border: 0;
    border-radius: 1rem;
    display: inline-block;
    height: 5px;
    margin: 3px;
    opacity: 1;
    padding: 0;
    -webkit-transition: -webkit-transform .2s linear;
    transition: -webkit-transform .2s linear;
    -o-transition: transform .2s linear;
    transition: transform .2s linear;
    transition: transform .2s linear,-webkit-transform .2s linear;
    width: 5rem
}

.splide .splide__pagination__page.is-active {
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
    background: #003a65
}

@media screen and (max-width: 1080px) {
    .splide .splide__arrow {
        max-width: calc(var(--side) * 0.75);
        max-height: calc(var(--side) * 0.75);
    }
}