/* Nachklang, Welt: „Die gute Hand“. Weißes Laken, kühles Graublau in den Falten, Tinte wie die Faust auf dem Cover. */
@font-face {
  font-family: "EB Garamond NK"; font-style: normal; font-weight: 400 800; font-display: swap;
  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: "EB Garamond NK"; font-style: normal; font-weight: 400 800; font-display: swap;
  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;
}
:root {
  --tinte: #131f27; --tinte-weich: #243440; --laken: #eef0ea; --laken-hell: #f5f5ef; --falte: #99a7a4; --aermel: #acbcc5;
  --serif: "EB Garamond NK", Georgia, "Times New Roman", serif; --k: 1;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  background: #dfe2dd; 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: #f1f1ec; --nk-leiste-spur: rgba(241, 241, 236, .3); --nk-leiste-grund: rgba(19, 31, 39, .5);
  --nk-leiste-knopf: #f1f1ec; --nk-leiste-knopf-farbe: #131f27; --nk-leiste-schrift: "EB Garamond NK", Georgia, serif; --nk-leiste-hoehe: 3px;
}
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px 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[data-phase="warten"] .raum { cursor: default; }

/* Plakat: der Titel links oben wie auf dem Cover, darunter liegt das Laken */
.plakat {
  position: fixed; z-index: 3; inset: 0; pointer-events: none;
  padding: calc(30px * var(--k)) calc(40px * var(--k)) calc(34px * var(--k));
  display: flex; flex-direction: column; justify-content: space-between; transition: opacity 1.1s linear;
}
.plakat > * { pointer-events: auto; }
.plakat__titel {
  margin: 0; align-self: flex-start; color: var(--tinte); font-weight: 800; letter-spacing: -.028em; line-height: .84;
  font-size: min(calc(150px * var(--k)), 15vw, 18.5vh); pointer-events: none;
}
.plakat__titel span { display: block; }
.plakat__fuss { display: flex; align-items: center; gap: calc(22px * var(--k)); flex-wrap: wrap; }
.plakat__text {
  margin: 0; font: 500 calc(19px * var(--k))/1.3 var(--serif); color: var(--tinte-weich);
  background: rgba(245, 245, 239, .72); padding: 4px 10px; border-radius: 2px;
}
.los {
  border: 0; border-radius: 3px; padding: calc(13px * var(--k)) calc(32px * var(--k)); cursor: pointer;
  background: var(--tinte); color: #f5f5ef; font: 700 calc(21px * var(--k))/1 var(--serif); letter-spacing: .02em;
  box-shadow: 0 6px 18px rgba(19, 31, 39, .25); transition: transform .15s, box-shadow .15s;
}
.los:hover { transform: translateY(-2px); box-shadow: 0 9px 22px rgba(19, 31, 39, .3); }
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(4px * var(--k));
  padding: 4px; border-radius: 4px; background: rgba(19, 31, 39, .62);
}
.standpunkte button {
  border: 0; border-radius: 3px; padding: calc(8px * var(--k)) calc(16px * var(--k)); cursor: pointer; background: none; color: #e6e9e4;
  font: 600 calc(16px * var(--k))/1 var(--serif); white-space: nowrap; letter-spacing: .01em;
}
.standpunkte button[aria-pressed="true"] { background: #f1f1ec; color: var(--tinte); }
.standpunkte button:hover { background: rgba(241, 241, 236, .16); }
.standpunkte button[aria-pressed="true"]:hover { background: #f1f1ec; }
.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 16px; border-radius: 3px; background: rgba(245, 245, 239, .92); color: var(--tinte); text-align: center;
  font: 500 calc(16px * var(--k))/1.35 var(--serif); opacity: 0; transition: opacity .6s linear; pointer-events: none;
}
.hinweis.an { opacity: 1; }

/* Ende */
.ende {
  position: fixed; z-index: 3; left: 0; right: 0; top: calc(78px * 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__titel { margin: 0; color: var(--tinte); font-weight: 800; letter-spacing: -.025em; line-height: .9; font-size: min(calc(104px * var(--k)), 14vw); }
.ende__weg {
  display: inline-block; margin-top: calc(24px * var(--k)); border-radius: 3px; padding: calc(13px * var(--k)) calc(28px * var(--k));
  text-decoration: none; background: var(--tinte); color: #f5f5ef; font: 700 calc(19px * var(--k))/1 var(--serif);
  box-shadow: 0 6px 18px rgba(19, 31, 39, .25);
}
.ende__weg:hover { transform: translateY(-2px); }
.ende__hilfe {
  margin: calc(18px * var(--k)) 0 0; max-width: min(40em, calc(100vw - 32px)); padding: 8px 14px; border-radius: 3px;
  background: rgba(245, 245, 239, .82); color: var(--tinte-weich); font: 500 calc(15px * var(--k))/1.4 var(--serif); text-align: center;
}
.ende__hilfe a { color: var(--tinte); font-weight: 700; white-space: nowrap; text-underline-offset: 2px; }
.ohne-gl .ende__hilfe { margin: 12px 0 0; padding: 0; background: none; color: #dfe3de; text-align: left; font-size: 15px; }
.ohne-gl .ende__hilfe a, .ohne-js a { color: #f5f5ef; }

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

@media (max-width: 560px) {
  .plakat { padding: 22px 18px 24px; }
  .plakat__titel { font-size: min(27vw, 17vh); }
  .plakat__fuss { gap: 14px; }
  .plakat__text { font-size: 16px; }
  .los { font-size: 19px; padding: 13px 28px; }
  .standpunkte button { padding: 8px 12px; font-size: 15px; }
  .hinweis { bottom: 70px; font-size: 15px; }
}

/* Info-Fenster (ⓘ in der Leiste): ein Stück vom weißen Laken, in Tinte beschrieben; oben rechts laufen
   seine Falten wie in der Welt auf einen Punkt zu und verlieren sich. */
body {
  --nk-info-grund: #f5f5ef; --nk-info-farbe: #131f27; --nk-info-leise: #3b4a53; --nk-info-linie: rgba(19, 31, 39, .1);
  --nk-info-akzent: #131f27; --nk-info-schrift: "EB Garamond NK", Georgia, serif; --nk-info-schleier: rgba(19, 31, 39, .45);
  --nk-info-titel-groesse: 84px; --nk-info-titel-zeilen: 3; --nk-info-titel-max: 21vw; --nk-info-titel-gewicht: 800;
  --nk-info-muster: radial-gradient(circle at 100% 0, rgba(245, 245, 239, 0) 40px, #f5f5ef 340px),
    repeating-conic-gradient(from 185deg at 100% 0, rgba(153, 167, 164, 0) 0deg, rgba(153, 167, 164, .2) 5deg,
      rgba(153, 167, 164, 0) 9deg, rgba(153, 167, 164, .1) 12deg, rgba(153, 167, 164, 0) 16deg);
}
