@font-face{font-family:"Bricolage Grotesque";src:url("fonts/bricolage.woff2") format("woff2");font-weight:200 800;font-display:swap}
@font-face{font-family:"Manrope";src:url("fonts/manrope.woff2") format("woff2");font-weight:200 800;font-display:swap}
@font-face{font-family:"Silkscreen";src:url("fonts/silkscreen.woff2") format("woff2");font-weight:400;font-display:swap}
/* Mörler Pixel Studio – Layout: dunkle "Pixelwerkstatt bei Nacht", eine Spalte auf dem Handy, zwei ab Tablet */
:root {
  --ink: #0D0A10;        /* Grund */
  --ink-2: #17111B;      /* Flächen */
  --ink-3: #221A27;      /* erhöhte Flächen */
  --line: #2E2534;       /* Linien */
  --paper: #F6EFE9;      /* Haupttext */
  --muted: #B3A7B1;      /* Nebentext */
  --red: #FF3B47;        /* Pixelrot – Akzent */
  --amber: #FFB547;      /* zweiter Akzent, sparsam */
  --mint: #3DDC97;       /* „kostenlos“ */
  --display: "Bricolage Grotesque", "Arial Black", system-ui, sans-serif;
  --body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --pixel: "Silkscreen", ui-monospace, "Courier New", monospace;
  --radius: 22px;
  --wrap: 1120px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--paper); }
a:hover { color: var(--amber); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--display); line-height: 1.02; letter-spacing: -0.025em; margin: 0; text-wrap: balance; }
p { margin: 0; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: max(18px, env(safe-area-inset-left, 0px));
  padding-right: max(18px, env(safe-area-inset-right, 0px));
}
.eyebrow {
  font-family: var(--pixel);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
}

/* ---------------- Kopfzeile ---------------- */
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  background: rgba(13, 10, 16, 0.85);
  z-index: 60;
}
.top {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 50;
  background: rgba(13, 10, 16, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(46, 37, 52, 0.7);
}
.top .wrap { display: flex; align-items: center; gap: 14px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--paper); }
.brand-name { font-family: var(--display); font-weight: 800; font-size: 17px; line-height: 1; letter-spacing: -0.02em; }
.brand-name small { display: block; font-family: var(--pixel); font-weight: 400; font-size: 9.5px; letter-spacing: 0.1em; color: var(--muted); margin-top: 4px; }

/* Pixel-Logo: 5×5 Raster, "M" */
.pxlogo { display: grid; grid-template-columns: repeat(5, 6px); gap: 1.5px; }
.pxlogo i { width: 6px; height: 6px; border-radius: 1.5px; background: var(--ink-3); transition: background .3s; }
.pxlogo i.on { background: var(--red); }
.brand:hover .pxlogo i.on { background: var(--amber); }
.pxlogo i.on:nth-child(7n) { animation: pxBlink 3.2s infinite; }
@keyframes pxBlink { 0%, 86%, 100% { background: var(--red); } 90% { background: var(--amber); } }

.nav { margin-left: auto; display: flex; gap: 6px; align-items: center; }
.nav a {
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 14px;
  border-radius: 12px;
  color: var(--muted);
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--paper); background: var(--ink-2); }
.menu-btn {
  display: none;
  margin-left: auto;
  width: 46px; height: 46px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--ink-2);
  color: var(--paper);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.menu-btn span, .menu-btn span::before, .menu-btn span::after {
  display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .25s, background .25s;
}
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -6px; }
.menu-btn span::after { top: 6px; }
.menu-open .menu-btn span { background: transparent; }
.menu-open .menu-btn span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-btn span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 760px) {
  .menu-btn { display: flex; }
  .nav {
    position: fixed;
    left: 0; right: 0;
    top: calc(64px + env(safe-area-inset-top, 0px));
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px max(18px, env(safe-area-inset-right, 0px)) 22px max(18px, env(safe-area-inset-left, 0px));
    background: rgba(13, 10, 16, 0.97);
    border-bottom: 1px solid var(--line);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .22s, transform .22s;
  }
  .nav a { font-size: 18px; padding: 14px 16px; }
  .menu-open .nav { opacity: 1; transform: none; pointer-events: auto; }
}

/* ---------------- Knöpfe ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 16px;
  font-weight: 800;
  font-size: 15.5px;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .18s, box-shadow .18s, background .18s;
}
.btn:active { transform: scale(.97); }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 10px 30px rgba(255, 59, 71, .32); }
.btn-red:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 34px rgba(255, 59, 71, .42); }
.btn-ghost { border-color: var(--line); color: var(--paper); background: var(--ink-2); }
.btn-ghost:hover { border-color: var(--muted); color: var(--paper); }
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }

/* Google-Play-Knopf */
.btn-play { background: var(--paper); color: var(--ink); }
.btn-play:hover { color: var(--ink); transform: translateY(-2px); }
.btn-play small { display: block; font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; opacity: .7; line-height: 1; }
.btn-play b { display: block; font-size: 17px; line-height: 1.15; }

/* ---------------- Hero ---------------- */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(120% 90% at 20% 30%, rgba(13, 10, 16, .25), rgba(13, 10, 16, .92) 70%);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 2; padding-block: 72px 64px; display: grid; gap: 26px; }
.hero h1 { font-size: clamp(46px, 13vw, 112px); font-weight: 800; max-width: 11ch; }
.hero h1 .px { font-family: var(--pixel); font-weight: 400; color: var(--red); letter-spacing: 0; font-size: .82em; display: inline-block; }
.hero .lead { font-size: clamp(17px, 4.4vw, 21px); color: var(--muted); max-width: 34ch; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .stamp {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--pixel); font-size: 11.5px; color: var(--muted);
  border: 1px solid var(--line); background: rgba(23, 17, 27, .7);
  padding: 8px 12px; border-radius: 999px; width: fit-content;
}
.hero .stamp i { width: 8px; height: 8px; border-radius: 2px; background: var(--mint); box-shadow: 0 0 12px var(--mint); animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.hero-in > * { animation: rise .8s cubic-bezier(.2, .8, .2, 1) both; }
.hero-in > *:nth-child(2) { animation-delay: .08s; }
.hero-in > *:nth-child(3) { animation-delay: .16s; }
.hero-in > *:nth-child(4) { animation-delay: .24s; }
@keyframes rise { from { transform: translateY(18px); opacity: .25; } to { transform: none; opacity: 1; } }

/* ---------------- Abschnitte ---------------- */
.section { padding-block: 72px; }
.section-head { display: grid; gap: 12px; margin-bottom: 30px; max-width: 640px; }
.section-head h2 { font-size: clamp(34px, 8vw, 58px); font-weight: 800; }
.section-head p { color: var(--muted); font-size: 17px; }

/* Leichtes Hereingleiten beim Scrollen – Inhalt ist auch ohne JS sichtbar */
.reveal.in { animation: rise .7s cubic-bezier(.2, .8, .2, 1) both; }

/* ---------------- App-Karten ---------------- */
.apps { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .apps { grid-template-columns: 1.6fr 1fr; } }

.app-card {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: linear-gradient(160deg, #2A0E15 0%, #160A0F 55%, #120A0E 100%);
  border: 1px solid #3A1A22;
  display: grid;
  grid-template-columns: 1fr;
  min-width: 0;
}
@media (min-width: 640px) { .app-card.featured { grid-template-columns: 1.1fr .9fr; } }
.app-card .body { padding: 26px 22px 24px; display: grid; gap: 14px; align-content: start; min-width: 0; }
.app-icon {
  width: 68px; height: 68px; border-radius: 20px;
  background: var(--red);
  display: grid; place-items: center;
  box-shadow: 0 12px 30px rgba(255, 59, 71, .35);
  font-family: var(--display); font-weight: 800; font-size: 34px; color: #fff; letter-spacing: -0.04em;
}
.app-icon span { color: var(--ink); }
.app-card h3 { font-size: clamp(34px, 9vw, 48px); font-weight: 800; }
.app-card h3 .dot { color: var(--red); }
.app-card .tag { color: var(--muted); font-size: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font-size: 12.5px; font-weight: 800;
  padding: 6px 11px; border-radius: 999px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .09);
  color: var(--paper);
}
.chip.free { color: var(--mint); border-color: rgba(61, 220, 151, .35); }
.chip.prem { color: var(--amber); border-color: rgba(255, 181, 71, .35); }
.stats { display: flex; gap: 22px; flex-wrap: wrap; padding-top: 4px; }
.stat b { display: block; font-family: var(--display); font-size: 30px; line-height: 1; font-variant-numeric: tabular-nums; }
.stat span { font-size: 12.5px; color: var(--muted); font-weight: 700; }
.app-card .actions { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 6px; }

/* Handy-Mockup mit laufender Spieleliste */
.phone-zone { position: relative; display: grid; place-items: center; padding: 10px 0 30px; min-height: 420px; }
.phone {
  position: relative;
  width: 214px; height: 430px;
  border-radius: 38px;
  background: #050306;
  border: 2px solid #3A2A31;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .6), inset 0 0 0 6px #120A0E;
  padding: 12px;
  transform: rotate(-4deg);
  animation: float 6s ease-in-out infinite;
}
@keyframes float { 50% { transform: rotate(-2deg) translateY(-10px); } }
.phone .screen { position: relative; width: 100%; height: 100%; border-radius: 28px; overflow: hidden; background: #12080B; }
.phone .notch { position: absolute; top: 8px; left: 50%; width: 64px; height: 18px; transform: translateX(-50%); background: #050306; border-radius: 12px; z-index: 3; }
.phone .app-top { position: absolute; top: 0; left: 0; right: 0; z-index: 2; padding: 34px 14px 10px; background: linear-gradient(#12080B 70%, rgba(18, 8, 11, 0)); }
.phone .app-top b { font-family: var(--display); font-size: 24px; letter-spacing: -0.03em; }
.phone .app-top b span { color: var(--red); }
.phone .app-top small { display: block; font-size: 9px; color: var(--muted); font-weight: 700; }
.reel { position: absolute; left: 12px; right: 12px; top: 0; animation: reel 30s linear infinite; }
@keyframes reel { from { transform: translateY(0); } to { transform: translateY(-50%); } }
.tile {
  height: 62px; margin-bottom: 9px; border-radius: 15px;
  display: flex; align-items: center; gap: 10px; padding: 0 12px;
  background: #1E1015; border: 1px solid #3A2028;
}
.tile i { width: 34px; height: 34px; border-radius: 10px; flex-shrink: 0; }
.tile b { font-size: 12.5px; display: block; line-height: 1.2; }
.tile small { font-size: 9.5px; color: var(--muted); display: block; }
.floaty { position: absolute; border-radius: 10px; }
.floaty.d1 { width: 46px; height: 46px; right: 8%; top: 12%; background: #fff; box-shadow: 0 10px 24px rgba(0, 0, 0, .5); animation: tumble 7s ease-in-out infinite; }
.floaty.d1::before, .floaty.d1::after { content: ""; position: absolute; width: 9px; height: 9px; border-radius: 50%; background: var(--ink); }
.floaty.d1::before { left: 9px; top: 9px; box-shadow: 18px 18px 0 var(--ink); }
.floaty.d1::after { left: 18px; top: 18px; background: var(--red); }
.floaty.c1 { width: 40px; height: 56px; left: 6%; bottom: 14%; background: linear-gradient(160deg, #FFF8E6, #FFE7A8); border: 2px solid var(--amber); animation: tumble 8s ease-in-out infinite reverse; }
@keyframes tumble { 50% { transform: translateY(-14px) rotate(14deg); } }

/* "In Arbeit"-Karten */
.app-card.soon { background: var(--ink-2); border-color: var(--line); min-height: 260px; }
.soon .px-noise { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(12, 1fr); opacity: .5; }
.soon .px-noise i { aspect-ratio: 1; background: var(--ink-3); animation: noise 3s infinite; }
@keyframes noise { 0%, 100% { background: var(--ink-3); } 50% { background: #2D2133; } }
.soon .body { position: relative; z-index: 2; align-content: end; height: 100%; }
.soon h3 { font-size: 30px; }
.soon .tag { font-size: 15px; }
.pill-soon { font-family: var(--pixel); font-size: 11px; color: var(--amber); border: 1px solid rgba(255, 181, 71, .4); padding: 5px 10px; border-radius: 999px; width: fit-content; }
.apps-side { display: grid; gap: 18px; min-width: 0; }

/* ---------------- Studio ---------------- */
.studio { display: grid; gap: 30px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) { .studio { grid-template-columns: 1fr 1fr; } }
.studio .text { display: grid; gap: 16px; color: var(--muted); font-size: 17px; max-width: 60ch; }
.studio .text strong { color: var(--paper); }
.values { display: grid; gap: 12px; }
.value { display: flex; gap: 14px; padding: 18px; border-radius: 18px; background: var(--ink-2); border: 1px solid var(--line); }
.value .ic { width: 44px; height: 44px; flex-shrink: 0; border-radius: 13px; display: grid; place-items: center; background: rgba(255, 59, 71, .12); color: var(--red); }
.value .ic svg { width: 22px; height: 22px; }
.value b { display: block; font-size: 16px; }
.value span { font-size: 14.5px; color: var(--muted); }

/* Koordinaten-Stempel: echter Ort */
.coords { font-family: var(--pixel); font-size: 11.5px; color: var(--muted); display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.coords i { width: 8px; height: 8px; background: var(--red); border-radius: 2px; }

/* ---------------- Kontakt ---------------- */
.contact {
  border-radius: 28px;
  background: linear-gradient(135deg, var(--red), #B5121F);
  padding: 34px 24px;
  display: grid; gap: 18px;
  position: relative; overflow: hidden;
}
.contact::after {
  content: ""; position: absolute; right: -40px; top: -40px; width: 220px; height: 220px;
  background-image: linear-gradient(rgba(255, 255, 255, .14) 2px, transparent 2px), linear-gradient(90deg, rgba(255, 255, 255, .14) 2px, transparent 2px);
  background-size: 22px 22px;
  transform: rotate(12deg);
}
.contact h2 { font-size: clamp(32px, 8vw, 52px); font-weight: 800; color: #fff; position: relative; z-index: 1; }
.contact p { color: rgba(255, 255, 255, .88); max-width: 46ch; position: relative; z-index: 1; }
.mailrow { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; position: relative; z-index: 1; }
.mail {
  font-family: var(--display); font-weight: 800; font-size: clamp(20px, 5.6vw, 30px);
  color: #fff; text-decoration: none; word-break: break-all;
  user-select: all;
}
.mail:hover { color: var(--ink); }
.copy-btn { background: rgba(13, 10, 16, .25); color: #fff; border: 1.5px solid rgba(255, 255, 255, .4); min-height: 44px; padding: 0 16px; border-radius: 12px; font-weight: 800; cursor: pointer; font-family: var(--body); }
.copy-btn:hover { background: rgba(13, 10, 16, .4); }

/* ---------------- Fußzeile ---------------- */
.foot { border-top: 1px solid var(--line); padding-block: 34px 44px; color: var(--muted); font-size: 14px; }
.foot .wrap { display: grid; gap: 18px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.foot-links a { color: var(--muted); text-decoration: none; font-weight: 700; }
.foot-links a:hover { color: var(--paper); }
.foot small { font-family: var(--pixel); font-size: 10.5px; letter-spacing: .04em; }

/* ---------------- App-Detailseite ---------------- */
.app-hero .wrap { display: grid; gap: 28px; padding-block: 48px 40px; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 900px) { .app-hero .wrap { grid-template-columns: 1.1fr .9fr; } }
.app-hero h1 { font-size: clamp(64px, 20vw, 140px); font-weight: 800; letter-spacing: -0.05em; }
.app-hero h1 span { color: var(--red); }
.app-hero .lead { font-size: clamp(18px, 4.6vw, 22px); color: var(--muted); max-width: 32ch; }
.app-hero .info { display: grid; gap: 20px; min-width: 0; }
.age { display: inline-flex; gap: 8px; align-items: center; font-weight: 800; font-size: 13px; color: var(--muted); }
.age b { font-family: var(--display); font-size: 15px; color: var(--paper); background: var(--ink-3); border: 1px solid var(--line); border-radius: 8px; padding: 2px 8px; }

.filters { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 18px; scrollbar-width: none; }
.filters::-webkit-scrollbar { display: none; }
.filter {
  flex-shrink: 0;
  min-height: 42px; padding: 0 16px;
  border-radius: 999px; border: 1px solid var(--line);
  background: var(--ink-2); color: var(--muted);
  font-weight: 800; font-size: 14px; font-family: var(--body);
  cursor: pointer;
}
.filter[aria-pressed="true"] { background: var(--red); color: #fff; border-color: var(--red); }
.games { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.game {
  display: flex; gap: 14px; align-items: center;
  padding: 14px; border-radius: 18px;
  background: var(--ink-2); border: 1px solid var(--line);
  min-width: 0;
  transition: transform .2s, border-color .2s;
}
.game:hover { transform: translateY(-3px); border-color: #4A3A50; }
.game .sw { width: 46px; height: 46px; border-radius: 14px; flex-shrink: 0; display: grid; place-items: center; font-family: var(--pixel); font-size: 15px; color: var(--ink); }
.game b { display: block; font-size: 15.5px; line-height: 1.25; }
.game span { display: block; font-size: 13px; color: var(--muted); line-height: 1.35; }
.game .meta { display: flex; gap: 6px; margin-top: 4px; flex-wrap: wrap; }
.game .meta em { font-style: normal; font-size: 11px; font-weight: 800; color: var(--muted); }
.game .meta em.free { color: var(--mint); }
.game .meta em.prem { color: var(--amber); }
.game[hidden] { display: none !important; }

.features { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.feature { padding: 22px; border-radius: 20px; background: var(--ink-2); border: 1px solid var(--line); display: grid; gap: 8px; align-content: start; }
.feature .ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: rgba(255, 181, 71, .12); color: var(--amber); }
.feature .ic svg { width: 22px; height: 22px; }
.feature b { font-size: 17px; }
.feature span { color: var(--muted); font-size: 15px; }

.faq { display: grid; gap: 10px; max-width: 760px; }
.faq details { border-radius: 16px; background: var(--ink-2); border: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none;
  padding: 18px 20px; font-weight: 800; font-size: 16px;
  display: flex; justify-content: space-between; gap: 14px; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--pixel); color: var(--red); font-size: 18px; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 20px 18px; color: var(--muted); }

.notice {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 18px; border-radius: 18px;
  border: 1px dashed rgba(255, 181, 71, .45); color: var(--muted); font-size: 14.5px;
}
.notice b { color: var(--paper); }

/* ---------------- Rechtstexte ---------------- */
.legal { padding-block: 48px 72px; }
.legal .doc { max-width: 760px; display: grid; gap: 14px; }
.legal h1 { font-size: clamp(38px, 10vw, 64px); font-weight: 800; margin-bottom: 8px; }
.legal h2 { font-size: 22px; margin-top: 22px; letter-spacing: -0.01em; }
.legal h3 { font-size: 17px; margin-top: 8px; letter-spacing: 0; font-family: var(--body); font-weight: 800; }
.legal p, .legal li { color: var(--muted); }
.legal ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.legal strong { color: var(--paper); }
.legal .ph { background: rgba(255, 181, 71, .14); color: var(--amber); padding: 1px 6px; border-radius: 6px; font-weight: 800; }
.legal .stand { font-family: var(--pixel); font-size: 11px; color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
