/* Druck und Zauber — Saisonpost-Anmeldebox (partials/newsletter-form.php).
   Eigenständig: braucht nur die Tokens + .btn aus base.css, nicht shop.css. Zwei Varianten:
   .nl-box (hell, Startseite / /newsletter / Anlass-Seiten) und .nl-box.nl-compact (dunkler Footer, einzeilig). */

.nl-box { max-width: 640px; margin: 0 auto; text-align: left; }
.nl-title { font-size: clamp(1.5rem, 3vw, 2rem); margin: 0 0 0.6rem; }
.nl-intro { color: var(--gray); font-size: 1rem; line-height: 1.7; margin: 0 0 1.4rem; }
.nl-form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.8rem; }
.nl-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.nl-fields { display: grid; grid-template-columns: 1fr 1.4fr auto; gap: 0.8rem; align-items: end; }
.nl-field label { display: block; font-weight: 700; font-size: 0.95rem; margin-bottom: 0.35rem; }
.nl-optional { font-weight: 400; color: var(--gray-mid); font-size: 0.85rem; }
.nl-field input { width: 100%; min-height: 46px; padding: 0.7rem 0.95rem; border: 1px solid var(--border); border-radius: 12px; font: inherit; font-size: 1rem; background: #fff; color: var(--black); transition: border-color var(--dur-fast), box-shadow var(--dur-fast); }
.nl-field input:focus { outline: none; border-color: var(--mint); box-shadow: 0 0 0 3px var(--mint-pale); }
.nl-field input:focus-visible { outline: 2px solid var(--mint-dark); outline-offset: 2px; }
.nl-field input.is-invalid { border-color: #C0392B; }
.nl-submit { white-space: nowrap; }
.nl-check { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.9rem; color: var(--gray); line-height: 1.6; cursor: pointer; margin: 0; }
.nl-check input { margin-top: 0.3rem; accent-color: var(--mint-deep); flex: none; }
.nl-check a { color: var(--mint-text); font-weight: 700; }
.nl-hint { font-size: 0.82rem; color: var(--gray-mid); margin: 0; }
.nl-msg { margin: 0; padding: 0.8rem 1.2rem; border-radius: 0 12px 12px 0; border-left: 4px solid var(--mint); background: var(--mint-pale); color: var(--black); font-size: 0.92rem; line-height: 1.6; }
.nl-msg.is-error { border-left-color: var(--amber); background: var(--bg-alt); color: var(--gray); }
.nl-msg[hidden] { display: none; }
.nl-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nl-form.is-done .nl-fields, .nl-form.is-done .nl-check, .nl-form.is-done .nl-hint { display: none; }
@media (max-width: 640px) {
  .nl-fields { grid-template-columns: minmax(0, 1fr); }
  .nl-submit { width: 100%; }
}

/* ---- Kompakt im dunklen Footer (.site-footer: Schwarz, Text rgba(255,255,255,.65)) ---- */
.nl-compact { max-width: 560px; margin: 0.4rem auto 1.2rem; text-align: center; }
.nl-compact .nl-intro { color: rgba(255,255,255,0.75); font-size: 0.86rem; line-height: 1.7; margin-bottom: 0.9rem; }
.nl-compact .nl-form { gap: 0.6rem; }
.nl-compact .nl-fields { grid-template-columns: 1fr auto; gap: 0.5rem; align-items: stretch; }
.nl-compact .nl-field input { min-height: 44px; background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.25); color: #fff; }
.nl-compact .nl-field input::placeholder { color: rgba(255,255,255,0.5); }
.nl-compact .nl-field input:focus-visible { outline-color: var(--mint); }
.nl-compact .nl-field input:focus { border-color: var(--mint); box-shadow: 0 0 0 3px rgba(142,203,181,0.25); }
.nl-compact .nl-submit { background: var(--mint); color: var(--black); min-height: 44px; padding: 0.6rem 1.3rem; }
@media (hover: hover) { .nl-compact .nl-submit:hover { background: var(--mint-light); } }
.nl-compact .nl-check { color: rgba(255,255,255,0.7); font-size: 0.8rem; text-align: left; }
.nl-compact .nl-check input { accent-color: var(--mint); }
.nl-compact .nl-check a { color: var(--mint); }
.nl-compact .nl-hint { color: rgba(255,255,255,0.5); font-size: 0.78rem; }
.nl-compact .nl-msg { background: rgba(142,203,181,0.15); color: #fff; border-left-color: var(--mint); text-align: left; }
.nl-compact .nl-msg.is-error { background: rgba(224,169,62,0.15); border-left-color: var(--amber); color: #fff; }
@media (max-width: 480px) {
  .nl-compact .nl-fields { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .nl-field input { transition: none; } }
