/* Webinar-Anmeldung — Karten mit Formular, im Neelix-Stil (Sky/Grün) */
.nxw-anm {
  --nxw-ink: #0f172a; --nxw-muted: #64748b; --nxw-line: rgba(15,23,42,0.10);
  --nxw-sky: #0284c7; --nxw-sky2: #0ea5e9; --nxw-green: #22c55e; --nxw-soft: #f8fafc;
  display: grid; gap: 22px;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  width: min(1100px, 100%); margin: 0 auto; padding: 8px 0 40px;
  font-family: inherit; color: var(--nxw-ink);
}
.nxw-anm *, .nxw-anm *::before, .nxw-anm *::after { box-sizing: border-box; }

.nxw-anm-empty {
  grid-column: 1 / -1; text-align: center; padding: 48px 20px;
  background: var(--nxw-soft); border: 1px solid var(--nxw-line); border-radius: 16px;
}
.nxw-anm-empty h3 { margin: 0 0 6px; font-size: 1.2rem; }
.nxw-anm-empty p { margin: 0; color: var(--nxw-muted); }

.nxw-card {
  background: #fff; border: 1px solid var(--nxw-line); border-radius: 16px;
  box-shadow: 0 8px 30px rgba(15,23,42,0.07);
  display: flex; flex-direction: column; position: relative; overflow: hidden;
}
.nxw-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; z-index: 3;
  background: linear-gradient(90deg, var(--nxw-sky2), var(--nxw-green));
}
.nxw-card-media { width: 100%; aspect-ratio: 16 / 9; background: var(--nxw-soft); overflow: hidden; }
.nxw-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nxw-card-inner { padding: 22px; display: flex; flex-direction: column; flex: 1; }

/* „Kostenlos"-Badge (immer sichtbar, oben rechts) */
.nxw-free {
  position: absolute; top: 12px; right: 12px; z-index: 4;
  background: linear-gradient(135deg, var(--nxw-green), #16a34a); color: #fff;
  font-size: 0.75rem; font-weight: 800; letter-spacing: .02em;
  padding: 6px 13px; border-radius: 999px;
  box-shadow: 0 4px 12px rgba(34,197,94,0.4);
}

/* Anmelde-Zähler */
.nxw-card-count {
  font-size: 0.86rem; color: var(--nxw-sky); font-weight: 600; margin-bottom: 12px;
}
.nxw-card-count strong { font-weight: 800; }
.nxw-card-count--first { color: var(--nxw-muted); font-weight: 500; font-style: italic; }

.nxw-card-cats { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.nxw-cat-pill {
  font-size: 0.72rem; font-weight: 700; letter-spacing: .02em;
  background: rgba(14,165,233,0.12); color: var(--nxw-sky);
  padding: 4px 10px; border-radius: 999px;
}
.nxw-card-title { margin: 0 0 8px; font-size: 1.25rem; font-weight: 800; line-height: 1.25; }
.nxw-card-when {
  font-size: 0.92rem; font-weight: 600; color: var(--nxw-ink);
  background: var(--nxw-soft); border-radius: 10px; padding: 8px 12px; margin-bottom: 12px;
}
.nxw-card-desc { margin: 0 0 12px; font-size: 0.95rem; line-height: 1.5; color: var(--nxw-muted); }
.nxw-card-guests { font-size: 0.85rem; color: var(--nxw-sky); font-weight: 600; margin-bottom: 14px; }

.nxw-form { display: flex; flex-direction: column; gap: 12px; margin-top: auto; }
.nxw-field { display: flex; flex-direction: column; gap: 5px; font-size: 0.85rem; font-weight: 600; }
.nxw-field input {
  border: 1px solid var(--nxw-line); border-radius: 10px; padding: 12px 13px;
  font-size: 0.95rem; font-family: inherit; outline: none; font-weight: 400;
}
.nxw-field input:focus { border-color: var(--nxw-sky); box-shadow: 0 0 0 3px rgba(14,165,233,0.14); }
.nxw-consent {
  display: flex; gap: 9px; align-items: flex-start;
  font-size: 0.8rem; line-height: 1.45; color: var(--nxw-muted);
}
.nxw-consent input { margin-top: 2px; flex: 0 0 auto; width: 16px; height: 16px; }
.nxw-consent a { color: var(--nxw-sky); }
.nxw-submit {
  border: 0; border-radius: 11px; padding: 13px 18px;
  background: linear-gradient(135deg, var(--nxw-sky2), var(--nxw-sky));
  color: #fff; font-size: 0.98rem; font-weight: 700; cursor: pointer; font-family: inherit;
  box-shadow: 0 6px 18px rgba(2,132,199,0.28); transition: box-shadow .15s ease, transform .1s ease;
}
.nxw-submit:hover:not(:disabled) { box-shadow: 0 9px 26px rgba(2,132,199,0.4); }
.nxw-submit:active { transform: translateY(1px); }
.nxw-submit:disabled { opacity: .6; cursor: default; }

.nxw-form-msg { font-size: 0.85rem; min-height: 0; }
.nxw-form-msg.is-err { color: #b91c1c; font-weight: 600; }

.nxw-success {
  margin-top: auto; text-align: center; padding: 20px 12px;
  background: rgba(34,197,94,0.08); border: 1px solid rgba(34,197,94,0.28); border-radius: 14px;
}
.nxw-success-icon { font-size: 2rem; margin-bottom: 6px; }
.nxw-success h4 { margin: 0 0 6px; font-size: 1.05rem; }
.nxw-success p { margin: 0; font-size: 0.9rem; line-height: 1.5; color: var(--nxw-ink); }

@media (prefers-reduced-motion: reduce) {
  .nxw-submit { transition: none; }
}
