/* ============================================
   LiBeR Landing Page v2 – Modern Edition 2026
   Latest CSS skills: scroll-driven animations,
   container queries, view transitions, modern
   selectors, clamp(), has(), color-mix()
   ============================================ */

:root {
  --orange: #E87722;
  --orange-light: #FFF3EB;
  --orange-dark: #C4611A;
  --orange-glow: rgba(232, 119, 34, 0.25);
  --green-field: #2D5A27;
  --gray-50: #FAFAFA;
  --gray-100: #F5F5F5;
  --gray-200: #EEEEEE;
  --gray-300: #E0E0E0;
  --gray-400: #BDBDBD;
  --gray-500: #9E9E9E;
  --gray-600: #757575;
  --gray-700: #616161;
  --gray-800: #424242;
  --gray-900: #212121;
  --white: #FFFFFF;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
  --shadow-xl: 0 16px 48px rgba(0,0,0,0.15);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Libre Caslon Text', Georgia, serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--white);
  color: var(--gray-900);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: var(--orange); text-decoration: none; }
a:hover { color: var(--orange-dark); }

.accent { color: var(--orange); }

/* ---- SCROLL-DRIVEN REVEAL ANIMATIONS ---- */
.fade-in,
.fade-in-left,
.fade-in-right,
.service-card,
.partner-card,
.publication-card,
.ny-card {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-left { transform: translateX(-40px); }
.fade-in-right { transform: translateX(40px); }

.fade-in.visible,
.fade-in-left.visible,
.fade-in-right.visible,
.service-card.visible,
.partner-card.visible,
.publication-card.visible,
.ny-card.visible {
  opacity: 1;
  transform: translate(0);
}

.service-card:nth-child(2) { transition-delay: 0.08s; }
.service-card:nth-child(3) { transition-delay: 0.16s; }
.service-card:nth-child(4) { transition-delay: 0.24s; }
.service-card:nth-child(5) { transition-delay: 0.32s; }
.service-card:nth-child(6) { transition-delay: 0.40s; }

.partner-card:nth-child(2) { transition-delay: 0.04s; }
.partner-card:nth-child(3) { transition-delay: 0.08s; }
.partner-card:nth-child(4) { transition-delay: 0.12s; }
.partner-card:nth-child(5) { transition-delay: 0.16s; }
.partner-card:nth-child(6) { transition-delay: 0.20s; }

.ny-card:nth-child(n) { transition-delay: calc(var(--i, 0) * 0.03s); }

.publication-card:nth-child(1) { transition-delay: 0s; }
.publication-card:nth-child(2) { transition-delay: 0.06s; }
.publication-card:nth-child(3) { transition-delay: 0.12s; }
.publication-card:nth-child(4) { transition-delay: 0.18s; }

/* ---- NAVIGATION (Glassmorphism) ---- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-scrolled {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom-color: rgba(0, 0, 0, 0.06);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 4px 24px rgba(0, 0, 0, 0.04);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  text-decoration: none;
  display: flex;
  align-items: center;
}

.nav-logo-img {
  height: 40px;
  width: auto;
  transition: opacity 0.4s;
}

.nav-logo-white { opacity: 1; }
.nav-logo-orange { opacity: 0; position: absolute; }

.nav-scrolled .nav-logo-white { opacity: 0; }
.nav-scrolled .nav-logo-orange { opacity: 1; }

.nav-links {
  display: flex;
  gap: 4px;
}

.nav-links a {
  color: rgba(255,255,255,0.85);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all 0.2s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--orange);
  border-radius: 1px;
  transition: width 0.3s, left 0.3s;
}

.nav-links a:hover::after {
  width: calc(100% - 32px);
  left: 16px;
}

.nav-links a:hover {
  background: rgba(255,255,255,0.12);
  color: var(--white);
}

.nav-scrolled .nav-links a {
  color: var(--gray-600);
}

.nav-scrolled .nav-links a:hover {
  background: var(--orange-light);
  color: var(--orange);
}

.nav-scrolled .nav-links a:hover::after {
  background: var(--orange);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--white);
  transition: color 0.3s;
}

.nav-scrolled .nav-toggle { color: var(--gray-700); }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: var(--font-sans);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn .material-symbols-outlined { font-size: 18px; }

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

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.btn-primary:hover::before { opacity: 1; }

.btn-primary:hover {
  background: var(--orange-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--orange-glow);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.5);
}

.btn-outline-white:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 14px 28px;
  font-size: 16px;
  border-radius: var(--radius-md);
}

/* ---- HERO (Cinematic with animated shapes) ---- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background:
    linear-gradient(160deg, rgba(20, 20, 25, 0.85) 0%, rgba(232, 119, 34, 0.3) 50%, rgba(20, 20, 25, 0.8) 100%),
    url('https://images.unsplash.com/photo-1560090995-01632a28895b?w=1600&h=900&fit=crop') center/cover no-repeat;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(232, 119, 34, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(45, 90, 39, 0.1) 0%, transparent 50%),
    linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.6) 100%);
}

/* ---- Floating geometric shapes ---- */
.hero-shapes {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0;
  animation: shapeFloat 20s ease-in-out infinite, shapeFadeIn 2s ease forwards;
}

.hero-shape-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(232, 119, 34, 0.2), transparent 70%);
  top: -10%;
  right: -5%;
  animation-delay: 0s;
  filter: blur(40px);
}

.hero-shape-2 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(45, 90, 39, 0.15), transparent 70%);
  bottom: 10%;
  left: -3%;
  animation-delay: -7s;
  animation-direction: reverse;
  filter: blur(30px);
}

.hero-shape-3 {
  width: 120px;
  height: 120px;
  border: 2px solid rgba(232, 119, 34, 0.15);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  top: 20%;
  left: 10%;
  animation-delay: -3s;
  animation-duration: 15s;
  background: none;
  filter: none;
}

.hero-shape-4 {
  width: 80px;
  height: 80px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  top: 35%;
  right: 12%;
  animation-delay: -5s;
  animation-duration: 18s;
  background: none;
  filter: none;
}

.hero-shape-5 {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(232, 119, 34, 0.08), transparent 70%);
  bottom: 25%;
  right: 20%;
  animation-delay: -12s;
  filter: blur(20px);
}

@keyframes shapeFloat {
  0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); }
  25% { transform: translate(30px, -40px) rotate(5deg) scale(1.05); }
  50% { transform: translate(-20px, 20px) rotate(-3deg) scale(0.97); }
  75% { transform: translate(15px, 30px) rotate(4deg) scale(1.03); }
}

@keyframes shapeFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ---- Hero content with staggered word animation ---- */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  text-align: center;
  padding: 140px 24px 60px;
}

.hero-tagline {
  font-size: clamp(11px, 1.2vw, 14px);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--orange);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  opacity: 0;
  animation: fadeInUp 0.8s ease 0.3s forwards;
}

.hero-tagline-line {
  display: inline-block;
  width: 40px;
  height: 1px;
  background: var(--orange);
  opacity: 0;
  animation: lineGrow 0.6s ease 0.8s forwards;
}

@keyframes lineGrow {
  from { width: 0; opacity: 0; }
  to { width: 40px; opacity: 1; }
}

/* Animated title: words reveal one by one */
.hero-title-animated {
  font-family: var(--font-serif);
  font-size: clamp(42px, 6.5vw, 72px);
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 28px;
}

.hero-title-line {
  display: block;
  overflow: hidden;
}

.hero-title-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(100%);
  animation: wordReveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-title-line:first-child .hero-title-word:nth-child(1) { animation-delay: 0.5s; }
.hero-title-line:first-child .hero-title-word:nth-child(2) { animation-delay: 0.65s; }
.hero-title-line:first-child .hero-title-word:nth-child(3) { animation-delay: 0.8s; }
.hero-title-line:last-child .hero-title-word { animation-delay: 1.0s; }

@keyframes wordReveal {
  from { opacity: 0; transform: translateY(100%); }
  to { opacity: 1; transform: translateY(0); }
}

/* Accent word with glow */
.accent-word {
  color: var(--orange);
  position: relative;
  text-shadow: 0 0 40px rgba(232, 119, 34, 0.3);
}

.accent-word::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--orange), var(--orange-dark));
  border-radius: 3px;
  transform: scaleX(0);
  transform-origin: left;
  animation: underlineReveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) 1.4s forwards;
}

@keyframes underlineReveal {
  to { transform: scaleX(1); }
}

.hero-sub {
  font-size: clamp(16px, 1.8vw, 20px);
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0;
  animation: fadeInUp 0.8s ease 1.2s forwards;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeInUp 0.8s ease 1.5s forwards;
}

/* Glowing button */
.btn-glow {
  position: relative;
}

.btn-glow::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  z-index: -1;
  opacity: 0;
  filter: blur(12px);
  transition: opacity 0.4s;
}

.btn-glow:hover::after {
  opacity: 0.6;
}

/* Hero stat bar (glass morphism) */
.hero-stat-bar {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 0;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-xl);
  padding: 8px;
  margin: 40px 24px 100px;
  max-width: 700px;
  opacity: 0;
  animation: fadeInUp 0.8s ease 1.8s forwards;
}

.hero-stat {
  flex: 1;
  text-align: center;
  padding: 20px 16px;
  border-radius: var(--radius-lg);
  transition: all 0.3s;
}

.hero-stat:hover {
  background: rgba(255,255,255,0.1);
}

.hero-stat-number {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 700;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 6px;
}

.hero-stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  font-weight: 500;
  letter-spacing: 0.3px;
}

/* ---- Scroll hint bounce ---- */
.hero-scroll-hint {
  position: absolute;
  bottom: 220px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  opacity: 0;
  animation: fadeInUp 0.6s ease 2.5s forwards;
}

.hero-scroll-icon {
  font-size: 32px;
  color: rgba(255,255,255,0.5);
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 0.5; }
  50% { transform: translateY(10px); opacity: 1; }
}

/* ---- Hero → Diensten multi-layer transition ---- */
.hero-transition {
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  z-index: 3;
  line-height: 0;
}

.hero-transition-svg {
  display: block;
  width: 100%;
  height: clamp(100px, 15vw, 200px);
}

/* Parallax effect on transition layers */
.hero-transition path:nth-child(2) {
  animation: waveShift1 8s ease-in-out infinite alternate;
}

.hero-transition path:nth-child(3) {
  animation: waveShift2 6s ease-in-out infinite alternate;
}

@keyframes waveShift1 {
  0% { transform: translateX(0); }
  100% { transform: translateX(-15px); }
}

@keyframes waveShift2 {
  0% { transform: translateX(0); }
  100% { transform: translateX(10px); }
}

.wave-divider-up {
  position: relative;
  margin-top: -1px;
}

.wave-divider-up svg {
  display: block;
  width: 100%;
  height: 60px;
}

/* ---- SECTIONS ---- */
.section {
  padding: clamp(64px, 8vw, 96px) 24px;
  position: relative;
}

.section-alt {
  background: var(--gray-50);
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4vw, 42px);
  text-align: center;
  margin-bottom: 12px;
  color: var(--gray-900);
}

.section-sub {
  text-align: center;
  color: var(--gray-500);
  font-size: clamp(16px, 1.6vw, 18px);
  margin-bottom: 56px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ---- SERVICES GRID (Container queries) ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 24px;
}

.service-card {
  background: linear-gradient(180deg, var(--white) 0%, var(--gray-50) 100%);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  container-type: inline-size;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--orange), var(--orange-dark));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover {
  border-color: var(--orange);
  box-shadow: 0 8px 30px rgba(232, 119, 34, 0.12), 0 2px 8px rgba(0, 0, 0, 0.06);
  transform: translateY(-8px);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--orange-light), rgba(232,119,34,0.12));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover .service-icon {
  background: var(--orange);
  transform: scale(1.1) rotate(-3deg);
  box-shadow: 0 4px 16px var(--orange-glow);
}

.service-card:hover .service-icon .material-symbols-outlined {
  color: var(--white);
}

.service-icon .material-symbols-outlined {
  font-size: 26px;
  color: var(--orange);
  transition: color 0.3s;
}

.service-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--gray-900);
}

.service-card p {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.7;
}

/* ---- ABOUT ---- */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.about-text .section-title {
  text-align: left;
}

.about-intro {
  font-size: 18px;
  color: var(--gray-700);
  line-height: 1.7;
  margin-bottom: 16px;
}

.about-text p {
  color: var(--gray-600);
  margin-bottom: 16px;
  line-height: 1.7;
}

.about-highlights {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 28px;
}

.highlight {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  color: var(--gray-800);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.highlight:hover {
  background: var(--orange-light);
  transform: translateX(4px);
}

.highlight .material-symbols-outlined {
  color: var(--orange);
  font-size: 22px;
}

/* About image with modern hover */
.about-image {
  margin-bottom: 24px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.about-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(232, 119, 34, 0.1), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}

.about-image:hover::after { opacity: 1; }

.about-photo {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-image:hover .about-photo {
  transform: scale(1.05);
}

.about-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-lg);
  border-left: 4px solid var(--orange);
  position: relative;
  transition: transform 0.3s;
}

.about-card:hover {
  transform: translateY(-4px);
}

.about-card-icon {
  margin-bottom: 16px;
}

.about-card-icon .material-symbols-outlined {
  font-size: 40px;
  color: var(--orange);
  opacity: 0.3;
}

.about-card blockquote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 18px;
  line-height: 1.6;
  color: var(--gray-800);
  margin-bottom: 16px;
}

.about-card cite {
  font-style: normal;
  font-size: 14px;
  color: var(--gray-500);
  font-weight: 500;
}

/* ---- ANIMATED VERTICAL TIMELINE ---- */
.vtl {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px 0;
}

.vtl-track {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--gray-200);
  margin-left: -2px;
  z-index: 0;
  border-radius: 2px;
}

.vtl-progress {
  width: 100%;
  height: 0;
  background: linear-gradient(180deg, var(--orange), var(--orange-dark));
  transition: height 0.15s linear;
  border-radius: 2px;
}

.vtl-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 32px;
  position: relative;
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.vtl-left {
  flex-direction: row-reverse;
  transform: translateX(-30px);
}

.vtl-right {
  flex-direction: row;
  transform: translateX(30px);
}

.vtl-item.vtl-visible {
  opacity: 1;
  transform: translateX(0) !important;
}

.vtl-dot {
  position: absolute;
  left: 50%;
  top: 8px;
  width: 20px;
  height: 20px;
  margin-left: -10px;
  background: var(--white);
  border: 4px solid var(--orange);
  border-radius: 50%;
  z-index: 2;
  box-shadow: 0 0 0 4px rgba(232,119,34,0.12);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.vtl-dot span { display: none; }

.vtl-item.vtl-visible .vtl-dot {
  animation: dotPop 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes dotPop {
  0% { transform: scale(0); }
  60% { transform: scale(1.3); }
  100% { transform: scale(1); }
}

.vtl-item:hover .vtl-dot {
  background: var(--orange);
  transform: scale(1.3);
  box-shadow: 0 0 0 6px rgba(232,119,34,0.2), 0 0 24px var(--orange-glow);
}

.vtl-card {
  width: calc(50% - 40px);
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.vtl-left .vtl-card {
  margin-right: auto;
  text-align: right;
}

.vtl-right .vtl-card {
  margin-left: auto;
  text-align: left;
}

.vtl-card:hover {
  border-color: var(--orange);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1), 0 0 0 1px rgba(232,119,34,0.1);
  transform: translateY(-4px);
}

.vtl-card-highlight {
  background: linear-gradient(135deg, #fff8f2, #ffffff);
  border-color: var(--orange);
  box-shadow: 0 4px 20px rgba(232,119,34,0.12);
}

.vtl-year {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 8px;
  line-height: 1;
}

.vtl-card h4 {
  font-size: 17px;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 8px;
  line-height: 1.3;
}

.vtl-card p {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 12px;
}

.vtl-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--orange);
  background: var(--orange-light);
  padding: 4px 12px;
  border-radius: 50px;
  transition: all 0.2s;
}

.vtl-card:hover .vtl-badge {
  background: var(--orange);
  color: var(--white);
}

/* ---- CLUBS GRID ---- */
.clubs-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 56px;
}

/* ---- LOGO GRID ---- */
.clubs-logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 18px;
  justify-items: center;
  margin-bottom: 56px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.club-logo {
  width: 110px;
  height: 110px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

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

.club-logo:hover {
  border-color: var(--orange);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(232, 119, 34, 0.12);
}

.club-logo.no-logo {
  font-size: 11px;
  font-weight: 600;
  color: var(--gray-600);
  text-align: center;
  line-height: 1.3;
  padding: 10px;
}

@media (max-width: 600px) {
  .clubs-logo-grid {
    grid-template-columns: repeat(auto-fill, minmax(85px, 1fr));
    gap: 12px;
  }
  .club-logo {
    width: 85px;
    height: 85px;
    padding: 10px;
    border-radius: 12px;
  }
  .club-logo.no-logo {
    font-size: 10px;
  }
}

.club-tag {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 50px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-700);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.club-tag:hover {
  border-color: var(--orange);
  color: var(--orange);
  background: var(--orange-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(232, 119, 34, 0.1);
}

.club-tag-gov {
  border-color: #d4e6f1;
  color: #1a5276;
  background: #eaf2f8;
}

.club-tag-gov:hover {
  border-color: #1a5276;
  color: #1a5276;
  background: #d4e6f1;
  transform: translateY(-2px);
}

.club-tag-bond {
  border-color: #d5f5e3;
  color: var(--green-field);
  background: #eafaf1;
}

.club-tag-bond:hover {
  border-color: var(--green-field);
  color: var(--green-field);
  background: #d5f5e3;
  transform: translateY(-2px);
}

.partners-subtitle {
  text-align: center;
  font-size: 20px;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 24px;
}

/* ---- PARTNERS ---- */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
}

.partner-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 32px 16px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.partner-card:hover {
  border-color: var(--orange);
  box-shadow: 0 8px 24px rgba(232, 119, 34, 0.1);
  transform: translateY(-6px);
}

.partner-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.partner-card:hover .partner-logo {
  transform: scale(1.15);
}

.partner-card .material-symbols-outlined {
  font-size: 36px;
  color: var(--orange);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.partner-card:hover .material-symbols-outlined {
  transform: scale(1.15);
}

.partner-card span:last-child {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-700);
}

/* ---- PUBLICATIONS ---- */
.publications-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 16px;
}

.publication-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.publication-card:hover {
  border-color: var(--orange);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.pub-year {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: 14px;
  font-weight: 700;
  color: var(--orange);
  background: var(--orange-light);
  padding: 2px 10px;
  border-radius: 50px;
  margin-bottom: 12px;
}

.publication-card h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 6px;
  line-height: 1.4;
}

.publication-card p {
  font-size: 13px;
  color: var(--gray-500);
}

/* ---- NIEUWJAARSKAARTEN ---- */
.cards-timeline {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.ny-card {
  width: 80px;
  height: 110px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.ny-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.25), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.ny-card:hover::before { opacity: 1; }

.ny-card:active {
  transform: translateY(-2px) scale(0.97);
}

.ny-card:nth-child(4n+1) { background: linear-gradient(135deg, #E87722, #d46a1c); }
.ny-card:nth-child(4n+2) { background: linear-gradient(135deg, #2D5A27, #1e4a1a); }
.ny-card:nth-child(4n+3) { background: linear-gradient(135deg, #1a5276, #154360); }
.ny-card:nth-child(4n)   { background: linear-gradient(135deg, #7d3c98, #6c3483); }

.ny-card:hover {
  transform: translateY(-8px) rotate(-3deg);
  box-shadow: var(--shadow-lg), 0 0 20px rgba(0,0,0,0.08);
}

.ny-year {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  text-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.cards-note {
  text-align: center;
  color: var(--gray-500);
  font-size: 14px;
  margin-top: 24px;
  font-style: italic;
}

/* ---- GREETING MODAL (modern + glassmorphism) ---- */
.greeting-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: modalFadeIn 0.3s ease;
}

.greeting-modal.active { display: flex; }

@keyframes modalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes cardSlideIn {
  from { opacity: 0; transform: translateY(40px) scale(0.92); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.greeting-card {
  background: linear-gradient(145deg, #fff8f2, #ffffff, #fff3eb);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  max-width: 520px;
  width: 100%;
  position: relative;
  box-shadow: 0 24px 80px rgba(232,119,34,0.2), 0 0 0 1px rgba(232,119,34,0.08);
  animation: cardSlideIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
  overflow: hidden;
}

.greeting-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--orange), #f5a623, var(--orange-dark));
}

.greeting-card::after {
  content: '';
  position: absolute;
  bottom: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(232,119,34,0.06), transparent 70%);
  border-radius: 50%;
}

.greeting-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  background: var(--gray-100);
  border: none;
  border-radius: 50%;
  font-size: 20px;
  color: var(--gray-600);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  z-index: 1;
}

.greeting-close:hover {
  background: var(--orange);
  color: white;
  transform: rotate(90deg);
}

.greeting-year-badge {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: 42px;
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 20px;
  position: relative;
}

.greeting-year-badge::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--orange);
  margin: 12px auto 0;
  border-radius: 2px;
}

.greeting-text {
  font-size: 16px;
  line-height: 1.8;
  color: var(--gray-700);
  margin-bottom: 28px;
}

.greeting-text p {
  margin-bottom: 12px;
}

.greeting-text p:last-child { margin-bottom: 0; }

.greeting-text .greeting-title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 16px;
}

.greeting-footer {
  padding-top: 20px;
  border-top: 1px solid var(--gray-200);
}

.greeting-logo {
  height: 40px;
  width: auto;
}

/* ---- DECORATIVE ELEMENTS ---- */
.section-decorated {
  position: relative;
}

.section-decorated::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(232,119,34,0.06), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.section-decorated::after {
  content: '';
  position: absolute;
  bottom: -40px;
  left: -100px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(232,119,34,0.04), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.deco-dots {
  position: absolute;
  width: 120px;
  height: 120px;
  background-image: radial-gradient(var(--orange) 2px, transparent 2px);
  background-size: 16px 16px;
  opacity: 0.1;
  pointer-events: none;
}

/* ---- CONTACT ---- */
.contact-section {
  background:
    linear-gradient(135deg, rgba(255,255,255,0.97), rgba(255,243,235,0.8)),
    url('https://images.unsplash.com/photo-1534351590666-13e3e96b5f14?w=1600&h=600&fit=crop') center/cover no-repeat;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px;
  border-radius: var(--radius-md);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-card:hover {
  background: rgba(232, 119, 34, 0.06);
  transform: translateX(4px);
}

.contact-card .material-symbols-outlined {
  font-size: 24px;
  color: var(--orange);
  margin-top: 2px;
  flex-shrink: 0;
}

.contact-card div {
  display: flex;
  flex-direction: column;
}

.contact-card strong {
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 4px;
}

.contact-card span {
  font-size: 14px;
  color: var(--gray-600);
}

.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
  transition: box-shadow 0.3s;
}

.contact-form-wrap:focus-within {
  box-shadow: var(--shadow-xl), 0 0 0 2px rgba(232, 119, 34, 0.1);
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

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

.form-group label {
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-700);
}

.form-input {
  padding: 12px 16px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: var(--font-sans);
  color: var(--gray-900);
  transition: all 0.25s;
  background: var(--gray-50);
}

.form-input:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(232, 119, 34, 0.1);
  background: var(--white);
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
}

.contact-form .btn {
  grid-column: 1 / -1;
  justify-content: center;
  margin-top: 8px;
}

/* ---- FOOTER ---- */
.footer {
  background: var(--gray-900);
  padding: 48px 24px;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(232, 119, 34, 0.08), transparent 70%);
  border-radius: 50%;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-logo-img {
  height: 60px;
  width: auto;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: var(--gray-500);
  font-size: 13px;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--orange);
}

.footer-meta span {
  font-size: 13px;
  color: var(--gray-500);
}

/* ---- SCROLL PROGRESS INDICATOR ---- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), #f5a623);
  z-index: 1001;
  width: 0%;
  transition: width 0.1s linear;
}

/* ---- BACK TO TOP BUTTON ---- */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  background: var(--orange);
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 900;
  opacity: 0;
  transform: translateY(16px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 16px var(--orange-glow);
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--orange-dark);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px var(--orange-glow);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .hero h1 { font-size: 48px; }

  .hero-stat-bar {
    flex-wrap: wrap;
    max-width: 500px;
  }

  .hero-stat { flex: 1 1 40%; }

  .footer-inner {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 16px;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow-md);
  }

  .nav-links.open { display: flex; }
  .nav-links.open a { color: var(--gray-600); }
  .nav-toggle { display: block; }

  .hero-content {
    padding: 120px 20px 40px;
  }

  .hero-sub {
    font-size: 16px;
  }

  .hero-stat-bar {
    margin: 24px 16px 60px;
  }

  .hero-stat { padding: 14px 12px; }
  .hero-stat-number { font-size: 28px; }
  .hero-stat-label { font-size: 11px; }

  .section { padding: 64px 20px; }

  .about-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-text .section-title { text-align: center; }

  .contact-layout { grid-template-columns: 1fr; gap: 40px; }
  .contact-form { grid-template-columns: 1fr; }

  .ny-card { width: 65px; height: 90px; }
  .ny-year { font-size: 16px; }

  .footer-inner {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .footer-brand { flex-direction: column; gap: 4px; }
  .footer-links { flex-wrap: wrap; justify-content: center; }

  /* Vertical timeline mobile */
  .vtl-track { left: 16px; margin-left: 0; }
  .vtl-item, .vtl-left, .vtl-right {
    flex-direction: row !important;
    transform: translateY(20px);
  }
  .vtl-item.vtl-visible { transform: translateY(0) !important; }
  .vtl-dot { left: 16px !important; margin-left: -10px; }
  .vtl-card { width: calc(100% - 50px); margin-left: auto !important; margin-right: 0 !important; text-align: left !important; }
  .vtl-year { font-size: 22px; }

  .wave-divider svg { height: 40px; }

  .greeting-card {
    padding: 32px 24px;
    margin: 16px;
  }

  .greeting-year-badge { font-size: 32px; }
  .greeting-text { font-size: 15px; }
  .greeting-text .greeting-title { font-size: 18px; }
  .deco-dots { display: none; }

  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 42px;
    height: 42px;
  }
}

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

  .hero::before,
  .hero::after {
    animation: none;
  }

  .fade-in, .fade-in-left, .fade-in-right,
  .service-card, .partner-card, .publication-card, .ny-card {
    opacity: 1;
    transform: none;
  }

  .vtl-item {
    opacity: 1;
    transform: none !important;
  }
}

/* ---- PRINT STYLES ---- */
@media print {
  .nav, .back-to-top, .scroll-progress, .hero-overlay,
  .wave-divider, .wave-divider-up, .deco-dots { display: none; }

  .hero {
    min-height: auto;
    background: white;
    color: black;
    page-break-after: always;
  }

  .hero h1 { color: var(--gray-900); }
  .hero-sub { color: var(--gray-600); }

  .section { padding: 32px 0; page-break-inside: avoid; }
}
