/* =========================================================
   DIE NÄCHSTEN SCHRITTE
========================================================= */

.naechste-schritte-section {
    width: 100%;

    padding: 80px 5% 95px;

    box-sizing: border-box;

    background: #ffffff;
}

.naechste-schritte-container {
    width: 100%;
    max-width: 1100px;

    margin: 0 auto;
}


/* =========================================================
   HEADER
========================================================= */

.naechste-schritte-header {
    max-width: 780px;

    margin: 0 auto 50px;

    text-align: center;
}

.naechste-schritte-header > span {
    display: block;

    margin-bottom: 12px;

    color: #c89b3c;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 4px;
}

.naechste-schritte-header h2 {
    margin: 0 0 14px;

    color: #005344;

    font-size: clamp(32px, 4vw, 46px);

    line-height: 1.1;

    font-weight: 800;
}

.naechste-schritte-header p {
    max-width: 700px;

    margin: 0 auto;

    color: #52615b;

    font-size: 16px;

    line-height: 1.7;
}


/* =========================================================
   GRID
========================================================= */

.naechste-schritte-grid {
    position: relative;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 28px;
}


/* Verbindungslinie */

.naechste-schritte-grid::before {
    content: "";

    position: absolute;

    top: 31px;

    left: 16.66%;
    right: 16.66%;

    height: 1px;

    background: #c89b3c;

    z-index: 0;
}


/* =========================================================
   CARD
========================================================= */

.naechster-schritt-card {
    position: relative;

    z-index: 1;

    min-height: 345px;

    padding: 34px 30px 28px;

    box-sizing: border-box;

    border: 1px solid #bcebdc;

    border-radius: 10px;

    background: #ffffff;

    box-shadow:
        0 5px 15px rgba(0, 0, 0, 0.05);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.naechster-schritt-card:hover {
    transform: translateY(-4px);

    box-shadow:
        0 10px 25px rgba(0, 0, 0, 0.09);
}


/* =========================================================
   NUMMER
========================================================= */

.naechster-schritt-number {
    position: absolute;

    top: -16px;
    left: 24px;

    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 2px solid #c89b3c;

    border-radius: 50%;

    background: #005344;

    color: #ffffff;

    font-size: 13px;
    font-weight: 800;
}


/* =========================================================
   ICON
========================================================= */

.naechster-schritt-icon {
    width: 58px;
    height: 58px;

    margin-bottom: 25px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #a9e8d3;

    border-radius: 11px;

    background: #effbf7;
}

.naechster-schritt-icon svg {
    width: 30px;
    height: 30px;

    fill: none;

    stroke: #008365;

    stroke-width: 1.7;

    stroke-linecap: round;
    stroke-linejoin: round;
}


/* =========================================================
   TEXT
========================================================= */

.naechster-schritt-card h3 {
    margin: 0 0 16px;

    color: #005344;

    font-size: 21px;

    line-height: 1.25;

    font-weight: 800;
}

.naechster-schritt-card p {
    margin: 0;

    color: #52615b;

    font-size: 14px;

    line-height: 1.7;
}


/* =========================================================
   TAG
========================================================= */

.naechster-schritt-tag {
    display: inline-flex;
    align-items: center;

    gap: 8px;

    margin-top: 25px;

    padding: 7px 12px;

    box-sizing: border-box;

    border: 1px solid #a9e8d3;

    border-radius: 30px;

    background: #f4fffb;

    color: #00765a;

    font-size: 10px;
    font-weight: 700;
}

.naechster-schritt-tag span {
    width: 7px;
    height: 7px;

    flex-shrink: 0;

    border-radius: 50%;

    background: #c89b3c;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 850px) {

    .naechste-schritte-section {
        padding-left: 30px;
        padding-right: 30px;
    }

    .naechste-schritte-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .naechste-schritte-grid::before {
        display: none;
    }

    .naechster-schritt-card {
        min-height: auto;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 560px) {

    .naechste-schritte-section {
        padding: 55px 16px 70px;
    }

    .naechste-schritte-header {
        margin-bottom: 38px;
    }

    .naechste-schritte-header h2 {
        font-size: 29px;
    }

    .naechste-schritte-header p {
        font-size: 14px;
    }

    .naechster-schritt-card {
        padding: 32px 22px 25px;
    }

    .naechster-schritt-card h3 {
        font-size: 19px;
    }

    .naechster-schritt-card p {
        font-size: 13px;
    }

}