/* =============================================
   HPA — Human Performance Architectuur
   Shared Stylesheet
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ----- VARIABLES ----- */
:root {
  --bg:          #ffffff;
  --bg-alt:      #f5f2ed;
  --bg-dark:     #0d0d0d;
  --bg-dark-2:   #161616;
  --text:        #111111;
  --text-muted:  #666666;
  --text-light:  #f2efe9;
  --text-dim:    #999999;
  --accent:      #c0392b;
  --accent-hover:#a93226;
  --border:      #e0ddd8;
  --border-dark: #2a2a2a;

  --state-over:  #c0392b;
  --state-under: #2980b9;
  --state-inc:   #e67e22;
  --state-reg:   #27ae60;

  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --max-w: 1100px;
  --nav-h: 68px;
  --radius: 3px;
  --transition: 0.2s ease;
}

/* ----- RESET ----- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ----- TYPOGRAPHY ----- */
h1 { font-size: clamp(2.4rem, 5.5vw, 4.8rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 3rem);   font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; }
h3 { font-size: clamp(1.1rem, 2vw, 1.5rem);   font-weight: 600; line-height: 1.3; }
h4 { font-size: 1rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
p  { font-size: 1.0625rem; line-height: 1.75; }
p + p { margin-top: 1rem; }

/* ----- LAYOUT ----- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 2rem; }
.section    { padding: 6rem 0; }
.section--sm { padding: 4rem 0; }
.section--dark { background: var(--bg-dark); color: var(--text-light); }
.section--alt  { background: var(--bg-alt); }

/* Grid helpers */
.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: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* ----- NAVIGATION ----- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: rgba(13,13,13,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-dark);
}
.nav__inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 2rem;
  display: flex; align-items: center; justify-content: space-between;
  width: 100%;
}
.nav__logo {
  font-size: 1.125rem; font-weight: 800; letter-spacing: -0.02em;
  color: var(--text-light);
}
.nav__logo span { color: var(--accent); }
.nav__links { display: flex; align-items: center; gap: 2.5rem; }
.nav__links a {
  font-size: 0.875rem; font-weight: 500;
  color: rgba(242,239,233,0.7);
  transition: color var(--transition);
}
.nav__links a:hover { color: var(--text-light); }
.nav__cta {
  background: var(--accent); color: #fff !important;
  padding: 0.5rem 1.25rem; border-radius: var(--radius);
  font-weight: 600 !important;
  transition: background var(--transition) !important;
}
.nav__cta:hover { background: var(--accent-hover) !important; }
.nav__lang {
  font-size: 0.72rem !important; font-weight: 600 !important;
  letter-spacing: 0.1em; padding: 0.25rem 0.6rem !important;
  border: 1px solid rgba(242,239,233,0.25) !important;
  border-radius: 3px; color: rgba(242,239,233,0.55) !important;
  transition: var(--transition);
}
.nav__lang:hover { color: var(--text-light) !important; border-color: rgba(242,239,233,0.5) !important; }

/* Mobile nav toggle */
.nav__toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; }
.nav__toggle span { display: block; width: 24px; height: 2px; background: var(--text-light); border-radius: 2px; transition: var(--transition); }

/* ----- BUTTONS ----- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.875rem 2rem; border-radius: var(--radius);
  font-family: var(--font); font-size: 0.9375rem; font-weight: 600;
  cursor: pointer; border: none; transition: var(--transition);
  white-space: nowrap;
}
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-hover); }
.btn--outline-light { background: transparent; color: var(--text-light); border: 1.5px solid rgba(242,239,233,0.3); }
.btn--outline-light:hover { border-color: var(--text-light); background: rgba(255,255,255,0.05); }
.btn--outline-dark { background: transparent; color: var(--text); border: 1.5px solid var(--border); }
.btn--outline-dark:hover { border-color: var(--text); }
.btn--lg { padding: 1.1rem 2.5rem; font-size: 1rem; }

/* ----- HERO ----- */
.hero {
  min-height: 100vh; background: var(--bg-dark);
  display: flex; align-items: center;
  padding-top: var(--nav-h);
}
.hero__inner { max-width: var(--max-w); margin: 0 auto; padding: 5rem 2rem; }
.hero__label {
  display: inline-block; font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 1.5rem;
}
.hero__title { color: var(--text-light); max-width: 16ch; margin-bottom: 1.5rem; }
.hero__title em { font-style: normal; color: var(--accent); }
.hero__sub {
  font-size: clamp(1rem, 1.5vw, 1.25rem); color: rgba(242,239,233,0.65);
  max-width: 52ch; margin-bottom: 3rem; line-height: 1.7;
}
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ----- SECTION HEADER ----- */
.section-header { margin-bottom: 3.5rem; }
.section-header--center { text-align: center; }
.section-header .label {
  display: inline-block; font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 0.75rem;
}
.section-header .label--light { color: rgba(192,57,43,0.8); }
.section-header h2 { margin-bottom: 1rem; }
.section-header p { color: var(--text-muted); max-width: 58ch; font-size: 1.0625rem; }
.section-header--center p { margin: 0 auto; }

/* Dark section headings/text */
.section--dark .section-header p { color: rgba(242,239,233,0.55); }
.section--dark h2, .section--dark h3 { color: var(--text-light); }

/* ----- STATES CARDS ----- */
.states-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

.state-card {
  background: var(--bg-dark-2); border: 1px solid var(--border-dark);
  border-radius: var(--radius); padding: 2rem 1.5rem;
  transition: border-color var(--transition);
}
.state-card:hover { border-color: #444; }
.state-card__dot {
  width: 12px; height: 12px; border-radius: 50%;
  margin-bottom: 1.25rem;
}
.state-card__dot--over  { background: var(--state-over); box-shadow: 0 0 10px rgba(192,57,43,0.5); }
.state-card__dot--under { background: var(--state-under); box-shadow: 0 0 10px rgba(41,128,185,0.5); }
.state-card__dot--inc   { background: var(--state-inc);   box-shadow: 0 0 10px rgba(230,126,34,0.5); }
.state-card__dot--reg   { background: var(--state-reg);   box-shadow: 0 0 10px rgba(39,174,96,0.5); }
.state-card h3 { color: var(--text-light); margin-bottom: 0.75rem; font-size: 1.1rem; }
.state-card p  { color: rgba(242,239,233,0.55); font-size: 0.9375rem; line-height: 1.65; }
.state-card--highlight { border-color: var(--state-reg); }
.state-card--highlight h3 { color: var(--state-reg); }

/* ----- ROUTES ----- */
.routes-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.route-card {
  border: 1.5px solid var(--border); border-radius: var(--radius);
  padding: 2.5rem; transition: border-color var(--transition), box-shadow var(--transition);
}
.route-card:hover { border-color: var(--accent); box-shadow: 0 4px 24px rgba(0,0,0,0.06); }
.route-card__tag {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 1rem;
}
.route-card h3 { font-size: 1.5rem; margin-bottom: 1rem; }
.route-card p  { color: var(--text-muted); margin-bottom: 1.5rem; }
.route-card ul { margin-bottom: 2rem; }
.route-card ul li {
  padding: 0.4rem 0; font-size: 0.9375rem; color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}
.route-card ul li:last-child { border-bottom: none; }

/* ----- METHOD LAYERS ----- */
.layers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 2rem; }
.layer {
  padding: 2rem; background: var(--bg-dark-2); border-radius: var(--radius);
  border: 1px solid var(--border-dark);
}
.layer__num {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 0.75rem;
}
.layer h3 { color: var(--text-light); margin-bottom: 0.75rem; }
.layer p   { color: rgba(242,239,233,0.55); font-size: 0.9375rem; }

/* ----- PROGRAM CARDS ----- */
.program-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.program-card {
  border: 1.5px solid var(--border); border-radius: var(--radius);
  padding: 2rem; position: relative; transition: border-color var(--transition);
}
.program-card:hover { border-color: var(--accent); }
.program-card--featured { border-color: var(--accent); }
.program-card__badge {
  position: absolute; top: -1px; right: 2rem;
  background: var(--accent); color: #fff;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; padding: 0.3rem 0.75rem;
  border-radius: 0 0 var(--radius) var(--radius);
}
.program-card__tag {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 0.75rem;
}
.program-card h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.program-card__sub { font-size: 0.875rem; color: var(--text-muted); margin-bottom: 1.25rem; }
.program-card ul { margin-bottom: 1.5rem; }
.program-card ul li {
  display: flex; align-items: flex-start; gap: 0.5rem;
  font-size: 0.9375rem; color: var(--text-muted);
  padding: 0.3rem 0;
}
.program-card ul li::before { content: '—'; color: var(--accent); flex-shrink: 0; }

/* ----- WEEK FLOW ----- */
.week-flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; }
.week-step {
  padding: 2rem 1.5rem; background: var(--bg-dark-2);
  border-right: 1px solid var(--border-dark);
  position: relative;
}
.week-step:last-child { border-right: none; }
.week-step__num {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 0.5rem;
}
.week-step h4 { color: var(--text-light); font-size: 0.95rem; margin-bottom: 0.5rem; letter-spacing: 0; text-transform: none; }
.week-step p  { color: rgba(242,239,233,0.5); font-size: 0.85rem; line-height: 1.6; }

/* ----- QUOTE ----- */
.quote-block {
  border-left: 3px solid var(--accent);
  padding: 1.5rem 2rem;
  background: var(--bg-alt);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.quote-block p {
  font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 500;
  line-height: 1.6; color: var(--text);
}
.quote-block cite {
  display: block; margin-top: 1rem;
  font-style: normal; font-size: 0.875rem;
  color: var(--text-muted);
}

/* ----- STAT ROW ----- */
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.stat { text-align: center; }
.stat__num { font-size: 2.5rem; font-weight: 800; color: var(--text-light); line-height: 1; margin-bottom: 0.5rem; }
.stat__label { font-size: 0.875rem; color: rgba(242,239,233,0.5); }

/* ----- CTA BAND ----- */
.cta-band {
  background: var(--accent); padding: 5rem 0; text-align: center;
}
.cta-band h2 { color: #fff; margin-bottom: 1rem; }
.cta-band p  { color: rgba(255,255,255,0.75); max-width: 50ch; margin: 0 auto 2.5rem; font-size: 1.0625rem; }
.cta-band .btn--outline-light { border-color: rgba(255,255,255,0.4); }
.cta-band .btn--outline-light:hover { border-color: #fff; }

/* ----- FOOTER ----- */
.footer {
  background: var(--bg-dark); color: var(--text-light);
  padding: 4rem 0 2rem;
}
.footer__top {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem; margin-bottom: 3rem;
}
.footer__brand p { color: rgba(242,239,233,0.5); font-size: 0.9rem; margin-top: 0.75rem; max-width: 28ch; line-height: 1.7; }
.footer__col h4 { color: rgba(242,239,233,0.4); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 1.25rem; }
.footer__col a  { display: block; color: rgba(242,239,233,0.65); font-size: 0.9rem; padding: 0.25rem 0; transition: color var(--transition); }
.footer__col a:hover { color: var(--text-light); }
.footer__bottom {
  border-top: 1px solid var(--border-dark); padding-top: 1.5rem;
  display: flex; justify-content: space-between; align-items: center;
}
.footer__bottom p { font-size: 0.8rem; color: rgba(242,239,233,0.3); }

/* ----- SCAN FORM ----- */
.scan-wrap { max-width: 720px; margin: 0 auto; }
.scan-group { margin-bottom: 2.5rem; }
.scan-group__label {
  display: flex; align-items: center; gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.scan-group__dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.scan-group h3 { font-size: 1rem; }
.scan-item { margin-bottom: 1rem; }
.scan-item p { font-size: 0.9375rem; color: var(--text); margin-bottom: 0.5rem; }
.scan-scale {
  display: flex; gap: 0.5rem;
}
.scan-scale label {
  flex: 1; text-align: center; cursor: pointer;
}
.scan-scale input { display: none; }
.scan-scale span {
  display: block; padding: 0.5rem;
  border: 1.5px solid var(--border); border-radius: var(--radius);
  font-size: 0.875rem; font-weight: 600; color: var(--text-muted);
  transition: var(--transition); text-align: center;
}
.scan-scale input:checked + span { background: var(--accent); border-color: var(--accent); color: #fff; }
.scan-scale label:hover span { border-color: var(--accent); color: var(--accent); }

.scan-result {
  display: none; padding: 2rem; border-radius: var(--radius);
  border: 1.5px solid var(--border); background: var(--bg-alt);
  margin-top: 2rem;
}
.scan-result.visible { display: block; }
.scan-result h3 { margin-bottom: 0.75rem; }
.scan-result p { color: var(--text-muted); }

/* Contact form */
.contact-form { max-width: 600px; }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: 0.875rem; font-weight: 500; margin-bottom: 0.4rem; }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%; padding: 0.75rem 1rem;
  border: 1.5px solid var(--border); border-radius: var(--radius);
  font-family: var(--font); font-size: 0.9375rem; color: var(--text);
  background: #fff; transition: border-color var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--accent); }
.form-group textarea { resize: vertical; min-height: 120px; }

/* ----- UTILS ----- */
.text-accent  { color: var(--accent); }
.text-muted   { color: var(--text-muted); }
.text-light   { color: var(--text-light); }
.text-center  { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-4 { margin-bottom: 2rem; }
.pt-nav { padding-top: var(--nav-h); }
.divider { border: none; border-top: 1px solid var(--border); margin: 3rem 0; }
.divider--dark { border-top-color: var(--border-dark); }

/* ----- FOTO SLOTS ----- */
.photo-slot {
  overflow: hidden;
  border-radius: var(--radius);
  position: relative;
  background: var(--bg-dark-2);
}
.photo-slot img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.photo-slot:hover img { transform: scale(1.04); }

/* Placeholder styling (verwijder dit zodra je een echte foto toevoegt) */
.photo-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  border: 1px dashed rgba(192,57,43,0.35);
  animation: ph-breathe 3.5s ease-in-out infinite;
}
@keyframes ph-breathe {
  0%, 100% { border-color: rgba(192,57,43,0.2); }
  50%       { border-color: rgba(192,57,43,0.55); }
}
.photo-placeholder__icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(192,57,43,0.08);
  display: flex; align-items: center; justify-content: center;
}
.photo-placeholder__label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(192,57,43,0.55);
}

/* Foto strip */
.photo-strip {
  display: grid;
  grid-template-columns: 1fr 1.6fr 1fr;
  height: 320px;
  overflow: hidden;
}
.photo-strip .photo-slot { border-radius: 0; }
.photo-strip .photo-slot + .photo-slot { border-left: 1px solid rgba(13,13,13,0.6); }

/* Foto met caption overlay */
.photo-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1rem 1.25rem;
  background: linear-gradient(to top, rgba(13,13,13,0.75), transparent);
  color: rgba(242,239,233,0.8);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
}

@media (max-width: 900px) {
  .photo-strip { grid-template-columns: 1fr 1fr; height: 240px; }
  .photo-strip .photo-slot:last-child { display: none; }
}
@media (max-width: 640px) {
  .photo-strip { grid-template-columns: 1fr; height: 200px; }
  .photo-strip .photo-slot:not(:first-child) { display: none; }
}

/* ----- RESPONSIVE ----- */
@media (max-width: 900px) {
  .states-grid { grid-template-columns: repeat(2, 1fr); }
  .week-flow { grid-template-columns: 1fr 1fr; }
  .program-grid { grid-template-columns: 1fr; max-width: 480px; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .layers { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .routes-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr 1fr !important; }
}

@media (max-width: 640px) {
  .pricing-grid { grid-template-columns: 1fr !important; }
}

@media (max-width: 640px) {
  :root { --nav-h: 60px; }
  .section { padding: 4rem 0; }
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.7rem; }
  .hero__actions { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
  .states-grid { grid-template-columns: 1fr; }
  .week-flow { grid-template-columns: 1fr; }
  .nav__links { display: none; }
  .nav__toggle { display: flex; }
  .nav__links.open {
    display: flex; flex-direction: column;
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    background: var(--bg-dark); padding: 2rem;
    gap: 1.5rem; border-bottom: 1px solid var(--border-dark);
  }
  .footer__top { grid-template-columns: 1fr; gap: 2rem; }
  .grid-3 { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr 1fr; }
}
