/* Spiele-wie.de – statisches Theme */
:root {
  --bg: #f7f4ee;
  --bg-2: #efeae0;
  --surface: #ffffff;
  --ink: #1b1830;
  --ink-2: #4a4662;
  --muted: #7a7590;
  --line: #e3ddd0;
  --accent: #ff5a36;
  --accent-ink: #ffffff;
  --accent-2: #ffc23d;
  --violet: #5b3df5;
  --shadow: 0 1px 2px rgba(27, 24, 48, .06), 0 8px 24px -12px rgba(27, 24, 48, .18);
  --radius: 18px;
  --radius-s: 10px;
  --wrap: 1180px;
  --narrow: 760px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Avenir Next", "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121021;
    --bg-2: #1a1730;
    --surface: #1f1c37;
    --ink: #f1eefb;
    --ink-2: #c5c0dc;
    --muted: #9590b0;
    --line: #2f2b4d;
    --accent: #ff6b4a;
    --violet: #9a88ff;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 30px -14px rgba(0, 0, 0, .7);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 17px/1.65 var(--font); text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; }
a { color: var(--violet); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--accent); }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; letter-spacing: -.02em; color: var(--ink); text-wrap: balance; }
:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 2px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--bg); padding: 8px 14px; border-radius: 8px; z-index: 99; }
.skip:focus { left: 8px; }
.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.narrow { width: min(100% - 32px, var(--narrow)); }
.inline { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 4px 14px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 20px; min-height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font: 800 1.3rem/1 var(--font-display); letter-spacing: -.03em; white-space: nowrap; }
.logo b { color: var(--accent); font-weight: 800; }
.logo:hover { color: var(--ink); }
.logo-mark { width: 38px; height: 38px; color: var(--ink); flex: none; transition: transform .3s; }
.logo:hover .logo-mark { transform: rotate(-8deg) scale(1.05); }
.site-nav { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.site-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; align-items: center; }
.site-nav a, .sub-toggle {
  display: block; padding: 8px 12px; border-radius: 999px; color: var(--ink-2); text-decoration: none;
  font: 600 .93rem/1.2 var(--font); background: none; border: 0; cursor: pointer;
}
.site-nav a:hover, .sub-toggle:hover, .sub-toggle[aria-expanded="true"] { background: var(--bg-2); color: var(--ink); }
.sub-toggle::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 7px; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-3px) rotate(45deg); }
.has-sub { position: relative; }
.sub { list-style: none; margin: 0; padding: 8px; position: absolute; top: calc(100% + 8px); left: 0; min-width: 210px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); display: none; }
.has-sub.open .sub { display: block; }
.sub a { border-radius: 8px; }
.search input {
  width: 190px; padding: 9px 14px 9px 36px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface) no-repeat 12px 50%/16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237a7590' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E");
  color: var(--ink); font: inherit; font-size: .93rem; transition: width .2s, border-color .2s;
}
.search input:focus { width: 240px; border-color: var(--violet); outline: none; }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; }
.burger, .burger::before, .burger::after { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; margin: auto; position: relative; transition: transform .2s; }
.burger::before, .burger::after { content: ""; position: absolute; left: 0; }
.burger::before { top: -6px; } .burger::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .burger { background: transparent; }
.nav-toggle[aria-expanded="true"] .burger::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .burger::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1020px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-bottom: 1px solid var(--line); padding: 12px 16px 20px; flex-direction: column; align-items: stretch; box-shadow: var(--shadow); }
  .site-nav.open { display: flex; }
  .site-nav > ul { flex-direction: column; align-items: stretch; }
  .site-nav a, .sub-toggle { padding: 12px 14px; border-radius: 10px; width: 100%; text-align: left; font-size: 1rem; }
  .sub { position: static; box-shadow: none; border: 0; background: transparent; padding: 0 0 0 14px; }
  .search input, .search input:focus { width: 100%; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(48px, 9vw, 110px) 0 clamp(40px, 7vw, 80px); }
.hero::before {
  content: ""; position: absolute; inset: -40% -10% auto auto; width: 70vw; max-width: 900px; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, color-mix(in srgb, var(--accent-2) 55%, transparent), transparent 60%),
              radial-gradient(circle at 70% 60%, color-mix(in srgb, var(--accent) 35%, transparent), transparent 55%);
  filter: blur(10px); opacity: .7; pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(color-mix(in srgb, var(--ink) 16%, transparent) 1px, transparent 1.4px); background-size: 22px 22px;
  mask-image: linear-gradient(to bottom, #000, transparent 85%); -webkit-mask-image: linear-gradient(to bottom, #000, transparent 85%);
}
.hero-inner { position: relative; z-index: 1; }
.hero-text { max-width: 760px; }
.hero h1 { font-size: clamp(2.3rem, 6.2vw, 4.4rem); margin: .2em 0 .35em; font-weight: 800; letter-spacing: -.04em; }
.hero h1 span { background: linear-gradient(90deg, var(--accent), var(--violet)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.kicker { display: inline-block; margin: 0; font: 700 .78rem/1 var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.kicker a { color: inherit; }
.lead { font-size: 1.15rem; color: var(--ink-2); max-width: 62ch; }
.search-hero { display: flex; gap: 8px; margin-top: 28px; max-width: 560px; background: var(--surface); padding: 6px; border-radius: 999px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.search-hero input, .search-hero input:focus { flex: 1; width: auto; border: 0; background-color: transparent; font-size: 1rem; padding: 12px 14px 12px 40px; min-width: 0; }
.search-hero button, .btn {
  display: inline-block; border: 0; border-radius: 999px; background: var(--ink); color: var(--bg); font: 700 .95rem/1 var(--font);
  padding: 13px 22px; cursor: pointer; text-decoration: none; transition: transform .15s, background .15s;
}
.search-hero button:hover, .btn:hover { background: var(--accent); color: var(--accent-ink); transform: translateY(-1px); }

/* ---------- Sections ---------- */
.section { padding: clamp(28px, 5vw, 56px) 0; }
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 22px; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0; }
.section-head p { margin: 0; color: var(--muted); }

.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.tile {
  position: relative; display: flex; flex-direction: column; text-decoration: none; color: var(--ink); background: var(--surface);
  border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s;
}
.tile:hover { transform: translateY(-4px) rotate(-.4deg); color: var(--ink); box-shadow: 0 18px 40px -18px rgba(27, 24, 48, .45); }
.tile-img { aspect-ratio: 140 / 220; display: block; place-items: center; background: linear-gradient(135deg, var(--bg-2), color-mix(in srgb, var(--accent-2) 20%, var(--bg-2))); overflow: hidden; }
.tile-img img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform .3s; }
.tile:hover .tile-img img { transform: scale(1.03); }
.tile-label { padding: 12px 14px 14px; font: 800 1.08rem/1.2 var(--font-display); }
.tile-label small { display: block; font: 600 .72rem/1.4 var(--font); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.genres { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.genre { display: inline-flex; gap: 10px; align-items: center; padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--ink); color: var(--ink); text-decoration: none; font-weight: 700; }
.genre:hover { background: var(--ink); color: var(--bg); }

/* ---------- Cards ---------- */
.card-list { display: grid; gap: 18px; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.card { display: grid; grid-template-columns: 220px 1fr; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .2s; }
.card:hover { transform: translateY(-2px); }
.card-grid .card { grid-template-columns: 1fr; }
.card-img { display: grid; place-items: center; background: var(--bg-2); min-height: 170px; }
.card-img img { width: 100%; height: 100%; max-height: 240px; object-fit: contain; padding: 14px; }
.card-grid .card-img { aspect-ratio: 16 / 9; min-height: 0; }
.card-img-empty span { font: 800 3.5rem/1 var(--font-display); color: var(--line); }
.card-body { padding: 20px 24px 22px; min-width: 0; }
.card-meta { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; font-size: .85rem; color: var(--muted); }
.card h3 { font-size: 1.32rem; margin: .45em 0 .35em; }
.card h3 a { color: var(--ink); text-decoration: none; }
.card h3 a:hover { color: var(--accent); }
.card p { margin: 0; color: var(--ink-2); font-size: .97rem; overflow-wrap: anywhere; }
.chip { display: inline-block; padding: 4px 10px; border-radius: 999px; background: color-mix(in srgb, var(--violet) 12%, transparent); color: var(--violet); font: 700 .74rem/1.2 var(--font); text-decoration: none; letter-spacing: .02em; }
.chip:hover { background: var(--violet); color: #fff; }
@media (max-width: 640px) {
  .card { grid-template-columns: 1fr; }
  .card-img { aspect-ratio: 16 / 9; min-height: 0; }
}

.pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin: 32px 0 8px; }
.pagination a { text-decoration: none; font-weight: 700; color: var(--ink); }
.pg-nums { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 auto; }
.pg-nums a { display: grid; place-items: center; min-width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); }
.pg-nums a[aria-current] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.pg-prev, .pg-next { padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); }
.pg-prev:hover, .pg-next:hover, .pg-nums a:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- Page heads ---------- */
.page-head { padding: clamp(36px, 6vw, 72px) 0 clamp(20px, 3vw, 36px); }
.page-head h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin: .25em 0 .2em; }
.page-head .lead { margin-top: 0; }

/* ---------- Entry ---------- */
.entry-head { padding: clamp(36px, 6vw, 72px) 0 12px; }
.entry-head h1 { font-size: clamp(2rem, 5.2vw, 3.3rem); margin: .3em 0 .2em; font-weight: 800; }
.post-meta { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; color: var(--muted); font-size: .9rem; }
.post-meta a:not(.chip) { color: var(--ink-2); }
.entry-content { padding-bottom: 24px; overflow-wrap: break-word; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content h2 { font-size: clamp(1.45rem, 3vw, 1.9rem); margin: 2em 0 .6em; padding-top: .2em; }
.entry-content h3 { font-size: 1.3rem; margin: 1.6em 0 .5em; }
.entry-content p, .entry-content ul, .entry-content ol { margin: 0 0 1.1em; }
.entry-content li { margin-bottom: .3em; }
.entry-content strong { color: var(--ink); }
.entry-content blockquote { margin: 1.5em 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--accent-2); color: var(--ink-2); font-style: italic; }
.entry-content table { border-collapse: collapse; width: 100%; margin: 1em 0; }
.entry-content td, .entry-content th { border-bottom: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.entry-content td p { margin: 0; }
.entry-content img { border-radius: var(--radius-s); }
.alignleft { float: left; margin: .3em 1.4em 1em 0; max-width: 45%; }
.alignright { float: right; margin: .3em 0 1em 1.4em; max-width: 45%; }
.aligncenter { display: block; margin: 1em auto; }
.entry-content h2 { clear: both; }
.entry-content::after { content: ""; display: table; clear: both; }
@media (max-width: 520px) { .alignleft, .alignright { float: none; display: block; margin: 0 auto 1em; max-width: 100%; } }

/* Spiele-Box aus den Leitfäden */
.box {
  clear: both; position: relative; display: grid; grid-template-columns: 150px 1fr; grid-template-areas: "cover title" "cover text" "cover screens" "cover buy";
  grid-template-rows: auto auto auto 1fr; column-gap: 26px; margin: 1.4em 0 1.8em; padding: 24px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
}
.box::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 6px; border-radius: var(--radius) 0 0 var(--radius); background: linear-gradient(var(--accent), var(--accent-2)); }
.box > br { display: none; }
.box .cover { grid-area: cover; width: 150px; border-radius: 10px; box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .5); align-self: start; }
.box .boxtitel { grid-area: title; margin: 0 0 4px; font: 800 1.45rem/1.2 var(--font-display); letter-spacing: -.02em; color: var(--ink); }
.box .boxtext { grid-area: text; margin: 0 0 12px; color: var(--ink-2); }
.box .trenner, .box .trenner2, .box img[src*="trenner"] { display: none; }
.box .screen { grid-area: screens; display: flex; flex-wrap: wrap; gap: 10px; margin: 2px 0 14px; }
.box .screen > br, .box .screen p:empty { display: none; }
.box .screen p { display: contents; }
.box .screen a { display: block; border-radius: 10px; overflow: hidden; position: relative; }
.box .screen img { display: block; width: 150px; height: 94px; object-fit: cover; border-radius: 10px; transition: transform .2s; }
.box .screen a:hover img { transform: scale(1.05); }
.box .screen .lbpModal::after { content: "▶"; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 1.6rem; background: rgba(0, 0, 0, .35); }
.box .clear { display: none; }
.box .kfn { grid-area: buy; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; align-self: end; }
.box .kfn > br, .box .kfn p:empty { display: none; }
.box .kfn p { margin: 0; display: contents; }
.box .preis { display: none !important; }
.kaufbtn, .freebtn {
  display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px; border-radius: 999px; font: 700 .92rem/1 var(--font); text-decoration: none;
  transition: transform .15s, box-shadow .15s;
}
.kaufbtn { background: var(--accent); color: var(--accent-ink); }
.kaufbtn::after { content: "↗"; }
.freebtn { background: var(--ink); color: var(--bg); }
.freebtn::after { content: "▶"; font-size: .7em; }
.kaufbtn:hover, .freebtn:hover { transform: translateY(-2px); box-shadow: 0 10px 20px -10px rgba(0, 0, 0, .5); color: #fff; }
.freebtn:hover { color: var(--bg); }
@media (max-width: 640px) {
  .box { grid-template-columns: 90px 1fr; grid-template-areas: "cover title" "cover text" "screens screens" "buy buy"; padding: 18px; column-gap: 16px; }
  .box .cover { width: 90px; }
  .box .boxtitel { font-size: 1.2rem; }
  .box .screen img { width: calc((100vw - 120px) / 3); max-width: 150px; height: auto; aspect-ratio: 16 / 10; }
}

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; margin: 1.4em 0; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.attachment { margin: 0 0 1.5em; }
.attachment img { display: block; margin: 0 auto; box-shadow: var(--shadow); }
.attachment figcaption { text-align: center; color: var(--muted); font-size: .9rem; margin-top: 8px; }

.embed { position: relative; width: 100%; max-width: 720px; margin: 1.4em 0; border-radius: var(--radius); overflow: hidden; background: #0d0b1a center/cover no-repeat; }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.embed-btn { position: absolute; inset: 0; width: 100%; border: 0; cursor: pointer; color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 20px; text-align: center; font: 700 1rem/1.3 var(--font);
  background: radial-gradient(circle at center, rgba(13, 11, 26, .35), rgba(13, 11, 26, .85)); }
.embed-btn small { font-weight: 400; font-size: .8rem; opacity: .8; max-width: 40ch; }
.embed-btn .play { width: 68px; height: 68px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; transition: transform .2s; }
.embed-btn .play::before { content: ""; border-style: solid; border-width: 12px 0 12px 20px; border-color: transparent transparent transparent #fff; margin-left: 5px; }
.embed-btn:hover .play { transform: scale(1.1); }

.notice { margin: 1.4em 0; padding: 18px 22px; border-radius: var(--radius); background: color-mix(in srgb, var(--accent-2) 22%, var(--surface)); border: 1px solid color-mix(in srgb, var(--accent-2) 60%, var(--line)); }
.notice p { margin: 0 0 .5em; } .notice p:last-child { margin: 0; }

/* Fragen-Seite */
#fragebox { padding: 22px 24px; border-radius: var(--radius); background: var(--ink); color: var(--bg); margin-bottom: 1.4em; }
#fragebox p { margin: 0; color: inherit; }
#fragebutton { display: none; }
.questions { display: grid; gap: 12px; }
.question { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 0 20px; }
.question summary { cursor: pointer; padding: 16px 0; display: flex; justify-content: space-between; gap: 16px; font-weight: 700; list-style: none; }
.question summary::-webkit-details-marker { display: none; }
.question summary::before { content: "?"; flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-size: .85rem; }
.q-title { flex: 1; }
.q-date { color: var(--muted); font-weight: 400; font-size: .85rem; white-space: nowrap; }
.q-body { padding-bottom: 8px; color: var(--ink-2); }

/* Footer des Beitrags */
.entry-foot { padding-bottom: 40px; }
.post-tags { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 18px 0; border-top: 1px solid var(--line); font-size: .9rem; color: var(--muted); }
.post-tags a { color: var(--ink-2); text-decoration: none; padding: 4px 10px; border-radius: 8px; background: var(--bg-2); }
.post-tags a:hover { color: var(--accent); }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 12px; }
.post-nav a { display: block; padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); text-decoration: none; color: var(--ink); font-weight: 700; line-height: 1.35; }
.post-nav a:hover { border-color: var(--accent); }
.post-nav small { display: block; color: var(--muted); font-weight: 600; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 4px; }
.post-nav .next { text-align: right; }
@media (max-width: 560px) { .post-nav { grid-template-columns: 1fr; } .post-nav .next { text-align: left; } }
.related { padding: 8px 0 56px; }
.related h2 { font-size: 1.6rem; }

/* Suche */
.search-results { padding-bottom: 40px; }
.search-results h2 { font-size: 1.6rem; }
.search-results mark { background: color-mix(in srgb, var(--accent-2) 55%, transparent); color: inherit; border-radius: 3px; padding: 0 2px; }

/* ---------- Footer ---------- */
.site-footer { margin-top: 40px; background: var(--ink); color: color-mix(in srgb, var(--bg) 75%, transparent); font-size: .93rem; }
@media (prefers-color-scheme: dark) { .site-footer { background: #0b0a16; } }
.site-footer a { color: color-mix(in srgb, var(--bg) 88%, transparent); text-decoration: none; }
@media (prefers-color-scheme: dark) { .site-footer a { color: var(--ink-2); } .site-footer { color: var(--muted); } }
.site-footer a:hover { color: var(--accent-2); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1.2fr; gap: 36px; padding: 56px 0 36px; }
.footer-grid h2 { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-2); margin: 0 0 12px; font-family: var(--font); }
.footer-grid h2 + ul + h2 { margin-top: 22px; }
.footer-grid ul:not(.inline) { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 20px; }
.footer-grid li { margin-bottom: 6px; break-inside: avoid; }
.logo-footer { color: #fff; }
.logo-footer:hover { color: #fff; }
.logo-footer .logo-mark { color: #fff; }
.logo-footer .logo-mark rect[fill="var(--bg)"], .logo-footer .logo-mark circle[fill="var(--bg)"] { fill: var(--ink); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding: 18px 0 28px; border-top: 1px solid rgba(255, 255, 255, .1); }
.footer-bottom p { margin: 0; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Lightbox ---------- */
.lb { position: fixed; inset: 0; z-index: 100; background: rgba(8, 7, 18, .92); display: grid; place-items: center; padding: 56px 16px 24px; }
.lb[hidden] { display: none; }
.lb-stage { max-width: min(1100px, 100%); max-height: 100%; width: 100%; display: grid; place-items: center; }
.lb-stage img { max-height: 82vh; width: auto; border-radius: 10px; }
.lb-stage .lb-video { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 10px; background: #000; }
.lb-close, .lb-nav { position: absolute; border: 0; background: rgba(255, 255, 255, .12); color: #fff; width: 46px; height: 46px; border-radius: 50%; font-size: 1.4rem; cursor: pointer; }
.lb-close { top: 12px; right: 12px; }
.lb-nav { top: 50%; transform: translateY(-50%); }
.lb-prev { left: 12px; } .lb-next { right: 12px; }
.lb-close:hover, .lb-nav:hover { background: var(--accent); }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }
.site-nav a, .sub-toggle { white-space: nowrap; }
.sub-cols { columns: 2; column-gap: 4px; min-width: 320px; }
.sub-cols li { break-inside: avoid; }
@media (max-width: 1020px) { .sub-cols { columns: 2; min-width: 0; } }
.card-img { text-decoration: none; }

/* Neue Spiele-Boxen (überarbeitete Artikel) */
.box .cover-ph {
  grid-area: cover; width: 150px; aspect-ratio: 3 / 4; border-radius: 10px; display: grid; place-items: center; align-self: start;
  background: linear-gradient(145deg, var(--violet), var(--accent)); color: #fff; font: 800 2.6rem/1 var(--font-display); letter-spacing: -.04em;
  box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .5);
}
.box .badge { display: inline-block; vertical-align: middle; margin-left: 6px; padding: 3px 9px; border-radius: 999px; background: var(--accent-2); color: #1b1830; font: 800 .68rem/1.2 var(--font); letter-spacing: .08em; text-transform: uppercase; }
.box .boxfacts { grid-area: screens; margin: 0; font-size: .85rem; color: var(--muted); font-weight: 600; }
.box .boxstatus { grid-area: status; margin: 8px 0 0; font-size: .85rem; color: var(--ink-2); }
.box-neu { grid-template-areas: "cover title" "cover text" "cover screens" "cover status" "cover buy"; grid-template-rows: auto auto auto auto 1fr; }
@media (max-width: 640px) { .box-neu { grid-template-areas: "cover title" "cover text" "screens screens" "status status" "buy buy"; } }
.post-meta .updated { padding: 3px 10px; border-radius: 999px; background: color-mix(in srgb, var(--accent-2) 30%, transparent); color: var(--ink); font-weight: 600; }
@media (max-width: 640px) { .box .cover-ph { width: 90px; font-size: 1.8rem; } }

/* Leitfaden-Teaser auf Genre-Seiten */
.guide-teaser { display: flex; gap: 16px; align-items: center; margin: 0; padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); color: var(--ink); text-decoration: none; box-shadow: 0 8px 24px -18px rgba(27, 24, 48, .5); transition: transform .2s, box-shadow .2s; max-width: 520px; }
.guide-teaser:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -16px rgba(27, 24, 48, .5); color: var(--ink); }
.guide-teaser img, .guide-teaser .gt-ph { flex: none; width: 70px; aspect-ratio: 140 / 220; object-fit: cover; border-radius: 8px; }
.guide-teaser .gt-ph { background: linear-gradient(135deg, var(--violet), var(--accent)); }
.guide-teaser .gt-text { display: grid; gap: 2px; }
.guide-teaser small { font: 600 .72rem/1.4 var(--font); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.guide-teaser strong { font: 800 1.15rem/1.25 var(--font-display); }
.guide-teaser em { font-style: normal; font-size: .9rem; color: var(--accent); }
p:has(> .guide-teaser) { margin: 0 0 12px; }
p:has(> .guide-teaser) + p:not(:has(> .guide-teaser)) { margin-top: 20px; }

/* Website-Button in Spiele-Boxen */
.box-neu .kfn { margin-top: 14px; align-self: start; }
.webbtn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px; border-radius: 999px; font: 700 .92rem/1 var(--font); text-decoration: none;
  border: 1.5px solid var(--line); color: var(--ink); background: var(--surface); transition: transform .15s, border-color .15s; }
.webbtn::after { content: "↗"; }
.webbtn:hover { transform: translateY(-2px); border-color: var(--ink); color: var(--ink); }
.footer-bottom .partner { flex-basis: 100%; font-size: .8rem; color: var(--muted); margin: 6px 0 0; }

/* Hinweis-Kasten für nachträgliche Updates */
.hinweis { clear: both; margin: 0 0 1.4em; padding: 14px 18px; border-left: 5px solid var(--accent-2); border-radius: var(--radius-s); background: color-mix(in srgb, var(--accent-2) 16%, var(--surface)); color: var(--ink); }
