/* Den Hartog Autoservice – algemene aanvullingen (menu en mobiel) */
html { scroll-behavior: smooth; }
img { max-width: 100%; }

.menu-toggle { display: none; background: transparent; border: 0; width: 46px; height: 46px; padding: 10px; cursor: pointer; flex: none; }
.menu-toggle span { display: block; height: 3px; background: #fff; border-radius: 2px; margin: 5px 0; transition: transform .25s, opacity .25s; }
.menu-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.mobile-menu { display: none; }

@media (max-width: 1100px) {
  .menu-toggle { display: block; }
  .mobile-menu.open { display: flex; flex-direction: column; gap: 4px; background: #062f57; padding: 12px 24px 24px; position: relative; z-index: 20; }
  .mobile-menu a { color: #fff; text-decoration: none; font-weight: 700; font-size: 18px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .mobile-menu a:last-child { border-bottom: 0; }
}

@media (max-width: 760px) {
  header { padding: 18px 20px !important; }
  header img { max-height: 40px; width: auto; }
  section { padding-left: 20px !important; padding-right: 20px !important; }
  h1 { font-size: clamp(34px, 9vw, 52px) !important; line-height: 1.08 !important; }
  h2 { font-size: clamp(28px, 7.5vw, 40px) !important; line-height: 1.12 !important; }
  [style*="min-height:820px"] { min-height: 640px !important; }
  [style*="grid-template-columns:1fr 1fr"],
  [style*="grid-template-columns: 1fr 1fr"],
  [style*="grid-template-columns:1.1fr"],
  [style*="grid-template-columns:1.2fr"],
  [style*="grid-template-columns:.9fr"],
  [style*="grid-template-columns:1fr 1.1fr"],
  [style*="grid-template-columns:1fr 1.2fr"] { grid-template-columns: 1fr !important; }
  form { padding: 28px 20px !important; }
  /* vaste achtergrond werkt slecht op telefoons */
  .bg-hero, .bg-ita, .bg-vac { background-attachment: scroll !important; }
}
