/* =========================================================
   Lowcarbcenter — Vacaturepagina
   Huisstijl: schoon, veel wit, groen accent, afgeronde knoppen.
   Mobile-first + responsive.
   ========================================================= */

:root {
  --green: #3a8a3a;
  --green-dark: #2f7030;
  --green-light: #eaf4ea;
  --brand: #7ac144; /* Lowcarbcenter huisstijlgroen (uit logo) */
  --header-bg: #343e47; /* donkere headerbalk zoals lowcarbcenter.nl */
  --ink: #1f2a24;
  --muted: #5c6b62;
  --line: #e3e8e4;
  --bg: #ffffff;
  --tint: #f5f9f5;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 20px rgba(31, 42, 36, 0.06);
  --container: 1180px;
  --font: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

img { max-width: 100%; display: block; }

a { color: var(--green-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 0.5em; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}
.container--narrow { max-width: 760px; }
.center { text-align: center; }

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-block;
  border: none;
  border-radius: 999px;
  padding: 12px 26px;
  font-size: 1rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.05s ease;
}
.btn:hover { text-decoration: none; }
.btn--primary { background: var(--green); color: #fff; }
.btn--primary:hover { background: var(--green-dark); }
.btn--primary:active { transform: translateY(1px); }
.btn--large { padding: 15px 34px; font-size: 1.05rem; }

/* =========================================================
   HEADER — alleen huisstijlkleur + logo (zoals lowcarbcenter.nl)
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header-bg);
}
.header__inner {
  display: flex;
  align-items: center;
  min-height: 56px;
}
.logo img { height: 26px; width: auto; opacity: 0.92; }

/* =========================================================
   SECTIONS (generiek)
   ========================================================= */
.section { padding: 64px 0; }
.section--tint { background: var(--tint); }

.section__title {
  font-size: 2rem;
  text-align: center;
}
.section__title--left { text-align: left; }
.section__lead {
  text-align: center;
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto 40px;
  font-size: 1.1rem;
}
.section__note {
  max-width: 640px;
  margin: 28px auto 0;
  color: var(--muted);
  font-size: 0.95rem;
  text-align: center;
}

.badge {
  display: inline-block;
  background: var(--green-light);
  color: var(--green-dark);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}

/* =========================================================
   1. HERO
   ========================================================= */
.hero {
  background: linear-gradient(180deg, var(--green-light) 0%, #fff 100%);
  padding: 28px 0 56px;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.hero h1 { font-size: 2.8rem; margin-bottom: 16px; }
.hero__subtitle { font-size: 1.2rem; color: var(--muted); margin-bottom: 20px; }
.hero__perks {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-weight: 500;
}

/* Placeholder afbeeldingen (lichtgrijze div's) */
.placeholder-img {
  background: repeating-linear-gradient(45deg, #eef2ef, #eef2ef 12px, #e6ece7 12px, #e6ece7 24px);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-weight: 600;
  min-height: 320px;
}
.placeholder-img--hero { min-height: 380px; }

/* Hero-afbeelding */
.hero__img {
  width: 100%;
  height: 100%;
  max-height: 460px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

/* =========================================================
   CARDS (werkdag, voorwaarden, reviews)
   ========================================================= */
.cards {
  display: grid;
  gap: 24px;
}
.cards--3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
}
.card h3 { font-size: 1.2rem; }
.card--icon { text-align: center; }
.card__icon {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

/* =========================================================
   3. SALARIS-CALCULATOR
   ========================================================= */
.calculator {
  max-width: 620px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
  text-align: center;
}
.calculator__toggle {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  background: var(--tint);
  padding: 6px;
  border-radius: 999px;
  margin-bottom: 24px;
}
.calc-hours {
  border: none;
  background: transparent;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: inherit;
  color: var(--muted);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.calc-hours.is-active { background: var(--green); color: #fff; }

.calculator__result { display: flex; flex-direction: column; gap: 4px; }
.calculator__label { color: var(--muted); font-size: 0.95rem; }
.calculator__amount { font-size: 2.6rem; font-weight: 800; color: var(--green-dark); }
.calculator__meta { color: var(--muted); font-size: 0.85rem; }

/* =========================================================
   4. ROOSTER & LOCATIES (split)
   ========================================================= */
.split {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  align-items: start;
}
.split__aside {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
}
.location-list { list-style: none; padding: 0; margin: 0; }
.location-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.location-list li:last-child { border-bottom: none; }
.location-list__name { font-weight: 600; }
.location-list__addr { color: var(--muted); font-size: 0.9rem; }

/* ---------------- Checklists ---------------- */
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li {
  position: relative;
  padding: 6px 0 6px 30px;
}
.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 6px;
  color: var(--green);
  font-weight: 800;
}
.checklist--big li { font-size: 1.1rem; padding: 10px 0 10px 32px; }

/* =========================================================
   5. FORMULIER
   ========================================================= */
.apply-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 28px;
  box-shadow: var(--shadow);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.form-group { margin-bottom: 14px; }
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 5px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-family: inherit;
  background: #fff;
  color: var(--ink);
}
.form-group textarea { resize: vertical; min-height: 76px; }
.form-group input[type="file"] { padding: 9px 12px; background: var(--tint); cursor: pointer; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: 2px solid var(--green);
  outline-offset: 1px;
  border-color: var(--green);
}
.form-group input.is-invalid,
.form-group select.is-invalid { border-color: #c0392b; }

.form-group__legend {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 6px;
}
.label-hint { font-weight: 400; color: var(--muted); }
.field-hint { display: block; margin-top: 6px; font-size: 0.82rem; line-height: 1.4; }

/* Dagen-selector (checkbox pills) */
.daypicker { display: flex; flex-wrap: wrap; gap: 6px; }
.daypicker__day { cursor: pointer; }
.daypicker__day input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.daypicker__day span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--muted);
  background: #fff;
  transition: background 0.12s ease, color 0.12s ease, border-color 0.12s ease;
}
.daypicker__day input:checked + span {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}
.daypicker__day input:focus-visible + span {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}

.req { color: #c0392b; }

.form-group--check { margin-top: 4px; }
.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 500;
  cursor: pointer;
}
.checkbox input { width: auto; margin-top: 4px; }

.field-error {
  display: block;
  color: #c0392b;
  font-size: 0.82rem;
  margin-top: 4px;
}
/* Neem geen ruimte in wanneer er geen foutmelding is (compacter formulier). */
.field-error:empty { margin-top: 0; }

.form-status {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: var(--radius);
  font-weight: 500;
}
.form-status--success { background: var(--green-light); color: var(--green-dark); }
.form-status--error { background: #fdecea; color: #a5281b; }
.form-status--error ul { margin: 0; padding-left: 20px; }

#submitBtn { width: 100%; }
#submitBtn[disabled] { opacity: 0.6; cursor: not-allowed; }

/* =========================================================
   8. REVIEWS
   ========================================================= */
.review {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin: 0;
  box-shadow: var(--shadow);
}
.review p { font-style: italic; margin-top: 0; }
.review footer { color: var(--muted); font-size: 0.9rem; }

/* =========================================================
   9. STEPS
   ========================================================= */
.steps {
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
  text-align: center;
}
.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-weight: 800;
  font-size: 1.2rem;
  margin-bottom: 14px;
}

/* =========================================================
   10. FAQ ACCORDION
   ========================================================= */
.accordion__item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 12px;
  background: #fff;
  overflow: hidden;
}
.accordion__trigger {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 18px 20px;
  font-size: 1.05rem;
  font-weight: 600;
  font-family: inherit;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.accordion__trigger:hover { color: var(--green); }
.accordion__icon {
  position: relative;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.accordion__icon::before,
.accordion__icon::after {
  content: "";
  position: absolute;
  background: var(--green);
  border-radius: 2px;
  transition: transform 0.2s ease;
}
.accordion__icon::before { top: 6px; left: 0; width: 14px; height: 2px; }
.accordion__icon::after { top: 0; left: 6px; width: 2px; height: 14px; }
.accordion__trigger[aria-expanded="true"] .accordion__icon::after { transform: scaleY(0); }

.accordion__panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}
.accordion__panel p { margin: 0; padding: 0 20px 18px; color: var(--muted); }

/* =========================================================
   11. CONTACT
   ========================================================= */
.contact-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin: 0 auto 32px;
}
.contact-link {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px 28px;
  text-align: center;
  color: var(--ink);
  font-weight: 600;
  box-shadow: var(--shadow);
  min-width: 200px;
}
.contact-link:hover { border-color: var(--green); text-decoration: none; }
.contact-link small { color: var(--muted); font-weight: 400; }

/* =========================================================
   PRIVACY / LEGAL PAGINA
   ========================================================= */
.legal h1 { font-size: 2rem; margin-bottom: 6px; }
.legal h2 { font-size: 1.25rem; margin-top: 1.8em; }
.legal p { color: var(--ink); }
.legal .checklist { margin: 12px 0; }
.legal__meta { color: var(--muted); font-size: 0.9rem; margin-bottom: 24px; }
.legal__back {
  display: inline-block;
  margin-bottom: 20px;
  font-weight: 600;
  font-size: 0.95rem;
}
.legal__cta { margin-top: 32px; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { background: var(--ink); color: #cfd8d2; margin-top: 0; }
.footer__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  padding-top: 48px;
  padding-bottom: 40px;
}
.footer__col h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.footer__col ul { list-style: none; padding: 0; margin: 0; }
.footer__col li { padding: 4px 0; }
.footer__col a { color: #cfd8d2; font-size: 0.92rem; }
.footer__col a:hover { color: #fff; }
.social { display: flex; gap: 12px; font-size: 1.4rem; }
.footer__bottom {
  padding: 22px 0;
  font-size: 0.88rem;
  color: #9fb0a7;
  text-align: center;
}
.footer__bottom a { color: #cfd8d2; text-decoration: underline; }
.footer__bottom a:hover { color: #fff; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 860px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.2rem; }
  .cards--3,
  .steps { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .section { padding: 48px 0; }
  .section__title { font-size: 1.6rem; }
  .hero h1 { font-size: 1.9rem; }
  .form-row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .apply-form { padding: 22px; }
  .calculator__amount { font-size: 2.1rem; }
}
