/* =========================================================
   ERSTE SCHRITTE – ABLAUF
========================================================= */

.erste-schritte-ablauf {
    width: 100%;

    padding: 30px 5% 35px;

    box-sizing: border-box;

    background: #ffffff;
     border-top: solid 3px #c89b3c;

}

.erste-schritte-ablauf-container {
    width: 100%;
    max-width: 1250px;

    margin: 0 auto;
}


/* =========================================================
   HEADER
========================================================= */

.erste-schritte-ablauf-header {
    margin-bottom: 45px;
   
    text-align: center;
}

.erste-schritte-ablauf-eyebrow {
    display: block;

    margin-bottom: 12px;

    color: #c89b3c;

    font-size: 20px;
    font-weight: 900;

    letter-spacing: 4px;
}

.erste-schritte-ablauf-header h2 {
    margin: 0 0 12px;

    color: #173f32;

    font-size: clamp(34px, 4vw, 48px);

    line-height: 1.1;

    font-weight: 800;

    letter-spacing: -1px;
}

.erste-schritte-ablauf-header p {
    margin: 0;

    color: #52615b;

    font-size: 18px;

    line-height: 1.6;
}


/* =========================================================
   GRID
========================================================= */

.erste-schritte-ablauf-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

/* 01 + 02 */
.erste-schritte-card:nth-child(1),
.erste-schritte-card:nth-child(2) {
    grid-column: span 2;
}


/* =========================================================
   CARD
========================================================= */

.erste-schritte-card {
    position: relative;

    height: 295px;

    overflow: hidden;

    border-radius: 13px;

    background: #173f32;

    box-sizing: border-box;

    box-shadow:
        0 5px 15px rgba(0, 0, 0, 0.08);

    isolation: isolate;
}


/* =========================================================
   BILD
========================================================= */

.erste-schritte-card img {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 0.5s ease;
}

.erste-schritte-card:hover img {
    transform: scale(1.06);
}


/* =========================================================
   VERLAUF
========================================================= */

.erste-schritte-card::after {
    content: "";

    position: absolute;

    inset: 0;

    z-index: 1;

    background:
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.02) 25%,
            rgba(0, 0, 0, 0.18) 45%,
            rgba(0, 0, 0, 0.88) 100%
        );
}


/* =========================================================
   NUMMER
========================================================= */

.erste-schritte-number {
    position: absolute;

    top: 10px;
    left: 10px;

    z-index: 3;

    width: 26px;
    height: 26px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #08664c;

    color: #ffffff;

    font-size: 11px;
    font-weight: 800;
}


/* =========================================================
   TEXT
========================================================= */

.erste-schritte-card-overlay {
    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    z-index: 3;

    padding: 20px 12px 13px;
}

.erste-schritte-card-overlay h3 {
    margin: 0 0 4px;

    color: #ffffff;

    font-size: 14px;
    line-height: 1.25;

    font-weight: 800;
}

.erste-schritte-card-overlay h3 small {
    font-size: 11px;
    font-weight: 700;
}

.erste-schritte-card-overlay p {
    margin: 0;

    color: #ffffff;

    font-size: 11px;
    line-height: 1.35;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1050px) {

    .erste-schritte-ablauf {
        padding-left: 30px;
        padding-right: 30px;
    }

    .erste-schritte-ablauf-grid {
        grid-template-columns: repeat(3, 1fr);
    }

}


/* =========================================================
   TABLET / SMALL
========================================================= */

@media (max-width: 800px) {

    .erste-schritte-ablauf {
        padding-top: 55px;
        padding-bottom: 75px;
    }

    .erste-schritte-ablauf-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .erste-schritte-card {
        height: 300px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 560px) {

    .erste-schritte-ablauf {
        padding: 45px 16px 60px;
    }

    .erste-schritte-ablauf-header {
        margin-bottom: 30px;
    }

    .erste-schritte-ablauf-header h2 {
        font-size: 31px;
    }

    .erste-schritte-ablauf-header p {
        font-size: 14px;
    }

    .erste-schritte-ablauf-grid {
        grid-template-columns: 1fr;

        gap: 14px;
    }

    .erste-schritte-card {
        height: 330px;
    }

}



/***********************************************************************************

*************************************************************************************/
