/**
 * Electrisize Ticket-Finder — Styling
 */

.kf-finder {
  --kf-hot: var(--secondary);
  --kf-hot-dark: var(--secondary-dark);
  --kf-sun: var(--warning);
  --kf-paper: var(--accent);
  --kf-ink: var(--base);
  --kf-ink-soft: var(--tertiary);
}

/* Karte */
.kf-finder__card {
  position: relative;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  width: 100%;
}

/* Wird während des Step-Wechsels per JS gesetzt/entfernt */
.kf-finder__card.kf-is-transitioning {
  opacity: 0;
  transform: translateY(8px);
}
@media (prefers-reduced-motion: reduce) {
  .kf-finder__card { transition: none; }
}

/* Progress-Bar */
.kf-progress {
  display: flex;
  width: 100%;
  gap: 5px;
  margin-bottom: 24px;
}
.kf-progress__dot {
  height: 6px;
  flex: 1;
  border-radius: 4px;
  background: rgba(27, 19, 48, 0.12);
  transition: background 0.2s ease;
}
.kf-progress__dot.is-done {
  background: var(--kf-hot);
}

/* Zurück-Link */
.kf-back {
  align-self: flex-start;
  background: none;
  border: none;
  color: var(--kf-ink-soft);
  cursor: pointer;
  padding: 0;
  margin-bottom: var(--space-xs);
  font-size: var(--text-s);
}
.kf-back:hover { color: var(--kf-ink); }

/* Titel / Subtitel */
.kf-title {
  font-size: var(--h3);
  Color: var(--base);
  margin: 0 0 0.2em;
}
.kf-subtitle {
  color: var(--kf-ink-soft);
  line-height: 1.2;
  margin: 0 0 var(--space-xs);
  font-size: var(--text-s);
}

/* Antwort-Buttons */
.kf-options {
  display: flex;
  width: 100%;
  flex-direction: column;
  gap: var(--space-xs);
  margin-top: var(--space-m);
}
.kf-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-xs);
  text-align: left;
  width: 100%;
  background: white;
  border: 2px solid rgba(27, 19, 48, 0.1);
  color: var(--kf-ink);
  padding: 0.5em;
  border-radius: var(--radius);
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.12s ease, border-color 0.12s ease, box-shadow 0.12s ease;
}
.kf-option:hover {
  border-color: var(--kf-hot);
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(255, 62, 127, 0.18);
}
.kf-option__sub {
  display: block;
  font-weight: 400;
  font-size: var(--text-s);
  color: var(--kf-ink-soft);
}

/* Buttons (primary / ghost) */
.kf-btn {
  margin-top: 20px;
  width: 100%;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.12s ease, border-color 0.12s ease, color 0.12s ease;
}

/* Ergebnisliste */
.kf-result-list {
  list-style: none;
  width: 100%;
  margin: 0 0 4px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5em;
}
.kf-result-list__item {
  display: flex;
  align-items: flex-start;
  gap: 0.5em;
  background: rgba(27, 19, 48, 0.04);
  border-radius: var(--radius);
  padding: 0.5em;
  font-weight: 600;
}
.kf-result-list__tag {
  font-weight: 700;
  Font-size: var(--text-s);
  Line-height:1;
  color: var(--kf-ink-soft);
  display: block;
}
.kf-result-list__icon {
  line-height: 1;
}

/* Hinweis-Box (z.B. Young + VIP Ausnahme) */
.kf-note {
  background: #fff8e6;
  border: 1px solid #ffe08a;
  border-radius: var(--radius);
  padding: 12px 14px;
  color: var(--kf-sun);
  line-height: 1.5;
  margin-bottom: 16px;
}

/* Konfetti beim Ergebnis-Screen */
.kf-confetti-piece {
  position: fixed;
  top: -10px;
  z-index: 100000; /* über dem Bricks-Popup-Overlay */
  border-radius: 2px;
  pointer-events: none;
  animation: kf-fall linear forwards;
}
@keyframes kf-fall {
  to {
    transform: translateY(110vh) rotate(540deg);
    opacity: 0.9;
  }
}
