/* ============================================
   OM DAKWERKEN — Industrial Craftsman Design
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Barlow:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Barlow+Condensed:wght@500;700&display=swap');

:root {
  /* Core palette */
  --black:      #0c0c0c;
  --charcoal:   #141414;
  --dark:       #1c1c1c;
  --mid:        #2a2a2a;
  --border:     #333333;
  --muted:      #888888;
  --light:      #c8c0b4;
  --white:      #f5f0e8;

  /* Accent */
  --amber:      #e07b2e;
  --amber-dark: #b85e1a;
  --amber-glow: rgba(224, 123, 46, 0.15);

  /* Typography */
  --font-display: 'Bebas Neue', sans-serif;
  --font-body:    'Barlow', sans-serif;
  --font-cond:    'Barlow Condensed', sans-serif;

  /* Spacing */
  --section-pad: clamp(72px, 10vw, 120px);
  --container:   min(1140px, 92vw);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--charcoal);
  color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  width: var(--container);
  margin: 0 auto;
}

/* ============================================
   NAV
   ============================================ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: background 0.4s ease, padding 0.4s ease, backdrop-filter 0.4s ease;
}

.nav--scrolled {
  background: rgba(12, 12, 12, 0.94);
  backdrop-filter: blur(12px);
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.nav__inner {
  width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav__logo {
  width: clamp(120px, 16vw, 170px);
  height: auto;
  filter: brightness(0) invert(1);
}

.nav__links {
  display: flex;
  gap: 36px;
}

.nav__links a {
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--light);
  transition: color 0.2s;
}

.nav__links a:hover { color: var(--amber); }

.nav__cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav__phone {
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: var(--light);
  transition: color 0.2s;
}

.nav__phone:hover { color: var(--amber); }

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 11px 22px;
  border-radius: 3px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}

.btn--lg { font-size: 0.95rem; padding: 14px 30px; }
.btn--full { width: 100%; }

.btn--amber {
  background: var(--amber);
  color: var(--black);
  border-color: var(--amber);
}
.btn--amber:hover {
  background: #f08c3a;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(224, 123, 46, 0.4);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(245, 240, 232, 0.4);
}
.btn--outline:hover {
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn--outline-light {
  background: transparent;
  color: var(--light);
  border-color: var(--border);
}
.btn--outline-light:hover {
  border-color: var(--light);
  color: var(--white);
  transform: translateY(-2px);
}

/* ============================================
   HERO
   ============================================ */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding-bottom: clamp(60px, 8vw, 100px);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: brightness(0.55) saturate(0.8);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(12,12,12,0.95) 0%, rgba(12,12,12,0.45) 50%, rgba(12,12,12,0.2) 100%),
    linear-gradient(to right, rgba(12,12,12,0.6) 0%, transparent 60%);
}

.hero__content {
  position: relative;
  z-index: 2;
  width: var(--container);
  margin: 0 auto;
  display: grid;
  gap: 28px;
  padding-top: 120px;
}

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber);
  animation: fadeUp 0.8s ease both 0.1s;
}

.hero__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
  flex-shrink: 0;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 9vw, 9rem);
  line-height: 0.92;
  letter-spacing: 0.02em;
  color: var(--white);
  animation: fadeUp 0.8s ease both 0.2s;
}

.hero__title em {
  font-style: normal;
  color: var(--amber);
}

.hero__lead {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: var(--light);
  max-width: 520px;
  animation: fadeUp 0.8s ease both 0.32s;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  animation: fadeUp 0.8s ease both 0.44s;
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  animation: fadeUp 0.8s ease both 0.56s;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 2px;
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--light);
  backdrop-filter: blur(8px);
}

.badge svg { color: var(--amber); flex-shrink: 0; }

.hero__scroll-hint {
  position: absolute;
  bottom: 40px;
  right: var(--container);
  right: calc((100% - min(1140px, 92vw)) / 2);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 2;
  animation: fadeUp 1s ease both 0.9s;
}

.hero__scroll-hint span {
  font-family: var(--font-cond);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  writing-mode: vertical-rl;
}

.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--muted), transparent);
  animation: scrollLine 2s ease-in-out infinite 1.2s;
}

@keyframes scrollLine {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(0.6) translateY(10px); }
}

/* ============================================
   STRIP
   ============================================ */

.strip {
  background: var(--amber);
  padding: 14px 0;
  overflow: hidden;
}

.strip__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 24px;
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--black);
}

.strip__sep {
  opacity: 0.5;
}

/* ============================================
   SECTION SHARED
   ============================================ */

.section {
  padding: var(--section-pad) 0;
}

.section--dark    { background: var(--charcoal); }
.section--charcoal { background: var(--black); }

.section__label {
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 12px;
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5.5vw, 5.5rem);
  line-height: 0.9;
  letter-spacing: 0.02em;
  color: var(--white);
  margin-bottom: 20px;
}

.section__title em {
  font-style: normal;
  color: var(--amber);
}

.section__lead {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 560px;
  line-height: 1.7;
}

.section__header {
  margin-bottom: clamp(40px, 6vw, 60px);
}

/* ============================================
   DIENSTEN
   ============================================ */

.diensten-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.dienst-card {
  position: relative;
  background: var(--dark);
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease, background 0.3s ease;
}

.dienst-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.dienst-card:nth-child(2) { transition-delay: 0.08s; }
.dienst-card:nth-child(3) { transition-delay: 0.16s; }
.dienst-card:nth-child(4) { transition-delay: 0.24s; }

.dienst-card:hover { background: var(--mid); }

.dienst-card::before {
  content: attr(data-num);
  position: absolute;
  top: 20px;
  right: 24px;
  font-family: var(--font-display);
  font-size: 4rem;
  color: rgba(255,255,255,0.04);
  line-height: 1;
  pointer-events: none;
}

.dienst-card__icon {
  color: var(--amber);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--amber-glow);
  border-radius: 3px;
}

.dienst-card h3 {
  font-family: var(--font-display);
  font-size: 1.9rem;
  letter-spacing: 0.04em;
  color: var(--white);
}

.dienst-card p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.65;
  flex: 1;
}

.dienst-card__line {
  width: 40px;
  height: 2px;
  background: var(--amber);
  margin-top: 8px;
  transition: width 0.3s ease;
}

.dienst-card:hover .dienst-card__line { width: 80px; }

/* ============================================
   GALLERY
   ============================================ */

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 8px;
}

.gallery__item {
  position: relative;
  overflow: hidden;
  background: var(--dark);
  border-radius: 2px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.gallery__item.visible { opacity: 1; transform: translateY(0); }
.gallery__item:nth-child(2).visible { transition-delay: 0.07s; }
.gallery__item:nth-child(3).visible { transition-delay: 0.14s; }
.gallery__item:nth-child(4).visible { transition-delay: 0.21s; }
.gallery__item:nth-child(5).visible { transition-delay: 0.28s; }
.gallery__item:nth-child(6).visible { transition-delay: 0.35s; }

.gallery__item--featured {
  grid-column: span 2;
}

.gallery__item--wide {
  grid-column: span 2;
}

.gallery__item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.6s ease, filter 0.4s ease;
  filter: brightness(0.85) saturate(0.9);
}

.gallery__item--featured img,
.gallery__item--wide img {
  height: 360px;
}

.gallery__item:hover img {
  transform: scale(1.04);
  filter: brightness(0.7) saturate(0.8);
}

.gallery__item figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 20px 18px;
  background: linear-gradient(to top, rgba(12,12,12,0.9) 0%, transparent 100%);
  display: flex;
  align-items: flex-end;
  gap: 12px;
  transform: translateY(4px);
  transition: transform 0.3s ease;
}

.gallery__item:hover figcaption { transform: translateY(0); }

.gallery__num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--amber);
  line-height: 1;
  flex-shrink: 0;
}

.gallery__caption-text {
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.3;
}

/* ============================================
   WAAROM
   ============================================ */

.section--amber-accent {
  background: var(--charcoal);
  position: relative;
  overflow: hidden;
}

.section--amber-accent::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--amber);
}

.waarom-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 7vw, 96px);
  align-items: center;
}

.waarom-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 32px;
}

.waarom-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 1rem;
  color: var(--light);
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}

.waarom-list li:last-child { border-bottom: none; }

.waarom-list__icon {
  color: var(--amber);
  font-size: 1.1rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

.waarom-split__visual {
  position: relative;
}

.waarom-split__visual img {
  width: 100%;
  height: clamp(360px, 50vw, 520px);
  object-fit: cover;
  border-radius: 3px;
  filter: brightness(0.85) saturate(0.85);
}

.waarom-split__badge {
  position: absolute;
  bottom: -20px;
  left: -24px;
  background: var(--amber);
  color: var(--black);
  padding: 22px 26px;
  border-radius: 3px;
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.waarom-split__badge-num {
  font-family: var(--font-display);
  font-size: 3.2rem;
  line-height: 1;
}

.waarom-split__badge-label {
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.3;
}

/* ============================================
   CONTACT
   ============================================ */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
  opacity: 0;
  transform: translateX(-12px);
  transition: opacity 0.5s ease, transform 0.5s ease, color 0.2s;
}

.contact-item.visible { opacity: 1; transform: translateX(0); }
.contact-item:nth-child(2) { transition-delay: 0.07s; }
.contact-item:nth-child(3) { transition-delay: 0.14s; }
.contact-item:nth-child(4) { transition-delay: 0.21s; }

.contact-item:hover { color: var(--amber); }

.contact-item--plain { cursor: default; }
.contact-item--plain:hover { color: inherit; }

.contact-item__icon {
  width: 48px;
  height: 48px;
  background: var(--amber-glow);
  border: 1px solid rgba(224, 123, 46, 0.25);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--amber);
  flex-shrink: 0;
}

.contact-item__label {
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 3px;
}

.contact-item__value {
  font-weight: 600;
  font-size: 1rem;
  color: var(--white);
}

.contact-cta {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease 0.15s, transform 0.5s ease 0.15s;
}

.contact-cta.visible { opacity: 1; transform: translateY(0); }

.contact-cta__inner {
  background: var(--dark);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: clamp(28px, 4vw, 44px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-cta__inner h3 {
  font-family: var(--font-display);
  font-size: 2.4rem;
  letter-spacing: 0.03em;
  color: var(--white);
}

.contact-cta__inner p {
  color: var(--muted);
  font-size: 0.97rem;
  line-height: 1.65;
}

.contact-cta__note {
  font-size: 0.87rem !important;
  color: var(--amber) !important;
  font-weight: 600;
  padding-top: 4px;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
  background: var(--black);
  border-top: 1px solid var(--border);
  padding: 48px 0 36px;
}

.footer__inner {
  width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__logo {
  width: 140px;
  filter: brightness(0) invert(0.4);
}

.footer__brand p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.5;
}

.footer__links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.footer__links a {
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s;
}

.footer__links a:hover { color: var(--amber); }

.footer__copy {
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer__copy p {
  font-size: 0.82rem;
  color: var(--muted);
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

.desktop-br { display: none; }

/* ============================================
   RESPONSIVE
   ============================================ */

@media (min-width: 900px) {
  .desktop-br { display: inline; }
}

@media (max-width: 1000px) {
  .waarom-split {
    grid-template-columns: 1fr;
  }
  .waarom-split__visual {
    max-width: 560px;
  }
  .waarom-split__badge {
    left: auto;
    right: 20px;
    bottom: 20px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer__brand { align-items: center; text-align: center; }
  .footer__copy { text-align: center; }
}

@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__phone { display: none; }

  .hero__title {
    font-size: clamp(3.5rem, 13vw, 5.5rem);
  }

  .hero__scroll-hint { display: none; }

  .gallery {
    grid-template-columns: 1fr 1fr;
  }
  .gallery__item--featured { grid-column: span 2; }
  .gallery__item--wide { grid-column: span 2; }
  .gallery__item img { height: 220px; }
  .gallery__item--featured img,
  .gallery__item--wide img { height: 260px; }

  .diensten-grid {
    grid-template-columns: 1fr;
  }

  .section__title {
    font-size: clamp(2.6rem, 9vw, 4rem);
  }
}

@media (max-width: 480px) {
  .gallery {
    grid-template-columns: 1fr;
  }
  .gallery__item--featured,
  .gallery__item--wide {
    grid-column: span 1;
  }
  .hero__actions { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .dienst-card,
  .gallery__item,
  .contact-item,
  .contact-cta {
    opacity: 1 !important;
    transform: none !important;
  }
}
