/* ================================================================= */
/*                          Allgemeine Stile                         */
/* ================================================================= */
@import url('../css/variables.css');

/* ==================== FAQ Layout ==================== */
.faq-section {
    background-color: black;
    color: black;
    padding: 6rem 2rem;
}

.faq-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    color: white;
}

/* ==================== FAQ Headline ==================== */
.faq-container h2 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    color: white;
}

.faq-container p {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    color: white;
}

/* ==================== FAQ Items ==================== */
.faq-item {
    text-align: left;
    border-top: 1px solid white;
    padding: 1rem 0;
}

.faq-question {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 1rem 0;
    width: 100%;
    background: transparent;
    border: none;
    color: inherit;
    cursor: pointer;
}

.faq-question:hover {
    color: #aaa;
}

.faq-answer {
    display: none;
    padding-top: 1rem;
    color: white;
}

.faq-answer p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
}

/* ==================== FAQ Arrow Icon ==================== */
.arrow-icon {
    width: 1.2rem;
    height: 1.2rem;
    transition: transform 0.3s ease;
    transform: rotate(0deg); /* zeigt nach rechts */
}

.faq-question.active .arrow-icon {
    transform: rotate(90deg); /* zeigt nach unten */
}
