:root {
  --accent:#0b6efd;
  --muted:#6b7280;
  --bg:#f8fafc;
  --card:#ffffff;
  --card-tint:#eef4ff;
}

/* Basis */
* {
  box-sizing: border-box;
}

body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
  margin: 0;
  background: var(--bg);
  color: #0f172a;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.logo {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), #7dd3fc);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
}

nav a {
  margin-left: 1rem;
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
}

/* Afstand koppen */
h2 {
  margin-top: 70px;
}

/* HERO + video rechts */
.hero {
  display: flex;
  gap: 1.5rem;
  align-items: stretch;       /* >>> VIDEO EN TEKST EVEN HOOG <<< */
  padding: 3rem 0;
}

.hero > div:first-child {
  flex: 1;                     /* tekstblok */
}

.hero .video-wrapper {
  flex: 1;                     /* videoblok even hoog als tekst */
  aspect-ratio: 16 / 9;        /* >>> 16:9 verhouding <<< */
  height: auto;                /* hoogte volgt tekst */
  align-self: stretch;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(15,23,42,.06);
}

.hero .video-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

.hero h1 {
  font-size: 1.6rem;
  margin: 0 0 .5rem;
}

.hero p {
  color: var(--muted);
  margin: 0 0 1.5rem;
}

.hero .cta {
  display: inline-flex;
  gap: .5rem;
  align-items: center;
  margin-top: 1rem;
}

.btn {
  background: var(--accent);
  color: #fff;
  padding: .75rem 1rem;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(11,110,253,.12);
}

.btn.secondary {
  background: transparent;
  color: var(--accent);
  border: 1px solid rgba(11,110,253,.12);
}

/* Kaarten */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.card {
  padding: 1.25rem;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(15,23,42,.06);
  background: var(--card-tint);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 180px;
}

.card h3 {
  margin: 0 0 .1rem;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

/* Prijzen */
.pricing {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.price {
  flex: 1;
  min-width: 220px;
  padding: 1.25rem;
  border-radius: 12px;
  border: 1px solid rgba(15,23,42,.04);
  margin: 0 2mm;
}

.price.jaarabonnement {
  margin-left: 0;
  margin-right: 1rem;
}

.price.onderhoud {
  margin-left: 1rem;
  margin-right: 0;
}

.price .amount {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
}

.pricing-container {
  display: flex;
  gap: 2rem;
  justify-content: center;
}

.pricing-container .price {
  flex: 1;
  border: 1px solid #ddd;
  padding: 1.5rem;
  border-radius: 8px;
  background-color: #B2F0FF;
}

/* Footer */
footer {
  margin-top: 3rem;
  padding: 2rem 0;
  color: var(--muted);
  font-size: .9rem;
  border-top: 1px solid rgba(15,23,42,.04);
}

/* Responsief */
@media(min-width:880px){
  .hero h1 {
    font-size: 1.6rem;
  }
}

/* Extra */
.muted {
  color: var(--muted);
}

.list {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Afwisselende kaartenkleuren */
.card:nth-child(3n+1){
  background:#eef4ff;
}
.card:nth-child(3n+2){
  background:#e8fff4;
}
.card:nth-child(3n+3){
  background:#fff6e8;
}

/* ---- (oude video wrapper verwijderd) ---- */

/* Carousel */
.carousel-wrapper {
  overflow: hidden;
  margin-top: 1rem;
}

.carousel {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.carousel-item {
  min-width: 24.5%;
  display: flex;
  flex-direction: column;
  padding: 0;
  background: #f0f4ff;
  border-radius: 12px;
  margin-right: 2mm;
}

.carousel-item img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 12px 12px 0 0;
}

.carousel-item .text {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0.5rem 2mm;
  flex-grow: 1;
  height: 100%;
}

.carousel-item strong {
  margin-top: auto;
  color: var(--accent);
  font-weight: 700;
}

/* Bovenste blokkenrij */
.blok-row {
  display: flex;
  gap: .5rem;
}

.blok-td {
  flex: 1;
}

.blokmargin {
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  border-radius: 12px;
  color: #000;
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* Paarse rij */
.blok1 { background-color: #F5A6FF; }
.blok2 { background-color: #F7B8FF; }
.blok3 { background-color: #F9CAFF; }

/* Tweede paarse rij */
.blok4 { background-color: #F5A6FF; }
.blok5 { background-color: #F7B8FF; }
.blok6 { background-color: #F9CAFF; }

/* Onderste blauwe blokken */
.onderblok1 { background:#80E7FF; }
.onderblok2 { background:#99ECFF; }
.onderblok3 { background:#B2F0FF; }

.blokmargin img {
  width: 100%;
  height: 198px;
  object-fit: cover;
  border-radius: 10px;
}

/* ---- MODAL AFBEELDINGEN MET FADE / ZOOM ---- */
.hover-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  background: white;
  padding: 15px;
  border-radius: 14px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.25);
  z-index: 99999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.hover-modal.active {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  pointer-events: auto;
}

.hover-modal img {
  max-width: 420px;
  max-height: 420px;
  display: block;
  border-radius: 8px;
}
