.home__header {
    display: none;
}

.hero {
    background: none;
    height: 100vh;
    position: relative;
    width: 100%;
}

.hero__wrapper {
    position: absolute;
    inset: 0;
}

.hero__carousel:before {
    background: rgba(0, 0, 0, 1);
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.7) 0%, rgba(255, 255, 255, 0) 100%);
    content: '';
    height: 50%;
    pointer-events: none;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 1;
}

.hero__carousel .f-carousel__viewport {
    cursor: default;
}

.hero__carousel .f-carousel__track {
    pointer-events: none;
}

.hero__carousel .f-button {
    background: rgba(255, 255, 255, 1);
}

.hero__carousel .f-button:hover {
    background: rgba(230, 42, 63, 1) !important;
}

.hero__carousel .f-button:hover svg path {
    color: rgba(255, 255, 255, 1);
}

.hero__carousel .f-button.is-prev,
.hero__carousel .f-button.is-next {
    bottom: 20px !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
}

.hero__carousel .f-button.is-prev {
    right: 82px !important;
}

.hero__carousel .f-button.is-next {
    right: 20px !important;
}

.hero__carousel .f-carousel__slide img {
    height: 100vh;
    object-fit: cover;
    width: 100vw;
}

.tagline {
    bottom: 0;
    position: absolute;
    width: 100%;
}

.tagline__wrapper {
    margin: 0 auto;
    max-width: 1200px;
}

.tagline__container {
    background: rgba(230, 42, 63, 1);
    display: inline-block;
    padding-left: 5%;
    position: relative;
    vertical-align: top;
    z-index: 2;
}

.tagline__container:after {
    background: rgba(230, 42, 63, 1);
    bottom: 0;
    content: '';
    height: 100%;
    right: 0;
    position: absolute;
    width: 2000px;
    z-index: 0;
}

.tagline .tagline__content {
    align-items: center;
    gap: 20px;
    grid-template-columns: auto auto;
    display: grid;
    padding: 25px 40px 25px 0;
    position: relative;
    z-index: 1;
}

.tagline .tagline__text {
    color: rgba(255, 255, 255, 1);
    font-size: 180%;
    line-height: 125%;
}

.tagline .tagline__text strong {
    font-weight: 600;
}

.tagline .button:hover {
    background: rgba(255, 255, 255, 1);
}

.tagline .button:hover .button__text {
    color: rgba(230, 42, 63, 1);
}

.home .service-teasers__header {
    display: none;
}

.home .service-teasers__content {
    column-gap: 2.666666666666667%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 80px 0 35px 0;
}

.home .service-teaser {
    background: rgba(245, 245, 245, 1);
    border-radius: 10px;
    margin-bottom: 70px;
    padding: 21px;
    position: relative;
    width: 23%;
}

.home .service-teaser.service-teaser--has-icon {
    padding: 80px 21px 21px 21px;
}

.home .service-teaser .service-teaser__icon-wrapper {
    background: rgba(230, 42, 63, 1);
    border: 10px solid rgba(255, 255, 255, 1);
    border-radius: 60px;
    height: 120px;
    left: 50%;
    position: absolute;
    top: -60px;
    transform: translateX(-50%);
    width: 120px;
}

.home .service-teaser .service-teaser__icon {
    left: 50%;
    max-height: 60px;
    max-width: 60px;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
}

.home .service-teaser .button {
    font-size: 150%;
}

.home .service-teaser .button__text-wrapper {
    font-weight: 400;
    text-transform: none; 
}

.home .home__motivation {
    /*align-content: start;
    align-items: start;*/
    display: grid;
    grid-template-areas:
        "header content"
        "button content";
    grid-template-columns: 40% 60%;
    grid-template-rows: auto 1fr;
}

.home .home__motivation-header {
    grid-area: header;
}

.home .home__motivation-title {
    font-size: 540%;
    font-weight: 400;
    margin-bottom: 50px;
}

.home .home__motivation-title strong {
    font-weight: 600;
}

.home .home__motivation-title .title-border {
    display: inline-block;
    padding-bottom: 5px;
    position: relative;
    vertical-align: top;
    word-break: break-word;
}

.home .home__motivation-title .title-border:after {
    background: rgba(230, 42, 63, 1);
    bottom: -3px;
    content: '';
    height: 3px;
    right: 0;
    position: absolute;
    width: 2000px;
}

.home .home__motivation-content {
    grid-area: content;
    margin-left: 40px;
    margin-top: 60px;
}

.home .home__motivation-button {
    grid-area: button;
}

.testimonials {
    min-height: 300px;
    margin-top: 60px;
    position: relative;
}

.testimonials .f-carousel {
    z-index: 1;
}

.testimonials .f-carousel__viewport {
    max-width: 100vw; /* fix for slides that don't schrink below certain viewport width */
}

.testimonials .testimonials__title {
    font-size: 540%;
    font-weight: 400;
    padding-bottom: 20px;
    text-align: right;
}

.testimonials .testimonials__title strong {
    font-weight: 600;
}

.testimonials .testimonials__title .title-border {
    display: inline-block;
    padding-bottom: 5px;
    position: relative;
    vertical-align: top;
    word-break: break-word;
}

.testimonials .testimonials__title .title-border:after {
    background: rgba(230, 42, 63, 1);
    bottom: -3px;
    content: '';
    height: 3px;
    left: 0;
    position: absolute;
    width: 2000px;
}

.testimonials .testimonials__house {
    position: absolute;
    left: -120px;
    top: 0;
    z-index: 0;
}

.testimonials .testimonial-item {
    align-content: center;
    align-items: center;
    display: grid;
    grid-template-areas:
        "content"
        "title";
    grid-template-columns: auto;
    grid-template-rows: auto auto;
    padding: 30px 15%;
}

.testimonials .testimonial-item.testimonial-item--has-image {
    column-gap: 40px;
    grid-template-areas:
        "image content"
        "image title";
    grid-template-columns: 133px auto;
}

.testimonials .testimonial-item__image-wrapper {
    grid-area: image;
}

.testimonials .testimonial-item__image {
    border: 4px solid rgba(59, 59, 59, 1);
    border-radius: 300px;
    max-width: 133px;
}

.testimonials .testimonial-item__content {
    grid-area: content;
    margin-bottom: 15px;
}

.testimonials .testimonial-item__title {
    font-size: 150%;
    font-weight: 700;
    grid-area: title;
    margin-bottom: 0;
}

.testimonials .f-button {
    color: rgba(59, 59, 59, 1);
}

.testimonials .f-carousel__dots {
    margin-top: 40px !important;
}

.testimonials .f-carousel__dots li {
    margin: 0;
    opacity: 1; /* Overwrite so black border twitch is solved */
}

.testimonials .f-carousel__dots li button span {
    background: rgba(255, 255, 255, 1);
    border: 2px solid rgba(59, 59, 59, 1);
    height: 15px;
    width: 15px;
}

.testimonials .f-carousel__dots li.is-current button span {
    background: rgba(230, 42, 63, 1);
    border: 2px solid rgba(230, 42, 63, 1);
}

@media (max-width: 991.98px) {
    .home .service-teasers__content {
        column-gap: 5%;
    }
    
    .home .service-teaser {
        width: 30%;
    }

    .home .home__motivation {
        display: block
    }

    .home .home__motivation-content {
        margin-left: 0;
    }

    .testimonials .testimonial-item {
        grid-template-areas:
            "content"
            "title";
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        text-align: center;
    }
    
    .testimonials .testimonial-item.testimonial-item--has-image {
        grid-template-areas:
            "image"
            "content"
            "title";
        grid-template-columns: 1fr;
    }

    .testimonials .testimonial-item__image-wrapper {
        margin-bottom: 25px;
    }
}
    
@media (max-width: 767.98px) {
    .home .service-teasers__content {
        column-gap: 5%;
    }
    
    .home .service-teaser {
        width: 47.5%;
    }

    .home .home__motivation-title {
        font-size: 300%;
    }

    .testimonials {
        min-height: 0;
    }

    .testimonials .testimonials__title {
        font-size: 300%;
    }

    .testimonials .testimonials__title br {
        display: none;
    }

    .testimonials .testimonials__house {
        display: none;
    }
}

@media (max-width: 575.98px) {
    .tagline .tagline__content {
        display: block;
        padding: 25px 20px;
        text-align: center;
    }

    .tagline .tagline__text {
        margin-bottom: 15px;
    }

    .home .service-teasers__content {
        display: block;
    }
    
    .home .service-teaser {
        width: auto;
    }
}