.home-video {
    padding: 80px 0;
    background: #fff;
}

.home-video__wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.65fr);
    align-items: center;
    gap: 56px;
}

.home-video__text {
    max-width: 420px;
}

@media only screen and (min-width: 992px) {
    html:is([lang="de-DE"], [lang="it-IT"]) .home-video__wrap {
        grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.65fr);
    }

    html:is([lang="de-DE"], [lang="it-IT"]) .home-video__text {
        max-width: 520px;
    }
}

.home-video__text h2 {
    margin: 0 0 14px;
    color: #000;
    font-family: 'euclidcircularb-medium', Helvetica, Arial, sans-serif;
    font-weight: 500;
    font-size: 35px;
    line-height: 46px;
    letter-spacing: -0.01em;
}

.home-video__text p {
    margin: 0 0 14px;
    font-size: 17px;
    line-height: 28px;
    color: rgba(0, 0, 0, 0.7);
}

.home-video__text p:last-child {
    margin-bottom: 0;
}

.home-video__text a {
    color: #0EC76A;
    text-decoration: underline;
}

.home-video__card {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: 28px;
    overflow: hidden;
    background: #111;
    box-shadow: 0 2px 18px rgba(0, 0, 0, 0.13);
    transform: translateZ(0);
}

.home-video__player,
.home-video__card iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.home-video__poster {
    position: absolute;
    inset: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: #111;
    cursor: pointer;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.home-video__poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.home-video__card.is-playing .home-video__poster {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.home-video__card--empty {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: #2D3748;
}

@media only screen and (max-width: 1100px) {
    .home-video__wrap {
        gap: 40px;
    }

    .home-video__text h1,
    .home-video__text h2,
    .home-video__text h3 {
        font-size: 32px;
        text-wrap: balance;
    }

    .home-video__text p br {
        display: none;
    }

    .home-video__text p {
        font-size: 17px;
    }
}

@media only screen and (max-width: 991px) {
    .home-video {
        padding: 120px 0;
    }

    .home-video__wrap {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .home-video__text {
        max-width: 600px;
        text-align: center;
        margin: 0 auto;
    }

    .home-video .home-video__text,
    .home-video .home-video__text * {
        text-align: center !important;
    }
}

@media only screen and (max-width: 768px) {
    .home-video {
        padding: 48px 0;
    }

    .home-video__text h1,
    .home-video__text h2,
    .home-video__text h3 {
        font-size: 32px;
        margin-bottom: 12px;
    }

    .home-video__text p {
        font-size: 16px;
    }

    .home-video__card {
        border-radius: 16px;
    }
}
