/* ============================================================
   IMMFIMA FINANZPLANUNG
============================================================ */

.immfima-finanzplanung {
    background: #ffffff;
    color: #10233d;
}

.immfima-finanzplanung-container {
    width: min(1380px, calc(100% - 70px));
    margin: 0 auto;
}

.immfima-finanzplanung-eyebrow {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.7px;
    text-transform: uppercase;
    color: #c6961f;
}

.immfima-finanzplanung-eyebrow--light {
    color: #e8bd55;
}


/* HERO */

.immfima-finanzplanung-hero {
    padding: 78px 0 72px;
    background:
            linear-gradient(
                    135deg,
                    #f7f9fc 0%,
                    #eef3f9 100%
            );
}

.immfima-finanzplanung-hero__content {
    max-width: 960px;
}

.immfima-finanzplanung-hero h1 {
    margin: 18px 0 0;
    font-size: clamp(44px, 5vw, 72px);
    line-height: 1.04;
    letter-spacing: -2.5px;
    color: #092f5d;
}

.immfima-finanzplanung-hero p {
    max-width: 820px;
    margin: 24px 0 0;
    font-size: 18px;
    line-height: 1.75;
    color: #647188;
}

.immfima-finanzplanung-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 32px;
}


/* BUTTONS */

.immfima-finanzplanung-button {
    min-height: 48px;
    padding: 12px 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: 7px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition:
            transform 0.2s ease,
            background 0.2s ease,
            border-color 0.2s ease;
}

.immfima-finanzplanung-button:hover {
    transform: translateY(-2px);
}

.immfima-finanzplanung-button--gold {
    background: #c99a24;
    border-color: #c99a24;
    color: #ffffff;
}

.immfima-finanzplanung-button--gold:hover {
    background: #b98b1c;
}

.immfima-finanzplanung-button--outline {
    background: transparent;
    border-color: #0a3769;
    color: #0a3769;
}

.immfima-finanzplanung-button--outline:hover {
    background: #ffffff;
}

.immfima-finanzplanung-button--light {
    background: #ffffff;
    color: #07396f;
}

.immfima-finanzplanung-button--dark-outline {
    border-color: rgba(255, 255, 255, 0.75);
    color: #ffffff;
}


/* SECTION HEAD */

.immfima-finanzplanung-section-head {
    max-width: 850px;
    margin: 0 auto 46px;
    text-align: center;
}

.immfima-finanzplanung-section-head h2 {
    margin: 12px 0 0;
    font-size: clamp(32px, 4vw, 50px);
    line-height: 1.12;
    letter-spacing: -1.5px;
    color: #092f5d;
}

.immfima-finanzplanung-section-head p {
    margin: 18px auto 0;
    font-size: 16px;
    line-height: 1.7;
    color: #66748a;
}


/* PROZESS */

.immfima-finanzplanung-process {
    padding: 86px 0;
    background: #ffffff;
}

.immfima-finanzplanung-process__grid {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        56px
        minmax(0, 1fr)
        56px
        minmax(0, 1fr);
    align-items: stretch;
}

.immfima-finanzplanung-process-card {
    position: relative;
    min-height: 430px;
    padding: 34px 30px 30px;
    border: 1px solid #dfe6ef;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 16px 40px rgba(9, 47, 93, 0.07);
    transition:
            transform 0.25s ease,
            box-shadow 0.25s ease,
            border-color 0.25s ease;
}

.immfima-finanzplanung-process-card:hover {
    transform: translateY(-8px);
    border-color: #d4a32d;
    box-shadow: 0 24px 54px rgba(9, 47, 93, 0.13);
}

.immfima-finanzplanung-process-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 32px;
    bottom: 32px;
    width: 4px;
    border-radius: 0 4px 4px 0;
    background: #d2a126;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.immfima-finanzplanung-process-card:hover::before {
    opacity: 1;
}

.immfima-finanzplanung-process-card__number {
    position: absolute;
    top: 23px;
    right: 26px;
    font-size: 14px;
    font-weight: 800;
    color: #b8c2cf;
}

.immfima-finanzplanung-process-card__icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: #f3f6fa;
    font-size: 30px;
    color: #c99a24;
}

.immfima-finanzplanung-process-card h3 {
    margin: 25px 0 0;
    font-size: 28px;
    line-height: 1.15;
    color: #092f5d;
}

.immfima-finanzplanung-process-card > p {
    margin: 16px 0 0;
    min-height: 110px;
    font-size: 15px;
    line-height: 1.65;
    color: #657289;
}

.immfima-finanzplanung-process-card ul {
    margin: 22px 0 0;
    padding: 20px 0 0;
    border-top: 1px solid #edf0f4;
    list-style: none;
}

.immfima-finanzplanung-process-card li {
    position: relative;
    margin: 10px 0;
    padding-left: 23px;
    font-size: 14px;
    color: #31445c;
}

.immfima-finanzplanung-process-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #c99a24;
    font-weight: 800;
}

.immfima-finanzplanung-process__connector {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    color: #d1a027;
}


/* VORTEILE */

.immfima-finanzplanung-benefits {
    padding: 34px 0 78px;
    background: #ffffff;
}

.immfima-finanzplanung-benefits__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.immfima-finanzplanung-benefit {
    display: flex;
    gap: 17px;
    padding: 23px;
    border-radius: 14px;
    background: #f7f9fc;
}

.immfima-finanzplanung-benefit__icon {
    font-size: 31px;
    color: #0a3769;
}

.immfima-finanzplanung-benefit h3 {
    margin: 0;
    font-size: 17px;
    color: #092f5d;
}

.immfima-finanzplanung-benefit p {
    margin: 5px 0 0;
    font-size: 13px;
    line-height: 1.55;
    color: #66748a;
}


/* FINANZ CHECK */

.immfima-finanzplanung-check {
    padding: 72px 0;
    background: #f5f8fc;
}

.immfima-finanzplanung-check__box {
    display: grid;
    grid-template-columns: 1fr 260px;
    align-items: center;
    gap: 60px;
    padding: 48px 55px;
    border: 1px solid #dce5f0;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 18px 50px rgba(9, 47, 93, 0.08);
}

.immfima-finanzplanung-check__content h2 {
    margin: 10px 0 0;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.12;
    color: #092f5d;
}

.immfima-finanzplanung-check__content > p {
    max-width: 740px;
    margin: 17px 0 0;
    font-size: 16px;
    line-height: 1.7;
    color: #66748a;
}

.immfima-finanzplanung-check__features {
    display: flex;
    flex-wrap: wrap;
    gap: 18px 30px;
    margin-top: 23px;
}

.immfima-finanzplanung-check__features span {
    font-size: 14px;
    color: #0a3769;
}

.immfima-finanzplanung-check__action {
    text-align: center;
}

.immfima-finanzplanung-check__circle {
    width: 142px;
    height: 142px;
    margin: 0 auto 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 13px solid #dbe5f2;
    border-top-color: #083b72;
}

.immfima-finanzplanung-check__circle strong {
    font-size: 45px;
    line-height: 1;
    color: #083b72;
}

.immfima-finanzplanung-check__circle span {
    margin-top: 5px;
    font-size: 12px;
    color: #31465f;
}


/* FINAL */

.immfima-finanzplanung-final {
    padding: 62px 0;
    background: #07396f;
    color: #ffffff;
}

.immfima-finanzplanung-final__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.immfima-finanzplanung-final h2 {
    max-width: 760px;
    margin: 10px 0 0;
    font-size: 34px;
    line-height: 1.2;
    color: #ffffff;
}

.immfima-finanzplanung-final p {
    max-width: 760px;
    margin: 13px 0 0;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
}

.immfima-finanzplanung-final__buttons {
    display: flex;
    flex-shrink: 0;
    gap: 14px;
}


/* TABLET */

@media (max-width: 1050px) {

    .immfima-finanzplanung-process__grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .immfima-finanzplanung-process__connector {
        height: 30px;
        transform: rotate(90deg);
    }

    .immfima-finanzplanung-process-card {
        min-height: auto;
    }

    .immfima-finanzplanung-process-card > p {
        min-height: auto;
    }

    .immfima-finanzplanung-benefits__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .immfima-finanzplanung-check__box {
        grid-template-columns: 1fr;
    }

    .immfima-finanzplanung-final__inner {
        align-items: flex-start;
        flex-direction: column;
    }
}


/* SMARTPHONE */

@media (max-width: 650px) {

    .immfima-finanzplanung-container {
        width: calc(100% - 30px);
    }

    .immfima-finanzplanung-hero {
        padding: 55px 0;
    }

    .immfima-finanzplanung-hero h1 {
        font-size: 41px;
        letter-spacing: -1.5px;
    }

    .immfima-finanzplanung-hero p {
        font-size: 16px;
    }

    .immfima-finanzplanung-hero__actions {
        flex-direction: column;
    }

    .immfima-finanzplanung-button {
        width: 100%;
    }

    .immfima-finanzplanung-process {
        padding: 62px 0;
    }

    .immfima-finanzplanung-process-card {
        padding: 28px 23px;
    }

    .immfima-finanzplanung-benefits__grid {
        grid-template-columns: 1fr;
    }

    .immfima-finanzplanung-check__box {
        padding: 34px 23px;
    }

    .immfima-finanzplanung-check__features {
        flex-direction: column;
        gap: 10px;
    }

    .immfima-finanzplanung-final__buttons {
        width: 100%;
        flex-direction: column;
    }
}