/* ============================================================
   VokaBüffel Website — Redesign 2026-07
   Marken-Tokens aus DesignSystem.swift (#2B7FFF, #FFD065,
   #FF8A3D) auf dunkler Bühne. Nur Vanilla-CSS, GPU-freundliche
   Transforms, reduced-motion-sicher.
   ============================================================ */

@font-face {
  font-family: "Baloo 2";
  src: url("fonts/Baloo2.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #050a16;
  --bg-soft: #0d1730;
  --surface: rgba(19, 31, 58, 0.72);
  --surface-solid: #131f3a;
  --surface-strong: #182544;
  --header-bg: rgba(5, 10, 22, 0.72);
  --header-link: #eaf1ff;
  --header-link-hover-bg: rgba(77, 147, 255, 0.16);
  --footer-link: #7fb1ff;
  --text: #f2f6ff;
  --text-soft: #b9c5e2;
  --muted: #8b98b8;
  --primary: #4d93ff;
  --primary-strong: #2b7fff;
  --primary-edge: #2b6bd6;
  --primary-soft: #78acff;
  --secondary: #ffd877;
  --gold-start: #ffe3a1;
  --gold-end: #ffc95e;
  --success: #5fd15c;
  --success-deep: #34a852;
  --streak: #ff9a52;
  --tint: rgba(77, 147, 255, 0.08);
  --tint-strong: rgba(77, 147, 255, 0.18);
  --line: rgba(140, 168, 220, 0.16);
  --line-strong: rgba(140, 168, 220, 0.3);
  --shadow: 0 24px 60px -18px rgba(0, 0, 0, 0.65);
  --shadow-soft: 0 12px 32px -12px rgba(0, 0, 0, 0.5);
  --glow-blue: 0 30px 80px -24px rgba(43, 127, 255, 0.45);
  --radius-lg: 28px;
  --radius: 20px;
  --radius-sm: 14px;
  --font-round: "Baloo 2", "Avenir Next", "SF Pro Rounded", -apple-system, BlinkMacSystemFont, sans-serif;
  --ease-spring: cubic-bezier(0.22, 1, 0.36, 1);
  --app-screen: #f6f9fe;
  --app-ink: #15233f;
  --app-line: #e3ebf8;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  background: var(--bg);
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-round);
  color: var(--text);
  background: transparent;
  line-height: 1.65;
  position: relative;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

::selection { background: rgba(77, 147, 255, 0.45); color: #fff; }

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 6px;
}

body::after {
  content: "";
  position: fixed;
  top: 0; left: 0; right: 0;
  height: env(safe-area-inset-top);
  background: var(--header-bg);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  pointer-events: none;
  z-index: 40;
}

/* ---------- Bühne: Aurora + Sterne + Korn ---------- */

.bg-icon-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -3;
  overflow: hidden;
  background:
    radial-gradient(ellipse 64% 44% at 14% -6%, rgba(43, 127, 255, 0.3), transparent 60%),
    radial-gradient(ellipse 50% 38% at 106% 12%, rgba(120, 172, 255, 0.16), transparent 58%),
    radial-gradient(ellipse 46% 40% at 92% 106%, rgba(255, 208, 101, 0.09), transparent 60%),
    radial-gradient(ellipse 52% 36% at -4% 92%, rgba(43, 127, 255, 0.1), transparent 58%),
    linear-gradient(172deg, #081126 0%, #050a16 46%, #081228 100%);
}

.bg-icon-layer::before,
.bg-icon-layer::after {
  content: "";
  position: absolute;
  inset: 0;
  background-repeat: repeat;
  opacity: 0.5;
  animation: twinkle 6s ease-in-out infinite;
}

.bg-icon-layer::before {
  background-image:
    radial-gradient(1.6px 1.6px at 12% 22%, #fff, transparent),
    radial-gradient(1.1px 1.1px at 32% 68%, #fff, transparent),
    radial-gradient(1.4px 1.4px at 58% 14%, #fff, transparent),
    radial-gradient(1.1px 1.1px at 74% 82%, #fff, transparent),
    radial-gradient(1.6px 1.6px at 88% 38%, #fff, transparent),
    radial-gradient(1.1px 1.1px at 46% 46%, #fff, transparent),
    radial-gradient(1.4px 1.4px at 6% 92%, #fff, transparent);
  background-size: 520px 520px;
}

.bg-icon-layer::after {
  background-image:
    radial-gradient(1px 1px at 20% 8%, #cfe0ff, transparent),
    radial-gradient(1px 1px at 40% 92%, #cfe0ff, transparent),
    radial-gradient(1px 1px at 66% 30%, #cfe0ff, transparent),
    radial-gradient(1px 1px at 84% 66%, #cfe0ff, transparent),
    radial-gradient(1px 1px at 10% 54%, #cfe0ff, transparent),
    radial-gradient(1px 1px at 96% 12%, #cfe0ff, transparent);
  background-size: 380px 380px;
  animation-duration: 8s;
  animation-delay: -2.6s;
}

@keyframes twinkle {
  0%, 100% { opacity: 0.32; }
  50% { opacity: 0.8; }
}

/* Feines Korn für den Premium-Print-Look */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
}

/* Legacy-Deko der Rechtsseiten: sehr dezent halten */
.bg-icon {
  position: absolute;
  width: clamp(22px, 3vw, 40px);
  height: clamp(22px, 3vw, 40px);
  opacity: 0.1;
  filter: saturate(0.8) drop-shadow(0 0 6px rgba(77, 147, 255, 0.3));
  animation: drift 18s ease-in-out infinite;
}

.bg-icon.i1 { left: 8%; top: 12%; }
.bg-icon.i2 { left: 18%; top: 74%; animation-delay: -4s; }
.bg-icon.i3 { left: 34%; top: 28%; animation-delay: -7s; }
.bg-icon.i4 { left: 49%; top: 84%; animation-delay: -11s; }
.bg-icon.i5 { left: 66%; top: 22%; animation-delay: -6s; }
.bg-icon.i6 { left: 79%; top: 66%; animation-delay: -10s; }
.bg-icon.i7 { left: 90%; top: 34%; animation-delay: -14s; }
.bg-icon.i8 { left: 58%; top: 8%; animation-delay: -2s; }

/* Auf der Startseite ausgeblendet (nur Rechtsseiten zeigen sie) */
body[data-page="home"] .bg-icon { display: none; }

@keyframes drift {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
  25% { transform: translate3d(0.5rem, -1rem, 0) rotate(4deg); }
  50% { transform: translate3d(-0.7rem, 0.8rem, 0) rotate(-4deg); }
  75% { transform: translate3d(0.3rem, -0.6rem, 0) rotate(2deg); }
}

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

.icon { width: 1.3em; height: 1.3em; flex: none; }

.container { width: min(1160px, 92vw); margin: 0 auto; }

.skip-link { position: absolute; left: -999px; top: auto; }
.skip-link:focus {
  left: 16px; top: 16px;
  background: var(--surface-strong);
  color: var(--text);
  padding: 10px 14px;
  border-radius: 10px;
  z-index: 1000;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  padding-top: env(safe-area-inset-top);
  background: var(--header-bg);
  -webkit-backdrop-filter: blur(16px) saturate(1.1);
  backdrop-filter: blur(16px) saturate(1.1);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 14px 40px -20px rgba(0, 0, 0, 0.7);
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: relative;
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.header-controls-legal { margin-left: auto; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
}

.brand-app-icon {
  width: 44px;
  height: 44px;
  object-fit: contain;
  transition: transform 0.3s var(--ease-spring);
}

.brand:hover .brand-app-icon { transform: rotate(-8deg) scale(1.08); }

.brand-title {
  font-family: var(--font-round);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.35);
}

.brand-title-voka { color: #fff; }
.brand-title-buffel { color: var(--primary-soft); }

.site-header .nav-list a { color: var(--header-link); }

.nav-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
}

.nav-list a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 999px;
  padding: 9px 14px;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  transition: background 0.18s ease, color 0.18s ease;
}

.nav-list a:hover,
.nav-list a:focus-visible {
  background: var(--header-link-hover-bg);
  outline: none;
}

.nav-list a.nav-cta {
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 3px 0 var(--primary-edge);
  margin-left: 6px;
}

.nav-list a.nav-cta:hover,
.nav-list a.nav-cta:focus-visible { background: var(--primary-soft); }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-solid);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.nav-toggle-line {
  width: 18px;
  height: 2px;
  background: var(--header-link);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.main-nav { display: block; }

/* ---------- Sprachwahl ---------- */

.language-picker {
  display: inline-flex;
  align-items: center;
  position: relative;
}

.language-select {
  min-height: 42px;
  padding: 0 32px 0 15px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface-solid);
  color: var(--header-link);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color 0.18s ease;
}

.language-select:hover,
.language-select:focus-visible {
  border-color: var(--primary);
  outline: none;
}

.language-picker::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  color: var(--header-link);
  transform: translateY(-60%) rotate(45deg);
  pointer-events: none;
}

.language-flag { display: none; }

/* ---------- Typografie ---------- */

h1, h2, h3 {
  font-family: var(--font-round);
  margin-top: 0;
  letter-spacing: -0.015em;
  line-height: 1.12;
  font-weight: 800;
  color: #fff;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.5rem, 5.6vw, 4.15rem);
  line-height: 1.04;
  margin-bottom: 18px;
  text-shadow: 0 3px 0 rgba(0, 0, 0, 0.4), 0 12px 32px rgba(4, 10, 26, 0.6);
}

h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  margin-bottom: 12px;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.35);
}

h3 { font-size: clamp(1.08rem, 2vw, 1.3rem); margin-bottom: 8px; }

p { margin-top: 0; }

.lead {
  font-size: clamp(1.06rem, 1.6vw, 1.24rem);
  color: var(--text-soft);
  margin: 0;
  max-width: 54ch;
  text-wrap: pretty;
}

.section { padding: clamp(56px, 8vw, 116px) 0; position: relative; }

.section-head { max-width: 780px; margin-bottom: clamp(28px, 4vw, 48px); }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary-soft);
}

.kicker::before {
  content: "";
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--primary), transparent);
}

.kicker-num {
  color: var(--secondary);
  font-variant-numeric: tabular-nums;
}

.section-intro {
  margin: 0;
  color: var(--text-soft);
  max-width: 68ch;
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  text-wrap: pretty;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--primary-soft);
  background: var(--tint-strong);
  border: 1px solid rgba(77, 147, 255, 0.35);
  border-radius: 999px;
  padding: 8px 16px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--success);
  box-shadow: 0 0 10px var(--success);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 13px 28px;
  border-radius: 17px;
  text-decoration: none;
  font-family: var(--font-round);
  font-weight: 800;
  font-size: 1.05rem;
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}

.btn-primary {
  background: linear-gradient(180deg, var(--primary), var(--primary-strong));
  color: #fff;
  box-shadow: 0 4px 0 var(--primary-edge), var(--glow-blue);
}

.btn-primary::after {
  content: "";
  position: absolute;
  top: -40%;
  bottom: -40%;
  left: -70%;
  width: 46%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: skewX(-22deg) translateX(0);
  transition: transform 0.7s ease;
  pointer-events: none;
}

.btn-primary:hover::after,
.btn-primary:focus-visible::after { transform: skewX(-22deg) translateX(430%); }

.btn-primary:hover,
.btn-primary:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 6px 0 var(--primary-edge), 0 34px 90px -20px rgba(43, 127, 255, 0.6);
  outline: none;
}

.btn-primary:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 var(--primary-edge);
}

.btn-ghost {
  background: rgba(19, 31, 58, 0.6);
  color: var(--primary-soft);
  border: 2px solid var(--line-strong);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: var(--primary);
  transform: translateY(-2px);
  outline: none;
}

.btn-ghost.is-disabled {
  color: var(--muted);
  border-color: var(--line);
  cursor: default;
}

.btn-ghost.is-disabled:hover { border-color: var(--line); transform: none; }

.btn .btn-sub {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  opacity: 0.85;
  line-height: 1.1;
}

.btn-stack { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.15; }

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

.hero {
  padding: clamp(40px, 6.5vw, 84px) 0 0;
  overflow: visible;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(24px, 4.5vw, 56px);
  align-items: center;
}

.hero-title .accent {
  position: relative;
  display: inline-block;
  color: var(--primary-soft);
  text-shadow: 0 3px 0 rgba(0, 0, 0, 0.4), 0 0 30px rgba(77, 147, 255, 0.5);
}

/* Goldener Marker-Strich unter dem Akzentwort */
.accent-swoosh {
  position: absolute;
  left: -2%;
  right: -2%;
  bottom: -0.16em;
  width: 104%;
  height: 0.34em;
  overflow: visible;
  pointer-events: none;
}

.accent-swoosh path {
  fill: none;
  stroke: var(--secondary);
  stroke-width: 7;
  stroke-linecap: round;
  stroke-dasharray: 320;
  stroke-dashoffset: 320;
  opacity: 0.95;
  animation: swoosh-in 0.8s var(--ease-spring) 1s forwards;
}

@keyframes swoosh-in { to { stroke-dashoffset: 0; } }

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
}

.hero-chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 15px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-soft);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.chip .icon { color: var(--success); width: 1.15em; height: 1.15em; }

.hero-langs {
  margin: 20px 0 0;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ---------- Hero rechts: Telefon-Demo ---------- */

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 12px 0 30px;
}

.demo-stage {
  position: relative;
  width: min(430px, 100%);
  display: flex;
  justify-content: center;
  perspective: 1200px;
}

.demo-stage::before {
  content: "";
  position: absolute;
  inset: 8% -10% -4% -10%;
  background: radial-gradient(circle at 50% 46%, rgba(43, 127, 255, 0.4), transparent 68%);
  filter: blur(10px);
  z-index: -1;
  animation: glow-pulse 6s ease-in-out infinite;
}

@keyframes glow-pulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

/* Lugt hinter dem Telefon hervor, verdeckt keine UI im Screen. */
.demo-mascot {
  position: absolute;
  left: -17%;
  bottom: 4%;
  width: 48%;
  z-index: 1;
  filter: drop-shadow(0 18px 26px rgba(0, 0, 0, 0.5));
  animation: mascot-sway 6s ease-in-out infinite;
  transform-origin: bottom center;
}

@keyframes mascot-sway {
  0%, 100% { transform: rotate(-2deg) translateY(0); }
  50% { transform: rotate(1.6deg) translateY(-8px); }
}

.phone {
  position: relative;
  width: min(300px, 74vw);
  aspect-ratio: 9 / 19;
  border-radius: 15% / 7.2%;
  background: linear-gradient(160deg, #1a2440, #0a0f1f 60%);
  padding: 9px;
  border: 1px solid rgba(200, 220, 255, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 40px 90px -30px rgba(0, 0, 0, 0.8),
    0 30px 90px -20px rgba(43, 127, 255, 0.35);
  z-index: 2;
  container-type: inline-size;
  transform: rotate(2.2deg);
  transition: transform 0.4s var(--ease-spring);
}

.demo-stage:hover .phone { transform: rotate(0.6deg) scale(1.015); }

.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 12.5% / 6%;
  background: var(--app-screen);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  color: var(--app-ink);
}

.phone-island {
  position: absolute;
  top: 3.2cqw;
  left: 50%;
  transform: translateX(-50%);
  width: 26cqw;
  height: 6.4cqw;
  border-radius: 999px;
  background: #0a0f1f;
  z-index: 5;
}

.demo-ui {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 13cqw 6cqw 6cqw;
  gap: 4.4cqw;
  font-size: 4.5cqw;
}

.demo-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2cqw;
}

.demo-pill {
  display: inline-flex;
  align-items: center;
  gap: 1.6cqw;
  font-weight: 800;
  font-size: 4.4cqw;
  border-radius: 999px;
  padding: 1.6cqw 3.6cqw;
}

.demo-pill.is-streak { background: #fff2e3; color: #f07a24; }
.demo-pill.is-points { background: #fff6dd; color: #c98a00; }

.demo-progress {
  height: 3.4cqw;
  border-radius: 999px;
  background: var(--app-line);
  overflow: hidden;
}

.demo-progress-fill {
  height: 100%;
  width: 25%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary-soft), var(--primary-strong));
  transition: width 0.6s var(--ease-spring);
}

.demo-mode-chip {
  align-self: flex-start;
  font-size: 3.6cqw;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary-strong);
  background: #e7f0ff;
  border-radius: 999px;
  padding: 1.4cqw 3.4cqw;
}

.demo-card {
  background: #fff;
  border-radius: 7cqw;
  padding: 6cqw;
  box-shadow: 0 4cqw 10cqw -4cqw rgba(21, 35, 63, 0.18);
  transition: transform 0.35s var(--ease-spring), opacity 0.35s ease;
}

.demo-ui.is-swapping .demo-card,
.demo-ui.is-swapping .demo-answer,
.demo-ui.is-swapping .demo-options,
.demo-ui.is-swapping .demo-tf {
  transform: translateX(-8cqw);
  opacity: 0;
}

.demo-answer,
.demo-options,
.demo-tf {
  transition: transform 0.35s var(--ease-spring), opacity 0.35s ease;
}

.demo-task {
  margin: 0 0 1.6cqw;
  font-size: 3.8cqw;
  font-weight: 700;
  color: #7285a8;
}

.demo-word {
  margin: 0;
  font-size: 8.4cqw;
  font-weight: 800;
  line-height: 1.15;
  color: var(--app-ink);
  display: flex;
  align-items: center;
  gap: 2.4cqw;
}

.demo-word .icon {
  width: 6cqw;
  height: 6cqw;
  color: var(--primary);
}

.demo-answer {
  min-height: 13.4cqw;
  border-radius: 4.6cqw;
  border: 0.6cqw solid var(--app-line);
  background: #fff;
  display: flex;
  align-items: center;
  padding: 0 4.4cqw;
  font-size: 5.6cqw;
  font-weight: 700;
  color: var(--app-ink);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.demo-ui.is-correct .demo-answer {
  border-color: var(--success);
  box-shadow: 0 0 0 1cqw rgba(95, 209, 92, 0.18);
}

.demo-caret {
  display: inline-block;
  width: 0.6cqw;
  height: 6.4cqw;
  margin-left: 0.8cqw;
  background: var(--primary);
  animation: caret-blink 1s steps(1) infinite;
}

@keyframes caret-blink { 50% { opacity: 0; } }

.demo-check {
  margin-top: auto;
  border: none;
  border-radius: 5cqw;
  min-height: 14.5cqw;
  font-family: inherit;
  font-size: 5.2cqw;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(180deg, var(--primary), var(--primary-strong));
  box-shadow: 0 1.4cqw 0 var(--primary-edge);
  transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.2s ease;
  pointer-events: none;
}

/* Übungstyp-Umschaltung: nur passende Bausteine sichtbar */
.demo-mode-label,
.demo-task-label { display: none; }

.demo-ui[data-exercise="typing"] .demo-mode-label[data-mode="typing"],
.demo-ui[data-exercise="choice"] .demo-mode-label[data-mode="choice"],
.demo-ui[data-exercise="trueFalse"] .demo-mode-label[data-mode="trueFalse"],
.demo-ui[data-exercise="typing"] .demo-task-label[data-mode="default"],
.demo-ui[data-exercise="choice"] .demo-task-label[data-mode="default"],
.demo-ui[data-exercise="trueFalse"] .demo-task-label[data-mode="trueFalse"] { display: inline; }

.demo-options, .demo-tf { display: none; }

.demo-ui[data-exercise="choice"] .demo-answer,
.demo-ui[data-exercise="trueFalse"] .demo-answer,
.demo-ui[data-exercise="choice"] .demo-check,
.demo-ui[data-exercise="trueFalse"] .demo-check { display: none; }

.demo-ui[data-exercise="choice"] .demo-options {
  display: grid;
  gap: 2.6cqw;
}

.demo-option {
  border: 0.6cqw solid var(--app-line);
  border-radius: 4.6cqw;
  background: #fff;
  min-height: 12.6cqw;
  padding: 0 4.4cqw;
  font-family: inherit;
  font-size: 4.9cqw;
  font-weight: 700;
  color: var(--app-ink);
  text-align: left;
  transition: transform 0.15s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  pointer-events: none;
}

.demo-option.is-picked {
  transform: scale(0.97);
  border-color: var(--primary);
  box-shadow: 0 0 0 1cqw rgba(43, 127, 255, 0.15);
}

.demo-option.is-right {
  border-color: var(--success);
  background: #e7f8ed;
  color: #1f7a3d;
  box-shadow: 0 0 0 1cqw rgba(95, 209, 92, 0.18);
}

.demo-ui[data-exercise="trueFalse"] .demo-tf {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3cqw;
  margin-top: auto;
}

.demo-tf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2cqw;
  border: none;
  border-radius: 5cqw;
  min-height: 14.5cqw;
  font-family: inherit;
  font-size: 4.8cqw;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #fff;
  transition: transform 0.15s ease, filter 0.2s ease, box-shadow 0.15s ease;
  pointer-events: none;
}

.demo-tf-btn .icon { width: 4.6cqw; height: 4.6cqw; }

.demo-tf-btn.is-true {
  background: linear-gradient(180deg, #79da77, var(--success-deep));
  box-shadow: 0 1.4cqw 0 #2c7d42;
}

.demo-tf-btn.is-false {
  background: linear-gradient(180deg, #ff9d9d, #e05252);
  box-shadow: 0 1.4cqw 0 #b03a3a;
}

.demo-tf-btn.is-picked {
  transform: translateY(1cqw) scale(0.98);
  box-shadow: 0 0.3cqw 0 rgba(0, 0, 0, 0.3);
  filter: brightness(1.08);
}

.demo-ui.is-checking .demo-check {
  transform: translateY(1cqw);
  box-shadow: 0 0.3cqw 0 var(--primary-edge);
}

.demo-success {
  position: absolute;
  left: 4cqw;
  right: 4cqw;
  bottom: 4cqw;
  background: #e7f8ed;
  color: #1f7a3d;
  border-radius: 5cqw;
  padding: 4cqw 5cqw;
  font-size: 4.8cqw;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 2.6cqw;
  transform: translateY(140%);
  transition: transform 0.4s var(--ease-spring);
  z-index: 4;
}

.demo-success .icon { color: var(--success-deep); }

.demo-ui.is-correct ~ .demo-success,
.phone-screen .demo-success.is-visible { transform: translateY(0); }

/* Konfetti im Screen */
.demo-confetti {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 6;
}

.demo-confetti i {
  position: absolute;
  left: 50%;
  top: 56%;
  width: 2.6cqw;
  height: 4cqw;
  border-radius: 1cqw;
  opacity: 0;
}

.is-celebrating .demo-confetti i { animation: confetti 0.9s var(--ease-spring) forwards; }

.demo-confetti i:nth-child(1) { background: #4d93ff; --tx: -26cqw; --ty: -34cqw; --rot: 220deg; }
.demo-confetti i:nth-child(2) { background: #ffd065; --tx: 22cqw; --ty: -40cqw; --rot: -200deg; animation-delay: 0.03s; }
.demo-confetti i:nth-child(3) { background: #5fd15c; --tx: -38cqw; --ty: -16cqw; --rot: 160deg; animation-delay: 0.05s; }
.demo-confetti i:nth-child(4) { background: #ff9a52; --tx: 36cqw; --ty: -20cqw; --rot: -240deg; animation-delay: 0.02s; }
.demo-confetti i:nth-child(5) { background: #78acff; --tx: -14cqw; --ty: -46cqw; --rot: 300deg; animation-delay: 0.06s; }
.demo-confetti i:nth-child(6) { background: #ffc95e; --tx: 12cqw; --ty: -30cqw; --rot: -160deg; animation-delay: 0.04s; }
.demo-confetti i:nth-child(7) { background: #5fd15c; --tx: 30cqw; --ty: -44cqw; --rot: 260deg; animation-delay: 0.07s; }
.demo-confetti i:nth-child(8) { background: #4d93ff; --tx: -30cqw; --ty: -42cqw; --rot: -300deg; animation-delay: 0.01s; }

@keyframes confetti {
  0% { opacity: 0; transform: translate(0, 0) rotate(0deg) scale(0.6); }
  12% { opacity: 1; }
  100% { opacity: 0; transform: translate(var(--tx), var(--ty)) rotate(var(--rot)) scale(1); }
}

/* Schwebende Badges um das Telefon */
.float-badge {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  font-weight: 800;
  box-shadow: var(--shadow);
  z-index: 4;
  animation: badge-float 4.5s ease-in-out infinite;
  will-change: transform;
}

.badge-streak {
  left: -3%;
  top: 12%;
  background: linear-gradient(180deg, #ffb066, var(--streak));
  color: #fff;
  padding: 9px 16px;
  font-size: 1.1rem;
  animation-delay: -1s;
}

.badge-check {
  right: -2%;
  top: 30%;
  background: var(--success);
  color: #fff;
  width: 46px;
  height: 46px;
  justify-content: center;
  animation-delay: -2.4s;
}

.badge-points {
  right: 2%;
  bottom: 14%;
  background: linear-gradient(180deg, var(--gold-start), var(--gold-end));
  color: #7a5b00;
  padding: 8px 15px;
  font-size: 1rem;
  animation-delay: -3.1s;
}

@keyframes badge-float {
  0%, 100% { transform: translateY(0) translate(var(--px, 0), var(--py, 0)); }
  50% { transform: translateY(-9px) translate(var(--px, 0), var(--py, 0)); }
}

/* ---------- Sprachen-Marquee ---------- */

.marquee-band {
  margin-top: clamp(30px, 5vw, 60px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(10, 18, 38, 0.5);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 30s linear infinite;
}

.marquee-band:hover .marquee-track { animation-play-state: paused; }

.marquee-list {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 15px 0;
  gap: 34px;
  padding-inline-end: 34px;
}

.marquee-list li {
  display: inline-flex;
  align-items: center;
  gap: 34px;
  font-weight: 700;
  font-size: 1.06rem;
  color: var(--text-soft);
  white-space: nowrap;
}

.marquee-list li::after {
  content: "•";
  color: var(--secondary);
  opacity: 0.7;
}

.marquee-list .lang-tag {
  font-size: 0.78em;
  font-weight: 800;
  color: var(--primary-soft);
  opacity: 0.85;
  margin-right: -22px;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Zahlen-Band ---------- */

.stats-band { padding: clamp(40px, 6vw, 76px) 0 0; }

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

.stat {
  text-align: center;
  padding: clamp(18px, 2.6vw, 30px) 12px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.stat-num {
  display: block;
  font-size: clamp(2.4rem, 4.6vw, 3.6rem);
  font-weight: 800;
  line-height: 1;
  color: #fff;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 3px 0 rgba(0, 0, 0, 0.35);
}

.stat-num .stat-suffix { color: var(--primary-soft); }

.stat:nth-child(2) .stat-num .stat-suffix { color: var(--secondary); }
.stat:nth-child(4) .stat-num { color: var(--success); }

.stat-label {
  display: block;
  margin-top: 8px;
  color: var(--text-soft);
  font-weight: 700;
  font-size: 0.95rem;
}

/* ---------- Schritte (So funktioniert's) ---------- */

.steps-wrap { position: relative; }

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

.steps-grid::before {
  content: "";
  position: absolute;
  top: 58px;
  left: 8%;
  right: 8%;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  opacity: 0.4;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.1s var(--ease-spring) 0.2s;
  z-index: 0;
}

.steps-grid.is-visible::before { transform: scaleX(1); }

.step-card {
  position: relative;
  z-index: 1;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 3vw, 32px);
  box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: transform 0.3s var(--ease-spring), border-color 0.3s ease, box-shadow 0.3s ease;
}

.step-card:hover {
  transform: translateY(-6px);
  border-color: rgba(77, 147, 255, 0.5);
  box-shadow: var(--glow-blue), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.step-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: linear-gradient(180deg, var(--primary), var(--primary-strong));
  box-shadow: 0 4px 0 var(--primary-edge);
  color: #fff;
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.step-card:nth-child(2) .step-index {
  background: linear-gradient(180deg, var(--gold-start), var(--gold-end));
  box-shadow: 0 4px 0 #d9a63c;
  color: #6b4c00;
}

.step-card:nth-child(3) .step-index {
  background: linear-gradient(180deg, #79da77, var(--success-deep));
  box-shadow: 0 4px 0 #2c7d42;
}

.step-card p { color: var(--text-soft); margin: 0; }

.step-note {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.step-note .icon { color: var(--secondary); }

/* ---------- Bento ---------- */

.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(150px, auto);
  gap: 18px;
}

.bento {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 2.6vw, 30px);
  box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: transform 0.3s var(--ease-spring), border-color 0.3s ease, box-shadow 0.3s ease;
}

.bento:hover {
  transform: translateY(-5px);
  border-color: rgba(77, 147, 255, 0.45);
  box-shadow: var(--glow-blue), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.bento p { color: var(--text-soft); margin: 0; }

.bento-main { grid-column: span 2; grid-row: span 2; display: flex; flex-direction: column; }

.bento-main h3 { font-size: clamp(1.4rem, 2.4vw, 1.85rem); }

.bento-wide { grid-column: 1 / -1; }

.bento-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary-soft);
  background: var(--tint-strong);
  border-radius: 999px;
  padding: 4px 11px;
  margin-bottom: 14px;
}

/* Visual im Haupt-Tile: Zettel → App */
.bento-visual {
  margin-top: auto;
  padding-top: 22px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
}

.paper-mock, .app-mock {
  border-radius: 14px;
  padding: 13px 14px;
  display: grid;
  gap: 8px;
}

.paper-mock {
  background: #fdf9ef;
  transform: rotate(-2.4deg);
  box-shadow: 0 14px 30px -12px rgba(0, 0, 0, 0.5);
}

.paper-mock i {
  display: block;
  height: 7px;
  border-radius: 4px;
  background: repeating-linear-gradient(90deg, #b9b29c 0 46%, transparent 46% 54%, #cfc7ae 54% 100%);
  opacity: 0.85;
}

.paper-mock i:nth-child(2) { width: 88%; }
.paper-mock i:nth-child(3) { width: 94%; }
.paper-mock i:nth-child(4) { width: 78%; }

.mock-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
}

.mock-arrow .icon { width: 30px; height: 30px; filter: drop-shadow(0 0 12px rgba(255, 216, 119, 0.6)); }

.app-mock {
  background: var(--app-screen);
  transform: rotate(1.8deg);
  box-shadow: 0 14px 30px -12px rgba(0, 0, 0, 0.5), 0 0 0 3px rgba(77, 147, 255, 0.35);
}

.app-mock i {
  display: flex;
  align-items: center;
  height: 15px;
  border-radius: 6px;
  background: #fff;
  box-shadow: inset 0 0 0 1.5px var(--app-line);
  position: relative;
}

.app-mock i::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--primary);
  margin-left: 5px;
}

.app-mock i:nth-child(3)::before { background: var(--secondary); }
.app-mock i:nth-child(4)::before { background: var(--success); }

/* Preis-Tile */
.bento-price {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(16px, 3vw, 34px);
  background:
    radial-gradient(ellipse 60% 130% at 12% 50%, rgba(255, 208, 101, 0.14), transparent 60%),
    var(--surface);
}

.price-figure {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.price-amount {
  font-size: clamp(2.6rem, 5vw, 3.8rem);
  background: linear-gradient(180deg, var(--gold-start), var(--gold-end));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 3px 0 rgba(0, 0, 0, 0.35));
}

.price-once {
  font-size: 1rem;
  color: var(--text-soft);
  font-weight: 700;
}

.bento-price-copy { flex: 1 1 320px; }

.bento-price-copy h3 { margin-bottom: 6px; }

.price-perks {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 12px 0 0;
  padding: 0;
}

.price-perks li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--text-soft);
  font-weight: 700;
  font-size: 0.94rem;
}

.price-perks .icon { color: var(--success); width: 1.1em; height: 1.1em; }

/* Mini-Bars im Methode-Tile */
.mini-bars {
  display: flex;
  align-items: flex-end;
  gap: 7px;
  height: 58px;
  margin-top: 16px;
}

.mini-bars i {
  flex: 1;
  border-radius: 6px 6px 3px 3px;
  background: linear-gradient(180deg, var(--primary-soft), var(--primary-strong));
  height: calc(var(--h) * 1%);
  transform-origin: bottom;
  transform: scaleY(0);
  transition: transform 0.7s var(--ease-spring) calc(var(--i) * 90ms);
}

.mini-bars i:last-child { background: linear-gradient(180deg, var(--gold-start), var(--gold-end)); }

.is-visible .mini-bars i { transform: scaleY(1); }

/* Countdown-Chip im Coach-Tile */
.tile-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  background: rgba(255, 154, 82, 0.14);
  border: 1px solid rgba(255, 154, 82, 0.4);
  color: var(--streak);
  font-weight: 800;
  font-size: 0.92rem;
  border-radius: 999px;
  padding: 7px 14px;
}

.tile-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 15px;
  margin-bottom: 14px;
  background: var(--tint-strong);
  color: var(--primary-soft);
  transition: transform 0.3s var(--ease-spring);
}

.bento:hover .tile-icon { transform: scale(1.1) rotate(-5deg); }

.tile-icon.is-shield { background: rgba(95, 209, 92, 0.14); color: var(--success); }
.tile-icon.is-flame { background: rgba(255, 154, 82, 0.14); color: var(--streak); }
.tile-icon.is-clock { background: rgba(255, 216, 119, 0.14); color: var(--secondary); }

/* Kostenvergleich im Preis-Tile */
.cost-compare {
  flex-basis: 100%;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  margin-top: 6px;
}

.cost-compare-title {
  margin: 0 0 12px;
  font-weight: 800;
  color: var(--text);
  font-size: 1rem;
}

.cost-rows {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
}

.cost-row {
  display: grid;
  grid-template-columns: minmax(150px, 220px) 1fr auto;
  align-items: center;
  gap: 12px;
}

.cost-label {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-soft);
}

.cost-bar {
  height: 14px;
  border-radius: 999px;
  background: rgba(140, 168, 220, 0.12);
  overflow: hidden;
}

.cost-bar i {
  display: block;
  height: 100%;
  width: var(--w);
  min-width: 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, #5a6d94, #46587c);
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.9s var(--ease-spring) calc(var(--i) * 140ms);
}

.is-visible .cost-bar i { transform: scaleX(1); }

.cost-row.is-buff .cost-label { color: var(--secondary); }

.cost-row.is-buff .cost-bar i {
  background: linear-gradient(90deg, var(--gold-start), var(--gold-end));
  box-shadow: 0 0 14px rgba(255, 208, 101, 0.5);
}

.cost-price {
  font-weight: 800;
  font-size: 0.92rem;
  color: var(--text-soft);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.cost-row.is-buff .cost-price { color: var(--secondary); }

.cost-note {
  margin: 12px 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}

/* ---------- Geräte ---------- */

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

.device-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 3vw, 30px);
  text-align: center;
  box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: transform 0.3s var(--ease-spring), border-color 0.3s ease, box-shadow 0.3s ease;
}

.device-card:hover {
  transform: translateY(-6px);
  border-color: rgba(77, 147, 255, 0.5);
  box-shadow: var(--glow-blue);
}

.device-card p { color: var(--text-soft); margin: 0; font-size: 0.96rem; }

.device-visual {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 130px;
  margin-bottom: 18px;
}

.device-phone-mini,
.device-tablet-mini,
.device-watch-mini {
  position: relative;
  display: block;
  background: linear-gradient(160deg, #1a2440, #0a0f1f 60%);
  border: 1px solid rgba(200, 220, 255, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 16px 34px -14px rgba(0, 0, 0, 0.7);
  padding: 5px;
}

.device-phone-mini { width: 62px; height: 122px; border-radius: 16px; }
.device-tablet-mini { width: 118px; height: 92px; border-radius: 14px; }

.device-watch-mini {
  width: 64px;
  height: 76px;
  border-radius: 20px;
}

.device-watch-mini::before,
.device-watch-mini::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 34px;
  height: 12px;
  background: #223052;
  border-radius: 5px;
}

.device-watch-mini::before { top: -12px; border-radius: 6px 6px 2px 2px; }
.device-watch-mini::after { bottom: -12px; border-radius: 2px 2px 6px 6px; }

.device-screen {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  height: 100%;
  border-radius: 11px;
  background: var(--app-screen);
  overflow: hidden;
  padding: 6px;
}

.device-tablet-mini .device-screen {
  flex-direction: row;
  align-items: stretch;
  gap: 5px;
  border-radius: 9px;
}

.device-screen b { display: block; }

.mini-flame { font-size: 15px; font-style: normal; }

.mini-line {
  width: 70%;
  height: 6px;
  border-radius: 4px;
  background: var(--app-line);
}

.mini-line.short { width: 45%; }

.mini-btn {
  width: 78%;
  height: 12px;
  border-radius: 6px;
  background: linear-gradient(180deg, var(--primary), var(--primary-strong));
}

.mini-card {
  flex: 1;
  border-radius: 6px;
  background: #fff;
  box-shadow: inset 0 0 0 1.5px var(--app-line);
}

.mini-card.wide { flex: 1.6; background: #e7f0ff; box-shadow: inset 0 0 0 1.5px rgba(43, 127, 255, 0.4); }

.mini-ring {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 4px solid var(--app-line);
  border-top-color: var(--streak);
  border-right-color: var(--streak);
  transform: rotate(-45deg);
}

.mini-word {
  width: 60%;
  height: 6px;
  border-radius: 4px;
  background: var(--primary-soft);
}

/* ---------- Lernmodi ---------- */

.mode-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.mode-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: transform 0.28s var(--ease-spring), border-color 0.28s ease, box-shadow 0.28s ease;
}

.mode-card:hover {
  transform: translateY(-5px);
  border-color: rgba(77, 147, 255, 0.5);
  box-shadow: 0 20px 50px -18px rgba(43, 127, 255, 0.4);
}

.mode-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  margin-bottom: 12px;
  transition: transform 0.28s var(--ease-spring);
}

.mode-card:hover .mode-icon { transform: scale(1.14) rotate(-6deg); }

.mode-glyph { font-weight: 800; font-size: 1.02rem; letter-spacing: -0.02em; }

.mode-card h3 {
  font-size: 1.02rem;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.mode-card p { font-size: 0.88rem; margin: 0; line-height: 1.5; color: var(--text-soft); }

.mode-badge {
  display: inline-block;
  font-size: 0.66rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary-soft);
  background: var(--tint-strong);
  border-radius: 999px;
  padding: 3px 8px;
}

.icon-blue { background: var(--tint-strong); color: var(--primary-soft); }
.icon-sky { background: rgba(120, 172, 255, 0.15); color: var(--primary-soft); }
.icon-green { background: rgba(95, 209, 92, 0.14); color: var(--success); }
.icon-gold { background: rgba(255, 216, 119, 0.16); color: var(--secondary); }
.icon-orange { background: rgba(255, 154, 82, 0.15); color: var(--streak); }

.extras-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 14px;
}

.extras-grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.extra-card {
  background: linear-gradient(150deg, rgba(32, 48, 77, 0.85), var(--surface));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  transition: transform 0.28s var(--ease-spring), border-color 0.28s ease;
}

.extra-card:hover { transform: translateY(-5px); border-color: rgba(77, 147, 255, 0.5); }

.extra-card p { color: var(--text-soft); margin: 0; font-size: 0.95rem; }

.extra-card .mode-icon { width: 46px; height: 46px; }

/* ---------- Methode ---------- */

.method-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}

.principles { display: grid; gap: 8px; }

.principle {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 16px;
  padding: 16px 18px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.principle:hover {
  background: var(--surface);
  border-color: var(--line);
  transform: translateX(4px);
}

.principle-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
}

.principle h3 { margin-bottom: 4px; font-size: 1.12rem; }

.principle p { margin: 0; color: var(--text-soft); font-size: 0.98rem; }

.principle-icon img { width: 72%; height: 72%; object-fit: contain; }

.method-chart {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  padding: clamp(22px, 3vw, 34px);
  position: sticky;
  top: 106px;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.method-chart h3 { margin-bottom: 18px; }

.timeline {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  align-items: end;
  min-height: 170px;
}

.timeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
  height: 100%;
}

.timeline-step::before {
  content: "";
  width: 100%;
  max-width: 58px;
  height: var(--h);
  min-height: 16px;
  border-radius: 10px 10px 4px 4px;
  background: linear-gradient(180deg, var(--primary-soft), var(--primary-strong));
  box-shadow: 0 10px 26px -10px rgba(43, 127, 255, 0.55);
  transform-origin: bottom;
  transform: scaleY(0);
  transition: transform 0.8s var(--ease-spring);
}

.timeline-step.is-last::before {
  background: linear-gradient(180deg, var(--gold-start), var(--gold-end));
  box-shadow: 0 10px 26px -10px rgba(255, 208, 101, 0.5);
}

.timeline.is-visible .timeline-step::before { transform: scaleY(1); }

.timeline.is-visible .timeline-step:nth-child(2)::before { transition-delay: 0.1s; }
.timeline.is-visible .timeline-step:nth-child(3)::before { transition-delay: 0.2s; }
.timeline.is-visible .timeline-step:nth-child(4)::before { transition-delay: 0.3s; }
.timeline.is-visible .timeline-step:nth-child(5)::before { transition-delay: 0.4s; }
.timeline.is-visible .timeline-step:nth-child(6)::before { transition-delay: 0.5s; }

.timeline-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-soft);
  text-align: center;
  line-height: 1.25;
}

.timeline-note { margin: 18px 0 12px; color: var(--text-soft); font-size: 0.95rem; }

.tier-row { display: flex; flex-wrap: wrap; gap: 9px; }

.tier {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: 999px;
  padding: 7px 14px;
  font-weight: 700;
  font-size: 0.88rem;
  border: 1px solid var(--line);
  background: rgba(26, 40, 70, 0.7);
  color: var(--text-soft);
}

.tier-medal { font-size: 0.8em; }
.tier-bronze .tier-medal { color: #c47f3d; }
.tier-silver .tier-medal { color: #9aa8c0; }
.tier-gold .tier-medal { color: #e8b830; }

/* ---------- Coach / Klassenarbeit ---------- */

.coach-panel {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(24px, 4vw, 52px);
  align-items: center;
  background:
    radial-gradient(ellipse 70% 120% at 100% 0%, rgba(43, 127, 255, 0.18), transparent 55%),
    linear-gradient(150deg, #14213e, #0c1530);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius-lg) + 6px);
  padding: clamp(26px, 4.5vw, 56px);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.coach-copy h2 { margin-bottom: 14px; }

.coach-copy .section-intro { margin-bottom: 20px; }

.coach-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.coach-points li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-soft);
  font-weight: 600;
  font-size: 0.98rem;
}

.coach-points .icon { color: var(--secondary); margin-top: 3px; }

.plan-card {
  background: rgba(8, 14, 30, 0.65);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(18px, 2.6vw, 26px);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.plan-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
  font-weight: 800;
  color: #fff;
}

.plan-count {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--streak);
  background: rgba(255, 154, 82, 0.14);
  border: 1px solid rgba(255, 154, 82, 0.4);
  padding: 5px 11px;
  border-radius: 999px;
}

.plan-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }

.plan-row {
  display: grid;
  grid-template-columns: 46px 1fr auto;
  align-items: center;
  gap: 12px;
  background: rgba(19, 31, 58, 0.85);
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 11px 14px;
  opacity: 0;
  transform: translateX(26px);
  transition: opacity 0.5s ease calc(var(--i) * 110ms), transform 0.55s var(--ease-spring) calc(var(--i) * 110ms);
}

.is-visible .plan-row { opacity: 1; transform: none; }

.plan-day {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 40px;
  border-radius: 12px;
  background: var(--tint-strong);
  color: var(--primary-soft);
  font-weight: 800;
  font-size: 0.85rem;
}

.plan-task { font-weight: 700; font-size: 0.95rem; color: var(--text); }

.plan-sub { display: block; font-weight: 600; font-size: 0.8rem; color: var(--muted); }

.plan-icon { color: var(--primary-soft); }

.plan-row.is-goal {
  background: linear-gradient(120deg, rgba(255, 208, 101, 0.16), rgba(19, 31, 58, 0.9));
  border-color: rgba(255, 208, 101, 0.5);
}

.plan-row.is-goal .plan-day { background: rgba(255, 208, 101, 0.2); color: var(--secondary); }

.plan-row.is-goal .plan-icon { color: var(--secondary); }

/* ---------- Screenshots ---------- */

.shots-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.shots-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
  padding: 10px 0 0;
  align-items: start;
}

.shot {
  min-width: 0;
  display: grid;
  gap: 12px;
  justify-items: center;
}

.shot-frame {
  width: 100%;
  appearance: none;
  border: 0;
  border-radius: 34px;
  padding: 8px;
  background: linear-gradient(160deg, #1a2440, #0a0f1f 60%);
  border: 1px solid rgba(200, 220, 255, 0.18);
  box-shadow: var(--shadow-soft);
  cursor: zoom-in;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s ease;
}

.shot:hover .shot-frame {
  transform: translateY(-6px) scale(1.015);
  box-shadow: var(--glow-blue);
}

.shot-frame:focus-visible {
  outline: 3px solid var(--secondary);
  outline-offset: 4px;
}

.shot-frame img {
  border-radius: 27px;
  width: 100%;
  height: auto;
  aspect-ratio: 1320 / 2868;
  object-fit: cover;
  background: var(--bg-soft);
}

.shot-caption {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-soft);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 14px;
}

@media (max-width: 980px) {
  .shots-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .shots-strip { grid-template-columns: 1fr; }

  .shot-frame { border-radius: 24px; padding: 6px; }

  .shot-frame img { border-radius: 19px; }

  .shot-caption { font-size: 0.78rem; padding: 5px 10px; }
}

.screenshot-lightbox {
  width: min(92vw, 620px);
  max-width: 92vw;
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  overflow: visible;
}

.screenshot-lightbox::backdrop {
  background: rgba(2, 6, 16, 0.82);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.screenshot-lightbox-panel {
  display: grid;
  justify-items: center;
  gap: 12px;
  position: relative;
}

.screenshot-lightbox-image {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: calc(100dvh - 96px);
  border-radius: 28px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.56);
}

.screenshot-lightbox-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(5, 10, 22, 0.78);
  color: #fff;
  cursor: pointer;
  font: 400 2rem/1 sans-serif;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.screenshot-lightbox-nav {
  position: absolute;
  top: 50%;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(5, 10, 22, 0.78);
  color: #fff;
  cursor: pointer;
  font: 400 1.75rem/1 sans-serif;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transform: translateY(-50%);
}

.screenshot-lightbox-nav.is-previous { left: 12px; }

.screenshot-lightbox-nav.is-next { right: 12px; }

.screenshot-lightbox-nav:hover,
.screenshot-lightbox-nav:focus-visible {
  background: var(--primary);
  border-color: var(--primary-soft);
  outline: none;
}

.screenshot-lightbox-nav:disabled {
  opacity: 0;
  pointer-events: none;
}

.screenshot-lightbox-close:hover,
.screenshot-lightbox-close:focus-visible {
  background: var(--primary);
  border-color: var(--primary-soft);
  outline: none;
}

.screenshot-lightbox-caption {
  margin: 0;
  color: var(--text-soft);
  font-weight: 700;
  text-align: center;
}

@media (max-width: 480px) {
  .screenshot-lightbox-nav { width: 44px; height: 44px; }

  .screenshot-lightbox-nav.is-previous { left: 8px; }

  .screenshot-lightbox-nav.is-next { right: 8px; }
}

/* ---------- Eltern ---------- */

.parents-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.parent-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  transition: transform 0.28s var(--ease-spring), border-color 0.28s ease;
}

.parent-card:hover { transform: translateY(-5px); border-color: rgba(77, 147, 255, 0.45); }

.parent-card p { color: var(--text-soft); margin: 0; font-size: 0.95rem; }

.parents-quiz {
  margin-top: 22px;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 22px;
  align-items: center;
  background:
    radial-gradient(ellipse 40% 140% at 0% 50%, rgba(255, 208, 101, 0.12), transparent 60%),
    linear-gradient(135deg, rgba(32, 48, 77, 0.9), var(--surface));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 3vw, 30px);
  box-shadow: var(--shadow-soft);
}

.parents-quiz h3 { margin-bottom: 6px; }

.parents-quiz p { margin: 0; color: var(--text-soft); }

.parents-mascot {
  width: 120px;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.4));
  animation: badge-float 5s ease-in-out infinite;
}

/* ---------- FAQ ---------- */

.faq-list { display: grid; gap: 11px; max-width: 860px; }

.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.faq-item[open] {
  border-color: rgba(77, 147, 255, 0.55);
  background: rgba(24, 37, 68, 0.85);
  box-shadow: 0 18px 44px -18px rgba(43, 127, 255, 0.35);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 17px 19px;
  font-weight: 700;
  font-size: 1.02rem;
  min-height: 44px;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary:hover { color: var(--primary-soft); }

.faq-chevron {
  flex: none;
  width: 10px;
  height: 10px;
  border-right: 2.5px solid var(--primary);
  border-bottom: 2.5px solid var(--primary);
  transform: rotate(45deg);
  transition: transform 0.3s var(--ease-spring);
  margin-right: 4px;
}

.faq-item[open] .faq-chevron { transform: rotate(-135deg); }

.faq-item p { margin: 0; padding: 0 19px 17px; color: var(--text-soft); }

/* ---------- Download ---------- */

.download-section { padding-bottom: clamp(70px, 9vw, 130px); }

.download-panel {
  position: relative;
  text-align: center;
  background:
    radial-gradient(ellipse 55% 90% at 50% -10%, rgba(43, 127, 255, 0.3), transparent 60%),
    linear-gradient(160deg, #16233f, #0b1428);
  border: 1px solid var(--line-strong);
  border-radius: calc(var(--radius-lg) + 8px);
  padding: clamp(40px, 6vw, 76px) clamp(20px, 4vw, 60px);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.download-panel::before {
  content: "";
  position: absolute;
  inset: -40% -20%;
  background: conic-gradient(from 120deg at 50% 0%, transparent, rgba(77, 147, 255, 0.12), transparent 32%);
  pointer-events: none;
}

.app-icon-large {
  width: clamp(96px, 12vw, 128px);
  height: clamp(96px, 12vw, 128px);
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: var(--shadow), 0 20px 60px -14px rgba(43, 127, 255, 0.5);
  margin: 0 auto 22px;
  animation: badge-float 5.5s ease-in-out infinite;
}

.download-panel h2 { margin-bottom: 10px; }

.download-panel .section-intro { margin: 0 auto 26px; }

.download-ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 13px;
}

.download-note { margin: 18px auto 0; color: var(--muted); font-size: 0.95rem; max-width: 60ch; }

/* ---------- Rechtsseiten ---------- */

.legal-page {
  background: var(--surface-solid);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: clamp(18px, 3vw, 34px);
  max-width: 920px;
}

.legal-page p, .legal-page li { color: var(--text-soft); }
.legal-page h2 { margin-top: 22px; }
.legal-page a { color: var(--footer-link); }

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

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(5, 10, 22, 0.85);
}

.footer-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--text-soft);
  font-size: 0.95rem;
  padding: 10px 0;
}

.footer-links { display: inline-flex; gap: 16px; margin: 0; }

.footer-links a {
  color: var(--footer-link);
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-weight: 700;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- Scroll-Reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  filter: blur(5px);
  transition:
    opacity 0.65s ease var(--d, 0s),
    transform 0.75s var(--ease-spring) var(--d, 0s),
    filter 0.65s ease var(--d, 0s);
  will-change: opacity, transform, filter;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
  filter: none;
}

.stagger > .reveal:nth-child(2) { --d: 0.07s; }
.stagger > .reveal:nth-child(3) { --d: 0.14s; }
.stagger > .reveal:nth-child(4) { --d: 0.21s; }
.stagger > .reveal:nth-child(5) { --d: 0.28s; }
.stagger > .reveal:nth-child(6) { --d: 0.35s; }
.stagger > .reveal:nth-child(7) { --d: 0.4s; }
.stagger > .reveal:nth-child(8) { --d: 0.45s; }
.stagger > .reveal:nth-child(9) { --d: 0.5s; }
.stagger > .reveal:nth-child(10) { --d: 0.55s; }

.no-js .reveal,
html.no-observer .reveal {
  opacity: 1;
  transform: none;
  filter: none;
}

/* ---------- Responsive ---------- */

@media (max-width: 1120px) {
  .mode-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }

  .hero-visual { order: -1; padding-bottom: 10px; }

  .demo-stage { width: min(360px, 88vw); }

  .demo-mascot { left: -13%; width: 46%; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }

  .steps-grid { grid-template-columns: 1fr; }

  .steps-grid::before { display: none; }

  .bento-grid { grid-template-columns: repeat(2, 1fr); }

  .bento-main { grid-column: 1 / -1; grid-row: auto; }

  .bento-wide { grid-column: 1 / -1; }

  .mode-grid { grid-template-columns: repeat(3, 1fr); }

  .extras-grid,
  .extras-grid-2 { grid-template-columns: 1fr; }

  .method-grid { grid-template-columns: 1fr; }

  .method-chart { position: static; }

  .coach-panel { grid-template-columns: 1fr; }

  .parents-grid { grid-template-columns: repeat(2, 1fr); }

  .devices-grid { grid-template-columns: 1fr; }
}

@media (max-width: 1020px) {
  .nav-toggle { display: inline-flex; }

  .main-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: min(300px, 92vw);
    background: var(--surface-strong);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
    padding: 8px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s var(--ease-spring);
    z-index: 20;
  }

  .main-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-list { flex-direction: column; gap: 2px; }

  .main-nav .nav-list a {
    color: var(--text);
    width: 100%;
    border-radius: 12px;
    padding: 11px 13px;
  }

  .main-nav .nav-list a.nav-cta {
    color: #fff;
    justify-content: center;
    margin: 6px 0 0;
  }
}

@media (max-width: 640px) {
  .header-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    padding: 8px 0;
  }

  .brand { justify-content: flex-start; }

  .header-controls { justify-content: flex-end; }

  .language-select {
    min-height: 38px;
    max-width: 112px;
    padding: 0 30px 0 12px;
    font-size: 0.9rem;
  }

  .brand-title { font-size: 1.2rem; }

  .hero { padding-top: 22px; }

  .hero-ctas .btn { width: 100%; }

  .stats-grid { gap: 12px; }

  .stat-label { font-size: 0.85rem; }

  .bento-grid { grid-template-columns: 1fr; }

  .mode-grid { grid-template-columns: repeat(2, 1fr); }

  .mode-card p { display: none; }

  .mode-card { text-align: center; }

  .mode-card h3 { justify-content: center; font-size: 0.95rem; }

  .mode-icon { margin-inline: auto; }

  .parents-grid { grid-template-columns: 1fr; }

  .parents-quiz { grid-template-columns: 84px 1fr; }

  .parents-mascot { width: 84px; }

  .timeline { min-height: 130px; gap: 6px; }

  .timeline-label { font-size: 0.66rem; }

  .plan-row { grid-template-columns: 40px 1fr auto; }

  .cost-row {
    grid-template-columns: 1fr auto;
    grid-template-areas: "label price" "bar bar";
    gap: 6px 12px;
  }

  .cost-label { grid-area: label; }
  .cost-bar { grid-area: bar; }
  .cost-price { grid-area: price; }

  .plan-day { width: 40px; height: 36px; font-size: 0.78rem; }

  .footer-inner {
    flex-direction: column;
    justify-content: center;
    padding: 16px 0;
    text-align: center;
  }

  .footer-links { justify-content: center; flex-wrap: wrap; }

  .badge-streak { left: -2%; top: 8%; }

  .badge-points { right: 0; }
}

/* ---------- Reduzierte Bewegung ---------- */

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

  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal { opacity: 1; transform: none; filter: none; }

  .timeline-step::before,
  .mini-bars i,
  .cost-bar i,
  .steps-grid::before { transform: none; }

  .plan-row { opacity: 1; transform: none; }

  .accent-swoosh path { stroke-dashoffset: 0; }

  .marquee-track { animation: none !important; }
}

/* App Store preview and visible Android beta invitation. */
.hero-beta-notice { margin: 16px 0; max-width: 52ch; font-size: .95rem; line-height: 1.6; }
.hero-beta-notice a { text-decoration: underline; text-underline-offset: 3px; }

.hero-app-video { display: block; width: min(300px, 74vw); height: auto; aspect-ratio: 886 / 1920; border-radius: 28px; background: #141c2c; box-shadow: 0 30px 90px -20px rgba(43, 127, 255, .35); }
