/* Spielandia – Webseite. Schriften kommen vom Gerät (keine Google-Fonts-Verbindung → datenschutzfreundlich). */
:root {
  --navy: #1B2A4A; --navy-2: #24386A; --yellow: #F2B21B; --teal: #139E8E; --red: #E4572E; --blue: #2F6FDB; --purple: #8E5BD6;
  --bg: #F4F7FB; --card: #FFFFFF; --ink: #1B2A4A; --muted: #5A6B8A; --line: #DCE4EE;
  --round: ui-rounded, "SF Pro Rounded", "Nunito", "Varela Round", system-ui, -apple-system, "Segoe UI", sans-serif;
  --text: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --r: 28px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--text); line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { max-width: 100%; display: block; }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
h1, h2, h3 { font-family: var(--round); line-height: 1.1; margin: 0; letter-spacing: -0.01em; }
h1 { font-size: clamp(40px, 5.2vw, 66px); font-weight: 800; }
h2 { font-size: clamp(30px, 4.2vw, 48px); font-weight: 800; }
h3 { font-size: 21px; font-weight: 800; }
p { margin: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--teal); }
.lead { font-size: clamp(17px, 2vw, 20px); color: var(--muted); max-width: 640px; }
section { padding: 96px 0; }
.center { text-align: center; } .center .lead { margin: 16px auto 0; }

/* Navigation */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(244,247,251,.86); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid rgba(27,42,74,.06); }
.nav .wrap { display: flex; align-items: center; gap: 18px; height: 70px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--round); font-weight: 800; font-size: 22px; }
.brand img { width: 40px; height: 40px; border-radius: 11px; }
.nav nav { display: flex; gap: 26px; margin-left: auto; font-weight: 700; font-size: 15px; }
.nav nav a { text-decoration: none; color: var(--muted); } .nav nav a:hover { color: var(--ink); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border-radius: 999px; padding: 14px 24px; font-weight: 800; font-size: 16px; text-decoration: none; border: 0; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-dark { background: var(--navy); color: #fff; box-shadow: 0 10px 24px -10px rgba(27,42,74,.7); }
.btn-yellow { background: var(--yellow); color: var(--navy); box-shadow: 0 10px 24px -10px rgba(242,178,27,.9); }
.btn-ghost { background: #fff; color: var(--navy); border: 2px solid var(--line); }
.store { display: inline-flex; align-items: center; gap: 12px; background: #000; color: #fff; border-radius: 16px; padding: 10px 20px 10px 16px; text-decoration: none; }
.store .apple { font-size: 30px; line-height: 1; }
.store small { display: block; font-size: 11px; opacity: .8; } .store b { font-size: 19px; font-family: var(--text); }
@media (max-width: 860px) { .nav nav { display: none; } }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 70px 0 110px; }
.hero::before { content: ''; position: absolute; inset: -20% -10% auto auto; width: 720px; height: 720px; border-radius: 50%; background: radial-gradient(circle at 40% 40%, rgba(242,178,27,.35), rgba(242,178,27,0) 65%); }
.hero::after { content: ''; position: absolute; left: -200px; bottom: -260px; width: 620px; height: 620px; border-radius: 50%; background: radial-gradient(circle, rgba(19,158,142,.22), rgba(19,158,142,0) 65%); }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.hero h1 span { color: var(--teal); position: relative; white-space: nowrap; }
.hero h1 span::after { content: ''; position: absolute; left: 0; right: 0; bottom: .06em; height: .22em; background: var(--yellow); border-radius: 99px; z-index: -1; opacity: .9; }
.hero .lead { margin-top: 22px; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; align-items: center; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.pill { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; font-weight: 700; font-size: 14px; }
@media (max-width: 960px) { .hero .wrap { grid-template-columns: 1fr; } .phones { margin-top: 30px; } }

/* Handy-Mockups (gezeichnete App-Ansichten) */
.phones { position: relative; height: 600px; }
.phone { position: absolute; width: 270px; height: 560px; border-radius: 46px; background: #0B1222; padding: 12px; box-shadow: 0 40px 80px -30px rgba(27,42,74,.55), inset 0 0 0 2px #2B3A5C; }
.phone .screen { width: 100%; height: 100%; border-radius: 36px; overflow: hidden; background: var(--navy); position: relative; }
.phone .notch { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 90px; height: 26px; border-radius: 20px; background: #000; z-index: 2; }
.phone.a { left: 2%; top: 30px; transform: rotate(-7deg); }
.phone.b { right: 2%; top: 0; transform: rotate(6deg); }
.scr-head { padding: 46px 16px 10px; display: flex; align-items: center; gap: 10px; color: #fff; }
.avatar { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-size: 22px; }
.scr-head b { font-family: var(--round); font-size: 19px; display: block; } .scr-head small { opacity: .6; font-size: 11px; }
.chips { display: flex; gap: 6px; padding: 0 16px 10px; }
.chip { font-size: 11px; font-weight: 800; color: #fff; padding: 5px 10px; border-radius: 99px; background: rgba(255,255,255,.1); white-space: nowrap; }
.chip.on { background: var(--teal); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 4px 16px; }
.tile { background: #1F3158; border-radius: 16px; padding: 7px; }
.lid { aspect-ratio: 4/3; border-radius: 11px; display: grid; place-items: center; font-size: 34px; }
.tile b { display: block; color: #fff; font-size: 12px; margin-top: 6px; font-family: var(--round); }
.tile i { font-style: normal; font-size: 13px; }
.scr-tower { display: grid; place-items: center; padding-top: 40px; }
.floaty { position: absolute; width: 70px; height: 70px; border-radius: 22px; display: grid; place-items: center; font-size: 36px; background: #fff; box-shadow: 0 18px 36px -16px rgba(27,42,74,.45); animation: bob 5s ease-in-out infinite; }
.floaty.f1 { left: -4%; top: 380px; animation-delay: -1s; } .floaty.f2 { right: 40%; top: -10px; animation-delay: -3s; } .floaty.f3 { right: -2%; top: 470px; }
@keyframes bob { 50% { transform: translateY(-14px) rotate(4deg); } }
@media (max-width: 560px) { .phones { height: 520px; } .phone { width: 220px; height: 460px; border-radius: 38px; } .phone.a { left: -4%; } .phone.b { right: -4%; } .floaty { display: none; } }
@media (prefers-reduced-motion: reduce) { .floaty { animation: none; } html { scroll-behavior: auto; } }

/* Band mit Versprechen */
.band { background: var(--navy); color: #fff; padding: 26px 0; }
.band .wrap { display: flex; flex-wrap: wrap; justify-content: space-around; gap: 18px; font-weight: 800; font-family: var(--round); font-size: 18px; }
.band span { display: inline-flex; align-items: center; gap: 10px; }

/* Spiele */
.cats { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 30px 0 34px; }
.cats button { border: 2px solid var(--line); background: #fff; border-radius: 99px; padding: 10px 16px; font-weight: 800; font-size: 15px; cursor: pointer; color: var(--ink); font-family: var(--text); }
.cats button.on { background: var(--teal); color: #fff; border-color: var(--teal); }
.games { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 18px; }
.game { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 12px; transition: transform .2s ease, box-shadow .2s ease; }
.game:hover { transform: translateY(-4px) rotate(-.5deg); box-shadow: 0 24px 40px -24px rgba(27,42,74,.45); }
.game .lid { font-size: 52px; border-radius: 16px; position: relative; }
.game .age { position: absolute; top: 8px; left: 8px; background: #fff; border-radius: 10px; padding: 2px 8px; font-weight: 800; font-size: 12px; font-family: var(--round); }
.game .pro { position: absolute; top: 8px; right: 8px; background: var(--yellow); border-radius: 10px; padding: 2px 8px; font-weight: 800; font-size: 12px; }
.game h3 { margin-top: 12px; font-size: 18px; }
.game p { color: var(--muted); font-size: 14px; margin-top: 4px; }
.game .sym { display: flex; gap: 6px; margin-top: 10px; }
.game .sym span { width: 32px; height: 32px; border-radius: 50%; background: var(--bg); display: grid; place-items: center; font-size: 16px; }

/* Schritte */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 50px; }
.step { background: #fff; border-radius: var(--r); padding: 28px; border: 1px solid var(--line); position: relative; }
.step .n { width: 48px; height: 48px; border-radius: 16px; background: var(--yellow); display: grid; place-items: center; font-family: var(--round); font-weight: 800; font-size: 22px; color: var(--navy); margin-bottom: 18px; }
.step p { color: var(--muted); margin-top: 8px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* Familien-Funktionen */
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 50px; }
.feat { border-radius: var(--r); padding: 34px; min-height: 260px; position: relative; overflow: hidden; color: #fff; }
.feat p { margin-top: 10px; opacity: .9; max-width: 420px; }
.feat .big { position: absolute; right: -10px; bottom: -20px; font-size: 130px; opacity: .9; transform: rotate(-8deg); }
.feat.t1 { background: linear-gradient(135deg, #139E8E, #0D7A6E); } .feat.t2 { background: linear-gradient(135deg, #2F6FDB, #1F4FB8); }
.feat.t3 { background: linear-gradient(135deg, #8E5BD6, #6A3FB0); } .feat.t4 { background: linear-gradient(135deg, #E4572E, #C23E1A); }
@media (max-width: 860px) { .features { grid-template-columns: 1fr; } }

/* Preise */
.plans { display: grid; grid-template-columns: 1fr 1.1fr; gap: 22px; max-width: 900px; margin: 50px auto 0; }
.plan { background: #fff; border-radius: var(--r); padding: 34px; border: 1px solid var(--line); }
.plan.pro { background: var(--navy); color: #fff; border: 0; position: relative; box-shadow: 0 30px 60px -30px rgba(27,42,74,.8); }
.plan .price { font-family: var(--round); font-size: 46px; font-weight: 800; margin: 14px 0 2px; }
.plan .price small { font-size: 16px; font-weight: 700; opacity: .7; }
.plan ul { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.plan li { display: flex; gap: 10px; align-items: flex-start; }
.plan li::before { content: '✓'; flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 800; background: var(--bg); color: var(--teal); }
.plan.pro li::before { background: var(--teal); color: #fff; }
.plan .tag { position: absolute; top: -14px; right: 26px; background: var(--yellow); color: var(--navy); font-weight: 800; border-radius: 99px; padding: 6px 14px; font-size: 13px; }
.plan .muted { opacity: .7; font-size: 14px; }
@media (max-width: 760px) { .plans { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 820px; margin: 40px auto 0; display: grid; gap: 12px; }
details { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 18px 22px; }
summary { cursor: pointer; font-weight: 800; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::after { content: '+'; font-size: 24px; line-height: 1; color: var(--teal); } details[open] summary::after { content: '–'; }
details p { color: var(--muted); margin-top: 10px; }

/* Abschluss & Fuß */
.final { background: var(--yellow); border-radius: 40px; padding: 60px 30px; text-align: center; position: relative; overflow: hidden; }
.final h2 { color: var(--navy); } .final p { color: var(--navy); opacity: .8; margin: 14px auto 26px; max-width: 520px; }
footer { padding: 60px 0 40px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: center; }
footer nav { display: flex; flex-wrap: wrap; gap: 20px; font-weight: 700; }
footer a { text-decoration: none; } footer a:hover { color: var(--ink); }

/* Rechtstexte */
.legal { max-width: 820px; margin: 0 auto; padding: 50px 20px 80px; }
.legal h1 { font-size: clamp(34px, 5vw, 48px); margin-bottom: 8px; }
.legal h2 { font-size: 24px; margin: 36px 0 10px; }
.legal h3 { font-size: 18px; margin: 22px 0 6px; }
.legal p, .legal li { color: #34425f; margin: 8px 0; }
.legal .note { background: #FFF6DA; border: 1px solid #F2D27A; border-radius: 16px; padding: 14px 18px; color: #6B5100; margin: 18px 0; }
.legal .meta { color: var(--muted); }

/* Eltern-Seite */
.agebar { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 26px 0 12px; }
.agebar button, .skillbar button { border: 2px solid var(--line); background: #fff; border-radius: 99px; padding: 10px 16px; font-weight: 800; font-size: 15px; cursor: pointer; color: var(--ink); font-family: var(--text); }
.agebar button.on, .skillbar button.on { background: var(--navy); color: #fff; border-color: var(--navy); }
.skillbar { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 30px; }
.skillbar button { font-size: 13px; padding: 7px 12px; }
.pg { display: grid; grid-template-columns: 120px 1fr; gap: 18px; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 16px; align-items: start; }
.pg .lid { font-size: 48px; border-radius: 16px; }
.pg h3 { font-size: 20px; } .pg .meta { color: var(--muted); font-size: 14px; margin: 2px 0 8px; }
.pg .skills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.pg .skills span { background: #E8F6F4; color: #0D7A6E; border-radius: 99px; padding: 4px 10px; font-size: 13px; font-weight: 800; }
.pg .why { margin-top: 8px; color: #34425f; }
.pglist { display: grid; gap: 14px; max-width: 900px; margin: 0 auto; }
@media (max-width: 560px) { .pg { grid-template-columns: 1fr; } .pg .lid { max-width: 160px; } }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: 40px; }
.fact { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 22px; }
.fact .ic { font-size: 34px; } .fact h3 { margin-top: 8px; } .fact p { color: var(--muted); margin-top: 6px; }

/* Hero-Grafik als Vektor (gestochen scharf in jeder Größe) */
.phones { height: auto !important; }
.hero-art { width: 100%; height: auto; display: block; overflow: visible; }
@media (max-width: 960px) { .hero-art { max-width: 560px; margin: 0 auto; } }
@media (max-width: 960px) { .hero { padding-bottom: 40px; } }
