/* =========================================================
   Haus Gostanova, Gaschurn — Konzeptentwurf (VCSLV)
   Source Serif 4 (Überschriften, Zahlen) · Outfit (Text, Bedienung; geometrisch wie die Wortmarke)
   Das Grün der eigenen Bergkante (#95C11F), Tannengrün, Wiesenpapier
   ========================================================= */

@font-face { font-family: 'Source Serif 4'; src: url('../fonts/source-serif-4.woff2') format('woff2'); font-weight: 300 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Source Serif 4'; src: url('../fonts/source-serif-4-italic.woff2') format('woff2'); font-weight: 300 500; font-style: italic; font-display: swap; }
@font-face { font-family: 'Outfit'; src: url('../fonts/outfit.woff2') format('woff2'); font-weight: 300 700; font-style: normal; font-display: swap; }

:root {
  --fir: #14201a;
  --fir-2: #1a2a21;
  --fir-3: #233529;
  --fir-4: #2e4436;
  --ink: #16201a;
  --paper: #f1f2ea;
  --paper-2: #e3e7da;
  --paper-3: #f9faf5;
  --lime: #95c11f;
  --lime-l: #c3dd6b;
  --lime-d: #7aa214;
  --leaf: #4b6812;
  --muted: #5a645c;
  --line: rgba(22, 32, 26, .12);
  --line-2: rgba(22, 32, 26, .24);
  --line-inv: rgba(241, 242, 234, .13);
  --line-inv-2: rgba(241, 242, 234, .3);
  --muted-inv: rgba(241, 242, 234, .7);

  --serif: 'Source Serif 4', 'Georgia', serif;
  --sans: 'Outfit', 'Avenir Next', system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .1, 1);

  --gutter: clamp(16px, 4.2vw, 64px);
  --maxw: 1480px;
  --hdr-h: 76px;
  --r: 4px;
  --ridge: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 9'%3E%3Cpath d='M1 8 7.4 3 10.2 4.6 14 1 19.4 5.7 21 4.4 23 8' fill='none' stroke='%23000' stroke-width='1.6' stroke-linejoin='round' stroke-linecap='round'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; overflow-anchor: none; }
body { overflow-anchor: none; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: 16px; line-height: 1.6; font-weight: 400;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  overflow-x: clip; font-variant-numeric: lining-nums;
}
img, video, svg { display: block; max-width: 100%; }
svg { fill: currentColor; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ol, ul, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ol, ul { list-style: none; }
::selection { background: var(--lime-l); color: var(--ink); }
:focus-visible { outline: 2px solid var(--lime-d); outline-offset: 3px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 200; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: var(--r); transition: top .2s; }
.skip:focus { top: 16px; }
@media (max-width: 719px) { .hide-s { display: none !important; } }
@media (min-width: 720px) { .show-s { display: none !important; } }

/* ---------- Type ---------- */
.h2 { font-family: var(--serif); font-weight: 300; line-height: 1.02; letter-spacing: -.012em; text-wrap: balance; font-optical-sizing: auto; }
.h2 em { font-style: italic; color: var(--leaf); }
[data-theme="dark"] .h2 em { color: var(--lime-l); }
.ln-mask { padding: 0 .22em .16em 0; margin: 0 -.22em -.16em 0; }
/* the label carries a small ridge, the line of their logo */
.h-label { display: inline-flex; align-items: center; gap: 12px; color: var(--leaf); }
.h-label::before { content: ''; width: 24px; height: 9px; flex: none; background: currentColor; -webkit-mask: var(--ridge) center / contain no-repeat; mask: var(--ridge) center / contain no-repeat; }
.h-label--inv { color: var(--lime); }

/* ---------- Buttons ---------- */
.btn {
  --h: 50px;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: var(--h); padding: 0 22px 0 24px; border-radius: var(--r);
  font-size: 15px; font-weight: 500; letter-spacing: .01em; white-space: nowrap;
  border: 1px solid transparent; position: relative; overflow: hidden; isolation: isolate;
  transition: color .45s var(--ease), border-color .45s var(--ease), background-color .45s var(--ease);
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .45s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn::after { content: ''; position: absolute; inset: 0; z-index: -1; transform: scaleX(0); transform-origin: left; transition: transform .55s var(--ease); }
.btn:hover::after { transform: scaleX(1); }
.btn--lime { background: var(--lime); color: var(--fir); font-weight: 600; }
.btn--lime::after { background: var(--lime-l); }
.btn--dark { background: var(--fir); color: var(--paper); }
.btn--dark::after { background: var(--fir-4); }
.btn--line { border-color: currentColor; }
.btn--line::after { background: currentColor; opacity: .14; }
/* the wipe is a light tint of the button's own colour and the label keeps its colour, so it reads on any ground
   (a full currentColor fill plus a hover colour hid the label: the fill takes the hover colour too) */
.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; border-bottom: 1px solid currentColor; padding-bottom: 3px; transition: gap .4s var(--ease); }
.link-arrow svg { width: 16px; height: 16px; }
.dot { position: relative; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); flex: none; }
.dot::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: rgba(149, 193, 31, .55); animation: pulse 2.4s infinite; }
.dot.is-off::after { animation-play-state: paused; }
@keyframes pulse { 0% { transform: scale(1); opacity: 1; } 70%, 100% { transform: scale(3.6); opacity: 0; } }

/* segmented control with sliding pill */
.seg { position: relative; display: inline-flex; gap: 2px; padding: 4px; border-radius: 6px; background: rgba(22, 32, 26, .07); max-width: 100%; }
.seg button { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px; border-radius: var(--r); font-size: 14px; font-weight: 500; white-space: nowrap; color: var(--muted); transition: color .4s var(--ease); }
.seg button svg { width: 17px; height: 17px; }
.seg button[aria-selected="true"] { color: var(--paper); }
.seg__pill { position: absolute; z-index: 0; top: 4px; left: 0; height: 38px; border-radius: var(--r); background: var(--fir); transition: transform .55s var(--ease), width .55s var(--ease); }
.seg--glass { background: rgba(20, 32, 26, .72); }
.seg--glass button { color: rgba(241, 242, 234, .78); }
.seg--glass button[aria-selected="true"] { color: var(--fir); }
.seg--glass .seg__pill { background: var(--lime); }

/* chips: a row of small toggles */
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips button { flex: none; height: 38px; min-width: 38px; padding: 0 14px; border-radius: 19px; border: 1px solid var(--line-2); font-size: 14.5px; font-weight: 500; white-space: nowrap; transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease); }
.chips button:hover { border-color: var(--fir); }
.chips button[aria-pressed="true"], .chips button[aria-selected="true"] { background: var(--fir); border-color: var(--fir); color: var(--paper); }
.chips--dark button { border-color: var(--line-inv-2); color: rgba(241, 242, 234, .86); }
.chips--dark button:hover { border-color: var(--lime); }
.chips--dark button[aria-selected="true"] { background: var(--lime); border-color: var(--lime); color: var(--fir); }

/* ---------- Header ---------- */
.hdr {
  position: fixed; inset: 0 0 auto 0; z-index: 60; height: var(--hdr-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 0 var(--gutter); color: var(--paper);
  transition: color .5s var(--ease), transform .6s var(--ease), height .5s var(--ease), box-shadow .5s;
}
.hdr::before { content: ''; position: absolute; inset: 0; z-index: -1; background: transparent; transition: background-color .5s var(--ease); }
.hdr.is-solid { --hdr-h: 64px; color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.hdr.is-solid::before { background: rgba(241, 242, 234, .95); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); }
.hdr.is-solid.on-dark { color: var(--paper); box-shadow: 0 1px 0 var(--line-inv); }
.hdr.is-solid.on-dark::before { background: var(--hdr-dark, rgba(20, 32, 26, .94)); }
.hdr.is-hidden { transform: translateY(-100%); }
.hdr__brand { display: flex; align-items: center; flex: none; transition: opacity .6s var(--ease); }
.hdr__logo { width: auto; height: 34px; aspect-ratio: 1480 / 480; overflow: visible; }
.hdr.is-solid .hdr__logo { height: 30px; }
.hdr.has-crest .hdr__brand { opacity: 0; pointer-events: none; }
.hdr:not(.is-solid) .hdr__logo { filter: drop-shadow(0 1px 10px rgba(0, 0, 0, .35)); }
.hdr:not(.is-solid) { text-shadow: 0 1px 14px rgba(0, 0, 0, .35); }
.hdr__nav { display: flex; gap: clamp(18px, 2.2vw, 38px); font-size: 15px; font-weight: 500; transition: opacity .4s var(--ease); }
.hdr__nav a { position: relative; padding: 6px 0; opacity: .92; }
.hdr__nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 1px; background: var(--lime); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.hdr__nav a:hover::after, .hdr__nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
.hdr__actions { display: flex; align-items: center; gap: 14px; flex: none; }
.hdr__book { --h: 42px; font-size: 14px; padding: 0 18px 0 20px; }
.hdr__book svg { width: 15px; height: 15px; }
.hdr__menu { display: flex; align-items: center; gap: 12px; height: 42px; padding: 0 4px 0 10px; font-size: 14.5px; font-weight: 500; }
.hdr__burger { width: 26px; height: 10px; position: relative; display: block; }
.hdr__burger i { position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .5s var(--ease), top .5s var(--ease); }
.hdr__burger i:first-child { top: 0; }
.hdr__burger i:last-child { top: 8.5px; }
.menu-open .hdr__burger i:first-child { top: 4.25px; transform: rotate(45deg); }
.menu-open .hdr__burger i:last-child { top: 4.25px; transform: rotate(-45deg); }
.menu-open .hdr { color: var(--paper); }
.menu-open .hdr::before { background: var(--fir) !important; backdrop-filter: none !important; }
.menu-open .hdr.is-solid { box-shadow: none; }
.menu-open .hdr__brand { opacity: 1 !important; pointer-events: auto !important; }
.menu-open .hdr__nav { opacity: 0; pointer-events: none; }
@media (max-width: 1100px) { .hdr__nav { display: none; } }
@media (max-width: 719px) {
  :root { --hdr-h: 64px; }
  .hdr.is-solid { --hdr-h: 56px; }
  .hdr__book { display: none; }
  .hdr__logo { height: 28px; }
  .hdr.is-solid .hdr__logo { height: 26px; }
  .hdr__menu-label { display: none; }
  .hdr__menu { width: 44px; justify-content: center; padding: 0; }
}

/* ---------- Menu overlay ---------- */
.menu {
  position: fixed; inset: 0; z-index: 55; background: var(--fir); color: var(--paper);
  display: grid; grid-template-columns: 1fr 1.25fr; grid-template-rows: 1fr auto;
  padding: calc(var(--hdr-h) + 24px) var(--gutter) 28px; gap: 0 6vw; clip-path: inset(0 0 100% 0);
}
.menu[hidden] { display: none; }
.menu__media { position: relative; grid-row: 1 / 3; overflow: hidden; border-radius: var(--r); }
.menu__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity .7s var(--ease), transform 1.2s var(--ease); }
.menu__media img.is-on { opacity: 1; transform: scale(1); }
.menu__nav { align-self: center; }
.menu__nav li { overflow: hidden; border-bottom: 1px solid var(--line-inv); }
.menu__nav a { display: grid; grid-template-columns: 52px 1fr auto; align-items: baseline; gap: 12px; padding: 12px 0; font-family: var(--serif); font-weight: 300; font-size: clamp(2rem, min(3vw, 5.4svh), 3.3rem); line-height: 1.05; transition: color .4s, padding .5s var(--ease); }
.menu__nav a:hover { padding-left: 14px; color: var(--lime-l); }
.menu__no { font-family: var(--sans); font-size: 12px; letter-spacing: .14em; color: var(--muted-inv); font-weight: 500; }
.menu__nav em { font-family: var(--sans); font-style: normal; font-size: 13.5px; letter-spacing: .01em; color: var(--muted-inv); text-align: right; }
.menu__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; font-size: 15px; padding-top: 24px; }
.menu__foot a:not(.btn) { display: inline-flex; align-items: center; gap: 10px; }
.menu__foot svg { width: 18px; height: 18px; }
.menu__foot .btn { margin-left: auto; }
@media (max-width: 899px) {
  .menu { grid-template-columns: 1fr; grid-template-rows: auto 1fr auto; padding-top: calc(var(--hdr-h) + 8px); overflow-y: auto; overscroll-behavior: contain; }
  .menu__media { grid-row: auto; height: 16vh; min-height: 90px; }
  .menu__nav a { grid-template-columns: 34px 1fr; font-size: clamp(1.8rem, 8vw, 2.5rem); padding: 9px 0; }
  .menu__nav em { grid-column: 2; text-align: left; margin-top: -2px; }
  .menu__foot { gap: 10px 20px; padding-top: 16px; }
  .menu__foot .btn { margin-left: 0; width: 100%; }
}

/* =========================================================
   Hero: the green ridge draws, the wordmark rises,
   the view from the Ganifer balcony settles behind it
   ========================================================= */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; padding-top: var(--hdr-h);
  overflow: hidden; color: var(--paper); isolation: isolate; background: var(--fir); overflow-anchor: none;
}
.hero__scene { position: absolute; inset: 0; }
.hero__scene picture { position: absolute; inset: 0; }
.hero__fg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; transform-origin: 50% 40%; will-change: transform; }
.js .hero__fg, .js .hero__shade { opacity: 0; }
.hero__shade { position: absolute; inset: 0; z-index: 3; pointer-events: none; background:
  radial-gradient(46% 32% at 50% var(--crest-y, 40%), rgba(12, 20, 15, .58), rgba(12, 20, 15, .26) 62%, rgba(12, 20, 15, 0) 100%),
  linear-gradient(180deg, rgba(12, 20, 15, .72) 0%, rgba(12, 20, 15, .3) 20%, rgba(12, 20, 15, .2) 42%, rgba(12, 20, 15, .34) 60%, rgba(12, 20, 15, .82) 82%, rgba(12, 20, 15, .95) 100%); }

.crest {
  position: relative; z-index: 4; flex: 1 0 auto; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: clamp(8px, 2svh, 28px) 16px clamp(18px, 3.4svh, 44px);
}
.crest__hi { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(1.25rem, min(1.8vw, 3svh), 1.7rem); line-height: 1; letter-spacing: .02em; color: var(--lime-l); text-shadow: 0 1px 14px rgba(0, 0, 0, .55); }
.crest__logo { margin-top: clamp(10px, 2svh, 22px); width: clamp(280px, min(36vw, 52svh), 600px); height: auto; aspect-ratio: 1480 / 480; overflow: visible; color: #fbfcf7; filter: drop-shadow(0 4px 26px rgba(0, 0, 0, .42)); }
.crest__word { fill: #fbfcf7; }
.crest__claim { margin-top: clamp(12px, 2.2svh, 24px); font-size: clamp(11px, 1vw, 13px); font-weight: 600; letter-spacing: .32em; padding-left: .32em; text-transform: uppercase; color: rgba(251, 252, 247, .94); text-shadow: 0 1px 10px rgba(0, 0, 0, .6); white-space: nowrap; }
.crest__draw { stroke-dasharray: 1 1; stroke-dashoffset: 0; }
.js .crest__draw { stroke-dashoffset: 1; }
.js .crest__hi, .js .crest__claim, .js .crest__word { opacity: 0; }
.no-anim .crest__draw, .is-static .crest__draw { stroke-dashoffset: 0 !important; }
.no-anim .crest__hi, .no-anim .crest__claim, .no-anim .crest__word, .no-anim .hero__fg, .no-anim .hero__shade,
.is-static .crest__hi, .is-static .crest__claim, .is-static .crest__word, .is-static .hero__fg, .is-static .hero__shade { opacity: 1 !important; }

/* ---------- Stay console: three fields on paper, the price on fir ---------- */
.stay {
  position: relative; z-index: 5; width: calc(100% - 2 * var(--gutter)); max-width: 1240px; margin: 0 auto clamp(16px, 3vh, 30px);
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.35fr) minmax(0, .8fr) minmax(300px, auto); grid-template-rows: auto auto;
  background: rgba(249, 250, 245, .97); color: var(--ink); border-radius: 6px; overflow: hidden;
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .75), 0 0 0 1px rgba(255, 255, 255, .45) inset;
}
.stay > .stay__f { padding: 15px 18px 17px; border-right: 1px solid var(--line); min-width: 0; }
.stay__lab { display: block; margin-bottom: 9px; color: var(--muted); white-space: nowrap; }
.stay__btn { display: flex; align-items: center; gap: 12px; width: 100%; height: 48px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: var(--r); text-align: left; transition: border-color .3s, background-color .3s; }
.stay__btn:hover, .stay__btn[aria-expanded="true"] { border-color: var(--lime-d); background: rgba(149, 193, 31, .08); }
.stay__btn svg { width: 20px; height: 20px; color: var(--leaf); flex: none; }
.stay__val { font-size: 15.5px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.stay__btn small { margin-left: auto; font-size: 13px; color: var(--muted); white-space: nowrap; }
.stay__go { grid-row: 1 / 3; grid-column: 4; display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: 16px 20px; background: var(--fir); color: var(--paper); }
.stay__price { display: grid; gap: 4px; line-height: 1; }
.stay__per { font-size: 12.5px; color: var(--muted-inv); white-space: nowrap; }
.stay__price strong { font-family: var(--serif); font-weight: 300; font-size: 2.5rem; letter-spacing: -.01em; white-space: nowrap; color: #fbfcf7; }
.stay__price strong small, .ax__sum strong small, .ask__price small.pre { font-family: var(--sans); font-size: 13px; font-weight: 500; color: var(--muted-inv); margin-right: 3px; letter-spacing: 0; }
.stay__price strong.is-ask, .ax__sum strong.is-ask { font-style: italic; font-size: 2rem; }
.stay__cta { --h: 48px; width: 100%; }
.stay__info { grid-column: 1 / 4; display: flex; justify-content: space-between; align-items: center; gap: 8px 24px; flex-wrap: wrap; padding: 10px 18px 11px; border-top: 1px solid var(--line); background: rgba(227, 231, 218, .7); font-size: 13.5px; }
.stay__notes { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.stay__notes li { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.stay__notes svg { width: 17px; height: 17px; color: var(--leaf); flex: none; }
.stay__notes b { font-weight: 600; }
.stay__src { font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.js .stay { opacity: 0; }
.no-anim .stay { opacity: 1 !important; }
@media (max-width: 1180px) {
  .stay { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) minmax(0, .8fr); }
  .stay > .stay__go { grid-row: auto; grid-column: 1 / -1; flex-direction: row; align-items: center; }
  .stay__price { flex: 1; }
  .stay__cta { width: auto; }
  .stay__info { grid-column: 1 / -1; grid-row: 2; }
}

/* ---------- Popovers (apartment, calendar, persons) ---------- */
.pop {
  position: fixed; z-index: 80; top: 0; left: 0; width: min(680px, calc(100vw - 24px));
  background: var(--paper-3); color: var(--ink); border-radius: 6px; padding: 18px 20px 16px;
  box-shadow: 0 40px 90px -30px rgba(12, 20, 15, .55), 0 0 0 1px var(--line);
}
.pop[hidden], .pop__veil[hidden] { display: none; }
.pop--guests { width: min(400px, calc(100vw - 24px)); }
.pop--apt { width: min(480px, calc(100vw - 24px)); }
.pop__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.pop__title { font-family: var(--serif); font-size: 1.7rem; font-weight: 300; line-height: 1.05; }
.pop__x { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); flex: none; }
.pop__x svg { width: 16px; height: 16px; }
.pop__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px 18px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.pop__legend { font-size: 12.5px; color: var(--muted); line-height: 1.45; }
.pop__ok { --h: 42px; font-size: 14px; flex: none; }
.pop__veil { position: fixed; inset: 0; z-index: 79; background: rgba(12, 20, 15, .45); }
.lg { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin: 0 6px 0 0; vertical-align: -1px; }
.lg--sum { background: rgba(149, 193, 31, .3); }
.lg--ski { margin-left: 12px; background: var(--paper-3); box-shadow: inset 0 -2px 0 #6f97b8, inset 0 0 0 1px var(--line-2); }

.cal { position: relative; }
.cal__months { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.cal__nav { position: absolute; top: -2px; z-index: 2; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); background: var(--paper-3); }
.cal__nav svg { width: 16px; height: 16px; }
.cal__nav--prev { left: 0; }
.cal__nav--next { right: 0; }
.cal__nav:disabled { opacity: .3; pointer-events: none; }
.cal__m { min-width: 0; }
.cal__mt { height: 30px; display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 1.45rem; font-weight: 300; }
.cal__wd, .cal__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.cal__wd { margin: 8px 0 4px; }
.cal__wd span { text-align: center; color: var(--muted); }
.cal__d { position: relative; height: 42px; display: grid; place-items: center; border-radius: var(--r); font-size: 14.5px; font-weight: 500; line-height: 1; transition: background-color .2s; }
.cal__d:hover:not(:disabled) { background: rgba(22, 32, 26, .07); }
.cal__d.is-sum:not(.is-in):not(.is-start):not(.is-end) { background: rgba(149, 193, 31, .17); }
.cal__d.is-ski::before { content: ''; position: absolute; left: 30%; right: 30%; bottom: 6px; height: 2px; border-radius: 1px; background: #6f97b8; }
.cal__d:disabled { color: rgba(22, 32, 26, .3); cursor: default; background: none !important; }
.cal__d:disabled::before { display: none; }
.cal__d.is-in { background: rgba(149, 193, 31, .38); border-radius: 0; }
.cal__d.is-start, .cal__d.is-end { background: var(--fir); color: var(--paper); }
.cal__d.is-start { border-radius: var(--r) 0 0 var(--r); }
.cal__d.is-end { border-radius: 0 var(--r) var(--r) 0; }
.cal__d.is-today::after { content: ''; position: absolute; left: 50%; top: 5px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--lime-d); }
.cal__blank { height: 42px; }

.gst { display: grid; gap: 4px; }
.gst__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.gst__row b { display: block; font-weight: 500; font-size: 15.5px; }
.gst__row small { display: block; font-size: 12.5px; color: var(--muted); }
.stepper { display: flex; align-items: center; gap: 8px; }
.stepper button { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: background-color .3s, color .3s; }
.stepper button:hover { background: var(--fir); color: var(--paper); border-color: var(--fir); }
.stepper button:disabled { opacity: .3; pointer-events: none; }
.stepper svg { width: 14px; height: 14px; }
.stepper output { min-width: 28px; text-align: center; font-family: var(--serif); font-size: 2rem; font-weight: 300; line-height: 1; }

.apick { display: grid; max-height: min(420px, 60svh); overflow-y: auto; overscroll-behavior: contain; }
.apick button { width: 100%; display: grid; grid-template-columns: 18px 60px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 9px 4px; border-bottom: 1px solid var(--line); text-align: left; transition: background-color .25s; }
.apick button:hover:not(:disabled) { background: rgba(149, 193, 31, .1); }
.apick button i { width: 16px; height: 16px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line-2); }
.apick button[aria-checked="true"] i { box-shadow: inset 0 0 0 5px var(--fir); }
.apick img { width: 60px; height: 40px; object-fit: cover; border-radius: 2px; }
.apick b { font-weight: 500; font-size: 15px; display: block; }
.apick small { display: block; font-size: 12.5px; color: var(--muted); }
.apick .apick__p { font-family: var(--serif); font-size: 1.3rem; font-weight: 400; white-space: nowrap; }
.apick .apick__p.is-ask { font-family: var(--sans); font-size: 12.5px; color: var(--muted); font-weight: 500; }
.apick button:disabled { opacity: .45; cursor: default; }

@media (max-width: 719px) {
  .pop { left: 0 !important; right: 0; top: auto !important; bottom: 0; width: 100%; border-radius: 14px 14px 0 0; max-height: 88svh; overflow-y: auto; overscroll-behavior: contain; padding: 16px 16px calc(16px + env(safe-area-inset-bottom)); box-shadow: 0 -1px 0 var(--line); }
  .cal__months { grid-template-columns: 1fr; }
  .cal__m + .cal__m { display: none; }
  .apick { max-height: none; }
}

/* ---------- Ticket: the inquiry preview ---------- */
.tkt { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 20px; }
.tkt[hidden] { display: none; }
.tkt__veil { position: absolute; inset: 0; background: rgba(12, 20, 15, .62); }
.tkt__card { position: relative; width: min(720px, 100%); display: grid; grid-template-columns: 132px minmax(0, 1fr); background: var(--paper-3); color: var(--ink); border-radius: 8px; overflow: hidden; box-shadow: 0 50px 120px -40px rgba(0, 0, 0, .7); max-height: calc(100svh - 40px); }
.tkt__stub { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 10px; background: var(--fir); color: var(--paper); }
/* the perforation between stub and ticket */
.tkt__stub::after { content: ''; position: absolute; right: -1px; top: 10px; bottom: 10px; width: 2px; background: radial-gradient(circle, var(--paper-3) 1.2px, transparent 1.6px) 0 0 / 2px 10px repeat-y; }
.tkt__ridge { width: 92px; height: auto; aspect-ratio: 870 / 270; color: var(--lime); }
.tkt__stub span { writing-mode: vertical-rl; transform: rotate(180deg); font-size: 12px; font-weight: 600; letter-spacing: .4em; text-transform: uppercase; color: var(--lime-l); }
.tkt__stub b { font-family: var(--serif); font-weight: 400; font-size: 1.05rem; letter-spacing: .04em; color: var(--muted-inv); }
.tkt__main { min-width: 0; padding: 22px 24px 20px; overflow-y: auto; }
.tkt__head { position: relative; padding-right: 48px; }
.tkt__over { color: var(--muted); }
.tkt__title { margin-top: 4px; font-family: var(--serif); font-weight: 300; font-size: 2.3rem; line-height: 1; }
.tkt__x { position: absolute; right: 0; top: 0; }
.tkt__grid { margin-top: 16px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.tkt__grid > div { padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); min-width: 0; }
.tkt__grid > div + div { padding-left: 12px; border-left: 1px dashed var(--line-2); }
.tkt__grid .tkt__apt { grid-column: 1 / -1; padding-left: 0 !important; border-left: 0 !important; }
.tkt__grid dt { color: var(--muted); }
.tkt__grid dd b { display: block; font-weight: 500; font-size: 15.5px; line-height: 1.3; }
.tkt__grid dd small { display: block; font-size: 13px; color: var(--muted); line-height: 1.35; }
.tkt__apt dd { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.tkt__apt dd b { font-family: var(--serif); font-weight: 400; font-size: 1.6rem; }
.tkt__bill { margin-top: 12px; display: grid; gap: 2px; font-size: 14.5px; }
.tkt__bill p { display: flex; justify-content: space-between; gap: 16px; }
.tkt__bill p span:last-child { white-space: nowrap; }
.tkt__bill .is-sum { margin-top: 6px; padding-top: 8px; border-top: 1px solid var(--line-2); align-items: baseline; font-weight: 500; }
.tkt__bill .is-sum span:last-child { font-family: var(--serif); font-weight: 400; font-size: 1.9rem; line-height: 1; }
.tkt__bill .is-fine { font-size: 12.5px; color: var(--muted); }
.tkt__note { margin-top: 12px; font-size: 13px; line-height: 1.5; color: var(--muted); padding: 10px 12px; border-radius: var(--r); background: rgba(149, 193, 31, .12); }
.tkt__go { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 10px; }
.tkt__go .btn--lime { flex: 1; }
@media (max-width: 719px) {
  .tkt { padding: 0; place-items: end stretch; }
  .tkt__card { grid-template-columns: minmax(0, 1fr); border-radius: 14px 14px 0 0; max-height: 92svh; }
  .tkt__stub { flex-direction: row; padding: 12px 16px; }
  .tkt__stub::after { left: 10px; right: 10px; top: auto; bottom: -1px; width: auto; height: 2px; background: radial-gradient(circle, var(--paper-3) 1.2px, transparent 1.6px) 0 0 / 10px 2px repeat-x; }
  .tkt__ridge { width: 64px; }
  .tkt__stub span { writing-mode: horizontal-tb; transform: none; }
  .tkt__main { padding: 16px 16px calc(16px + env(safe-area-inset-bottom)); }
  .tkt__title { font-size: 1.9rem; }
  .tkt__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tkt__grid > div:nth-child(4) { grid-column: 1 / -1; padding-left: 0; border-left: 0; }
  .tkt__go .btn { flex: 1 1 100%; }
}

/* =========================================================
   Heute in Gaschurn: the weather card with the 7-day ridge,
   and the live panorama from the Panorama Bahn
   ========================================================= */
.today { background: var(--paper); }
.today__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 60px; flex-wrap: wrap; }
.today__lead { max-width: 46ch; color: var(--muted); }
.today__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(16px, 2.4vw, 36px); align-items: stretch; }
.wx { background: var(--fir); color: var(--paper); border-radius: 6px; display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 30px 70px -40px rgba(12, 20, 15, .6); min-width: 0; }
.wx__top { display: flex; align-items: center; gap: 16px; padding: 12px 20px; border-bottom: 1px solid var(--line-inv); }
.wx__title { font-family: var(--serif); font-weight: 400; font-size: 1.6rem; line-height: 1; }
.wx__title small { font-family: var(--sans); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-inv); margin-left: 6px; }
.wx__date { margin-left: auto; color: var(--muted-inv); white-space: nowrap; }
.wx__clock { display: inline-flex; align-items: center; gap: 9px; font-family: var(--serif); font-size: 1.45rem; line-height: 1; }
.wx__now { display: flex; align-items: center; gap: 22px; padding: 14px 20px 4px; }
.wx__temp { display: flex; align-items: flex-start; font-family: var(--serif); font-weight: 300; line-height: .9; }
.wx__temp b { font-weight: 300; font-size: clamp(3.6rem, min(5vw, 9svh), 5rem); letter-spacing: -.03em; }
.wx__temp span { font-family: var(--sans); font-size: 16px; color: var(--muted-inv); margin: 6px 0 0 4px; }
.wx__cond { display: flex; align-items: center; gap: 12px; min-width: 0; }
.wx__ico { width: 40px; height: 40px; color: var(--lime); flex: none; transition: opacity .6s var(--ease); }
.wx__ico.is-wait { opacity: .3; }
.wx__cond p { display: grid; min-width: 0; }
.wx__cond b { font-weight: 500; font-size: 17px; line-height: 1.25; }
.wx__cond span { font-size: 14px; color: var(--muted-inv); white-space: nowrap; }
.ridge { position: relative; flex: 1 1 auto; min-height: 120px; display: flex; flex-direction: column; padding: 4px 12px 0; }
.ridge__svg { flex: 1 1 auto; width: 100%; min-height: 60px; overflow: visible; }
.ridge__area { fill: url(#ridgeFill); }
.ridge__max { fill: none; stroke: var(--lime); stroke-width: 2.4; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.ridge__min { fill: none; stroke: rgba(241, 242, 234, .42); stroke-width: 1.4; stroke-dasharray: 3 5; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.ridge__days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 2px; padding: 6px 0 10px; }
.ridge__days li { display: grid; justify-items: center; gap: 2px; text-align: center; min-width: 0; }
.ridge__days b { color: var(--muted-inv); }
.ridge__days li:first-child b { color: var(--lime-l); }
.ridge__days svg { width: 20px; height: 20px; color: rgba(241, 242, 234, .86); }
.ridge__days span { font-size: 13.5px; white-space: nowrap; }
.ridge__days span i { font-style: normal; color: var(--muted-inv); }
.wx__cells { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line-inv); }
.wx__cells li { display: grid; grid-template-columns: 22px minmax(0, 1fr); column-gap: 10px; align-content: start; padding: 12px 16px 13px; min-width: 0; }
.wx__cells li + li { border-left: 1px solid var(--line-inv); }
.wx__cells svg { grid-row: 1 / 4; width: 20px; height: 20px; color: var(--lime); margin-top: 1px; }
.wx__lab { color: var(--muted-inv); }
.wx__cells b { font-weight: 500; font-size: 15.5px; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wx__cells small { font-size: 13px; color: var(--muted-inv); line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wx__foot { padding: 8px 20px 10px; border-top: 1px solid var(--line-inv); font-size: 12px; color: var(--muted-inv); }

.pano { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.pano__frame { position: relative; flex: 1 1 auto; min-height: 200px; border-radius: 6px; overflow: hidden; background: linear-gradient(180deg, #9db7c9, #6f8a6d); cursor: grab; touch-action: pan-y; outline-offset: 3px; }
.pano__frame.is-drag { cursor: grabbing; }
.pano__strip { position: absolute; inset: 0 auto 0 0; height: 100%; display: flex; will-change: transform; }
.pano__img { height: 100%; width: auto; max-width: none; opacity: 0; transition: opacity 1.2s var(--ease); user-select: none; -webkit-user-drag: none; pointer-events: none; }
.pano__img.is-in { opacity: 1; }
.pano__live { position: absolute; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 10px; padding: 7px 12px; border-radius: var(--r); background: rgba(20, 32, 26, .8); color: var(--paper); }
.pano__hint { position: absolute; right: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px; padding: 6px 11px; border-radius: 16px; background: rgba(249, 250, 245, .9); color: var(--ink); font-size: 13px; font-weight: 500; transition: opacity .6s var(--ease); }
.pano__hint svg { width: 16px; height: 16px; }
.pano.is-used .pano__hint { opacity: 0; }
.pano__cap { display: flex; justify-content: space-between; gap: 12px; font-size: 13.5px; color: var(--muted); }
.pano__cap a { border-bottom: 1px solid var(--line-2); white-space: nowrap; }
.pano__frame { flex: 0 0 auto; height: 46%; }
.wintile { position: relative; flex: 1 1 auto; min-height: 0; border-radius: 6px; overflow: hidden; background: var(--paper-2); }
.wintile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.wintile::after { content: ''; position: absolute; inset: 30% 0 0; background: linear-gradient(180deg, rgba(12, 20, 15, 0), rgba(12, 20, 15, .72)); }
.wintile p { position: absolute; left: 18px; right: 18px; bottom: 14px; z-index: 1; display: grid; gap: 2px; color: #fff; text-shadow: 0 1px 12px rgba(0, 0, 0, .45); }
.wintile .wx__lab { color: var(--lime-l); }
.wintile b { font-family: var(--serif); font-weight: 300; font-size: clamp(1.5rem, min(2.1vw, 3.6svh), 2.1rem); line-height: 1.1; }
.wintile small { font-size: 14px; color: rgba(255, 255, 255, .88); }

/* =========================================================
   Appartements: who comes, tabs, album with floor plan, your price
   ========================================================= */
.apts { background: var(--paper-3); }
.apts__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 40px; flex-wrap: wrap; }
.apts__who { display: grid; gap: 8px; justify-items: start; }
.apts__who-lab { color: var(--muted); }
.atabs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; border-bottom: 1px solid var(--line); }
.atabs li { display: flex; min-width: 0; }
.atabs button { width: 100%; display: grid; gap: 1px; padding: 6px 12px 12px 0; text-align: left; position: relative; color: var(--muted); transition: color .4s, opacity .4s; min-width: 0; }
.atabs button::after { content: ''; position: absolute; left: 0; right: 12px; bottom: -1px; height: 2px; background: var(--fir); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.atabs button[aria-selected="true"] { color: var(--ink); }
.atabs button[aria-selected="true"]::after { transform: scaleX(1); }
.atabs button.is-nofit { opacity: .42; }
.atabs b { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; line-height: 1.1; white-space: nowrap; }
.atabs small { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.atabs small i { font-style: normal; display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: var(--lime); vertical-align: 1px; transform: scale(0); transition: transform .4s var(--ease); }
.atabs button.is-fit small i { transform: scale(1); }
.ax { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(330px, 1fr); gap: clamp(20px, 3.4vw, 56px); align-items: center; }
.album { min-width: 0; display: grid; gap: 10px; }
.album__stage { position: relative; width: 100%; aspect-ratio: 1.8; height: auto; max-height: clamp(260px, calc(var(--scr-h) - 210px), 640px); border-radius: 6px; overflow: hidden; background: var(--paper-2); }
.album__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.album__img.is-on { opacity: 1; }
.album__plan { position: absolute; inset: 0; z-index: 3; background: #fff; }
.album__plan[hidden] { display: none; }
.album__plan img { position: absolute; inset: 40px 28px 62px; width: calc(100% - 56px); height: calc(100% - 102px); object-fit: contain; mix-blend-mode: multiply; }
.album__plan-cap { position: absolute; left: 16px; top: 14px; color: var(--muted); }
.album[data-view="plan"] .album__btn, .album[data-view="plan"] .album__count { visibility: hidden; }
.album__btn { position: absolute; top: 50%; z-index: 2; width: 46px; height: 46px; margin-top: -23px; border-radius: 50%; display: grid; place-items: center; background: rgba(249, 250, 245, .92); color: var(--ink); box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .4); transition: background-color .3s, transform .3s var(--ease); }
.album__btn:hover { background: #fff; transform: scale(1.06); }
.album__btn svg { width: 18px; height: 18px; }
.album__btn--prev { left: 14px; }
.album__btn--next { right: 14px; }
.album__count { position: absolute; right: 14px; top: 14px; z-index: 2; padding: 5px 10px; border-radius: var(--r); background: rgba(20, 32, 26, .74); color: var(--paper); font-size: 13px; letter-spacing: .08em; }
.album__seg { position: absolute; left: 14px; bottom: 14px; z-index: 4; }
.album__seg button { height: 34px; padding: 0 12px; font-size: 13.5px; }
.album__seg .seg__pill { height: 34px; }
.album__cap { font-size: 13.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ax__info { min-width: 0; display: flex; flex-direction: column; }
.ax__no { color: var(--muted); }
.ax__name { margin-top: 6px; font-family: var(--serif); font-weight: 300; }
.ax__lead { margin-top: 6px; font-family: var(--serif); font-style: italic; font-weight: 300; color: var(--leaf); }
.ax__facts { margin-top: clamp(12px, 2svh, 22px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.ax__facts div { padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); min-width: 0; }
.ax__facts div:nth-child(odd) { border-right: 1px solid var(--line); }
.ax__facts div:nth-child(even) { padding-left: 14px; }
.ax__facts dt { color: var(--muted); }
.ax__facts dd { font-size: 15px; font-weight: 500; line-height: 1.35; margin-top: 2px; }
.ax__text { margin-top: clamp(12px, 2svh, 20px); color: var(--muted); }
.ax__calc { margin-top: clamp(14px, 2.4svh, 26px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px 16px; align-items: center; padding: 14px 16px; border-radius: 6px; background: var(--paper-2); }
.ax__dates { display: flex; align-items: center; gap: 12px; text-align: left; min-width: 0; }
.ax__dates svg { width: 22px; height: 22px; color: var(--leaf); flex: none; }
.ax__dates > span { display: grid; min-width: 0; }
.ax__dates b { font-weight: 500; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; border-bottom: 1px solid var(--line-2); justify-self: start; max-width: 100%; }
.ax__cap { color: var(--muted); }
.ax__sum { display: grid; justify-items: end; line-height: 1; gap: 6px; text-align: right; }
.ax__formula { grid-column: 1 / -1; margin-top: -4px; font-size: 13px; color: var(--muted); line-height: 1.4; }
.ax__sum strong { font-family: var(--serif); font-weight: 300; font-size: 2.3rem; white-space: nowrap; }
.ax__sum strong small { color: var(--muted); }
.ax__sum strong.is-ask { font-size: 1.75rem; }
.ax__cta { grid-column: 1 / -1; }

/* =========================================================
   Das Haus (fir)
   ========================================================= */
.haus { background: var(--fir); color: var(--paper); }
.haus__grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(330px, 1fr); gap: clamp(24px, 4vw, 72px); align-items: center; }
.haus__stage { position: relative; height: clamp(320px, var(--scr-h), 740px); border-radius: 6px; overflow: hidden; background: var(--fir-2); }
.haus__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.haus__img.is-on { opacity: 1; }
.haus__stage::after { content: ''; position: absolute; inset: 62% 0 0; z-index: 1; background: linear-gradient(180deg, rgba(12, 20, 15, 0), rgba(12, 20, 15, .66)); pointer-events: none; }
.haus__dots { position: absolute; right: 14px; bottom: 12px; z-index: 2; display: flex; gap: 4px; }
.haus__dots button { width: 34px; height: 26px; display: grid; align-items: center; }
.haus__dots button::before { content: ''; height: 2px; border-radius: 1px; background: rgba(255, 255, 255, .45); transition: background-color .4s; }
.haus__dots button[aria-current="true"]::before { background: var(--lime); }
.haus__photo-cap { position: absolute; left: 16px; bottom: 14px; right: 140px; z-index: 2; font-size: 13.5px; color: rgba(255, 255, 255, .92); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-shadow: 0 1px 10px rgba(0, 0, 0, .5); }
.haus__info { min-width: 0; }
.haus__tabs { margin-top: clamp(14px, 2.6svh, 28px); }
.haus__panel { margin-top: clamp(16px, 2.8svh, 30px); }
.haus__title { font-family: var(--serif); font-weight: 300; }
.haus__lead { margin-top: 10px; color: var(--muted-inv); max-width: 52ch; }
.haus__facts { margin-top: clamp(14px, 2.6svh, 26px); display: grid; border-top: 1px solid var(--line-inv); }
.haus__facts div { display: grid; grid-template-columns: minmax(120px, auto) minmax(0, 1fr); align-items: baseline; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line-inv); }
.haus__facts dt { color: var(--lime); }
.haus__facts dd { color: rgba(241, 242, 234, .88); }

/* =========================================================
   Lage & Anreise: the village plan
   ========================================================= */
.lage { background: var(--paper); }
.lage__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(330px, 1fr); gap: clamp(24px, 4vw, 72px); align-items: center; }
.lage__map { position: relative; height: clamp(340px, var(--scr-h), 760px); border-radius: 6px; overflow: hidden; background: #e8ebe0; }
.map__svg { position: absolute; inset: 0; width: 100%; height: 100%; }
/* opaque (the old 20 % blue on the plan's ground): see-through strokes doubled up where pistes meet and read as dots */
.map__piste path { fill: none; stroke: #d0dad8; stroke-width: 16; stroke-linecap: round; stroke-linejoin: round; }
.map__lake path { fill: #c4d8e2; stroke: #9ebccc; stroke-width: 1.5; fill-rule: evenodd; }
.map__bld path { fill: #d3d8c8; stroke: #c1c7b4; stroke-width: 1; }
.map__water path { fill: none; stroke: #9ebccc; stroke-width: 3; }
.map__water path.is-river { stroke-width: 8; }
.map__paths path { fill: none; stroke: rgba(22, 32, 26, .22); stroke-width: 1.4; stroke-dasharray: 4 5; }
.map__roads path { fill: none; stroke: #fff; stroke-width: 4.5; stroke-linecap: round; stroke-linejoin: round; }
.map__roads path.is-tertiary, .map__roads path.is-secondary, .map__roads path.is-primary { stroke-width: 8; stroke: #fbfbf6; }
.map__lifts path { fill: none; stroke: var(--ink); stroke-width: 2; stroke-dasharray: 2 7; stroke-linecap: round; }
.map__house { fill: var(--lime); stroke: var(--lime-d); stroke-width: 2; }
.map__home circle { fill: var(--lime); stroke: #fff; stroke-width: 3; }
.map__home .map__pulse { fill: rgba(149, 193, 31, .38); stroke: none; transform-box: fill-box; transform-origin: center; animation: mapPulse 2.6s infinite; }
.map__home.is-off .map__pulse { animation-play-state: paused; }
@keyframes mapPulse { 0% { transform: scale(.4); opacity: 1; } 80%, 100% { transform: scale(1.6); opacity: 0; } }
.lage__osm { position: absolute; right: 10px; bottom: 8px; font-size: 11px; color: rgba(22, 32, 26, .55); }
.map__lab { position: absolute; left: 0; top: 0; z-index: 3; pointer-events: none; padding: 4px 9px; border-radius: var(--r); background: var(--fir); color: var(--paper); font-size: 12.5px; font-weight: 500; line-height: 1.4; white-space: nowrap; box-shadow: 0 6px 18px -8px rgba(0, 0, 0, .35); }
/* numbered places: HTML over the plan, so they keep their pixel size at every zoom (placed by lage() in main.js) */
.map__pins { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.map__pin, .near__no { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--fir); color: #fff; font-family: var(--sans); font-size: 12px; font-weight: 600; line-height: 1; font-variant-numeric: tabular-nums; transition: background-color .35s var(--ease), color .35s var(--ease), box-shadow .35s var(--ease), scale .35s var(--ease); }
.map__pin { position: absolute; left: 0; top: 0; margin: -11px 0 0 -11px; padding: 0; pointer-events: auto; box-shadow: 0 0 0 2px var(--paper-3), 0 4px 10px -4px rgba(0, 0, 0, .5); }
.map__pin::after { content: ''; position: absolute; inset: -5px; border-radius: 50%; }
.map__pin.is-on, .is-on > .near__no { background: var(--lime); color: var(--fir); }
.map__pin.is-on { z-index: 1; scale: 1.15; box-shadow: 0 0 0 2px var(--paper-3), 0 0 0 4.5px rgba(149, 193, 31, .5), 0 6px 14px -6px rgba(0, 0, 0, .5); }
.is-on > .near__no { box-shadow: 0 0 0 3px rgba(149, 193, 31, .32); }
.near__no.is-none { background: none; box-shadow: none; }
.lage__tag { position: absolute; left: 14px; top: 14px; display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: var(--r); background: var(--fir); color: var(--paper); font-size: 13.5px; }
.lage__tag svg { width: 16px; height: 16px; color: var(--lime); }
.lage__info { min-width: 0; }
.lage__lead { margin-top: clamp(10px, 1.8svh, 18px); color: var(--muted); max-width: 48ch; }
.near { margin-top: clamp(14px, 2.4svh, 26px); border-top: 1px solid var(--line); }
.near li { border-bottom: 1px solid var(--line); }
.near button, .near .near__row { width: 100%; display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 9px 0; text-align: left; transition: padding .4s var(--ease), background-color .3s; }
.near button:hover, .near button.is-on { padding-left: 8px; }
.near button.is-on .near__d { color: var(--leaf); }
.near svg { width: 20px; height: 20px; color: var(--leaf); }
.near b { display: block; font-weight: 500; font-size: 15px; line-height: 1.3; }
.near small { display: block; font-size: 13px; color: var(--muted); line-height: 1.35; }
.near__d { font-family: var(--serif); font-weight: 300; font-size: 1.5rem; line-height: 1; white-space: nowrap; text-align: right; }
.near__d small { font-family: var(--sans); font-size: 12.5px; text-align: right; }
.near .has-no { grid-template-columns: 22px 20px minmax(0, 1fr) auto; }
.near__src { margin-top: 8px; font-size: 12.5px; color: var(--muted); }
.lage__foot { margin-top: clamp(12px, 1.8svh, 18px); display: flex; align-items: center; justify-content: space-between; gap: 10px 20px; }
.lage__arrive { min-width: 0; display: grid; gap: 4px; font-size: 13px; line-height: 1.4; color: var(--muted); }
.lage__arrive li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 8px; align-items: start; }
.lage__arrive svg { width: 18px; height: 18px; color: var(--leaf); }
.lage__route { --h: 44px; flex: none; padding: 0 16px 0 20px; font-size: 14.5px; color: var(--ink); }
.lage__route svg { width: 16px; height: 16px; }
.lage__route::after { background: var(--fir); opacity: 1; }
.lage__route:hover { color: var(--paper); }
.lage__route:hover svg { transform: translate(2px, -2px); }

/* =========================================================
   Kontakt (fir)
   ========================================================= */
.contact { background: var(--fir-2); color: var(--paper); }
/* phones: the last screen fills the viewport, so the footer wordmark never peeks under the dock */
@media (max-width: 899px) { .contact { min-height: 100vh; min-height: 100svh; } }
.contact__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, 1fr); gap: clamp(24px, 4vw, 72px); align-items: center; }
.contact__fig { position: relative; height: clamp(320px, var(--scr-h), 740px); border-radius: 6px; overflow: hidden; }
.contact__fig img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 50%; }
.contact__fig::after { content: ''; position: absolute; inset: 55% 0 0; background: linear-gradient(180deg, rgba(12, 20, 15, 0), rgba(12, 20, 15, .72)); }
.contact__sign { position: absolute; left: 20px; bottom: 18px; z-index: 1; display: grid; gap: 2px; color: #fff; text-shadow: 0 1px 14px rgba(0, 0, 0, .5); }
.contact__sign span { color: var(--lime-l); }
.contact__sign b { font-family: var(--serif); font-weight: 300; font-style: italic; font-size: clamp(1.5rem, 2.2vw, 2rem); line-height: 1.1; }
.contact__info { min-width: 0; }
.ask { margin-top: clamp(16px, 2.8svh, 30px); padding: clamp(16px, 2.4svh, 24px) 22px; border-radius: 6px; background: var(--fir); box-shadow: inset 0 0 0 1px var(--line-inv); }
.ask__title { font-family: var(--serif); font-weight: 300; font-size: 1.7rem; line-height: 1; }
.ask__sum { margin-top: 10px; display: grid; }
.ask__sum div { display: grid; grid-template-columns: 112px minmax(0, 1fr); align-items: baseline; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line-inv); }
.ask__sum dt { color: var(--muted-inv); }
.ask__sum dd { min-width: 0; }
.ask__sum dd button { font-weight: 500; text-align: left; border-bottom: 1px solid var(--line-inv-2); transition: border-color .3s, color .3s; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ask__sum dd button:hover { color: var(--lime-l); border-color: var(--lime-l); }
.ask__price > span { font-family: var(--serif); font-weight: 300; font-size: 1.9rem; line-height: 1; white-space: nowrap; }
.ask__price > span.is-ask { font-style: italic; font-size: 1.6rem; }
.ask__price > small { display: block; margin-top: 4px; font-size: 12.5px; color: var(--muted-inv); }
.ask__go { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 10px; }
.ask__cta { flex: 1; }
.ask__call { color: var(--paper); }
.contact__lines { margin-top: clamp(14px, 2.4svh, 24px); display: flex; flex-wrap: wrap; gap: 8px 26px; font-size: 14.5px; color: rgba(241, 242, 234, .88); }
.contact__lines li { display: inline-flex; align-items: center; gap: 9px; }
.contact__lines svg { width: 17px; height: 17px; color: var(--lime); flex: none; }
.contact__lines a { border-bottom: 1px solid var(--line-inv-2); }

/* ---------- Footer ---------- */
.foot { background: var(--fir); color: var(--paper); padding: clamp(64px, 8vw, 120px) 0 calc(28px + env(safe-area-inset-bottom)); overflow: hidden; border-top: 1px solid var(--line-inv); }
.foot__logo { width: min(100%, 860px); height: auto; aspect-ratio: 1480 / 480; color: var(--paper); overflow: visible; }
.foot__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; margin-top: clamp(40px, 5vw, 80px); padding-top: 32px; border-top: 1px solid var(--line-inv); }
.foot__cols h4 { color: var(--muted-inv); margin-bottom: 14px; }
.foot__cols a, .foot__cols p { display: block; font-size: 15px; padding: 3px 0; color: rgba(241, 242, 234, .88); hyphens: auto; -webkit-hyphens: auto; }
.foot__cols a:hover { color: var(--lime-l); }
.foot__base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 56px; font-size: 13px; color: var(--muted-inv); }
.foot__base a { border-bottom: 1px solid var(--line-inv-2); }
@media (max-width: 899px) { .foot__cols { grid-template-columns: 1fr 1fr; } }

/* ---------- Dock (phones) ---------- */
.dock { display: none; }
@media (max-width: 899px) {
  .dock {
    display: flex; gap: 6px; position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 50;
    padding: 6px; border-radius: 10px; background: rgba(20, 32, 26, .95); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .55); transform: translateY(140%); transition: transform .6s var(--ease);
  }
  .dock.is-on { transform: none; }
  .dock__book { flex: 1; display: grid; place-items: center; height: 48px; border-radius: 6px; background: var(--lime); color: var(--fir); font-weight: 600; font-size: 15px; white-space: nowrap; min-width: 0; }
  .dock__ico, .dock__note { width: 48px; height: 48px; border-radius: 6px; display: grid; place-items: center; color: var(--paper); border: 1px solid var(--line-inv-2); flex: none; }
  .dock__ico svg { width: 20px; height: 20px; }
  .dock__note i { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(149, 193, 31, .22); }
  .menu-open .dock { transform: translateY(140%); }
  .foot { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
}

/* ---------- Concept note ---------- */
.note { position: fixed; left: max(10px, calc(var(--gutter) / 2 - 14px)); top: 50%; z-index: 52; font-size: 14px; opacity: 0; visibility: hidden; transform: translate(-6px, -50%); transition: opacity .5s var(--ease), transform .5s var(--ease), visibility .5s; }
.note.is-shown, .note.is-open { opacity: 1; visibility: visible; transform: translate(0, -50%); }
.note__btn { display: inline-flex; align-items: center; gap: 10px; writing-mode: vertical-rl; transform: rotate(180deg); width: 28px; padding: 14px 0 12px; border-radius: var(--r); background: rgba(20, 32, 26, .86); color: var(--paper); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 0 0 1px var(--line-inv); }
.note__btn i { width: 6px; height: 6px; border-radius: 50%; background: var(--lime); }
.note__panel { position: absolute; left: 40px; top: 50%; transform: translateY(-50%); width: min(340px, calc(100vw - 32px)); background: var(--paper-3); color: var(--ink); border-radius: 6px; padding: 22px; box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .45), 0 0 0 1px var(--line); display: grid; gap: 10px; font-size: 14.5px; line-height: 1.5; }
.note__panel[hidden] { display: none; }
.note__panel b { font-family: var(--serif); font-weight: 300; font-size: 1.6rem; }
.note__panel .btn { --h: 44px; margin-top: 6px; justify-self: start; }
.note__fine { font-size: 12px; line-height: 1.45; color: var(--muted); }
.note__fine a { text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 899px) {
  .note { left: 12px; right: 12px; top: auto; bottom: calc(76px + env(safe-area-inset-bottom)); transform: translateY(8px); }
  .note.is-open { transform: none; }
  .note.is-shown:not(.is-open) { opacity: 0; visibility: hidden; }
  .note__btn { display: none; }
  .note__panel { position: static; width: auto; transform: none; }
}

[data-img-reveal] { overflow: hidden; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* =========================================================
   Screens: every section fits one viewport. Big visuals take
   the height that is left; phones subtract the dock.
   ========================================================= */
:root {
  --scr-t: calc(var(--hdr-h) + clamp(14px, 3.4svh, 46px));
  --scr-b: clamp(18px, 3.8svh, 50px);
  --scr-h: calc(100svh - var(--scr-t) - var(--scr-b));
  --h2s: clamp(2.4rem, min(3.8vw, 6.4svh), 4.4rem);
}
@media (max-width: 899px) { :root { --scr-b: calc(86px + env(safe-area-inset-bottom)); } }
@media (max-width: 719px) { :root { --scr-t: calc(var(--hdr-h) + 12px); --h2s: clamp(2.05rem, 9.4vw, 2.6rem); } }

main .h2 { font-size: var(--h2s); }
main .h-label { margin-bottom: clamp(8px, 1.6svh, 18px); }
main > section:not(.hero) { padding-top: var(--scr-t); padding-bottom: var(--scr-b); }
@media (min-width: 900px) {
  main > section:not(.hero) { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; }
}
.today__head, .apts__head { margin-bottom: clamp(14px, 2.6svh, 36px); }
.atabs { margin-bottom: clamp(14px, 2.4svh, 30px); }
.today__grid { height: clamp(400px, calc(var(--scr-h) - var(--head-h, 150px)), 660px); }

/* ---- short viewports: small laptops, phones with toolbars ---- */
@media (min-width: 900px) and (max-height: 760px) { .ax__lead { display: none; } }
@media (min-width: 900px) and (max-height: 800px) {
  .ax__text { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .ax__facts div { padding-block: 7px; }
  .ax__calc { padding-block: 10px; }
  .today__lead { display: none; }
  .haus__lead { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
  .haus__facts div { padding-block: 7px; }
  .near button, .near .near__row { padding-block: 6px; }
  .near { min-height: 15em; }
  .wx__now { padding-top: 8px; }
  .album__cap { display: none; }
}
@media (min-width: 900px) and (max-width: 1180px) {
  .ax { grid-template-columns: minmax(0, 1.2fr) minmax(300px, 1fr); }
  .ax__text { display: none; }
  .atabs small { font-size: 12px; }
  .atabs b { font-size: 1.3rem; }
}

/* =========================================================
   Type system — one voice
   Source Serif 4: headlines, figures. Outfit: text, controls and two label tiers —
   LABEL 600 · .18em (names a block) · CAPTION 500 · .14em (names a value)
   Brand lockups (header, crest, ticket stub, footer) keep their own set.
   ========================================================= */
:root {
  --t-lab: 11.5px; --t-cap: 11px; --t-lead: 17px; --t-body: 15px; --t-small: 14px;
  --h3m: clamp(2rem, 2.6vw, 2.7rem);
  --h3s: clamp(1.4rem, min(1.8vw, 2.9svh), 1.8rem);
}
@media (max-width: 719px) {
  :root { --t-lab: 11px; --t-cap: 10.5px; --t-lead: 15px; --t-body: 14.5px; --t-small: 13.5px; --h3m: 1.85rem; --h3s: 1.35rem; }
}
body { font-synthesis: none; }
b, strong { font-weight: 600; }

/* LABEL */
.h-label, .stay__lab, .foot__cols h4, .note__btn, .pano__live, .ask__sum dt, .apts__who-lab, .wx__lab, .tkt__over, .album__plan-cap, .contact__sign span {
  font-family: var(--sans); font-size: var(--t-lab); font-weight: 600; letter-spacing: .18em; text-transform: uppercase; font-style: normal;
}
/* CAPTION */
.wx__date, .ax__no, .ax__facts dt, .ax__cap, .cal__wd span, .ridge__days b, .tkt__grid dt, .haus__facts dt {
  font-family: var(--sans); font-size: var(--t-cap); font-weight: 500; letter-spacing: .14em; text-transform: uppercase; font-style: normal;
}
.ridge__days b, .haus__facts dt { font-weight: 600; }
/* Headings */
.ax__name, .haus__title { font-size: var(--h3m); line-height: 1.02; letter-spacing: -.01em; }
.ax__lead { font-size: var(--h3s); line-height: 1.15; }
/* Text */
.today__lead, .lage__lead, .haus__lead { font-size: var(--t-lead); }
.ax__text, .haus__facts dd { font-size: var(--t-body); }

/* ---------- Phone hero ---------- */
@media (max-width: 719px) {
  .hero__fg { object-position: 50% 30%; }
  .hero__shade { background:
    radial-gradient(90% 26% at 50% var(--crest-y, 30%), rgba(12, 20, 15, .66), rgba(12, 20, 15, .3) 62%, rgba(12, 20, 15, 0) 100%),
    linear-gradient(180deg, rgba(12, 20, 15, .66) 0%, rgba(12, 20, 15, .28) 20%, rgba(12, 20, 15, .22) 40%, rgba(12, 20, 15, .46) 56%, rgba(12, 20, 15, .86) 74%, rgba(12, 20, 15, .96) 100%); }
  .crest { padding: clamp(4px, 1.4svh, 18px) 12px clamp(12px, 2.4svh, 26px); }
  .crest__hi { font-size: 1.2rem; }
  .crest__logo { margin-top: 10px; width: min(80vw, 330px); }
  .crest__claim { margin-top: 12px; font-size: 9.5px; letter-spacing: .24em; padding-left: .24em; }
  .stay { width: auto; margin: 0 10px 10px; display: flex; flex-wrap: wrap; align-items: stretch; border-radius: 8px; }
  .stay > .stay__f { border: 0 !important; }
  .stay__f--dates { order: -1; flex: 0 0 100%; padding: 12px 12px 6px !important; }
  .stay__f--apt { flex: 1.35 1 0; min-width: 0; padding: 4px 4px 10px 12px !important; }
  .stay__f--guests { flex: 1 1 0; min-width: 0; padding: 4px 12px 10px 4px !important; }
  .stay__go { order: 2; flex: 0 0 100%; padding: 10px 12px 12px !important; flex-direction: row; align-items: center; gap: 12px; }
  .stay__lab { margin-bottom: 6px; font-size: 9.5px; }
  .stay__f--apt .stay__lab, .stay__f--guests .stay__lab { display: none; }
  .stay__btn { height: 44px; padding: 0 11px; gap: 9px; }
  .stay__btn svg { width: 18px; height: 18px; }
  .stay__val { font-size: 14px; }
  .stay__btn small { font-size: 12px; }
  .stay__price { flex: 0 0 auto; gap: 3px; }
  .stay__per { font-size: 11px; }
  .stay__price strong { font-size: 1.9rem; }
  .stay__price strong.is-ask { font-size: 1.45rem; }
  .stay__cta { --h: 46px; flex: 1; width: auto; padding: 0 12px 0 14px; font-size: 14px; gap: 8px; }
  .stay__info { order: 1; flex: 0 0 100%; padding: 7px 12px; font-size: 12px; }
  .stay__notes { flex-wrap: nowrap; overflow: hidden; gap: 14px; }
  .stay__notes li:nth-child(n+2) { display: none; }
  .stay__src { display: none; }
}
@media (max-width: 719px) and (max-height: 700px) { .crest__hi { display: none; } }

/* ---------- Phone and tablet screens: keep each one above the dock ---------- */
@media (max-width: 899px) {
  .today__grid, .ax, .haus__grid, .lage__grid, .contact__grid { grid-template-columns: minmax(0, 1fr); height: auto; }
  .today__grid { gap: 12px; }
  .pano__frame { flex: none; height: clamp(150px, 26svh, 300px); }
  .wintile { flex: none; height: clamp(160px, 26svh, 300px); }
  .album__stage, .haus__stage, .lage__map { height: clamp(180px, 34svh, 420px); }
  .contact__fig { display: none; }
  .atabs { grid-template-columns: repeat(6, minmax(max-content, 1fr)); overflow-x: auto; scrollbar-width: none; }
  .atabs::-webkit-scrollbar { display: none; }
}
@media (max-width: 719px) {
  .today__head { margin-bottom: 10px; }
  .today__lead { display: none; }
  .wx__top { padding: 9px 14px; }
  .wx__title { font-size: 1.35rem; }
  .wx__date { display: none; }
  .wx__clock { margin-left: auto; font-size: 1.25rem; }
  .wx__now { padding: 8px 14px 0; gap: 14px; }
  .wx__temp b { font-size: 3rem; }
  .wx__ico { width: 32px; height: 32px; }
  .wx__cond b { font-size: 15px; }
  .wx__cond span { font-size: 12.5px; }
  .ridge { min-height: 0; padding: 0 6px; }
  .ridge__svg { height: 54px; flex: none; min-height: 0; }
  .ridge__days { padding: 4px 0 8px; }
  .ridge__days svg { width: 17px; height: 17px; }
  .ridge__days span { font-size: 11.5px; }
  .ridge__days span i { display: none; }
  .wx__cells li { grid-template-columns: minmax(0, 1fr); padding: 8px 10px 9px; }
  .wx__cells svg { display: none; }
  .wx__cells b { font-size: 13.5px; }
  .wx__cells small { font-size: 11.5px; }
  .wx__lab { font-size: 9.5px; letter-spacing: .14em; }
  .wx__foot { display: none; }
  .pano { gap: 6px; }
  .pano__frame { height: clamp(110px, 19svh, 190px); min-height: 0; }
  .pano__live { left: 10px; bottom: 10px; padding: 5px 9px; font-size: 9.5px; }
  .pano__hint { right: 10px; bottom: 10px; padding: 4px 9px; font-size: 12px; }
  .pano__cap { font-size: 12px; }
  .wintile { display: none; }

  .apts__head { margin-bottom: 10px; gap: 10px; }
  .apts__who { display: flex; align-items: center; gap: 10px; }
  .apts__who .chips { flex-wrap: nowrap; gap: 5px; }
  .chips button { height: 34px; min-width: 34px; padding: 0 11px; font-size: 13.5px; }
  .atabs { width: calc(100% + 2 * var(--gutter)); margin: 0 calc(-1 * var(--gutter)) 10px; padding: 0 var(--gutter); display: flex; }
  .atabs li { flex: none; }
  .atabs button { padding: 2px 16px 8px 0; }
  .atabs b { font-size: 1.2rem; }
  .atabs small { font-size: 11.5px; }
  .ax { gap: 10px; }
  .album { gap: 0; }
  .album__stage { height: clamp(150px, 26svh, 250px); }
  .album__cap { display: none; }
  .album__btn { width: 36px; height: 36px; margin-top: -18px; }
  .album__btn--prev { left: 8px; }
  .album__btn--next { right: 8px; }
  .album__count { right: 8px; top: 8px; font-size: 11.5px; padding: 3px 8px; }
  .album__seg { left: 8px; bottom: 8px; padding: 3px; }
  .album__seg button { height: 30px; padding: 0 10px; font-size: 12.5px; gap: 6px; }
  .album__seg button svg { width: 15px; height: 15px; }
  .album__seg .seg__pill { height: 30px; top: 3px; }
  .album__plan img { inset: 30px 12px 46px; width: calc(100% - 24px); height: calc(100% - 76px); }
  .album__plan-cap { top: 8px; left: 10px; }
  .ax__no, .ax__lead, .ax__text { display: none; }
  .ax__name { margin-top: 0; }
  .ax__facts { margin-top: 6px; border-top: 0; }
  .ax__facts div:nth-child(-n+2) { display: none; }
  .ax__facts div { padding: 5px 8px 5px 0; }
  .ax__facts div:nth-child(even) { padding-left: 10px; }
  .ax__facts dd { font-size: 13.5px; }
  .ax__calc { margin-top: 10px; padding: 10px 12px; gap: 8px 12px; }
  .ax__sum .ax__cap { display: none; }
  .ax__formula { display: none; }
  .ax__sum strong { font-size: 1.8rem; }
  .ax__sum strong.is-ask { font-size: 1.4rem; }
  .ax__cta { --h: 44px; }

  .haus__info { display: contents; }
  .haus__grid { gap: 0; }
  .haus__info > .h-label { order: 1; }
  .haus__info > .h2 { order: 2; }
  .haus__tabs { order: 3; margin: 12px calc(-1 * var(--gutter)); padding: 0 var(--gutter); flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .haus__tabs::-webkit-scrollbar { display: none; }
  .haus__stage { order: 4; height: clamp(150px, 26svh, 250px); }
  .haus__photo-cap { display: none; }
  .haus__panel { order: 5; margin-top: 12px; }
  .haus__lead { margin-top: 6px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .haus__facts { margin-top: 10px; }
  .haus__facts div { grid-template-columns: 104px minmax(0, 1fr); gap: 10px; padding: 6px 0; }
  .haus__facts dd { font-size: 13px; line-height: 1.4; }

  .lage__info { display: contents; }
  .lage__grid { gap: 0; }
  .lage__info > .h-label { order: 1; }
  .lage__info > .h2 { order: 2; }
  .lage__lead { display: none; }
  .lage__map { order: 3; margin-top: 12px; height: clamp(140px, 24svh, 230px); }
  .near { order: 5; margin-top: 8px; min-height: 0; }
  .lage__foot { order: 6; margin-top: 10px; gap: 12px; }
  .near__src { order: 5; margin-top: 4px; font-size: 11.5px; }
  .lage__arrive { font-size: 12px; line-height: 1.35; gap: 3px; }
  .lage__arrive li { grid-template-columns: 16px minmax(0, 1fr); gap: 6px; }
  .lage__arrive svg { width: 16px; height: 16px; }
  .lage__route { --h: 38px; padding: 0 12px 0 14px; gap: 8px; font-size: 13.5px; }
  .near button, .near .near__row { padding: 6px 0; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 10px; }
  .near .has-no { grid-template-columns: 22px 20px minmax(0, 1fr) auto; }
  .near small { font-size: 12px; }
  .near__d { font-size: 1.25rem; }
  .lage__tag { display: none; }
  .map__lab { font-size: 11.5px; padding: 3px 8px; }

  .ask { padding: 14px 14px; }
  .ask__sum div { grid-template-columns: 92px minmax(0, 1fr); padding: 6px 0; }
  .ask__price > span { font-size: 1.6rem; }
  .ask__go { margin-top: 12px; }
  .ask__call { display: none; }
  .contact__lines { font-size: 13.5px; gap: 6px 18px; }
  .contact__lines li:first-child { display: none; }
}
@media (max-width: 719px) and (max-height: 760px) {
  .album__stage, .haus__stage { height: clamp(130px, 19svh, 200px); }
  .ax__name { display: none; }
  .ax__calc { margin-top: 8px; }
  .apts__head { margin-bottom: 6px; }
  .atabs { margin-bottom: 8px; }
  .ax { gap: 8px; }
  .haus__lead { -webkit-line-clamp: 2; }
  .near small { display: none; }
  .near button, .near .near__row { padding-block: 4px; }
  .lage__foot { margin-top: 6px; }
  .lage__route { --h: 34px; }
  .ridge__svg { height: 44px; }
}
/* six cities by car: where height is short, one line per city, the time beside the distance,
   so the list and "Route planen" stay on the screen */
@media (min-width: 900px) and (max-height: 800px), (max-width: 719px) {
  .near .is-car > span:not(.near__d) small { display: none; }
  .near .is-car .near__d { display: flex; align-items: baseline; justify-content: flex-end; gap: 8px; }
  .near .is-car .near__d small { display: inline; }
}
[data-s="priceBig"] b { font-weight: inherit; }
