/* Pension Gweil · Entwurf · layout and components (colours and fonts come from brand.css) */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 0; }
body { margin: 0; background: var(--snow); color: var(--ink); font: 400 var(--t-body)/1.55 var(--sans); font-synthesis: none; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; }
a { color: inherit; }
p, h1, h2, h3, figure, ul, dl, dd { margin: 0; }
ul { padding: 0; list-style: none; }
b, strong { font-weight: 600; }
.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
:focus-visible { outline: 2px solid var(--teal-l); outline-offset: 3px; }
[hidden] { display: none !important; }

/* ---------- type system ---------- */
:root {
  --hdr-h: 64px;
  --t-lab: 11.5px; --t-cap: 11px; --t-lead: 17px; --t-body: 15px; --t-small: 14px;
  --h3m: clamp(1.6rem, 2.1vw, 1.95rem);
  --h3s: clamp(1.3rem, min(1.7vw, 2.8svh), 1.6rem);
  --quote: clamp(1.25rem, min(1.6vw, 2.6svh), 1.6rem);
  --gut: clamp(16px, 4.4vw, 72px);
}
@media (max-width: 719px) { :root { --hdr-h: 56px; --t-lab: 11px; --t-cap: 10.5px; --t-lead: 15px; --t-small: 13.5px; --h3m: 1.55rem; --h3s: 1.22rem; --quote: 1.12rem; } }
.lab { font: 600 var(--t-lab)/1.6 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--teal); }
.cap { display: block; font: 500 var(--t-cap)/1.5 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.h2 { font: 500 var(--h2s)/1.06 var(--serif); letter-spacing: -.005em; margin-top: .3em; text-wrap: balance; }
.h2 em, h3 em { font-style: normal; color: var(--accent); }

/* ---------- buttons ---------- */
.knopf { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 46px; padding: 0 20px;
  border: 1.5px solid var(--teal); border-radius: var(--r); background: var(--teal); color: #fff; font: 600 15px/1.1 var(--sans); letter-spacing: .01em;
  text-decoration: none; cursor: pointer; overflow: hidden; -webkit-touch-callout: none; user-select: none; -webkit-tap-highlight-color: transparent;
  transition: background-color .2s, border-color .2s, transform .12s; }
.knopf svg { width: 18px; height: 18px; flex: none; }
.knopf:hover { background: var(--teal-d); border-color: var(--teal-d); }
.knopf:active { transform: scale(.97); }
.knopf--line { background: transparent; color: var(--teal); }
.knopf--line::after { content: ''; position: absolute; inset: 0; background: currentColor; opacity: 0; transition: opacity .2s; pointer-events: none; }
.knopf--line:hover { background: transparent; border-color: var(--teal); }
.knopf--line:hover::after { opacity: .1; }
.knopf--klein { min-height: 40px; padding: 0 16px; font-size: 14px; }

/* ---------- header ---------- */
.kopf { position: fixed; z-index: 40; top: 0; left: 0; right: 0; height: var(--hdr-h); display: flex; align-items: center; gap: 22px; padding: 0 var(--gut);
  color: #fff; transition: background-color .35s, color .35s, box-shadow .35s, transform .35s; }
.kopf.is-fest { background: rgba(255, 255, 255, .97); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.kopf.is-weg { transform: translateY(-100%); }
.kopf__marke { display: block; width: 112px; opacity: 0; pointer-events: none; transition: opacity .35s; }
.kopf.is-fest .kopf__marke { opacity: 1; pointer-events: auto; }
.kopf__marke img { width: 100%; height: auto; }
.kopf__nav { display: flex; gap: 26px; margin-left: auto; }
.kopf__nav a { font: 600 14px/1 var(--sans); text-decoration: none; padding: 10px 0; position: relative; }
.kopf__nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 4px; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.kopf__nav a:hover::after { transform: scaleX(1); }
.kopf__tel { display: inline-flex; align-items: center; gap: 8px; font: 600 14px/1 var(--sans); text-decoration: none; white-space: nowrap; padding: 10px 0; }
.kopf__tel svg { width: 17px; height: 17px; }
.kopf:not(.is-fest) .kopf__anfr { background: rgba(255, 255, 255, .96); color: var(--teal-d); border-color: transparent; }
.kopf:not(.is-fest) .kopf__anfr:hover { background: #fff; }
.kopf__menue { display: none; }
.kopf:not(.is-fest) .kopf__nav a, .kopf:not(.is-fest) .kopf__tel { text-shadow: 0 1px 10px rgba(0, 40, 40, .45); }
@media (max-width: 899px) {
  .kopf { gap: 10px; }
  .kopf__nav, .kopf__anfr, .kopf__tel span { display: none; }
  .kopf__tel { margin-left: auto; width: 44px; height: 44px; justify-content: center; border-radius: 50%; }
  .kopf:not(.is-fest) .kopf__tel { display: none; }
  .kopf__menue { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 4px; margin-left: auto; border: 0; background: none; cursor: pointer; font: 600 14px/1 var(--sans); }
  .kopf.is-fest .kopf__menue { margin-left: 0; }
  .kopf:not(.is-fest) .kopf__menue { text-shadow: 0 1px 10px rgba(0, 40, 40, .5); }
  .kopf__striche { display: grid; gap: 5px; width: 20px; }
  .kopf__striche i { display: block; height: 1.6px; background: currentColor; border-radius: 1px; transition: transform .3s; }
  .is-menue .kopf__striche i:first-child { transform: translateY(3.3px) rotate(45deg); }
  .is-menue .kopf__striche i:last-child { transform: translateY(-3.3px) rotate(-45deg); }
  .is-menue .kopf { background: #fff; color: var(--ink); }
  .is-menue .kopf__marke { opacity: 1; }
}
.menue { position: fixed; z-index: 39; inset: 0; padding: calc(var(--hdr-h) + 24px) var(--gut) 32px; background: #fff; display: flex; flex-direction: column; gap: 28px; }
.menue__nav { display: grid; gap: 4px; }
.menue__nav a { font: 500 2rem/1.25 var(--serif); text-decoration: none; padding: 6px 0; border-bottom: 1px solid var(--line); }
.menue__tel { display: inline-flex; align-items: center; gap: 10px; font: 600 17px/1 var(--sans); color: var(--teal); text-decoration: none; min-height: 44px; }
.menue__tel svg { width: 20px; height: 20px; }

/* ---------- hero: the window ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; background: var(--teal-d); overflow: hidden; overflow-anchor: none; }
.fenster { position: absolute; inset: 0; overflow: hidden; perspective: var(--persp, 2600px); perspective-origin: 50% 46%; background: var(--teal-d); --open: 95deg; }
.fenster__tal, .fenster__tal img { position: absolute; inset: 0; width: 100%; height: 100%; }
.fenster__tal img { object-fit: cover; object-position: 50% 42%; }
.fenster__licht { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 48, 47, .38) 0%, rgba(0, 48, 47, 0) 26%, rgba(0, 48, 47, 0) 58%, rgba(0, 32, 31, .42) 100%); }
/* shutters: their own pine boards, two battens, inner side darker once open */
.laden { position: absolute; top: 0; bottom: 0; width: 50%; z-index: 2; background: #8a5a2e var(--holz-l) 0 0 / auto 100% repeat-x; will-change: transform;
  transform: rotateY(0deg); transition: transform 1.75s cubic-bezier(.5, .02, .18, 1); }
.laden::before { content: ''; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(90deg, rgba(40, 20, 6, .0) 0 calc(25% - 1.5px), rgba(40, 20, 6, .45) calc(25% - 1.5px) 25%),
    linear-gradient(90deg, rgba(0, 0, 0, .18), rgba(255, 230, 190, .08) 40%, rgba(0, 0, 0, .2)); }
.laden--l { left: 0; transform-origin: 0 50%; box-shadow: inset -2px 0 0 rgba(30, 14, 4, .6); }
.laden--r { right: 0; transform-origin: 100% 50%; box-shadow: inset 2px 0 0 rgba(30, 14, 4, .6); }
.laden__band { position: absolute; left: 0; right: 0; top: 17%; height: 7%; min-height: 10px; max-height: 46px;
  background: inherit; background-position: 30% 60%; box-shadow: 0 3px 6px rgba(20, 8, 0, .35), 0 -1px 0 rgba(255, 220, 170, .25) inset; filter: none; }
.laden__band--u { top: auto; bottom: 17%; }
.laden__schatten { position: absolute; inset: 0; background: #1d0f04; opacity: 0; transition: opacity 1.75s cubic-bezier(.5, .02, .18, 1); }
.is-auf .laden--l { transform: rotateY(var(--open)); }
.is-auf .laden--r { transform: rotateY(calc(var(--open) * -1)); }
.is-auf .laden__schatten { opacity: .5; }
.is-static .laden, .no-anim .laden, .is-static .laden__schatten, .no-anim .laden__schatten { transition: none; }
.no-anim .laden--l, .is-static .laden--l { transform: rotateY(var(--open)); }
.no-anim .laden--r, .is-static .laden--r { transform: rotateY(calc(var(--open) * -1)); }

/* the house sign (their logo, rebuilt) */
.schild { position: absolute; z-index: 3; left: max(var(--gut), 9vw); top: calc(var(--hdr-h) + clamp(18px, 5svh, 56px)); width: clamp(250px, 21vw, 340px); display: flex; flex-direction: column; align-items: center; }
.schild > div { width: 100%; }
.schild__svg { display: block; width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 10px 24px rgba(0, 30, 30, .35)); }
.fenster__ort { margin-top: 12px; text-align: center; white-space: nowrap; color: #fff; font: 600 var(--t-lab)/1.4 var(--sans); letter-spacing: .3em; margin-right: -.3em; text-transform: uppercase;
  text-shadow: 0 1px 12px rgba(0, 40, 40, .6); }
.js .lg-sky, .js .lg-berg, .js .lg-pension, .js .lg-gweil, .js .lg-sun, .js .fenster__ort { opacity: 0; }
.is-auf .lg-sky { animation: lgSky .9s ease-out .55s both; }
.is-auf .lg-berg { animation: lgBerg 1.15s cubic-bezier(.2, .8, .2, 1) .7s both; }
.is-auf .lg-sun { animation: lgSun 1.5s cubic-bezier(.2, .7, .2, 1) 1.15s both; }
.is-auf .lg-pension { animation: lgText .9s ease-out 1.35s both; }
.is-auf .lg-gweil { animation: lgText .9s ease-out 1.5s both; }
.is-auf .fenster__ort { animation: lgOrt 1s ease-out 1.9s both; }
@keyframes lgSky { from { opacity: 0; } to { opacity: 1; } }
@keyframes lgBerg { from { opacity: 0; transform: translateY(70px); } to { opacity: 1; transform: none; } }
@keyframes lgSun { from { opacity: 0; transform: translateY(150px); } 8% { opacity: 1; } to { opacity: 1; transform: none; } }
@keyframes lgText { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes lgOrt { from { opacity: 0; letter-spacing: .6em; } to { opacity: 1; letter-spacing: .3em; } }
.no-anim .lg-sky, .no-anim .lg-berg, .no-anim .lg-pension, .no-anim .lg-gweil, .no-anim .lg-sun, .no-anim .fenster__ort,
.is-static .lg-sky, .is-static .lg-berg, .is-static .lg-pension, .is-static .lg-gweil, .is-static .lg-sun, .is-static .fenster__ort { opacity: 1 !important; animation: none !important; }

/* ---------- console ---------- */
.konsole { position: absolute; z-index: 5; right: var(--gut); bottom: clamp(22px, 6svh, 64px); width: clamp(400px, 38vw, 452px); background: var(--snow); border-radius: var(--r);
  box-shadow: 0 28px 70px rgba(0, 30, 30, .38), 0 2px 6px rgba(0, 30, 30, .2); padding: 20px 22px 22px; }
.js .konsole { opacity: 0; transform: translateY(26px); }
.is-auf .konsole, .no-anim .konsole, .is-static .konsole { opacity: 1; transform: none; transition: opacity .7s ease-out .9s, transform .9s cubic-bezier(.2, .8, .2, 1) .9s; }
.no-anim .konsole, .is-static .konsole { transition: none; }
.konsole__lab { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.konsole__lab .cap { color: var(--teal); }

/* small shuttered windows = room picker */
.fensterreihe { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.fl { display: flex; flex-direction: column; align-items: stretch; gap: 6px; padding: 0; border: 0; background: none; cursor: pointer; text-align: center; -webkit-tap-highlight-color: transparent; min-width: 0; }
.fl__win { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 2px; background: #2b1a0c; perspective: 220px;
  box-shadow: 0 0 0 2px #f7f2ea, 0 0 0 3px rgba(20, 20, 20, .16); transition: box-shadow .25s; }
.fl__win img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fl__l, .fl__r { position: absolute; top: 0; bottom: 0; width: 50%; background: #8a5a2e var(--holz-s) 0 0 / auto 100% repeat-x; transition: transform .7s cubic-bezier(.5, .02, .18, 1); will-change: transform; }
.fl__l { left: 0; transform-origin: 0 50%; box-shadow: inset -1px 0 0 rgba(30, 14, 4, .7); }
.fl__r { right: 0; transform-origin: 100% 50%; box-shadow: inset 1px 0 0 rgba(30, 14, 4, .7); }
.fl__l::after, .fl__r::after { content: ''; position: absolute; left: 0; right: 0; top: 22%; height: 10%; background: rgba(30, 14, 4, .45); box-shadow: 0 calc(var(--h, 1) * 0px) 0 0 transparent; }
.fl__r::before, .fl__l::before { content: ''; position: absolute; left: 0; right: 0; bottom: 22%; height: 10%; background: rgba(30, 14, 4, .45); }
.fl.is-on .fl__l { transform: rotateY(98deg); }
.fl.is-on .fl__r { transform: rotateY(-98deg); }
.fl.is-on .fl__win { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--teal); }
.fl__neu { position: absolute; z-index: 2; left: 3px; top: 3px; padding: 2px 5px; border-radius: 2px; background: var(--sun); color: var(--ink); font: 700 9px/1.2 var(--sans); letter-spacing: .08em; text-transform: uppercase; }
.fl__name { font: 600 11.5px/1.2 var(--sans); color: var(--ink-2); hyphens: auto; -webkit-hyphens: auto; overflow-wrap: anywhere; transition: color .2s; }
.fl.is-on .fl__name { color: var(--teal); }
.fl:hover .fl__win { box-shadow: 0 0 0 2px #fff, 0 0 0 4px rgba(0, 116, 115, .45); }
.fl.is-on:hover .fl__win { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--teal); }

/* fields */
.felder { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 8px; margin-top: 14px; }
.feld .cap { letter-spacing: .06em; white-space: nowrap; }
.konsole__zimmer { margin-top: 10px; font: 400 13.5px/1.4 var(--sans); color: var(--ink-2); }
.konsole__zimmer b { color: var(--ink); font-weight: 600; }
.feld { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 2px; min-width: 0; min-height: 56px; padding: 7px 10px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; text-align: left; }
.feld > b { font: 600 15px/1.25 var(--sans); white-space: nowrap; }
button.feld { cursor: pointer; transition: border-color .2s, box-shadow .2s; }
button.feld:hover { border-color: var(--teal); }
button.feld[aria-expanded="true"] { border-color: var(--teal); box-shadow: 0 0 0 1px var(--teal); }
.step { display: flex; align-items: center; justify-content: space-between; gap: 2px; }
.step b { font: 600 16px/1 var(--sans); min-width: 1.6em; text-align: center; font-variant-numeric: tabular-nums; }
.step button { width: 34px; height: 30px; flex: none; display: grid; place-items: center; border: 0; border-radius: 2px; background: var(--snow-2); color: var(--teal-d); cursor: pointer; font: 500 20px/1 var(--sans); transition: background-color .15s; }
.step button:hover { background: #e2eceb; }
.step button:disabled { opacity: .3; pointer-events: none; }

/* result */
.ergebnis { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 4px 16px; margin-top: 14px; }
.ergebnis__preis { font: 700 clamp(2.1rem, 3vw, 2.6rem)/1 var(--serif); color: var(--ink); white-space: nowrap; font-variant-numeric: lining-nums; }
.ergebnis__preis small { font: 500 .5em/1 var(--serif); color: var(--ink-2); margin-right: .15em; }
.ergebnis__info { font: 400 var(--t-small)/1.4 var(--sans); color: var(--ink-2); }
.ergebnis__info b { color: var(--ink); }
.ergebnis__regel { grid-column: 1 / -1; font: 400 13px/1.4 var(--sans); color: var(--teal-d); background: #e8f3f2; border-radius: 2px; padding: 7px 10px; }
.aktion { display: grid; grid-template-columns: 1fr 1.25fr; gap: 8px; margin-top: 14px; }
.aktion .knopf { width: 100%; }

/* ---------- phones: window on top, the sill below ---------- */
@media (max-width: 899px) {
  .hero { display: flex; flex-direction: column; }
  .fenster { position: relative; inset: auto; flex: 1 1 auto; min-height: 250px; --persp: 900px; --open: 93deg; }
  .schild { left: 50%; width: clamp(176px, 50vw, 250px); top: calc(var(--hdr-h) + 2px); transform: translateX(-50%); }
  .fenster__ort { display: none; }
  .konsole { position: relative; right: auto; bottom: auto; width: auto; border-radius: 0; box-shadow: none; padding: 12px 16px 14px; flex: none; }
  .konsole::before { content: ''; position: absolute; left: 0; right: 0; top: -9px; height: 10px; background: #7a4c24 var(--holz-s) 0 0 / auto 400% repeat-x; box-shadow: 0 2px 6px rgba(0, 0, 0, .35); }
  .js .konsole { transform: none; opacity: 1; transition: none; }
  .konsole__lab, .konsole__zimmer { display: none; }
  .fensterreihe { gap: 9px; }
  .felder { margin-top: 12px; gap: 6px; }
  .feld { min-height: 52px; padding: 6px 8px; }
  .feld > b { font-size: 14.5px; }
  .ergebnis { margin-top: 10px; }
  .aktion { margin-top: 10px; }
}
@media (max-width: 899px) and (min-width: 600px) { .konsole { padding-left: var(--gut); padding-right: var(--gut); } }
@media (max-width: 380px) {
  .fl__name { font-size: 10.5px; }
  .step button { width: 30px; }
  .feld > b { font-size: 13.5px; }
}
@media (max-height: 700px) and (max-width: 899px) {
  .fensterreihe .fl__win { aspect-ratio: 16 / 10; }
  .feld { min-height: 48px; }
  .ergebnis__preis { font-size: 1.95rem; }
  .knopf { min-height: 44px; }
}

/* ---------- screens layer ---------- */
: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.1rem, min(3.4vw, 5.4svh), 3.6rem);
}
@media (max-width: 899px) { :root { --scr-b: 30px; } main > section:last-of-type { padding-bottom: 36px; } }
@media (max-width: 719px) { main > section { scroll-margin-top: var(--hdr-h); } :root { --scr-t: 30px; --h2s: clamp(1.9rem, 8.2vw, 2.35rem); } }
main > section:not(.hero) { padding: var(--scr-t) var(--gut) var(--scr-b); }
@media (min-width: 900px) { main > section:not(.hero) { min-height: 100svh; display: grid; align-items: center; } }
.kopfzeile { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.nur-klein { display: none; }
@media (max-width: 719px) {
  .nur-gross { display: none !important; }
  .nur-klein { display: inline; }
  .kopfzeile { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 0 12px; }
  .kopfzeile > div:first-child { display: contents; }
  .kopfzeile .lab { grid-column: 1; grid-row: 1; }
  .kopfzeile .sprache { grid-column: 2; grid-row: 1; }
  .kopfzeile .h2 { grid-column: 1 / -1; grid-row: 2; }
  .sprache button { min-height: 32px; min-width: 40px; padding: 0 10px; font-size: 12.5px; }
}

/* language switch DE · EN · 中文 */
.sprache { display: inline-flex; flex: none; padding: 3px; border-radius: 999px; background: var(--snow-2); }
.sprache button { min-width: 44px; min-height: 34px; padding: 0 12px; border: 0; border-radius: 999px; background: transparent; cursor: pointer; font: 600 13px/1 var(--sans); color: var(--ink-2); transition: background-color .2s, color .2s; }
.sprache button[aria-pressed="true"] { background: var(--teal); color: #fff; }
.sprache button:not([aria-pressed="true"]):hover { background: #e1eae9; color: var(--ink); }

/* ---------- screen 2: price line by line ---------- */
.preis { background: var(--snow); }
@media (min-width: 900px) { .preis { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(32px, 4vw, 72px); } }
.zfenster { position: relative; overflow: hidden; border-radius: var(--r); background: #2b1a0c; perspective: 1400px; height: clamp(320px, var(--scr-h), 760px); --open: 99deg;
  box-shadow: 0 0 0 10px #f3ede4, 0 0 0 11px rgba(20, 20, 20, .1); }
.zfenster__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.zfenster .laden { transition-duration: .8s; }
.zfenster .laden__schatten { transition-duration: .8s; }
.zfenster.is-auf .laden--l { transform: rotateY(var(--open)); }
.zfenster.is-auf .laden--r { transform: rotateY(calc(var(--open) * -1)); }
.zfenster.is-auf .laden__schatten { opacity: .5; }
.zfenster__wahl { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; display: flex; gap: 6px; padding: 40px 14px 14px; overflow-x: auto; scrollbar-width: none;
  background: linear-gradient(180deg, rgba(0, 30, 30, 0), rgba(0, 30, 30, .7)); }
.zfenster__wahl::-webkit-scrollbar { display: none; }
.pill { flex: none; min-height: 36px; padding: 0 14px; border: 1px solid rgba(255, 255, 255, .55); border-radius: 999px; background: rgba(0, 30, 30, .35); color: #fff; cursor: pointer; font: 600 13px/1 var(--sans); white-space: nowrap; transition: background-color .2s, color .2s, border-color .2s; }
.pill:hover { background: rgba(255, 255, 255, .18); }
.pill[aria-checked="true"] { background: #fff; color: var(--teal-d); border-color: #fff; }
.rechner { margin-top: clamp(14px, 2.6svh, 26px); }
.felder--4 { grid-template-columns: 1.3fr 1fr 1fr 1fr; margin-top: 0; }
.alter { display: grid; gap: 6px; margin-top: 8px; }
.alter__zeile { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.alter__zeile .cap { min-width: 4.5em; }
.chip { min-height: 32px; padding: 0 11px; border: 1px solid var(--line); border-radius: 999px; background: #fff; cursor: pointer; font: 600 12.5px/1 var(--sans); color: var(--ink-2); transition: border-color .2s, background-color .2s, color .2s; }
.chip:hover { border-color: var(--teal); color: var(--teal-d); }
.chip[aria-pressed="true"] { background: var(--teal); border-color: var(--teal); color: #fff; }
.zettel { margin-top: clamp(12px, 2.2svh, 22px); padding: clamp(14px, 2.2svh, 20px) clamp(16px, 2vw, 22px); background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: 0 14px 34px rgba(0, 40, 40, .07); }
.zettel__zeilen { display: grid; gap: 6px; }
.zettel__z { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; font: 400 var(--t-small)/1.35 var(--sans); color: var(--ink-2); }
.zettel__z span:last-child { color: var(--ink); font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.zettel__z--inkl span:last-child { color: var(--ok); display: inline-flex; align-items: center; gap: 4px; }
.zettel__z--inkl svg { width: 15px; height: 15px; }
.zettel__summe { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin-top: 10px; padding-top: 10px; border-top: 1px dashed rgba(20, 20, 20, .25); }
.zettel__summe .cap { color: var(--teal); }
.zettel__preis { font: 700 clamp(2rem, min(3vw, 5svh), 2.7rem)/1 var(--serif); white-space: nowrap; }
.zettel__preis small { font: 500 .5em/1 var(--serif); color: var(--ink-2); margin-right: .15em; }
.zettel__hoch { font: 400 13px/1.35 var(--sans); color: var(--ink-2); text-align: right; }
.zettel__regel { margin-top: 10px; font: 400 13px/1.4 var(--sans); color: var(--teal-d); background: #e8f3f2; border-radius: 2px; padding: 7px 10px; }
.zettel__basis { margin-top: 8px; font: 400 12px/1.45 var(--sans); color: var(--ink-2); }
.rechner .aktion { margin-top: clamp(12px, 2svh, 18px); }
@media (max-width: 899px) {
  .preis { display: flex; flex-direction: column; }
  .preis__text { display: contents; }
  .preis .kopfzeile { order: 1; }
  .preis__bild { order: 2; margin-top: 14px; }
  .rechner { order: 3; margin-top: 14px; }
  .zfenster { height: clamp(96px, 17svh, 260px); box-shadow: 0 0 0 5px #f3ede4, 0 0 0 6px rgba(20, 20, 20, .1); --open: 94deg; perspective: 800px; }
  .preis__bild { margin-top: 10px; }
  .rechner { margin-top: 12px; }
  .felder--4 .feld { min-height: 46px; padding: 4px 8px; }
  .zettel { margin-top: 8px; padding: 10px 12px; }
  .zettel__zeilen { gap: 3px; }
  .zettel__summe { margin-top: 6px; padding-top: 6px; }
  .zettel__preis { font-size: 1.8rem; }
  .zettel__basis { display: none; }
  .zettel__regel { margin-top: 6px; padding: 5px 8px; font-size: 12px; }
  .rechner .aktion { margin-top: 8px; }
  .zfenster__wahl { padding: 22px 8px 8px; }
  .pill { min-height: 34px; padding: 0 12px; font-size: 12.5px; }
  .felder--4 { grid-template-columns: 1fr 1fr; }
  .zettel__z { font-size: 13px; }
  .zettel__basis { font-size: 11.5px; }
}

@media (max-height: 700px) and (max-width: 899px) {
  .zfenster { height: 82px; }
  .felder--4 .feld { min-height: 44px; }
  .zettel__z--inkl { font-size: 12px; }
  .zettel__preis { font-size: 1.65rem; }
}

/* ---------- screen 3: rooms ---------- */
.zimmer { background: var(--snow-2); }
@media (min-width: 900px) { .zimmer { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 4vw, 72px); } }
.fensterreihe--zimmer { margin-top: clamp(16px, 3svh, 30px); max-width: 520px; gap: 12px; }
.fensterreihe--zimmer .fl__name { font-size: 12.5px; }
.zimmer__info { margin-top: clamp(16px, 3svh, 28px); max-width: 520px; }
.zimmer__info h3 { font: 500 var(--h3m)/1.15 var(--serif); }
.zimmer__meta { margin-top: 6px; font: 400 var(--t-body)/1.5 var(--sans); color: var(--ink-2); }
.kit { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.kit li { padding: 5px 10px; border: 1px solid var(--line); border-radius: 999px; font: 500 12.5px/1.2 var(--sans); color: var(--ink-2); background: #fff; }
.zimmer__fuss { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 14px; }
.zimmer__preis { font: 400 var(--t-body)/1.45 var(--sans); }
.zimmer__preis b { font: 700 1.35em/1 var(--serif); color: var(--teal-d); }

.zimmer__bilder { position: relative; height: clamp(320px, var(--scr-h), 780px); }
.zb { position: absolute; overflow: hidden; border-radius: var(--r); background: #ddd; transition: opacity .34s ease-in, transform .34s ease-in; }
.zb img { width: 100%; height: 100%; object-fit: cover; }
.zb--1 { inset: 0 0 18% 0; }
.zb--2 { right: 6%; bottom: 0; width: 42%; height: 36%; box-shadow: 0 0 0 8px var(--snow-2), 0 20px 40px rgba(0, 30, 30, .2); }
.zimmer__bilder.is-weg .zb { opacity: 0; transform: translateY(10px) scale(.985); }
.zimmer__bilder.is-neu .zb { transition: opacity .7s ease-out, transform .9s cubic-bezier(.2, .8, .2, 1); }
@media (max-width: 899px) {
  .zimmer { display: flex; flex-direction: column; }
  .zimmer__text { display: contents; }
  .zimmer .lab { order: 1; } .zimmer .h2 { order: 2; }
  .zimmer__bilder { order: 3; height: clamp(118px, 20svh, 300px); margin-top: 10px; }
  .fensterreihe--zimmer { order: 4; margin-top: 12px; gap: 9px; max-width: none; }
  .zimmer__info { order: 5; margin-top: 10px; }
  .zimmer__info h3 { font-size: 1.35rem; }
  .zimmer__meta { font-size: 13.5px; margin-top: 2px; }
  .zimmer__fuss { flex-wrap: nowrap; margin-top: 10px; gap: 12px; }
  .zimmer__preis { font-size: 13.5px; line-height: 1.35; }
  .zb--1 { inset: 0 30% 0 0; }
  .zb--2 { right: 0; bottom: 0; top: 24%; width: 36%; height: auto; box-shadow: 0 0 0 5px var(--snow-2); }
  .kit { margin-top: 8px; gap: 5px; }
  .kit li { font-size: 11.5px; padding: 3px 8px; }
  .zimmer__fuss .knopf { flex: none; padding: 0 14px; min-height: 44px; font-size: 14px; }
}

/* ---------- screen 4: quick answers ---------- */
@media (min-width: 900px) { .antworten { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 4vw, 72px); } }
.antworten__bild { position: relative; height: clamp(320px, var(--scr-h), 780px); overflow: hidden; border-radius: var(--r); }
.antworten__bild img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
@media (min-width: 900px) { .antworten__bild { height: auto; aspect-ratio: 3 / 2.3; max-height: var(--scr-h); } }
.antworten__bild figcaption, .anreise__bild figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 14px; color: #fff; font: 500 13px/1.4 var(--sans);
  background: linear-gradient(180deg, rgba(0, 30, 30, 0), rgba(0, 30, 30, .72)); }
.fragen { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: clamp(16px, 3svh, 28px); }
.frage { display: flex; align-items: center; min-height: 48px; padding: 8px 14px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; cursor: pointer; text-align: left;
  font: 600 14px/1.3 var(--sans); color: var(--ink); transition: background-color .2s, border-color .2s, color .2s; }
.frage:hover { border-color: var(--teal); }
.frage[aria-selected="true"] { background: var(--teal); border-color: var(--teal); color: #fff; }
.antwort { margin-top: 14px; padding: clamp(16px, 2.4svh, 24px) clamp(18px, 2vw, 26px); background: var(--teal-d); color: #fff; border-radius: var(--r); min-height: 7.4em; }
.antwort p { font: 500 var(--quote)/1.4 var(--serif); }
.antwort .cap { color: var(--sun); margin-bottom: 6px; }
.antwort.is-neu p { animation: antwortIn .5s ease-out both; }
@keyframes antwortIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
html[data-lang="zh"] .antwort p { font-family: var(--sans); font-weight: 500; line-height: 1.6; }
@media (max-width: 899px) {
  .antworten { display: flex; flex-direction: column; }
  .antworten__text { display: contents; }
  .antworten .kopfzeile { order: 1; }
  .antworten__bild { order: 2; height: clamp(96px, 16svh, 240px); margin-top: 10px; }
  .antworten__bild figcaption { padding: 24px 12px 8px; font-size: 12px; }
  .fragen { order: 3; margin-top: 10px; gap: 5px; }
  .antwort { order: 4; margin-top: 8px; min-height: 0; padding: 12px 14px; }
  .antwort .cap { display: none; }
  .frage { min-height: 40px; padding: 4px 10px; font-size: 12.5px; line-height: 1.25; }
}

/* ---------- screen 5: way and contact ---------- */
.anreise { background: var(--snow-2); }
@media (min-width: 900px) { .anreise { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 4vw, 72px); } }
.anreise__bild { position: relative; height: clamp(320px, var(--scr-h), 780px); overflow: hidden; border-radius: var(--r); }
.anreise__bild img { width: 100%; height: 100%; object-fit: cover; object-position: 48% 50%; }
.adresse { margin-top: clamp(14px, 2.6svh, 24px); }
.adresse p { font: 400 var(--t-lead)/1.45 var(--sans); }
.adresse p b { font-weight: 600; }
.adresse__knopf { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.wege { display: grid; gap: clamp(10px, 1.8svh, 16px); margin-top: clamp(18px, 3svh, 30px); }
.wege li { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 12px; align-items: start; }
.wege svg { width: 38px; height: 38px; padding: 8px; border-radius: 50%; background: #fff; color: var(--teal); box-shadow: inset 0 0 0 1px var(--line); }
.wege h3 { font: 600 var(--t-body)/1.3 var(--sans); }
.wege p { font: 400 var(--t-small)/1.45 var(--sans); color: var(--ink-2); margin-top: 2px; }
@media (max-width: 899px) {
  .anreise { display: flex; flex-direction: column; }
  .anreise__text { display: contents; }
  .anreise .lab { order: 1; } .anreise .h2 { order: 2; }
  .anreise__bild { order: 3; height: clamp(104px, 17svh, 260px); margin-top: 10px; }
  .anreise__bild figcaption { padding: 24px 12px 8px; font-size: 12px; }
  .adresse { order: 4; margin-top: 10px; }
  .adresse p { font-size: 14.5px; }
  .adresse__knopf { margin-top: 8px; }
  .wege { order: 5; margin-top: 12px; gap: 8px; }
  .adresse__knopf .knopf { flex: 1 1 0; padding: 0 12px; }
  .wege li { grid-template-columns: 32px minmax(0, 1fr); gap: 10px; }
  .wege svg { width: 32px; height: 32px; padding: 6px; }
  .wege p { font-size: 13px; }
}

/* ---------- footer ---------- */
.fuss { background: var(--teal-d); color: #fff; padding: clamp(36px, 6svh, 64px) var(--gut) 0; }
.fuss__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px; }
.fuss__logo { width: 168px; height: auto; }
.fuss__adr { font: 400 var(--t-small)/1.5 var(--sans); opacity: .9; }
.fuss__links a { font: 600 var(--t-small)/1 var(--sans); text-decoration: none; display: inline-block; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .4); }
@media (max-width: 899px) { .fuss { padding-bottom: calc(70px + env(safe-area-inset-bottom)); } }

/* ---------- ticket (prepared inquiry) ---------- */
.ticket { position: fixed; z-index: 90; inset: 0; display: grid; place-items: center; padding: 20px; background: rgba(0, 24, 24, .55); }
.ticket__karte { position: relative; width: min(540px, 100%); max-height: calc(100svh - 40px); overflow-y: auto; overscroll-behavior: contain; background: #fff; border-radius: 6px;
  box-shadow: 0 30px 80px rgba(0, 20, 20, .45); padding: 22px 24px 20px; animation: ticketIn .45s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes ticketIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.ticket__kopf { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding-right: 36px; }
.ticket__kopf h3 { font: 500 var(--h3s)/1.2 var(--serif); }
.ticket__zu { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--snow-2); cursor: pointer; }
.ticket__zu svg { width: 20px; height: 20px; }
.ticket__zu:hover { background: #e2eceb; }
.ticket__sum { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 14px; align-items: center; margin-top: 14px; padding: 12px; background: var(--snow-2); border-radius: var(--r); }
.ticket__sum img { width: 92px; height: 69px; object-fit: cover; border-radius: 2px; }
.ticket__sum b { display: block; font: 600 15px/1.3 var(--sans); }
.ticket__sum span { display: block; font: 400 13px/1.45 var(--sans); color: var(--ink-2); }
.ticket__sum .ticket__preis { font: 700 1.25rem/1.2 var(--serif); color: var(--teal-d); margin-top: 2px; }
.ticket label { display: block; margin-top: 14px; }
.ticket input, .ticket textarea { display: block; width: 100%; margin-top: 4px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r); font: 400 15px/1.45 var(--sans); color: var(--ink); background: #fff; }
.ticket input:focus, .ticket textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 1px var(--teal); }
.ticket textarea { min-height: 112px; resize: vertical; }
.ticket__engine { margin-top: 14px; padding: 10px 12px; border-left: 3px solid var(--teal-l); background: #eef6f5; border-radius: 0 var(--r) var(--r) 0; }
.ticket__engine .cap { color: var(--teal); }
.ticket__engine p { font: 400 13px/1.45 var(--sans); }
.ticket__engine small { display: block; margin-top: 2px; font: 400 12px/1.4 var(--sans); color: var(--ink-2); }
.ticket__draft { margin-top: 12px; font: 600 13px/1.4 var(--sans); color: var(--teal-d); }
.ticket__basis { margin-top: 4px; font: 400 12px/1.45 var(--sans); color: var(--ink-2); }
.ticket .aktion { margin-top: 12px; }
.ticket__ok { text-align: center; padding: 10px 4px 4px; }
.ticket__ok .ok { width: 56px; height: 56px; margin: 4px auto 12px; display: grid; place-items: center; border-radius: 50%; background: var(--ok); color: #fff; animation: okIn .5s cubic-bezier(.2, 1.4, .4, 1) both; }
.ticket__ok .ok svg { width: 30px; height: 30px; }
@keyframes okIn { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
.ticket__ok h3 { font: 500 var(--h3s)/1.2 var(--serif); }
.ticket__ok p { margin-top: 8px; font: 400 var(--t-small)/1.5 var(--sans); color: var(--ink-2); }
.ticket__ok .knopf { margin-top: 16px; }
@media (max-width: 719px) {
  .ticket { place-items: end stretch; padding: 0; }
  .ticket__karte { width: 100%; max-height: 92svh; border-radius: 12px 12px 0 0; padding: 18px 16px calc(16px + env(safe-area-inset-bottom)); animation-name: sheetIn; }
  @keyframes sheetIn { from { transform: translateY(40%); opacity: 0; } to { transform: none; opacity: 1; } }
  .ticket textarea { min-height: 96px; font-size: 16px; }
  .ticket input { font-size: 16px; }
}

/* ---------- calendar ---------- */
.kal { position: absolute; z-index: 80; width: 304px; padding: 12px; background: #fff; border-radius: 6px; box-shadow: 0 20px 50px rgba(0, 30, 30, .3), 0 0 0 1px var(--line); }
.kal__kopf { display: flex; align-items: center; justify-content: space-between; }
.kal__kopf b { font: 600 15px/1 var(--sans); }
.kal__nav { width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--snow-2); cursor: pointer; }
.kal__nav svg { width: 18px; height: 18px; }
.kal__nav--vor svg { transform: scaleX(-1); }
.kal__nav:disabled { opacity: .3; pointer-events: none; }
.kal__wt, .kal__tage { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; margin-top: 8px; }
.kal__wt span { font: 600 10.5px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); text-align: center; padding: 4px 0; }
.kal__tage button { height: 38px; border: 0; border-radius: 3px; background: none; cursor: pointer; font: 500 14px/1 var(--sans); font-variant-numeric: tabular-nums; color: var(--ink); }
.kal__tage button:hover { background: #e8f3f2; }
.kal__tage button:disabled { color: #b9c2c1; pointer-events: none; }
.kal__tage button.is-bleib { background: #e8f3f2; border-radius: 0; }
.kal__tage button.is-an { background: var(--teal); color: #fff; }
.kal__fuss { margin-top: 8px; font: 400 12px/1.4 var(--sans); color: var(--ink-2); }

/* ---------- Entwurf note + phone dock ---------- */
.note__tab { position: fixed; z-index: 45; left: 0; top: 50%; transform: translateY(-50%); writing-mode: vertical-rl; rotate: 180deg; padding: 14px 7px; border: 0; border-radius: 0 4px 4px 0;
  background: var(--teal-d); color: #fff; font: 600 11px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; cursor: pointer; opacity: .88; }
.note__tab:hover { opacity: 1; }
.note { position: fixed; z-index: 60; left: 16px; bottom: 16px; width: min(380px, calc(100vw - 32px)); padding: 20px 20px 18px; background: #fff; border-radius: 6px; box-shadow: 0 24px 60px rgba(0, 30, 30, .35); }
.note p { font: 400 var(--t-small)/1.5 var(--sans); margin-top: 8px; }
.note .lab + p { margin-top: 6px; }
.note .knopf { margin-top: 14px; }
.note__klein { font-size: 12px !important; color: var(--ink-2); }
.note__zu { position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--snow-2); cursor: pointer; }
.note__zu svg { width: 18px; height: 18px; }
.dock { display: none; }
@media (max-width: 899px) {
  .note__tab { display: none; }
  .dock { position: fixed; z-index: 44; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: minmax(0, 1fr) 48px auto; gap: 8px; align-items: center;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); background: #fff; box-shadow: 0 -1px 0 var(--line), 0 -8px 24px rgba(0, 30, 30, .1);
    transform: translateY(110%); transition: transform .35s; }
  .dock.is-on { transform: none; }
  .dock.is-on.is-end { transform: translateY(110%); }
  .dock__book { min-height: 46px; }
  .dock__call { width: 48px; height: 46px; display: grid; place-items: center; border-radius: var(--r); border: 1.5px solid var(--teal); color: var(--teal); }
  .dock__call svg { width: 20px; height: 20px; }
  .dock__note { min-height: 46px; padding: 0 10px; border: 0; background: none; cursor: pointer; font: 600 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
  .note { bottom: calc(76px + env(safe-area-inset-bottom)); }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* VCSLV credit (templates/credit) */
.vc-credit-row { margin-top: clamp(28px, 4vw, 44px); padding: 14px 0 calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid color-mix(in srgb, currentColor 14%, transparent);
  display: flex; justify-content: center; grid-column: 1 / -1; flex: 0 0 100%; width: 100%; box-sizing: border-box; }
.vc-credit { --vc-dot: #D2664A; display: inline-flex; align-items: center; gap: .7em; min-height: 44px; padding: 0 6px; color: inherit; text-decoration: none; font-size: 12px; line-height: 1; letter-spacing: .04em; opacity: .72; transition: opacity .4s ease; }
.vc-credit--light { --vc-dot: #A8452F; }
.vc-credit__mark { display: block; height: .92em; width: auto; overflow: visible; }
.vc-credit__dot { fill: var(--vc-dot); transform-box: fill-box; transform-origin: center; transition: transform .8s cubic-bezier(.2, .9, .25, 1.35) .15s, filter .4s ease; }
.vc-credit__line { padding-left: .7em; border-left: 1px solid color-mix(in srgb, currentColor 30%, transparent); }
.vc-credit.is-arm .vc-credit__dot { transform: scale(0); }
.vc-credit.is-arm.is-in .vc-credit__dot { transform: scale(1); }
.vc-credit:hover, .vc-credit:focus-visible { opacity: 1; }
.vc-credit:hover .vc-credit__dot, .vc-credit:focus-visible .vc-credit__dot { filter: drop-shadow(0 0 5px color-mix(in srgb, var(--vc-dot) 80%, transparent)); }
.vc-credit:focus-visible { outline: 1px solid currentColor; outline-offset: 4px; border-radius: 4px; }
@media (max-width: 520px) {
  .vc-credit { flex-wrap: wrap; justify-content: center; row-gap: 8px; padding: 10px 6px; }
  .vc-credit__line { flex-basis: 100%; text-align: center; padding-left: 0; border-left: 0; }
}
@media (prefers-reduced-motion: reduce) { .vc-credit.is-arm .vc-credit__dot { transform: none; transition: none; } }
