/* ECN Design Laser Technology — Mobile-first stylesheet */

:root {
  --navy: #0B1F3A;
  --navy-light: #17345E;
  --gold: #D4A24C;
  --gold-bright: #F0C364;
  --white: #FFFFFF;
  --cream: #F5F1E8;
  --grey: #5A5A5A;
  --grey-light: #E8E8E8;
  --bg: #FFFFFF;
  --shadow: 0 4px 20px rgba(11, 31, 58, 0.08);
  --shadow-hover: 0 8px 30px rgba(11, 31, 58, 0.15);
  --radius: 8px;
  --transition: all 0.25s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--navy);
  line-height: 1.6;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--navy); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--gold); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* === HEADER === */
.header {
  background: var(--white);
  border-bottom: 3px solid var(--gold);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  gap: 20px;
}
.logo { height: 60px; width: auto; }
.nav { display: flex; align-items: center; gap: 24px; }
.nav a { font-weight: 500; font-size: 15px; }
.nav-cta {
  background: var(--gold);
  color: var(--navy) !important;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-weight: 600;
}
.nav-cta:hover { background: var(--gold-bright); }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}
.menu-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--navy);
  border-radius: 2px;
  transition: var(--transition);
}

/* === TYPOGRAPHY === */
h1 { font-size: 42px; font-weight: 700; line-height: 1.15; margin-bottom: 20px; }
h2 { font-size: 32px; font-weight: 700; margin-bottom: 12px; color: var(--navy); }
h3 { font-size: 20px; font-weight: 600; margin-bottom: 10px; }
h4 { font-size: 16px; font-weight: 600; margin-bottom: 12px; color: var(--gold); text-transform: uppercase; letter-spacing: 0.5px; }
.lead { font-size: 18px; color: var(--grey); margin-bottom: 24px; }
.section-lead { font-size: 17px; color: var(--grey); margin-bottom: 32px; max-width: 700px; }
.highlight { color: var(--gold); }

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15px;
  text-align: center;
  transition: var(--transition);
  border: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  background: var(--gold);
  color: var(--navy) !important;
}
.btn-primary:hover { background: var(--gold-bright); transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.btn-outline {
  background: transparent;
  color: var(--navy) !important;
  border-color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--white) !important; }
.btn-large { padding: 18px 32px; font-size: 17px; }

/* === HERO === */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  padding: 60px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: var(--gold);
  opacity: 0.06;
  border-radius: 50%;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
}
.hero h1 { color: var(--white); }
.hero .lead { color: rgba(255,255,255,0.85); }
.badge {
  display: inline-block;
  background: rgba(212, 162, 76, 0.15);
  color: var(--gold-bright);
  padding: 6px 16px;
  border-radius: 40px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 20px;
  border: 1px solid rgba(212, 162, 76, 0.3);
}
.hero-cta {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.hero-usp {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 20px;
  font-size: 14px;
  color: rgba(255,255,255,0.9);
}
.hero-image img {
  border-radius: 16px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.3);
}
.hero-image video {
  max-width: 75%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 16px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.3);
}

/* === SECTIONS === */
.section { padding: 70px 0; }
.section-alt { background: var(--cream); }
.section > .container > h2 { margin-bottom: 8px; }
.center-cta {
  text-align: center;
  margin-top: 40px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.center-content { text-align: center; }

/* === GRID === */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }

/* === CARDS === */
.card {
  background: var(--white);
  padding: 30px 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 8px;
  border: 2px solid transparent;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--gold);
  color: var(--navy);
}
.card-icon { font-size: 40px; margin-bottom: 12px; }
.card-price {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--grey-light);
  font-weight: 600;
  color: var(--gold);
}

/* === FEATURES === */
.feature {
  background: var(--white);
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.feature-highlight {
  background: var(--navy);
  color: var(--white);
}
.feature-highlight h3 { color: var(--gold); }
.feature ul { list-style: none; }
.feature li {
  padding: 8px 0 8px 28px;
  position: relative;
}
.feature li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: bold;
}

/* === RESULTATEN === */
.results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.results-grid figure {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--white);
}
.results-grid img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}
.results-grid figcaption {
  padding: 14px 18px;
  font-weight: 500;
  text-align: center;
}

/* === WHY === */
.why-section { background: var(--navy); color: var(--white); }
.why-section h2 { color: var(--white); text-align: center; margin-bottom: 40px; }
.why-item {
  background: rgba(255,255,255,0.05);
  padding: 30px 24px;
  border-radius: var(--radius);
  text-align: center;
  border: 1px solid rgba(212, 162, 76, 0.2);
}
.why-item h3 { color: var(--gold); }
.why-item p { color: rgba(255,255,255,0.85); font-size: 14px; }
.section-alt .why-item p { color: var(--grey); }
.why-icon { font-size: 44px; margin-bottom: 14px; }

/* === CTA SECTION === */
.cta-section {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-bright) 100%);
  color: var(--navy);
  padding: 70px 0;
  text-align: center;
}
.cta-section h2 { color: var(--navy); }
.cta-section .lead { color: rgba(11, 31, 58, 0.8); }
.cta-section .btn-primary { background: var(--navy); color: var(--white) !important; }
.cta-section .btn-primary:hover { background: var(--navy-light); }
.cta-section .btn-outline { border-color: var(--navy); }

/* === FOOTER === */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.85);
  padding: 60px 0 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-logo { height: 50px; margin-bottom: 16px; filter: brightness(0) invert(1); }
.footer a { color: rgba(255,255,255,0.75); }
.footer a:hover { color: var(--gold); }
.footer p { font-size: 14px; line-height: 1.8; }
.footer-social { margin-top: 12px; font-size: 14px; }
.footer-social a { font-weight: 600; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}

/* === STICKY MOBILE === */
.sticky-call {
  display: none;
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background: var(--gold);
  color: var(--navy);
  border-radius: 50%;
  font-size: 26px;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  z-index: 99;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

/* === FORM (contactus) === */
.form-wrap {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-width: 700px;
  margin: 0 auto;
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 6px;
  font-size: 14px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--grey-light);
  border-radius: var(--radius);
  font-size: 15px;
  font-family: inherit;
  transition: var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.form-group textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: 13px; color: var(--grey); margin-top: 16px; text-align: center; }

/* === HERO VIDEO — 1 groot === */
.hero-video {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 32px auto 0;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-hover);
}
.hero-video iframe { width: 100%; height: 100%; border: 0; display: block; }

/* === MACHINE CARDS (Home) === */
.machine-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  color: var(--navy);
  border: 2px solid transparent;
}
.machine-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--gold);
  color: var(--navy);
}
.machine-card-img {
  width: 100%;
  height: 240px;
  background: var(--white);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.machine-card-img img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}
.machine-card-body {
  padding: 20px 24px 24px;
}
.machine-card-body h3 { margin-bottom: 4px; color: var(--navy); }
.machine-card-body p { color: var(--grey); font-size: 14px; margin-bottom: 12px; }
.machine-card-price {
  padding-top: 12px;
  border-top: 1px solid var(--grey-light);
  font-size: 14px;
  color: var(--grey);
}
.machine-card-price strong {
  color: var(--gold);
  font-size: 18px;
  font-weight: 700;
}

/* === PRODUCT BLOCKS === */
.product-section { padding: 70px 0; }
.product-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.product-block.reverse .product-img { order: 2; }
.product-img img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: var(--shadow);
  background: var(--wh
/* === TECH SPECS TABEL (machines pagina) === */
.tech-specs {
  margin: 24px 0;
  padding: 20px 24px;
  background: var(--cream, #F8F5F0);
  border-left: 4px solid var(--gold);
  border-radius: 8px;
}
.tech-specs h4 {
  margin: 0 0 14px 0;
  color: var(--navy);
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 700;
}
.specs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.5;
}
.specs-table th,
.specs-table td {
  padding: 8px 12px 8px 0;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(11, 31, 58, 0.08);
}
.specs-table tr:last-child th,
.specs-table tr:last-child td { border-bottom: none; }
.specs-table th {
  color: var(--grey);
  font-weight: 500;
  width: 38%;
  font-size: 13px;
}
.specs-table td {
  color: var(--navy);
  font-weight: 600;
}
@media (max-width: 720px) {
  .tech-specs { padding: 16px 18px; }
  .specs-table { font-size: 13px; }
  .specs-table th { width: 42%; font-size: 12px; }
}

/* === POWER TABLE — overzicht per vermogen === */
.power-table-wrap { overflow-x: auto; margin: 4px 0 20px; }
.power-table {
  width: 100%;
  min-width: 480px;
  border-collapse: collapse;
  font-size: 13px;
}
.power-table caption {
  text-align: left;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  padding: 0 0 8px;
}
.power-table thead th {
  background: var(--navy);
  color: var(--white);
  font-weight: 600;
  font-size: 12px;
  text-align: left;
  padding: 9px 10px;
  white-space: nowrap;
}
.power-table thead th:first-child { border-radius: 8px 0 0 0; }
.power-table thead th:last-child { border-radius: 0 8px 0 0; }
.power-table tbody td {
  padding: 9px 10px;
  color: var(--navy);
  border-bottom: 1px solid rgba(11, 31, 58, 0.08);
  white-space: nowrap;
}
.power-table tbody td:first-child { font-weight: 700; }
.power-table tbody tr:nth-child(even) { background: rgba(11, 31, 58, 0.03); }
.power-table tbody tr:last-child td { border-bottom: none; }
.power-table-note {
  font-size: 12.5px;
  color: var(--grey);
  margin: -12px 0 20px;
}
@media (max-width: 720px) {
  .power-table { font-size: 12px; }
  .power-table thead th, .power-table tbody td { padding: 7px 8px; }
}

/* === LOGO SCHERPER === */
.logo {
  height: 52px !important;
  width: auto;
  max-width: 260px;
  object-fit: contain;
  image-rendering: -webkit-optimize-contrast;
}
.footer-logo {
  height: 46px;
  width: auto;
  max-width: 220px;
  filter: brightness(0) invert(1);
  margin-bottom: 12px;
}
@media (max-width: 720px) {
  .logo { height: 42px !important; max-width: 200px; }
}

/* === TAAL-SWITCHER === */
.lang-switcher {
  display: flex;
  gap: 4px;
  align-items: center;
  margin-left: 16px;
}
.lang-switcher .lang {
  padding: 6px 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--grey);
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.2s;
  white-space: nowrap;
}
.lang-switcher .lang:hover {
  background: var(--cream, #F8F5F0);
  color: var(--navy);
}
.lang-switcher .lang.active {
  color: var(--gold);
  background: rgba(212, 162, 76, 0.08);
}
@media (max-width: 720px) {
  .lang-switcher {
    position: absolute;
    top: 8px;
    right: 60px;
    margin-left: 0;
  }
  .lang-switcher .lang { padding: 4px 5px; font-size: 11px; }
  .lang-switcher .lang span { display: none; }
}

/* === CRITICAL MOBILE FIX (v3) === */
@media (max-width: 1024px) {
  /* Nav wordt verborgen op mobile, hamburger toont */
  .header-inner { position: relative; flex-wrap: nowrap; }
  .nav {
    display: none !important;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--white);
    padding: 20px 24px;
    gap: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    border-top: 1px solid rgba(0,0,0,0.06);
    z-index: 999;
  }
  .nav.open { display: flex !important; }
  .nav a { font-size: 17px; padding: 10px 0; border-bottom: 1px solid rgba(0,0,0,0.04); }
  .nav a:last-child { border-bottom: none; }
  .nav-cta {
    align-self: flex-start !important;
    padding: 12px 24px !important;
    margin-top: 8px;
    background: var(--gold) !important;
  }
  .menu-toggle { display: flex !important; margin-left: auto; }
  .logo { height: 44px !important; max-width: 180px; }
}

@media (max-width: 1024px) {
  /* Overflow prevention */
  html, body { overflow-x: hidden !important; max-width: 100vw; }
  * { max-width: 100%; }
  
  /* Grid stack */
  .grid-2, .grid-3, .grid-4, .grid-5 { grid-template-columns: 1fr !important; gap: 16px !important; }
  .results-grid { grid-template-columns: 1fr !important; gap: 16px !important; }
  .hero-inner { grid-template-columns: 1fr !important; gap: 20px !important; }
  .footer-inner { grid-template-columns: 1fr !important; gap: 24px !important; }
  
  /* Hero */
  .hero { padding: 40px 0 !important; }
  .hero h1 { font-size: 26px !important; word-wrap: break-word; line-height: 1.2 !important; }
  .hero .lead { font-size: 15px; }
  .hero-cta { flex-direction: column !important; align-items: stretch !important; gap: 10px; }
  .hero-cta .btn { width: 100%; text-align: center; justify-content: center; }
  .hero-usp { grid-template-columns: 1fr !important; gap: 6px; font-size: 13px; }
  .badge { font-size: 12px; padding: 6px 12px; }
  
  /* Sections */
  .section, .section-alt { padding: 40px 0 !important; }
  h2 { font-size: 22px !important; }
  h3 { font-size: 17px !important; }
  .section-lead, .lead { font-size: 15px; }
  
  /* Machine cards */
  .machine-card-img { height: 200px !important; padding: 12px !important; }
  .machine-card-body { padding: 16px !important; }
  
  /* Product blocks — stack */
  .product-block, .product-block.reverse { grid-template-columns: 1fr !important; gap: 20px !important; }
  .product-block.reverse .product-img { order: 0 !important; }
  .product-img img { max-height: 260px; }
  
  /* Why section */
  .why-section { padding: 40px 0 !important; }
  .why-item { text-align: center; padding: 20px 16px; }
  
  /* CTA */
  .cta-section { padding: 40px 20px !important; }
  .cta-section .hero-cta { flex-direction: column !important; }
  .cta-section .hero-cta .btn { width: 100%; text-align: center; }
  
  /* Contact form */
  .form-wrap { padding: 20px !important; }
  .form-group input, .form-group select, .form-group textarea { font-size: 16px; }
  
  /* Container padding */
  .container { padding-left: 16px !important; padding-right: 16px !important; }
  
  /* Video */
  .hero-video { margin: 20px auto 0 !important; }
  
  /* Buttons full width */
  .btn-large { width: 100%; text-align: center; justify-content: center; }
}

/* === EXTRA MOBILE OVERRIDES (v4) === */
@media (max-width: 1024px) {
  /* Header layout: logo | lang-switcher | hamburger */
  .header-inner {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    padding: 8px 12px !important;
  }
  .logo-link { flex-shrink: 0; }
  
  /* Lang switcher compact tussen logo en hamburger */
  .lang-switcher {
    position: static !important;
    display: flex !important;
    gap: 2px !important;
    margin: 0 !important;
    order: 0 !important;
  }
  .lang-switcher .lang {
    padding: 4px 6px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
  }
  
  /* Hamburger altijd zichtbaar rechts */
  .menu-toggle {
    display: flex !important;
    order: 99;
    flex-shrink: 0;
  }
  
  /* Nav volledig verborgen tenzij .open */
  .nav {
    display: none !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    background: white !important;
    padding: 16px 20px !important;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15) !important;
    z-index: 1000 !important;
  }
  .nav.open {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 4px !important;
  }
  .nav.open a {
    padding: 14px 8px !important;
    font-size: 16px !important;
    border-bottom: 1px solid rgba(0,0,0,0.06) !important;
    text-align: left !important;
  }
  .nav.open a:last-child { border-bottom: none !important; }
  .nav.open .nav-cta {
    background: var(--gold) !important;
    color: var(--navy) !important;
    text-align: center !important;
    padding: 14px !important;
    margin-top: 12px !important;
    border-radius: 6px !important;
    font-weight: 700 !important;
  }
}

/* === FORCE MOBILE OP TOUCH DEVICES (v5) === */
/* Trigger op EITHER: viewport < 1024px OF touch device (mobiel/tablet) */
@media (max-width: 1024px), (pointer: coarse) {
  .header-inner {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    padding: 8px 12px !important;
    position: relative !important;
  }
  
  /* Nav volledig verstopt tenzij .open */
  .header .nav {
    display: none !important;
  }
  .header .nav.open {
    display: flex !important;
    flex-direction: column !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    background: white !important;
    padding: 16px 20px !important;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15) !important;
    z-index: 1000 !important;
    gap: 4px !important;
  }
  .header .nav.open a {
    padding: 14px 8px !important;
    font-size: 16px !important;
    border-bottom: 1px solid rgba(0,0,0,0.06) !important;
    text-align: left !important;
    display: block !important;
  }
  
  /* Hamburger ALTIJD zichtbaar */
  .menu-toggle {
    display: flex !important;
    flex-direction: column !important;
    order: 99 !important;
    background: none !important;
    border: none !important;
    padding: 8px !important;
    gap: 5px !important;
    cursor: pointer !important;
  }
  .menu-toggle span {
    display: block !important;
    width: 26px !important;
    height: 3px !important;
    background: var(--navy) !important;
    border-radius: 2px !important;
  }
  
  /* Lang-switcher naast hamburger */
  .lang-switcher {
    display: flex !important;
    position: static !important;
    gap: 3px !important;
    margin: 0 8px 0 auto !important;
    order: 2 !important;
  }
  .lang-switcher .lang {
    padding: 4px 6px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    color: var(--grey) !important;
  }
  .lang-switcher .lang.active { color: var(--gold) !important; }
  
  /* Logo compact */
  .logo { height: 44px !important; max-width: 180px !important; }
}

/* Grid stacking op mobile */
@media (max-width: 1024px), (pointer: coarse) {
  html, body { overflow-x: hidden !important; }
  .grid-2, .grid-3, .grid-4, .grid-5 { grid-template-columns: 1fr !important; }
  .hero-inner { grid-template-columns: 1fr !important; }
  .hero-cta { flex-direction: column !important; }
  .hero-cta .btn { width: 100% !important; text-align: center !important; }
  .product-block, .product-block.reverse { grid-template-columns: 1fr !important; }
  .footer-inner { grid-template-columns: 1fr !important; }
  .results-grid { grid-template-columns: 1fr !important; }
  .hero-usp { grid-template-columns: 1fr !important; }
  .hero h1 { font-size: 26px !important; }
  h2 { font-size: 22px !important; }
}

/* === NUCLEAR FIX v6 — ID selectors overriden ALLE class rules === */
@media (max-width: 1024px), (pointer: coarse) {
  #nav {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    background: white !important;
    padding: 16px 20px !important;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15) !important;
    z-index: 1000 !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 8px !important;
  }
  #nav.open {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  #nav.open a {
    padding: 14px 8px !important;
    font-size: 16px !important;
    color: var(--navy) !important;
    border-bottom: 1px solid rgba(0,0,0,0.06) !important;
    text-align: left !important;
    display: block !important;
    width: 100% !important;
  }
  #nav.open .nav-cta {
    background: var(--gold) !important;
    color: var(--navy) !important;
    text-align: center !important;
    margin-top: 12px !important;
    border-radius: 6px !important;
    font-weight: 700 !important;
    border-bottom: none !important;
  }

  #menuToggle {
    display: flex !important;
    flex-direction: column !important;
    background: none !important;
    border: none !important;
    padding: 8px !important;
    gap: 5px !important;
    cursor: pointer !important;
    order: 99 !important;
    margin-left: 8px !important;
  }
  #menuToggle span {
    display: block !important;
    width: 26px !important;
    height: 3px !important;
    background: var(--navy) !important;
    border-radius: 2px !important;
  }

  .header-inner {
    display: flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    gap: 8px !important;
    padding: 10px 12px !important;
    position: relative !important;
  }
  
  .header .logo-link,
  .header a:has(> .logo) {
    flex-shrink: 0 !important;
  }
  .header .logo {
    height: 48px !important;
    max-width: 200px !important;
    width: auto !important;
    object-fit: contain !important;
  }

  .lang-switcher {
    display: flex !important;
    flex-direction: row !important;
    position: static !important;
    gap: 4px !important;
    margin-left: auto !important;
    margin-right: 8px !important;
    order: 2 !important;
  }
  .lang-switcher .lang {
    padding: 5px 6px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    color: var(--grey) !important;
    white-space: nowrap !important;
  }
  .lang-switcher .lang.active { color: var(--gold) !important; }
}

/* === ULTIMATE MOBILE OVERRIDE v7 — class-based via JavaScript === */
html.mobile-view #nav,
body.mobile-view #nav {
  display: none !important;
  visibility: hidden !important;
  position: absolute !important;
  top: 100% !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  background: white !important;
  padding: 20px 24px !important;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15) !important;
  z-index: 1000 !important;
  flex-direction: column !important;
  gap: 8px !important;
}
html.mobile-view #nav.open,
body.mobile-view #nav.open {
  display: flex !important;
  visibility: visible !important;
}
html.mobile-view #nav a,
body.mobile-view #nav a {
  padding: 14px 8px !important;
  font-size: 16px !important;
  color: var(--navy) !important;
  border-bottom: 1px solid rgba(0,0,0,0.06) !important;
  text-align: left !important;
  display: block !important;
  width: 100% !important;
  font-weight: 500 !important;
}
html.mobile-view #nav .nav-cta,
body.mobile-view #nav .nav-cta {
  background: var(--gold) !important;
  color: var(--navy) !important;
  text-align: center !important;
  margin-top: 12px !important;
  border-radius: 6px !important;
  font-weight: 700 !important;
  border: none !important;
}

html.mobile-view #menuToggle,
body.mobile-view #menuToggle {
  display: flex !important;
  flex-direction: column !important;
  background: none !important;
  border: none !important;
  padding: 10px !important;
  gap: 5px !important;
  cursor: pointer !important;
  margin-left: 8px !important;
  flex-shrink: 0 !important;
}
html.mobile-view #menuToggle span,
body.mobile-view #menuToggle span {
  display: block !important;
  width: 28px !important;
  height: 3px !important;
  background: var(--navy) !important;
  border-radius: 2px !important;
}

html.mobile-view .header-inner,
body.mobile-view .header-inner {
  display: flex !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  gap: 8px !important;
  padding: 12px 16px !important;
  position: relative !important;
  background: white !important;
}

html.mobile-view .header .logo,
body.mobile-view .header .logo {
  height: 44px !important;
  max-width: 140px !important;
  width: auto !important;
  object-fit: contain !important;
  flex-shrink: 0 !important;
}

html.mobile-view .lang-switcher,
body.mobile-view .lang-switcher {
  display: flex !important;
  flex-direction: row !important;
  position: static !important;
  gap: 3px !important;
  margin: 0 4px 0 auto !important;
  padding: 0 !important;
  flex-shrink: 0 !important;
}
html.mobile-view .lang-switcher .lang,
body.mobile-view .lang-switcher .lang {
  padding: 4px 5px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  color: var(--grey) !important;
  white-space: nowrap !important;
  border-radius: 4px !important;
}
html.mobile-view .lang-switcher .lang.active,
body.mobile-view .lang-switcher .lang.active {
  color: var(--gold) !important;
  background: rgba(212, 162, 76, 0.1) !important;
}

/* Product blocks: foto boven, tekst onder — foto groter */
html.mobile-view .product-block,
html.mobile-view .product-block.reverse,
body.mobile-view .product-block,
body.mobile-view .product-block.reverse {
  grid-template-columns: 1fr !important;
  gap: 24px !important;
}
html.mobile-view .product-block .product-img,
body.mobile-view .product-block .product-img {
  order: 0 !important;
  width: 100% !important;
}
html.mobile-view .product-block .product-img img,
body.mobile-view .product-block .product-img img {
  width: 100% !important;
  max-height: 320px !important;
  height: auto !important;
  object-fit: contain !important;
  background: white !important;
  border-radius: 12px !important;
  padding: 16px !important;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08) !important;
}

/* Grid stacking */
html.mobile-view .grid-2,
html.mobile-view .grid-3,
html.mobile-view .grid-4,
html.mobile-view .grid-5,
html.mobile-view .hero-inner,
html.mobile-view .footer-inner,
html.mobile-view .results-grid,
html.mobile-view .hero-usp,
body.mobile-view .grid-2,
body.mobile-view .grid-3,
body.mobile-view .grid-4,
body.mobile-view .grid-5,
body.mobile-view .hero-inner,
body.mobile-view .footer-inner,
body.mobile-view .results-grid,
body.mobile-view .hero-usp {
  grid-template-columns: 1fr !important;
  gap: 20px !important;
}

/* Body overflow */
html.mobile-view, body.mobile-view {
  overflow-x: hidden !important;
  max-width: 100vw !important;
}

/* Hero */
html.mobile-view .hero h1,
body.mobile-view .hero h1 {
  font-size: 28px !important;
  line-height: 1.2 !important;
}
html.mobile-view h2,
body.mobile-view h2 {
  font-size: 24px !important;
}
html.mobile-view .hero-cta,
body.mobile-view .hero-cta {
  flex-direction: column !important;
  gap: 10px !important;
}
html.mobile-view .hero-cta .btn,
body.mobile-view .hero-cta .btn {
  width: 100% !important;
  text-align: center !important;
  justify-content: center !important;
}

/* Container padding */
html.mobile-view .container,
body.mobile-view .container {
  padding-left: 16px !important;
  padding-right: 16px !important;
}

/* Machine cards img groter */
html.mobile-view .machine-card-img,
body.mobile-view .machine-card-img {
  height: 240px !important;
  padding: 16px !important;
}
