/* Landingpage · Gestaltung wie flottentermine.netlify.app.
   Die Akzentfarben kommen je Kampagne aus /<slug>/theme.css. */
:root {
  --red:      #C41230;
  --red-dk:   #9B0D24;
  --red-pale: #fdf0f2;
  --dark:     #222222;
  --text:     #333333;
  --muted:    #666666;
  --border:   #e8e8e8;
  --bg:       #ffffff;
  --bg-page:  #f7f7f7;
  --green:    #1a7a36;
  --radius:   8px;
  --shadow:   0 1px 10px rgba(0,0,0,0.08);
  --max-w:    760px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  background: var(--bg-page);
  color: var(--text);
  font-size: 15px;
  line-height: 1.7;
}
img { display: block; max-width: 100%; height: auto; }

/* ── Kopfzeile ─────────────────────────────────────────────── */
header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 14px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header-logos { display: flex; align-items: center; gap: 18px; }
.logo-organizer img { height: 36px; width: auto; }
.logo-sep { width: 1px; height: 28px; background: var(--border); }
.logo-event img { height: 40px; width: auto; }
.logo-text { font-weight: 800; color: var(--dark); font-size: 1.05rem; }

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
  background: var(--red);
  color: #fff;
  text-align: center;
  padding: 52px 24px 44px;
}
.hero .label {
  display: inline-block;
  background: rgba(255,255,255,0.18);
  border-radius: 50px;
  padding: 4px 16px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 28px;
}
.hero-chips { display: inline-flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.30);
  border-radius: 50px;
  padding: 6px 16px;
  font-size: 0.84rem;
  color: #fff;
}
.chip svg { width: 14px; height: 14px; fill: #fff; opacity: 0.85; flex-shrink: 0; }

/* ── Inhalt ────────────────────────────────────────────────── */
main { max-width: var(--max-w); margin: 0 auto; padding: 0 20px 40px; }

.card {
  background: var(--bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  padding: 28px 30px;
  margin-top: 24px;
}
.card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.card-title::before {
  content: '';
  display: block;
  width: 4px;
  height: 18px;
  background: var(--red);
  border-radius: 2px;
  flex-shrink: 0;
}
.card p { color: var(--muted); font-size: 0.94rem; margin-bottom: 8px; }
.card p:last-child { margin-bottom: 0; }

/* ── Fachbesucher ──────────────────────────────────────────── */
.fach-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 18px; }
.fach-box { border-radius: var(--radius); padding: 16px 18px; font-size: 0.88rem; }
.fach-box.yes { background: #edf7f0; border: 1px solid #b8dfc5; }
.fach-box.no  { background: var(--red-pale); border: 1px solid #f0c0c8; }
.fach-head {
  display: flex;
  align-items: center;
  gap: 7px;
  font-weight: 700;
  font-size: 0.88rem;
  margin-bottom: 10px;
}
.fach-box.yes .fach-head { color: #1a5c30; }
.fach-box.no  .fach-head { color: #8b1022; }
.fach-dot {
  width: 20px; height: 20px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.fach-box.yes .fach-dot { background: #1a5c30; }
.fach-box.no  .fach-dot { background: #8b1022; }
.fach-dot svg { width: 11px; height: 11px; fill: #fff; }
.fach-list { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.fach-list li { display: flex; gap: 8px; color: var(--text); line-height: 1.4; font-size: 0.87rem; }
.fach-list li::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  margin-top: 6px;
  flex-shrink: 0;
}
.fach-box.yes .fach-list li::before { background: #1a5c30; }
.fach-box.no  .fach-list li::before { background: #8b1022; }

/* ── Voucher-Hinweis ───────────────────────────────────────── */
.voucher-info {
  background: #f0f4ff;
  border: 1px solid #c0cff0;
  border-radius: var(--radius);
  padding: 16px 20px;
  font-size: 0.92rem;
  color: var(--text);
  margin-top: 24px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.voucher-info-icon {
  width: 36px; height: 36px;
  background: #1a2c7a;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.voucher-info-icon svg { width: 18px; height: 18px; fill: #fff; }

/* ── Kennzahlen ────────────────────────────────────────────── */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 18px; }
.stat {
  text-align: center;
  padding: 16px 8px;
  background: var(--bg-page);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.stat .num { font-size: 1.4rem; font-weight: 800; color: var(--red); line-height: 1; }
.stat .lbl { font-size: 0.75rem; color: var(--muted); margin-top: 4px; }

/* ── Vorteile ──────────────────────────────────────────────── */
.benefits { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 18px; }
.benefit { display: flex; align-items: flex-start; gap: 11px; }
.b-icon {
  width: 36px; height: 36px;
  background: var(--red-pale);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.b-icon svg { width: 17px; height: 17px; fill: var(--red); }
.benefit strong { display: block; font-size: 0.88rem; color: var(--dark); margin-bottom: 2px; }
.benefit span   { font-size: 0.82rem; color: var(--muted); line-height: 1.4; }

/* ── Button-Karte ──────────────────────────────────────────── */
.cta-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 34px 30px;
  text-align: center;
  margin-top: 24px;
  border-top: 3px solid var(--red);
}
.cta-card h2 { font-size: 1.2rem; font-weight: 800; color: var(--dark); margin-bottom: 8px; }
.cta-card > p { color: var(--muted); font-size: 0.93rem; margin-bottom: 24px; }
#turnstile { display: flex; justify-content: center; }
#turnstile:not(:empty) { margin-bottom: 18px; }
#cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--red);
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  padding: 13px 34px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  box-shadow: 0 3px 12px rgba(0,0,0,0.18);
  transition: background 0.18s, transform 0.14s;
}
#cta-btn:hover:not(:disabled) { background: var(--red-dk); transform: translateY(-1px); }
#cta-btn:focus-visible { outline: 3px solid var(--dark); outline-offset: 3px; }
#cta-btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }
#cta-btn svg { width: 18px; height: 18px; fill: #fff; }

.spinner {
  width: 18px; height: 18px;
  border: 2px solid rgba(255,255,255,0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.65s linear infinite;
  display: none;
}
#cta-btn.loading .lbl     { display: none; }
#cta-btn.loading .spinner { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }

#status {
  margin-top: 16px;
  padding: 11px 16px;
  border-radius: var(--radius);
  font-size: 0.90rem;
  font-weight: 500;
  display: none;
}
#status.ok  { background: #edf7f0; color: #1a5c30; border: 1px solid #b8dfc5; display: block; }
#status.err { background: var(--red-pale); color: #8b1022; border: 1px solid #f0c0c8; display: block; }
#status.inf { background: #f0f4ff; color: #1a2c7a; border: 1px solid #c0cff0; display: block; }

.cta-note { font-size: 0.75rem; color: var(--muted); margin-top: 12px; }

/* Honeypot – für echte Besucher unsichtbar */
.hp-trap {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

/* ── Fußzeile ──────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  background: #fff;
  text-align: center;
  padding: 18px 24px;
  font-size: 0.78rem;
  color: var(--muted);
}
footer a { color: var(--muted); }
footer a:hover { color: var(--red); }

@media (max-width: 560px) {
  header { padding: 12px 16px; }
  .fach-grid, .benefits { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .card, .cta-card { padding: 20px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  #cta-btn { transition: none; }
  .spinner { animation-duration: 1.5s; }
}
