/* Condor Widgets – Prozess-Schritte */

.condor-steps-wrapper {
    width: 100%;
}

.condor-steps {
    --condor-step-min: 180px;
    display: grid;
    /* Automatische Breite: eine Reihe, gleiche Spalten pro Schritt */
    grid-template-columns: repeat(var(--condor-count, 1), minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
}

/* Auf Mobile umbrechen, wenn Spalten zu schmal werden */
@media (max-width: 1024px) {
    .condor-steps {
        grid-template-columns: repeat(auto-fit, minmax(var(--condor-step-min), 1fr));
    }
}

.condor-step {
    position: relative;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.condor-step--linked {
    cursor: pointer;
}

.condor-step--linked:hover {
    transform: translateY(-4px);
}

.condor-step__number {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.condor-step__title {
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin: 0 0 1rem 0;
}

.condor-step__image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.condor-step__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.condor-step__text {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Pfeil zwischen den Schritten */
.condor-step__arrow {
    position: absolute;
    top: 50%;
    right: -12px;
    transform: translate(50%, -50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #D9A441;
    color: #fff;
    z-index: 2;
    pointer-events: none;
}

.condor-step__arrow svg {
    width: 60%;
    height: 60%;
}

/* Pfeile bei Umbruch (Mobile) ausblenden, damit sie nicht ins Nichts zeigen */
@media (max-width: 1024px) {
    .condor-step__arrow {
        display: none;
    }
}
