/* ============================================
   Brevo Form — Light Edition (gescoped)
   ============================================ */

#article-1061 {
    margin-top: 0px;
    padding-top: 0px;
}

.form__wrapper {
    max-width: 100%;
    display: flex;
    justify-content: left;
}

.brevo-form {
    max-width: 560px;

   /* margin: 2rem auto;*/
    padding: 2.5rem;
    background: #ffffff;
    color: #1a1a1c;
    border: 1px solid #e5e7eb;
  /*  box-shadow: 0 20px 60px rgba(0,0,0,0.08);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;*/
    box-sizing: border-box;
}
.brevo-form *,
.brevo-form *::before,
.brevo-form *::after { box-sizing: border-box; }

/* ===== Intro ===== */
.brevo-form__intro {
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    /*border-bottom: 1px solid #e5e7eb;*/
}
.brevo-form__intro h1 {
    font-size: 1.6rem;
    font-weight: 300;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin: 0 0 1rem;
    color: #1a1a1c;
}
.brevo-form__intro p {
    color: #4b5563;
    line-height: 1.6;
    margin: 0 0 0.8rem;
    font-size: 0.9rem;
}
.brevo-form__intro p:last-child { margin-bottom: 0; }
.brevo-form__intro strong {
    color: #b8941f;
    font-weight: 600;
    letter-spacing: 0.02em;
}

/* ===== Felder ===== */
.brevo-form__field {
    position: relative;
    margin-bottom: 1.4rem;
}
.brevo-form__label {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #6b7280;
    margin-bottom: 0.45rem;
    transition: color 0.2s ease;
    font-weight: 600;
}
.brevo-form__required { color: #b8941f; margin-left: 2px; }

.brevo-form__input {
    width: 100%;
    padding: 0.85rem 1rem;
    background: #f9fafb;
    border: 1px solid #d1d5db;
    color: #1a1a1c;
    font-size: 0.95rem;
    font-family: inherit;
    line-height: 1.4;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
    -webkit-appearance: none;
    appearance: none;
    border-radius: 0;
}
.brevo-form__input:focus {
    outline: none;
    border-color: #b8941f;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(184,148,31,0.12);
}
.brevo-form__input::placeholder { color: #9ca3af; }

.brevo-form__field--valid .brevo-form__input { border-color: #10b981; }
.brevo-form__field--invalid .brevo-form__input { border-color: #ef4444; }
.brevo-form__field--valid .brevo-form__label { color: #10b981; }
.brevo-form__field--invalid .brevo-form__label { color: #ef4444; }

.brevo-form__icon {
    position: absolute;
    right: 0.9rem;
    top: 2.15rem;
    width: 18px;
    height: 18px;
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
}
.brevo-form__field--valid .brevo-form__icon--check,
.brevo-form__field--invalid .brevo-form__icon--cross { opacity: 1; }

.brevo-form__error {
    display: block;
    font-size: 0.75rem;
    color: #ef4444;
    margin-top: 0.4rem;
    min-height: 1em;
    letter-spacing: 0.02em;
}
.brevo-form__error--block {
    margin-top: -0.5rem;
    margin-bottom: 1rem;
}

.brevo-form__row { display: flex; gap: 1rem; }
.brevo-form__row > .brevo-form__field { flex: 1; }
@media (max-width: 480px) {
    .brevo-form { padding: 1.5rem; }
    .brevo-form__row { flex-direction: column; gap: 0; }
}

/* ===== Custom Checkbox (DSGVO + Altcha einheitlich) ===== */
.brevo-form__check {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.9rem 1rem;
    margin-bottom: 1rem;
    background: #f9fafb;
    border: 1px solid #d1d5db;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
    font-size: 0.8rem;
    line-height: 1.5;
    color: #4b5563;
    user-select: none;
    position: relative;
}
.brevo-form__check:hover {
    border-color: #b8941f;
    background: #fdfaf2;
}
.brevo-form__check--checked {
    border-color: #b8941f;
    background: #fdf8e8;
}
.brevo-form__check--error {
    border-color: #ef4444;
    background: #fef2f2;
}
.brevo-form__check--loading { cursor: wait; opacity: 0.7; }
.brevo-form__check--verified {
    border-color: #10b981;
    background: #ecfdf5;
}

.brevo-form__check input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.brevo-form__check-box {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border: 1.5px solid #9ca3af;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    margin-top: 1px;
}
.brevo-form__check:hover .brevo-form__check-box {
    border-color: #b8941f;
}
.brevo-form__check--checked .brevo-form__check-box {
    border-color: #b8941f;
    background: #b8941f;
}
.brevo-form__check--verified .brevo-form__check-box {
    border-color: #10b981;
    background: #10b981;
}
.brevo-form__check-box svg {
    width: 14px;
    height: 14px;
    stroke: #ffffff;
    stroke-width: 3;
    fill: none;
    opacity: 0;
    transition: opacity 0.15s ease;
}
.brevo-form__check--checked .brevo-form__check-box svg,
.brevo-form__check--verified .brevo-form__check-box svg { opacity: 1; }

.brevo-form__check-label { flex: 1; }
.brevo-form__check-label a { color: #b8941f; text-decoration: underline; }
.brevo-form__check-label a:hover { color: #1a1a1c; }

.brevo-form__check-spinner {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border: 2px solid #e5e7eb;
    border-top-color: #b8941f;
    border-radius: 50%;
    animation: brevo-spin 0.8s linear infinite;
    display: none;
    margin-top: 1px;
}
.brevo-form__check--loading .brevo-form__check-spinner { display: block; }
.brevo-form__check--loading .brevo-form__check-box { display: none; }

@keyframes brevo-spin { to { transform: rotate(360deg); } }

.brevo-form__altcha-hidden {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

/* ===== Button ===== */
.brevo-form__button {
    display: block;
    width: 100%;
    padding: 1.05rem 1.5rem;
    background: #b8941f;
    color: #ffffff;
    border: none;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.15s ease, box-shadow 0.25s ease;
    font-family: inherit;
    border-radius: 0;
}
.brevo-form__button:hover {
    background: #1a1a1c;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
.brevo-form__button:active { transform: translateY(1px); }
.brevo-form__button:disabled { opacity: 0.5; cursor: not-allowed; }

/* ===== Success / General Error ===== */
.brevo-form__success {
    text-align: center;
    padding: 2.5rem 1.5rem;
    border: 1px solid #10b981;
    background: #ecfdf5;
    color: #065f46;
    font-size: 0.95rem;
    line-height: 1.6;
    letter-spacing: 0.02em;
}
.brevo-form__success-icon {
    display: block;
    font-size: 2.5rem;
    margin-bottom: 0.8rem;
    color: #10b981;
}
.brevo-form__success strong { color: #1a1a1c; }

.brevo-form__general-error {
    padding: 0.9rem 1rem;
    margin-bottom: 1.5rem;
    background: #fef2f2;
    border: 1px solid #ef4444;
    color: #991b1b;
    font-size: 0.85rem;
}

.brevo-form__honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}