.bm-mobile-stepper {
    --bm-step-size: 38px;
    --bm-step-gap: 34px;
    --bm-step-line: #d8d8d8;
    --bm-step-bg: #ffffff;
    --bm-step-color: #222222;
    --bm-step-border: #cfcfcf;
    --bm-step-active-bg: #222222;
    --bm-step-active-color: #ffffff;
    --bm-step-active-border: #222222;

    display: grid;
    grid-template-columns: var(--bm-step-size) minmax(0, 1fr);
    gap: 22px;
    width: 100%;
}

.bm-mobile-stepper-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.bm-step-nav {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: var(--bm-step-size);
    height: var(--bm-step-size);
    min-width: var(--bm-step-size);
    border-radius: 999px;
    border: 1px solid var(--bm-step-border);
    background: var(--bm-step-bg);
    color: var(--bm-step-color);
    padding: 0;
    margin: 0;
    font: inherit;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    appearance: none;
    z-index: 2;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

.bm-step-nav:not(:last-child) {
    margin-bottom: var(--bm-step-gap);
}

.bm-step-nav:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    width: 1px;
    height: var(--bm-step-gap);
    background: var(--bm-step-line);
    transform: translateX(-50%);
}

.bm-step-nav.active {
    background: var(--bm-step-active-bg);
    border-color: var(--bm-step-active-border);
    color: var(--bm-step-active-color);
}

.bm-step-nav:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}

.bm-mobile-stepper-content {
    min-width: 0;
    width: 100%;
}

.bm-step-content {
    width: 100%;
}

.bm-step-content[hidden] {
    display: none !important;
}

.bm-step-content.active {
    animation: bmStepFade .25s ease;
}

.entry-content .et_builder_inner_content .bm-mobile-stepper-content .et_pb_section:not(.et_pb_section_0) > .et_pb_row{
	padding:20px 0 !important;
}

@keyframes bmStepFade {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Optional: Shortcode nur auf Mobilgeräten anzeigen */
@media (min-width: 981px) {
    .bm-mobile-only {
        display: none !important;
    }
}

@media (max-width: 767px) {
    .bm-mobile-stepper {
        grid-template-columns: 36px minmax(0, 1fr);
        gap: 16px;
        --bm-step-size: 36px;
        --bm-step-gap: 30px;
    }
}
