/* MarcelkMedia – Dark & modern. Keine externen Fonts (DSGVO-freundlich, schnell). */
:root {
  --bg: #0b0d12;
  --bg-2: #11141c;
  --surface: #161a24;
  --border: #252b3a;
  --text: #eef1f7;
  --muted: #9aa3b5;
  --accent: #ff5a36;
  --accent-2: #7c5cff;
  --radius: 16px;
  --max: 1120px;
  --font: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body {
  margin: 0;
  font: 400 1.0625rem/1.65 var(--font);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .6em; }
h1 { font-size: clamp(2.2rem, 5.5vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 750; }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.container { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -100px; background: var(--accent); color: #fff; padding: .6rem 1rem; border-radius: 8px; z-index: 100; }
.skip:focus { top: 1rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgb(11 13 18 / .8);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; font-size: 1.15rem; margin: 0; }
.logo strong { background: linear-gradient(90deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.site-nav { display: flex; gap: 1.75rem; align-items: center; }
.site-nav a { text-decoration: none; color: var(--muted); font-weight: 500; transition: color .2s; }
.site-nav a:hover { color: var(--text); }
.site-nav .lang { border: 1px solid var(--border); padding: .3rem .8rem; border-radius: 999px; font-size: .9rem; }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; }
.bars, .bars::before, .bars::after { display: block; width: 22px; height: 2px; background: var(--text); margin: auto; position: relative; transition: transform .2s; }
.bars::before, .bars::after { content: ''; position: absolute; }
.bars::before { top: -7px; } .bars::after { top: 7px; }
.nav-toggle[aria-expanded='true'] .bars { background: transparent; }
.nav-toggle[aria-expanded='true'] .bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded='true'] .bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; inset: 68px 0 auto 0; flex-direction: column; gap: 0;
    background: var(--bg-2); border-bottom: 1px solid var(--border);
    display: none; padding: .5rem 1.25rem 1rem;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: .85rem 0; width: 100%; border-bottom: 1px solid var(--border); }
  .site-nav .lang { border: 0; border-radius: 0; padding: .85rem 0; font-size: 1rem; }
}

/* Buttons */
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.75rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .75rem 1.5rem; border-radius: 999px;
  font-weight: 650; text-decoration: none; transition: transform .15s, box-shadow .2s, background .2s;
}
.btn.primary { background: linear-gradient(90deg, var(--accent), #ff7a45); color: #fff; box-shadow: 0 8px 24px -8px rgb(255 90 54 / .6); }
.btn.primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -8px rgb(255 90 54 / .75); }
.btn.ghost { border: 1px solid var(--border); color: var(--text); background: rgb(255 255 255 / .03); }
.btn.ghost:hover { background: rgb(255 255 255 / .08); }
.btn.disabled { color: var(--muted); cursor: default; }
.btn.disabled:hover { background: rgb(255 255 255 / .03); }

/* Hero */
.hero { position: relative; padding: clamp(4.5rem, 12vw, 9rem) 0 clamp(3.5rem, 8vw, 6rem); overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(closest-side, rgb(124 92 255 / .28), transparent),
              radial-gradient(closest-side at 30% 70%, rgb(255 90 54 / .22), transparent);
  filter: blur(10px); z-index: -1;
}
.hero h1 { max-width: 14ch; }
.kicker { text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; font-weight: 700; color: var(--accent); margin-bottom: 1rem; }
.lead { font-size: clamp(1.1rem, 2vw, 1.3rem); color: var(--muted); max-width: 60ch; }

/* Sections */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; scroll-margin-top: 68px; }
.section.alt { background: var(--bg-2); border-block: 1px solid var(--border); }
section[id] { scroll-margin-top: 68px; }

/* Game Cards */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; margin-top: 2rem; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: transform .2s, border-color .2s; }
.card:hover { transform: translateY(-4px); border-color: #3a4258; }
.card-link { display: block; text-decoration: none; }
.card-body { padding: 1.5rem; }
.card h3 a { text-decoration: none; }
.card p { color: var(--muted); }
.more { color: var(--accent); font-weight: 650; text-decoration: none; }
.more:hover { text-decoration: underline; }
.tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: .9rem; }
.tag { font-size: .78rem; font-weight: 600; padding: .25rem .7rem; border-radius: 999px; background: rgb(255 255 255 / .06); color: var(--muted); }
.tag.status { background: rgb(124 92 255 / .18); color: #c8bcff; }

/* Leistungen */
.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.25rem; margin-top: 2rem; }
.service {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.6rem;
  transition: transform .2s, border-color .2s; scroll-margin-top: 90px;
}
.service:hover { transform: translateY(-3px); border-color: #3a4258; }
.service h3 { font-size: 1.2rem; margin-top: 1rem; }
.service p { color: var(--muted); font-size: .97rem; }
.icon { color: var(--accent); background: rgb(255 90 54 / .12); border-radius: 12px; padding: 10px; width: 48px; height: 48px; }
.small-list li { font-size: .92rem; padding: .3rem 0 .3rem 1.6rem; }

/* Ablauf */
.steps { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.25rem; counter-reset: none; }
.step { position: relative; padding: 1.4rem 1.4rem 1.2rem; border-left: 2px solid var(--border); }
.step-no {
  display: inline-grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; font-weight: 800; margin-bottom: .8rem;
}
.step h3 { font-size: 1.1rem; margin-bottom: .4rem; }
.step p { color: var(--muted); font-size: .95rem; margin: 0; }

/* Spielbilder */
.game-art { aspect-ratio: 16 / 9; overflow: hidden; background: #10131b; }
.game-art img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card:hover .game-art img { transform: scale(1.04); }
.game-art.big { border-radius: var(--radius); border: 1px solid var(--border); box-shadow: 0 30px 60px -30px rgb(0 0 0 / .8); }

.age-note { display: flex; gap: .6rem; align-items: center; margin-top: 1.25rem; font-size: .88rem; color: var(--muted); max-width: 52ch; }
.age-badge { flex: none; display: inline-grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 8px; background: #c8102e; color: #fff; font-weight: 800; font-size: .85rem; }

.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.25rem; margin-top: 1.5rem; }
.gallery.portrait { grid-template-columns: repeat(auto-fit, minmax(200px, 300px)); justify-content: center; }
.gallery figure { margin: 0; }
.gallery a { display: block; border-radius: 12px; overflow: hidden; border: 1px solid var(--border); background: #10131b; }
.gallery img { width: 100%; height: auto; transition: transform .3s ease; }
.gallery a:hover img { transform: scale(1.03); }
.gallery figcaption { font-size: .85rem; color: var(--muted); margin-top: .5rem; }

/* Spielseite */
.breadcrumb { padding-top: 1.5rem; font-size: .9rem; color: var(--muted); }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--text); }
.game-hero { padding: 2.5rem 0 1rem; }
.game-hero-inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 3rem; align-items: center; }
.game-content { display: grid; grid-template-columns: 1fr 300px; gap: 3rem; align-items: start; }
.game-content h2 { margin-top: 1.5rem; }
.game-content h2:first-child { margin-top: 0; }
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { padding: .5rem 0 .5rem 1.9rem; position: relative; }
.checklist li::before { content: '✓'; position: absolute; left: 0; color: var(--accent); font-weight: 800; }
.facts { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; position: sticky; top: 90px; }
.facts dl { margin: 0; }
.facts dt { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.facts dd { margin: .2rem 0 1rem; font-weight: 600; }
.facts dd:last-child { margin-bottom: 0; }
@media (max-width: 860px) {
  .game-hero-inner, .game-content { grid-template-columns: 1fr; gap: 2rem; }
  .facts { position: static; }
}

/* Rechtstexte */
.prose h2 { font-size: 1.35rem; margin-top: 2rem; }
.prose a { color: var(--accent); }
.prose h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.prose h3 { font-size: 1.15rem; margin-top: 1.6rem; }
.prose h4 { font-size: 1rem; margin: 1.2rem 0 .4rem; }
.prose ol, .prose ul { padding-left: 1.4rem; }
.prose li { margin-bottom: .5rem; }
.prose code { font-size: .9em; background: rgb(255 255 255 / .06); padding: .1rem .35rem; border-radius: 4px; }
.toc { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 1rem 1.25rem; margin: 1.5rem 0 2rem; }
.toc ol { columns: 2; column-gap: 2rem; margin: 0; font-size: .92rem; }
.toc li { margin-bottom: .3rem; break-inside: avoid; }
@media (max-width: 600px) { .toc ol { columns: 1; } }
.legal-box { border: 1px solid var(--border); border-left: 3px solid var(--accent); border-radius: 10px; padding: .5rem 1.25rem 1rem; margin: 1.5rem 0; background: rgb(255 255 255 / .02); }
.form-lines { list-style: '– '; }
.about-facts { list-style: none; padding: 0; margin: 1.75rem 0 1.25rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: .75rem; }
.about-facts li { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: .9rem 1rem; display: flex; flex-direction: column; gap: .2rem; }
.about-facts strong { font-size: 1.15rem; color: var(--accent); }
.about-facts span { font-size: .88rem; color: var(--muted); }
.about-links { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; font-size: .95rem; }
.about-links a { color: var(--accent); text-decoration: none; font-weight: 500; }
.about-links a:hover { text-decoration: underline; }
.fact-links { display: flex; flex-direction: column; gap: .3rem; }
.fact-links a { color: var(--accent); font-weight: 500; font-size: .92rem; }
.notice { background: rgb(255 179 71 / .12); border: 1px solid rgb(255 179 71 / .35); padding: .8rem 1rem; border-radius: 10px; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 2.5rem 0; background: var(--bg-2); }
.footer-inner { display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; justify-content: space-between; align-items: flex-start; }
.footer-inner p { margin: 0 0 .4rem; }
.footer-nav { display: flex; gap: 1.5rem; }
.footer-nav a { color: var(--muted); text-decoration: none; }
.footer-nav a:hover { color: var(--text); text-decoration: underline; }
.center h1, .center .lead { margin-inline: auto; }
