/* Proefles page */
.book { padding-bottom: 120px; }
.back { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; font-weight: 600; color: #dfe9e3; padding: 10px 8px; }
.book-main { padding: 36px 0 40px; max-width: 900px; }
.book-head { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 28px; align-items: center; margin-bottom: 34px; }
.book-head img { border-radius: var(--r); aspect-ratio: 5 / 4; object-fit: cover; width: 100%; }
.book-head h1 { font-size: clamp(34px, 5vw, 50px); font-weight: 500; }
.book-head p { margin-top: 10px; color: var(--muted); }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; margin-bottom: 18px; }
.step h2 { font: 650 20px/1.3 var(--sans); display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.step h2 > span:first-child { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--green); color: #fff; font-size: 15px; flex: none; }
.acts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.acts .opt small { min-height: 2.6em; }
.sub-h { font: 700 13px/1.3 var(--sans); text-transform: uppercase; letter-spacing: .08em; color: var(--sage); margin: 18px 0 8px; }
.sub-h:first-child { margin-top: 0; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; }
.slot { text-align: left; border: 1.5px solid var(--line); background: #fff; border-radius: 12px; padding: 12px 14px; display: grid; gap: 2px; }
.slot b { font-size: 16px; }
.slot small { color: var(--muted); font-size: 13.5px; }
.slot:hover:not(:disabled) { border-color: var(--sage); }
.slot[aria-pressed="true"] { border-color: var(--plum); background: var(--plum-l); box-shadow: inset 0 0 0 1px var(--plum); }
.slot:disabled { opacity: .5; cursor: not-allowed; }
.slot .badge { justify-self: start; margin-top: 4px; }
.daystrip { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.daystrip::-webkit-scrollbar { display: none; }
.daystrip .slot { flex: 0 0 92px; text-align: center; }
.parts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.hint { margin-top: 12px; color: var(--muted); font-size: 15px; }
.empty-l { color: var(--muted); }
.abo-box { background: var(--plum-l); border-radius: 12px; padding: 14px 16px; margin-bottom: 18px; display: grid; gap: 8px; }
.check { display: flex; gap: 10px; align-items: center; font-weight: 600; }
.check input { width: 20px; height: 20px; accent-color: var(--plum); }
.goals { border: 0; padding: 0; margin: 0 0 16px; min-width: 0; }
.goals legend { font-weight: 650; margin-bottom: 10px; padding: 0; }
.goals legend small { font-weight: 400; color: var(--muted); margin-left: 6px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; }
.chips span { display: inline-flex; min-height: 40px; align-items: center; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-size: 15px; cursor: pointer; }
.chips input:checked + span { border-color: var(--plum); background: var(--plum-l); color: var(--plum-d); font-weight: 600; }
.chips input:focus-visible + span { outline: 3px solid var(--glow); outline-offset: 2px; }
.fields { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.field { display: grid; gap: 6px; font-weight: 600; font-size: 15px; }
.field small { font-weight: 400; color: var(--muted); }
.field-wide { grid-column: 1 / -1; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--plum); }
.demo { margin-top: 12px; }
.err { margin-top: 10px; color: #a3122f; font-weight: 600; }
.bar-bottom { position: fixed; left: 0; right: 0; bottom: 0; z-index: 35; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(0, 0, 0, .06); }
.bar-in { display: flex; align-items: center; gap: 14px; min-height: 68px; padding-bottom: 26px; padding-top: 10px; }
#bar-sum { flex: 1; min-width: 0; font-size: 15px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#send:disabled { opacity: .45; cursor: not-allowed; }
.link { background: none; border: 0; color: var(--plum); font-weight: 650; text-decoration: underline; text-underline-offset: 3px; padding: 10px 0; margin-top: 10px; }

/* the proefpas */
.pass-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.pass { position: relative; overflow: hidden; background: var(--forest); color: #fff; border-radius: 18px; padding: 22px 24px 20px; aspect-ratio: 1.586;
  box-shadow: 0 20px 40px rgba(11, 42, 31, .28); display: grid; align-content: space-between; gap: 8px; animation: pass-in .5s ease-out both; }
.pass::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--plum); }
.pass-art { position: absolute; right: -40px; bottom: -50px; width: 240px; height: 240px; fill: none; stroke: rgba(240, 199, 230, .18); stroke-width: .8; }
.pass-top { display: flex; align-items: center; justify-content: space-between; }
.pass-top .pass-k { font: 800 13px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: #f0c7e6; }
.pass-name { font: 500 26px/1.1 var(--serif); margin-top: 18px; position: relative; }
.pass dl { margin: 0; display: grid; gap: 6px; position: relative; }
.pass dl div { display: grid; grid-template-columns: 76px 1fr; gap: 8px; font-size: 14.5px; }
.pass dt { color: #a9bcb1; }
.pass dd { margin: 0; font-weight: 600; }
.pass-no { font: 600 12.5px/1 var(--sans); letter-spacing: .12em; color: #a9bcb1; position: relative; }
@keyframes pass-in { from { transform: translateY(16px) rotate(-2deg); opacity: 0; } }
.after h2 { font-size: 32px; font-weight: 500; }
.after > p { margin-top: 8px; color: var(--muted); }
.after h3 { font: 700 13px/1.3 var(--sans); text-transform: uppercase; letter-spacing: .08em; color: var(--sage); margin: 22px 0 10px; }
.after-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

@media (max-width: 760px) {
  .book-main { padding-top: 20px; }
  .book-head { grid-template-columns: minmax(0, 1fr); gap: 16px; margin-bottom: 22px; }
  .book-head img { aspect-ratio: 16 / 9; }
  .step { padding: 18px 16px; }
  .fields { grid-template-columns: minmax(0, 1fr); }
  .acts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .acts .opt { padding: 12px; }
  .acts .opt b { font-size: 15.5px; }
  .acts .opt small { min-height: 0; font-size: 13px; }
  .parts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pass-wrap { grid-template-columns: minmax(0, 1fr); }
  .pass { aspect-ratio: auto; min-height: 220px; }
  .after-btns .btn { flex: 1 1 100%; }
  .bar-in { padding-bottom: 30px; }
}
@media (prefers-reduced-motion: reduce) { .pass { animation: none; } }
