/* Nachklang, Welt: „Die Brotdose“. Violettes Dunkel, Kobaltemaille, Rost und das Apricot des Titels wie auf dem Cover.
   Titelschrift: Young Serif (The Young Serif Project Authors, SIL Open Font License 1.1), auf Latin reduziert. */
@font-face {
  font-family: "Young Serif NK"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(young-serif-latin.woff2) format("woff2");
}
@font-face {
  font-family: "Manrope NK"; font-style: normal; font-weight: 200 800; font-display: swap;
  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 {
  --nacht: #1e101d; --tief: #150b14; --apricot: #f5b277; --hell: #f7d6b4; --kobalt: #1d4a8a; --rost: #b0623a;
  --serif: "Young Serif NK", Georgia, "Times New Roman", serif; --sans: "Manrope NK", Arial, sans-serif; --k: 1;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  background: var(--nacht); color: var(--hell); 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: #f5b277; --nk-leiste-spur: rgba(245, 178, 119, .26); --nk-leiste-grund: rgba(21, 11, 20, .55);
  --nk-leiste-knopf: #f5b277; --nk-leiste-knopf-farbe: #1e101d; --nk-leiste-schrift: "Manrope NK", Arial, sans-serif; --nk-leiste-hoehe: 3px;
}
/* ein Hauch Malgrund wie auf dem Cover */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%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: 3px solid var(--apricot); 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; }

/* der Titel wie auf dem Cover: „Die“ klein über „Brotdose“ */
.titel {
  margin: 0; display: flex; flex-direction: column; align-items: center; color: var(--apricot); font-family: var(--serif); font-weight: 400;
  line-height: .86; letter-spacing: -.01em; text-shadow: 0 2px 18px rgba(21, 11, 20, .55);
}
.titel__die { font-size: .44em; margin: 0 0 .06em -.9em; }
.titel__wort { font-size: 1em; }

.plakat {
  position: fixed; z-index: 3; inset: 0; padding: calc(64px * var(--k)) 16px calc(34px * var(--k));
  display: flex; flex-direction: column; justify-content: space-between; align-items: center; text-align: center;
  pointer-events: none; transition: opacity .9s linear;
}
.plakat > * { pointer-events: auto; }
.plakat .titel { font-size: min(calc(150px * var(--k)), 17vw, 16vh); }
.plakat__zeile { display: flex; align-items: center; justify-content: center; gap: calc(20px * var(--k)); flex-wrap: wrap; }
.plakat__text {
  margin: 0; padding: .45em .9em; border-radius: 999px; background: rgba(21, 11, 20, .62);
  font: 600 calc(16px * var(--k))/1.35 var(--sans); color: var(--hell);
}
.los {
  border: 0; border-radius: 999px; padding: calc(15px * var(--k)) calc(36px * var(--k)); cursor: pointer;
  background: var(--apricot); color: var(--nacht); font: 400 calc(21px * var(--k))/1 var(--serif); letter-spacing: .01em;
  box-shadow: 0 5px 0 #8a4a2a, 0 8px 26px rgba(0, 0, 0, .35);
  transition: transform .15s, box-shadow .15s;
}
.los:hover { transform: translateY(-2px); box-shadow: 0 7px 0 #8a4a2a, 0 10px 28px rgba(0, 0, 0, .35); }
.los:active { transform: translateY(2px); box-shadow: 0 3px 0 #8a4a2a, 0 6px 20px rgba(0, 0, 0, .35); }
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(21, 11, 20, .72);
}
.standpunkte button {
  border: 0; border-radius: 999px; padding: calc(8px * var(--k)) calc(15px * var(--k)); cursor: pointer; background: none; color: var(--hell);
  font: 650 calc(14px * var(--k))/1 var(--sans); white-space: nowrap;
}
.standpunkte button[aria-pressed="true"] { background: var(--apricot); color: var(--nacht); }
.standpunkte button:hover { background: rgba(245, 178, 119, .16); }
.standpunkte button[aria-pressed="true"]:hover { background: var(--apricot); }
.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(--apricot); color: var(--nacht); 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 */
.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; } }
.titel--ende { font-size: min(calc(96px * var(--k)), 15vw, 11vh); }
.ende__weg {
  display: inline-block; margin-top: calc(22px * var(--k)); border-radius: 999px; padding: calc(13px * var(--k)) calc(28px * var(--k));
  text-decoration: none; background: var(--apricot); color: var(--nacht); font: 400 calc(18px * var(--k))/1 var(--serif);
  box-shadow: 0 5px 0 #8a4a2a;
}
.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(--tief); color: var(--hell);
  font: 600 15px/1.4 var(--sans);
}
.ohne-gl p { margin: 0; }
.ohne-gl .ende__weg { margin-top: 12px; box-shadow: none; }
.ohne-js a { color: var(--apricot); }

@media (max-width: 560px) {
  .standpunkte button { padding: 8px 11px; font-size: 13px; }
  .hinweis { bottom: 124px; }
  .plakat { padding-top: 70px; padding-bottom: 28px; }
  .plakat__text { font-size: 14px; }
  .los { font-size: 19px; }
}

/* Info-Fenster (ⓘ in der Leiste): ein Blatt aus der blauen Emaille der Dose mit ihrem rostigen Rand;
   der Titel in Apricot und Young Serif wie auf dem Cover. */
body {
  --nk-info-grund: #1c3a7a; --nk-info-farbe: #f7d6b4; --nk-info-leise: #f5b277; --nk-info-linie: rgba(247, 214, 180, .16);
  --nk-info-akzent: #f5b277; --nk-info-schrift: "Manrope NK", Arial, sans-serif; --nk-info-schleier: rgba(21, 11, 20, .45);
  --nk-info-titel-groesse: 50px; --nk-info-titel-zeilen: 2; --nk-info-titel-max: 13vw; --nk-info-titel-gewicht: 400; --nk-info-einzug: 40px;
}
.nk-info { box-shadow: inset 0 0 0 4px #a85c35, inset 0 0 0 5px rgba(94, 47, 27, .7), 0 28px 70px rgba(0, 0, 0, .34), 0 2px 8px rgba(0, 0, 0, .12); }
.nk-info__titel { max-width: 5.2em; font-family: "Young Serif NK", Georgia, serif; color: #f5b277; }
