/*hero*/
.hero__image {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
    mask-image: linear-gradient(to left, rgba(255, 255, 255, 1) 51%, rgba(256, 256, 256, 0.5) 80%)
}

.hero__title {
    padding: 41px 126px;
    max-width: 70vw;
    z-index: 2;
}

.hero__title:after {
    content: " ";
    position: absolute;
    inset: 0;
    background-image: url(../img/diagonal-background.svg);
    background-size: 100%;
    background-position: top right;
    opacity: .7;
    height: 100%;
    z-index: -1;
}

.hero__title h2 {
    font-size: 63px;
    z-index: 2;
}

.hero__title--center {
    top: 50%;
    transform: translate(0%, -50%);
}

.hero__title--bottom {
    bottom: 30px;
}

.hero__title--top {
    top: 30px;
}

.hero__subtitle__wrap {
    padding-top: 90px;
}

.hero__subtitle h1 {
    font-size: 45px;
}

.hero__subtitle__wrap h2 {
    font-size: 63px;
}

.hero__height--small img {
    height: 50vh;
    object-fit: cover;
}

.hero__height--large img{
    height: 62vh;
    object-fit: cover;
}

.rhombus {
    width: 30%;
    background-color: rgba(255, 255, 255, 0.1);
    position: absolute;
    top: 0;
    bottom: 0;
    -webkit-transform: skew(-14deg);
    -ms-transform: skew(-14deg);
    transform: skew(-14deg);
    overflow: hidden;
}

.rhombus::before {
    content: " ";
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    position: absolute;
    top: -10%;
    left: -100vw;
    bottom: -10%;
    right: -100vw;
    border: 10px solid green;
}

@media only screen and (max-width: 992px) {
    .hero__title {
        padding: 41px 90px;
    }
}

@media only screen and (max-width: 768px) {
    .hero__title h2, .hero__subtitle__wrap h2 {
        font-size: 38px;
    }

    .hero__height--large img,.hero__height--small img{
        height: 30vh;
        min-height: fit-content;
    }

    .hero__title {
        padding: 30px 30px;
    }

    .hero__subtitle h1 {
        font-size: 36px;
    }

    .hero__subtitle__wrap {
        padding: 15px 10px;
    }

    .hero__title:after {
        background-size: cover;
        background-repeat: no-repeat;
    }
}

/* *** Redirect Teaser *** */

.redirect-teaser__container {
    padding: 52px 126px;
    background-color: var(--wagner-Green-color);
    color: white;
    gap: 3em;
}

.redirect-teaser__text {
    line-height: 27px;
    font-size: 20px;
    font-weight: 700;
    margin: 0;
}

.redirect-teaser__button {
    line-height: 16px;
    font-size: 16px;
    min-width: 350px;
    font-weight: 700;
 }

@media only screen and (max-width: 1200px) {
    .redirect-teaser__button.button__link {
        min-width: auto;
        padding: 8px 45px;
    }
}

@media only screen and (max-width: 992px) {
    .redirect-teaser__text {
        margin-bottom: 2rem;
    }
}

@media only screen and (max-width: 768px) {
    .redirect-teaser__container {
        padding: 30px 40px;
    }
}
