/* Toni tüftelt – Landingpage im Pusteblume-Stil (wie Lino liest). Keine externen Ressourcen. */

@font-face { font-family: "Fredoka"; src: url("fonts/Fredoka-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Fredoka"; src: url("fonts/Fredoka-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Fredoka"; src: url("fonts/Fredoka-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  color-scheme: light;
  --cream: #FFF8EF;
  --white: #FFFFFF;
  --sand: #F3ECE0;
  --track: #F0E7D8;
  --line: #EADFCD;
  --ink: #2D2A4A;
  --ink-2: #6E6A8A;
  --ink-3: #9A95B0;

  --blue: #3A86CF;  --blue-lip: #2C6CAB;  --blue-soft: #E3F0FB;
  --mint: #5CC9A7;  --mint-lip: #3FA88A;  --mint-soft: #DDF5EC;  --mint-deep: #1F7A60;
  --sun: #FFC857;   --sun-lip: #E3A93A;   --sun-soft: #FFF1CC;   --sun-deep: #96620C;
  --coral: #F06C5B; --coral-lip: #C9503F; --coral-soft: #FFE3DE; --coral-deep: #B8473A;
  --lilac: #9B87F5; --lilac-lip: #7563D6; --lilac-soft: #EDE8FF; --lilac-deep: #5B49B8;
  --green: #2B9A7B; --green-lip: #1F7A60;
  --grass-a: #DFF4EA; --grass-b: #EAF8F1;

  --shadow-card: 0 6px 18px rgba(45, 42, 74, 0.07);
  --shadow-float: 0 18px 40px -12px rgba(45, 42, 74, 0.22);
  --radius-card: 28px;
  --container: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Fredoka", ui-rounded, "SF Pro Rounded", system-ui, sans-serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--blue-lip); }
a:hover { color: var(--blue); }
h1, h2, h3 { font-weight: 600; line-height: 1.12; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 12px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.label {
  font-size: 14px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2);
}
.section { padding: 96px 0; }
.section-head { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.section-head h2 { font-size: clamp(32px, 4.6vw, 48px); margin-top: 10px; }
.section-head p { margin-top: 14px; color: var(--ink-2); font-size: 19px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn {
  --fill: var(--blue); --lip: var(--blue-lip);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 58px; padding: 0 28px; border: 0; border-radius: 999px;
  background: var(--fill); color: #fff; font-size: 19px; font-weight: 600; text-decoration: none;
  box-shadow: 0 5px 0 var(--lip); cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn:hover { color: #fff; filter: brightness(1.04); }
.btn:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--lip); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--soft { background: var(--lilac-soft); color: var(--lilac-deep); box-shadow: none; }
.btn--soft:hover { color: var(--lilac-deep); filter: brightness(0.98); }
.btn--soft:active { transform: scale(.97); box-shadow: none; }
.btn--small { min-height: 46px; padding: 0 20px; font-size: 16px; box-shadow: 0 4px 0 var(--lip); }
.btn--green { --fill: var(--green); --lip: var(--green-lip); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 248, 239, 0.86);
  backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header .container { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-size: 22px; font-weight: 700; }
.brand:hover { color: var(--ink); }
.brand img { width: 40px; height: 42px; object-fit: contain; }
.nav { display: flex; gap: 6px; margin-left: auto; }
.nav a { padding: 8px 14px; border-radius: 999px; color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: 16px; }
.nav a:hover { background: var(--white); color: var(--ink); }
.site-header .btn { margin-left: 8px; white-space: nowrap; }
.brand span { white-space: nowrap; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 56px 0 96px; overflow: hidden; }
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%; z-index: -1;
}
.hero::before { width: 620px; height: 620px; right: -140px; top: -120px; background: var(--sun-soft); }
.hero::after { width: 320px; height: 320px; left: -170px; bottom: 60px; background: var(--mint-soft); }
.hero .container { display: grid; grid-template-columns: 1.08fr 0.92fr; align-items: center; gap: 40px; }
.pill {
  display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: 999px; background: var(--mint-soft); color: var(--mint-deep);
  font-size: 15px; font-weight: 600;
}
.pill .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--mint); }
.hero h1 { margin-top: 22px; font-size: clamp(40px, 6.4vw, 76px); font-weight: 700; hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
.hero-copy, .hero-visual { min-width: 0; }
.hero h1 .mark { position: relative; white-space: nowrap; }
.hero h1 .mark::after {
  content: ""; position: absolute; left: -2%; right: -2%; bottom: 0.06em; height: 0.26em; z-index: -1;
  border-radius: 999px; background: var(--sun);
}
.hero-lead { margin-top: 22px; font-size: clamp(19px, 2vw, 22px); color: var(--ink-2); max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-note { margin-top: 18px; font-size: 15px; color: var(--ink-3); }

.hero-visual { position: relative; display: flex; justify-content: center; padding: 20px 0; }
.float { position: absolute; z-index: 3; animation: bob 5s ease-in-out infinite; }
.float--toni { left: -8%; bottom: 10%; width: 150px; animation-delay: -1s; }
.float--plan {
  left: -2%; top: 12%; display: flex; gap: 8px; padding: 12px 14px; border-radius: 22px 22px 22px 6px;
  background: var(--white); box-shadow: var(--shadow-card);
}
.float--plan .blk { --size: 40px; }
.float--stars {
  right: -2%; top: 34%; display: flex; gap: 4px; padding: 12px 16px; border-radius: 999px;
  background: var(--sun-soft); box-shadow: var(--shadow-card); animation-delay: -3s;
}
.float--stars svg { width: 26px; height: 26px; }
.float--ok {
  right: -4%; bottom: 8%; display: flex; align-items: center; gap: 10px; padding: 12px 18px 12px 12px;
  border-radius: 22px; background: var(--mint-soft); box-shadow: var(--shadow-card);
  font-weight: 600; color: var(--mint-deep); font-size: 18px; animation-delay: -2.5s;
}
.check {
  width: 36px; height: 36px; border-radius: 50%; background: var(--green); display: grid; place-items: center; flex: none;
}
.check svg { width: 18px; height: 18px; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- Phone ---------- */
.phone {
  position: relative; width: min(300px, 74vw); aspect-ratio: 720 / 1565;
  padding: 10px; border-radius: 48px; background: #23213A;
  box-shadow: var(--shadow-float), inset 0 0 0 2px #3B3858;
}
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 38px; }
.phone--tilt { transform: rotate(3deg); }

/* ---------- Code blocks (like in the app) ---------- */
.blk {
  --size: 54px; --fill: var(--blue); --lip: var(--blue-lip);
  position: relative; display: inline-grid; place-items: center; flex: none;
  width: var(--size); height: var(--size); margin-right: calc(var(--size) * .12);
  border: 0; border-radius: calc(var(--size) * .26); padding: 0;
  background: var(--fill); color: #fff; box-shadow: 0 4px 0 var(--lip);
}
.blk::after { /* the little puzzle tab on the right */
  content: ""; position: absolute; right: calc(var(--size) * -.12); top: 50%;
  width: calc(var(--size) * .2); height: calc(var(--size) * .34); margin-top: calc(var(--size) * -.17);
  border-radius: 0 999px 999px 0; background: var(--fill);
}
.blk svg { width: 46%; height: 46%; }
.blk[data-dir="down"] svg { transform: rotate(90deg); }
.blk[data-dir="left"] svg { transform: rotate(180deg); }
.blk[data-dir="up"] svg { transform: rotate(-90deg); }
.blk .num {
  position: absolute; left: 6px; top: 3px; font-size: 11px; font-weight: 700; line-height: 1; opacity: .9;
}
button.blk { cursor: pointer; transition: transform .12s ease, box-shadow .12s ease; }
button.blk:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--lip); }
.blk.is-active { --fill: #4C97DE; box-shadow: 0 4px 0 var(--lip), 0 0 0 4px var(--sun); transform: scale(1.06); }
.blk.is-culprit { box-shadow: 0 4px 0 var(--lip), 0 0 0 4px var(--sun); }
.blk.is-culprit::before {
  content: "!"; position: absolute; right: -8px; top: -10px; z-index: 1; width: 22px; height: 22px; border-radius: 50%;
  background: var(--sun-lip); color: #fff; font-size: 14px; font-weight: 700; display: grid; place-items: center;
}

/* ---------- Trust strip ---------- */
.trust { padding: 0 0 24px; }
.trust ul {
  list-style: none; margin: 0; padding: 18px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 14px;
  background: var(--white); border-radius: 999px; box-shadow: var(--shadow-card);
}
.trust li { display: flex; align-items: center; gap: 8px; padding: 6px 12px; font-weight: 600; font-size: 16px; }
.trust svg { width: 22px; height: 22px; flex: none; }

/* ---------- App video ---------- */
.teaser { grid-template-columns: 0.8fr 1.2fr; }
.teaser-video { display: flex; justify-content: center; }
.video-frame {
  position: relative; width: min(340px, 78vw); aspect-ratio: 9 / 16; border-radius: 40px; overflow: hidden;
  background: var(--sun-soft); box-shadow: var(--shadow-float), 0 0 0 10px var(--white);
}
.video-frame video { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-frame.is-playing .video-play { display: none; }
#kapitel .teaser { grid-template-columns: 1.2fr 0.8fr; }
#kapitel .teaser-video { order: 2; }
.phone--video { width: min(310px, 76vw); }
.phone--video video { width: 100%; height: 100%; object-fit: cover; border-radius: 38px; display: block; background: var(--cream); }
.video-play {
  position: absolute; left: 50%; bottom: 12%; width: 88px; height: 88px; margin-left: -44px;
  border: 0; border-radius: 50%; background: var(--blue); color: #fff; cursor: pointer;
  box-shadow: 0 6px 0 var(--blue-lip), 0 16px 30px -8px rgba(45, 42, 74, .35);
  display: grid; place-items: center; transition: transform .12s ease, box-shadow .12s ease;
}
.video-play svg { width: 36px; height: 36px; margin-left: 6px; }
.video-play:active { transform: translateY(5px); box-shadow: 0 1px 0 var(--blue-lip); }
.phone--video.is-playing .video-play { display: none; }
.chapters { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.chapters button {
  border: 0; border-radius: 999px; padding: 10px 18px; cursor: pointer; font-weight: 600; font-size: 16px;
  background: var(--white); color: var(--ink-2); box-shadow: var(--shadow-card); transition: background .15s ease, color .15s ease;
}
.chapters button:hover { color: var(--ink); }
.chapters button.is-current { background: var(--blue); color: #fff; }
.video-note { margin-top: 18px; color: var(--ink-3); font-size: 15px; }

/* ---------- Demo game ---------- */
.game {
  max-width: 980px; margin: 0 auto; padding: 32px; border-radius: 36px; background: var(--white); box-shadow: var(--shadow-card);
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 28px 32px; align-items: start;
}
.bubble {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px 12px 12px; border-radius: 22px;
  background: var(--cream); min-height: 76px;
}
.bubble img { width: 52px; height: 54px; flex: none; object-fit: contain; }
.bubble p { flex: 1; font-size: 18px; font-weight: 500; }
.bubble .say {
  width: 44px; height: 44px; flex: none; border: 0; border-radius: 50%; cursor: pointer;
  background: var(--blue); color: #fff; box-shadow: 0 3px 0 var(--blue-lip); display: grid; place-items: center;
}
.bubble .say svg { width: 20px; height: 20px; }
.board {
  position: relative; margin-top: 16px; padding: 12px; border-radius: 28px; background: var(--white);
  box-shadow: inset 0 0 0 2px var(--mint-soft);
}
.cells { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; aspect-ratio: 4 / 3; }
.cell { position: relative; border-radius: 14px; background: var(--grass-a); }
.cell:nth-child(odd) { background: var(--grass-b); }
.stone {
  position: absolute; inset: 22% 14% 26%; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #E7DED1, #CBBFAE 70%); box-shadow: 0 4px 0 #B9AC99;
}
.goal {
  position: absolute; inset: 12%; border-radius: 50%; display: grid; place-items: center;
  background: var(--sun-soft); box-shadow: inset 0 0 0 3px var(--sun); font-size: clamp(26px, 4.4vw, 40px); line-height: 1;
}
.layer { position: absolute; inset: 12px; pointer-events: none; }
.toni {
  --x: 0; --y: 2; --bx: 0; --by: 0;
  position: absolute; left: 0; top: 0; width: calc((100% - 18px) / 4); height: calc((100% - 12px) / 3);
  display: grid; place-items: center;
  transform: translate(calc((var(--x) + var(--bx)) * (100% + 6px)), calc((var(--y) + var(--by)) * (100% + 6px)));
  transition: transform .34s cubic-bezier(.3, .7, .4, 1);
}
.toni img { width: 86%; height: 86%; object-fit: contain; }
.toni.is-hop img { animation: hop .34s ease; }
@keyframes hop { 40% { transform: translateY(-14%); } }
.game-side { display: flex; flex-direction: column; gap: 16px; }
.plan {
  padding: 14px; border-radius: 24px; background: var(--white); box-shadow: inset 0 0 0 2px var(--blue-soft);
}
.plan-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.plan-head .label { color: var(--blue-lip); font-size: 13px; }
.plan-head .count { margin-left: auto; font-size: 14px; font-weight: 600; color: var(--ink-3); }
.plan-head .clear {
  width: 44px; height: 34px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--blue-soft); color: var(--blue-lip); display: grid; place-items: center;
}
.plan-head .clear svg { width: 20px; height: 20px; }
.plan-head .clear:disabled { background: var(--track); color: var(--ink-3); cursor: default; }
.plan-blocks { display: flex; flex-wrap: wrap; gap: 10px 6px; min-height: 122px; align-content: flex-start; }
.slot {
  width: 54px; height: 54px; border-radius: 14px; border: 2.5px dashed var(--line); flex: none;
}
.palette { display: flex; align-items: center; gap: 10px; }
.palette .blk { --size: 60px; }
.run {
  margin-left: auto; width: 76px; height: 76px; border: 0; border-radius: 50%; cursor: pointer; flex: none;
  background: var(--green); color: #fff; box-shadow: 0 5px 0 var(--green-lip); display: grid; place-items: center;
  transition: transform .12s ease, box-shadow .12s ease;
}
.run svg { width: 32px; height: 32px; margin-left: 4px; }
.run:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--green-lip); }
.run.is-stop { background: var(--coral); box-shadow: 0 5px 0 var(--coral-lip); }
.run.is-stop svg { margin-left: 0; }
.result {
  display: none; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 22px; background: var(--mint-soft);
  color: var(--mint-deep); font-weight: 600;
}
.result.is-shown { display: flex; animation: pop .45s ease; }
.result .stars { display: flex; gap: 2px; }
.result .stars svg { width: 24px; height: 24px; }
.result .stars svg.off { opacity: .25; }
.result .btn { margin-left: auto; }
.demo-hint { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; color: var(--ink-2); font-size: 16px; justify-content: center; }
.demo-hint svg { width: 22px; height: 22px; flex: none; }
.demo-hint .mute {
  border: 0; background: var(--sand); color: var(--ink-2); font-weight: 600; font-size: 15px; border-radius: 999px;
  padding: 6px 14px; cursor: pointer;
}
@keyframes pop { 0% { transform: scale(.96); opacity: 0; } 60% { transform: scale(1.02); opacity: 1; } 100% { transform: scale(1); } }

/* ---------- Features ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature {
  padding: 28px; border-radius: var(--radius-card); background: var(--white); box-shadow: var(--shadow-card);
}
.feature-icon {
  width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 18px;
  font-size: 22px; font-weight: 700;
}
.feature-icon svg { width: 28px; height: 28px; }
.feature-icon .blk { --size: 34px; margin-right: 4px; }
.feature h3 { font-size: 23px; }
.feature p { margin-top: 8px; color: var(--ink-2); font-size: 17px; }
.p-lilac { background: var(--lilac-soft); } .p-blue { background: var(--blue-soft); } .p-sun { background: var(--sun-soft); }
.p-mint { background: var(--mint-soft); } .p-coral { background: var(--coral-soft); } .p-sand { background: var(--sand); }

/* ---------- Showcase ---------- */
.showcase { background: var(--white); border-radius: 48px; margin: 0 12px; }
.screens {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; align-items: start;
}
.screen { display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; margin: 0; }
.screen .phone { width: 100%; max-width: 236px; border-radius: 40px; padding: 8px; }
.screen .phone img { border-radius: 32px; }
.screen h3 { font-size: 20px; }
.screen p { color: var(--ink-2); font-size: 16px; margin-top: 4px; }
.screen:nth-child(even) { margin-top: 40px; }

/* ---------- Path / split sections ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split h2 { font-size: clamp(32px, 4.4vw, 46px); margin-top: 10px; }
.split .lead { margin-top: 16px; color: var(--ink-2); font-size: 19px; }
.duo { position: relative; display: flex; justify-content: center; min-height: 560px; }
.duo .phone { position: absolute; width: min(260px, 60vw); }
.duo .phone:first-child { left: 6%; top: 0; transform: rotate(-4deg); }
.duo .phone:last-child { right: 6%; top: 60px; transform: rotate(4deg); }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 32px; }
.stat { padding: 18px 20px; border-radius: 24px; }
.stat b { display: block; font-size: 38px; font-weight: 700; line-height: 1.1; }
.stat span { font-size: 16px; font-weight: 600; }
.stat--mint { background: var(--mint-soft); color: var(--mint-deep); }
.stat--coral { background: var(--coral-soft); color: var(--coral-deep); }
.stat--sun { background: var(--sun-soft); color: var(--sun-deep); }
.stat--lilac { background: var(--lilac-soft); color: var(--lilac-deep); }
.worlds { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 12px; }
.worlds li { display: flex; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 22px; background: var(--white); box-shadow: var(--shadow-card); }
.worlds .n {
  width: 44px; height: 44px; border-radius: 50%; flex: none; display: grid; place-items: center; font-weight: 700; font-size: 18px;
}
.worlds b { display: block; font-weight: 600; }
.worlds span { color: var(--ink-2); font-size: 16px; }
.worlds .soon { opacity: .7; box-shadow: none; background: var(--sand); }

/* ---------- Parents ---------- */
.parents { background: var(--lilac-soft); border-radius: 48px; margin: 0 12px; }
.checklist { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 16px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; }
.checklist .check { width: 30px; height: 30px; margin-top: 2px; }
.checklist .check svg { width: 15px; height: 15px; }
.checklist b { display: block; font-weight: 600; }
.checklist span { color: var(--ink-2); font-size: 17px; }
.dash {
  padding: 26px; border-radius: 32px; background: var(--white); box-shadow: var(--shadow-float); max-width: 440px; margin-left: auto;
}
.dash-head { display: flex; align-items: center; gap: 12px; }
.dash-avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--coral-soft); display: grid; place-items: center; font-size: 26px; }
.dash-head b { font-size: 20px; }
.dash-head small { display: block; color: var(--ink-2); font-size: 14px; }
.dash-tag { margin-left: auto; font-size: 13px; font-weight: 600; color: var(--ink-3); }
.dash-block { margin-top: 22px; }
.dash-block .label { font-size: 12px; }
.goals { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
.goals li { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 600; }
.goals i {
  width: 26px; height: 26px; border-radius: 50%; flex: none; display: grid; place-items: center; font-style: normal; font-size: 13px;
  background: var(--track); color: var(--ink-3);
}
.goals i.done { background: var(--green); color: #fff; }
.goals i.half { background: var(--sun-soft); color: var(--sun-deep); }
.goals small { margin-left: auto; color: var(--ink-3); font-size: 13px; font-weight: 600; }
.week { display: flex; gap: 8px; margin-top: 12px; }
.week span {
  flex: 1; height: 38px; border-radius: 12px; display: grid; place-items: center; font-size: 13px; font-weight: 600;
  background: var(--track); color: var(--ink-3);
}
.week span.on { background: var(--mint); color: #fff; }

/* ---------- Fair ---------- */
.fair { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.fair-item { padding: 24px; border-radius: 26px; text-align: left; }
.fair-item h3 { font-size: 20px; margin-top: 12px; }
.fair-item p { font-size: 16px; margin-top: 6px; color: var(--ink-2); }

/* ---------- FAQ ---------- */
.faq { max-width: 800px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--white); border-radius: 24px; box-shadow: var(--shadow-card); padding: 0 24px; }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 0; font-weight: 600; font-size: 19px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: var(--blue-soft); color: var(--blue-lip); font-size: 22px; transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--ink-2); font-size: 17px; }

/* ---------- Final CTA ---------- */
.cta {
  position: relative; overflow: hidden; text-align: center; padding: 72px 24px; border-radius: 48px;
  background: var(--sun-soft);
}
.cta .toni-cheer { width: 170px; height: auto; margin: 0 auto; }
.cta h2 { font-size: clamp(34px, 5vw, 54px); margin-top: 14px; }
.cta p { margin: 14px auto 0; max-width: 560px; color: var(--ink-2); font-size: 19px; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 30px; position: relative; z-index: 1; }
.confetti { position: absolute; border-radius: 4px; }
.cta-more { margin-top: 26px; }

/* Warteliste (Double-Opt-in über die Edge Function toni-waitlist) */
.waitlist { max-width: 560px; margin: 28px auto 0; text-align: left; position: relative; z-index: 1; }
.waitlist-row { display: flex; gap: 10px; }
.waitlist input[type="email"] {
  flex: 1; min-width: 0; min-height: 58px; padding: 0 22px; border: 2px solid transparent; border-radius: 999px;
  background: var(--white); font: inherit; font-size: 18px; color: var(--ink); box-shadow: var(--shadow-card);
}
.waitlist input[type="email"]:focus { outline: none; border-color: var(--blue); }
.waitlist input[aria-invalid="true"] { border-color: var(--coral); }
.waitlist .btn { margin-top: 0; white-space: nowrap; }
.waitlist .btn[disabled] { opacity: .6; cursor: progress; }
.waitlist-consent { display: flex; gap: 12px; align-items: flex-start; margin-top: 16px; font-size: 16px; color: var(--ink); cursor: pointer; }
.waitlist-consent input { width: 22px; height: 22px; margin: 2px 0 0; flex: none; accent-color: var(--blue); }
.waitlist-note { margin: 10px 0 0 !important; font-size: 14px !important; color: var(--ink-3) !important; max-width: none !important; }
.waitlist-status { margin: 12px 0 0 !important; font-size: 17px !important; font-weight: 600; min-height: 1em; max-width: none !important; }
.waitlist-status.ok { color: var(--mint-deep) !important; }
.waitlist-status.err { color: var(--coral-deep) !important; }
.waitlist.is-done .waitlist-row, .waitlist.is-done .waitlist-consent, .waitlist.is-done .waitlist-note { display: none; }
.waitlist.is-done .waitlist-status { text-align: center; font-size: 20px !important; padding: 18px; border-radius: 22px; background: var(--mint-soft); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Footer ---------- */
.site-footer { padding: 56px 0 40px; color: var(--ink-2); font-size: 15px; }
.site-footer .container { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; justify-content: space-between; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
.site-footer a { color: var(--ink-2); text-decoration: none; font-weight: 600; }
.site-footer a:hover { color: var(--ink); }
.site-footer small { display: block; color: var(--ink-3); font-size: 13px; margin-top: 4px; }
.site-footer small a { color: var(--ink-3); }

/* ---------- Legal pages ---------- */
.legal { max-width: 760px; margin: 0 auto; padding: 48px 20px 80px; }
.legal h1 { font-size: clamp(34px, 5vw, 46px); }
.legal h2 { font-size: 24px; margin-top: 36px; }
.legal p, .legal li { color: var(--ink-2); margin-top: 12px; }
.legal li b { color: var(--ink); }
.legal .note { background: var(--mint-soft); color: var(--mint-deep); padding: 16px 20px; border-radius: 20px; margin-top: 20px; font-weight: 600; }
.legal .back { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 24px; font-weight: 600; text-decoration: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .fair { grid-template-columns: repeat(2, 1fr); }
  .screens {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 20px;
    margin: 0 -20px; padding: 0 20px 12px; scrollbar-width: none;
  }
  .screens::-webkit-scrollbar { display: none; }
  .screen { flex: 0 0 62%; scroll-snap-align: center; }
  .screen:nth-child(even) { margin-top: 0; }
  .game { grid-template-columns: 1fr; max-width: 560px; }
}
@media (max-width: 860px) {
  .nav { display: none; }
  .site-header .btn { margin-left: auto; }
  .section { padding: 72px 0; }
  .hero { padding: 32px 0 64px; }
  .hero .container, .split { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; }
  .hero-lead { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-visual { margin-top: 20px; }
  .float--toni { left: 0; width: 112px; }
  .float--ok, .float--stars { right: 0; }
  .float--plan { left: 0; }
  .split .duo { order: 2; }
  .teaser { grid-template-columns: 1fr; }
  .teaser > div:last-child { text-align: center; }
  .teaser .checklist { text-align: left; max-width: 480px; margin-inline: auto; }
  #kapitel .teaser { grid-template-columns: 1fr; }
  #kapitel .teaser-video { order: 0; }
  .chapters { justify-content: center; }
  .duo { min-height: 500px; }
  .dash { margin: 0 auto; }
  .showcase, .parents { margin: 0; border-radius: 36px; }
}
@media (max-width: 560px) {
  body { font-size: 17px; }
  .features, .fair { grid-template-columns: 1fr; }
  .trust ul { border-radius: 28px; }
  .game { padding: 18px 14px; border-radius: 28px; }
  .bubble p { font-size: 16px; }
  .palette { gap: 8px; }
  .palette .blk { --size: 46px; }
  .run { width: 60px; height: 60px; }
  .run svg { width: 26px; height: 26px; }
  .demo-hint > svg { display: none; }
  .plan-blocks .blk, .slot { --size: 46px; width: 46px; height: 46px; }
  .plan-blocks { min-height: 104px; }
  .duo { min-height: 430px; }
  .duo .phone { width: 210px; }
  .duo .phone:first-child { left: 0; }
  .duo .phone:last-child { right: 0; }
  .screen { flex-basis: 72%; }
  .brand span { font-size: 20px; }
  .site-header .btn { padding: 0 16px; font-size: 15px; }
  .cta { padding: 56px 20px; border-radius: 36px; }
  .cta .confetti { display: none; }
  .waitlist-row { flex-direction: column; }
  .waitlist .btn { width: 100%; }
  .float--plan .blk { --size: 32px; }
  .result { flex-wrap: wrap; }
}
@media (max-width: 400px) {
  .site-header .container { gap: 10px; }
  .site-header .btn { padding: 0 12px; font-size: 14px; }
  .brand { font-size: 18px; gap: 8px; }
  .brand img { width: 34px; height: 36px; }
}
@media (max-width: 350px) {
  .xs-hide { display: none; }
}
@media (max-width: 370px) {
  .palette .blk { --size: 40px; }
  .run { width: 54px; height: 54px; }
  .plan-blocks .blk, .slot { --size: 40px; width: 40px; height: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .float, .toni.is-hop img, .result.is-shown { animation: none; }
  .btn, .toni, button.blk, .run { transition: none; }
}
