/* Scott Whiskers – statische Website (Layout-Vorschau) */

:root {
  --orange: #f2701c;
  --orange-dark: #c9520a;
  --white: #fff;
  --head: "st-transmission", "Trebuchet MS", "Segoe UI", Verdana, sans-serif;
  --body: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --topbar-h: 48px;
}

/* Farbwelt pro Spiel */
.theme-g1 { --bg: #121b24; --bg-alt: #1b2833; --accent: #f28c1c; --accent-2: #6fae4a; --ink: #eef3f6; --muted: #b6c3cc; }
.theme-g2 { --bg: #0f1d12; --bg-alt: #17291a; --accent: #f2701c; --accent-2: #f2c230; --ink: #f3f1e6; --muted: #c4c9b4; }
.theme-g3 { --bg: #140b24; --bg-alt: #1f1236; --accent: #f2701c; --accent-2: #a77bff; --ink: #f4eefc; --muted: #c9bddf; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #0b0b10; color: #eee; font: 17px/1.6 var(--body); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent, var(--orange)); }
h1, h2, h3 { font-family: var(--head); letter-spacing: .03em; line-height: 1.2; margin: 0 0 .6em; }
h2 { font-size: clamp(1.4rem, 3.2vw, 2.1rem); }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.center { text-align: center; }

/* Orange Leiste oben – wie die bisherige Seite */
.topbar { background: var(--orange); position: sticky; top: 0; z-index: 60; box-shadow: 0 2px 8px #0006; }
.topbar .wrap { height: var(--topbar-h); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand, .toplinks a { color: #fff; text-decoration: none; font: 700 14px var(--head); letter-spacing: .1em; text-transform: uppercase; }
.toplinks { display: flex; gap: 22px; }
.toplinks a:hover { color: #1a0d00; }

/* Drei große Spiel-Tabs */
.gametabs { position: sticky; top: var(--topbar-h); z-index: 50; display: grid; grid-template-columns: repeat(3, 1fr); background: #000; border-bottom: 4px solid var(--orange); }
.gametab { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 8px; padding: 14px 12px 12px; color: #bbb; text-decoration: none; text-align: center; position: relative; opacity: .62; filter: saturate(.55); transition: opacity .2s, filter .2s, background .2s; }
.gametab + .gametab { border-left: 1px solid #ffffff1a; }
.gametab img { height: 92px; width: auto; max-width: 100%; object-fit: contain; transition: transform .2s; }
.gametab span { font: 700 14px/1.25 var(--head); letter-spacing: .03em; }
.gametab b { display: block; }
.gametab small { display: block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); }
.gametab:hover { opacity: .9; filter: none; }
.gametab:hover img { transform: scale(1.04); }
.gametab.active { opacity: 1; filter: none; color: #fff; background: linear-gradient(180deg, #000 0%, #2a1606 100%); }
.gametab.active::after { content: ""; position: absolute; left: 50%; bottom: -4px; transform: translateX(-50%); border: 12px solid transparent; border-bottom-color: var(--orange); border-top: 0; }
.gametab.is-new small::after { content: " ★"; }

/* Kompakte Tabs, sobald gescrollt wird */
body.scrolled .gametab { padding: 8px 10px 8px; gap: 4px; }
body.scrolled .gametab img { height: 46px; }
body.scrolled .gametab span { display: none; }

@media (max-width: 700px) {
  .gametab { padding: 10px 6px 8px; gap: 6px; }
  .gametab img { height: 50px; }
  .gametab b { display: none; }
  .gametab small { font-size: 10px; letter-spacing: .1em; }
  body.scrolled .gametab img { height: 34px; }
  .toplinks { gap: 14px; }
  .brand, .toplinks a { font-size: 12px; }
}

/* Spiel-Panels */
.game { background: var(--bg); color: var(--ink); scroll-margin-top: 200px; }
.js .game { display: none; }
.js .game.active { display: block; animation: fade .35s ease; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* Hero */
.hero-bg { position: relative; background-size: cover; background-position: center; text-align: center; padding: 48px 16px 40px; }
.hero-bg::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, #0008 0%, #0004 40%, var(--bg) 100%); }
.hero-bg > * { position: relative; }
.hero-logo { width: min(760px, 92%); margin: 0 auto 10px; filter: drop-shadow(0 6px 18px #000a); }
.tagline { font: 700 clamp(.95rem, 2.2vw, 1.3rem) var(--head); letter-spacing: .1em; margin: 0 0 22px; text-shadow: 0 2px 6px #000; }
.stores { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 900px; margin: 0 auto; }
.stores a { display: block; transition: transform .15s; }
.stores a:hover { transform: translateY(-3px); }
.stores img { height: 46px; width: auto; }
.awards { display: flex; justify-content: center; align-items: center; gap: 24px; margin-top: 26px; }
.awards img { height: 92px; width: auto; }

.hero-keyart img { width: 100%; }
.hero-bar { text-align: center; padding: 26px 16px 34px; background: linear-gradient(180deg, #000 0%, var(--bg) 100%); }

/* Buttons */
.cta-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 6px; font: 700 15px var(--head); letter-spacing: .06em; text-transform: uppercase; text-decoration: none; border: 3px solid transparent; transition: background .15s; }
.btn-primary { background: var(--orange); color: #fff; border-color: #fff; }
.btn-primary:hover { background: var(--orange-dark); }
.btn-kickstarter { background: #05ce78; color: #fff; border-color: #fff; }
.btn-kickstarter:hover { background: #04a862; }
/* Steam-Farben */
.btn-steam { background: linear-gradient(180deg, #2a475e 0%, #1b2838 100%); color: #fff; border-color: #66c0f4; }
.btn-steam:hover { background: linear-gradient(180deg, #66c0f4 0%, #417a9b 100%); }
.btn-ghost { color: var(--ink); border-color: var(--accent-2); }
.btn-ghost:hover { background: var(--accent-2); color: #111; }
.note { color: var(--muted); font-size: 14px; margin-top: 14px; }

/* Inhaltsblöcke */
.block { padding: 64px 0; }
.block.alt { background: var(--bg-alt); }
.split { display: grid; grid-template-columns: 1.15fr 1fr; gap: 36px; align-items: center; }
.split.reverse > :first-child { order: 2; }
.split.with-figure { grid-template-columns: 1fr auto; }
.split.with-figure.reverse { grid-template-columns: auto 1fr; }
.split.with-figure:not(.reverse) { grid-template-columns: auto 1fr; }
.figure { max-height: 420px; width: auto; margin: 0 auto; filter: drop-shadow(0 8px 16px #0008); }
.text p:last-child, .tile p:last-child { margin-bottom: 0; }
.tile { background: var(--accent); color: #fff; padding: 26px 30px; border-radius: 4px; box-shadow: 8px 8px 0 var(--accent-2); font-weight: 500; }
.tile h2 { font-size: clamp(1.2rem, 2.4vw, 1.6rem); }
.media { display: block; border: 4px solid #000; box-shadow: 0 10px 28px #0009; background: #000; }
.trailer-link { position: relative; }
.trailer-link::after { content: "▶ Watch on YouTube"; position: absolute; left: 12px; bottom: 12px; background: #000c; color: #fff; font: 700 13px var(--head); letter-spacing: .06em; padding: 6px 10px; border-radius: 4px; }

@media (max-width: 820px) {
  .split, .split.with-figure, .split.with-figure.reverse, .split.with-figure:not(.reverse) { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 0; }
  .figure { max-height: 260px; }
  .block { padding: 44px 0; }
}

/* Trailer-Platzhalter */
.trailer { aspect-ratio: 16/9; max-width: 960px; margin: 0 auto; background: #000 center/cover; position: relative; border: 4px solid #000; display: grid; place-content: center; justify-items: center; gap: 14px; text-align: center; font: 700 clamp(1rem, 3vw, 1.6rem) var(--head); letter-spacing: .1em; text-transform: uppercase; }
.trailer::before { content: ""; position: absolute; inset: 0; background: #0009; }
.trailer > * { position: relative; }
.play { width: 76px; height: 76px; border-radius: 50%; border: 4px solid var(--accent); display: grid; place-items: center; }
.play::before { content: ""; border-left: 24px solid var(--accent); border-top: 15px solid transparent; border-bottom: 15px solid transparent; margin-left: 7px; }

/* Galerie */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.gallery a { display: block; position: relative; border: 3px solid #000; overflow: hidden; background: #000; }
.gallery img { transition: transform .25s; }
.gallery a:hover img { transform: scale(1.05); }
.gallery span { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 10px 6px; background: linear-gradient(transparent, #000d); color: #fff; font: 700 13px var(--head); letter-spacing: .04em; }
@media (max-width: 600px) { .gallery { grid-template-columns: 1fr 1fr; gap: 8px; } .gallery span { font-size: 11px; padding: 14px 6px 4px; } }

/* Listen */
.features { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 14px; }
.features li { background: var(--bg); border-left: 6px solid var(--accent); padding: 14px 18px; }
.features li:nth-child(even) { border-left-color: var(--accent-2); }
.ticks { padding-left: 0; list-style: none; }
.ticks li { padding-left: 1.6em; position: relative; margin-bottom: .35em; }
.ticks li::before { content: "✔"; position: absolute; left: 0; color: var(--accent-2); }

/* KI-Hinweis */
.ai-box { max-width: 880px; margin: 0 auto; border: 2px dashed var(--accent-2); padding: 24px 28px; background: var(--bg-alt); }
.ai-box h3 { color: var(--accent-2); }
.ai-box p { margin: 0; }

/* Gemeinsamer Follow-/Newsletter-Bereich */
.follow { background: #111; color: #eee; text-align: center; padding: 56px 0; border-top: 4px solid var(--orange); }
.follow p { color: #aaa; margin-top: -6px; }
.follow-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 20px; }
.follow-row img { height: 70px; width: auto; transition: transform .15s; }
.follow-row a:hover img { transform: translateY(-3px); }
@media (max-width: 600px) { .follow-row img { height: 54px; } }

.footer { background: #000; color: #999; text-align: center; font-size: 14px; padding: 24px 16px; }
.footer a { color: #bbb; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: #000e; display: grid; grid-template-columns: auto 1fr auto; align-items: center; padding: 16px; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; text-align: center; }
.lightbox img { max-height: 84vh; width: auto; margin: 0 auto; }
.lightbox figcaption { color: #ddd; font: 700 15px var(--head); margin-top: 10px; }
.lightbox button { background: none; border: 0; color: #fff; font-size: 54px; line-height: 1; cursor: pointer; padding: 8px 14px; opacity: .8; }
.lightbox button:hover { opacity: 1; color: var(--orange); }
.lb-close { position: absolute; top: 8px; right: 12px; font-size: 42px !important; }
@media (max-width: 600px) { .lightbox { grid-template-columns: 1fr; } .lb-prev, .lb-next { position: absolute; bottom: 12px; } .lb-prev { left: 16px; } .lb-next { right: 16px; } }

/* Consent-Banner und "Manage consent"-Tab */
.consent { position: fixed; z-index: 90; right: 16px; bottom: 16px; width: min(440px, calc(100% - 32px)); max-height: calc(100vh - 32px); overflow: auto; background: #fff; color: #222; border-radius: 8px; box-shadow: 0 10px 40px #000a; padding: 20px 22px; font-size: 14px; line-height: 1.5; }
.consent[hidden] { display: none; }
.consent h2 { font-size: 16px; text-align: center; margin-bottom: .6em; color: #111; }
.consent p { margin: 0 0 12px; }
.consent a { color: var(--orange-dark); }
.consent-btns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.btn-small { justify-content: center; padding: 10px 8px; font-size: 13px; border-width: 2px; cursor: pointer; text-transform: none; letter-spacing: .02em; }
/* Ablehnen genauso prominent wie Zustimmen */
.btn-accept, .btn-deny { background: var(--orange); color: #fff; border-color: var(--orange); }
.btn-accept:hover, .btn-deny:hover { background: var(--orange-dark); border-color: var(--orange-dark); }
.btn-plain { background: #eee; color: #222; border-color: #ddd; }
.btn-plain:hover { background: #ddd; }
.consent-prefs { border: 1px solid #ddd; border-radius: 6px; padding: 12px; margin-bottom: 12px; display: grid; gap: 10px; }
.consent-prefs[hidden] { display: none; }
.consent-prefs label { display: flex; gap: 10px; align-items: flex-start; }
.consent-prefs input { margin-top: 4px; accent-color: var(--orange); }
.consent-prefs .btn-small { background: #222; color: #fff; border-color: #222; justify-self: start; padding: 8px 14px; }
.consent-links { text-align: center; font-size: 12px; margin: 12px 0 0 !important; }
.consent-tab { position: fixed; z-index: 80; right: 24px; bottom: 0; background: #fff; color: #222; border: 0; border-radius: 6px 6px 0 0; padding: 7px 14px; font: 600 13px var(--body); box-shadow: 0 -2px 10px #0006; cursor: pointer; }
.consent-tab[hidden] { display: none; }
.consent-tab:hover { color: var(--orange-dark); }
@media (max-width: 480px) { .consent { right: 8px; bottom: 8px; width: calc(100% - 16px); padding: 16px; } .consent-btns { grid-template-columns: 1fr 1fr; } .btn-plain { grid-column: 1 / -1; } }

/* YouTube-Einbettung nach Zustimmung */
.yt-embed { aspect-ratio: 16/9; }
.yt-embed iframe { width: 100%; height: 100%; border: 0; display: block; }


/* Rechtsseiten im Seitenlayout */
.legal { background: var(--bg); color: var(--ink); padding: 48px 0 72px; }
.legal-inner { max-width: 880px; margin: 0 auto; padding: 0 16px; }
.legal h1 { font-size: clamp(1.8rem, 4.5vw, 2.6rem); color: #fff; border-bottom: 4px solid var(--orange); padding-bottom: .3em; margin-bottom: 1em; }
.legal h2 { font-size: clamp(1.2rem, 2.6vw, 1.5rem); color: var(--orange); margin-top: 1.8em; }
.legal h3 { font-size: 1.1rem; color: #fff; margin: 1.2em 0 .4em; }
.legal h4 { font-size: 1rem; color: var(--accent-2); margin: 1em 0 .3em; }
.legal h5 { font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: .8em 0 .1em; }
.legal p, .legal li { color: var(--ink); }
.legal a { color: var(--orange); word-break: break-word; }
.legal details { background: var(--bg-alt); border-left: 4px solid var(--accent-2); border-radius: 4px; padding: 4px 18px; margin: 12px 0; }
.legal details[open] { padding-bottom: 14px; }
.legal summary { cursor: pointer; list-style: none; padding: 10px 0; }
.legal summary::-webkit-details-marker { display: none; }
.legal summary::before { content: "▸"; color: var(--orange); margin-right: 10px; float: left; transition: transform .2s; }
.legal details[open] summary::before { transform: rotate(90deg); }
.legal summary h3 { display: inline; margin: 0; }
.legal summary p { margin: 2px 0 0 22px; color: var(--muted); font-size: 14px; }
.legal-page .gametab { opacity: .85; filter: none; }

/* Trailer direkt unter dem Hero */
.trailer-block { padding: 8px 0 56px; }
.trailer-wrap { max-width: 960px; margin: 0 auto; }
.trailer-link[hidden] { display: none; }
.legal-page .gametabs { position: static; }

/* YouTube-Platzhalter ohne Zustimmung */
.yt-box { position: relative; }
.yt-box .trailer-link::after { display: none; }
.yt-box .trailer-link img { filter: brightness(.3) blur(1px); }
.yt-gate { position: absolute; inset: 4px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 16px; text-align: center; pointer-events: none; }
.yt-gate[hidden] { display: none; }
.yt-gate > * { pointer-events: auto; }
.yt-load { display: inline-flex; align-items: center; gap: 12px; background: #e00; color: #fff; border: 0; border-radius: 10px; padding: 14px 26px; font: 700 18px var(--head); letter-spacing: .04em; cursor: pointer; box-shadow: 0 6px 20px #0008; }
.yt-load:hover { background: #c00; }
.yt-play { border-left: 16px solid #fff; border-top: 10px solid transparent; border-bottom: 10px solid transparent; }
.yt-gate p { max-width: 520px; margin: 0; color: #eee; font-size: 13px; line-height: 1.45; text-shadow: 0 1px 3px #000; }
.yt-gate a { color: #fff; }
.yt-out { font-size: 13px; }
@media (max-width: 600px) { .yt-gate { gap: 6px; padding: 8px; } .yt-gate p { font-size: 10.5px; line-height: 1.3; } .yt-load { font-size: 15px; padding: 10px 18px; } }

/* SEO: Überschriften ohne sichtbare Änderung */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hero-title { margin: 0; font-size: inherit; line-height: 0; }

/* Entwicklungsstand (Teil 3) */
.dev-status { border-left: 4px solid var(--accent); background: #0005; padding: 12px 16px; border-radius: 0 4px 4px 0; font-size: 15px; }
.dev-status strong { color: var(--accent); }
