/* "So läuft die Zulassungsprüfung ab", blaues Band mit fünf Schritten. */

.process-steps {
    padding: 72px 0 80px;
    background: var(--color-blue);
    color: var(--color-white);
}

.process-steps__title {
    margin: 0 0 10px;
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 600;
    line-height: 42px;
    text-align: center;
}

.process-steps__lead {
    margin: 0 0 44px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 16px;
    line-height: 26px;
    text-align: center;
}

.process-steps__list {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: stretch;
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.process-step {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

/* Grün gestrichelte Verbindungslinie zwischen den Nummern (wie im Entwurf). */
.process-step::before {
    content: "";
    position: absolute;
    top: 23px;
    left: calc(50% + 32px);
    right: calc(-50% + 32px);
    border-top: 2px dashed var(--color-green);
    opacity: 0.75;
}

.process-step:last-child::before { display: none; }

.process-step__number {
    position: relative;
    z-index: 1;
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    margin-bottom: 26px;
    border-radius: 50%;
    background: var(--color-green);
    color: var(--color-black);
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    /* Innerer Abstand in Bandfarbe, aussen der grüne Ring. */
    box-shadow: 0 0 0 4px var(--color-blue), 0 0 0 6px rgba(161, 228, 15, 0.85);
}

/* Kurzer senkrechter Steg von der Nummer hinunter zur Kachel. */
.process-step__number::after {
    content: "";
    position: absolute;
    top: calc(100% + 6px);
    left: 50%;
    width: 2px;
    height: 14px;
    margin-left: -1px;
    background: rgba(161, 228, 15, 0.55);
}

.process-step__tile {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    min-height: 104px;
    padding: 18px 14px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.07);
    text-align: center;
}

.process-step__icon {
    flex: 0 0 auto;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.14);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 16px 16px;
}

.process-step__icon--form {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a1e40f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='3' width='14' height='18' rx='2'/%3E%3Cline x1='9' y1='8' x2='15' y2='8'/%3E%3Cline x1='9' y1='12' x2='15' y2='12'/%3E%3Cline x1='9' y1='16' x2='13' y2='16'/%3E%3C/svg%3E");
}

.process-step__icon--upload {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a1e40f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 16v3a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-3'/%3E%3Cpolyline points='8 8 12 4 16 8'/%3E%3Cline x1='12' y1='4' x2='12' y2='15'/%3E%3C/svg%3E");
}

.process-step__icon--search {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a1e40f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cline x1='16.5' y1='16.5' x2='21' y2='21'/%3E%3C/svg%3E");
}

.process-step__icon--mail {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a1e40f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpolyline points='3 7 12 13 21 7'/%3E%3C/svg%3E");
}

.process-step__icon--send {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a1e40f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='21' y1='3' x2='10' y2='14'/%3E%3Cpolygon points='21 3 14.5 21 10 14 3 9.5'/%3E%3C/svg%3E");
}

.process-step__label {
    color: var(--color-white);
    font-size: 14px;
    font-weight: 500;
    line-height: 21px;
}

@media (max-width: 1000px) {
    .process-steps__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px;
    }
    .process-step::before { display: none; }
}

/* Mobil: senkrecht, Nummer links, Kachel rechts (wie im Mockup). */
@media (max-width: 700px) {
    .process-steps {
        padding: 48px 0 52px;
    }

    .process-steps__title {
        font-size: 26px;
        line-height: 34px;
    }

    .process-steps__lead {
        margin-bottom: 28px;
    }

    .process-steps__list {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }

    .process-step {
        flex-direction: row;
        align-items: center;
        gap: 14px;
    }

    .process-step__number {
        margin-bottom: 0;
    }

    /* Der senkrechte Steg gehoert zur mehrspaltigen Ansicht. */
    .process-step__number::after { display: none; }

    .process-step__tile {
        flex-direction: row;
        align-items: center;
        min-height: 0;
        padding: 14px 16px;
        text-align: left;
    }
}
