/* Landingspagina: kindvriendelijk, met letterpoppetjes, boeken en een Koran. */

.landing { background: var(--achtergrond); overflow-x: hidden; }

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

.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(#bfe3fb 0%, #e3f3ff 55%, #fdf8ef 100%);
  padding: 28px 16px 0;
  text-align: center;
}
.hero-tekst { position: relative; z-index: 2; max-width: 640px; margin: 0 auto; }

.hero h1 {
  margin: 0; font-size: clamp(52px, 11vw, 96px); font-weight: 800; line-height: 1.05;
  text-shadow: 0 4px 0 rgba(0, 0, 0, .08);
}
.hero h1 .r { color: var(--rood); }
.hero h1 .g { color: var(--groen); }
.hero h1 .b { color: var(--blauw); }
.slogan { margin: 6px 0 10px; color: #c98a3c; font-size: clamp(20px, 4vw, 28px); font-weight: 700; }
.intro { max-width: 500px; margin: 0 auto 22px; }

.knop.groot { font-size: 24px; padding: 14px 34px; border-radius: 20px; }
.knop.hoofd.groot { background: var(--groen); box-shadow: 0 6px 0 #2f8a66; }
.knop.hoofd.groot:active { transform: translateY(4px); box-shadow: 0 2px 0 #2f8a66; }
.knop.groot span { font-size: .7em; vertical-align: .1em; margin-left: 4px; }
.puls { animation: puls 2.4s ease-in-out infinite; }
@keyframes puls { 50% { transform: scale(1.06); } }
.puls:active { animation: none; }

.scene { position: relative; z-index: 1; display: block; width: 100%; max-width: 900px; margin: -70px auto 0; height: auto; overflow: visible; }

/* Zon, wolken, letters, sterretjes */
.zon { position: absolute; top: 14px; right: 3%; width: clamp(64px, 12vw, 120px); }
.stralen { transform-origin: 60px 60px; animation: draai 30s linear infinite; }
@keyframes draai { to { transform: rotate(360deg); } }

.wolk { position: absolute; opacity: .95; }
.w1 { top: 70px; left: -40px; width: 150px; animation: drijf 38s linear infinite; }
.w2 { top: 210px; right: -170px; width: 120px; animation: drijf-terug 52s linear infinite; }
@keyframes drijf { from { transform: translateX(0); } to { transform: translateX(calc(100vw + 200px)); } }
@keyframes drijf-terug { from { transform: translateX(0); } to { transform: translateX(calc(-100vw - 300px)); } }

.zweef {
  position: absolute; font-size: clamp(40px, 7vw, 68px); font-weight: 700; line-height: 1;
  opacity: .5; animation: zweef 6s ease-in-out infinite; pointer-events: none;
}
.z1 { top: 22%; left: 5%;  color: var(--rood);  animation-delay: -1s; }
.z2 { top: 46%; left: 14%; color: var(--blauw); animation-delay: -3s; }
.z3 { top: 20%; right: 18%; color: var(--groen); animation-delay: -2s; }
.z4 { top: 44%; right: 6%;  color: #e8a33d;     animation-delay: -4s; }
.z5 { top: 52%; left: 30%;  color: #9b7ad8;     animation-delay: -5s; }
@keyframes zweef { 50% { transform: translateY(-16px) rotate(6deg); } }

.schitter { position: absolute; color: #f6c453; font-size: 24px; animation: schitter 2.6s ease-in-out infinite; }
.s1 { top: 14%; left: 38%; } .s2 { top: 36%; right: 30%; animation-delay: -1s; } .s3 { top: 56%; left: 4%; animation-delay: -1.8s; }
@keyframes schitter { 50% { transform: scale(.4) rotate(40deg); opacity: .4; } }

/* Poppetjes */
.hop { transform-box: fill-box; transform-origin: 50% 100%; animation: hop 2.2s ease-in-out infinite; }
.h2 { animation-delay: -.7s; } .h3 { animation-delay: -1.4s; }
@keyframes hop {
  0%, 55%, 100% { transform: translateY(0) scale(1, 1); }
  20% { transform: translateY(0) scale(1.05, .93); }
  38% { transform: translateY(-20px) scale(.97, 1.04); }
}
.arm-r { transform-box: fill-box; transform-origin: 50% 90%; animation: zwaai 1.3s ease-in-out infinite; }
@keyframes zwaai { 50% { transform: rotate(-28deg); } }
.oog { animation: knip 5s infinite; transform-box: fill-box; transform-origin: center; }
@keyframes knip { 0%, 94%, 100% { transform: scaleY(1); } 97% { transform: scaleY(.1); } }
.stip { transform-box: fill-box; transform-origin: center; animation: stip 1.6s ease-in-out infinite; }
.stip.s-b { animation-delay: -.8s; }
@keyframes stip { 50% { transform: scale(1.18); } }

.fonkel { transform-box: fill-box; transform-origin: center; animation: schitter 2.4s ease-in-out infinite; }
.fonkel.f2 { animation-delay: -.8s; } .fonkel.f3 { animation-delay: -1.5s; }

.wip { transform-box: fill-box; transform-origin: 50% 100%; animation: wip 4s ease-in-out infinite; }
.w-b { animation-delay: -2s; }
@keyframes wip { 50% { transform: translateY(-3px) rotate(-1deg); } }

/* ---------- Secties ---------- */

.landing main { max-width: 860px; margin: 0 auto; padding: 8px 16px 8px; }
.blok { margin: 40px 0; }
.blok h2 { font-size: 30px; margin: 0 0 18px; text-align: center; }
.zacht { color: var(--zacht); }

.kaartrij { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.kaartrij li {
  --kl: var(--rood);
  position: relative; padding: 22px 18px 20px; text-align: center;
  background: var(--kaart); border-radius: 26px;
  box-shadow: 0 6px 0 rgba(0, 0, 0, .07), inset 0 0 0 3px var(--rand);
  transition: transform .2s;
}
.kaartrij li.groen { --kl: var(--groen); } .kaartrij li.blauw { --kl: var(--blauw); } .kaartrij li.geel { --kl: #e8a33d; }
.kaartrij li:nth-child(odd) { transform: rotate(-1.5deg); }
.kaartrij li:nth-child(even) { transform: rotate(1.5deg); }
.kaartrij li:hover { transform: rotate(0) translateY(-4px); }
.icoon {
  display: grid; place-items: center; width: 76px; height: 76px; margin: -50px auto 8px;
  border-radius: 50%; background: var(--kl); font-size: 38px;
  box-shadow: 0 5px 0 rgba(0, 0, 0, .12), inset 0 -6px 0 rgba(0, 0, 0, .1);
}
.kaartrij h3 { margin: 4px 0; font-size: 22px; color: var(--kl); }
.kaartrij p { margin: 0; color: var(--zacht); }
.kaartrij { padding-top: 34px; }

/* Nu al te spelen */
.nu {
  display: flex; align-items: center; gap: 22px; padding: 22px;
  background: var(--kaart); border-radius: 28px;
  box-shadow: 0 6px 0 rgba(0, 0, 0, .07), inset 0 0 0 3px var(--geel);
  transition: transform .15s;
}
.nu:hover { transform: translateY(-3px); }
.nu:active { transform: translateY(2px); }
.tegels { flex: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 320px; }
.tegels span {
  display: grid; place-items: center; width: 56px; height: 70px;
  border-radius: 22px; color: #fff; font-size: 40px; line-height: 1;
  box-shadow: 0 5px 0 rgba(0, 0, 0, .14), inset 0 -6px 0 rgba(0, 0, 0, .1);
}
.t1 { background: var(--rood); transform: rotate(-5deg); }
.t2 { background: var(--groen); transform: rotate(4deg); }
.t3 { background: var(--blauw); transform: rotate(-3deg); }
.t4 { background: #e8a33d; transform: rotate(5deg); }
.t5 { background: #9b7ad8; transform: rotate(-4deg); }
.t6 { background: var(--rood); transform: rotate(3deg); }
.t7 { background: var(--groen); transform: rotate(-5deg); }
.t8 { background: var(--blauw); transform: rotate(4deg); }
.t9 { background: #e8a33d; transform: rotate(-3deg); }
.nu-tekst { flex: 1; }
.nu-tekst h3 { margin: 0 0 4px; font-size: 24px; }
.nu-tekst p { margin: 0 0 4px; }
.pijl {
  flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  background: var(--geel); color: #fff; font-size: 20px; padding-left: 3px;
  box-shadow: 0 4px 0 #c99a2c;
}

.voor-wie { text-align: center; padding: 24px 16px; background: #eaf6ee; border-radius: 28px; }
.voor-wie p { max-width: 520px; margin: 0 auto 16px; }

/* ---------- Voet ---------- */

footer { margin-top: 40px; }
footer svg { display: block; width: 100%; height: 50px; }
.voet { background: #6cc48a; padding: 8px 16px 36px; text-align: center; color: #fff; }
.voet p { margin: 14px 0 0; font-weight: 500; opacity: .9; }
.voet .knop.hoofd.groot { background: #fff; color: #2f8a66; box-shadow: 0 6px 0 #2f8a66; }

/* ---------- Kleine schermen en rustige animaties ---------- */

@media (max-width: 560px) {
  .zon { width: 56px; top: 8px; }
  .z2, .z4, .s3 { display: none; }
  .nu { flex-direction: column; text-align: center; }
  .pijl { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .landing *, .landing *::before { animation: none !important; transition: none !important; }
}
