/* Nachklang, Welt: „Zimmer 7“. Salbei, Rosé, Dunkelgrün und Weiß wie auf dem Cover, Garamond. */
@font-face {
  font-family: "EB Garamond NK"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(/assets/fonts/eb-garamond-latin-ext-wght-normal.woff2) format("woff2-variations"), url(/assets/fonts/eb-garamond-latin-ext-wght-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "EB Garamond NK"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(/assets/fonts/eb-garamond-latin-wght-normal.woff2) format("woff2-variations"), url(/assets/fonts/eb-garamond-latin-wght-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
  --salbei: #b9c9a9; --rose: #d49888; --gruen: #133a22; --nacht: #0b1311; --creme: #f3efe2;
  --serif: "EB Garamond NK", Garamond, "Times New Roman", serif; --k: 1;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  background: var(--salbei); color: var(--gruen); font-family: var(--serif);
  -webkit-font-smoothing: antialiased; overflow: hidden; overscroll-behavior: none; -webkit-tap-highlight-color: transparent;
  user-select: none; -webkit-user-select: none; touch-action: none;
  /* Leiste und ✕ (aus /assets/welt/leiste.js) teilen sich die Farben */
  --nk-leiste-farbe: #eef1e6; --nk-leiste-spur: rgba(238, 241, 230, .24); --nk-leiste-grund: rgba(11, 30, 20, .5);
  --nk-leiste-knopf: #eef1e6; --nk-leiste-knopf-farbe: #133a22; --nk-leiste-schrift: "EB Garamond NK", Garamond, serif; --nk-leiste-hoehe: 2px;
}
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--creme); outline-offset: 3px; box-shadow: 0 0 0 6px rgba(19, 58, 34, .6); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
[hidden] { display: none !important; }

.raum { position: fixed; inset: 0; width: 100%; height: 100%; display: block; cursor: grab; outline: none; }
body.z-zieht .raum { cursor: grabbing; }
body.z-ziel .raum { cursor: pointer; }

/* Startplakat: unten auf dem rosa Boden, wie die Schrift des Covers */
.plakat {
  position: fixed; z-index: 3; left: 0; right: 0; bottom: 0; padding: 0 16px calc(30px * var(--k) + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; align-items: center; gap: calc(14px * var(--k)); transition: opacity .9s linear;
}
.plakat__text {
  margin: 0; padding: .28em .9em .34em; border-radius: 999px; background: rgba(243, 239, 226, .62);
  font: 500 calc(19px * var(--k))/1.3 var(--serif); letter-spacing: .005em; text-align: center;
}
.los {
  border: 0; border-radius: 999px; padding: calc(12px * var(--k)) calc(40px * var(--k)) calc(14px * var(--k)); cursor: pointer;
  background: var(--gruen); color: var(--creme); font: 600 calc(22px * var(--k))/1 var(--serif); letter-spacing: .02em;
  box-shadow: 0 8px 22px rgba(19, 58, 34, .28); transition: transform .15s, background .2s;
}
.los:hover { transform: translateY(-2px); background: #0e2e1b; }
body:not([data-phase="warten"]) .plakat { opacity: 0; pointer-events: none; }

/* Standpunkte */
.standpunkte {
  position: fixed; z-index: 3; left: 50%; bottom: calc(16px * var(--k) + env(safe-area-inset-bottom)); translate: -50% 0; display: flex; gap: calc(4px * var(--k));
  padding: 4px; border-radius: 999px; background: rgba(11, 30, 20, .66);
}
.standpunkte button {
  border: 0; border-radius: 999px; padding: calc(7px * var(--k)) calc(15px * var(--k)) calc(8px * var(--k)); cursor: pointer; background: none; color: var(--creme);
  font: 600 calc(16px * var(--k))/1 var(--serif); white-space: nowrap; letter-spacing: .01em;
}
.standpunkte button[aria-pressed="true"] { background: var(--creme); color: var(--gruen); }
.standpunkte button:hover { background: rgba(243, 239, 226, .16); }
.standpunkte button[aria-pressed="true"]:hover { background: var(--creme); }
.hinweis {
  position: fixed; z-index: 4; left: 50%; bottom: calc(72px * var(--k) + env(safe-area-inset-bottom)); translate: -50% 0; margin: 0; max-width: calc(100vw - 32px); width: max-content;
  padding: 8px 18px 9px; border-radius: 999px; background: rgba(11, 30, 20, .78); color: var(--creme); text-align: center;
  font: 500 calc(16px * var(--k))/1.35 var(--serif); opacity: 0; transition: opacity .6s linear; pointer-events: none;
}
.hinweis.an { opacity: 1; }

/* Ende: der Titel steht wieder an der Wand, darunter der Weg zurück */
.ende { position: fixed; z-index: 3; left: 0; right: 0; bottom: calc(84px * var(--k) + env(safe-area-inset-bottom)); display: flex; justify-content: center; pointer-events: none; animation: ende 3s linear both; }
.ende > * { pointer-events: auto; }
@keyframes ende { from { opacity: 0; } to { opacity: 1; } }
.ende__weg {
  display: inline-block; border-radius: 999px; padding: calc(12px * var(--k)) calc(30px * var(--k)) calc(14px * var(--k));
  text-decoration: none; background: var(--gruen); color: var(--creme); font: 600 calc(20px * var(--k))/1 var(--serif); letter-spacing: .02em;
  box-shadow: 0 8px 22px rgba(19, 58, 34, .28);
}

.ohne-gl, .ohne-js {
  position: fixed; inset: auto 16px 16px; z-index: 20; margin: 0; padding: 16px 18px; border-radius: 12px; background: var(--gruen); color: var(--creme);
  font: 500 17px/1.4 var(--serif);
}
.ohne-gl p { margin: 0; }
.ohne-gl .ende__weg { margin-top: 12px; background: var(--creme); color: var(--gruen); box-shadow: none; }
.ohne-js a { color: var(--creme); }

@media (max-width: 560px) {
  .standpunkte button { padding: 7px 11px 8px; font-size: 15px; }
  .hinweis { bottom: calc(64px + env(safe-area-inset-bottom)); font-size: 15px; }
  .plakat__text { font-size: 17px; }
}

/* Info-Fenster (ⓘ in der Leiste): ein Blatt in der Salbeifarbe der Wand, dunkelgrün in Garamond beschrieben,
   der Titel zweizeilig wie auf dem Cover; ganz unten beginnt der rosa Boden des Zimmers. */
body {
  --nk-info-grund: #cfdcc3; --nk-info-farbe: #133a22; --nk-info-leise: #33503c; --nk-info-linie: rgba(19, 58, 34, .12);
  --nk-info-akzent: #133a22; --nk-info-schrift: "EB Garamond NK", Garamond, serif; --nk-info-schleier: rgba(11, 19, 17, .45);
  --nk-info-titel-groesse: 100px; --nk-info-titel-zeilen: 3; --nk-info-titel-max: 25vw; --nk-info-titel-gewicht: 800;
  --nk-info-muster: linear-gradient(to top, #d49888 0 56px, transparent 56px);
}
.nk-info :focus-visible { outline-color: var(--nk-info-akzent); box-shadow: none; }
