form.bafa-form label {
  display: block;
  font-weight: 600;
  margin-top: 10px;
}

/* Oder ändere die allgemeine Regel: */
form.bafa-form input:not([type="checkbox"]):not([type="radio"]),
form.bafa-form select,
form.bafa-form textarea {
  width: 100%;
  padding: 6px;
  margin-top: 3px;
  border-radius: 10px;
  border: 1px solid #ccc;
  font-size: 1em;
}

form.bafa-form button {
  border-radius: 10px;
  padding: 10px 20px;
  background: #e63946;
  color: #fff;
  border: none;
  cursor: pointer;
  font-weight: bold;
}

form.bafa-form button:hover {
  background: #d62828;
}

form.bafa-form .row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -7.5px; /* negative margin */
}
form.bafa-form .row > div {
  padding: 0 7.5px; /* halber gap-Wert */
}

form.bafa-form .col-20 { flex: 0 0 20%; max-width: 20%; }
form.bafa-form .col-30 { flex: 0 0 30%; max-width: 30%; }
form.bafa-form .col-40 { flex: 0 0 40%; max-width: 40%; }
form.bafa-form .col-50 { flex: 0 0 50%; max-width: 50%; }
form.bafa-form .col-100 { flex: 0 0 100%; max-width: 100%; }

form.bafa-form span.error {
  color: red;
  font-size: 0.9em;
  display: block;
  margin-top: 3px;
}

form.bafa-form .inline-options {
  display: flex;
  gap: 20px;
}

form.bafa-form .inline-options label {
  display: flex !important;  /* Überschreibt das block */
  align-items: center;
  font-weight: normal;       /* Überschreibt das 600 */
  margin-top: 0;            /* Überschreibt das 10px */
  cursor: pointer;
}

form.bafa-form input[type="radio"] {
  width: auto;
  padding: 0;
  margin-top: 0;
  margin-right: 8px;
}

form.bafa-form small {
  display: block;
  margin-top: 4px;
  font-size: 0.85em;
  font-style: italic;
  color: #666;
}

/* Step-4 Checkboxen */
form.bafa-form .check-block {
  display: flex;
  align-items: flex-start;
  margin-bottom: 18px;
}

form.bafa-form .check-block input[type="checkbox"] {
  flex: 0 0 auto;
  transform: scale(1.4);
  margin-right: 10px;
  margin-top: 4px;
}

form.bafa-form .check-block label {
  display: inline !important;     /* nicht inline-block, sondern flex */
  flex: 1;                      /* nutzt den Restplatz */
  font-weight: normal;          /* überschreibt 600 */
  margin-top: 0;                /* entfernt 10px margin */
  align-items: flex-start;      /* Text oben neben Checkbox */
  line-height: 1.5;
  white-space: normal;          /* Zeilenumbruch erlauben */
}

form.bafa-form .check-block label ul {
  margin: 6px 0 0 18px;  /* Abstand links für die Bullets */
  padding: 0;
}

form.bafa-form .check-block label li {
  margin-bottom: 4px;
  line-height: 1.4;
}

.form-navigation {
  display: flex;
  justify-content: space-between;
  margin-top: 50px;
  margin-bottom: 50px;
}

.form-navigation .nav-left button {
  float: left;
}

.form-navigation .nav-right button {
  float: right;
}

.step-indicators {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 20px 0;
}

.step {
  display: flex;
  align-items: center;
  justify-content: center;
}

.step .icon {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.step.completed .icon {
  background: #e0e0e0;
  color: #444;
}

.step.active .icon {
  background: #c00;   /* z. B. rot für aktiv */
  color: #fff;
}

.step.inactive .icon {
  background: #444;
  color: #fff;
  opacity: 0.6;
}

.separator {
  flex: 1;
  height: 2px;
  background: #ccc;
  margin: 0 5px;
}



@media (max-width: 768px) {
  form.bafa-form .col-50,
  form.bafa-form .col-40,
  form.bafa-form .col-30,
  form.bafa-form .col-20 {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

#company-fields,
#natural-fields {
  display: none;
  transition: all 0.3s ease;
}

#company-fields.show,
#natural-fields.show {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
