/* ============================================================
   HF-BOX – Hero Mini-Funnel im Referenz-Stil
   Dunkler Hintergrund, horizontale Karten, großer Weiter-Button
   ============================================================ */

.hf-box {
  background: #1a0a0d;
  border: 1.5px solid rgba(232,25,44,0.45);
  border-radius: 16px;
  padding: 24px 22px 22px;
  box-shadow: 0 0 32px rgba(232,25,44,0.18), 0 4px 24px rgba(0,0,0,0.5);
  width: 100%;
  max-width: 520px;
  margin-top: 18px;
  position: relative;
}

.hf-badge {
  display: inline-block;
  background: #e8192c;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  border-radius: 30px;
  padding: 5px 16px;
  margin-bottom: 18px;
}

.hf-box .hf-question {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 16px 0;
  line-height: 1.3;
}

/* ---- Optionen-Liste (horizontale Karten) ---- */
.hf-opts-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.hf-row-opt {
  display: block;
  cursor: pointer;
}

.hf-row-opt input {
  display: none;
}

.hf-row-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.06);
  border: 1.5px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  padding: 13px 16px;
  transition: all 0.18s ease;
  position: relative;
}

.hf-row-opt:hover .hf-row-inner {
  border-color: rgba(232,25,44,0.5);
  background: rgba(232,25,44,0.08);
}

.hf-row-opt input:checked ~ .hf-row-inner {
  border-color: #e8192c;
  background: rgba(232,25,44,0.15);
}

.hf-row-icon {
  font-size: 20px;
  flex-shrink: 0;
  width: 28px;
  text-align: center;
}

.hf-row-text {
  flex: 1;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
}

.hf-row-check {
  font-size: 14px;
  font-weight: 800;
  color: #e8192c;
  opacity: 0;
  transition: opacity 0.15s;
  flex-shrink: 0;
}

.hf-row-opt input:checked ~ .hf-row-inner .hf-row-check {
  opacity: 1;
}

.hf-row-radio {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.3);
  flex-shrink: 0;
  transition: all 0.15s;
}

.hf-row-opt input:checked ~ .hf-row-inner .hf-row-radio {
  border-color: #e8192c;
  background: #e8192c;
  box-shadow: 0 0 0 3px rgba(232,25,44,0.3);
}

/* ---- Weiter-Button (volle Breite, rot) ---- */
.hf-weiter {
  display: block;
  width: 100%;
  background: #e8192c;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  border: none;
  border-radius: 10px;
  padding: 15px 24px;
  cursor: pointer;
  transition: background 0.18s, transform 0.12s, box-shadow 0.18s;
  letter-spacing: 0.02em;
  margin-top: 4px;
}

.hf-weiter:hover:not(:disabled) {
  background: #c4111f;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(232,25,44,0.4);
}

.hf-weiter:disabled {
  background: rgba(232,25,44,0.35);
  cursor: not-allowed;
  color: rgba(255,255,255,0.5);
}

/* ---- Zurück-Button ---- */
.hf-back-btn {
  background: none;
  border: none;
  color: rgba(255,255,255,0.45);
  font-size: 13px;
  cursor: pointer;
  padding: 6px 0;
  margin-top: 8px;
  display: block;
  transition: color 0.15s;
}

.hf-back-btn:hover {
  color: rgba(255,255,255,0.8);
}

/* ---- Nav-Zeile (zurück + weiter nebeneinander) ---- */
.hf-nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 4px;
}

.hf-nav-row .hf-weiter {
  flex: 1;
  margin-top: 0;
}

/* ---- Inputs im Kontaktschritt ---- */
.hf-box .hf-input {
  display: block;
  width: 100%;
  background: rgba(255,255,255,0.07);
  border: 1.5px solid rgba(255,255,255,0.15);
  border-radius: 9px;
  color: #fff;
  font-size: 14px;
  padding: 12px 14px;
  margin-bottom: 10px;
  outline: none;
  transition: border-color 0.15s;
  box-sizing: border-box;
}

.hf-box .hf-input:focus {
  border-color: #e8192c;
}

.hf-box .hf-input::placeholder {
  color: rgba(255,255,255,0.35);
}

/* ---- Danke-Seite ---- */
.hf-box .hf-thankyou {
  text-align: center;
  padding: 20px 0;
}

.hf-box .hf-check {
  font-size: 40px;
  margin-bottom: 12px;
}

.hf-box .hf-thankyou h4 {
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 8px;
}

.hf-box .hf-thankyou p {
  color: rgba(255,255,255,0.55);
  font-size: 14px;
}

/* ---- Pfeil-Indikator zwischen Video und Funnel ---- */
.hf-arrow-indicator {
  display: flex;
  justify-content: center;
  margin: 10px 0 4px;
}

.hf-arrow-indicator svg {
  animation: hfBounce 1.4s ease-in-out infinite;
}

@keyframes hfBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* ---- Hidden ---- */
.hf-box .hidden {
  display: none !important;
}

/* ===== MOBILE HERO MINI-FUNNEL ===== */
@media (max-width: 768px) {
  .hf-box {
    max-width: 100% !important;
    padding: 18px 14px !important;
    border-radius: 14px !important;
    margin-top: 12px !important;
  }
  .hf-badge { font-size: 10px !important; padding: 4px 12px !important; margin-bottom: 12px !important; }
  .hf-box .hf-question { font-size: 16px !important; margin-bottom: 12px !important; }
  .hf-row-inner { padding: 11px 12px !important; gap: 10px !important; }
  .hf-row-icon { font-size: 18px !important; width: 24px !important; }
  .hf-row-text { font-size: 14px !important; }
  .hf-weiter { font-size: 15px !important; padding: 13px 18px !important; }
  .hf-box .hf-input { font-size: 16px !important; /* prevents iOS zoom */ }
  .hf-arrow-indicator { display: none !important; }
}
