/* ==========================================================
   Design-Tokens – "Ausstellung"
   Helle Galeriewand, gerahmte Werke, Werkschilder.
   ========================================================== */
:root {
  --wall: #E7E6E2;
  --wall-light: #F1F0ED;
  --panel: #F7F7F5;
  --ink: #1B1B1A;
  --muted: #64635E;
  --line: #CFCDC7;
  --frame: #20201F;
  --mat: #FBFBFA;
  --dot: #D2262B;
  --error: #B3261E;
  --success: #2F6B3F;

  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;

  --fs-sm: 0.875rem;
  --fs-base: 1.0625rem;
  --fs-md: 1.25rem;
  --fs-lg: clamp(1.6rem, 1.25rem + 1.3vw, 2.25rem);

  --container: 1320px;
  --gutter: clamp(16px, 4vw, 48px);
  --section-y: clamp(72px, 10vw, 136px);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 72px; }

body {
  margin: 0;
  background: var(--wall);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--fs-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
h1, h2, h3 { margin: 0; line-height: 1.1; font-weight: 600; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; }

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 16px; top: -60px;
  background: var(--ink);
  color: var(--wall);
  padding: 10px 16px;
  z-index: 100;
}
.skip-link:focus { top: 16px; }

/* Roter Punkt */
.dot {
  display: inline-block;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--dot);
  flex: none;
}

/* ==========================================================
   Buttons
   ========================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 26px;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--ink);
  color: var(--wall-light);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s, color .2s;
}
.btn:hover { background: transparent; color: var(--ink); }

/* ==========================================================
   Header
   ========================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--wall);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  text-decoration: none;
}
.logo-mark {
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--dot);
}

.site-nav { margin-left: auto; }
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 28px;
}

/* Musik-Schalter: Symbol zeigt den Zustand (Wellen = an, Kreuz = aus) */
.sound-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 6px 12px 6px 9px;
  border: 1px solid var(--line);
  background: transparent;
  color: inherit;
  font-size: .9375rem;
  cursor: pointer;
  transition: border-color .2s;
}
.sound-toggle:hover { border-color: currentColor; }
.sound-icon { width: 20px; height: 20px; flex: none; }
.sound-toggle[aria-pressed="false"] .sound-waves,
.sound-toggle[aria-pressed="true"] .sound-off { display: none; }
.tour-outside .sound-toggle { border-color: rgba(241, 240, 237, .4); }

.site-nav ul {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0; padding: 0;
}
.site-nav a {
  text-decoration: none;
  color: var(--muted);
  transition: color .2s;
}
.site-nav a:hover,
.site-nav a.is-current { color: var(--ink); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  background: none;
  border: 1px solid var(--line);
  cursor: pointer;
  position: relative;
}
.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  position: absolute;
  left: 50%;
  width: 18px; height: 2px;
  margin-left: -9px;
  background: var(--ink);
  transition: transform .25s;
}
.nav-toggle-bar { top: 50%; margin-top: -1px; }
.nav-toggle-bar::before, .nav-toggle-bar::after { content: ""; left: 0; margin-left: 0; }
.nav-toggle-bar::before { top: -6px; }
.nav-toggle-bar::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateY(-6px) rotate(-45deg); }

/* ==========================================================
   Eingang / Titelwand
   ========================================================== */
.entrance {
  padding-block: clamp(56px, 9vw, 120px) clamp(64px, 9vw, 120px);
}
.entrance-artist {
  font-size: var(--fs-md);
  font-weight: 600;
}
.entrance-title {
  margin-top: 8px;
  font-size: clamp(3.2rem, 0.6rem + 11.5vw, 11.5rem);
  font-weight: 800;
  font-stretch: 125%;
  font-variation-settings: "wdth" 125;
  line-height: .92;
  letter-spacing: -0.035em;
}
.entrance-sub {
  margin-top: 20px;
  font-size: var(--fs-md);
  color: var(--muted);
}

.entrance-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 7vw, 120px);
  margin-top: clamp(56px, 8vw, 104px);
  padding-top: 32px;
  border-top: 1px solid var(--ink);
}
.wall-text {
  max-width: 44ch;
  font-size: var(--fs-md);
  line-height: 1.55;
}

.room-plan ol { list-style: none; margin: 0; padding: 0; }
.room-plan a {
  display: grid;
  grid-template-columns: 2.25rem 1fr auto;
  align-items: baseline;
  gap: 12px;
  padding-block: 12px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}
.room-plan li:first-child a { padding-top: 0; }
.rp-num { color: var(--muted); font-variant-numeric: tabular-nums; }
.rp-title { font-weight: 600; font-size: var(--fs-md); }
.rp-kind { color: var(--muted); font-size: var(--fs-sm); }
.room-plan a:hover .rp-title { text-decoration: underline; text-underline-offset: 4px; }

/* ==========================================================
   Werke
   ========================================================== */
.work {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 17rem;
  align-items: end;
  gap: clamp(32px, 4vw, 64px);
  max-width: var(--container);
  margin-inline: auto;
  padding: clamp(72px, 9vw, 140px) var(--gutter);
}
/* Deckenstrahler: heller Lichtkegel auf der Wand über jedem Werk */
.work::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 45% 42% at 45% 45%, rgba(255, 255, 255, .5), transparent 100%);
  pointer-events: none;
  z-index: -1;
}

.work-art {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3.5vw, 56px);
}
.work:nth-child(even) .work-art { flex-direction: row-reverse; }

/* Bilderrahmen mit Passepartout */
.frame {
  display: block;
  padding: clamp(10px, 2.2vw, 30px);
  border: clamp(6px, .7vw, 10px) solid var(--frame);
  background: var(--mat);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, .6) inset,
    0 24px 30px -22px rgba(0, 0, 0, .45),
    0 4px 8px -4px rgba(0, 0, 0, .2);
  cursor: zoom-in;
}
.frame img {
  width: 100%;
  height: auto;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .12);
}
button.frame { appearance: none; border-radius: 0; text-align: left; }
button.frame:focus-visible { outline-offset: 6px; }

.frame-desktop { flex: 1 1 0; min-width: 0; }
.frame-phone { flex: 0 0 22%; }

/* Werkschild */
.label { font-size: var(--fs-sm); line-height: 1.5; }
.label-num {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.label-title {
  margin-top: 6px;
  font-size: var(--fs-lg);
  font-weight: 700;
  letter-spacing: -0.015em;
}
.label-facts { margin-top: 12px; color: var(--muted); }
.label-text { margin-top: 16px; max-width: 34ch; }
.label-link {
  margin-top: 18px;
  padding: 0;
  border: 0;
  background: none;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}
.label-link:hover { text-decoration-thickness: 2px; }

.dot-legend {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding-bottom: clamp(56px, 7vw, 96px);
  color: var(--muted);
  font-size: var(--fs-sm);
}

/* ==========================================================
   Sektionen
   ========================================================== */
.section { padding-block: var(--section-y); }
.section-panel { background: var(--panel); }

.section-head h2 { font-size: var(--fs-lg); font-weight: 700; letter-spacing: -0.015em; }
.section-head p { margin-top: 14px; max-width: 42ch; color: var(--muted); }

.split {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}

/* Leistungen */
.services { margin: 0; }
.service {
  padding-block: 24px;
  border-top: 1px solid var(--line);
}
.service:first-child { padding-top: 0; border-top: 0; }
.service dt { font-size: var(--fs-md); font-weight: 600; }
.service dd { margin: 8px 0 0; max-width: 56ch; color: var(--muted); }

/* Ablauf */
.steps { list-style: none; margin: 0; padding: 0; }
.step {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  gap: 8px 20px;
  align-items: baseline;
  padding-block: 24px;
  border-top: 1px solid var(--line);
}
.step:first-child { padding-top: 0; border-top: 0; }
.step-num { font-size: var(--fs-md); font-weight: 600; font-variant-numeric: tabular-nums; }
.step h3 { font-size: var(--fs-md); }
.step p { margin-top: 8px; max-width: 54ch; color: var(--muted); }
.step-time { color: var(--muted); font-size: var(--fs-sm); white-space: nowrap; }

/* ==========================================================
   Kontakt: der leere Rahmen
   ========================================================== */
.section-contact { border-top: 1px solid var(--line); }
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(48px, 7vw, 120px);
  align-items: start;
}
.vacant {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 3vw, 40px);
  align-items: end;
}
.frame-vacant { cursor: default; }
.frame-vacant span {
  display: block;
  aspect-ratio: 9 / 16;
  background: var(--wall-light);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .08) inset;
}

.contact-direct { margin: 20px 0 0; display: grid; gap: 12px; }
.contact-direct dt { color: var(--muted); }
.contact-direct dd { margin: 0; }
.contact-direct a {
  font-size: var(--fs-md);
  font-weight: 600;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.contact-direct a:hover { text-decoration: underline; text-underline-offset: 4px; }

.contact-form { display: grid; gap: 20px; }
.field { display: grid; gap: 8px; }
.field label { font-weight: 600; font-size: .9375rem; }
.optional { color: var(--muted); font-weight: 400; margin-left: 6px; }

.field input:not([type="checkbox"]),
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--panel);
  color: var(--ink);
  font: inherit;
  transition: border-color .2s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input::placeholder, .field textarea::placeholder { color: #8E8C86; }
.field input:not([type="checkbox"]):focus-visible,
.field textarea:focus-visible { outline: none; border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }

.field-check { grid-template-columns: auto 1fr; align-items: start; column-gap: 12px; }
.field-check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--ink); }
.field-check label { font-weight: 400; color: var(--muted); font-size: var(--fs-sm); }
.field-check .field-error { grid-column: 2; }

.field-error { display: none; color: var(--error); font-size: var(--fs-sm); }
.field.has-error .field-error { display: block; }
.field.has-error input:not([type="checkbox"]),
.field.has-error textarea { border-color: var(--error); }

.contact-form .btn { justify-self: start; }
.contact-form .btn[disabled] { opacity: .6; cursor: progress; }
.form-status:empty { display: none; }
.form-status.is-success { color: var(--success); }
.form-status.is-error { color: var(--error); }

/* ==========================================================
   Betrachter (Live-Ansicht)
   ========================================================== */
.viewer {
  width: 100vw;
  height: 100vh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: #2A2A28;
  color: #F1F0ED;
}
.viewer::backdrop { background: rgba(20, 20, 19, .7); }
.viewer[open] { display: flex; flex-direction: column; animation: viewer-in .25s ease-out; }
@keyframes viewer-in { from { opacity: 0; } to { opacity: 1; } }

.viewer-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  padding: 12px var(--gutter);
  border-bottom: 1px solid #444340;
}
.viewer-title { font-weight: 700; margin-right: auto; }
.viewer-modes { display: flex; border: 1px solid #5A5955; }
.viewer-modes button {
  min-height: 36px;
  padding: 6px 14px;
  border: 0;
  background: transparent;
  color: #BDBBB5;
  cursor: pointer;
}
.viewer-modes button[aria-pressed="true"] { background: #F1F0ED; color: var(--ink); }
.viewer-open { color: #F1F0ED; font-size: var(--fs-sm); text-underline-offset: 4px; }
.viewer-close {
  min-height: 36px;
  padding: 6px 14px;
  border: 1px solid #5A5955;
  background: transparent;
  cursor: pointer;
}
.viewer-close:hover, .viewer-modes button:hover { color: #fff; }
.viewer :focus-visible { outline-color: #F1F0ED; }

.viewer-stage {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 0;
  padding: 16px;
}
.viewer-stage iframe {
  width: 100%;
  height: 100%;
  border: 0;
  background: #fff;
}
.viewer-shot {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  background: #fff;
}
.viewer.is-phone .viewer-shot {
  width: 390px;
  border: 10px solid #111;
  border-radius: 28px;
}
.viewer.is-phone .viewer-stage iframe {
  width: 390px;
  max-width: 100%;
  height: min(844px, 100%);
  border: 10px solid #111;
  border-radius: 28px;
}

/* ==========================================================
   Footer
   ========================================================== */
.site-footer {
  padding-block: 28px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: var(--fs-sm);
}
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.footer-inner ul { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; }
.footer-inner a { text-decoration: none; }
.footer-inner a:hover { color: var(--ink); }

/* ==========================================================
   Rechtstexte
   ========================================================== */
.legal { padding-block: clamp(48px, 8vw, 96px) var(--section-y); }
.legal h1 { font-size: var(--fs-lg); font-weight: 700; }
.legal h2 { font-size: var(--fs-md); margin-top: 40px; }
.legal p, .legal ul { margin-top: 12px; max-width: 68ch; color: var(--muted); }
.legal a { color: var(--ink); }
.legal .back { display: inline-block; margin-bottom: 32px; color: var(--muted); text-decoration: none; }
.legal .back:hover { color: var(--ink); }

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1080px) {
  .work { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .label { max-width: 520px; }
  .label-text { max-width: 52ch; }
}

@media (max-width: 860px) {
  .entrance-grid,
  .split,
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 640px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: var(--wall);
    border-bottom: 1px solid var(--line);
    display: none;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; padding: 4px var(--gutter) 16px; }
  .site-nav a { display: block; padding: 12px 0; font-size: 1.0625rem; color: var(--ink); }

  .work-art,
  .work:nth-child(even) .work-art { flex-direction: column; align-items: stretch; }
  .frame-desktop { flex: none; }
  .frame-phone { flex: none; width: 58%; align-self: center; }

  .vacant { grid-template-columns: 1fr; }
  .frame-vacant { width: 50%; }

  .step { grid-template-columns: 28px 1fr; column-gap: 12px; }
  .step-time { grid-column: 2; }

  .viewer-bar { gap: 10px 16px; }
  .viewer-open { order: 3; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; }
}

.file-note {
  position: fixed;
  left: 16px; right: 16px; bottom: 16px;
  z-index: 90;
  max-width: 560px;
  margin-inline: auto;
  padding: 12px 16px;
  background: var(--ink);
  color: var(--wall-light);
  font-size: var(--fs-sm);
}

/* ==========================================================
   3D-Rundgang (aktiv, wenn <html class="is-3d">)
   ========================================================== */
.tour { display: none; position: relative; }
.is-3d .tour { display: block; }
.is-3d .entrance,
.is-3d #werke { display: none; }

/* Header liegt im Rundgang über dem Bild */
.is-3d .site-header { position: fixed; left: 0; right: 0; }
.is-3d main { padding-top: 0; }
.tour-active .site-header { background: transparent; border-bottom-color: transparent; }
.tour-outside .site-header { color: #F1F0ED; }
.tour-outside .site-nav a { color: rgba(241, 240, 237, .75); }
.tour-outside .site-nav a:hover { color: #fff; }
.tour-outside .nav-toggle { border-color: rgba(241, 240, 237, .4); }
.tour-outside .nav-toggle-bar,
.tour-outside .nav-toggle-bar::before,
.tour-outside .nav-toggle-bar::after { background: #F1F0ED; }
.tour-outside .nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }

.tour-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  background: #141D31;
}
.tour-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  touch-action: pan-y;
}

/* Landing vor der Tür */
.tour-intro {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 10vh var(--gutter) clamp(24px, 5vh, 56px);
  color: #F1F0ED;
  background: linear-gradient(to top, rgba(12, 14, 24, .7), rgba(12, 14, 24, .3) 60%, transparent);
  pointer-events: none;
}
.tour-intro > * { max-width: var(--container); margin-inline: auto; }
.tour-intro-artist { font-size: var(--fs-md); font-weight: 600; }
.tour-intro-title {
  margin-top: 6px;
  font-size: clamp(2.8rem, 0.6rem + 7vw, 7.5rem);
  font-weight: 800;
  font-stretch: 125%;
  font-variation-settings: "wdth" 125;
  line-height: .92;
  letter-spacing: -0.035em;
}
.tour-intro-sub { margin-top: 14px; font-size: var(--fs-md); color: rgba(241, 240, 237, .78); }
.tour-intro-weather {
  margin-top: 6px;
  font-size: var(--fs-sm);
  color: rgba(241, 240, 237, .7);
}
.tour-intro-hint {
  margin-top: 24px;
  font-weight: 600;
}
.tour-intro-skip {
  display: inline-block;
  margin-top: 12px;
  color: rgba(241, 240, 237, .7);
  font-size: var(--fs-sm);
  text-underline-offset: 4px;
  pointer-events: auto;
}
.tour-intro-skip:hover { color: #fff; }
.tour-intro :focus-visible,
.tour-outside .site-header :focus-visible { outline-color: #F1F0ED; }

/* Werkschilder im Raum */
.tour-label {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(24px, 6vh, 64px);
  width: min(340px, calc(100% - 2 * var(--gutter)));
  padding: 22px 24px 24px;
  background: var(--mat);
  box-shadow: 0 14px 34px -16px rgba(0, 0, 0, .45);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .35s, transform .35s, visibility 0s linear .35s;
}
.tour-label.is-active {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity .35s, transform .35s, visibility 0s;
}
.tour-label .label-text { max-width: none; }
a.label-link { display: inline-block; color: var(--ink); }

/* Fortschritt: Werknummern */
.tour-progress {
  position: absolute;
  left: var(--gutter);
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 6px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility 0s linear .3s;
}
.tour-skip {
  position: absolute;
  left: var(--gutter);
  bottom: 22px;
  padding: 6px 0;
  color: var(--ink);
  font-size: var(--fs-sm);
  text-underline-offset: 4px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility 0s linear .3s;
}
.tour-stage.is-inside .tour-progress,
.tour-stage.is-inside .tour-skip {
  opacity: 1;
  visibility: visible;
  transition: opacity .3s, visibility 0s;
}
/* Werknummern als schlichte Liste, die aktuelle mit Strich davor */
.tour-progress {
  gap: 2px;
  left: calc(var(--gutter) - 12px);
  padding: 8px 4px 8px 12px;
  background: rgba(241, 240, 237, .95);
}
.tour-progress button {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 32px;
  padding: 0 8px 0 0;
  border: 0;
  background: none;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  transition: color .2s;
}
.tour-progress button::before {
  content: "";
  width: 10px;
  height: 1px;
  background: currentColor;
  transition: width .25s;
}
.tour-progress button:hover { color: var(--ink); }
.tour-progress button[aria-current="true"] { color: var(--ink); font-weight: 700; }
.tour-progress button[aria-current="true"]::before { width: 26px; height: 2px; }

.tour-fade {
  position: absolute;
  inset: 0;
  background: var(--wall);
  opacity: 0;
  pointer-events: none;
}

.tour-loading {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: #141D31;
  color: #F1F0ED;
  transition: opacity .8s, visibility 0s linear .8s;
}
.tour-stage.is-loaded .tour-loading { opacity: 0; visibility: hidden; }

@media (max-width: 640px) {
  .tour-label {
    left: var(--gutter);
    right: var(--gutter);
    bottom: 16px;
    width: auto;
    max-height: 46svh;
    overflow-y: auto;
    padding: 16px 18px 18px;
  }
  .tour-label .label-title { font-size: 1.4rem; }
  .tour-label .label-text { margin-top: 10px; }
  .tour-progress { display: none; }
  .tour-skip { top: 72px; bottom: auto; }
  .tour-outside .site-nav.is-open a { color: var(--ink); }
}
