.filter-chip--reset {
  background: transparent;
  border-style: dashed;
  color: var(--muted2);
}
.filter-chip--reset:hover {
  color: var(--text);
  border-color: rgba(255, 255, 255, .32);
  background: var(--card);
}

.gs-filter-stand {
  font-size: .92rem;
}
.gs-filter-stand b {
  color: var(--text);
}

@media (max-width: 560px) {
  .filter-chip { min-height: 44px; }
}

@media (max-width: 480px) {
  .filter-leiste { gap: 6px; }
  .filter-chip { font-size: .82rem; padding: .4rem .7rem; }
}

.gs-wertregler {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  margin: 12px 0 2px;
  padding: 10px 12px;
  border: 1px solid var(--stroke, rgba(255, 255, 255, .16));
  border-radius:var(--rund-gross);
  background: var(--card, rgba(255, 255, 255, .04));
}
.gs-wertregler .wertfilter-label { font-weight: 700; font-size: .94rem; }
.wertfilter-anzeige {
  color: var(--muted2, var(--muted));
  font-weight: 700;
  font-size: .86rem;
  margin-left: auto;

  min-width: 0;
  overflow-wrap: anywhere;
}

@media (min-width: 900px) {
  .gh-rail .wertfilter-anzeige {
    flex: 1 1 100%;
    margin-left: 0;
  }
}

.wertfilter-regler {
  --fuell: 0%;
  -webkit-appearance: none;
  appearance: none;
  flex: 1 1 100%;
  min-width: 120px;

  height: 44px;
  background: transparent;
  cursor: pointer;

  touch-action: none;
}

.wertfilter-regler::-webkit-slider-runnable-track {
  height: 6px;
  border-radius:var(--rund-pille);
  background: linear-gradient(90deg,
    var(--brand, #3b82f6) 0 var(--fuell),
    rgba(255, 255, 255, .16) var(--fuell) 100%);
}
.wertfilter-regler::-moz-range-track {
  height: 6px;
  border-radius:var(--rund-pille);
  background: rgba(255, 255, 255, .16);
}
.wertfilter-regler::-moz-range-progress {
  height: 6px;
  border-radius:var(--rund-pille);
  background: var(--brand, #3b82f6);
}

.wertfilter-regler::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  margin-top: -9px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--brand, #3b82f6);
  box-shadow: 0 1px 4px rgba(0, 0, 0, .45);
}
.wertfilter-regler::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--brand, #3b82f6);
  box-shadow: 0 1px 4px rgba(0, 0, 0, .45);
}
.wertfilter-regler:focus-visible { outline: none; }
.wertfilter-regler:focus-visible::-webkit-slider-thumb { box-shadow: var(--focus); }
.wertfilter-regler:focus-visible::-moz-range-thumb { box-shadow: var(--focus); }

.wertfilter-los {
  border: 0;
  border-radius:var(--rund-pille);
  padding: .3rem .7rem;
  font: inherit;
  font-size: .8rem;
  font-weight: 700;
  cursor: pointer;
  background: var(--btn, #d63a2f);
  color: #fff;
}
.wertfilter-los[hidden] { display: none; }

@media (max-width: 480px) {
  .gs-wertregler { padding: 10px; }
}

.filter-zuruecksetzen{display:inline-block;margin-left:10px;color:#fff;font-weight:700;
  text-decoration:underline;text-underline-offset:3px;white-space:nowrap}
.filter-zuruecksetzen:hover{text-decoration:none}
.filter-zuruecksetzen:focus-visible{outline:none;box-shadow:var(--focus);border-radius:var(--rund-klein)}

.gh-fb-suche, .gh-fb-leiste { display: none; }

@media (max-width: 720px) {
  .gh-fb { display: block; margin-bottom: 10px; }

  .gh-fb-suche { display: block; margin: 0 0 8px; }
  .gh-fb-suche input[type="search"] {
    width: 100%; box-sizing: border-box;
    background: var(--gh-flaeche2, #1d3050);
    border: 1px solid var(--gh-linie, #2b4066);
    color: inherit; border-radius: 10px;
    padding: 11px 12px; font: inherit; font-size: 15px;
  }

  .gh-fb-leiste { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 7px; }
  .gh-fb-knopf {
    display: flex; align-items: center; justify-content: center; gap: 4px;
    background: var(--gh-flaeche, #16243d);
    border: 1px solid var(--gh-linie, #2b4066);
    color: inherit; border-radius: 10px;
    padding: 9px 8px; font: 600 13px inherit; font-family: inherit;

    min-height: 40px;
  }

  .gh-fb-knopf i { font-style: normal; opacity: .6; font-size: 12px; }
  .gh-fb-knopf[aria-expanded="true"] { border-color: var(--gh-rot, #e0233a); }

  .gh-fb-panel { display: none; }
  .gh-fb-panel[data-offen="ja"] {
    display: block;
    margin-top: 9px;
    background: var(--gh-flaeche, #16243d);
    border: 1px solid var(--gh-rot, #e0233a);
    border-radius: 12px;
    padding: 12px;
  }

  .gh-fb-panel[data-offen="ja"] .gs-wertregler {
    background: none; border: 0; padding: 0; margin: 0;
  }
  .gh-fb-panel[data-offen="ja"] .sortier-leiste { margin: 0; }
}

@media (min-width: 721px) {

  .gh-fb, .gh-fb-panel { display: contents; }
}

@media (max-width: 720px) {
  .gh-fb-panel[data-offen="ja"] .filter-leiste {
    display: block; margin: 0; padding: 0; list-style: none; gap: 0;
  }
  .gh-fb-panel[data-offen="ja"] .filter-leiste > li {
    margin: 0; padding: 0; display: block;
  }
  .gh-fb-panel[data-offen="ja"] .filter-leiste .filter-chip {
    display: flex; align-items: center; gap: 10px;
    width: 100%; box-sizing: border-box;
    min-height: 44px; padding: 11px 4px;
    background: none; border: 0; border-radius: 0;
    border-bottom: 1px solid var(--gh-linie, #2b4066);
    font-weight: 500; text-align: left;
  }
  .gh-fb-panel[data-offen="ja"] .filter-leiste > li:last-child .filter-chip {
    border-bottom: 0;
  }

  .gh-fb-panel[data-offen="ja"] .filter-leiste .filter-chip .anzahl {
    margin-left: auto; font-variant-numeric: tabular-nums;
    background: none; padding: 0; opacity: .65; font-weight: 500;
  }

  .gh-fb-panel[data-offen="ja"] .filter-leiste .filter-chip[aria-current] {
    background: none; color: inherit; font-weight: 700;
  }
  .gh-fb-panel[data-offen="ja"] .filter-leiste .filter-chip[aria-current]::before {
    content: "✓"; color: var(--gh-rot, #e0233a); font-weight: 700; margin-right: 2px;
  }

  .gh-fb-panel[data-offen="ja"] .sortier-leiste {
    display: block;
  }
  .gh-fb-panel[data-offen="ja"] .sortier-leiste > span {
    display: block; margin: 0 0 6px;
    font-size: 11.5px; letter-spacing: .09em; text-transform: uppercase;
    opacity: .7;
  }
}
