/* ==========================================================================
   FAQ STYLES (styles/faq.css)
   ========================================================================== */

.section-content {
  padding: 110px 0 110px 0;
}

.faq-container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
}

.faq-col {
    flex: 1;
    min-width: 0; /* Verhindert Ausbrechen bei langen Wörtern */
}

.faq-category-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 100; /* Montserrat ExtraLight passend zu euren h3[cite: 1] */
    font-size: 34px;
    line-height: 110%;
    color: #ffffff;
    text-transform: uppercase;
    margin-bottom: 25px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--meinmaturaball-orange);
}

/* Abstand, wenn eine zweite Kategorie in derselben Spalte folgt */
.faq-category-spacer {
    width: 100%;
    height: 70px;
}

.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    margin-bottom: 10px;
    transition: border-color 0.3s ease;
}

/* Entfernt den nativen Pfeil in Webkit-Browsern */
.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-question {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500; /* Montserrat Medium */
    font-size: 22px;
    line-height: 130%;
    color: #ffffff;
    cursor: pointer;
    padding: 24px 50px 24px 0;
    position: relative;
    list-style: none; /* Entfernt nativen Pfeil im Firefox */
    outline: none;
    transition: color 0.3s ease;
}

/* Custom Plus/Minus Icon, zentriert auf der rechten Seite */
.faq-question::after {
    content: '+';
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
    font-weight: 300; /* Montserrat Light */
    color: var(--meinmaturaball-orange);
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.3s ease;
}

.faq-item[open] .faq-question::after {
    content: '−'; /* Echtes Minus-Zeichen */
    transform: translateY(-50%) rotate(180deg);
}

.faq-item:hover .faq-question {
    color: var(--meinmaturaball-orange);
}

.faq-item:hover {
    border-bottom: 1px solid rgba(255, 92, 38, 0.5); /* Zarter Orange-Glow auf der Linie */
}

.faq-answer {
    padding: 0 0 34px 0;
    animation: fadeDown 0.4s ease-out;
}

/* Feines Einblenden beim Öffnen */
@keyframes fadeDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- RESPONSIVE ANPASSUNGEN --- */
@media (max-width: 1500px) {
    .faq-container {
        flex-direction: column;
        gap: 60px;
    }
    .faq-col {
        width: 100%;
    }
}

@media (max-width: 1024px) {
	.faq-category-title {
        font-size: 28px;
    }
    .faq-category-spacer {
        height: 50px;
    }
    .faq-question {
        font-size: 20px;
        padding: 20px 40px 20px 0;
    }
}

@media (max-width: 600px) {
    .faq-category-title {
        font-size: 22px;
        margin-bottom: 15px;
    }
    .faq-category-spacer {
        height: 40px;
    }
    .faq-question {
        font-size: 18px;
        padding: 16px 35px 16px 0;
    }
    .faq-question::after {
        font-size: 28px;
    }
    .faq-answer {
        padding: 0 0 24px 0;
    }
}