.lfs--product-steps-section {
    margin: 2rem 0;
    color: #07152f;
}

.lfs--product-steps-section,
.lfs--product-steps-section * {
    box-sizing: border-box;
}

.lfs--product-steps-section__inner {
    width: 100%;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: clamp(1rem, 2vw, 1.75rem);
    background: #fafafa;
    box-shadow: none;
}

/* Header */
.lfs--product-steps-section__header {
    width: 100%;
    max-width: none;
    margin-bottom: 1.25rem;
}

.lfs--product-steps-section__eyebrow {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-bottom: 0.75rem;
    padding: 0.32rem 0.72rem;
    border-radius: 7px;
    background: rgba(45, 83, 160, 0.1);
    color: #2d53a0;
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.2;
}

.lfs--product-steps-section__title {
    width: 100%;
    max-width: none;
    margin: 0;
    font-size: clamp(1.55rem, 2.2vw, 2.15rem);
    line-height: 1.15;
    font-weight: 800;
    color: #07152f;
}

.lfs--product-steps-section__intro {
    width: 100%;
    max-width: none;
    margin: 0.85rem 0 0;
    font-size: clamp(0.95rem, 1vw, 1.05rem);
    line-height: 1.65;
    color: rgba(7, 21, 47, 0.78);
}

/* Bild */
.lfs--product-steps-section__image-wrap {
    width: 100%;
    margin: 0 0 1rem;
    padding: clamp(0.75rem, 1.5vw, 1.25rem);
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: none;
}

.lfs--product-steps-section__image {
    display: block;
    width: 100%;
    height: auto;
}

/* Steps Standard: bis 4 Steps */
.lfs--product-steps-section__steps {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
}

/* Ab 5 Steps: Desktop als Slider mit sichtbarem Anschnitt vom nächsten Step */
.lfs--product-steps-section__steps:has(.lfs--product-steps-step:nth-child(5)) {
    display: flex;
    width: 100%;
    gap: 0.75rem;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #2d53a0 #eef1f6;
    padding: 0 0 0.85rem;
    cursor: grab;
}

.lfs--product-steps-section__steps:has(.lfs--product-steps-step:nth-child(5)):active {
    cursor: grabbing;
}

.lfs--product-steps-section__steps:has(.lfs--product-steps-step:nth-child(5))::-webkit-scrollbar {
    height: 10px;
}

.lfs--product-steps-section__steps:has(.lfs--product-steps-step:nth-child(5))::-webkit-scrollbar-track {
    background: linear-gradient(90deg, #eef1f6 0%, #f7f9fc 100%);
    border-radius: 999px;
    box-shadow: inset 0 0 0 1px rgba(45, 83, 160, 0.08);
}

.lfs--product-steps-section__steps:has(.lfs--product-steps-step:nth-child(5))::-webkit-scrollbar-thumb {
    min-width: 80px;
    border: 2px solid #eef1f6;
    border-radius: 999px;
    background: linear-gradient(90deg, #2d53a0 0%, #3f66b6 100%);
}

.lfs--product-steps-section__steps:has(.lfs--product-steps-step:nth-child(5))::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(90deg, #244889 0%, #2d53a0 100%);
}

.lfs--product-steps-section__steps:has(.lfs--product-steps-step:nth-child(5)) .lfs--product-steps-step {
    flex: 0 0 calc((100% - 2.25rem) / 4.35);
    scroll-snap-align: start;
}

.lfs--product-steps-section__steps:has(.lfs--product-steps-step:nth-child(5)) .lfs--product-steps-step:last-child {
    margin-right: 0.75rem;
}

.lfs--product-steps-step {
    display: flex;
    gap: 0.8rem;
    min-height: 100%;
    padding: 0.95rem;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: none;
}

.lfs--product-steps-step__number {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 1.9rem;
    height: 1.9rem;
    border-radius: 50%;
    background: #2d53a0;
    color: #ffffff;
    font-size: 0.88rem;
    font-weight: 800;
    line-height: 1;
}

.lfs--product-steps-step__content {
    min-width: 0;
}

.lfs--product-steps-step__title {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1.25;
    color: #07152f;
}

.lfs--product-steps-step__text {
    margin: 0.35rem 0 0;
    font-size: 0.88rem;
    line-height: 1.5;
    color: rgba(7, 21, 47, 0.72);
}

/* Highlight Box */
.lfs--product-steps-highlight {
    width: 100%;
    margin-top: 0.75rem;
    padding: 1rem;
    border-radius: 12px;
    background: #2d53a0;
    color: #ffffff;
}

.lfs--product-steps-highlight__main {
    min-width: 0;
}

.lfs--product-steps-highlight__head {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 0.35rem;
}

.lfs--product-steps-highlight__title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.25;
    color: #ffffff;
}

/* Echtes Badge / Label, kein Button */
.lfs--product-steps-highlight__badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    max-width: 100%;
    padding: 0.18rem 0.45rem;
    border-radius: 4px;
    background: rgba(254, 119, 37, 0.16);
    color: #fe7725;
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.lfs--product-steps-highlight__text {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.92);
}

.lfs--product-steps-highlight__closing {
    margin: 0.55rem 0 0;
    padding-top: 0.55rem;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 0.9rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.88);
}

.lfs--product-steps-highlight__action {
    display: flex;
    justify-content: flex-end;
    width: 100%;
    margin-top: 0.75rem;
}

/* CTA separat, keine untere Box */
.lfs--product-steps-section__actions {
    display: flex;
    justify-content: flex-end;
    width: 100%;
    margin-top: 0.75rem;
}

.lfs--product-steps-section__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.5rem;
    padding: 0.6rem 1rem;
    border: 1px solid #fe7725;
    border-radius: 8px;
    background: #fe7725;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.18s ease;
}

.lfs--product-steps-section__cta:hover,
.lfs--product-steps-section__cta:focus {
    color: #ffffff;
    text-decoration: none;
    background: #e96516;
    border-color: #e96516;
    transform: translateY(-1px);
}

@media (max-width: 1199px) {
    .lfs--product-steps-section__steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .lfs--product-steps-section__steps:has(.lfs--product-steps-step:nth-child(5)) .lfs--product-steps-step {
        flex: 0 0 calc((100% - 0.75rem) / 2.25);
    }
}

@media (max-width: 767px) {
    .lfs--product-steps-section {
        margin: 1.5rem 0;
    }

    .lfs--product-steps-section__inner {
        padding: 1rem;
    }

    .lfs--product-steps-section__steps {
        display: flex;
        width: 100%;
        gap: 0.8rem;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        scrollbar-color: #2d53a0 #eef1f6;
        padding: 0 0 0.85rem;
    }

    .lfs--product-steps-section__steps::-webkit-scrollbar {
        height: 10px;
    }

    .lfs--product-steps-section__steps::-webkit-scrollbar-track {
        background: linear-gradient(90deg, #eef1f6 0%, #f7f9fc 100%);
        border-radius: 999px;
        box-shadow: inset 0 0 0 1px rgba(45, 83, 160, 0.08);
    }

    .lfs--product-steps-section__steps::-webkit-scrollbar-thumb {
        min-width: 80px;
        border: 2px solid #eef1f6;
        border-radius: 999px;
        background: linear-gradient(90deg, #2d53a0 0%, #3f66b6 100%);
    }

    .lfs--product-steps-section__steps::-webkit-scrollbar-thumb:hover {
        background: linear-gradient(90deg, #244889 0%, #2d53a0 100%);
    }

    .lfs--product-steps-step {
        flex: 0 0 84%;
        min-height: auto;
        padding: 0.9rem;
        scroll-snap-align: start;
    }

    .lfs--product-steps-section__steps:has(.lfs--product-steps-step:nth-child(5)) .lfs--product-steps-step {
        flex: 0 0 84%;
    }

    .lfs--product-steps-step:last-child {
        margin-right: 0.35rem;
    }

    .lfs--product-steps-highlight__action,
    .lfs--product-steps-section__actions {
        justify-content: stretch;
    }

    .lfs--product-steps-section__cta {
        width: 100%;
    }
}