.ce-hero-karriere {
    background: url("hero-bg-small.jpg");
    background-position: center center;
    background-size: cover;
    overflow: hidden;

    .ce-hero-grid {
        display: grid;
        grid-template-columns: 1.25em minmax(0, 1fr) 0.625em 0.625em minmax(0, 1fr) 0.625em 0.625em minmax(0, 1fr) 1.25em;
        grid-template-rows: 2.5em auto auto auto 0 auto 3em min(5vw, 2.5em);
        gap: 0px 0px;
    }

    .ce-hero-heading {
        grid-area: 2 / 2 / 3 / 9;
    }
    .ce-hero-textblock {
        grid-area: 3 / 2 / 4 / 9;
    }
    .ce-hero-textblock-cta {
        grid-area: 4 / 2 / 5 / 9;
    }

    .ce-hero-left-cta {
        grid-area: 7 / 2 / 8 / 3;
    }
    .ce-hero-center-cta {
        grid-area: 7 / 5 / 8 / 6;
    }
    .ce-hero-right-cta {
        grid-area: 7 / 8 / 8 / 9;
    }

    .ce-hero-image {
        display: grid;
        align-items: end;
        grid-area: 6 / 1 / 9 / 9;
    }

    .ce-hero-heading,
    .ce-hero-textblock {
        color: rgb(255, 255, 255);
        margin-block-end: 1.25rem;
    }

    .btn {
        --btn-color-bg: var(--color-white);
        border: 2px solid var(--btn-color-border);
        border-radius: 6px;
        font-weight: 600;
    }

    .btn-primary {
        --btn-color-fg: var(--color-text);

        &:hover,
        &:focus {
            --btn-color-fg: var(--color-white);
            --btn-color-bg: var(--color-primary);
            --btn-color-border: var(--color-white);
        }
    }

    .btn-hero {
        --btn-color-fg: var(--color-primary);

        position: relative;
        padding-left: 0 !important;
        padding-right: 0 !important;
        white-space: normal;

        font-size: 3vw;
        font-size: max(70%, 2.5vw);
        width: 100%;
        text-align: center;

        &:hover,
        &:focus {
            --btn-color-fg: var(--color-white);
            --btn-color-bg: var(--color-primary);
            --btn-color-border: var(--color-white);
        }
    }

    .btn-hero::before {
        content: "";
        display: block;
        background: none;
        position: absolute;
        z-index: 2;
        left: calc(50% - 1rem);
        top: auto;
        bottom: 100%;
        border: 1rem solid transparent;
        border-top-width: 0;
        border-color: transparent;
        border-bottom-color: rgb(255, 255, 255);
        width: 2rem;
        height: 1rem;
    }

    .ce-hero-person {
        aspect-ratio: 1000 / 580;
        background-size: contain;
        background-repeat: no-repeat;
    }

    .ce-hero-left .ce-hero-person {
        background-image: url("hero-left-20240130.png");
        background-position: left bottom;
    }

    .ce-hero-center .ce-hero-person {
        background-image: url("hero-center-20240124.png");
        background-position: center bottom;
    }

    .ce-hero-right .ce-hero-person {
        background-image: url("hero-right-20240124.png");
        background-position: left bottom;
    }

    .ce-hero-cta {
        display: flex;
        align-items: flex-end;
        box-shadow: 0 0 2.5rem rgba(52, 15, 26, 0.25);
    }
    .ce-hero-left-cta {
        justify-content: flex-end;
    }

    .ce-hero-image,
    .ce-hero-cta {
        will-change: auto;
        position: relative;
        transition: all ease-in-out 0.25s;
        transition-property: transform, filter;
    }

    .ce-hero-cta {
        z-index: 4;
    }
    .ce-hero-left {
        z-index: 1;
    }
    .ce-hero-center {
        z-index: 2;
    }

    .ce-hero-cta:hover + .ce-hero-image {
        z-index: 3;
        transform: scale(1.1);
        filter: drop-shadow(1rem 1rem 2.5rem rgb(52, 15, 26));
    }

    @media (min-width: 47.5em) {
        background: url("hero-bg-medium.jpg");
        background-size: cover;

        .btn-hero {
            font-size: 100%;
        }
    }

    @media (min-width: 61.875em) {
        .page-stage-inner {
            background: url("hero-bg-large.jpg");
            background-size: cover;
        }

        .ce-hero-grid {
            display: grid;
            grid-template-columns: 2.5em minmax(0, 1fr) 1.25em 1.25em minmax(0, 1fr) 1.25em 1.25em minmax(0, 1fr) 1.25em 1.25em minmax(0, 1fr) 2.5em;
            grid-template-rows: 2.5em auto auto 5em 2.5em;
            gap: 0px 0px;
        }

        .ce-hero-heading {
            grid-area: 2 / 2 / 3 / 5;
        }

        .ce-hero-textblock {
            grid-area: 3 / 2 / 4 / 3;
        }
        .ce-hero-textblock-cta {
            grid-area: 4 / 2 / 5 / 3;
        }

        .ce-hero-image {
            grid-area: 1 / 5 / 6 / 12;
        }
        .ce-hero-left-cta {
            grid-area: 4 / 5 / 5 / 6;
        }
        .ce-hero-center-cta {
            grid-area: 4 / 8 / 5 / 9;
        }
        .ce-hero-right-cta {
            grid-area: 4 / 11 / 5 / 12;
        }

        .ce-hero-heading {
            margin-right: -8rem;
            display: grid;
            align-items: end;
        }

        .ce-hero-textblock {
            display: grid;
            align-items: center;
            margin-right: -2rem;
        }

        .ce-header > * {
            font-size: 2em;
            font-size: max(2em, 2vw);
            padding-bottom: 0;
        }

        .ce-hero-textblock-cta .btn {
            font-size: 1rem;
        }

        .ce-hero-person {
            /*! min-height: auto; */
            /*! height: 100%; */
        }

        .ce-hero-cta {
            align-items: unset;
        }

        .btn-hero {
            display: flex;
            justify-content: center;
            align-items: center;
            min-width: auto;
            width: 100%;
        }
    }

    @media (min-width: 77.5em) {
        background: url("hero-bg-large.jpg");
        padding: 0 2.5rem;

        .ce-hero-grid {
            max-width: 1360px;
            margin: 0 auto;
            grid-template-columns: 0 minmax(0, 1.25fr) 2.5em 2.5em minmax(0, 1fr) 2.5em 2.5em minmax(0, 1fr) 2.5em 2.5em minmax(0, 1fr) 0;
            grid-template-rows: 2.5em auto auto auto 2.5em;
        }
    }

    @media (min-width: 1460px) {
        .ce-hero-textblock {
            font-size: 1.125rem;
        }

        .ce-hero-grid {
            grid-template-columns: 0 minmax(0, 1fr) 2.5em 2.5em minmax(0, 1fr) 2.5em 2.5em minmax(0, 1fr) 2.5em 2.5em minmax(0, 1fr) 0;
            grid-template-rows: 8.75em auto auto 7.5em 5em;
            grid-template-rows: 2.5em auto auto auto 2.5em;
        }

        .ce-header > * {
            font-size: 2.5rem;
            /*! font-weight: bold; */
            padding-bottom: 0;
        }
    }

    /* some support for IE11 */
    @media all and (-ms-high-contrast: none) {
        .ce-hero-grid {
            display: -ms-grid;
            -ms-grid-columns: 5em 1fr 2.5em 2.5em 1fr 2.5em 2.5em 1fr 5em;
            -ms-grid-rows: 8.75em auto auto 7.5em 5em;
        }

        .ce-hero-heading {
            -ms-grid-row: 2;
            -ms-grid-row-span: 1;
            -ms-grid-column: 2;
            -ms-grid-column-span: 3;
        }

        .ce-hero-textblock {
            -ms-grid-row: 3;
            -ms-grid-row-span: 1;
            -ms-grid-column: 2;
            -ms-grid-column-span: 1;
        }

        .ce-hero-textblock-cta {
            -ms-grid-row: 4;
            -ms-grid-row-span: 1;
            -ms-grid-column: 2;
            -ms-grid-column-span: 1;
        }

        .ce-hero-left {
            -ms-grid-row: 1;
            -ms-grid-row-span: 5;
            -ms-grid-column: 5;
            -ms-grid-column-span: 3;
        }

        .ce-hero-left-cta {
            -ms-grid-row: 4;
            -ms-grid-row-span: 1;
            -ms-grid-column: 5;
            -ms-grid-column-span: 1;
        }

        .ce-hero-right {
            -ms-grid-row: 1;
            -ms-grid-row-span: 5;
            -ms-grid-column: 6;
            -ms-grid-column-span: 3;
        }

        .ce-hero-right-cta {
            -ms-grid-row: 4;
            -ms-grid-row-span: 1;
            -ms-grid-column: 8;
            -ms-grid-column-span: 1;
        }
    }
}
