/* Start heeft een rustige achtergrond; de oefenpagina's behouden hun huisstijl. */
body[data-page="home"] { background: #f6f7fb; }
body[data-page="home"] .site-header { position: static; box-shadow: none; }
body[data-page="home"] .site-main { max-width: 1120px; padding: 32px 28px; }
.home-intro { margin-bottom: 28px; }
.home-kicker { margin: 0 0 8px; color: var(--purple); font-size: 12px; font-weight: 750; letter-spacing: .09em; text-transform: uppercase; }
.home-intro h1 { margin: 0 0 8px; font-size: 34px; line-height: 1.2; letter-spacing: -.035em; }
.home-intro > p:last-child { margin: 0; color: var(--muted); font-size: 16px; }
.home-layout { display: grid; grid-template-columns: minmax(0,1fr) 270px; gap: 26px; align-items: start; }
.home-classes { grid-column: 1; grid-row: 1; min-width: 0; }
.home-classes > h2 { margin: 0 0 16px; font-size: 21px; }
.home-stage-title { margin: 0 0 10px; color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.home-levels,.home-years,.home-subjects,.home-subject-row { list-style: none; padding: 0; margin: 0; }
.home-levels { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.home-level { min-width: 0; padding: 16px; background: white; border: 1px solid #e0e3ec; border-radius: 12px; }
.home-level h4 { margin: 0 0 12px; font-size: 16px; }
.home-years { display: flex; flex-wrap: wrap; gap: 7px; }
.home-year { display: grid; place-items: center; min-width: 44px; min-height: 44px; border: 1px solid #dce0e9; border-radius: 8px; background: white; color: #334155; text-decoration: none; font-size: 15px; }
.home-year:hover,.home-subject:hover { border-color: var(--purple); background: #f4effc; color: #58309f; }
.home-classes .home-class-note { margin: 10px 0 24px; font-size: 12px; color: var(--muted); }
.home-subjects { display: grid; gap: 9px; }
.home-subject-row { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
.home-subject { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 48px; height: 100%; padding: 11px 14px; background: white; border: 1px solid #e0e3ec; border-radius: 9px; color: #334155; text-decoration: none; font-size: 14px; }
.home-subject span { color: var(--purple); }
.home-tools { grid-column: 2; grid-row: 1; display: grid; gap: 14px; min-width: 0; }
.home-tool { padding: 20px; border: 1px solid #e0e3ec; border-radius: 12px; background: white; }
.home-tool-icon { display: block; color: var(--purple); }
.home-tool h2 { margin: 10px 0 8px; font-size: 19px; }
.home-tool p { margin: 0 0 16px; font-size: 14px; color: var(--muted); }
.home-tool .button-link { padding: 10px 13px; font-size: 13px; text-align: center; background: white; color: var(--purple); }
.home-tool .primary { background: var(--purple); color: white; box-shadow: none; }
body[data-page="home"] .site-footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; margin-top: 28px; padding: 16px 0 0; border-top: 1px solid #e0e3ec; border-radius: 0; color: var(--muted); font-size: 12px; background: transparent; }
body[data-page="home"] .site-footer a { color: inherit; text-decoration: none; }
body[data-page="home"] .site-footer a:hover { text-decoration: underline; }
@media(max-width:1000px) {
  .home-layout { grid-template-columns: minmax(0,1fr) 250px; gap: 20px; }
  .home-level { padding: 12px; }
  .home-years { gap: 5px; }
}
@media(max-width:900px) {
  body[data-page="home"] .site-header { gap: 8px 20px; padding: 16px 20px; }
  body[data-page="home"] .site-nav { gap: 10px 20px; }
  body[data-page="home"] .site-main { padding: 24px 20px; }
  .home-intro { margin-bottom: 22px; }
  .home-intro h1 { font-size: 30px; }
  .home-intro > p:last-child { font-size: 15px; }
  .home-layout { grid-template-columns: minmax(0,1fr); gap: 24px; }
  .home-tools { grid-column: 1; grid-row: 1; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .home-classes { grid-column: 1; grid-row: 2; }
  .home-tool { padding: 14px; display: flex; flex-direction: column; }
  .home-tool h2 { font-size: 16px; margin: 0 0 10px; }
  .home-tool p,.home-tool-icon { display: none; }
  .home-tool .button-link { align-self: flex-start; margin-top: auto; padding: 10px; font-size: 13px; }
  .home-tool .button-link span { display: none; }
}
@media(max-width:520px) {
  body[data-page="home"] .site-header { padding: 12px 16px; }
  body[data-page="home"] .site-nav { gap: 4px 17px; }
  body[data-page="home"] .site-nav a { font-size: 13px; }
  body[data-page="home"] .site-main { padding: 24px 16px; }
  .home-intro h1 { font-size: 28px; }
  .home-levels { grid-template-columns: 1fr; gap: 10px; }
  .home-level { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
  .home-level h4 { margin: 0; }
  .home-subject-row { grid-template-columns: 1fr; }
  .home-tool { padding: 12px; }
  .home-tool .button-link { min-height: 58px; }
}
