:root {
  color-scheme: dark;
  --ink: #1b1410;
  --gold: #f4c93a;
  --gold-deep: #b07d12;
  --parch: #e9dcb4;
  --parch-light: #fff6dd;
  --parch-dark: #a8946a;
  --text: #f3ead6;
  --muted: #cfc5ae;
  --sans: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --mono: ui-monospace, Consolas, "Courier New", monospace;
  --page: min(1180px, calc(100% - 64px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: #16141a; color: var(--text); font-family: var(--sans); font-size: 16px; line-height: 1.65; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
[hidden] { display: none !important; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
::selection { background: var(--gold); color: var(--ink); }
.page-wrap { width: var(--page); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: fixed; z-index: 100; left: 16px; top: 10px; padding: 10px 14px; background: var(--parch); color: var(--ink); transform: translateY(-200%); }
.skip-link:focus { transform: translateY(0); }

/* Pixelschrift: pixel.js ersetzt den Text durch gezeichnete Buchstaben. */
.px { font-family: var(--mono); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; line-height: 1.35; }
.px-w { display: inline-block; white-space: nowrap; }
.px-w svg { display: inline-block; vertical-align: -.125em; overflow: visible; fill: currentColor; shape-rendering: crispEdges; }
.px-s { fill: var(--px-shadow, #0000008c); }
.px em { font-style: normal; color: var(--gold); }
h2.px em { display: block; }
.px-icon { display: block; width: 36px; height: 36px; background: center / contain no-repeat; image-rendering: pixelated; }

/* Blockflächen */
.tex-dirt, .tex-stone, .tex-darkplanks, .tex-deepslate, .mc-btn, .map-frame, .sign { image-rendering: pixelated; background-size: auto, 64px 64px; }
.tex-dirt { background-color: #3d2c20; background-image: linear-gradient(#1a110bb3, #1a110bcc), var(--tex-dirt); }
.tex-stone { background-color: #3f3f44; background-image: linear-gradient(#17171cb8, #17171ccc), var(--tex-stone); }
.tex-darkplanks { background-color: #2b1f14; background-image: linear-gradient(#120c0699, #120c06b3), var(--tex-darkplanks); }
.tex-deepslate { background-color: #1d1d21; background-image: linear-gradient(#0c0c1066, #0c0c1099), var(--tex-deepslate); }
.grass-top { position: relative; }
.grass-top::before { position: absolute; top: 0; left: 0; width: 100%; height: 32px; content: ""; background: var(--tex-grassedge) repeat-x; background-size: 64px 32px; image-rendering: pixelated; }

.panel { color: var(--ink); background: var(--parch); border: 4px solid #1b1410; box-shadow: inset 4px 4px 0 var(--parch-light), inset -4px -4px 0 var(--parch-dark), 0 8px 0 #00000059; --px-shadow: #ffffff80; }
.panel-dark { color: var(--text); background: #2a2730; border: 4px solid #000; box-shadow: inset 4px 4px 0 #4b4656, inset -4px -4px 0 #17151b, 0 8px 0 #00000059; }
.slot { display: grid; place-items: center; flex: none; width: 56px; height: 56px; padding: 0; border: 0; background: #8b8b8b; box-shadow: inset 4px 4px 0 #373737, inset -4px -4px 0 #fff; }
.slot-small { width: 40px; height: 40px; box-shadow: inset 2px 2px 0 #373737, inset -2px -2px 0 #fff; }
.slot-small .px-icon { width: 24px; height: 24px; }

.mc-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 4px 24px 6px; border: 2px solid #000; color: #fff; background-color: #7a7a7a; background-image: linear-gradient(#ffffff1a, #0000001a), var(--tex-stone); box-shadow: inset 2px 2px 0 #ffffff66, inset -2px -4px 0 #00000073; font-size: 16px; cursor: pointer; text-align: center; }
.mc-btn:hover:not(:disabled) { background-image: linear-gradient(#8aa4f273, #5f7cd673), var(--tex-stone); outline: 2px solid #fff; }
.mc-btn:active:not(:disabled) { padding: 6px 24px 4px; box-shadow: inset 2px 4px 0 #00000073, inset -2px -2px 0 #ffffff40; }
.mc-btn:disabled { color: #a9a9a9; background-image: linear-gradient(#000000a6, #000000a6), var(--tex-stone); box-shadow: inset 2px 2px 0 #ffffff1f, inset -2px -4px 0 #00000073; cursor: not-allowed; }
.mc-btn-gold, .mc-btn.is-active { background-color: #c8921e; background-image: linear-gradient(#f6cf4ce0, #c8921ee0), var(--tex-stone); --px-shadow: #5a3b00; }
.mc-btn-gold:hover:not(:disabled), .mc-btn.is-active:hover { background-image: linear-gradient(#ffe27ae6, #dba52ae6), var(--tex-stone); }
.mc-btn-small { min-height: 40px; padding-inline: 14px; }
.kicker { margin-bottom: 16px; color: var(--gold); font-size: 16px; }

/* Kopfzeile */
.site-header { position: absolute; z-index: 20; top: 0; left: 0; width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 12px max(24px, calc((100vw - 1280px) / 2)); background: #000000a6; border-bottom: 4px solid #000; box-shadow: inset 0 -4px 0 #ffffff1f; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: #fff; font-size: 16px; }
.main-nav { display: flex; align-items: center; gap: clamp(14px, 2.2vw, 36px); font-size: 16px; color: #fff; }
.main-nav > a:hover { color: var(--gold); }
.header-tools { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.lang-menu { position: relative; }
.lang-current { min-height: 40px; padding: 2px 8px 4px; }
.lang-current .px-icon, .lang-options .px-icon { width: 36px; height: 36px; }
.lang-options { position: absolute; z-index: 30; top: calc(100% + 6px); right: 0; display: grid; gap: 4px; padding: 6px; border: 4px solid #000; background: #2a2730; box-shadow: inset 2px 2px 0 #4b4656, inset -2px -2px 0 #17151b, 0 6px 0 #00000059; }
.lang-options button { display: grid; place-items: center; padding: 2px 6px; border: 2px solid transparent; background: transparent; cursor: pointer; }
.lang-options button:hover { border-color: #fff; background: #ffffff1f; }
.lang-options button[aria-checked="true"] { border-color: var(--gold); }
.menu-toggle { display: none; }

/* Titelbild */
.hero { position: relative; display: grid; place-items: center; min-height: 760px; height: min(960px, 100svh); padding: 96px 0 72px; overflow: hidden; background: linear-gradient(#4c86d8, #dcedfb 70%, #4a8a35 70%); text-align: center; }
.hero-art { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: 60% 100%; image-rendering: pixelated; }
.hero-shade { position: absolute; inset: 0; background: radial-gradient(ellipse 60% 55% at 50% 45%, #0a16304d, #0a163000 72%), linear-gradient(#00000059, #00000000 26%, #00000000 72%, #00000059); }
.hero-content { position: relative; z-index: 2; display: grid; justify-items: center; }
.logo-wrap { position: relative; }
.logo { font-size: clamp(44px, 12.5vw, 112px); line-height: 1.08; --px-shadow: transparent; }
.logo-top, .logo-bottom { display: inline-block; filter: drop-shadow(0 .0625em 0 var(--depth)) drop-shadow(0 .03em 0 #000) drop-shadow(0 -.03em 0 #000) drop-shadow(.03em 0 0 #000) drop-shadow(-.03em 0 0 #000) drop-shadow(0 .05em 0 #00000080); }
.logo-top { color: #f4f4f4; --depth: #8f8f8f; }
.logo-bottom { color: var(--gold); --depth: #9a6a0e; }
.splash { position: absolute; right: -6%; bottom: 4%; color: #ffee33; font-size: 16px; white-space: nowrap; transform-origin: center; animation: splash 1s ease-in-out infinite alternate; --px-shadow: #3f3a00; }
@keyframes splash { from { transform: rotate(-12deg) scale(1); } to { transform: rotate(-12deg) scale(1.08); } }
.hero-tagline { margin-top: 28px; color: #fff; font-size: 24px; }
.hero-text { max-width: 520px; margin-top: 16px; color: #fff; font-size: 17px; text-shadow: 2px 2px 0 #000000b3; }
.hero-actions { display: grid; gap: 12px; width: min(100%, 400px); margin-top: 32px; }
.hero-corner { position: absolute; z-index: 2; bottom: 16px; color: #fff; font-size: 16px; }
.hero-corner-left { left: max(24px, calc((100vw - 1280px) / 2)); }
.hero-corner-right { right: max(24px, calc((100vw - 1280px) / 2)); }

/* Abschnitte */
.intro, .world-section, .news-section, .vip-section, .join-section { padding: 112px 0 104px; }
.intro-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 56px; align-items: center; }
h2.px { font-size: clamp(24px, 3.4vw, 40px); line-height: 1.4; color: #fff; }
.intro-copy > p:last-child { max-width: 620px; margin-top: 24px; color: var(--muted); }
.intro-stats { display: grid; gap: 16px; }
.stat { display: flex; align-items: center; gap: 16px; padding: 16px 20px; }
.stat strong { display: block; color: #fff; font-size: 16px; }
.stat small { color: var(--muted); font-size: 14px; }

.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 48px; margin-bottom: 44px; }
.section-heading > p, .news-side > p, .heading-side > p { max-width: 400px; color: var(--muted); }
.heading-side { display: grid; justify-items: start; gap: 16px; }

/* Karte */
.map-frame { padding: 12px; border: 4px solid #000; background-color: #9c7a48; background-image: linear-gradient(#0000, #0000), var(--tex-planks); box-shadow: inset 4px 4px 0 #ffffff40, inset -4px -4px 0 #00000059, 0 8px 0 #00000059; }
.map-topline { display: flex; justify-content: space-between; gap: 12px; padding: 4px 4px 12px; color: #fff; font-size: 16px; --px-shadow: #2f2110; }
.map-canvas { position: relative; overflow: hidden; border: 4px solid #2a1c0e; background: #4279bd; }
@keyframes bob { to { transform: translateY(-4px); } }
.map-legend { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px 20px; padding: 12px 4px 2px; color: #fff; font-size: 14px; text-shadow: 1px 1px 0 #2f2110; }


/* Neuigkeiten */
.news-side { display: grid; justify-items: end; gap: 16px; }
.news-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card { display: flex; flex-direction: column; min-height: 300px; padding: 24px; transition: transform .12s steps(2); }
.news-card:hover { transform: translateY(-4px); }
.news-card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 24px; }
.news-tag { padding: 4px 8px 6px; color: #fff; background: #a8432f; border: 2px solid #1b1410; font-size: 16px; --px-shadow: #4a1a10; }
.news-date { color: #6f6046; font-family: var(--mono); font-size: 13px; }
.news-card h3 { margin-bottom: 14px; font-size: 16px; line-height: 1.5; }
.news-card p { color: #4a3d2c; font-size: 15px; }
.news-card-link { margin-top: auto; padding-top: 20px; color: #8a6a2a; font-size: 16px; }
.news-footer { margin-top: 32px; color: var(--muted); font-size: 14px; }
.loading-note { grid-column: 1 / -1; color: var(--muted); }

/* VIP */
.vip-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.vip-card { display: flex; flex-direction: column; min-height: 380px; padding: 28px 24px 24px; }
.vip-card.featured { border-color: #000; box-shadow: inset 4px 4px 0 #ffe27a, inset -4px -4px 0 #a8760f, 0 8px 0 #00000059; background: #33291a; }
.vip-card-top { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 16px; }
.vip-card-label { display: block; color: var(--gold); font-size: 16px; }
.vip-card h3 { margin-top: 6px; color: #fff; font-size: 24px; }
.vip-card > p { color: var(--muted); font-size: 15px; }
.vip-perks { display: grid; gap: 8px; margin: 18px 0 0; padding: 18px 0; list-style: none; border-top: 4px solid #00000066; }
.vip-perks li { display: flex; align-items: baseline; gap: 10px; font-size: 15px; }
.vip-perks li::before { flex: none; width: 8px; height: 8px; content: ""; background: var(--gold); box-shadow: 2px 2px 0 #5a3b00; }
.vip-buy { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 18px; border-top: 4px solid #00000066; }
.vip-price { color: #fff; font-size: 16px; }
.vip-price small { display: block; margin-top: 4px; color: var(--muted); font: 12px var(--sans); text-transform: none; letter-spacing: 0; }
.vip-footnote { max-width: 720px; margin: 36px auto 0; padding: 16px 20px; color: var(--muted); font-size: 14px; text-align: center; }

/* Mitmachen */
.sign { display: grid; justify-items: center; gap: 4px; max-width: 760px; margin-inline: auto; padding: 40px clamp(20px, 5vw, 56px) 44px; border: 4px solid #000; background-color: #9c7a48; background-image: linear-gradient(#00000026, #00000040), var(--tex-planks); box-shadow: inset 4px 4px 0 #ffffff40, inset -4px -4px 0 #00000059, 0 8px 0 #00000059; text-align: center; }
.sign .kicker { margin: 20px 0 8px; --px-shadow: #2f2110; }
.sign h2 { --px-shadow: #2f2110; }
.sign > p:not(.kicker) { max-width: 520px; margin: 16px 0 24px; color: #fff; text-shadow: 1px 1px 0 #2f2110; }

/* Fußzeile */
.site-footer { padding: 44px 0 24px; border-top: 4px solid #000; color: var(--muted); }
.footer-main { display: grid; grid-template-columns: 1fr 1.1fr 1fr; align-items: center; gap: 32px; padding-bottom: 32px; }
.footer-main > p { font-size: 14px; }
.footer-main nav { display: flex; flex-wrap: wrap; justify-content: end; gap: 12px 22px; font-size: 14px; }
.footer-main nav a:hover, .footer-main nav button:hover { color: var(--gold); }
.footer-main nav button { padding: 0; border: 0; color: inherit; background: transparent; cursor: pointer; font-size: inherit; }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; padding-top: 18px; border-top: 4px solid #00000080; font-size: 12px; }
.footer-bottom span:last-child { text-align: right; }

/* Konto-Dialog */
.account-dialog { width: min(100% - 28px, 500px); max-width: 500px; max-height: min(92svh, 860px); padding: 0; overflow: auto; }
.account-dialog::backdrop { background: #000000c7; }
.dialog-inner { position: relative; display: grid; padding: 36px clamp(22px, 6vw, 48px) 28px; }
.dialog-close { position: absolute; top: 14px; right: 14px; min-height: 36px; padding-inline: 12px; }
.dialog-emblem { justify-self: center; margin-bottom: 16px; }
.dialog-inner h2.px { color: var(--ink); font-size: 24px; text-align: center; }
.dialog-inner h2.px em { color: #9a6a0e; }
.account-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 24px 0 20px; }
.account-form { display: grid; gap: 14px; }
.account-form label { display: grid; gap: 6px; color: #3d3122; font-size: 14px; font-weight: 700; }
.account-form input, .account-form select, .account-form textarea { width: 100%; padding: 11px 12px; border: 2px solid #a0a0a0; border-radius: 0; color: #fff; background: #000; font: 400 16px/1.5 var(--sans); }
.account-form textarea { min-height: 96px; resize: vertical; }
.account-form input::placeholder, .account-form textarea::placeholder { color: #8d8d8d; }
.account-form input:focus-visible, .account-form select:focus-visible, .account-form textarea:focus-visible { outline: 0; border-color: #fff; box-shadow: 0 0 0 2px #1b1410; }
.account-form label small { color: #6f6046; font-size: 12px; font-weight: 400; line-height: 1.5; }
.form-submit { width: 100%; margin-top: 6px; }
.form-submit:disabled { cursor: wait; }
.account-feedback { min-height: 22px; margin-top: 12px; color: #2f6b2f; font-size: 14px; font-weight: 700; text-align: center; }
.account-feedback.is-error { color: #a8322a; }
.account-privacy { margin-top: 8px; color: #6f6046; font-size: 12px; line-height: 1.6; text-align: center; }
.account-profile { display: grid; justify-items: center; gap: 14px; padding-top: 20px; }
.profile-greeting { color: #3d3122; }
.profile-link { width: 100%; padding: 12px; border: 4px solid #cdbb8a; color: #4a3d2c; font-size: 14px; text-align: center; overflow-wrap: anywhere; }
.text-button { padding: 6px; border: 0; color: #6f4f1a; background: transparent; font-size: 14px; text-decoration: underline; cursor: pointer; }
.link-instructions { display: grid; justify-items: center; gap: 8px; margin-top: 16px; padding: 16px 12px; border: 2px solid #a0a0a0; color: #fff; background: #000; text-align: center; }
.link-kicker { color: var(--gold); font-size: 16px; }
.link-instructions > strong { color: #7dff7d; font: 700 24px var(--mono); letter-spacing: .14em; }
.link-instructions > span:not(.link-kicker) { color: #b5b5b5; font-size: 12px; }
.link-steps { display: grid; gap: 4px; margin: 4px 0 0; padding-left: 22px; color: #fff; font-size: 14px; text-align: left; }
.link-instructions p { color: #dcdcdc; font-size: 13px; }
.link-instructions code { padding: 2px 5px; color: var(--gold); background: #2a2730; font-family: var(--mono); }
.toast { position: fixed; z-index: 50; right: 22px; bottom: 22px; max-width: min(400px, calc(100vw - 44px)); padding: 14px 18px; font-size: 15px; opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .2s, transform .2s; }
.toast.is-visible { opacity: 1; transform: translateY(0); }

/* Support */
.support-section { padding: 112px 0 104px; }
.support-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 36px; }
.support-dialog { width: min(100% - 28px, 760px); max-width: 760px; }
.support-dialog .dialog-inner { gap: 4px; }
.support-dialog .account-feedback:empty { display: none; }
.support-dialog .account-feedback { margin: 12px 0 0; }
.support-guest { display: grid; justify-items: center; gap: 20px; padding: 20px 0 8px; color: #3d3122; text-align: center; }
.support-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin: 20px 0 16px; }
.support-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.support-toolbar > #support-new-open { margin-left: auto; }
.ticket-list, .thread-messages { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.ticket-empty { padding: 28px 12px; border: 4px dashed #cdbb8a; color: #6f6046; text-align: center; }
.ticket-row { display: flex; align-items: center; gap: 14px; width: 100%; padding: 12px 14px; border: 2px solid #1b1410; color: var(--ink); background: #fff6dd; box-shadow: inset -2px -2px 0 #cdbb8a; text-align: left; cursor: pointer; }
.ticket-row:hover { background: #fffaf0; outline: 2px solid #1b1410; }
.ticket-text { display: grid; gap: 2px; min-width: 0; }
.ticket-text strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ticket-text small { color: #6f6046; font-size: 13px; }
.ticket-status, .team-tag { flex: none; padding: 4px 8px 6px; border: 2px solid #1b1410; color: #fff; font-size: 16px; --px-shadow: #00000080; }
.ticket-status { min-width: 148px; text-align: center; }
.status-open { background: #c8921e; }
.status-answered, .team-tag { background: #3d8a34; }
.status-closed { background: #7a7a7a; }
.thread-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 20px; color: #6f6046; font-size: 14px; }
#thread-subject { margin: 10px 0 16px; font-size: 20px; line-height: 1.35; overflow-wrap: anywhere; }
.thread-messages { max-height: 44svh; margin-bottom: 20px; padding-right: 4px; overflow-y: auto; }
.thread-message { padding: 12px 14px; border: 2px solid #1b1410; background: #fff6dd; }
.thread-message.is-staff { border-left-width: 8px; border-left-color: #3d8a34; background: #e6efd2; }
.thread-message-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 6px; }
.thread-message-head time { margin-left: auto; color: #6f6046; font-family: var(--mono); font-size: 12px; }
.thread-message p { white-space: pre-wrap; overflow-wrap: anywhere; }
.support-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; margin-top: 6px; }
.support-actions > [data-support-back] { margin-right: auto; }
.thread-closed { display: grid; justify-items: start; gap: 14px; color: #4a3d2c; }
.town-kronwacht { left: 47%; top: 42%; }
.town-eichenruh { left: 33%; top: 69%; }
.town-silberhafen { left: 66%; top: 38%; }

/* Live-Karte (BlueMap) im Kartenrahmen */
.live-map, .map-offline { width: 100%; height: clamp(520px, 78svh, 900px); }
.live-map { display: block; border: 0; background: #000; }
.map-offline { display: grid; place-items: center; margin: 0; padding: 24px; color: #fff; background: #1b1410; font-size: 16px; text-align: center; }
.map-frame.is-live .map-offline { display: none; }
.has-live-map > .page-wrap { width: min(1680px, calc(100% - 64px)); }
.live-map-cover { position: absolute; inset: 0; display: grid; place-items: end center; padding: 0 0 20px; border: 0; background: transparent; cursor: pointer; }
.live-map-cover > span { padding: 4px 8px 6px; border: 2px solid #2d0a63; outline: 2px solid #100010; color: #fff; background: #100010e6; font-size: 16px; }
.map-canvas.is-interactive .live-map-cover { display: none; }
.map-canvas:not(.is-interactive) .live-map { pointer-events: none; }
.map-full { margin-left: auto; color: var(--gold); font-size: 16px; --px-shadow: #2f2110; }
.map-full:hover { color: #fff; }

/* Bewegung */
.hero-clouds { position: absolute; top: 0; left: 0; width: 100%; height: 320px; background: var(--tex-clouds) repeat-x; background-size: 1920px 320px; image-rendering: pixelated; animation: drift 150s linear infinite; }
@keyframes drift { to { background-position-x: -1920px; } }
.logo-top, .logo-bottom { animation: drop .7s steps(7) both; }
.logo-bottom { animation-delay: .18s; }
@keyframes drop { 0% { opacity: 0; transform: translateY(-56px); } 70% { opacity: 1; transform: translateY(6px); } 100% { opacity: 1; transform: none; } }
.hero-tagline, .hero-text, .hero-actions { animation: rise .5s steps(5) both; }
.hero-tagline { animation-delay: .55s; }
.hero-text { animation-delay: .7s; }
.hero-actions { animation-delay: .85s; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }
.reveal { opacity: 0; transform: translateY(28px); }
.reveal.is-placed { opacity: 1; transform: none; transition: opacity .45s steps(5) var(--reveal-delay, 0ms), transform .45s steps(5) var(--reveal-delay, 0ms); }
.slot:hover .px-icon { animation: bob .6s steps(2) infinite alternate; }
.mc-btn-gold { position: relative; overflow: hidden; }
.mc-btn-gold::after { position: absolute; inset: 0; content: ""; background: linear-gradient(110deg, #fff0 38%, #ffffff73 50%, #fff0 62%); transform: translateX(-120%); pointer-events: none; }
.mc-btn-gold:hover:not(:disabled)::after { animation: sheen .6s steps(10); }
@keyframes sheen { to { transform: translateX(120%); } }
.vip-section { position: relative; overflow: hidden; }
.vip-section > .page-wrap { position: relative; z-index: 1; }
.vip-section::before, .vip-section::after { position: absolute; bottom: 12%; left: 0; width: 4px; height: 4px; content: ""; background: var(--gold); box-shadow: 8vw -6vh 0 #f4c93a, 17vw -34vh 0 #ffe27a, 26vw -12vh 0 #f4c93a, 34vw -48vh 0 #c8921e, 43vw -22vh 0 #ffe27a, 52vw -58vh 0 #f4c93a, 61vw -8vh 0 #c8921e, 69vw -40vh 0 #ffe27a, 78vw -16vh 0 #f4c93a, 86vw -52vh 0 #ffe27a, 94vw -28vh 0 #c8921e; opacity: 0; animation: sparkle 7s steps(28) infinite; pointer-events: none; }
.vip-section::after { left: 4vw; bottom: 30%; animation-delay: 3.5s; }
@keyframes sparkle { 0% { opacity: 0; transform: translateY(0); } 20%, 70% { opacity: .85; } 100% { opacity: 0; transform: translateY(-110px); } }

/* Schmale Fenster: Navigation klappt früher ein, damit sechs Einträge Platz haben. */
@media (max-width: 1180px) {
  .menu-toggle { display: grid; gap: 4px; align-content: center; min-height: 40px; width: 44px; padding: 0; }
  .menu-toggle span { width: 18px; height: 2px; background: #fff; box-shadow: 1px 1px 0 #00000080; }
  .main-nav { position: absolute; top: calc(100% + 4px); left: 16px; right: 16px; display: none; align-items: stretch; gap: 0; padding: 8px 16px 16px; border: 4px solid #000; background: #16141af2; }
  .main-nav.is-open { display: grid; }
  .main-nav > a { padding: 14px 2px; border-bottom: 2px solid #ffffff26; }
  .main-nav .mc-btn { margin-top: 14px; }
}

@media (max-width: 1020px) {
  :root { --page: min(100% - 48px, 880px); }
  .intro-grid { grid-template-columns: 1fr; gap: 36px; }
  .intro-stats { grid-template-columns: repeat(3, 1fr); }
  .stat { flex-direction: column; align-items: flex-start; }
  .news-grid, .vip-grid { grid-template-columns: 1fr 1fr; }
  .splash { right: -2%; }
}

@media (max-width: 740px) {
  :root { --page: calc(100% - 32px); }
  .site-header { padding: 10px 16px; }
  .menu-toggle { display: grid; gap: 4px; align-content: center; min-height: 40px; width: 44px; padding: 0; }
  .menu-toggle span { width: 18px; height: 2px; background: #fff; box-shadow: 1px 1px 0 #00000080; }
  .main-nav { position: absolute; top: calc(100% + 4px); left: 16px; right: 16px; display: none; align-items: stretch; gap: 0; padding: 8px 16px 16px; border: 4px solid #000; background: #16141af2; }
  .main-nav.is-open { display: grid; }
  .main-nav > a { padding: 14px 2px; border-bottom: 2px solid #ffffff26; }
  .main-nav .mc-btn { margin-top: 14px; }
  .hero { min-height: 700px; height: auto; padding: 104px 0 88px; }
  .hero-art { object-position: 72% 100%; }
  .splash { position: static; display: block; margin-top: 14px; font-size: 8px; }
  @keyframes splash { from { transform: rotate(-4deg) scale(1); } to { transform: rotate(-4deg) scale(1.06); } }
  .hero-tagline { font-size: 16px; }
  .hero-text { font-size: 16px; }
  .hero-corner { font-size: 8px; }
  .hero-corner-left { left: 16px; }
  .hero-corner-right { right: 16px; }
  .intro, .world-section, .news-section, .vip-section, .join-section { padding: 84px 0 72px; }
  .intro-stats, .support-steps { grid-template-columns: 1fr; }
  .has-live-map > .page-wrap { width: calc(100% - 16px); }
  .live-map, .map-offline { height: clamp(420px, 70svh, 640px); }
  .support-section { padding: 84px 0 72px; }
  .ticket-row { flex-direction: column; align-items: flex-start; gap: 8px; }
  .ticket-status { min-width: 0; }
  .support-actions > .mc-btn { flex: 1 1 auto; }
  .stat { flex-direction: row; align-items: center; }
  .section-heading { display: grid; gap: 18px; margin-bottom: 30px; }
  .map-frame { padding: 8px; }
  .map-topline { font-size: 8px; }
  .news-side { justify-items: start; }
  .news-grid, .vip-grid { grid-template-columns: 1fr; gap: 20px; }
  .news-card, .vip-card { min-height: 0; }
  .footer-main { grid-template-columns: 1fr; gap: 18px; padding-bottom: 24px; }
  .footer-main nav { justify-content: start; }
  .footer-bottom { display: grid; gap: 10px; }
  .footer-bottom span:last-child { text-align: left; }
}

@media (max-width: 420px) {
  .hero-corner-right { display: none; }
  .vip-buy { flex-direction: column; align-items: stretch; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation: none !important; }
}
