/* Homepage in de stijl en indeling van wonderia.ai (Rico 3 nov): DM Sans met gewone letterafstand, rustige koppen,
   markeerstift achter woorden, kaartjes met een klein label in plaats van iconen, veel witruimte. */
:root {
  --bg: #fcfcfa; --inkt: #243c32; --tekst: #18372a; --zacht: #4b5a51; --groen: #294e3e; --groen-licht: #d7f1db;
  --rand: #e0e4eb; --geel: #fff2a6; --roze: #f5cfdf; --mint: #cef0df; --lila: #e6dcf5; --blauw: #d6eefa; --papier: #f7f4ed;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; overflow-x: clip; background: var(--bg); color: var(--tekst); font: 20px/1.6 "DM Sans", -apple-system, system-ui, sans-serif; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--groen); }
b { font-weight: 650; }
.binnen { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
h1 { font-size: clamp(34px, 9vw, 76px); line-height: 1.4; font-weight: 550; margin: 18px 0 22px; color: #282c2a; text-wrap: balance; }
h2 { font-size: clamp(34px, 4.3vw, 62px); line-height: 1.3; font-weight: 550; margin: 0 0 40px; color: #282c2a; }
h2 em { font-style: normal; background: linear-gradient(transparent 63%, #f6d8e5 63%, #f6d8e5 94%, transparent 94%); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
h3 { font-size: 23px; line-height: 1.4; font-weight: 700; margin: 18px 0 8px; color: var(--tekst); }
p { margin: 0 0 14px; max-width: 52ch; }
.klein { font-size: 16px; color: var(--zacht); }
.intro { font-size: 22px; line-height: 1.55; max-width: 34em; margin: 0 auto 26px; }
.intro.links { margin-left: 0; }

/* Markeerstift achter woorden (zoals wonderia: een schuin geel vlak achter de onderste helft) */
.stift { position: relative; isolation: isolate; white-space: nowrap; }
.stift::before { content: ""; position: absolute; left: -.045em; right: -.065em; bottom: .07em; height: .55em; background: var(--geel); z-index: -1; transform: rotate(-2deg); border-radius: 7px 3px 8px 5px; }

/* Labels */
.tag { display: inline-block; padding: 4px 14px; border-radius: 999px; font-size: 17px; font-weight: 600; line-height: 1.5; color: #4a4650; background: var(--mint); }
.tag.lila { background: #eae6ff; } .tag.geel { background: var(--geel); } .tag.blauw { background: var(--blauw); } .tag.roze { background: var(--roze); }

/* Knoppen */
.knop { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 54px; padding: 12px 24px; border-radius: 14px; font-weight: 650; font-size: 18px; text-decoration: none; border: 1px solid transparent; }
.knop svg { width: 22px; height: 22px; flex: none; }
.knop.donker { background: var(--groen); color: #fffdf7; box-shadow: 0 3px 8px #294e3e12; }
.knop.donker:hover { background: #1f3f31; }
.knop.wit { background: #fff; color: #1f1f1f; border-color: var(--rand); box-shadow: 0 6px 18px #3b493814; }
.knop.wit:hover { border-color: var(--groen); }
.knop.vol { width: 100%; }
.knop.mint { background: linear-gradient(120deg, #d1eee0, #b9e3cf); color: #2b3931; font-weight: 600; }
.knop.mint:hover { background: #b9e3cf; }
.knop.kaal { background: none; color: var(--zacht); font-weight: 500; padding-left: 12px; padding-right: 12px; }
.knop.kaal:hover { color: var(--groen); text-decoration: underline; }

/* Zwevende menubalk */
.balk { position: fixed; z-index: 20; top: 16px; left: 50%; transform: translateX(-50%); width: min(1340px, calc(100% - 32px)); display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 14px 10px 22px; border-radius: 22px; background: rgba(255, 253, 248, .96); box-shadow: 0 8px 28px #3b493814, inset 0 0 0 1px #e4e9e066; backdrop-filter: blur(10px); }
/* Logo (Rico 4 nov, versie A): groen blokje met d en gele stip, "dys" donker en "clever" groen */
.logo { display: inline-flex; align-items: center; gap: 10px; font: 900 27px Nunito, "DM Sans", sans-serif; color: #163f34; text-decoration: none; }
.logo .clever { color: #2d8a6c; }
.logo-ic { width: 42px; height: 42px; }
.balk nav { display: flex; gap: 32px; }
.balk nav a, .inloglink { color: var(--groen); text-decoration: none; font-size: 19px; }
.balk nav a:hover, .inloglink:hover { text-decoration: underline; }
.balk-rechts { display: flex; align-items: center; gap: 18px; }
.balk .knop { min-height: 48px; padding: 10px 20px; }
@media (max-width: 1060px) { .balk nav { display: none; } }
@media (max-width: 560px) { .balk { padding: 8px 10px 8px 14px; } .logo { font-size: 22px; } .logo-ic { width: 36px; height: 36px; } .balk .knop { display: none; } }

/* Held: bureau, gelinieerd papier, markers */
.held { position: relative; isolation: isolate; text-align: center; padding: 150px 20px 40px; background: linear-gradient(180deg, #d8c5ae 0%, #d3bda3 70%, var(--bg) 70.2%); }
.held::before { content: ""; position: absolute; inset: 104px 9% 170px 6%; z-index: -1; border-radius: 12px; border: 1px solid #f6f0e7;
  background: linear-gradient(90deg, transparent 7%, #d8a8af40 7%, #d8a8af40 calc(7% + 1px), transparent calc(7% + 1px)), repeating-linear-gradient(0deg, transparent 0 34px, #7b928e23 34px 35px), var(--papier);
  box-shadow: 4px 22px 35px #634b3320, inset 0 1px 0 #ffffffc9; transform: rotate(-3deg); }
.held::after { content: ""; position: absolute; right: 12%; top: 128px; width: 92px; height: 30px; background: var(--roze); opacity: .8; transform: rotate(12deg); z-index: -1; }
.held-tekst { max-width: 980px; margin: 0 auto; }
.held .intro { color: var(--zacht); margin-bottom: 22px; }
.held-knoppen { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 16px; }
.markers { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; mix-blend-mode: multiply; }
.marker { position: absolute; width: clamp(145px, 15vw, 260px); aspect-ratio: 3.6; object-fit: cover; filter: saturate(.9); mix-blend-mode: multiply; }
.m-roze { left: -4%; top: 230px; transform: rotate(-2deg); }
.m-mint { left: -4.5%; top: 335px; transform: rotate(-37deg); }
.m-geel { right: -5%; top: 330px; transform: rotate(16deg) scaleX(-1); }

/* Drie rechte kaarten met grote letters: zo ziet de app eruit, zonder scheve schermafdrukken */
.demo { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1080px; margin: 48px auto 0; text-align: left; }
.demo-kaart { background: #fff; border: 1px solid var(--rand); border-radius: 18px; padding: 24px; box-shadow: 0 10px 26px #3b493814; }
.demo-kaart .tag { margin-bottom: 16px; }
.demo-plaatje { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.demo-bol { background: var(--mint); border-radius: 16px; padding: 10px 18px; font-size: 20px; font-weight: 700; }
.demo-pijl { font-size: 22px; line-height: 1; color: var(--zacht); }
.demo-takken { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; }
.demo-takken span { background: var(--blauw); border-radius: 14px; padding: 12px 8px; text-align: center; font-size: 18px; line-height: 1.45; }
.demo-takken span.o { background: #ffdcc2; }
.demo-punt { position: relative; background: #fff8d6; border-radius: 14px; padding: 12px 14px 12px 34px; margin: 0 0 10px; font-size: 19px; line-height: 1.55; }
.demo-punt::before { content: ""; position: absolute; left: 15px; top: 22px; width: 9px; height: 9px; border-radius: 50%; background: var(--groen); }
.demo-punt mark { background: var(--geel); border-radius: 5px; padding: 0 3px; margin: 0 -1px; color: inherit; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.demo-vraag { background: var(--geel); border-radius: 16px; padding: 16px; margin: 0 0 10px; font-size: 21px; line-height: 1.45; font-weight: 700; }
.demo-optie { display: flex; align-items: center; gap: 12px; border: 2px solid var(--rand); border-radius: 14px; padding: 10px 12px; margin: 0 0 8px; font-size: 18px; line-height: 1.4; }
.demo-optie span { flex: none; width: 30px; height: 30px; border-radius: 9px; background: #f0ece4; display: grid; place-items: center; font-weight: 700; }
@media (max-width: 960px) {
  .held { padding-top: 120px; }
  .markers { display: none; }
  .held::before { inset: 92px 12px 120px; transform: rotate(-1.5deg); }
  /* Telefoon: één kaart tegelijk, vegen voor de volgende (de rand van de volgende kaart piept erin) */
  .demo { display: flex; align-items: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; max-width: none; margin: 36px -20px 0; padding: 4px 20px 18px; scrollbar-width: none; }
  .demo::-webkit-scrollbar { display: none; }
  .demo-kaart { flex: 0 0 82%; max-width: 380px; scroll-snap-align: center; }
}

/* Secties (zoals wonderia: veel ruimte, kop links, kaartjes met een label) */
section { scroll-margin-top: 110px; }
.sectie { padding: 95px 0; }
.sectie.zacht { background: #f8f5ee; }
.binnen { max-width: 1120px; }
.kaartjes { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.kaartjes.drie { grid-template-columns: repeat(3, 1fr); }
.kaartjes article { min-width: 0; padding: 24px; border: 1px solid #ebe6dc; border-radius: 16px; background: #fffdf8; }
.kaartjes h3 { margin: 18px 0 10px; }
.kaartjes p { margin: 0; font-size: 20px; line-height: 1.5; }
.onder { font-size: 20px; color: var(--zacht); margin: 28px auto 0; text-align: center; }
.onder.links { text-align: left; margin-left: 0; }
.podcast { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.podcast h2 { margin: 18px 0 20px; }
.pod-kaart { background: #fff; border: 1px solid #ebe6dc; border-radius: 18px; padding: 24px; box-shadow: 0 10px 26px #3b493814; }
.pod-regel { margin: 0 0 12px; padding: 12px 16px; border-radius: 14px; background: #f3f1ec; font-size: 19px; line-height: 1.5; max-width: none; }
.pod-regel b { display: block; font-size: 15px; color: var(--zacht); }
.pod-regel.nu { background: var(--geel); }
.pod-balk { display: flex; align-items: center; gap: 14px; margin-top: 18px; font-size: 16px; color: var(--zacht); }
.pod-play { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--groen); color: #fff; font-size: 15px; }
.pod-lijn { flex: 1; height: 6px; border-radius: 3px; background: #e7e3da; overflow: hidden; }
.pod-lijn i { display: block; width: 38%; height: 100%; background: var(--groen); }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.chips li { padding: 10px 20px; border-radius: 999px; font-size: 20px; font-weight: 600; background: var(--mint); }
.chips .geel { background: var(--geel); } .chips .lila { background: #eae6ff; } .chips .blauw { background: var(--blauw); }
@media (max-width: 860px) {
  .sectie { padding: 65px 0; }
  .kaartjes, .kaartjes.drie, .podcast { grid-template-columns: 1fr; }
  .podcast { gap: 28px; }
  .podcast > div:last-child { order: -1; }
}

.prijs-blok { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: start; }
.prijskaart { background: #fff; border: 1px solid var(--rand); border-radius: 26px; padding: 30px; box-shadow: 0 18px 40px #493b301a; }
.prijs { font-size: 60px; font-weight: 600; line-height: 1.1; margin: 14px 0; color: var(--inkt); }
.prijs span { font-size: 22px; font-weight: 500; }
.vinkjes { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 10px; }
.vinkjes li { position: relative; padding-left: 32px; font-size: 18px; }
.vinkjes li::before { content: "✓"; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: var(--groen-licht); color: var(--groen); font-size: 13px; font-weight: 800; }
.prijskaart .klein { margin: 12px 0 0; }
details { background: #fff; border: 1px solid var(--rand); border-radius: 18px; padding: 18px 22px; margin-bottom: 12px; }
summary { cursor: pointer; font-weight: 650; color: var(--inkt); }
details p { margin: 10px 0 0; font-size: 19px; }
@media (max-width: 860px) { .prijs-blok { grid-template-columns: 1fr; } }

.slot { padding: 110px 0; text-align: center; background: linear-gradient(115deg, #f9ecd6, #f7e5ed 55%, #e0f0e8); }
.slot .inlog { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 10px 0 14px; }
.slot .inlog .knop { min-width: 290px; }
.slot .klein, .held .klein { margin: 0 auto; }
@media (max-width: 560px) { .slot .inlog .knop { min-width: 0; width: 100%; } }

.voet { padding: 40px 0 56px; font-size: 16px; color: var(--zacht); border-top: 1px solid var(--rand); }
.voet .binnen { display: flex; flex-direction: column; gap: 14px; }
.voet nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.voet nav a { color: var(--groen); }
.voet .logo { font-size: 22px; }
.voet .logo-ic { width: 34px; height: 34px; }

/* Voor en na: een bladzijde uit je boek → hetzelfde als plaatje */
.voorna { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 32px; align-items: center; }
.boekpagina { height: 380px; overflow: hidden; padding: 26px 28px; background: #fff; border: 1px solid var(--rand); border-radius: 6px; box-shadow: 0 14px 30px #493b301a;
  font: 14px/1.45 Georgia, "Times New Roman", serif; text-align: justify; color: #3a3a3a; }
.boekpagina p { max-width: none; margin: 0 0 10px; }
.vn-pijl { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--groen); color: #fffdf7; font-size: 26px; }
.vn-plaatje { height: 380px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 28px; background: #fff; border: 1px solid var(--rand); border-radius: 18px; box-shadow: 0 14px 30px #493b301a; }
.vn-plaatje .demo-bol { font-size: 24px; padding: 12px 22px; }
.vn-plaatje .demo-takken span { font-size: 20px; padding: 16px 10px; }
.vn-plaatje small { display: block; margin-top: 6px; font-size: 16px; color: var(--zacht); }
@media (max-width: 860px) {
  .voorna { grid-template-columns: 1fr; gap: 16px; }
  .boekpagina { height: 260px; }
  .vn-plaatje { height: auto; }
  .vn-pijl { justify-self: center; transform: rotate(90deg); width: 52px; height: 52px; }
}

/* Voorlezen: zwevende knop, het stuk dat je hoort licht op */
.voorlees { position: fixed; right: 20px; bottom: 20px; z-index: 30; display: inline-flex; align-items: center; gap: 10px; min-height: 56px; padding: 0 22px 0 18px;
  border: 0; border-radius: 999px; background: var(--groen); color: #fffdf7; font: 600 18px "DM Sans", system-ui, sans-serif; cursor: pointer; box-shadow: 0 10px 26px #294e3e40; }
.voorlees svg { width: 24px; height: 24px; }
.voorlees[aria-pressed="true"] { background: #8f2f24; }
.hoort { background: var(--geel) !important; box-shadow: 0 0 0 6px var(--geel); border-radius: 6px; transition: background .2s; }

/* Telefoon: voorleesknop alleen als rond icoon, zodat hij niet over de inhoud valt */
@media (max-width: 560px) {
  .voorlees { right: 14px; bottom: 14px; width: 56px; padding: 0; justify-content: center; border-radius: 50%; }
  .voorlees span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
