/* =========================================
   FAQ Seite CSS (Regenbogen Biergarten Theme)
   ========================================= */

.faq-page {
    background-color: #000000;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.faq-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 6rem 2rem 5rem 2rem;
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
}

/* =========================================
   Intro Section
   ========================================= */
.faq-intro {
    text-align: center;
    margin-bottom: 4rem;
}

.faq-intro h1 {
    color: #ffffff;
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.8);
    letter-spacing: 1px;
}

.faq-intro p {
    color: #cceeff;
    font-size: 1.2rem;
    text-shadow: 0 0 10px rgba(204, 238, 255, 0.3);
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.5;
}

/* =========================================
   Accordion container
   ========================================= */
.faq-accordion-section {
    width: 100%;
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    width: 100%;
}

/* =========================================
   FAQ Item Card (Accordion Item)
   ========================================= */
.faq-item {
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(170, 255, 170, 0.15);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.4s ease, box-shadow 0.4s ease, background-color 0.4s ease, transform 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(170, 255, 170, 0.4);
    box-shadow: 0 0 20px rgba(170, 255, 170, 0.08);
    background: rgba(10, 25, 15, 0.65);
    transform: translateY(-2px);
}

.faq-item.active {
    border-color: rgba(170, 255, 170, 0.7);
    box-shadow: 0 0 25px rgba(170, 255, 170, 0.15);
    background: rgba(10, 25, 15, 0.8);
}

/* =========================================
   Question Header Button
   ========================================= */
.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
    color: #ffffff;
    font-family: inherit;
    font-size: 1.25rem;
    font-weight: 600;
    transition: color 0.3s ease;
    gap: 1.5rem;
}

.faq-question:hover {
    color: #aaffaa;
}

.faq-item.active .faq-question {
    color: #aaffaa;
    text-shadow: 0 0 10px rgba(170, 255, 170, 0.4);
}

/* Toggle Icon */
.faq-toggle-icon {
    font-size: 1.6rem;
    color: #aaaaaa;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), color 0.3s ease;
    user-select: none;
}

.faq-item:hover .faq-toggle-icon {
    color: #aaffaa;
}

.faq-item.active .faq-toggle-icon {
    transform: rotate(45deg);
    color: #aaffaa;
}

/* =========================================
   Answer Panel Content
   ========================================= */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    opacity: 0;
}

.faq-item.active .faq-answer {
    opacity: 1;
}

.faq-answer-content {
    padding: 0 2rem 1.8rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.faq-answer-content p {
    color: #cccccc;
    font-size: 1.1rem;
    line-height: 1.7;
    margin: 0;
}

.faq-link {
    color: #aaffaa;
    text-decoration: none;
    border-bottom: 1px solid rgba(170, 255, 170, 0.3);
    padding-bottom: 1px;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.faq-link:hover {
    color: #cceeff;
    border-color: rgba(204, 238, 255, 0.5);
}

/* =========================================
   Decorative Wisps Positions
   ========================================= */
.wisp-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.faq-page .wisp-1 {
    top: 25%;
    left: 10%;
    width: 12px;
    height: 12px;
    animation-duration: 4s;
}

.faq-page .wisp-2 {
    top: 60%;
    right: 12%;
    left: auto;
    width: 9px;
    height: 9px;
    animation-duration: 3s;
}

.faq-page .wisp-3 {
    top: 75%;
    left: 15%;
    width: 15px;
    height: 15px;
    animation-duration: 5s;
}

/* =========================================
   Responsive Design
   ========================================= */
@media (max-width: 768px) {
    .faq-main {
        padding: 4rem 1.2rem 4rem 1.2rem;
    }

    .faq-intro {
        margin-bottom: 2.5rem;
    }

    .faq-intro h1 {
        font-size: 2.2rem;
    }

    .faq-intro p {
        font-size: 1.05rem;
    }

    .faq-question {
        padding: 1.2rem 1.5rem;
        font-size: 1.1rem;
    }

    .faq-answer-content {
        padding: 0 1.5rem 1.5rem 1.5rem;
    }

    .faq-answer-content p {
        font-size: 0.98rem;
    }

    .wisp-container {
        display: none;
    }
}
