@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600;700;800&family=Inter:wght@400;500;600&display=swap');

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

:root {
  --teal: #0F6E56;
  --teal-dark: #085041;
  --coral: #D85A30;
  --coral-dark: #bf4d28;
  --mint: #E1F5EE;
  --anthracite: #2C2C2A;
  --gray: #6B6B68;
  --gray-light: #F7F7F5;
  --white: #ffffff;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow: 0 4px 20px rgba(0,0,0,0.10);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.14);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.25s ease;
  --max-width: 1120px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: var(--anthracite);
  line-height: 1.6;
  background: var(--white);
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

h1, h2, h3, h4 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--anthracite);
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.25rem); }
h3 { font-size: 1.25rem; }
p { color: var(--gray); }

/* ==============================
   LAYOUT
============================== */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

section { padding: 5rem 0; }

.section-label {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 0.75rem;
}

.section-header { max-width: 620px; margin-bottom: 3rem; }
.section-header p { margin-top: 0.75rem; font-size: 1.1rem; }
.section-header.centered { text-align: center; margin-left: auto; margin-right: auto; }

/* ==============================
   BUTTONS
============================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: 8px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary { background: var(--coral); color: var(--white); }
.btn-primary:hover {
  background: var(--coral-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(216,90,48,0.35);
}

.btn-secondary { background: transparent; border-color: var(--white); color: var(--white); }
.btn-secondary:hover { background: rgba(255,255,255,0.15); }

.btn-outline { background: transparent; border-color: var(--teal); color: var(--teal); }
.btn-outline:hover { background: var(--teal); color: var(--white); }

.btn-lg { padding: 1rem 2.25rem; font-size: 1.05rem; }

/* ==============================
   NAVIGATION
============================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid rgba(0,0,0,0.07);
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  height: 72px;
}

.nav-logo img { height: 40px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
}

.nav-links a {
  padding: 0.5rem 0.85rem;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--anthracite);
  transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active { color: var(--teal); background: var(--mint); }

.nav-cta { margin-left: 1rem; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
  padding: 0.5rem;
  color: var(--anthracite);
}

.nav-toggle svg { width: 24px; height: 24px; }

/* ==============================
   HERO
============================== */
.hero {
  background: linear-gradient(135deg, var(--teal-dark) 0%, var(--teal) 100%);
  padding: 6rem 0 5rem;
  color: var(--white);
  overflow: hidden;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-content h1 { color: var(--white); margin-bottom: 1.25rem; }
.hero-content h1 span { color: #7DD4B8; }

.hero-content p {
  color: rgba(255,255,255,0.82);
  font-size: 1.15rem;
  margin-bottom: 2rem;
  max-width: 480px;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-image { display: flex; justify-content: center; align-items: center; }
.hero-image img {
  max-height: 460px;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.35));
}

/* ==============================
   USPs
============================== */
.usps { background: var(--mint); padding: 3.5rem 0; }

.usps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.usp-item { display: flex; align-items: flex-start; gap: 1rem; }

.usp-icon {
  width: 48px;
  height: 48px;
  background: var(--teal);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.usp-icon svg { width: 24px; height: 24px; color: var(--white); }
.usp-item h3 { font-size: 1rem; margin-bottom: 0.25rem; }
.usp-item p { font-size: 0.9rem; }

/* ==============================
   HOW IT WORKS
============================== */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: calc(16.67% + 1rem);
  right: calc(16.67% + 1rem);
  height: 2px;
  background: var(--mint);
  z-index: 0;
}

.step { text-align: center; position: relative; z-index: 1; }

.step-number {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  font-family: 'Poppins', sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  box-shadow: 0 4px 16px rgba(15,110,86,0.35);
}

.step h3 { margin-bottom: 0.5rem; }

/* ==============================
   VOOR WIE
============================== */
.locaties-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.locatie-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border-top: 4px solid var(--mint);
}

.locatie-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-top-color: var(--teal);
}

.locatie-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.locatie-card h3 { margin-bottom: 0.5rem; }

.locatie-card ul { margin-top: 0.75rem; }
.locatie-card ul li {
  padding: 0.3rem 0;
  font-size: 0.9rem;
  color: var(--gray);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.locatie-card ul li::before {
  content: '✓';
  color: var(--teal);
  font-weight: 700;
  flex-shrink: 0;
}

/* ==============================
   CTA BANNER
============================== */
.cta-banner {
  background: linear-gradient(135deg, var(--teal-dark), var(--teal));
  padding: 5rem 0;
  text-align: center;
  color: var(--white);
}

.cta-banner h2 { color: var(--white); margin-bottom: 1rem; }
.cta-banner p {
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.cta-contact {
  display: flex;
  gap: 2.5rem;
  justify-content: center;
  margin-top: 1.75rem;
  flex-wrap: wrap;
}

.cta-contact a {
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
}

.cta-contact a:hover { color: var(--white); }

/* ==============================
   FOOTER
============================== */
.footer {
  background: var(--anthracite);
  color: rgba(255,255,255,0.7);
  padding: 3.5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 2rem;
}

.footer-brand img { height: 36px; margin-bottom: 1rem; }
.footer-brand p { font-size: 0.9rem; max-width: 300px; }

.footer-col h4 {
  color: var(--white);
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul li a {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  transition: var(--transition);
}
.footer-col ul li a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.35);
  flex-wrap: wrap;
  gap: 1rem;
}

/* ==============================
   PAGE HEADER
============================== */
.page-header {
  background: linear-gradient(135deg, var(--teal-dark), var(--teal));
  padding: 4rem 0;
  color: var(--white);
}

.page-header h1 { color: var(--white); margin-bottom: 0.75rem; }
.page-header p { color: rgba(255,255,255,0.8); font-size: 1.1rem; max-width: 560px; }

/* ==============================
   AUTOMATEN PAGE
============================== */
.machine-section { padding: 5rem 0; }
.machine-section--alt { background: var(--gray-light); }

.machine-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.machine-section--alt .machine-inner { direction: rtl; }
.machine-section--alt .machine-content,
.machine-section--alt .machine-image { direction: ltr; }

.machine-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  max-height: 520px;
  margin: 0 auto;
  object-fit: contain;
  background: var(--white);
  padding: 1rem;
}

.machine-content h2 { margin-bottom: 1rem; }
.machine-content > p { margin-bottom: 1rem; }

.machine-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin: 1.5rem 0 2rem;
}

.spec-item {
  background: var(--white);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  box-shadow: var(--shadow-sm);
}

.spec-item span {
  display: block;
  font-size: 0.75rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.2rem;
}

.spec-item strong {
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  color: var(--anthracite);
}

/* ==============================
   OVER ONS PAGE
============================== */
.over-ons-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.value-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--teal);
}

.value-card h3 { margin-bottom: 0.4rem; font-size: 1rem; }
.value-card p { font-size: 0.9rem; }

.werkgebied-banner {
  background: var(--mint);
  border-radius: var(--radius);
  padding: 2.5rem;
  text-align: center;
}

.werkgebied-banner h3 { color: var(--teal-dark); margin-bottom: 0.5rem; }

.werkgebied-items {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 1.25rem;
  flex-wrap: wrap;
}

.werkgebied-item {
  background: var(--white);
  border-radius: 8px;
  padding: 0.6rem 1.5rem;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  color: var(--teal);
  font-size: 0.95rem;
  box-shadow: var(--shadow-sm);
}

/* ==============================
   CONTACT PAGE
============================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h3 { margin-bottom: 1.75rem; font-size: 1.5rem; }

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  background: var(--mint);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail-icon svg { width: 20px; height: 20px; color: var(--teal); }

.contact-detail span {
  display: block;
  font-size: 0.78rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.2rem;
}

.contact-detail strong { font-size: 1rem; color: var(--anthracite); }

.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}

.contact-form h3 { margin-bottom: 1.75rem; }

.form-group { margin-bottom: 1.25rem; }

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--anthracite);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid #E0E0DC;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--anthracite);
  background: var(--white);
  transition: var(--transition);
  outline: none;
  appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(15,110,86,0.12);
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%236B6B68'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 16px;
  padding-right: 2.5rem;
}

.form-group textarea { resize: vertical; min-height: 120px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-submit { width: 100%; justify-content: center; margin-top: 0.5rem; }

/* ==============================
   RESPONSIVE
============================== */
@media (max-width: 960px) {
  .hero-inner,
  .over-ons-intro,
  .contact-grid { grid-template-columns: 1fr; }

  .hero-image { display: none; }

  .machine-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .machine-section--alt .machine-inner { direction: ltr; }

  .steps,
  .usps-grid,
  .locaties-grid { grid-template-columns: 1fr; }

  .steps::before { display: none; }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
  section { padding: 3.5rem 0; }

  .nav-links,
  .nav-cta { display: none; }

  .nav-toggle { display: block; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 1rem 1.5rem 1.5rem;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    box-shadow: var(--shadow);
    gap: 0.25rem;
  }

  .form-row { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero-actions,
  .cta-actions { flex-direction: column; }
  .machine-specs { grid-template-columns: 1fr 1fr; }
}
