/* =========================================================
   SITE HERO
   ========================================================= */

.site-hero {
    --site-hero-blue: #00388d;
    --site-hero-yellow: #ffb400;
    --site-hero-text: #111827;

    position: relative;

    display: grid;
    grid-template-columns: minmax(380px, 42%) 1fr;

    width: 100%;
    min-height: 500px;

    overflow: hidden;

    background: #fff;
}


/* =========================================================
   CONTENT
   ========================================================= */
.site-hero__content .site-hero__text p {
    font-size:1.4rem;
    color:#00388d;
    font-weight:500;
    margin-bottom: 0;
    line-height: 1.9rem;
}
.site-hero__content {
    position: relative;
    z-index: 3;

    display: flex;
    flex-direction: column;
    justify-content: center;

    padding:
        clamp(48px, 6vw, 90px)
        clamp(8px, 1vw, 16px)
        clamp(48px, 6vw, 90px)
        max(24px, calc((100vw - 1400px) / 2));
}


.site-hero__content h1 {
    max-width: 560px;

    margin: 0 0 20px;

    color: var(--site-hero-blue);

    font-size: clamp(2.8rem, 4.2vw, 4.4rem);
    font-weight: 600;
    line-height: 1.04;
    letter-spacing: -0.03em;
}

.site-hero__content .site-hero__eyebrow {
    max-width: 560px;
    margin: 0 0 12px;
    color: var(--site-hero-yellow);
    font-size: .82rem;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: .12em;
    text-transform: uppercase;
}


.site-hero__content p {
    max-width: 560px;

    margin: 0;

    color: var(--site-hero-text);

    font-size: 1.05rem;
    line-height: 1.55;
}

.site-hero__additional-text {
    max-width: 560px;
    margin-top: 5px;
}

.site-hero__additional-text > :last-child {
    margin-bottom: 0;
}


/* =========================================================
   ACTIONS
   ========================================================= */

.site-hero__actions {
    display: flex;
    flex-wrap: wrap;

    gap: 14px;

    margin-top: 28px;
}


/* =========================================================
   BUTTONS
   ========================================================= */

.site-hero__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 46px;

    padding: 0 20px;

    border: 1px solid var(--site-hero-blue);
    border-radius: 3px;

    background: transparent;
    color: var(--site-hero-blue);

    font-size: 1rem;
    font-weight: 600;
    line-height: 1;

    text-decoration: none;

    transition:
        background-color .2s ease,
        border-color .2s ease,
        color .2s ease;
    letter-spacing: .05rem;
}


.site-hero__btn::after {
    content: "→";

    margin-left: 12px;

    font-size: 1rem;
    line-height: 1;
}


/* Primary */

.site-hero__btn--primary {
    border-color: var(--site-hero-yellow);

    background: var(--site-hero-yellow);
    color: #fff;
}


.site-hero__btn--primary:hover {
    border-color: #e5a200;

    background: #e5a200;
}


/* Outline */

.site-hero__btn--outline {
    background: transparent;
}


.site-hero__btn--outline:hover {
    background: var(--site-hero-blue);
    color: #fff;
}




/* =========================================================
   TRUST SIGNALS
   ========================================================= */

.site-hero__trust {
    position: relative;
    z-index: 4;

    display: flex;
    align-items: center;
    gap: clamp(28px, 3vw, 40px);

    /* Darf bewusst über die Content-Spalte ins Bild ragen. */
    width: max-content;
    max-width: calc(100vw - 48px);
    margin-top: 42px;
}

.site-hero__trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
}

.site-hero__trust-item--without-icon {
    padding-right: clamp(28px, 3vw, 40px);
    border-right: 1px solid rgba(0, 56, 141, .25);
}

.site-hero__trust-item--without-icon:last-child {
    padding-right: 0;
    border-right: 0;
}

.site-hero__trust-icon {
    display: block;
    width: 35px;
    height: 35px;
    object-fit: contain;
    flex: 0 0 35px;
}

.site-hero__trust-label {
    max-width: auto;
    color: var(--site-hero-blue);
    font-size: .86rem;
    font-weight: 600;
    line-height: 1.25;
    padding:10px 0;
}


/* =========================================================
   MEDIA
   ========================================================= */

.site-hero__media {
    position: relative;
    z-index: 1;

    min-width: 0;

    /*
     * Bild läuft optisch in den Contentbereich.
     */
    margin-left: -120px;
}


/* =========================================================
   FADE
   ========================================================= */

.site-hero__media::before {
    content: "";

    position: absolute;
    z-index: 2;

    top: 0;
    bottom: 0;
    left: 0;

    width: 320px;

    pointer-events: none;

    background: linear-gradient(
        90deg,
        #fff 0%,
        rgba(255,255,255,.98) 12%,
        rgba(255,255,255,.94) 25%,
        rgba(255,255,255,.80) 42%,
        rgba(255,255,255,.55) 60%,
        rgba(255,255,255,.25) 78%,
        rgba(255,255,255,0) 100%
    );
}


/* =========================================================
   IMAGE
   ========================================================= */

.site-hero__media img {
    display: block;

    width: 100%;
    height: 100%;
    min-height: 500px;

    object-fit: cover;

    /*
     * Motiv etwas nach rechts schieben.
     */
    object-position: 62% center;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1100px) {

    .site-hero {
        grid-template-columns: minmax(320px, 46%) 1fr;

        min-height: 460px;
    }


    .site-hero__content {
        padding:
            48px
            28px
            48px
            32px;
    }


    .site-hero__content h1 {
        font-size: clamp(2.4rem, 4vw, 3.6rem);
    }


    .site-hero__trust {
        gap: 24px;
        margin-top: 34px;
    }

    .site-hero__trust-icon {
        width: 44px;
        height: 44px;
        flex-basis: 44px;
    }

    .site-hero__media {
        margin-left: -80px;
    }


    .site-hero__media::before {
        width: 240px;
    }


    .site-hero__media img {
        min-height: 460px;

        object-position: 60% center;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .site-hero {
        display: flex;
        flex-direction: column;

        min-height: 0;
    }


    .site-hero__content {
        order: 1;

        padding: 40px 24px 28px;
    }


    .site-hero__content h1 {
        margin-bottom: 16px;

        font-size: clamp(2.2rem, 10vw, 3rem);
    }


    .site-hero__content p {
        font-size: 1rem;
    }


    .site-hero__actions {
        gap: 10px;

        margin-top: 24px;
    }


    .site-hero__btn {
        min-height: 44px;

        padding: 0 16px;
    }


    .site-hero__trust {
        width: 100%;
        max-width: none;
        margin-top: 32px;
        gap: 20px 28px;
        flex-wrap: wrap;
    }

    .site-hero__trust-item {
        flex: 1 1 130px;
    }

    .site-hero__trust-item--without-icon {
        padding-right: 28px;
    }

    .site-hero__trust-label {
        max-width: 120px;
    }

    .site-hero__media {
        order: 2;

        /*height: 320px;*/

        margin-left: 0;
    }


    .site-hero__media::before {
        top: 0;
        right: 0;
        bottom: auto;
        left: 0;

        width: 100%;
        height: 90px;

        background: linear-gradient(
            180deg,
            #fff 0%,
            rgba(255,255,255,.82) 32%,
            rgba(255,255,255,.35) 68%,
            rgba(255,255,255,0) 100%
        );
    }


    .site-hero__media img {
        width: 100%;
        height: 100%;
        min-height: 0;

        object-position: 62% center;
    }
}
