/* Quizzen – Website
   Farben wie in der App: Markenblau #004AAD / #0066E0 */

:root {
  --brand: #004aad;
  --brand-light: #0066e0;
  --accent: #ff9f1c;
  --bg: #f5f7fb;
  --bg-soft: #ffffff;
  --card: #ffffff;
  --text: #0d1321;
  --muted: #5b6475;
  --line: rgba(13, 19, 33, 0.08);
  --shadow: 0 18px 50px rgba(0, 40, 100, 0.12);
  --radius: 22px;
  --max: 1120px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #05070d;
    --bg-soft: #0b1020;
    --card: #121827;
    --text: #f2f5fb;
    --muted: #9aa4b8;
    --line: rgba(255, 255, 255, 0.08);
    --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--brand-light); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* ---------- Navigation ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  border-bottom: 1px solid var(--line);
}

.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
  color: var(--text);
}
.logo:hover { text-decoration: none; }
.logo img { width: 34px; height: 34px; border-radius: 9px; }

.nav-links { display: flex; align-items: center; gap: 26px; font-size: 15px; font-weight: 600; }
.nav-links a { color: var(--muted); }
.nav-links a:hover { color: var(--text); text-decoration: none; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 16px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }

.btn-store {
  background: #000;
  color: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
}
@media (prefers-color-scheme: dark) {
  .btn-store { background: #fff; color: #000; }
}
.btn-store small { display: block; font-size: 11px; font-weight: 500; opacity: .75; line-height: 1.1; }
.btn-store span { display: block; font-size: 19px; line-height: 1.15; }
.btn-store svg { width: 26px; height: 26px; flex: none; }

.btn-ghost { color: var(--text); border: 1px solid var(--line); background: var(--card); }

.nav .btn { padding: 9px 16px; font-size: 14px; border-radius: 11px; background: var(--brand); color: #fff; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 40px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -40% -20% auto -20%;
  height: 120%;
  background:
    radial-gradient(closest-side, rgba(0, 102, 224, .35), transparent 70%) 20% 30% / 60% 60% no-repeat,
    radial-gradient(closest-side, rgba(255, 159, 28, .18), transparent 70%) 85% 20% / 45% 45% no-repeat;
  pointer-events: none;
}

.hero .wrap {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 40px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--brand-light) 14%, transparent);
  color: var(--brand-light);
  font-size: 14px;
  font-weight: 700;
}

h1 {
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1.03;
  letter-spacing: -0.03em;
  margin: 18px 0 18px;
  font-weight: 850;
}

h1 .grad {
  background: linear-gradient(100deg, var(--brand-light), #3fa0ff 50%, var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead { font-size: 20px; color: var(--muted); max-width: 34em; margin: 0 0 30px; }

.cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.facts { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 30px; color: var(--muted); font-size: 15px; font-weight: 600; }
.facts b { color: var(--text); font-size: 22px; display: block; line-height: 1.1; }

.phones {
  position: relative;
  height: 600px;
}

.phone {
  position: absolute;
  width: 260px;
  border-radius: 40px;
  padding: 8px;
  background: #0b0d12;
  box-shadow: var(--shadow), inset 0 0 0 1.5px rgba(255, 255, 255, .12);
}
.phone img { border-radius: 32px; }
.phone.front { right: 10px; top: 0; transform: rotate(4deg); z-index: 2; }
.phone.back  { right: 200px; top: 50px; transform: rotate(-7deg); opacity: .95; }

/* ---------- Abschnitte ---------- */

section { padding: 80px 0; }

.section-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.section-head h2 {
  font-size: clamp(30px, 4vw, 44px);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 10px 0 14px;
}
.section-head p { color: var(--muted); font-size: 18px; margin: 0; }

.grid { display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}
.card h3 { margin: 16px 0 6px; font-size: 20px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }

.icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  font-size: 24px;
  color: #fff;
}
.i-blue   { background: linear-gradient(135deg, #0066e0, #004aad); }
.i-orange { background: linear-gradient(135deg, #ffb347, #ff7a00); }
.i-green  { background: linear-gradient(135deg, #34d399, #059669); }
.i-purple { background: linear-gradient(135deg, #a78bfa, #6d28d9); }
.i-pink   { background: linear-gradient(135deg, #f472b6, #db2777); }
.i-teal   { background: linear-gradient(135deg, #2dd4bf, #0e7490); }

/* Quiz-Kategorien */

.quizzes { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.quiz {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--line);
  font-weight: 650;
}
.quiz span { font-size: 22px; }

/* Screenshot-Leiste */

.shots {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  padding: 10px 20px 30px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  max-width: var(--max);
  margin: 0 auto;
}
.shots::-webkit-scrollbar { display: none; }
.shots figure { margin: 0; flex: 0 0 230px; scroll-snap-align: center; text-align: center; }
.shots .phone { position: static; width: 100%; transform: none; }
.shots figcaption { margin-top: 14px; font-weight: 650; font-size: 15px; color: var(--muted); }

/* Hervorgehobener Block */

.band {
  background: linear-gradient(135deg, #00337a, #004aad 45%, #0066e0);
  color: #fff;
  border-radius: 32px;
  padding: 56px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: center;
  box-shadow: var(--shadow);
}
.band h2 { margin: 0 0 10px; font-size: clamp(28px, 3.5vw, 40px); line-height: 1.1; letter-spacing: -0.02em; }
.band p { margin: 0; opacity: .85; font-size: 18px; }
.band .btn-store { background: #fff; color: #000; }

/* FAQ */

.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 12px; }
.faq details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 22px;
}
.faq summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--muted); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 12px 0 0; color: var(--muted); }

/* ---------- Textseiten (Rechtliches, Support) ---------- */

.doc { padding: 56px 0 80px; }
.doc .wrap { max-width: 780px; }
.doc h1 { font-size: clamp(30px, 8vw, 48px); margin: 0 0 6px; hyphens: auto; overflow-wrap: break-word; }
.doc .stand { color: var(--muted); margin: 0 0 36px; }
.doc h2 { font-size: 22px; margin: 40px 0 10px; letter-spacing: -0.01em; }
.doc p, .doc li { color: color-mix(in srgb, var(--text) 85%, var(--muted)); }
.doc ul { padding-left: 22px; }
.doc li { margin: 6px 0; }
.doc .box {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px 24px;
  margin: 24px 0;
}
.todo { background: rgba(255, 159, 28, .18); border-radius: 6px; padding: 0 6px; }

.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 30px 0; }
.contact-grid .card { display: block; color: var(--text); }
.contact-grid .card:hover { text-decoration: none; border-color: var(--brand-light); }

/* ---------- Footer ---------- */

footer {
  border-top: 1px solid var(--line);
  padding: 40px 0 50px;
  color: var(--muted);
  font-size: 15px;
}
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; align-items: center; }
footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
footer a { color: var(--muted); }
footer a:hover { color: var(--text); }

/* ---------- Mobil ---------- */

@media (max-width: 900px) {
  .hero { padding-top: 44px; }
  .hero .wrap { grid-template-columns: 1fr; text-align: center; }
  .lead { margin-left: auto; margin-right: auto; }
  .cta, .facts { justify-content: center; }
  .phones { height: 480px; }
  .phone { width: 210px; border-radius: 34px; }
  .phone.front { right: auto; left: 50%; transform: translateX(-25%) rotate(4deg); }
  .phone.back  { right: auto; left: 50%; transform: translateX(-85%) rotate(-7deg); }
  .phone img { border-radius: 27px; }
  .grid { grid-template-columns: 1fr 1fr; }
  .band { grid-template-columns: 1fr; text-align: center; padding: 40px 26px; justify-items: center; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .nav-links a:not(.btn) { display: none; }
  .grid, .contact-grid { grid-template-columns: 1fr; }
  section { padding: 60px 0; }
  .phones { height: 420px; }
  .phone { width: 180px; border-radius: 30px; padding: 6px; }
  .phone img { border-radius: 24px; }
  .phone.front { transform: translateX(-20%) rotate(4deg); }
  .phone.back  { transform: translateX(-80%) rotate(-7deg); }
  .lead { font-size: 18px; }
}
