/* ============================================================
   Begrippenlijst – Premium Design V2
   ============================================================ */

/* ── HERO ── */
.bg-hero {
  background: linear-gradient(135deg, #0c5f78 0%, #0e7490 50%, #0891b2 100%);
  padding: 80px 0 100px;
  position: relative;
  overflow: hidden;
  min-height: 460px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.bg-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.bg-hero-inner {
  position: relative;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.bg-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin: 16px 0 20px;
  letter-spacing: -0.5px;
}
.bg-hero h1 em {
  font-style: normal;
  color: #fbbf24;
}
.bg-hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.88);
  line-height: 1.7;
  margin-bottom: 36px;
}

/* Zoekbalk */
.bg-search-wrap {
  max-width: 560px;
  margin: 0 auto;
}
.bg-search-box {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 50px;
  padding: 6px 6px 6px 20px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  gap: 10px;
}
.bg-search-icon {
  color: #94a3b8;
  flex-shrink: 0;
}
.bg-search-box input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 15px;
  font-family: inherit;
  color: #1e293b;
  background: transparent;
  padding: 8px 0;
}
.bg-search-box input::placeholder { color: #94a3b8; }
.bg-search-clear {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f1f5f9;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  flex-shrink: 0;
  transition: background .2s;
}
.bg-search-clear:hover { background: #e2e8f0; }
.bg-search-hint {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  margin-top: 10px;
  text-align: center;
}

/* ── INTRODUCTIE ── */
.bg-intro {
  background: #fff;
  padding: 48px 0;
  border-bottom: 1px solid #f1f5f9;
}
.bg-intro-text {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  font-size: 1.05rem;
  color: #475569;
  line-height: 1.75;
}

/* ── CATEGORIE NAVIGATIE ── */
.bg-cat-nav {
  background: #fff;
  border-bottom: 2px solid #f1f5f9;
  position: sticky;
  top: 48px;
  z-index: 90;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}
.bg-cat-list {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 14px 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.bg-cat-list::-webkit-scrollbar { display: none; }
.bg-cat-btn {
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 9px 20px;
  border-radius: 50px;
  border: 2px solid #e2e8f0;
  background: #f8fafc;
  font-size: 13.5px;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  white-space: nowrap;
  transition: all .2s;
  font-family: inherit;
  letter-spacing: 0.1px;
}
.bg-cat-btn svg { display: none; }
.bg-cat-btn:hover {
  border-color: #0e7490;
  color: #0e7490;
  background: #e0f2fe;
}
.bg-cat-btn.active {
  background: #0e7490;
  border-color: #0e7490;
  color: #fff;
  box-shadow: 0 2px 8px rgba(14,116,144,0.25);
}
.bg-cat-count {
  display: inline-block;
  background: rgba(255,255,255,0.25);
  border-radius: 50px;
  padding: 1px 8px;
  font-size: 11px;
  font-weight: 700;
  margin-left: 6px;
}
.bg-cat-btn:not(.active) .bg-cat-count {
  background: #e2e8f0;
  color: #64748b;
}

/* ── GRID SECTIE ── */
.bg-grid-section {
  background: #f8fafc;
  padding: 48px 0 80px;
  min-height: 400px;
}

/* Resultaten balk */
.bg-results-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #e0f2fe;
  border: 1px solid #bae6fd;
  border-radius: 10px;
  padding: 12px 20px;
  margin-bottom: 32px;
  font-size: 14px;
  color: #0e7490;
  font-weight: 500;
}
.bg-results-reset {
  background: none;
  border: none;
  color: #0e7490;
  font-size: 13px;
  cursor: pointer;
  text-decoration: underline;
  font-family: inherit;
  padding: 0;
}

/* Alfabetische snelnavigatie */
.bg-alfabet-wrap {
  margin-bottom: 40px;
}
.bg-alfabet-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px 20px;
}
.bg-alfabet-label {
  font-size: 12px;
  font-weight: 600;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
  flex-shrink: 0;
}
.bg-alfabet-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.bg-al {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #0e7490;
  text-decoration: none;
  transition: all .2s;
  background: #f8fafc;
}
.bg-al:hover {
  background: #0e7490;
  color: #fff;
  text-decoration: none;
}
.bg-al-dim {
  color: #cbd5e1;
  cursor: default;
  pointer-events: none;
}

/* Letter groepen */
.bg-letter-group {
  margin-bottom: 48px;
}
.bg-letter-marker {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
.bg-letter-char {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #0c5f78, #0e7490);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}
.bg-letter-line {
  flex: 1;
  height: 1px;
  background: #e2e8f0;
}

/* Kaarten grid */
.bg-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

/* Begrip kaart */
.bg-card {
  background: #fff;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  padding: 20px 22px;
  text-decoration: none;
  color: inherit;
  transition: all .22s;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  overflow: hidden;
}
.bg-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #0c5f78, #0e7490);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s;
}
.bg-card:hover {
  border-color: #0e7490;
  box-shadow: 0 6px 24px rgba(14,116,144,0.12);
  transform: translateY(-2px);
  text-decoration: none;
  color: inherit;
}
.bg-card:hover::before {
  transform: scaleX(1);
}
.bg-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}
.bg-card-naam {
  font-size: 15px;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.3;
}
.bg-card-cat {
  font-size: 10.5px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 50px;
  white-space: nowrap;
  flex-shrink: 0;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.bg-cat-seo { background: #dcfce7; color: #166534; }
.bg-cat-google-ads { background: #fef3c7; color: #92400e; }
.bg-cat-social { background: #ede9fe; color: #5b21b6; }
.bg-cat-analytics { background: #e0f2fe; color: #0369a1; }
.bg-cat-conversie { background: #fee2e2; color: #991b1b; }
.bg-cat-strategie { background: #f0fdf4; color: #15803d; }
.bg-cat-ai { background: #fdf4ff; color: #7e22ce; }
.bg-card-desc {
  font-size: 13.5px;
  color: #64748b;
  line-height: 1.6;
  flex: 1;
}
.bg-card-arrow {
  font-size: 12.5px;
  font-weight: 600;
  color: #0e7490;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
}
.bg-card:hover .bg-card-arrow svg {
  transform: translateX(3px);
  transition: transform .2s;
}

/* Geen resultaten */
.bg-no-results {
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 80px 20px;
  text-align: center;
  color: #94a3b8;
}
.bg-no-results svg { opacity: 0.4; }
.bg-no-results p { font-size: 16px; color: #64748b; }

/* ── CTA SECTIE ── */
.bg-cta-section {
  background: linear-gradient(135deg, #0c5f78 0%, #0e7490 50%, #0891b2 100%);
  padding: 64px 0;
}
.bg-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.bg-cta-text h2 {
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
}
.bg-cta-text h2 em {
  font-style: normal;
  color: #fbbf24;
}
.bg-cta-text p {
  color: rgba(255,255,255,0.85);
  font-size: 1rem;
}
.bg-cta-btns {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .bg-hero { padding: 56px 0 64px; min-height: auto; }
  .bg-cat-nav { top: 0; }
  .bg-alfabet-inner { flex-direction: column; align-items: flex-start; gap: 8px; }
  .bg-cards { grid-template-columns: 1fr; }
  .bg-cta-inner { flex-direction: column; text-align: center; }
  .bg-cta-btns { flex-direction: column; width: 100%; }
  .bg-cta-btns .oms-btn { justify-content: center; }
}
