/* ============================================================================
   Nachklang, Installation: „Was wir uns versprochen haben"
   Das Cover als begehbarer Raum: rote Fläche, blassrosa Lichtband, zwei
   dunkle Stühle, ein Gästebuch. Die Oberfläche bleibt so knapp wie das Plakat.
   ========================================================================== */

@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;
}
/* Handschriften im Gästebuch */
@font-face { font-family: "Kalam NK"; font-weight: 400; font-display: block; src: url(/assets/fonts/kalam-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Caveat NK"; font-weight: 400 700; font-display: block; src: url(/assets/fonts/caveat-latin-wght-normal.woff2) format("woff2-variations"), url(/assets/fonts/caveat-latin-wght-normal.woff2) format("woff2"); }
@font-face { font-family: "Homemade Apple NK"; font-weight: 400; font-display: block; src: url(/assets/fonts/homemade-apple-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Just Another Hand NK"; font-weight: 400; font-display: block; src: url(/assets/fonts/just-another-hand-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Architects Daughter NK"; font-weight: 400; font-display: block; src: url(/assets/fonts/architects-daughter-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Pinyon Script NK"; font-weight: 400; font-display: block; src: url(/assets/fonts/pinyon-script-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "EB Garamond NK"; font-style: italic; font-weight: 400 800; font-display: block; src: url(/assets/fonts/eb-garamond-latin-wght-italic.woff2) format("woff2-variations"), url(/assets/fonts/eb-garamond-latin-wght-italic.woff2) format("woff2"); }

:root {
  --rot: #e4201a;
  --rosa: #fabfc2;
  --nacht: #041126;
  --sans: "Archivo NK", "Helvetica Neue", Arial, sans-serif;
  --k: 1;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; height: 100%; }
html { background: var(--rot); overflow: hidden; }
body {
  background: var(--rot); color: var(--nacht); 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;
}
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--nacht); 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; }

.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; }

/* Titel wie auf dem Plakat */
.plakat__titel, .ende__titel {
  margin: 0; display: grid; font-weight: 900; font-stretch: 100%; line-height: .86; letter-spacing: -.02em; color: var(--nacht);
}
.plakat__titel .klein, .ende__titel .klein { font-size: .42em; letter-spacing: -.01em; margin-bottom: .1em; }

.plakat {
  position: fixed; z-index: 3; left: calc(28px * var(--k)); top: calc(26px * var(--k)); right: 16px;
  transition: opacity .9s linear;
}
.plakat__titel { font-size: min(calc(118px * var(--k)), 12.6vw); }
.plakat__text { margin: .9em 0 1.1em; font: 600 calc(17px * var(--k))/1.35 var(--sans); max-width: 26em; }
.eintreten {
  border: 0; border-radius: 999px; padding: calc(14px * var(--k)) calc(30px * var(--k)); cursor: pointer;
  background: var(--nacht); color: var(--rosa); font: 800 calc(19px * var(--k))/1 var(--sans); letter-spacing: .01em;
  box-shadow: 6px 6px 0 rgba(4, 17, 38, .28);
}
.eintreten:hover { transform: translate(-1px, -1px); box-shadow: 8px 8px 0 rgba(4, 17, 38, .28); }
body:not([data-phase="warten"]) .plakat { opacity: 0; pointer-events: none; }

/* Standpunkte, Leiste */
.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(4, 17, 38, .82);
}
.standpunkte button {
  border: 0; border-radius: 999px; padding: calc(8px * var(--k)) calc(14px * var(--k)); cursor: pointer; background: none; color: var(--rosa);
  font: 700 calc(14px * var(--k))/1 var(--sans); white-space: nowrap;
}
.standpunkte button[aria-pressed="true"] { background: var(--rosa); color: var(--nacht); }
.standpunkte button:hover { background: rgba(250, 191, 194, .18); }
.standpunkte button[aria-pressed="true"]:hover { background: var(--rosa); }
/* Leiste und ✕ (aus /assets/welt/leiste.js) teilen sich die Farben */
body {
  --nk-leiste-farbe: #041126; --nk-leiste-spur: rgba(4, 17, 38, .2); --nk-leiste-grund: rgba(4, 17, 38, .1); --nk-leiste-knopf: #041126;
  --nk-leiste-knopf-farbe: #fabfc2; --nk-leiste-schrift: "Archivo NK", Arial, sans-serif; --nk-leiste-hoehe: 3px;
}
body.z-dunkel {
  --nk-leiste-farbe: #fabfc2; --nk-leiste-spur: rgba(250, 191, 194, .22); --nk-leiste-grund: rgba(250, 191, 194, .08);
  --nk-leiste-knopf: #fabfc2; --nk-leiste-knopf-farbe: #041126;
}
.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(--nacht); color: var(--rosa); text-align: center;
  font: 600 calc(14px * var(--k))/1.35 var(--sans); opacity: 0; transition: opacity .6s linear; pointer-events: none;
}
.hinweis.an { opacity: 1; }

/* Ende: wieder das Plakat */
.ende {
  position: fixed; z-index: 3; left: calc(28px * var(--k)); top: calc(76px * var(--k)); right: 16px; max-width: 760px;
  animation: ende 2.4s linear both;
}
@keyframes ende { from { opacity: 0; } to { opacity: 1; } }
.ende__titel { font-size: min(calc(92px * var(--k)), 11.8vw); }
.ende__weg {
  display: inline-block; margin-top: calc(22px * var(--k)); border-radius: 999px; padding: calc(13px * var(--k)) calc(26px * var(--k));
  text-decoration: none; background: var(--nacht); color: var(--rosa); font: 800 calc(17px * var(--k))/1 var(--sans); letter-spacing: .01em;
  box-shadow: 6px 6px 0 rgba(4, 17, 38, .28);
}
.ende__weg:hover { transform: translate(-1px, -1px); box-shadow: 8px 8px 0 rgba(4, 17, 38, .28); }

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

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

/* Info-Fenster (ⓘ in der Leiste): ein Stück des blassrosa Lichtbands, oben und unten schräg
   angeschnitten wie auf dem Cover (das Rot der Fläche liegt als Kante über dem Text, der darunter
   wegläuft); Schrift im Nachtblau, der Titel schwer wie auf dem Plakat. */
body {
  --nk-info-grund: #fabfc2; --nk-info-farbe: #041126; --nk-info-leise: #6a1e1b; --nk-info-linie: rgba(4, 17, 38, .12);
  --nk-info-akzent: #041126; --nk-info-schrift: "Archivo NK", "Helvetica Neue", Arial, sans-serif; --nk-info-schleier: rgba(4, 17, 38, .45);
  --nk-info-titel-groesse: 54px; --nk-info-titel-zeilen: 2; --nk-info-titel-max: 48px; --nk-info-titel-gewicht: 900;
}
/* hält gescrollten Text sicher im Blatt (ohne ragte er beim Scrollen ein paar Pixel über die Oberkante) */
.nk-info { contain: paint; }
.nk-info::before, .nk-info::after {
  content: ""; position: absolute; left: 0; right: 0; z-index: 1; height: 44px; background: var(--rot); pointer-events: none;
}
.nk-info::before { top: 0; clip-path: polygon(0 0, 100% 0, 100% 10%, 0 100%); }
.nk-info::after { bottom: 0; clip-path: polygon(0 90%, 100% 0, 100% 100%, 0 100%); }
