/* Bouwbedrijf Holland B.V. — premium landing */

:root {
  --bg: #0a0c0f;
  --bg-elevated: #12151a;
  --bg-card: #181c24;
  --text: #f4f5f7;
  --text-muted: #8b95a8;
  --gold: #e8b84a;
  --gold-dark: #c49a2e;
  --gold-glow: rgba(232, 184, 74, 0.35);
  --border: rgba(255, 255, 255, 0.07);
  --font: "Instrument Sans", system-ui, sans-serif;
  --font-display: "Syne", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 16px;
  --radius-sm: 10px;
  --header-h: 76px;
  --container: min(1240px, 90vw);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.loaded .page-loader { opacity: 0; pointer-events: none; }

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

.container { width: var(--container); margin-inline: auto; }

/* Loader */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg);
  display: flex;
  align-items: flex-end;
  transition: opacity 0.6s var(--ease);
}

.loader-bar {
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold));
  animation: load 1.2s var(--ease) forwards;
}

@keyframes load {
  to { width: 100%; }
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.4s, box-shadow 0.4s;
}

.site-header.scrolled {
  background: rgba(10, 12, 15, 0.92);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold);
  color: var(--bg);
  border-radius: var(--radius-sm);
}

.logo-icon svg { width: 22px; height: 22px; }

.logo-name {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
}

.logo-sub {
  display: block;
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: lowercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a:not(.btn-nav) {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.25s;
}

.nav-links a:not(.btn-nav):hover { color: var(--text); }

.btn-nav {
  padding: 0.6rem 1.25rem;
  background: var(--gold);
  color: var(--bg) !important;
  font-weight: 600 !important;
  font-size: 0.875rem !important;
  border-radius: 100px;
  transition: transform 0.25s, box-shadow 0.25s;
}

.btn-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--gold-glow);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  transition: 0.3s;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(4px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.75rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}

.btn-gold {
  background: var(--gold);
  color: var(--bg);
}

.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px var(--gold-glow);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-2px);
}

.btn-lg { padding: 1rem 2rem; font-size: 1.05rem; }
.btn-full { width: 100%; }

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  padding-bottom: 5rem;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transform: scale(1.05);
  animation: heroZoom 12s var(--ease) forwards;
}

@keyframes heroZoom {
  to { transform: scale(1); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 12, 15, 0.5) 0%, rgba(10, 12, 15, 0.2) 35%, rgba(10, 12, 15, 0.85) 75%, var(--bg) 100%),
    linear-gradient(90deg, rgba(10, 12, 15, 0.7) 0%, transparent 55%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: calc(var(--header-h) + 4rem);
  max-width: 720px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  padding: 0.45rem 1rem 0.45rem 0.65rem;
  background: rgba(232, 184, 74, 0.1);
  border: 1px solid rgba(232, 184, 74, 0.25);
  border-radius: 100px;
}

.pulse {
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.hero-title .line { display: block; }
.hero-title .accent {
  color: var(--gold);
  font-style: normal;
}

.hero-desc {
  font-size: 1.15rem;
  color: rgba(244, 245, 247, 0.75);
  max-width: 520px;
  margin-bottom: 2rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  right: 5vw;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* Marquee */
.marquee {
  padding: 1.25rem 0;
  background: var(--gold);
  color: var(--bg);
  overflow: hidden;
  border-block: 1px solid rgba(0, 0, 0, 0.1);
}

.marquee-track {
  display: flex;
  gap: 2rem;
  width: max-content;
  animation: marquee 25s linear infinite;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Sections */
.section { padding: 6rem 0; }

.section-top { max-width: 560px; margin-bottom: 3rem; }

.label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.section-top h2,
.proces-content h2,
.over-text h2,
.contact-info h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 0.75rem;
}

.section-top h2 em,
.over-text h2 em { font-style: normal; color: var(--gold); }

.section-top p { color: var(--text-muted); font-size: 1.05rem; }

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Gallery */
.werk { padding-bottom: 4rem; }

.gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto;
  gap: 1rem;
  padding-inline: max(5vw, calc((100vw - var(--container)) / 2));
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 280px;
  grid-column: span 4;
}

.gallery-large { grid-column: span 8; min-height: 420px; }
.gallery-wide { grid-column: span 8; }

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: inherit;
  transition: transform 0.7s var(--ease);
}

.gallery-item:hover img { transform: scale(1.06); }

.gallery-caption {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.75rem;
  background: linear-gradient(to top, rgba(10, 12, 15, 0.95) 0%, transparent 60%);
  transform: translateY(8px);
  transition: transform 0.4s var(--ease);
}

.gallery-item:hover .gallery-caption { transform: translateY(0); }

.gallery-tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.35rem;
}

.gallery-caption h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.gallery-caption p {
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 320px;
}

/* Services */
.diensten { background: var(--bg-elevated); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: border-color 0.3s, transform 0.3s var(--ease);
}

.service-card:hover {
  border-color: rgba(232, 184, 74, 0.3);
  transform: translateY(-6px);
}

.service-num {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--gold);
  opacity: 0.7;
}

.service-img {
  margin: 1rem 0 1.25rem;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 4/3;
}

.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.service-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Proces */
.proces-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.proces-visual {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
}

.proces-visual img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}

.proces-badge {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  background: var(--gold);
  color: var(--bg);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius);
  text-align: center;
  line-height: 1.2;
}

.proces-badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
}

.proces-badge span {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.stappen {
  list-style: none;
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.stappen li {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.stap-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(232, 184, 74, 0.12);
  border: 1px solid rgba(232, 184, 74, 0.3);
  border-radius: 50%;
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--gold);
}

.stappen h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.stappen p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Over */
.over { background: var(--bg-elevated); }

.over-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.over-text .lead {
  font-size: 1.15rem;
  color: var(--text);
  margin-bottom: 1rem;
}

.over-text p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.kvk-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

.kvk-grid div {
  padding: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.kvk-grid dt {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.kvk-grid dd {
  font-weight: 600;
  font-size: 0.95rem;
}

.over-image {
  border-radius: var(--radius);
  overflow: hidden;
}

.over-image img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}

/* CTA full */
.cta-full {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 12, 15, 0.75);
}

.cta-content {
  position: relative;
  z-index: 1;
  padding: 4rem 0;
}

.cta-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  max-width: 600px;
  margin: 0 auto 0.75rem;
  letter-spacing: -0.02em;
}

.cta-content p {
  color: var(--text-muted);
  margin-bottom: 1.75rem;
}

/* Contact */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info p { color: var(--text-muted); margin-bottom: 2rem; }

.contact-blocks {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-block {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-style: normal;
  transition: border-color 0.3s;
}

a.contact-block:hover {
  border-color: rgba(232, 184, 74, 0.35);
}

.contact-block svg {
  width: 24px;
  height: 24px;
  color: var(--gold);
  flex-shrink: 0;
}

.contact-block span {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}

.contact-block strong { display: block; font-size: 1rem; }
.contact-block em { font-style: normal; font-size: 0.9rem; color: var(--text-muted); }

.handelsnamen {
  margin-top: 1.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.field { margin-bottom: 1rem; }

.field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color 0.25s, box-shadow 0.25s;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(232, 184, 74, 0.15);
}

.field textarea { resize: vertical; min-height: 120px; }

/* Footer */
.footer {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.footer-brand strong { display: block; margin-bottom: 0.2rem; }
.footer-brand span { font-size: 0.85rem; color: var(--text-muted); }

.footer-nav {
  display: flex;
  gap: 1.5rem;
}

.footer-nav a {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color 0.25s;
}

.footer-nav a:hover { color: var(--gold); }

.footer-copy { font-size: 0.85rem; color: var(--text-muted); }

/* Responsive */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-large,
  .gallery-wide,
  .gallery-item { grid-column: span 6; }
  .proces-inner,
  .over-grid,
  .contact-layout { grid-template-columns: 1fr; gap: 2.5rem; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  .nav-links {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 1.5rem;
    gap: 0.5rem;
    background: rgba(10, 12, 15, 0.98);
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: 0.35s var(--ease);
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-links li { width: 100%; }
  .nav-links a:not(.btn-nav) {
    display: block;
    padding: 0.75rem 0;
    font-size: 1.1rem;
  }

  .btn-nav { width: 100%; text-align: center; margin-top: 0.5rem; }

  .hero-scroll { display: none; }

  .services-grid { grid-template-columns: 1fr; }

  .gallery,
  .gallery-large,
  .gallery-wide,
  .gallery-item { grid-column: span 12; min-height: 260px; }

  .gallery-large { min-height: 300px; }

  .form-grid { grid-template-columns: 1fr; }
  .kvk-grid { grid-template-columns: 1fr; }

  .footer-grid { flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; }
  .reveal { opacity: 1; transform: none; }
  .hero-media img { animation: none; }
}
