/**
 * LSC New Theme - FAQ Accordion Styles
 * Bootstrap 5 Accordion ohne Rahmen mit + und - Icons
 * Kompatibel mit Basic Pages und Frontpage durch .section-container
 */

/* Accordion ohne Rahmen */
.faq-section .accordion {
  border: none;
}

.faq-section .accordion-item {
  border: none;
  border-bottom: 1px solid #e0e0e0;
  background-color: transparent;
  margin-bottom: 0;
}

.faq-section .accordion-item:last-child {
  border-bottom: none;
}

/* Accordion Button Styles */
.faq-section .accordion-button {
  background-color: transparent;
  border: none;
  box-shadow: none;
  color: var(--color-dark);
  font-weight: 600;
  font-size: 1.1rem;
  padding: 1.5rem 3rem 1.5rem 0;
  position: relative;
}

.faq-section .accordion-button:not(.collapsed) {
  background-color: transparent;
  color: var(--color-secondary);
  box-shadow: none;
}

.faq-section .accordion-button:focus {
  box-shadow: none;
  border-color: transparent;
}

.faq-section .accordion-button:hover {
  color: var(--color-secondary);
}

/* Standard Bootstrap Pfeil entfernen */
.faq-section .accordion-button::after {
  display: none;
}

/* Custom + und - Icons */
.faq-section .accordion-button::before {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.8rem;
  font-weight: 300;
  color: var(--color-secondary);
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  line-height: 1;
}

.faq-section .accordion-button:not(.collapsed)::before {
  content: '−';
  transform: translateY(-50%);
}

/* Accordion Body Styles */
.faq-section .accordion-body {
  padding: 0 3rem 1.5rem 0;
  color: var(--color-text-primary);
  line-height: 1.8;
}

.faq-section .accordion-collapse {
  border: none;
  overflow: hidden;
  transition: height 0.35s ease;
  height: 0;
}

.faq-section .accordion-collapse.show {
  height: auto;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
  .faq-section .accordion-button {
    font-size: 1rem;
    padding: 1.25rem 2.5rem 1.25rem 0;
  }
  
  .faq-section .accordion-button::before {
    font-size: 1.5rem;
    width: 25px;
    height: 25px;
  }
  
  .faq-section .accordion-body {
    padding: 0 2.5rem 1.25rem 0;
    font-size: 0.95rem;
  }
}