:root {
  --blue-dark: #183b6b;
  --blue: #2457a6;
  --blue-light: #eef4ff;
  --orange: #f39a2d;
  --orange-dark: #db8216;
  --text: #1f2d3d;
  --muted: #5e6b7a;
  --white: #ffffff;
  --border: #dbe5f1;
  --bg: #f7faff;
  --shadow: 0 10px 30px rgba(24, 59, 107, 0.08);
  --radius: 18px;
  --container: 1200px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
bodyXXX { font-family: Arial, Helvetica, sans-serif; background: var(--bg); color: var(--text); line-height: 1.6; }

bodyOLD {
  font-family: Arial, Helvetica, sans-serif;
  background:
    linear-gradient(rgba(255,255,255,0.85), rgba(255,255,255,0.85)),
    url('/images/wiskunde-achtergrond.png');
  background-size: 450px;
  background-repeat: repeat;
  background-position: top center;
  color: var(--text);
  line-height: 1.6;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background-image: url('/images/wiskunde-achtergrond.png');
  background-size: 450px;
  background-repeat: repeat;
  background-position: top center;
  color: var(--text);
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
.container { width: min(100% - 32px, var(--container)); margin: 0 auto; }
.topbarXXX { background: var(--blue-dark); color: var(--white); position: sticky; top: 0; z-index: 100; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); }
.topbar { 
 background: #2ca0c9;
 background-image: url('/images/wrapper_bg.png');
 color: var(--white);
 position: sticky;
 top: 0;
 z-index: 100;
 box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
 }

.nav { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 12px 0; }
.logo { font-size: 1.35rem; font-weight: 700; letter-spacing: 0.2px; }
.logo small { display: block; font-size: 0.8rem; font-weight: 400; opacity: 0.8; margin-top: 2px; }
.menu { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
.menu a { color: rgba(255,255,255,0.95); font-size: 0.96rem; }
.menu a:hover { color: #dce8ff; }
.btn { display: inline-block; padding: 12px 20px; border-radius: 12px; font-weight: 700; transition: 0.2s ease; }
.btn-primaryXXX { background: var(--orange); color: var(--white); }
.btn-primary { background: #FF7A2F; color: var(--white); }
.btn-primary:hover { background: var(--orange-dark); }
.btn-secondary { background: var(--blue); color: var(--white); }
.btn-secondary:hover { background: #1d4a8f; }
.heroVVV { background: linear-gradient(180deg, #edf4ff 0%, #f7faff 100%); padding: 40px 0 20px; }

.hero {
  background: transparent;
  padding: 40px 0 20px;
}

.heroXXX {
  background:
    linear-gradient(rgba(237, 244, 255, 0.92), rgba(247, 250, 255, 0.95)),
    url('/images/wiskunde-achtergrond.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 40px 0 20px;
}

.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 28px; align-items: center; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.1; color: var(--blue-dark); margin-bottom: 14px; }
.hero p { font-size: 1.04rem; color: var(--muted); max-width: 720px; margin-bottom: 20px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-card { background: var(--white); border-radius: 24px; box-shadow: var(--shadow); border: 1px solid var(--border); padding: 18px; }
.hero-visual { min-height: 240px; display: grid; gap: 12px; align-content: center; }
.mock-video { background: #dce8ff; border-radius: 18px; height: 170px; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.play-btn { width: 64px; height: 64px; background: var(--orange); border-radius: 50%; position: relative; box-shadow: 0 10px 24px rgba(243, 154, 45, 0.35); }
.play-btn:before { content: ""; position: absolute; top: 50%; left: 53%; transform: translate(-50%, -50%); width: 0; height: 0; border-left: 16px solid white; border-top: 10px solid transparent; border-bottom: 10px solid transparent; }
.mini-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mini-box { background: var(--white); border: 1px solid var(--border); border-radius: 14px; padding: 14px; text-align: center; box-shadow: var(--shadow); }
.mini-box strong { display: block; color: var(--blue-dark); font-size: 1.1rem; margin-bottom: 4px; }
section { padding: 56px 0; }
.levels-section { padding-top: 30px; }
.section-head { text-align: center; margin-bottom: 34px; }
.section-head h2 { color: var(--blue-dark); font-size: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: 10px; }
.section-head p { color: var(--muted); max-width: 760px; margin: 0 auto; }
.levels, .cards-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.level-card, .content-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.level-top, .content-top { background: var(--blue-dark); color: var(--white); padding: 22px 24px; }
.level-top h3, .content-top h1 { font-size: 1.45rem; margin-bottom: 6px; }
.level-top p, .content-top p { opacity: 0.92; font-size: 0.97rem; }
.topic-list, .content-body { padding: 20px 24px 24px; }
.topic-list ul, .simple-list { list-style: none; display: grid; gap: 12px; margin-bottom: 18px; }
.topic-list li a, .simple-list li a { display: block; background: #f8fbff; border: 1px solid var(--border); padding: 12px 14px; border-radius: 12px; color: var(--text); transition: 0.2s ease; }
.topic-list li a:hover, .simple-list li a:hover { border-color: #bfd0e7; background: #edf5ff; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; }

.overviewOLD { background: #eef4ff; }

.overview {
  background: rgba(238,244,255,0.55);
}

.overview-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.overview-card { background: var(--white); border: 1px solid var(--border); border-radius: 16px; padding: 24px 18px; text-align: center; box-shadow: var(--shadow); }
.overview-card h3 { color: var(--blue-dark); margin-bottom: 8px; font-size: 1.1rem; }
.overview-card p { color: var(--muted); font-size: 0.95rem; }
.breadcrumbs { font-size: 0.95rem; color: var(--muted); margin: 20px 0 10px; }
.breadcrumbs a { color: var(--blue); }
.video-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.video-card { background: var(--white); border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow); overflow: hidden; }
.video-wrap { aspect-ratio: 16 / 9; width: 100%; background: #dce8ff; }
.video-wrap iframe { width: 100%; height: 100%; border: 0; }
.video-body { padding: 18px 20px 20px; }
.video-body h3 { color: var(--blue-dark); margin-bottom: 6px; font-size: 1.1rem; }
.video-body p { color: var(--muted); font-size: 0.97rem; }
.topic-intro { background: var(--white); border: 1px solid var(--border); border-radius: 18px; padding: 22px; box-shadow: var(--shadow); margin-bottom: 26px; }
.topic-intro h1 { color: var(--blue-dark); margin-bottom: 10px; font-size: clamp(1.8rem, 4vw, 2.6rem); }
.topic-intro p { color: var(--muted); }
.footerXXX { background: var(--blue-dark); color: var(--white); padding: 44px 0 20px; margin-top: 56px; }
.footer { background: #2ca0c9; color: var(--white); padding: 44px 0 20px; margin-top: 56px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 24px; margin-bottom: 22px; }
.footer h4 { margin-bottom: 12px; }
.footer ul { list-style: none; }
.footer li + li { margin-top: 8px; }
.footer a { color: rgba(255,255,255,0.88); }
.footer a:hover { color: white; }
.footer-text { color: rgba(255,255,255,0.84); }
.copyright { border-top: 1px solid rgba(255,255,255,0.15); padding-top: 16px; text-align: center; font-size: 0.92rem; color: rgba(255,255,255,0.72); }
@media (max-width: 980px) {
  .hero-grid, .levels, .overview-grid, .footer-grid, .cards-grid, .video-grid { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .nav { align-items: flex-start; }
  .mini-stats { grid-template-columns: 1fr; }
  .hero { padding-top: 32px; }
  .topic-list, .content-body { padding: 18px; }
  section { padding: 48px 0; }
  .levels-section { padding-top: 20px; }
}

.mock-videoXXX img{
width:100%;
height:auto;
border-radius:18px;
box-shadow:0 10px 30px rgba(0,0,0,0.1);
}

#vmbo .level-top {
  background: #6f8fa8;
}

#havo-a .level-top {
  background: #5f8fb8;
}

#havo-b .level-top {
  background: #4d7cab;
}

#vwo-a .level-top {
  background: #3f6f9c;
}

#vwo-b .level-top {
  background: #183b6b;
}

#extra .level-top {
  background: #7b8794;
}

.level-cardXXX {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.level-cardXXX:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(24,59,107,0.15);
}

.level-card {
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

.level-card:hover {
  border: 1px solid #2457a6;
  box-shadow: 0 12px 30px rgba(24,59,107,0.18);
}