:root {
  /* Fonts */
  --font-display: 'Rajdhani', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Karla', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Brand colors */
  --primary: #1a5490;
  --primary-dark: #143f6d;
  --primary-light: #2874a6;
  --secondary: #ff6b35;

  /* Neutrals */
  --dark: #1d3a55;
  --light: #ecf0f1;
  --white: #ffffff;
  --black: #000000;

  /* Grays (keep the ones you actually use) */
  --gray-50: #f8f9fa;
  --gray-100: #f8f9fa;
  --gray-200: #dee2e6;
  --gray-300: #ced4da;
  --gray-400: #adb5bd;
  --gray-500: #6c757d;
  --gray-600: #495057;
  --gray-700: #343a40;
  --gray-800: #212529;
  --gray-900: #1b1f24;

  /* Spacing scale */
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;

  /* Radius */
  --radius: 8px;
  --radius-lg: 16px;

  /* Shadows */
  --shadow: 0 4px 16px rgba(0, 0, 0, 0.10);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.10);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.15);

  /* Motion */
  --transition: 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--gray-900);
  background: var(--white);
}

/* Base typography */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--gray-900);
  margin-bottom: var(--space-4);
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.25rem, 6vw, 4.5rem);
  line-height: 1.1;
}

h2 {
  font-size: clamp(1.875rem, 4vw, 3rem);
  color: var(--primary);  /* ← ALLEEN DIT TOEGEVOEGD */
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--primary);  /* ← ALLEEN DIT TOEGEVOEGD */
}

p {
  margin-bottom: var(--space-4);
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

.lead {
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--gray-600);
}

/* Sections */
section {
  padding: clamp(3rem, 8vw, 6rem) 0;
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 max(15px, 1.5rem);
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }
}

/* Grid utilities */
.grid {
  display: grid;
  gap: var(--space-6);
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-2-desktop {
  grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-2-desktop {
    grid-template-columns: 1fr;
  }
}

/* Utilities */
.text-center { text-align: center; }
.text-white { color: var(--white) !important; }

.bg-gray { background-color: var(--gray-50); }
.bg-dark { background-color: var(--dark); color: var(--white); }
.bg-gradient {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--white);
}

/* Buttons (generic) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-primary {
  background-color: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: var(--secondary);
  border-color: var(--secondary);
  color: var(--white);
}

.btn-secondary:hover {
  background-color: #e55a28;
  transform: translateY(-2px);
}

/* ========================================
   CARD IMAGE EFFECTS
   ======================================== */

.card-image a {
  display: block;
  width: 100%;
  height: 100%;
  line-height: 0;
  overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0;
  text-decoration: none;
  color: inherit;
}

.card-image a img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.card-image a:hover img {
  transform: scale(1.05);
  opacity: 0.9;
}

.card-image a:focus {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}

.card-image a:focus img {
  opacity: 0.9;
}

/* Outline button (generic) */
.btn-outline {
  background-color: transparent;
  border-color: var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: var(--white);
}

/* CTA-box: outline button moet wit gevuld zijn (sitewide voor CTA-boxen) */
.cta-box .btn-outline {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
}

.cta-box .btn-outline:hover {
  background: var(--gray-50);
  color: var(--primary-dark);
}

.btn-white {
  background-color: var(--white);
  color: var(--primary);
}

.btn-white:hover {
  background-color: var(--gray-50);
}

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

/* Card (generic) */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card-body {
  padding: var(--space-6);
}

/* No-scroll class to lock body when mobile menu is open */
body.no-scroll {
  overflow: hidden;
}

/* ==========================
   Sitewide layout components
   ========================== */

/* Section utility (alleen met class, niet op alle <section>) */
.section {
  padding: clamp(3rem, 8vw, 6rem) 0;
}

/* Achtergrond helper */
.bg-light {
  background: var(--gray-50);
}

/* Page header / hero */
.page-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--white);
  padding: 4rem 0 3rem;
  text-align: center;
}

.page-header h1 {
  color: var(--white);
  margin-bottom: 1rem;
}

.page-header p {
  font-size: 1.125rem;
  opacity: 0.95;
  margin-bottom: 0;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 1.5rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9375rem;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.9);
}

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

/* CTA box */
.cta-box {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--white);
  padding: clamp(2.5rem, 5vw, 4rem);
  border-radius: var(--radius-lg);
  text-align: center;
}

.cta-box h2 {
  color: var(--white);
  margin-bottom: var(--space-4);
}

.cta-box p {
  font-size: 1.125rem;
  opacity: 0.95;
  margin-bottom: var(--space-6);
}

.cta-buttons {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 640px) {
  .cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-buttons .btn {
    width: 100%;
  }
}

/* ===========================
   Navigation pages (scoped)
   =========================== */
.is-navigation-page .product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

@media (max-width: 992px) {
  .is-navigation-page .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .is-navigation-page .product-grid {
    grid-template-columns: 1fr;
  }
}

.is-navigation-page .product-grid .card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.is-navigation-page .product-grid .card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.is-navigation-page .product-grid .card-body {
  padding: var(--space-6);
}

/* Navigation styles centralized from includes/navigation.html */

.header-wrapper {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
}

/* TOP HEADER */

.top-header {
  background: var(--primary);
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 600;
}

.top-header-container {
  max-width: 1480px;
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.top-header-left,
.top-header-right {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.top-header-right {
  margin-left: auto;
}

.top-link,
.top-header-right span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--white);
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
}

.top-link:hover {
  color: var(--white);
  opacity: 0.85;
}

.top-icon {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

/* MAIN HEADER */

.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}

.site-header nav {
  position: relative;
  min-width: 0;
}

.header-container {
  max-width: 1480px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1.5rem, 3vw, 4rem);
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  color: var(--primary);
  text-decoration: none;
}

.logo-img {
  height: 72px;
  width: auto;
  display: block;
}

/* NAVIGATION */

.nav-menu {
  display: flex;
  align-items: center;
  gap: clamp(0.85rem, 1.35vw, 1.5rem);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu > li {
  position: relative;
  flex-shrink: 0;
}

.nav-link {
  position: relative;
  display: inline-block;
  padding: 0.5rem 0;
  color: var(--dark);
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.3vw, 1.35rem);
  font-weight: 600;
  line-height: 1.1;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.3s;
}

.nav-heading {
  appearance: none;
  border: 0;
  background: transparent;
  cursor: default;
}

.nav-link:hover {
  color: var(--primary-dark);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  height: 2px;
  width: 100%;
  background: var(--primary);
  opacity: 0;
  transition: opacity 0.3s;
}

.nav-link:hover::after,
.nav-link.active::after {
  opacity: 1;
}

.nav-link.active {
  color: var(--primary);
}

/* DROPDOWN */

.nav-item-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.dropdown-link {
  position: relative;
  padding-right: 1.1rem;
  display: inline-flex;
  align-items: center;
}

.dropdown-link::before {
  content: "";
  position: absolute;
  right: 0.15rem;
  top: 50%;
  width: 0.4rem;
  height: 0.4rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-60%) rotate(45deg);
  opacity: 0.75;
  transition: transform 0.2s ease;
}

.submenu-toggle {
  display: none;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  z-index: 999;
  list-style: none;
  margin: 0;
  padding: 0.65rem 0;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 0.5rem;
  box-shadow: var(--shadow-lg);
}

.dropdown-menu a {
  display: block;
  padding: 0.55rem 1rem;
  color: var(--dark);
  white-space: nowrap;
  text-decoration: none;
}

.dropdown-menu a:hover,
.dropdown-menu a[aria-current="page"] {
  background: var(--gray-50);
  color: var(--primary);
}

.dropdown-menu-right {
  right: 0;
  left: auto;
}

@media (hover: hover) and (pointer: fine) {
  .nav-item-dropdown:hover > .dropdown-menu,
  .nav-item-dropdown:focus-within > .dropdown-menu {
    display: block;
  }

  .nav-item-dropdown:hover > .nav-item-row .dropdown-link::before,
  .nav-item-dropdown:focus-within > .nav-item-row .dropdown-link::before {
    transform: translateY(-40%) rotate(-135deg);
  }
}

/* MOBILE BUTTON */

.mobile-menu-btn {
  display: none;
  width: 32px;
  height: 24px;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  border: none;
  background: transparent;
  margin-left: auto;
}

.mobile-menu-btn span {
  display: block;
  height: 4px;
  width: 100%;
  background: var(--primary);
  border-radius: 2px;
}

/* CTA */

.nav-cta {
  margin-left: clamp(0rem, 0.5vw, 0.5rem);
}

.nav-cta-btn {
  white-space: nowrap;
  font-size: 1rem;
  padding: 0.55rem 0.9rem;
  line-height: 1.1;
  font-weight: 700;
}

/* COMPACT DESKTOP */

@media (min-width: 1241px) and (max-width: 1400px) {
  .header-container {
    gap: 1.25rem;
  }

  .logo-img {
    height: 64px;
  }

  .nav-menu {
    gap: 0.65rem;
  }

  .nav-link {
    font-size: 1.05rem;
  }

  .dropdown-link {
    padding-right: 0.9rem;
  }

  .dropdown-link::before {
    width: 0.35rem;
    height: 0.35rem;
  }

  .nav-cta {
    margin-left: 0;
  }

  .nav-cta-btn {
    font-size: 0.9rem;
    padding-right: 0.65rem;
    padding-left: 0.65rem;
  }
}

/* MOBILE */

@media (max-width: 1240px) {
  .top-header {
    display: none;
  }

  .header-container {
    position: relative;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
  }

  .logo-img {
    height: 70px;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .site-header nav {
    position: static;
  }

  .nav-menu {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    width: 100%;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow-lg);
    overflow-y: auto;
    overscroll-behavior: contain;

    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem 1.5rem;

    max-height: 0;
    opacity: 0;
    pointer-events: none;

    transition: max-height 0.35s ease, opacity 0.2s ease;
  }

  .nav-menu.active {
    max-height: calc(100svh - 86px);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-menu > li {
    width: 100%;
    border-top: 1px solid var(--gray-200);
  }

  .nav-menu > li:first-child {
    border-top: none;
  }

  .nav-link {
    width: 100%;
    padding: 0.85rem 0;
    font-size: 1.25rem;
  }

  .nav-link::after,
  .dropdown-link::before {
    display: none;
  }

  .nav-item-row {
    width: 100%;
    cursor: pointer;
  }

  .nav-heading {
    cursor: pointer;
    text-align: left;
  }

  .dropdown-link {
    width: 100%;
    padding-right: 0;
    flex: 1;
  }

  .nav-item-row::after {
    content: "+";
    margin-left: auto;
    font-size: 2.2rem;
    line-height: 1;
    color: var(--primary);
    padding: 0.2rem 0;
  }

  .nav-item-dropdown.is-open > .nav-item-row::after {
    content: "–";
  }

  .nav-item-dropdown > .dropdown-menu {
    display: none;
    position: static;
    min-width: 0;
    margin: 0;
    padding: 0.25rem 0 0.75rem 0;
    list-style: none;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
  }

  .dropdown-menu-right {
    right: auto;
  }

  .nav-item-dropdown.is-open > .dropdown-menu {
    display: block;
  }

  .dropdown-menu a {
    padding: 0.5rem 0 0.5rem 1.25rem;
    white-space: normal;
  }

  .nav-cta {
    margin-left: 0;
  }

  .nav-cta-btn {
    width: 100%;
    justify-content: center;
    margin-top: 1rem;
    font-size: 1.05rem;
    padding: 0.65rem 1rem;
    line-height: 1.15;
  }
}

@media (max-width: 480px) {
  .logo-img {
    height: 60px;
  }

  .nav-menu.active {
    max-height: calc(100svh - 76px);
  }
}
/* FOOTER */
.site-footer {
  background: linear-gradient(110deg, #0b2035 0%, #12335a 55%, #164073 100%);
  color: var(--white);
  padding: var(--space-9) 0 var(--space-5);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(230px, 1.05fr) minmax(520px, 2.4fr) minmax(180px, 0.8fr);
  grid-template-areas: "about products company";
  gap: clamp(var(--space-5), 4vw, var(--space-8));
  margin-bottom: var(--space-7);
  padding-top: var(--space-5);
}

.footer-about {
  grid-area: about;
}

.footer-products {
  grid-area: products;
}

.footer-company {
  grid-area: company;
}

.footer-section h4 {
  color: var(--white);
  margin-bottom: var(--space-4);
  font-size: 1.50rem;
  font-weight: 700;
}

.footer-brand h4 {
  font-size: 2.5rem;
}

.footer-product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-6) clamp(var(--space-5), 4vw, var(--space-8));
}

.footer-product-group {
  padding: 0;
}

.footer-product-group h5 {
  margin: 0 0 var(--space-3, 0.75rem);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.25;
}

.footer-product-group h5,
.footer-product-group h5 a {
  color: var(--white);
  opacity: 1;
}

.footer-contact {
  margin-top: 1.5rem;
}

/* Footer – Metaalunie logo */
.footer-certification {
  margin-top: 1.5rem;
}

.footer-certification img {
  display: block;
  max-width: 250px;
  width: 100%;
  height: auto;
  opacity: 0.9;
}

.footer-section p,
.footer-section ul {
  font-size: 1.35rem;
  opacity: 0.9;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: var(--white);
  opacity: 0.9;
  transition: opacity var(--transition), color var(--transition);
  text-decoration: none;
}

.footer-section a:hover {
  opacity: 1;
  color: var(--secondary);
}

.footer-section a:focus-visible,
.footer-cookie-settings:focus-visible {
  outline: 2px solid var(--secondary);
  outline-offset: 3px;
}

.footer-cookie-settings {
  appearance: none;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--white);
  font: inherit;
  opacity: 0.9;
  cursor: pointer;
  transition: opacity var(--transition), color var(--transition);
}

.footer-cookie-settings:hover {
  color: var(--secondary);
  opacity: 1;
}

.footer-bottom {
  text-align: center;
  padding-top: var(--space-5);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.875rem;
  opacity: 0.8;
}

@media (max-width: 1100px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-areas:
      "about company"
      "products products";
  }

  .footer-products {
    padding-top: var(--space-4);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
}

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "about"
      "products"
      "company";
  }

  .footer-product-grid {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }

  .footer-products,
  .footer-company {
    padding-top: var(--space-5);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
}

/* Bestaande V1-paginastijlen */
/* ==========================
   Products (universeel)
   Scoped: alleen op .is-product
   ========================== */

.is-product .page-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--white);
  padding: 4rem 0 3rem;
  text-align: center;
}

.is-product .page-header h1 {
  color: var(--white);
  margin-bottom: 1rem;
}

.is-product .page-header p {
  font-size: 1.125rem;
  opacity: 0.95;
  margin-bottom: 0;
}

.is-product .breadcrumb {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 1.5rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9375rem;
  flex-wrap: wrap;
}

.is-product .breadcrumb a {
  color: rgba(255, 255, 255, 0.9);
}

.is-product .breadcrumb a:hover {
  color: var(--white);
}

/* Minder witruimte tussen secties op productpagina’s */
.is-product section {
  padding: clamp(1.5rem, 3.5vw, 3rem) 0; /* was 3rem/8vw/6rem in base */
}

/* Content sections */
.is-product .content-section {
  margin-bottom: var(--space-5);
}

.is-product .content-section h2 {
  margin-bottom: var(--space-5);
  padding-bottom: var(--space-4);
  border-bottom: 3px solid var(--secondary);
}

/* Light background helper (jij gebruikt bg-light in oude pagina) */
.is-product .bg-light {
  background: var(--gray-50);
}

/* Feature grid */
.is-product .feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
  margin: var(--space-6) 0;
}

@media (max-width: 992px) {
  .is-product .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .is-product .feature-grid {
    grid-template-columns: 1fr;
  }
}

.is-product .feature-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.is-product .feature-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  color: var(--secondary);
}

/* Applications grid (cards met image + button) */
.is-product .application-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-5);
  margin: var(--space-6) 0;
}

.is-product .application-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition), box-shadow var(--transition);
}

.is-product .application-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.is-product .application-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
}

.is-product .application-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.is-product .application-content {
  padding: var(--space-5);
}

.is-product .application-content h3 {
  margin-bottom: var(--space-4);
}

.is-product .application-content p {
  margin-bottom: var(--space-4);
  color: var(--gray-600);
}

/* Two images side by side inside application card */
.is-product .application-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

/* Override: image hoogte niet forceren door card image */
.is-product .application-images .application-image {
  height: 200px;
  border-radius: var(--radius);
  overflow: hidden;
}

/* Mobile: stack images */
@media (max-width: 768px) {
  .is-product .application-images {
    grid-template-columns: 1fr;
  }
}

/* Full-width button inside card */
.is-product .application-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1rem 1.5rem;
  background: var(--primary);
  color: var(--white) !important;
  border: none;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.0625rem;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.is-product .application-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.is-product .application-btn .arrow {
  margin-left: 1rem;
  font-size: 1.25rem;
  transition: transform var(--transition);
  color: var(--white);
}

.is-product .application-btn:hover .arrow {
  transform: translateX(4px);
}

/* Specs table */
.is-product .specs-table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--space-6) 0;
  background: var(--white);
  box-shadow: var(--shadow-md);
  border-radius: var(--radius);
  overflow: hidden;
}

/* ✅ voorkomt layout-overflow op mobiel (iOS zoom/shift issue) */
.is-product .table-wrap {
  max-width: 100%;
  overflow-x: auto;                 /* als er tóch overflow is: scroll i.p.v. viewport breder */
  -webkit-overflow-scrolling: touch;
}

.is-product .specs-table {
  width: 100%;
  max-width: 100%;
  table-layout: fixed;              /* dwingt kolommen binnen viewport */
}

.is-product .specs-table th,
.is-product .specs-table td {
  overflow-wrap: anywhere;          /* lange woorden/strings breken af */
  word-break: break-word;
  hyphens: auto;
}

.is-product .specs-table thead {
  background: var(--primary);
  color: var(--white);
}

.is-product .specs-table th,
.is-product .specs-table td {
  padding: 1rem 1.5rem;
  text-align: left;
  border-bottom: 1px solid var(--gray-300);
}

.is-product .specs-table tbody tr:last-child td {
  border-bottom: none;
}

.is-product .specs-table tbody tr:hover {
  background: var(--gray-50);
}

@media (max-width: 768px) {
  .is-product .specs-table {
    font-size: 0.875rem;
  }
  .is-product .specs-table th,
  .is-product .specs-table td {
    padding: 0.75rem 1rem;
  }
}

/* Material cards */
.is-product .material-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-5);
  margin: var(--space-6) 0;
}

.is-product .material-card {
  background: var(--white);
  padding: var(--space-5);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200); /* ✅ lichte rand */ 
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition);
}

.is-product .material-card:hover {
  transform: translateY(-4px);
}

.is-product .material-card h3 {
  color: var(--primary);
  margin-bottom: var(--space-4);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.2;
}

.is-product .material-card strong {
  display: block;
  margin-top: var(--space-4);
  margin-bottom: 0.5rem;
}

.is-product .material-card p {
  font-size: 0.9375rem;
  color: var(--gray-600);
  margin-bottom: 0;
}

/* CTA box */
.is-product .cta-box {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--white);
  padding: clamp(2.5rem, 5vw, 4rem);
  border-radius: var(--radius-lg);
  text-align: center;
}

.is-product .cta-box h2 {
  color: var(--white);
  margin-bottom: var(--space-4);
}

.is-product .cta-box p {
  font-size: 1.125rem;
  opacity: 0.95;
  margin-bottom: var(--space-6);
}

.is-product .cta-buttons {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 640px) {
  .is-product .cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  .is-product .cta-buttons .btn {
    width: 100%;
  }
}

/* ========================================
   NAVIGATION PAGES - COMPLETE CSS
   Scoped: .is-navigation-page
   ======================================== */

/* Page Header */
.is-navigation-page .page-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--white);
  padding: 4rem 0 3rem;
  text-align: center;
}

.is-navigation-page .page-header h1 {
  color: var(--white);
  margin-bottom: 1rem;
}

.is-navigation-page .page-header .lead {
  font-size: 1.125rem;
  opacity: 0.95;
  margin-bottom: 0;
  color: var(--white);
}

/* Breadcrumb */
.is-navigation-page .breadcrumb {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 1.5rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9375rem;
  flex-wrap: wrap;
}

.is-navigation-page .breadcrumb a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
}

.is-navigation-page .breadcrumb a:hover {
  color: var(--white);
}

/* Product Grid */
.is-navigation-page .product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin: var(--space-6) 0;
}

@media (max-width: 992px) {
  .is-navigation-page .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .is-navigation-page .product-grid {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }
}

/* Product Card */
.is-navigation-page .product-grid .card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}

.is-navigation-page .product-grid .card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* Card Image */
.is-navigation-page .card-image {
  width: 100%;
  height: 240px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
}

.is-navigation-page .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Card Body */
.is-navigation-page .product-grid .card-body {
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.is-navigation-page .card-body h2 {
  color: var(--primary);
  margin-bottom: var(--space-4);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
}

.is-navigation-page .card-body > p {
  color: var(--gray-600);
  margin-bottom: var(--space-4);
  line-height: 1.6;
  flex-grow: 1;
}

/* Card Checklist */
.is-navigation-page .card-checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-5) 0;
}

.is-navigation-page .card-checklist li {
  padding: 0.5rem 0;
  padding-left: 1.75rem;
  position: relative;
  color: var(--gray-700);
  font-size: 0.9375rem;
}

.is-navigation-page .card-checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--secondary);
  font-weight: 700;
  font-size: 1.125rem;
}

/* Button Block (full width in card) */
.is-navigation-page .btn-block {
  display: block;
  width: 100%;
  text-align: center;
}

/* CTA Panel */
.is-navigation-page .cta-panel {
  margin-top: var(--space-8);
  padding: clamp(2.5rem, 5vw, 4rem);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: var(--radius-lg);
  text-align: center;
  color: var(--white);
}

.is-navigation-page .cta-panel h2 {
  color: var(--white);
  margin-bottom: var(--space-4);
}

.is-navigation-page .cta-panel-text {
  font-size: 1.125rem;
  opacity: 0.95;
  margin-bottom: var(--space-6);
  color: var(--white);
}

.is-navigation-page .cta-buttons {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 640px) {
  .is-navigation-page .cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .is-navigation-page .cta-buttons .btn {
    width: 100%;
  }
}

/* Ensure outline buttons in CTA have white background */
.is-navigation-page .cta-panel .btn-outline {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
}

.is-navigation-page .cta-panel .btn-outline:hover {
  background: var(--gray-50);
  color: var(--primary-dark);
  border-color: var(--gray-50);
}

/* ========================================
   CLICKABLE CARD IMAGES
   ======================================== */

/* Focus state voor keyboard navigatie (accessibility) */
.is-navigation-page .card-image a:focus {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}

.is-navigation-page .card-image a:focus img {
  opacity: 0.9;
}

/* Optional: Image zoom effect bij hover */
.is-navigation-page .card-image a:hover img {
  transform: scale(1.05);
  opacity: 0.9;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* /toepassingen/ pagina’s (alleen pagina-specifiek)
   Scoped: alleen op .is-application */

/* ==========================
   Page header + helpers
   (zelfde look & feel als productpagina’s)
   ========================== */

.is-application .page-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--white);
  padding: 4rem 0 3rem;
  text-align: center;
}

.is-application .page-header h1 {
  color: var(--white);
  margin-bottom: 1rem;
}

.is-application .page-header p {
  font-size: 1.125rem;
  opacity: 0.95;
  margin-bottom: 0;
}

/* Breadcrumb in de header */
.is-application .breadcrumb {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 1.5rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9375rem;
  flex-wrap: wrap;
}

.is-application .breadcrumb a {
  color: rgba(255, 255, 255, 0.9);
}

.is-application .breadcrumb a:hover {
  color: var(--white);
}

/* Minder witruimte tussen secties op toepassingenpagina’s */
.is-application section {
  padding: clamp(1.5rem, 3.5vw, 3rem) 0;
}

/* Light background helper (jij gebruikt bg-light in HTML) */
.is-application .bg-light {
  background: var(--gray-50);
}


/* ==========================
   Toepassingen content layout
   ========================== */

.is-application .product-application {
  margin-bottom: var(--space-8);
}

.is-application .product-application > p {
  font-size: 1.0625rem;
  margin-bottom: var(--space-6);
  color: var(--gray-600);
}

/* Bullets list */
.is-application .bullets-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

@media (max-width: 768px) {
  .is-application .bullets-list {
    grid-template-columns: 1fr;
  }
}

.is-application .bullet-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.is-application .bullet-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--secondary);
  margin-top: 2px;
}

.is-application .bullet-item p {
  margin: 0;
  font-size: 0.9375rem;
}

/* Inspiratie images */
.is-application .inspiration-images {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-5);
  margin-top: var(--space-6);
}

@media (max-width: 768px) {
  .is-application .inspiration-images {
    grid-template-columns: 1fr;
  }
}

.is-application .inspiration-image {
  width: 100%;
  height: 400px;
  border-radius: var(--radius-lg);
  overflow: hidden;

  /* Consistente cardschaduw */
  box-shadow: var(--shadow-md);

  /* Achtergrond fallback wanneer er nog geen img is */
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
}

.is-application .inspiration-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


/* ==========================
   CTA box (toepassingen)
   (zelfde stijl als products)
   ========================== */

.is-application .cta-box {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--white);
  padding: clamp(2.5rem, 5vw, 4rem);
  border-radius: var(--radius-lg);
  text-align: center;
}

.is-application .cta-box h2 {
  color: var(--white);
  margin-bottom: var(--space-4);
}

.is-application .cta-box p {
  font-size: 1.125rem;
  opacity: 0.95;
  margin-bottom: var(--space-6);
}

.is-application .cta-buttons {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 640px) {
  .is-application .cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .is-application .cta-buttons .btn {
    width: 100%;
  }
}

/* ========================================
   PRODUCT REFERENCE BUTTONS
   Kruisverwijzingen naar productpagina's
   ======================================== */

.product-reference {
  text-align: center;
  margin-top: var(--space-6);
  padding-top: var(--space-5);
}

/* Responsive spacing */
@media (max-width: 768px) {
  .product-reference {
    margin-top: var(--space-5);
    padding-top: var(--space-4);
  }
}

/* =========================================
   forms.css
   Scoped form styling for quote/offerte pages
   Gebruik met: <body class="is-quote">
   Vereist: variables.css + base.css geladen
   ========================================= */

/* --- Layout wrappers --- */
.is-quote .form-container {
  max-width: 900px;
  margin: 0 auto;
}

/* Grid voor formvelden */
.is-quote .form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
}

@media (max-width: 768px) {
  .is-quote .form-grid {
    grid-template-columns: 1fr;
  }
}

/* Groepen */
.is-quote .form-group {
  margin-bottom: var(--space-5);
}

.is-quote .form-group.full-width {
  grid-column: 1 / -1;
}

/* --- Labels --- */
.is-quote label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--gray-900);
}

.is-quote label .required {
  color: var(--error, #dc3545);
}

/* --- Inputs --- */
.is-quote input[type="text"],
.is-quote input[type="email"],
.is-quote input[type="tel"],
.is-quote input[type="file"],
.is-quote select,
.is-quote textarea {
  width: 100%;
  padding: 0.875rem;
  border: 2px solid var(--gray-300);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.4;
  color: var(--gray-900);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.is-quote input::placeholder,
.is-quote textarea::placeholder {
  color: var(--gray-500);
}

.is-quote input:focus,
.is-quote select:focus,
.is-quote textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26, 84, 144, 0.18);
}

/* Select: nette pijl en consistente height */
.is-quote select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--gray-600) 50%),
    linear-gradient(135deg, var(--gray-600) 50%, transparent 50%),
    linear-gradient(to right, transparent, transparent);
  background-position:
    calc(100% - 18px) calc(50% - 3px),
    calc(100% - 13px) calc(50% - 3px),
    calc(100% - 2.5rem) 50%;
  background-size:
    6px 6px,
    6px 6px,
    1px 60%;
  background-repeat: no-repeat;
  padding-right: 2.75rem;
}

/* Textarea */
.is-quote textarea {
  min-height: 150px;
  resize: vertical;
}

/* Disabled */
.is-quote input:disabled,
.is-quote select:disabled,
.is-quote textarea:disabled {
  background: var(--gray-50);
  cursor: not-allowed;
  opacity: 0.8;
}

/* --- Checkbox group --- */
.is-quote .checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.is-quote .checkbox-group input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 0.25rem;
  flex-shrink: 0;
  accent-color: var(--primary);
}

.is-quote .checkbox-group label {
  margin-bottom: 0;
  font-weight: 400;
  color: var(--gray-900);
}

/* --- Info block boven formulier --- */
.is-quote .form-info {
  background: var(--gray-50);
  padding: var(--space-5);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-6);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}

.is-quote .form-info h3 {
  margin-bottom: 1rem;
}

.is-quote .info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-4);
}

.is-quote .info-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.is-quote .info-icon {
  width: 24px;
  height: 24px;
  color: var(--secondary);
  flex-shrink: 0;
}

/* --- Alerts --- */
.is-quote .alert {
  padding: 1rem 1.5rem;
  border-radius: var(--radius);
  margin-bottom: var(--space-5);
  display: none;
  border: 1px solid transparent;
}

.is-quote .alert.show {
  display: block;
}

.is-quote .alert-success {
  background: #d4edda;
  border-color: #c3e6cb;
  color: #155724;
}

.is-quote .alert-error {
  background: #f8d7da;
  border-color: #f5c6cb;
  color: #721c24;
}

/* --- Loading state --- */
.is-quote .loading {
  opacity: 0.6;
  pointer-events: none;
}

/* --- Kleine helpers voor buttons in form context --- */
.is-quote .btn {
  white-space: nowrap;
}

@media (max-width: 640px) {
  .is-quote .btn {
    width: 100%;
  }
}

/* --- File input: beter leesbaar op sommige browsers --- */
.is-quote input[type="file"] {
  padding: 0.75rem;
}

.is-quote input[type="file"]::-webkit-file-upload-button {
  font-family: var(--font-display);
  font-weight: 600;
  border: 2px solid transparent;
  border-radius: var(--radius);
  padding: 0.5rem 1rem;
  margin-right: 1rem;
  background: var(--primary);
  color: var(--white);
  cursor: pointer;
  transition: all var(--transition);
}

.is-quote input[type="file"]::-webkit-file-upload-button:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

