/* =====================================================================================
   page-so-wirds-gemacht.css – "So wird's gemacht" Seite
   ===================================================================================== */

/* ── Fix: Ohne Elementor-JS muss --display explizit gesetzt werden ────────── */
/* Alle äußeren e-con-boxed Sections dieser Seite erhalten display:flex.       */
/* Ohne diesen Fix resolvet var(--display) zu display:inline → Kinder haben   */
/* keine Breitenbeschränkung und sprengen das Layout.                          */
.elementor-so-wirds-gemacht .e-con-boxed {
    --display: flex;
}

.elementor-so-wirds-gemacht .e-con-boxed>.e-con-inner {
    display: flex;
    flex-direction: column;
}

/* ── Intro-Sektion ─────────────────────────────────────────────────────── */
.elementor-so-wirds-gemacht .swg-intro,
.swg-intro {
    --display: flex;
    --flex-direction: column;
    --padding-top: 80px;
    --padding-bottom: 40px;
}

.swg-intro-inner {
    width: 100%;
    text-align: center;
}

.swg-section-label {
    font-family: var(--e-global-typography-e5f7065-font-family, "Syne"), sans-serif;
    font-size: var(--e-global-typography-e5f7065-font-size, 0.85rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--e-global-color-d79e5ec, #00cea8);
    margin: 0 0 0.5rem;
}

.swg-intro-inner .elementor-heading-title,
.swg-intro-inner h3.elementor-heading-title {
    color: var(--e-global-color-primary, #fff);
    margin-bottom: 1.25rem;
}

.swg-intro-inner .elementor-widget-text-editor p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.75;
    max-width: 660px;
    margin: 0 auto;
}

/* ── Steps-Sektion ────────────────────────────────────────────────────────── */
.swg-steps-outer {
    --padding-top: 0;
    --padding-bottom: 80px;
}

.swg-steps-outer>.e-con-inner {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Einzelner Step */
.swg-step {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 32px;
    padding: 40px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.swg-step:last-child {
    border-bottom: none;
}

/* Step-Nummer */
.swg-step-number {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--e-global-color-eabe6c8, #E867EA);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--e-global-typography-6a75036-font-family, "Syne"), sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    box-shadow: 0 0 0 8px rgba(232, 103, 234, 0.15);
}

/* Step-Inhalt */
.swg-step-content {
    flex: 1;
    padding-top: 8px;
}

.swg-step-title {
    font-family: var(--e-global-typography-6a75036-font-family, "Syne"), sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--e-global-color-primary, #fff);
    margin: 0 0 0.75rem;
}

.swg-step-text p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.75;
    margin-bottom: 0.75rem;
}

.swg-step-text p:last-child {
    margin-bottom: 0;
}

.swg-step-text a {
    color: #00cea8;
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 206, 168, 0.35);
    transition: border-color 0.2s, color 0.2s;
}

.swg-step-text a:hover {
    color: #00e8be;
    border-bottom-color: #00cea8;
}

/* ── CTA-Button ───────────────────────────────────────────────────────────── */
.swg-cta-btn-wrap {
    margin-top: 1.5rem;
}

.swg-cta-btn {
    display: inline-block;
    padding: 14px 36px;
    background: var(--e-global-color-eabe6c8, #E867EA);
    color: #fff !important;
    font-family: var(--e-global-typography-6a75036-font-family, "Syne"), sans-serif;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 50px;
    text-decoration: none !important;
    transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
    box-shadow: 0 4px 18px rgba(232, 103, 234, 0.35);
}

.swg-cta-btn:hover {
    background: #D54AD2;
    box-shadow: 0 6px 24px rgba(232, 103, 234, 0.5);
    transform: translateY(-2px);
}

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .swg-step {
        gap: 24px;
    }

    .swg-step-number {
        width: 54px;
        height: 54px;
        font-size: 1.35rem;
    }
}

@media (max-width: 767px) {
    .swg-step {
        flex-direction: column;
        gap: 16px;
        padding: 32px 0;
    }

    .swg-step-number {
        width: 48px;
        height: 48px;
        font-size: 1.25rem;
    }

    .swg-step-content {
        padding-top: 0;
    }

    .swg-intro {
        --padding-top: 48px;
    }
}