/* Nachklang, Welt: „Am Tisch“. Weinrotes Tuch, cremeweißes Porzellan mit Goldrand, dunkelrote Antiqua wie auf dem Cover. */
@font-face {
  font-family: "EB Garamond NK"; font-style: normal; font-display: swap; font-weight: 400 800;
  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-display: swap; font-weight: 400 800;
  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;
}
@font-face {
  font-family: "EB Garamond NK"; font-style: italic; font-display: swap; font-weight: 400 800;
  src: url(/assets/fonts/eb-garamond-latin-wght-italic.woff2) format("woff2-variations"), url(/assets/fonts/eb-garamond-latin-wght-italic.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 {
  --tuch: #6e141c; --tief: #2a060b; --wein: #6b0f17; --creme: #efe3d1; --gold: #b98e4c;
  --serif: "EB Garamond NK", Georgia, "Times New Roman", serif; --k: 1;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  background: #13030a; color: var(--creme); 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: #efe3d1; --nk-leiste-spur: rgba(239, 227, 209, .28); --nk-leiste-grund: rgba(34, 4, 9, .46);
  --nk-leiste-knopf: #efe3d1; --nk-leiste-knopf-farbe: #6b0f17; --nk-leiste-schrift: "EB Garamond NK", Georgia, serif; --nk-leiste-hoehe: 3px;
}
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--creme); outline-offset: 3px; }
.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; }

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

/* der Titel auf dem sauberen Teller: Lage und Größe setzt das Skript */
.titel {
  position: fixed; z-index: 2; left: 0; top: 0; margin: 0; display: grid; justify-items: center; pointer-events: none;
  color: var(--wein); font-weight: 800; line-height: .9; letter-spacing: -.01em; text-align: center; white-space: nowrap;
  opacity: 0; transition: opacity 2.4s linear; translate: -50% -52%;
}
.titel.an { opacity: 1; }

.plakat {
  position: fixed; z-index: 3; left: 0; right: 0; bottom: 0; padding: 0 16px calc(32px * var(--k));
  display: flex; align-items: center; justify-content: center; gap: calc(18px * var(--k)); flex-wrap: wrap; transition: opacity .9s linear;
}
.plakat__text {
  margin: 0; padding: .35em .95em .42em; border-radius: 999px; background: rgba(239, 227, 209, .9); color: var(--wein);
  font: italic 500 calc(18px * var(--k))/1.3 var(--serif);
}
.los {
  border: 0; border-radius: 999px; padding: calc(12px * var(--k)) calc(34px * var(--k)) calc(14px * var(--k)); cursor: pointer;
  background: var(--wein); color: var(--creme); font: 700 calc(21px * var(--k))/1 var(--serif); letter-spacing: .02em;
  box-shadow: inset 0 0 0 1.5px rgba(214, 176, 112, .75), 0 8px 22px rgba(20, 2, 6, .45);
  transition: transform .15s;
}
.los:hover { transform: translateY(-2px); }
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)); translate: -50% 0; display: flex; gap: calc(4px * var(--k));
  padding: 4px; border-radius: 999px; background: rgba(34, 4, 9, .74);
}
.standpunkte button {
  border: 0; border-radius: 999px; padding: calc(7px * var(--k)) calc(16px * var(--k)) calc(9px * var(--k)); cursor: pointer; background: none; color: var(--creme);
  font: 600 calc(16px * var(--k))/1 var(--serif); white-space: nowrap;
}
.standpunkte button[aria-pressed="true"] { background: var(--creme); color: var(--wein); }
.standpunkte button:hover { background: rgba(239, 227, 209, .16); }
.standpunkte button[aria-pressed="true"]:hover { background: var(--creme); }
.hinweis {
  position: fixed; z-index: 4; left: 50%; bottom: calc(74px * var(--k)); translate: -50% 0; margin: 0; max-width: calc(100vw - 32px); width: max-content;
  padding: 7px 17px 9px; border-radius: 999px; background: rgba(239, 227, 209, .92); color: var(--wein); text-align: center;
  font: italic 500 calc(16px * var(--k))/1.3 var(--serif); opacity: 0; transition: opacity .6s linear; pointer-events: none;
}
.hinweis.an { opacity: 1; }

/* Ende: der Titel steht wieder auf dem Teller, darunter der Weg zurück */
.ende { position: fixed; z-index: 3; left: 0; right: 0; bottom: calc(84px * var(--k)); 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(--wein); color: var(--creme); font: 700 calc(19px * var(--k))/1 var(--serif); letter-spacing: .02em;
  box-shadow: inset 0 0 0 1.5px rgba(214, 176, 112, .75), 0 8px 22px rgba(20, 2, 6, .45);
}

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

@media (max-width: 560px) {
  .standpunkte button { padding: 7px 13px 9px; font-size: 15px; }
  .hinweis { bottom: 70px; font-size: 15px; }
  .plakat__text { font-size: 16px; }
  .plakat { padding-bottom: 28px; }
}

/* Info-Fenster (ⓘ in der Leiste): ein Blatt aus dem cremeweißen Porzellan, Schrift dunkelrot wie der Titel
   auf dem Teller; dazu der feine Goldrand des Tellers, der Text bleibt innerhalb. */
body {
  --nk-info-grund: #efe3d1; --nk-info-farbe: #3f0a10; --nk-info-leise: #7a3f3a; --nk-info-linie: rgba(107, 15, 23, .1);
  --nk-info-akzent: #6b0f17; --nk-info-schrift: "EB Garamond NK", Georgia, serif; --nk-info-schleier: rgba(19, 3, 10, .46);
  --nk-info-titel-groesse: 76px; --nk-info-titel-zeilen: 3; --nk-info-titel-max: 19vw; --nk-info-titel-gewicht: 800;
  --nk-info-einzug: 24px;
}
.nk-info {
  box-shadow: inset 0 0 0 8px #efe3d1, inset 0 0 0 9.5px #b98e4c, 0 28px 70px rgba(0, 0, 0, .34), 0 2px 8px rgba(0, 0, 0, .12);
}
.nk-info__inhalt { margin: 12px; padding-right: 28px; }
.nk-info__titel { color: #6b0f17; }
@media (max-width: 600px) { .nk-info__inhalt { padding-right: 24px; } }
