/* Landing page backgrounds and sections (ported from SF4 v02) */

body.is-home {
    background-color: #f8f9fa;
}

@media (min-width: 1024px) {
    body.is-home {
        background-image: url('/v02/images/bg-body--home.png');
        background-position: 50% 466px;
        background-repeat: no-repeat;
    }
}

.home-intro {
    padding: 2rem 0;
}

@media (min-width: 1024px) {
    .home-intro {
        padding: 4rem 0 9rem;
        background-image: url('/v02/images/bg-body--intro.png');
        background-repeat: no-repeat;
        background-position: 50% 75%;
    }
}

.home-intro__grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .home-intro__grid {
        grid-template-columns: 1fr 1fr;
        gap: 3.75rem;
        align-items: center;
    }
}

.home-intro__spacer {
    display: none;
}

@media (min-width: 1024px) {
    .home-intro__spacer {
        display: block;
        min-height: 1px;
    }
}

.home-intro__title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    color: #2a303a;
    margin-bottom: 0.5rem;
}

.home-intro__lead {
    font-size: 1.125rem;
    color: #666b74;
    margin-bottom: 1rem;
}

.home-intro__divider {
    width: 4rem;
    height: 3px;
    background: var(--frachtbox-brand);
    border: 0;
    margin: 1.25rem 0;
}

.home-intro__text {
    font-size: 1.125rem;
    color: #48597d;
    margin-bottom: 1.5rem;
}

.home-video {
    padding: 2rem 0;
    background: #344059;
    color: #fff;
}

@media (min-width: 1024px) {
    .home-video {
        padding: 6rem 0;
    }
}

.home-video__title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 0.75rem;
}

.home-video__lead {
    text-align: center;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2rem;
}

.home-video__divider {
    width: 4rem;
    height: 3px;
    background: var(--frachtbox-brand);
    border: 0;
    margin: 0 auto 1.5rem;
}

.home-video__frame {
    position: relative;
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.25);
}

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

.home-blog {
    padding: 2rem 0;
}

@media (min-width: 1024px) {
    .home-blog {
        padding: 5rem 0;
    }
}

.home-blog__grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 992px) {
    .home-blog__grid {
        grid-template-columns: minmax(240px, 1fr) 2fr;
        align-items: start;
        gap: 3rem;
    }
}

.home-blog__title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2a303a;
    margin-bottom: 0.75rem;
}

.home-blog__lead {
    color: #666b74;
    margin-bottom: 1.5rem;
}

.home-blog__divider {
    width: 4rem;
    height: 3px;
    background: var(--frachtbox-brand);
    border: 0;
    margin: 0 0 1rem;
}

.home-map {
    position: relative;
    padding: 2rem 0;
    min-height: 420px;
}

@media (min-width: 1024px) {
    .home-map {
        padding: 6rem 0;
        min-height: 520px;
    }
}

.home-map__canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.home-map__content {
    position: relative;
    z-index: 2;
    max-width: 420px;
    padding: 1.5rem;
    background: #fff;
    border-radius: 1.25rem;
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.12);
    color: #48597d;
}

@media (min-width: 1024px) {
    .home-map__content {
        padding: 2rem;
    }
}

.home-map__title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2a303a;
    margin-bottom: 0.75rem;
}

.home-map__divider {
    width: 4rem;
    height: 3px;
    background: var(--frachtbox-brand);
    border: 0;
    margin: 0 0 1rem;
}

.home-contact {
    padding: 2rem 0;
    background: transparent url('/v02/images/bg-home-contact.svg') no-repeat 50% 50%;
    text-align: center;
}

@media (min-width: 1024px) {
    .home-contact {
        padding: 4rem 0 5rem;
    }
}

.home-contact__title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2a303a;
    margin-bottom: 0.5rem;
}

.home-contact__lead {
    color: #666b74;
    margin-bottom: 1.5rem;
}
