/* Foren Freebie & Laufband – self-contained Styles (Präfix fw-, damit nichts mit dem Forum-Theme kollidiert). */
.fw-freebie, .fw-freebie *, .fw-pop, .fw-pop *, .fw-annbar, .fw-annbar * { box-sizing: border-box; }

:root {
  --fw-brand: #0b62f0;
  --fw-cta: #16a34a;
  --fw-cta2: #22c55e;
  --fw-ink: #0f172a;
  --fw-muted: #64748b;
  --fw-line: #e5e7eb;
  --fw-radius: 14px;
}

/* Honeypot – für Menschen unsichtbar */
.fw-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

/* ---------- Freebie-Box ---------- */
.fw-freebie {
  border: 1px solid var(--fw-line); border-radius: var(--fw-radius); background: #fff;
  padding: 16px; margin: 0 0 12px; max-width: 420px; box-shadow: 0 8px 24px rgba(2, 6, 23, .08);
  font: 15px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; color: var(--fw-ink); text-align: left;
}
.fw-freebie__cover { display: block; width: 130px; max-width: 45%; height: auto; margin: 0 auto 12px; border-radius: 10px; box-shadow: 0 6px 18px rgba(2, 6, 23, .18); }
.fw-freebie__tag { display: inline-block; font-size: 12px; font-weight: 700; color: var(--fw-cta); background: rgba(22, 163, 74, .10); border-radius: 999px; padding: 3px 10px; margin-bottom: 8px; }
.fw-freebie__title { font-size: 18px; font-weight: 800; line-height: 1.25; margin-bottom: 6px; }
.fw-freebie__hook { color: var(--fw-muted); font-size: 14px; margin-bottom: 10px; }
.fw-freebie__benefits { list-style: none; margin: 0 0 12px; padding: 0; }
.fw-freebie__benefits li { position: relative; padding-left: 22px; margin: 5px 0; font-size: 14px; }
.fw-freebie__benefits li::before { content: "✓"; position: absolute; left: 0; color: var(--fw-cta); font-weight: 800; }
.fw-freebie__form { display: grid; gap: 8px; }
.fw-freebie__input { width: 100%; padding: 11px 13px; border: 1px solid var(--fw-line); border-radius: 10px; font-size: 15px; color: var(--fw-ink); background: #fff; }
.fw-freebie__input:focus { outline: 3px solid color-mix(in srgb, var(--fw-brand) 25%, transparent); border-color: var(--fw-brand); }
.fw-freebie__btn { width: 100%; padding: 12px 16px; border: 0; border-radius: 10px; cursor: pointer; font-size: 15px; font-weight: 800; color: #fff; background: linear-gradient(180deg, var(--fw-cta2), var(--fw-cta)); box-shadow: 0 6px 16px rgba(22, 163, 74, .28); }
.fw-freebie__btn:hover { filter: brightness(1.05); }
.fw-freebie__btn:disabled { opacity: .7; cursor: default; }
.fw-freebie__error { color: #dc2626; font-size: 13px; font-weight: 600; }
.fw-freebie__fine { color: var(--fw-muted); font-size: 12px; text-align: center; }
.fw-freebie__done { text-align: center; background: rgba(22, 163, 74, .08); border: 1px solid rgba(22, 163, 74, .3); border-radius: 10px; padding: 16px; font-size: 15px; line-height: 1.5; }

/* ---------- Pop-up ---------- */
.fw-pop { position: fixed; inset: 0; z-index: 2147483000; display: flex; align-items: center; justify-content: center; padding: 16px; }
.fw-pop__backdrop { position: absolute; inset: 0; background: rgba(2, 6, 23, .55); backdrop-filter: blur(2px); }
.fw-pop__card { position: relative; z-index: 1; background: #fff; border-radius: 18px; box-shadow: 0 24px 70px rgba(2, 6, 23, .45); width: 100%; max-width: 440px; padding: 22px; animation: fw-pop-in .22s ease; }
@keyframes fw-pop-in { from { transform: translateY(12px) scale(.98); opacity: 0; } to { transform: none; opacity: 1; } }
.fw-pop__close { position: absolute; top: 8px; right: 10px; width: 34px; height: 34px; border: 0; background: transparent; font-size: 26px; line-height: 1; color: var(--fw-muted); cursor: pointer; border-radius: 8px; }
.fw-pop__close:hover { background: rgba(2, 6, 23, .06); color: var(--fw-ink); }
.fw-pop__inner .fw-freebie { border: 0; box-shadow: none; padding: 4px; margin: 0; max-width: none; }
.fw-pop__inner .fw-freebie__cover { width: 150px; }

/* ---------- Laufband (Marquee) ---------- */
.fw-annbar { position: relative; display: flex; overflow: hidden; width: 100%; background: linear-gradient(90deg, #dc2626, #b91c1c); color: #fff; }
.fw-annbar__vp { flex: 1; overflow: hidden; display: flex; }
.fw-annbar__track { display: flex; width: max-content; animation: fw-scroll 40s linear infinite; }
.fw-annbar:hover .fw-annbar__track { animation-play-state: paused; }
.fw-annbar__row { display: flex; align-items: center; flex-shrink: 0; }
.fw-annbar__item { display: inline-flex; align-items: center; gap: 8px; padding: 9px 28px; font-size: 14px; font-weight: 600; color: #fff; text-decoration: none; white-space: nowrap; border-right: 1px solid rgba(255, 255, 255, .22); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }
a.fw-annbar__item:hover { text-decoration: underline; color: #fff; }
.fw-annbar__ic { font-size: 15px; }
@keyframes fw-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .fw-annbar__track { animation: none; } }
