/* Manufaktur-Adventskalender. Dunkler Markenlook wie die Konzeptseite, Schrift lokal (keine externen Quellen). */
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-display: swap; font-weight: 200 800;
  src: url('fonts/plus-jakarta-sans-latin.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; }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-display: swap; font-weight: 200 800;
  src: url('fonts/plus-jakarta-sans-latin-ext.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; }

:root {
  --bg: #07070A; --panel: #111116; --panel-2: #17171E; --line: #26262F;
  --fg: #F2F2F5; --dim: #A3A3AD; --faint: #8A8A94; --akzent: #E5BC44;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 16px/1.6 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  padding: 32px max(16px, env(safe-area-inset-right)) 64px max(16px, env(safe-area-inset-left)); }
a { color: var(--fg); }
.wrap { max-width: 960px; margin: 0 auto; display: flex; flex-direction: column; gap: 36px; }
h1, h2 { margin: 0; line-height: 1.2; text-wrap: balance; }
h1 { font-size: clamp(30px, 6vw, 46px); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: 22px; font-weight: 700; }
p { margin: 0; }
.eyebrow { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
.lead { color: var(--dim); font-size: 17px; max-width: 64ch; }
.muted { color: var(--dim); }
.klein { font-size: 13px; color: var(--faint); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.kopf { display: flex; flex-direction: column; gap: 14px; }
.marken { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; padding: 4px 12px; border: 1px solid var(--line); border-radius: 999px; }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.ich { color: var(--dim); }
.hinweis { background: var(--panel-2); border: 1px solid var(--line); border-left: 4px solid var(--akzent); border-radius: 10px; padding: 12px 16px; }
.hinweis.test { border-left-color: #F28C38; font-size: 14px; }

.raster { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
@media (max-width: 640px) { .raster { grid-template-columns: repeat(4, 1fr); gap: 8px; } }
.tuer { position: relative; aspect-ratio: 1 / 1.1; border-radius: 10px; border: 1px solid var(--line); background: var(--panel-2); color: var(--fg);
  display: flex; flex-direction: column; justify-content: space-between; padding: 8px; overflow: hidden; text-decoration: none; min-height: 44px; }
.tuer::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--marke); }
form.tuer { padding: 0; }
form.tuer button { all: unset; cursor: pointer; display: flex; flex-direction: column; justify-content: space-between; padding: 8px; width: 100%; height: 100%; box-sizing: border-box; }
.nr { font-weight: 800; font-size: clamp(20px, 4vw, 30px); line-height: 1; }
.st { font-size: 11.5px; color: var(--dim); line-height: 1.25; }
.tuer.heute { border-color: var(--marke); box-shadow: 0 0 0 1px var(--marke), 0 0 24px -6px var(--marke); }
.tuer.heute:hover { transform: translateY(-2px); }
.tuer.zu, .tuer.vorbei { background: var(--bg); border-style: dashed; }
.tuer.zu .nr, .tuer.vorbei .nr { color: var(--dim); }
.tuer.meins { border: 2px solid var(--marke); }
.tuer.meins .nr { color: var(--marke); }
:focus-visible, form.tuer button:focus-visible { outline: 2px solid var(--akzent); outline-offset: 2px; }

.geoeffnet { background: var(--panel); border: 2px solid var(--marke); border-radius: 14px; padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.code { font-size: 18px; }
.code strong { font-family: ui-monospace, 'SF Mono', Menlo, monospace; letter-spacing: .04em; user-select: all; }
.karte { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.karte ul { margin: 0; padding-left: 20px; }
.karte li { margin: 4px 0; }
.formular { display: flex; flex-direction: column; gap: 12px; max-width: 520px; }
.formular label { display: flex; flex-direction: column; gap: 4px; font-size: 14px; color: var(--dim); }
.formular input:not([type=checkbox]) { font: inherit; font-size: 16px; background: var(--panel-2); color: var(--fg); border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; }
.formular .check { flex-direction: row; align-items: flex-start; gap: 10px; color: var(--fg); }
.formular .check input { width: 20px; height: 20px; margin-top: 3px; flex: none; }
.honig { position: absolute; left: -9999px; }
.knopf { display: inline-block; font: inherit; font-weight: 700; background: var(--fg); color: var(--bg); border: 1px solid var(--fg); border-radius: 8px; padding: 12px 18px; cursor: pointer; text-decoration: none; min-height: 44px; }
.knopf.zweit { background: transparent; color: var(--fg); }
.schon summary { cursor: pointer; color: var(--dim); min-height: 44px; display: flex; align-items: center; }
.fuss { font-size: 13px; color: var(--faint); }
.fuss a { color: var(--faint); }
@media (prefers-reduced-motion: reduce) { .tuer.heute:hover { transform: none; } }
.rechtstext h2 { font-size: 18px; margin-top: 10px; }
.rechtstext h3 { font-size: 15px; margin: 6px 0 0; }
.rechtstext p { max-width: 72ch; }
