/* -----------------------------------------------------------------
   faq_block.css  —  Styling für den FAQ-Bereich
   Mobile-first. Neutrale Variablen, an dein Template anpassbar.
   In die Template-CSS einbinden oder per <link> laden.
   ----------------------------------------------------------------- */

.faq-block {
  --faq-border: #e3e3e0;
  --faq-bg: #fafaf8;
  --faq-accent: #5a6b4d;        /* erdig/grün – passt zum Gabionen/Naturthema */
  --faq-text: #2b2b28;
  --faq-radius: 8px;

  margin: 2.5rem 0;
  font-family: inherit;
  color: var(--faq-text);
}

.faq-block__title {
  font-size: 1.35rem;
  line-height: 1.2;
  margin: 0 0 1rem;
  letter-spacing: -0.01em;
}

.faq-block__list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.faq-item {
  border: 1px solid var(--faq-border);
  border-radius: var(--faq-radius);
  background: var(--faq-bg);
  overflow: hidden;
  transition: border-color 0.18s ease;
}

.faq-item[open] {
  border-color: var(--faq-accent);
}

.faq-item__q {
  cursor: pointer;
  list-style: none;
  padding: 0.95rem 2.6rem 0.95rem 1rem;
  font-weight: 600;
  font-size: 1rem;
  position: relative;
  user-select: none;
  min-height: 44px;            /* Touch-Target */
  display: flex;
  align-items: center;
}

.faq-item__q::-webkit-details-marker { display: none; }

.faq-item__q::after {
  content: "";
  position: absolute;
  right: 1rem;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--faq-accent);
  border-bottom: 2px solid var(--faq-accent);
  transform: translateY(-65%) rotate(45deg);
  transition: transform 0.2s ease;
}

.faq-item[open] .faq-item__q::after {
  transform: translateY(-35%) rotate(-135deg);
}

.faq-item__a {
  padding: 0 1rem 1.05rem;
  font-size: 0.95rem;
  line-height: 1.6;
}

.faq-item__a p:first-child { margin-top: 0; }
.faq-item__a p:last-child  { margin-bottom: 0; }

@media (min-width: 768px) {
  .faq-block__title { font-size: 1.55rem; }
  .faq-item__q { font-size: 1.05rem; }
}
