/* ==========================================================
   VORMELO FAQ – KORRIGIERTE VERSION
   Wichtig: alte faq.css / faq-modern.css nicht zusätzlich laden
========================================================== */

.faq-section {
  padding: 112px 0;
  background:
    radial-gradient(circle at 12% 4%, rgba(37, 99, 235, .08), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
}

.faq-section-heading {
  max-width: 900px;
  margin: 0 auto 46px;
  text-align: center;
}

.faq-section-heading h2 {
  margin: 16px auto;
  max-width: 900px;
  color: #0d2145;
  font-size: clamp(2.2rem, 4.2vw, 3.65rem);
  line-height: 1.08;
  letter-spacing: -.045em;
}

.faq-section-heading .section-description {
  max-width: 720px;
  margin: 0 auto;
  color: #62708a;
  font-size: 1.08rem;
  line-height: 1.75;
}

.faq-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 15px;
  border-radius: 999px;
  background: #eaf2ff;
  color: #2168e8;
  font-weight: 800;
}

.faq-highlights {
  max-width: 1010px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
  margin: 0 auto 32px;
}

.faq-highlight {
  display: flex;
  align-items: center;
  gap: 15px;
}

.faq-highlight-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  flex: 0 0 48px;
  border-radius: 14px;
  background: #eef5ff;
  color: #2168e8;
  font-size: 1.35rem;
}

.faq-highlight strong,
.faq-highlight span {
  display: block;
}

.faq-highlight strong {
  margin-bottom: 3px;
  color: #12223f;
  font-size: 1rem;
}

.faq-highlight span {
  color: #6c7890;
  font-size: .9rem;
}

.faq-search {
  max-width: 1010px;
  height: 58px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 auto 20px;
  padding: 0 18px;
  border: 1px solid #d7dfeb;
  border-radius: 12px;
  background: #fff;
  color: #75829a;
  box-shadow: 0 8px 24px rgba(15, 35, 68, .04);
}

.faq-search:focus-within {
  border-color: #75a6f5;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, .10);
}

.faq-search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #15233e;
  font: inherit;
}

.faq-list {
  max-width: 1010px;
  display: grid;
  gap: 9px;
  margin: 0 auto;
  border: 0;
}

.faq-item {
  overflow: hidden;
  border: 1px solid #e2e8f1;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 7px 20px rgba(15, 35, 68, .045);
  transition: .2s ease;
}

.faq-item:hover {
  border-color: #c9d9f3;
  transform: translateY(-1px);
}

.faq-item.is-open {
  border-color: #b9d3fb;
  background: linear-gradient(135deg, #f5f9ff, #ffffff);
  box-shadow: 0 15px 34px rgba(37, 99, 235, .09);
}

.faq-item-heading {
  margin: 0;
}

.faq-question {
  width: 100%;
  min-height: 64px;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 14px 18px;
  border: 0;
  background: transparent;
  color: #12213f;
  font: inherit;
  font-weight: 750;
  text-align: left;
  cursor: pointer;
}

.faq-question:hover {
  color: #2168e8;
}

.faq-toggle {
  position: relative;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 50%;
  background: #eef5ff;
}

.faq-toggle::before,
.faq-toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 2px;
  border-radius: 999px;
  background: #2168e8;
  transform: translate(-50%, -50%);
}

.faq-toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item.is-open .faq-toggle {
  background: linear-gradient(145deg, #2f7df5, #155ee7);
  box-shadow: 0 6px 15px rgba(37, 99, 235, .24);
}

.faq-item.is-open .faq-toggle::before {
  background: #fff;
}

.faq-item.is-open .faq-toggle::after {
  opacity: 0;
}

.faq-question-text {
  flex: 1;
  min-width: 0;
}

.faq-chevron {
  width: 12px;
  height: 12px;
  flex: 0 0 12px;
  border-right: 2px solid #2168e8;
  border-bottom: 2px solid #2168e8;
  transform: rotate(45deg);
  transition: transform .2s ease;
}

.faq-item.is-open .faq-chevron {
  transform: rotate(225deg);
}

.faq-answer-inner {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin: 0 18px 18px 68px;
  padding: 20px 22px;
  border-radius: 13px;
  background: #edf5ff;
}

.faq-answer-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  flex: 0 0 46px;
  border-radius: 14px;
  background: rgba(255,255,255,.82);
  color: #2168e8;
}

.faq-answer-icon svg {
  width: 23px;
  height: 23px;
}

.faq-answer p {
  margin: 0;
  color: #32425f;
  line-height: 1.75;
}

.faq-empty {
  max-width: 1010px;
  margin: 18px auto 0;
  padding: 20px;
  border: 1px dashed #cbd5e1;
  border-radius: 12px;
  color: #64748b;
  text-align: center;
}

.faq-contact {
  max-width: 1010px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  margin: 22px auto 0;
  padding: 22px 24px;
  border: 1px solid #cfe0fb;
  border-radius: 15px;
  background: #f1f7ff;
}

.faq-contact-left {
  display: flex;
  align-items: center;
  gap: 15px;
}

.faq-contact-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  flex: 0 0 50px;
  border-radius: 15px;
  background: #fff;
  font-size: 1.35rem;
}

.faq-contact strong {
  display: block;
  margin-bottom: 4px;
  color: #12213f;
}

.faq-contact p {
  margin: 0;
  color: #6a7890;
}

.faq-contact-buttons {
  display: flex;
  gap: 12px;
}

@media (max-width: 850px) {
  .faq-highlights {
    grid-template-columns: 1fr;
    max-width: 680px;
    gap: 14px;
  }

  .faq-contact {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .faq-section {
    padding: 76px 0;
  }

  .faq-answer-inner {
    margin: 0 12px 12px;
  }

  .faq-answer-icon {
    display: none;
  }

  .faq-contact-buttons {
    width: 100%;
    flex-direction: column;
  }

  .faq-contact-buttons .button {
    width: 100%;
    justify-content: center;
  }
}
