.hero {
    position: relative;
    color: white;
    display: flex;
    justify-content: center;
    margin-top: 0;
    overflow: hidden;
}

.hero.no-background-image {
    color: #000;
}

.hero__container {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    z-index: 1;
    position: relative;
    max-width: 92.5rem;
    justify-content: center;
    margin-left: 3.125rem;
    margin-right: 3.125rem;
    min-height: 28rem;
    max-height: 68vh;
    padding-top: 70px;
    width: 100%;
}

@media only screen and (max-width: 991px) {
    .hero__container {
        margin-left: 1.875rem;
        margin-right: 1.875rem;
        justify-content: flex-end;
        min-height: 19.5rem;
        max-height: 50vh;
    }
}

@media only screen and (max-width: 767px) {
    .hero__container {
        margin-left: 1.125rem;
        margin-right: 1.125rem;
        min-height: 19.5rem;
        max-height: 50vh;
    }
}

.hero__container.align-items-start {
    align-items: flex-start;
}

.hero__container.align-items-center {
    align-items: center;
}

.hero__container.text-align-left {
    text-align: left;
}

.hero__container.text-align-center {
    text-align: center;
}

.hero__container.text-align-right {
    text-align: right;
}


.hero__container.justify-content-flex-start {
    justify-content: flex-start;
}
.hero__container.justify-content-flex-end {
    justify-content: flex-end;
}


.hero__container.justify-content-center {
    justify-content: center;
}

.hero__container.justify-content-space-between {
    justify-content: space-between;
}

@media only screen and (max-width: 767px) {
    .hero__container.justify-content-mobile-flex-start {
        justify-content: flex-start;
    }

    .hero__container.justify-content-mobile-center {
        justify-content: center;
    }

    .hero__container.justify-content-mobile-space-between {
        justify-content: space-between;
    }
}

.hero__image {
    position: absolute;
    width: 100%;
}

.hero__text {
    /*padding-bottom: 42px;*/
}
.contact-button {
    justify-content: center;
}
@media only screen and (max-width: 767px) {
    .hero__text-right {
        width: 100%;
    }
}

.hero__text.with-see-more {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.hero__text.with-text-right {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

@media only screen and (max-width: 767px) {
    .hero__text.with-text-right {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }
}

.hero__see-more svg {
    width: 77px;
    height: 77px;
}

@media only screen and (max-width: 767px) {
    .hero__see-more svg {
        width: 47px;
        height: 47px;
    }
}

.hero__see-more:hover {
    cursor: pointer;
}

.hero__see-more:hover svg circle {
    fill: #fff;
    fill-opacity: 1;
    transition: 0.4s;
}

.hero__see-more:hover svg path {
    stroke: #000;
    transition: 0.4s;
}

.hero__image img {
    min-height: 100%;
    height: 100svh;
    width: 100%;
    object-fit: cover;
}

.hero__video {
    height: 100%;
    width: 100%;
    position: absolute;
}

.hero__video video {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.hero__overlay {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.3) 55%, rgba(0, 0, 0, 0.7) 100%);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 100vh;
    z-index: 1;
}

.hero__subheadline {
    margin-bottom: 18px;
    font-family: "Serifa", sans-serif;
    border-radius: 6.25rem;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 0.625rem;
    font-size: 0.875rem;
    font-style: normal;
    font-weight: 500;
    line-height: 110%;
}

@media only screen and (max-width: 767px) {
    .hero__subheadline {
        font-size: 17px;
    }
}

.hero__subtext {
    margin-top: 38px;
    max-width: 750px;
    font-style: normal;
    font-family: "Serifa", sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 165%;
}

@media only screen and (max-width: 767px) {
    .hero__subtext {
        font-size: 1rem;
        line-height: 140%;
        margin-top: 24px;
    }
}

.hero__headline {
    font-size: clamp(3rem, 5vw + 1rem, 5rem);
    max-width: 1200px;
    line-height: 0.5;
    margin: 0;
    font-family: "Serifa", sans-serif;
    font-weight: 500;
}

@media only screen and (max-width: 767px) {
    .hero__headline {
        font-size: clamp(2rem, 4vw + 1rem, 3.125rem);
        line-height: 100%;
    }
}

.hero__headline.small-title {
    font-size: clamp(2.5rem, 4vw + 1rem, 4.625rem);
}

@media only screen and (max-width: 767px) {
    .hero__headline.small-title {
        font-size: clamp(1.5rem, 5vw + 0.5rem, 2.125rem);
        line-height: 100%;
    }
}

.hero__actions {
    display: flex;
    margin-top: 46px;
    gap: 14px;
}

@media only screen and (max-width: 767px) {
    .hero__actions {
        margin-top: 30px;
    }
}

.full-height {
    height: 100vh;
}

.full-height .hero__container {
    min-height: 100vh;
}

.full-height .hero__image {
    min-height: 100vh;
}
