/**
 * C4mulo5 – Prozess-Ablauf Section
 *
 * Vertikale Timeline mit Verbindungslinie zwischen den Schritten.
 * Pro Schritt: runder Marker mit Icon links, Titel + Text rechts.
 * Am Ende ein HWG-konformer Disclaimer-Block.
 */

/* ═══ ::BEFORE / ::AFTER Reset (Bootstrap-Clearfix-Fix) ═══════════ */
.c4mulo5-process-steps .c4m5-ps-wrap::before,
.c4mulo5-process-steps .c4m5-ps-wrap::after,
.c4mulo5-process-steps .c4m5-ps-step::before,
.c4mulo5-process-steps .c4m5-ps-step::after,
.c4mulo5-process-steps .c4m5-ps-step-body::before,
.c4mulo5-process-steps .c4m5-ps-step-body::after,
.c4mulo5-process-steps .c4m5-ps-disclaimer::before,
.c4mulo5-process-steps .c4m5-ps-disclaimer::after {
    display: none !important;
    content: none !important;
}

/* ═══ Wrapper ══════════════════════════════════════════════════════ */
.c4mulo5-process-steps .c4m5-ps-wrap {
    position: relative;
    max-width: 720px;
    margin: 0 auto;
    padding: 20px 0;
}

/* ═══ Verbindungslinie zwischen den Markern ═══════════════════════ */
.c4mulo5-process-steps .c4m5-ps-wrap::before {
    content: "" !important;
    display: block !important;
    position: absolute;
    left: 32px;
    top: 40px;
    bottom: 80px; /* Endet vor dem Disclaimer */
    width: 2px;
    background: linear-gradient(to bottom, #c8a84b 0%, #c8a84b 85%, rgba(200,168,75,0.2) 100%);
    z-index: 1;
}

/* ═══ Einzelne Schritte ═══════════════════════════════════════════ */
.c4mulo5-process-steps .c4m5-ps-step {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 24px;
    padding: 16px 0 24px 0;
    z-index: 2;
}

/* Marker: runder Kreis mit Icon */
.c4mulo5-process-steps .c4m5-ps-step-marker {
    flex: 0 0 64px;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid #c8a84b;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(200, 168, 75, 0.2);
    transition: transform 0.2s ease;
}

.c4mulo5-process-steps .c4m5-ps-step:hover .c4m5-ps-step-marker {
    transform: scale(1.05);
}

.c4mulo5-process-steps .c4m5-ps-step-icon {
    width: 28px;
    height: 28px;
    color: #c8a84b;
}

/* Eigenes Bild im Marker (statt SVG) */
.c4mulo5-process-steps .c4m5-ps-step-img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    border-radius: 50%;
}

/* Body: Titel + Text */
.c4mulo5-process-steps .c4m5-ps-step-body {
    flex: 1 1 auto;
    padding-top: 8px;
}

.c4mulo5-process-steps .c4m5-ps-step-title {
    margin: 0 0 6px;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1d2327;
    line-height: 1.3;
}

.c4mulo5-process-steps .c4m5-ps-step-text {
    margin: 0;
    color: #50575e;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* ═══ HWG-Disclaimer ══════════════════════════════════════════════ */
.c4mulo5-process-steps .c4m5-ps-disclaimer {
    margin-top: 24px;
    padding: 14px 18px;
    background: #f6f4ea;
    border-left: 3px solid #c8a84b;
    border-radius: 4px;
    font-size: 0.82rem;
    color: #50575e;
    line-height: 1.55;
}

.c4mulo5-process-steps .c4m5-ps-disclaimer strong {
    color: #1d2327;
    margin-right: 4px;
}

/* ═══ Responsive ═══════════════════════════════════════════════════ */
@media (max-width: 600px) {
    .c4mulo5-process-steps .c4m5-ps-wrap::before {
        left: 26px;
        top: 32px;
        bottom: 90px;
    }
    .c4mulo5-process-steps .c4m5-ps-step {
        gap: 16px;
        padding: 12px 0 20px 0;
    }
    .c4mulo5-process-steps .c4m5-ps-step-marker {
        flex-basis: 52px;
        width: 52px;
        height: 52px;
    }
    .c4mulo5-process-steps .c4m5-ps-step-icon {
        width: 22px;
        height: 22px;
    }
    .c4mulo5-process-steps .c4m5-ps-step-img {
        width: 34px;
        height: 34px;
    }
    .c4mulo5-process-steps .c4m5-ps-step-title {
        font-size: 1.1rem;
    }
}
