.wd-newsletter {
    display: grid;
    gap: 20px;
    margin-top: 28px;
    padding: 24px 20px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-left: 4px solid #db1c2f;
    border-radius: 14px;
    background: linear-gradient(145deg, rgba(219, 28, 47, 0.14), rgba(255, 255, 255, 0.045));
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
    color: #fff;
}

.wd-newsletter__kicker,
.wd-newsletter__title,
.wd-newsletter__text,
.wd-newsletter__status {
    margin: 0;
}

.wd-newsletter__kicker {
    margin-bottom: 5px;
    color: #ef3346;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.wd-newsletter__title {
    color: #fff;
    font-size: clamp(1.45rem, 3vw, 2rem);
    line-height: 1.15;
}

.wd-newsletter__text {
    margin-top: 11px;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.6;
}

.wd-newsletter__action {
    align-self: center;
}

.wd-newsletter__button {
    width: 100%;
    min-height: 48px;
    padding: 12px 20px;
    border: 1px solid #db1c2f;
    border-radius: 7px;
    background: #db1c2f;
    color: #fff;
    font: inherit;
    font-weight: 800;
    line-height: 1.2;
    cursor: pointer;
    transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.wd-newsletter__button:hover,
.wd-newsletter__button:focus-visible {
    border-color: #ef3346;
    background: #ef3346;
    color: #fff;
}

.wd-newsletter__button:active {
    transform: translateY(1px);
}

.wd-newsletter__button:disabled {
    cursor: wait;
    opacity: 0.7;
}

.wd-newsletter__status {
    margin-top: 10px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.84rem;
    line-height: 1.4;
}

/* Rapidmail wird erst nach dem Klick geladen und bleibt über dem festen Avada-Kopf sichtbar. */
html body #rmOrganism .rmPopup__container {
    z-index: 2147483000 !important;
    padding: 16px 12px !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

html body #rmOrganism .rmPopup__container.rmPopup--show {
    align-items: center !important;
    justify-content: center !important;
}

html body #rmOrganism .rmPopup.rmBase,
html body #rmOrganism .rmSubscription {
    background: #151515 !important;
    color: rgba(255, 255, 255, 0.82) !important;
    font-family: inherit !important;
}

html body #rmOrganism .rmPopup.rmPopup--modal {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    flex: 0 1 560px;
    width: 100% !important;
    max-width: 560px;
    max-height: calc(100vh - 32px) !important;
    max-height: calc(100dvh - 32px) !important;
    margin: auto !important;
    transform: none !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
}

html body #rmOrganism .rmSubscription .rmBase__comp--heading,
html body #rmOrganism .rmSubscription .rmBase__compLabel {
    color: #fff !important;
}

html body #rmOrganism .rmSubscription .rmBase__comp--cta {
    border-color: #db1c2f !important;
    background: #db1c2f !important;
    color: #fff !important;
}

html body #rmOrganism .rmSubscription .rmBase__comp--cta:hover,
html body #rmOrganism .rmSubscription .rmBase__comp--cta:focus-visible {
    background: #ef3346 !important;
}

html body #rmOrganism .rmBase__comp--privacy .privacy__text {
    color: rgba(255, 255, 255, 0.7) !important;
}

html body #rmOrganism .rmPopup__close {
    background: #db1c2f !important;
}

@media (min-width: 768px) {
    .wd-newsletter {
        grid-template-columns: minmax(0, 1fr) minmax(210px, auto);
        align-items: center;
        padding: 29px 30px;
    }

    .wd-newsletter__button {
        width: auto;
        min-width: 210px;
    }
}
