/* DREADHOLD – Website (dreadhold.org). Keine Abhängigkeiten außer Google Fonts. */
:root {
  --bg: #0a0507;
  --bg-2: #120a0c;
  --bg-3: #1a0e10;
  --ink: #f3e6cf;
  --ink-dim: #b9a58a;
  --gold: #e8c27a;
  --gold-deep: #a9793a;
  --ember: #e06a2c;
  --line: rgba(232, 194, 122, .18);
  --serif: "Cinzel", "Trajan Pro", Georgia, serif;
  --sans: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  color-scheme: dark;
}
/* Dunkles Design in beiden Modi (Marke). */
@media (prefers-color-scheme: light) { :root:not([data-theme="light"]) { --bg: #0a0507; } }
:root[data-theme="dark"] { --bg: #0a0507; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 18px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: var(--gold); }
button { font: inherit; color: inherit; }
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.wrap.narrow { width: min(820px, 100% - 32px); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--gold); color: #1a0d05; padding: 8px 14px; border-radius: 4px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 700; letter-spacing: .06em; margin: 0; line-height: 1.2; }
h2 { font-size: clamp(28px, 4.2vw, 46px); color: var(--gold); }
.eyebrow { font-family: var(--serif); letter-spacing: .32em; text-transform: uppercase; font-size: 13px; color: var(--ember); margin: 0 0 12px; }
section { padding: clamp(72px, 10vw, 130px) 0; position: relative; }
.sec-head { max-width: 720px; margin-bottom: 44px; }
.sec-head p:not(.eyebrow) { color: var(--ink-dim); margin: 16px 0 0; font-size: 19px; }
.note { font-size: 14px; color: var(--ink-dim); opacity: .8; margin-top: 18px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; font-family: var(--serif); letter-spacing: .12em; text-transform: uppercase; font-size: 15px; padding: 14px 24px; border-radius: 4px; border: 1px solid var(--gold-deep); color: var(--ink); background: rgba(10, 5, 7, .55); text-decoration: none; cursor: pointer; transition: border-color .2s, box-shadow .2s, transform .2s; }
.btn:hover { border-color: var(--gold); box-shadow: 0 0 24px rgba(224, 106, 44, .25); }
.btn.primary { background: linear-gradient(180deg, #d1913f, #8a5a24); border-color: var(--gold); color: #1a0d05; font-weight: 700; }
.btn.primary:hover { transform: translateY(-1px); }
.btn.soon { opacity: .6; cursor: default; border-style: dashed; }
.btn.soon:hover { box-shadow: none; border-color: var(--gold-deep); }
.btn svg { width: 20px; height: 20px; }
.btn em { font-style: normal; font-size: 11px; padding: 2px 7px; border: 1px solid currentColor; border-radius: 3px; letter-spacing: .12em; }
.btn .play { width: 0; height: 0; border-left: 11px solid currentColor; border-top: 7px solid transparent; border-bottom: 7px solid transparent; }
.cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 36px; }
.cta.left { justify-content: flex-start; }

/* Kopfzeile */
header.top { position: fixed; inset: 0 0 auto; z-index: 20; transition: background .3s, box-shadow .3s; }
header.top.solid { background: rgba(10, 5, 7, .92); box-shadow: 0 1px 0 var(--line); backdrop-filter: blur(8px); }
header.top .wrap { display: flex; align-items: center; gap: 24px; padding: 12px 0; }
header.top .brand img { width: 150px; height: auto; }
header.top nav { display: flex; gap: 22px; margin-left: auto; font-size: 15px; }
header.top nav a { color: var(--ink-dim); text-decoration: none; letter-spacing: .04em; }
header.top nav a:hover { color: var(--gold); }
.lang { display: flex; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.lang button { background: none; border: 0; padding: 6px 10px; font-size: 13px; letter-spacing: .1em; color: var(--ink-dim); cursor: pointer; }
.lang button[aria-pressed="true"] { background: var(--gold); color: #1a0d05; font-weight: 700; }
@media (max-width: 820px) { header.top nav { display: none; } .lang { margin-left: auto; } header.top .brand img { width: 120px; } }

/* Hero */
.hero { min-height: 100vh; min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 120px 0 110px; overflow: hidden; }
.hero-bg { position: absolute; inset: -4%; background: url("/img/misc/title-wide.webp") center 40% / cover no-repeat; transform: scale(1.04); animation: drift 30s ease-in-out infinite alternate; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 45%, rgba(10,5,7,.15) 0%, rgba(10,5,7,.65) 60%, rgba(10,5,7,.95) 100%), linear-gradient(180deg, rgba(10,5,7,.5) 0%, transparent 30%, transparent 60%, var(--bg) 100%); }
@keyframes drift { to { transform: scale(1.1) translate(-1%, -1%); } }
.embers { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-inner { position: relative; z-index: 1; }
.hero-logo { width: min(720px, 88vw); margin: 0 auto; filter: drop-shadow(0 10px 40px rgba(0,0,0,.8)); animation: rise 1.4s cubic-bezier(.2,.7,.2,1) both; }
.hero .tagline { font-family: var(--serif); letter-spacing: .34em; text-transform: uppercase; color: var(--ink); margin: 22px 0 0; font-size: clamp(13px, 2vw, 18px); text-shadow: 0 2px 12px #000; animation: rise 1.4s .25s cubic-bezier(.2,.7,.2,1) both; }
.hero .lead { max-width: 640px; margin: 18px auto 0; color: var(--ink); opacity: .85; font-size: 19px; text-shadow: 0 2px 12px #000; animation: rise 1.4s .4s cubic-bezier(.2,.7,.2,1) both; }
.hero .cta { animation: rise 1.4s .55s cubic-bezier(.2,.7,.2,1) both; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
.scroll-cue { position: absolute; bottom: 28px; left: 50%; width: 26px; height: 42px; margin-left: -13px; border: 2px solid rgba(243,230,207,.5); border-radius: 14px; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; background: var(--gold); border-radius: 2px; animation: cue 1.8s infinite; }
@keyframes cue { 50% { transform: translateY(12px); opacity: .2; } }

/* Rahmen für Video und Bilder */
.frame { position: relative; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #000; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.frame video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

/* Gameplay */
.gameplay { background: linear-gradient(180deg, var(--bg), var(--bg-2)); }
.steps { list-style: none; padding: 0; margin: 56px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.steps li { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--bg-3); }
.steps img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.steps li > div { padding: 22px 22px 26px; }
.steps .num { font-family: var(--serif); color: var(--ember); letter-spacing: .2em; font-size: 14px; }
.steps h3 { color: var(--gold); font-size: 21px; margin: 8px 0 8px; }
.steps p { margin: 0; color: var(--ink-dim); font-size: 17px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* Builder */
.builders { background: radial-gradient(ellipse at 50% 0%, rgba(224,106,44,.10), transparent 55%), var(--bg); }
.champ-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 12px; }
.champ { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 10px 6px 12px; border: 1px solid var(--line); border-radius: 8px; background: rgba(18,10,12,.7); cursor: pointer; transition: border-color .2s, transform .2s, box-shadow .2s; }
.champ img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 2px solid var(--rc, var(--gold-deep)); }
.champ b { font-family: var(--serif); font-size: 13px; letter-spacing: .04em; font-weight: 500; text-align: center; line-height: 1.2; }
.champ:hover { transform: translateY(-2px); border-color: var(--rc, var(--gold)); }
.champ[aria-selected="true"] { border-color: var(--rc, var(--gold)); box-shadow: 0 0 0 1px var(--rc, var(--gold)), 0 0 30px color-mix(in srgb, var(--rc, #e8c27a) 35%, transparent); background: color-mix(in srgb, var(--rc, #e8c27a) 10%, #120a0c); }
.b-detail { margin-top: 36px; border: 1px solid var(--line); border-radius: 14px; padding: clamp(18px, 3vw, 34px); background: linear-gradient(180deg, rgba(26,14,16,.9), rgba(10,5,7,.95)); --rc: #e8c27a; }
.b-hero { display: grid; grid-template-columns: 300px 1fr; gap: 34px; align-items: center; }
.b-art { position: relative; aspect-ratio: 2 / 3; border-radius: 10px; overflow: hidden; background: radial-gradient(ellipse at 50% 70%, color-mix(in srgb, var(--rc) 40%, transparent), transparent 70%); }
.b-art img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 20px 30px rgba(0,0,0,.7)); transition: opacity .3s; }
.b-klass { font-family: var(--serif); letter-spacing: .28em; text-transform: uppercase; font-size: 13px; color: var(--rc); margin: 0 0 6px; }
.b-info h3 { font-size: clamp(28px, 3.6vw, 40px); color: var(--ink); }
.b-tag { color: var(--ink-dim); margin: 14px 0 22px; font-size: 18px; }
.b-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 26px; }
.b-stat span { display: flex; justify-content: space-between; font-size: 14px; letter-spacing: .06em; color: var(--ink-dim); }
.b-stat i { display: block; height: 6px; margin-top: 6px; border-radius: 3px; background: rgba(255,255,255,.08); overflow: hidden; }
.b-stat i::after { content: ""; display: block; height: 100%; width: calc(var(--v) * 20%); background: linear-gradient(90deg, var(--gold-deep), var(--rc)); transition: width .5s; }
@media (max-width: 760px) { .b-hero { grid-template-columns: 1fr; } .b-art { max-width: 260px; margin: 0 auto; } }

.t-panel { margin-top: 34px; }
.t-list { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.t-chip { font-family: var(--serif); font-size: 14px; letter-spacing: .05em; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--gold-deep); background: rgba(10,5,7,.6); cursor: pointer; }
.t-chip[aria-selected="true"], .t-chip:hover { border-color: var(--rc); color: var(--rc); box-shadow: 0 0 18px color-mix(in srgb, var(--rc) 30%, transparent); }
.t-chip small { font-family: var(--sans); font-size: 11px; opacity: .7; margin-left: 6px; letter-spacing: .1em; }
.t-body { display: grid; grid-template-columns: 1.25fr 1fr; gap: 26px; align-items: stretch; }
.stage3d { position: relative; min-height: 420px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: radial-gradient(ellipse at 50% 62%, color-mix(in srgb, var(--rc) 22%, #2a120c) 0%, #140a0c 55%, #0a0507 100%); }
.stage3d canvas { display: block; touch-action: pan-y; cursor: grab; }
.stage3d canvas:active { cursor: grabbing; }
.stage3d .hint { position: absolute; left: 14px; bottom: 12px; font-size: 13px; color: var(--ink-dim); letter-spacing: .08em; pointer-events: none; }
.stage3d .notice { position: absolute; right: 14px; top: 12px; margin: 0; font-size: 13px; color: var(--gold); background: rgba(10,5,7,.75); padding: 6px 10px; border-radius: 4px; z-index: 2; }
.stage3d .notice[hidden], .t-fallback[hidden] { display: none; }
.t-fallback { position: absolute; inset: 0; margin: auto; max-height: 86%; width: auto; object-fit: contain; filter: drop-shadow(0 20px 30px rgba(0,0,0,.7)); }
.t-info { border: 1px solid var(--line); border-radius: 10px; padding: 24px; background: rgba(10,5,7,.5); }
.t-role { font-family: var(--serif); letter-spacing: .2em; text-transform: uppercase; font-size: 12px; color: var(--ember); margin: 0; }
.t-info h4 { font-size: 26px; color: var(--gold); margin: 8px 0 10px; }
.t-desc { margin: 0 0 18px; color: var(--ink-dim); font-size: 17px; min-height: 3.2em; }
.t-tiers { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-bottom: 18px; }
.t-tiers button { padding: 8px 0; border: 1px solid var(--line); border-radius: 4px; background: rgba(255,255,255,.03); font-family: var(--serif); font-size: 14px; cursor: pointer; }
.t-tiers button[aria-selected="true"] { background: linear-gradient(180deg, #d1913f, #8a5a24); color: #1a0d05; border-color: var(--gold); font-weight: 700; }
.t-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 0; }
.t-stats div { background: rgba(255,255,255,.04); border-radius: 6px; padding: 8px 10px; }
.t-stats dt { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-dim); }
.t-stats dd { margin: 2px 0 0; font-family: var(--serif); font-size: 19px; color: var(--ink); }
.t-strong { margin: 16px 0 0; font-size: 15px; color: var(--ink-dim); }
.t-strong b { color: var(--gold); font-weight: 600; }
@media (max-width: 900px) { .t-body { grid-template-columns: 1fr; } .stage3d { min-height: 340px; } }

/* Paragon */
.paragon-sec { background: radial-gradient(ellipse at 50% 30%, rgba(110,70,190,.16), transparent 60%), var(--bg-2); }
.p-tips { list-style: none; padding: 0; margin: 0 0 22px; display: flex; flex-wrap: wrap; gap: 10px; }
.p-tips li { font-size: 15px; color: var(--ink-dim); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; }

/* Medien */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.g-item { display: block; padding: 0; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #000; cursor: zoom-in; transition: transform .3s, border-color .3s; }
.g-item:hover { transform: translateY(-3px); border-color: var(--gold-deep); }
.g-item img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 9; }
.g-item.wide { grid-column: span 2; }
.clips { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 14px; }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr; } .g-item.wide { grid-column: auto; } .clips { grid-template-columns: 1fr; } }

/* Rangliste */
.rank { background: linear-gradient(180deg, var(--bg), var(--bg-2)); }
.rank-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 44px; align-items: center; }
.rank-grid p:not(.eyebrow) { color: var(--ink-dim); }
@media (max-width: 860px) { .rank-grid { grid-template-columns: 1fr; } }

/* News */
.news-empty { border: 1px dashed var(--line); border-radius: 10px; padding: 28px; max-width: 820px; color: var(--ink-dim); }
.news-empty p { margin: 0; }

/* Studio */
.studio-sec { background: var(--bg-2); }
.studio { display: grid; grid-template-columns: 280px 1fr; gap: 46px; align-items: center; }
.studio p { color: var(--ink-dim); }
@media (max-width: 760px) { .studio { grid-template-columns: 1fr; } .studio img { width: 220px; } }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-family: var(--serif); font-size: 19px; letter-spacing: .03em; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font-size: 24px; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-dim); margin: 12px 0 0; }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 40px 0 60px; color: var(--ink-dim); font-size: 15px; }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 24px 40px; justify-content: space-between; align-items: center; }
.foot-brand img { width: 150px; }
.foot-brand p { margin: 8px 0 0; }
.foot nav { display: flex; flex-wrap: wrap; gap: 22px; }
.foot a { color: var(--ink-dim); }
.foot a:hover { color: var(--gold); }

/* Lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 94vw; max-height: 92vh; overflow: visible; }
.lightbox::backdrop { background: rgba(5, 2, 3, .88); backdrop-filter: blur(4px); }
.lightbox img, .lightbox video { max-width: 94vw; max-height: 88vh; border-radius: 8px; box-shadow: 0 30px 90px #000; }
.lightbox.video video { width: min(1200px, 94vw); }
.lb-close { position: absolute; top: -44px; right: 0; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--gold-deep); background: rgba(10,5,7,.8); color: var(--ink); font-size: 24px; line-height: 1; cursor: pointer; }

/* Einblenden beim Scrollen */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-bg, .hero-logo, .hero .tagline, .hero .lead, .hero .cta, .scroll-cue span { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
