.faq-widget {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

.faq-title {
    text-align: center;
    font-size: 2rem;
    font-weight: normal;
    margin-bottom: 20px;
    color: #1e3a5f;
}

.faq-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #666666;
    margin-bottom: 40px;
    line-height: 1.6;
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background-color: #ffffff;
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.faq-question {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f8f9fa;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #e9ecef;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: #333333;
    flex: 1;
    padding-right: 20px;
}

.faq-icon {
    font-size: 1.2rem;
    color: #00c8ff;
    transition: transform 0.3s ease;
}

.faq-icon .faq-minus {
    display: none;
}

.faq-item.faq-open .faq-icon .faq-plus {
    display: none;
}

.faq-item.faq-open .faq-icon .faq-minus {
    display: inline;
}

.faq-item.faq-open .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer-content {
    padding: 25px;
    color: #666666;
    line-height: 1.6;
    font-size: 1rem;
}

.faq-answer-content p {
    margin: 0 0 15px 0;
}

.faq-answer-content p:last-child {
    margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .faq-widget {
        padding: 30px 15px;
    }
    
    .faq-title {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    
    .faq-subtitle {
        font-size: 1.1rem;
        margin-bottom: 30px;
    }
    
    .faq-question {
        padding: 18px 20px;
    }
    
    .faq-question h3 {
        font-size: 1.1rem;
        padding-right: 15px;
    }
    
    .faq-answer-content {
        padding: 0 20px 20px 20px;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .faq-widget {
        padding: 20px 10px;
    }
    
    .faq-title {
        font-size: 1.8rem;
    }
    
    .faq-subtitle {
        font-size: 1rem;
    }
    
    .faq-question {
        padding: 15px 18px;
    }
    
    .faq-question h3 {
        font-size: 1rem;
    }
    
    .faq-answer-content {
        padding: 0 18px 18px 18px;
    }
}

/* Accessibility */
.faq-question:focus {
    outline: 2px solid #00c8ff;
    outline-offset: 2px;
}

/* Animation für smooth accordion effect */
.faq-item.faq-open .faq-question {
    background-color: #00c8ff;
    color: white;
}

.faq-item.faq-open .faq-question h3 {
    color: white;
}

.faq-item.faq-open .faq-icon {
    color: white;
}
