.hw-prozess-section {
    max-width: 1140px;
    margin: 0 auto;
    padding: 80px 15px;
    background-color: #ffffff;
    font-family: 'PT Sans', sans-serif;
}

.hw-prozess-section-title {
    font-family: 'PT Sans', sans-serif;
    font-weight: 700;
    font-size: 32px;
    color: #002c77;
    text-align: center;
    margin-bottom: 48px;
    margin-top: 0;
}

.hw-prozess-container {
    display: flex;
    justify-content: space-between;
    position: relative;
    padding-top: 24px;
}

.hw-prozess-line-bg {
    position: absolute;
    top: 48px;
    left: 10%;
    right: 10%;
    height: 2px;
    background-color: #e0e0e0;
    z-index: 1;
}

.hw-prozess-line-fill {
    position: absolute;
    top: 48px;
    left: 10%;
    height: 2px;
    background-color: #4b92db;
    z-index: 2;
    width: 0; /* Animated by JS */
    transform-origin: left;
}

.hw-prozess-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    z-index: 3;
    position: relative;
}

.hw-prozess-number-wrapper {
    position: relative;
    margin-bottom: 16px;
}

.hw-prozess-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #ff5800;
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'PT Sans', sans-serif;
    font-weight: 700;
    font-size: 22px;
    position: relative;
    
    /* Animation initial state */
    transform: scale(0.7);
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.5s ease;
}

.hw-prozess-step.is-visible .hw-prozess-number {
    transform: scale(1);
    opacity: 1;
}

.hw-prozess-icon {
    position: absolute;
    top: -10px;
    right: -10px;
    color: #ffffff;
    background: #4b92db;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 12px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.hw-prozess-icon svg {
    width: 12px;
    height: 12px;
    fill: #ffffff;
}

.hw-prozess-title {
    font-family: 'PT Sans', sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: #002c77;
    margin-top: 16px;
    margin-bottom: 8px;
}

.hw-prozess-desc {
    font-family: 'PT Sans', sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: #002c77;
    line-height: 1.5;
    max-width: 180px;
    margin: 0 auto;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .hw-prozess-line-fill {
        width: 80% !important; /* Fully filled */
        transition: none !important;
    }
    .hw-prozess-number {
        transform: scale(1) !important;
        opacity: 1 !important;
        transition: none !important;
    }
}

/* Tablet */
@media (max-width: 1024px) {
    .hw-prozess-number {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    .hw-prozess-line-bg,
    .hw-prozess-line-fill {
        top: 44px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .hw-prozess-section-title {
        font-size: 24px;
    }
    
    .hw-prozess-container {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 20px;
    }
    
    .hw-prozess-step {
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
        margin-bottom: 32px;
        width: 100%;
    }
    
    .hw-prozess-number-wrapper {
        margin-bottom: 0;
        margin-right: 24px;
    }
    
    .hw-prozess-title {
        margin-top: 0;
    }
    
    .hw-prozess-desc {
        max-width: none;
        margin: 0;
    }
    
    .hw-prozess-line-bg {
        top: 24px;
        left: 40px; /* Center of the 40px circle + 20px padding */
        width: 2px;
        height: calc(100% - 60px);
    }
    
    .hw-prozess-line-fill {
        top: 24px;
        left: 40px;
        width: 2px !important;
        height: 0; /* Animated by JS */
        transform-origin: top;
    }
}
