/* Visual Performance Center – statische versie */
:root {
  --green: #009640;
  --blue: #009fe3;
  --dark: #1b1b1b;
  --darker: #111;
  --text: #fff;
  --muted: rgba(255,255,255,.75);
  --header-h: 80px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
  background: var(--darker);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-weight: 700; text-transform: uppercase; line-height: 1.25; margin: 0 0 .6em; }
.container { width: 100%; max-width: 1170px; margin: 0 auto; padding: 0 16px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  background: rgba(17,17,17,.92);
  backdrop-filter: blur(4px);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.logo img { height: 50px; width: auto; }
.nav-toggle { display: none; background: none; border: 0; color: #fff; font-size: 28px; cursor: pointer; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.main-nav li { position: relative; }
.main-nav a {
  display: block; padding: 8px 8px; text-decoration: none; white-space: nowrap;
  font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .5px;
}
.main-nav a:hover, .main-nav a.active { color: var(--green); }
.main-nav .sub {
  display: none; position: absolute; top: 100%; left: 0; min-width: 160px;
  background: var(--darker); flex-direction: column; padding: 6px 0;
}
.main-nav li:hover > .sub, .main-nav li:focus-within > .sub { display: flex; }
.main-nav .lang a { opacity: .7; }

/* ---------- Hero slider ---------- */
.hero { position: relative; height: 100vh; min-height: 520px; overflow: hidden; background: #000; }
.slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.2s ease;
  display: flex; align-items: center; justify-content: center; text-align: center;
}
.slide::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.35); }
.slide.active { opacity: 1; }
.slide .caption { position: relative; z-index: 1; padding: 0 16px; max-width: 900px; }
.slide h2 { font-size: clamp(24px, 4.5vw, 52px); margin-bottom: .4em; }
.slide p { font-size: clamp(13px, 1.6vw, 18px); text-transform: uppercase; letter-spacing: 2px; margin: 0; }
.hero-dots { position: absolute; bottom: 28px; left: 0; right: 0; display: flex; justify-content: center; gap: 10px; z-index: 2; }
.hero-dots button { width: 12px; height: 12px; border-radius: 50%; border: 2px solid #fff; background: transparent; padding: 0; cursor: pointer; }
.hero-dots button.active { background: #fff; }
.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  background: rgba(0,0,0,.35); border: 0; color: #fff; font-size: 30px; width: 46px; height: 46px; cursor: pointer;
}
.hero-arrow.prev { left: 12px; } .hero-arrow.next { right: 12px; }
.pub-tag { position: absolute; right: 24px; top: calc(var(--header-h) + 20px); z-index: 3; width: 150px; }

/* ---------- Sections ---------- */
section { padding: 90px 0; position: relative; }
.section-title { font-size: clamp(24px, 3.2vw, 36px); text-align: center; margin-bottom: 10px; }
.section-sub { text-align: center; font-size: 18px; margin: 0 0 40px; color: var(--muted); }
.bg-image { background-size: cover; background-position: center; background-attachment: fixed; }
.bg-image::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.6); }
.bg-image > .container { position: relative; }
@media (hover: none) { .bg-image { background-attachment: scroll; } }

#rol { background: var(--green); }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-top: 40px; text-align: center; }
.facts h4 { font-size: 17px; }
.facts p { margin: 0; color: var(--muted); }
.intro { text-align: center; font-size: 17px; margin: 0; }

#proces { background-image: url("../images/header-eyevision-04.jpg"); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; counter-reset: step; }
.steps h4 {
  font-size: 16px; padding: 24px; border: 2px solid rgba(255,255,255,.5); height: 100%; margin: 0;
  display: flex; align-items: center; gap: 16px;
}
.steps h4::before {
  counter-increment: step; content: counter(step);
  flex: 0 0 44px; height: 44px; border-radius: 50%; background: var(--green);
  display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.steps h4.highlight { background: var(--green); border-color: var(--green); }
.steps h4.highlight::before { background: #fff; color: var(--green); }

#visualperformancecenter { background-image: url("../images/header-eyevision-08.jpg"); }
.prose { max-width: 860px; margin: 0 auto; }
.prose p { margin: 0 0 1.1em; }
.checklist { list-style: none; padding: 0; margin: 0 0 1.1em; }
.checklist li { padding-left: 28px; position: relative; margin-bottom: 4px; }
.checklist li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 700; }

#training { background: var(--dark); }
.featured-video { max-width: 860px; margin: 40px auto 60px; }
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px 24px; }
.video-card h3 { font-size: 14px; margin-bottom: 10px; min-height: 2.5em; }

/* YouTube facade: laadt de echte player pas bij klikken */
.yt {
  position: relative; aspect-ratio: 16 / 9; background: #000 center / cover no-repeat;
  cursor: pointer; overflow: hidden;
}
.yt img { width: 100%; height: 100%; object-fit: cover; }
.yt::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 68px; height: 48px; transform: translate(-50%,-50%);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 68 48'%3E%3Cpath d='M66.5 7.7a8.5 8.5 0 0 0-6-6C55.2.3 34 .3 34 .3s-21.2 0-26.5 1.4a8.5 8.5 0 0 0-6 6C.1 13 .1 24 .1 24s0 11 1.4 16.3a8.5 8.5 0 0 0 6 6C12.8 47.7 34 47.7 34 47.7s21.2 0 26.5-1.4a8.5 8.5 0 0 0 6-6C67.9 35 67.9 24 67.9 24s0-11-1.4-16.3z' fill='%23f00'/%3E%3Cpath d='M45 24 27 14v20' fill='%23fff'/%3E%3C/svg%3E") no-repeat center / contain;
  opacity: .9; transition: opacity .2s;
}
.yt:hover::after { opacity: 1; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt.loaded::after { display: none; }

#effect { background-image: url("../images/header-eyevision-11.jpg"); }
.results { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 30px 0; text-align: center; }
.results div { border: 2px solid rgba(255,255,255,.5); padding: 20px 10px; }
.results strong { display: block; font-size: 38px; color: var(--green); line-height: 1.1; }

#meer-info { background: var(--blue); text-align: center; }
.btn {
  display: inline-block; padding: 12px 28px; margin-top: 10px; border: 2px solid #fff; text-decoration: none;
  text-transform: uppercase; font-weight: 600; letter-spacing: 1px; font-size: 13px;
}
.btn:hover { background: #fff; color: var(--blue); }

/* ---------- Footer ---------- */
.site-footer { background: var(--darker); padding: 60px 0 30px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.site-footer h4 { font-size: 16px; }
.site-footer address { font-style: normal; color: var(--muted); }
.footer-bottom { border-top: 1px solid #333; margin-top: 40px; padding-top: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; color: var(--muted); }
.to-top { position: fixed; right: 16px; bottom: 16px; width: 42px; height: 42px; background: var(--green); color: #fff; text-decoration: none; display: flex; align-items: center; justify-content: center; font-size: 20px; z-index: 90; }

/* ---------- Cookie notice ---------- */
.cookie-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 200; background: rgba(0,0,0,.92);
  padding: 14px 16px; display: none; gap: 12px; align-items: center; justify-content: center; flex-wrap: wrap; font-size: 13px; text-align: center;
}
.cookie-bar.show { display: flex; }
.cookie-bar button { background: var(--green); color: #fff; border: 0; padding: 6px 18px; cursor: pointer; font: inherit; }

/* ---------- Subpagina's ---------- */
.page-hero { padding: calc(var(--header-h) + 70px) 0 60px; background: var(--green); text-align: center; }
.page-hero h1 { font-size: clamp(26px, 4vw, 42px); margin: 0; }
.page-body { background: var(--dark); min-height: 40vh; }
.placeholder { text-align: center; color: var(--muted); }

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
  .nav-toggle { display: block; }
  .main-nav { position: fixed; top: var(--header-h); left: 0; right: 0; background: var(--darker); display: none; max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; padding: 10px 16px; }
  .main-nav .sub { display: flex; position: static; padding-left: 16px; }
}
@media (max-width: 991px) {
  .facts, .video-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr 1fr; }
  .pub-tag { width: 110px; }
}
@media (max-width: 600px) {
  section { padding: 60px 0; }
  .facts, .video-grid, .steps, .results, .footer-grid { grid-template-columns: 1fr; }
  .pub-tag { width: 90px; right: 12px; }
  .hero-arrow { display: none; }
}
