/* ========================================================
   WDB Tickets – Accordion Mechanik
======================================================== */

.wdb-ticket-list  {
    background: #1F1F1F;
    border-radius: 10px;
    padding: 40px;
}

@media (max-width: 768px) {
    .wdb-ticket-list {
        padding: 20px;
    }
}

.wdb-ticket-item {
    margin-bottom: 20px;
}

.wdb-ticket-category .wdb-ticket-list .wdb-ticket-item:first-child .wdb-ticket-acc-titel {
    border-top: none;
}

.wdb-ticket-acc-inhalt {
    display: none;
    overflow: hidden;
}

.wdb-ticket-acc-titel {
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
}

.wdb-icon-arrow {
    display: block;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    transform: rotate(0deg);
}

.wdb-ticket-item.is-open .wdb-icon-arrow {
    transform: rotate(90deg);
}

.wdb-ticket-cat-title {
    margin-bottom: 50px;
    color: var(--e-global-color-accent);
    padding-left: 40px;
}

@media (max-width: 768px) {
    .wdb-ticket-cat-title {
      padding: 0px;
      margin-bottom: 30px;
    }
}



.wdb-ticket-acc-inhalt ul {
    padding-left: 25px;
    list-style: disc;
}

.wdb-ticket-category {
    margin-bottom: 80px;
}

@media (max-width: 768px) {
    .wdb-ticket-category {
        margin-bottom: 40px;
    }
}

.wdb-ticket-acc-titel {
    border-bottom: 1px solid #636363;
}

.wdb-ticket-item.is-open .wdb-ticket-acc-titel {
    border-bottom: none;
}

.wdb-ticket-item.is-open .wdb-ticket-acc-inhalt {
    border-bottom: 1px solid #636363;
}


/* ========================================================
   TICKET FILTER – DESKTOP SIDEBAR
======================================================== */

.wdb-tickets-filter {
    position: sticky;
    top: 20px;
}

.wdb-filter-category {
    margin-bottom: 20px;
}

.wdb-filter-cat-title {
    display: block;
    font-family: "Neue Haas Unica W1G", "Helvetica Neue", Helvetica, sans-serif;
    font-size: 2rem;
    font-weight: 900;
    color: #AB9962;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.wdb-filter-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.wdb-filter-list li {
    margin-bottom: 2px;
}

.wdb-filter-link {
    display: block;
    font-family: "Neue Haas Unica W1G", "Helvetica Neue", Helvetica, sans-serif;
    font-size: 2rem;
    font-weight: 400;
    color: #ffffff!important;
    text-decoration: none;
    padding: 3px 0;
    transition: color 0.2s ease;
    line-height: 1.4;
}

.wdb-filter-link:hover,
.wdb-filter-link.is-active {
    color: #AB9962;
}

.wdb-filter-link.is-active {
    font-weight: 400;
}

@media (min-width: 1025px) {
    .wdb-filter-mobile-bar { display: none; }
}

@media (max-width: 1024px) {
    .wdb-tickets-filter { display: none; }
}


/* ========================================================
   TICKET FILTER – MOBIL BUTTON + DROPDOWN
======================================================== */

.wdb-filter-mobile-bar {
    display: none;
    position: relative;
    margin-bottom: 24px;
}

@media (max-width: 1024px) {
    .wdb-filter-mobile-bar {
        display: block;
    }
}

/* ── Button ── */
.wdb-filter-mobile-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: #4E4E4E;
    border: 1px solid #707070;
    border-radius: 50px;
    padding: 0 8px 0 24px;
    height: 50px;
    cursor: pointer;
    gap: 12px;
    font-family: "Neue Haas Unica W1G", "Helvetica Neue", Helvetica, sans-serif;
     font-size: 2.4rem;
     font-weight: 900;
     color: #ffffff;
    box-sizing: border-box;
    transition: border-color 0.2s ease, border-radius 0.2s ease;
}

/* Aktiver Filter: Gold-Border, aber voller Radius */
.wdb-filter-mobile-btn.is-active {
    border-color: #707070;
    border-radius: 50px;
}

/* Dropdown offen: obere Ecken gerade, unten transparent zum Dropdown hin */
.wdb-filter-mobile-btn.is-open {
    border-color: #707070;
    border-radius: 25px 25px 0 0;
    border-bottom-color: transparent;
}

.wdb-filter-mobile-label {
    font-family: "Neue Haas Unica W1G", "Helvetica Neue", Helvetica, sans-serif;
    font-size: 1.8rem;
    font-weight: 900;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
    text-align: center;
    transition: color 0.2s ease;
}

.wdb-filter-mobile-btn.is-active .wdb-filter-mobile-label {
    color: #AB9962;
}

.wdb-filter-mobile-icon {
    width: 34px;
    height: 34px;
    min-width: 34px;
    background: #000000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s ease;
}

.wdb-filter-mobile-btn.is-open .wdb-filter-mobile-icon {
    background: #AB9962;
}

.wdb-filter-mobile-icon img {
    width: 16px;
    height: 16px;
    display: block;
    filter: brightness(0) invert(1);
}

/* ── Dropdown ── */
.wdb-filter-dropdown {
    display: none;
    position: absolute;
    top: calc(100% - 1px);
    left: 0;
    right: 0;
    background: #1a1a1a;
    border: 1px solid #707070;
    border-top: none;
    border-radius: 0 0 20px 20px;
    padding: 16px 24px 20px;
    z-index: 999;
    max-height: 60vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6);
    box-sizing: border-box;
}

.wdb-filter-dropdown.is-open {
    display: block;
    animation: wdb-dropdown-in 0.25s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes wdb-dropdown-in {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Kategorie-Titel im Dropdown */
.wdb-filter-dropdown .wdb-filter-cat-title {
    font-size: 2rem;
    margin-top: 14px;
    margin-bottom: 6px;
    padding-bottom: 4px;
    border-bottom: 1px solid rgba(171, 153, 98, 0.3);
}

.wdb-filter-dropdown .wdb-filter-category:first-child .wdb-filter-cat-title {
    margin-top: 0;
}

/* Links im Dropdown */
.wdb-filter-dropdown .wdb-filter-link {
    font-size: 1.6rem;
    padding: 5px 0;
}

.wdb-filter-dropdown .wdb-filter-list li {
    margin-bottom: 0;
}


/* ── Reset-Button ── */
.wdb-filter-reset {
    display: none;
    align-items: center;
    gap: 6px;
    background: none;
    border: 1px solid #636363;
    border-radius: 50px;
    color: #ffffff;
    font-family: "Neue Haas Unica W1G", "Helvetica Neue", Helvetica, sans-serif;
    font-size: 1.4rem;
    font-weight: 400;
    padding: 6px 16px;
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease;
    margin-top: 0;
}

.wdb-filter-reset:hover {
    border-color: #AB9962;
    color: #AB9962;
}

