@font-face {
  font-family: Inter;
  src: url("fonts/inter-latin-400-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url("fonts/inter-latin-500-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url("fonts/inter-latin-600-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}
:root {
  color-scheme: light;
  --page: #fbfaf8;
  --ink: #121212;
  --line: #dedbd4;
  --muted: #5f615f;
  --radius: 7px;
  --accent: #8b623f;
  --gutter: clamp(1.25rem, 4vw, 5rem);
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--page);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body, h1, p, dl, dd, form { margin: 0; }
button, a { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.world {
  isolation: isolate;
  position: relative;
  min-height: 100svh;
  padding: clamp(1.5rem, 4vh, 3rem) var(--gutter) 1rem;
  display: grid;
  grid-template-rows: auto 1fr auto;
  align-items: center;
  overflow: clip;
}
.art { position: absolute; z-index: -1; inset: 0; overflow: hidden; }
header, .notice, footer { position: relative; }
.brand { display: block; width: clamp(8rem, 11vw, 12rem); height: auto; mix-blend-mode: multiply; }
.notice {
  width: min(33vw, 27.5rem);
  container-type: inline-size;
  padding-block: clamp(1.25rem, 3.5vh, 2.6rem);
}
h1 {
  font-size: clamp(1.7rem, 10.1cqw, 3.05rem);
  line-height: 1.06;
  letter-spacing: -.037em;
  font-weight: 600;
}
h1 span { display: block; }
#start-date, #delay {
  margin-top: clamp(1rem, 2.7vh, 1.65rem);
  font-size: clamp(1rem, 1.22vw, 1.17rem);
  line-height: 1.45;
}
#start-date span { display: inline-block; }
time { font-weight: 600; }
#countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(.25rem, 1.5cqw, .5rem);
  margin-block: clamp(1.1rem, 3vh, 1.85rem) clamp(1rem, 2.4vh, 1.5rem);

}
#countdown div {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  justify-content: center;
  gap: .18rem;
  padding: .8rem 0 .65rem;
  text-align: center;
  background: #f7f6f3;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
dt { font-size: clamp(.74rem, .9vw, .87rem); font-weight: 500; color: var(--muted); line-height: 1.35; }
dd {
  font-kerning: none;
  font-size: clamp(1.7rem, 15.0cqw, 4.45rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: .012em;
  font-variant-numeric: lining-nums tabular-nums;
}
.shop-link {
  display: flex;
  width: 100%;
  min-height: 3.25rem;
  align-items: center;
  justify-content: space-between;
  gap: .45rem;
  padding: .8rem clamp(.58rem, 3cqw, 1rem);
  border-radius: var(--radius);
  background: var(--ink);
  color: white;
  font-size: clamp(.74rem, 4.65cqw, 1.125rem);
  line-height: 1.3;
  font-weight: 500;
  letter-spacing: 0;
  white-space: nowrap;
}
.shop-link svg { flex: 0 0 1.2em; height: 1.2em; }
.shop-link:hover { background: #303030; }
#delay { margin-bottom: 1.5rem; }
footer { width: fit-content; display: flex; gap: 1.3rem; font-size: .74rem; }
footer a { padding-block: .5rem; }
footer a:hover { text-decoration: underline; }
@media (min-width: 651px) and (max-width: 970px) {
  .notice { width: 49vw; }
}
@media (max-width: 650px) and (orientation: portrait) {
  .world { padding: 0 1.4rem .5rem; grid-template-rows: minmax(15rem, 1fr) auto auto; }
  .art { position: relative; grid-row: 1; grid-column: 1; align-self: stretch; margin-inline: -1.4rem; min-height: 35svh; }
  header { grid-row: 1; grid-column: 1; align-self: start; justify-self: start; margin-top: .9rem; padding: .55rem .65rem; background: var(--page); border-radius: .15rem; }
  .brand { width: 7.8rem; }
  .notice { width: 100%; padding: 1rem 0 .65rem; grid-row: 2; }
  #start-date, #delay { margin-top: .75rem; }
  #countdown { margin: 1.15rem 0; }
  footer { grid-row: 3; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
@media (min-width: 651px) and (max-width: 1000px) and (orientation: portrait) {
  .world { grid-template-rows: auto 1fr auto auto; }
  .notice { grid-row: 3; width: min(100%, 30rem); padding: 1.5rem 0; }
}
/* Direkte Bedienung am Globus */
.world .art {
  position: absolute; inset: 0 0 0 auto; width: 68%; z-index: 0;
  display: grid; place-items: center; margin: 0; pointer-events: none;
}
.globe-anchor { width: min(100%, 103svh); aspect-ratio: 760 / 690; }
.globe-view {
  position: fixed; inset: 0; cursor: grab;
  touch-action: none; user-select: none; -webkit-user-select: none;
}
.globe-view.dragging { cursor: grabbing; }
.globe { display: block; width: 100%; height: 100%; }
.world .notice,.world header,.world footer { z-index: 1; }
.map-tools {
  pointer-events: auto; position: absolute; right: var(--gutter); bottom: 1.15rem;
  display: flex; align-items: flex-end; gap: .5rem;
}
.zoom {
  display: flex;
  border: 1px solid #c9c6be; border-radius: 7px; background: white; overflow: hidden;
}
.zoom button { border: 0; background: white; min-width: 42px; min-height: 38px; color: var(--ink); font-size: 19px; line-height: 1; }
.zoom button + button { border-left: 1px solid var(--line); }
.zoom button:is(:hover,:focus-visible) { background: #f1f0eb; }
.zoom button:disabled { color: #b4b3ad; }
.zoom button:focus-visible { outline-offset: -3px; }
.globe-view:focus-visible { outline: none; }
.globe-view:focus-visible + .art .zoom { outline: 2px solid var(--accent); outline-offset: 3px; }
@media (min-width: 651px) and (max-width: 1000px) and (orientation: portrait) {
  .world .art { position: relative; width: 100%; grid-row: 2; min-height: 19rem; }
  .globe-anchor { width: min(100%, 51svh); }
}
@media (max-width: 650px) and (orientation: portrait) {
  .world .art { position: relative; inset: auto; width: auto; margin: 0 -1.4rem; grid-row: 1; grid-column: 1; align-self: stretch; min-height: 17rem; }
  .globe-anchor { width: min(100%, 49svh); }
  .map-tools { bottom: .4rem; right: 1.4rem; }
  .world header { pointer-events: none; }
}

.world header { width: fit-content; }
.world :is(header, .notice, footer)::before {
  content: ""; position: absolute; z-index: -1;
  inset: -.35rem -.65rem; border-radius: var(--radius);
  background: rgb(251 250 248 / 92%); pointer-events: none;
}
.world .notice::before { inset: 0 clamp(-1.35rem, -1.5vw, -.8rem); }
@media (orientation: portrait) and (max-width: 1000px) {
  .world .notice::before { inset: 0 -.65rem; }
}

.roasting { color: #aa6741; }
.harvest { color: #38745f; }
.consumption { color: #ae5839; }
.event > circle { stroke: currentColor; }
.world .art { overflow: visible; }
.belt-labels {
  font: 400 10px Inter, sans-serif;
  letter-spacing: .025em;
  fill: #637268;
  pointer-events: none;
}

.factory { color: #46646a; }
.map-key {
  display: grid; grid-template-columns: repeat(5, auto); gap: 1px;
  list-style: none; margin: 0; padding: 0; overflow: hidden;
  border: 1px solid #c9c6be; border-radius: var(--radius); background: var(--line);
  font-size: .77rem; line-height: 1.25;
}
.map-key li {
  display: flex; align-items: center; gap: .35rem; padding: .38rem .55rem;
  background: var(--page); white-space: nowrap;
}
.map-key svg { flex: 0 0 1.05rem; width: 1.05rem; height: 1.05rem; }
@media (orientation: landscape) and (max-width: 1000px) {
  .map-tools { position: fixed; flex-direction: column-reverse; right: 2vw; bottom: .8rem; }
  .map-key { grid-template-columns: repeat(2, auto); }
}
@media (orientation: portrait) and (max-width: 1000px) {
  .world .art { grid-template-rows: minmax(0, 1fr) auto; }
  .map-tools { position: static; width: 100%; padding: 0 var(--gutter) .4rem; justify-content: center; }
  .map-tools .zoom { position: absolute; top: .85rem; right: var(--gutter); }
  .map-key { width: min(100%, 38rem); }
}
@media (orientation: portrait) and (max-width: 1000px), (orientation: landscape) and (max-width: 1000px) {
  .map-key {
    display: flex; flex-wrap: wrap; justify-content: center;
    width: fit-content; max-width: 100%; gap: .1rem .42rem;
    padding: .18rem .35rem; border-color: #e2dfd8; border-radius: 4px;
    background: rgb(251 250 248 / 94%); color: #565954;
    font-size: .7rem; line-height: 1.23;
  }
  .map-key li { gap: .15rem; padding: 0; background: transparent; }
  .map-key svg { flex-basis: .76rem; width: .76rem; height: .76rem; }
}
@media (orientation: landscape) and (max-width: 1000px) and (max-height: 480px) {
  .map-key { max-width: 40vw; }
}

@media (min-width: 1001px), (min-width: 900px) and (orientation: landscape) and (min-height: 481px) {
  .map-tools {
    --tool-height: 26px;
    position: absolute; right: var(--gutter); bottom: 1.15rem; width: max-content;
    flex-direction: row; align-items: center; gap: .35rem;
  }
  .map-key {
    display: flex; flex-wrap: nowrap; width: auto; height: var(--tool-height);
    padding: 0; gap: 1px; align-items: stretch; background: var(--line);
    border: 1px solid #d5d2cd; border-radius: 4px; font-size: .69rem; color: #565954;
  }
  .map-key li { gap: .19rem; padding: 0 .36rem; background: var(--page); }
  .map-key svg { flex-basis: .78rem; width: .78rem; height: .78rem; }
  .map-tools .zoom { height: var(--tool-height); border-radius: 4px; }
  .zoom button {
    min-width: 0; min-height: 0; width: calc(var(--tool-height) - 2px); height: 100%;
    padding: 0; display: grid; place-items: center; font-size: 15px;
  }
}
@media (min-width: 900px) and (max-width: 1200px) and (orientation: landscape) and (min-height: 481px) {
  .world { padding-bottom: 3.35rem; }
}
@media (min-width: 900px) and (max-width: 1000px) and (orientation: landscape) and (min-height: 481px) {
  .map-tools { right: .6rem; }
  .map-key li { gap: .12rem; padding-inline: .14rem; }
}
