/* Ablauf / Process — Animierte Bus-Route */

/* ===================== ABLAUF / PROCESS — Animierte Bus-Route ===================== */
.process-d {
    padding: 7rem 2.5rem;
    background: var(--cream-warm);
    overflow: hidden;
}
.process-d-inner { max-width: 1100px; margin: 0 auto; text-align: center; }
.process-d h2 { font-size: clamp(2rem, 3.5vw, 2.6rem); margin-bottom: 4rem; }

.route-map {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 0;
}

/* The animated road */
.route-road {
    position: absolute;
    top: 40px; left: 0; right: 0;
    height: 4px;
    background: var(--border);
    border-radius: 2px;
    z-index: 0;
}
.route-road-fill {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--red), var(--red-dark));
    border-radius: 2px;
    transition: width 2s ease;
}
.route-road-fill.animate { width: 100%; }

/* Animated bus */
.route-bus {
    position: absolute;
    top: 24px; left: 0;
    width: 36px; height: 36px;
    background: var(--red);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 16px rgba(196,30,42,0.4);
    z-index: 3;
    transition: left 2s ease;
}
.route-bus.animate { left: calc(100% - 36px); }
.route-bus svg { width: 20px; height: 20px; fill: #fff; }

/* Stops */
.route-stops {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    padding-top: 0;
}
.route-stop {
    position: relative;
    padding-top: 4rem;
}
.route-stop-pin {
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 24px; height: 24px;
    border-radius: 50%;
    background: #fff;
    border: 4px solid var(--red);
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.4s;
}
.route-stop:hover .route-stop-pin {
    transform: translateX(-50%) scale(1.3);
    box-shadow: 0 4px 16px rgba(196,30,42,0.3);
}
.route-stop-pin::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%; transform: translateX(-50%);
    width: 2px; height: 20px;
    background: linear-gradient(180deg, var(--red), transparent);
}
.route-stop-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1.75rem 1.25rem;
    margin-top: 1.25rem;
    text-align: center;
    transition: all 0.4s;
}
.route-stop:hover .route-stop-card {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.08);
    border-color: rgba(196,30,42,0.2);
}
.route-stop-num {
    font-family: 'DM Serif Display', serif;
    font-size: 2rem; color: var(--red);
    opacity: 0.15;
    position: absolute;
    top: 3.5rem; right: 1rem;
    line-height: 1;
}
.route-stop-card h3 { font-size: 1.1rem; margin-bottom: 0.4rem; }
.route-stop-card p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.5; margin: 0; }
.route-stop-emoji {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
    display: block;
}
.route-label-start, .route-label-end {
    position: absolute;
    top: -1.5rem;
    font-size: 0.7rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.12em;
    color: var(--red);
}
.route-label-start { left: 0; }
.route-label-end { right: 0; }

