/* Dokument: assets/css/faq.css */

/* =========================================
   1. Globale Fixierung & Layout-Wrapper
   ========================================= */
   html, body {
    overflow-x: hidden !important;
    width: 100%;
  }
  
  .faq-section-wrapper {
    background-color: var(--dark-bg);
    position: relative;
    overflow: hidden;
  }
  
  /* FAQ Glow Effekte */
  .faq-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.15;
    z-index: 0;
    pointer-events: none;
  }
  .faq-glow-1 { top: 10%; left: -50px; background: var(--neon-pink); }
  .faq-glow-2 { bottom: 15%; right: -50px; background: var(--neon-blue); }
  
  /* =========================================
     2. FAQ Kategorie Menü (Swipe & Scroll)
     ========================================= */
  .faq-categories-menu {
    position: sticky;
    top: 100px;
    z-index: 5;
    touch-action: pan-x pan-y; 
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
  }
  
  .faq-categories-menu::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
  }
  
  /* Mobile Darstellung: Zwingt die Buttons in eine horizontale Reihe */
  @media (max-width: 991.98px) {
    .faq-categories-menu {
        position: relative;
        top: 0;
        display: flex !important;
        flex-direction: row;
        flex-wrap: nowrap !important;
        white-space: nowrap;
        overflow-x: auto !important;
        touch-action: pan-x pan-y !important;
    }
    
    .faq-cat-btn {
        flex: 0 0 auto;
        width: auto !important;
        white-space: nowrap;
    }
  }
  
  /* =========================================
     3. Kategorie Buttons & Inhalte
     ========================================= */
  .faq-cat-btn {
    background: rgba(255, 255, 255, 0.02);
    color: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
  }
  
  .faq-cat-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    border-color: rgba(250, 0, 129, 0.3) !important;
    transform: translateX(3px);
  }
  
  .faq-cat-btn.active {
    background: linear-gradient(105deg, rgba(250, 0, 129, 0.15) 0%, rgba(74, 85, 247, 0.15) 100%);
    color: #ffffff;
    border: 1px solid rgba(250, 0, 129, 0.6) !important;
  }
  
  .faq-category-content {
    display: none;
  }
  
  .faq-category-content.active {
    display: block !important;
  }
  
  /* =========================================
     4. Accordion & Item Styling
     ========================================= */
  .accordion-item-wrapper.v4 {
    border: 1px solid #2a2a35;
    background-color: #121216;
    border-radius: 8px;
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .accordion-item-wrapper.v4.active {
    border-color: var(--neon-pink);
    background-color: rgba(25, 25, 35, 0.25);
  }
  
  .acordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
  }
  
  .accordion-item-wrapper.v4.active .acordion-body {
    max-height: 500px;
    opacity: 1;
  }
  
  /* =========================================
     5. Icons & Animationen
     ========================================= */
  .faq-chevron {
    display: inline-block;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease;
  }
  
  .accordion-item-wrapper.v4.active .faq-chevron {
    transform: rotate(180deg);
    color: var(--neon-pink);
  }
  
  /* Obsoleter Ghost-Chevron (wird ausgeblendet) */
  .accordion-icon.blur {
    display: none !important;
  }
  
  /* Dokument: assets/css/faq.css */