/* LeMa Village: Website. Keine externen Schriften oder Dienste (Datenschutz), nur Systemschriften. */
:root {
  --night: #0c1322;
  --night-2: #121b2f;
  --night-3: #1a2540;
  --ink: #f4ecda;
  --ink-dim: #c9bfa8;
  --gold: #f2b544;
  --gold-2: #ff8f3a;
  --meadow: #8fcf5a;
  --line: rgba(244, 236, 218, 0.12);
  --radius: 18px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --display: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  --text: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--night);
  color: var(--ink);
  font: 400 17px/1.65 var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: #1b1203; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 16px; }

/* Typografie */
.eyebrow {
  margin: 0 0 12px;
  font: 700 13px/1.2 var(--display);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}
.h2 {
  margin: 0 0 20px;
  font: 800 clamp(30px, 4.6vw, 54px)/1.08 var(--display);
  letter-spacing: -0.02em;
  max-width: 22ch;
}
.h3 { margin: 0 0 14px; font: 800 clamp(24px, 2.6vw, 34px)/1.15 var(--display); letter-spacing: -0.01em; }
.lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--ink-dim); max-width: 62ch; margin: 0; }

/* Knöpfe */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 28px; border-radius: 999px;
  font: 700 16px/1 var(--display); text-decoration: none; letter-spacing: 0.01em;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
  border: 0; cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.btn--gold { background: linear-gradient(180deg, #ffd36e, var(--gold) 55%, #e39a2a); color: #2a1a04; box-shadow: 0 10px 30px rgba(242, 181, 68, 0.35); }
.btn--gold:hover { box-shadow: 0 14px 38px rgba(242, 181, 68, 0.5); }
.btn--ghost { background: rgba(12, 19, 34, 0.35); color: var(--ink); box-shadow: inset 0 0 0 2px rgba(244, 236, 218, 0.7); backdrop-filter: blur(6px); }
.btn--ghost:hover { background: rgba(244, 236, 218, 0.12); }
.btn--small { padding: 11px 20px; font-size: 14px; }

/* Navigation */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; gap: 24px;
  padding: 12px clamp(16px, 3vw, 40px);
  transition: background-color .3s ease, box-shadow .3s ease, padding .3s ease;
}
.nav.is-solid { background: rgba(12, 19, 34, 0.86); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); padding-top: 8px; padding-bottom: 8px; }
.nav__brand img { height: 46px; width: auto; transition: opacity .3s ease; }
.nav:not(.is-solid) .nav__brand img { opacity: 0; }
.nav__links { display: flex; gap: 26px; margin-left: auto; }
.nav__links a { text-decoration: none; font: 600 15px/1 var(--display); color: var(--ink-dim); padding: 8px 0; position: relative; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--gold); transform: scaleX(0); transition: transform .25s ease; }
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__right { display: flex; align-items: center; gap: 14px; }
.lang { display: flex; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); padding: 3px; background: rgba(12, 19, 34, 0.4); }
.lang button { background: none; border: 0; color: var(--ink-dim); font: 700 12px/1 var(--display); padding: 7px 10px; border-radius: 999px; cursor: pointer; }
.lang button[aria-pressed="true"] { background: var(--ink); color: var(--night); }
.nav__burger { display: none; background: none; border: 0; width: 40px; height: 40px; padding: 8px; cursor: pointer; }
.nav__burger span { display: block; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: transform .25s ease, opacity .25s ease; }

/* Titelbild */
.hero { position: relative; min-height: min(100svh, 1080px); display: grid; place-items: center; overflow: hidden; text-align: center; }
.hero__bg { position: absolute; inset: -4%; background-size: cover; background-position: center 40%; animation: drift 28s ease-in-out infinite alternate; }
@keyframes drift { from { transform: scale(1.04) translate(0, 0); } to { transform: scale(1.12) translate(-1.5%, -1%); } }
.hero__shade {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 50% 38%, rgba(12, 19, 34, 0.05) 0%, rgba(12, 19, 34, 0.55) 62%, rgba(12, 19, 34, 0.9) 100%),
    linear-gradient(180deg, rgba(12, 19, 34, 0.55) 0%, rgba(12, 19, 34, 0) 26%, rgba(12, 19, 34, 0) 58%, var(--night) 100%);
}
.hero__inner { position: relative; padding: 110px 16px 90px; width: min(900px, 100%); }
.hero__logo { width: min(440px, 78vw); height: auto; margin: 0 auto 18px; filter: drop-shadow(0 12px 30px rgba(0, 0, 0, 0.55)); animation: rise .9s cubic-bezier(.2, .8, .2, 1) both; }
.hero__tag { margin: 0 auto 30px; max-width: 34ch; font: 700 clamp(20px, 2.4vw, 28px)/1.35 var(--display); text-shadow: 0 2px 18px rgba(0, 0, 0, 0.7); animation: rise .9s .12s cubic-bezier(.2, .8, .2, 1) both; }
.hero__cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; animation: rise .9s .24s cubic-bezier(.2, .8, .2, 1) both; }
.hero__release { margin: 26px 0 0; display: inline-flex; align-items: center; gap: 10px; font: 600 14px/1.4 var(--display); color: var(--ink); background: rgba(12, 19, 34, 0.55); padding: 9px 16px; border-radius: 999px; backdrop-filter: blur(6px); animation: rise .9s .36s cubic-bezier(.2, .8, .2, 1) both; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--meadow); box-shadow: 0 0 0 4px rgba(143, 207, 90, 0.25); flex: none; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.hero__scroll { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); width: 26px; height: 42px; border-radius: 14px; box-shadow: inset 0 0 0 2px rgba(244, 236, 218, 0.7); }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--ink); animation: wheel 1.8s ease-in-out infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* Einleitung und Säulen */
.intro { padding: clamp(70px, 10vw, 130px) 0 clamp(50px, 7vw, 90px); }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 50px; }
.pillar { background: linear-gradient(180deg, var(--night-2), rgba(18, 27, 47, 0.4)); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; }
.pillar__icon { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; color: var(--gold); background: rgba(242, 181, 68, 0.12); margin-bottom: 18px; }
.pillar__icon svg { width: 30px; height: 30px; }
.pillar h3 { margin: 0 0 8px; font: 800 22px/1.2 var(--display); }
.pillar p { margin: 0; color: var(--ink-dim); }

/* Funktionen im Wechsel Bild/Text */
.features { display: grid; gap: clamp(60px, 9vw, 120px); padding: 30px 0 clamp(80px, 10vw, 130px); }
.feature { width: min(1180px, calc(100% - 32px)); margin: 0 auto; display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(28px, 5vw, 70px); align-items: center; }
.feature--flip .feature__img { order: 2; }
.feature__img { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 16 / 9; position: relative; }
.feature__img::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08); pointer-events: none; }
.feature__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2, .8, .2, 1); }
.feature:hover .feature__img img { transform: scale(1.04); }
.feature__text p:not(.eyebrow) { margin: 0; color: var(--ink-dim); font-size: 18px; }

/* Geschichte */
.story { position: relative; padding: clamp(110px, 16vw, 200px) 0; overflow: hidden; }
.story__bg { position: absolute; inset: 0; background-size: cover; background-position: center 35%; }
.story__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12, 19, 34, 0.92) 0%, rgba(12, 19, 34, 0.6) 45%, rgba(12, 19, 34, 0.1) 100%), linear-gradient(180deg, var(--night) 0%, transparent 18%, transparent 82%, var(--night) 100%); }
.story__inner { position: relative; }
.story__facts { display: flex; gap: clamp(26px, 5vw, 60px); margin-top: 40px; flex-wrap: wrap; }
.story__facts div { display: grid; }
.story__facts strong { font: 800 clamp(40px, 5vw, 60px)/1 var(--display); color: var(--gold); }
.story__facts span { color: var(--ink-dim); font-weight: 600; }

/* Bosse */
.bosses { padding: clamp(80px, 10vw, 130px) 0; background: radial-gradient(ellipse at 80% 0%, rgba(255, 143, 58, 0.12), transparent 55%), var(--night); }
.boss-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 46px; }
.boss { position: relative; background: var(--night-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px 26px; overflow: hidden; transition: transform .25s ease, border-color .25s ease; }
.boss:hover { transform: translateY(-4px); border-color: rgba(242, 181, 68, 0.45); }
.boss__n { position: absolute; right: 18px; top: 6px; font: 800 64px/1 var(--display); color: rgba(244, 236, 218, 0.06); }
.boss h3 { margin: 0 0 8px; font: 800 21px/1.2 var(--display); }
.boss p { margin: 0; color: var(--ink-dim); }
.bosses__more { margin: 30px 0 0; color: var(--ink-dim); max-width: 70ch; }

/* Zahlen */
.stats { border-block: 1px solid var(--line); background: linear-gradient(90deg, var(--night-2), var(--night-3), var(--night-2)); }
.stats__row { display: grid; grid-template-columns: repeat(5, 1fr); text-align: center; padding: 44px 0; gap: 16px; }
.stat strong { display: block; font: 800 clamp(34px, 4vw, 52px)/1 var(--display); background: linear-gradient(180deg, #ffe09a, var(--gold) 60%, var(--gold-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { color: var(--ink-dim); font-weight: 600; font-size: 15px; }

/* Spielmodi */
.modes { padding: clamp(80px, 10vw, 130px) 0 clamp(40px, 6vw, 80px); }
.mode-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; }
.mode { border-top: 3px solid var(--gold); background: var(--night-2); border-radius: 0 0 var(--radius) var(--radius); padding: 24px 22px; }
.mode h3 { margin: 0 0 8px; font: 800 20px/1.2 var(--display); }
.mode p { margin: 0; color: var(--ink-dim); font-size: 16px; }

/* Galerie */
.gallery { padding: clamp(60px, 8vw, 110px) 0; }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 15vw; grid-auto-flow: dense; gap: 10px; padding: 30px clamp(16px, 3vw, 40px) 0; }
.shot { padding: 0; border: 0; border-radius: 12px; overflow: hidden; cursor: zoom-in; background: var(--night-2); position: relative; }
.shot--wide { grid-column: span 2; grid-row: span 2; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .8, .2, 1), filter .3s ease; }
.shot:hover img { transform: scale(1.06); filter: brightness(1.08); }
.shot:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* Trailer */
.trailer { padding: clamp(60px, 8vw, 110px) 0; text-align: center; }
.trailer .h2, .trailer .lead { margin-left: auto; margin-right: auto; }
.video {
  position: relative; margin-top: 40px; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 9; background: #000;
  box-shadow: var(--shadow), 0 0 0 1px rgba(242, 181, 68, 0.28), 0 0 90px rgba(242, 181, 68, 0.12);
}
.video video { width: 100%; height: 100%; display: block; object-fit: cover; }
.video::after {   /* Kinoschleier: Ränder dunkler, Mitte frei für den Knopf */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at 50% 50%, rgba(12, 19, 34, 0.05) 0%, rgba(12, 19, 34, 0.25) 55%, rgba(12, 19, 34, 0.7) 100%);
  transition: opacity .4s ease;
}
.video__play {
  position: absolute; inset: 0; z-index: 1; width: 100%; border: 0; padding: 0; background: none; color: var(--ink); cursor: pointer;
  display: grid; place-content: center; justify-items: center; gap: 16px; font: inherit;
}
.video__ring {
  position: relative; width: clamp(76px, 9vw, 112px); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(180deg, #ffd36e, var(--gold) 55%, #e39a2a); color: #2a1a04;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.5), 0 0 0 0 rgba(242, 181, 68, 0.55);
  transition: transform .25s cubic-bezier(.2, .8, .2, 1), box-shadow .25s ease;
  animation: pulse 2.4s ease-out infinite;
}
.video__ring svg { width: 42%; height: 42%; margin-left: 8%; fill: currentColor; }
@keyframes pulse { 0% { box-shadow: 0 14px 40px rgba(0, 0, 0, 0.5), 0 0 0 0 rgba(242, 181, 68, 0.5); } 70%, 100% { box-shadow: 0 14px 40px rgba(0, 0, 0, 0.5), 0 0 0 26px rgba(242, 181, 68, 0); } }
.video__label {
  display: inline-flex; align-items: baseline; gap: 10px; padding: 9px 18px; border-radius: 999px;
  background: rgba(12, 19, 34, 0.6); backdrop-filter: blur(6px); font: 700 clamp(15px, 1.6vw, 18px)/1.2 var(--display);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}
.video__label small { font-weight: 600; color: var(--gold); font-size: .85em; }
.video__play:hover .video__ring, .video__play:focus-visible .video__ring { transform: scale(1.08); }
.video__play:focus-visible { outline: 3px solid var(--ink); outline-offset: -6px; border-radius: var(--radius); }
.video:hover::after { opacity: .6; }
.video__soon { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; background: linear-gradient(180deg, rgba(12, 19, 34, 0.25), rgba(12, 19, 34, 0.8)); font: 800 clamp(20px, 2.4vw, 30px)/1.2 var(--display); text-align: center; padding: 16px; }
.video__soon[hidden] { display: none; }

/* Kinofenster für den Trailer mit Ton */
.cinema { position: fixed; inset: 0; z-index: 95; display: grid; place-items: center; padding: 64px 16px 24px; background: rgba(5, 8, 15, 0.96); animation: fadein .3s ease both; }
.cinema[hidden] { display: none; }
.cinema__frame { width: min(1600px, 100%, calc((100svh - 100px) * 16 / 9)); aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #000; box-shadow: 0 30px 90px rgba(0, 0, 0, 0.7); animation: zoomin .35s cubic-bezier(.2, .8, .2, 1) both; }
.cinema__frame video { width: 100%; height: 100%; display: block; background: #000; }
.cinema .lightbox__close { top: 14px; right: 14px; }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
@keyframes zoomin { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }

/* Plattformen */
.platforms { padding: clamp(70px, 9vw, 120px) 0 clamp(90px, 11vw, 140px); background: radial-gradient(ellipse at 20% 100%, rgba(143, 207, 90, 0.1), transparent 55%), var(--night); }
.plat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; }
.plat { background: var(--night-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; display: flex; flex-direction: column; gap: 6px; }
.plat h3 { margin: 0; font: 800 21px/1.2 var(--display); }
.plat__date { margin: 0; color: var(--gold); font: 800 17px/1.3 var(--display); }
.plat p:not(.plat__date) { margin: 0 0 12px; color: var(--ink-dim); font-size: 15px; }
.plat .btn { margin-top: auto; align-self: flex-start; }
.plat__note { margin: 26px 0 0; color: var(--ink-dim); }

/* Fuß */
.footer { border-top: 1px solid var(--line); padding: 40px 0; background: #080d18; }
.footer__inner { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.footer__inner img { height: 52px; width: auto; }
.footer__links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer__links a { color: var(--ink-dim); text-decoration: none; font-weight: 600; }
.footer__links a:hover { color: var(--ink); }
.footer__copy { margin: 0 0 0 auto; color: var(--ink-dim); font-size: 14px; }

/* Bildansicht */
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(5, 8, 15, 0.94); display: grid; place-items: center; padding: 60px 16px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(1600px, 100%); max-height: 100%; border-radius: 10px; box-shadow: var(--shadow); }
.lightbox__close, .lightbox__nav { position: absolute; background: rgba(244, 236, 218, 0.1); color: var(--ink); border: 0; width: 48px; height: 48px; border-radius: 50%; font: 400 30px/1 var(--display); cursor: pointer; }
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(244, 236, 218, 0.22); }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__nav--prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 16px; top: 50%; transform: translateY(-50%); }

/* Einblenden beim Scrollen */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2, .8, .2, 1), transform .8s cubic-bezier(.2, .8, .2, 1); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* Rechtstexte */
.legal { padding: 130px 0 90px; }
.legal h1 { font: 800 clamp(32px, 4vw, 46px)/1.1 var(--display); margin: 0 0 30px; }
.legal h2 { font: 800 22px/1.3 var(--display); margin: 34px 0 10px; }
.legal p, .legal li { color: var(--ink-dim); max-width: 72ch; }
.legal .ph { color: var(--gold); }

/* Schmale Bildschirme */
@media (max-width: 980px) {
  .pillars, .boss-grid { grid-template-columns: 1fr 1fr; }
  .mode-grid, .plat-grid { grid-template-columns: 1fr 1fr; }
  .stats__row { grid-template-columns: repeat(3, 1fr); }
  .feature { grid-template-columns: 1fr; }
  .feature--flip .feature__img { order: 0; }
  .grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 34vw; }
}
@media (max-width: 820px) {
  .nav__burger { display: block; }
  .nav__links {
    position: fixed; inset: 64px 0 auto 0; flex-direction: column; gap: 0; margin: 0;
    background: rgba(12, 19, 34, 0.97); backdrop-filter: blur(14px);
    padding: 8px 16px 18px; border-bottom: 1px solid var(--line);
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: opacity .25s ease, transform .25s ease;
  }
  .nav__links a { padding: 14px 4px; font-size: 17px; border-bottom: 1px solid var(--line); }
  .nav__links a::after { display: none; }
  .nav.is-open .nav__links { opacity: 1; transform: none; pointer-events: auto; }
  .nav.is-open { background: rgba(12, 19, 34, 0.97); }
  .nav.is-open .nav__brand img { opacity: 1; }
  .nav.is-open .nav__burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.is-open .nav__burger span:nth-child(2) { opacity: 0; }
  .nav.is-open .nav__burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav__right .btn { display: none; }
  .nav__right { margin-left: auto; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .pillars, .boss-grid, .mode-grid, .plat-grid { grid-template-columns: 1fr; }
  .stats__row { grid-template-columns: 1fr 1fr; }
  .stats__row .stat:last-child { grid-column: span 2; }
  .grid { grid-template-columns: 1fr; grid-auto-rows: 56vw; }
  .shot--wide { grid-column: auto; grid-row: auto; }
  .footer__copy { margin: 0; }
  .hero__cta .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
