/* === Reset & basis === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg-dark: #0a0a0a;
  --bg-light: #ffffff;
  --bg-off: #f6f4f0;
  --bg-diensten: #1a2a3a;
  --sky: #1a3a5c;
  --text-dark: #1a1a1a;
  --text-light: #ffffff;
  --text-muted-dark: #555;
  --text-muted-light: rgba(255, 255, 255, 0.65);
  --accent: #3C7880;
  --accent-light: #4a8f98;
  --green: #3A734F;
  --forest: #293F1C;
  --border-light: #e5e2dc;
  --border-dark: rgba(255, 255, 255, 0.12);
  --glass-bg: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.15);
}

@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Condensed:wght@300;400;500;700&family=IBM+Plex+Serif:wght@300;400;700&family=IBM+Plex+Mono:wght@400;500&display=swap');

html {
  font-size: 18px;
  scroll-behavior: smooth;
  scroll-padding-top: 4rem;
}

body {
  font-family: 'IBM Plex Sans Condensed', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-dark);
  background: var(--bg-light);
  line-height: 1.7;
  min-height: 100vh;
}

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

/* === Header === */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-dark);
  transition: border-color 0.2s;
}

.site-header.header-light {
  border-bottom: 1px solid var(--border-light);
}

.site-header nav {
  max-width: 1000px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
}
.logo img {
  height: 2rem;
  width: auto;
}

.site-header ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.site-header a {
  color: var(--text-muted-light);
  font-size: 0.9rem;
  transition: color 0.2s;
}
.site-header a:hover { color: var(--text-light); }

/* Header over witte secties */
.site-header.header-light a {
  color: var(--text-muted-dark);
}
.site-header.header-light a:hover {
  color: var(--text-dark);
}

/* === Sectie-wrappers === */
.section-wrap {
  position: relative;
}

/* Donker blauw-grijs: hero */
.hero-wrap {
  background: linear-gradient(135deg, #0f2030 0%, #1e3e5c 50%, #0b1824 100%);
  color: var(--text-light);
  overflow: hidden;
}

#hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

#hero-canvas canvas {
  display: block;
  filter: none;
}

.hero-wrap .hero {
  position: relative;
  z-index: 1;
}

/* Wit: over ons */
.over-wrap {
  background: var(--bg-light);
  color: var(--text-dark);
}

/* Donker sky-blue: diensten */
.diensten-wrap {
  background: linear-gradient(160deg, #0b1a28 0%, #183450 40%, #081420 100%);
  color: var(--text-light);
  overflow: hidden;
  animation: hue-cycle 180s linear infinite;
}

@keyframes hue-cycle {
  from { filter: hue-rotate(0deg); }
  to   { filter: hue-rotate(-360deg); }
}

#diensten-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

#diensten-canvas canvas {
  display: block;
}

.diensten-wrap .section {
  position: relative;
  z-index: 1;
}

/* Donker blauw: contact */
.contact-wrap {
  background: linear-gradient(160deg, #0b1a28 0%, #183450 40%, #081420 100%);
  color: var(--text-light);
  overflow: hidden;
  filter: saturate(0.5);
}

#contact-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

#contact-canvas canvas {
  display: block;
}

.contact-wrap .section {
  position: relative;
  z-index: 1;
}


/* === Secties === */
.section {
  max-width: 1000px;
  margin: 0 auto;
  padding: 6rem 2rem;
}

/* === Hero === */
.hero {
  max-width: 1000px;
  margin: 0 auto;
  padding: 10rem 2rem 8rem;
  text-align: center;
}

.hero h1 {
  font-family: 'IBM Plex Sans Condensed', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-light);
  margin-bottom: 1.5rem;
  text-transform: lowercase;
  text-shadow: 1px 1px 2px #000;
}

.hero p {
  font-size: 1.1rem;
  color: rgb(255 255 255);
  text-shadow: 1px 1px 2px #000;
  max-width: 600px;
  margin: 0 auto 2rem;
}

.hero .badge {
  display: inline-block;
  font-size: 0.8rem;
  color: var(--accent-light);
  border: 1px solid rgba(60, 120, 128, 0.4);
  padding: 0.35rem 1rem;
  border-radius: 2rem;
  background: rgba(60, 120, 128, 0.12);
}

/* === Kopjes === */
.section h2 {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.section .subtitle {
  margin-bottom: 2.5rem;
  font-size: 1rem;
}

/* Lichte secties */
.over-wrap h2 { color: var(--text-dark); }
.over-wrap .subtitle,
.over-wrap .about-content p { color: var(--text-muted-dark); }

/* Donkere secties */


/* Contact op donkere achtergrond */
.contact-wrap h2 { color: var(--text-light); }

.diensten-wrap .subtitle { color: var(--text-muted-light); }

/* === Diensten grid === */
.services-grid {
  display: grid;
  gap: 1.5rem;
}

.services-main {
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 1.5rem;
}

.services-sub {
  grid-template-columns: repeat(3, 1fr);
}

.services-sub-heading {
  font-family: 'IBM Plex Sans Condensed', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-muted-light);
  margin-bottom: 1rem;
  text-shadow: 1px 1px 2px #000;
}

/* Glass card base */
.service-card,
.contact-wrap .contact-card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: none;
  border-radius: 0;
  position: relative;
  transition: box-shadow 0.3s;
  box-shadow: none;
  clip-path: polygon(0 0, calc(100% - 60px) 0, 100% 60px, 100% 100%, 0 100%);
}

.service-card:hover,
.contact-wrap .contact-card:hover {
  background: rgb(255 255 255 / 30%);
}

.service-card {
  padding: 1.8rem;
}

.card-icon {
  font-size: 2rem;
  margin-bottom: 0.6rem;
  display: block;
  opacity: 0.6;
}

.service-card .card-icon {
  color: var(--text-muted-light);
}

.contact-card .card-icon {
  color: var(--text-muted-dark);
}

.service-card h3 {
  font-family: 'IBM Plex Sans Condensed', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 0.5rem;
  text-shadow: 1px 1px 2px #000;
}

.service-card p {
  font-size: 0.9rem;
  color: rgb(255 255 255);
  line-height: 1.6;
  text-shadow: 1px 1px 2px #000;
}

.service-card a {
  color: var(--accent-light);
  text-decoration: underline;
  text-decoration-color: rgba(74, 143, 152, 0.3);
  text-underline-offset: 2px;
}

.service-card a:hover {
  text-decoration-color: var(--accent-light);
}

/* === Diensten sub-heading === */
.sub-heading {
  font-family: 'IBM Plex Sans Condensed', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--text-muted-light);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.service-card-sub {
  padding: 1.4rem 1.8rem;
}

.service-card-sub h3 {
  font-size: 1rem;
}

.service-card-sub p {
  font-size: 0.85rem;
}

/* === Over === */
.about-content {
  max-width: 1000px;
  columns: 2;
  column-gap: 2.5rem;
}

.about-photo {
  float: left;
  margin-right: 1.5rem;
  margin-bottom: 0.5rem;
}

.about-photo img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  filter: grayscale(100%);
}

.about-content p {
  color: var(--text-muted-dark);
  margin-bottom: 1rem;
}

.about-content strong {
  color: var(--text-dark);
}

/* === Key numbers === */
.stats-row {
  display: flex;
  gap: 3rem;
  margin-top: 2.5rem;
  clear: both;
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-family: 'IBM Plex Sans Condensed', sans-serif;
  font-weight: 700;
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.2;
}

.stat-label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted-dark);
  margin-top: 0.2rem;
}

/* === Tech strip === */
.tech-wrap {
  background: var(--bg-off);
}

.tech-strip {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted-dark);
  padding-top: 2rem !important;
  padding-bottom: 2rem !important;
  letter-spacing: 0.02em;
  transition: opacity 0.4s ease;
  white-space: nowrap;
  overflow: hidden;
}

.tech-item {
  display: inline;
}

.tech-item + .tech-item::before {
  content: ' \00B7 ';
  opacity: 0.5;
  margin: 0 0.8rem;
}

/* === Klanten === */
.clients-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted-dark);
  opacity: 0.5;
  white-space: nowrap;
  margin-right: 1rem;
}

#clients-strip a {
  color: var(--text-muted-dark);
  transition: color 0.2s;
}

#clients-strip a:hover {
  color: var(--accent);
}

/* === Contact === */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.2rem;
}

/* === Testimonial === */
.testimonial-wrap {
  background: var(--bg-light);
  color: var(--text-dark);
}

.testimonial {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.testimonial p {
  font-family: 'IBM Plex Sans Condensed', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  font-weight: 300;
  font-style: italic;
  line-height: 1.7;
  color: var(--text-muted-dark);
  margin-bottom: 1.5rem;
}

.testimonial cite {
  font-style: normal;
  display: block;
}

.testimonial cite strong {
  display: block;
  font-size: 0.9rem;
  color: var(--text-dark);
}

.testimonial cite span {
  font-size: 0.8rem;
  color: var(--text-muted-dark);
}

/* Contact card padding */
.contact-wrap .contact-card {
  padding: 1.5rem;
}

.contact-wrap .contact-card h3 {
  font-family: 'IBM Plex Sans Condensed', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 0.5rem;
  text-shadow: 1px 1px 2px #000;
}

.contact-wrap .contact-card p {
  font-size: 0.9rem;
  color: rgb(255 255 255);
  line-height: 1.6;
  margin-bottom: 0.3rem;
  text-shadow: 1px 1px 2px #000;
}

.contact-wrap .contact-card .contact-label {
  color: var(--text-light);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.6rem;
}

.contact-wrap .contact-card .card-icon {
  color: var(--text-muted-light);
}

.contact-wrap .contact-card a {
  color: var(--text-light);
  font-size: 0.9rem;
  text-decoration: none;
}

.contact-wrap .contact-card a:hover {
  color: var(--text-light);
}

/* === Footer === */
.site-footer {
  background: var(--bg-dark);
  border-top: 1px solid var(--border-dark);
  padding: 0.8rem 2rem;
  text-align: center;
}

.site-footer p {
  font-size: 0.8rem;
  color: var(--text-muted-light);
}

/* === Responsive === */
@media (max-width: 640px) {
  html { font-size: 16px; }

  .site-header nav {
    flex-direction: column;
    gap: 0.8rem;
    padding: 0.8rem 1.5rem;
  }

  .site-header ul { gap: 1.2rem; }

  .hero {
    padding: 8rem 1.5rem 3rem;
  }

  .hero h1 { font-size: 2.2rem; }

  .section { padding: 4rem 1.5rem; }

  .about-content { columns: 1; }

  .services-main { grid-template-columns: 1fr; }
  .services-sub { grid-template-columns: repeat(2, 1fr); }

  .stats-row { gap: 1.5rem; }
  .stat-number { font-size: 1.5rem; }
}
