/* ==========================================================================
   Kellergame — Marken-Stylesheet
   Palette: Smaragd #20E0A0 · Gold #FFD700 · Dunkel #0D1310 · Chrome #060A08
   ========================================================================== */

:root {
  --neon: #20E0A0;
  --neon-dim: #19b682;
  --gold: #FFD700;
  --bg: #0D1310;
  --chrome: #060A08;
  --surface: #0F1613;
  --surface-2: #131c18;
  --border: #1f2c26;
  --text: #e8f2ed;
  --text-dim: #9fb3aa;
  --text-faint: #6f827a;
  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1140px;
  --shadow: 0 18px 50px rgba(0, 0, 0, .55);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ---- Sprachumschaltung (DE/EN via [data-lang] auf <html>) ----------------
   Es wird nur die JEWEILS INAKTIVE Sprache ausgeblendet. Die aktive behält
   ihren natürlichen display-Wert (inline, inline-block, block …). Der
   html[data-lang=…]-Präfix sorgt für hohe Spezifität, damit Stilklassen wie
   .eyebrow/.lead/.btn die Regel nicht überschreiben können. */
html[data-lang="de"] [data-lang-en],
html[data-lang="en"] [data-lang-de] { display: none !important; }

/* ---- Reset / Basis ------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--neon); text-decoration: none; transition: color .15s ease; }
a:hover { color: #fff; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.02em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
p { margin: 0 0 1rem; color: var(--text-dim); }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
section { padding: clamp(56px, 9vw, 110px) 0; }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--neon); margin-bottom: 14px;
}
.text-gold { color: var(--gold); }
.lead { font-size: 1.18rem; color: var(--text-dim); max-width: 56ch; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* ---- Buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; cursor: pointer;
  font-weight: 700; font-size: .98rem; padding: 13px 24px; border-radius: 999px;
  border: 1px solid transparent; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--neon); color: #062018;
  box-shadow: 0 10px 30px rgba(32, 224, 160, .28);
}
.btn-primary:hover { color: #062018; background: #2bf0ae; box-shadow: 0 14px 38px rgba(32, 224, 160, .4); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn-ghost:hover { color: #fff; border-color: var(--neon); background: rgba(32, 224, 160, .07); }
.btn-block { width: 100%; justify-content: center; }
.btn .icon { width: 18px; height: 18px; }

/* ---- Header / Nav -------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(6, 10, 8, .82); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; font-size: 1.2rem; color: #fff; letter-spacing: -.02em; }
.brand:hover { color: #fff; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.brand b { color: var(--neon); }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { color: var(--text-dim); font-weight: 600; font-size: .95rem; }
.nav-links a:hover { color: #fff; }
.lang-toggle {
  display: inline-flex; align-items: center; gap: 6px; cursor: pointer;
  background: transparent; border: 1px solid var(--border); color: var(--text-dim);
  border-radius: 999px; padding: 6px 13px; font-weight: 700; font-size: .82rem; font-family: var(--font);
}
.lang-toggle:hover { color: #fff; border-color: var(--neon); }
.nav-toggle { display: none; background: none; border: 0; color: #fff; cursor: pointer; padding: 6px; }

/* ---- Hero ---------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; padding-top: clamp(50px, 7vw, 84px); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(900px 500px at 78% 18%, rgba(32, 224, 160, .14), transparent 60%),
    radial-gradient(700px 420px at 10% 90%, rgba(255, 215, 0, .07), transparent 60%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 54px; align-items: center; }
.hero-art { position: relative; }
.hero-art img { border-radius: 22px; border: 1px solid var(--border); box-shadow: var(--shadow); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 30px; color: var(--text-faint); font-size: .9rem; }
.hero-meta span { display: inline-flex; align-items: center; gap: 7px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--neon); box-shadow: 0 0 10px var(--neon); }

/* ---- Spiele-Grid (Hub) --------------------------------------------------- */
.games-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; margin-top: 44px; }
.game-card {
  display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; transition: transform .2s ease, border-color .2s ease;
}
.game-card:hover { transform: translateY(-4px); border-color: var(--neon); }
.game-card .thumb { aspect-ratio: 16 / 10; overflow: hidden; background: var(--chrome); }
.game-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.game-card .body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.game-card h3 { font-size: 1.32rem; margin-bottom: 4px; color: #fff; }
.game-card .tagline { color: var(--text-faint); font-size: .92rem; margin-bottom: 14px; }
.game-card p { font-size: .95rem; flex: 1; }
.game-card .card-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; }
.platforms { display: flex; gap: 9px; color: var(--text-faint); }
.platforms .icon { width: 19px; height: 19px; }
.badge {
  font-size: .72rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px;
}
.badge-soon { color: var(--gold); background: rgba(255, 215, 0, .12); border: 1px solid rgba(255, 215, 0, .3); }
.badge-live { color: var(--neon); background: rgba(32, 224, 160, .12); border: 1px solid rgba(32, 224, 160, .3); }
.game-card.placeholder { border-style: dashed; align-items: center; justify-content: center; text-align: center; padding: 48px 26px; }
.game-card.placeholder:hover { transform: none; border-color: var(--border); }
.game-card.placeholder .k { font-size: 2.4rem; font-weight: 900; color: var(--text-faint); margin-bottom: 8px; }

/* ---- Feature-Grid -------------------------------------------------------- */
.features { background: var(--chrome); }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 20px; margin-top: 44px; }
.feature {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px 24px; transition: border-color .2s ease, transform .2s ease;
}
.feature:hover { border-color: var(--neon); transform: translateY(-3px); }
.feature .fi { font-size: 1.6rem; margin-bottom: 12px; display: block; }
.feature h3 { font-size: 1.12rem; color: #fff; margin-bottom: 6px; }
.feature p { font-size: .93rem; margin: 0; }

/* ---- Screenshot-Galerie -------------------------------------------------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 18px; margin-top: 44px; }
.shot {
  border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; cursor: zoom-in;
  background: var(--chrome); transition: transform .2s ease, border-color .2s ease; padding: 0; display: block;
}
.shot:hover { transform: translateY(-3px); border-color: var(--neon); }
.shot img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }

/* ---- Lightbox ------------------------------------------------------------ */
.lightbox {
  position: fixed; inset: 0; z-index: 100; display: none;
  align-items: center; justify-content: center; padding: 30px;
  background: rgba(3, 6, 5, .92); backdrop-filter: blur(6px);
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 86vh; border-radius: 12px; border: 1px solid var(--border); box-shadow: var(--shadow); }
.lightbox-close { position: absolute; top: 22px; right: 26px; background: none; border: 0; color: #fff; font-size: 2.2rem; cursor: pointer; line-height: 1; }
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%); background: rgba(15, 22, 19, .8);
  border: 1px solid var(--border); color: #fff; width: 48px; height: 48px; border-radius: 50%;
  font-size: 1.5rem; cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.lightbox-nav:hover { border-color: var(--neon); color: var(--neon); }
.lightbox-prev { left: 22px; } .lightbox-next { right: 22px; }

/* ---- Download / CTA-Band ------------------------------------------------- */
.cta-band { text-align: center; }
.download-row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 28px; }
.note { font-size: .85rem; color: var(--text-faint); margin-top: 18px; }

/* ---- Legal / Inhaltsseiten ---------------------------------------------- */
.doc { max-width: 760px; }
.doc h1 { margin-bottom: 28px; }
.doc h2 { font-size: 1.3rem; margin-top: 36px; color: #fff; }
.doc p, .doc li { color: var(--text-dim); }
.doc address { font-style: normal; color: var(--text); line-height: 1.9; }
.back-link { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 30px; color: var(--text-dim); font-weight: 600; }

/* ---- Footer -------------------------------------------------------------- */
.site-footer { background: var(--chrome); border-top: 1px solid var(--border); padding: 50px 0 38px; }
.footer-grid { display: flex; flex-wrap: wrap; gap: 28px; justify-content: space-between; align-items: flex-start; }
.footer-grid .brand { margin-bottom: 12px; }
.footer-tagline { color: var(--text-faint); font-size: .9rem; max-width: 32ch; }
.footer-links { display: flex; flex-direction: column; gap: 9px; }
.footer-links a { color: var(--text-dim); font-weight: 600; font-size: .93rem; }
.footer-bottom { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--border); color: var(--text-faint); font-size: .85rem; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; }

/* ---- Reveal-on-scroll ---------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---- Responsive ---------------------------------------------------------- */
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-art { order: -1; max-width: 460px; margin: 0 auto; }
  .nav-links {
    position: absolute; top: 66px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--chrome); border-bottom: 1px solid var(--border); padding: 8px 0;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { width: 100%; padding: 13px 22px; }
  .nav-links .lang-toggle { margin: 10px 22px; }
  .nav-toggle { display: block; }
}
