/* ==========================================================
   Content Block: Prozessschritte
========================================================== */

.process-section {
    width: 100%;
    padding: 4.5rem 0;
}

.process-section--white {
    background: #fff;
}

.process-section--light {
    background: #f6f6f6;
}

/* ==========================================================
   Einleitung
========================================================== */

.process-section__intro {
    max-width: 58rem;
}

.process-section__eyebrow {
    margin: 0 0 0.75rem;
    color: var(--color-primary, #c12030);
    font-family: var(--font-monospace, monospace);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.14rem;
    line-height: 1.4;
    text-transform: uppercase;
}

.process-section__title {
    max-width: 20ch;
    margin: 0;
    color: #333;
    font-size: clamp(1.75rem, 4vw, 2.4rem);
    font-weight: 800;
    letter-spacing: -0.03125rem;
    line-height: 1.16;
    text-wrap: balance;
}

.process-section__lead {
    max-width: 46rem;
    margin-top: 1.125rem;
    color: #4f4f4f;
    font-size: 1.03125rem;
    line-height: 1.65;
}

.process-section__lead > :first-child,
.process-step__text > :first-child {
    margin-top: 0;
}

.process-section__lead > :last-child,
.process-step__text > :last-child {
    margin-bottom: 0;
}

/* ==========================================================
   Kartenraster
========================================================== */

.process-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 1.25rem;
    margin: 2.25rem 0 0;
    padding: 0;
    list-style: none;
}

/* ==========================================================
   Einzelne Prozesskarte
========================================================== */

.process-step {
    display: flex;
    min-width: 0;
    min-height: 0;
    flex-direction: column;
    padding: 1.625rem;
    background: #fff;
    border: 1px solid #dedede;
    border-radius: 0.875rem;
    box-shadow: 0 0.35rem 1.25rem rgba(0, 0, 0, 0.035);
}

/* ==========================================================
   Nummer
========================================================== */

.process-step__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.125rem;
    height: 2.125rem;
    margin-bottom: 1rem;
    color: #fff;
    background: var(--color-primary, #c12030);
    border-radius: 0.375rem;
    font-family: var(--font-monospace, monospace);
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1;
}

/* ==========================================================
   Überschrift und Text
========================================================== */

.process-step__title {
    margin: 0;
    color: #292929;
    font-size: 1.125rem;
    font-weight: 800;
    line-height: 1.3;
    text-wrap: balance;
}

.process-step__text {
    margin-top: 0.625rem;
    color: #565656;
    font-size: 0.9375rem;
    line-height: 1.6;
}

.process-step__text p {
    margin: 0 0 0.75rem;
}

.process-step__text p:last-child {
    margin-bottom: 0;
}

/* ==========================================================
   Tablet
========================================================== */

@media (max-width: 64rem) {
    .process-steps {
        grid-template-columns: 1fr;
    }

    .process-step {
        min-height: auto;
    }
}

/* ==========================================================
   Mobil
========================================================== */

@media (max-width: 48rem) {
    .process-section {
        padding: 3.5rem 0;
    }

    .process-section__title {
        max-width: none;
        font-size: clamp(1.75rem, 8vw, 2.125rem);
    }

    .process-section__lead {
        max-width: none;
    }

    .process-steps {
        gap: 1rem;
        margin-top: 2rem;
    }

    .process-step {
        padding: 1.375rem;
        border-radius: 0.75rem;
    }

    .process-step__number {
        width: 2rem;
        height: 2rem;
        margin-bottom: 0.875rem;
    }
}