:root {
  --accent: #0000FF;
  --accent-licht: #232508;
  --accent-rand: #4a4e10;
  --tekst: #F0FFE0;
  --tekst-mid: #bbb;
  --tekst-licht: #666;
  --rand: #2e2e2c;
  --bg: #1a1a18;
  --wit: #222220;
  --r: 8px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { overflow-x: hidden; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--tekst);
  font-size: 15px;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
}

header {
  border-bottom: 1px solid var(--rand);
  background: var(--wit);
  position: sticky;
  top: 0;
  z-index: 10;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
  max-width: 680px;
  margin: 0 auto;
}
.header-rechts {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo {
  font-family: 'Roboto Mono', monospace;
  font-size: 20px;
  font-weight: 500;
  color: var(--tekst);
  text-decoration: none;
  letter-spacing: -0.5px;
}
.logo img {
  height: 26px;
  width: auto;
  display: inline-block;
  vertical-align: middle;
  margin-top: -10px;
  margin-left: 6px;
}
.plaatsen-btn {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  background: none;
  color: #F72F32;
  border: none;
  padding: 4px 12px;
  border-radius: var(--r);
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.15s;
}
.plaatsen-btn:hover {
  opacity: 0.88;
  transform: scale(1.12);
}

main { padding: 1.5rem 1.25rem; max-width: 680px; margin: 0 auto; }

/* ── ALERT BLOK ─────────────────────────────────────── */
.alert-blok {
  background: var(--wit);
  border: 1px solid var(--rand);
  border-radius: var(--r);
  padding: 1rem 1.25rem;
  margin-bottom: 1.25rem;
}
.alert-rij {
  display: flex;
  gap: 8px;
  align-items: stretch;
}
.alert-email-input {
  flex: 1;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  padding: 8px 12px;
  border: 1px solid var(--rand);
  border-radius: var(--r);
  outline: none;
  background: #111110;
  color: var(--tekst);
  transition: border-color 0.15s;
}
.alert-email-input:focus { border-color: var(--accent); }
.alert-sector-select {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  padding: 0 10px;
  border: 1px solid var(--rand);
  border-radius: var(--r);
  outline: none;
  background: #1A1A18;
  color: var(--tekst-mid);
  cursor: pointer;
  height: 38px;
  min-width: 120px;
  transition: border-color 0.15s;
  appearance: auto;
}
.alert-sector-select:focus { border-color: var(--accent); }
.alert-ga-btn {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  background: none;
  color: #F72F32;
  border: none;
  padding: 0 10px;
  border-radius: var(--r);
  cursor: pointer;
  white-space: nowrap;
  height: 38px;
}
.alert-ga-btn:hover { opacity: 0.88; }

/* ── ZOEKBALK ────────────────────────────────────────── */
.zoek-wrap { margin-bottom: 0.75rem; }
.zoek-wrap input {
  width: 100%;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  padding: 9px 14px;
  border: 1px solid var(--rand);
  border-radius: var(--r);
  outline: none;
  background: var(--wit);
  color: var(--tekst);
  transition: border-color 0.15s;
}
.zoek-wrap input:focus { border-color: var(--accent); }

/* ── TABS ────────────────────────────────────────────── */
.tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 5px;
  margin-bottom: 0.875rem;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  width: 100%;
  scroll-behavior: smooth;
}
.tabs::-webkit-scrollbar { display: none; }
.tabs { padding-bottom: 0; }

/* ── TABS WRAPPER MET PIJLTJES ───────────────────────── */
.tabs-wrap {
  position: relative;
  margin-bottom: 0.875rem;
}
.tabs-wrap .tabs {
  margin-bottom: 0;
}
.tabs-pijl {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--wit);
  border: 1px solid var(--rand);
  color: #F72F32;
  font-size: 11px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  line-height: 1;
  transition: opacity 0.15s;
  user-select: none;
}
.tabs-pijl:hover { opacity: 0.7; }
.tabs-pijl.links { left: 0; }
.tabs-pijl.rechts { right: 0; }
.tabs-pijl.verborgen { opacity: 0; pointer-events: none; }
.tab {
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid var(--rand);
  color: var(--tekst-mid);
  cursor: pointer;
  background: var(--wit);
  transition: all 0.12s;
  user-select: none;
  flex-shrink: 0;
}
.tab:hover { border-color: var(--accent-rand); color: var(--accent); }
.tab.active { background: #fff; color: var(--accent); border-color: var(--accent-rand); font-weight: 500; }

/* ── VACATURELIJST ───────────────────────────────────── */
.lijst { border-top: 1px solid var(--rand); }
.vac-item {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 10px 0 10px 8px;
  border-bottom: 1px solid var(--rand);
  min-width: 0;
}
.vac-body { flex: 1; min-width: 0; overflow: hidden; }
.vac-titel {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #fff;
  text-decoration: none;
  line-height: 1.4;
  transition: color 0.12s;
  display: block;
}
.vac-titel:hover { color: var(--accent); }
.vac-meta {
  font-size: 12px;
  color: #999;
  font-weight: 400;
  margin-top: 2px;
  line-height: 1.3;
}
.geen-resultaten {
  font-size: 13px;
  color: var(--tekst-licht);
  padding: 2rem 0;
  display: none;
  text-align: center;
}

/* ── PLAATSEN BLOK ───────────────────────────────────── */
.plaatsen-blok {
  background: var(--wit);
  border: 1px solid var(--rand);
  border-radius: var(--r);
  padding: 1rem 1.25rem;
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ── FOOTER ──────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--rand);
  padding: 1.5rem 1.25rem;
  text-align: center;
  margin-top: 2rem;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}
.footer-inner {
  max-width: 680px;
  margin: 0 auto;
  font-size: 12px;
  color: var(--tekst-licht);
  line-height: 2;
}
.footer-inner a { color: var(--accent); text-decoration: none; }
.footer-inner a:hover { text-decoration: underline; }

/* ── THEMA TOGGLE ────────────────────────────────────── */
.thema-toggle {
  font-size: 14px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: var(--r);
  transition: transform 0.15s;
  line-height: 1;
}
.thema-toggle:hover { transform: scale(1.1); }

/* ── MOBIEL ──────────────────────────────────────────── */
@media (max-width: 600px) {
  .header-inner { padding: 0.875rem 1rem; }
  main { padding: 0.75rem 1rem; }

  /* iOS zoom fix */
  input, textarea, select { font-size: 16px !important; }

  /* Logo */
  .logo img { height: 22px; margin-top: -8px; margin-left: 4px; }

  /* Thema toggle kleiner */
  .thema-toggle { font-size: 14px; padding: 3px 6px; }

  /* Plaatsen knop */
  .plaatsen-btn { font-size: 12px; padding: 4px 8px; }

  /* Alert — alles op één rij */
  .alert-blok { padding: 0.75rem 1rem; margin-bottom: 0.75rem; }
  .alert-rij { flex-wrap: nowrap; gap: 6px; }
  .alert-email-input { flex: 1 1 auto; min-width: 0; }
  .alert-sector-select { flex: 0 0 120px; height: 36px; min-width: 0; }
  .alert-ga-btn { flex: 0 0 auto; height: 36px; padding: 0 8px; }

  /* Zoekbalk minder ruimte */
  .zoek-wrap { margin-bottom: 0.5rem; }

  /* Scroll hint tabs */
  .tabs-wrap { position: relative; }
  .tabs-pijl { display: none; }
  .tabs-wrap::after {
    content: '';
    position: absolute;
    right: 0; top: 0; bottom: 0;
    width: 32px;
    background: linear-gradient(to right, transparent, var(--bg));
    pointer-events: none;
  }
  .tabs { gap: 4px; margin-bottom: 0.5rem; scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { font-size: 11px; padding: 3px 9px; }

  /* Vacature inspring ook op mobiel */
  .vac-item { padding-left: 8px; }
  .vac-titel { font-size: 16px; font-weight: 600; color: #F0FFE0; }

  /* Footer */
  .plaatsen-blok { flex-direction: column; align-items: stretch; }
  .footer-inner { font-size: 11px; }
}