/*
Theme Name: Novaledger
Theme URI: https://novaledger.nl
Author: Novaledger
Description: Novaledger – Professionele landingspagina voor administratiekantoren
Version: 2.0
*/

:root {
  --navy:       #1C2A44;
  --navy-2:     #19273F;
  --navy-3:     #16223A;
  --navy-4:     #132035;
  --navy-card:  rgba(255,255,255,.055);
  --navy-border:rgba(255,255,255,.09);
  --blue:       #1E5F8A;
  --blue-light: #2A7AB5;
  --teal:       #0F766E;
  --gold:       #D4A017;
  --gold-dk:    #b08910;
  --white:      #fff;
  --text-hi:    rgba(255,255,255,.95);
  --text-md:    rgba(255,255,255,.75);
  --text-lo:    rgba(255,255,255,.5);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-hi);
  background: var(--navy);
}
h1, h2, h3, h4 { font-weight: 800; line-height: 1.2; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ── Language switching ── */
.en { display: none; }
body.lang-en .en { display: block; }
body.lang-en .nl { display: none; }
span.en { display: none; }
body.lang-en span.en { display: inline; }
body.lang-en span.nl { display: none; }

/* ── Layout ── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 28px; }
.section    { padding: 88px 0; }
.sec-divider{ height: 1px; background: rgba(255,255,255,.06); margin: 0; border: none; }

/* ── Buttons ── */
.btn { display: inline-block; padding: 13px 30px; border-radius: 6px; font-weight: 700; font-size: .93rem; cursor: pointer; transition: all .22s; border: 2px solid transparent; letter-spacing: .3px; }
.btn-gold        { background: var(--gold);  color: #fff; border-color: var(--gold); }
.btn-gold:hover  { background: var(--gold-dk); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(212,160,23,.4); }
.btn-ghost       { background: transparent; color: var(--gold); border-color: rgba(212,160,23,.55); }
.btn-ghost:hover { background: var(--gold); color: #fff; border-color: var(--gold); }
.btn-white-ghost       { background: transparent; color: rgba(255,255,255,.85); border-color: rgba(255,255,255,.3); }
.btn-white-ghost:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.5); }

/* ── Navigation ── */
.site-header {
  position: sticky; top: 0; z-index: 999;
  background: rgba(20,31,51,.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.07);
  transition: box-shadow .3s;
}
.site-header.scrolled { box-shadow: 0 4px 32px rgba(0,0,0,.35); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.nav-logo svg { height: 40px; width: auto; }
.nav-right { display: flex; align-items: center; gap: 22px; }
.lang-toggle { display: flex; align-items: center; gap: 6px; }
.lang-btn {
  background: none; border: none; cursor: pointer;
  color: var(--text-lo); font-weight: 700; font-size: .8rem;
  letter-spacing: .5px; padding: 4px 8px; border-radius: 4px;
  transition: color .2s, background .2s;
}
.lang-btn.active     { color: var(--gold); background: rgba(212,160,23,.1); }
.lang-btn:hover:not(.active) { color: var(--text-md); }
.sep { color: rgba(255,255,255,.2); font-size: .8rem; }
.nav-cta { padding: 9px 22px; font-size: .86rem; }

/* ── Hero ── */
.hero {
  min-height: 100vh;
  background: var(--navy);
  background-image:
    radial-gradient(ellipse at 15% 60%, rgba(30,95,138,.5) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 20%, rgba(42,122,181,.3) 0%, transparent 50%);
  display: flex; align-items: center;
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 64px 64px;
}
.hero-content { position: relative; z-index: 1; max-width: 720px; padding: 80px 0; }
.hero-tag {
  display: inline-block; padding: 5px 16px;
  background: rgba(212,160,23,.14); border: 1px solid rgba(212,160,23,.42);
  border-radius: 40px; color: var(--gold);
  font-size: .76rem; font-weight: 700; letter-spacing: 1.8px;
  text-transform: uppercase; margin-bottom: 22px;
}
.hero h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); color: #fff; margin-bottom: 22px; }
.hero h1 em { color: var(--gold); font-style: normal; }
.hero-sub { font-size: 1.08rem; color: var(--text-md); max-width: 540px; margin-bottom: 38px; line-height: 1.85; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.scroll-hint {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  color: rgba(255,255,255,.25); font-size: .72rem; letter-spacing: 1px;
}
.scroll-hint span { animation: bounce 2s infinite; }
@keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(7px); } }

/* ── Section headings ── */
.sec-title { font-size: clamp(1.7rem, 3vw, 2.3rem); color: #fff; margin-bottom: 12px; display: inline-block; }
.sec-title::after { content: ''; display: block; margin-top: 10px; width: 52px; height: 4px; background: var(--gold); border-radius: 2px; }
.sec-lead  { font-size: 1.03rem; color: var(--text-md); max-width: 640px; margin-top: 14px; }
.sec-header{ margin-bottom: 52px; }

/* ── Wie zijn wij ── */
#over-ons {
  background: var(--navy-2);
  background-image: radial-gradient(ellipse at 90% 10%, rgba(30,95,138,.18) 0%, transparent 55%);
}
.founders-row {
  display: grid; grid-template-columns: 1fr 60px 1fr;
  align-items: start; gap: 0; margin-bottom: 32px;
}
@media(max-width:680px) {
  .founders-row { grid-template-columns: 1fr; gap: 20px; }
  .founder-connector { display: none; }
}
.founder-card {
  background: var(--navy-card); border: 1px solid var(--navy-border);
  border-radius: 16px; padding: 36px 28px;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  transition: transform .2s, background .2s, box-shadow .2s;
}
.founder-card:hover { transform: translateY(-4px); background: rgba(255,255,255,.08); box-shadow: 0 12px 40px rgba(0,0,0,.3); }

/* Photo upload avatar */
.founder-avatar-wrap { position: relative; margin-bottom: 18px; cursor: pointer; }
.founder-avatar-wrap input[type=file] { display: none; }
.founder-avatar {
  width: 110px; height: 110px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem; font-weight: 800; color: #fff; letter-spacing: -1px;
  transition: filter .25s; overflow: hidden; position: relative; flex-shrink: 0;
}
.founder-avatar.pv  { background: linear-gradient(135deg, #243447, var(--blue)); }
.founder-avatar.sva { background: linear-gradient(135deg, var(--blue), var(--teal)); }
.founder-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: center top; position: absolute; inset: 0; }
.upload-overlay {
  position: absolute; inset: 0; border-radius: 50%;
  background: rgba(0,0,0,.52);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  opacity: 0; transition: opacity .22s; pointer-events: none;
}
.founder-avatar-wrap:hover .upload-overlay { opacity: 1; }
.upload-overlay svg   { width: 22px; height: 22px; color: #fff; }
.upload-overlay span  { font-size: .65rem; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; color: #fff; line-height: 1; }
.founder-avatar-wrap::after {
  content: ''; position: absolute; inset: -4px; border-radius: 50%;
  border: 2px solid transparent; transition: border-color .22s;
}
.founder-avatar-wrap:hover::after { border-color: var(--gold); }

.founder-name { font-size: 1.2rem; font-weight: 800; color: #fff; margin-bottom: 4px; }
.founder-role {
  font-size: .73rem; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase;
  padding: 4px 12px; border-radius: 20px; margin-bottom: 16px; display: inline-block;
}
.founder-role.gold { color: var(--gold); background: rgba(212,160,23,.12); border: 1px solid rgba(212,160,23,.25); }
.founder-role.teal { color: #2ec4b6; background: rgba(15,118,110,.15); border: 1px solid rgba(15,118,110,.3); }
.founder-bio { font-size: .93rem; color: var(--text-md); line-height: 1.7; text-align: left; }

.founder-connector { display: flex; align-items: center; justify-content: center; padding-top: 90px; }
.connector-inner { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.connector-dot  { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.connector-line { width: 1px; height: 36px; background: linear-gradient(to bottom, var(--gold), rgba(212,160,23,.15)); }
.connector-amp  { font-size: 1.3rem; font-weight: 800; color: var(--gold); line-height: 1; }

.fun-fact-callout {
  background: rgba(15,118,110,.1); border: 1px solid rgba(15,118,110,.25);
  border-radius: 16px; overflow: hidden; display: grid; grid-template-columns: 5px 1fr;
}
.fun-fact-accent { background: linear-gradient(to bottom, var(--teal), #0a9688); }
.fun-fact-body   { padding: 26px 30px; display: flex; align-items: center; gap: 22px; }
.fun-fact-emoji  { font-size: 2.6rem; flex-shrink: 0; line-height: 1; }
.fun-fact-label  { font-size: .72rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: #2ec4b6; margin-bottom: 5px; }
.fun-fact-text p { font-size: .97rem; color: var(--text-md); margin: 0; }

/* ── Wat doen wij — Process Infographic ── */
#diensten {
  background: var(--navy-3);
  background-image: radial-gradient(ellipse at 10% 80%, rgba(42,122,181,.14) 0%, transparent 50%);
}

.process-steps { display: grid; grid-template-columns: repeat(4,1fr); position: relative; margin-top: 52px; }
.process-steps::before {
  content: ''; position: absolute; top: 38px; left: 12.5%; right: 12.5%; height: 2px;
  background: linear-gradient(90deg, var(--blue), #2ec4b6, var(--gold), var(--blue-light));
  opacity: .35; z-index: 0;
}
.step-btn { display: flex; flex-direction: column; align-items: center; gap: 12px; background: none; border: none; cursor: pointer; padding: 0 8px 28px; position: relative; z-index: 1; transition: transform .2s; }
.step-btn:hover { transform: translateY(-3px); }
.step-circle { width: 76px; height: 76px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--navy-card); border: 2px solid var(--navy-border); transition: all .3s; position: relative; }
.step-circle svg { width: 30px; height: 30px; opacity: .5; transition: opacity .3s; }
.step-btn.active .step-circle, .step-btn:hover .step-circle { border-color: transparent; }
.step-btn:nth-child(1).active .step-circle, .step-btn:nth-child(1):hover .step-circle { background: var(--blue); box-shadow: 0 0 0 6px rgba(30,95,138,.2); }
.step-btn:nth-child(2).active .step-circle, .step-btn:nth-child(2):hover .step-circle { background: var(--teal); box-shadow: 0 0 0 6px rgba(15,118,110,.2); }
.step-btn:nth-child(3).active .step-circle, .step-btn:nth-child(3):hover .step-circle { background: var(--gold); box-shadow: 0 0 0 6px rgba(212,160,23,.2); }
.step-btn:nth-child(4).active .step-circle, .step-btn:nth-child(4):hover .step-circle { background: var(--blue-light); box-shadow: 0 0 0 6px rgba(42,122,181,.2); }
.step-btn.active .step-circle svg, .step-btn:hover .step-circle svg { opacity: 1; }
.step-num { position: absolute; top: -8px; right: -8px; width: 24px; height: 24px; border-radius: 50%; font-size: .68rem; font-weight: 800; color: #fff; display: flex; align-items: center; justify-content: center; background: var(--navy-3); border: 2px solid var(--navy-border); transition: background .3s, border-color .3s; }
.step-btn.active .step-num { border-color: transparent; }
.step-btn:nth-child(1).active .step-num { background: var(--blue); }
.step-btn:nth-child(2).active .step-num { background: var(--teal); }
.step-btn:nth-child(3).active .step-num { background: var(--gold); }
.step-btn:nth-child(4).active .step-num { background: var(--blue-light); }
.step-label { font-size: .82rem; font-weight: 700; color: var(--text-lo); text-align: center; line-height: 1.3; transition: color .3s; max-width: 130px; }
.step-btn.active .step-label, .step-btn:hover .step-label { color: var(--text-hi); }

.process-detail { border-radius: 20px; overflow: hidden; background: var(--navy-card); border: 1px solid var(--navy-border); min-height: 180px; position: relative; }
.detail-panel { display: none; padding: 40px 44px; animation: fadeUp .35s ease; }
.detail-panel.active { display: grid; grid-template-columns: auto 1fr; gap: 32px; align-items: start; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.detail-icon-wrap { width: 64px; height: 64px; border-radius: 16px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.detail-panel:nth-child(1) .detail-icon-wrap { background: rgba(30,95,138,.25); }
.detail-panel:nth-child(2) .detail-icon-wrap { background: rgba(15,118,110,.25); }
.detail-panel:nth-child(3) .detail-icon-wrap { background: rgba(212,160,23,.25); }
.detail-panel:nth-child(4) .detail-icon-wrap { background: rgba(42,122,181,.25); }
.detail-tag { font-size: .68rem; font-weight: 700; letter-spacing: 1.8px; text-transform: uppercase; margin-bottom: 8px; display: inline-block; padding: 3px 10px; border-radius: 20px; }
.detail-panel:nth-child(1) .detail-tag { color: var(--blue); background: rgba(30,95,138,.15); }
.detail-panel:nth-child(2) .detail-tag { color: #2ec4b6; background: rgba(15,118,110,.15); }
.detail-panel:nth-child(3) .detail-tag { color: var(--gold); background: rgba(212,160,23,.15); }
.detail-panel:nth-child(4) .detail-tag { color: #5ba3d9; background: rgba(42,122,181,.15); }
.detail-text h3 { font-size: 1.25rem; color: #fff; margin-bottom: 10px; }
.detail-text p  { font-size: .97rem; color: var(--text-md); line-height: 1.75; max-width: 580px; }
.process-detail::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; border-radius: 4px 0 0 4px; transition: background .3s; }
.process-detail[data-active="0"]::before { background: var(--blue); }
.process-detail[data-active="1"]::before { background: var(--teal); }
.process-detail[data-active="2"]::before { background: var(--gold); }
.process-detail[data-active="3"]::before { background: var(--blue-light); }

@media(max-width:700px) {
  .process-steps { grid-template-columns: 1fr 1fr; }
  .process-steps::before { display: none; }
  .step-btn { padding-bottom: 20px; }
  .step-circle { width: 60px; height: 60px; }
  .step-circle svg { width: 24px; height: 24px; }
  .detail-panel.active { grid-template-columns: 1fr; gap: 16px; }
  .detail-panel { padding: 28px 24px; }
}

/* ── Iets voor jou ── */
#contact {
  background: var(--navy-4);
  background-image: radial-gradient(ellipse at 80% 50%, rgba(30,95,138,.25) 0%, transparent 55%);
  padding: 88px 0;
}
.cta-inner    { max-width: 780px; margin: 0 auto; text-align: center; }
.cta-questions{ margin: 44px 0; }
.cta-q-item {
  display: flex; align-items: flex-start; gap: 18px;
  margin-bottom: 16px; text-align: left;
  background: rgba(255,255,255,.04); border-radius: 12px;
  padding: 20px 24px; border: 1px solid rgba(255,255,255,.07);
  transition: background .2s, border-color .2s;
}
.cta-q-item:hover { background: rgba(255,255,255,.08); border-color: rgba(212,160,23,.3); }
.cta-arrow {
  flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%;
  background: var(--gold); display: flex; align-items: center; justify-content: center; margin-top: 3px;
}
.cta-arrow svg { width: 14px; height: 14px; }
.cta-q-text { font-size: 1.01rem; color: var(--text-hi); line-height: 1.65; }
.cta-note { color: var(--text-lo); margin: 32px 0 28px; font-size: .97rem; }

/* ── Footer ── */
.site-footer { background: #0f1b2d; padding: 36px 0; border-top: 1px solid rgba(255,255,255,.06); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; }
.footer-copy  { font-size: .8rem; color: rgba(255,255,255,.3); line-height: 1.7; }

/* ── Responsive ── */
@media(max-width:640px) {
  .nav-cta { display: none; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
