/* SLMX Interactive - Studio-Website
   Statisches HTML/CSS fuer GitHub Pages, kein Build-Schritt.
   Formensprache: Medien und Flaechen 14px Radius, alle Knoepfe als Pille.
   Ein Akzent (Tuerkis), Hell/Dunkel folgt der Systemeinstellung. */

@font-face {
  font-family: "Geist";
  src: url("fonts/geist-var.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bg: #f3f4f6;
  --surface: #e8eaee;
  --text: #121419;
  --dim: #555b69;
  --line: rgb(18 20 25 / .12);
  --accent: #0f766e;
  --accent-ink: #f3f4f6;
  --shadow: 0 24px 60px -28px rgb(30 40 60 / .35);
  --r: 14px;
  --max: 1200px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0d12;
    --surface: #14171f;
    --text: #eceef3;
    --dim: #9aa0ae;
    --line: rgb(236 238 243 / .12);
    --accent: #5eead4;
    --accent-ink: #062521;
    --shadow: 0 30px 70px -30px rgb(0 0 0 / .8);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: "Geist", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* Icons: Phosphor / Simple Icons als Maske, damit sie die Textfarbe annehmen */
.ico { display: inline-block; width: 1.1em; height: 1.1em; flex: 0 0 auto; background: currentColor;
  -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; }
.ico-arrow { --i: url("icons/arrow-up-right.svg"); }
.ico-down { --i: url("icons/arrow-down-right.svg"); }
.ico-mail { --i: url("icons/envelope-simple.svg"); }
.ico-shield { --i: url("icons/shield-check.svg"); }
.ico-play { --i: url("icons/googleplay.svg"); }

/* ---------- Navigation ---------- */
.nav { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 18px; font-weight: 400; letter-spacing: -.02em; }
.brand svg { width: 34px; height: 34px; }
.brand b { font-weight: 700; }
.nav ul { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav a:not(.brand) { text-decoration: none; color: var(--dim); font-size: 15px; font-weight: 500; transition: color .2s; }
.nav a:not(.brand):hover { color: var(--text); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap;
  padding: 14px 24px; border-radius: 999px; font-size: 16px; font-weight: 600; text-decoration: none;
  transition: transform .25s cubic-bezier(.16, 1, .3, 1), background .2s, color .2s, border-color .2s; }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { transform: translateY(-2px); }
.btn-quiet { border: 1px solid var(--line); color: var(--text); }
.btn-quiet:hover { border-color: var(--text); }

/* ---------- Hero: Split, Text links, echte Screenshots rechts ---------- */
.hero { padding: 72px 0 96px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; min-height: calc(100dvh - 68px - 168px); }
.eyebrow { margin: 0 0 18px; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.hero h1 { margin: 0; font-size: clamp(40px, 5.4vw, 68px); line-height: 1.02; letter-spacing: -.035em; font-weight: 700; max-width: 12ch; }
.hero p.lead { margin: 22px 0 34px; font-size: 19px; color: var(--dim); max-width: 44ch; }
.hero-art { position: relative; height: 600px; }
.hero-art figure { position: absolute; margin: 0; width: 240px; border-radius: 30px; overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid var(--line); background: var(--surface); }
.hero-art figure:nth-child(1) { left: 6%; top: 40px; transform: rotate(-5deg); }
.hero-art figure:nth-child(2) { right: 6%; top: 0; transform: rotate(4deg); }

/* ---------- Spiele: zwei gleichwertige Spiele nebeneinander ---------- */
.games { padding: 104px 0; border-top: 1px solid var(--line); background: var(--surface); }
.games h2 { margin: 0 0 44px; font-size: clamp(30px, 3.4vw, 42px); letter-spacing: -.03em; line-height: 1.08; }
.games-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.game-card { display: flex; flex-direction: column; padding: 28px; border-radius: var(--r);
  background: var(--bg); border: 1px solid var(--line); }
.game-shots { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 28px; }
.game-shots img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; object-position: top;
  border-radius: var(--r); border: 1px solid var(--line); box-shadow: var(--shadow); }
.game-shots img:nth-child(2) { transform: translateY(22px); }
.game-head { display: flex; align-items: center; gap: 16px; margin: 12px 0 18px; }
.game-head img { width: 60px; height: 60px; border-radius: 15px; box-shadow: var(--shadow); }
.game-card h3 { margin: 0; font-size: 30px; line-height: 1.05; letter-spacing: -.03em; }
.game-sub { margin: 2px 0 0; color: var(--dim); font-size: 15px; }
.game-card p.body { margin: 0 0 24px; color: var(--dim); max-width: 46ch; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 24px; margin: 0 0 28px; padding: 0; }
.facts div { border-left: 2px solid var(--accent); padding-left: 14px; }
.facts dt { font-size: 24px; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
.facts dd { margin: 2px 0 0; color: var(--dim); font-size: 15px; }
.game-actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: 14px 20px; align-items: center; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--dim); font-size: 15px; font-weight: 500; text-decoration: none; }
.text-link:hover { color: var(--text); }
.soon { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 999px;
  border: 1px dashed var(--line); color: var(--dim); font-size: 16px; font-weight: 600; white-space: nowrap; }

/* ---------- Grundsaetze: Begriff links, Erklaerung rechts ---------- */
.principles { padding: 112px 0; }
.principles h2 { margin: 0 0 48px; font-size: clamp(30px, 3.4vw, 42px); letter-spacing: -.03em; line-height: 1.08; max-width: 18ch; }
.principles dl { margin: 0; display: grid; gap: 0; }
.principles .row { display: grid; grid-template-columns: minmax(200px, 1fr) 2fr; gap: 32px; padding: 30px 0; border-top: 1px solid var(--line); }
.principles dt { font-size: 24px; font-weight: 650; letter-spacing: -.02em; }
.principles dd { margin: 0; color: var(--dim); font-size: 18px; max-width: 52ch; }

/* ---------- Kontakt ---------- */
.contact { padding: 112px 0 128px; border-top: 1px solid var(--line); }
.contact .wrap { display: flex; flex-direction: column; align-items: flex-start; }
.contact h2 { margin: 0 0 16px; font-size: clamp(34px, 4.6vw, 58px); letter-spacing: -.035em; line-height: 1.04; max-width: 16ch; }
.contact p { margin: 0 0 34px; color: var(--dim); font-size: 19px; max-width: 44ch; }

/* ---------- Footer ---------- */
.foot { border-top: 1px solid var(--line); padding: 32px 0 40px; color: var(--dim); font-size: 14px; }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; }
.foot nav { display: flex; gap: 24px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--text); }

/* ---------- Rechtstexte ---------- */
.legal { padding: 72px 0 112px; }
.legal .wrap { max-width: 760px; }
.legal h1 { margin: 0 0 40px; font-size: clamp(36px, 4.4vw, 52px); letter-spacing: -.035em; line-height: 1.05; }
.legal h2 { margin: 48px 0 12px; font-size: 22px; letter-spacing: -.015em; }
.legal p, .legal li { color: var(--dim); }
.legal address { font-style: normal; color: var(--text); line-height: 1.7; }

/* ---------- Bewegung: nur Einblenden, nur wenn gewuenscht ---------- */
@media (prefers-reduced-motion: no-preference) {
  .enter { opacity: 0; transform: translateY(18px); animation: enter .8s cubic-bezier(.16, 1, .3, 1) forwards; animation-delay: calc(var(--n, 0) * 90ms); }
  .hero-art figure.enter:nth-child(1) { transform: rotate(-5deg) translateY(28px); animation-name: enter-l; }
  .hero-art figure.enter:nth-child(2) { transform: rotate(4deg) translateY(28px); animation-name: enter-r; }
  .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s cubic-bezier(.16, 1, .3, 1), transform .8s cubic-bezier(.16, 1, .3, 1); transition-delay: calc(var(--n, 0) * 80ms); }
  .reveal.shown { opacity: 1; transform: none; }
}
@keyframes enter { to { opacity: 1; transform: none; } }
@keyframes enter-l { to { opacity: 1; transform: rotate(-5deg); } }
@keyframes enter-r { to { opacity: 1; transform: rotate(4deg); } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }

/* ---------- Mobil: alles einspaltig ---------- */
@media (max-width: 860px) {
  .hero { padding: 40px 0 72px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 44px; min-height: 0; }
  .games-grid { grid-template-columns: 1fr; }
  .game-card { padding: 20px; }
  .hero-art { height: 420px; }
  .hero-art figure { width: 190px; border-radius: 24px; }
  .games, .principles, .contact { padding: 80px 0; }
  .principles .row { grid-template-columns: 1fr; gap: 8px; }
  .nav ul { gap: 20px; }
}
@media (max-width: 420px) {
  .wrap { padding: 0 18px; }
  .nav ul li:first-child { display: none; }
  .hero-art figure { width: 160px; }
}
