/* =========================================================
   Team EHDN BV — Architectural Neon
   Single-page site styles
   ========================================================= */

:root {
  /* Palette */
  --bg: #f4f6ff;
  --text: #212f43;
  --muted: #5a6a80;
  --white: #ffffff;
  --navy: #121c2e;

  --cyan: #00c2ff;
  --violet: #7b5fff;
  --magenta: #cc00ff;
  --gradient: linear-gradient(135deg, #00c2ff, #7b5fff, #cc00ff);

  /* Fonts */
  --font-display: "Manrope", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-label: "Space Grotesk", system-ui, sans-serif;

  /* Shape & depth */
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 20px 40px rgba(33, 47, 67, 0.06);
  --shadow-hover: 0 28px 56px rgba(33, 47, 67, 0.12);

  /* Layout */
  --container: 1200px;
  --nav-h: 76px;
  --section-pad: 120px;
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--text);
}

/* ---------- Helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: var(--section-pad) 0; }
.section--white { background: var(--white); }
.section--bg { background: var(--bg); }
.section--navy { background: var(--navy); color: #e7ecf5; }
.section--navy h1, .section--navy h2, .section--navy h3 { color: var(--white); }

.eyebrow {
  font-family: var(--font-label);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--violet);
  display: inline-block;
  margin-bottom: 18px;
}
.section--navy .eyebrow { color: var(--cyan); }

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head h2 {
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  margin-bottom: 18px;
}
.section-head p {
  font-size: 1.075rem;
  color: var(--muted);
}
.section--navy .section-head p { color: #aab8cc; }

.gradient-rule {
  width: 64px;
  height: 3px;
  border-radius: 99px;
  background: var(--gradient);
  margin-bottom: 26px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
  padding: 15px 28px;
  border-radius: 99px;
  border: none;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  will-change: transform;
}
.btn-primary {
  background: var(--gradient);
  color: var(--white);
  box-shadow: 0 12px 28px rgba(123, 95, 255, 0.28);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 18px 38px rgba(123, 95, 255, 0.4); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1.5px solid rgba(33, 47, 67, 0.18);
}
.btn-ghost:hover { transform: translateY(-3px); border-color: var(--violet); }
.section--navy .btn-ghost,
.hero .btn-ghost { color: var(--white); border-color: rgba(255, 255, 255, 0.28); }
.section--navy .btn-ghost:hover,
.hero .btn-ghost:hover { border-color: var(--cyan); }

.btn-whatsapp {
  background: #25d366;
  color: var(--white);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.28);
}
.btn-whatsapp:hover { transform: translateY(-3px); box-shadow: 0 18px 38px rgba(37, 211, 102, 0.4); }

@media (prefers-reduced-motion: reduce) {
  .btn, .btn:hover { transform: none; }
}

/* ---------- Focus visibility ---------- */
:focus-visible {
  outline: 3px solid var(--violet);
  outline-offset: 3px;
  border-radius: 6px;
}

/* =========================================================
   Navigation
   ========================================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(244, 246, 255, 0.7);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: height 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}
.nav::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--gradient);
  opacity: 0.85;
}
.nav.scrolled {
  height: 64px;
  background: rgba(244, 246, 255, 0.88);
  box-shadow: 0 6px 24px rgba(33, 47, 67, 0.07);
}
.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img {
  width: 42px; height: 42px;
  border-radius: 10px;
  object-fit: cover;
  flex: none;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: -0.02em;
}
.brand-sub {
  font-family: var(--font-label);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  position: relative;
  transition: color 0.2s ease;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--gradient);
  transition: width 0.25s ease;
}
.nav-links a:hover { color: var(--violet); }
.nav-links a:hover::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-cta .btn { padding: 11px 22px; font-size: 0.92rem; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 44px; height: 44px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 10px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 60px) 0 80px;
  color: var(--white);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--navy);
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.5;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(18, 28, 46, 0.5) 0%, rgba(18, 28, 46, 0.78) 100%),
    linear-gradient(115deg, rgba(0, 194, 255, 0.32), rgba(123, 95, 255, 0.18) 45%, rgba(204, 0, 255, 0.28));
}
.hero-inner { max-width: 820px; }
.hero .eyebrow { color: var(--cyan); }
.hero h1 {
  font-size: clamp(2.5rem, 6.2vw, 4.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 24px;
}
.hero h1 .gradient-text {
  background: linear-gradient(120deg, #5fe0ff, #b39bff, #ff7bff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-sub {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: rgba(255, 255, 255, 0.82);
  max-width: 600px;
  margin-bottom: 36px;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 56px;
}

/* Trust strip */
.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 30px;
  align-items: center;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-label);
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.9);
}
.trust-item .dot {
  width: 8px; height: 8px;
  border-radius: 99px;
  background: var(--gradient);
  flex: none;
}

/* =========================================================
   Diensten
   ========================================================= */
.dienst-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
@media (prefers-reduced-motion: reduce) {
  .card:hover { transform: none; }
}
.card-img {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.card:hover .card-img img { transform: scale(1.05); }
@media (prefers-reduced-motion: reduce) {
  .card:hover .card-img img { transform: none; }
}
.card-num {
  position: absolute;
  top: 14px; left: 14px;
  font-family: var(--font-label);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--white);
  background: rgba(18, 28, 46, 0.55);
  backdrop-filter: blur(6px);
  padding: 6px 12px;
  border-radius: 99px;
}
.card-body { padding: 28px 26px 30px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { font-size: 1.32rem; margin-bottom: 10px; }
.card-desc { color: var(--muted); font-size: 0.96rem; margin-bottom: 18px; }
.card-feats { margin-top: auto; display: flex; flex-direction: column; gap: 9px; }
.card-feats li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text);
}
.card-feats li::before {
  content: "";
  width: 16px; height: 16px;
  margin-top: 3px;
  flex: none;
  border-radius: 5px;
  background: var(--gradient);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") center / 13px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") center / 13px no-repeat;
}

/* Secondary trades */
.extra {
  margin-top: 56px;
  text-align: center;
}
.extra-label {
  font-family: var(--font-label);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}
.chips { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.chip {
  font-family: var(--font-label);
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 10px 20px;
  border-radius: 99px;
  background: var(--white);
  color: var(--text);
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.chip:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
@media (prefers-reduced-motion: reduce) { .chip:hover { transform: none; } }

/* =========================================================
   Werkwijze
   ========================================================= */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
.step {
  position: relative;
  padding-top: 8px;
}
.step-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.6rem;
  line-height: 1;
  margin-bottom: 18px;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.step h3 { font-size: 1.2rem; margin-bottom: 10px; }
.step p { color: #aab8cc; font-size: 0.95rem; }
.section--navy .step p { color: #9fb0c6; }

/* =========================================================
   Projecten
   ========================================================= */
.proj-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 18px;
}
.proj {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.proj img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.proj:hover img { transform: scale(1.06); }
@media (prefers-reduced-motion: reduce) { .proj:hover img { transform: none; } }
.proj-cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 18px 16px 14px;
  background: linear-gradient(180deg, transparent, rgba(18, 28, 46, 0.82));
  color: var(--white);
  font-family: var(--font-label);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.proj.tall { grid-row: span 2; }
.proj.wide { grid-column: span 2; }

/* =========================================================
   Over ons
   ========================================================= */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}
.about-text p { color: #aab8cc; font-size: 1.06rem; margin-bottom: 20px; }
.about-text p strong { color: var(--white); font-weight: 600; }
.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.stat {
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius);
  padding: 26px 24px;
  position: relative;
  overflow: hidden;
}
.stat::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--gradient);
}
.stat-big {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.7rem;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 6px;
}
.stat-label { font-size: 0.9rem; color: #9fb0c6; }

/* =========================================================
   Contact
   ========================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.contact-aside h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin-bottom: 18px; }
.contact-aside > p { color: var(--muted); font-size: 1.06rem; margin-bottom: 32px; }
.contact-direct {
  background: var(--white);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
}
.contact-direct h3 { font-size: 1.1rem; margin-bottom: 6px; }
.contact-direct p { color: var(--muted); font-size: 0.94rem; margin-bottom: 18px; }
.contact-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  font-family: var(--font-label);
  font-size: 0.85rem;
  color: var(--muted);
}
.contact-meta a:hover { color: var(--violet); }

/* Form */
.form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow);
}
.form-row { margin-bottom: 20px; }
.form-row.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form label {
  display: block;
  font-family: var(--font-label);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.form input,
.form select,
.form textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
  background: var(--bg);
  border: 1.5px solid transparent;
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.form textarea { resize: vertical; min-height: 130px; }
.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: none;
  background: var(--white);
  border-color: var(--violet);
  box-shadow: 0 0 0 4px rgba(123, 95, 255, 0.14);
}
.form .btn { width: 100%; justify-content: center; margin-top: 4px; }

.form-note {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 14px;
  text-align: center;
}
.form-status {
  display: none;
  margin-top: 18px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.94rem;
}
.form-status.show { display: block; }
.form-status.success { background: rgba(37, 211, 102, 0.12); color: #1a7d42; }
.form-status.error { background: rgba(186, 26, 26, 0.1); color: #ba1a1a; }

/* =========================================================
   Footer
   ========================================================= */
.footer {
  background: var(--navy);
  color: #aab8cc;
  padding: 72px 0 32px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
}
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer-brand img { width: 46px; height: 46px; border-radius: 10px; }
.footer-brand .brand-name { color: var(--white); }
.footer-brand .brand-sub { color: #8294ad; }
.footer-col h4 {
  font-family: var(--font-label);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8294ad;
  margin-bottom: 18px;
  font-weight: 500;
}
.footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-col a { font-size: 0.95rem; transition: color 0.2s ease; }
.footer-col a:hover { color: var(--cyan); }
.footer-blurb { font-size: 0.95rem; max-width: 320px; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.86rem;
  color: #8294ad;
}
.footer-bottom a:hover { color: var(--cyan); }
.footer-socials { display: flex; gap: 14px; }
.footer-socials a {
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  transition: background 0.25s ease, transform 0.25s ease;
}
.footer-socials a:hover { background: var(--gradient); transform: translateY(-3px); }
.footer-socials svg { width: 18px; height: 18px; fill: #cfd9e8; }
.footer-socials a:hover svg { fill: var(--white); }

/* =========================================================
   Reveal animations (disabled when reduced motion)
   ========================================================= */
.reveal { opacity: 0; transform: translateY(28px); }
.is-visible .reveal,
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 980px) {
  :root { --section-pad: 88px; }
  .dienst-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .nav-toggle { display: flex; }
  .nav-mobile {
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    background: rgba(244, 246, 255, 0.97);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 14px 30px rgba(33, 47, 67, 0.1);
    display: flex;
    flex-direction: column;
    padding: 12px 24px 24px;
    gap: 4px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
    z-index: 99;
  }
  .nav-mobile.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav-mobile a {
    padding: 14px 4px;
    font-size: 1.02rem;
    font-weight: 500;
    border-bottom: 1px solid rgba(33, 47, 67, 0.07);
  }
  .nav-mobile .btn { margin-top: 16px; justify-content: center; }
}

@media (max-width: 620px) {
  :root { --section-pad: 72px; }
  .dienst-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .proj-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; }
  .proj.wide { grid-column: span 2; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .form-row.two { grid-template-columns: 1fr; }
  .form { padding: 26px 22px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { justify-content: center; }
}
