/* —— SBM Schnellformular-Funnel (global) —— */

.contact-page-content {
  max-width: 988px;
  margin-left: auto;
  margin-right: auto;
}

.section_funnel .funnel-container {
  background: #fff;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: var(--sbm-radius, 8px);
  padding: clamp(1.75rem, 3vw, 2.65rem) clamp(1.25rem, 2.5vw, 2.125rem);
  box-shadow: 0 22px 70px rgba(17, 24, 39, 0.12);
  max-width: 920px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

.section_funnel .funnel-headline {
  text-align: center;
  margin-bottom: 1.5rem;
}

.section_funnel .funnel-main-title {
  margin: 0 0 0.65rem;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  color: #111827;
  line-height: 1.2;
}

.section_funnel .funnel-main-subtitle {
  margin: 0 auto;
  max-width: 720px;
  color: #4b5563;
  font-size: 1rem;
  line-height: 1.55;
}

.section_funnel .funnel-steps-indicator {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 1.75rem;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

.section_funnel .step-indicator {
  display: flex;
  justify-content: center;
}

.section_funnel .step-number {
  width: 34px;
  height: 34px;
  border-radius: var(--sbm-radius, 8px);
  background: #f3f4f6;
  color: #6b7280;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  border: 2px solid transparent;
  flex-shrink: 0;
}

.section_funnel .step-indicator.active .step-number {
  background: #f7c600;
  color: #111827;
  border-color: #c99500;
}

.section_funnel .step-indicator.completed .step-number {
  background: #111827;
  color: #fff;
}

.section_funnel .funnel-contact-form {
  max-width: 760px;
  margin: 0 auto;
  width: 100%;
}

.section_funnel.contact-page-funnel .funnel-contact-form {
  max-width: none;
}

.section_funnel .funnel-step {
  display: none;
  animation: sbmFunnelFadeIn 0.35s ease;
}

.section_funnel .funnel-step.active {
  display: block;
}

.section_funnel .funnel-title {
  margin: 0 0 0.85rem;
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
  color: #111827;
  text-align: left;
  line-height: 1.25;
}

.section_funnel .funnel-subtitle {
  margin: 0 0 1rem;
  color: #4b5563;
  text-align: left;
  line-height: 1.5;
  font-size: 0.98rem;
}

.section_funnel .funnel-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 1rem;
  width: 100%;
}

.section_funnel .funnel-option {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  font-family: inherit;
  font-size: 0.95rem;
  line-height: 1.35;
  background: #fff;
  border: 2px solid #e5e7eb;
  border-radius: var(--sbm-radius, 8px);
  padding: 14px 16px;
  cursor: pointer;
  font-weight: 600;
  color: #111827;
  transition: border-color 0.2s ease, background 0.2s ease;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.section_funnel .funnel-option:hover {
  border-color: #f7c600;
}

.section_funnel .funnel-option.selected {
  border-color: #f7c600;
  background: #fffbeb;
}

.section_funnel .option-icon {
  font-size: 18px;
  line-height: 1;
  width: 22px;
  text-align: center;
  flex-shrink: 0;
}

.section_funnel .form-group {
  margin-bottom: 14px;
}

.section_funnel .funnel-form-row {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr);
  gap: 12px;
  margin-bottom: 4px;
}

.section_funnel .funnel-form-row .form-group {
  margin-bottom: 14px;
}

.section_funnel .form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: #1f2937;
  font-size: 0.92rem;
}

.section_funnel .form-group input,
.section_funnel .form-group textarea,
.section_funnel .form-group select {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 13px 14px;
  border: 2px solid #e5e7eb;
  border-radius: var(--sbm-radius, 8px);
  font-size: 16px;
  font-family: inherit;
  background: #fff;
  color: #111827;
  margin: 0;
}

.section_funnel .form-group input:focus,
.section_funnel .form-group textarea:focus,
.section_funnel .form-group select:focus {
  outline: none;
  border-color: #f7c600;
  box-shadow: 0 0 0 3px rgba(247, 198, 0, 0.18);
}

.section_funnel .funnel-captcha-wrap {
  margin: 0.75rem 0 0.25rem;
}

.section_funnel .funnel-captcha-note {
  margin: 0;
  font-size: 0.85rem;
  color: #6b7280;
  line-height: 1.45;
}

.section_funnel .funnel-recaptcha {
  min-height: 78px;
}

.section_funnel .funnel-captcha-hint {
  margin: 0;
  font-size: 0.85rem;
  color: #6b7280;
}

.section_funnel .funnel-honey {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.section_funnel .funnel-consent {
  padding: 14px;
  border: 1px solid #e5e7eb;
  border-radius: var(--sbm-radius, 8px);
  margin-bottom: 16px;
  font-size: 0.92rem;
  line-height: 1.5;
  color: #334155;
}

.section_funnel .funnel-consent label {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  cursor: pointer;
}

.section_funnel .funnel-consent input[type="checkbox"] {
  width: auto;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.section_funnel .funnel-nav {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.section_funnel .funnel-prev,
.section_funnel .funnel-next,
.section_funnel .funnel-submit-btn {
  -webkit-appearance: none;
  appearance: none;
  border: none;
  border-radius: var(--sbm-radius, 8px);
  padding: 12px 18px;
  font-weight: 700;
  font-family: inherit;
  font-size: 0.95rem;
  cursor: pointer;
  line-height: 1.2;
}

.section_funnel .funnel-prev {
  background: #e5e7eb;
  color: #111827;
}

.section_funnel .funnel-next,
.section_funnel .funnel-submit-btn {
  background: linear-gradient(135deg, #f7c600 0%, #c99500 100%);
  color: #111827;
}

.section_funnel .funnel-step.success {
  text-align: center;
  padding: 2rem 0.5rem;
}

.section_funnel .funnel-step.success .funnel-title,
.section_funnel .funnel-step.success .funnel-subtitle {
  text-align: center;
}

.section_funnel .funnel-icon {
  margin-bottom: 0.75rem;
}

.section_funnel .funnel-icon-svg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #f7c600;
  color: #111827;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

/* Kompakt: Kontakt + Leistungs-Unterseiten + gemounteter Funnel */
.section_funnel.contact-page-funnel,
.section_funnel.leistungen-page-funnel {
  margin-top: 0 !important;
  padding-top: clamp(1.75rem, 3.5vw, 2.75rem) !important;
  padding-bottom: clamp(2.5rem, 5vw, 4rem) !important;
}

@keyframes sbmFunnelFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .section_funnel .padding-global {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  .section_funnel .funnel-container {
    padding: 1.25rem 1rem;
  }

  .section_funnel .funnel-steps-indicator {
    grid-template-columns: repeat(7, minmax(0, 1fr));
    max-width: 100%;
    gap: 6px;
  }

  .section_funnel .step-number {
    width: 28px;
    height: 28px;
    font-size: 0.75rem;
  }

  .section_funnel .funnel-form-row {
    grid-template-columns: 1fr;
  }

  .section_funnel .funnel-options {
    grid-template-columns: 1fr;
  }

  .section_funnel .funnel-title,
  .section_funnel .funnel-subtitle {
    text-align: left;
  }

  .section_funnel .funnel-option {
    padding: 12px;
    font-size: 0.92rem;
  }

  .section_funnel .funnel-nav {
    justify-content: space-between;
  }
}
