:root {
  --ink: #152028;
  --ink-soft: #4d5d6b;
  --paper: #f6f3ee;
  --paper-2: #ebe6de;
  --white: #fffcf8;
  --teal: #0f6e6a;
  --teal-deep: #0a524f;
  --coral: #e85d4c;
  --coral-deep: #c94838;
  --sand: #e7d3b0;
  --mint: #d7ebe4;
  --focus: #1d6fd4;
  --stroke: rgba(21, 32, 40, 0.1);
  --shadow: 0 24px 60px rgba(21, 32, 40, 0.12);
  --radius: 18px;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Outfit", "Segoe UI", system-ui, sans-serif;
  --max: 1140px;
  --page: 40rem;
  --header-h: 4.5rem;
}

/* Local fonts only — no Google Fonts / CDN */
@font-face {
  font-family: "Outfit";
  src: url("../assets/fonts/Outfit-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Outfit";
  src: url("../assets/fonts/Outfit-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Outfit";
  src: url("../assets/fonts/Outfit-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Outfit";
  src: url("../assets/fonts/Outfit-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Fraunces";
  src: url("../assets/fonts/Fraunces-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Fraunces";
  src: url("../assets/fonts/Fraunces-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Fraunces";
  src: url("../assets/fonts/Fraunces-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  min-height: 100%;
  font-weight: 400;
  letter-spacing: 0.01em;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--teal-deep);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--coral-deep);
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: white;
  padding: 0.75rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px) saturate(1.2);
  background: rgba(246, 243, 238, 0.82);
  border-bottom: 1px solid var(--stroke);
}

.header-inner,
.footer-inner,
.section-inner,
.hero-inner {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--ink);
}

.brand:hover {
  color: var(--ink);
}

.brand-mark {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 0.7rem;
  background:
    linear-gradient(145deg, var(--teal) 0 48%, transparent 49%),
    linear-gradient(145deg, transparent 50%, var(--coral) 51%);
  background-color: var(--sand);
  flex-shrink: 0;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.35rem;
  font-weight: 500;
  font-size: 0.95rem;
}

.nav a {
  text-decoration: none;
  color: var(--ink-soft);
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--ink);
}

/* —— Hero: one composition for parents —— */
.hero {
  position: relative;
  min-height: min(92vh, 860px);
  display: grid;
  align-items: stretch;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(ellipse 80% 60% at 85% 20%, rgba(232, 93, 76, 0.35), transparent 55%),
    radial-gradient(ellipse 70% 50% at 10% 80%, rgba(15, 110, 106, 0.55), transparent 50%),
    linear-gradient(145deg, #16353a 0%, #1a4d4a 42%, #2a3d48 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.08'/%3E%3C/svg%3E");
  opacity: 0.45;
  pointer-events: none;
  mix-blend-mode: soft-light;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2.5rem;
  align-items: end;
  padding: 5.5rem 0 4rem;
}

@media (min-width: 920px) {
  .hero-inner {
    grid-template-columns: 1.05fr 0.95fr;
    padding: 6.5rem 0 5rem;
    align-items: center;
  }
}

.eyebrow {
  display: inline-block;
  margin: 0 0 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 252, 248, 0.72);
}

.hero h1 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5.2rem);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.035em;
  max-width: 9ch;
}

.lede {
  margin: 0 0 1.75rem;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.5;
  color: rgba(255, 252, 248, 0.82);
  max-width: 36ch;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3.1rem;
  padding: 0.75rem 1.35rem;
  border-radius: 12px;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--coral);
  color: white;
}

.btn-primary:hover {
  background: var(--coral-deep);
  color: white;
}

.btn-secondary {
  background: transparent;
  border-color: rgba(255, 252, 248, 0.35);
  color: var(--white);
}

.btn-secondary:hover {
  border-color: rgba(255, 252, 248, 0.7);
  color: var(--white);
}

.btn-solid {
  background: var(--teal);
  color: white;
}

.btn-solid:hover {
  background: var(--teal-deep);
  color: white;
}

.btn-ghost {
  background: var(--white);
  color: var(--ink);
  border-color: var(--stroke);
}

.btn-ghost:hover {
  color: var(--ink);
  border-color: rgba(21, 32, 40, 0.25);
}

.btn.is-disabled,
.btn[aria-disabled="true"] {
  opacity: 0.55;
  pointer-events: none;
  transform: none;
}

/* Phone stage in hero */
.hero-stage {
  position: relative;
  justify-self: center;
  width: min(100%, 380px);
  animation: stage-in 1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes stage-in {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.phone-frame {
  position: relative;
  border-radius: 2rem;
  padding: 0.7rem;
  background: linear-gradient(160deg, #2a333a, #10161b);
  box-shadow: var(--shadow), 0 0 0 1px rgba(255, 255, 255, 0.08);
  transform: rotate(-2.5deg);
  transition: transform 0.35s ease;
}

.hero-stage:hover .phone-frame {
  transform: rotate(0deg) translateY(-4px);
}

.phone-screen {
  border-radius: 1.45rem;
  overflow: hidden;
  aspect-ratio: 9 / 16;
  background: #c8ebf7;
}

.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-glow {
  position: absolute;
  inset: 12% -8% -8%;
  background: radial-gradient(circle at 50% 40%, rgba(232, 93, 76, 0.35), transparent 65%);
  z-index: -1;
  filter: blur(8px);
}

/* Trust strip */
.trust {
  background: var(--white);
  border-bottom: 1px solid var(--stroke);
}

.trust-inner {
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto;
  display: grid;
  gap: 1rem;
  padding: 1.35rem 0;
}

@media (min-width: 760px) {
  .trust-inner {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

.trust-item {
  display: grid;
  gap: 0.25rem;
}

.trust-item strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.trust-item span {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section-alt {
  background:
    linear-gradient(180deg, transparent, rgba(215, 235, 228, 0.45)),
    var(--paper);
}

.section-dark {
  background: #16353a;
  color: var(--white);
}

.section-dark .section-intro,
.section-dark .muted {
  color: rgba(255, 252, 248, 0.72);
}

.section-kicker {
  margin: 0 0 0.65rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
}

.section-dark .section-kicker {
  color: var(--sand);
}

.section-title {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.section-intro {
  margin: 0 0 2.25rem;
  color: var(--ink-soft);
  max-width: 48ch;
  font-size: 1.05rem;
}

/* Featured game — interaction surface, not generic card wall */
.feature-game {
  display: grid;
  gap: 1.75rem;
  align-items: center;
  padding: 1.25rem;
  border-radius: calc(var(--radius) + 6px);
  background: var(--white);
  border: 1px solid var(--stroke);
  box-shadow: 0 16px 40px rgba(21, 32, 40, 0.06);
}

@media (min-width: 860px) {
  .feature-game {
    grid-template-columns: 1.15fr 1fr;
    padding: 1.5rem;
    gap: 2rem;
  }
}

.feature-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 11;
  background: linear-gradient(145deg, #9fd6ef, #d7ebe4);
}

.feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-body h3 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  letter-spacing: -0.02em;
}

.feature-body p {
  margin: 0 0 1.25rem;
  color: var(--ink-soft);
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.meta {
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: var(--mint);
  color: var(--teal-deep);
  font-size: 0.78rem;
  font-weight: 600;
}

.coming-list {
  margin-top: 2.5rem;
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 720px) {
  .coming-list {
    grid-template-columns: 1fr 1fr;
  }
}

.coming-item {
  padding: 1.1rem 1.2rem;
  border-radius: 14px;
  border: 1px dashed rgba(21, 32, 40, 0.18);
  background: rgba(255, 252, 248, 0.5);
}

.coming-item strong {
  display: block;
  font-family: var(--font-display);
  margin-bottom: 0.2rem;
}

.coming-item span {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

/* Store + QR */
.store-panel {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 860px) {
  .store-panel {
    grid-template-columns: 1.2fr auto;
    gap: 3rem;
  }
}

.store-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
  margin-top: 1.5rem;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 3.4rem;
  padding: 0.55rem 1rem 0.55rem 0.85rem;
  border-radius: 12px;
  background: #0b0f12;
  color: white;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: transform 0.2s ease, background 0.2s ease;
}

.store-badge:hover {
  transform: translateY(-2px);
  color: white;
  background: #161c22;
}

.store-badge.is-disabled {
  opacity: 0.55;
  pointer-events: none;
}

.store-badge .badge-icon {
  width: 1.7rem;
  height: 1.7rem;
  flex-shrink: 0;
}

.store-badge small {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.7;
}

.store-badge strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.15;
}

.qr-block {
  justify-self: start;
  display: grid;
  gap: 0.75rem;
  justify-items: center;
  text-align: center;
}

@media (min-width: 860px) {
  .qr-block {
    justify-self: end;
  }
}

.qr-frame {
  width: 168px;
  height: 168px;
  padding: 12px;
  border-radius: 16px;
  background: var(--white);
  border: 1px solid rgba(255, 252, 248, 0.2);
  display: grid;
  place-items: center;
  color: var(--ink-soft);
  font-size: 0.85rem;
  line-height: 1.35;
}

.qr-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.qr-caption {
  margin: 0;
  font-size: 0.88rem;
  color: rgba(255, 252, 248, 0.7);
  max-width: 18ch;
}

/* Inner pages — shared column */
.page-hero {
  padding: 3.5rem 0 1.5rem;
  background:
    radial-gradient(ellipse 60% 80% at 90% 0%, rgba(215, 235, 228, 0.9), transparent 55%),
    linear-gradient(180deg, #e7efe9, var(--paper));
}

.page-shell,
.page-hero .section-inner,
.prose {
  width: min(100% - 2.5rem, var(--page));
  margin-inline: auto;
}

.page-hero h1 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.1rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.page-hero .lede {
  color: var(--ink-soft);
  margin-bottom: 0;
  max-width: none;
}

.page-hero .eyebrow {
  color: var(--teal);
}

.page-hero.is-wide .section-inner,
.prose.is-wide {
  width: min(100% - 2.5rem, 52rem);
}

.prose {
  padding: 0.5rem 0 4.5rem;
}

.prose h2 {
  font-family: var(--font-display);
  margin: 2rem 0 0.65rem;
  letter-spacing: -0.02em;
  font-size: 1.35rem;
}

.prose p,
.prose li {
  color: var(--ink);
}

.prose > p:first-child {
  margin-top: 0;
}

/* Legal pages: one centered card (Impressum / Datenschutz / Kontakt) */
.legal-page {
  display: flex;
  justify-content: center;
  padding: 3rem 1.25rem 4.5rem;
  min-height: calc(100vh - var(--header-h) - 8rem);
  background:
    radial-gradient(ellipse 55% 50% at 50% 0%, rgba(215, 235, 228, 0.85), transparent 60%),
    var(--paper);
}

.legal-card {
  width: min(100%, 32rem);
  margin: 0 auto;
  padding: clamp(1.75rem, 4vw, 2.75rem);
  background: var(--white);
  border: 1px solid var(--stroke);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: 0 18px 48px rgba(21, 32, 40, 0.07);
  text-align: center;
}

.legal-card h1 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.6rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.legal-card .lede {
  margin: 0 0 1.75rem;
  color: var(--ink-soft);
  max-width: none;
  font-size: 1rem;
}

.legal-card h2 {
  font-family: var(--font-display);
  margin: 1.6rem 0 0.5rem;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.legal-card h2:first-of-type {
  margin-top: 0.25rem;
}

.legal-card p {
  margin: 0;
  line-height: 1.65;
}

.legal-card ul {
  margin: 0.5rem auto 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
  text-align: center;
  max-width: 28rem;
}

.legal-card ul li {
  position: relative;
  padding: 0.15rem 0.5rem;
}

.legal-card ul li::before {
  content: "·";
  margin-right: 0.35rem;
  color: var(--teal);
  font-weight: 700;
}

.prose ul {
  padding-left: 1.2rem;
}

.feature-list {
  display: grid;
  gap: 0.75rem;
  margin: 1.5rem 0 2rem;
  padding: 0;
  list-style: none;
}

.feature-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
  padding: 1rem 1.1rem;
  background: var(--white);
  border: 1px solid var(--stroke);
  border-radius: 14px;
}

.feature-list .dot {
  width: 0.7rem;
  height: 0.7rem;
  margin-top: 0.4rem;
  border-radius: 50%;
  background: var(--teal);
}

.shot-strip {
  display: grid;
  gap: 1rem;
  margin: 1.5rem 0 2rem;
}

@media (min-width: 720px) {
  .shot-strip {
    grid-template-columns: repeat(3, 1fr);
  }
}

.shot {
  aspect-ratio: 9 / 16;
  max-height: 360px;
  border-radius: 18px;
  border: 1px solid var(--stroke);
  background: linear-gradient(160deg, #d7ebe4, #e7d3b0);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 1rem;
  color: var(--ink-soft);
  font-weight: 500;
  box-shadow: 0 12px 28px rgba(21, 32, 40, 0.06);
}

.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.legal-note {
  margin: 1rem 0 0;
  padding: 0.95rem 1.1rem;
  border-left: 3px solid var(--coral);
  background: rgba(232, 93, 76, 0.08);
  border-radius: 0 12px 12px 0;
}

.site-footer {
  background: #10161b;
  color: #d7dee5;
  padding: 2.75rem 0;
}

.site-footer a {
  color: #d7dee5;
  text-decoration: none;
}

.site-footer a:hover {
  color: white;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2rem;
  justify-content: space-between;
  align-items: end;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: white;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.35rem;
}

.note {
  margin: 0.4rem 0 0;
  color: #8b97a3;
  font-size: 0.92rem;
}

.muted {
  color: var(--ink-soft);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-stage,
  .phone-frame,
  .btn,
  .store-badge {
    animation: none !important;
    transition: none !important;
  }
}
