:root {
  /* Huiskleuren Post Bouwservice: blauw, zilver, zwart */
  --blue: #1a6ad1;
  --blue-dark: #124d9c;
  --silver: #c3c9d1;
  --ink: #e8eaed;
  --muted: #9aa3ad;
  --panel: #14171c;
  --line: #262b33;
  --bg: #0b0d10;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { width: min(1120px, 92%); margin: 0 auto; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 13, 16, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; }
.logo { display: flex; align-items: center; }
.logo img { height: 64px; width: auto; border-radius: 8px; }
.nav { display: flex; gap: 22px; align-items: center; }
.nav a { color: var(--muted); font-weight: 500; }
.nav a:hover { color: var(--ink); }
.nav-cta { background: var(--blue); color: var(--white) !important; padding: 9px 16px; border-radius: 999px; }
.nav-cta:hover { background: var(--blue-dark); }

/* Buttons */
.btn { display: inline-block; padding: 13px 24px; border-radius: 999px; font-weight: 600; cursor: pointer; border: none; font-size: 1rem; }
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-dark); }
.btn-ghost { background: transparent; border: 1.5px solid var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--blue); color: var(--silver); }

/* Hero */
.hero { background: linear-gradient(180deg, var(--panel), var(--bg)); padding: 72px 0; }
.hero-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.eyebrow { color: var(--blue); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; font-size: 0.8rem; margin: 0 0 8px; }
.hero h1 { font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.1; margin: 0 0 16px; letter-spacing: -1px; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 46ch; }
.hero-actions { display: flex; gap: 14px; margin: 24px 0 20px; flex-wrap: wrap; }
.hero-usps { list-style: none; padding: 0; margin: 0; color: var(--muted); display: grid; gap: 6px; }
.hero-visual {
  height: 380px; border-radius: var(--radius); box-shadow: var(--shadow);
  overflow: hidden;
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }

/* Sections */
.section { padding: 72px 0; }
.section-alt { background: var(--panel); }
.section-title { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0 0 8px; letter-spacing: -0.5px; }
.section-sub { color: var(--muted); margin: 0 0 32px; }

/* Grids */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: 1fr 1fr; align-items: center; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

/* Cards */
.cards-grid { display: flex; flex-wrap: wrap; gap: 24px; justify-content: center; }
.cards-grid .card { flex: 0 1 calc((100% - 48px) / 3); }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.card-icon { font-size: 2rem; margin-bottom: 10px; }
.card h3 { margin: 0 0 8px; }
.card p { color: var(--muted); margin: 0; }

/* About */
.about-visual {
  height: 320px; border-radius: var(--radius); box-shadow: var(--shadow);
  overflow: hidden;
}
.about-visual img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.stats { display: flex; gap: 32px; margin-top: 24px; flex-wrap: wrap; }
.stats div { display: flex; flex-direction: column; }
.stats strong { font-size: 1.8rem; color: var(--blue); }
.stats span { color: var(--muted); font-size: 0.9rem; }

/* Carousel */
.carousel { position: relative; overflow: hidden; }
.carousel-track { display: flex; gap: 16px; }
.carousel-track .gallery-item { flex: 0 0 calc(25% - 12px); margin: 0; height: 220px; border-radius: var(--radius); position: relative; overflow: hidden; box-shadow: var(--shadow); }
@media (max-width: 860px) {
  .carousel-track .gallery-item { flex: 0 0 100%; }
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.gallery-item figcaption { position: absolute; left: 0; right: 0; bottom: 0; background: linear-gradient(transparent, rgba(0,0,0,0.6)); color: #fff; padding: 12px; font-size: 0.9rem; }
.g3 img { object-position: center 70%; }
.carousel-btn { position: absolute; top: 50%; transform: translateY(-50%); background: var(--blue); color: #fff; border: none; border-radius: 50%; width: 40px; height: 40px; font-size: 1.1rem; cursor: pointer; z-index: 2; transition: background 0.2s; }
.carousel-btn:hover { background: var(--blue-dark, #124d9c); }
.carousel-prev { left: 8px; }
.carousel-next { right: 8px; }
.carousel-dots { display: flex; justify-content: center; gap: 8px; margin-top: 16px; }
.carousel-dots button { width: 10px; height: 10px; border-radius: 50%; border: none; background: var(--line); cursor: pointer; padding: 0; transition: background 0.2s; }
.carousel-dots button.active { background: var(--blue); }

/* Reviews */
.review { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin: 0; box-shadow: var(--shadow); }
.review p { margin: 0 0 12px; font-style: italic; }
.review cite { color: var(--muted); font-style: normal; font-weight: 600; }
.review-stars { display: block; color: #f5a623; letter-spacing: 2px; margin-bottom: 10px; }
.reviews-summary { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.reviews-score { font-size: 2rem; color: var(--blue); line-height: 1; }
.reviews-stars { color: #f5a623; letter-spacing: 2px; font-size: 1.2rem; }
.reviews-count { color: var(--muted); }
.reviews-link { margin-left: auto; font-weight: 600; }

/* Contact */
.contact-list { list-style: none; padding: 0; display: grid; gap: 10px; font-size: 1.05rem; }
.form { display: grid; gap: 14px; background: var(--panel); padding: 28px; border-radius: var(--radius); }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: 0.9rem; }
.form input, .form textarea { padding: 11px 14px; border: 1px solid var(--line); border-radius: 10px; font: inherit; background: var(--bg); color: var(--ink); }
.form input:focus, .form textarea:focus { outline: 2px solid var(--blue); border-color: transparent; }

.reviews-soon { color: var(--muted); font-size: 1rem; grid-column: 1 / -1; text-align: center; padding: 32px 0; }

.form-feedback { font-size: 0.95rem; padding: 10px 14px; border-radius: 8px; margin-top: 4px; }
.form-feedback--ok  { background: #e6f9ee; color: #1a6b3a; }
.form-feedback--err { background: #fdecea; color: #922; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 28px 0; color: var(--muted); text-align: center; }

/* Responsive */
/* Lightbox */
.lightbox { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.92); z-index: 1000; align-items: center; justify-content: center; }
.lightbox.active { display: flex; }
.lightbox-img { max-width: 90vw; max-height: 88vh; border-radius: var(--radius); object-fit: contain; box-shadow: 0 8px 40px rgba(0,0,0,0.6); }
.lightbox-close { position: absolute; top: 20px; right: 24px; background: none; border: none; color: #fff; font-size: 2rem; cursor: pointer; line-height: 1; }
.lightbox-prev, .lightbox-next { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.15); border: none; color: #fff; font-size: 1.6rem; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; transition: background 0.2s; }
.lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,0.3); }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

@media (max-width: 860px) {
  .hero-inner, .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .cards-grid .card { flex-basis: 100%; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .nav { display: none; }
  .logo img { height: 48px; }
  .hero-visual, .about-visual { height: 240px; }
}
