/* ---- Lead funnel ---- */
.funnel {
  max-width: 44rem;
  margin: 0 auto;
  background: #fff;
  border-radius: 1.5rem;
  padding: 2.5rem;
  box-shadow: 0 1.5rem 3rem rgba(20, 35, 58, 0.12);
  font-family: Montserrat, sans-serif;
  color: #14233a;
  /* Keep a consistent height across steps so the dark section never shows a
     large empty area on the first (short) step. */
  min-height: 30rem;
  display: flex;
  flex-direction: column;
}
.funnel_slide {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.funnel_slide .funnel_options {
  margin-top: auto;
  margin-bottom: auto;
}

/* Hide the Webflow attribution badge – this is a pure Next.js build. */
.w-webflow-badge {
  display: none !important;
}
.funnel--compact {
  padding: 2rem;
}

.funnel_progress {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
}
.funnel_step {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
  color: #94a3b8;
  font-weight: 600;
  font-size: 0.9rem;
}
.funnel_step:not(:last-child)::after {
  content: "";
  flex: 1;
  height: 2px;
  background: #e2e8f0;
  margin-left: 0.5rem;
}
.funnel_step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 999px;
  background: #e2e8f0;
  color: #64748b;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.funnel_step.is-active .funnel_step-num {
  background: #ee8315;
  color: #fff;
}
.funnel_step.is-done .funnel_step-num {
  background: #16a34a;
  color: #fff;
}
.funnel_step.is-active,
.funnel_step.is-done {
  color: #14233a;
}
@media screen and (max-width: 540px) {
  .funnel_step-label {
    display: none;
  }
}

.funnel_question {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 1.25rem;
}
.funnel_hint,
.funnel_slide > .funnel_hint {
  color: #64748b;
  margin: -0.75rem 0 1.25rem;
}

.funnel_options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}
.funnel_options--two {
  grid-template-columns: repeat(2, 1fr);
  max-width: 22rem;
}
.funnel_option {
  border: 2px solid #e2e8f0;
  background: #f8fafc;
  border-radius: 1rem;
  padding: 1.1rem 1rem;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: inherit;
  color: #14233a;
}
.funnel_option:hover {
  border-color: #ee8315;
  transform: translateY(-2px);
}
.funnel_option.is-selected {
  border-color: #ee8315;
  background: #ee8315;
  color: #fff;
}

.funnel_fields {
  display: grid;
  gap: 0.75rem;
}
.funnel_input {
  width: 100%;
  border: 1.5px solid #e2e8f0;
  border-radius: 0.75rem;
  padding: 0.85rem 1rem;
  font-size: 1rem;
  font-family: inherit;
  color: #14233a;
  box-sizing: border-box;
  background: #fff;
}
.funnel_input:focus {
  outline: none;
  border-color: #ee8315;
}
.funnel_textarea {
  resize: vertical;
}

.funnel_consent {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.85rem;
  color: #64748b;
  margin: 1.1rem 0 0;
  line-height: 1.5;
}
.funnel_consent input {
  margin-top: 0.2rem;
  flex-shrink: 0;
}
.funnel_consent a {
  color: #ee8315;
}

.funnel_actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}
.funnel_back {
  background: none;
  border: none;
  color: #64748b;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.95rem;
  padding: 0.5rem 0;
  margin-top: 1rem;
}
.funnel_submit {
  background: #ee8315;
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 0.9rem 1.75rem;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s ease;
}
.funnel_submit:hover:not(:disabled) {
  background: #d9740c;
}
.funnel_submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.funnel_error {
  color: #dc2626;
  font-size: 0.9rem;
  margin-top: 1rem;
}

.funnel_success {
  text-align: center;
  padding: 1.5rem 0;
}
.funnel_success-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 999px;
  background: #16a34a;
  color: #fff;
  font-size: 1.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.funnel_success h3 {
  font-size: 1.6rem;
  margin: 0 0 0.75rem;
}
.funnel_success p {
  color: #475569;
  max-width: 26rem;
  margin: 0 auto;
}

/* ---- Homepage funnel section wrapper ---- */
.funnel-section {
  padding: 5rem 0;
  background: #14233a;
}
.funnel-section .funnel-heading {
  text-align: center;
  color: #fff;
  margin: 0 auto 2.5rem;
  max-width: 40rem;
}
.funnel-section .funnel-heading h2 {
  font-size: 2.5rem;
  margin: 0 0 0.75rem;
}
.funnel-section .funnel-heading p {
  color: #cbd5e1;
  font-size: 1.1rem;
  margin: 0;
}

/* ---- Testimonials (React) ---- */
.reviews {
  padding: 1rem 0;
}
.reviews_header {
  text-align: center;
  margin-bottom: 2.5rem;
}
.reviews_header h2 {
  font-size: 2.5rem;
  margin: 0 0 1rem;
}
.reviews_rating {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: Montserrat, sans-serif;
}
.reviews_rating-text {
  font-weight: 600;
  color: #14233a;
}
.stars {
  display: inline-flex;
  gap: 2px;
  line-height: 0;
}
.reviews_grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.review_card {
  background: #fff;
  border: 1px solid #eef2f7;
  border-radius: 1.25rem;
  padding: 1.75rem;
  box-shadow: 0 0.5rem 1.5rem rgba(20, 35, 58, 0.06);
  font-family: Montserrat, sans-serif;
}
.review_card-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}
.review_avatar {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  background: #ee8315;
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.review_name {
  font-weight: 700;
  color: #14233a;
}
.review_date {
  font-size: 0.8rem;
  color: #94a3b8;
}
.review_g {
  margin-left: auto;
}
.review_text {
  color: #475569;
  line-height: 1.6;
  margin: 0.75rem 0 0;
}
.reviews_link {
  display: inline-block;
  margin: 2.5rem auto 0;
  text-align: center;
  color: #ee8315;
  font-weight: 600;
  text-decoration: none;
  width: 100%;
}
.reviews_link:hover {
  text-decoration: underline;
}

@media screen and (max-width: 991px) {
  .reviews_grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (max-width: 640px) {
  .reviews_grid {
    grid-template-columns: 1fr;
  }
  .reviews_header h2,
  .funnel-section .funnel-heading h2 {
    font-size: 2rem;
  }
  .funnel {
    padding: 1.5rem;
  }
}

/* ---- /anfrage page ---- */
.anfrage-section {
  padding-top: 9rem;
  padding-bottom: 5rem;
  background: #14233a;
}
.anfrage-hero {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto 2.5rem;
  color: #fff;
  font-family: Montserrat, sans-serif;
}
.anfrage-hero h1 {
  font-size: 2.75rem;
  margin: 0;
  font-weight: 700;
}
.anfrage-hero p {
  color: #cbd5e1;
  font-size: 1.1rem;
}
@media screen and (max-width: 640px) {
  .anfrage-section { padding-top: 7rem; }
  .anfrage-hero h1 { font-size: 2rem; }
}

/* ---- Two-step explainer strip (above the funnel) ---- */
.funnel-steps {
  display: flex;
  gap: 1rem;
  max-width: 44rem;
  margin: 0 auto 1.5rem;
  align-items: stretch;
  font-family: Montserrat, sans-serif;
}
.funnel-steps_item {
  position: relative;
  flex: 1;
  display: flex;
  gap: 0.85rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 1rem;
  padding: 1.1rem 1.25rem;
  color: #fff;
}
.funnel-steps_num {
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
  border-radius: 999px;
  background: #ee8315;
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.funnel-steps_title {
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.funnel-steps_text {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.45;
  color: #cbd5e1;
}
.funnel-steps_arrow {
  position: absolute;
  right: -0.85rem;
  top: 50%;
  transform: translateY(-50%);
  color: #ee8315;
  font-size: 1.3rem;
  font-weight: 700;
  z-index: 2;
}
/* Light variant (on the /anfrage split background the strip sits on dark too) */
.funnel-steps--light .funnel-steps_item {
  background: rgba(255, 255, 255, 0.08);
}
@media screen and (max-width: 640px) {
  .funnel-steps {
    flex-direction: column;
  }
  .funnel-steps_arrow {
    right: 50%;
    top: auto;
    bottom: -0.85rem;
    transform: translateX(50%) rotate(90deg);
  }
}

/* ---- Two-card steps grid (section_steps rebuilt to 2 steps) ---- */
.steps_grid--two {
  max-width: 60rem;
  margin-left: auto;
  margin-right: auto;
}

/* ---- Video testimonials (Wistia, 9:16) ---- */
.section_videos {
  padding: 5rem 0;
  background: #f8fafc;
}
.videos_header {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 2.5rem;
  font-family: Montserrat, sans-serif;
}
.videos_header h2 {
  font-size: 2.5rem;
  margin: 0 0 0.75rem;
  color: #14233a;
}
.videos_header p {
  color: #475569;
  font-size: 1.05rem;
  margin: 0;
}
.videos_grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.videocard {
  font-family: Montserrat, sans-serif;
}
.videocard_frame {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 1.25rem;
  overflow: hidden;
  background: #14233a;
  box-shadow: 0 0.75rem 2rem rgba(20, 35, 58, 0.12);
}
.videocard_iframe,
.videocard_poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.videocard_poster {
  background-size: cover;
  background-position: center;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}
.videocard_poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,35,58,0.05), rgba(20,35,58,0.35));
}
.videocard_poster:hover {
  transform: scale(1.02);
}
.videocard_play {
  position: relative;
  z-index: 1;
  width: 4rem;
  height: 4rem;
  border-radius: 999px;
  background: rgba(238, 131, 21, 0.95);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 0.25rem;
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.3);
}
.videocard_caption {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-top: 0.85rem;
}
.videocard_name {
  font-weight: 700;
  color: #14233a;
}
.videocard_place {
  font-size: 0.85rem;
  color: #94a3b8;
}
@media screen and (max-width: 991px) {
  .videos_grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (max-width: 520px) {
  .videos_grid {
    grid-template-columns: 1fr;
    max-width: 20rem;
    margin: 0 auto;
  }
  .videos_header h2 {
    font-size: 2rem;
  }
}
