/*
 * Werkraum-Talque-Styles
 * ======================
 * Die meisten Regeln sind bewusst auf body.page-id-4324 begrenzt, damit andere
 * Talque-Ansichten nicht unbeabsichtigt verändert werden. 900px trennt mobile
 * Einspaltenansicht und Desktop-Grid; 1200px aktiviert die Dreispaltenansicht.
 * !important ist dort nötig, wo Talques Komponenten eigene wichtige Regeln setzen.
 */

/* ==========================================
   FILTERAUSWAHL UND REIHENFOLGE
   ========================================== */

/* Alten Talque-Filter „Thema“ ausblenden. */
body.page-id-4324.fm-talque-filter-tools tq-plugin-view tq-topic-multiselect {
  display: none !important;
}

/* Themen (Talque-Tags) vor Format, Raum und Suche anordnen. */
body.page-id-4324.fm-talque-filter-tools tq-plugin-view tq-lecture-tag-multiselect {
  order: 10 !important;
}

body.page-id-4324.fm-talque-filter-tools tq-plugin-view tq-format-multiselect {
  order: 20 !important;
}

body.page-id-4324.fm-talque-filter-tools tq-plugin-view tq-room-multiselect {
  order: 30 !important;
}

body.page-id-4324.fm-talque-filter-tools tq-plugin-view tq-text-search {
  order: 40 !important;
}

/* ==========================================
   WERKRAUM × TALQUE
   BEREINIGTE GESAMTFASSUNG
   Seite: Programmhighlights
   ========================================== */

/* ==========================================
   0. Powered by 
   ========================================== */

tq-powered-by-talque-small a {
    display: none;
}


/* ==========================================
   1. GRUNDVARIABLEN
   ========================================== */

body.page-id-4324 {
  --wz-text: #252525;
  --wz-muted: #6b7280;
  --wz-light: #a3a3a3;
  --wz-selected: #f2b300;
}


/* ==========================================
   2. DESKTOPBREITE DER PROGRAMMLISTE
   ========================================== */

@media (min-width: 1200px) {
  /*
   * Brizy-Begrenzung nur im Talque-Abschnitt
   * aufheben.
   */
  body.page-id-4324
  .brz-section__content:has(tq-plugin-view),
  body.page-id-4324
  .brz-container:has(tq-plugin-view) {
    width: 100% !important;
    max-width: none !important;
  }

  body.page-id-4324 tq-plugin-view,
  body.page-id-4324 tq-max-width-container {
    width: 100% !important;
    max-width: none !important;
  }

  /*
   * Eigentlicher Talque-Inhalt.
   * 1500px kann bei Bedarf verändert werden.
   */
  body.page-id-4324 .tq-config-maxwidth {
    width: min(calc(100% - 80px), 1500px) !important;
    max-width: 1500px !important;
    margin-inline: auto !important;
  }
}


/* ==========================================
   3. MOBILE FILTERLEISTE
   ========================================== */

@media (max-width: 899px) {
  /* Gesamte Button-Zeile */
  body.page-id-4324
  tq-mobile-filter-buttons
  > div {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;

    width: 100% !important;
    gap: 14px !important;

    margin: 0 0 22px !important;
    padding: 0 !important;
  }

  /* Gemeinsame Gestaltung beider Buttons */
  body.page-id-4324 tq-filter-clear-button,
  body.page-id-4324 tq-filter-toggle-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    min-height: 48px !important;
    padding: 0 18px !important;

    color: var(--wz-text) !important;
    background-color: #ffffff !important;

    border: 1px solid #d1d5db !important;
    border-radius: 12px !important;
    outline: none !important;

    box-shadow: none !important;

    font-size: 16px !important;
    font-weight: 600 !important;
    line-height: 1 !important;

    cursor: pointer !important;

    transition:
      border-color 160ms ease,
      background-color 160ms ease,
      box-shadow 160ms ease,
      transform 160ms ease !important;
  }

  /* Hover-Zustand beider Buttons */
  body.page-id-4324 tq-filter-clear-button:hover,
  body.page-id-4324 tq-filter-toggle-button:hover {
    background-color: #ffffff !important;
    border-color: var(--wz-selected) !important;

    box-shadow:
      0 4px 12px rgba(15, 23, 42, 0.08) !important;

    transform: translateY(-1px);
  }

  /* Aktiver beziehungsweise geöffneter Filter-Button */
  body.page-id-4324 tq-filter-toggle-button.is-selected,
  body.page-id-4324
  tq-filter-toggle-button[aria-expanded="true"] {
    color: var(--wz-text) !important;
    background-color: var(--wz-selected) !important;
    border-color: var(--wz-selected) !important;

    box-shadow:
      0 5px 14px rgba(15, 23, 42, 0.12) !important;
  }

  /* Aktiver Filter-Button beim Hover */
  body.page-id-4324 tq-filter-toggle-button.is-selected:hover,
  body.page-id-4324
  tq-filter-toggle-button[aria-expanded="true"]:hover {
    background-color: var(--wz-selected) !important;
    border-color: var(--wz-selected) !important;

    box-shadow:
      0 6px 16px rgba(15, 23, 42, 0.15) !important;
  }

  /* Innere Inhalte übernehmen die Textfarbe */
  body.page-id-4324 tq-filter-clear-button > *,
  body.page-id-4324 tq-filter-toggle-button > * {
    color: inherit !important;
  }
}
/* ==========================================
   3. PROGRAMMTAGE UND AKTIVER TAB
   ========================================== */

/*
 * Alle Tabs horizontal und vertikal zentrieren.
 * Das behebt den versetzten „Alle“-Text.
 */
body.page-id-4324 tq-select-tab-header {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  text-align: center !important;
}

/* Auch eventuell enthaltene Textelemente zentrieren */
body.page-id-4324 tq-select-tab-header > * {
  margin-inline: auto !important;
  text-align: center !important;
}

/* Farbe wandert mit dem ausgewählten Tag */
body.page-id-4324 tq-select-tab-header.is-selected,
body.page-id-4324 tq-select-tab-header.is-selected > * {
  color: var(--wz-selected) !important;
  border-color: var(--wz-selected) !important;
}

/* Aktive Filter-Chips greifen die weichen Rundungen der Programmkarten auf. */
body.page-id-4324.fm-talque-rounded-filters tq-dropdown-selected-item .the-selected-item {
  overflow: hidden !important;
  border-radius: 14px !important;
}


/* ==========================================
   3A. TAGESAUSWAHL UND FILTER BEIM SCROLLEN FIXIEREN
   ========================================== */

@media (min-width: 900px) {
  /*
   * tq-lecture-filter-select umfasst die Tages-Tabs sowie Thema, Format,
   * Raum und Suche. Das JavaScript ergänzt beim Erreichen der Oberkante die
   * Klasse .wz-filter-sticky und hält mit einem Platzhalter den Seitenfluss.
   */
  body.page-id-4324.fm-talque-sticky-filters tq-lecture-filter-select {
    padding: 14px 0 18px !important;
    background: #ffffff !important;
    box-shadow: 0 12px 24px -24px rgba(15, 23, 42, 0.45) !important;
  }

  body.page-id-4324.fm-talque-sticky-filters tq-lecture-filter-select.wz-filter-sticky {
    position: fixed !important;
    z-index: 1000 !important;
    top: var(--wz-sticky-top, 0px) !important;
    left: var(--wz-sticky-left, 0px) !important;
    width: var(--wz-sticky-width, auto) !important;
    max-width: none !important;
  }

  /* Der Platzhalter verhindert, dass die Programmliste beim Fixieren hochspringt. */
  body.page-id-4324.fm-talque-sticky-filters .wz-filter-sticky-spacer {
    display: block !important;
    flex: 0 0 auto !important;
    width: 100% !important;
    height: 0;
    pointer-events: none !important;
  }
}


/* ==========================================
   4. VERANSTALTUNGSKARTEN
   ========================================== */

body.page-id-4324 tq-lecture-list-item-shadow-box {
  overflow: hidden !important;

  background: #ffffff !important;

  /*
   * Transparenter Grundrahmen verhindert
   * eine Größenänderung beim Hover.
   */
  border: 1px solid transparent !important;
  border-radius: 16px !important;
  outline: 0 !important;

  box-shadow:
    0 3px 8px rgba(15, 23, 42, 0.06),
    0 12px 30px rgba(15, 23, 42, 0.07) !important;

  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease !important;
}

/* Gelber Rahmen wie beim Button „Filter löschen“ */
body.page-id-4324 tq-lecture-list-item-shadow-box:hover {
  border-color: var(--wz-selected) !important;

  box-shadow:
    0 5px 12px rgba(15, 23, 42, 0.08),
    0 18px 42px rgba(15, 23, 42, 0.12) !important;

  transform: translateY(-2px);
}

/* Karten-Innenabstand */
body.page-id-4324 tq-lecture-list-item {
  padding: 18px !important;
}
/* ==========================================
   5. PARALLELE VERANSTALTUNGEN
   ========================================== */

/* 900–1199px: maximal zwei Karten pro Zeile */
@media (min-width: 900px) and (max-width: 1199px) {
  body.page-id-4324
  tq-lectures-starting-at-list
  > div
  > .the-item {
    flex: 1 1 calc(50% - 10px) !important;
    width: auto !important;
    min-width: 0 !important;

    padding-right: 10px !important;
  }
}

/* Ab 1200px: maximal drei Karten pro Zeile */
@media (min-width: 1200px) {
  body.page-id-4324
  tq-lectures-starting-at-list
  > div
  > .the-item {
    flex: 1 1 calc(33.333% - 10px) !important;
    width: auto !important;
    min-width: 0 !important;

    padding-right: 10px !important;
  }
}

/* Unter 900px: alle Veranstaltungen untereinander */
@media (max-width: 899px) {
  body.page-id-4324
  tq-lectures-starting-at-list
  > div
  > .the-item {
    flex: 0 0 100% !important;
    width: 100% !important;
    min-width: 0 !important;

    padding-right: 0 !important;
  }
}


/* ==========================================
   6. BEGRÜSSUNGEN UND PAUSEN ALS VOLLE ZEILE
   ========================================== */

@media (min-width: 900px) {
  /*
   * Begrüßung Tag 1:
   * 5FXCNXi4iEqS9YXaEDw1
   *
   * Begrüßung Tag 2:
   * PSBUnnF6g7yEGRIqJpIy
   *
   * Pause „Mittag & Austausch“:
   * 3PYOrIVrGxLQ4DP3ToTS
   *
   * Pause „Mittagessen & Snacks to go“:
   * JOJ2o0xmALSSxgWMQGaL
   *
   * Diese Veranstaltungen erhalten ihre eigene
   * Zeile und werden nicht mit parallelen Formaten
   * wie „Mitmachen“ oder „Workshop“ vermischt.
   */
  body.page-id-4324
  tq-lectures-starting-at-list
  > div
  > .the-item:has(
    > a:is(
      [href*="lectureId=5FXCNXi4iEqS9YXaEDw1"],
      [href*="lectureId=PSBUnnF6g7yEGRIqJpIy"],
      [href*="lectureId=3PYOrIVrGxLQ4DP3ToTS"],
      [href*="lectureId=JOJ2o0xmALSSxgWMQGaL"]
    )
  ) {
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;

    padding-right: 0 !important;
  }
}

/* ==========================================
   7. TAGESÜBERSCHRIFTEN
   ========================================== */

body.page-id-4324 tq-lecture-day-header {
  display: block !important;

  margin-top: 32px !important;
  padding-top: 1em !important;
  padding-bottom: 15px !important;

  font-size: var(
    --typography-subtitle-font-size,
    1.2rem
  ) !important;

  font-weight: 700 !important;
  line-height: 1.25 !important;
}

/* Beim ersten Programmtag weniger Abstand */
body.page-id-4324 tq-lecture-day-header:first-of-type {
  margin-top: 18px !important;
}


/* ==========================================
   8. DURCHGEHENDE FORMATLINIE
   Farbe wird von Talque gesetzt
   ========================================== */

body.page-id-4324 tq-format-bar {
  position: relative !important;
  z-index: 4 !important;

  width: 4px !important;
  min-width: 4px !important;

  border: 0 !important;
  border-radius: 999px !important;
  outline: 0 !important;
}


/* ==========================================
   9. TITEL UND PERSONENBILDER
   ========================================== */

body.page-id-4324 .the-details {
  position: relative !important;
  min-width: 0 !important;
}

body.page-id-4324 .the-title-container {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;

  min-width: 0 !important;
  margin: 0 0 10px !important;
}

/* Personenbilder oben rechts positionieren */
body.page-id-4324
.the-title-container
tq-lecture-presenter-icons {
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
}

/* Veranstaltungstitel unter dem Badge */
body.page-id-4324 .the-title {
  display: block !important;
  order: 2 !important;

  max-width: calc(100% - 70px) !important;

  color: var(--wz-text) !important;

  font-size: clamp(18px, 1.5vw, 21px) !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  letter-spacing: -0.015em !important;
}

/*
 * Abstand zwischen Format-Badge und Kartentitel.
 * Dadurch beginnt der Titel unterhalb der rechts
 * positionierten Speaker-Bilder und kollidiert bei
 * längeren Überschriften nicht mit den Porträts.
 * Die Regel gilt nur für Titel in Programmkarten.
 */
body.page-id-4324
.the-title-container
> .the-title {
  padding-top: 16px !important;
}


/* ==========================================
   10. FORMAT-BADGE IN DER PROGRAMMLISTE
   ========================================== */

body.page-id-4324 tq-format-tag {
  position: relative !important;
  z-index: 2 !important;

  display: inline-flex !important;
  order: 1 !important;
  align-items: center !important;

  width: fit-content !important;
  min-width: 0 !important;

  /*
   * Badge auf Talques durchgehende Linie ziehen.
   */
  margin: 0 0 12px -14px !important;
  padding: 0 !important;

  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;

  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  letter-spacing: 0.02em !important;
  text-transform: uppercase !important;
}

/* Talques unsichtbares Trennzeichen entfernen */
body.page-id-4324 tq-format-tag > span:first-child {
  display: none !important;
}

/*
 * Sichtbarer Badge.
 * Die Farbe liefert Talque über --color.
 */
body.page-id-4324 tq-format-tag .the-tag {
  display: inline-flex !important;
  align-items: center !important;

  min-height: 34px !important;
  margin: 0 !important;
  padding: 6px 18px !important;

  color: var(--color) !important;

  background-color: color-mix(
    in srgb,
    var(--color) 11%,
    white
  ) !important;

  /*
   * In der Programmliste keine eigene Linie:
   * tq-format-bar bleibt die einzige Linie.
   */
  border: 0 !important;
  border-left: 0 !important;
  border-radius: 0 999px 999px 0 !important;

  outline: 0 !important;
  box-shadow: none !important;

  font: inherit !important;
  line-height: 1 !important;
  letter-spacing: inherit !important;
  text-transform: inherit !important;
}


/* ==========================================
   11. ABSTAND ZWISCHEN BADGE UND BILDERN
   ========================================== */

/*
 * Rechts Platz für bis zu zwei Personenbilder
 * reservieren.
 */
@media (min-width: 900px) {
  body.page-id-4324
  .the-title-container
  tq-format-tag {
    max-width: calc(100% - 110px) !important;
  }

  body.page-id-4324
  .the-title-container
  tq-format-tag
  .the-tag {
    max-width: 100% !important;
    overflow: hidden !important;

    white-space: nowrap !important;
    text-overflow: ellipsis !important;
  }
}

@media (max-width: 899px) {
  body.page-id-4324
  .the-title-container
  tq-format-tag {
    max-width: calc(100% - 60px) !important;
  }

  body.page-id-4324
  .the-title-container
  tq-format-tag
  .the-tag {
    max-width: 100% !important;
    overflow: hidden !important;

    white-space: nowrap !important;
    text-overflow: ellipsis !important;
  }
}


/* ==========================================
   12. UHRZEITEN
   ========================================== */

body.page-id-4324 .the-time {
  min-width: 74px !important;
  padding-right: 14px !important;
}

body.page-id-4324 .the-start {
  color: var(--wz-text) !important;

  font-size: 16px !important;
  font-weight: 600 !important;
  line-height: 1.15 !important;
}

body.page-id-4324 .the-end {
  margin-top: 7px !important;

  color: var(--wz-light) !important;

  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 1.15 !important;
}


/* ==========================================
   13. REFERENT:INNEN UND RAUM
   ========================================== */

body.page-id-4324 tq-speaker-name-list {
  margin-top: 8px !important;

  color: var(--wz-muted) !important;

  font-size: 14px !important;
  line-height: 1.45 !important;
}

body.page-id-4324 .the-speakers,
body.page-id-4324 .the-speaker-job {
  color: var(--wz-muted) !important;
}

body.page-id-4324 .the-speaker-job {
  font-weight: 400 !important;
}

body.page-id-4324 tq-room-name {
  margin-top: 6px !important;

  color: var(--wz-muted) !important;

  font-size: 14px !important;
  line-height: 1.4 !important;
}


/* ==========================================
   14. DETAIL-POPUP / MODAL
   ========================================== */

body.page-id-4324 tq-modal-dialog .the-dialog-frame {
  overflow: hidden !important;

  background: #ffffff !important;
  border-radius: 25px !important;
  outline: 0 !important;
}


/* ==========================================
   15. BADGE ÜBER DEM MODAL-TITEL
   ========================================== */

/*
 * Im Veranstaltungs-Popup liegt das Format-Badge
 * innerhalb des Titelcontainers. Der Titelcontainer
 * wird deshalb als vertikale Flexbox aufgebaut.
 */
body.page-id-4324
tq-modal-dialog
.the-title:has(tq-format-tag) {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
}

/*
 * Nur das direkte Badge im Kopf des Veranstaltungs-Popups.
 * Die Agenda-Badges in Speaker-Popups bleiben dadurch unberührt
 * und sitzen weiterhin auf der vertikalen Talque-Formatlinie.
 */
body.page-id-4324
tq-modal-dialog
.the-title:has(tq-format-tag)
tq-format-tag {
  position: relative !important;
  z-index: 1 !important;

  order: 1 !important;
  align-self: flex-start !important;

  display: inline-flex !important;
  align-items: center !important;

  width: fit-content !important;
  min-width: 0 !important;
  max-width: 100% !important;

  /*
   * Das Kopf-Badge benötigt keine negative Listenverschiebung.
   * Der Abstand zum darunterliegenden Titel entsteht über
   * den unteren Innenabstand.
   */
  margin: 0 !important;
  padding: 0 0 14px !important;

  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}

/* Titel im Modal an Position 2 */
body.page-id-4324
tq-modal-dialog
.the-title {
  order: 2 !important;
  width: 100% !important;
}

/* Standardabstand der Überschrift zurücksetzen */
body.page-id-4324
tq-modal-dialog
.the-title h1 {
  order: 2 !important;
  margin-top: 0 !important;
}

/*
 * Im Modal gibt es keinen tq-format-bar.
 * Daher erhält das Badge hier eine eigene Linie.
 */
body.page-id-4324
tq-modal-dialog
.the-title:has(tq-format-tag)
tq-format-tag
.the-tag {
  display: inline-flex !important;
  align-items: center !important;

  max-width: 100% !important;
  min-height: 34px !important;

  margin: 0 !important;
  padding: 6px 18px !important;

  color: var(--color) !important;

  background-color: color-mix(
    in srgb,
    var(--color) 11%,
    white
  ) !important;

  border: 0 !important;
  border-left: 4px solid var(--color) !important;
  border-radius: 0 999px 999px 0 !important;

  outline: 0 !important;
  box-shadow: none !important;

  font: inherit !important;
  line-height: 1 !important;
  letter-spacing: inherit !important;
  text-transform: inherit !important;
}


/* ==========================================
   16. MOBILE ANPASSUNGEN
   ========================================== */

@media (max-width: 767px) {
  /* Karten */
  body.page-id-4324 tq-lecture-list-item-shadow-box {
    border-radius: 14px !important;

    box-shadow:
      0 2px 6px rgba(15, 23, 42, 0.06),
      0 8px 20px rgba(15, 23, 42, 0.06) !important;
  }

  body.page-id-4324 tq-lecture-list-item-shadow-box:hover {
    box-shadow:
      0 2px 6px rgba(15, 23, 42, 0.06),
      0 8px 20px rgba(15, 23, 42, 0.06) !important;

    transform: none;
  }

  body.page-id-4324 tq-lecture-list-item {
    padding: 14px !important;
  }

  /* Tagesüberschrift */
  body.page-id-4324 tq-lecture-day-header {
    margin-top: 24px !important;
    padding-bottom: 12px !important;
    font-size: 1.15rem !important;
  }

  /* Uhrzeiten */
  body.page-id-4324 .the-time {
    min-width: 62px !important;
    padding-right: 10px !important;
  }

  body.page-id-4324 .the-start {
    font-size: 15px !important;
  }

  body.page-id-4324 .the-end {
    font-size: 13px !important;
  }

  /* Titel */
  body.page-id-4324 .the-title {
    max-width: calc(100% - 55px) !important;
    font-size: 17px !important;
  }

  body.page-id-4324
  .the-title-container
  > .the-title {
    padding-top: 10px !important;
  }

  /* Listen-Badge */
  body.page-id-4324 tq-format-tag {
    margin-left: -14px !important;
    margin-bottom: 10px !important;

    font-size: 13px !important;
  }

  body.page-id-4324 tq-format-tag .the-tag {
    min-height: 32px !important;
    padding: 6px 15px !important;
  }

  /* Referent:innen und Raum */
  body.page-id-4324 tq-speaker-name-list,
  body.page-id-4324 tq-room-name {
    font-size: 13px !important;
  }

  /* Modal */
  body.page-id-4324 tq-modal-dialog .the-dialog-frame {
    border-radius: 18px !important;
  }

  /*
   * Mobile Abstände nur beim Badge im Popup-Kopf.
   * Agenda-Badges behalten margin-left: -14px und liegen
   * damit auch im Speaker-Popup auf der vertikalen Linie.
   */
  body.page-id-4324
  tq-modal-dialog
  .the-title:has(tq-format-tag)
  tq-format-tag {
    margin: 0 !important;
    padding-bottom: 10px !important;
  }

  body.page-id-4324
  tq-modal-dialog
  .the-title:has(tq-format-tag)
  tq-format-tag
  .the-tag {
    min-height: 32px !important;
    padding: 6px 15px !important;

    border-left-width: 3px !important;
  }
}


/* ==========================================
   17. AGENDA-BADGES IM SPEAKER-POPUP
   ========================================== */

/*
 * Ein Speaker-Popup enthält erneut normale
 * tq-lecture-list-item-Elemente. Deren Badges
 * müssen – genau wie in der Programmübersicht –
 * nach links auf die vertikale Formatlinie rücken.
 *
 * Diese gezielte Regel steht bewusst am Ende der
 * Datei, damit keine allgemeine Modal-Regel den
 * notwendigen Versatz wieder überschreibt.
 */
body.page-id-4324
tq-modal-dialog
tq-lecture-list-item
tq-format-tag {
  margin-left: -14px !important;
}

/* ==========================================================
   WERKRAUM × TALQUE – MOBILER FILTER-DRAWER
   ========================================================== */

@media (max-width: 899px) {
  body.page-id-4324.fm-talque-mobile-drawer {
    --wz-orange: #f5a900;
    --wz-text: #111827;
    --wz-border: #e5e7eb;
    --wz-surface: #fff;
    --wz-group: #f5f5f5;
  }

  /* Filter- und Löschen-Button: Grundzustand */
  body.page-id-4324.fm-talque-mobile-drawer tq-filter-toggle-button,
  body.page-id-4324.fm-talque-mobile-drawer tq-filter-clear-button {
    position: relative !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 48px !important;
    padding: 11px 18px !important;
    color: var(--wz-text) !important;
    background: var(--wz-surface) !important;
    border: 1px solid var(--wz-border) !important;
    border-radius: 16px !important;
    box-shadow: none !important;
    cursor: pointer !important;
    touch-action: manipulation !important;
    user-select: none !important;
    -webkit-user-select: none !important;
    -webkit-tap-highlight-color: transparent !important;
    transform: translate3d(0, 0, 0) scale(1) !important;
    transition: color 160ms ease, background-color 160ms ease,
      border-color 160ms ease, box-shadow 160ms ease,
      transform 160ms ease, opacity 160ms ease !important;
  }

  /* Talques Trichter-SVG ausblenden. Es bleibt im DOM, damit wir Talques
     Buttonstruktur und Bedienlogik nicht verändern müssen. */
  body.page-id-4324.fm-talque-filter-icon tq-filter-toggle-button svg {
    display: none !important;
  }

  /* Dreizeiliges Filter-Icon hinter der Beschriftung „Filter“ einsetzen.
     Das SVG ist als Data-URL eingebettet und benötigt keine zusätzliche Datei. */
  body.page-id-4324.fm-talque-filter-icon tq-filter-toggle-button::after {
    content: "" !important;
    display: block !important;
    flex: 0 0 24px !important;
    width: 24px !important;
    height: 24px !important;
    margin-left: 6px !important;
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20fill%3D%22none%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke%3D%22black%22%20stroke-width%3D%221.5%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cstyle%3E*%20%7B%20vector-effect%3A%20non-scaling-stroke%3B%20%7D%3C%2Fstyle%3E%3Cpath%20d%3D%22M3%206h18%22%2F%3E%3Cpath%20d%3D%22M7%2012h10%22%2F%3E%3Cpath%20d%3D%22M10%2018h4%22%2F%3E%3C%2Fsvg%3E") !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-size: contain !important;
  }

  @media (hover: hover) and (pointer: fine) {
    body.page-id-4324.fm-talque-mobile-drawer tq-filter-toggle-button:not(.wz-filter-sheet-open):hover,
    body.page-id-4324.fm-talque-mobile-drawer tq-filter-clear-button:hover {
      border-color: var(--wz-orange) !important;
      box-shadow: 0 8px 18px rgba(17, 24, 39, 0.12) !important;
      transform: translate3d(0, -2px, 0) scale(1) !important;
    }
  }

  body.page-id-4324.fm-talque-mobile-drawer tq-filter-toggle-button:active,
  body.page-id-4324.fm-talque-mobile-drawer tq-filter-clear-button:active,
  body.page-id-4324.fm-talque-mobile-drawer tq-filter-toggle-button.wz-button-pressed,
  body.page-id-4324.fm-talque-mobile-drawer tq-filter-clear-button.wz-button-pressed {
    transform: translate3d(0, 1px, 0) scale(0.96) !important;
    box-shadow: 0 2px 6px rgba(17, 24, 39, 0.12) !important;
    opacity: 0.82 !important;
    transition-duration: 70ms !important;
  }

  /* Sheet geöffnet */
  body.page-id-4324.fm-talque-mobile-drawer tq-filter-toggle-button.wz-filter-sheet-open {
    color: var(--wz-text) !important;
    background: var(--wz-orange) !important;
    border-color: var(--wz-orange) !important;
    box-shadow: 0 7px 16px rgba(245, 169, 0, 0.22) !important;
  }

  /* Filter aktiv, Sheet geschlossen */
  body.page-id-4324.fm-talque-mobile-drawer
    tq-filter-toggle-button.wz-filter-has-selection:not(.wz-filter-sheet-open) {
    color: var(--wz-text) !important;
    background: var(--wz-surface) !important;
    border-color: var(--wz-orange) !important;
    box-shadow: 0 0 0 1px rgba(245, 169, 0, 0.18),
      0 4px 12px rgba(245, 169, 0, 0.16) !important;
  }

  /* Filterzähler */
  body.page-id-4324.fm-talque-mobile-drawer tq-filter-toggle-button .wz-filter-count {
    position: absolute !important;
    z-index: 5 !important;
    top: -7px !important;
    right: -7px !important;
    display: none !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 21px !important;
    height: 21px !important;
    padding: 0 6px !important;
    color: var(--wz-text) !important;
    background: var(--wz-orange) !important;
    border: 2px solid #fff !important;
    border-radius: 999px !important;
    box-shadow: 0 3px 8px rgba(17, 24, 39, 0.2) !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    pointer-events: none !important;
  }

  body.page-id-4324.fm-talque-mobile-drawer
    tq-filter-toggle-button.wz-filter-has-selection:not(.wz-filter-sheet-open)
    .wz-filter-count {
    display: inline-flex !important;
  }

  body.page-id-4324.fm-talque-mobile-drawer tq-filter-toggle-button:focus-visible,
  body.page-id-4324.fm-talque-mobile-drawer tq-filter-clear-button:focus-visible,
  body.page-id-4324.fm-talque-mobile-drawer .wz-drawer-header:focus-visible {
    outline: 3px solid rgba(245, 169, 0, 0.38) !important;
    outline-offset: 3px !important;
  }

  /* Drawer: initial immer geschlossen */
  body.page-id-4324.fm-talque-mobile-drawer tq-filter-container {
    position: fixed !important;
    z-index: 999999 !important;
    inset: auto 0 0 !important;
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    max-height: calc(100dvh - 24px) !important;
    margin: 0 !important;
    padding: 0 18px 28px !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior: contain !important;
    -webkit-overflow-scrolling: touch !important;
    color: var(--wz-text) !important;
    background: #fff !important;
    border: 0 !important;
    border-radius: 28px 28px 0 0 !important;
    box-shadow: 0 -8px 30px rgba(17, 24, 39, 0.18),
      0 -2px 10px rgba(17, 24, 39, 0.08) !important;
    animation: none !important;
    transform: translate3d(0, 105%, 0) scaleY(1);
    transform-origin: bottom center !important;
    opacity: 0;
    visibility: hidden;
    will-change: transform, opacity;
    contain: layout paint;
  }

  body.page-id-4324.fm-talque-mobile-drawer tq-filter-container.wz-sheet-prepared {
    visibility: visible !important;
  }

  /* Sticky Header und Griff */
  body.page-id-4324.fm-talque-mobile-drawer tq-filter-container .wz-drawer-header {
    position: sticky !important;
    z-index: 20 !important;
    top: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: calc(100% + 36px) !important;
    height: 52px !important;
    margin: 0 -18px 16px !important;
    padding: 0 !important;
    flex: 0 0 52px !important;
    background: #fff !important;
    border: 0 !important;
    border-radius: 28px 28px 0 0 !important;
    box-shadow: none !important;
    cursor: grab !important;
    touch-action: none !important;
    user-select: none !important;
    -webkit-user-select: none !important;
    -webkit-touch-callout: none !important;
  }

  body.page-id-4324.fm-talque-mobile-drawer tq-filter-container .wz-drawer-header:active {
    cursor: grabbing !important;
  }

  body.page-id-4324.fm-talque-mobile-drawer tq-filter-container .wz-drawer-handle {
    display: block !important;
    width: 46px !important;
    height: 5px !important;
    margin: 0 !important;
    background: #d5d5d5 !important;
    border: 0 !important;
    border-radius: 999px !important;
    pointer-events: none !important;
  }

  /* Vorhandene Schließen-Kreuze ausblenden */
  body.page-id-4324.fm-talque-mobile-drawer tq-filter-container .wz-drawer-close,
  body.page-id-4324.fm-talque-mobile-drawer tq-filter-container .the-close-button,
  body.page-id-4324.fm-talque-mobile-drawer tq-filter-container .close-button,
  body.page-id-4324.fm-talque-mobile-drawer tq-filter-container [aria-label='Close'],
  body.page-id-4324.fm-talque-mobile-drawer tq-filter-container [aria-label='Schließen'] {
    display: none !important;
  }

  /* Filtergruppen */
  body.page-id-4324.fm-talque-mobile-drawer tq-filter-container tq-filter-section,
  body.page-id-4324.fm-talque-mobile-drawer tq-filter-container .the-filter-section {
    display: block !important;
    margin: 0 0 18px !important;
    padding: 22px 18px !important;
    background: var(--wz-group) !important;
    border: 0 !important;
    border-radius: 22px !important;
    box-shadow: none !important;
  }

  /* Vollständig anklickbare Filterzeilen */
  body.page-id-4324.fm-talque-mobile-drawer tq-filter-container .the-selectable {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    min-height: 48px !important;
    margin: 0 !important;
    padding: 8px 6px !important;
    border-radius: 10px !important;
    cursor: pointer !important;
    touch-action: manipulation !important;
    -webkit-tap-highlight-color: transparent !important;
    transition: background-color 120ms ease, transform 120ms ease !important;
  }

  body.page-id-4324.fm-talque-mobile-drawer tq-filter-container .the-selectable:hover {
    background: rgba(0, 0, 0, 0.04) !important;
  }

  body.page-id-4324.fm-talque-mobile-drawer tq-filter-container .the-selectable:active {
    background: rgba(0, 0, 0, 0.08) !important;
    transform: scale(0.985) !important;
  }

  body.page-id-4324.fm-talque-mobile-drawer tq-filter-container .the-selectable label {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    min-height: 40px !important;
    cursor: pointer !important;
    pointer-events: auto !important;
  }

  body.page-id-4324.fm-talque-mobile-drawer tq-filter-container .the-selectable tq-input-checkbox {
    flex: 0 0 auto !important;
    cursor: pointer !important;
  }

  /* Checkbox und Talque-Rahmen bleiben vollständig nativ. */
  body.page-id-4324.fm-talque-mobile-drawer tq-filter-container .the-selectable input.the-input,
  body.page-id-4324.fm-talque-mobile-drawer tq-filter-container .the-selectable .the-frame {
    cursor: pointer !important;
  }

  @media (prefers-reduced-motion: reduce) {
    body.page-id-4324.fm-talque-mobile-drawer tq-filter-container,
    body.page-id-4324.fm-talque-mobile-drawer tq-filter-toggle-button,
    body.page-id-4324.fm-talque-mobile-drawer tq-filter-clear-button {
      animation: none !important;
      transition: none !important;
    }
  }
}

/* ENDE – TALQUE MOBILE FILTER CSS */

/* ==========================================
   PODIUM: IM ZEITSLOT ZUERST UND VOLLE ZEILE
   ========================================== */

@media (min-width: 900px) {
  body.page-id-4324.fm-talque-podium-layout
  tq-lectures-starting-at-list
  > div
  > .the-item.wz-format-podium {
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    padding-right: 0 !important;
  }
}
