/* ════════════════════════════════════════════════════════════
   Protech Solutions — Website stylesheet
   Huisstijl tokens uit Huisstijl.html
   ═══════════════════════════════════════════════════════════ */

:root {
  --ink: #0c0c0c;
  --cream: #f5f2eb;
  --paper: #efece4;
  --muted: #7a7a72;
  --hair: rgba(12, 12, 12, .15);
  --hair-strong: rgba(12, 12, 12, .35);
  --accent: #f5d300;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.mono {
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: .04em;
}

.eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-block;
}

/* ─── container ─── */
.wrap { max-width: 1320px; margin: 0 auto; padding: 0 56px; }
@media (max-width: 720px) { .wrap { padding: 0 24px; } }

/* ─── topbar ─── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--cream);
  border-bottom: 1px solid var(--ink);
}
.nav .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 108px;
  gap: 32px;
}
.nav .brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.nav .brand img { width: 76px; height: 76px; }
.nav .brand .name {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1.5;
}
.nav .brand .name b { font-weight: 600; }
.nav .brand .name span { color: var(--muted); }

.nav .links {
  display: flex;
  align-items: center;
  gap: 36px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.nav .links a {
  position: relative;
  padding: 6px 0;
  color: var(--ink);
}
.nav .links a:hover { color: var(--muted); }
.nav .links a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--ink);
}

.nav .phone {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--ink);
  color: var(--cream);
  padding: 12px 18px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: .12em;
  transition: background .15s ease;
}
.nav .phone:hover { background: #2a2a26; }
.nav .phone svg { width: 14px; height: 14px; }

/* hamburger (verborgen op desktop) */
.nav-cb { display: none; }
.nav-burger { display: none; }

@media (max-width: 880px) {
  .nav .inner { position: relative; flex-wrap: wrap; min-height: 84px; }
  .nav .links {
    display: none;
    order: 4;
    width: 100%;
    flex-direction: column;
    gap: 0;
    border-top: 1px solid var(--hair);
    padding: 6px 0 10px;
  }
  .nav-cb:checked ~ .links { display: flex; }
  .nav .links a {
    width: 100%;
    padding: 15px 2px;
    border-bottom: 1px solid var(--hair);
    font-size: 12px;
  }
  .nav .links a:last-child { border-bottom: none; }
  .nav .links a.active::after { display: none; }
  .nav .links a.active { color: var(--muted); }

  .nav .phone { order: 2; margin-left: auto; }
  .nav-burger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    cursor: pointer;
    order: 3;
  }
  .nav-burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--ink);
    margin: 0 auto;
    transition: transform .2s ease, opacity .2s ease;
  }
  .nav-cb:checked ~ .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-cb:checked ~ .nav-burger span:nth-child(2) { opacity: 0; }
  .nav-cb:checked ~ .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ─── section base ─── */
section {
  padding: 96px 0;
  border-top: 1px solid var(--hair);
}
section:first-of-type { border-top: none; }
@media (max-width: 720px) { section { padding: 64px 0; } }

.section-head {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 32px;
  margin-bottom: 56px;
}
.section-head .num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: .3em;
  color: var(--ink);
  padding-top: 8px;
  border-top: 1px solid var(--ink);
  height: fit-content;
}
.section-head h2 {
  font-size: 44px;
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.05;
}
.section-head p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
  max-width: 60ch;
}
@media (max-width: 720px) {
  .section-head { grid-template-columns: 1fr; gap: 16px; margin-bottom: 36px; }
  .section-head h2 { font-size: 32px; }
}

/* ─── buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 26px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  transition: all .15s ease;
  border: 1px solid var(--ink);
}
.btn.primary { background: var(--ink); color: var(--cream); }
.btn.primary:hover { background: #2a2a26; }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--cream); }
.btn .arrow {
  display: inline-block;
  transition: transform .2s ease;
}
.btn:hover .arrow { transform: translateX(4px); }

/* ─── hero pattern ─── */
.hero {
  padding: 96px 0 64px;
  position: relative;
  overflow: hidden;
}
.hero .eyebrow { margin-bottom: 24px; }
.hero h1 {
  font-size: clamp(48px, 8vw, 112px);
  font-weight: 600;
  letter-spacing: -.025em;
  line-height: .95;
}
.hero h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--muted);
}
.hero .lede {
  margin-top: 28px;
  max-width: 58ch;
  font-size: 19px;
  line-height: 1.55;
  color: var(--muted);
}
.hero .actions {
  margin-top: 40px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero .meta {
  margin-top: 80px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.hero .meta > div {
  padding: 22px 24px 22px 0;
  border-right: 1px solid var(--hair);
}
.hero .meta > div:last-child { border-right: none; padding-right: 0; }
.hero .meta dt {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.hero .meta dd {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -.005em;
}
@media (max-width: 720px) {
  .hero { padding: 56px 0 32px; }
  .hero .meta { grid-template-columns: 1fr 1fr; }
  .hero .meta > div { padding: 18px 18px 18px 0; }
}

/* ─── disciplines grid ─── */
.disciplines {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.disciplines a {
  padding: 40px 28px;
  border-right: 1px solid var(--hair);
  transition: background .2s ease;
  display: block;
}
.disciplines a:last-child { border-right: none; }
.disciplines a:hover { background: var(--paper); }
.disciplines .n {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: .28em;
  color: var(--muted);
  margin-bottom: 14px;
}
.disciplines .t {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -.01em;
  line-height: 1.1;
}
.disciplines .arrow {
  margin-top: 28px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--ink);
  opacity: .35;
  transition: opacity .2s ease;
}
.disciplines a:hover .arrow { opacity: 1; }
@media (max-width: 1080px) {
  .disciplines { grid-template-columns: 1fr 1fr; }
  .disciplines a { border-right: none; border-bottom: 1px solid var(--hair); }
}
@media (max-width: 480px) {
  .disciplines { grid-template-columns: 1fr; }
}

/* ─── steps (werkwijze) ─── */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.steps > div {
  border-top: 1px solid var(--ink);
  padding: 28px 24px 32px 0;
  position: relative;
}
.steps > div + div { border-left: 1px solid var(--hair); padding-left: 24px; }
.steps .n {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: .3em;
  color: var(--muted);
  margin-bottom: 18px;
}
.steps h3 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -.01em;
  margin-bottom: 12px;
  line-height: 1.15;
}
.steps p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.55;
}
@media (max-width: 880px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .steps > div + div { border-left: none; padding-left: 0; }
  .steps > div { padding-right: 0; }
  .steps > div:nth-child(2n) { border-left: 1px solid var(--hair); padding-left: 24px; }
}
@media (max-width: 480px) {
  .steps { grid-template-columns: 1fr; }
  .steps > div:nth-child(2n) { border-left: none; padding-left: 0; }
}

/* ─── over / about preview block ─── */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.about .photo {
  aspect-ratio: 4 / 5;
  width: 100%;
}
.about h2 {
  font-size: 44px;
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.05;
  margin-bottom: 24px;
}
.about p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  margin-bottom: 20px;
  max-width: 52ch;
}
.about p.muted { color: var(--muted); }
.about .sig {
  margin-top: 32px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
}
@media (max-width: 880px) {
  .about { grid-template-columns: 1fr; gap: 40px; }
  .about h2 { font-size: 32px; }
}

/* ─── intro columns (over / home, zonder foto) ─── */
.intro-cols {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: start;
}
.intro-cols .lead-col h2 {
  font-size: 44px;
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.05;
  margin-top: 16px;
}
.intro-cols .body-col p {
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 22px;
  max-width: 56ch;
}
.intro-cols .body-col p.muted { color: var(--muted); }
.intro-cols .sig {
  margin-top: 28px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
}
@media (max-width: 880px) {
  .intro-cols { grid-template-columns: 1fr; gap: 24px; }
  .intro-cols .lead-col h2 { font-size: 32px; }
}

/* ─── CTA strip (full-bleed black) ─── */
.cta {
  background: var(--ink);
  color: var(--cream);
  padding: 96px 0;
  border-top: none;
}
.cta .inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: end;
}
.cta h2 {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 600;
  letter-spacing: -.025em;
  line-height: 1;
  color: var(--cream);
}
.cta h2 em {
  font-style: italic;
  font-weight: 400;
  color: rgba(245, 242, 235, .55);
}
.cta .side {
  border-left: 1px solid rgba(245, 242, 235, .25);
  padding-left: 32px;
}
.cta .side dt {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: rgba(245, 242, 235, .55);
  margin-bottom: 8px;
}
.cta .side dd {
  font-size: 18px;
  margin-bottom: 22px;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: .02em;
}
.cta .side dd:last-child { margin-bottom: 0; }
.cta .actions {
  margin-top: 40px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  grid-column: 1 / 2;
}
.cta .btn.primary { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.cta .btn.primary:hover { background: var(--accent); border-color: var(--accent); }
.cta .btn.ghost { color: var(--cream); border-color: rgba(245, 242, 235, .5); }
.cta .btn.ghost:hover { background: var(--cream); color: var(--ink); border-color: var(--cream); }
@media (max-width: 880px) {
  .cta { padding: 64px 0; }
  .cta .inner { grid-template-columns: 1fr; gap: 40px; }
  .cta .side { border-left: none; padding-left: 0; border-top: 1px solid rgba(245, 242, 235, .25); padding-top: 32px; }
}

/* ─── service cards (diensten page) ─── */
.services {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--ink);
}
.service {
  display: grid;
  grid-template-columns: 80px 1fr 1fr;
  gap: 48px;
  padding: 56px 0;
  border-bottom: 1px solid var(--hair);
  align-items: start;
}
.service:last-child { border-bottom: 1px solid var(--ink); }
.service .n {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: .3em;
  color: var(--muted);
  padding-top: 8px;
}
.service h3 {
  font-size: 36px;
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1;
  margin-bottom: 18px;
}
.service .lead {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
  max-width: 38ch;
}
.service ul {
  list-style: none;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  line-height: 2;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink);
}
.service ul li {
  padding-left: 22px;
  position: relative;
}
.service ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 12px;
  height: 1px;
  background: var(--ink);
}
@media (max-width: 880px) {
  .service { grid-template-columns: 1fr; gap: 20px; padding: 40px 0; }
  .service h3 { font-size: 28px; }
}

/* ─── contact page ─── */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 880px) {
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}

.field {
  display: block;
  margin-bottom: 24px;
}
.field label {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.field input,
.field textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--ink);
  padding: 10px 0 12px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 17px;
  color: var(--ink);
  outline: none;
  transition: border-color .15s ease;
}
.field input:focus,
.field textarea:focus { border-bottom-color: var(--accent); border-bottom-width: 2px; }
.field textarea { min-height: 120px; resize: vertical; }

/* honeypot — verborgen anti-spam veld */
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

.contact-side dl > div {
  padding: 22px 0;
  border-bottom: 1px solid var(--hair);
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px;
  align-items: baseline;
}
.contact-side dl > div:first-child { border-top: 1px solid var(--ink); }
.contact-side dl > div:last-child { border-bottom: 1px solid var(--ink); }
.contact-side dt {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-side dd {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  letter-spacing: .02em;
  color: var(--ink);
  line-height: 1.5;
}

/* ─── footer ─── */
footer.foot {
  background: var(--ink);
  color: var(--cream);
  padding: 80px 0 32px;
  margin-top: 0;
}
footer.foot .inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(245, 242, 235, .2);
}
footer.foot .brand img { width: 56px; height: 56px; }
footer.foot .brand .nm {
  margin-top: 18px;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -.01em;
}
footer.foot .brand p {
  margin-top: 12px;
  color: rgba(245, 242, 235, .55);
  font-size: 14px;
  line-height: 1.55;
  max-width: 32ch;
}
footer.foot h4 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 22px;
  font-weight: 500;
}
footer.foot ul { list-style: none; }
footer.foot ul li {
  margin-bottom: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  letter-spacing: .02em;
  color: var(--cream);
}
footer.foot ul li a { color: var(--cream); transition: color .15s ease; }
footer.foot ul li a:hover { color: var(--accent); }
footer.foot .meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  letter-spacing: .02em;
  color: var(--cream);
  line-height: 1.7;
}
footer.foot .meta .muted { color: rgba(245, 242, 235, .55); }
footer.foot .bot {
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: rgba(245, 242, 235, .55);
}
@media (max-width: 880px) {
  footer.foot .inner { grid-template-columns: 1fr 1fr; gap: 40px; }
  footer.foot .bot { flex-direction: column; gap: 14px; }
}

/* ─── image-slot harmonization ─── */
image-slot {
  width: 100%;
  --slot-bg: var(--paper);
  --slot-border: var(--hair);
  --slot-placeholder-color: var(--muted);
}

/* ─── coverage map (contact / home) ─── */
.coverage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.coverage svg { width: 100%; height: auto; }
.coverage h3 {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -.015em;
  margin-bottom: 18px;
}
.coverage p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
  max-width: 48ch;
  margin-bottom: 14px;
}
.coverage .tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-block;
  padding: 6px 0;
  border-top: 2px solid var(--accent);
}
@media (max-width: 880px) { .coverage { grid-template-columns: 1fr; gap: 40px; } }
