/* Chalet Fritzbühel – gemeinsame Bausteine (Buchung, Consent, Tracking-Monitor, Galerie, Prototyp-Menü).
   Jede Version setzt nur die --fz-* Variablen; Aufbau und Logik bleiben identisch. */

:root {
  --fz-bg: #ffffff;
  --fz-surface: #ffffff;
  --fz-surface-2: #f3f3f1;
  --fz-ink: #15171a;
  --fz-muted: #6b6f75;
  --fz-line: #dedfdb;
  --fz-accent: #15171a;
  --fz-accent-ink: #ffffff;
  --fz-range: #ecebe6;
  --fz-ok: #2f6b3a;
  --fz-warn: #9a5b00;
  --fz-danger: #a3302a;
  --fz-font: system-ui, sans-serif;
  --fz-font-display: Georgia, serif;
  --fz-radius: 10px;
  --fz-radius-sm: 6px;
  --fz-btn-radius: 999px;
  --fz-shadow: 0 30px 80px -20px rgba(0, 0, 0, .35);
  --fz-backdrop: rgba(10, 12, 14, .45);
  --fz-z: 900;
}

/* Lenis (Smooth Scroll) */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

.fz-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; }
.fz-tab { font-variant-numeric: tabular-nums; }

/* ---------- Buttons (gemeinsam) ---------- */
.fz-btn {
  appearance: none; border: 0; cursor: pointer; font: inherit; font-weight: 600;
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: 0 1.4em; border-radius: var(--fz-btn-radius);
  background: var(--fz-accent); color: var(--fz-accent-ink);
  transition: transform .2s ease, opacity .2s ease, background-color .2s ease;
}
.fz-btn:hover { transform: translateY(-1px); }
.fz-btn:active { transform: translateY(0); }
.fz-btn[disabled] { opacity: .35; cursor: not-allowed; transform: none; }
.fz-btn:focus-visible, .fz-link:focus-visible, .fz-day:focus-visible, .fz-chip:focus-visible, .fz-step-btn:focus-visible,
.fz-panel input:focus-visible, .fz-panel select:focus-visible, .fz-panel textarea:focus-visible, .fz-iconbtn:focus-visible {
  outline: 2px solid var(--fz-accent); outline-offset: 2px;
}
.fz-btn--ghost { background: transparent; color: var(--fz-ink); box-shadow: inset 0 0 0 1px var(--fz-line); }
.fz-btn--block { width: 100%; }
.fz-link { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.fz-iconbtn { appearance: none; border: 0; background: transparent; color: inherit; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; font-size: 20px; line-height: 1; }
.fz-iconbtn:hover { background: var(--fz-surface-2); }

/* ---------- Buchungs-Panel ---------- */
.fz-booking { position: fixed; inset: 0; z-index: var(--fz-z); display: block; }
.fz-booking[hidden] { display: none !important; }
.fz-backdrop { position: absolute; inset: 0; background: var(--fz-backdrop); opacity: 0; transition: opacity .35s ease; }
.fz-booking.is-open .fz-backdrop { opacity: 1; }
.fz-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(540px, 100%);
  background: var(--fz-surface); color: var(--fz-ink); font-family: var(--fz-font);
  display: grid; grid-template-rows: auto 1fr auto; box-shadow: var(--fz-shadow);
  transform: translateX(104%); transition: transform .5s cubic-bezier(.2, .8, .2, 1);
  padding-top: env(safe-area-inset-top, 0px);
}
.fz-booking.is-open .fz-panel { transform: none; }
@media (max-width: 640px) {
  .fz-panel { width: 100%; transform: translateY(104%); }
}
.fz-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px max(16px, env(safe-area-inset-right, 0px)) 12px 20px; border-bottom: 1px solid var(--fz-line); }
.fz-steps { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; font-size: 13px; color: var(--fz-muted); flex-wrap: wrap; }
.fz-steps li { display: flex; align-items: center; gap: 6px; }
.fz-steps li + li::before { content: ""; width: 14px; height: 1px; background: var(--fz-line); margin-right: 2px; }
.fz-steps .n { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 700; box-shadow: inset 0 0 0 1px var(--fz-line); }
.fz-steps li.is-on { color: var(--fz-ink); font-weight: 600; }
.fz-steps li.is-on .n { background: var(--fz-accent); color: var(--fz-accent-ink); box-shadow: none; }
.fz-steps li.is-done .n { background: var(--fz-range); box-shadow: none; }

.fz-body { overflow-y: auto; overscroll-behavior: contain; padding: 20px max(16px, env(safe-area-inset-right, 0px)) 28px 20px; -webkit-overflow-scrolling: touch; }
.fz-step[hidden] { display: none !important; }
.fz-step { animation: fzIn .45s cubic-bezier(.2, .8, .2, 1); }
@keyframes fzIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.fz-h { font-family: var(--fz-font-display); font-weight: 400; font-size: clamp(26px, 4vw, 32px); line-height: 1.1; margin: 0 0 6px; text-wrap: balance; }
.fz-sub { color: var(--fz-muted); font-size: 14px; margin: 0 0 18px; line-height: 1.5; }
.fz-label { font-size: 13px; font-weight: 600; margin: 22px 0 10px; display: block; }

/* Monats-Chips */
.fz-months { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 10px; margin: 0 -2px; scrollbar-width: thin; }
.fz-chip {
  appearance: none; border: 0; cursor: pointer; font: inherit; flex: 0 0 auto;
  display: grid; gap: 1px; text-align: left; padding: 8px 12px; border-radius: var(--fz-radius-sm);
  background: var(--fz-surface-2); color: var(--fz-ink); font-size: 13px; line-height: 1.2;
}
.fz-chip small { color: var(--fz-muted); font-size: 11.5px; }
.fz-chip.is-on { background: var(--fz-accent); color: var(--fz-accent-ink); }
.fz-chip.is-on small { color: inherit; opacity: .8; }
.fz-chip.is-full small { text-decoration: line-through; }

/* Kalender */
.fz-cal { margin-top: 6px; }
.fz-cal-nav { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.fz-cal-title { font-weight: 600; font-size: 15px; }
.fz-cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 3px; }
.fz-dow { font-size: 11px; color: var(--fz-muted); text-align: center; padding: 4px 0; }
.fz-day {
  appearance: none; border: 0; font: inherit; cursor: pointer; position: relative;
  min-height: 52px; border-radius: var(--fz-radius-sm); background: transparent; color: var(--fz-ink);
  display: grid; align-content: center; justify-items: center; gap: 2px; padding: 4px 0;
  transition: background-color .15s ease, color .15s ease;
}
.fz-day .d { font-size: 14px; font-weight: 600; line-height: 1; }
.fz-day .p { font-size: 10.5px; color: var(--fz-muted); line-height: 1; font-variant-numeric: tabular-nums; }
.fz-day:hover:not([disabled]) { background: var(--fz-surface-2); }
.fz-day.is-empty { visibility: hidden; pointer-events: none; }
.fz-day[disabled] { cursor: default; }
.fz-day.is-past .d, .fz-day.is-out .d { opacity: .28; }
.fz-day.is-past .p, .fz-day.is-out .p { opacity: 0; }
.fz-day.is-booked .d { opacity: .38; text-decoration: line-through; text-decoration-thickness: 1px; }
.fz-day.is-booked .p { opacity: 0; }
.fz-day.is-booked { background-image: repeating-linear-gradient(135deg, transparent 0 5px, color-mix(in srgb, var(--fz-ink) 7%, transparent) 5px 6px); }
.fz-day.is-noarr .d { opacity: .55; }
.fz-day.is-noarr .p { opacity: .55; }
.fz-day.is-dep { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--fz-accent) 55%, transparent); }
.fz-day.is-range { background: var(--fz-range); border-radius: 0; }
.fz-day.is-start, .fz-day.is-end { background: var(--fz-accent); color: var(--fz-accent-ink); }
.fz-day.is-start .p, .fz-day.is-end .p { color: inherit; opacity: .8; }
.fz-day.is-today::after { content: ""; position: absolute; bottom: 5px; width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: .6; }
.fz-cal-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 12px; color: var(--fz-muted); margin-top: 10px; }
.fz-cal-legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; vertical-align: -2px; margin-right: 6px; }
.fz-cal-legend .lg-free { box-shadow: inset 0 0 0 1px var(--fz-line); }
.fz-cal-legend .lg-booked { background: repeating-linear-gradient(135deg, transparent 0 3px, color-mix(in srgb, var(--fz-ink) 25%, transparent) 3px 4px); }
.fz-cal-legend .lg-sel { background: var(--fz-accent); }

.fz-hint { margin-top: 12px; font-size: 13.5px; line-height: 1.45; padding: 10px 12px; border-radius: var(--fz-radius-sm); background: var(--fz-surface-2); }
.fz-hint[hidden] { display: none; }
.fz-hint.is-warn { background: color-mix(in srgb, var(--fz-warn) 12%, var(--fz-surface)); }
.fz-hint .fz-link { margin-left: 4px; }
.fz-sel-line { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 12px; margin-top: 14px; font-size: 14px; }
.fz-sel-line b { font-weight: 600; }
.fz-sel-line .fz-link { font-size: 13px; color: var(--fz-muted); }

/* Gäste */
.fz-guests { display: grid; gap: 4px; }
.fz-guest { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--fz-line); }
.fz-guest:last-child { border-bottom: 0; }
.fz-guest .t { display: grid; gap: 2px; font-size: 14.5px; }
.fz-guest .t small { color: var(--fz-muted); font-size: 12.5px; }
.fz-stepper { display: flex; align-items: center; gap: 12px; }
.fz-step-btn { appearance: none; width: 36px; height: 36px; border-radius: 50%; border: 0; box-shadow: inset 0 0 0 1px var(--fz-line); background: transparent; color: var(--fz-ink); font-size: 18px; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.fz-step-btn[disabled] { opacity: .3; cursor: not-allowed; }
.fz-stepper output { min-width: 18px; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }

/* Preisaufstellung */
.fz-bill { margin-top: 18px; border-top: 1px solid var(--fz-line); padding-top: 12px; display: grid; gap: 8px; font-size: 14px; }
.fz-bill[hidden] { display: none; }
.fz-row { display: flex; justify-content: space-between; gap: 16px; }
.fz-row span:last-child { font-variant-numeric: tabular-nums; white-space: nowrap; }
.fz-row.is-minus span:last-child { color: var(--fz-ok); }
.fz-row.is-total { font-weight: 700; font-size: 16px; padding-top: 8px; border-top: 1px solid var(--fz-line); margin-top: 4px; }
.fz-row.is-small { font-size: 13px; color: var(--fz-muted); }
.fz-save { margin-top: 6px; font-size: 13px; line-height: 1.45; padding: 10px 12px; border-radius: var(--fz-radius-sm); background: color-mix(in srgb, var(--fz-ok) 9%, var(--fz-surface)); color: var(--fz-ink); }
.fz-save b { color: var(--fz-ok); }
.fz-perks { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 8px; font-size: 13px; color: var(--fz-muted); }
.fz-perks li { display: flex; gap: 10px; align-items: baseline; }
.fz-perks li::before { content: ""; flex: 0 0 auto; width: 6px; height: 6px; border-radius: 50%; background: var(--fz-accent); transform: translateY(-2px); }

/* Formular */
.fz-form { display: grid; gap: 14px; }
.fz-field { display: grid; gap: 6px; }
.fz-field label { font-size: 13px; font-weight: 600; }
.fz-field label small { font-weight: 400; color: var(--fz-muted); }
.fz-two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 420px) { .fz-two { grid-template-columns: 1fr; } }
.fz-panel input[type="text"], .fz-panel input[type="email"], .fz-panel input[type="tel"], .fz-panel select, .fz-panel textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--fz-ink); background: var(--fz-surface);
  border: 1px solid var(--fz-line); border-radius: var(--fz-radius-sm); padding: 12px 12px; min-height: 48px;
}
.fz-panel textarea { min-height: 86px; resize: vertical; }
.fz-field.is-bad input, .fz-field.is-bad select { border-color: var(--fz-danger); }
.fz-err { font-size: 12.5px; color: var(--fz-danger); min-height: 0; }
.fz-check { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; line-height: 1.45; }
.fz-check input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--fz-accent); flex: 0 0 auto; }
.fz-check.is-bad { color: var(--fz-danger); }
.fz-note { font-size: 12.5px; color: var(--fz-muted); line-height: 1.5; }

/* Zahlung (Stripe-Attrappe) */
.fz-pay { border: 1px solid var(--fz-line); border-radius: var(--fz-radius); padding: 14px; display: grid; gap: 12px; }
.fz-pay-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.fz-pay-tab { appearance: none; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; padding: 12px 8px; border-radius: var(--fz-radius-sm); border: 1px solid var(--fz-line); background: var(--fz-surface); color: var(--fz-ink); }
.fz-pay-tab.is-on { border-color: var(--fz-accent); box-shadow: inset 0 0 0 1px var(--fz-accent); }
.fz-pay-mock { display: grid; gap: 8px; }
.fz-pay-line { border: 1px solid var(--fz-line); border-radius: var(--fz-radius-sm); padding: 12px; font-size: 15px; color: var(--fz-muted); font-variant-numeric: tabular-nums; background: var(--fz-surface-2); }
.fz-demo { font-size: 12px; padding: 8px 10px; border-radius: var(--fz-radius-sm); background: var(--fz-surface-2); color: var(--fz-muted); }
.fz-due { display: grid; gap: 6px; margin-top: 4px; }
.fz-spin { width: 18px; height: 18px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: fzSpin .8s linear infinite; }
@keyframes fzSpin { to { transform: rotate(360deg); } }

/* Bestätigung */
.fz-done-mark { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--fz-accent); color: var(--fz-accent-ink); font-size: 26px; margin-bottom: 14px; }
.fz-next { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 12px; counter-reset: n; }
.fz-next li { display: grid; grid-template-columns: 28px 1fr; gap: 10px; font-size: 14px; line-height: 1.45; counter-increment: n; }
.fz-next li::before { content: counter(n); width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; box-shadow: inset 0 0 0 1px var(--fz-line); }

/* Fuß des Panels */
.fz-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px max(16px, env(safe-area-inset-right, 0px)) calc(14px + env(safe-area-inset-bottom, 0px)) 20px; border-top: 1px solid var(--fz-line); background: var(--fz-surface); }
.fz-foot-sum { display: grid; gap: 2px; min-width: 0; }
.fz-foot-sum b { font-size: 18px; font-variant-numeric: tabular-nums; }
.fz-foot-sum small { font-size: 12.5px; color: var(--fz-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fz-foot .fz-back { font-size: 14px; color: var(--fz-muted); }

/* ---------- Sticky-Leiste mobil ---------- */
.fz-sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: calc(var(--fz-z) - 10);
  display: none; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px max(16px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
  background: var(--fz-surface); color: var(--fz-ink); font-family: var(--fz-font);
  box-shadow: 0 -10px 30px -12px rgba(0, 0, 0, .25); border-top: 1px solid var(--fz-line);
  transform: translateY(110%); transition: transform .4s cubic-bezier(.2, .8, .2, 1);
}
.fz-sticky.is-on { transform: none; }
.fz-sticky .t { display: grid; gap: 1px; min-width: 0; font-size: 13px; }
.fz-sticky .t b { font-size: 16px; font-variant-numeric: tabular-nums; }
.fz-sticky .t small { color: var(--fz-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fz-sticky .fz-btn { min-height: 46px; padding: 0 1.2em; white-space: nowrap; }
@media (max-width: 899px) { .fz-sticky { display: flex; } }

/* ---------- Consent ---------- */
.fz-consent {
  position: fixed; z-index: calc(var(--fz-z) + 20); left: max(16px, env(safe-area-inset-left, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  width: min(420px, calc(100% - 32px)); background: var(--fz-surface); color: var(--fz-ink); font-family: var(--fz-font);
  border-radius: var(--fz-radius); box-shadow: var(--fz-shadow); padding: 18px 18px 16px; font-size: 13.5px; line-height: 1.5;
  border: 1px solid var(--fz-line);
}
.fz-consent[hidden] { display: none; }
.fz-consent h2 { font-size: 15px; margin: 0 0 6px; font-family: var(--fz-font); }
.fz-consent p { margin: 0 0 12px; color: var(--fz-muted); }
.fz-consent .row { display: flex; flex-wrap: wrap; gap: 8px; }
.fz-consent .fz-btn { min-height: 42px; font-size: 14px; flex: 1 1 auto; }
.fz-consent .opts { display: grid; gap: 8px; margin: 4px 0 12px; }
.fz-consent .opts[hidden] { display: none; }

/* ---------- Galerie ---------- */
.fz-gal { position: fixed; inset: 0; z-index: calc(var(--fz-z) + 30); background: rgba(8, 9, 10, .96); color: #f2f1ee; display: grid; grid-template-rows: auto 1fr auto; font-family: var(--fz-font); }
.fz-gal[hidden] { display: none; }
.fz-gal-top { display: flex; justify-content: space-between; align-items: center; padding: calc(10px + env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) 10px max(16px, env(safe-area-inset-left, 0px)); font-size: 13px; }
.fz-gal-top .fz-iconbtn:hover { background: rgba(255, 255, 255, .1); }
.fz-gal-stage { position: relative; display: grid; place-items: center; min-height: 0; padding: 0 max(16px, env(safe-area-inset-right, 0px)) 0 max(16px, env(safe-area-inset-left, 0px)); }
.fz-gal-stage img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 4px; user-select: none; }
.fz-gal-prev, .fz-gal-next { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; font-size: 22px; cursor: pointer; }
.fz-gal-prev { left: max(16px, env(safe-area-inset-left, 0px)); }
.fz-gal-next { right: max(16px, env(safe-area-inset-right, 0px)); }
.fz-gal-cap { padding: 12px max(16px, env(safe-area-inset-right, 0px)) calc(16px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); text-align: center; font-size: 14px; color: #c9c7c1; }
@media (max-width: 640px) { .fz-gal-prev, .fz-gal-next { display: none; } }

/* ---------- Prototyp-Menü (nicht Teil der späteren Website) ---------- */
.fz-proto { position: fixed; z-index: calc(var(--fz-z) + 40); left: max(14px, env(safe-area-inset-left, 0px)); bottom: calc(14px + env(safe-area-inset-bottom, 0px)); font: 500 13px/1.2 system-ui, -apple-system, "Segoe UI", sans-serif; color: #f4f4f2; }
.fz-proto-btn { appearance: none; border: 0; cursor: pointer; height: 40px; padding: 0 14px 0 12px; border-radius: 999px; background: rgba(20, 22, 26, .86); color: #f4f4f2; font: inherit; display: inline-flex; align-items: center; gap: 8px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 8px 24px rgba(0, 0, 0, .25); }
.fz-proto { display: flex; align-items: center; gap: 8px; transition: opacity .25s; }
/* Solange der Cookie-Hinweis offen ist, tritt die Vorschau-Leiste zurück (beide sitzen unten links) */
body:has(> .fz-consent) .fz-proto { opacity: 0; pointer-events: none; }
.fz-proto-looks { display: inline-flex; align-items: center; gap: 2px; height: 40px; padding: 4px; border-radius: 999px; background: rgba(20, 22, 26, .86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 8px 24px rgba(0, 0, 0, .25); }
.fz-proto-looks button { appearance: none; border: 0; height: 100%; padding: 0 12px; border-radius: 999px; background: transparent; color: #f4f4f2; font: inherit; cursor: pointer; }
.fz-proto-looks button:hover { background: rgba(255, 255, 255, .1); }
.fz-proto-looks button[aria-pressed="true"] { background: #f4f4f2; color: #15171a; }
.fz-proto-btn .dot { width: 8px; height: 8px; border-radius: 50%; background: #7bd389; box-shadow: 0 0 0 3px rgba(123, 211, 137, .25); }
.fz-proto-menu { position: absolute; left: 0; bottom: 48px; width: 250px; padding: 8px; border-radius: 14px; background: rgba(20, 22, 26, .94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 16px 40px rgba(0, 0, 0, .35); display: grid; gap: 2px; }
.fz-proto-menu[hidden] { display: none; }
.fz-proto-menu a, .fz-proto-menu button { appearance: none; border: 0; background: transparent; color: inherit; font: inherit; text-align: left; text-decoration: none; padding: 10px 10px; border-radius: 8px; cursor: pointer; display: flex; justify-content: space-between; gap: 8px; }
.fz-proto-menu a:hover, .fz-proto-menu button:hover { background: rgba(255, 255, 255, .08); }
.fz-proto-menu a[aria-current="page"] { background: rgba(255, 255, 255, .12); }
.fz-proto-menu small { color: #a9abb0; font-size: 12px; }
.fz-proto-menu hr { border: 0; height: 1px; background: rgba(255, 255, 255, .1); margin: 4px 6px; }
.fz-proto-menu .meta { padding: 6px 10px 4px; color: #a9abb0; font-size: 11.5px; line-height: 1.4; }
@media (max-width: 899px) {
  .fz-proto { left: auto; right: max(10px, env(safe-area-inset-right, 0px)); bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
  .fz-proto-btn { height: 34px; padding: 0 11px 0 10px; font-size: 12px; }
  .fz-proto-looks { height: 34px; padding: 3px; font-size: 12px; }
  .fz-proto-looks button { padding: 0 10px; }
  .fz-proto-menu { left: auto; right: 0; bottom: 42px; }
  .fz-proto { transition: opacity .3s ease; }
  .fz-hero-in .fz-proto { opacity: 0; pointer-events: none; }
}

/* ---------- Tracking-Monitor (Demo) ---------- */
.fz-mon { position: fixed; z-index: calc(var(--fz-z) + 35); right: max(14px, env(safe-area-inset-right, 0px)); top: calc(14px + env(safe-area-inset-top, 0px)); bottom: calc(14px + env(safe-area-inset-bottom, 0px)); width: min(380px, calc(100% - 28px)); background: rgba(16, 18, 21, .95); color: #e9e9e6; border-radius: 16px; box-shadow: 0 20px 60px rgba(0, 0, 0, .4); display: grid; grid-template-rows: auto auto 1fr; font: 13px/1.45 ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; overflow: hidden; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.fz-mon[hidden] { display: none; }
.fz-mon-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 14px 8px 16px; }
.fz-mon-head b { font-size: 14px; }
.fz-mon-head .fz-iconbtn { color: #e9e9e6; }
.fz-mon-head .fz-iconbtn:hover { background: rgba(255, 255, 255, .08); }
.fz-mon-sub { padding: 0 16px 12px; color: #a8aab0; font-size: 12px; border-bottom: 1px solid rgba(255, 255, 255, .08); display: grid; gap: 6px; }
.fz-mon-sub .pills { display: flex; flex-wrap: wrap; gap: 6px; }
.fz-mon-sub .pill { padding: 3px 8px; border-radius: 999px; background: rgba(255, 255, 255, .08); color: #d9dade; font-size: 11.5px; }
.fz-mon-sub .pill.on { background: rgba(123, 211, 137, .18); color: #9fe0aa; }
.fz-mon-sub .pill.off { background: rgba(240, 120, 110, .16); color: #f3a59c; }
.fz-mon-list { overflow-y: auto; padding: 8px 10px 14px; display: grid; align-content: start; gap: 8px; overscroll-behavior: contain; }
.fz-mon-item { background: rgba(255, 255, 255, .05); border-radius: 10px; padding: 10px 12px; display: grid; gap: 6px; animation: fzIn .35s ease; }
.fz-mon-item .top { display: flex; justify-content: space-between; gap: 8px; }
.fz-mon-item .ev { font-weight: 700; color: #fff; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12.5px; }
.fz-mon-item .tm { color: #8d9096; font-size: 11.5px; font-variant-numeric: tabular-nums; }
.fz-mon-item .kv { color: #b9bbc1; font-size: 12px; word-break: break-word; }
.fz-mon-item .dest { display: flex; flex-wrap: wrap; gap: 5px; }
.fz-mon-empty { color: #8d9096; padding: 12px 6px; font-size: 12.5px; }

/* ---------- Overlays: Film und 3D-Rundgang ---------- */
.fz-ov { position: fixed; inset: 0; z-index: calc(var(--fz-z) + 25); background: rgba(7, 8, 10, .96); color: #f2f1ee; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; font-family: var(--fz-font); animation: fzFade .35s ease; }
.fz-ov[hidden] { display: none; }
@keyframes fzFade { from { opacity: 0; } to { opacity: 1; } }
.fz-ov-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: calc(12px + env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) 12px max(16px, env(safe-area-inset-left, 0px)); }
.fz-ov-t { display: grid; gap: 2px; min-width: 0; }
.fz-ov-t b { font-size: 15px; font-weight: 600; }
.fz-ov-t small { font-size: 12.5px; color: #a9aaae; }
.fz-ov .fz-iconbtn { color: #f2f1ee; background: rgba(255, 255, 255, .1); }
.fz-ov .fz-iconbtn:hover { background: rgba(255, 255, 255, .18); }
.fz-ov-stage { position: relative; display: grid; place-items: center; min-height: 0; padding: 0 max(16px, env(safe-area-inset-right, 0px)) 0 max(16px, env(safe-area-inset-left, 0px)); }
.fz-ov-stage video { width: min(100%, 1280px, calc((100svh - 190px) * 16 / 9)); aspect-ratio: 16 / 9; max-width: 100%; background: #000; border-radius: 4px; }
.fz-ov-load { position: absolute; inset: 0; display: flex; gap: 10px; align-items: center; justify-content: center; font-size: 13px; color: #d8d7d2; pointer-events: none; }
.fz-ov-load[hidden] { display: none; }
.fz-ov-foot { display: flex; justify-content: center; padding: 14px max(16px, env(safe-area-inset-right, 0px)) calc(18px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); }
.fz-ov .fz-btn { background: var(--fz-ov-accent, #f2f1ee); color: var(--fz-ov-accent-ink, #121316); }
.fz-ov .fz-btn--ghost { background: transparent; color: #f2f1ee; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); }
.fz-tour { grid-template-rows: auto minmax(0, 1fr); }
.fz-tour-stage { padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
.fz-tour-stage iframe { width: 100%; height: 100%; border: 0; border-radius: 4px; background: #000; }
.fz-tour-demo { width: 100%; height: 100%; border-radius: 4px; overflow: hidden; display: grid; place-items: center; padding: 24px 16px;
  background: linear-gradient(rgba(7, 8, 10, .55), rgba(7, 8, 10, .8)), url("img/wohnen-dachstuhl-1200.webp") center / cover no-repeat; }
.fz-tour-card { max-width: 520px; display: grid; gap: 14px; justify-items: start; padding: 26px; border-radius: 6px; background: rgba(14, 15, 18, .72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, .12); }
.fz-tour-card h2 { margin: 0; font-family: var(--fz-font-display); font-weight: 400; font-size: clamp(28px, 4vw, 40px); line-height: 1.05; }
.fz-tour-card p { margin: 0; color: #d6d5d0; font-size: 15px; line-height: 1.55; }
.fz-tour-card .fz-demo { background: rgba(255, 255, 255, .08); color: #c5c4bf; font-size: 12.5px; }
.fz-tour-card .row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.fz-tour-icon { width: 46px; height: 46px; position: relative; }
.fz-tour-icon::before, .fz-tour-icon::after { content: ""; position: absolute; inset: 6px; border: 1.5px solid currentColor; transform: skewY(-12deg); border-radius: 2px; }
.fz-tour-icon::after { inset: 12px 0 0 12px; opacity: .55; }

/* ---------- Video-Schalter (Pause/Play) ---------- */
.fz-vbtn { appearance: none; border: 1px solid currentColor; background: transparent; color: inherit; width: 28px; height: 28px; border-radius: 50%; display: inline-grid; place-items: center; cursor: pointer; padding: 0; opacity: .85; flex: 0 0 auto; }
.fz-vbtn:hover { opacity: 1; }
.fz-vbtn::before { content: ""; width: 8px; height: 10px; border-left: 2.5px solid currentColor; border-right: 2.5px solid currentColor; box-sizing: border-box; }
.fz-vbtn.is-paused::before { width: 0; height: 0; border-style: solid; border-width: 5.5px 0 5.5px 9px; border-color: transparent transparent transparent currentColor; margin-left: 3px; }

/* ---------- Laufband ---------- */
.fz-mq { overflow: hidden; position: relative; }
.fz-mq [data-mq-track] { display: flex; width: max-content; will-change: transform; }
.fz-mq-set { display: flex; align-items: center; flex: 0 0 auto; }

/* ---------- Cursor-Label (nur Maus) ---------- */
.fz-cursor { position: fixed; left: 0; top: 0; z-index: calc(var(--fz-z) + 20); pointer-events: none; width: 0; height: 0; }
.fz-cursor span { position: absolute; left: 0; top: 0; width: 96px; height: 96px; margin: -48px 0 0 -48px; border-radius: 50%; display: grid; place-items: center; text-align: center; padding: 10px;
  background: var(--fz-cursor-bg, var(--fz-accent)); color: var(--fz-cursor-ink, var(--fz-accent-ink)); font: 600 12.5px/1.15 var(--fz-font); letter-spacing: .01em;
  transform: scale(0); transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
.fz-cursor.is-on span { transform: scale(1); }

/* ---------- Häufige Fragen ---------- */
.fz-faq { border-top: 1px solid var(--fz-line); }
.fz-faq:last-child { border-bottom: 1px solid var(--fz-line); }
.fz-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 20px 0; font-weight: 600; }
.fz-faq summary::-webkit-details-marker { display: none; }
.fz-faq summary::after { content: "+"; font-weight: 300; font-size: 1.4em; line-height: 1; transition: transform .25s ease; flex: 0 0 auto; }
.fz-faq[open] summary::after { transform: rotate(45deg); }
.fz-faq summary:focus-visible { outline: 2px solid var(--fz-accent); outline-offset: 4px; }
.fz-faq-a p { margin: 0 0 22px; max-width: 62ch; color: var(--fz-muted); line-height: 1.6; }

@media (prefers-reduced-motion: reduce) {
  .fz-panel, .fz-backdrop, .fz-sticky { transition: none; }
  .fz-step, .fz-mon-item, .fz-ov { animation: none; }
}
