/* XR-Vorschau (/xr, seit 08.11.2026). Die Szene fuellt den ganzen Schirm,
   der Kopf liegt als kleiner Kasten darueber. Schrift nur von uns. */

@font-face {
  font-family: "XR Sans";
  src: url("/static/fonts/dm-sans-500-latin.woff2") format("woff2");
  font-weight: 400 500;
  font-display: swap;
}
@font-face {
  font-family: "XR Sans";
  src: url("/static/fonts/dm-sans-700-latin.woff2") format("woff2");
  font-weight: 600 700;
  font-display: swap;
}

:root {
  --xr-grund: #16120f;
  --xr-flaeche: rgba(22, 18, 15, 0.82);
  --xr-text: #f6f1e8;
  --xr-leise: rgba(246, 241, 232, 0.68);
  --xr-gold: #f0b45c;
  --xr-rand: rgba(246, 241, 232, 0.14);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  height: 100%;
  background: var(--xr-grund);
  color: var(--xr-text);
  font-family: "XR Sans", system-ui, sans-serif;
  overflow: hidden;
}

#xr-buehne {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  touch-action: none;
  cursor: grab;
}
#xr-buehne.xr-zieht { cursor: grabbing; }
#xr-buehne.xr-zeigt { cursor: pointer; }

.xr-kopf {
  position: fixed;
  left: max(16px, env(safe-area-inset-left));
  top: max(16px, env(safe-area-inset-top));
  max-width: min(380px, calc(100vw - 32px));
  padding: 16px 18px;
  background: var(--xr-flaeche);
  border: 1px solid var(--xr-rand);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.xr-marke {
  display: inline-block;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--xr-text);
  text-decoration: none;
}
.xr-marke span { color: var(--xr-gold); }

.xr-satz {
  margin: 6px 0 12px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--xr-leise);
}

.xr-knoepfe {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.xr-knoepfe:empty { display: none; }

.xr-knopf {
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--xr-rand);
  background: rgba(246, 241, 232, 0.08);
  color: var(--xr-text);
  cursor: pointer;
}
.xr-knopf:hover { background: rgba(246, 241, 232, 0.16); }
.xr-knopf:focus-visible { outline: 2px solid var(--xr-gold); outline-offset: 2px; }
.xr-knopf-haupt {
  background: var(--xr-gold);
  border-color: var(--xr-gold);
  color: #1d150c;
}
.xr-knopf-haupt:hover { background: #f5c57a; }
.xr-knopf[hidden] { display: none; }

.xr-hinweis {
  margin: 12px 0 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--xr-leise);
}

.xr-status {
  margin: 8px 0 0;
  font-size: 13px;
  color: var(--xr-gold);
}
.xr-status:empty { display: none; }

.xr-ohne-js {
  position: fixed;
  inset: auto 16px 16px;
  margin: 0;
  font-size: 15px;
}

@media (max-width: 520px) {
  .xr-kopf { padding: 12px 14px; }
  .xr-satz { display: none; }
}

/* Impressum und Datenschutz (Gegenpruefung 08.11.2026): eine oeffentliche
   Seite unter eigenem Namen braucht beide, klein, aber immer erreichbar. */
.xr-recht {
  margin: 10px 0 0;
  font-size: 12px;
  color: var(--xr-leise);
}
.xr-recht a {
  color: var(--xr-leise);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.xr-recht a:hover { color: var(--xr-text); }
