/* ============================================================
   Käsekästchen – Landing Page
   Theme: freundlicher Game-Look, dunkel, Indigo (#4F6BED, App-Seed)
   + warmer Amber-Akzent. Dark-friendly.
   ============================================================ */

:root {
  --bg: #0f1018;
  --bg-alt: #16182233;
  --bg-alt-solid: #161822;
  --card: #1b1e2b;
  --card-2: #20243300;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #f3f5fb;
  --muted: #9aa1bd;
  --indigo: #6478ff;
  --indigo-soft: #8b9bff;
  --indigo-deep: #3a4fd6;
  --amber: #ffb74d;
  --amber-soft: #ffd27a;
  --teal: #4fd6c0;
  --pink: #ff7eb3;
  --green: #5ce6a0;
  --radius: 18px;
  --radius-sm: 12px;
  --container: 1140px;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background:
    radial-gradient(900px 520px at 12% -8%, rgba(100,120,255,0.16), transparent 60%),
    radial-gradient(820px 460px at 95% 4%, rgba(255,183,77,0.10), transparent 60%),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 22px; }
.container--narrow { max-width: 760px; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.accent, .brand__accent { color: var(--indigo-soft); }

/* --- NAV --- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(15, 16, 24, 0.78);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { display: flex; align-items: center; gap: 9px; font-size: 20px; font-weight: 800; letter-spacing: -0.02em; }
.brand__icon { border-radius: 8px; }
.nav__links { display: flex; align-items: center; gap: 22px; font-size: 15px; color: var(--muted); }
.nav__links > a:hover { color: var(--text); }

.lang { display: flex; gap: 4px; background: rgba(255,255,255,0.06); padding: 3px; border-radius: 10px; }
.lang__btn {
  border: 0; background: transparent; cursor: pointer; line-height: 0;
  padding: 5px 7px; border-radius: 7px; filter: grayscale(0.55); opacity: 0.65; transition: all .15s ease;
}
.lang__btn svg { display: block; border-radius: 2px; }
.lang__btn:hover { opacity: 1; }
.lang__btn--active { background: rgba(255,255,255,0.16); filter: none; opacity: 1; box-shadow: 0 0 0 1px rgba(255,255,255,0.12) inset; }

.btn { display: inline-block; padding: 10px 20px; border-radius: 11px; font-weight: 700; transition: transform .15s ease, box-shadow .2s ease; }
.btn--primary { background: linear-gradient(135deg, var(--indigo), var(--indigo-soft)); color: #0b0d18; box-shadow: 0 6px 18px rgba(100,120,255,0.32); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(100,120,255,0.42); }

/* --- HERO --- */
.hero { position: relative; padding: 78px 0 56px; overflow: hidden; }
.hero__inner { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 50px; align-items: center; }
.pill {
  display: inline-block; font-size: 13px; font-weight: 700; color: var(--indigo-soft);
  background: rgba(100,120,255,0.12); border: 1px solid rgba(100,120,255,0.32);
  padding: 6px 13px; border-radius: 999px; margin-bottom: 22px;
}
.pill--amber { background: var(--amber); color: #2a1c05; border: 0; letter-spacing: 0.08em; }
.hero h1 { font-size: clamp(36px, 5.2vw, 60px); line-height: 1.04; letter-spacing: -0.03em; font-weight: 800; }
.lead { color: var(--muted); font-size: 19px; margin: 22px 0 26px; max-width: 34em; }

/* Store badges */
.store-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.store-row--center { justify-content: center; margin-top: 30px; }
.store-badge { display: inline-block; transition: transform .15s ease, filter .2s ease; }
.store-badge img { height: 52px; width: auto; }
.store-badge:hover { transform: translateY(-2px); filter: brightness(1.12); }
.store-badge--disabled { opacity: 0.5; cursor: default; }
.store-badge--disabled:hover { transform: none; filter: none; }
.hero__rating { color: var(--muted); font-size: 13px; margin-top: 14px; }

/* Phone */
.hero__visual { position: relative; display: flex; justify-content: center; }
.hero__glow { position: absolute; inset: -10% -20%; z-index: -1;
  background: radial-gradient(closest-side, rgba(100,120,255,0.22), transparent 70%); filter: blur(20px); }
.phone {
  width: 264px; border-radius: 38px; padding: 11px;
  background: linear-gradient(160deg, #2a2f44, #12141d);
  border: 1px solid rgba(255,255,255,0.12); box-shadow: var(--shadow);
}
.phone--hero { width: 290px; }
.phone__shot { width: 100%; border-radius: 28px; display: block; background: var(--bg); }

/* --- TRUST STRIP --- */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-alt-solid); }
.trust__inner { display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: center; padding: 18px 22px; }
.trust__item { color: var(--muted); font-size: 14px; font-weight: 500; display: flex; align-items: center; gap: 8px; }
.trust__item .ti { width: 18px; height: 18px; fill: var(--indigo-soft); flex-shrink: 0; }

/* --- SECTIONS --- */
.section { padding: 84px 0; }
.section--alt { background: var(--bg-alt-solid); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section__title { font-size: clamp(27px, 3.6vw, 40px); font-weight: 800; text-align: center; letter-spacing: -0.02em; }
.section__sub { color: var(--muted); text-align: center; max-width: 40em; margin: 12px auto 0; font-size: 17px; }
.section .grid, .section .steps, .section .showcase, .section .chips, .section .faq { margin-top: 48px; }

/* Features */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; transition: transform .15s ease, border-color .2s ease;
}
.feature:hover { transform: translateY(-4px); border-color: rgba(100,120,255,0.5); }
.feature__icon {
  width: 48px; height: 48px; border-radius: 13px; margin-bottom: 16px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(100,120,255,0.22), rgba(100,120,255,0.06));
  border: 1px solid rgba(100,120,255,0.28);
}
.feature__icon svg { width: 24px; height: 24px; fill: var(--indigo-soft); }
.feature h3 { font-size: 18px; margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: 14px; }

/* Steps / modes */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; position: relative; }
.step__icon {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--indigo), var(--indigo-soft)); margin-bottom: 16px;
}
.step__icon svg { width: 24px; height: 24px; fill: #0b0d18; }
.step h3 { font-size: 19px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15px; }

/* Showcase */
.showcase { display: flex; gap: 30px; justify-content: center; flex-wrap: wrap; }
.showcase__item { text-align: center; }
.showcase__item figcaption { color: var(--muted); font-size: 14px; margin-top: 16px; }

/* Chips (power-ups) */
.chips { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.chip {
  background: var(--card); border: 1px solid var(--line-2); border-radius: 999px;
  padding: 12px 20px; font-size: 15px; font-weight: 600; display: flex; align-items: center; gap: 10px;
}
.chip svg { width: 20px; height: 20px; fill: var(--amber); flex-shrink: 0; }

/* Premium */
.section--premium { padding: 84px 0; background:
  radial-gradient(900px 400px at 80% 0%, rgba(255,183,77,0.12), transparent 60%), var(--bg); }
.premium__inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.premium__list { list-style: none; margin: 22px 0 28px; display: grid; gap: 12px; }
.premium__list li { display: flex; align-items: center; gap: 12px; font-size: 17px; }
.check { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  background: rgba(92,230,160,0.16); color: var(--green); font-weight: 800; font-size: 14px; flex-shrink: 0; }
.premium__visual { display: flex; justify-content: center; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq__item {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden;
}
.faq__item summary {
  cursor: pointer; padding: 18px 22px; font-weight: 600; font-size: 17px; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; color: var(--indigo-soft); font-size: 22px; font-weight: 400; transition: transform .2s ease; flex-shrink: 0; }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__a { padding: 0 22px 20px; color: var(--muted); font-size: 15px; }

/* CTA band */
.cta-band { padding: 80px 0; text-align: center; background:
  radial-gradient(700px 380px at 50% 0%, rgba(100,120,255,0.16), transparent 65%), var(--bg-alt-solid);
  border-top: 1px solid var(--line); }
.cta-band__icon { margin: 0 auto 18px; border-radius: 16px; }
.cta-band h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; letter-spacing: -0.02em; }
.cta-band p { color: var(--muted); font-size: 18px; margin-top: 10px; }

/* Footer */
.footer { background: #0a0b12; border-top: 1px solid var(--line); padding: 44px 0 26px; }
.footer__inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; flex-wrap: wrap; }
.footer__brand .brand { font-size: 18px; }
.footer__brand p { color: var(--muted); font-size: 14px; margin-top: 8px; }
.footer__links { display: flex; flex-direction: column; gap: 9px; font-size: 14px; color: var(--muted); }
.footer__links a:hover { color: var(--text); }
.footer__legal { color: #6b7090; font-size: 12px; margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); }

/* --- RESPONSIVE --- */
@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__copy .lead { margin-left: auto; margin-right: auto; }
  .hero .store-row { margin-left: auto; margin-right: auto; justify-content: center; }
  .hero__visual { order: -1; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .premium__inner { grid-template-columns: 1fr; }
  .premium__visual { order: -1; }
  .premium__copy .section__title, .premium__copy .section__sub { text-align: center !important; }
  .premium__list { max-width: 380px; margin-left: auto; margin-right: auto; }
  .premium__copy .store-row { justify-content: center; }
}
@media (max-width: 720px) {
  .nav__links > a:not(.btn) { display: none; }
  .steps { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .grid { grid-template-columns: 1fr; }
  .store-row { justify-content: center; }
  .store-badge img { height: 48px; }
}

/* --- Direct APK download (beta test build) ------------------------------- */
.apk-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding: 12px 20px;
  border-radius: 14px;
  background: var(--amber);
  color: #1a1300;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(255, 183, 77, 0.35);
  transition: transform .12s ease, box-shadow .12s ease;
}
.apk-btn:hover { transform: translateY(-1px); box-shadow: 0 8px 26px rgba(255, 183, 77, 0.45); }
.apk-btn svg { fill: #1a1300; }
.apk-btn--light { margin-top: 18px; }
.apk-hint {
  margin-top: 8px;
  font-size: 13px;
  opacity: 0.7;
  max-width: 420px;
}
