.koebes-video-section {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.koebes-video-section__bg,
.koebes-video-section__overlay-layer {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.koebes-video-section__bg {
    z-index: 1;
    background-size: cover;
    background-position: center;
}

.koebes-video-section__overlay-layer {
    z-index: 2;
    background-color: #AC2032;
    opacity: 0.78;
}

.koebes-video-section__hero {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

.koebes-video-section__content {
    position: relative;
    z-index: 4;
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.koebes-video-section__headline {
    display: inline-block;
    padding: 8px 36px;
    border: 1px solid;
    font-size: 32px;
    line-height: 1.2;
    font-weight: 300;
}

.koebes-video-section__line {
    position: relative;
    margin-top: 18px;
    height: 106px;
    border: 2px solid;
    display: flex;
    align-items: center;
    justify-content: center;
}

.koebes-video-section__toggle {
    width: 110px;
    height: 110px;
    border: 0;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.25s ease, background-color 0.25s ease;
    padding: 0;
    appearance: none;
    -webkit-appearance: none;
}

.koebes-video-section__toggle:hover {
    transform: scale(1.04);
}

.koebes-video-section__toggle:focus {
    outline: none;
}

.koebes-video-section__toggle:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 4px;
}

.koebes-video-section__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.koebes-video-section__icon svg {
    width: 42px;
    height: 42px;
    transition: fill 0.25s ease, color 0.25s ease;
}

.koebes-video-section__icon svg * {
    transition: fill 0.25s ease, color 0.25s ease, stroke 0.25s ease;
}

.koebes-video-section__icon i {
    font-size: 42px;
    transition: color 0.25s ease;
}

.koebes-video-section__icon--pause {
    display: none;
}

.koebes-video-section.is-open .koebes-video-section__icon--play {
    display: none;
}

.koebes-video-section.is-open .koebes-video-section__icon--pause {
    display: flex;
}

.koebes-video-section__video-wrap {
    position: relative;
    z-index: 3;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    padding-top: 0;
    padding-bottom: 0;
    transition:
        max-height 0.65s ease,
        opacity 0.45s ease,
        padding-top 0.65s ease,
        padding-bottom 0.65s ease;
}

.koebes-video-section.is-open .koebes-video-section__video-wrap {
    max-height: 1200px;
    opacity: 1;
    padding-bottom: 90px;
}

.koebes-video-section__video-inner {
    width: min(1180px, 86%);
    height: 520px;
    margin: 0 auto;
    background: #181818;
    position: relative;
    z-index: 4;
    overflow: hidden;
}

.koebes-video-section__video,
.koebes-video-section__youtube {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
    object-fit: cover;
}

/* Tablet */
@media (max-width: 1024px) {
    .koebes-video-section__headline {
        font-size: 28px;
        padding: 8px 28px;
    }

    .koebes-video-section__line {
        height: 96px;
    }

    .koebes-video-section.is-open .koebes-video-section__video-wrap {
        padding-bottom: 70px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .koebes-video-section__content {
        width: 90% !important;
    }

    .koebes-video-section__headline {
        font-size: 21px;
        padding: 8px 14px;
        width: 100%;
    }

    .koebes-video-section__line {
        height: 78px;
        margin-top: 14px;
    }

    .koebes-video-section__video-inner {
        width: 92%;
        height: 260px;
    }

    .koebes-video-section.is-open .koebes-video-section__video-wrap {
        padding-bottom: 45px;
    }
}