/* Little Gecko Studio – Website. Schriften liegen lokal (SIL Open Font License, siehe fonts/),
   damit keine Daten an Google Fonts oder andere Dritte gehen. */
@font-face { font-family: 'Mochiy Pop One'; font-weight: 400; font-display: swap; src: url('fonts/mochiy-pop-one-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Zen Maru Gothic'; font-weight: 500; font-display: swap; src: url('fonts/zen-maru-gothic-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Zen Maru Gothic'; font-weight: 900; font-display: swap; src: url('fonts/zen-maru-gothic-latin-900-normal.woff2') format('woff2'); }

:root {
  --page: #ffeaf1;
  --card: #fffaf6;
  --ink: #3b2433;
  --soft: #8a5872;
  --accent: #f78fa7;
  --gold: #ffd45e;
  --green: #5fa873;
}
@media (prefers-color-scheme: dark) {
  :root { --page: #1f1820; --card: #2b2230; --ink: #fff3f7; --soft: #d7b3c6; }
}
* { box-sizing: border-box; }
body {
  margin: 0; background: var(--page); color: var(--ink);
  font-family: 'Zen Maru Gothic', system-ui, sans-serif; font-weight: 500; line-height: 1.6;
}
.wrap { max-width: 860px; margin: 0 auto; padding: 0 16px; }
header { padding: 28px 0 8px; }
header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.brand { font-family: 'Mochiy Pop One', sans-serif; font-size: 24px; color: var(--ink); text-decoration: none; }
.brand span { color: var(--green); }
nav a { color: var(--soft); font-weight: 900; text-decoration: none; margin-left: 14px; }
nav a:hover { color: var(--ink); }
h1, h2 { font-family: 'Mochiy Pop One', sans-serif; font-weight: 400; line-height: 1.2; }
h1 { font-size: clamp(30px, 6vw, 44px); margin: 32px 0 8px; }
h2 { font-size: 24px; margin: 36px 0 8px; }
h3 { font-size: 18px; font-weight: 900; margin: 26px 0 4px; }
p.lead { font-size: 19px; color: var(--soft); font-weight: 900; margin: 0 0 24px; }
.card { background: var(--card); border: 3px solid var(--ink); border-radius: 22px; box-shadow: 0 5px 0 var(--ink); padding: 22px; margin: 24px 0; }
.game { display: grid; grid-template-columns: 112px 1fr; gap: 18px; align-items: center; }
.game img.icon { width: 112px; height: 112px; border-radius: 26px; border: 3px solid var(--ink); }
.game h2 { margin: 0 0 4px; }
.hero { width: 100%; height: auto; border-radius: 22px; border: 3px solid var(--ink); box-shadow: 0 5px 0 var(--ink); display: block; }
.pill { display: inline-block; background: var(--gold); color: #3b2433; border: 2px solid #3b2433; border-radius: 999px; padding: 2px 12px; font-weight: 900; font-size: 14px; }
a { color: inherit; }
.legal { max-width: 760px; }
.legal p, .legal li { overflow-wrap: anywhere; }
footer { margin: 64px 0 28px; color: var(--soft); font-size: 13px; }
footer a { margin-right: 14px; }
@media (max-width: 520px) {
  .game { grid-template-columns: 1fr; }
  nav a { margin: 0 14px 0 0; }
}
.legal h1 { font-size: clamp(26px, 7.5vw, 44px); hyphens: auto; overflow-wrap: anywhere; }

/* Beta-Test: Knöpfe, Hinweis-Banner, Schritte, FAQ */
nav a[aria-current="page"] { color: var(--ink); }
.btn {
  display: inline-block; background: var(--accent); color: #3b2433; text-decoration: none; text-align: center;
  font-family: 'Mochiy Pop One', sans-serif; font-size: 18px; line-height: 1.3;
  border: 3px solid var(--ink); border-radius: 999px; box-shadow: 0 4px 0 var(--ink); padding: 12px 26px;
  transition: transform .08s, box-shadow .08s;
}
.btn.gold { background: var(--gold); }
.btn:hover { transform: translateY(-1px); box-shadow: 0 5px 0 var(--ink); }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--ink); }
.btn:focus-visible, .beta-banner:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }
.game .btn { margin-top: 4px; }

.beta-banner {
  display: grid; grid-template-columns: 72px 1fr auto; gap: 16px; align-items: center;
  background: var(--gold); color: #3b2433; text-decoration: none; padding: 16px 20px; margin: 20px 0 0;
  transition: transform .08s, box-shadow .08s;
}
.beta-banner:hover { transform: translateY(-1px); box-shadow: 0 6px 0 var(--ink); }
.beta-banner img { width: 72px; height: 72px; border-radius: 18px; border: 3px solid #3b2433; display: block; }
.beta-banner strong { display: block; font-family: 'Mochiy Pop One', sans-serif; font-weight: 400; font-size: 21px; line-height: 1.25; }
.beta-banner span { font-weight: 900; }
.beta-banner u { text-decoration-thickness: 2px; text-underline-offset: 3px; }
.beta-banner .go { font-family: 'Mochiy Pop One', sans-serif; font-size: 28px; line-height: 1; }

.steps { list-style: none; padding: 0; margin: 0; }
.step { display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: start; }
.step .num {
  width: 52px; height: 52px; border-radius: 50%; background: var(--gold); color: #3b2433;
  border: 3px solid var(--ink); display: grid; place-items: center;
  font-family: 'Mochiy Pop One', sans-serif; font-size: 24px; line-height: 1;
}
.step h2 { font-size: 22px; margin: 10px 0 6px; }
.step p { margin: 0 0 14px; }
.intro-head { display: flex; align-items: center; gap: 16px; }
.intro-head img { width: 80px; height: 80px; border-radius: 20px; border: 3px solid var(--ink); flex: none; }
.intro-head h2 { margin: 0; }
.intro p { margin: 14px 0 0; }
.hint { background: var(--page); border: 2px dashed var(--soft); border-radius: 14px; padding: 8px 14px; font-size: 15px; }
.faq h3:first-child { margin-top: 0; }
.faq p { margin: 0 0 4px; }
.faq p, .step p { overflow-wrap: anywhere; }

@media (max-width: 520px) {
  .beta-banner { grid-template-columns: 56px 1fr; padding: 14px 16px; }
  .beta-banner img { width: 56px; height: 56px; border-radius: 14px; }
  .beta-banner strong { font-size: 18px; }
  .beta-banner .go { display: none; }
  .intro-head img { width: 64px; height: 64px; border-radius: 16px; }
  .step { grid-template-columns: 1fr; gap: 6px; }
  .step .num { width: 44px; height: 44px; font-size: 20px; }
  .step h2 { margin-top: 4px; }
  .step .btn { display: block; }
}

/* Startseite: Screenshot-Galerie und Features */
.shots {
  display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  list-style: none; margin: 0 -4px; padding: 4px 4px 16px; scrollbar-width: thin; scrollbar-color: var(--accent) transparent;
}
.shots:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; border-radius: 18px; }
.shots li { flex: 0 0 184px; scroll-snap-align: start; }
.shots figure { margin: 0; }
.shots img {
  width: 100%; height: auto; display: block; background: var(--card);
  border: 3px solid var(--ink); border-radius: 18px; box-shadow: 0 4px 0 var(--ink);
}
.shots figcaption { margin-top: 10px; text-align: center; font-weight: 900; font-size: 14px; color: var(--soft); }
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin: 16px 0 0; }
.features .card { margin: 0; }
.features h3 { margin: 0 0 6px; font-family: 'Mochiy Pop One', sans-serif; font-weight: 400; font-size: 19px; }
.features p { margin: 0; }
@media (max-width: 640px) {
  .features { grid-template-columns: 1fr; }
  .shots li { flex-basis: 158px; }
}

/* 404-Seite */
.lost { text-align: center; margin-top: 40px; padding: 32px 22px; }
.lost img { width: 112px; height: 112px; border-radius: 26px; border: 3px solid var(--ink); }
.lost h1 { margin: 16px 0 8px; font-size: clamp(26px, 6vw, 36px); }
.lost .btn { margin-top: 10px; }

/* Beta: QR-Codes neben den Schritten (nur auf großen Bildschirmen, am Handy reicht der Knopf) */
.step { grid-template-columns: 52px 1fr auto; }
.qr { margin: 0; width: 132px; text-align: center; align-self: center; }
.qr img { width: 132px; height: 132px; display: block; background: #fff; border: 3px solid var(--ink); border-radius: 14px; }
.qr figcaption { margin-top: 6px; font-size: 13px; font-weight: 900; color: var(--soft); line-height: 1.3; }
@media (max-width: 700px) {
  .step { grid-template-columns: 52px 1fr; }
  .qr { display: none; }
}
@media (max-width: 520px) {
  .step { grid-template-columns: 1fr; }
}
