/* Anbieter: price axis of all providers, then filters and the card grid */

/* switch (same as start.css, which this page does not load) */
.switch { display: flex; align-items: center; gap: 12px; font-weight: 600; cursor: pointer; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch .track { width: 46px; height: 26px; border-radius: 13px; background: var(--linie); position: relative; flex: none; transition: background .25s; }
.switch .track::after { content: ""; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .3s var(--ease); }
.switch input:checked + .track { background: var(--rot); }
.switch input:checked + .track::after { transform: translateX(20px); }
.switch input:focus-visible + .track { outline: 3px solid var(--rot); outline-offset: 3px; }

/* ---------- hero with the price axis ---------- */
.ab-hero { padding: clamp(36px, 5vw, 72px) 0 clamp(32px, 4vw, 56px); overflow: hidden; }
.ab-hero h1 { font-size: clamp(38px, 5vw, 72px); max-width: 18ch; }
.ab-hero .lead { margin-top: 16px; max-width: 58ch; }

.spec { margin: clamp(28px, 4vw, 48px) 0 0; }
.spec-legend { display: flex; flex-wrap: wrap; gap: 8px 32px; font-size: 15px; font-weight: 600; margin-bottom: 10px; }
.lg { display: inline-flex; align-items: center; gap: 10px; }
.lg i { width: 16px; height: 16px; border-radius: 3px; background: #fff; flex: none; }
.lg.ch i { box-shadow: 0 0 0 2px var(--rot); }
.lg.other i { opacity: .55; }
.lg b { font-size: 20px; color: #fff; }
.lg-med { color: var(--nebel); font-weight: 500; font-size: 14px; }
.lg.ch .lg-med::before { content: ""; display: inline-block; width: 2px; height: 12px; background: var(--rot); margin-right: 8px; vertical-align: -1px; }
.lg.other .lg-med::before { content: ""; display: inline-block; width: 2px; height: 12px; background: #fff; margin-right: 8px; vertical-align: -1px; }

.spec-scroll { overflow-x: auto; overflow-y: hidden; scrollbar-width: none; outline: none; }
.spec-scroll::-webkit-scrollbar { display: none; }
.spec-plot { --t: 34px; --axis: 200px; position: relative; min-height: 240px; }
.sp-line { position: absolute; top: var(--axis); height: 2px; margin-top: -1px; background: rgba(255, 255, 255, .7); }
.sp-tick { position: absolute; top: var(--axis); width: 1px; height: 6px; margin-top: -3px; background: rgba(255, 255, 255, .5); }
.sp-tick.major { height: 12px; margin-top: -6px; background: #fff; }
.sp-lbl { position: absolute; transform: translateX(-50%); white-space: nowrap; font-stretch: 68%; font-weight: 700; font-size: 15px; line-height: 20px; color: var(--nebel); }
.sp-lbl.major { color: #fff; }
.sp-med { position: absolute; top: var(--axis); width: 3px; margin-left: -1.5px; height: 14px; border-radius: 1px; }
.sp-med.ch { background: var(--rot); margin-top: -15px; }
.sp-med.other { background: #fff; margin-top: 1px; }

.sp { position: absolute; width: var(--t); height: var(--t); border-radius: var(--r); background: #fff; display: grid; place-items: center; text-decoration: none; color: var(--tinte);
  transition: transform .25s var(--ease), opacity .3s, box-shadow .2s; z-index: 1; }
.sp img { width: calc(var(--t) - 12px); height: calc(var(--t) - 12px); object-fit: contain; }
.sp b { font-weight: 800; font-size: 15px; }
.sp.ch { box-shadow: 0 0 0 2px var(--rot); }
.sp.other { opacity: .78; }
.sp:hover, .sp:focus-visible, .sp.hot { transform: scale(1.22); z-index: 3; opacity: 1; }
.sp:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.sp.dim { opacity: .14; }
.sp.dim:hover, .sp.dim.hot { opacity: .6; }
@media (prefers-reduced-motion: no-preference) {
  .sp { animation: sp-in .7s var(--ease) both; animation-delay: calc(.15s + var(--i) * 18ms); }
}
@keyframes sp-in { from { opacity: 0; transform: translateX(-40px); } }
.sp-guide { position: absolute; width: 2px; margin-left: -1px; background: var(--rot); opacity: 0; pointer-events: none; transition: opacity .15s; z-index: 0; }
.sp-guide.on { opacity: 1; }
.sp-tip { position: absolute; z-index: 5; transform: translate(-50%, -100%); background: #fff; color: var(--tinte); border-radius: var(--r); padding: 6px 12px; white-space: nowrap; font-size: 15px;
  box-shadow: var(--shadow); pointer-events: none; opacity: 0; transition: opacity .15s; }
.sp-tip.below { transform: translate(-50%, 0); }
.sp-tip.on { opacity: 1; }
.sp-tip strong { font-weight: 800; font-stretch: 105%; }
.sp-tip .price { font-size: 19px; margin-left: 6px; }
.sp-tip small { font-size: 12px; color: var(--granit); margin-left: 2px; }
.spec-swipe { display: none; color: #fff; font-weight: 600; margin: 4px 0 0; align-items: center; gap: 8px; }
.spec-swipe .ph { font-size: 20px; color: var(--rot); }
@media (max-width: 759px) { .spec-swipe { display: flex; } }
.spec-cap { color: var(--nebel); margin-top: 6px; max-width: none; }
.spec-skip:focus { position: static; width: auto; height: auto; clip: auto; display: inline-block; margin: 0 0 8px var(--gut); color: #fff; }

/* ---------- list ---------- */
.ab-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: clamp(20px, 3vw, 32px); }
.ab-head h2 { font-size: clamp(28px, 3.4vw, 48px); max-width: 20ch; }
.ab-count { margin: 0; font-weight: 800; font-stretch: 108%; font-size: clamp(18px, 1.6vw, 22px); }
.ab-controls { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) auto; gap: 16px 24px; align-items: end; margin-bottom: 20px; }
.q-box { position: relative; }
.q-box .ph { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); font-size: 20px; color: var(--granit); pointer-events: none; }
.q-box .input { padding-left: 46px; }
.ab-sort select { appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 44px; font-size: 17px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230c1824' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 16px center; }
.ab-sort select:focus { outline: none; border-color: var(--rot); }
.ab-swiss { min-height: 56px; }
.ab-filters { display: grid; gap: 12px; margin-bottom: clamp(24px, 3vw, 36px); }
.f-group { display: grid; grid-template-columns: 170px 1fr; gap: 10px 16px; align-items: center; }
.f-label { font-weight: 700; font-size: 15px; }
.f-group .row { gap: 8px; }
.chip .zone { gap: 0; }
.chip .c-n { font-stretch: 68%; font-weight: 700; opacity: .65; }
.chip .ph { font-size: 18px; }
.ab-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 16px; }
.ab-grid .p-card { min-height: 230px; }
.ab-empty { grid-column: 1 / -1; border-top: 2px solid var(--tinte); padding: 28px 0; }
.ab-empty p { font-weight: 800; font-stretch: 108%; font-size: 22px; }
.ab-foot { margin-top: 28px; max-width: 80ch; }

@media (max-width: 899px) {
  .ab-controls { grid-template-columns: 1fr 1fr; }
  .ab-search { grid-column: 1 / -1; }
  .f-group { grid-template-columns: 1fr; }
  .f-group .row { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-right: calc(var(--gut) * -1); padding-right: var(--gut); }
  .f-group .row::-webkit-scrollbar { display: none; }
  .f-group .chip { flex: none; }
}
@media (max-width: 560px) {
  .ab-controls { grid-template-columns: 1fr; }
  .ab-swiss { min-height: 0; }
  .ab-grid { grid-template-columns: 1fr; }
  .ab-grid .p-card { min-height: 0; }
}
