/* =============================================================================================
   ELEMENT 30 – NEWSLETTER-ANMELDUNG
============================================================================================= */

.wf-element-30 {
    position: relative;
    width: 100%;
}


/* =========================================
   FORMULARBEREICH
========================================= */
.wf-newsletter-form-wrapper {
    width: min(100%, 680px);
    margin: 0 auto;
    padding:
        clamp(34px, 5vw, 60px)
        clamp(24px, 5vw, 58px);
    background: rgba(213, 178, 151, 0.11);
}


/* =========================================
   ÜBERSCHRIFT
========================================= */

.wf-newsletter-form-title {
    margin: 0 0 clamp(28px, 4vw, 42px);
    color: #30251f;
    font-size: clamp(1.45rem, 2vw, 2rem);
    font-weight: 400;
    line-height: 1.3;
    text-align: center;
}


/* =========================================
   FELDER
========================================= */
.wf-newsletter-fields {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr);
    gap: 24px 20px;
}

.wf-newsletter-field {
    min-width: 0;
}

.wf-newsletter-field--full {
    grid-column: 1 / -1;
}

.wf-newsletter-field label {
    display: block;
    margin-bottom: 7px;
    color: #5f5955;
    font-size: 0.82rem;
    font-weight: 400;
    line-height: 1.4;
}

.wf-newsletter-field input {
    display: block;
    width: 100%;
    height: 48px;
    padding: 10px 13px;
    border: 1px solid rgba(48, 37, 31, 0.28);
    border-radius: 0;
    background: rgba(255, 255, 255, 0.8);
    color: #30251f;
    font: inherit;
    font-size: 1rem;
    line-height: 1.4;
    transition:
        border-color 200ms ease,
        background-color 200ms ease;
}

.wf-newsletter-field input:hover {
    border-color: rgba(48, 37, 31, 0.5);
}

.wf-newsletter-field input:focus {
    border-color: #8a604a;
    outline: 2px solid #e1ac3b;
    outline-offset: 3px;
    background: #ffffff;
}


/* =========================================
   DATENSCHUTZ
========================================= */
.wf-newsletter-privacy {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    align-items: start;
    margin-top: 25px;
    gap: 11px;
}

.wf-newsletter-privacy input {
    width: 18px;
    height: 18px;
    margin: 2px 0 0;
    accent-color: #8a604a;
    cursor: pointer;
}

.wf-newsletter-privacy input:focus-visible {
    outline: 2px solid #e1ac3b;
    outline-offset: 3px;
}

.wf-newsletter-privacy label {
    color: rgba(48, 37, 31, 0.78);
    font-size: 0.86rem;
    line-height: 1.55;
    cursor: pointer;
}

.wf-newsletter-privacy-link {
    margin-left: 4px;
    color: #8a604a;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.wf-newsletter-privacy-link:hover {
    color: #30251f;
}


/* =========================================
   BUTTON
========================================= */

.wf-newsletter-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 50px;
    margin-top: 30px;
    padding: 14px 28px;
    border: 1px solid #30251f;
    border-radius: 0;
    background: #30251f;
    color: #ffffff;
    font: inherit;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    line-height: 1.3;
    text-align: center;
    text-transform: uppercase;
    cursor: pointer;
    transition:
        background-color 250ms ease,
        color 250ms ease;
}

.wf-newsletter-submit:hover {
    background: transparent;
    color: #30251f;
}

.wf-newsletter-submit:focus-visible {
    outline: 2px solid #e1ac3b;
    outline-offset: 3px;
}


/* =========================================
   HINWEISE
========================================= */
.wf-newsletter-notice {
    max-width: 540px;
    margin: 20px auto 0;
    color: rgba(48, 37, 31, 0.68);
    font-size: 0.8rem;
    line-height: 1.55;
    text-align: center;
}

.wf-newsletter-required {
    margin: 12px 0 0;
    color: #77716d;
    font-size: 0.72rem;
    line-height: 1.4;
    text-align: center;
}

.wf-newsletter-status {
    margin-top: 18px;
    color: #30251f;
    font-size: 0.88rem;
    line-height: 1.5;
    text-align: center;
}

.wf-newsletter-status:empty {
    display: none;
}


/* =========================================
   SMARTPHONE
========================================= */

@media (max-width: 767px) {
    .wf-newsletter-form-wrapper {
        width: 100%;
        padding: 35px 6%;
    }

    .wf-newsletter-form-title {
        margin-bottom: 28px;
        font-size: 1.4rem;
    }

    .wf-newsletter-fields {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }

    .wf-newsletter-field--full {
        grid-column: auto;
    }

    .wf-newsletter-field input {
        height: 50px;
        font-size: 1rem;
    }

    .wf-newsletter-privacy {
        margin-top: 23px;
    }

    .wf-newsletter-submit {
        margin-top: 26px;
    }
}