.lbh-accordion {
    background: #EEF;
    border: 2px solid var(--e-global-color-primary);
    padding: 20px;
    display: flex;
    margin: 40px 20px 0 20px;
    position: relative;
    cursor: pointer;
    min-height: 200px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.lbh-bild-block{
    display: block;
    width: 280px;
    height: 150px;
}


.lbh-accordion * {
    pointer-events: none
}
.lbh-accordion a {
    pointer-events: all !important
}

.lbh-bild {
    width: 320px;
    height: 180px;
    display: block;
    position: absolute;
    top: -20px;
    left: -60px;
    box-shadow: 3px 3px 8px rgba(200, 200, 200, 0.2);
    background-size: cover;
    background-position: center;
    z-index: 2;
    background-color: var(--e-global-color-primary);
}

.lbh-titel {
    color: var(--e-global-color-primary);
    font-size: 22px;
    font-weight: 700;
    display: block;
}

.lbh-thema {
    font-size: 18px;
    display: block;
}

.lbh-accordion-details {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    color: var(--e-global-color-primary);
}
.title-block{
    display:block;
    flex: 1 1 100%;
    min-width: 100%;
}
.lbh-accordion-details.on {
    display: block;
    max-height: 100%;
    opacity: 1;
    overflow: visible;
    width: 100%;
}

.lbh-accordion-details > p {
    line-height: 24px
}


.lbh-buttons{
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
    justify-content: flex-start;
    float: left;
    width: 100%;
    margin: 10px 60px 0 -20px
}

.lbh-buttons a {
    align-self: center;
    position: relative;
    padding: 0;
    margin: 0 0 0 -120px;
    text-align: center;
    width: calc(100% - 60px);
    height: 60px;
    line-height: 60px;
    background: var(--e-global-color-primary);!important;
    color: #FFF !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    letter-spacing: 1px;
    text-transform: uppercase;
    z-index: 2;
    display: block;
    top: 0;
}
.lbh-buttons h4 {
    align-self: center;
    width: 100%;
    margin: 0 5px 0 120px;
    text-align: center;

}
.lbh-buttons img {
    margin: 0 auto;
}
.toggle-button{
    cursor: pointer;
}
.show {
    display: block;
}
.hide {
    display: none !important;
}

.lbh-titel, .lbh-thema {
    color: var(--e-global-color-primary);
    padding: 10px 0;
}

.lbh-buttons a.noHover {
    cursor: default;
}

.lbh-buttons a::before {
    right: -30px;
    content: '';
    position: absolute;
    transform: skewX(45deg);
    width: 60px;
    height: 60px;
    background: var(--e-global-color-primary); !important;
    z-index: -1;
}

.lbh-buttons a:not(.noHover):hover::before {
    top: 0;
    background-color: var(--e-global-color-secondary); !important;
    color: #FFF;
    border: 0;
}

.lbh-buttons a:not(.noHover):hover {
    background-color: var(--e-global-color-secondary); !important;
    color: #FFF;
    border: 0;
}

.lbh-info,
.lbh-main-content {
    display: block;
    float: left;
    width: 100%;
    margin: 10px 0 0 50px
}


@media only screen and (min-width: 768px) {
    .title-block {
        flex: 1 1 calc(100% - 280px);
        min-width: calc(100% - 280px);
    }
    .lbh-accordion-details.on{
        display:flex;
        flex-wrap: wrap;
    }
    .lbh-accordion{
        margin: 40px 0 0 50px;

    }
    .lbh-accordion .top {
        margin-top: 0;

    }
    .lbh-buttons {
        margin: 10px 0 0 -80px;
        flex: 0 0 280px;
        gap: 15px;
        width: 280px;
    }
    .lbh-buttons a{
        margin: 0 0 0 -20px;
        width: 260px !important;
    }
    .lbh-main-content{
        flex: 1 1 calc(100% - 280px);
        min-width: calc(100% - 280px);
    }
    .lbh-buttons img {
        margin: 0;
    }
}


/* Settings für Elementor Rich-Text-Editor */
.wp-caption {
    text-align: center;
    margin-top: 10px;
}
.wp-caption img {
    margin: 0;
}
.wp-caption .wp-caption-text {
    font-size: 12px;
    line-height: 1.5;
    padding: 4px 0;
}
.alignright {
    float: right;
    margin-left: 10px;
    margin-bottom: 10px;
}
.alignleft {
    float: left;
    margin-right: 10px;
    margin-bottom: 10px;
}
.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}
