.leistung-category-button{
    width: 100%;
    height: 3.75rem;
    border: 0.0625rem solid black;
    border-radius: 3.125rem;
    transition: all 0.3s;
}

.leistung-category-button:hover{
    background-color: var(--accentColor);
    color: white;
    border: 1px solid var(--accentColor);
}

.leistung-category-button.hide{
    pointer-events: none;
    animation: hideButton 0.3s;
}

@keyframes hideButton {
    from {opacity: 1 ;}
    to {opacity: 0;}
}

.leistung-list{
    padding: 30px 35px 30px 35px;
    border: 1px solid black;
    border-radius: 40px;
}

@media screen and (max-width: 629px) {
    .leistung-list{
        border: none;
        padding: 0;
    }

    .leistung-list button {
        background-color: white;
        border: 0.04375rem solid black;
        border-radius: 0.3125rem;
    }

    .leistung-list li:first-of-type button{
        border-radius: 1.6875rem 1.6875rem 0.3125rem 0.3125rem;
    }

    .leistung-list li:last-of-type button{
        border-radius: 0.3125rem 0.3125rem 1.6875rem 1.6875rem;
    }
    
}

.leistung-list-heading{
    transform: translate(-10px, -50%);
    background-color: white;
    padding-left: 10px;
    padding-right: 10px;
}

.leistung-item-button{
    width: 100%;
    height: 3.75rem;
    background-color: var(--shadeColor);
    border-radius: 3.125rem;
    transition: all 0.3s;
}

.leistung-item-button:hover{
    background-color: var(--accentColor);
    color: white;
}

.leistung-list.active{
    display: flex;
    flex-direction: column;
    animation: listAppear 0.75s ;
}

@keyframes listAppear {
    from {opacity: 0;}
    to {opacity: 1; }
}

.popup-wave{
    border-radius: 27px 27px 0px 0px;
}

.leistung-popup-logo {
    box-shadow: 0px 3px 54.1px 7px rgba(0, 0, 0, 0.25);
    border-radius: 40px;
    transform: translateY(20%);
}

@media screen and (min-width: 780px) {
    .wp-block-heading {
        font-size: 1.5rem;
        margin-bottom: 20px;
        font-weight: 600;
    }
}

.leistung-popup-logo {
    z-index: 100;
}