/* Nachklang, Welt: „Bleib kurz so“. Weinrot, Rot, Pfirsich und Malve wie auf dem Cover. */
@font-face {
  font-family: "Manrope NK"; font-style: normal; font-display: swap; font-weight: 200 800;
  src: url(/assets/fonts/manrope-latin-ext-wght-normal.woff2) format("woff2-variations"), url(/assets/fonts/manrope-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: "Manrope NK"; font-style: normal; font-display: swap; font-weight: 200 800;
  src: url(/assets/fonts/manrope-latin-wght-normal.woff2) format("woff2-variations"), url(/assets/fonts/manrope-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 {
  --wein: #5c0f1a; --rot: #8c2325; --pfirsich: #f7c9ad; --haut: #e99375; --malve: #7c343b;
  --sans: "Manrope NK", "Avenir Next", Arial, sans-serif; --k: 1;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  background: #e38c70; color: var(--wein); 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: #5c0f1a; --nk-leiste-spur: rgba(92, 15, 26, .22); --nk-leiste-grund: rgba(250, 214, 194, .42);
  --nk-leiste-knopf: #5c0f1a; --nk-leiste-knopf-farbe: #f7c9ad; --nk-leiste-schrift: "Manrope NK", Arial, sans-serif; --nk-leiste-hoehe: 3px;
}
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--wein); 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; }

/* der Titel in der Lücke: Lage und Größe setzt das Skript (Mitte der Lücke, passend zu ihrer Breite) */
.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; font-size: 100px; line-height: .96; letter-spacing: -.035em; white-space: nowrap;
  opacity: 0; transition: opacity 2.4s linear; transform-origin: 0 0;
}
.titel span { display: block; }
.titel.an { opacity: 1; }

.plakat {
  position: fixed; z-index: 3; 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; transition: opacity .9s linear;
}
.plakat__text {
  margin: 0; padding: .45em .95em; border-radius: 999px; background: rgba(250, 216, 198, .72); color: var(--wein);
  font: 650 calc(16px * var(--k))/1.35 var(--sans);
}
.los {
  border: 0; border-radius: 999px; padding: calc(14px * var(--k)) calc(34px * var(--k)); cursor: pointer;
  background: var(--wein); color: var(--pfirsich); font: 780 calc(19px * var(--k))/1 var(--sans); letter-spacing: .01em;
  box-shadow: 0 6px 20px rgba(92, 15, 26, .28);
  transition: transform .15s, box-shadow .15s;
}
.los:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(92, 15, 26, .32); }
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(5px * var(--k));
  padding: 5px; border-radius: 999px; background: rgba(92, 15, 26, .8);
}
.standpunkte button {
  border: 0; border-radius: 999px; padding: calc(8px * var(--k)) calc(15px * var(--k)); cursor: pointer; background: none; color: var(--pfirsich);
  font: 700 calc(14px * var(--k))/1 var(--sans); white-space: nowrap;
}
.standpunkte button[aria-pressed="true"] { background: var(--pfirsich); color: var(--wein); }
.standpunkte button:hover { background: rgba(247, 201, 173, .16); }
.standpunkte button[aria-pressed="true"]:hover { background: var(--pfirsich); }
.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(--wein); color: var(--pfirsich); 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 steht wieder in der Lücke, darunter ein Weg zurück */
.ende { position: fixed; z-index: 3; left: 0; right: 0; bottom: calc(92px * 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(13px * var(--k)) calc(28px * var(--k));
  text-decoration: none; background: var(--wein); color: var(--pfirsich); font: 780 calc(17px * var(--k))/1 var(--sans);
  box-shadow: 0 6px 20px rgba(92, 15, 26, .28); transition: transform .15s;
}
.ende__weg:hover { transform: translateY(-2px); }

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

@media (max-width: 560px) {
  .standpunkte button { padding: 8px 10px; font-size: 12.5px; }
  .hinweis { bottom: 124px; }
  .plakat { padding-bottom: 28px; }
  .plakat__text { font-size: 14px; }
}

/* Info-Fenster (ⓘ in der Leiste): die warme Mitte zwischen den beiden Schleiern; an der linken und
   rechten Kante hängt ein Rest loser Gaze, der zur Mitte hin ausläuft; Schrift und Weinrot wie der Titel der Welt. */
body {
  --nk-info-grund: #f7c9ad; --nk-info-farbe: #5c0f1a; --nk-info-leise: #7c343b; --nk-info-linie: rgba(92, 15, 26, .12);
  --nk-info-akzent: #5c0f1a; --nk-info-schrift: "Manrope NK", "Avenir Next", Arial, sans-serif; --nk-info-schleier: rgba(92, 15, 26, .4);
  --nk-info-titel-groesse: 60px; --nk-info-titel-zeilen: 3; --nk-info-titel-max: 52px; --nk-info-titel-gewicht: 800;
}
/* hält gescrollten Text sicher im Blatt (ohne ragte er beim Scrollen ein paar Pixel über die Oberkante) */
.nk-info {
  contain: paint;
  background: linear-gradient(to right, rgba(247, 201, 173, 0), #f7c9ad 30px, #f7c9ad calc(100% - 30px), rgba(247, 201, 173, 0)),
    repeating-linear-gradient(88deg, rgba(140, 35, 37, .42) 0 1px, transparent 1px 6px),
    repeating-linear-gradient(-3deg, rgba(124, 52, 59, .38) 0 1px, transparent 1px 6px), var(--nk-info-grund);
}
/* das ✕ liegt auf dem Randdetail: sein Grund läuft weich aus, statt einen harten Kreis hineinzustanzen */
.nk-info__zu { background: radial-gradient(closest-side, var(--grund) 58%, transparent); }
