/* =====================================================================
   mailing-list.css – Pop-up "Join our Mailing List" (Dez 2026)
   Das HTML erzeugt js/mailing-list.js. Anmeldung: mail-subscribe.php
   ===================================================================== */

/* Hülle: ohne Abdunkeln, Seite bleibt bedienbar; Einblenden mit leichtem Zoom */
.nl-wrap { position: fixed; inset: 0; z-index: 10000; display: flex; align-items: center; justify-content: center; padding: 20px;
  background: transparent; pointer-events: none; visibility: hidden; opacity: 0; transition: opacity .35s ease, visibility 0s linear .35s; }
.nl-wrap.nl-show { visibility: visible; opacity: 1; transition: opacity .35s ease; }

/* Fenster */
.nl-box { position: relative; width: 100%; max-width: 520px; padding: 64px 44px 58px; background: #fff; border-radius: 16px; text-align: left;
  box-shadow: 0 36px 84px rgba(0,0,0,.40), 0 9px 24px rgba(0,0,0,.17); pointer-events: auto;
  transform: scale(.92); opacity: 0; transition: transform .4s cubic-bezier(.2,.8,.3,1.1), opacity .35s ease; }
.nl-wrap.nl-show .nl-box { transform: scale(1); opacity: 1; }

.nl-close { position: absolute; top: 6px; right: 8px; width: 56px; height: 56px; padding: 0; font-size: 46px; line-height: 52px; color: #888; background: none; border: 0; cursor: pointer; }
.nl-close:hover { color: #000; }

.nl-box h2 { margin: 0 0 14px; font-family: 'Oswald', sans-serif; font-size: 36px; font-weight: 500; line-height: 1.05; letter-spacing: 0; text-transform: uppercase; color: #1b1b1b; text-align: left; }
.nl-box .nl-text { margin: 0 0 24px; font-family: 'Roboto', sans-serif; font-size: 16px; line-height: 1.5; color: #555; text-align: left; }

/* Formular */
.nl-form { margin: 0; }
.nl-row { display: flex; gap: 8px; }
.nl-form input[type=email] { flex: 1 1 auto; min-width: 0; margin: 0; padding: 11px 14px; font-family: 'Roboto', sans-serif; font-size: 16px; color: #222; background: #fff; border: 1px solid #bbb; border-radius: 8px; outline: none; }
.nl-form input[type=email]:focus { border-color: #1b1b1b; }
.nl-form input.nl-invalid { border-color: #e0004d; }
.nl-form button[type=submit] { flex: 0 0 auto; margin: 0; padding: 0 20px; font-family: 'Oswald', sans-serif; font-size: 17px; font-weight: 500; letter-spacing: .5px; text-transform: uppercase; color: #fff; background: #e0004d; border: 0; border-radius: 8px; cursor: pointer; }
.nl-form button[type=submit]:hover { background: #a20034; }
.nl-form button[type=submit]:disabled { opacity: .6; cursor: default; }

.nl-consent { display: flex; gap: 8px; align-items: flex-start; margin: 12px 0 0; font-family: 'Roboto', sans-serif; font-size: 13px; font-weight: 400; line-height: 1.4; color: #666; text-align: left; cursor: pointer; }
.nl-consent input { flex: 0 0 auto; width: 15px; height: 15px; margin: 2px 0 0; accent-color: #e0004d; cursor: pointer; }
.nl-consent input.nl-invalid { outline: 2px solid #e0004d; outline-offset: 1px; }
.nl-consent a, .nl-cookie a { color: #e0004d; text-decoration: none; }

.nl-error { display: none; margin: 10px 0 0; font-family: 'Roboto', sans-serif; font-size: 14px; color: #e0004d; text-align: left; }
.nl-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* nach dem Absenden */
.nl-thanks { display: none; margin: 0; font-family: 'Roboto', sans-serif; font-size: 16px; line-height: 1.5; text-align: left; }
.nl-done .nl-form { display: none; }
.nl-done .nl-thanks { display: block; }

/* Cookie-Hinweis unten */
.nl-cookie { margin-top: 28px; padding-top: 28px; border-top: 1px solid #ddd; text-align: left; }
.nl-cookie h4 { margin: 0 0 9px; font-family: 'Oswald', sans-serif; font-size: 16px; font-weight: 500; letter-spacing: .5px; text-transform: uppercase; color: #1b1b1b; text-align: left; }
.nl-cookie p { margin: 0; font-family: 'Roboto', sans-serif; font-size: 13px; line-height: 1.45; color: #666; text-align: left; }

@media (max-width: 479.98px) {
  .nl-box { padding: 46px 22px 38px; }
  .nl-box h2 { font-size: 28px; }
  .nl-row { flex-direction: column; }
  .nl-form button[type=submit] { padding: 11px; }
}
