/* Nachklang, Welt: „Unerzählbar“. Petrol, Bernstein, Tweed, Rost, Creme und Gold wie auf dem Cover. */
@font-face {
  font-family: "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");
  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: "Garamond NK"; font-style: normal; font-display: swap; font-weight: 400 800;
  src: 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: "Garamond NK"; font-style: italic; font-display: swap; font-weight: 400 800;
  src: 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 {
  --petrol: #13292a; --tief: #0c1c1d; --creme: #f3e6cb; --gold: #dcb46a; --bernstein: #eab766; --tweed: #5e4129; --rost: #b4552b;
  --serif: "Garamond NK", Garamond, "Times New Roman", serif; --k: 1;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  background: var(--petrol); 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: #e6c07a; --nk-leiste-spur: rgba(243, 230, 203, .24); --nk-leiste-grund: rgba(12, 28, 29, .62);
  --nk-leiste-knopf: #e6c07a; --nk-leiste-knopf-farbe: #13292a; --nk-leiste-schrift: "Garamond NK", Garamond, serif; --nk-leiste-hoehe: 3px;
}
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gold); 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; }

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

/* Startplakat: der goldene Schriftzug oben wie auf dem Cover, unten Zeile und Knopf */
.plakat { position: fixed; inset: 0; z-index: 3; pointer-events: none; transition: opacity 1.1s linear; }
.plakat > * { pointer-events: auto; }
.plakat__titel {
  position: absolute; left: 50%; top: calc(max(58px, 7.5vh)); translate: -50% 0; margin: 0; line-height: 0;
  width: min(calc(100vw - 40px), calc(560px * var(--k)));
  filter: drop-shadow(0 3px 10px rgba(6, 16, 17, .55));
}
.plakat__titel img, .ende__titel { width: 100%; height: auto; display: block; }
.plakat__zeile {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 0 16px calc(30px * var(--k) + env(safe-area-inset-bottom));
  display: flex; align-items: center; justify-content: center; gap: calc(18px * var(--k)); flex-wrap: wrap;
}
.plakat__text {
  margin: 0; padding: .35em .9em; border-radius: 999px; background: rgba(12, 28, 29, .7); color: var(--creme);
  font: 500 calc(18px * var(--k))/1.3 var(--serif); letter-spacing: .01em;
}
.los {
  border: 0; border-radius: 999px; padding: calc(12px * var(--k)) calc(34px * var(--k)) calc(14px * var(--k)); cursor: pointer;
  background: linear-gradient(180deg, #f0cf86, #d4a653); color: #1b1307; font: 650 calc(21px * var(--k))/1 var(--serif); letter-spacing: .02em;
  box-shadow: 0 6px 20px rgba(6, 16, 17, .45), inset 0 1px 0 rgba(255, 246, 220, .6);
  transition: transform .15s;
}
.los:hover { transform: translateY(-2px); }
body:not([data-phase="warten"]) .plakat { opacity: 0; pointer-events: none; }
body:not([data-phase="warten"]) .plakat > * { 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(6px * var(--k));
  padding: 5px; border-radius: 999px; background: rgba(12, 28, 29, .72);
}
.standpunkte button {
  border: 0; border-radius: 999px; padding: calc(8px * 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(--gold); color: #1b1307; }
.standpunkte button:hover { background: rgba(243, 230, 203, .14); }
.standpunkte button[aria-pressed="true"]:hover { background: var(--gold); }
.hinweis {
  position: fixed; z-index: 4; left: 50%; bottom: calc(78px * 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(12, 28, 29, .8); color: var(--creme); text-align: center;
  font: italic 500 calc(17px * var(--k))/1.3 var(--serif); opacity: 0; transition: opacity .6s linear; pointer-events: none;
}
.hinweis.an { opacity: 1; }

/* Ende: der Schriftzug, darunter der Weg zurück */
.ende {
  position: fixed; z-index: 3; left: 0; right: 0; top: 0; bottom: 0; display: flex; flex-direction: column; align-items: center;
  justify-content: space-between; padding: calc(max(58px, 7.5vh)) 16px calc(88px * var(--k) + env(safe-area-inset-bottom));
  pointer-events: none; animation: ende 3s linear both;
}
.ende > * { pointer-events: auto; }
.ende__titel { width: min(calc(100vw - 40px), calc(560px * var(--k))); filter: drop-shadow(0 3px 10px rgba(6, 16, 17, .55)); }
@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: linear-gradient(180deg, #f0cf86, #d4a653); color: #1b1307; font: 650 calc(19px * var(--k))/1 var(--serif);
  box-shadow: 0 6px 20px rgba(6, 16, 17, .45);
}

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

@media (max-width: 560px) {
  .standpunkte button { padding: 8px 12px 9px; font-size: 15px; }
  .hinweis { bottom: 124px; font-size: 16px; }
  .plakat__text { font-size: 16px; }
}

/* Info-Fenster (ⓘ in der Leiste): ein Blatt aus dem Manuskript des Erzählers, aus dem auch das
   Schiffchen gefaltet ist. Creme wie das Papier, braune Tinte, der Titel in Petrol; neben dem Titel
   der Abdruck von Marens Kaffeetasse: ein feiner, ungleichmäßiger Kaffeerand (drei leicht versetzte
   Kreise), den der Blattrand anschneidet. */
body {
  --nk-info-grund: #f3e6cb; --nk-info-farbe: #33261b; --nk-info-leise: #5e4129; --nk-info-linie: rgba(51, 38, 27, .12);
  --nk-info-akzent: #94421f; --nk-info-schrift: "Garamond NK", Garamond, "Times New Roman", serif; --nk-info-schleier: rgba(8, 20, 21, .46);
  --nk-info-titel-groesse: 60px; --nk-info-titel-zeilen: 3; --nk-info-titel-gewicht: 600; --nk-info-einzug: 40px;
  --nk-info-muster:
    radial-gradient(circle at calc(100% - 14px) 128px, transparent 53px, rgba(130, 80, 36, .28) 54.6px, rgba(130, 80, 36, .32) 55.4px, transparent 56.3px),
    radial-gradient(circle at calc(100% - 11px) 131px, transparent 52.6px, rgba(130, 80, 36, .17) 53.8px, transparent 55px),
    radial-gradient(circle at calc(100% - 17px) 126px, transparent 55px, rgba(130, 80, 36, .1) 56px, transparent 57.2px);
}
.nk-info__titel { color: #13292a; }
