/* ════════════════════════════════════════════
   style-faq.css – MyStudy FAQ
   Setzt style-main.css voraus (Accordion-Styles
   .faq-item/.faq-btn/.faq-answer bereits enthalten)
   ════════════════════════════════════════════ */

/* ─── NAVBAR aktiver Link ─── */
.nav-active {
  background: rgba(117, 208, 43, 0.1) !important;
  color: var(--g3) !important;
}

/* ─── PAGE HEADER ─── */
#faq-header {
  padding-top: var(--nav-h);
  position: relative;
  overflow: hidden;
  background: var(--bg);
  padding-bottom: clamp(48px, 8vw, 80px);
}

.fh-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.fh-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
}
.fh-blob-1 {
  width: clamp(280px, 45vw, 580px);
  height: clamp(280px, 45vw, 580px);
  background: radial-gradient(var(--g1), transparent);
  top: -20%;
  right: -5%;
  opacity: 0.22;
}
.fh-blob-2 {
  width: clamp(180px, 28vw, 360px);
  height: clamp(180px, 28vw, 360px);
  background: radial-gradient(var(--g2), transparent);
  bottom: -10%;
  left: -3%;
  opacity: 0.13;
}
.fh-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(76, 169, 17, 0.08) 1px, transparent 1px);
  background-size: 32px 32px;
}

.fh-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  padding-top: clamp(48px, 8vw, 90px);
}

.fh-title {
  font-family: "Syne", sans-serif;
  font-weight: 800;
  font-size: clamp(36px, 6vw, 68px);
  letter-spacing: -2px;
  line-height: 1.05;
  margin-bottom: 16px;
  animation: fadeUp 0.55s 0.08s both;
}

.fh-desc {
  font-size: clamp(15px, 2vw, 17px);
  color: var(--muted);
  line-height: 1.75;
  font-weight: 300;
  max-width: 480px;
  margin: 0 auto;
  animation: fadeUp 0.55s 0.16s both;
}
.fh-desc a {
  color: var(--g3);
  font-weight: 500;
  transition: color 0.2s;
}
.fh-desc a:hover { color: var(--g4); }

/* ─── FAQ LIST SECTION ─── */
#faq-list {
  background: var(--bg);
  position: relative;
}
#faq-list::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(76, 169, 17, 0.06) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}
#faq-list .container {
  position: relative;
  z-index: 1;
}

/* Überschreibt max-width aus style-main.css für diese Seite */
#faq-list .faq-list {
  max-width: 720px;
  margin: 0 auto;
}

/* ─── CTA UNTEN ─── */
.faq-cta {
  text-align: center;
  margin-top: clamp(40px, 6vw, 60px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.faq-cta p {
  font-size: 15px;
  color: var(--muted);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1090px) {
  /* Weniger Abstand oben/unten im Header auf Handy */
  #faq-header { padding-bottom: 28px; }
  .fh-inner { padding-top: 36px; }
}
