/* FAQ Seite spezifische Styles */

/* FAQ Hero */
.faq-hero {
    background: linear-gradient(135deg, var(--second-color) 0%, var(--second-color-dark) 100%);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.faq-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.faq-hero p {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 3rem;
}

/* Search Box */
.search-box {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.search-box i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--second-color);
}

.search-box input {
    width: 100%;
    padding: 1rem 1rem 1rem 3.5rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    background: var(--white);
    color: var(--font-color-dark);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.search-box input:focus {
    outline: none;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
}

/* FAQ Content */
.faq-content {
    padding: 80px 0;
    background-color: var(--light-grey);
}

/* Category Buttons */
.faq-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.category-btn {
    background: var(--white);
    border: 2px solid transparent;
    padding: 12px 24px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    font-weight: 500;
    color: var(--font-color-dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.category-btn i {
    color: var(--main-color);
}

.category-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--box-shadow);
}

.category-btn.active {
    background: linear-gradient(135deg, var(--main-color) 0%, var(--main-color-dark) 100%);
    color: var(--white);
    border-color: var(--main-color);
}

.category-btn.active i {
    color: var(--white);
}

/* FAQ Sections */
.faq-section {
    display: none;
}

.faq-section.active {
    display: block;
}

.faq-section h2 {
    color: var(--second-color-dark);
    margin-bottom: 2rem;
}

/* FAQ Items */
.faq-item {
    background: var(--white);
    border-radius: 10px;
    margin-bottom: 1rem;
    box-shadow: var(--box-shadow);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.faq-question {
    padding: 1.5rem 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: var(--light-grey);
}

.faq-question h3 {
    margin: 0;
    color: var(--second-color-dark);
    font-size: 1.2rem;
}

.faq-question i {
    color: var(--main-color);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
}

.faq-answer > * {
    padding: 0 2rem 1.5rem;
}

.faq-answer p {
    line-height: 1.8;
    color: #666;
}

.faq-answer ul {
    list-style: none;
    padding-left: 2rem;
}

.faq-answer ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: #666;
}

.faq-answer ul li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--main-color);
    font-weight: bold;
}

/* Still Questions Section */
.still-questions {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    margin-top: 4rem;
    box-shadow: var(--box-shadow);
}

.still-questions h2 {
    color: var(--second-color-dark);
    margin-bottom: 1rem;
}

.still-questions p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
}

.contact-options {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-options a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Highlight Search Results */
.highlight {
    background-color: var(--main-color-light);
    padding: 2px 4px;
    border-radius: 3px;
}

/* No Results */
.no-results {
    text-align: center;
    padding: 3rem;
    color: #666;
}

.no-results i {
    font-size: 3rem;
    color: var(--main-color);
    margin-bottom: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .faq-hero h1 {
        font-size: 2rem;
    }
    
    .faq-categories {
        flex-direction: column;
        align-items: center;
    }
    
    .category-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .faq-question {
        padding: 1rem 1.5rem;
    }
    
    .faq-question h3 {
        font-size: 1.1rem;
        padding-right: 1rem;
    }
    
    .faq-answer > * {
        padding: 0 1.5rem 1rem;
    }
    
    .contact-options {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-options a {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}