/* Alle Klassen beginnen mit spf_ */

.spf_container {
  padding: 0.75rem;
  border: 1px solid #eee;
  border-radius: 10px;
  background: #fff;
}

.spf_text {
  margin: 0 0 0.5rem 0;
  line-height: 1.45;
}

.spf_frage {
  font-weight: 700;
}

.spf_question {
  margin: 0.85rem 0;
  width:100%;
  padding: 0.75rem;
  border: 1px solid #eee;

  border-radius: 10px;
/*  background: #fafafa;*/
/*  background: #f6f4ec;*/
  background: #f0e9d2;

}

.spf_question_head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.spf_question_meta {
  opacity: .6;
  font-size: .9em;
}

/* Optionen als „Pills“ */
.spf_options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.spf_option {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.65rem;
  border: 1px solid #ddd;
  border-radius: 999px;
  cursor: pointer;
  user-select: none;
/*  background: #ffffff;*/
  background: #fdfbf5;
  transition: background .15s ease, border-color .15s ease, box-shadow .15s ease;
}

.spf_option:hover {
  background: #f2f2f2;
  border-color: #ccc;
}

@media (max-width: 480px) {
  .spf_options .spf_option:nth-child(2) {
    font-size: 0.9em !important;
  }
}



.spf_radio {
  /* Standard-Radio sichtbar lassen (Barrierefreiheit), aber minimal */
  width: 1em;
  height: 1em;
  margin: 0;
}

.spf_option_label {
  font-size: 0.95em;
}

/* Checked-Zustand visuell hervorheben */
.spf_radio:checked + .spf_option_label,
.spf_option input.spf_radio:checked + .spf_option_label {
  font-weight: 500;
}

@media (max-width: 480px) {
  .spf_options .spf_option,
  .spf_options .spf_option:has(.spf_radio:checked),
  .spf_options .spf_radio:checked + .spf_option_label {
    font-size: 0.9em !important;  /* 10 % kleiner als Theme */
  }
} /* <<< DIESE Klammer fehlte */
  
.spf_option:has(.spf_radio:checked) {
  background: #f7faff;
  border-color: #a3c4ff;
  box-shadow: 0 0 0 3px rgba(163, 196, 255, 0.25);
}

  
  
/* Tastaturfokus klar zeigen */
.spf_radio:focus-visible + .spf_option_label,
.spf_option:focus-within {
  outline: none;
  box-shadow: 0 0 0 3px rgba(50, 115, 220, 0.25);
  border-color: #3273dc;
}

/* Demo: nur beige Schrift + fett (bestehend) */
.spf_infobox {
  color: beige;
  font-weight: bold;
}
/* Button Container zentrieren */
.spf_form {
  text-align: center;
  margin-top: 1rem;
}

/* CTA-Button */
.spf_form .spf_btn {
  display: inline-block;
  font-size: 1.1rem;          /* größere Schrift */
  font-weight: 600;
  padding: 0.8rem 1.6rem;     /* mehr Luft */
  border: none;
  border-radius: 999px;       /* pillenförmig */
  background: linear-gradient(135deg, #4e8cff, #3273dc);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 3px 6px rgba(0,0,0,0.1);
  transition: all 0.2s ease;
}

.spf_form .spf_btn:hover {
  background: linear-gradient(135deg, #6ea1ff, #3273dc);
  transform: translateY(-2px);
  box-shadow: 0 5px 12px rgba(0,0,0,0.15);
}

.spf_form .spf_btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}


.spf_result ul {
  margin: 0.5rem 0 1rem;
  padding-left: 1.2rem;
}



/* Zentrierung der Form-Buttons */
.spf_form { text-align: center; margin-top: 1rem; }

/* Primärer CTA */
.spf_btn {
  display: inline-block;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 0.8rem 1.6rem;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #4e8cff, #3273dc);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 3px 6px rgba(0,0,0,0.1);
  transition: all .2s ease;
}
.spf_btn:hover { background: linear-gradient(135deg, #6ea1ff, #3273dc); transform: translateY(-2px); }
.spf_btn:active { transform: translateY(0); }



/* ===== Lead-Phase (Hinweis + Formular) — CLEAN ===== */

/* Lead-Container */
.spf_lead_box {
  max-width: 720px;
  margin: 1.25rem auto 0;
  padding: 1.25rem 1.5rem;
  border: 1px solid #e9eef5;
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #fafbff 100%);
  box-shadow: 0 6px 16px rgba(0,0,0,0.05);
  text-align: left; /* wichtig: Inhalte links ausrichten */
}

/* Nur die erste Hinweiszeile zentrieren */
.spf_lead_box .spf_text:first-of-type {
  text-align: center;
  font-size: 1.05rem;
  margin-bottom: 1rem;
}
.spf_lead_box .spf_text:first-of-type strong {
  font-size: 1.15rem;
}

/* EINSPALTIG – Vorname, Nachname, E-Mail untereinander */
.spf_row {
  display: block;            /* KEIN grid/flex hier */
  margin-bottom: 0.9rem;
}
.spf_row .spf_label {
  display: block;
  margin-bottom: 0.9rem;     /* Abstand zwischen Feldern */
}

/* Label & Input */
.spf_label {
  font-weight: 600;
  color: #4a5568;
}
.spf_input {
  width: 100%;
  margin-top: 0.35rem;
  padding: 1rem 1.1rem;           /* „mehr Pudding“ */
  border: 1px solid #d9e2ec;
  border-radius: 14px;
  background: #fff;
  font-size: 1.05rem;
  line-height: 1.4;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.spf_input:focus {
  outline: none;
  border-color: #8db2ff;
  box-shadow: 0 0 0 4px rgba(141,178,255,.25);
}

/* DSGVO-Zeile: links, bricht sauber um */
.spf_check {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  text-align: left;
  margin: 0.6rem 0 1.1rem;
  color: #4a5568;
  line-height: 1.45;
  flex-wrap: wrap;                     /* langer Text darf umbrechen */
}
.spf_check input[type="checkbox"] {
  /* Checkbox leicht vergrößern & weicher */
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.2rem;
  accent-color: #3273dc;               /* moderne Browser */
  border-radius: 6px;                   /* fallback, falls accent ignoriert */
}

/* Links im Lead-Block */
.spf_lead_box a {
  color: #3273dc;
  text-decoration: none;
  border-bottom: 1px solid rgba(50,115,220,.35);
}
.spf_lead_box a:hover {
  border-bottom-color: rgba(50,115,220,.75);
}

 
 


/* Notices hübsch mittig halten */
.spf_notice { max-width: 720px; margin: 0.5rem auto 0.75rem; }
.spf_notice_info { background: #f7faff; border: 1px solid #cfe1ff; }

