/*
  FAQ page specific styles
  ------------------------------------------------------------
  Centralized styles that were previously inline in FAQ.php.
*/

/* Layout */
/* Slightly more top space so the fixed navbar never covers the first content */
.faq-wrap{ padding: calc(var(--nav-h) + 34px) 0 240px; }
.faq-hero{ max-width: 1180px; margin: 0 auto 18px; }
.faq-grid{ display:grid; grid-template-columns: 1fr; gap: 18px; max-width: 1180px; margin: 0 auto; align-items: start; }
@media (min-width: 980px){ .faq-grid{ grid-template-columns: 1fr 1fr; } }

/* Accordion (custom, nicht <details>) */
.faq-item{ overflow: hidden; }
.faq-btn{
  width: 100%;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 14px;
  padding: 18px 18px;
  background: transparent;
  border: 0;
  color: inherit;
  text-align: left;
  cursor: pointer;
}
.faq-q{
  font-weight: 900;
  letter-spacing: .2px;
  line-height: 1.25;
}
.faq-meta{
  margin-top: 6px;
  opacity: .8;
  font-weight: 800;
  font-size: .92rem;
  color: var(--faint);
}
.faq-icon{
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight: 900;
  opacity: .9;
}
.faq-panel{
  padding: 0 18px 18px;
  display: none; /* wird per JS geöffnet */
  line-height: 1.65;
  opacity: .96;
}
.faq-panel .mini-line{ margin-top: 6px; margin-bottom: 12px; }
.faq-panel ul.list{ margin-top: 8px; }
.faq-panel strong{ font-weight: 900; }
.faq-item.is-open .faq-panel{ display:block; }
.faq-item.is-open .faq-icon{ transform: rotate(45deg); transition: transform .18s ease; }
.faq-icon{ transition: transform .18s ease; }

.faq-cta{
  max-width: 1180px;
  margin: 18px auto 0;
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items:center;
  justify-content: space-between;
}
.faq-cta-left{ display:flex; gap:10px; flex-wrap:wrap; align-items:center; }
.faq-pill{
  display:inline-flex;
  gap:8px;
  align-items:center;
  padding: 10px 12px;
  border-radius: 999px;
  font-weight: 800;
  opacity: .9;
}

.faq-index{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top: 10px;
}
.faq-index a{
  display:inline-flex;
  gap:8px;
  align-items:center;
  padding: 10px 12px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  opacity: .95;
}

/* Replaces repeated inline styles like: style="max-width:1080px;margin:14px auto 8px;" */
.faq-section{
  max-width: 1180px;
  margin: 22px auto 10px;
}

.faq-section--first{
  max-width: 1180px;
  margin: 0 auto 10px;
}

/* Search */
.faq-tools{ margin-top: 14px; display:flex; flex-direction:column; gap: 8px; }
.faq-search{ display:flex; align-items:center; gap: 10px; padding: 12px 12px; border-radius: 999px; }
.faq-search input{ width: 100%; background: transparent; border: 0; outline: none; color: inherit; font-weight: 800; }
.faq-search-icon{ opacity: .9; }
.faq-tools-hint{ opacity: .8; font-size: .92rem; color: var(--faint); padding-left: 2px; }

/* Filtering */
.faq-item.is-hidden{ display:none; }

/* (legacy note removed – spacing handled above) */
