/* Nachklang, Welt: „Siebenundvierzig Winter“. Siebdruck wie auf dem Cover:
   Papiercreme, Nachtblau, Ockersonne, Grünkohlgrün, ein Schal in Rostrot. */
@font-face {
  font-family: "Archivo NK"; font-style: normal; font-display: swap; font-weight: 100 900; font-stretch: 62% 125%;
  src: url(/assets/fonts/archivo-latin-ext-wdth-normal.woff2) format("woff2-variations"), url(/assets/fonts/archivo-latin-ext-wdth-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: "Archivo NK"; font-style: normal; font-display: swap; font-weight: 100 900; font-stretch: 62% 125%;
  src: url(/assets/fonts/archivo-latin-wdth-normal.woff2) format("woff2-variations"), url(/assets/fonts/archivo-latin-wdth-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 {
  --papier: #f4edde; --navy: #0c2e3f; --tief: #07202f; --ocker: #dda556; --gruen: #2b4542; --schal: #b4532c; --eis: #bccad4;
  --sans: "Archivo NK", "Arial Black", Arial, sans-serif; --k: 1;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  background: var(--papier); color: var(--navy); font-family: var(--sans);
  -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: #0c2e3f; --nk-leiste-spur: rgba(12, 46, 63, .2); --nk-leiste-grund: rgba(244, 237, 222, .62);
  --nk-leiste-knopf: #0c2e3f; --nk-leiste-knopf-farbe: #f4edde; --nk-leiste-schrift: "Archivo NK", Arial, sans-serif; --nk-leiste-hoehe: 3px;
}
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--navy); 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; }
body.z-ziel .raum { cursor: pointer; }

/* Papierkorn über allem, wie beim Siebdruck; ruht, damit nichts flimmert */
.korn {
  position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: .55;
  background-image: var(--korn, none); background-size: 192px 192px;
}

/* der Titel steht wie auf dem Cover oben links, groß und schwer */
.titel {
  margin: 0; color: var(--navy); text-transform: uppercase; font-weight: 900; font-stretch: 114%;
  line-height: .9; letter-spacing: -.012em; display: grid; justify-items: start;
  font-size: clamp(38px, min(6.1vw, 11.2vh), 158px);
  -webkit-mask-image: var(--tinte, none); mask-image: var(--tinte, none); -webkit-mask-size: 260px 260px; mask-size: 260px 260px;
}
.titel span { display: block; }

.plakat { position: fixed; inset: 0; z-index: 3; pointer-events: none; transition: opacity 1.1s linear; }
.plakat .titel { position: absolute; left: max(16px, 3.4vw); top: max(56px, 5.5vh); }
.plakat__zeile {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 0 16px calc(34px * var(--k));
  display: flex; align-items: center; justify-content: center; gap: calc(18px * var(--k)); flex-wrap: wrap; pointer-events: auto;
}
.plakat__text { margin: 0; padding: .45em .9em; border-radius: 999px; background: rgba(244, 237, 222, .86); font: 650 calc(16px * var(--k))/1.35 var(--sans); }
.los {
  border: 0; border-radius: 999px; padding: calc(14px * var(--k)) calc(40px * var(--k)); cursor: pointer;
  background: var(--navy); color: var(--papier); font: 850 calc(20px * var(--k))/1 var(--sans); font-stretch: 108%; letter-spacing: .02em;
  box-shadow: 0 6px 18px rgba(7, 32, 47, .22); transition: transform .15s, background .2s;
}
.los:hover { transform: translateY(-2px); background: #123a4f; }
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)); translate: -50% 0; display: flex; gap: calc(6px * var(--k));
  padding: 5px; border-radius: 999px; background: rgba(12, 46, 63, .84);
}
.standpunkte button {
  border: 0; border-radius: 999px; padding: calc(8px * var(--k)) calc(16px * var(--k)); cursor: pointer; background: none; color: var(--papier);
  font: 750 calc(14px * var(--k))/1 var(--sans); font-stretch: 100%; white-space: nowrap;
}
.standpunkte button[aria-pressed="true"] { background: var(--papier); color: var(--navy); }
.standpunkte button:hover { background: rgba(244, 237, 222, .16); }
.standpunkte button[aria-pressed="true"]:hover { background: var(--papier); }
.hinweis {
  position: fixed; z-index: 4; left: 50%; bottom: calc(76px * var(--k)); translate: -50% 0; margin: 0; max-width: calc(100vw - 32px); width: max-content;
  padding: 9px 16px; border-radius: 999px; background: var(--navy); color: var(--papier); text-align: center;
  font: 650 calc(14px * var(--k))/1.35 var(--sans); opacity: 0; transition: opacity .6s linear; pointer-events: none;
}
.hinweis.an { opacity: 1; }

/* Ende: der Titel kommt zurück, darunter ein Weg */
.ende { position: fixed; inset: 0; z-index: 3; pointer-events: none; animation: ende 3.2s linear both; }
.ende .titel { position: absolute; left: max(16px, 3.4vw); top: max(56px, 5.5vh); }
.ende__weg {
  position: absolute; left: 50%; bottom: calc(84px * var(--k)); translate: -50% 0; pointer-events: auto; white-space: nowrap;
  display: inline-block; border-radius: 999px; padding: calc(13px * var(--k)) calc(30px * var(--k));
  text-decoration: none; background: var(--navy); color: var(--papier); font: 800 calc(17px * var(--k))/1 var(--sans); font-stretch: 105%;
  box-shadow: 0 6px 18px rgba(7, 32, 47, .22);
}
@keyframes ende { from { opacity: 0; } to { opacity: 1; } }

.ohne-gl, .ohne-js {
  position: fixed; inset: auto 16px 16px; z-index: 20; margin: 0; padding: 16px 18px; border-radius: 12px; background: var(--navy); color: var(--papier);
  font: 600 15px/1.4 var(--sans);
}
.ohne-gl p { margin: 0; }
.ohne-gl .ende__weg { position: static; translate: none; margin-top: 12px; background: var(--papier); color: var(--navy); box-shadow: none; }
.ohne-js a { color: var(--papier); }

/* Hochformat: der Titel füllt die Breite oben, das Bild steht darunter */
@media (max-aspect-ratio: 9/10) {
  .titel { font-size: min(12.1vw, 8.4vh); }
  .plakat .titel, .ende .titel { left: 16px; top: max(58px, 7vh); }
}
@media (max-width: 560px) {
  .standpunkte button { padding: 8px 13px; font-size: 13px; }
  .hinweis { bottom: 124px; }
  .plakat__text { font-size: 14px; }
}

/* Info-Fenster (ⓘ in der Leiste): ein Bogen Plakatpapier, nachtblau bedruckt, der Titel in Versalien
   wie auf dem Cover; oben rechts geht die Ockersonne über den Rand des Bogens auf. */
body {
  --nk-info-grund: #f4edde; --nk-info-farbe: #0c2e3f; --nk-info-leise: #3a5160; --nk-info-linie: rgba(12, 46, 63, .1);
  --nk-info-akzent: #9c4426; --nk-info-schrift: "Archivo NK", Arial, sans-serif; --nk-info-schleier: rgba(7, 32, 47, .38);
  --nk-info-titel-groesse: 31px; --nk-info-titel-zeilen: 1; --nk-info-titel-max: 6.9vw; --nk-info-titel-breite: 114%; --nk-info-titel-gewicht: 900;
  --nk-info-muster: radial-gradient(circle at calc(100% - 56px) -8px, #dda556 0 52px, rgba(221, 165, 86, 0) 52.5px);
}
.nk-info__titel { text-transform: uppercase; }
