/* Filter tool v3 (one bar, popover, detail panel) and ski boards. Loaded after wsb.css. */
.wrap--wide { max-width: 1680px; }
:root { --fbar: 72px; }

/* ---------- frame ---------- */
.tool { padding: 56px 0 88px; }
.tool__top { margin-bottom: 18px; }
.fbar { position: sticky; top: var(--head); z-index: 20; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 10px 24px -22px rgba(23, 37, 28, .5); }
.fbar__in { display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; padding-top: 12px; padding-bottom: 12px; }
.fctl { display: flex; align-items: center; gap: 10px 14px; }

.tabs { display: flex; gap: 6px; }
.tab { display: inline-flex; align-items: baseline; gap: 8px; font: 600 16px/1 var(--font); padding: 12px 16px; border: 1px solid #c9d1ca; border-radius: 999px; background: var(--paper); color: var(--ink); cursor: pointer; white-space: nowrap; transition: background-color .2s, color .2s, border-color .2s; }
.tab small { font-size: 13px; font-weight: 500; color: var(--ink-2); }
.tab:hover { border-color: var(--green); }
.tab[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: #fff; }
.tab[aria-pressed="true"] small { color: #cfe0d1; }
.chip.is-zero, .tab.is-zero { opacity: .42; }

.select--place select { font-weight: 600; min-width: 210px; padding-top: 11px; padding-bottom: 11px; }
.locbtn, .fbtn { display: inline-flex; align-items: center; gap: 8px; font: 500 15px/1 var(--font); padding: 11px 14px; border-radius: 999px; border: 1px solid #c9d1ca; background: var(--paper); color: var(--ink); cursor: pointer; white-space: nowrap; }
.locbtn:hover, .fbtn:hover { border-color: var(--green); }
.locbtn svg, .fbtn svg, .search svg, .fab svg, .map-btn svg, .token svg, .xbtn svg, .detail svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.locbtn[aria-pressed="true"] { background: var(--open-bg); border-color: var(--green); color: var(--green-ink); }
.locbtn[aria-busy="true"] svg, .map-btn[aria-busy="true"] svg { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.fbtn[aria-expanded="true"] { border-color: var(--green); background: var(--moss); }
.fbtn b { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--orange); color: #241000; font-size: 12.5px; display: inline-grid; place-items: center; }
.fbtn b[hidden] { display: none; }

/* popover with the secondary filters */
.fmore { position: relative; }
.fpanel { position: absolute; top: calc(100% + 10px); right: 0; z-index: 30; width: 440px; background: var(--paper); border-radius: 16px; box-shadow: 0 2px 6px rgba(23, 37, 28, .08), 0 24px 50px -16px rgba(23, 37, 28, .45); }
.fpanel[hidden] { display: none; }
.fpanel__head { display: none; }
.fpanel__body { display: grid; gap: 18px; padding: 20px 20px 8px; }
.fg { display: grid; gap: 8px; }
.fg--row { grid-template-columns: 1fr auto; align-items: center; }
.fg__l { font-size: 14px; font-weight: 500; color: var(--ink-2); }
.fg .chips { gap: 6px; }
.fg .chip { padding: 8px 12px; font-size: 14.5px; display: inline-flex; align-items: center; gap: 6px; }
.fpanel__foot { display: flex; justify-content: space-between; gap: 10px; padding: 14px 20px 18px; border-top: 1px solid var(--line); margin-top: 10px; }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 2px; background: var(--c); flex: none; }
.dot.d-none { background: transparent; box-shadow: inset 0 0 0 1.5px currentColor; opacity: .5; }
.search { position: relative; display: flex; align-items: center; }
.search svg { position: absolute; left: 12px; color: var(--ink-2); pointer-events: none; }
.search input { font: 400 15px var(--font); color: var(--ink); width: 100%; padding: 10px 14px 10px 36px; border-radius: 999px; border: 1px solid #c9d1ca; background: var(--paper); }
.search input:focus { outline: 3px solid var(--orange); outline-offset: 1px; border-color: transparent; }
.search input::placeholder { color: #75817a; }

.listbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.active { display: flex; flex-wrap: wrap; gap: 6px; }
.active[hidden] { display: none; }
.token { display: inline-flex; align-items: center; gap: 6px; font: 500 13.5px/1 var(--font); padding: 7px 10px 7px 12px; border-radius: 999px; border: 0; background: var(--ink); color: #fff; cursor: pointer; white-space: nowrap; }
.token svg { width: 12px; height: 12px; stroke-width: 2; }
.token:hover { background: var(--green); }
.token--reset { background: none; color: var(--green); text-decoration: underline; text-underline-offset: 3px; padding-left: 4px; }
.token--reset:hover { background: none; color: var(--green-ink); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; font: 600 15.5px/1.1 var(--font); padding: 13px 18px; border-radius: 999px; border: 0; background: var(--green); color: #fff; cursor: pointer; text-decoration: none; text-align: center; }
.btn:hover { background: var(--green-ink); color: #fff; }
.btn--ghost { background: var(--paper); color: var(--green-ink); box-shadow: inset 0 0 0 1.5px #b9c7bb; }
.btn--ghost:hover { background: var(--moss); color: var(--green-ink); }
.btn--book { background: var(--orange); color: #241000; }
.btn--book:hover { background: #ff8a1f; color: #241000; }
.xbtn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--moss); color: var(--ink); cursor: pointer; }
.xbtn:hover { background: #e2e7df; }

/* ---------- map + side ---------- */
.tool__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(420px, 5fr); gap: 28px; align-items: start; padding-top: 20px; }
.tool__map { position: sticky; top: calc(var(--head) + var(--fbar) + 16px); }
.tool .mapbox { position: relative; padding: 0; height: calc(100svh - var(--head) - var(--fbar) - 36px); min-height: 460px; overflow: hidden; }
.tool .mapbox .wsb-map { width: 100%; height: 100%; max-height: none; }
.tool .mapbox .legend { position: absolute; left: 16px; bottom: 14px; padding: 0; pointer-events: none; }
.tool__side { position: relative; min-width: 0; }
.grp__h { top: calc(var(--head) + var(--fbar)); }
.grp:first-child { padding-top: 4px; }
.row { cursor: pointer; }
.row__btn { font: inherit; color: inherit; text-align: left; background: none; border: 0; padding: 0; cursor: pointer; }
.row__btn:hover { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.rm-dist { color: var(--green-ink); font-weight: 600; }
.empty { display: grid; gap: 10px; justify-items: start; }
.empty p { margin: 0; }

/* detail: docked over the list, sticks under the filter bar */
.dock { position: sticky; top: calc(var(--head) + var(--fbar) + 16px); height: 0; z-index: 6; }
.detail { position: absolute; left: 0; right: 0; top: 0; max-height: calc(100svh - var(--head) - var(--fbar) - 36px); overflow: auto; background: var(--paper); border-radius: 16px; box-shadow: 0 2px 6px rgba(23, 37, 28, .08), 0 24px 50px -18px rgba(23, 37, 28, .5); overscroll-behavior: contain; }
.detail[hidden] { display: none; }
.js .detail:not([hidden]) { animation: din .28s var(--ease); }
@keyframes din { from { opacity: 0; transform: translateY(8px); } }
.detail__x { position: absolute; top: 12px; right: 12px; z-index: 2; background: rgba(255, 255, 255, .92); }
.detail:not(.is-pinned) .detail__x { display: none; }
.detail__img { margin: 0; aspect-ratio: 16 / 9; background: var(--night); }
.detail__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.detail__body { display: grid; gap: 12px; padding: 18px 22px 22px; }
.detail__st { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: 14.5px; }
.detail h3 { font: 700 24px/1.2 var(--font); }
.detail__where { margin: -6px 0 0; color: var(--ink-2); }
.facts { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border-radius: 12px; overflow: hidden; }
.facts div { background: var(--surface); padding: 10px 12px; }
.facts dt { font-size: 12.5px; color: var(--ink-2); }
.facts dd { margin: 2px 0 0; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.detail__t { margin: 0; color: var(--ink-2); line-height: 1.55; }
.detail__start { margin: 0; display: flex; gap: 8px; color: var(--ink-2); font-size: 15px; }
.detail__start svg { margin-top: 3px; }
.book { display: grid; gap: 12px; padding: 16px; border-radius: 14px; background: #fff2e6; }
.book p { margin: 0; color: #5b3a1a; font-size: 15px; }
.book b { display: block; color: #241000; font-size: 17px; margin-bottom: 2px; }
.detail__map { display: none; }

/* map controls, message, my position */
.map-ctl { position: absolute; top: 14px; right: 14px; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.map-btn { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; border: 0; background: var(--paper); color: var(--ink); cursor: pointer; box-shadow: 0 4px 14px -4px rgba(0, 0, 0, .5); }
.map-btn:hover { color: var(--green); }
.map-btn[aria-pressed="true"] { background: #2a7ef0; color: #fff; }
.map-btn svg { width: 22px; height: 22px; }
.map-all { font: 600 14px/1 var(--font); padding: 10px 14px; border-radius: 999px; border: 0; background: var(--paper); color: var(--ink); cursor: pointer; box-shadow: 0 4px 14px -4px rgba(0, 0, 0, .5); }
.map-all[hidden] { display: none; }
.map-msg { position: absolute; top: 14px; left: 14px; right: 80px; max-width: 420px; margin: 0; padding: 10px 14px; border-radius: 12px; background: var(--paper); color: var(--ink); font-size: 14.5px; box-shadow: 0 4px 14px -4px rgba(0, 0, 0, .5); }
.map-msg[hidden] { display: none; }
.m-me__dot { fill: #2a7ef0; stroke: #fff; stroke-width: 4; }
.m-me__halo { fill: rgba(42, 126, 240, .28); transform-origin: center; transform-box: fill-box; animation: halo 2.2s var(--ease) infinite; }
@keyframes halo { 0% { transform: scale(.4); opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }
.m-t { cursor: pointer; }
.fab { display: none; }
.scrim { position: fixed; inset: 0; z-index: 60; background: rgba(14, 32, 22, .55); }
.scrim[hidden] { display: none; }
html.sheet-open, html.sheet-open body { overflow: hidden; }
html.sheet-open .fbar { z-index: 80; }

@media (max-width: 1240px) {
  .fbar__in { flex-wrap: wrap; }
  .select--place select { min-width: 0; }
}

/* ---------- phones and small tablets ---------- */
@media (max-width: 960px) {
  .tool { padding-top: 40px; }
  .fbar__in { display: grid; gap: 10px; padding-top: 10px; padding-bottom: 10px; }
  .tabs, .fctl { overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; margin: 0 calc(var(--gut) * -1); padding: 0 var(--gut); }
  .tabs::-webkit-scrollbar, .fctl::-webkit-scrollbar { display: none; }
  .tab { padding: 10px 14px; font-size: 15px; }
  .fctl { gap: 8px; }
  .select--place select { padding-top: 10px; padding-bottom: 10px; }
  .switch { white-space: nowrap; }
  .fmore { position: static; }
  .fpanel { position: fixed; left: 0; right: 0; top: auto; bottom: 0; width: auto; z-index: 70; display: flex; flex-direction: column; max-height: 88svh; border-radius: 20px 20px 0 0; animation: sheet .35s var(--ease); }
  @keyframes sheet { from { transform: translateY(40%); opacity: 0; } }
  .fpanel__head { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px 4px; }
  .fpanel__head h3 { font-size: 20px; }
  .fpanel__body { overflow-y: auto; padding: 10px 16px 16px; }
  .fpanel__foot { margin-top: 0; padding-bottom: calc(14px + env(safe-area-inset-bottom)); }
  .fpanel__foot .btn:last-child { flex: 1; }
  .tool__grid { grid-template-columns: 1fr; padding-top: 14px; }
  .tool__map { position: relative; top: auto; display: none; }
  .tool[data-view="map"] .tool__map { display: block; margin: 0 calc(var(--gut) * -1); }
  .tool[data-view="map"] .tool__list { display: none; }
  .tool[data-view="map"] .mapbox { border-radius: 0; height: calc(100svh - var(--head) - var(--fbar) - 8px); min-height: 380px; }
  .tool .mapbox .legend { display: none; }
  .dock { position: static; height: auto; }
  .detail { position: fixed; left: 0; right: 0; bottom: 0; top: auto; z-index: 65; max-height: 78svh; border-radius: 20px 20px 0 0; box-shadow: 0 -20px 50px -20px rgba(0, 0, 0, .55); }
  .js .detail:not([hidden]) { animation: sheet .35s var(--ease); }
  .detail .detail__x { display: grid; }
  .detail__img { aspect-ratio: 2 / 1; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tool[data-view="list"] .detail__map { display: inline-flex; }
  .fab { position: fixed; left: 50%; bottom: 72px; z-index: 40; display: inline-flex; align-items: center; gap: 8px; padding: 13px 20px; border-radius: 999px; border: 0; background: var(--ink); color: #fff; font: 600 15.5px/1 var(--font); box-shadow: 0 12px 28px -10px rgba(0, 0, 0, .55); transform: translate(-50%, 140%); opacity: 0; transition: transform .35s var(--ease), opacity .25s; cursor: pointer; }
  .fab.is-on { transform: translate(-50%, 0); opacity: 1; }
  html.sheet-open .fab, .tool.has-detail .fab { opacity: 0; pointer-events: none; }
  .grp__h { font-size: 19px; }
}

/* ---------- ski boards ---------- */
.ski { background: var(--night); color: var(--on-night); padding: 76px 0 84px; }
.ski__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 10px 32px; }
.ski__head h2 { margin: 0; color: #fff; }
.ski__head p { margin: 0; color: var(--on-night-2); font-size: 17px; }
.ski__head b { color: #fff; font-size: 20px; }
.ski__tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 28px; }
.ski__tabs [role="tab"] { display: flex; align-items: center; gap: 12px; text-align: left; padding: 16px 18px; border: 0; border-radius: 14px 14px 0 0; background: transparent; color: var(--on-night); cursor: pointer; box-shadow: inset 0 -2px 0 rgba(255, 255, 255, .12); transition: background-color .2s, box-shadow .2s; }
.ski__tabs [role="tab"]:hover { background: rgba(255, 255, 255, .05); }
.ski__tabs [aria-selected="true"] { background: var(--night-2); box-shadow: inset 0 3px 0 var(--orange); }
.ski__tn { display: grid; gap: 3px; }
.ski__tn b { font-size: 17px; color: #fff; }
.ski__tn small { font-size: 13.5px; color: var(--on-night-2); }
.lamp { flex: none; width: 11px; height: 11px; border-radius: 50%; background: #8a3b34; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .35); }
.lamp.on, .on > .lamp { background: #7fd18b; box-shadow: 0 0 0 3px rgba(127, 209, 139, .18), 0 1px 8px rgba(127, 209, 139, .55); }
/* all boards in one grid cell: the block keeps the height of the tallest board */
.ski__boards { display: grid; }
.board { grid-area: 1 / 1; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); background: var(--night-2); border-radius: 0 0 18px 18px; overflow: hidden; }
.js .board { visibility: hidden; opacity: 0; transition: opacity .3s var(--ease), visibility 0s .3s; }
.js .board.is-active { visibility: visible; opacity: 1; transition: opacity .3s var(--ease); }
.board__photo { position: relative; min-height: 480px; background: #0b1a11; }
.board__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.board:not(.is-open) .board__photo img { filter: saturate(.6) brightness(.85); }
.board__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(11, 26, 17, .92) 0, rgba(11, 26, 17, .2) 52%, rgba(11, 26, 17, 0) 70%); }
.board__over { position: absolute; left: 24px; right: 24px; bottom: 22px; z-index: 1; display: grid; gap: 8px; }
.board__over h3 { font: 700 clamp(22px, 2.2vw, 30px)/1.15 var(--font); color: #fff; }
.board__over p { margin: 0; color: #dbe6dd; font-size: 15.5px; max-width: 48ch; }
.gauge { position: absolute; top: 18px; right: 18px; z-index: 1; display: grid; grid-template-columns: auto auto auto; align-items: stretch; gap: 8px; padding: 12px 14px; border-radius: 14px; background: rgba(11, 26, 17, .82); }
.gauge__scale { display: grid; align-content: space-between; height: 120px; font-size: 12px; color: var(--on-night-2); text-align: right; }
.gauge__scale i { font-style: normal; line-height: 1; }
.gauge__bar { position: relative; width: 10px; height: 120px; border-radius: 5px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.gauge__bar span { position: absolute; left: 0; right: 0; bottom: 0; height: calc(var(--v) * 100%); background: var(--ice); border-radius: 5px; }
.gauge__v { align-self: end; display: grid; font-size: 14px; color: var(--on-night-2); }
.gauge__v b { font-size: 34px; line-height: 1; color: #fff; }
.gauge__v small { font-size: 12.5px; }
.board__panel { padding: 26px 32px 30px; display: grid; gap: 18px; align-content: start; }
.board__sum { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; color: var(--on-night-2); font-size: 15.5px; }
.board__sum b { color: #fff; font-size: 19px; }
.board .pill.is-open { background: #1f4d2a; color: #c4ecc9; }
.board .pill.is-closed { background: rgba(255, 255, 255, .08); color: var(--on-night-2); }
.board__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 36px; }
.board h4 { margin: 0 0 6px; font-size: 14px; font-weight: 500; color: var(--on-night-2); }
.fac { list-style: none; margin: 0; padding: 0; }
.fac li { display: grid; grid-template-columns: 11px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.fac li:last-child { border-bottom: 0; }
.fac__n { display: block; color: #fff; font-size: 15.5px; }
.fac__n .dot { margin-right: 8px; vertical-align: 1px; }
.fac__n .dot.d-schwarz { --c: #050806; box-shadow: 0 0 0 1.5px #e8ece9; }
.fac__n small { display: block; margin-top: 2px; font-size: 13px; color: var(--on-night-2); }
.fac__s { font-size: 13.5px; color: var(--on-night-2); white-space: nowrap; }
.fac li.on .fac__s { color: #9be3a4; font-weight: 500; }
.board .btn--book { justify-self: start; }
@media (max-width: 1080px) {
  .ski__tabs { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(220px, 1fr); overflow-x: auto; scrollbar-width: none; margin-left: calc(var(--gut) * -1); margin-right: calc(var(--gut) * -1); padding: 0 var(--gut); }
  .board { grid-template-columns: 1fr; align-content: start; }
  .board__photo { min-height: 0; aspect-ratio: 4 / 3; }
}
@media (max-width: 640px) {
  .board__cols { grid-template-columns: 1fr; }
  .board__panel { padding: 20px 18px 24px; }
  .gauge__scale, .gauge__bar { height: 84px; }
  .gauge__v b { font-size: 26px; }
}
.tool__side { overflow: clip; overflow-clip-margin: 24px; min-height: calc(100svh - var(--head) - var(--fbar) - 36px); }
@media (max-width: 960px) { .tool__side { overflow: visible; min-height: 0; } }

.facts { gap: 6px; background: none; border-radius: 0; overflow: visible; }
.facts div { border-radius: 10px; }
.detail__img { aspect-ratio: 21 / 9; }
@media (max-width: 960px) { .detail__img { aspect-ratio: 2 / 1; } }
.detail .book { position: sticky; bottom: 12px; z-index: 1; box-shadow: 0 10px 30px -12px rgba(91, 58, 26, .45); }

/* ---------- booking button: visible, alive ---------- */
.btn--book { position: relative; overflow: hidden; isolation: isolate; gap: 10px; padding: 14px 20px 14px 18px; box-shadow: 0 8px 22px -10px rgba(236, 116, 5, .8); transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .2s; }
.btn--book svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.btn--book .ico-arrow { width: 17px; height: 17px; animation: nudge 2.8s var(--ease) infinite; }
.btn--book::after { content: ""; position: absolute; inset: -20% auto -20% 0; width: 38%; z-index: -1; background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .55), rgba(255, 255, 255, 0)); transform: translateX(-160%) skewX(-20deg); animation: sheen 5.5s var(--ease) infinite 1.2s; }
.btn--book:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -10px rgba(236, 116, 5, .9); }
.btn--book:hover .ico-arrow { animation-duration: .9s; }
.btn--lg { font-size: 17px; padding: 17px 24px 17px 20px; }
@keyframes sheen { 0%, 62% { transform: translateX(-160%) skewX(-20deg); } 100% { transform: translateX(380%) skewX(-20deg); } }
@keyframes nudge { 0%, 70%, 100% { transform: translateX(0); } 80% { transform: translateX(4px); } 90% { transform: translateX(0); } 95% { transform: translateX(2px); } }
.hero__cta { margin: 8px 0 0; }

.book-float { position: fixed; right: 24px; bottom: 24px; z-index: 45; display: inline-flex; align-items: center; gap: 10px; padding: 15px 20px 15px 18px; border-radius: 999px; background: var(--orange); color: #241000; font: 700 16px/1 var(--font); text-decoration: none; box-shadow: 0 16px 34px -12px rgba(120, 55, 0, .75); overflow: hidden; isolation: isolate; transform: translateY(140%) scale(.9); opacity: 0; pointer-events: none; transition: transform .5s var(--ease), opacity .3s, background-color .2s; }
.book-float.is-on { transform: none; opacity: 1; pointer-events: auto; }
.book-float:hover { background: #ff8a1f; color: #241000; }
.book-float svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.book-float .ico-arrow { width: 17px; height: 17px; animation: nudge 2.8s var(--ease) infinite; }
.book-float::after { content: ""; position: absolute; inset: -20% auto -20% 0; width: 34%; z-index: -1; background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .6), rgba(255, 255, 255, 0)); transform: translateX(-160%) skewX(-20deg); animation: sheen 5.5s var(--ease) infinite 2s; }
.book-float.is-bump { animation: bump .5s var(--ease); }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.07); } 100% { transform: scale(1); } }
.book-float .ico-bed { animation: none; }
html.sheet-open .book-float { opacity: 0; pointer-events: none; }
@media (max-width: 960px) { .book-float { display: none; } }
@media (min-width: 961px) { .proto { left: 24px; transform: none; } }

/* house icon: chimney smoke + lit window */
.ico-house { width: 22px !important; height: 20px !important; overflow: visible; }
.ico-house .flake { fill: #fff; stroke: none; opacity: 0; animation: flake 3.2s linear infinite; }
.ico-house .f2 { animation-delay: 1.1s; animation-duration: 3.6s; }
.ico-house .f3 { animation-delay: 2.1s; animation-duration: 3s; }
@keyframes flake { 0% { opacity: 0; transform: translate(0, 0); } 15% { opacity: 1; } 50% { transform: translate(1px, 4.5px); } 85% { opacity: .95; } 100% { opacity: 0; transform: translate(-.5px, 9px); } }
/* soft ring that draws the eye every few seconds */
.btn--book, .book-float { animation: ring 4s var(--ease) infinite 1.5s; }
@keyframes ring { 0% { box-shadow: 0 8px 22px -10px rgba(236, 116, 5, .8), 0 0 0 0 rgba(236, 116, 5, .5); } 45% { box-shadow: 0 8px 22px -10px rgba(236, 116, 5, .8), 0 0 0 12px rgba(236, 116, 5, 0); } 100% { box-shadow: 0 8px 22px -10px rgba(236, 116, 5, .8), 0 0 0 0 rgba(236, 116, 5, 0); } }
.book-float.is-bump { animation: bump .5s var(--ease), ring 4s var(--ease) infinite 1.5s; }
html.detail-open .book-float { opacity: 0; transform: translateY(40%) scale(.95); pointer-events: none; }

/* route actions in the detail card */
.route { display: flex; flex-wrap: wrap; gap: 8px; }
.rbtn { display: inline-flex; align-items: center; gap: 8px; font: 600 14.5px/1 var(--font); padding: 11px 14px; border-radius: 999px; border: 0; background: var(--paper); color: var(--green-ink); box-shadow: inset 0 0 0 1.5px #b9c7bb; cursor: pointer; text-decoration: none; transition: background-color .2s, box-shadow .2s; }
.rbtn:hover { background: var(--moss); color: var(--green-ink); }
.rbtn svg { width: 17px; height: 17px; }
.rbtn.is-done { background: var(--open-bg); box-shadow: inset 0 0 0 1.5px var(--green); }
@media (max-width: 960px) { .route { display: grid; grid-template-columns: repeat(3, 1fr); } .rbtn { justify-content: center; padding: 12px 8px; font-size: 14px; gap: 6px; } }

/* ---------- typography of oberharz.de (lfmsite): Roboto, body light 300 #555, section headings light uppercase #32533f ---------- */
@font-face { font-family: Roboto; font-weight: 300; font-display: swap; src: url(/fonts/roboto-latin-300-normal.woff2) format("woff2"); }
:root { --heading: #32533f; --text: #555; }
body { font-weight: 300; color: var(--text); }
b, strong { font-weight: 500; }
h2, .h-sm { font: 300 clamp(26px, 2.3vw, 32px)/1.156 var(--font); text-transform: uppercase; letter-spacing: .01em; color: var(--heading); }
.h-sm { font-size: 22px; }
.ski h2 { color: #fff; }
.answer__h { font-weight: 300; text-transform: uppercase; letter-spacing: 0; font-size: clamp(34px, 4.8vw, 66px); line-height: 1.06; max-width: 17ch; }
.hero h1 { font-weight: 500; }
.lead p { color: var(--text); }
.grp__h, .detail h3, .row__name, .faq summary, .place h3, .area h3, .fpanel__head h3 { color: var(--heading); font-weight: 500; }
.grp__h { font-size: 21px; border-bottom-color: var(--heading); }
.row__name a, .row__btn { color: var(--heading); }
.detail h3 { font-size: 24px; }
.faq summary { font-size: 18px; }
/* small text stays at regular weight for legibility */
.row__meta, .row__extra, .count, .legend, .stamp, .fg__l, .facts dt, .crumbs, .fine, .detail__where, .detail__start, .gauge__v small, .fac__n small, .ski__tn small, .strip__l, .strip__n, .board__sum, .wx__t thead th, .credit, .src { font-weight: 400; }
.tab, .chip, .locbtn, .fbtn, .switch, .seg button, .select select, .rbtn, .btn, .token, .map-all, .fab, .pill { font-weight: 500; }
.btn--book, .book-float { font-weight: 700; }
.count b, .strip__n b, .board__sum b, .ski__head b, .gauge__v b, .facts dd, .wx__t tbody th, .know__diff .diff, .ski__tn b, .book b { font-weight: 500; }
.strip__n b, .gauge__v b { font-weight: 700; }
.fac__n { font-weight: 400; }

/* booking button sits at the same spot on every ski tab: boards share one height, the button is pinned to the bottom */
.board__panel { display: flex; flex-direction: column; gap: 18px; }
.board__panel .btn--book { margin-top: auto; align-self: flex-start; }
@media (max-width: 1080px) { .board { grid-template-rows: auto 1fr; } }
@media (max-width: 640px) { .board__panel .btn--book { align-self: stretch; min-height: 64px; } }

/* ---------- critique fixes 2026-11-18 ---------- */
[hidden] { display: none !important; }
abbr[title] { text-decoration: none; border-bottom: 1px dotted currentColor; cursor: help; }
.detail h3:focus { outline: none; }
.detail h3:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; border-radius: 4px; }

/* tap targets >= 44px */
.tab, .locbtn, .fbtn, .select select, .rbtn, .chip, .seg button, .token { min-height: 44px; }
.switch { min-height: 44px; }
.fg .chip { min-height: 40px; }

/* map note in the closed season */
.map-note { position: absolute; left: 14px; top: 14px; right: 80px; max-width: 440px; margin: 0; padding: 10px 14px; border-radius: 12px; background: rgba(14, 32, 22, .82); color: var(--on-night); font-size: 14.5px; font-weight: 400; }
.map-msg:not([hidden]) ~ .map-note { display: none; }

/* closed ski areas: one calm row of cards instead of red lamps */
.ski--closed { padding: 64px 0 72px; }
.skc { list-style: none; margin: 26px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.skc__i { display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: center; padding: 12px; border-radius: 14px; background: var(--night-2); }
.skc__i img { width: 96px; height: 72px; object-fit: cover; border-radius: 10px; filter: saturate(.7); }
.skc__b h3 { font: 500 17px/1.25 var(--font); color: #fff; }
.skc__b p { margin: 3px 0 0; font-size: 14px; font-weight: 400; color: var(--on-night-2); }
.skc__s { display: flex; align-items: center; gap: 8px; }
@media (max-width: 1080px) { .skc { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .skc { grid-template-columns: 1fr; } }

/* "Bis der Schnee kommt" */
.wait { padding: 8px 0 72px; }
.wait h2 { margin-bottom: 20px; }
.wait__g { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.wait__g li { display: grid; align-content: start; gap: 8px; padding: 22px; border-radius: 16px; background: var(--surface); }
.wait__g h3 { font: 500 19px/1.25 var(--font); color: var(--heading); }
.wait__g p { margin: 0; }
.wait__g a:not(.btn) { font-weight: 500; }
.wait__g .btn--book { justify-self: start; margin-top: 6px; }
@media (max-width: 860px) { .wait__g { grid-template-columns: 1fr; } }

/* phones: Karte bottom-left, house button bottom-right, both in thumb reach */
.bf-short { display: none; }
@media (max-width: 960px) {
  .book-float { display: inline-flex; right: 16px; bottom: 72px; padding: 13px 16px; font-size: 15px; }
  .book-float [data-book-label] { display: none; }
  .book-float .bf-short { display: inline; }
  .book-float .ico-arrow { display: none; }
  .fab { left: 16px; transform: translateY(140%); }
  .fab.is-on { transform: none; }
  .fctl { -webkit-mask-image: linear-gradient(90deg, #000 82%, transparent); mask-image: linear-gradient(90deg, #000 82%, transparent); padding-right: 48px; }
  .detail .book { position: static; box-shadow: none; }
  .hero::after { background:
    linear-gradient(180deg, rgba(14, 32, 22, .75) 0, rgba(14, 32, 22, .35) 30%, rgba(14, 32, 22, 0) 46%),
    linear-gradient(0deg, rgba(14, 32, 22, .92) 0, rgba(14, 32, 22, .6) 48%, rgba(14, 32, 22, 0) 78%); }
}
