/* Newsletter-Anmeldung (Brevo, Double-Opt-in). Gestaltung passend zu style.css. */

.newsletter { background: var(--blau-nebel); }
.newsletter .wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.newsletter .einleitung p { color: #3D5678; }
.newsletter .einleitung .hinweis-doi { font-size: .92rem; color: #4E6584; border-left: 3px solid var(--blau-hell); padding-left: 14px; margin-top: 22px; }

.nl-karte {
  background: var(--weiss); border-radius: var(--radius); padding: clamp(26px, 4vw, 42px);
  box-shadow: 0 1px 0 rgba(29,59,97,.08), 0 20px 50px -30px rgba(29,59,97,.35);
}
.nl-feld { margin-bottom: 18px; }
.nl-feld label { display: block; font-size: .82rem; font-weight: 600; letter-spacing: .06em; color: var(--blau); margin-bottom: 6px; }
.nl-feld label .frei { font-weight: 400; color: #4E6584; letter-spacing: 0; }
.nl-feld input[type="email"], .nl-feld input[type="text"] {
  width: 100%; min-height: 48px; padding: 12px 14px; font: inherit; font-size: 1rem; color: var(--blau);
  border: 1px solid #b9c6d8; border-radius: 6px; background: #fff; transition: border-color .2s, box-shadow .2s;
}
.nl-feld input:focus { outline: none; border-color: var(--blau); box-shadow: 0 0 0 3px rgba(29,59,97,.15); }
.nl-feld input[aria-invalid="true"] { border-color: #b3261e; }
.nl-fehler { display: block; min-height: 1.2em; margin-top: 5px; font-size: .85rem; color: #b3261e; }
.nl-fehler:empty { min-height: 0; margin: 0; }

.nl-einwilligung { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: .9rem; color: #3D5678; line-height: 1.5; cursor: pointer; }
.nl-einwilligung input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--blau); cursor: pointer; }
.nl-einwilligung a { color: var(--blau); }

/* verstecktes Feld gegen Spam-Programme, Menschen sehen es nicht */
.nl-falle { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.nl-senden { margin-top: 8px; width: 100%; justify-content: center; cursor: pointer; font-family: inherit; }
.nl-senden[disabled] { opacity: .6; cursor: wait; }

.nl-meldung { border-radius: 6px; padding: 16px 18px; margin-top: 18px; font-size: .95rem; line-height: 1.5; }
.nl-meldung[hidden] { display: none; }
.nl-meldung.ok { background: #e7f1ea; color: #1e4d2b; border: 1px solid #b7d6c0; }
.nl-meldung.fehler { background: #fbeaea; color: #8a1c17; border: 1px solid #efc2bf; }
.nl-meldung.test { background: #fff6d6; color: #6b4e00; border: 1px solid #f0dc94; }
.nl-meldung strong { display: block; margin-bottom: 4px; }

@media (max-width: 960px) {
  .newsletter .wrap { grid-template-columns: 1fr; }
}
/* Einwilligungstext normal statt fett (überschreibt .nl-feld label) */
.nl-feld label.nl-einwilligung { display: grid; font-size: .9rem; font-weight: 400; letter-spacing: 0; color: #3D5678; margin-bottom: 0; }
