/* M.Techno Service - conceptontwerp */
*, *::before, *::after { box-sizing: border-box; }

:root {
  --ink: #16130f;
  --ink-2: #4a4238;
  --ink-3: #7d7365;
  --paper: #fbf9f6;
  --paper-2: #f2ede6;
  --line: #e2dad0;
  --clay: #a4593a;
  --clay-d: #8a4830;
  --dark: #1c1815;
  --wa: #25d366;
  --wa-d: #128c7e;
  --r: 4px;
  --wrap: 1240px;
}

html { scroll-behavior: smooth; scroll-padding-top: 76px; }

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3 { font-family: Fraunces, Georgia, serif; font-weight: 500; line-height: 1.12; letter-spacing: -0.015em; margin: 0; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.4rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.9rem); }
h3 { font-size: 1.12rem; font-family: Inter, sans-serif; font-weight: 600; letter-spacing: 0; }
p { margin: 0 0 1.05em; }

.wrap { width: min(100% - 44px, var(--wrap)); margin-inline: auto; }
.hidden { display: none !important; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(251, 249, 246, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-in { display: flex; align-items: center; gap: 26px; height: 76px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; margin-right: auto; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--clay); color: #fff;
  display: grid; place-items: center;
  font-family: Fraunces, serif; font-size: 1.14rem; flex: none;
}
.brand-txt { display: flex; flex-direction: column; line-height: 1.18; }
.brand-txt b { font-size: 0.99rem; font-weight: 600; }
.brand-txt i { font-style: normal; font-size: 0.76rem; color: var(--ink-3); }
.nav-links { display: flex; gap: 26px; }
.nav-links a { text-decoration: none; font-size: 0.92rem; color: var(--ink-2); padding: 4px 0; border-bottom: 1px solid transparent; }
.nav-links a:hover, .nav-links a.on { color: var(--ink); border-color: var(--clay); }
.burger { display: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 24px; border-radius: 999px;
  background: var(--ink); color: var(--paper);
  font-size: 0.94rem; font-weight: 500; text-decoration: none;
  border: 1px solid var(--ink); cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: 10px 17px; font-size: 0.87rem; }
.btn-lg { padding: 16px 28px; font-size: 1rem; }
.btn-wa { background: var(--wa-d); border-color: var(--wa-d); color: #fff; }
.btn-wa:hover { background: #0f7a6d; box-shadow: 0 8px 24px rgba(18, 140, 126, 0.28); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.5); }
.btn-ghost:hover { background: rgba(255,255,255,0.12); }
.btn-ghost-l { background: transparent; color: #fff; border-color: rgba(255,255,255,0.45); }
.btn-ghost-l:hover { background: rgba(255,255,255,0.12); }
.wa-i { width: 19px; height: 19px; fill: currentColor; flex: none; }

/* ---------- hero ---------- */
.hero { position: relative; background: var(--dark); color: #fff; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; padding: 74px 0 84px; }
.hero-txt { max-width: 560px; }
.hero h1 { color: #fff; margin-bottom: 22px; }
.hero-sub { font-size: 1.08rem; color: rgba(255,255,255,0.75); margin-bottom: 30px; }
.hero-cta { display: flex; gap: 13px; flex-wrap: wrap; }
.hero-art { position: relative; padding-bottom: 54px; }
.hero-art figure { margin: 0; border-radius: var(--r); overflow: hidden; box-shadow: 0 30px 70px rgba(0,0,0,0.45); }
.hero-a img { width: 100%; height: auto; }
.hero-b { position: absolute; right: -14px; bottom: 0; width: 40%; border: 6px solid var(--dark); }
.hero-b img { width: 100%; height: auto; }
.rating-chip {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 24px;
  background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.24);
  padding: 8px 16px; border-radius: 999px; font-size: 0.86rem; color: #fff;
  backdrop-filter: blur(6px);
}
.stars { color: #e8b04b; letter-spacing: 1px; font-size: 0.84rem; }
.hero-strip { position: relative; border-top: 1px solid rgba(255,255,255,0.14); background: rgba(0,0,0,0.25); }
.strip-in { display: flex; flex-wrap: wrap; gap: 12px 40px; padding: 16px 0; color: rgba(255,255,255,0.82); font-size: 0.82rem; }
.strip-in span { position: relative; padding-left: 18px; }
.strip-in span::before { content: ""; position: absolute; left: 0; top: 8px; width: 7px; height: 7px; border-radius: 50%; background: var(--clay); }

/* ---------- sections ---------- */
.sec { padding: 96px 0; }
.sec-alt { background: var(--paper-2); }
.sec-dark { background: var(--dark); color: rgba(255,255,255,0.9); }
.sec-dark h2, .sec-dark h3 { color: #fff; }
.eyebrow { display: block; font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--clay); margin-bottom: 14px; font-weight: 600; }
.eyebrow-l { color: #d9a086; }
.sec-h { margin-bottom: 14px; max-width: 20ch; }
.sec-lead { color: var(--ink-2); max-width: 62ch; margin-bottom: 44px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; }
.wide-gap { gap: 76px; }
.va-center { align-items: center; }
.intro-txt { color: var(--ink-2); }
.intro-txt p:last-child { margin-bottom: 0; }
.ticks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 11px; }
.ticks li { position: relative; padding-left: 30px; font-size: 0.96rem; color: var(--ink); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 7px; width: 15px; height: 8px; border-left: 2px solid var(--clay); border-bottom: 2px solid var(--clay); transform: rotate(-45deg); }

/* ---------- project cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.card {
  grid-column: span 1; text-decoration: none; display: flex; flex-direction: column;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r);
  overflow: hidden; transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(22,19,15,0.1); }
.card-big { grid-column: span 3; flex-direction: row; }
.card-img { overflow: hidden; background: var(--paper-2); }
.card-img img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; transition: transform 0.5s ease; }
.card:hover .card-img img { transform: scale(1.03); }
.card-big .card-img { flex: 1 1 58%; }
.card-big .card-img img { aspect-ratio: 16/10; }
.card-txt { padding: 26px 26px 28px; display: flex; flex-direction: column; }
.card-big .card-txt { flex: 1 1 42%; justify-content: center; padding: 44px; }
.card-kick { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--clay); font-weight: 600; }
.card h3 { font-family: Fraunces, serif; font-weight: 500; font-size: 1.42rem; margin: 10px 0 10px; letter-spacing: -0.01em; }
.card-big h3 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); }
.card p { color: var(--ink-2); font-size: 0.93rem; margin-bottom: 16px; }
.card-big p { font-size: 1.02rem; }
.card-go { margin-top: auto; font-size: 0.87rem; font-weight: 500; color: var(--clay); }

/* ---------- diensten ---------- */
.svc { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.svc-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; }
.sec-alt .svc-card { background: #fff; }
.svc-lead { grid-column: span 2; background: var(--dark); color: rgba(255,255,255,0.82); border-color: var(--dark); }
.svc-lead h3 { color: #fff; font-family: Fraunces, serif; font-weight: 500; font-size: 1.5rem; }
.svc-card h3 { margin-bottom: 8px; }
.svc-card p { color: var(--ink-2); font-size: 0.9rem; margin: 0; }
.svc-lead p { color: rgba(255,255,255,0.72); }

/* ---------- werkwijze ---------- */
.steps-head p { color: rgba(255,255,255,0.72); max-width: 40ch; margin-bottom: 28px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.steps li { display: flex; gap: 22px; padding: 22px 0; border-bottom: 1px solid rgba(255,255,255,0.12); }
.steps li:first-child { border-top: 1px solid rgba(255,255,255,0.12); }
.steps .n { font-family: Fraunces, serif; color: var(--clay); font-size: 0.95rem; padding-top: 2px; flex: none; }
.steps h3 { margin-bottom: 4px; font-size: 1.03rem; }
.steps p { color: rgba(255,255,255,0.66); font-size: 0.92rem; margin: 0; }

/* ---------- reviews ---------- */
.revs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.rev { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 30px; display: flex; flex-direction: column; }
.rev p { font-family: Fraunces, serif; font-size: 1.06rem; line-height: 1.55; margin: 14px 0 20px; }
.rev cite { font-style: normal; font-size: 0.9rem; font-weight: 500; margin-top: auto; display: flex; flex-direction: column; }
.rev cite i { font-style: normal; font-size: 0.79rem; color: var(--ink-3); font-weight: 400; margin-top: 2px; }
.rev-link { margin-top: 28px; font-size: 0.92rem; }
.rev-link a { color: var(--clay); }

/* ---------- over ---------- */
.over-img { margin: 0; border-radius: var(--r); overflow: hidden; }
.over-img img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.facts { display: flex; gap: 40px; margin-top: 32px; flex-wrap: wrap; }
.facts div { display: flex; flex-direction: column; }
.facts b { font-family: Fraunces, serif; font-size: 2.1rem; font-weight: 500; line-height: 1; }
.facts span { font-size: 0.79rem; color: var(--ink-3); margin-top: 6px; }

/* ---------- CTA ---------- */
.sec-cta { background: var(--dark); color: #fff; text-align: center; padding: 104px 0; }
.cta-in { max-width: 660px; margin-inline: auto; }
.sec-cta h2 { color: #fff; margin-bottom: 16px; }
.sec-cta p { color: rgba(255,255,255,0.74); }
.cta-btns { display: flex; gap: 13px; justify-content: center; flex-wrap: wrap; margin: 30px 0 20px; }
.cta-note { font-size: 0.83rem; color: rgba(255,255,255,0.5); margin: 0; }

/* ---------- footer ---------- */
.foot { background: #100e0c; color: rgba(255,255,255,0.66); padding: 66px 0 0; font-size: 0.9rem; }
.foot-in { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 44px; padding-bottom: 46px; }
.foot h4 { font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: #fff; margin: 0 0 16px; font-weight: 600; }
.foot a { display: block; text-decoration: none; margin-bottom: 9px; color: rgba(255,255,255,0.66); }
.foot a:hover { color: #fff; }
.foot p { margin: 0 0 7px; }
.foot-name { color: #fff; font-family: Fraunces, serif; font-size: 1.16rem; margin: 14px 0 6px; }
.foot-sub { max-width: 34ch; }
.foot-wa { display: inline-flex !important; align-items: center; gap: 8px; margin-top: 14px; color: var(--wa) !important; font-weight: 500; }
.foot-bot { display: flex; justify-content: space-between; border-top: 1px solid rgba(255,255,255,0.1); padding: 22px 0; font-size: 0.79rem; color: rgba(255,255,255,0.4); }

/* ---------- WhatsApp FAB ---------- */
.wa-fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 70;
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--wa-d); color: #fff; text-decoration: none;
  padding: 14px 20px; border-radius: 999px; font-size: 0.92rem; font-weight: 500;
  box-shadow: 0 10px 30px rgba(18,140,126,0.4);
}
.wa-fab:hover { background: #0f7a6d; }
.wa-fab .wa-i { width: 21px; height: 21px; }

/* ---------- project page ---------- */
.p-hero { background: var(--dark); color: #fff; overflow: hidden; }
.p-hero-grid { display: grid; grid-template-columns: 1fr 0.85fr; gap: 60px; align-items: center; padding: 62px 0 74px; }
.p-hero-txt { max-width: 600px; }
.p-hero-art { margin: 0; border-radius: var(--r); overflow: hidden; box-shadow: 0 30px 70px rgba(0,0,0,0.45); }
.p-hero-art img { width: 100%; height: auto; }
.p-hero h1 { color: #fff; margin: 6px 0 18px; }
.back { display: inline-block; color: rgba(255,255,255,0.78); text-decoration: none; font-size: 0.86rem; margin-bottom: 26px; }
.back:hover { color: #fff; }
.p-lead { font-size: 1.1rem; color: rgba(255,255,255,0.88); max-width: 62ch; }
.chips { display: flex; gap: 9px; flex-wrap: wrap; margin-top: 22px; }
.chips span { border: 1px solid rgba(255,255,255,0.3); border-radius: 999px; padding: 6px 15px; font-size: 0.79rem; color: rgba(255,255,255,0.86); }
.p-intro { padding: 84px 0 20px; }
.p-intro .intro-txt { font-size: 1.06rem; }

.story { padding: 56px 0; }
.story-in { max-width: 760px; margin-inline: auto; }
.story-txt h2 { margin-bottom: 14px; }
.story-txt p { color: var(--ink-2); }
.story-result { background: var(--paper-2); margin-top: 40px; }

/* foto-grids */
.grid-ph { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin-top: 34px; }
.ph { margin: 0; position: relative; border-radius: var(--r); overflow: hidden; background: var(--paper-2); cursor: zoom-in; grid-column: span 2; }
.ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.ph.is-portrait img { aspect-ratio: 3/4; }
.ph.is-land img { aspect-ratio: 4/3; }
.ph:hover img { transform: scale(1.03); }
.ph figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 30px 16px 13px; font-size: 0.82rem; color: #fff;
  background: linear-gradient(to top, rgba(10,8,6,0.85), transparent);
}
.ph .play {
  position: absolute; inset: 0; margin: auto; width: 60px; height: 60px; border-radius: 50%;
  background: rgba(255,255,255,0.92); pointer-events: none;
}
.ph .play::after { content: ""; position: absolute; inset: 0; margin: auto; width: 0; height: 0; border-left: 18px solid var(--ink); border-top: 11px solid transparent; border-bottom: 11px solid transparent; transform: translateX(3px); }
/* layoutvarianten: nooit een gat aan het eind van een rij */
.g-3 .ph { grid-column: span 2; }
.g-lead1 .ph:first-child { grid-column: span 6; }
.g-lead1 .ph:first-child img { aspect-ratio: 16/9; }
.g-lead2 .ph:first-child, .g-lead2 .ph:nth-child(2) { grid-column: span 3; }
.g-lead2 .ph:first-child img, .g-lead2 .ph:nth-child(2) img { aspect-ratio: 4/3; }
.grid-vid .ph img { aspect-ratio: 9/16; }

.gal { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-top: 30px; }
.gal .ph { grid-column: span 1; border-radius: 3px; }
.gal .ph img { aspect-ratio: 1/1; }
.more-wrap { display: flex; justify-content: center; margin-top: 26px; }
.more-wrap .btn { background: transparent; color: var(--ink); border-color: var(--line); }
.more-wrap .btn:hover { border-color: var(--ink); }
#gal-rest { margin-top: 12px; }

.p-nav-sec { padding: 60px 0 90px; }
.p-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; border-top: 1px solid var(--line); padding-top: 34px; }
.p-nav a { text-decoration: none; display: flex; flex-direction: column; gap: 5px; padding: 22px 26px; border: 1px solid var(--line); border-radius: var(--r); transition: border-color 0.15s ease; }
.p-nav a:hover { border-color: var(--ink); }
.p-nav span { font-size: 0.74rem; letter-spacing: 0.13em; text-transform: uppercase; color: var(--clay); font-weight: 600; }
.p-nav b { font-family: Fraunces, serif; font-weight: 500; font-size: 1.16rem; }
.p-nav-r { text-align: right; align-items: flex-end; }

/* ---------- lightbox ---------- */
.lb { position: fixed; inset: 0; z-index: 100; background: rgba(10,8,6,0.96); display: flex; align-items: center; justify-content: center; }
.lb[hidden] { display: none; }
.lb-stage { max-width: 92vw; max-height: 86vh; display: flex; align-items: center; justify-content: center; }
.lb-stage img, .lb-stage video { max-width: 92vw; max-height: 86vh; object-fit: contain; border-radius: 3px; }
.lb-cap { position: absolute; bottom: 22px; left: 0; right: 0; text-align: center; color: rgba(255,255,255,0.72); font-size: 0.86rem; padding: 0 60px; }
.lb button { position: absolute; background: rgba(255,255,255,0.1); border: 0; color: #fff; cursor: pointer; border-radius: 50%; display: grid; place-items: center; }
.lb button:hover { background: rgba(255,255,255,0.22); }
.lb-x { top: 20px; right: 20px; width: 46px; height: 46px; font-size: 1.9rem; line-height: 1; }
.lb-p, .lb-n { top: 50%; transform: translateY(-50%); width: 52px; height: 52px; font-size: 2rem; line-height: 1; }
.lb-p { left: 18px; }
.lb-n { right: 18px; }

/* ---------- responsive ---------- */
@media (max-width: 1040px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .card-big { grid-column: span 2; }
  .svc { grid-template-columns: repeat(2, 1fr); }
  .revs { grid-template-columns: 1fr; }
  .foot-in { grid-template-columns: 1fr 1fr; }
  .gal { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 880px) {
  html { scroll-padding-top: 68px; }
  .nav-in { height: 68px; gap: 14px; }
  .nav-links {
    position: fixed; inset: 68px 0 auto; flex-direction: column; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line); padding: 10px 22px 22px;
    transform: translateY(-130%); transition: transform 0.25s ease;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .burger { display: grid; gap: 5px; background: none; border: 0; padding: 10px 4px; cursor: pointer; }
  .burger span { display: block; width: 22px; height: 2px; background: var(--ink); }
  .nav .btn-sm span { display: none; }
  .nav .btn-sm { padding: 10px; }

  .grid-2, .wide-gap { grid-template-columns: 1fr; gap: 28px; }
  .sec { padding: 66px 0; }
  .hero-grid, .p-hero-grid { grid-template-columns: 1fr; gap: 34px; padding: 46px 0 54px; }
  .hero-txt, .p-hero-txt { max-width: none; }
  .hero-art { padding-bottom: 0; }
  .hero-b { display: none; }
  .p-hero-art { max-width: 480px; }
  .card-big { flex-direction: column; }
  .card-big .card-txt { padding: 26px; }
  .svc-lead { grid-column: span 2; }
  .facts { gap: 26px; }
  .p-nav { grid-template-columns: 1fr; }
  .p-nav-r { text-align: left; align-items: flex-start; }
  .wa-fab span { display: none; }
  .wa-fab { padding: 15px; right: 16px; bottom: 16px; }
  .lb-cap { padding: 0 20px; bottom: 14px; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .wrap { width: min(100% - 32px, var(--wrap)); }
  .cards, .svc { grid-template-columns: 1fr; }
  .card-big, .svc-lead { grid-column: span 1; }
  .grid-ph { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .grid-ph .ph, .grid-ph .ph:nth-child(7n+1), .grid-ph .ph:nth-child(7n+2), .grid-big .ph:nth-child(7n+1), .grid-big .ph:nth-child(7n+2) { grid-column: span 2; }
  .gal { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .foot-in { grid-template-columns: 1fr; gap: 30px; }
  .ph figcaption { font-size: 0.78rem; }
  .lb-p, .lb-n { width: 44px; height: 44px; }
}
