/* ==========================================================================
   HappyNurse Doetinchem — werkenbij site
   Shared design system
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Anton&family=Roboto:ital,wght@0,400;0,500;0,700;0,900;1,400&display=swap');

:root {
  /* ===== HappyNurse huisstijl (Handboek v1.1) ===== */
  --hn-blue-dark:    #174066;  /* hoofdkleur — donkerblauw (Pantone 288 C) */
  --hn-blue:         #51B5E0;  /* steunkleur — lichtblauw (Pantone 298 C) */
  --hn-blue-20:      #DAF0F8;  /* 20% lichtblauw */
  --hn-blue-10:      #EDF8FC;  /* 10% lichtblauw */
  --hn-orange:       #ED8132;  /* signaal- / CTA-kleur (Pantone 165 C) */
  --hn-orange-dark:  #D96E1C;

  /* Role aliases (site is built on these token names) */
  --hn-green:        #174066;  /* primair — knoppen, iconen, accenten */
  --hn-green-bg:     #EDF8FC;
  --hn-green-dark:   #102E49;  /* diepste blauw — koppen & footer */
  --hn-accent:       #174066;

  --hn-green-50:     #F4FAFD;
  --hn-green-100:    #EDF8FC;
  --hn-green-200:    #DAF0F8;
  --hn-green-soft:   #BBE2F4;

  /* Sector accentkleuren (huisstijl) */
  --sector-vvt:      #0086C8; /* VVT — blauw (Pantone 7460 C) */
  --sector-vvt-bg:   #E5F3F9;
  --sector-ggz:      #702F8A; /* GGZ — paars (Pantone 526 C) */
  --sector-ggz-bg:   #F0EAF3;
  --sector-ghz:      #B07A0A; /* GHZ — geel/goud (Pantone 130 C, leesbaar) */
  --sector-ghz-bg:   #FEF6E5;
  --sector-zkh:      #2C8F82; /* ZKH — turkoois (Pantone 569 C) */
  --sector-zkh-bg:   #E9F4F2;

  /* Neutrals — koel (blauw) getint */
  --ink:             #142A3D;
  --ink-soft:        #4A5A68;
  --ink-mute:        #7B8794;
  --line:            #E2E9EF;
  --line-soft:       #EFF3F6;
  --paper:           #FFFFFF;
  --paper-warm:      #FAFCFE;

  /* Shape & depth */
  --r-sm:  12px;
  --r-md:  18px;
  --r-lg:  28px;
  --r-xl:  40px;
  --r-pill: 999px;

  --shadow-sm: 0 2px 8px rgba(23, 64, 102, 0.05);
  --shadow-md: 0 10px 30px rgba(23, 64, 102, 0.08);
  --shadow-lg: 0 24px 60px rgba(23, 64, 102, 0.12);
  --shadow-green: 0 14px 34px rgba(23, 64, 102, 0.26);
  --shadow-cta:   0 14px 34px rgba(237, 129, 50, 0.32);

  --maxw: 1200px;
  --gutter: clamp(20px, 5vw, 56px);

  /* Type — Anton (vervangt Acumin) voor display, Roboto voor de rest */
  --font-display: 'Anton', 'Oswald', system-ui, sans-serif;
  --font-head: 'Roboto', system-ui, sans-serif;
  --font-body: 'Roboto', system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--hn-green-dark);
  line-height: 1.14;
  margin: 0;
  letter-spacing: -0.01em;
}
/* Display headings use Anton (huisstijl koppen, vervangt Acumin) */
h1, h2 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.005em;
  line-height: 1.1;
}

p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(56px, 8vw, 110px); }
.section--tight { padding-block: clamp(40px, 5vw, 64px); }

/* ===== Eyebrow / kicker ===== */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--hn-green);
}
.kicker::before {
  content: "";
  width: 22px; height: 3px;
  border-radius: 3px;
  background: var(--hn-green);
}

/* ===== Buttons ===== */
.btn {
  --btn-bg: var(--hn-green);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  padding: 15px 28px;
  border-radius: var(--r-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-green); }
.btn:active { transform: translateY(0); }
.btn svg { width: 20px; height: 20px; }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--hn-green-dark);
  border-color: var(--hn-green-soft);
}
.btn--ghost:hover { box-shadow: none; background: var(--hn-green-50); border-color: var(--hn-green); }

.btn--white {
  --btn-bg: #fff;
  --btn-fg: var(--hn-green-dark);
}
.btn--white:hover { box-shadow: 0 14px 34px rgba(0,0,0,.18); }

/* Signaal- / CTA-kleur (oranje) — spaarzaam gebruiken voor dé actie */
.btn--cta {
  --btn-bg: var(--hn-orange);
  --btn-fg: #fff;
}
.btn--cta:hover { background: var(--hn-orange-dark); box-shadow: var(--shadow-cta); }

.btn--lg { padding: 18px 34px; font-size: 1.06rem; }
.btn--sm { padding: 11px 20px; font-size: 0.92rem; }

/* ===== Sector chip ===== */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.82rem;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  background: var(--chip-bg, var(--hn-green-bg));
  color: var(--chip-fg, var(--hn-accent));
}
.chip .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--chip-fg, var(--hn-green)); }

.chip[data-sector="VVT"]        { --chip-bg: var(--sector-vvt-bg); --chip-fg: var(--sector-vvt); }
.chip[data-sector="GGZ"]        { --chip-bg: var(--sector-ggz-bg); --chip-fg: var(--sector-ggz); }
.chip[data-sector="GHZ"]        { --chip-bg: var(--sector-ghz-bg); --chip-fg: var(--sector-ghz); }
.chip[data-sector="Ziekenhuis"] { --chip-bg: var(--sector-zkh-bg); --chip-fg: var(--sector-zkh); }

/* ===== Image placeholder ===== */
.ph {
  position: relative;
  background-color: var(--hn-green-100);
  background-image: repeating-linear-gradient(
    -45deg,
    rgba(23,64,102,.05) 0 12px,
    rgba(23,64,102,0) 12px 24px
  );
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: var(--hn-accent);
}
.ph__label {
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 0.78rem;
  letter-spacing: .02em;
  background: rgba(255,255,255,.78);
  padding: 7px 13px;
  border-radius: var(--r-pill);
  color: var(--hn-accent);
  text-align: center;
  max-width: 80%;
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 78px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.brand__logo {
  height: 40px;
  width: auto;
  display: block;
}
.brand__loc {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.74rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--hn-blue-dark);
  padding-left: 12px;
  border-left: 2px solid var(--hn-blue);
  align-self: center;
}
.nav {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}
.nav a {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.97rem;
  color: var(--ink);
  padding: 9px 14px;
  border-radius: var(--r-pill);
  transition: background .15s, color .15s;
}
.nav a:hover { background: var(--hn-green-50); color: var(--hn-green-dark); }
.nav a.is-active { color: var(--hn-green); }
.header-cta { display: flex; align-items: center; gap: 12px; margin-left: 8px; }
.header-phone {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: .95rem;
  color: var(--hn-green-dark); white-space: nowrap;
}
.header-phone svg { flex-shrink: 0; }
.header-phone svg { width: 18px; height: 18px; color: var(--hn-green); }

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 46px; height: 46px;
  border-radius: 13px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
  align-items: center; justify-content: center;
  color: var(--hn-green-dark);
}
.nav-toggle svg { width: 24px; height: 24px; }

/* ===== Footer ===== */
.site-footer {
  background: var(--hn-green-dark);
  color: #C7DEEE;
  padding-block: clamp(48px, 6vw, 80px) 32px;
  margin-top: 40px;
}
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
}
.site-footer a { color: #C7DEEE; transition: color .15s; }
.site-footer a:hover { color: #fff; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; font-size: .96rem; }
.footer-brand .brand { margin-bottom: 16px; }
.footer-brand .brand__loc { color: #fff; border-left-color: rgba(255,255,255,.45); }
.footer-brand p { color: #9FC2DD; font-size: .95rem; max-width: 30ch; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  margin-top: 44px; padding-top: 24px;
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between;
  font-size: .88rem; color: #8FB2CE;
}

/* ===== Vacancy card ===== */
.vac-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  position: relative;
}
.vac-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--hn-green-soft); }
.vac-card__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.vac-card__title { font-size: 1.32rem; }
.vac-card__meta { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--ink-soft); font-size: .94rem; }
.vac-card__meta span { display: inline-flex; align-items: center; gap: 7px; }
.vac-card__meta svg { width: 17px; height: 17px; color: var(--hn-green); flex-shrink: 0; }
.vac-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 4px; padding-top: 18px; border-top: 1px solid var(--line-soft); }
.vac-card__salary { font-family: var(--font-head); font-weight: 600; color: var(--hn-green-dark); }
.vac-card__salary small { display: block; font-family: var(--font-body); font-weight: 500; font-size: .76rem; color: var(--ink-mute); }
.vac-card__arrow {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--hn-green-50); color: var(--hn-green);
  display: grid; place-items: center; flex-shrink: 0;
  transition: background .18s, color .18s, transform .18s;
}
.vac-card:hover .vac-card__arrow { background: var(--hn-green); color: #fff; transform: translateX(2px); }
.vac-card__arrow svg { width: 20px; height: 20px; }

/* ===== Utility ===== */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.center { text-align: center; }
.muted { color: var(--ink-soft); }
.lead { font-size: 1.16rem; color: var(--ink-soft); line-height: 1.65; }
.stack-sm > * + * { margin-top: 10px; }
.mt-s { margin-top: 18px; }
.mt-m { margin-top: 32px; }
.mt-l { margin-top: 52px; }

.section-head { max-width: 62ch; }
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); margin-top: 14px; }
.section-head.center { margin-inline: auto; }

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1120px) {
  .header-phone { display: none; }
  .nav a { padding: 9px 11px; }
}
@media (max-width: 860px) {
  .nav, .header-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav.is-open {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; top: 78px; left: 0; right: 0;
    background: #fff; padding: 16px var(--gutter) 24px;
    border-bottom: 1px solid var(--line); gap: 2px;
    box-shadow: var(--shadow-md);
  }
  .nav.is-open a { padding: 13px 14px; font-size: 1.05rem; }
}
@media (max-width: 640px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  body { font-size: 16px; }
}

/* ==========================================================================
   Vacaturedetail (vacature-<slug>.html)
   ========================================================================== */
.detail-hero { background: var(--hn-green-50); padding-block: clamp(28px, 4vw, 44px) clamp(36px, 5vw, 56px); }
.breadcrumb { display:flex; gap:8px; align-items:center; font-size:.9rem; color:var(--ink-mute); margin-bottom:20px; flex-wrap:wrap; }
.breadcrumb a:hover { color:var(--hn-green); }
.breadcrumb svg { width:15px; height:15px; }
.detail-hero h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); max-width: 20ch; }
.detail-chips { display:flex; flex-wrap:wrap; gap:10px; margin-top:18px; }

.detail-layout { display:grid; grid-template-columns: 1fr 360px; gap:48px; align-items:start; }
.prose h2 { font-size:1.5rem; margin-top:38px; margin-bottom:14px; }
.prose h2:first-child { margin-top:0; }
.prose p { color:var(--ink-soft); }
.prose ul { list-style:none; padding:0; margin:0; display:grid; gap:13px; }
.prose ul li { display:flex; gap:13px; align-items:flex-start; color:var(--ink); }
.prose ul li .tick { width:26px; height:26px; border-radius:50%; background:var(--hn-green-100); color:var(--hn-green); display:grid; place-items:center; flex-shrink:0; margin-top:1px; }
.prose ul li .tick svg { width:15px; height:15px; }

.facts {
  background:var(--paper); border:1px solid var(--line); border-radius:var(--r-lg); padding:26px;
  position:sticky; top:96px;
}
.facts h3 { font-size:1.15rem; margin-bottom:18px; }
.fact-row { display:flex; justify-content:space-between; gap:16px; padding:12px 0; border-top:1px solid var(--line-soft); font-size:.96rem; }
.fact-row:first-of-type { border-top:none; }
.fact-row .k { color:var(--ink-mute); display:flex; align-items:center; gap:9px; }
.fact-row .k svg { width:17px; height:17px; color:var(--hn-green); }
.fact-row .v { font-family:var(--font-head); font-weight:600; color:var(--hn-green-dark); text-align:right; }
.facts .btn { width:100%; margin-top:22px; }

.recruiter-card { background:var(--hn-green-dark); color:#fff; border-radius:var(--r-lg); padding:24px; margin-top:18px; }
.recruiter-card h3 { color:#fff; font-size:1.05rem; }
.recruiter-top { display:flex; gap:14px; align-items:center; margin-bottom:14px; }
.recruiter-avatar { width:52px; height:52px; border-radius:50%; background:var(--hn-green); display:grid; place-items:center; font-family:var(--font-head); font-weight:700; font-size:1.2rem; color:#fff; flex-shrink:0; }
.recruiter-card p { color:#BAD8EC; font-size:.92rem; }
.recruiter-card a.rc-phone { display:flex; align-items:center; gap:10px; margin-top:16px; font-family:var(--font-head); font-weight:600; color:#fff; }
.recruiter-card a.rc-phone svg { width:18px; height:18px; }

.salary-highlight { background:var(--hn-green-100); border-radius:var(--r-md); padding:16px 18px; margin-bottom:20px; }
.salary-highlight small { color:var(--hn-accent); font-weight:600; font-size:.8rem; text-transform:uppercase; letter-spacing:.04em; }
.salary-highlight b { display:block; font-family:var(--font-head); font-size:1.5rem; color:var(--hn-green-dark); margin-top:2px; }

.related { background:var(--paper-warm); border-top:1px solid var(--line-soft); }

@media (max-width: 880px) {
  .detail-layout { grid-template-columns: 1fr; }
  .facts { position:static; }
}
