#v4-video-popup {
    display: flex; /* immer */
    align-items: center;
    justify-content: center;
    position: fixed;
    inset: 0;
    z-index: 9999;
    height: 100%;
    width: 100%;

    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

#v4-video-popup[aria-hidden="false"] {
    opacity: 1;
    pointer-events: auto;
}

.v4-video-popup-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .25);
}

.v4-video-popup-body {
    position: relative;
    width: 80%;
    height: 80%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.v4-video-popup-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.v4-video-popup-video {
    width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
    border-radius: .625rem;
}

.v4-video-popup-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 2em;
    height: 2em;
    background: var(--wp--preset--color--contrast);
    border: none;
    border-radius: 50%;
    padding: 0.5em;
    font-weight: normal;
    font-size: var(--wp--preset--font-size--large);
    line-height: 1;
    cursor: pointer;
    color: white;
    z-index: 10;
}