/**
* Block Name: akkordeon_redesign
*/


section.akkordeon_redesign .collapsing {
    transition: height 450ms ease;
}

section.akkordeon_redesign .collapsing.collapse-horizontal {
    transition: width 450ms ease;
}

section.akkordeon_redesign .akkordeon_wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

section.akkordeon_redesign .card {
    position: relative;
    background: transparent;
    border: 3px solid transparent;
    border-radius: 100px;
    overflow: visible;
    transition:
        box-shadow 250ms ease-in,
        background-color 250ms cubic-bezier(.2, .6, .2, 1),
        border-color 250ms cubic-bezier(.2, .6, .2, 1),
        border-radius 200ms cubic-bezier(.2, .6, .2, 1);
}

section.akkordeon_redesign .card:hover {
    background: var(--white-alt);
    box-shadow: 0 -1px 2px 0 rgba(58, 12, 57, 0.02) inset, 0 0 30px 0 rgba(76, 46, 75, 0.03), 0 8px 20px 0 rgba(104, 27, 102, 0.02), 0 15px 60px 0 rgba(76, 46, 75, 0.04);
}

section.akkordeon_redesign .card::after {
    content: '';
    position: absolute;
    bottom: 0;
    height: 4px;
    width: 98%;
    left: 50%;
    transform: translateX(-50%);
    display: block;
    background: linear-gradient(90deg, rgba(237, 247, 243, 0.00) 0%, #EDF7F3 15%);
    opacity: 1;
    transition: opacity 300ms ease-in-out;
    pointer-events: none;
}

section.akkordeon_redesign .card:hover::after {
    opacity: 0;
}

section.akkordeon_redesign .card .card-header {
    background: transparent;
    border: 0;
    padding: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
}


section.akkordeon_redesign .card .card-header button {
    position: relative;
    background: transparent;
    color: var(--green);
    border: none;
    text-decoration: none;
    padding: 10px 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition:
        color 200ms ease-in-out,
        transform 200ms ease-in-out;
    border-radius: 100px;
    z-index: 1;
}

section.akkordeon_redesign .card .card-header button::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: var(--white-alt);
    opacity: 0;
    transform: scaleY(0.96);
    transform-origin: top;
    transition:
        opacity 220ms cubic-bezier(.2, .6, .2, 1),
        transform 220ms cubic-bezier(.2, .6, .2, 1);
    z-index: -1;
}

section.akkordeon_redesign .card:has(.show) .card-header button::before {
    opacity: 1;
    transform: scaleY(1);
}

section.akkordeon_redesign .card .card-header button:hover {
    color: var(--viridian);
}

section.akkordeon_redesign .card .card-header button span.h4 {
    text-align: left;
    font-weight: 400;
    font-size: 22px;
    transition: transform 200ms ease-in-out, margin-left 200ms ease-in-out;
    color: var(--green);
    margin-left: 0;
}

section.akkordeon_redesign .card .card-header:hover button span.h4 {
    transform: translateX(5px);
}

section.akkordeon_redesign .card .card-header button svg {
    background: var(--green);
    border-radius: 100px;
    transition:
        background-color 300ms ease,
        transform 300ms ease,
        box-shadow 300ms ease-in-out;
}

section.akkordeon_redesign .card .card-header button:hover svg {
    background: var(--viridian);
    -webkit-box-shadow: 0 -1px 2px 0 rgba(58, 12, 57, 0.10) inset, 0 -2px 3px 0 rgba(255, 255, 255, 0.50), 0 0 5px 0 rgba(0, 0, 0, 0.15), 0 3px 6px 0 rgba(144, 25, 142, 0.06), 0 10px 30px 0 rgba(107, 54, 106, 0.08);
    -moz-box-shadow: 0 -1px 2px 0 rgba(58, 12, 57, 0.10) inset, 0 -2px 3px 0 rgba(255, 255, 255, 0.50), 0 0 5px 0 rgba(0, 0, 0, 0.15), 0 3px 6px 0 rgba(144, 25, 142, 0.06), 0 10px 30px 0 rgba(107, 54, 106, 0.08);
    ;
    box-shadow: 0 -1px 2px 0 rgba(58, 12, 57, 0.10) inset, 0 -2px 3px 0 rgba(255, 255, 255, 0.50), 0 0 5px 0 rgba(0, 0, 0, 0.15), 0 3px 6px 0 rgba(144, 25, 142, 0.06), 0 10px 30px 0 rgba(107, 54, 106, 0.08);
}

section.akkordeon_redesign .card .card-header button svg path {
    transition: transform 300ms ease;
    transform-origin: center;
}

section.akkordeon_redesign .card .card-header button:hover svg path {
    transform: scale(1.15);
}

section.akkordeon_redesign .collapse {
    padding: 0 !important;
}

section.akkordeon_redesign .card .card-body {
    color: var(--black);
    font-weight: 400;
    padding: 15px;
    background: transparent;
    gap: 30px;
}

section.akkordeon_redesign .card .card-body p {
    margin-bottom: 0;
}

section.akkordeon_redesign .card:has(.show),
section.akkordeon_redesign .card:has(.collapsing) {
    background: var(--white-alt);
    border-color: transparent;
    border-radius: var(--radius-small);
}

section.akkordeon_redesign .card:has(.show) .card-header button span.h4,
section.akkordeon_redesign .card:has(.collapsing) .card-header button span.h4 {
    margin-left: 13.5px;
}

section.akkordeon_redesign .card:has(.show):hover {
    border-color: var(--subtle-green);
}

section.akkordeon_redesign .card:has(.show)::after {
    opacity: 0;
}

section.akkordeon_redesign .card:has(.show) .card-header button svg {
    transform: rotate(180deg);
}

section.akkordeon_redesign .card:has(.show) .collapse ul.verlinkungen {
    list-style: none;
    padding-inline-start: 10px;
    gap: 30px;
}

section.akkordeon_redesign .card:has(.show) .collapse ul.verlinkungen li::before {
    display: none;
}

section.akkordeon_redesign .card:has(.show) .collapse ul.verlinkungen li a {
    background: var(--white);
    color: var(--viridian);
}

section.akkordeon_redesign .card:has(.show) .collapse ul.verlinkungen li a::after {
    position: relative;
    right: 0;
    transition: transform 300ms ease-in-out;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M12.175 9H0V7H12.175L6.575 1.4L8 0L16 8L8 16L6.575 14.6L12.175 9Z' fill='%2300915C'/%3E%3C/svg%3E");
}

section.akkordeon_redesign .card:has(.show) .collapse ul.verlinkungen li:hover a {
    transform: translateX(0);
}

section.akkordeon_redesign .card:has(.show) .collapse ul.verlinkungen li:hover a::after {
    transform: translateX(4px);
}

section.akkordeon_redesign .card img.bg_static_cover {
    border-radius: var(--radius-small);
}

/* Table styles */
section.akkordeon_redesign .table_card {
    border: 1px solid var(--black);
    overflow: hidden;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

section.akkordeon_redesign .table_card th {
    border-bottom: none;
}

section.akkordeon_redesign .table_card th:first-of-type {
    border-right: 1px solid var(--black);
}

section.akkordeon_redesign .table_card th {
    background-color: var(--subtle-green);
}

section.akkordeon_redesign .table tbody tr:last-of-type th {
    border-bottom-left-radius: 15px;
}

section.akkordeon_redesign .table tbody tr {
    border-right: 1px solid var(--black);
    border-left: 1px solid var(--black);
}

section.akkordeon_redesign .table tbody tr th {
    border-right: 1px solid var(--black);
    background-color: transparent;
}

section.akkordeon_redesign .table tbody tr td {
    background-color: transparent;
}

section.akkordeon_redesign .table>:not(caption)>*>* {
    border-color: var(--black);
}

section.akkordeon_redesign .table tbody tr:last-of-type {
    border-bottom-right-radius: 15px;
    border-bottom-left-radius: 15px;
    border-bottom: 1px solid var(--black);
}

section.akkordeon_redesign .table tbody tr:last-of-type th {
    border-bottom: none;
}

section.akkordeon_redesign .table tbody tr:last-of-type td {
    border-bottom-right-radius: 15px;
    border-bottom: none;
}

/* Motion safety */
@media (prefers-reduced-motion: reduce) {

    section.akkordeon_redesign .card,
    section.akkordeon_redesign .card::after,
    section.akkordeon_redesign .card .card-header button svg,
    section.akkordeon_redesign .card .card-header button svg path,
    section.akkordeon_redesign .collapsing {
        transition: none !important;
    }
}