/* ---------- Bau-Anfrage Funnel (Multistep-Formular) ---------- */
.ks-funnel-wrap {
  padding: 40px 0;
}
.ks-funnel {
  max-width: 720px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 12px;
  padding: 32px 20px;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.07);
}
.ks-funnel-intro {
  text-align: center;
  margin-bottom: 20px;
}
.ks-funnel-intro h2 {
  margin: 0 0 8px;
  font-size: 24px;
  color: #1a1a1a;
}
.ks-funnel-intro p {
  color: #555;
  margin: 0;
}
.ks-funnel-progress-track {
  background: #eef2f5;
  border-radius: 999px;
  height: 8px;
  margin: 20px 0 8px;
  overflow: hidden;
}
.ks-funnel-progress-bar {
  background: #0063af;
  height: 100%;
  width: 20%;
  transition: width 0.3s ease;
  border-radius: 999px;
}
.ks-funnel-progress-label {
  text-align: center;
  font-size: 13px;
  color: #888;
  margin-bottom: 20px;
}
.ks-funnel-step h3 {
  text-align: center;
  font-size: 19px;
  margin: 0 0 20px;
  color: #1a1a1a;
}
.ks-funnel-choices {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 20px;
}
.ks-funnel-choice {
  display: block;
  width: 100%;
  background: #f7f9fa;
  border: 2px solid #e6e6e6;
  border-radius: 8px;
  padding: 16px;
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
  cursor: pointer;
  text-align: center;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.ks-funnel-choice:hover,
.ks-funnel-choice:focus {
  border-color: #0063af;
  outline: none;
}
.ks-funnel-choice.is-selected {
  border-color: #0063af;
  background: #eaf2fa;
  color: #0063af;
}
.ks-funnel-field {
  margin-bottom: 20px;
}
.ks-funnel-field label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: #1a1a1a;
}
.ks-funnel-field input[type="text"] {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid #e6e6e6;
  border-radius: 8px;
  font-size: 16px;
  box-sizing: border-box;
}
.ks-funnel-field input[type="text"]:focus {
  border-color: #0063af;
  outline: none;
}
.ks-funnel-error {
  display: none;
  color: #c0392b;
  font-size: 14px;
  margin-top: 6px;
}
.ks-funnel-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
}
.ks-funnel-back {
  background: none;
  border: none;
  color: #666;
  font-size: 14px;
  cursor: pointer;
  padding: 8px 0;
}
.ks-funnel-back:hover,
.ks-funnel-back:focus {
  color: #0063af;
  text-decoration: underline;
  outline: none;
}
.ks-funnel-next {
  background: #0063af;
  color: #fff !important;
  border: none;
  border-radius: 8px;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}
.ks-funnel-next:hover,
.ks-funnel-next:focus {
  background: #004d87;
}

/* Step 5 (real form fields, moved here via JS) reuses Bootstrap form-control markup already loaded site-wide */
.ks-funnel-step-5 .form-group {
  margin-bottom: 16px;
}
.ks-funnel-step-5 label {
  font-weight: 600;
  color: #1a1a1a;
}
.ks-funnel-step-5 input[type="text"],
.ks-funnel-step-5 input[type="email"] {
  border: 2px solid #e6e6e6;
  border-radius: 8px;
  padding: 12px 14px;
  height: auto;
  box-shadow: none;
}
.ks-funnel-step-5 input[type="text"]:focus,
.ks-funnel-step-5 input[type="email"]:focus {
  border-color: #0063af;
  box-shadow: none;
}
.ks-funnel-step-5 input[type="submit"],
.ks-funnel-step-5 button[type="submit"] {
  background: #0063af !important;
  border-color: #0063af !important;
  color: #fff !important;
  border-radius: 8px;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}
.ks-funnel-step-5 input[type="submit"]:hover,
.ks-funnel-step-5 button[type="submit"]:hover {
  background: #004d87 !important;
  border-color: #004d87 !important;
}
.ks-funnel-honeypot-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.ks-funnel-success {
  text-align: center;
  padding: 20px 0;
}

@media (min-width: 576px) {
  .ks-funnel-choices {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 768px) {
  .ks-funnel {
    padding: 40px 36px;
  }
}
