/* Wrapper */
.hwt-dropdown {
   
    margin-bottom: 1.5rem;
}

/* Header als Flex-Zeile: Titel + Icon */
.hwt-dropdown__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;

   
    text-decoration: none;
    background: none;
    border: 0;
    padding: 0;

   
    cursor: pointer;
}

/* H3-Titel */
.hwt-dropdown__title {
    margin: 0;
}

/* Icon-Container */
.hwt-dropdown__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    
}

/* Icon: ❯ (U+276F) */
.hwt-dropdown__icon::before {
    content: "\276F"; /* ❯ */
    display: inline-block;

  
    transition: transform 0.25s ease;
    transform-origin: center;
    transform: rotate(90deg);
    color: #1A2233;
    opacity: 0.6;
}

/* Wenn geöffnet: Icon drehen (z.B. nach unten) */
.hwt-dropdown--open .hwt-dropdown__icon::before {
    transform: rotate(-90deg);
}

/* --- Content-Bereich mit Runterfade-Effekt --- */

.hwt-dropdown__content {
    /* Anfangszustand (zu) */
    opacity: 0;
    max-height: 0;
    overflow: hidden;

    transform: translateY(-6px);

    transition:
        opacity 0.25s ease,
        max-height 0.25s ease,
        transform 0.25s ease;
}

/*
 * Wenn geöffnet – Klasse wird per JS an .hwt-dropdown gehängt:
 *  .hwt-dropdown--open
 */
.hwt-dropdown--open .hwt-dropdown__content {
    opacity: 1;
    max-height: 1000px; 
    transform: translateY(0);
}


.hwt-dropdown__text {
    margin: 0.75rem 0 0;
}