/*
 * Bestand  : pagina.css
 * Project  : Verkeersschool Dijkhuizen
 * Doel     : Gedeelde stijlen voor interne pagina's (instructeurs, theorie, tarieven, etc.)
 */

@import url('variabelen.css');


/* ─── Pagina-header — blauwe hero bovenaan elke binnenste pagina ─────────────── */

.pagina-header {
  background: linear-gradient(135deg, #343a40 0%, #007bff 100%);
  padding: 5rem 0 3.5rem;
  color: #fff;
}

.pagina-header h1 {
  color: #fff;
  margin-bottom: 0.5rem;
}

.pagina-header p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.125rem;
  margin: 0;
}


/* ─── Breadcrumb ─────────────────────────────────────────────────────────────── */

.breadcrumb {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.25rem;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: #fff;
}


/* ─── Stat-balk — cijfers na de pagina-header ────────────────────────────────── */

.stat-balk {
  background: #fff;
  border-bottom: 1px solid #e9ecef;
  padding: 1.25rem 0;
}

.stat-balk-inner {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
}

.stat-item__getal {
  display: block;
  font-family: var(--font-kop);
  font-size: 1.75rem;
  font-weight: 800;
  color: #007bff;
  line-height: 1;
}

.stat-item__label {
  display: block;
  font-size: 0.78rem;
  color: #6c757d;
  margin-top: 0.2rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}


/* ─── Stat-balk BEM variant (motorlessen / scooterlessen pagina's) ─────────── */

.stat-balk__inner {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.stat-balk__item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: #343a40;
  font-weight: 500;
}

.stat-balk__item svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: #007bff;
}

/* ─── Sidebar BEM (motorlessen / scooterlessen pagina's) ─────────────────── */

.sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: sticky;
  top: 90px;
}

.sidebar__kaart {
  background: #fff;
  border: 2px solid #e8f0fe;
  border-radius: 16px;
  padding: 1.5rem;
}

.sidebar__kaart h3 {
  font-size: 1rem;
  color: #343a40;
  margin-bottom: 1rem;
}

.sidebar__items {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.sidebar__item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.875rem;
  color: #343a40;
}

.sidebar__icoon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #e8f0fe;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sidebar__icoon svg {
  width: 16px;
  height: 16px;
  color: #007bff;
}

/* ─── Gedeelde sectie-stijlen ────────────────────────────────────────────────── */

.pagina-sectie {
  padding: 4rem 0;
}

.pagina-sectie--grijs {
  background: #f8fafc;
}

.sectie-intro {
  max-width: 700px;
  margin-bottom: 2.5rem;
}

.sectie-intro p {
  color: #6c757d;
}

.opmerking-blok {
  background: #f4f6f8;
  border-left: 3px solid #007bff;
  padding: 1rem 1.25rem;
  border-radius: 0 8px 8px 0;
  font-size: 0.9rem;
  color: #343a40;
  margin-top: 1rem;
}

.opmerking-blok strong {
  color: #007bff;
}


/* ─── Instructeurs ───────────────────────────────────────────────────────────── */

.instr-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.instr-kaart {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s, box-shadow 0.2s;
}

.instr-kaart:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.instr-kaart__foto {
  height: 320px;
  background: #e9ecef no-repeat center 25% / cover;
}

.instr-kaart__body {
  padding: 1.5rem;
}

.instr-kaart__naam {
  font-size: 1.2rem;
  margin-bottom: 0.2rem;
  color: #343a40;
}

.instr-kaart__rol {
  font-size: 0.875rem;
  color: #007bff;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.instr-kaart__tekst {
  font-size: 0.9rem;
  color: #6c757d;
  margin-bottom: 1rem;
}

.instr-kaart__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

/* Uitgelicht profiel voor de online communicatie van de rijschool. */
.instr-kaart--djakaman {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) 1fr;
  max-width: 760px;
  margin: 0 auto;
  border: 1px solid #cfe2ff;
  background: linear-gradient(135deg, #ffffff 0%, #e8f0fe 100%);
}

.instr-kaart--djakaman .instr-kaart__foto {
  height: 100%;
  min-height: 320px;
}

.instr-kaart--djakaman .instr-kaart__body {
  align-self: center;
  padding: 2.25rem;
}

.instr-kaart--djakaman .instr-kaart__naam {
  font-size: 1.55rem;
}

@media (max-width: 768px) {
  .instr-kaart--djakaman {
    display: block;
    max-width: none;
  }

  .instr-kaart--djakaman .instr-kaart__foto {
    height: 320px;
    min-height: 0;
  }
}

.instr-tag {
  background: #e8f0fe;
  color: #007bff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
}

.instr-kaart--werving {
  background: #f8fafc;
  border: 2px dashed #dee2e6;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2.5rem 1.5rem;
  min-height: 340px;
}

.instr-kaart--werving__icoon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #e8f0fe;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.instr-kaart--werving h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.instr-kaart--werving p {
  font-size: 0.875rem;
  color: #6c757d;
  margin-bottom: 1.25rem;
}

.usp-sectie {
  padding: 3.5rem 0;
  background: #f4f6f8;
}

.usp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.usp-item {
  text-align: center;
}

.usp-item__icoon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #e8f0fe;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.usp-item__icoon svg {
  width: 26px;
  height: 26px;
  stroke: #007bff;
}

.usp-item h3 {
  font-size: 1rem;
  margin-bottom: 0.3rem;
}

.usp-item p {
  font-size: 0.875rem;
  color: #6c757d;
  margin: 0;
}


/* ─── Theorie ────────────────────────────────────────────────────────────────── */

.theorie-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

@media (max-width: 768px) {
  .theorie-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

.theorie-blok h2 {
  margin-bottom: 1rem;
}

.theorie-blok p {
  color: #6c757d;
  margin-bottom: 1rem;
}

.theorie-blok ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.theorie-blok ul li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #343a40;
  font-size: 0.95rem;
}

.theorie-blok ul li::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23007bff' stroke-width='2.5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center / contain no-repeat;
}

.theorie-kaarten {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.theorie-kaart {
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.theorie-kaart:hover {
  border-color: #007bff;
  box-shadow: 0 4px 16px rgba(0, 123, 255, 0.1);
}

.theorie-kaart__icoon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #e8f0fe;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.theorie-kaart__icoon svg {
  width: 22px;
  height: 22px;
  stroke: #007bff;
}

.theorie-kaart h3 {
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.theorie-kaart p {
  font-size: 0.875rem;
  color: #6c757d;
  margin: 0;
}

/* FAQ */
.faq-lijst {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 10px;
  overflow: hidden;
}

.faq-item summary {
  padding: 1rem 1.25rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: #343a40;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  font-size: 1.3rem;
  color: #007bff;
  flex-shrink: 0;
  line-height: 1;
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item[open] {
  border-color: #007bff;
}

.faq-antwoord {
  padding: 0 1.25rem 1rem;
  font-size: 0.9rem;
  color: #6c757d;
  line-height: 1.65;
}


/* ─── CTA-sectie — donkere blauwe afsluiter onderaan pagina's ───────────────── */

.sectie-cta {
  background: #007bff;
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

.sectie-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(255,255,255,0.08) 0%, transparent 65%);
  pointer-events: none;
}

.cta-inhoud {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.cta-kicker {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.4rem;
}

.cta-titel {
  font-family: var(--font-kop);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.cta-sub {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  margin: 0;
  max-width: 480px;
}

.cta-knoppen {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.knop--wit {
  background: #ffffff;
  color: #007bff;
  font-weight: 700;
}

.knop--wit:hover {
  background: #e8f0fe;
}

.cta-tel {
  color: #ffffff;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.4);
  padding-bottom: 1px;
  transition: border-color 0.2s;
}

.cta-tel:hover {
  border-color: #ffffff;
}

@media (max-width: 768px) {
  .cta-inhoud {
    flex-direction: column;
    text-align: center;
  }
  .cta-knoppen {
    justify-content: center;
  }
}


/* ─── Tarieven ───────────────────────────────────────────────────────────────── */

.tarief-groep {
  margin-bottom: 3rem;
}

.tarief-groep__titel {
  font-size: 1.375rem;
  color: #007bff;
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #e8f0fe;
}

.tarief-tabel {
  width: 100%;
  border-collapse: collapse;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.tarief-tabel th {
  background: #f4f6f8;
  text-align: left;
  padding: 0.75rem 1rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #6c757d;
}

.tarief-tabel td {
  padding: 0.875rem 1rem;
  border-bottom: 1px solid #e9ecef;
  font-size: 0.95rem;
  background: #fff;
}

.tarief-tabel tr:last-child td {
  border-bottom: none;
}

.tarief-tabel tr:hover td {
  background: #f8faff;
}

.tarief-tabel tr.tarief-aanbevolen td {
  background: #eff6ff;
}

.tarief-tabel tr.tarief-aanbevolen:hover td {
  background: #dbeafe;
}

.tarief-prijs {
  font-weight: 700;
  color: #007bff;
  white-space: nowrap;
  font-size: 1.05rem;
}

.tarief-badge {
  display: inline-block;
  background: #007bff;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.15rem 0.55rem;
  border-radius: 20px;
  margin-left: 0.5rem;
  vertical-align: middle;
  letter-spacing: 0.03em;
}

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

.betaling-kaart {
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.betaling-kaart:hover {
  border-color: #007bff;
  box-shadow: 0 4px 16px rgba(0, 123, 255, 0.08);
}

.betaling-kaart__icoon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #e8f0fe;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.betaling-kaart__icoon svg {
  width: 22px;
  height: 22px;
  stroke: #007bff;
}

.betaling-kaart h3 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.betaling-kaart p {
  font-size: 0.875rem;
  color: #6c757d;
  margin: 0;
}


/* ─── Werken-pagina's — twee-kolommen lay-out met zijbalk ───────────────────── */

.twee-kolommen {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 4rem;
  align-items: start;
}

@media (max-width: 900px) {
  .twee-kolommen {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.inhoud-tekst p {
  color: #6c757d;
  line-height: 1.75;
  margin-bottom: 1rem;
}

.inhoud-tekst ul,
.inhoud-tekst ol {
  color: #6c757d;
  line-height: 1.75;
  margin: 0 0 1.25rem 1.25rem;
}

.inhoud-tekst li {
  margin-bottom: 0.3rem;
}

.inhoud-tekst a:not(.knop) {
  color: #007bff;
}

.inhoud-tekst h2 {
  font-size: 1.4rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  color: #007bff;
}

.inhoud-tekst h2:first-child {
  margin-top: 0;
}

.inhoud-tekst h3 {
  font-size: 1.2rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  color: #343a40;
}

.inhoud-tekst h3:first-child {
  margin-top: 0;
}

/* Check-lijst met blauwe vinkjes */
.check-lijst {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.check-lijst li {
  position: relative;
  padding-left: 1.75rem;
  color: #343a40;
  font-size: 0.95rem;
  line-height: 1.6;
}

.check-lijst li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.2em;
  width: 18px;
  height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23007bff' stroke-width='2.5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center / contain no-repeat;
}

.check-lijst li a {
  color: #007bff;
  text-decoration: none;
}

.check-lijst li a:hover {
  text-decoration: underline;
}

/* Zijbalk */
.zijbalk {
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(135deg, rgba(0, 123, 255, 0.24), rgba(52, 58, 64, 0.1)) border-box;
  border: 2px solid transparent;
  border-radius: 16px;
  padding: 2rem;
  position: sticky;
  top: 90px;
  box-shadow: 0 18px 45px rgba(20, 55, 90, 0.08);
}

.zijbalk h3 {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: #343a40;
}

.zij-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 1.25rem;
  padding: 0.7rem 0.75rem;
  border-radius: 12px;
  background: #f8fbff;
  border: 1px solid #eef4fb;
}

.zij-icoon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #e8f0fe;
  color: #007bff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.zij-icoon svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.2;
}

.zij-item strong {
  display: block;
  font-size: 0.875rem;
  color: #343a40;
  margin-bottom: 0.15rem;
}

.zij-item > div:last-child {
  min-width: 0;
  flex: 1;
}

.zij-item p {
  font-size: 0.875rem;
  color: #6c757d;
  margin: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.zij-item p a {
  color: #6c757d;
  text-decoration: none;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.zij-item p a:hover {
  color: #007bff;
}

/* Knoppenrij in zijbalk */
.knop-rij {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

/* Categorie-chips */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.25rem;
}

.chip {
  display: inline-block;
  background: #e8f0fe;
  color: #007bff;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: 100px;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}

.chip:hover {
  background: #007bff;
  color: #fff;
}

/* Divider in zijbalk */
.zij-divider {
  border: none;
  border-top: 1px solid #e9ecef;
  margin: 1.25rem 0;
}

/* ─── Vacature-kaarten grid (werken hoofdpagina) ────────────────────────────── */

.vac-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.5rem;
}

.vac-kaart {
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  padding: 0.6rem 0.75rem;
  display: flex;
  gap: 0.5rem;
  align-items: center;
  text-decoration: none;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.vac-kaart:hover {
  border-color: #007bff;
  box-shadow: 0 3px 12px rgba(0, 123, 255, 0.1);
  transform: translateY(-2px);
}

.vac-kaart__icoon {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  background: #e8f0fe;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.vac-kaart__icoon svg {
  width: 15px;
  height: 15px;
}

.vac-kaart__body h3 {
  font-size: 0.8rem;
  color: #343a40;
  margin: 0;
  line-height: 1.3;
}

.vac-kaart__body p {
  display: none;
}

.vac-badge {
  display: inline-block;
  background: #007bff;
  color: #fff;
  font-size: 0.6rem;
  font-weight: 700;
  padding: 0.1rem 0.45rem;
  border-radius: 100px;
  letter-spacing: 0.03em;
  margin-bottom: 0.2rem;
}

/* --- GEO: kort-antwoord blok bovenaan opleidingspagina's --- */
.opl-kort-antwoord {
  padding: 1.5rem 0 0;
}
.opl-kort-antwoord__tekst {
  background: #f1f6ff;
  border-left: 4px solid #007bff;
  border-radius: 8px;
  padding: 1rem 1.25rem;
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.6;
  color: #1d3557;
  font-weight: 500;
}

/* --- FAQ-sectie op plaatsen-pagina's --- */
.sectie-faq {
  background: #f8f9fa;
}
.sectie-faq .faq-lijst {
  max-width: 780px;
  margin-top: 1.25rem;
}
