.lightweight-accordion {
    margin-bottom: 0.4em;
}

summary.lightweight-accordion-title {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    color: #5c3d2e;
    background-color: #ffffff !important;
    border: 1px solid #6e4532;
    padding: 12px 16px;
    font-weight: normal;
    font-size: 1.1em;
    border-radius: 5px;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    list-style: none;
}

summary.lightweight-accordion-title:hover {
    color: #F56b73;
    background-color: #ffffff;
    border-color: #72c79f;
}

/* Pfeil nach rechts standardmäßig */
summary.lightweight-accordion-title::before {
    content: "▸";
    font-size: 1.2em;
    color: #A1D88A;
    transition: transform 0.3s ease;
    display: inline-block; /* sehr wichtig */
    margin-right: 8px;    /* optional Abstand zum Text */
}

/* Pfeil nach unten, wenn geöffnet */
.lightweight-accordion details[open] > summary.lightweight-accordion-title::before {
    transform: rotate(90deg);
    border-top: none;
}

.lightweight-accordion-body {
    padding: 20px 16px;
    border-top: none;
    margin-top: 8px;
}

.lightweight-accordion a {
    color: #2AAFA1;
}

.lightweight-accordion a:hover {
    color: #F56b73;
}

/* Alle Überschriften im Accordion-Title auf die gewünschte Farbe anpassen */
summary.lightweight-accordion-title h1,
summary.lightweight-accordion-title h2,
summary.lightweight-accordion-title h3,
summary.lightweight-accordion-title h4,
summary.lightweight-accordion-title h5,
summary.lightweight-accordion-title h6 {
    display: inline;        /* wichtig für Pfeil-Darstellung */
    font-weight: normal;    /* optional: überschreibt Standard fett */
    font-size: inherit;     /* Schriftgröße vom Summary übernehmen */
    color: #4b3224;         /* gewünschte Farbe */
    margin: 0;              /* Standard-Margin der Überschrift entfernen */
}