/* ==========================================
   JM DEVELOPMENT – style.css
   Fris, licht & professioneel
========================================== */

/* VARIABELEN */
:root {
  --wit: #ffffff;
  --lichtgrijs: #f5f6fa;
  --grijs: #e8eaf0;
  --tekstgrijs: #6b7280;
  --donker: #0f172a;
  --donker2: #1e293b;
  --accent: #2563eb;
  --accent-licht: #eff6ff;
  --accent-hover: #1d4ed8;
  --groen: #10b981;
  --radius: 14px;
  --radius-sm: 8px;
  --schaduw: 0 4px 24px rgba(15, 23, 42, 0.08);
  --schaduw-lg: 0 12px 48px rgba(15, 23, 42, 0.13);
  --overgang: all 0.3s ease;
}

/* RESET & BASE */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'DM Sans', sans-serif;
  color: var(--donker);
  background: var(--wit);
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* TYPOGRAFIE */
h1, h2, h3 {
  font-family: 'Fraunces', serif;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 600; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 600; }
h3 { font-size: 1.2rem; font-weight: 600; }
h1 em { font-style: italic; color: var(--accent); }

/* KNOPPEN */
.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: var(--wit);
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: var(--overgang);
  letter-spacing: 0.01em;
}
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(37,99,235,0.25); }
.btn-primary.full-width { width: 100%; text-align: center; }

.btn-secondary {
  display: inline-block;
  color: var(--donker);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 14px 4px;
  border-bottom: 2px solid var(--grijs);
  transition: var(--overgang);
}
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }

.btn-nav {
  background: var(--accent);
  color: var(--wit) !important;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 0.9rem;
  transition: var(--overgang);
}
.btn-nav:hover { background: var(--accent-hover); }

/* SECTIES HEADER */
.section-label {
  display: inline-block;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-header {
  text-align: center;
  max-width: 580px;
  margin: 0 auto 60px;
}
.section-header p { color: var(--tekstgrijs); margin-top: 14px; font-size: 1.05rem; }

/* ==========================================
   HEADER / NAV
========================================== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: var(--overgang);
}
.header.scrolled {
  border-color: var(--grijs);
  box-shadow: var(--schaduw);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.logo {
  font-family: 'Fraunces', serif;
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--donker);
  letter-spacing: -0.03em;
}
.logo span { color: var(--accent); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links li a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--donker2);
  transition: color 0.2s;
}
.nav-links li a:hover { color: var(--accent); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--donker);
  border-radius: 2px;
  transition: var(--overgang);
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================
   HERO
========================================== */
.hero {
  padding: 140px 0 80px;
  background: linear-gradient(160deg, var(--accent-licht) 0%, var(--wit) 55%);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(37,99,235,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-label {
  display: inline-block;
  background: var(--accent-licht);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
  border: 1px solid rgba(37,99,235,0.15);
}
.hero-text p {
  color: var(--tekstgrijs);
  font-size: 1.1rem;
  margin: 20px 0 36px;
  max-width: 480px;
}
.hero-actions { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }

/* Mockup venster */
.hero-visual { position: relative; }
.mockup-window {
  background: var(--wit);
  border-radius: var(--radius);
  box-shadow: var(--schaduw-lg);
  overflow: hidden;
  border: 1px solid var(--grijs);
  animation: float 4s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.mockup-bar {
  background: var(--lichtgrijs);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--grijs);
}
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.red { background: #fc5c65; }
.dot.yellow { background: #fed330; }
.dot.green { background: #26de81; }
.mockup-url {
  margin-left: 12px;
  background: var(--wit);
  border: 1px solid var(--grijs);
  border-radius: 999px;
  font-size: 0.75rem;
  color: var(--tekstgrijs);
  padding: 3px 14px;
  flex: 1;
  text-align: center;
}
.mockup-body { padding: 24px 20px; display: flex; flex-direction: column; gap: 12px; }
.mockup-line {
  height: 10px;
  background: var(--grijs);
  border-radius: 999px;
}
.mockup-line.wide { width: 90%; }
.mockup-line.medium { width: 65%; }
.mockup-line.short { width: 40%; }
.mockup-img-placeholder {
  height: 120px;
  background: linear-gradient(135deg, var(--accent-licht), var(--grijs));
  border-radius: var(--radius-sm);
  margin: 4px 0;
}
.mockup-btn-fake {
  width: 100px; height: 32px;
  background: var(--accent);
  border-radius: var(--radius-sm);
  opacity: 0.85;
}

.hero-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--wit);
  border-radius: var(--radius);
  box-shadow: var(--schaduw-lg);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--grijs);
}
.badge-icon { font-size: 1.5rem; }
.hero-badge strong { display: block; font-size: 0.9rem; font-weight: 600; }
.hero-badge p { font-size: 0.78rem; color: var(--tekstgrijs); }

.hero-scroll-hint {
  text-align: center;
  margin-top: 60px;
  color: var(--tekstgrijs);
  font-size: 0.82rem;
  letter-spacing: 0.05em;
}

/* ==========================================
   DIENSTEN
========================================== */
.diensten {
  padding: 100px 0;
  background: var(--wit);
}
.diensten-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.dienst-card {
  background: var(--lichtgrijs);
  border-radius: var(--radius);
  padding: 32px 28px;
  border: 1px solid var(--grijs);
  position: relative;
  transition: var(--overgang);
}
.dienst-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--schaduw-lg);
  border-color: rgba(37,99,235,0.2);
}
.dienst-card.featured {
  background: var(--accent);
  color: var(--wit);
  border-color: var(--accent);
}
.dienst-card.featured p { color: rgba(255,255,255,0.8); }
.dienst-icon { font-size: 2rem; margin-bottom: 16px; }
.dienst-card h3 { margin-bottom: 10px; }
.dienst-card p { color: var(--tekstgrijs); font-size: 0.93rem; }
.dienst-tag {
  position: absolute;
  top: 16px; right: 16px;
  background: rgba(255,255,255,0.2);
  color: var(--wit);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.3);
}

/* ==========================================
   WERKWIJZE
========================================== */
.werkwijze {
  padding: 100px 0;
  background: var(--lichtgrijs);
}
.stappen { display: flex; flex-direction: column; gap: 0; max-width: 720px; margin: 0 auto; }
.stap {
  display: flex;
  gap: 32px;
  padding: 36px 0;
  border-bottom: 1px solid var(--grijs);
  align-items: flex-start;
}
.stap:last-child { border-bottom: none; }
.stap-nummer {
  font-family: 'Fraunces', serif;
  font-size: 2.8rem;
  font-weight: 300;
  color: var(--accent);
  opacity: 0.35;
  min-width: 60px;
  line-height: 1;
  padding-top: 4px;
}
.stap-content h3 { margin-bottom: 8px; }
.stap-content p { color: var(--tekstgrijs); font-size: 0.95rem; }

/* ==========================================
   OVER ONS
========================================== */
.over {
  padding: 100px 0;
  background: var(--wit);
}
.over-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.over-kaart {
  background: var(--lichtgrijs);
  border-radius: var(--radius);
  padding: 36px;
  border: 1px solid var(--grijs);
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.profiel {
  display: flex;
  align-items: center;
  gap: 16px;
}
.profiel-avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Fraunces', serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--wit);
  flex-shrink: 0;
}
.jm-j { background: var(--accent); }
.jm-m { background: var(--donker2); }
.profiel strong { display: block; font-weight: 600; }
.profiel span { font-size: 0.82rem; color: var(--tekstgrijs); }

.over-stat-row {
  display: flex;
  gap: 0;
  border-top: 1px solid var(--grijs);
  padding-top: 24px;
}
.over-stat {
  flex: 1;
  text-align: center;
  padding: 0 8px;
  border-right: 1px solid var(--grijs);
}
.over-stat:last-child { border-right: none; }
.over-stat strong { display: block; font-size: 1.2rem; font-weight: 600; color: var(--accent); }
.over-stat span { font-size: 0.78rem; color: var(--tekstgrijs); }

.over-text .section-label { margin-bottom: 16px; }
.over-text h2 { margin-bottom: 20px; }
.over-text p { color: var(--tekstgrijs); margin-bottom: 16px; font-size: 1rem; }
.over-text .btn-primary { margin-top: 8px; }

/* ==========================================
   CONTACT
========================================== */
.contact {
  padding: 100px 0;
  background: var(--lichtgrijs);
}
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: flex-start;
}
.contact-text .section-label { margin-bottom: 16px; }
.contact-text h2 { margin-bottom: 16px; }
.contact-text p { color: var(--tekstgrijs); margin-bottom: 28px; font-size: 1.02rem; }
.contact-info { display: flex; flex-direction: column; gap: 12px; }
.contact-info li { font-size: 0.95rem; color: var(--donker2); font-weight: 500; }

.contact-form {
  background: var(--wit);
  border-radius: var(--radius);
  padding: 36px;
  border: 1px solid var(--grijs);
  box-shadow: var(--schaduw);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 0.85rem; font-weight: 600; color: var(--donker2); }
.form-group input,
.form-group select,
.form-group textarea {
  border: 1px solid var(--grijs);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.93rem;
  color: var(--donker);
  background: var(--wit);
  transition: border-color 0.2s;
  outline: none;
  resize: vertical;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}
.form-note { color: var(--groen); font-size: 0.9rem; font-weight: 500; text-align: center; }

/* ==========================================
   FOOTER
========================================== */
.footer {
  background: var(--donker);
  padding: 32px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer .logo { color: var(--wit); font-size: 1.4rem; }
.footer p { color: rgba(255,255,255,0.4); font-size: 0.83rem; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: rgba(255,255,255,0.4); font-size: 0.83rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--wit); }

/* ==========================================
   ANIMATIES (scroll)
========================================== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.dienst-card:nth-child(2).fade-up.visible { transition-delay: 0.1s; }
.dienst-card:nth-child(3).fade-up.visible { transition-delay: 0.2s; }
.dienst-card:nth-child(4).fade-up.visible { transition-delay: 0.05s; }
.dienst-card:nth-child(5).fade-up.visible { transition-delay: 0.15s; }
.dienst-card:nth-child(6).fade-up.visible { transition-delay: 0.25s; }
.stap:nth-child(2).fade-up.visible { transition-delay: 0.1s; }
.stap:nth-child(3).fade-up.visible { transition-delay: 0.2s; }
.stap:nth-child(4).fade-up.visible { transition-delay: 0.3s; }

/* ==========================================
   RESPONSIVE
========================================== */
@media (max-width: 1024px) {
  .diensten-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: var(--wit);
    border-bottom: 1px solid var(--grijs);
    padding: 24px;
    gap: 20px;
    text-align: center;
    box-shadow: var(--schaduw);
  }
  .nav-links.open { display: flex; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; }
  .hero-badge { left: 0; bottom: -16px; }
  .hero { padding: 120px 0 80px; }
  .over-inner { grid-template-columns: 1fr; gap: 40px; }
  .contact-inner { grid-template-columns: 1fr; gap: 40px; }
  .diensten-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .stap { flex-direction: column; gap: 12px; }
  .stap-nummer { font-size: 2rem; }
}