
@font-face { font-family: "Hanken Grotesk"; font-weight: 400; font-display: swap; src: url("../fonts/hanken-latin-400.woff2") format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-weight: 500; font-display: swap; src: url("../fonts/hanken-latin-500.woff2") format("woff2"); }

:root {
  --bg: #0c0c0d;
  --w: #f4f4f1; --w2: #c2c2be;
  --y: #ffff00; --c: #00ffff; --g: #00ff00; --m: #ff00ff; --r: #ff0000; --b: #0000ff;
  --mono: "Cascadia Mono", "SF Mono", ui-monospace, Menlo, Consolas, "Lucida Console", monospace;
  --sans: "Hanken Grotesk", "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --pad: 48px;
  --fw: min(100vw, 1920px); --fh: min(100vh, 1200px);
  --fx: calc((100vw - var(--fw)) / 2); --fy: calc((100vh - var(--fh)) / 2);
}
* { box-sizing: border-box; }
html, body { margin: 0; background: #08080a; color: var(--w); font-family: var(--mono); -webkit-font-smoothing: antialiased; }
html:not([data-lang="de"]) [data-l="de"], html:not([data-lang="zh"]) [data-l="zh"], html:not([data-lang="en"]) [data-l="en"], html:not([data-lang="ja"]) [data-l="ja"] { display: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
body { min-height: 100svh; overflow: hidden; }

.stage { position: fixed; left: var(--fx); top: var(--fy); width: var(--fw); height: var(--fh); overflow: hidden; background: #08080a; }
.scene { position: absolute; left: 0; top: 0; transform-origin: 0 0; will-change: transform; }
.scene .film, .scene .mosaic { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.scene .film { object-fit: fill; }
.scene .mosaic { image-rendering: pixelated; visibility: hidden; }
.blocks .scene .mosaic { visibility: visible; }
.blocks .scene .film { visibility: hidden; }
.vig { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 80% 76% at 46% 52%, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, .38) 100%); }

.overlay { position: absolute; left: 0; top: 0; will-change: transform; }
.box { position: absolute; border: 1.5px solid var(--k); opacity: 0; transition: opacity .2s linear; }
.box.seen { opacity: 1; }
.box::before, .box::after { content: ""; position: absolute; width: 9px; height: 9px; border: 0 solid var(--k); }
.box::before { right: -1.5px; bottom: -1.5px; border-width: 0 4px 4px 0; }
.box::after { right: -1.5px; top: -1.5px; border-width: 4px 4px 0 0; }
.tab { position: absolute; left: -1.5px; bottom: 100%; display: flex; background: var(--k); color: #000; font-size: 15px; line-height: 24px; padding-left: 10px; white-space: nowrap; }
.tab b { font-weight: 400; margin-right: 10px; }
.tab i { font-style: normal; background: #000; color: var(--k); margin-left: 10px; padding: 0 8px; font-size: 13px; }
.box .tab { padding-right: 10px; }
.box.on .tab { padding-right: 14px; }
.box.below .tab { bottom: auto; top: 100%; }
.box.flip .tab, .box.flip.on .tab { left: auto; right: -1.5px; }
.box.flip.on .tab { right: -3px; }
.box.light .tab { color: #fff; }
.box.on { border-width: 3px; }
.box.on::before { right: -3px; bottom: -3px; }
.box.on::after { right: -3px; top: -3px; }
.box.on .tab { left: -3px; font-size: 24px; line-height: 38px; padding-left: 14px; }
.box.on .tab b { margin-right: 14px; }
.box.on .tab i { margin-left: 14px; font-size: 15px; }
.box:focus-visible { outline: 2px solid var(--w); outline-offset: 4px; }
@media (prefers-reduced-motion: no-preference) {
  .box.seen { animation: lock .28s var(--ease); }
  .box.on .tab { animation: tabgrow .24s var(--ease); transform-origin: left bottom; }
  .box.was:not(.on) .tab { animation: tabshrink .2s var(--ease); transform-origin: left bottom; }
  .box.below .tab { transform-origin: left top; }
  .box.flip .tab { transform-origin: right bottom; }
  .box.flip.below .tab { transform-origin: right top; }
  @keyframes tabgrow { from { transform: scale(.625); } }
  @keyframes tabshrink { from { transform: scale(1.6); } }
  @keyframes lock { from { transform: scale(1.18); opacity: 0; } to { transform: none; opacity: 1; } }
}

.more { position: absolute; left: 0; top: 0; width: max-content; max-width: 400px; padding: 8px 14px 12px; background: rgba(0, 0, 0, .82); border-left: 3px solid var(--k); display: none; }
.more.on { display: block; }
.more .meta + .go, .more ul + .go { margin-top: 10px; }
.more .meta { font-size: 15px; line-height: 22px; color: var(--k); }
.more ul { list-style: none; margin: 0; padding: 0; font-size: 14px; line-height: 21px; }
.more li { padding-left: 1ch; text-indent: -1ch; }
.more .meta + ul { margin-top: 6px; }
.more .go { display: inline-grid; place-items: center; background: var(--k); color: #000; width: 56px; height: 32px; }
.go svg { width: 18px; height: 18px; fill: currentColor; }
.more.light .go { color: #fff; }

.head { position: fixed; left: calc(var(--fx) + var(--pad)); right: calc(var(--fx) + var(--pad)); top: calc(var(--fy) + 16px); display: flex; align-items: flex-start; gap: 24px; font-size: 18px; line-height: 24px; z-index: 3; pointer-events: none; }
.head > * { pointer-events: auto; }
.head .who { font-family: var(--sans); }
.head .who b { display: block; font-weight: 500; font-size: 24px; line-height: 28px; }
.head .who > span { display: block; font-size: 15px; line-height: 20px; color: var(--w2); }
.head .who:focus-visible { outline: 2px solid var(--w); outline-offset: 4px; }
.head .stat { margin: 4px 0 0 auto; display: flex; align-items: baseline; gap: 28px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.head .lang { color: var(--w2); }
html[data-lang="de"] .head .lang [data-lang-set="de"], html[data-lang="zh"] .head .lang [data-lang-set="zh"], html[data-lang="en"] .head .lang [data-lang-set="en"], html[data-lang="ja"] .head .lang [data-lang-set="ja"] { color: var(--w); text-decoration: underline; text-underline-offset: 4px; }
.head .zeiten { display: flex; gap: 16px; }
.head .zeit { display: flex; gap: 7px; }
.head .zeit[hidden] { display: none; }
.head .zeit i { font-style: normal; color: var(--w2); }
.head .zeit b { font-weight: 400; display: inline-block; min-width: 5ch; }
.head .zeit:first-child b:empty { min-width: 8ch; }
.head .zeit.own i, .head .zeit.own b { color: var(--y); }
@media (min-width: 900px) and (max-width: 1199px) { .head { font-size: 15px; } .head .stat { gap: 18px; } .head .zeiten { gap: 12px; } }
@media (min-width: 900px) and (max-width: 1049px) { .head { gap: 16px; } .head .stat { gap: 12px; } .head .zeiten { gap: 8px; } .head .zeit { gap: 5px; } .head .who { flex: none; } .head .who > span { font-size: 14px; white-space: nowrap; } }
@media (min-width: 900px) and (pointer: coarse) { .head .lang button { padding: 10px 14px; margin: -10px 0; } }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.intro { position: fixed; left: calc(var(--fx) + var(--pad)); top: calc(var(--fy) + 76px); width: 430px; z-index: 3; }
.intro .blue { display: flex; align-items: stretch; background: var(--b); }
.intro .blue.nav { width: max-content; min-width: 100%; max-width: calc(var(--fw) - 2 * var(--pad)); }
.intro .ttl { flex: 1; min-width: 0; padding: 12px 14px 14px; }
.back { flex: none; display: grid; place-items: center; width: 46px; color: var(--y); box-shadow: inset -2px 0 #08080a; }
.back svg { display: block; width: 14px; height: 26px; fill: currentColor; }
.back:focus-visible { outline: 2px solid var(--w); outline-offset: 2px; }
@media (hover: hover) { .back:hover { background: var(--y); color: var(--b); } }
.back:active { background: var(--y); color: var(--b); }
.intro h1 { margin: 0; font: 400 40px/46px var(--mono); color: var(--y); }
.intro .sub { margin: 4px 0 0; font-size: 18px; line-height: 26px; color: var(--c); }
.intro .txt { margin: 14px 0 0; font-size: 16px; line-height: 24px; }

.plan { position: fixed; right: calc(var(--fx) + var(--pad)); top: calc(var(--fy) + 84px); margin: 0; width: 190px; z-index: 3; }
.plan svg { display: block; overflow: visible; }
.plan rect { fill: none; stroke: var(--k); pointer-events: all; cursor: pointer; }
.plan rect.on { fill: var(--k); }
.plan figcaption { margin-top: 6px; font-size: 13px; line-height: 18px; color: var(--w2); display: flex; justify-content: space-between; }


.bars { position: fixed; left: var(--pad); right: var(--pad); bottom: calc(var(--fy) + 72px); height: 52px; display: grid; grid-template-columns: repeat(var(--n, 7), 1fr); z-index: 3; }
.bar { display: flex; align-items: baseline; gap: 10px; padding: 12px 0 0 14px; color: #000; font-size: 15px; line-height: 24px; white-space: nowrap; overflow: hidden; background: var(--k); transition: transform .15s var(--ease); }
.bar b { font-weight: 400; font-size: 24px; }
.bar.dark { color: var(--w); }
.bar.here { box-shadow: 0 -6px 0 0 #08080a, 0 -8px 0 0 var(--w); }
.bar.key { display: none; }
.bar .ts { display: none; }
@media (hover: hover) { .bar:hover { transform: translateY(-4px); } }
.bar:focus-visible { outline: 2px solid var(--w); outline-offset: 2px; }

.ticker { position: fixed; left: var(--pad); right: var(--pad); bottom: calc(var(--fy) + 24px); height: 30px; display: flex; align-items: center; overflow: hidden; font-size: 15px; white-space: nowrap; background: rgba(0, 0, 0, .55); z-index: 3; }
.ticker > b { flex: none; font-weight: 400; background: var(--r); color: #fff; padding: 0 12px; line-height: 30px; position: relative; z-index: 1; }
.ticker .run { display: flex; flex: none; }
.ticker .run > span { display: flex; flex: none; padding-left: 16px; }
.ticker .item { font: inherit; color: inherit; background: none; border: 0; padding: 0; line-height: 30px; cursor: copy; }
.ticker .item { text-align: left; }
.ticker .item i { font-style: normal; color: var(--w2); }
.ticker .item::after { content: "■"; color: var(--y); margin: 0 14px; }
.ticker .item:hover, .ticker .item:focus-visible { color: var(--y); outline: 0; }
.ticker .item:focus-visible span { outline: 2px solid var(--w); outline-offset: 2px; }
.ticker .item.done { color: var(--g); }
@media (prefers-reduced-motion: no-preference) {
  .ticker .run { animation: run 60s linear infinite; }
  .ticker .run.held { animation: none; }
  @keyframes run { to { transform: translateX(-50%); } }
}
@media (hover: hover) { .ticker:hover .run { animation-play-state: paused; } }

.pager, .cards { display: none; }

.leaving .box:not(.on), .leaving .more, .leaving .head, .leaving .intro, .leaving .plan, .leaving .bars, .leaving .ticker, .leaving .pager, .leaving .cards { opacity: 0 !important; transition: opacity .2s linear; }
.leaving .scene { transition: transform .7s cubic-bezier(.6, 0, .3, 1); }
.leaving .box.on { transition: left .7s cubic-bezier(.6, 0, .3, 1), top .7s cubic-bezier(.6, 0, .3, 1), width .7s cubic-bezier(.6, 0, .3, 1), height .7s cubic-bezier(.6, 0, .3, 1), opacity .25s linear .5s; }

@media (min-width: 900px) {
  .bar { display: block; padding: 5px 0 0 12px; font-size: 13px; line-height: 18px; }
  .bar b { display: block; font-size: 20px; line-height: 22px; }
}
@media (min-width: 900px) and (max-width: 1239px) { .bar .tl { display: none; } .bar .ts { display: inline; } }
@media (max-width: 1099px) { .plan { display: none; } }
.noplan .plan { display: none; }
.tight .intro { top: auto; bottom: calc(var(--fy) + 176px); }
@media (min-width: 900px) and (max-width: 1299px) {
  .tight .intro { width: max-content; }
  .tight .intro .ttl { padding: 8px 12px 10px; }
  .tight .intro h1 { font-size: 26px; line-height: 32px; }
  .tight .intro .sub { margin-top: 2px; font-size: 13px; line-height: 20px; }
}
@media (max-height: 760px) and (min-width: 900px) { .intro .txt { display: none; } }

@media (max-width: 899px) {
  :root { --pad: 16px; }
  html, body { background: var(--bg); }
  body { height: var(--vh, 100svh); min-height: 0; overflow: hidden; padding-top: 10px; display: flex; flex-direction: column; }
  body > * { flex: none; }
  .head { position: static; margin: 0 var(--pad) 0; display: grid; grid-template-columns: 1fr auto; grid-template-rows: 21px auto; align-items: baseline; gap: 0 12px; font-size: 14px; line-height: 20px; }
  .head .stat { display: contents; }
  .head .lang { display: none; }
  .head .who { grid-area: 1 / 1; justify-self: start; padding: 12px 0; margin: -12px 0; }
  .head .who b { font-size: 17px; line-height: 20px; }
  .head .who > span { display: none; }
  .head .pg { grid-area: 1 / 2; justify-self: end; }
  .head .zeiten { display: none; }
  .head .zeit { gap: 5px; }
  .intro { position: static; width: auto; margin: 8px var(--pad) 0; }
  .intro .blue.nav { width: auto; max-width: none; }
  .intro .ttl { padding: 8px 12px 10px; }
  .back { width: 44px; }
  .intro h1 { font-size: 26px; line-height: 32px; }
  .intro .sub { margin-top: 2px; font-size: 14px; line-height: 20px; }
  .intro .txt, .plan, .more, .more.on { display: none; }

  .stage { position: relative; left: auto; top: auto; width: auto; height: auto; flex: 1 1 0; min-height: 150px; margin-top: 8px; touch-action: pan-y; }
  .box { display: none; border-width: 3px; }
  .box.on { display: block; }
  .box .tab { left: -3px; font-size: 20px; line-height: 32px; padding-left: 12px; }
  .box.on .tab i { font-size: 14px; }
  .edge { position: absolute; top: 50%; margin-top: -30px; width: 44px; height: 60px; display: grid; place-items: center; font-size: 22px; background: rgba(0, 0, 0, .45); z-index: 2; }
  .edge.l { left: 0; } .edge.r { right: 0; }

  .pager { display: flex; align-items: center; gap: 10px; margin: 10px var(--pad) 0; font-size: 13px; line-height: 16px; color: var(--w2); }
  .pager i { position: relative; width: 14px; height: 14px; border: 1.5px solid var(--k); }
  .pager i::after { content: ""; position: absolute; inset: -16px -6.5px; }
  .pager i.on { background: var(--k); }
  .pager span { margin-left: auto; }

  .cards { display: grid; margin: 12px var(--pad) 0; }
  .card { grid-area: 1 / 1; visibility: hidden; }
  .card.on { visibility: visible; }
  .card .meta { font-size: 14px; line-height: 20px; color: var(--k); }
  .card ul { list-style: none; margin: 6px 0 0; padding: 0; font-size: 14px; line-height: 21px; }
  .card li { padding-left: 1ch; text-indent: -1ch; }
  .card .go { margin-top: 12px; display: grid; place-items: center; background: var(--k); color: #000; height: 46px; }
  .card .go svg { width: 22px; height: 22px; }
  .card .go:first-child { margin-top: 0; }
  .card.light .go { color: #fff; }

  .bars { position: static; height: auto; margin: 12px var(--pad) 0; grid-template-columns: repeat(4, 1fr); gap: 3px; }
  .bar { display: block; height: 44px; padding: 3px 0 0 8px; font-size: 11px; line-height: 15px; }
  .bar b { display: block; font-size: 19px; line-height: 22px; }
  .bar .tl { display: none; }
  .bar .ts { display: inline; }
  .bar.here { box-shadow: none; outline: 2px solid var(--w); outline-offset: -2px; background: var(--bg); color: var(--w); }
  .bar.key { display: block; background: #222224; color: var(--w); text-align: left; }
  .ticker { position: static; margin: 10px var(--pad) 14px; height: 28px; font-size: 13px; background: #000; }
  .ticker > b { line-height: 28px; padding: 0 8px; }
}
@media (min-width: 900px) { .edge { display: none; } }

@media (min-width: 600px) and (max-width: 899px) {
  .head { grid-template-rows: 24px 24px; align-items: start; font-size: 16px; line-height: 24px; }
  .head .who { grid-area: 1 / 1 / 3 / 2; }
  .head .who b { font-size: 22px; line-height: 28px; }
  .head .who > span { display: block; }
  .head .zeiten { display: flex; grid-area: 2 / 2; font-size: 14px; line-height: 20px; }
  .intro h1 { font-size: 30px; line-height: 38px; }
  .bar { font-size: 13px; }
}

@media (max-width: 899px) and (max-height: 519px) {
  body { display: block; height: auto; min-height: var(--vh, 100svh); overflow: auto; }
  .stage { height: 240px; }
}
@media (max-width: 899px) and (max-height: 520px) { .head .zeiten { display: none; } }
@media (pointer: coarse), (max-width: 899px) { html, body { touch-action: pan-x pan-y; } }

@media print {
  .stage, .ticker, .head .lang, .head .zeiten, .bar.key { display: none; }
  html, body { background: #fff; color: #000; }
  body { overflow: visible; }
  .head .who > span { color: #000; }
  .intro .blue, .bar { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .head, .intro, .plan, .bars { position: static; margin: 12pt; }
}

.lade { position: absolute; left: var(--lade-x, 50%); top: var(--lade-y, 60%); width: min(220px, 60%); height: 10px; box-sizing: border-box; padding: 2px; transform: translate(-50%, -50%); border: 1px solid rgba(244, 244, 241, .6); background: rgba(8, 8, 10, .7); pointer-events: none; z-index: 6; opacity: 0; animation: lade-da .2s linear .35s forwards; }
.lade.frei { position: fixed; left: 50%; top: 50%; }
.lade.weg { animation: none; opacity: 0; }
.lade b { display: block; width: 0; height: 100%; background: repeating-linear-gradient(to right, #0ff 0 8px, transparent 8px 10px); }
@keyframes lade-da { to { opacity: 1; } }
@media print { .lade { display: none; } }
