/* Nachklang, Welt: „Die Handschrift“. Cremepapier, zwei Druckfarben (Blau und Rot) und schwarze Tinte 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-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: "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: "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 {
  --papier: #f6e9d3; --hell: #fffaf0; --tinte: #1c1917; --blau: #0a3a86; --rot: #c72719;
  --serif: "Garamond NK", Georgia, "Times New Roman", serif; --k: 1;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  background: var(--papier); color: var(--tinte); 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: #1c1917; --nk-leiste-spur: rgba(28, 25, 23, .22); --nk-leiste-grund: rgba(246, 233, 211, .84);
  --nk-leiste-knopf: #1c1917; --nk-leiste-knopf-farbe: #f6e9d3; --nk-leiste-schrift: "Garamond NK", Georgia, serif; --nk-leiste-hoehe: 3px;
}
/* Papierkorn wie auf dem Cover */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: .13; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .3 0 0 0 0 .24 0 0 0 1.1 -.2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--tinte); 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; }

/* Plakat: der Titel steht in der Handschrift im Bild, darunter Zeile und Glühbirne */
.plakat {
  position: fixed; z-index: 3; left: 0; right: 0; bottom: 0; padding: 0 16px calc(30px * var(--k));
  display: flex; flex-direction: column; align-items: center; text-align: center; transition: opacity .9s linear;
}
.plakat__zeile { display: flex; align-items: center; justify-content: center; gap: calc(24px * var(--k)); flex-wrap: wrap; }
.plakat__text { margin: 0; font: italic 500 calc(21px * var(--k))/1.3 var(--serif); color: var(--tinte); letter-spacing: .005em; }
/* der Startknopf ist eine Glühbirne vom Spiegel */
.los {
  width: calc(108px * var(--k)); height: calc(108px * var(--k)); padding: 0; border-radius: 50%; cursor: pointer;
  border: calc(3px * var(--k)) solid var(--tinte); background: var(--hell); color: var(--tinte);
  display: grid; place-items: center; font: 500 calc(19px * var(--k))/1.05 var(--serif); letter-spacing: .01em;
  box-shadow: 0 0 0 calc(1px * var(--k)) rgba(28, 25, 23, .35), inset 0 calc(-6px * var(--k)) 0 rgba(28, 25, 23, .06);
  transition: box-shadow .35s, background .35s, transform .15s;
}
.los span { display: block; max-width: 5.2em; }
.los:hover, .los:focus-visible { background: #fff6dc; box-shadow: 0 0 0 calc(1px * var(--k)) rgba(28, 25, 23, .35), 0 0 calc(34px * var(--k)) calc(8px * var(--k)) rgba(255, 214, 140, .85); }
.los:active { transform: scale(.97); }
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(246, 233, 211, .86); border: 1.5px solid rgba(28, 25, 23, .78);
}
.standpunkte button {
  border: 0; border-radius: 999px; padding: calc(7px * var(--k)) calc(16px * var(--k)); cursor: pointer; background: none; color: var(--tinte);
  font: 500 calc(16px * var(--k))/1 var(--serif); white-space: nowrap;
}
.standpunkte button[aria-pressed="true"] { background: var(--tinte); color: var(--papier); }
.standpunkte button:hover { background: rgba(28, 25, 23, .1); }
.standpunkte button[aria-pressed="true"]:hover { background: var(--tinte); }
.hinweis {
  position: fixed; z-index: 4; left: 50%; bottom: calc(72px * var(--k)); translate: -50% 0; margin: 0; max-width: calc(100vw - 32px); width: max-content;
  padding: 8px 18px; border-radius: 999px; background: var(--papier); color: var(--tinte); border: 1.5px solid rgba(28, 25, 23, .7); 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 oben im Bild, hier nur der Weg */
.ende {
  position: fixed; z-index: 3; left: 0; right: 0; bottom: calc(24px * var(--k)); padding: 0 16px; display: flex; flex-direction: column; align-items: center;
  text-align: 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(11px * var(--k)) calc(26px * var(--k));
  text-decoration: none; background: var(--hell); color: var(--tinte); border: calc(2.5px * var(--k)) solid var(--tinte);
  font: 500 calc(19px * var(--k))/1 var(--serif); transition: box-shadow .35s, background .35s;
}
.ende__weg:hover, .ende__weg:focus-visible { background: #fff6dc; box-shadow: 0 0 calc(26px * var(--k)) calc(4px * var(--k)) rgba(255, 214, 140, .8); }

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

@media (max-width: 560px) {
  .plakat { padding-bottom: 24px; }
  .plakat__zeile { flex-direction: column; gap: 14px; }
  .plakat__text { font-size: 18px; }
  .standpunkte button { padding: 7px 13px; font-size: 15px; }
  .hinweis { bottom: 64px; font-size: 15px; }
  .ende { bottom: 22px; }
}

/* Info-Fenster (ⓘ in der Leiste): ein Blatt Cremepapier mit schwarzer Tinte in der Garamond der Welt,
   Links in Lenas Blau. Der Titel steht kursiv im Zweifarbdruck wie das Cover: Blau und Rot liegen
   knapp außer Passer hinter der Tinte. */
body {
  --nk-info-grund: #f8eedb; --nk-info-farbe: #1c1917; --nk-info-leise: #574d44; --nk-info-linie: rgba(28, 25, 23, .1);
  --nk-info-akzent: #0a3a86; --nk-info-schrift: "Garamond NK", Georgia, "Times New Roman", serif; --nk-info-schleier: rgba(60, 44, 30, .3);
  --nk-info-titel-groesse: 56px; --nk-info-titel-zeilen: 2; --nk-info-titel-max: 14vw; --nk-info-titel-gewicht: 500;
}
.nk-info__titel { font-style: italic; text-shadow: -1.6px -.6px 0 rgba(10, 58, 134, .55), 1.6px .8px 0 rgba(199, 39, 25, .5); }
