@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@600&family=Barlow:wght@400;500;700&display=swap');

/*
╭────────────────────────────────────────────────────────────────────╮
│ INVENTIJN – Frontend Stylesheet                                    │
│                                                                    │
│ Alles wat je ziet is bedacht door mij: de structuur, de flow,      │
│ de stijl, de beweging.                                             │
│                                                                    │
│ En dat niet met een duur bureau of een designteam,                 │
│ maar met simpele, toegankelijke AI-tools die ik creatief inzet.    │
│                                                                    │
│ Zo werk ik ook met mensen: helder, inspirerend en zelfstandig.     │
│ Ik houd van systemen die je begrijpt – en die uitnodigen tot actie.│
│                                                                    │
│ Deze site beweegt zoals ik denk:                                   │
│ strategisch, speels en met een vleugje eigenwijs.                  │
│                                                                    │
│ Kijk gerust rond in de code. Hier zit het verhaal onder de pixels. │
│                                                                    │
│ ~ Martijn                                                          │
│                                                                    │
│ ✨ MOBIEL GEOPTIMALISEERD - Versie 2.0                             │
│ 🎨 CARD STYLE CTA - Versie 2.1                                     │
╰────────────────────────────────────────────────────────────────────╯
*/

/* ===========================================
   CSS VARIABELEN
   =========================================== */

:root {
  --blue-dark: #2A3540;
  --blue-soft: #3B4753;
  --yellow: #F9CB40;
  --orange: #F9A03F;
  --white: #FFFFFF;
  --grey-light: #F2F2F2;
}

/* ===========================================
   GLOBAL RESET & BASE STYLES
   =========================================== */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Barlow', sans-serif;
  background-color: var(--white);
  color: var(--blue-soft);
  line-height: 1.6;
}

p {
  line-height: 1.7;
  text-align: left;
}

/* ===========================================
 NAVIGATIE - DESKTOP & MOBIEL (UPDATED)
 =========================================== */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background-color: var(--white);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}

nav a img {
  height: 72px;
  width: auto;
}

nav ul.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

/* FIX: Voeg flexbox toe aan alle navigatie links voor icoon centrering */
nav ul.nav-links li a {
  text-decoration: none;
  color: var(--blue-dark);
  font-weight: 500;
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

nav ul.nav-links li a:hover {
  color: var(--orange);
}

/* ===========================================
 DROPDOWN MENU STYLING
 =========================================== */
/* Dropdown container */
.dropdown {
  position: relative;
  display: inline-block;
}

/* Dropdown toggle styling */
.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  position: relative;
}

.dropdown-icon {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.dropdown.active .dropdown-icon {
  transform: rotate(180deg);
}

/* Dropdown menu */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  border: 1px solid #e5e7eb;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
  list-style: none;
  padding: 0.5rem 0;
  margin: 0;
  margin-top: 0.5rem;
}

.dropdown.active .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Dropdown menu items */
.dropdown-menu li {
  margin: 0;
  padding: 0;
}

.dropdown-menu a {
  display: block;
  padding: 0.75rem 1rem;
  color: var(--blue-dark);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
  border-left: 3px solid transparent;
}

.dropdown-menu a:hover {
  background: var(--grey-light);
  border-left-color: var(--orange);
  color: var(--blue-dark);
  padding-left: 1.2rem;
}

/* Active/current page styling */
.dropdown-menu a.current {
  background: var(--yellow);
  border-left-color: var(--orange);
  font-weight: 600;
}

/* ===========================================
 HAMBURGER MENU 
 =========================================== */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
  z-index: 1001;
}

.nav-toggle span {
  width: 25px;
  height: 3px;
  background: var(--blue-dark);
  transition: all 0.3s ease;
  border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* ===========================================
 MOBILE RESPONSIVE FIXES
 =========================================== */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }
  
  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    z-index: 1000;
  }
  
  .nav-links.active {
    display: flex;
  }
  
  /* Zorg dat iconen ook op mobiel goed staan */
  .nav-links li a {
    font-size: 1.2rem;
    justify-content: center;
  }
}
/* ===========================================
   HERO SECTIONS
   =========================================== */

.hero {
  position: relative;
  width: 100%;
  min-height: 75vh;
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding-top: 4rem;
  padding-left: 5vw;
  text-align: left;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, rgba(42, 53, 64, 0.5), rgba(42, 53, 64, 0.1));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  background-color: rgba(255, 255, 255, 0.85);
  padding: 2.5rem;
  border-radius: 1rem;
  max-width: 600px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  margin: 0;
}

.hero-content h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.75rem;
  margin-bottom: 1rem;
  color: var(--blue-dark);
}

.hero-content p {
  font-size: 1.25rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

/* HERO VIDEO VARIANT */
.hero-video {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.hero-background-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-video .hero-content {
  position: relative;
  z-index: 1;
  background-color: rgba(255, 255, 255, 0.85);
  padding: 2.5rem;
  border-radius: 1rem;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  margin-top: 20vh;
}

.hero-overlay {
  position: absolute;
  top: 0; 
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(42, 53, 64, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  text-align: center;
  padding: 2rem;
}

/* ===========================================
   BUTTONS & CALL-TO-ACTIONS
   =========================================== */

/* Basis CTA Button (voor hero's en algemene buttons) */
.cta-button {
  display: inline-flex;
  background: var(--yellow);
  color: var(--blue-dark);
  padding: 1rem 2rem;
  font-weight: bold;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
}

.cta-button:hover {
  background: var(--orange);
  transform: translateY(-2px);
  text-decoration: none;
  color: var(--blue-dark);
}

.cta-button:active {
  transform: translateY(0);
}

.cta-button:focus {
  outline: 3px solid var(--yellow);
  outline-offset: 2px;
}

/* ===========================================
   CARD STYLE CTA SECTIONS
   =========================================== */

/* Basis CTA Section */
.cta-section {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  padding: 1.5rem;
  border-left: 4px solid var(--orange);
  margin: 2rem 0;
  transition: all 0.3s ease;
}

.cta-section:hover {
  box-shadow: 0 6px 25px rgba(0,0,0,0.12);
  transform: translateY(-2px);
}

/* CTA Headers */
.cta-section h3 {
  color: var(--blue-dark);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.3rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.cta-section p {
  color: var(--blue-soft);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.cta-section p:last-of-type {
  margin-bottom: 1.5rem;
}

/* Pricing Grid */
.cta-section .pricing {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.cta-section .pricing-badge {
  background: var(--grey-light);
  padding: 0.5rem 0.8rem;
  border-radius: 6px;
  font-size: 0.9rem;
  text-align: center;
  transition: all 0.2s ease;
}

.cta-section .pricing-badge:hover {
  background: #e8e8e8;
}

.cta-section .pricing-badge strong {
  color: var(--blue-dark);
  display: block;
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.cta-section .pricing-badge .label {
  color: var(--blue-soft);
  font-size: 0.85rem;
}

/* Voor oude pricing markup (backwards compatible) */
.cta-section .pricing p {
  margin: 0;
}

.cta-section .pricing p strong {
  color: var(--blue-dark);
  font-weight: 600;
}

/* CTA Section Button (overschrijft basis .cta-button) */
.cta-section .cta-button {
  background: linear-gradient(135deg, var(--orange) 0%, #e69500 100%);
  color: white;
  padding: 0.9rem 2rem;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
  width: 100%;
  font-size: 1rem;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  font-family: inherit;
}

.cta-section .cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(246, 160, 63, 0.4);
  color: white;
  text-decoration: none;
}

.cta-section .cta-button:active {
  transform: translateY(0);
}

/* Speciale variant voor incompany/belangrijke aanbiedingen */
.cta-section.highlight {
  border-left-color: var(--yellow);
  background: linear-gradient(135deg, rgba(249, 203, 64, 0.02) 0%, rgba(255, 255, 255, 1) 100%);
  margin: auto auto;
}

.cta-section.highlight .cta-button {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-soft) 100%);
}

.cta-section.highlight .cta-button:hover {
  box-shadow: 0 6px 20px rgba(42, 53, 64, 0.4);
}

/* Lists binnen CTA's */
.cta-section ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.cta-section ul li {
  padding: 0.25rem 0;
  position: relative;
  padding-left: 1.5rem;
  color: var(--blue-soft);
}

.cta-section ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: bold;
}

/* Loading state voor CTA buttons */
.cta-section .cta-button.loading {
  opacity: 0.7;
  pointer-events: none;
  position: relative;
}

.cta-section .cta-button.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid transparent;
  border-top: 2px solid white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* ===========================================
   SECTIONS & CONTENT
   =========================================== */

section {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1rem;
  margin-bottom: 3rem;
}

section:first-of-type {
  margin-top: 6rem;
}

h2 img.inventijn-icon {
  height: 1.1em;
  vertical-align: middle;
  margin-right: 0.5rem;
  position: relative;
  top: -0.30em;
}

section h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--blue-dark);
}

.section-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 1.5rem;
}

.section-title .icon-title {
  width: 1.6rem;
  height: 1.6rem;
  stroke-width: 2;
}

/* ===========================================
   SERVICES GRID & CARDS
   =========================================== */

.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.card {
  background: var(--grey-light);
  padding: 2rem;
  border-left: 6px solid var(--yellow);
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  transform-origin: center;
  min-height: 44px;
}

.card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--blue-dark);
}

.card p {
  font-size: 1rem;
  line-height: 1.6;
  font-family: 'Barlow', sans-serif;
  color: var(--blue-soft);
}

.card a {
  display: inline-flex;
  margin-top: 1rem;
  font-weight: bold;
  color: var(--blue-dark);
  text-decoration: none;
  transition: transform 0.3s ease, color 0.3s ease;
  min-height: 44px;
  align-items: center;
}

.card a .arrow {
  display: inline-block;
  margin-right: 0.5rem;
  transition: transform 0.3s ease;
}

.card a:hover .arrow {
  transform: translateX(4px);
}

/* ===========================================
   MODULES & CONTENT BLOCKS
   =========================================== */

.module {
  background: var(--grey-light);
  padding: 2rem;
  border-left: 6px solid var(--yellow);
  border-radius: 8px;
  margin-bottom: 2rem;
}

.module h3 {
  font-family: 'Space Grotesk', sans-serif;
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
  color: var(--blue-dark);
}

.module ul {
  margin: 1rem 0;
  padding-left: 1.25rem;
}

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

.module.compact {
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  background: var(--grey-light);
  border-left: 6px solid var(--yellow);
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.module.compact h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--blue-dark);
}

.module.compact p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--blue-soft);
}

/* ===========================================
   OVER INVENTIJN - OCTANT & PRINCIPES
   =========================================== */

.inventijn-octant {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: auto;
  text-align: center;
}

.octant-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
  margin-top: 30px;
}

.octant-box {
  background: #fff;
  padding: 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  border: 1px solid #e5e7eb;
  transition: all 0.3s ease;
  min-height: 44px;
}

.octant-box:hover {
  border-color: #fb7185;
  background-color: #fff0f4;
  transform: translateY(-4px);
  box-shadow: 0 4px 10px rgba(251, 113, 133, 0.2);
}

.octant-box i {
  color: #fb7185;
  margin-bottom: 0.75rem;
  width: 36px;
  height: 36px;
  transition: transform 0.3s ease, color 0.3s ease;
}

.octant-box:hover i {
  transform: scale(1.2) rotate(-3deg);
  color: var(--orange);
}

.octant-title {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.25rem;
  font-family: 'Space Grotesk', sans-serif;
  color: var(--blue-dark);
}

.octant-desc {
  font-size: 0.875rem;
  color: #6b7280;
  line-height: 1.5;
}

/* ===========================================
   CHECKLIST & WERKWIJZE
   =========================================== */

.checklist-container {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1rem;
  border-radius: 12px;
  background: #f8fafc;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  max-width: 750px;
  margin-top: 30px;
}

.checklist-item {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 8px;
  padding: 0.6rem 1rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  font-weight: 500;
  transition: all 0.2s ease;
  min-height: 44px;
}

.checklist-item:hover {
  background-color: #eef6fb;
  transform: translateY(-1px);
}

.check-icon {
  width: 20px;
  height: 20px;
  margin-right: 0.75rem;
  color: #2563eb;
}

.check-label {
  font-size: 0.95rem;
  color: #2563eb;
}

.check-comment {
  margin-left: 0.75rem;
  font-size: 0.8rem;
}

/* ===========================================
   INTRO SECTIE (OVER PAGINA)
   =========================================== */

.intro-container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  background: var(--white);
  padding: 3rem;
  border-radius: 16px;
  border: 1px solid #e0e0e0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.intro-text {
  flex: 1 1 500px;
  max-width: 600px;
}

.intro-text h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--blue-dark);
}

.intro-text p {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1rem;
  color: var(--blue-soft);
}

.intro-video {
  flex: 1 1 300px;
  max-width: 340px;
}

.intro-video video {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

/* ===========================================
   FORMULIEREN & OVERLAYS
   =========================================== */

.inschrijf-blok,
.why-contact,
.locatieblok {
  max-width: 960px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.inschrijf-blok h2,
.why-contact h2,
.locatieblok h2 {
  font-size: 1.8rem;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--blue-dark);
  
}

.inschrijf-blok form {
  background: #fafafa;
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid #eee;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.inschrijf-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.inschrijf-form label {
  font-weight: 600;
  color: var(--blue-dark);
  display: block;
  margin-top: 1rem;
}

.inschrijf-form input,
.inschrijf-form textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  margin-top: 0.5rem;
  font-size: 1rem;
  font-family: 'Barlow', sans-serif;
  transition: border-color 0.2s;
}

.inschrijf-form input:focus,
.inschrijf-form textarea:focus {
  border-color: var(--yellow);
  outline: none;
  background: #fff;
}

.inschrijf-form textarea {
  resize: vertical;
}

.periode-selectie label {
  display: block;
  margin-bottom: 0.25rem;
  font-weight: normal;
  margin-top: 0.5rem;
}

/* OVERLAY */
.overlay {
  position: fixed;
  top: 0; 
  left: 0; 
  right: 0; 
  bottom: 0;
  background: rgba(42, 53, 64, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.overlay-content {
  background: var(--white);
  padding: 3rem;
  border-radius: 1rem;
  max-width: 600px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.overlay-content h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  font-family: 'Space Grotesk', sans-serif;
  color: var(--blue-dark);
}

.overlay-content p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--blue-soft);
  margin-bottom: 2rem;
}

/* ===========================================
   LISTS & CONTENT STYLING
   =========================================== */

section ul {
  line-height: 1.7;
  margin-top: 1rem;
  margin-bottom: 2rem;
  padding-left: 1.25rem;
  list-style: none;
}

section ul li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
}

section ul li::before {
  content: none;
  position: absolute;
  left: 0;
  top: 0;
}

.why-contact ul {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}

.why-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 1.1rem;
  line-height: 1.6;
  border-left: 4px solid var(--yellow);
  padding-left: 1rem;
}

.why-contact li::before {
  content: '';
  display: inline-block;
  background-image: url("https://lucide.dev/icons/sparkles.svg");
  background-size: 1rem;
  background-repeat: no-repeat;
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.25rem;
  flex-shrink: 0;
}

/* ===========================================
   LOGO GRID
   =========================================== */

.logogrid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin: 3rem auto;
  max-width: 1200px;
}

.logo-item {
  background: #f9f9f9;
  padding: 1.5rem;
  border-radius: 1.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 180px;
  max-height: 100px;
  filter: grayscale(100%);
  min-height: 44px;
}

.logo-item:hover {
  filter: grayscale(0%);
  background: #fff;
  transform: scale(1.05);
}

.logo-item img {
  max-width: 100%;
  max-height: 80px;
  object-fit: contain;
}

/* ===========================================
   FOOTER & ANIMATIONS
   =========================================== */

.footer-icon {
  display: inline-block;
  animation: glow 2s infinite ease-in-out;
  margin-right: 0.5rem;
}

@keyframes glow {
  0%, 100% {
    opacity: 0.7;
    filter: drop-shadow(0 0 0px rgba(255, 255, 255, 0));
  }
  50% {
    opacity: 1;
    filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.5));
  }
}

footer {
  background: var(--blue-dark);
  color: var(--white);
  text-align: center;
  padding: 2rem 1rem;
  font-size: 1rem;
}

/* ===========================================
   RESPONSIVE / MOBIELE OPTIMALISATIES
   =========================================== */

@media (max-width: 768px) {
  /* NAVIGATIE MOBIEL */
  .nav-toggle {
    display: flex;
  }
  
  nav {
    padding: 1rem;
  }
  
  nav a img {
    height: 50px;
  }
  
  .nav-links {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: var(--white);
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 2rem;
    padding-top: 2rem;
    transition: right 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 999;
  }
  
  .nav-links.active {
    right: 0;
  }
  
  .nav-links li a {
    font-size: 1.2rem;
    font-weight: 600;
    padding: 1rem 2rem;
    display: block;
    width: 100%;
    text-align: center;
    border-bottom: 1px solid var(--grey-light);
  }

  /* HERO MOBIEL */
  .hero {
    min-height: 60vh;
    padding-top: 2rem;
    padding-left: 1rem;
    padding-right: 1rem;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  
  .hero-content {
    max-width: 90%;
    padding: 1.5rem;
  }
  
  .hero-content h1 {
    font-size: 2rem;
    line-height: 1.2;
  }
  
  .hero-content p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  /* SERVICES MOBIEL */
  .services {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .card {
    padding: 1.5rem;
  }
  
  .card h3 {
    font-size: 1.1rem;
  }

  /* SECTIONS MOBIEL */
  section {
    padding: 0 1rem;
    margin-bottom: 2rem;
  }
  
  section:first-of-type {
    margin-top: 3rem;
  }
  
  section h2 {
    font-size: 1.5rem;
    text-align: center;

  }

  /* CTA SECTIONS MOBIEL */
  .cta-section {
    padding: 1.25rem;
    margin: 1.5rem 0;
  }
  
  .cta-section .pricing {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }
  
  .cta-section .pricing-badge {
    padding: 0.6rem 0.8rem;
  }
  
  .cta-section h3 {
    font-size: 1.2rem;
  }
  
  .cta-section .cta-button {
    padding: 1rem;
    font-size: 1.1rem;
  }

  /* OCTANT GRID MOBIEL */
  .octant-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .octant-box {
    padding: 1rem;
  }
  
  .octant-title {
    font-size: 0.9rem;
  }
  
  .octant-desc {
    font-size: 0.8rem;
  }

  /* INTRO CONTAINER MOBIEL */
  .intro-container {
    flex-direction: column;
    padding: 1.5rem;
    gap: 2rem;
  }
  
  .intro-text h2 {
    font-size: 1.6rem;
    text-align: center;
  }
  
  .intro-video {
    max-width: 100%;
  }

  /* FORMULIEREN MOBIEL */
  .inschrijf-blok,
  .why-contact,
  .locatieblok {
    padding: 2rem 1rem;
  }
  
  .inschrijf-blok form {
    padding: 1.5rem;
  }
  
  .inschrijf-form input,
  .inschrijf-form textarea {
    font-size: 16px; /* Voorkomt zoom op iOS */
  }
  
  .cta-button {
    width: 100%;
    text-align: center;
    padding: 1rem;
    font-size: 1.1rem;
  }

  /* CHECKLIST MOBIEL */
  .checklist-container {
    padding: 0.5rem;
  }
  
  .checklist-item {
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
  }
  
  .check-icon {
    width: 18px;
    height: 18px;
    margin-right: 0.5rem;
  }

  /* MODULES MOBIEL */
  .module {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .module h3 {
    font-size: 1.2rem;
  }
  
  .module.compact {
    padding: 1rem;
  }

  /* OVERLAY MOBIEL */
  .overlay-content {
    padding: 2rem 1.5rem;
    margin: 1rem;
    max-width: calc(100% - 2rem);
  }
  
  .overlay-content h2 {
    font-size: 1.5rem;
  }

  /* LOGO GRID MOBIEL */
  .logogrid {
    gap: 1rem;
  }
  
  .logo-item {
    padding: 1rem;
    max-width: 140px;
    max-height: 80px;
  }
  
  .logo-item img {
    max-height: 60px;
  }

  /* FOOTER MOBIEL */
  footer {
    padding: 1.5rem 1rem;
    font-size: 0.9rem;
  }

  /* LOCATIE IFRAME MOBIEL */
  .locatieblok iframe {
    margin-top: 1.5rem;
    border-radius: 8px;
    height: 300px;
  }
}

/* Extra kleine schermen (CTA pricing badges) */
@media (max-width: 480px) {
  .cta-section {
    padding: 1rem;
    border-radius: 8px;
  }
  
  .cta-section .pricing-badge {
    text-align: left;
    padding: 0.5rem 0.6rem;
  }
  
  .cta-section .pricing-badge strong {
    display: inline;
    margin-right: 0.5rem;
  }
}

/* ===========================================
   TABLET OPTIMALISATIES (768px - 1024px)
   =========================================== */

@media (min-width: 769px) and (max-width: 1024px) {
  nav a img {
    height: 60px;
  }
  
  .hero-content h1 {
    font-size: 2.2rem;
  }
  
  .services {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .octant-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .intro-container {
    padding: 2rem;
  }
}

/* ===========================================
   ACCESSIBILITY & FOCUS STATES
   =========================================== */

/* Focus states voor keyboard navigation */
.nav-links a:focus,
.card a:focus,
button:focus,
input:focus,
textarea:focus {
  outline: 3px solid var(--yellow);
  outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --blue-dark: #000000;
    --blue-soft: #333333;
    --yellow: #FFD700;
    --orange: #FF8C00;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ===========================================
   PRINT STYLES
   =========================================== */

@media print {
  nav,
  .nav-toggle,
  .overlay,
  footer,
  .cta-button {
    display: none !important;
  }
  
  .hero {
    background: none !important;
    color: black !important;
  }
  
  .hero-content {
    background: white !important;
    box-shadow: none !important;
    border: 1px solid #ccc;
  }
  
  .card,
  .module,
  .cta-section {
    border: 1px solid #ccc;
    break-inside: avoid;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
  }
  
  h1, h2, h3 {
    color: black !important;
        Margin-top: 30px;
  }
}

/* Icon alignment fix voor module headers */
.module.compact h3 i[data-lucide] {
  vertical-align: middle;
  margin-right: 0.5rem;
  position: relative;
  top: -1px; /* Kleine correctie voor perfecte alignment */
}

/* Ook voor andere h3 elementen met Lucide icons */
h3 i[data-lucide] {
  vertical-align: middle;
  margin-right: 0.5rem;
  position: relative;
  top: -1px;
}

/* ===========================================
   UTILITY CLASSES
   =========================================== */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.text-center {
  text-align: center;
}

.hidden {
  display: none !important;
}

.visible {
  display: block !important;
}

/* Loading states */
.loading {
  opacity: 0.6;
  pointer-events: none;
  position: relative;
}

.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid var(--grey-light);
  border-top: 2px solid var(--blue-dark);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Form focus improvements */
.form-group {
  position: relative;
}

.form-group.focused label {
  color: var(--orange);
  transform: translateY(-2px);
}

/* Smooth scrolling anchor offset */
.anchor-offset {
  scroll-margin-top: 100px;
}