/* ============================================
   Helma Lensen — Beveiliging & Gastvrijheid
   ============================================ */

:root {
  --midnight: #1A2B4C;
  --midnight-2: #223a63;
  --terracotta: #D96B43;
  --terracotta-dark: #B7552F;
  --white: #FFFFFF;
  --offwhite: #F2F4F7;
  --text: #26282E;
  --text-muted: #5C6470;
  --border: rgba(26,43,76,0.14);
  --shadow: 0 12px 30px rgba(26,43,76,0.10);
  --radius: 6px;
}

* , *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Poppins', Arial, sans-serif;
  font-weight: 400;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--terracotta); outline-offset: 2px; }

.wrap { max-width: 1140px; margin: 0 auto; padding: 0 1.75rem; }

h1, h2, h3, h4 { font-family: 'Poppins', Arial, sans-serif; color: var(--midnight); line-height: 1.25; }
h1 { font-weight: 700; font-size: clamp(2.1rem, 4.6vw, 3.2rem); }
h2 { font-weight: 700; font-size: clamp(1.6rem, 3vw, 2.15rem); }
h3 { font-weight: 600; font-size: 1.2rem; }
p { color: var(--text); }
.tekst-muted { color: var(--text-muted); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--terracotta); margin-bottom: 0.9rem;
}
.eyebrow::before { content: ''; width: 18px; height: 2px; background: var(--terracotta); display: inline-block; }

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--midnight); color: var(--white);
  padding: 0.6rem 1rem; z-index: 300;
}
.skip-link:focus { left: 0.5rem; top: 0.5rem; }

/* ---------- Nav ---------- */
header.site-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.75rem 1.75rem;
  max-width: 1140px; margin: 0 auto;
  gap: 1.5rem;
}
.nav-logo { display: flex; align-items: center; text-decoration: none; }
.nav-logo img { height: 42px; width: auto; }
.nav-links {
  display: flex; align-items: center; gap: 2.1rem; list-style: none;
}
.nav-links a {
  text-decoration: none; color: var(--midnight); font-weight: 500; font-size: 0.94rem;
  transition: color 0.15s;
  position: relative;
}
.nav-links a:hover { color: var(--terracotta); }
.nav-cta {
  background: var(--terracotta); color: var(--white) !important;
  padding: 0.6rem 1.3rem; border-radius: var(--radius);
  font-weight: 600; font-size: 0.9rem; text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s;
}
.nav-cta:hover { background: var(--terracotta-dark); }
.nav-toggle { display: none; }

@media (max-width: 780px) {
  .nav-links { display: none; }
  .nav-cta { padding: 0.55rem 1rem; font-size: 0.85rem; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 1.7rem; border-radius: var(--radius);
  font-weight: 600; font-size: 0.95rem; text-decoration: none;
  transition: background 0.15s, transform 0.15s, border-color 0.15s;
  border: 2px solid transparent;
}
.btn-primair { background: var(--terracotta); color: var(--white); }
.btn-primair:hover { background: var(--terracotta-dark); transform: translateY(-1px); }
.btn-secundair { background: transparent; border-color: rgba(255,255,255,0.55); color: var(--white); }
.btn-secundair:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }
.btn-outline-donker { border-color: var(--midnight); color: var(--midnight); background: transparent; }
.btn-outline-donker:hover { background: var(--midnight); color: var(--white); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--midnight);
  color: var(--white);
  overflow: hidden;
  padding: 5.5rem 0 5rem;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(0deg, transparent 24px, rgba(255,255,255,0.05) 25px),
    linear-gradient(90deg, transparent 24px, rgba(255,255,255,0.05) 25px);
  background-size: 25px 25px;
  opacity: 0.4;
  pointer-events: none;
}
.hero-tick-motief {
  position: absolute; right: -60px; top: 50%; transform: translateY(-50%);
  width: 420px; height: 420px; opacity: 0.16; pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; max-width: 680px; }
.hero .eyebrow { color: var(--terracotta); }
.hero h1 { color: var(--white); margin-bottom: 1.2rem; }
.hero p.intro { font-size: 1.08rem; color: rgba(255,255,255,0.82); max-width: 560px; margin-bottom: 2.1rem; }
.hero-acties { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.3rem; }
.hero-feiten { display: flex; gap: 2.2rem; flex-wrap: wrap; padding-top: 1.6rem; border-top: 1px solid rgba(255,255,255,0.18); }
.hero-feit b { display: block; color: var(--white); font-size: 1rem; font-weight: 600; }
.hero-feit span { font-size: 0.84rem; color: rgba(255,255,255,0.65); }

/* ---------- Sections ---------- */
section { padding: 4.5rem 0; }
.sectie-licht { background: var(--offwhite); }
.sectie-intro { max-width: 640px; margin-bottom: 2.8rem; }
.sectie-intro p { color: var(--text-muted); font-size: 1.02rem; }

/* ---------- Diensten cards ---------- */
.diensten-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem;
}
.dienst-kaart {
  background: var(--white); border: 1px solid var(--border); border-top: 4px solid var(--terracotta);
  border-radius: var(--radius); padding: 2.1rem;
}
.dienst-kaart.in-opleiding { border-top-color: var(--midnight); }
.dienst-kop { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 0.8rem; }
.badge {
  display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 0.3rem 0.65rem; border-radius: 999px; white-space: nowrap;
}
.badge-beschikbaar { background: rgba(217,107,67,0.12); color: var(--terracotta-dark); }
.badge-inopleiding { background: rgba(26,43,76,0.09); color: var(--midnight); }
.dienst-kaart p { color: var(--text-muted); margin-bottom: 1.1rem; }
.dienst-kaart ul { list-style: none; display: flex; flex-direction: column; gap: 0.55rem; }
.dienst-kaart li { padding-left: 1.4rem; position: relative; font-size: 0.95rem; }
.dienst-kaart li::before {
  content: ''; position: absolute; left: 0; top: 0.55em; width: 8px; height: 8px;
  background: var(--terracotta); border-radius: 2px;
}
.dienst-kaart.in-opleiding li::before { background: var(--midnight); }
.dienst-link { display: inline-block; margin-top: 1.3rem; font-weight: 600; color: var(--terracotta); text-decoration: none; }
.dienst-link:hover { text-decoration: underline; }

@media (max-width: 820px) {
  .diensten-grid { grid-template-columns: 1fr; }
}

/* ---------- Waarom / punten ---------- */
.punten-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; }
.punt { padding: 0.2rem; }
.punt-icoon {
  width: 46px; height: 46px; border-radius: var(--radius);
  background: var(--midnight); display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.punt-icoon svg { width: 22px; height: 22px; stroke: var(--white); }
.punt h3 { margin-bottom: 0.45rem; font-size: 1.05rem; }
.punt p { color: var(--text-muted); font-size: 0.94rem; }

@media (max-width: 820px) {
  .punten-grid { grid-template-columns: 1fr; gap: 1.6rem; }
}

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--midnight); color: var(--white);
  border-radius: var(--radius);
  padding: 3rem 2.5rem;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.6rem;
}
.cta-band h2 { color: var(--white); margin-bottom: 0.4rem; font-size: clamp(1.4rem, 2.6vw, 1.8rem); }
.cta-band p { color: rgba(255,255,255,0.78); }
.cta-acties { display: flex; gap: 0.9rem; flex-wrap: wrap; }

/* ---------- Pagina header (subpagina's) ---------- */
.page-header {
  background: var(--midnight); color: var(--white);
  padding: 4.5rem 0 3.2rem;
}
.page-header h1 { color: var(--white); margin-bottom: 0.7rem; }
.page-header p { color: rgba(255,255,255,0.78); max-width: 620px; font-size: 1.02rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 2rem; align-items: start; }
.contact-kaart {
  border: 1px solid var(--border); border-radius: var(--radius); padding: 2.2rem;
}
.contact-kaart.donker { background: var(--midnight); color: var(--white); border-color: transparent; }
.contact-kaart.donker h3 { color: var(--white); }
.contact-rij { display: flex; align-items: flex-start; gap: 0.9rem; padding: 0.85rem 0; border-bottom: 1px solid rgba(0,0,0,0.06); }
.contact-kaart.donker .contact-rij { border-bottom-color: rgba(255,255,255,0.12); }
.contact-rij:last-child { border-bottom: none; }
.contact-rij .label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); display: block; margin-bottom: 0.15rem; }
.contact-kaart.donker .contact-rij .label { color: rgba(255,255,255,0.55); }
.contact-rij .waarde { font-weight: 600; font-size: 1rem; }
.contact-rij .waarde a { text-decoration: none; color: var(--midnight); }
.contact-kaart.donker .contact-rij .waarde a { color: var(--white); }
.contact-rij .waarde a:hover { color: var(--terracotta); }

@media (max-width: 820px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* ---------- Over pagina ---------- */
.over-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 2.6rem; align-items: center; }
.over-portret {
  aspect-ratio: 4/5; border-radius: var(--radius); background: var(--offwhite);
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); font-size: 0.9rem; text-align: center;
}
@media (max-width: 820px) {
  .over-grid { grid-template-columns: 1fr; }
}

.tijdlijn { list-style: none; display: flex; flex-direction: column; gap: 1.4rem; margin-top: 1rem; }
.tijdlijn li { display: flex; gap: 1rem; align-items: flex-start; }
.tijdlijn .stip { width: 12px; height: 12px; border-radius: 50%; background: var(--terracotta); margin-top: 0.4rem; flex-shrink: 0; }
.tijdlijn.done .stip { background: var(--midnight); }
.tijdlijn strong { display: block; color: var(--midnight); }
.tijdlijn span { color: var(--text-muted); font-size: 0.92rem; }

/* ---------- Footer ---------- */
footer {
  background: var(--midnight); color: rgba(255,255,255,0.7);
  padding: 3.2rem 0 1.6rem;
}
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2.2rem; margin-bottom: 2.4rem; }
.footer-logo img { height: 40px; width: auto; margin-bottom: 0.9rem; }
.footer-grid p { color: rgba(255,255,255,0.55); font-size: 0.92rem; }
.footer-grid h4 { color: var(--white); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.9rem; }
.footer-grid ul { list-style: none; display: flex; flex-direction: column; gap: 0.55rem; }
.footer-grid a { color: rgba(255,255,255,0.65); text-decoration: none; font-size: 0.92rem; }
.footer-grid a:hover { color: var(--terracotta); }
.footer-onder {
  border-top: 1px solid rgba(255,255,255,0.12); padding-top: 1.4rem;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.8rem;
  font-size: 0.8rem; color: rgba(255,255,255,0.45);
}
.footer-onder a { color: rgba(255,255,255,0.55); text-decoration: none; }
.footer-onder a:hover { color: var(--terracotta); }

@media (max-width: 820px) {
  .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .footer-onder { flex-direction: column; text-align: center; }
}

/* ---------- 404 ---------- */
.pagina-404 {
  min-height: 70vh; display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 5rem 1.75rem;
}
.pagina-404 .code { font-size: 5.5rem; font-weight: 700; color: var(--terracotta); line-height: 1; margin-bottom: 0.6rem; }

/* ---------- Privacy / tekstpagina ---------- */
.tekst-pagina { max-width: 720px; }
.tekst-pagina h2 { margin-top: 2.4rem; margin-bottom: 0.8rem; font-size: 1.25rem; }
.tekst-pagina p, .tekst-pagina li { color: var(--text-muted); margin-bottom: 0.9rem; }
.tekst-pagina ul { padding-left: 1.2rem; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
