.video-bild {
    position: relative;
    border-radius: 40px;
    overflow: hidden;
    border: 10px solid var(--lavender);
    transform: scale(0.8);
    opacity: 0.8;
    transition: transform 1s ease-in-out, opacity 1s ease-in-out;
}
.tns-item:not(.tns-slide-active) + .tns-slide-active + .tns-slide-active .video-bild {
    transform: scale(1);
    opacity: 1;
    cursor: pointer;
}
.video-gradient {
    position: absolute;
    top: 50%; bottom: 0;
    left: 0; right: 0;
    background: linear-gradient(to bottom, rgba(3, 34, 62, 0) 0%, #03223E 100%);
}
.video-inhalt {
    position: absolute;
    bottom: 0;
    padding: 20px;
    font-size: 1.6rem;
    color: #fff;
}
.video-bewertung svg {
    fill: #FCD33D;
}
.video-name {
    font-family: "BRNebulaBold";
}
.video-active {
    display: none;
    transition: opacity 1s ease-in-out;
}
.tns-item:not(.tns-slide-active) + .tns-slide-active + .tns-slide-active .video-active {
    display: block;
    opacity: 1;
}
.video-zusammenfassung {
    padding: 10px 0 20px;
    line-height: 20px;
}
.video-active button {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    justify-items: right;
    white-space: nowrap;
    background-color: #fff;
    border-radius: 50px;
    color: #333;
    font-family: "BRNebulaBold";
    font-size: 1.4rem;
}
.video-bild:hover .video-active button {
    background-color: var(--midnight);
    color: #fff;
}
.video-active button svg {
    height: 24px;
}
.video-bild:hover .video-active button svg {
    transform: rotate(45deg);
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    overflow: auto;
    justify-content: center;
    align-items: center;
}
.modal-content {
    padding: 0;
    max-width: 90vw;
    max-height: 90vh;
    width: auto;
    height: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    box-sizing: border-box;
}
.modal-content iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}
.modal .close {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 60px;
    cursor: pointer;
    color: #fff;
}

.wp-block-lazyblock-erfolgsgeschichten .tns-controls button {
    position: absolute;
    width: 100%;
    height: 100%;
}
.wp-block-lazyblock-erfolgsgeschichten .tns-controls button {
    z-index: 1;
    top: calc(50% - 15px);
    left: 10px;
    border: 0;
    font-size: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50px;
    width: 50px;
    padding: 0;
    background: #fff;
    border-radius: 50px;
    color: var(--midnight);
}
.wp-block-lazyblock-erfolgsgeschichten .tns-controls button:hover {
    background: var(--midnight);
    color: #fff;
}
.wp-block-lazyblock-erfolgsgeschichten .tns-controls button[data-controls=next] {
    left: initial;
    right: 10px;
}

@media (max-width: 960px) {
    .wp-block-lazyblock-erfolgsgeschichten {
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
        max-width: 1000%;
        width: auto;
    }
    .video-bild {
        transform: scale(0.9);
    }
}