/* ========================================================
   brepp — hoofdstylesheet
   Rustige, moderne stijl met accent op eenvoud en overzicht
   ======================================================== */

/* ========== VARIABELEN & THEMING ===a======= */
:root {
  --color-accent: #1f3a93;
  --color-accent-light: #a6cedc;
  --color-accent-alt: #f09d51;
  --font-base: 'Montserrat', sans-serif;
  --transition-fast: 0.3s ease;
  --hero-bg: linear-gradient(180deg, #ffffff 0%, #f4f7fb 100%);
  
}

:root[data-theme="light"] {
  --color-bg: #ffffff;
  --color-bg-secondary: #f4f4f4;
  --color-bg-tertiary: #e6e6e6;
  --color-text-primary: #333333;
  --color-text-secondary: #1a1a1a;
  --color-text-dark: #000000;
  --color-form-bg: #f4f4f4;
  --color-nav-bg: rgba(255, 255, 255, 0.85);
}

:root[data-theme="light"] .page-background-b {
  opacity: 0.12;
  filter: blur(1px) grayscale(100%) contrast(100%);
}

:root[data-theme="dark"] {
  --color-bg: #1a1a1a;
  --color-bg-secondary: #333333;
  --color-bg-tertiary: #444444;
  --color-form-bg: #1a1a1a;
  --color-text-primary: #e6e6e6;
  --color-text-secondary: #ffffff;
  --color-text-dark: #ffffff;
  --color-nav-bg: rgba(26, 26, 26, 0.6);
  --hero-bg: linear-gradient(180deg, #1a1a1a 0%, #333333 100%);
}

:root[data-theme="dark"] .contact input:focus,
:root[data-theme="dark"] .contact textarea:focus {
  background: var(--color-bg-secondary);
  box-shadow: 0 0 0 2px var(--color-accent-light);
}

:root[data-theme="dark"] .contact-expectations-list .check-icon {
  color: var(--color-accent-alt);
}

:root[data-theme="dark"] .contact-info-list a {
  color: var(--color-accent-alt);
}

:root[data-theme="dark"] .contact-icon {
  stroke: var(--color-accent-alt);
}

/* ========== BASISLAYOUT ========== */
html {
  height: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-base);
  background-color: var(--color-bg);
  color: var(--color-text-primary);
  line-height: 1.6;
  transition: background-color var(--transition-fast), color var(--transition-fast);
}


.container {
  width: min(90%, 1200px);
  margin: 0 auto;
  padding: 0 1rem;
}

.hidden {
  display: none !important;
}

.text-left {
  text-align: left !important;
}

.content-narrow {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.content-medium {
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

.page-background-b {
  content: "";
  position: fixed;
  z-index: -1;
  top: 15%;
  left: 40%;
  width: 1200px;
  height: 1200px;
  background: url('/assets/brepp-b-deco.svg') no-repeat center center;
  background-size: contain;
  opacity: 0.02; /* subtieler */
  filter: blur(1.5px);
  transform: translateX(-40%);
  pointer-events: none;
}

@media (max-width: 800px) {
  .page-background-b {
    display: none;
  }
}



/* ========== HEADER & NAVIGATIE ========== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.55);
  z-index: -1;
  pointer-events: none;
}

[data-theme="dark"] header::before {
  background: rgba(0, 0, 0, 0.55);
}

.nav {
  background-color: transparent;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

.with-header-offset {
  padding-top: 80px;
}

#brepp-logo {
  height: 42px !important;
  width: auto !important;
  max-width: 100% !important;
}

.nav {
  display: flex;
  justify-content: center;
  position: relative;
  overflow: visible;
  align-items: center;
  height: 72px;
  width: 100%;
  z-index: 20;
  background-color: var(--color-nav-bg);
  border-bottom: 1px solid var(--color-bg-tertiary);
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: box-shadow 0.3s ease, background-color 0.3s ease;
}

.nav > .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.nav.scrolled {
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.nav-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.6rem;
}

.nav-right > * {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
}

.nav::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  pointer-events: none;
  z-index: -1; /* belangrijk! */
  background: rgba(255, 255, 255, 0.25);
}

[data-theme="dark"] .nav::before {
 background: rgba(26, 26, 26, 0.25);
}

.logo,
.logo-footer {
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--color-text-dark);
  text-decoration: none;
  transition: color var(--transition-fast), transform var(--transition-fast);
}
.logo:hover,
.logo-footer:hover {
  color: var(--color-accent-alt);
  transform: scale(1.05);
}
.logo:focus,
.logo-footer:focus,
.nav-links a:focus {
  outline: none;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--color-text-primary);
  font-weight: 600;
  transition: color var(--transition-fast);
}

.nav-links a:hover {
  color: var(--color-accent-alt);
}

.has-submenu {
  position: relative;
}

.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--color-bg);
  border: 1px solid var(--color-bg-tertiary);
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  display: none;
  list-style: none;
  padding: 0.5rem 0;
  z-index: 99;
  flex-direction: column;
}

.has-submenu:hover .submenu {
  display: flex;
}

.submenu li a {
  display: block;
  padding: 0.5rem 2rem;
  white-space: nowrap;
  text-decoration: none;
  color: var(--color-text-primary);
}

.submenu li a:hover {
  background: var(--color-bg-secondary);
  color: var(--color-accent-alt);
}

/* WhatsApp link in header */
.whatsapp-link a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: #fff; /* wit op donkere achtergrond */
  text-decoration: none;
  height: 40px;
  padding: 0 1rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  background: transparent;
  transition: color 0.2s, background 0.2s, transform 0.2s;
}

[data-theme="light"] .whatsapp-link a {
  color: var(--color-accent);
}

[data-theme="dark"] .whatsapp-link a {
  color: #fff;
}

.whatsapp-link svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.whatsapp-link a:hover {
  color: var(--color-accent-alt);
  background: rgba(240, 157, 81, 0.1);
  transform: scale(1.05);
}

.whatsapp-link .whatsapp-text {
  font-weight: 600;
  font-size: 1.05rem;
}

@media (max-width: 768px) {
  .whatsapp-link .whatsapp-text {
    display: none;
  }
}


/* ========== HAMBURGER MENU & MOBIEL ========== */
.hamburger {
  background: none;
  border: none;
  flex-direction: column;
  gap: 4px;
  height: 40px;
  cursor: pointer;
  padding: 0;
  display: none;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--color-text-primary);
  border-radius: 2px;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.hamburger:hover span {
  background: var(--color-accent);
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    background: var(--color-bg);
    flex-direction: column;
    border-top: 1px solid var(--color-bg-tertiary);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    z-index: 1001;
    overflow: hidden;
    max-height: 0;
    transition: max-height var(--transition-fast) ease;
  }

.nav-links.active {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 1.5rem 1.5rem 2rem;
  gap: 1rem;
  position: fixed;
  top: 0;
  left: 0;
  margin-top: 72px;
  width: 100%;
  height: calc(100vh - 72px);
  max-height: none;
  overflow-y: auto;
  background: var(--color-bg);
  border-top: 1px solid var(--color-bg-tertiary);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  z-index: 1001;
}

  .nav-links li {
    margin: 0;
  width: 100%;
  }

  .nav-links a {
    display: block;
    width: 100%;
    padding: 0.75rem 0.5rem;
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--color-text-primary);
    text-decoration: none;
  }

  .nav-links a:hover,
  .nav-links a:focus {
    background: var(--color-bg-secondary);
    color: var(--color-accent-alt);
  }

  .has-submenu .submenu {
    position: static;
    display: flex;
    border: none;
    box-shadow: none;
    padding: 0.2rem 0 0.5rem;
    flex-direction: column;
  }

  .has-submenu .submenu li a {
    padding-left: 2.5rem;
    padding-top: 0.4rem;
    padding-bottom: 0.4rem;
    font-weight: 500;
    font-size: 0.95rem;
  }

  .has-submenu .submenu li a:hover {
    background: var(--color-bg-secondary);
    color: var(--color-accent-alt);
  }
}


/* ========== THEME TOGGLE ========== */
.theme-switch {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  width: 40px;
  padding: 0;
  margin: 0;
}

.theme-toggle {
  font-size: 1.5rem;
  width: 40px;
  height: 40px;
  border: none;
  background: none;
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  margin: 0;
  line-height: 1;
}

.theme-toggle:hover {
  transform: scale(1.1);
}

.theme-toggle:focus {
  outline: none;
}

.theme-toggle--toggled {
  transform: rotate(20deg);
}

[data-theme="dark"] .theme-toggle {
  color: var(--color-accent-alt);
}

.theme-toggle svg {
  pointer-events: none;
}

.theme-toggle:hover {
  transform: scale(1.1);
}

.theme-toggle:focus {
  outline: none;
}

.theme-toggle--toggled {
  transform: rotate(20deg);
}

[data-theme="dark"] .theme-toggle {
  color: var(--color-accent-alt);
}

/* ========== HERO ========== */

.hero {
  width: 100%;
  padding: 3.5rem 0 3rem 0;
  background: var(--hero-bg);
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  overflow-x: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: center;
  gap: 4rem;
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
}

.hero-text {
  text-align: left;
  max-width: 640px;
}

.hero-text h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  line-height: 1.2;
  color: var(--color-text-dark);
}

.hero-text .subtitle {
  display: block;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--color-accent-alt);
  margin-top: 0.4rem;
}

.hero-text p {
  font-size: 1.14rem;
  line-height: 1.75;
  margin-bottom: 1.8rem;
  color: var(--color-text-primary);
  max-width: 640px;
  margin-left: 0;
  margin-right: 0;
}

.hero-text .btn.primary {
  font-size: 1rem;
  min-width: 220px;
  white-space: nowrap;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 0;
  max-width: 100%;
  overflow: hidden;
}

.mockup-wrapper {
  width: 100%;
  max-width: 720px;
}

.mockup-wrapper img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 0.6rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  animation: fadeInUp 0.8s ease 0.2s both;
  transition: transform 0.4s ease;
}

.mockup-wrapper img:hover {
  transform: scale(1.02);
}

.hero-divider {
  height: 4px;
  background-color: var(--color-accent-alt);
  margin-top: 0rem;
  border-radius: 2px;
  width: 100%;
  opacity: 0;
  transform: translateY(16px);
  animation: fadeInUp 0.8s ease 0.2s both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========== RESPONSIVE ========== */

@media (max-width: 1000px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }

  .hero-text {
    margin: 0 auto;
    padding: 0 1.4rem;
    text-align: center;
  }

  .hero-text p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-text .btn.primary {
    margin: 0 auto;
  }

  .hero-visual {
    margin-top: 1.8rem;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
  }

  .mockup-wrapper img {
    transform: none;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 3rem 0 2.5rem 0;
  }

  .hero-text h1 {
    font-size: 2.1rem;
  }

  .hero-text p {
    font-size: 1.05rem;
  }

  .hero-visual {
    max-width: 100%;
  }

  .mockup-wrapper img {
    transform: none;
  }
}


/* ========== BUTTONS ========== */
.btn {
  display: inline-block;
  text-decoration: none;
  font-family: inherit;
  font-size: inherit;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.btn.primary {
  border: none;
  background: linear-gradient(45deg, var(--color-accent), var(--color-accent-alt));
  background-size: 200% 200%;
  color: #fff;
  padding: 0.8rem 1.75rem;
  border-radius: 0.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-position 0.4s ease, transform 0.3s ease;
}

.btn.primary:hover {
  background-position: right center;
  color: #fff;
  transform: translateY(-2px);
}

/* ========== SECTIES & GRID ========== */
section h2 {
  font-size: 2.1rem;
  margin-bottom: 1.4rem;
  scroll-margin-top: 100px;
  text-align: left;
  padding-left: 0.8rem;
}

section h2::after {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  background: var(--color-accent-alt);
  margin-top: 0.4rem;
}

.contact h2::after {
  display: none;
}

section.alt-bg {
  background-color: var(--color-bg-secondary);
  border-radius: 1rem;
  padding: 3.5rem 1rem;
  margin-top: 4rem;
}


section:not(.hero) {
  margin-top: 4rem;
}

section:not(.hero)::before {
  content: "";
  display: none;
  height: 1px;
  background-color: var(--color-bg-tertiary);
  margin: 0 auto 2.5rem;
  max-width: 80%;
}



@media (min-width: 1000px) {
  section:not(.hero) {
    margin-top: 6rem;
  }
}

.contact h2 {
  text-align: center;
}

.why {
  margin-top: 4rem;
  padding: 2rem;
  padding-top: 2rem;
  padding-bottom: 2rem;
  background: none;
  border-radius: 0;
}

.why-text {
  margin-bottom: 1.4rem;
  font-size: 1.05rem;
  line-height: 1.6;
}

.why .emphasis {
  color: var(--color-accent-alt);
  font-weight: 700;
  font-size: 1.1rem;
}


.why .container {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 1rem;
}

.why h2 {
  text-align: left;
  padding-left: 0;
}

.why-textblock {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.why-textblock p {
  font-size: 1.08rem;
  line-height: 1.7;
  margin: 0;
}

.why-benefits {
  list-style: none;
  padding-left: 0;
  margin: 1rem 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.why-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding-bottom: 0.4rem;
  font-size: 1.05rem;
  color: var(--color-text-primary);
}

.why-benefits svg {
  width: 24px;
  height: 24px;
  color: var(--color-accent-alt);
  flex-shrink: 0;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.why-benefits li svg {
  color: var(--color-accent-alt);
}

@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}

/* Responsiveness */
@media (max-width: 768px) {
  .why-left,
  .why-left .why-textblock,
  .why-left .why-benefits {
    text-align: left !important;
    align-items: flex-start !important;
    justify-content: flex-start;
  }
  .why-left .why-benefits li {
    justify-content: flex-start;
  }
}

.services .service-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.service-item {
  background: transparent;
  padding: 1.5rem;
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: 1rem;
  text-align: center;
  cursor: pointer;
  border-left: 3px solid transparent;
  transition: transform var(--transition-fast), border-color 0.3s ease, background-color 0.3s ease;
}

.service-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  background-color: var(--color-bg-tertiary);
  border-left: 3px solid var(--color-accent-alt);
  text-decoration: none;
}

.service-item h3,
.service-item p {
  color: inherit;
  margin-bottom: 0.6rem;
}

@media (max-width: 600px) {
  .service-grid {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

.brepp-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 1rem;
  color: var(--color-accent);
  transition: color 0.25s ease;
}

@keyframes wiggle {
  0% { transform: scale(1) rotate(0deg); }
  20% { transform: scale(1.08) rotate(-1.5deg); }
  40% { transform: scale(1.08) rotate(1.5deg); }
  60% { transform: scale(1.05) rotate(-1deg); }
  80% { transform: scale(1.05) rotate(1deg); }
  100% { transform: scale(1) rotate(0deg); }
}

.service-item:hover .brepp-icon {
  color: var(--color-accent-alt);
  animation: wiggle 0.5s ease;
}


@media (max-width: 600px) {
  .brepp-icon {
    width: 60px;
  }
}


.audience-textblock p {
  margin-bottom: 1.6rem;
  font-size: 1.08rem;
  line-height: 1.7;
}

/* ========== AUDIENCE SVG ANIMATION ========== */

/* Variabelen – makkelijk aan te passen */
:root {
  --circle-radius: 55px;
  --circle-offset-x: 80px;
  --circle-offset-y: 75px;
  --folder-size: 48px;
  --file-size: 20px;
}

.example-image {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 160px;
  padding: 1rem 0;
  position: relative;
}

.file-folder-anim {
  width: 180px;
  height: 180px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.circle-group {
  position: absolute;
  top: 50%;
  left: 50%;
  transform:
    translate(-50%, -50%)
    translate(var(--circle-offset-x), var(--circle-offset-y));
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.folder-icon {
  animation: none;
}

.animate-hover .folder-icon {
  animation: pulseFolder 8s ease-in-out infinite;
}


@keyframes pulseFolder {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.08);
  }
}

.file-icon {
  position: absolute;
  width: var(--file-size);
  height: var(--file-size);
  stroke: var(--color-accent);
  fill: none;
  opacity: 1;
  transform-origin: center center;
  transition:
    opacity 0.4s ease,
    transform 0.4s ease;
}

/* Cirkelposities */
.file-icon:nth-child(1) {
  transform: rotate(0deg) translate(var(--circle-radius)) rotate(-0deg);
}
.file-icon:nth-child(2) {
  transform: rotate(72deg) translate(var(--circle-radius)) rotate(-72deg);
}
.file-icon:nth-child(3) {
  transform: rotate(144deg) translate(var(--circle-radius)) rotate(-144deg);
}
.file-icon:nth-child(4) {
  transform: rotate(216deg) translate(var(--circle-radius)) rotate(-216deg);
}
.file-icon:nth-child(5) {
  transform: rotate(288deg) translate(var(--circle-radius)) rotate(-288deg);
}

.folder {
  position: absolute;
  top: calc(50% - 10px);
  left: 50%;
  width: var(--folder-size);
  height: var(--folder-size);
  transform: translate(-50%, -50%);
}

.folder-icon {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  transition:
    opacity 0.4s ease,
    transform 0.4s ease;
  transform-origin: center center;
}

.folder-default {
  stroke: var(--color-accent);
  opacity: 1;
  transform: scale(1);
}

.folder-heart {
  stroke: var(--color-accent-alt);
  opacity: 0;
  transform: scale(0.8);
}

/* ========== Hover Animations (desktop) ========== */

.file-folder-anim:hover .file-icon {
  opacity: 0;
  transform: translate(0, 0) scale(0.3);
}

/* Vloeiende vertraging per file */
.file-folder-anim:hover .file-icon:nth-child(1) { transition-delay: 0s; }
.file-folder-anim:hover .file-icon:nth-child(2) { transition-delay: 0.1s; }
.file-folder-anim:hover .file-icon:nth-child(3) { transition-delay: 0.2s; }
.file-folder-anim:hover .file-icon:nth-child(4) { transition-delay: 0.3s; }
.file-folder-anim:hover .file-icon:nth-child(5) { transition-delay: 0.4s; }

.file-folder-anim:hover .folder-default {
  opacity: 0;
  transform: scale(0.8);
  transition-delay: 0.6s;
}

.file-folder-anim:hover .folder-heart {
  opacity: 1;
  transform: scale(1);
  transition-delay: 0.6s;
}

/* ========== Scroll Animations (mobiel) ========== */

.file-folder-anim.animate-hover .file-icon {
  opacity: 0;
  transform: translate(0, 0) scale(0.3);
}

.file-folder-anim.animate-hover .file-icon:nth-child(1) { transition-delay: 0s; }
.file-folder-anim.animate-hover .file-icon:nth-child(2) { transition-delay: 0.1s; }
.file-folder-anim.animate-hover .file-icon:nth-child(3) { transition-delay: 0.2s; }
.file-folder-anim.animate-hover .file-icon:nth-child(4) { transition-delay: 0.3s; }
.file-folder-anim.animate-hover .file-icon:nth-child(5) { transition-delay: 0.4s; }

.file-folder-anim.animate-hover .folder-default {
  opacity: 0;
  transform: scale(0.8);
  transition-delay: 0.6s;
}

.file-folder-anim.animate-hover .folder-heart {
  opacity: 1;
  transform: scale(1);
  transition-delay: 0.6s;
}

/* ========== EXAMPLES ========== */
.example-card {
  display: flex;
  flex-direction: column;
  background: var(--color-bg-secondary);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.example-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 14px rgba(0,0,0,0.06);
}

.example-image img {
  height: auto;
  width: 100%;
  object-fit: contain;
}

.example-body {
  padding: 1.5rem;
}
.example-body h3 {
  margin-top: 0;
  margin-bottom: 0.6rem;
  font-size: 1.15rem;
}
.example-body p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
}

.examples-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

/* ========== CAROUSEL ========== */
.carousel-track {
  display: flex;
  overflow-x: auto;
  gap: 2rem;
  scroll-snap-type: x mandatory;
}

.carousel-track img {
  scroll-snap-align: center;
  max-height: 60px;
  transition: transform var(--transition-fast);
}

.carousel-track img:hover {
  transform: scale(1.05);
}

/* ========== CONTACT FORM ========== */
.contact {
  margin-bottom: 2rem;
  text-align: left;
}

.contact form {
  display: grid;
  gap: 1.25rem;
  width: 100%;
  max-width: 810px;
  box-sizing: border-box;
  margin: 0 auto;
  background: var(--color-form-bg);
  padding: 1.5rem 1.2rem 1.6rem;
  border-radius: 1rem;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.05);
}

.contact form label {
  margin-bottom: 0.5rem;
}

.required-marker {
  color: var(--color-accent-alt);
  font-weight: 600;
  margin-left: 0.2rem;
}

@media (max-width: 600px) {
  .contact form {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    max-width: 95%;
  }
}

.contact label {
  font-weight: 600;
  color: var(--color-text-dark);
  margin-bottom: 0.3rem;
  display: block;
}

.contact input,
.contact textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 0.9rem 1.1rem;
  border: 1.6px solid var(--color-bg-tertiary);
  border-radius: 0.6rem;
  background: var(--color-bg);
  color: var(--color-text-primary);
  font-family: var(--font-base);
  font-size: 1.05rem;
  line-height: 1.4;
  transition: border-color 0.17s, box-shadow 0.17s, background 0.18s, color 0.18s;
  outline: none;
  margin-top: 0.15rem;
}

:root[data-theme="dark"] .contact input,
:root[data-theme="dark"] .contact textarea {
  background: var(--color-bg-secondary);
  color: var(--color-text-primary);
  border-color: var(--color-bg-tertiary);
}

.contact textarea {
  resize: vertical;
  min-height: 130px;
  max-height: 400px;
}

.contact input:focus,
.contact textarea:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 2px var(--color-accent-light);
  background: var(--color-bg-secondary);
  transition: border-color 0.17s ease, box-shadow 0.17s ease, background-color 0.18s ease;
}

.contact .btn.primary {
  margin-top: 1.5rem;
  width: 100%;
  padding: 1.05rem 0;
  font-size: 1.08rem;
  letter-spacing: 0.02em;
  border-radius: 0.6rem;
}

.contact .btn.primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  background: var(--color-accent-light);
  color: var(--color-text-primary);
}

/* Honeypot altijd onzichtbaar */
#honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* ========== CONTACT PAGE ========== */

.contact-page-wrapper {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.contact-page-wrapper h1 {
  margin-bottom: 1.5rem;
}

.contact-page-wrapper .why-text {
  margin-bottom: 1.5rem;
}

#responseMessage {
  margin-top: 1rem;
  min-height: 2.2em;
  text-align: center;
  font-size: 1.08rem;
  font-weight: 500;
  transition: color 0.18s;
}

#responseMessage.success {
  color: var(--color-accent);
}
#responseMessage.error {
  color: var(--color-accent-alt);
}

.contact-info-list {
  line-height: 1.8;
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.contact-info-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 1.05rem;
  color: var(--color-text-primary);
}

.contact-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  stroke: var(--color-accent);
  fill: none;
  stroke-width: 2;
}

.contact-info-list a {
  color: var(--color-accent);
  text-decoration: none;
}

.contact-expectations-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.contact-expectations-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 1.05rem;
  color: var(--color-text-primary);
}

.contact-expectations-list .check-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  color: var(--color-accent);
}

.section-spacing {
  margin-top: 2.5rem;
}

.section-spacing.small {
  margin-top: 3rem;
}

.section-spacing.large {
  margin-top: 8rem;
  margin-bottom: 8rem;
}

@media (max-width: 768px) {
  .section-spacing.large {
    margin-top: 4rem;
    margin-bottom: 4rem;
  }
}

/* ========== FOOTER ========== */
.footer {
  background: var(--color-bg-secondary);
  padding: 3.2rem 0 2rem;
  color: var(--color-text-primary);
  border-top-left-radius: 2rem;
  border-top-right-radius: 2rem;
  box-shadow: 0 -2px 12px rgba(31,58,147,0.03);
  margin-top: 3rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(185px, 1fr));
  gap: 2.2rem 2.5rem;
  align-items: flex-start;
  padding-bottom: 2rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  min-width: 140px;
}

.logo-footer {
  font-size: 1.38rem;
  font-weight: 700;
  color: var(--color-accent);
  text-decoration: none;
  margin-bottom: 0.4rem;
  letter-spacing: -0.01em;
  display: inline-block;
}

.footer-tagline {
  font-size: 1.01rem;
  font-weight: 600;
  color: var(--color-accent-alt);
  margin-bottom: 0.25rem;
}

.footer-subtext {
  color: var(--color-text-primary);
  font-size: 0.97rem;
  margin-bottom: 0.2rem;
}

.footer-social {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.5rem;
}
.footer-social img {
  width: 26px;
  height: 26px;
  opacity: 0.85;
  transition: opacity 0.14s, transform 0.17s;
}
.footer-social img:hover {
  opacity: 1;
  transform: scale(1.14);
}

.footer-social a svg {
  width: 26px;
  height: 26px;
  color: var(--color-accent-alt);
  opacity: 0.85;
  transition: color 0.3s, opacity 0.14s, transform 0.17s;
}

.footer-social a:hover svg {
  color: var(--color-accent);
  opacity: 1;
  transform: scale(1.14);
}

.footer-services h3,
.footer-contact h3,
.footer-legal h3,
.footer-cta h3 {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--color-text-secondary);
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.footer-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-content li {
  margin-bottom: 0.5rem;
  line-height: 1.7;
}
.footer-content a {
  color: var(--color-text-primary);
  text-decoration: none;
  transition: color 0.15s;
}
.footer-content a:hover,
.footer-content a:focus {
  color: var(--color-accent-alt);
}

.footer-legal p {
  margin: 0.2rem 0;
  font-size: 0.92rem;
}
.footer-legal p strong {
  font-weight: 600;
}

/* Call-to-Action blok */
.footer-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  margin-top: 0.8rem;
}

.footer-cta h3 {
  color: var(--color-accent);
}

[data-theme="dark"] .footer-cta h3 {
  color: var(--color-text-dark);
}

.footer-cta .btn.primary {
  text-align: center;  
  font-weight: 600;
  padding-left: 0;
  padding-right: 0;
  min-width: 180px;
  margin-top: 0.2rem;
  width: 100%;
  padding: 1.05rem 0;
  border-radius: 0.6rem;
  box-shadow: 0 1px 5px rgba(240, 157, 81, 0.05);
  align-self: stretch;
}

@media (max-width: 800px) {
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 2rem 1rem;
  }
  .footer-cta {
    margin-top: 1.4rem;
    align-items: flex-start;
  }
}

@media (max-width: 550px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem 0;
    padding-bottom: 0.5rem;
  }
  .footer-cta .btn.primary {
    margin-bottom: 1rem;
    margin-top: 0.6rem;
    width: 100%;
    text-align: center;
  }
}

.footer-bottom {
  border-top: 1px solid var(--color-bg-tertiary);
  padding: 1.05rem 0 0.6rem 0;
  margin-top: 0.2rem;
}
.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 0.83rem;
  color: var(--color-text-secondary);
  gap: 0.35rem;
  letter-spacing: 0.01em;
}

@media (min-width: 601px) {
  .footer-bottom-inner {
    flex-direction: row;
    justify-content: space-between;
  }
}
.footer-credit a {
  font-style: italic;
  color: inherit;
  text-decoration: none;
  font-weight: 600;
}
.footer-credit a:hover,
.footer-credit a:focus {
  text-decoration: underline;
}

/* ========== ANIMATIES ========== */
.animate {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.animate.visible {
  opacity: 1;
  transform: none;
}

/* Alleen hero subtiel extra */
.hero-text.animate {
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp 0.6s ease-out forwards;
  animation-delay: 0.2s;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========== PREVIEW OVERLAY ========== */
#preview-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  pointer-events: all;
  opacity: 1;
  transition: opacity 0.32s cubic-bezier(.53,.18,.23,1.07);
}

#preview-overlay.hidden {
  display: none !important;
  opacity: 0 !important;
}

#preview-overlay .overlay-content {
  z-index: 10000;
  background: var(--color-bg);
  padding: 2rem;
  border-radius: 1.2rem;
  box-shadow: 0 10px 34px rgba(31,58,147,0.11);
  text-align: center;
  max-width: 370px;
  width: 94%;
  animation: overlayUp 0.5s cubic-bezier(.61,.06,.21,.99);
}

@keyframes overlayUp {
  from {
    transform: translateY(32px) scale(0.98);
    opacity: 0.7;
  }
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

#preview-overlay h2 {
  margin-bottom: 1rem;
  font-size: 1.37rem;
  color: var(--color-text-dark);
  letter-spacing: -0.01em;
}

#preview-overlay p {
  margin-bottom: 1.5rem;
  color: var(--color-text-primary);
}

#preview-button {
  padding: 0.92rem 2.1rem;
  font-size: 1.08rem;
  border: none;
  border-radius: 0.6rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s, transform 0.17s;
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 2px 7px rgba(31,58,147,0.08);
}
#preview-button:hover,
#preview-button:focus {
  background: var(--color-accent-alt);
  color: var(--color-text-primary);
  transform: translateY(-2px) scale(1.05);
}

.fade-out {
  animation: fadeOut 0.3s ease forwards;
}

@keyframes fadeOut {
  from { opacity: 1; }
  to { opacity: 0; }
}

html, body {
  overflow-x: hidden;
}