/* Welkomspagina (index.html): bouwt voort op welkom.css. Getekende nachtscène en nagespeelde schermen (js/welkom-demo.js). */
:root{ --papa:#6FBFA2; --mama:#EE8FA8; --night:#2E2754; }

.dot{ display:inline-block; width:9px; height:9px; border-radius:50%; flex:none; vertical-align:middle; }
.dot.papa{ background:var(--papa); } .dot.mama{ background:var(--mama); }

/* ---------- hero met tekening ---------- */
.c-hero{ max-width:1160px; margin:0 auto; padding-top:28px; padding-bottom:30px; display:grid; grid-template-columns:.95fr 1.05fr; gap:36px; align-items:center; }
.c-hero h1{ font-size:clamp(2.3rem, 5vw, 3.7rem); letter-spacing:-.01em; }
.c-hero .hl{ display:inline; background:linear-gradient(transparent 62%, var(--pink) 62%, var(--pink) 92%, transparent 92%); }
.c-hero .tijd{ font-variant-numeric:tabular-nums; }
.c-scene-wrap{ display:grid; gap:14px; justify-items:center; }
.c-scene{ position:relative; margin:0; width:100%; max-width:600px; }
.c-scene svg{ display:block; width:100%; height:auto; }
.c-scene .sc-a, .c-scene .sc-b{ transition:opacity .6s ease; }
.c-scene[data-scene="a"] .sc-b, .c-scene[data-scene="b"] .sc-a{ opacity:0; }
.zzz text{ animation:zweef 3.2s ease-in-out infinite; }
.zzz text:nth-child(2){ animation-delay:.5s; } .zzz text:nth-child(3){ animation-delay:1s; }
@keyframes zweef{ 0%,100%{ transform:translateY(0); opacity:.35; } 50%{ transform:translateY(-8px); opacity:1; } }
.twinkel{ transform-box:fill-box; transform-origin:center; animation:twinkel 2.6s ease-in-out infinite; }
.twinkel.t2{ animation-delay:1.3s; }
@keyframes twinkel{ 0%,100%{ transform:scale(.6); opacity:.5; } 50%{ transform:scale(1); opacity:1; } }
.telgloed{ animation:gloed 2s ease-in-out infinite; }
@keyframes gloed{ 0%,100%{ opacity:.55; } 50%{ opacity:1; } }

.c-bubble{ position:absolute; z-index:2; display:flex; align-items:center; gap:10px; padding:9px 14px 9px 9px; border-radius:18px; background:var(--surface);
  border:2px solid var(--line); box-shadow:var(--shadow); line-height:1.2; animation:plop .5s cubic-bezier(.2,1.4,.4,1) both; }
.c-bubble b{ display:block; font-size:.92rem; }
.c-bubble small{ display:block; font-size:.8rem; font-weight:700; color:var(--muted); }
.c-bubble[hidden]{ display:none; }
.cb-ic{ display:grid; place-items:center; width:34px; height:34px; border-radius:12px; color:var(--on-pastel); flex:none; }
.cb-ic svg{ width:20px; height:20px; }
.cb-ic.mint{ background:var(--mint); } .cb-ic.lilac{ background:var(--lilac); } .cb-ic.peach{ background:var(--peach); }
.cb1{ right:-2%; top:25%; animation-delay:.15s; }
.cb2{ left:0; top:30%; animation-delay:.45s; }
.cb3{ right:6%; bottom:-2%; animation-delay:.75s; }
@keyframes plop{ from{ opacity:0; transform:translateY(10px) scale(.92); } to{ opacity:1; transform:none; } }

.c-scene-knoppen{ display:inline-flex; gap:4px; padding:4px; border-radius:999px; background:var(--surface); border:2px solid var(--line); }
.c-scene-knoppen button{ font:inherit; font-weight:800; font-size:.92rem; color:var(--muted); border:0; background:transparent; padding:8px 16px; border-radius:999px; cursor:pointer; }
.c-scene-knoppen button b{ font-family:"Baloo 2", system-ui, sans-serif; margin-right:4px; }
.c-scene-knoppen button[aria-pressed="true"]{ background:var(--night); color:#FCEFE6; }
@media (max-width:900px){
  .c-hero{ grid-template-columns:1fr; gap:22px; padding-top:16px; }
  .c-scene{ margin-top:10px; }
}
@media (max-width:560px){
  .c-bubble{ padding:6px 10px 6px 6px; gap:7px; border-radius:14px; }
  .c-bubble b{ font-size:.78rem; } .c-bubble small{ font-size:.7rem; }
  .cb-ic{ width:26px; height:26px; border-radius:9px; } .cb-ic svg{ width:16px; height:16px; }
  .cb2{ top:22%; } .cb1{ top:40%; right:0; } .cb3{ bottom:-6%; right:0; }
  .c-scene-knoppen button{ padding:7px 14px; font-size:.88rem; } .c-scene-knoppen .lang{ display:none; }
}

/* drie dingen die je doet, in de hero */
.c-doe{ list-style:none; padding:0; margin:24px 0 0; display:grid; gap:10px; }
.c-doe a{ display:inline-flex; align-items:center; gap:12px; text-decoration:none; font-weight:800; font-size:1.15rem; }
.c-doe .num{ width:34px; height:34px; font-size:.95rem; }
.c-doe li:nth-child(2) .num{ background:var(--lilac); box-shadow:0 3px 0 var(--lilac-deep); }
.c-doe li:nth-child(3) .num{ background:var(--mint); box-shadow:0 3px 0 var(--mint-deep); }
.c-doe li:nth-child(4) .num{ background:var(--pink); box-shadow:0 3px 0 #EE8FA8; }
.c-doe a:hover{ text-decoration:underline; text-decoration-thickness:2px; text-underline-offset:4px; text-decoration-color:var(--peach-deep); }

/* ---------- demo-blokken ---------- */
.c-demo{ max-width:1160px; margin:0 auto; padding-top:80px; padding-bottom:40px; display:grid; grid-template-columns:1fr 1fr; gap:48px; align-items:center; position:relative; }
.c-demo.rev .c-demo-txt{ order:2; }
.c-demo h2{ font-size:clamp(1.9rem, 3.6vw, 2.6rem); margin-bottom:14px; }
.c-demo-txt > p:not(.eyebrow){ color:var(--muted); font-weight:600; font-size:1.08rem; }
.c-demo-txt > p b{ color:var(--ink); }
.c-demo-txt > p.small{ font-size:.9rem; margin-top:14px; }
.c-stamp{ grid-column:1 / -1; display:flex; align-items:center; gap:12px; margin-bottom:-18px; }
.c-stamp b{ font-family:"Baloo 2", system-ui, sans-serif; font-size:1.6rem; line-height:1; padding:8px 14px; border-radius:16px; background:var(--night); color:#FCEFE6; }
.c-stamp span{ font-weight:800; color:var(--muted); }
.c-stamp::after{ content:""; flex:1; height:3px; border-radius:3px; background:var(--line); }
@media (max-width:900px){
  .c-demo{ grid-template-columns:1fr; gap:26px; padding-top:56px; }
  .c-demo.rev .c-demo-txt{ order:0; }
  .c-stamp{ margin-bottom:-6px; }
}

/* voordelen naast het scherm */
.c-voordelen{ list-style:none; padding:0; margin:22px 0 0; display:grid; gap:16px; }
.c-voordelen li{ display:flex; gap:14px; align-items:flex-start; color:var(--muted); font-weight:600; line-height:1.45; }
.c-voordelen b{ display:block; color:var(--ink); font-size:1.08rem; }
.c-vd-ic{ display:grid; place-items:center; width:44px; height:44px; border-radius:15px; flex:none; color:var(--on-pastel); background:var(--peach); box-shadow:0 3px 0 var(--peach-deep); }
.c-vd-ic svg{ width:24px; height:24px; }
.c-voordelen li:nth-child(2) .c-vd-ic{ background:var(--lilac); box-shadow:0 3px 0 var(--lilac-deep); }
.c-voordelen li:nth-child(3) .c-vd-ic{ background:var(--mint); box-shadow:0 3px 0 var(--mint-deep); }
.c-voordelen li:nth-child(4) .c-vd-ic{ background:var(--pink); box-shadow:0 3px 0 #EE8FA8; }

/* ---------- nagebootste telefoons ---------- */
.c-phones{ display:flex; justify-content:center; align-items:flex-start; gap:22px; }
.mock{ width:300px; flex:none; display:grid; gap:10px; justify-items:center; }
.mock-screen{ position:relative; width:100%; height:540px; overflow:hidden; border-radius:40px; border:9px solid var(--phone); background:linear-gradient(#FDE7EA, #FFF3F1 60%);
  box-shadow:var(--shadow); padding:16px 14px; color:#3B2D4A; --line:#F3DEDD; --surface:#fff; --muted:#85769A; }
.m-top{ display:flex; align-items:center; gap:7px; }
.m-top img{ border-radius:8px; }
.m-top b{ font-family:"Baloo 2", system-ui, sans-serif; font-size:1.15rem; }
.m-live{ margin-left:auto; display:inline-flex; align-items:center; gap:5px; font-size:.72rem; font-weight:800; color:var(--muted); }
.m-live i{ width:7px; height:7px; border-radius:50%; background:#6FBFA2; box-shadow:0 0 0 3px rgba(111,191,162,.25); }
.m-tabs{ display:flex; gap:4px; margin:12px 0 4px; padding:4px; border-radius:16px; background:rgba(255,255,255,.6); font-size:.8rem; font-weight:800; color:var(--muted); }
.m-tabs span{ flex:1; text-align:center; padding:6px 0; border-radius:12px; }
.m-tabs .on{ background:#FFC98B; color:#3B2D4A; }
.m-lbl{ display:flex; align-items:center; justify-content:center; gap:5px; margin-top:10px; font-size:.72rem; font-weight:800; letter-spacing:.08em; text-transform:uppercase; color:var(--muted); }
.m-lbl svg{ width:15px; height:15px; color:#E8A25A; }

.m-klok{ position:relative; width:164px; height:164px; margin:6px auto 0; }
.m-klok svg{ width:100%; height:100%; }
#klokRing{ transition:stroke-dashoffset .9s cubic-bezier(.3,1.2,.4,1); }
.m-klok-txt{ position:absolute; inset:20px; border-radius:50%; background:#fff; display:grid; place-content:center; justify-items:center; text-align:center; line-height:1.15; }
.m-klok-txt span{ font-size:.78rem; font-weight:800; color:var(--muted); }
.m-klok-txt b{ font-family:"Baloo 2", system-ui, sans-serif; font-size:1.75rem; line-height:1.05; }
.m-klok-txt small{ font-size:.7rem; font-weight:700; color:var(--muted); }
.m-klok-txt em{ margin-top:5px; font-style:normal; font-size:.66rem; white-space:nowrap; font-weight:800; display:inline-flex; align-items:center; gap:4px; padding:2px 8px; border-radius:999px; background:#FBE9E8; }
.m-klok.flits .m-klok-txt{ animation:flits .6s ease; }
@keyframes flits{ 30%{ transform:scale(1.06); } }

.m-slaap{ display:flex; align-items:center; gap:9px; width:100%; margin-top:12px; padding:7px 7px 7px 9px; border:0; border-radius:16px; background:#E8EEFD; color:#3B2D4A; font:inherit; text-align:left; cursor:pointer; box-shadow:0 4px 0 #B7C6F4; transition:background .3s, transform .1s, box-shadow .1s; }
.m-slaap:active{ transform:translateY(3px); box-shadow:0 1px 0 #B7C6F4; }
.m-slaap[data-state="slaapt"]{ background:#B7C6F4; box-shadow:0 4px 0 #7F95DA; }
.m-slaap-ic{ display:grid; place-items:center; width:30px; height:30px; border-radius:50%; background:#B7C6F4; flex:none; }
.m-slaap[data-state="slaapt"] .m-slaap-ic{ background:rgba(255,255,255,.55); }
.m-slaap-ic svg{ width:18px; height:18px; }
.m-slaap-txt{ flex:1; line-height:1.15; }
.m-slaap-txt b{ display:block; font-size:.82rem; }
.m-slaap-txt small{ font-size:.7rem; font-weight:700; color:var(--muted); }
.m-btns{ display:grid; grid-template-columns:1fr; gap:10px; margin-top:12px; }
.m-big{ font:inherit; color:#3B2D4A; border:0; border-radius:22px; padding:12px 8px 10px; display:grid; justify-items:center; gap:2px; cursor:pointer; transition:transform .1s, box-shadow .1s; }
.m-big b{ font-family:"Baloo 2", system-ui, sans-serif; font-size:1.2rem; line-height:1; }
.m-big small{ font-size:.72rem; font-weight:700; }
.m-big.peach{ background:#FFC98B; box-shadow:0 5px 0 #E8A25A; }
.m-big.lilac{ background:#CDBAF6; box-shadow:0 5px 0 #A68BE1; }
.m-big:active{ transform:translateY(4px); box-shadow:0 1px 0 rgba(0,0,0,.15); }
.m-big-ic{ display:grid; place-items:center; width:38px; height:38px; border-radius:50%; background:rgba(255,255,255,.55); }
.m-big-ic svg{ width:22px; height:22px; }
/* Voeden: een brede knop zoals in de app, met de vorige voeding eronder */
.m-big.breed{ display:flex; align-items:center; gap:10px; padding:10px 12px; text-align:left; }
.m-big.breed .m-big-ic{ flex:none; }

.m-borst{ display:grid; gap:8px; }
.m-borst[hidden], .m-count[hidden]{ display:none; }
.m-big.wijs{ animation:wijs 1.4s ease-in-out infinite; }
@keyframes wijs{ 0%,100%{ box-shadow:0 5px 0 #E8A25A, 0 0 0 0 rgba(255,201,139,.8); } 50%{ box-shadow:0 5px 0 #E8A25A, 0 0 0 9px rgba(255,201,139,0); } }

.m-luier{ display:flex; align-items:center; gap:5px; margin-top:12px; padding:8px; border-radius:18px; background:#DDF3EA; }
.m-luier-lbl{ display:inline-flex; align-items:center; gap:5px; font-weight:800; font-size:.8rem; margin-right:auto; padding-left:4px; }
.m-luier-lbl svg{ width:18px; height:18px; }
.m-luier button, .m-chips button{ font:inherit; font-size:.76rem; font-weight:800; color:#3B2D4A; border:2px solid var(--line); background:#fff; border-radius:999px; padding:5px 9px; cursor:pointer; }
.m-luier button:active{ transform:translateY(2px); }

.m-toast{ position:absolute; left:10px; right:10px; bottom:12px; z-index:3; display:grid; gap:8px; padding:12px; border-radius:18px; background:#3B2D4A; color:#FCEFE6;
  font-size:.82rem; font-weight:800; box-shadow:0 10px 30px -10px rgba(0,0,0,.5); animation:omhoog .35s ease both; }
.m-toast-knoppen{ display:flex; gap:8px; }
.m-toast button{ font:inherit; font-size:.8rem; font-weight:800; border:0; border-radius:999px; padding:6px 12px; cursor:pointer; }
#toastAanvullen{ background:#FFC98B; color:#3B2D4A; }
#toastOngedaan{ background:transparent; color:#FCEFE6; border:2px solid rgba(255,255,255,.3); }
.pulse{ animation:pulse 1.4s ease-in-out infinite; }
@keyframes pulse{ 0%,100%{ box-shadow:0 0 0 0 rgba(255,201,139,.8); } 50%{ box-shadow:0 0 0 7px rgba(255,201,139,0); } }
@keyframes omhoog{ from{ opacity:0; transform:translateY(16px); } to{ opacity:1; transform:none; } }

.m-sheet{ position:absolute; left:0; right:0; bottom:0; z-index:4; padding:10px 16px 16px; border-radius:26px 26px 0 0; background:#fff;
  box-shadow:0 -14px 40px -10px rgba(59,45,74,.35); animation:omhoog .35s ease both; display:grid; gap:8px; }
.m-sheet[hidden], .m-toast[hidden]{ display:none; }
.m-grab{ width:40px; height:5px; border-radius:3px; background:var(--line); margin:0 auto 2px; }
.m-sheet-head b{ font-family:"Baloo 2", system-ui, sans-serif; font-size:1.25rem; display:block; line-height:1.1; }
.m-sheet-head span{ font-size:.76rem; font-weight:700; color:var(--muted); }
.m-count{ display:flex; align-items:center; justify-content:space-between; padding:7px 8px 7px 10px; border-radius:14px; background:#FBE9E8; font-size:.8rem; font-weight:800; }
.m-count > span:first-child{ display:inline-flex; align-items:center; gap:6px; }
.cic{ width:10px; height:10px; border-radius:50%; } .cic.pink{ background:#F9B4C4; } .cic.mint{ background:#A6DDC9; }
.m-stepper{ display:inline-flex; align-items:center; gap:4px; }
.m-stepper button{ font:inherit; font-weight:800; width:28px; height:28px; border-radius:50%; border:2px solid var(--line); background:#fff; color:#3B2D4A; cursor:pointer; line-height:1; }
.m-stepper output{ min-width:30px; text-align:right; font-family:"Baloo 2", system-ui, sans-serif; font-size:1.05rem; }
.m-stepper small{ font-size:.7rem; color:var(--muted); margin-right:2px; }
.m-flbl{ font-size:.74rem; font-weight:800; color:var(--muted); margin-top:2px; }
.m-flbl em{ font-style:normal; font-weight:600; }
.m-chips{ display:flex; flex-wrap:wrap; gap:5px; }
.m-chips button[aria-pressed="true"]{ background:#FFC98B; border-color:#E8A25A; }
.m-save{ font:inherit; font-weight:800; margin-top:6px; padding:11px; border:0; border-radius:999px; background:#FFC98B; box-shadow:0 4px 0 #E8A25A; color:#3B2D4A; cursor:pointer; }

.m-kop{ font-family:"Baloo 2", system-ui, sans-serif; font-size:1.25rem; margin:14px 0 6px; }
.m-log{ list-style:none; margin:0; padding:0; display:grid; gap:7px; }
.m-log li{ display:flex; align-items:center; gap:9px; padding:8px 10px; border-radius:14px; background:#272043; border:2px solid var(--line); line-height:1.2; }
.m-log li b{ display:block; font-size:.84rem; }
.m-log li small{ font-size:.72rem; font-weight:700; color:var(--muted); }
.m-log-t{ font-family:"Baloo 2", system-ui, sans-serif; font-weight:700; font-size:.9rem; min-width:38px; }
.m-log-ic{ display:grid; place-items:center; width:28px; height:28px; border-radius:9px; color:#3B2D4A; flex:none; }
.m-log-ic svg{ width:17px; height:17px; }
.m-log-ic.peach{ background:#FFC98B; } .m-log-ic.mint{ background:#A6DDC9; } .m-log-ic.lilac{ background:#CDBAF6; }
.m-log li.nieuw{ animation:nieuw 1.6s ease both; }
@keyframes nieuw{ 0%{ opacity:0; transform:translateY(-8px); border-color:#FFC98B; } 30%{ opacity:1; transform:none; border-color:#FFC98B; } 100%{ border-color:#383060; } }

@media (max-width:700px){
  .c-phones{ flex-direction:column; align-items:center; }
}

/* ---------- slaap van de baby ---------- */
.m-dag{ height:auto !important; min-height:560px; }
.m-dag .m-slaap{ margin-top:14px; padding:10px 10px 10px 12px; }
.m-dag .m-slaap-txt b{ font-size:.95rem; } .m-dag .m-slaap-txt small{ font-size:.76rem; }
.m-moe{ margin-top:8px; padding:11px 12px; border-radius:16px; background:#fff; border:2px solid var(--line); }
.m-moe[hidden]{ display:none; }
.m-moe p{ font-size:.8rem; font-weight:800; line-height:1.3; }
.m-moe-balk{ margin-top:8px; height:10px; border-radius:999px; background:#FBE9E8; overflow:hidden; }
.m-moe-balk span{ display:block; height:100%; width:0; border-radius:999px; background:#FFE08A; transition:width .5s ease, background .4s; }
.m-moe.moe .m-moe-balk span{ background:#CDBAF6; }
.m-moe.moe{ border-color:#CDBAF6; }
.m-moe-as{ display:flex; justify-content:space-between; margin-top:4px; font-size:.66rem; font-weight:800; color:var(--muted); }
.m-dag-lijn{ position:relative; height:26px; border-radius:9px; background:#FFF4CC; overflow:hidden; }
.m-dag-lijn span{ position:absolute; top:0; bottom:0; transition:width .5s ease; }
.m-dag-lijn .nacht{ background:#7A64B8; } .m-dag-lijn .dutje{ background:#CDBAF6; }
.m-dag-lijn .dutje.loopt{ background:repeating-linear-gradient(45deg, #CDBAF6 0 6px, #DCCDF9 6px 12px); }
.m-dag-lijn .nu-mark{ position:absolute; top:-2px; bottom:-2px; width:3px; margin-left:-1.5px; border-radius:2px; background:#3B2D4A; transition:left .5s ease; }
.m-dag-lijn .moe-mark{ position:absolute; top:3px; bottom:3px; width:0; border-left:2px dashed #A68BE1; }
.m-dag-as{ display:flex; justify-content:space-between; margin:3px 0 10px; font-size:.64rem; font-weight:800; color:var(--muted); }
.m-log.licht li{ background:#fff; border-color:var(--line); padding:7px 9px; }
.c-tijd{ display:flex; align-items:center; gap:10px; width:100%; padding:8px 14px; border-radius:999px; background:var(--surface); border:2px solid var(--line); font-weight:800; font-size:.86rem; color:var(--muted); }
.c-tijd input{ flex:1; accent-color:var(--peach-deep); }
.c-tijd output{ font-family:"Baloo 2", system-ui, sans-serif; font-size:1.05rem; color:var(--ink); min-width:44px; text-align:right; font-variant-numeric:tabular-nums; }

/* ---------- schema ---------- */
.c-phones.single .mock{ width:320px; }
.c-phones.single .mock-screen{ height:640px; display:flex; flex-direction:column; }
.m-scroll{ flex:1; overflow-y:auto; margin:4px -6px 0; padding:0 6px 30px; overscroll-behavior:contain; scrollbar-width:thin; }
.m-scroll:focus-visible{ outline-offset:-3px; }
.m-fade{ position:absolute; left:0; right:0; bottom:0; height:40px; background:linear-gradient(transparent, #FFF3F1); pointer-events:none; }
.m-sub{ font-size:.76rem; font-weight:700; color:var(--muted); margin:-4px 0 10px; }
.m-sched{ list-style:none; margin:0; padding:0; display:grid; gap:8px; }
.m-sched li.deel{ font-size:.7rem; font-weight:800; letter-spacing:.08em; text-transform:uppercase; color:var(--muted); padding:8px 2px 0; }
.m-item{ display:grid; grid-template-columns:62px 34px 1fr; gap:9px; align-items:center; padding:10px; border-radius:18px; border:2px dashed var(--line); background:rgba(255,255,255,.55); animation:plop .35s ease both; }
.m-item.gepland{ border-style:solid; background:#fff; }
.m-item-t b{ display:block; font-family:"Baloo 2", system-ui, sans-serif; font-size:1.12rem; line-height:1; }
.m-item-t small{ font-size:.64rem; font-weight:700; color:var(--muted); }
.m-item-ic{ display:grid; place-items:center; width:34px; height:34px; border-radius:11px; color:#3B2D4A; }
.m-item-ic svg{ width:19px; height:19px; }
.m-item-ic.peach{ background:#FFC98B; } .m-item-ic.lilac{ background:#CDBAF6; } .m-item-ic.blue{ background:#A9DCEB; }
.m-item-txt{ min-width:0; line-height:1.2; }
.m-item-txt b{ font-size:.86rem; }
.m-item-txt small{ display:block; font-size:.68rem; font-weight:700; color:var(--muted); margin-top:2px; }
.m-badge{ display:inline-flex; align-items:center; gap:4px; margin-left:4px; padding:1px 7px; border-radius:999px; background:#FBE9E8; font-size:.68rem; font-weight:800; vertical-align:1px; }
.m-badge.wissel{ animation:flits .5s ease; }
.m-ruil{ font:inherit; font-size:.66rem; font-weight:800; color:#3B2D4A; border:2px solid var(--line); background:#fff; border-radius:999px; padding:1px 7px; margin-left:4px; cursor:pointer; vertical-align:1px; }
.m-ruil:hover{ border-color:#E8A25A; }

/* instellingen in het schema-scherm */
.m-inst{ display:grid; gap:7px; margin-bottom:10px; padding:9px; border-radius:16px; background:rgba(255,255,255,.7); border:2px solid var(--line); }
.m-seg{ display:flex; gap:3px; padding:3px; border-radius:12px; background:#FBE9E8; }
.m-seg button{ flex:1; font:inherit; font-size:.76rem; font-weight:800; color:var(--muted); border:0; background:transparent; border-radius:9px; padding:5px 0; cursor:pointer; }
.m-seg button[aria-pressed="true"]{ background:#FFC98B; color:#3B2D4A; }
.m-dienst{ display:flex; gap:6px; align-items:center; }
.m-dienst-balk{ flex:1; display:flex; border-radius:11px; overflow:hidden; border:2px solid var(--line); font-size:.74rem; font-weight:800; }
.m-dienst-balk span{ flex:1; display:flex; align-items:center; gap:5px; padding:5px 8px; background:#fff; }
.m-dienst-balk span + span{ border-left:2px solid var(--line); }
.m-dienst-balk.wissel span{ animation:flits .5s ease; }
#dienstWissel{ font:inherit; font-size:1rem; font-weight:800; width:32px; height:32px; flex:none; border-radius:50%; border:2px solid var(--line); background:#fff; color:#3B2D4A; cursor:pointer; }
#dienstWissel:hover{ border-color:#E8A25A; }
.m-kolf{ display:flex; align-items:center; gap:8px; font-size:.76rem; font-weight:800; cursor:pointer; }
.m-kolf input{ position:absolute; opacity:0; width:1px; height:1px; }
.m-kolf span{ position:relative; width:34px; height:20px; border-radius:999px; background:var(--line); transition:background .2s; flex:none; }
.m-kolf span::after{ content:""; position:absolute; left:3px; top:3px; width:14px; height:14px; border-radius:50%; background:#fff; transition:transform .2s; }
.m-kolf input:checked + span{ background:#A68BE1; }
.m-kolf input:checked + span::after{ transform:translateX(14px); }
.m-kolf input:focus-visible + span{ outline:3px solid #A68BE1; outline-offset:2px; }

/* ---------- inzicht ---------- */
.m-ov{ height:auto !important; min-height:520px; }
.m-ov .m-seg{ margin-top:14px; }
.m-ov .m-seg button{ flex:auto; padding:5px 7px; font-size:.72rem; }
.m-ov-tegel{ margin-top:12px; padding:12px 14px; border-radius:16px; background:#fff; border:2px solid var(--line); line-height:1.15; }
.m-ov-tegel b{ display:block; font-family:"Baloo 2", system-ui, sans-serif; font-size:1.5rem; }
.m-ov-tegel small{ font-size:.74rem; font-weight:700; color:var(--muted); }
.m-ov-grafiek{ margin-top:12px; padding:12px 10px 10px; border-radius:16px; background:#fff; border:2px solid var(--line); animation:plop .35s ease both; }
.ov-staven{ position:relative; display:flex; gap:6px; height:170px; }
.ov-staven button{ flex:1; display:flex; flex-direction:column; justify-content:flex-end; align-items:stretch; gap:4px; padding:0; border:0; background:none; cursor:pointer; font:inherit; }
.ov-stapel{ height:150px; display:flex; flex-direction:column; justify-content:flex-end; border-radius:8px; overflow:hidden; }
.ov-stapel span{ display:block; transition:height .4s ease; }
.ov-stapel .nat{ background:#A6DDC9; } .ov-stapel .poep{ background:#FFC98B; } .ov-stapel .ml{ background:#F9B4C4; border-radius:8px 8px 0 0; }
.ov-staven small{ height:16px; font-size:.66rem; font-weight:800; color:var(--muted); text-align:center; }
.ov-staven button[aria-pressed="true"] small{ color:#3B2D4A; }
.ov-staven button[aria-pressed="true"] .ov-stapel{ box-shadow:0 0 0 2px #3B2D4A; }
.ov-staven button:not([aria-pressed="true"]) .ov-stapel{ opacity:.75; }
.ov-lijn{ position:absolute; left:0; right:0; height:0; border-top:2px dashed #85769A; pointer-events:none; }
.ov-lijn em{ position:absolute; right:0; top:-17px; font-style:normal; font-size:.62rem; font-weight:800; color:#85769A; background:#fff; padding:0 3px; border-radius:4px; }
.ov-legenda{ display:flex; gap:12px; margin-top:8px; font-size:.7rem; font-weight:800; color:var(--muted); }
.ov-legenda i{ display:inline-block; width:9px; height:9px; border-radius:3px; margin-right:4px; vertical-align:-1px; }
.ov-legenda .nat{ background:#A6DDC9; } .ov-legenda .poep{ background:#FFC98B; }
.ov-tijden{ position:relative; display:grid; gap:6px; }
.ov-rij{ display:grid; grid-template-columns:20px 1fr; gap:6px; align-items:center; }
.ov-rij small{ font-size:.64rem; font-weight:800; color:var(--muted); }
.ov-spoor{ position:relative; height:14px; border-radius:7px; background:#FBE9E8; }
.ov-spoor i{ position:absolute; top:3px; width:8px; height:8px; margin-left:-4px; border-radius:50%; background:#E8A25A; }
.ov-rij.as span{ display:flex; justify-content:space-between; font-size:.6rem; font-weight:800; color:var(--muted); }
.ov-rij.as b{ font-weight:800; }
.ov-druk{ position:absolute; top:-4px; bottom:16px; width:calc((100% - 26px) / 8); border-radius:4px; background:rgba(205,186,246,.45); }
.ov-gewicht{ display:block; width:100%; height:auto; }
.ov-gewicht line{ stroke:#F3DEDD; stroke-width:1; }
.ov-gewicht text{ font:800 9px "Nunito", system-ui, sans-serif; fill:#85769A; }
.ov-gewicht polyline{ fill:none; stroke:#A68BE1; stroke-width:3; stroke-linejoin:round; stroke-linecap:round; }
.ov-gewicht g{ cursor:pointer; }
.ov-gewicht g circle{ fill:#fff; stroke:#A68BE1; stroke-width:2.5; }
.ov-gewicht g circle.raak{ fill:transparent; stroke:none; }
.ov-gewicht g.aan circle:not(.raak){ fill:#3B2D4A; stroke:#3B2D4A; }
.m-ov-noot{ margin-top:10px; font-size:.72rem; font-weight:700; color:var(--muted); line-height:1.35; }

/* ---------- alles in Quisa: tabbladen ---------- */
.c-alles{ max-width:1160px; margin:80px auto 0; padding:56px 28px; border-radius:40px; background:var(--surface-2); }
.c-alles-head{ text-align:center; max-width:640px; margin:0 auto; }
.c-alles-head h2{ font-size:clamp(1.9rem, 3.6vw, 2.6rem); margin-bottom:10px; }
.c-alles-head p:last-child{ color:var(--muted); font-weight:600; }
.c-tabs{ display:flex; gap:8px; justify-content:center; margin:28px auto 22px; overflow-x:auto; padding:4px 4px 8px; scrollbar-width:none; }
.c-tabs::-webkit-scrollbar{ display:none; }
.c-tabs button{ font:inherit; font-weight:800; color:var(--muted); display:inline-flex; align-items:center; gap:8px; padding:10px 18px; border-radius:999px;
  border:2px solid var(--line); background:var(--surface); cursor:pointer; white-space:nowrap; flex:none; box-shadow:0 3px 0 var(--line); }
.c-tabs svg{ width:20px; height:20px; }
.c-tabs button[aria-selected="true"]{ color:var(--on-pastel); background:var(--peach); border-color:var(--peach-deep); box-shadow:0 3px 0 var(--peach-deep); }
.c-panel{ display:grid; grid-template-columns:.8fr 1.2fr; gap:28px; align-items:center; max-width:960px; margin:0 auto; padding:30px; border-radius:30px; background:var(--surface); border:2px solid var(--line); animation:plop .35s ease both; }
.c-panel[hidden]{ display:none; }
.c-panel h3{ font-size:1.8rem; margin-bottom:8px; }
.c-panel-txt p{ color:var(--muted); font-weight:600; }
.c-panel ul{ list-style:none; margin:0; padding:0; display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.c-panel li{ padding:16px; border-radius:20px; color:var(--muted); font-weight:600; font-size:.94rem; line-height:1.4; }
.c-panel li b{ display:block; color:var(--ink); font-size:1.02rem; margin-bottom:3px; }
.c-panel.peach li{ background:var(--peach-soft); } .c-panel.lilac li{ background:var(--lilac-soft); } .c-panel.mint li{ background:var(--mint-soft); }
.c-panel.sun li{ background:var(--sun-soft); } .c-panel.pink li{ background:var(--pink-soft); }
@media (max-width:860px){
  .c-alles{ margin:56px 12px 0; padding:40px 16px; border-radius:30px; }
  .c-tabs{ justify-content:flex-start; }
  .c-panel{ grid-template-columns:1fr; padding:20px; gap:16px; }
}
@media (max-width:480px){ .c-panel ul{ grid-template-columns:1fr; } }


@media (prefers-reduced-motion: reduce){
  .zzz text, .twinkel, .telgloed, .m-ov-grafiek, .pulse, .m-big.wijs, .c-bubble, .m-item, .c-panel, .m-log li.nieuw, .m-toast, .m-sheet{ animation:none !important; }
  #klokRing{ transition:none; }
}
