.video-header-embeded {
    width: 100vw;
    height: 560px;
    position: relative;
    overflow: hidden;
}
.video-header-embeded iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 100vh;
    transform: translate(-50%, -50%);
    pointer-events: none;
}
@media (min-aspect-ratio: 16/9) {
    .video-header-embeded iframe {
        height: 56.25vw;
    }
}
@media (max-aspect-ratio: 16/9) {
    .video-header-embeded iframe {
        width: 177.78vh;
    }
}

@media (max-width: 1199px) {
    .video-header-embeded iframe {
        width: 130vw!important;
    }
}

.video-header,
.video_content {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.video-header {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    overflow: hidden;
    background-size: cover;
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    /*height: 560px;*/
}

.header-video,
.video-header iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.layout3 .header-video {
    position: unset;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.layout3 .header-video.loaded {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-header iframe {
    opacity: 0;
}

.video-header iframe.loaded {
    opacity: 1;
    /*width: 100%;
    height: 1100px;*/
}

.video_content {
    z-index: 9;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.video_content_title {
    color: #fff;
    line-height: 1.75rem;
    text-align: center;
    letter-spacing: 0.375em;
    font-weight: lighter;
    margin-bottom: 2.625rem;
}

.video_content_play {
    display: block;
    position: relative;
    width: 4rem;
    height: 4rem;
    border: none;
    border-radius: 50%;
    background: var(--bg-gradient-blue);
    text-indent: -9999px;
    @media only screen and (min-width: 1200px) {
        width: 5rem;
        height: 5rem;
    }
}

.video_content_play:after {
    content: "";
    display: block;
    position: absolute;
    top: 1rem;
    left: 1.425rem;
    width: 0;
    height: 0;
    border: 0;
    border-color: transparent transparent transparent #fff;
    border-style: solid;
    border-width: 1rem 0 1rem 1.5rem;
    @media only screen and (min-width: 1200px) {
        top: 1.5rem;
        left: 2rem;
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 hsla(24, 37%, 69%, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px hsla(24, 37%, 69%, 0);
    }
    100% {
        box-shadow: 0 0 0 0 hsla(24, 37%, 69%, 0);
    }
}

/* thumb fpr Modal layout */
.video-thumb {
    background-image: url("https://img.youtube.com/vi/{data.tx_mask_youtubeid}/maxresdefault.jpg");
    position: relative;
    background-size: cover;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
}

.object-ratio- {
    &.video-thumb {
        background-image: url("https://img.youtube.com/vi/{data.tx_mask_youtubeid}/maxresdefault.jpg");
        position: relative;
        background-size: cover;
        padding-bottom: 42.86%; /* Standard: 21:9 Seitenverhältnis */
        height: 0;
        overflow: hidden;
    }
}


    /* The Modal (background) */
    #js-video-modal {
        position: fixed;
        z-index: 99999999;
        left: 0;
        top: 100px;
        width: 100%;
        overflow: auto;
        background: #565655BF 0% 0% no-repeat padding-box;
        bottom: 125px;
        display: none;
    }

    /* Modal Close Button */
    .js-video-modal__close {
        color: #fff;
        float: right;
        font-size: 28px;
        font-weight: bold;
        width: 2.9375rem;
        background-color: #C4C4C4;
        text-align: center;
    }

    .js-video-modal__close:hover,
    .js-video-modal__close:hover:focus {
        color: #000;
        text-decoration: none;
        cursor: pointer;
    }

    /* Object Ratio */
    .object-ratio {
        background-color: red!important;

        .video-header,
        .video-thumb {
            overflow: hidden;
            background-size: cover;
            position: relative;
            padding-bottom: 42.86%; /* Standard: 21:9 Seitenverhältnis */
            height: 0;
        }

        .video-header iframe,
        .video-thumb iframe,
        .header-video {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
        }
    }
}