/* ============================================================
   HausWerk360° – Workflow Animation
   Pfad: wp-content/themes/hauswerk360/assets/css/workflow.css
   ============================================================ */

.hw360-workflow {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem 2rem;
}

.hw360-wf-svg {
    display: block;
    width: 100%;
    height: 140px;
    overflow: visible;
    margin-bottom: -8px;
}

.hw360-seg {
    fill: none;
    stroke: #D85A30;
    stroke-width: 2.5;
    stroke-linecap: round;
}

.hw360-dot {
    fill: #D85A30;
    opacity: 0;
}

.hw360-ring {
    fill: none;
    stroke: #D85A30;
    stroke-width: 0;
    opacity: 0;
}

.hw360-num {
    fill: #fff;
    font-size: 15px;
    font-weight: 500;
    opacity: 0;
    font-family: inherit;
}

.hw360-wf-labels {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.hw360-wf-label {
    padding: 0 12px;
    text-align: center;
}

.hw360-wf-title {
    font-size: 16px;
    font-weight: 600;
    color: #353535;
    margin-bottom: 5px;
    line-height: 1.3;
}

.hw360-wf-text {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

/* Mobile */
@media (max-width: 600px) {
    .hw360-workflow {
        padding: 1rem 1rem 2rem;
    }

    .hw360-wf-svg {
        display: none;
    }

    .hw360-wf-labels {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .hw360-wf-label {
        display: grid;
        grid-template-columns: 44px 1fr;
        grid-template-rows: auto auto;
        column-gap: 14px;
        text-align: left;
        padding: 0;
    }

    .hw360-wf-label::before {
        content: attr(data-step);
        grid-column: 1;
        grid-row: 1 / 3;
        width: 36px;
        height: 36px;
        border-radius: 50%;
        background: #D85A30;
        color: #fff;
        font-size: 14px;
        font-weight: 600;
        display: flex;
        align-items: center;
        justify-content: center;
        align-self: start;
        margin-top: 2px;
    }

    .hw360-wf-title {
        grid-column: 2;
        grid-row: 1;
        margin-bottom: 3px;
    }

    .hw360-wf-text {
        grid-column: 2;
        grid-row: 2;
    }
}