/* PaceX – gedeeld designsysteem (donker, teal) — apart bestand voor onderhoud */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --teal: #56ccc8;
  --teal-dark: #4fbcb8;
  --bg: #091616;
  --sidebar: #0d1f1f;
  --card: #112424;
  --card2: #163030;
  --border: #1e3d3d;
  --ab: rgba(86,204,200,0.25);
  --text: #e8f4f4;
  --muted: #6aacaa;
  --accent: #56ccc8;
  --accent-bg: rgba(86,204,200,0.12);
  --grad: linear-gradient(135deg, #0d1f1f 0%, #1a3a3a 100%);
  --gray-light: #0d1f1f;
  --font: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.65; -webkit-font-smoothing: antialiased; font-size: 18px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: color .15s; }
a:hover { color: #6ed8d4; }

/* ── NAV ── */
header { position: sticky; top: 0; z-index: 100; background: rgba(13,31,31,0.85); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid var(--border); }
nav {
  max-width: 1140px; margin: 0 auto; width: 100%;
  height: 64px; display: flex; align-items: center; gap: 14px; padding: 0 24px;
}
.nav-logo { height: 30px; width: auto; }
.nav-sep { width: 1px; height: 22px; background: rgba(86,204,200,0.35); flex-shrink: 0; }
.nav-sub { font-size: 13px; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: 1.5px; white-space: nowrap; }
.nav-links { display: flex; align-items: center; gap: 24px; list-style: none; margin-left: auto; }
.nav-links a { font-size: 13px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; transition: color .15s; }
.nav-links a:hover { color: var(--text); }
.nav-center { display: flex; align-items: center; gap: 24px; list-style: none; margin-left: auto; }
.nav-center a { font-size: 13px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; transition: color .15s; }
.nav-center a:hover { color: var(--text); }
.nav-right { display: flex; align-items: center; gap: 16px; }
.lang-switch { display: flex; align-items: center; gap: 10px; }
.lang-switch a { display: flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 700; color: var(--muted); transition: color .15s; }
.lang-switch a:hover { color: var(--text); }
.lang-switch a.active { color: var(--accent); }
.lang-switch img { border-radius: 2px; display: block; }
.nav-cta {
  background: var(--accent); color: #0d1f1f; border: none; padding: 9px 20px;
  border-radius: 100px; font-family: var(--font); font-weight: 700; font-size: 14px;
  cursor: pointer; transition: all .15s;
}
.nav-cta:hover { background: #6ed8d4; box-shadow: 0 0 20px rgba(86,204,200,.35); }

/* ── HERO ── */
.hero { padding: 0; }
.hero-frame { width: 100%; border: none; display: block; min-height: 100vh; background: var(--bg); }
.hero-intro { text-align: center; padding: 64px 24px 44px; max-width: 860px; margin: 0 auto; }
.hero-intro h1 { font-size: clamp(28px,4vw,46px); font-weight: 800; color: var(--text); line-height: 1.2; letter-spacing: .5px; margin-bottom: 18px; }
.hero-intro > p { font-size: 19px; color: var(--muted); max-width: 680px; margin: 0 auto 28px; line-height: 1.7; }
.hero-actions { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.hero-sub { font-size: 14px; color: var(--muted); }

/* ── BUTTONS ── */
.btn-primary, .btn-teal {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--accent); color: #0d1f1f; border: none; padding: 14px 32px;
  border-radius: 100px; font-family: var(--font); font-weight: 700; font-size: 16px;
  cursor: pointer; transition: all .15s; letter-spacing: .3px;
}
.btn-primary:hover, .btn-teal:hover { background: #6ed8d4; box-shadow: 0 0 24px rgba(86,204,200,.35); transform: translateY(-1px); }

/* ── STATS BAR ── */
.stats-bar { background: var(--sidebar); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 36px 24px; }
.stats-inner { max-width: 1140px; margin: 0 auto; display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; text-align: center; }
.stat-num { font-size: 40px; font-weight: 800; color: var(--text); font-variant-numeric: tabular-nums; line-height: 1; }
.stat-label { font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .8px; margin-top: 8px; }

/* ── SECTIONS ── */
section { padding: 80px 24px; }
.section-inner { max-width: 1140px; margin: 0 auto; }
.section-inner.narrow { max-width: 760px; }
.eyebrow { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--accent); margin-bottom: 14px; }
.section-title { font-size: clamp(26px,3vw,40px); font-weight: 800; color: var(--text); line-height: 1.2; letter-spacing: .5px; margin-bottom: 16px; }
.section-subtitle { font-size: 18px; color: var(--muted); max-width: 760px; line-height: 1.7; margin-bottom: 40px; }

/* ── REVIEWS / MAP ── */
.reviews-section { text-align: center; }
.map-wrap { margin-top: 32px; border: 1px solid var(--border); border-radius: 16px; overflow: hidden; background: var(--card); }
.map-wrap iframe { width: 100%; height: 520px; border: none; display: block; }

/* ── FEATURES ── */
.grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(280px,1fr)); gap: 14px; margin-top: 40px; }
.card { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 28px; transition: .15s; text-align: left; }
.card:hover { border-color: var(--ab); box-shadow: 0 8px 32px rgba(0,0,0,.35); transform: translateY(-2px); }
.card-icon { width: 48px; height: 48px; background: var(--accent-bg); border: 1px solid var(--ab); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 16px; }
.card h3 { font-size: 19px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.card p { font-size: 16px; color: var(--muted); line-height: 1.6; }

/* ── TEXT SECTIONS ── */
.text-section[style*="gray-light"] { background: var(--sidebar) !important; }
.text-section p { font-size: 18px; color: var(--text); line-height: 1.85; margin-bottom: 16px; }
.text-section h3 { font-size: 16px; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: .8px; margin: 24px 0 12px; }
.text-section ul { padding-left: 22px; }
.text-section li { font-size: 18px; color: var(--text); line-height: 1.8; margin-bottom: 8px; }
.text-section li::marker { color: var(--accent); }

/* ── FAQ ── */
.faq-list { margin-top: 32px; display: flex; flex-direction: column; gap: 12px; }
.faq-list details { background: var(--card); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; transition: .15s; }
.faq-list details[open] { border-color: var(--ab); }
.faq-list summary { padding: 18px 22px; font-size: 17px; font-weight: 700; color: var(--text); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; color: var(--accent); font-size: 22px; font-weight: 400; flex-shrink: 0; transition: transform .2s; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-answer { padding: 0 22px 20px; font-size: 16px; color: var(--muted); line-height: 1.7; }

/* ── DEMO ── */
.demo-section { background: var(--grad); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); text-align: center; }
.demo-card { background: var(--card); border: 1px solid var(--ab); border-radius: 18px; padding: 40px; max-width: 620px; margin: 32px auto 0; text-align: center; }
.demo-card h3 { font-size: 21px; font-weight: 800; color: var(--text); margin-bottom: 24px; line-height: 1.4; }
.platforms-note { font-size: 14px; color: var(--muted); margin-top: 16px; }

/* ── FOOTER ── */
footer { background: var(--sidebar); color: var(--muted); padding: 52px 24px 28px; border-top: 1px solid var(--border); }
.footer-inner { max-width: 1140px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.4fr 1fr; gap: 40px; align-items: start; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: var(--muted); font-size: 15px; }
.footer-links a:hover { color: var(--accent); }
.footer-mid { text-align: center; }
.footer-mid img { height: 30px; width: auto; margin: 0 auto 14px; }
.footer-mid p { font-size: 15px; color: var(--muted); line-height: 1.7; }
.footer-contact { display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.footer-contact a { display: flex; align-items: center; gap: 8px; color: var(--muted); }
.footer-contact a:hover { color: var(--accent); }
.footer-contact a svg { width: 16px; height: 16px; fill: currentColor; flex-shrink: 0; }
.footer-contact-name { font-weight: 700; color: var(--text); }
.footer-contact-detail { color: var(--muted); line-height: 1.6; }
.footer-social { display: flex; gap: 8px; margin-top: 6px; }
.footer-social a { width: 32px; height: 32px; background: var(--card); border: 1px solid var(--border); border-radius: 8px; display: flex; align-items: center; justify-content: center; }
.footer-social a svg { width: 16px; height: 16px; fill: currentColor; }
.footer-copy { max-width: 1140px; margin: 36px auto 0; padding-top: 18px; border-top: 1px solid var(--border); font-size: 13px; color: var(--muted); text-align: center; }
.footer-copy a { color: var(--muted); }

/* ── DIALOG ── */
#appDialog { border: 1px solid var(--border); border-radius: 20px; padding: 36px 32px; max-width: 400px; width: calc(100% - 40px); text-align: center; background: var(--card); color: var(--text); position: fixed; top: 50%; left: 50%; transform: translate(-50%,-50%); margin: 0; box-shadow: 0 24px 64px rgba(0,0,0,.7); }
#appDialog::backdrop { background: rgba(0,0,0,.75); backdrop-filter: blur(4px); }
#appDialog h3 { font-size: 22px; font-weight: 800; color: var(--text); margin-bottom: 8px; }
#appDialog p { color: var(--muted); font-size: 16px; margin-bottom: 20px; }
.dialog-buttons { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.dialog-buttons a { display: flex; align-items: center; justify-content: center; padding: 15px 20px; border-radius: 12px; background: var(--accent); color: #091616; font-weight: 700; font-size: 16px; transition: .18s; }
.dialog-buttons a:hover { background: #6ed8d4; transform: translateY(-2px); }
.btn-close { background: transparent; border: 1px solid var(--border); padding: 10px 28px; border-radius: 100px; cursor: pointer; font-family: var(--font); font-weight: 600; font-size: 15px; color: var(--muted); transition: .15s; }
.btn-close:hover { border-color: var(--accent); color: var(--accent); }

/* ── FADE-UP ANIMATIE ── */
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.fade-up.visible { opacity: 1; transform: none; }

/* ── RESPONSIVE ── */
@media (max-width: 1080px) {
  .nav-sep, .nav-sub { display: none; }
}
@media (max-width: 860px) {
  .nav-links, .nav-center, .nav-sep, .nav-sub { display: none; }
  nav { padding: 0 20px; }
}
@media (max-width: 760px) {
  .stats-inner { grid-template-columns: repeat(2,1fr); gap: 28px 16px; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; text-align: center; }
  .footer-links, .footer-contact { align-items: center; }
}
@media (max-width: 640px) {
  section { padding: 56px 20px; }
  .stat-num { font-size: 32px; }
  .map-wrap iframe { height: 420px; }
  .demo-card { padding: 28px 20px; }
  .grid { grid-template-columns: 1fr; }
}


/* ── CONTACT / LEAD FORMULIER ── */
.form-section { background: var(--sidebar); border-top: 1px solid var(--border); }
.form-inner { max-width: 680px; margin: 0 auto; text-align: center; }
.form-inner .eyebrow { display: block; }
.form-card { background: var(--card); border: 1px solid var(--border); border-radius: 18px; padding: 40px; text-align: left; margin-top: 12px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-row.single { grid-template-columns: 1fr; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 12px; font-weight: 700; letter-spacing: .5px; color: var(--muted); text-transform: uppercase; }
.form-group input, .form-group textarea {
  background: var(--card2); border: 1px solid var(--border); border-radius: 12px;
  padding: 13px 16px; font-family: var(--font); font-size: 15px; color: var(--text);
  outline: none; transition: border-color .15s; width: 100%;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--muted); opacity: .55; }
.form-group input:focus, .form-group textarea:focus { border-color: var(--accent); }
.form-group textarea { resize: vertical; min-height: 90px; }
.submit-btn {
  width: 100%; background: var(--accent); color: #0d1f1f; border: none; border-radius: 100px;
  padding: 16px 32px; font-family: var(--font); font-size: 16px; font-weight: 700; cursor: pointer;
  margin-top: 24px; transition: all .15s; box-shadow: 0 6px 24px rgba(86,204,200,.3);
}
.submit-btn:hover { background: #6ed8d4; transform: translateY(-1px); box-shadow: 0 10px 32px rgba(86,204,200,.45); }
.submit-btn:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.form-disclaimer { font-size: 12px; color: var(--muted); text-align: center; margin-top: 14px; line-height: 1.6; }
.form-success { display: none; text-align: center; padding: 36px 20px; }
.form-success .checkmark { font-size: 52px; margin-bottom: 16px; display: block; }
.form-success h3 { font-size: 22px; font-weight: 800; color: var(--text); margin-bottom: 10px; }
.form-success p { font-size: 16px; color: var(--muted); line-height: 1.6; }
.form-error { display: none; margin-top: 14px; padding: 12px 16px; border-radius: 10px; background: rgba(239,68,68,.12); border: 1px solid rgba(239,68,68,.4); color: #fca5a5; font-size: 14px; text-align: center; }
.form-error a { color: #fca5a5; text-decoration: underline; }
@media (max-width: 580px) { .form-row { grid-template-columns: 1fr; } .form-card { padding: 28px 20px; } }
