/* ============================================
   QUICKENADVIES.NL – STYLESHEET
   Gebaseerd op het designsysteem van quickenevaluatie.nl / de landingspagina's
   ============================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;1,400&family=Inter:wght@300;400;500;600&display=swap');

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --color-bg:        #FAFAF8;
  --color-white:     #FFFFFF;
  --color-black:     #0D0D0D;
  --color-navy:      #1A2B4A;
  --color-navy-mid:  #2C4270;
  --color-navy-deep: #0D1626;
  --color-grey:      #6B7280;
  --color-grey-light:#E8E8E3;
  --color-grey-xlt:  #F2F2EF;

  --font-serif:      'Playfair Display', Georgia, serif;
  --font-sans:       'Inter', system-ui, sans-serif;

  --max-width:       1140px;
  --section-pad:     96px;
  --section-pad-sm:  64px;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-black);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.2;
  color: var(--color-black);
}

h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: 1.2rem; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); margin-bottom: 0.75rem; }
h4 { font-size: 1.1rem; font-family: var(--font-sans); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--color-grey); margin-bottom: 0.5rem; }

p { margin-bottom: 1.2rem; color: var(--color-black); }
p:last-child { margin-bottom: 0; }

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

strong { font-weight: 600; }

ul { list-style: none; }

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

/* --- Layout --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: var(--section-pad) 0;
}

section.alt {
  background-color: var(--color-grey-xlt);
}

section.dark {
  background-color: var(--color-navy);
  color: var(--color-white);
}

section.dark h2,
section.dark h3,
section.dark p {
  color: var(--color-white);
}

.section-label {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-grey);
  margin-bottom: 1.5rem;
  display: block;
}

.section-label.light {
  color: rgba(255,255,255,0.55);
}

/* --- Grid --- */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.grid-2col-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

/* --- Navigation --- */
.nav {
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-grey-light);
  position: relative;
  z-index: 100;
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.1rem 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.nav-logo {
  display: block;
}

.nav-logo img {
  display: block;
  height: 64px;
  width: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  list-style: none;
}

.nav-menu > li {
  position: relative;
}

.nav-menu > li > a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-black);
  padding: 0.5rem 0.1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.nav-menu > li > a:hover,
.nav-menu > li.active > a {
  color: var(--color-navy);
  text-decoration: none;
}

.nav-menu .caret {
  font-size: 0.6rem;
  opacity: 0.6;
}

.nav-menu .dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  background: var(--color-white);
  border: 1px solid var(--color-grey-light);
  box-shadow: 0 16px 32px -12px rgba(13,20,38,0.18);
  padding: 0.5rem 0;
  list-style: none;
}

.nav-menu li.has-dropdown:hover > .dropdown,
.nav-menu li.has-dropdown:focus-within > .dropdown {
  display: block;
}

.nav-menu .dropdown a {
  display: block;
  padding: 0.65rem 1.25rem;
  font-size: 0.85rem;
  color: var(--color-black);
  white-space: nowrap;
}

.nav-menu .dropdown a:hover {
  background: var(--color-grey-xlt);
  color: var(--color-navy);
  text-decoration: none;
}

.nav-cta a {
  background: var(--color-navy);
  color: var(--color-white);
  padding: 0.6rem 1.4rem;
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  transition: background 0.2s;
  white-space: nowrap;
}

.nav-cta a:hover {
  background: var(--color-navy-mid);
  color: var(--color-white);
  text-decoration: none;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--color-grey-light);
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: '';
  display: block;
  width: 18px;
  height: 2px;
  background: var(--color-black);
  position: relative;
  transition: transform 0.2s;
}

.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
}

.btn-primary {
  background: var(--color-navy);
  color: var(--color-white);
}

.btn-primary:hover {
  background: var(--color-navy-mid);
  color: var(--color-white);
  text-decoration: none;
}

.btn-outline {
  background: transparent;
  color: var(--color-white);
  border: 1px solid rgba(255,255,255,0.4);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  color: var(--color-white);
  text-decoration: none;
}

.btn-outline-dark {
  background: transparent;
  color: var(--color-navy);
  border: 1px solid var(--color-navy);
}

.btn-outline-dark:hover {
  background: var(--color-navy);
  color: var(--color-white);
  text-decoration: none;
}

/* --- Hero (zonder foto) --- */
.hero {
  padding: 120px 0 100px;
  background-color: var(--color-bg);
  border-bottom: 1px solid var(--color-grey-light);
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-grey);
  margin-bottom: 2rem;
  display: block;
}

.hero h1 {
  max-width: 820px;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.15rem;
  font-weight: 300;
  color: var(--color-grey);
  margin-bottom: 1.5rem;
  letter-spacing: 0.01em;
  max-width: 640px;
}

.hero-intro {
  max-width: 560px;
  font-size: 1.05rem;
  line-height: 1.75;
  color: #444;
  margin-bottom: 2.5rem;
}

/* --- Hero met duotone sfeerfoto --- */
.hero.hero-photo {
  position: relative;
  padding: 168px 0 132px;
  border-bottom: none;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(13,22,38,0.82) 0%, rgba(26,43,74,0.68) 55%, rgba(26,43,74,0.55) 100%);
}

.hero.hero-photo .hero-inner {
  position: relative;
  z-index: 1;
}

.hero.hero-photo .hero-eyebrow { color: rgba(255,255,255,0.7); }
.hero.hero-photo h1 { color: var(--color-white); }
.hero.hero-photo .hero-subtitle { color: rgba(255,255,255,0.82); }
.hero.hero-photo .hero-intro { color: rgba(255,255,255,0.82); }
.hero.hero-photo .divider { background: rgba(255,255,255,0.5); }

/* --- Duotone foto (algemeen, ook binnen secties) --- */
.photo-duotone {
  position: relative;
  overflow: hidden;
}

.photo-duotone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.08) brightness(0.95);
  display: block;
}

.photo-duotone::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(13,22,38,0.5), rgba(26,43,74,0.38));
  mix-blend-mode: multiply;
}

.photo-frame {
  aspect-ratio: 4 / 5;
}

.photo-frame.wide {
  aspect-ratio: 16 / 9;
}

/* --- Divider --- */
.divider {
  width: 48px;
  height: 2px;
  background: var(--color-navy);
  margin: 2rem 0;
}

/* --- Cards --- */
.card {
  padding: 2.5rem;
  border: 1px solid var(--color-grey-light);
  background: var(--color-white);
}

.card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.card .photo-frame {
  aspect-ratio: 16 / 10;
  margin-bottom: 1.5rem;
}

/* --- Dash list (opsommingen) --- */
.dash-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.dash-list li {
  padding: 0.9rem 1.1rem;
  background: var(--color-white);
  border: 1px solid var(--color-grey-light);
  font-size: 0.95rem;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.dash-list li::before {
  content: '–';
  color: var(--color-navy);
  font-weight: 300;
  flex-shrink: 0;
}

/* --- Numbered steps (aanpak-lijsten) --- */
.step-list {
  list-style: none;
  counter-reset: step;
  display: grid;
  gap: 1rem;
}

.step-list li {
  counter-increment: step;
  display: flex;
  gap: 1.25rem;
  align-items: baseline;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--color-grey-light);
}

.step-list li::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--color-navy);
  flex-shrink: 0;
  min-width: 2.2rem;
}

/* --- Klantlogo-grid --- */
.logo-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2.75rem;
  align-items: center;
  justify-content: center;
}

.logo-grid img {
  max-height: 44px;
  max-width: 140px;
  width: auto;
  height: auto;
  filter: grayscale(1);
  opacity: 0.68;
  transition: opacity 0.2s, filter 0.2s;
}

.logo-grid img:hover {
  filter: grayscale(0);
  opacity: 1;
}

/* --- Testimonials --- */
.testimonial {
  padding: 2.25rem 2.5rem;
  background: var(--color-white);
  border-left: 3px solid var(--color-navy);
}

.testimonial .quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.08rem;
  line-height: 1.65;
  color: var(--color-black);
  margin-bottom: 1.25rem;
}

.testimonial .author {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-navy);
}

.testimonial .author span {
  display: block;
  font-weight: 400;
  color: var(--color-grey);
  margin-top: 0.15rem;
}

/* --- Case / referentie-lijst --- */
.case-list {
  display: grid;
  gap: 1.5rem;
}

.case {
  padding: 2rem 2.25rem;
  background: var(--color-white);
  border: 1px solid var(--color-grey-light);
}

.case h3 {
  font-size: 1.05rem;
}

/* --- Downloadkaart (toolbox-PDF's) --- */
.download-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.download-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.4rem;
  background: var(--color-white);
  border: 1px solid var(--color-grey-light);
  transition: border-color 0.2s;
}

.download-card:hover {
  border-color: var(--color-navy);
}

.download-card .icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-grey-xlt);
  color: var(--color-navy);
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.download-card .label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-black);
}

.download-card a.dl-link {
  color: var(--color-black);
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
}

.download-card a.dl-link:hover {
  text-decoration: none;
}

.download-card a.dl-link:hover .label {
  color: var(--color-navy);
  text-decoration: underline;
}

/* --- Team-kaart --- */
.team-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 2.5rem;
  align-items: start;
  padding: 2.5rem;
  background: var(--color-white);
  border: 1px solid var(--color-grey-light);
}

.team-card .photo-frame {
  aspect-ratio: 1 / 1;
}

.team-card.vacancy {
  grid-template-columns: 1fr;
  text-align: left;
}

/* --- Meerdere knoppen naast elkaar in CTA-sectie --- */
.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* --- Kruisverwijzing in donkere CTA-sectie --- */
.cta-crosslink {
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
}

.cta-crosslink a {
  color: var(--color-white);
  text-decoration: underline;
}

.cta-crosslink a:hover {
  color: rgba(255,255,255,0.85);
}

/* --- Footer --- */
.footer {
  padding: 3rem 0;
  border-top: 1px solid var(--color-grey-light);
  background: var(--color-bg);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-logo {
  display: block;
}

.footer-logo img {
  display: block;
  height: 56px;
  width: auto;
}

.footer-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.4rem;
}

.footer-meta a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-navy);
}

.footer-meta a:hover {
  color: var(--color-navy-mid);
}

.footer-copy {
  font-size: 0.75rem;
  color: var(--color-grey);
}

.footer-address {
  font-size: 0.75rem;
  color: var(--color-grey);
}

/* --- Cookiemelding --- */
.cookie-consent[hidden] { display: none; }

.cookie-consent {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 200;
  max-width: 560px;
  margin: 0 auto;
  background: var(--color-navy);
  color: var(--color-white);
  padding: 1.25rem 1.5rem;
  box-shadow: 0 12px 32px -8px rgba(0,0,0,0.35);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  font-size: 0.875rem;
}

.cookie-consent p {
  margin: 0;
  flex: 1;
  min-width: 220px;
  color: rgba(255,255,255,0.85);
}

.cookie-consent .buttons {
  display: flex;
  gap: 0.6rem;
}

.cookie-consent button {
  border: none;
  padding: 0.55rem 1.1rem;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  cursor: pointer;
}

.cookie-consent button[data-accept] {
  background: var(--color-white);
  color: var(--color-navy);
}

.cookie-consent button[data-accept]:hover {
  background: var(--color-grey-xlt);
}

.cookie-consent button[data-decline] {
  background: transparent;
  color: rgba(255,255,255,0.75);
  border: 1px solid rgba(255,255,255,0.4);
}

.cookie-consent button[data-decline]:hover {
  background: rgba(255,255,255,0.1);
  color: var(--color-white);
}

/* --- Utility --- */
.text-grey  { color: var(--color-grey); }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }
.center { text-align: center; }

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 980px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-grey-light);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 0 1rem;
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-menu > li {
    width: 100%;
  }

  .nav-menu > li > a {
    padding: 0.75rem 2rem;
    width: 100%;
    justify-content: space-between;
  }

  .nav-menu .dropdown {
    display: block;
    position: static;
    border: none;
    box-shadow: none;
    background: var(--color-grey-xlt);
    padding: 0;
  }

  .nav-menu li.has-dropdown:hover > .dropdown,
  .nav-menu li.has-dropdown:focus-within > .dropdown {
    display: block;
  }

  .nav-menu .dropdown a {
    padding: 0.6rem 2.5rem;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-cta {
    display: none;
  }
}

@media (max-width: 900px) {
  :root {
    --section-pad: 64px;
  }

  .nav-logo img {
    height: 52px;
  }

  .grid-3 {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .grid-2, .grid-2col-cards {
    grid-template-columns: 1fr;
  }

  .team-card {
    grid-template-columns: 1fr;
  }

  .team-card .photo-frame {
    max-width: 220px;
  }

  .download-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 700px) {
  :root {
    --section-pad: 48px;
  }

  .nav-inner {
    padding: 1rem 1.25rem;
  }

  .nav-logo img {
    height: 44px;
  }

  .hero, .hero.hero-photo {
    padding-top: 110px;
    padding-bottom: 72px;
  }

  .dash-list {
    grid-template-columns: 1fr;
  }

  .download-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-meta {
    align-items: flex-start;
  }

  .logo-grid {
    gap: 1.75rem;
  }
}
