/* =========================================================
   MGM Möbius – Über mich Test
   ========================================================= */

.mgm-about-test {
    --about-navy: #0b1f3a;
    --about-navy-light: #132b4d;
    --about-blue: #315bd5;
    --about-blue-light: #edf3ff;
    --about-text: #17233b;
    --about-text-light: #647087;
    --about-border: #dfe5ed;
    --about-bg-light: #f7f9fc;

    color: var(--about-text);
    background: #fff;
}

.mgm-about-test * {
    box-sizing: border-box;
}

.mgm-about-test .about-container {
    width: 100%;
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 25px;
    padding-right: 25px;
    box-sizing: border-box;
}


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

.mgm-about-test .about-hero {
    position: relative;
    min-height: 360px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--about-navy);
}

.mgm-about-test .about-hero__background {
    position: absolute;
    inset: 0;
}

.mgm-about-test .about-hero__background img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.mgm-about-test .about-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;

    background: linear-gradient(
        90deg,
        rgba(7, 25, 48, 1) 0%,
        rgba(7, 25, 48, .96) 34%,
        rgba(7, 25, 48, .72) 54%,
        rgba(7, 25, 48, .22) 78%,
        rgba(7, 25, 48, .08) 100%
    );
}

.mgm-about-test .about-hero__inner {
    position: relative;
    z-index: 2;
    width: 100%;
}

.mgm-about-test .about-hero__content {
    max-width: 610px;
}

.mgm-about-test .about-eyebrow,
.mgm-about-test .about-section-label {
    display: block;
    margin-bottom: 14px;

    color: var(--about-blue);
    font-size: .78rem;
    line-height: 1.3;
    font-weight: 800;
    letter-spacing: .17em;
    text-transform: uppercase;
}

.mgm-about-test .about-hero .about-eyebrow {
    color: #86a9ff;
}

.mgm-about-test .about-hero h1 {
    margin: 0 0 18px;

    color: #fff;
    font-size: clamp(3rem, 5vw, 4.6rem);
    line-height: 1;
    letter-spacing: -.04em;
}

.mgm-about-test .about-hero p {
    max-width: 520px;
    margin: 0;

    color: rgba(255, 255, 255, .84);
    font-size: 1.2rem;
    line-height: 1.65;
}


/* =========================================================
   PERSON
   ========================================================= */

.mgm-about-test .about-person {
    padding: 75px 0;
    background: #fff;
}

.mgm-about-test .about-person__grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 80px;
    align-items: center;
}

.mgm-about-test .about-person__portrait {
    display: flex;
    justify-content: center;
}

.mgm-about-test .about-person__portrait img {
    display: block;
    width: 265px;
    height: 265px;
    object-fit: cover;
    object-position: center;
    border-radius: 50%;

    border: 5px solid #fff;
    box-shadow: 0 12px 35px rgba(10, 31, 58, .16);
}

.mgm-about-test .about-person__content {
    max-width: 720px;
}

.mgm-about-test .about-person__content h2,
.mgm-about-test .about-section-heading h2 {
    margin: 0;

    color: var(--about-navy);
    font-size: clamp(2rem, 3vw, 2.8rem);
    line-height: 1.15;
    letter-spacing: -.025em;
}

.mgm-about-test .about-title-line {
    width: 45px;
    height: 3px;
    margin: 18px 0 25px;

    background: var(--about-blue);
}

.mgm-about-test .about-person__content p {
    margin: 0 0 14px;

    color: var(--about-text-light);
    font-size: 1.05rem;
    line-height: 1.75;
}


/* =========================================================
   WERDEGANG
   ========================================================= */

.mgm-about-test .about-career {
    padding: 70px 0 85px;
    background: var(--about-bg-light);
}

.mgm-about-test .about-section-heading {
    margin-bottom: 55px;
    text-align: center;
}

.mgm-about-test .about-section-heading .about-section-label {
    text-align: center;
}

.mgm-about-test .about-title-line--center {
    margin: 18px auto 0;
}

.mgm-about-test .about-career__timeline {
    position: relative;

    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}

.mgm-about-test .about-career__line {
    position: absolute;
    top: 44px;
    left: 8%;
    right: 8%;

    height: 2px;

    background: var(--about-blue);
}

.mgm-about-test .about-career__item {
    position: relative;
    z-index: 2;
    min-width: 0;

    text-align: center;
}

.mgm-about-test .about-career__year {
    min-height: 30px;

    color: var(--about-blue);
    font-weight: 800;
    font-size: .9rem;
}

.mgm-about-test .about-career__dot {
    width: 14px;
    height: 14px;
    margin: 7px auto 18px;

    border-radius: 50%;
    background: var(--about-blue);

    box-shadow: 0 0 0 5px var(--about-bg-light);
}

.mgm-about-test .about-career__card {
    min-height: 190px;
    padding: 25px 18px;

    border: 1px solid var(--about-border);
    border-radius: 7px;

    background: #fff;

    box-shadow: 0 8px 25px rgba(10, 31, 58, .04);
}

.mgm-about-test .about-career__icon {
    margin-bottom: 13px;

    color: var(--about-blue);
    font-size: 1.3rem;
}

.mgm-about-test .about-career__card h3 {
    margin: 0 0 8px;

    color: var(--about-navy);
    font-size: 1rem;
}

.mgm-about-test .about-career__card p {
    margin: 0;

    color: var(--about-text-light);
    font-size: .9rem;
    line-height: 1.55;
}


/* =========================================================
   MOTIVATION
   ========================================================= */

.mgm-about-test .about-values {
    padding: 80px 0;
    background: #fff;
}

.mgm-about-test .about-values__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 25px;
}

.mgm-about-test .about-value-card {
    padding: 38px;

    border: 1px solid var(--about-border);
    border-radius: 8px;

    background: var(--about-bg-light);

    box-shadow: 0 8px 25px rgba(10, 31, 58, .04);
}

.mgm-about-test .about-value-card__heading {
    display: flex;
    align-items: center;
    gap: 16px;

    margin-bottom: 20px;
}

.mgm-about-test .about-value-card__icon {
    flex: 0 0 48px;

    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #e5edff;
    color: var(--about-blue);

    font-size: 1.25rem;
    font-weight: 800;
}

.mgm-about-test .about-value-card h2 {
    margin: 0;

    color: var(--about-blue);
    font-size: 1.45rem;
}

.mgm-about-test .about-value-card p {
    margin: 0;

    color: var(--about-text);
    font-size: 1rem;
    line-height: 1.75;
}


/* =========================================================
   CTA
   ========================================================= */

.mgm-about-test .about-cta {
    position: relative;

    min-height: 410px;

    display: flex;
    align-items: center;

    overflow: hidden;

    background: var(--about-navy);
}

.mgm-about-test .about-cta__background {
    position: absolute;
    inset: 0;
}

.mgm-about-test .about-cta__background img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;
}

.mgm-about-test .about-cta__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;

    background: linear-gradient(
        90deg,
        rgba(6, 24, 47, .98) 0%,
        rgba(6, 24, 47, .93) 38%,
        rgba(6, 24, 47, .63) 62%,
        rgba(6, 24, 47, .16) 100%
    );
}

.mgm-about-test .about-cta__inner {
    position: relative;
    z-index: 2;

    width: 100%;
}

.mgm-about-test .about-cta__content {
    max-width: 620px;
}

.mgm-about-test .about-cta h2 {
    margin: 0 0 20px;

    color: #fff;
    font-size: clamp(2.2rem, 3.5vw, 3.5rem);
    line-height: 1.08;
    letter-spacing: -.03em;
}

.mgm-about-test .about-cta p {
    max-width: 570px;
    margin: 0 0 28px;

    color: rgba(255, 255, 255, .82);
    font-size: 1.05rem;
    line-height: 1.7;
}

.mgm-about-test .about-cta__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.mgm-about-test .about-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 50px;
    padding: 12px 23px;

    border: 2px solid transparent;
    border-radius: 5px;

    font-weight: 750;
    text-decoration: none;

    transition:
        background .2s ease,
        color .2s ease,
        border-color .2s ease,
        transform .2s ease;
}

.mgm-about-test .about-btn:hover {
    transform: translateY(-2px);
}

.mgm-about-test .about-btn--primary {
    background: var(--about-blue);
    color: #fff;
}

.mgm-about-test .about-btn--primary:hover {
    background: #244bc2;
    color: #fff;
}

.mgm-about-test .about-btn--outline {
    border-color: rgba(255, 255, 255, .75);

    background: transparent;
    color: #fff;
}

.mgm-about-test .about-btn--outline:hover {
    border-color: #fff;

    background: #fff;
    color: var(--about-navy);
}


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

@media (max-width: 950px) {

    .mgm-about-test .about-person__grid {
        grid-template-columns: 250px 1fr;
        gap: 45px;
    }

    .mgm-about-test .about-career__timeline {
        grid-template-columns: repeat(5, minmax(150px, 1fr));

        overflow-x: auto;

        padding-bottom: 15px;
    }

    .mgm-about-test .about-career__line {
        min-width: 750px;
    }
}


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

@media (max-width: 700px) {

    .mgm-about-test .about-container {
        width: 100%;
        padding-inline: 20px;
    }


    /* Hero */

    .mgm-about-test .about-hero {
        min-height: 430px;
        align-items: flex-end;
    }

    .mgm-about-test .about-hero__background img {
        object-position: 65% center;
    }

    .mgm-about-test .about-hero__overlay {
        background: linear-gradient(
            180deg,
            rgba(7, 25, 48, .12) 0%,
            rgba(7, 25, 48, .55) 43%,
            rgba(7, 25, 48, .97) 78%,
            #071930 100%
        );
    }

    .mgm-about-test .about-hero__inner {
        padding-bottom: 38px;
    }

    .mgm-about-test .about-hero h1 {
        font-size: 3rem;
    }

    .mgm-about-test .about-hero p {
        font-size: 1rem;
    }


    /* Person */

    .mgm-about-test .about-person {
        padding: 55px 0;
    }

    .mgm-about-test .about-person__grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .mgm-about-test .about-person__portrait img {
        width: 220px;
        height: 220px;
    }

    .mgm-about-test .about-person__content {
        text-align: left;
    }


    /* Timeline */

    .mgm-about-test .about-career {
        padding: 55px 0;
    }

    .mgm-about-test .about-section-heading {
        margin-bottom: 40px;
    }

    .mgm-about-test .about-career__timeline {
        display: block;
        overflow: visible;
    }

    .mgm-about-test .about-career__line {
        top: 0;
        bottom: 0;
        left: 7px;
        right: auto;

        width: 2px;
        height: auto;
        min-width: 0;
    }

    .mgm-about-test .about-career__item {
        position: relative;

        margin-bottom: 25px;
        padding-left: 35px;

        text-align: left;
    }

    .mgm-about-test .about-career__year {
        min-height: 0;
        margin-bottom: 8px;
    }

    .mgm-about-test .about-career__dot {
        position: absolute;

        top: 3px;
        left: 1px;

        width: 14px;
        height: 14px;

        margin: 0;

        box-shadow: 0 0 0 5px var(--about-bg-light);
    }

    .mgm-about-test .about-career__card {
        min-height: 0;
        padding: 22px;

        text-align: left;
    }


    /* Motivation */

    .mgm-about-test .about-values {
        padding: 55px 0;
    }

    .mgm-about-test .about-values__grid {
        grid-template-columns: 1fr;
    }

    .mgm-about-test .about-value-card {
        padding: 27px 22px;
    }


    /* CTA */

    .mgm-about-test .about-cta {
        min-height: 500px;
        align-items: flex-end;
    }

    .mgm-about-test .about-cta__overlay {
        background: linear-gradient(
            180deg,
            rgba(6, 24, 47, .10) 0%,
            rgba(6, 24, 47, .55) 42%,
            rgba(6, 24, 47, .98) 73%,
            #06182f 100%
        );
    }

    .mgm-about-test .about-cta__inner {
        padding-bottom: 35px;
    }

    .mgm-about-test .about-cta h2 {
        font-size: 2.35rem;
    }

    .mgm-about-test .about-cta__buttons {
        flex-direction: column;
    }

    .mgm-about-test .about-btn {
        width: 100%;
    }
}