/* Header */
.fsnd-faq-items .faqHeader
{
    display: flex;
    align-items: center;
    position: relative;
    font-size: 1.5rem;
    cursor: pointer;
    padding-right: 3.5rem; /* Platz für Icon */
    padding-bottom: 2rem;
}

.open > .faqHeader
{
    padding-bottom: 1rem;
    margin-bottom: -1rem;
    border-bottom: 1px solid black;
}

/* After-Element wie Dropdown-Pfeil */
.fsnd-faq-items .faqHeader::after
{
    content: "";
    background-image: url("/typo3conf/ext/fsnd_settings/Resources/Public/theme/petermann/Css/images/Vector.png");
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    right: 1rem;
    background-color: var(--pmBlue);
    height: 3rem;
    width: 3rem;
    border-radius: 2rem;
}

/* Rotate bei geöffnetem Zustand */
.fsnd-faq-items .faqItem.open .faqHeader::after
{
    transform: scaleY(-1);
}

/* Body ausblenden standardmäßig */
.fsnd-faq-items .faqBody
{
    height: auto;
    max-height: 0;
    padding-block: 0;
    overflow: clip;
    transition: all 0.5s ease-in-out;
}

/* Body anzeigen wenn geöffnet */
.fsnd-faq-items .faqItem.open .faqBody
{
    max-height: 100dvh;
    padding-block: 2rem;
}

h3.faqHeader
{
    color: #000;
}

.faqItem
{
    border-top: 2px solid #000;
    padding-top: 1rem;
}

.fsnd-faq-container > *
{
    margin-bottom: 2rem;
}
