/* Mahieu — mahieu.nl */

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("/assets/fonts/poppins-300.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/poppins-400.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/poppins-600.woff2") format("woff2");
}
@font-face {
  font-family: "Exo";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/exo-300.woff2") format("woff2");
}

:root {
  /* Merkkleuren Mahieu: paars (#7c2b83) en amber (#e49c1f) uit de oude huisstijl */
  --bg: #0d0a12;
  --bg-alt: #140f1c;
  --panel: #1a1424;
  --border: #2a2136;
  --border-hover: #3d3050;
  --text: #ece7f2;
  --muted: #aca0bd;
  --accent: #c66bce;
  --accent-2: #e49c1f;
  --accent-deep: #7c2b83;
  --radius: 14px;
  --font: "Poppins", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-display: "Exo", "Poppins", ui-sans-serif, system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Code", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-weight: 300;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

b, strong { font-weight: 600; }

img, svg { max-width: 100%; display: block; }
img { height: auto; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 1.25rem; }

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

/* Toegankelijkheid: zichtbare focus voor toetsenbordgebruikers */
a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 100;
  padding: 0.7rem 1.2rem;
  background: var(--accent-2);
  color: #1c1206;
  font-weight: 600;
  border-radius: 0 0 10px 0;
}
.skip-link:focus {
  left: 0;
  top: 0;
  text-decoration: none;
}

/* Ankerlinks: secties niet onder de sticky header laten verdwijnen */
section[id] { scroll-margin-top: 5.5rem; }

h1, h2, h3 { line-height: 1.15; font-weight: 600; letter-spacing: -0.01em; }
h1, h2 { font-family: var(--font-display); }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); }
h3 { font-size: 1.15rem; }

.eyebrow {
  font-family: var(--mono);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 0.9rem;
}

.accent {
  background: linear-gradient(100deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead { font-size: 1.12rem; color: var(--muted); margin-top: 1.2rem; max-width: 34rem; }

/* ===== Knoppen ===== */
.btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.98rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(100deg, var(--accent-2), #c9820f);
  color: #1c1206;
  font-weight: 600;
}
.btn-primary:hover { box-shadow: 0 6px 24px rgba(228, 156, 31, 0.3); }
.btn-ghost {
  border-color: var(--border-hover);
  color: var(--text);
}
.btn-ghost:hover { border-color: var(--accent); }
.btn-small { padding: 0.5rem 1.1rem; font-size: 0.9rem; }

/* ===== Header / nav ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(13, 10, 18, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.8rem;
  padding-bottom: 0.8rem;
}
.logo img { width: auto; height: 46px; }
.nav-links { display: flex; align-items: center; gap: 0.4rem; }
.nav-links a:not(.btn) { color: var(--muted); font-weight: 400; font-size: 0.95rem; padding: 0.6rem 0.55rem; border-radius: 8px; }
.nav-links a:not(.btn):hover { color: var(--text); text-decoration: none; }
.nav-links a[aria-current] { color: var(--text); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 0.4rem;
  cursor: pointer;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.2s, opacity 0.2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  padding: clamp(3.5rem, 9vw, 7rem) 0 clamp(3rem, 7vw, 5.5rem);
  background:
    radial-gradient(ellipse 60% 45% at 75% 0%, rgba(124, 43, 131, 0.22), transparent),
    radial-gradient(ellipse 50% 40% at 15% 15%, rgba(228, 156, 31, 0.07), transparent);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 3rem;
  align-items: center;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2rem; }
.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.6rem;
  margin-top: 2.2rem;
  list-style: none;
  color: var(--muted);
  font-size: 0.92rem;
}
.hero-points li::before { content: "✓ "; color: var(--accent); font-weight: 600; }

/* Terminal-visual */
.terminal {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}
.terminal-bar {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--border);
  background: rgba(61, 48, 80, 0.35);
}
.terminal-bar span { width: 11px; height: 11px; border-radius: 50%; background: var(--border-hover); }
.terminal-bar span:first-child { background: #f87171; }
.terminal-bar span:nth-child(2) { background: #fbbf24; }
.terminal-bar span:nth-child(3) { background: #34d399; }
.terminal-bar em { font-style: normal; font-family: var(--mono); font-size: 0.75rem; color: var(--muted); margin-left: 0.5rem; }
.terminal-body {
  padding: 1.2rem 1.3rem 1.4rem;
  font-family: var(--mono);
  font-size: 0.86rem;
  line-height: 2;
  overflow-x: auto;
  color: var(--text);
}
.t-prompt { color: var(--accent); }
.t-ok { color: #34d399; }
.t-arrow { color: var(--accent-2); }
.t-dim { color: var(--muted); }
.t-result { color: var(--accent-2); font-weight: 600; }

/* ===== Kerncijfers ===== */
.stats-band {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding-top: 2.4rem;
  padding-bottom: 2.4rem;
}
.stat { display: flex; flex-direction: column; }
.stat strong {
  font-family: var(--font-display);
  font-size: 2.3rem;
  font-weight: 600;
  line-height: 1.1;
  background: linear-gradient(100deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-label { font-weight: 400; margin-top: 0.2rem; }
.stat-sub { color: var(--muted); font-size: 0.85rem; }

/* ===== Secties ===== */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { max-width: 40rem; margin-bottom: 3rem; }
.section-intro { color: var(--muted); margin-top: 1rem; font-size: 1.05rem; }

/* ===== Diensten-kaarten ===== */
.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem;
}
.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.card:hover { border-color: var(--accent-deep); transform: translateY(-3px); }
.card h3 { margin-bottom: 0.7rem; }
.card p { color: var(--muted); font-size: 0.97rem; }
.card-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  margin-bottom: 1.2rem;
  color: var(--accent);
  background: rgba(198, 107, 206, 0.09);
  border: 1px solid rgba(198, 107, 206, 0.25);
}
.card-icon svg { width: 24px; height: 24px; }
.cards-naschrift {
  margin-top: 1.8rem;
  color: var(--muted);
  font-size: 0.95rem;
  font-style: italic;
}

/* ===== Werkwijze ===== */
.steps { list-style: none; max-width: 44rem; }
.step {
  display: flex;
  gap: 1.6rem;
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--border);
}
.step:last-child { border-bottom: 0; }
.step-num {
  font-family: var(--mono);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--accent);
  min-width: 3rem;
  line-height: 1.3;
}
.step h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 0.7rem; margin-bottom: 0.5rem; }
.step p { color: var(--muted); font-size: 0.97rem; }
.step-tijd {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  border: 1px solid var(--border-hover);
  border-radius: 999px;
  padding: 0.15rem 0.65rem;
}

/* ===== Wie ben ik? ===== */
.over-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.4fr;
  gap: 3rem;
  align-items: center;
}
.over-foto img {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: 0 0 0 6px rgba(124, 43, 131, 0.18), 0 24px 60px rgba(0, 0, 0, 0.45);
}
.over-copy p:not(.eyebrow):not(.section-intro) { color: var(--muted); margin-top: 1.1rem; }
.over-copy .btn { margin-top: 1.8rem; }

/* ===== Testimonials ===== */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.testimonial { display: flex; flex-direction: column; gap: 1.4rem; }
.testimonial:hover { transform: none; border-color: var(--border); }
.testimonial blockquote {
  color: var(--text);
  font-size: 0.98rem;
  flex-grow: 1;
}
.testimonial figcaption {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  color: var(--muted);
  font-size: 0.88rem;
}
.testimonial figcaption strong { color: var(--text); font-weight: 600; }
.avatar {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-weight: 600;
  font-size: 0.9rem;
  color: #fff;
  background: linear-gradient(135deg, var(--accent-deep), var(--accent));
}

/* ===== FAQ ===== */
.faq {
  max-width: 44rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.faq details {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0 1.4rem;
  transition: border-color 0.2s ease;
}
.faq details:hover, .faq details[open] { border-color: var(--accent-deep); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1.1rem 2rem 1.1rem 0;
  font-weight: 400;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0.2rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--accent);
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--muted); font-size: 0.97rem; padding: 0 0 1.3rem; }

/* ===== Contact ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3rem;
  align-items: start;
}
.contact-items {
  list-style: none;
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.contact-items li { display: flex; gap: 1rem; align-items: baseline; }
.contact-label {
  font-family: var(--mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  min-width: 5.2rem;
}
.contact-items a { font-weight: 400; }

.contact-form { display: flex; flex-direction: column; gap: 1.1rem; }
.contact-form:hover { transform: none; border-color: var(--border); }
.form-row { display: flex; flex-direction: column; gap: 0.4rem; }
.form-row label { font-size: 0.88rem; font-weight: 400; color: var(--text); }
.form-row input,
.form-row select,
.form-row textarea {
  font: inherit;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border-hover);
  border-radius: 9px;
  padding: 0.65rem 0.85rem;
  width: 100%;
}
.form-row textarea { resize: vertical; }
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(198, 107, 206, 0.18);
}
.contact-form .btn { margin-top: 0.4rem; }
.contact-form .btn[disabled] { opacity: 0.6; cursor: wait; transform: none; }

/* Honeypot: visueel verborgen, wel aanwezig voor bots */
.hp-veld {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status { font-size: 0.92rem; min-height: 1.4em; }
.form-status.ok { color: #34d399; }
.form-status.fout { color: #f87171; }

.optioneel { color: var(--muted); font-weight: 300; font-size: 0.8rem; }

/* Peak-End: rustige succesweergave na verzenden */
.contact-form.verzonden .form-row,
.contact-form.verzonden button[type="submit"],
.contact-form.verzonden .form-status { display: none; }
.form-succes { text-align: center; padding: 2.5rem 1rem; }
.form-succes svg { margin: 0 auto 1.2rem; color: #34d399; }
.form-succes h3 { margin-bottom: 0.6rem; }
.form-succes p { color: var(--muted); }

/* ===== Footer ===== */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2.4rem 0;
  background: var(--bg-alt);
}
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  color: var(--muted);
  font-size: 0.9rem;
}
.footer-logo img { width: auto; height: 40px; opacity: 0.85; }
.footer-contact { text-align: right; }

/* ===== Reveal-animatie ===== */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.zichtbaar { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ===== Responsive ===== */
@media (max-width: 860px) {
  .hero-grid, .contact-grid, .over-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 34rem; }
  .cards, .testimonials { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .over-foto { max-width: 17rem; }
  .footer-contact { text-align: left; }
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 1.3rem 1.25rem 1.6rem;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border);
  }
  .nav-links.open { display: flex; }
  /* Fitts: volle regelbreedte en ruime padding als tapdoel */
  .nav-links a:not(.btn) { width: 100%; padding: 0.7rem 0.55rem; }
}

/* ===== Fitts: grotere tapdoelen op touchschermen ===== */
@media (pointer: coarse) {
  .btn-small { padding: 0.75rem 1.3rem; }
  .nav-toggle { padding: 0.85rem; margin: -0.45rem; }
}

/* ===== Leesbaarheid: gewicht 400 voor kleine tekst op donkere achtergrond ===== */
.lead, .section-intro, .card p, .step p, .faq details p,
.stat-sub, .testimonial figcaption, .cards-naschrift,
.hero-points, .form-status { font-weight: 400; }

/* ===== Breadcrumb (subpagina's) ===== */
.breadcrumb { margin-bottom: 2rem; }
.breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--muted);
}
.breadcrumb li { display: flex; align-items: center; gap: 0.5rem; }
.breadcrumb li + li::before { content: "›"; color: var(--border-hover); }
.breadcrumb a { color: var(--muted); font-weight: 400; padding: 0.35rem 0; }
.breadcrumb a:hover { color: var(--text); text-decoration: none; }

/* ===== Kaartlink: hele kaart klikbaar (stretched link) ===== */
.card { position: relative; }
.card-link { display: inline-block; margin-top: 1.1rem; font-size: 0.92rem; font-weight: 400; }
.card-link::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.card:hover .card-link { text-decoration: underline; }

/* ===== Tekstblok en pijnpuntenlijst (subpagina's) ===== */
.tekstblok { max-width: 44rem; }
.tekstblok p { color: var(--muted); font-weight: 400; margin-top: 1.1rem; }
.tekstblok p:first-child { margin-top: 0; }
.pijnlijst {
  list-style: none;
  max-width: 44rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  color: var(--muted);
  font-weight: 400;
}
.pijnlijst li { position: relative; padding-left: 1.6rem; }
.pijnlijst li::before { content: "✗"; position: absolute; left: 0; color: var(--accent-2); font-weight: 600; }
.pijnlijst + .section-intro { margin-top: 1.6rem; color: var(--text); }

/* ===== Footer: dienstennavigatie ===== */
.footer-grid > div p { margin-top: 0.8rem; }
.footer-nav { display: flex; flex-direction: column; gap: 0.4rem; font-size: 0.9rem; }
.footer-nav strong {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.footer-nav a { color: var(--muted); font-weight: 400; padding: 0.1rem 0; }
.footer-nav a:hover { color: var(--text); }
