/* show-m: is_cta variant of m1_text — center-aligned dark CTA section
   ("Bereit was aufzunehmen?" pattern) with two pill buttons */

section.m1_text.is_cta {
    background: #353434;
    color: #d4d4d4;
    padding: 130px 0 130px;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    text-align: center;
}

/* Multi-color halo bloom layers behind the content. Stacked radial
   gradients reproduce the Figma reference: pink↔blue blob top-left,
   yellow↔pink blob top-right, orange streak right, olive haze center-top,
   teal sweep bottom-left, plus dark vignette and white edge lights. */
section.m1_text.is_cta::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(60% 70% at 100% -10%, rgba(218, 167, 7, 0.45) 0%, rgba(235, 127, 177, 0.30) 35%, rgba(53, 52, 52, 0) 65%),
        radial-gradient(28% 90% at 95% 50%, rgba(238, 114, 44, 0.40) 0%, rgba(53, 52, 52, 0) 70%),
        radial-gradient(35% 50% at 35% 0%, rgba(124, 118, 64, 0.30) 0%, rgba(53, 52, 52, 0) 70%),
        radial-gradient(45% 90% at 5% 100%, rgba(126, 202, 212, 0.35) 0%, rgba(53, 52, 52, 0) 60%),
        radial-gradient(50% 80% at 0% -10%, rgba(235, 127, 177, 0.55) 0%, rgba(20, 94, 168, 0.40) 50%, rgba(53, 52, 52, 0) 75%),
        radial-gradient(ellipse at center, rgba(53, 52, 52, 0) 0%, rgba(37, 37, 37, 0.80) 80%);
    filter: blur(2px);
    pointer-events: none;
}

/* Bright white edge lights (mix-blend-mode: screen in Figma) */
section.m1_text.is_cta::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(24% 60% at 0% 100%, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0) 70%),
        radial-gradient(24% 60% at 100% 100%, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0) 70%);
    mix-blend-mode: screen;
    pointer-events: none;
}

section.m1_text.is_cta .mM_container { position: relative; z-index: 1; }

section.m1_text.is_cta .m1_text_main {
    text-align: center;
    align-items: center;
}

section.m1_text.is_cta .m1_titel {
    margin: 0 0 1.5rem;
    font-family: 'Nexa-Black-Italic', 'Nexa', system-ui, sans-serif;
    font-style: italic;
    font-weight: 900;
    font-size: clamp(48px, 8vw, 96px);
    line-height: 1;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    color: #ffffff;
}
section.m1_text.is_cta .m1_titel strong,
section.m1_text.is_cta .m1_titel em,
section.m1_text.is_cta .m1_titel .m1_title_accent {
    color: #d4d4d4;
    font-weight: inherit;
    font-style: italic;
}

section.m1_text.is_cta .m1_text_container,
section.m1_text.is_cta .m1_text_container_inner,
section.m1_text.is_cta .m1_text_container p {
    margin: 0;
    font-family: 'Nexa-Regular', 'Nexa', system-ui, sans-serif;
    font-weight: 400;
    font-size: clamp(16px, 1.4vw, 22px);
    line-height: 1.4;
    color: #d4d4d4;
    text-align: center;
}

section.m1_text.is_cta .m1_text_container { margin: 0 auto 3.75rem; max-width: 800px; }

/* CTA layout — global .showm_cta classes (style.css) provide the
   primary-with-rainbow-halo and secondary-outlined styles. */
section.m1_text.is_cta .m1_ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    justify-content: center;
    margin-top: 0;
}

@media (max-width: 1100px) {
    section.m1_text.is_cta { padding: 100px 0; }
    section.m1_text.is_cta .m1_text_container { margin-bottom: 2.75rem; }
}

@media (max-width: 768px) {
    section.m1_text.is_cta { padding: 70px 0; }
    section.m1_text.is_cta .m1_titel {
        /* Auf Mobile aggressiv runterskalieren: AUFZUNEHMEN ist 11 Zeichen
           und sprengt sonst die Viewport-Breite. Lange Wörter dürfen brechen. */
        font-size: clamp(28px, 9vw, 56px);
        letter-spacing: -0.03em;
        margin-bottom: 1rem;
        word-break: break-word;
        overflow-wrap: anywhere;
    }
    section.m1_text.is_cta .m1_text_container { margin-bottom: 2rem; }
    section.m1_text.is_cta .m1_ctas { gap: 0.75rem; }
}
