/* QuestGames Studio - Stylesheet
   Menschlich: Dunkle Tinte, Gold und das Grün der Spieloberfläche. Überschriften in der
   Spielschrift "Immortal", Fließtext in der Systemschrift (keine externen Schriften, kein Tracking).
   Technisch: Reines CSS, keine Frameworks. Animationen respektieren prefers-reduced-motion. */

@font-face {
  font-family: "Immortal";
  src: url("../assets/fonts/immortal.ttf") format("truetype");
  font-display: swap;
}

:root {
  --ink: #0a0f0d;
  --ink-2: #101815;
  --panel: #15221d;
  --teal: #1f4a40;
  --teal-2: #2b6455;
  --gold: #d9a94a;
  --gold-soft: #f1d994;
  --ember: #e2763c;
  --paper: #efe3c8;
  --text: #ece5d3;
  --muted: #a9a593;
  --line: rgba(217, 169, 74, 0.26);
  --radius: 14px;
  --display: "Immortal", "Cinzel", "Trajan Pro", Georgia, serif;
  --body: ui-rounded, "SF Pro Text", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font: 400 1.05rem/1.7 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
/* Papierkorn über der ganzen Seite, damit Flächen nicht glatt wirken */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: 0.07;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
img { max-width: 100%; display: block; }
a { color: var(--gold-soft); text-decoration-color: rgba(241, 217, 148, 0.4); text-underline-offset: 3px; }
a:hover { color: #fff; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.narrow { width: min(760px, calc(100% - 40px)); margin-inline: auto; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; letter-spacing: 0.04em; line-height: 1.12; margin: 0 0 0.5em; color: var(--paper); }
h1 { font-size: clamp(2.6rem, 7vw, 5.6rem); }
h2 { font-size: clamp(1.9rem, 4.2vw, 3.1rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1.1em; }
.eyebrow { font: 600 0.78rem/1 var(--body); letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold); display: inline-flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--gold); }
.lead { font-size: clamp(1.1rem, 2vw, 1.3rem); color: #d9d2bf; max-width: 60ch; }
.muted { color: var(--muted); }
section { position: relative; padding: clamp(72px, 11vw, 140px) 0; }

/* ---------- Navigation ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 80; transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s; border-bottom: 1px solid transparent; }
.nav.solid { background: rgba(10, 15, 13, 0.86); backdrop-filter: blur(10px); border-color: var(--line); }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--display); font-size: 1.2rem; letter-spacing: 0.06em; color: var(--paper); text-decoration: none; }
.brand svg { width: 30px; height: 30px; }
.nav ul { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav ul a { color: var(--text); text-decoration: none; font-size: 0.95rem; letter-spacing: 0.04em; position: relative; padding: 6px 0; }
.nav ul a::after { content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease); }
.nav ul a:hover::after, .nav ul a[aria-current]::after { transform: scaleX(1); }
.burger { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; width: 44px; height: 44px; color: var(--paper); cursor: pointer; }
.burger span { display: block; width: 20px; height: 2px; background: currentColor; margin: 5px auto; transition: transform 0.3s; }
@media (max-width: 860px) {
  .burger { display: block; }
  .nav ul { position: fixed; inset: 68px 0 auto 0; flex-direction: column; gap: 0; background: rgba(10, 15, 13, 0.97); border-bottom: 1px solid var(--line); padding: 10px 20px 20px; transform: translateY(-120%); transition: transform 0.4s var(--ease); }
  .nav ul.open { transform: none; }
  .nav ul a { display: block; padding: 14px 0; font-size: 1.1rem; }
}

/* ---------- Buttons ---------- */
.btn { --b: var(--gold); display: inline-flex; align-items: center; gap: 10px; padding: 14px 26px; border-radius: 999px; font: 600 0.95rem/1 var(--body); letter-spacing: 0.06em; text-decoration: none; cursor: pointer; border: 1px solid var(--b); color: var(--ink); background: var(--b); transition: transform 0.25s var(--ease), box-shadow 0.25s, background 0.25s, color 0.25s; position: relative; overflow: hidden; }
.btn:hover { transform: translateY(-3px); box-shadow: 0 12px 30px -10px rgba(217, 169, 74, 0.6); color: var(--ink); }
.btn.ghost { background: transparent; color: var(--gold-soft); }
.btn.ghost:hover { background: rgba(217, 169, 74, 0.12); color: #fff; }
.btn.off { opacity: 0.6; cursor: default; pointer-events: none; }
.btn svg { width: 18px; height: 18px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.tag { display: inline-block; font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; border: 1px solid var(--line); color: var(--gold); border-radius: 999px; padding: 6px 12px; }

/* ---------- Hero ---------- */
.hero { min-height: 100svh; display: grid; align-items: end; padding: 120px 0 80px; overflow: hidden; isolation: isolate; }
.hero .bg { position: absolute; inset: -6%; z-index: -3; background-size: cover; background-position: 70% 40%; animation: pan 40s ease-in-out infinite alternate; will-change: transform; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, rgba(10,15,13,0.96) 0%, rgba(10,15,13,0.72) 42%, rgba(10,15,13,0.15) 100%), linear-gradient(0deg, var(--ink) 0%, transparent 38%); }
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
@keyframes pan { from { transform: scale(1.04) translate3d(0, 0, 0); } to { transform: scale(1.16) translate3d(-2.5%, 1.5%, 0); } }
.hero h1 .w { display: inline-block; overflow: hidden; vertical-align: top; }
.hero h1 .w > span { display: inline-block; transform: translateY(105%); animation: rise 1s var(--ease) forwards; animation-delay: calc(var(--i) * 0.11s + 0.25s); }
.hero h1 em { font-style: normal; color: var(--gold); }
@keyframes rise { to { transform: none; } }
.hero .lead { opacity: 0; animation: fade 1.2s 1.2s forwards; }
.hero .btn-row { opacity: 0; animation: fade 1.2s 1.5s forwards; }
@keyframes fade { to { opacity: 1; } }
.scrollhint { position: absolute; right: 28px; bottom: 34px; writing-mode: vertical-rl; font-size: 0.72rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 12px; }
.scrollhint::after { content: ""; width: 1px; height: 56px; background: linear-gradient(var(--gold), transparent); animation: drip 2.2s infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 60% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
@media (max-width: 700px) { .scrollhint { display: none; } .hero::before { background: linear-gradient(0deg, rgba(10,15,13,0.96) 25%, rgba(10,15,13,0.5) 100%); } }

/* ---------- Laufband ---------- */
.marquee { border-block: 1px solid var(--line); background: var(--ink-2); overflow: hidden; padding: 20px 0; white-space: nowrap; }
.marquee div { display: inline-flex; gap: 48px; padding-right: 48px; animation: scroll 38s linear infinite; font-family: var(--display); font-size: 1.5rem; letter-spacing: 0.1em; color: var(--muted); }
.marquee b { color: var(--gold); font-weight: 400; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- Scroll-Einblendung ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.reveal.left { transform: translateX(-40px); }
.reveal.right { transform: translateX(40px); }
.reveal.left.in, .reveal.right.in { transform: none; }
@media (max-width: 860px) { .reveal.left, .reveal.right { transform: translateY(34px); } .reveal.left.in, .reveal.right.in { transform: none; } }

/* ---------- Mission und Kodex ---------- */
.mission { background: radial-gradient(900px 400px at 85% 0%, rgba(43, 100, 85, 0.35), transparent 70%), var(--ink); }
.mission h2 { max-width: 20ch; }
.codex { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; margin-top: 56px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.codex article { background: var(--ink-2); padding: 38px 34px 40px; position: relative; transition: background 0.4s; }
.codex article:hover { background: var(--panel); }
.codex .num { font-family: var(--display); font-size: 4.4rem; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--gold); opacity: 0.55; position: absolute; right: 26px; top: 14px; transition: opacity 0.4s, transform 0.5s var(--ease); }
.codex article:hover .num { opacity: 1; transform: translateY(-4px); }
.codex h3 { max-width: 16ch; }
.codex p { color: #cfc9b6; margin: 0; max-width: 42ch; }
@media (max-width: 760px) { .codex { grid-template-columns: 1fr; } }

/* ---------- Slop-Check ---------- */
.check { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.check ol { list-style: none; margin: 0; padding: 0; counter-reset: c; }
.check li { counter-increment: c; display: grid; grid-template-columns: 40px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: start; }
.check li::before { content: ""; width: 32px; height: 32px; border: 1.5px solid var(--gold); border-radius: 8px; margin-top: 2px; background: no-repeat center / 18px url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d9a94a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M4 12.5l5 5L20 6' pathLength='1' stroke-dasharray='1' stroke-dashoffset='1'><animate attributeName='stroke-dashoffset' from='1' to='0' dur='0.6s' begin='0s' fill='freeze'/></path></svg>"); background-size: 0; transition: background-size 0.4s var(--ease) calc(var(--d, 0s) + 0.5s); }
.check li.in::before { background-size: 18px; }
.check li strong { display: block; color: var(--paper); font-size: 1.08rem; }
.check li span { color: var(--muted); font-size: 0.98rem; }
.stamp { aspect-ratio: 1; max-width: 420px; margin-inline: auto; position: relative; display: grid; place-items: center; }
.stamp svg { width: 100%; height: 100%; }
.stamp .ring { transform-origin: center; animation: spin 60s linear infinite; }
.stamp .ring.rev { animation-direction: reverse; animation-duration: 90s; }
.stamp .core { position: absolute; text-align: center; font-family: var(--display); color: var(--paper); font-size: clamp(1.1rem, 2.4vw, 1.6rem); letter-spacing: 0.08em; line-height: 1.3; }
.stamp .core small { display: block; font-family: var(--body); font-size: 0.7rem; letter-spacing: 0.3em; color: var(--gold); margin-top: 8px; text-transform: uppercase; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 820px) { .check { grid-template-columns: 1fr; } }

/* ---------- Über uns ---------- */
.about { background: linear-gradient(180deg, var(--ink), var(--ink-2)); }
.about-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.sigil-card { position: relative; border: 1px solid var(--line); border-radius: var(--radius); padding: 40px 34px; background: radial-gradient(circle at 30% 0%, rgba(217, 169, 74, 0.12), transparent 60%), var(--panel); }
.sigil-card::before, .sigil-card::after { content: ""; position: absolute; width: 22px; height: 22px; border: 2px solid var(--gold); }
.sigil-card::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; border-top-left-radius: var(--radius); }
.sigil-card::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; border-bottom-right-radius: var(--radius); }
.sigil-card dl { margin: 0; display: grid; gap: 18px; }
.sigil-card dt { font-size: 0.72rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); }
.sigil-card dd { margin: 2px 0 0; font-family: var(--display); font-size: 1.35rem; color: var(--paper); letter-spacing: 0.04em; }
@media (max-width: 820px) { .about-grid { grid-template-columns: 1fr; } }

/* ---------- Ablauf ---------- */
.flow { position: relative; margin-top: 56px; padding-left: 54px; }
.flow::before { content: ""; position: absolute; left: 17px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.flow .prog { position: absolute; left: 17px; top: 6px; width: 2px; height: 0; background: linear-gradient(var(--gold), var(--ember)); box-shadow: 0 0 14px var(--gold); }
.step { position: relative; padding-bottom: 46px; }
.step:last-child { padding-bottom: 0; }
.step::before { content: attr(data-n); position: absolute; left: -54px; top: -2px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); border: 1.5px solid var(--line); font-family: var(--display); color: var(--muted); transition: all 0.5s var(--ease); }
.step.in::before { border-color: var(--gold); color: var(--ink); background: var(--gold); box-shadow: 0 0 0 6px rgba(217, 169, 74, 0.16); }
.step h3 { margin-bottom: 6px; }
.step p { color: #cfc9b6; margin: 0; max-width: 62ch; }
.step .who { display: inline-block; margin-top: 8px; font-size: 0.74rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }

/* ---------- Spiele ---------- */
.games { background: var(--ink-2); }
.game-card { display: grid; grid-template-columns: 1.3fr 1fr; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: var(--panel); text-decoration: none; color: inherit; transition: border-color 0.4s, box-shadow 0.4s; }
.game-card:hover { border-color: var(--gold); box-shadow: 0 30px 80px -30px rgba(217, 169, 74, 0.35); color: inherit; }
.game-card .shot { position: relative; overflow: hidden; min-height: 340px; }
.game-card .shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.game-card:hover .shot img { transform: scale(1.07); }
.game-card .shot::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 55%, var(--panel)); }
.game-card .info { padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; justify-content: center; }
.game-card h3 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.game-card .sub { color: var(--gold); font-family: var(--display); letter-spacing: 0.08em; margin-bottom: 16px; }
.game-card .more { margin-top: 12px; display: inline-flex; gap: 10px; color: var(--gold-soft); font-weight: 600; letter-spacing: 0.06em; }
.game-card .more i { transition: transform 0.3s; font-style: normal; }
.game-card:hover .more i { transform: translateX(8px); }
.slots { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 20px; }
.slot { border: 1.5px dashed var(--line); border-radius: var(--radius); padding: 28px; display: flex; gap: 18px; align-items: center; color: var(--muted); min-height: 110px; }
.slot b { font-family: var(--display); font-size: 2.2rem; color: var(--gold); opacity: 0.6; font-weight: 400; }
@media (max-width: 860px) { .game-card { grid-template-columns: 1fr; } .game-card .shot { min-height: 240px; } .game-card .shot::after { background: linear-gradient(0deg, var(--panel), transparent 50%); } .slots { grid-template-columns: 1fr; } }

/* ---------- Empfehlungen ---------- */
.picks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.pick { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; background: var(--ink-2); position: relative; overflow: hidden; }
.pick::before { content: "Coming soon"; position: absolute; top: 18px; right: -42px; transform: rotate(35deg); background: var(--gold); color: var(--ink); font-size: 0.66rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; padding: 5px 48px; }
.pick .ph { aspect-ratio: 16 / 10; border-radius: 10px; margin-bottom: 18px; background: repeating-linear-gradient(135deg, rgba(217, 169, 74, 0.08) 0 12px, transparent 12px 24px), var(--panel); border: 1px dashed var(--line); display: grid; place-items: center; color: var(--muted); font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; }
.fine { font-size: 0.86rem; color: var(--muted); margin-top: 20px; }
@media (max-width: 860px) { .picks { grid-template-columns: 1fr; } }

/* ---------- Folgen / Kontakt ---------- */
.follow { text-align: center; background: radial-gradient(700px 320px at 50% 100%, rgba(226, 118, 60, 0.18), transparent 70%), var(--ink); }
.follow h2 { margin-inline: auto; max-width: 18ch; }
.follow .lead { margin-inline: auto; }
.follow .btn-row { justify-content: center; }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--line); background: var(--ink-2); padding: 56px 0 40px; font-size: 0.95rem; color: var(--muted); }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.foot h4 { font: 600 0.74rem/1 var(--body); letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); margin: 0 0 16px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot a { color: var(--text); text-decoration: none; }
.foot a:hover { color: var(--gold-soft); }
.legalline { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 0.86rem; }
@media (max-width: 760px) { .foot { grid-template-columns: 1fr; } }

/* ============ LudoQuest-Seite ============ */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); overflow: hidden; margin-top: -60px; position: relative; z-index: 3; }
.facts div { padding: 28px 20px; text-align: center; border-right: 1px solid var(--line); }
.facts div:last-child { border-right: 0; }
.facts b { display: block; font-family: var(--display); font-size: clamp(2rem, 4vw, 3rem); color: var(--gold-soft); font-weight: 400; line-height: 1.1; }
.facts span { font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 720px) { .facts { grid-template-columns: 1fr 1fr; } .facts div:nth-child(2) { border-right: 0; } .facts div:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }

/* Chronik: Bild bleibt stehen, Kapitel wechseln */
.chron { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.chron-img { position: sticky; top: 96px; aspect-ratio: 16 / 10; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 40px 90px -40px #000; }
.chron-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity 1s var(--ease), transform 6s linear; }
.chron-img img.on { opacity: 1; transform: scale(1); }
.chron-img::after { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(217, 169, 74, 0.35); border-radius: 10px; pointer-events: none; }
.chapter { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; opacity: 0.32; transition: opacity 0.6s; }
.chapter.on { opacity: 1; }
.chapter .roman { font-family: var(--display); color: var(--gold); letter-spacing: 0.2em; font-size: 0.95rem; margin-bottom: 10px; }
.chapter blockquote { margin: 18px 0 0; padding-left: 18px; border-left: 2px solid var(--gold); font-family: var(--display); font-size: 1.35rem; color: var(--gold-soft); letter-spacing: 0.04em; }
@media (max-width: 860px) { .chron { grid-template-columns: 1fr; } .chron-img { position: relative; top: 0; } .chapter { min-height: 0; opacity: 1; padding: 24px 0; } }

/* Würfel */
.play { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.dice-stage { perspective: 900px; display: grid; place-items: center; min-height: 320px; border: 1px solid var(--line); border-radius: 20px; background: radial-gradient(circle at 50% 38%, rgba(43, 100, 85, 0.45), var(--panel) 70%); position: relative; }
.dice { width: 120px; height: 120px; position: relative; transform-style: preserve-3d; transition: transform 1.4s cubic-bezier(0.15, 0.8, 0.2, 1); cursor: pointer; transform: rotateX(-24deg) rotateY(32deg); }
.dice .f { position: absolute; inset: 0; border-radius: 20px; background: linear-gradient(145deg, #f6ecd2, #d8c79c); border: 1px solid #b59a5c; display: grid; grid-template: repeat(3, 1fr) / repeat(3, 1fr); padding: 16px; box-shadow: inset 0 0 18px rgba(120, 90, 30, 0.35); }
.dice .f i { width: 22px; height: 22px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #5a2a1a, #2a1008); place-self: center; }
.dice .f1 { transform: rotateY(0) translateZ(60px); }
.dice .f2 { transform: rotateY(90deg) translateZ(60px); }
.dice .f3 { transform: rotateX(90deg) translateZ(60px); }
.dice .f4 { transform: rotateX(-90deg) translateZ(60px); }
.dice .f5 { transform: rotateY(-90deg) translateZ(60px); }
.dice .f6 { transform: rotateY(180deg) translateZ(60px); }
.dice-stage .hint { position: absolute; bottom: 20px; font-size: 0.8rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }
.dice-out { font-family: var(--display); font-size: 1.5rem; color: var(--gold-soft); min-height: 2.2em; letter-spacing: 0.04em; }
.rules { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; counter-reset: r; }
.rules li { counter-increment: r; display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.rules li::before { content: counter(r); width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--gold); display: grid; place-items: center; font-family: var(--display); color: var(--gold); }
.rules strong { color: var(--paper); }
@media (max-width: 860px) { .play { grid-template-columns: 1fr; } }

/* Fraktionen */
.factions { background: radial-gradient(800px 500px at 50% 50%, rgba(31, 74, 64, 0.35), transparent 70%), var(--ink); overflow: hidden; }
.orbit-wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
.orbit { --r: min(36vw, 230px); position: relative; width: calc(var(--r) * 2 + 120px); height: calc(var(--r) * 2 + 120px); margin-inline: auto; }
.orbit::before, .orbit::after { content: ""; position: absolute; border-radius: 50%; border: 1px solid var(--line); inset: 60px; }
.orbit::after { inset: calc(60px + var(--r) * 0.45); border-style: dashed; opacity: 0.6; }
.orbit .ring { position: absolute; inset: 0; animation: spin 80s linear infinite; }
.orbit:hover .ring, .orbit:hover .ring .em { animation-play-state: paused; }
.orbit .em { position: absolute; left: 50%; top: 50%; width: 96px; height: 96px; margin: -48px 0 0 -48px; transform: rotate(calc(var(--a) * 1deg)) translateY(calc(var(--r) * -1)); }
.orbit .em button { width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: pointer; animation: spin 80s linear infinite reverse; filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.6)); transition: filter 0.3s; }
.orbit .em img { width: 100%; height: 100%; object-fit: contain; transition: transform 0.4s var(--ease); }
.orbit .em button:hover img, .orbit .em button.sel img { transform: scale(1.28); }
.orbit .em button.sel { filter: drop-shadow(0 0 18px var(--c)) drop-shadow(0 8px 14px rgba(0, 0, 0, 0.6)); }
.orbit .core { position: absolute; inset: 50% auto auto 50%; width: 150px; height: 150px; margin: -75px 0 0 -75px; border-radius: 50%; display: grid; place-items: center; text-align: center; background: radial-gradient(circle, rgba(217, 169, 74, 0.35), rgba(217, 169, 74, 0) 70%); font-family: var(--display); color: var(--gold-soft); letter-spacing: 0.1em; }
.fact-card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); padding: 34px; min-height: 270px; position: relative; overflow: hidden; }
.fact-card::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--c, var(--gold)); transition: background 0.4s; }
.fact-card .el { font-size: 0.74rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--c, var(--gold)); }
.fact-card h3 { font-size: 2rem; margin: 8px 0 12px; }
.fact-card p { color: #cfc9b6; }
@media (max-width: 900px) { .orbit-wrap { grid-template-columns: 1fr; } .orbit { --r: min(34vw, 140px); } .orbit .em { width: 64px; height: 64px; margin: -32px 0 0 -32px; } .orbit .core { width: 100px; height: 100px; margin: -50px 0 0 -50px; font-size: 0.8rem; } }

/* Galerie */
.gallery { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; margin-top: 44px; }
.gallery button { padding: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--panel); cursor: zoom-in; position: relative; aspect-ratio: 16 / 10; grid-column: span 2; }
.gallery button:nth-child(1), .gallery button:nth-child(6) { grid-column: span 3; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease), filter 0.4s; filter: saturate(0.9); }
.gallery button:hover img { transform: scale(1.08); filter: none; }
.gallery span { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 10px; background: linear-gradient(transparent, rgba(0, 0, 0, 0.85)); text-align: left; font-size: 0.82rem; color: var(--paper); opacity: 0; transform: translateY(8px); transition: all 0.4s; }
.gallery button:hover span, .gallery button:focus-visible span { opacity: 1; transform: none; }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr 1fr; } .gallery button, .gallery button:nth-child(1), .gallery button:nth-child(6) { grid-column: span 1; } }
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(4, 7, 6, 0.94); display: none; place-items: center; padding: 30px; }
.lightbox.open { display: grid; }
.lightbox img { max-height: 84vh; width: auto; border-radius: 10px; box-shadow: 0 30px 90px #000; }
.lightbox p { text-align: center; color: var(--muted); margin: 14px 0 0; }
.lightbox .x { position: absolute; top: 18px; right: 22px; background: none; border: 1px solid var(--line); color: var(--paper); width: 46px; height: 46px; border-radius: 50%; font-size: 1.3rem; cursor: pointer; }

/* Trailer und Plattformen */
.trailer { position: relative; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); background: #000; display: grid; place-items: center; }
.trailer img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.55; }
.trailer .play-btn { position: relative; text-align: center; }
.trailer .circle { width: 96px; height: 96px; border-radius: 50%; border: 2px solid var(--gold); display: grid; place-items: center; margin: 0 auto 16px; position: relative; background: rgba(10, 15, 13, 0.55); }
.trailer .circle::before { content: ""; position: absolute; inset: -14px; border-radius: 50%; border: 1px solid var(--gold); opacity: 0; animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { transform: scale(0.8); opacity: 0.8; } 100% { transform: scale(1.35); opacity: 0; } }
.trailer .circle svg { width: 34px; height: 34px; fill: var(--gold); margin-left: 5px; }
.trailer video { position: absolute; inset: 0; width: 100%; height: 100%; }
.stores { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 36px; }
.store { border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; background: var(--panel); display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.store h3 { margin: 0 0 4px; }
.store p { margin: 0; color: var(--muted); }
@media (max-width: 760px) { .stores { grid-template-columns: 1fr; } }
.honest { border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(28px, 4vw, 48px); background: linear-gradient(135deg, rgba(31, 74, 64, 0.4), var(--panel)); }
.honest ul { margin: 18px 0 0; padding-left: 1.2em; color: #d4cdb9; }
.honest li { margin-bottom: 8px; }

/* ---------- Intro-Player ---------- */
.intro { position: fixed; inset: 0; z-index: 300; background: #050807; display: none; overflow: hidden; }
.intro.open { display: block; }
.intro .slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.0); transition: opacity 1.4s ease; }
.intro .slides img.on { opacity: 1; animation: kb 26s ease-out forwards; }
@keyframes kb { from { transform: scale(1.02) translate3d(0, 0, 0); } to { transform: scale(1.16) translate3d(-1.5%, -1%, 0); } }
.intro::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at center, transparent 40%, rgba(0, 0, 0, 0.6) 100%), linear-gradient(0deg, rgba(0, 0, 0, 0.94) 0%, rgba(0, 0, 0, 0.7) 38%, transparent 70%); }
.intro .txt { position: absolute; z-index: 2; left: 50%; bottom: clamp(70px, 12vh, 120px); transform: translateX(-50%); width: min(860px, calc(100% - 40px)); text-align: center; }
.intro .roman { font-family: var(--display); letter-spacing: 0.3em; color: var(--gold); font-size: 0.9rem; opacity: 0; transition: opacity 1s 0.3s; }
.intro h2 { font-size: clamp(1.6rem, 4vw, 3rem); margin: 10px 0 14px; opacity: 0; transform: translateY(16px); transition: all 1s 0.5s var(--ease); }
.intro p { font-size: clamp(1rem, 1.9vw, 1.3rem); line-height: 1.65; color: #e4dcc7; text-shadow: 0 2px 14px #000; opacity: 0; transform: translateY(16px); transition: all 1.2s 0.9s var(--ease); }
.intro .quote { font-family: var(--display); color: var(--gold-soft); letter-spacing: 0.06em; margin-top: 8px; opacity: 0; transition: opacity 1.2s 1.6s; font-size: clamp(1.1rem, 2.4vw, 1.6rem); }
.intro .txt.show .roman, .intro .txt.show h2, .intro .txt.show p, .intro .txt.show .quote { opacity: 1; transform: none; }
.intro .bar { position: absolute; z-index: 3; left: 0; bottom: 0; height: 3px; background: var(--gold); width: 0; }
.intro .ctl { position: absolute; z-index: 4; top: 18px; right: 18px; display: flex; gap: 10px; }
.intro .ctl button, .intro .nav2 button { background: rgba(10, 15, 13, 0.6); border: 1px solid var(--line); color: var(--paper); padding: 10px 16px; border-radius: 999px; cursor: pointer; font: 600 0.82rem/1 var(--body); letter-spacing: 0.08em; backdrop-filter: blur(6px); }
.intro .ctl button:hover, .intro .nav2 button:hover { border-color: var(--gold); color: #fff; }
.intro .nav2 { position: absolute; z-index: 4; bottom: 22px; left: 0; right: 0; display: flex; justify-content: center; gap: 12px; }
.intro .dots { position: absolute; z-index: 4; top: 26px; left: 24px; display: flex; gap: 8px; }
.intro .dots i { width: 28px; height: 3px; background: rgba(255, 255, 255, 0.25); }
.intro .dots i.on { background: var(--gold); }
.intro .start { position: absolute; z-index: 5; inset: 0; display: grid; place-items: center; text-align: center; background: rgba(5, 8, 7, 0.78); }
.intro .start h2 { margin-bottom: 8px; }

/* ---------- Rechtstexte ---------- */
.legal { padding-top: 140px; }
.legal h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
.legal h2 { font-size: 1.5rem; margin-top: 2em; }
.legal p, .legal li { color: #d6cfbb; }
.legal .todo { background: rgba(226, 118, 60, 0.16); border: 1px dashed var(--ember); border-radius: 6px; padding: 1px 6px; color: #ffd2b8; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .hero h1 .w > span { transform: none; }
  .hero .lead, .hero .btn-row { opacity: 1; }
}

/* Hinweisband "im Aufbau": immer sichtbar, unten am Bildschirmrand. */
.build-banner { position: fixed; inset: auto 0 0 0; z-index: 85; background: rgba(217, 169, 74, 0.96); color: #1a1405; font-size: 0.85rem; line-height: 1.35; padding: 9px 16px; text-align: center; border-top: 1px solid rgba(0, 0, 0, 0.25); }
body { padding-bottom: 46px; }
@media (max-width: 640px) { .build-banner { font-size: 0.78rem; padding: 8px 12px; } body { padding-bottom: 64px; } }
.notice { border: 1px solid var(--gold, #d9a94a); background: rgba(217, 169, 74, 0.1); border-radius: 10px; padding: 14px 16px; margin: 0 0 1.4em; line-height: 1.55; }
