/* Wrapper ist #festival-application-root, wird per Shortcode gerendert */
#festival-application-root {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 16px;
  font-family: inherit;
  color: inherit;
}

/* Card */
.fa-card {
  max-width: 760px;
  margin: 0 auto; /* zentriert */
  padding: 22px 22px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(0,0,0,0.55);
  box-shadow: 0 10px 26px rgba(0,0,0,0.35);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.fa-card h3 {
  margin: 0 0 10px 0;
  font-size: 28px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: 0.2px;
  color: #fff;
}

.fa-card p {
  margin: 0 0 14px 0;
  opacity: 0.92;
}

/* Hint box (für Typ-Hinweise + Frage-Hinweise) */
.fa-hint {
  margin: 12px 0 6px 0;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.92);
  line-height: 1.35;
}

/* Intro (Step 1) */
.fa-intro {
  text-align: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.18);
}

.fa-intro h3 {
  margin: 0 0 0.25rem 0;
}

.fa-intro h2 {
  margin: 0 0 0.5rem 0;
  color: #fff;
}

.fa-intro p {
  margin: 0;
  opacity: 0.85;
}

/* Type buttons wrapper (Step 1) */
.fa-type-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

/* Fields */
.fa-field {
  display: block;
  margin-top: 14px;
}

.fa-field span {
  display: block;
  margin-bottom: 8px;
  font-weight: 650;
  color: rgba(255,255,255,0.9);
}

.fa-field input,
.fa-field textarea,
.fa-field select {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.06);
  color: #fff;
  outline: none;
  transition: border-color 120ms ease, background 120ms ease, box-shadow 120ms ease;
}

.fa-field textarea {
  min-height: 120px;
  resize: vertical;
}

.fa-field input::placeholder,
.fa-field textarea::placeholder {
  color: rgba(255,255,255,0.55);
}

.fa-field input:focus,
.fa-field textarea:focus,
.fa-field select:focus {
  border-color: rgba(255,255,255,0.42);
  background: rgba(255,255,255,0.09);
  box-shadow: 0 0 0 3px rgba(255,255,255,0.08);
}

/* Buttons row (Weiter/Zurück) */
.fa-row {
  display: flex;
  gap: 10px;
  margin-top: 18px;
  flex-wrap: wrap;
}

/* Buttons */
.fa-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.22);

  background: rgba(255,255,255,0.10);
  color: #fff;

  cursor: pointer;
  user-select: none;
  text-decoration: none;

  font-weight: 700;
  transition: transform 80ms ease, background 120ms ease, border-color 120ms ease, opacity 120ms ease;
}

.fa-btn:hover {
  background: rgba(255,255,255,0.16);
  border-color: rgba(255,255,255,0.32);
}

.fa-btn:active {
  transform: translateY(1px);
}

.fa-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

/* Secondary button */
.fa-btn-secondary {
  background: transparent;
  border-color: rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.9);
}

.fa-btn-secondary:hover {
  background: rgba(255,255,255,0.08);
}

/* Consent */
.fa-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 14px;
  color: rgba(255,255,255,0.9);
}

/* Multiselect / Radio as checkbox-list */
.fa-checklist {
  margin-top: 10px;
  display: grid;
  gap: 10px;
}

.fa-check {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.04);
  border-radius: 10px;
}

/* ==== FIX: Checkbox/Radio stabil und sichtbar auf Mobile + Desktop ==== */
.fa-check input[type="checkbox"],
.fa-check input[type="radio"],
.fa-consent input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  margin: 0;
  border: 1px solid rgba(255,255,255,0.55);
  background: rgba(255,255,255,0.06);
  display: grid;
  place-content: center;
}

.fa-check input[type="checkbox"],
.fa-consent input[type="checkbox"] {
  border-radius: 4px;
}

.fa-check input[type="radio"] {
  border-radius: 50%;
}

/* Häkchen / Punkt */
.fa-check input[type="checkbox"]::before,
.fa-consent input[type="checkbox"]::before {
  content: "";
  width: 10px;
  height: 6px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
  opacity: 0;
}

.fa-check input[type="radio"]::before {
  content: "";
  width: 10px;
  height: 10px;
  background: #fff;
  border-radius: 50%;
  opacity: 0;
}

.fa-check input[type="checkbox"]:checked::before,
.fa-consent input[type="checkbox"]:checked::before,
.fa-check input[type="radio"]:checked::before {
  opacity: 1;
}

/* Focus sichtbar */
.fa-check input[type="checkbox"]:focus,
.fa-check input[type="radio"]:focus,
.fa-consent input[type="checkbox"]:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255,255,255,0.12);
}

/* Group (mehrere Felder innerhalb einer Frage) */
.fa-group {
  margin-top: 10px;
  display: grid;
  gap: 12px;
}

.fa-group .fa-field {
  margin-top: 0;
}

/* Small screens */
@media (max-width: 520px) {
  .fa-card {
    padding: 16px 14px;
  }

  .fa-card h3 {
    font-size: 22px;
  }

  .fa-row {
    flex-direction: column;
  }

  .fa-btn {
    width: 100%;
  }
}

