.faq {
  width: 100%;
  padding: 3rem 5%;
  margin-top: 2rem;
  background-color: #000;         /* schwarzer Hintergrund */
  border-radius: 10px;
  box-shadow: 0 0 30px #9b30ff;   /* lila Glow */
  opacity: 0;
  transform: translateY(50px);
  transition: all 1s ease-out;
}

.faq.in-view {
  opacity: 1;
  transform: translateY(0);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #fff; /* weiß auf Schwarz */
}

.faq p {
  font-size: 1rem;
  margin-bottom: 2rem;
  line-height: 1.5;
  color: #ccc; /* hellgrau */
}

/* FAQ Items via <details> */
.faq-item {
  border: 1px solid #9b30ff;
  border-radius: 8px;
  background: #111; /* dunkler Container */
  margin-bottom: 1rem;
  padding: 0;
  overflow: hidden;
}

.faq-item > summary {
  list-style: none;
  cursor: pointer;
  padding: 1rem 1rem 1rem 2.25rem;
  font-weight: 700;
  color: #fff;
  position: relative;
  display: block;
  user-select: none;
  outline: none;
}

.faq-item > summary::-webkit-details-marker {
  display: none;
}

/* Plus/Minus Symbol */
.faq-item > summary::before {
  content: "+";
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  font-weight: 900;
  font-size: 1.2rem;
  color: #9b30ff;
}

.faq-item > summary:hover {
  background-color: #9b30ff;
  color: #fff;
}

.faq-item[open] > summary::before {
  content: "−";
}

.faq-answer {
  padding: 0 1rem 1rem 1rem;
  color: #ddd;
  line-height: 1.6;
  animation: fadeIn 180ms ease-out;
  background: #111;
}

.faq-cta {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
}

.faq-cta-btn {
  display: inline-block;
  padding: 0.9rem 1.6rem;
  border-radius: 10px;
  background: #9b30ff;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid #9b30ff;
  transition: background 0.25s ease, transform 0.25s ease;
}

.faq-cta-btn:hover {
  background: #7d24cc;
  transform: translateY(-2px);
}

.faq-cta-btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px #9b30ff55;
}


/* kleine Fade-Animation */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 900px) {
  .faq { padding: 2rem 3%; }
  .faq h2 { font-size: 1.6rem; }
  .faq p { font-size: 0.95rem; }
}