/* Studio-Farben und vorhandene lokale Schriften für Rundgang und Startansicht. */
@font-face { font-family: Inter; src: url('/assets/fonts/inter-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: Inter; src: url('/assets/fonts/inter-500.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Bodoni Moda'; src: url('/assets/fonts/bodoni-moda-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: Archivo; src: url('/assets/fonts/archivo-variable.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
:root { color-scheme: dark; font: 400 16px/1.5 Inter, sans-serif; color: rgba(247, 247, 243, 1); background: rgba(32, 35, 34, 1); }
* { box-sizing: border-box; }
html, body { margin: 0; width: 100%; height: 100%; overflow: hidden; }
button, input { font: inherit; }
button, a, input { -webkit-tap-highlight-color: rgba(0, 0, 0, 0); }
button { cursor: pointer; }
[hidden] { display: none !important; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
svg { width: 21px; height: 21px; flex: none; }
.vr-app { position: relative; width: 100%; height: 100%; isolation: isolate; }
.vr-app a-scene, .vr-app .a-canvas { position: absolute !important; inset: 0; width: 100% !important; height: 100% !important; }
.vr-app .a-canvas { touch-action: none; }
/* Standort-Abblendung rendert die Szene selbst, auch in beiden XR-Augen. */
.vr-app[data-vr-bedienung-wartet] .vr-ui { opacity: 0; }
.vr-ui { position: absolute; inset: 0; z-index: 10; pointer-events: none; }
.vr-ui::before, .vr-ui::after { content: ''; position: absolute; inset-inline: 0; z-index: -1; pointer-events: none; }
.vr-ui::before { top: 0; height: var(--vr-verlauf-oben-hoehe, 180px); background: linear-gradient(rgba(12, 15, 14, var(--vr-verlauf-oben-staerke, .48)), rgba(12, 15, 14, 0)); }
.vr-ui::after { bottom: 0; height: min(42vh, var(--vr-verlauf-unten-hoehe, 300px)); background: linear-gradient(rgba(12, 15, 14, 0), rgba(12, 15, 14, var(--vr-verlauf-unten-staerke, .74))); }
.vr-projekt, .vr-ui::after { transition: opacity var(--vr-beschriftung-ms, 250ms) var(--vr-kurve, ease-out); }
.vr-app[data-vr-beschriftung-verborgen] .vr-projekt,
.vr-app[data-vr-beschriftung-verborgen] .vr-ui::after { opacity: 0; }
@media (hover: none) and (pointer: coarse), (max-width: 40rem) {
 .vr-app[data-vr-beschriftung-mobil-aus] .vr-projekt,
 .vr-app[data-vr-beschriftung-mobil-aus] .vr-ui::after { opacity: 0; transition: none; }
}
.vr-kopf, .vr-unten { position: absolute; inset-inline: max(24px, env(safe-area-inset-left)) max(24px, env(safe-area-inset-right)); display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.vr-kopf { top: max(24px, env(safe-area-inset-top)); align-items: start; }
.vr-marke { color: inherit; text-decoration: none; font: 500 clamp(25px, 2.3vw, 34px)/1 Archivo, sans-serif; letter-spacing: -.055em; pointer-events: auto; }
.vr-marke span { display: block; margin-top: 10px; font: 400 10px/1.3 Inter, sans-serif; letter-spacing: .18em; }
.vr-werkzeuge { display: flex; gap: 6px; pointer-events: auto; }
.vr-werkzeuge button, .vr-info__kopf button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 44px; height: 44px; border: 1px solid rgba(244, 243, 239, .22); background: rgba(244, 243, 239, .96); color: rgba(32, 35, 34, 1); border-radius: 0; padding: 10px; transition: background-color .18s ease; }
.vr-werkzeuge button:hover, .vr-info__kopf button:hover { background: rgba(255, 255, 255, 1); }
.vr-werkzeuge [data-vr-ton] { position: relative; }
.vr-ton-punkt { position: absolute; right: 6px; bottom: 5px; width: 5px; height: 5px; border-radius: 50%; background: currentColor; opacity: .25; }
[data-vr-ton][aria-pressed='true'] .vr-ton-punkt { opacity: 1; }
.vr-unten { bottom: max(28px, env(safe-area-inset-bottom)); align-items: end; }
.vr-projekt { min-width: 0; }
.vr-app[data-vr-auswahl-desktop='links'] .vr-standorte { order: -1; }
.vr-app[data-vr-auswahl-desktop='links'] .vr-projekt { text-align: right; }
.vr-label { margin: 0 0 8px; font-size: 10px; line-height: 1.4; text-transform: uppercase; letter-spacing: .16em; }
.vr-projekt h1 { margin: 0; font: 400 clamp(32px, 4.3vw, 62px)/1.12 'Bodoni Moda', Georgia, serif; letter-spacing: -.025em; }
.vr-projekt > p:last-child { margin: 10px 0 0; font-size: 12px; }
.vr-standorte { display: flex; gap: var(--vr-auswahl-desktop-abstand, 10px); flex: none; max-width: 60vw; overflow-x: auto; padding-bottom: 7px; pointer-events: auto; }
.vr-standorte button { flex: none; position: relative; padding: 0; border: 1px solid rgba(247, 247, 243, .36); background: rgba(32, 35, 34, 1); color: rgba(247, 247, 243, 1); transition: border-color .2s ease; }
.vr-standorte img { display: block; width: var(--vr-auswahl-desktop-breite, clamp(88px, 7vw, 104px)); height: auto; aspect-ratio: 1; object-fit: contain; }
.vr-standorte { scrollbar-width: thin; scrollbar-color: rgba(244, 243, 239, .8) rgba(32, 35, 34, .45); overscroll-behavior-x: contain; }
.vr-standorte:hover { scrollbar-color: rgba(244, 243, 239, 1) rgba(32, 35, 34, .45); }
.vr-standorte::-webkit-scrollbar { height: 8px; }
.vr-standorte::-webkit-scrollbar-track { background: rgba(32, 35, 34, .45); }
.vr-standorte::-webkit-scrollbar-thumb { background: rgba(244, 243, 239, .8); border-radius: 0; }
.vr-standorte::-webkit-scrollbar-thumb:hover { background: rgba(244, 243, 239, 1); }
@media (hover: hover) and (pointer: fine) {
 .vr-standorte button { cursor: grab; }
 .vr-standorte { cursor: grab; user-select: none; }
}
.vr-standorte--ziehen, .vr-standorte--ziehen button { cursor: grabbing; }
@media (hover: none) and (pointer: coarse), (max-width: 40rem) {
 .vr-app .vr-unten { flex-direction: column; align-items: start; }
 .vr-app[data-vr-auswahl-mobil] .vr-standorte { order: 1; align-self: flex-start; }
 .vr-app[data-vr-auswahl-mobil] .vr-projekt { text-align: left; }
 .vr-app[data-vr-auswahl-mobil='rechts'] .vr-standorte { align-self: flex-end; }
 .vr-standorte { gap: var(--vr-auswahl-mobil-abstand, 8px); max-width: 100%; }
 .vr-standorte img { width: var(--vr-auswahl-mobil-breite, 80px); }
}
.vr-standorte button span { display: block; padding: 7px 5px; font-size: 11px; font-weight: 500; font-variant-numeric: tabular-nums; color: rgba(32, 35, 34, 1); background: rgba(244, 243, 239, 1); }
.vr-standorte button[aria-current='true'], .vr-standorte button:hover { border-color: rgba(247, 247, 243, 1); }
.vr-standorte button[aria-current='true']::before { content: ''; position: absolute; inset: auto 0 -6px; border-bottom: 1px solid rgba(247, 247, 243, 1); }
.vr-standorte button[aria-current='true'] span { color: rgba(247, 247, 243, 1); background: rgba(32, 35, 34, 1); }
.vr-info { color-scheme: light; position: fixed; inset: 16px 16px 16px auto; width: min(420px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); margin: 0; padding: clamp(24px, 4vw, 36px); border: 0; background: rgba(244, 243, 239, 1); color: rgba(32, 35, 34, 1); overflow-y: auto; overscroll-behavior: contain; }
.vr-info::backdrop { background: rgba(12, 15, 14, .34); }
.vr-info__kopf { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 28px; }
.vr-info__kopf .vr-label { margin: 0; }
.vr-info__kopf button { color: inherit; background: rgba(32, 35, 34, .04); }
.vr-info h2 { margin: 0 0 20px; font: 400 clamp(31px, 5vw, 40px)/1.15 'Bodoni Moda', Georgia, serif; }
.vr-info > p { font-size: 14px; line-height: 1.65; margin: 0 0 22px; }
.vr-hilfe-mobil { display: none; }
@media (hover: none) and (pointer: coarse), (max-width: 40rem) {
 .vr-info { inset: auto 0 0; width: 100%; max-width: 100%; max-height: 85dvh; padding: 24px max(24px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left)); }
 .vr-hilfe-desktop { display: none; }
 .vr-hilfe-mobil { display: block; }
}
.vr-kurzbefehle { border-block: 1px solid rgba(32, 35, 34, .16); padding-block: 12px; margin: 22px 0; font-size: 12px; }
.vr-kurzbefehle > div { display: grid; grid-template-columns: 54px 1fr; gap: 12px; padding-block: 5px; }
.vr-kurzbefehle dd { margin: 0; }
.vr-lautstaerke { display: grid; grid-template-columns: 1fr auto; gap: 12px; font-size: 12px; margin: 22px 0; }
.vr-lautstaerke input { grid-column: 1 / -1; width: 100%; min-height: 32px; margin: 0; accent-color: rgba(32, 35, 34, 1); }
.vr-info__fuss { margin-top: 28px; border-top: 1px solid rgba(32, 35, 34, .16); padding-top: 16px; font-size: 10px; line-height: 1.7; }
.vr-info__fuss p { margin: 0 0 8px; }
.vr-info a { color: inherit; text-underline-offset: 3px; }
.vr-textlink { border: 0; border-bottom: 1px solid currentColor; color: inherit; background: rgba(0, 0, 0, 0); padding: 8px 0; font-size: 12px; }
.vr-fehler { position: absolute; left: 24px; right: 24px; bottom: 140px; width: fit-content; max-width: calc(100% - 48px); margin: 0; padding: 12px 16px; background: rgba(244, 243, 239, 1); color: rgba(32, 35, 34, 1); font-size: 13px; pointer-events: auto; }
.vr-fehler button { border: 0; border-bottom: 1px solid currentColor; padding: 4px 0; margin-left: 8px; color: inherit; background: rgba(0, 0, 0, 0); }
.vr-status { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.vr-laden { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); margin: 0; padding: 10px 14px; max-width: calc(100% - 48px); background: rgba(32, 35, 34, .85); color: rgba(244, 243, 239, 1); font-size: 12px; }
.vr-app .werkzeug-tooltip { position: absolute; z-index: 30; width: max-content; max-width: min(20rem, calc(100% - 16px)); padding: 7px 10px; color: rgba(32, 35, 34, 1); background: rgba(244, 243, 239, 1); font: 400 12px/1.4 Inter, sans-serif; box-shadow: 0 3px 12px rgba(0, 0, 0, .16); }
.vr-ohne-js { position: absolute; top: 40%; inset-inline: 24px; z-index: 20; padding: 24px; background: rgba(244, 243, 239, 1); color: rgba(32, 35, 34, 1); }
@media (min-width: 100rem) { .vr-kopf, .vr-unten { inset-inline: max(48px, calc((100vw - 96rem) / 2)); } }
@media (max-width: 40rem) {
 .vr-kopf, .vr-unten { inset-inline: max(18px, env(safe-area-inset-left)) max(18px, env(safe-area-inset-right)); }
 .vr-kopf { top: max(18px, env(safe-area-inset-top)); gap: 8px; flex-wrap: wrap; }
 .vr-marke { font-size: 23px; }
 .vr-marke span { font-size: 8px; margin-top: 8px; }
 .vr-werkzeuge { gap: 4px; margin-left: auto; }
 .vr-werkzeuge button { min-width: 40px; width: 40px; height: 44px; padding: 9px; }
 .vr-werkzeuge [data-vr-headset] span { display: none; }
 .vr-unten { bottom: max(22px, env(safe-area-inset-bottom)); flex-direction: column; align-items: start; gap: 20px; }
 .vr-projekt h1 { font-size: clamp(31px, 8vw, 42px); }
 .vr-fehler { bottom: 260px; }
}
@media (orientation: landscape) and (max-height: 32rem) {
 .vr-kopf { top: max(14px, env(safe-area-inset-top)); }
 .vr-unten { bottom: max(18px, env(safe-area-inset-bottom)); flex-direction: row; align-items: end; gap: 20px; }
 .vr-projekt h1 { font-size: 31px; }
 .vr-projekt > p:last-child { margin-top: 5px; }
 .vr-ui::after { height: var(--vr-verlauf-unten-querformat-hoehe, 180px); }
}
@media (orientation: landscape) and (max-height: 32rem) and (hover: none) and (pointer: coarse), (orientation: landscape) and (max-height: 32rem) and (max-width: 40rem) {
 .vr-app .vr-unten { flex-direction: row; align-items: end; }
 .vr-app .vr-standorte { align-self: flex-end; }
 .vr-app[data-vr-auswahl-mobil='links'] .vr-standorte { order: -1; }
 .vr-app[data-vr-auswahl-mobil='links'] .vr-projekt { text-align: right; }
 .vr-standorte img { width: var(--vr-auswahl-mobil-querformat-breite, 72px); }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }

.vr-app[data-vr-auswahl-position='mittig'] .vr-unten { justify-content: center; }
.vr-app[data-vr-auswahl-position='mittig'] .vr-projekt { display: none; }
.vr-app[data-vr-auswahl-position='mittig'] .vr-standorte { order: 0; align-self: center; }
.vr-app[data-vr-auswahl-position='mittig'] .vr-ui::after { opacity: 0; }
.vr-standorte { transition: opacity var(--vr-auswahl-blende-ms, 250ms) var(--vr-kurve, ease-out); }
.vr-app[data-vr-auswahl-verborgen] .vr-standorte { opacity: 0; pointer-events: none; }
.vr-bildauswahl-schalter svg { width: 20px; height: 20px; }
.vr-bildauswahl-schalter span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Optionale Projekt-Einstiegsseite: vorhandenes Bild oder reine Typografie.
 * Sie wartet auf das erste vollständige Stereo-Paar, niemals auf Hintergrundmusik. */
.vr-start { position: absolute; inset: 0; z-index: 20; overflow-y: auto; overscroll-behavior: contain; background: rgba(32, 35, 34, 1); padding: max(24px, env(safe-area-inset-top)) max(24px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left)); display: flex; align-items: end; }
.vr-start__bild { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .65; }
.vr-start::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(12, 15, 14, .8), rgba(12, 15, 14, .1)); }
.vr-start__marke { position: absolute; top: max(24px, env(safe-area-inset-top)); left: max(24px, env(safe-area-inset-left)); z-index: 1; }
.vr-start__inhalt { position: relative; z-index: 1; width: min(100%, 48rem); margin: 110px 0 clamp(12px, 6vh, 64px) clamp(0px, 4vw, 64px); }
.vr-start h2 { margin: 0 0 20px; font: 400 clamp(40px, 7vw, 96px)/1.08 'Bodoni Moda', Georgia, serif; letter-spacing: -.025em; overflow-wrap: anywhere; }
.vr-start__beschreibung { max-width: 42ch; margin: 0 0 28px; font-size: clamp(14px, 1.4vw, 17px); line-height: 1.6; }
.vr-start__knopf { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 14px 0; min-height: 48px; border: 0; border-bottom: 1px solid currentColor; color: inherit; background: rgba(0, 0, 0, 0); font-size: 14px; }
.vr-start__knopf span { transition: transform .18s ease; }
.vr-start__knopf:hover:not(:disabled) span { transform: translateX(5px); }
.vr-start__knopf:disabled { opacity: .65; cursor: wait; }
.vr-start__ton { display: flex; align-items: center; gap: 10px; width: fit-content; min-height: 44px; margin-top: 12px; font-size: 12px; }
.vr-start__ton input { width: 16px; height: 16px; accent-color: rgba(244, 243, 239, 1); }
.vr-start__laden { display: flex; align-items: center; gap: 12px; margin-top: 16px; font-size: 11px; }
.vr-start__laden progress { width: 64px; height: 2px; border: 0; appearance: none; background: rgba(247, 247, 243, .25); }
.vr-start__laden progress::-webkit-progress-bar { background: rgba(247, 247, 243, .25); }
.vr-start__laden progress::-webkit-progress-value { background: rgba(247, 247, 243, 1); }
.vr-start__laden progress::-moz-progress-bar { background: rgba(247, 247, 243, 1); }
.vr-start__fehler { max-width: 45ch; font-size: 13px; }
.vr-app[data-vr-willkommen] .vr-ui { visibility: hidden; }
@media (max-width: 40rem) { .vr-start__inhalt { margin-left: 0; } }
@media (orientation: landscape) and (max-height: 32rem) {
 .vr-start { align-items: start; }
 .vr-start__inhalt { margin-block: 84px 0; }
 .vr-start h2 { font-size: 40px; margin-bottom: 12px; }
 .vr-start__beschreibung { margin-bottom: 12px; }
 .vr-start__ton, .vr-start__laden { margin-top: 4px; }
}
