/* ================================
   RUMA DIGITAL - HOOFDSTYLESHEET
   ================================ */

/* --------- DESIGN TOKENS --------- */
:root {
  /* Kleuren */
  --primary: #2B4C7D;
  --primary-dark: #1e3759;
  --primary-light: #3d6aa8;
  --accent: #5BA3D0;
  --accent-light: #7fc4ec;
  
  --bg: #fafbfc;
  --bg-alt: #f3f5f9;
  --surface: #ffffff;
  --surface-elevated: #ffffff;
  
  --text: #1a2235;
  --text-muted: #5a6478;
  --text-light: #8a93a6;
  --border: #e4e8ef;
  --border-strong: #d0d6e0;
  
  --success: #2ea670;
  
  /* Typografie */
  --font-display: 'Fraunces', 'Georgia', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  
  /* Spacing */
  --container: 1200px;
  --container-narrow: 880px;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(20, 35, 60, 0.04), 0 1px 1px rgba(20, 35, 60, 0.02);
  --shadow-md: 0 4px 12px rgba(20, 35, 60, 0.06), 0 2px 4px rgba(20, 35, 60, 0.04);
  --shadow-lg: 0 12px 32px rgba(20, 35, 60, 0.08), 0 4px 12px rgba(20, 35, 60, 0.04);
  --shadow-xl: 0 24px 60px rgba(20, 35, 60, 0.12), 0 8px 20px rgba(20, 35, 60, 0.06);
  --shadow-primary: 0 8px 24px rgba(43, 76, 125, 0.18);
  
  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 999px;
  
  /* Transitions */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
}

img, svg {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* --------- BACKGROUND CANVAS --------- */
#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  opacity: 0.55;
  pointer-events: none;
}

/* Soft overlay om tekst leesbaar te houden */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: radial-gradient(ellipse at top right, rgba(91, 163, 208, 0.06), transparent 50%),
              radial-gradient(ellipse at bottom left, rgba(43, 76, 125, 0.05), transparent 50%);
  z-index: -1;
  pointer-events: none;
}

/* --------- TYPOGRAFIE --------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--text);
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
}

h3 {
  font-size: clamp(1.3rem, 2vw, 1.6rem);
}

h4 {
  font-size: 1.15rem;
  font-weight: 600;
}

p {
  color: var(--text-muted);
}

.lead {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 60ch;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 1rem;
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* --------- LAYOUT --------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-narrow {
  max-width: var(--container-narrow);
}

section {
  padding: 5rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem;
}

.section-header .lead {
  margin: 1rem auto 0;
}

/* --------- BUTTONS --------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.7rem;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  border-radius: var(--radius-full);
  transition: all 0.35s var(--ease);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(43, 76, 125, 0.28);
}

.btn-secondary {
  background: var(--surface);
  color: var(--primary);
  border-color: var(--border-strong);
}

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

.btn-ghost {
  background: transparent;
  color: var(--primary);
  padding: 0.5rem 0;
  border-radius: 0;
}

.btn-ghost:hover {
  gap: 0.85rem;
}

.btn .arrow {
  transition: transform 0.3s var(--ease);
}

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

/* --------- NAVBAR --------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 0;
  transition: all 0.4s var(--ease);
}

.navbar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(250, 251, 252, 0.78);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  opacity: 0;
  transition: all 0.4s var(--ease);
}

.navbar.scrolled::before {
  opacity: 1;
  border-bottom-color: var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}

.logo-img {
  display: flex;
  align-items: center;
  line-height: 0;
}

.logo-img img {
  height: 72px;
  width: auto;
  display: block;
  transition: opacity 0.3s var(--ease);
}

.logo-img:hover img {
  opacity: 0.85;
}

.footer-brand .logo-img {
  margin-bottom: 1rem;
}

.footer-brand .logo-img img {
  filter: brightness(0) invert(1);
  height: 36px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 0.4rem 0;
  transition: color 0.3s var(--ease);
}

.nav-links a:hover {
  color: var(--text);
}

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

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

.nav-cta {
  margin-left: 0.5rem;
}

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

.hamburger {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border-radius: 10px;
  transition: background 0.3s var(--ease);
}

.hamburger:hover {
  background: var(--bg-alt);
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.35s var(--ease);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

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

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(360px, 90vw);
  background: var(--surface);
  z-index: 99;
  padding: 6rem 2rem 2rem;
  transform: translateX(100%);
  transition: transform 0.45s var(--ease);
  box-shadow: var(--shadow-xl);
  display: flex;
  flex-direction: column;
}

.mobile-menu.active {
  transform: translateX(0);
}

.mobile-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.mobile-menu a {
  display: block;
  padding: 0.85rem 1rem;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text);
  border-radius: var(--radius-md);
  transition: all 0.25s var(--ease);
}

.mobile-menu a:hover,
.mobile-menu a.active {
  background: var(--bg-alt);
  color: var(--primary);
}

.mobile-menu .btn {
  margin-top: 1.5rem;
  width: 100%;
}

.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 35, 60, 0.4);
  backdrop-filter: blur(4px);
  z-index: 98;
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s var(--ease);
}

.menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* --------- HERO --------- */
.hero {
  padding: 9rem 0 5rem;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-content {
  max-width: 600px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.95rem;
  background: rgba(43, 76, 125, 0.07);
  border: 1px solid rgba(43, 76, 125, 0.12);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.hero-badge .dot {
  width: 7px;
  height: 7px;
  background: var(--success);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(46, 166, 112, 0.18);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.hero h1 {
  margin-bottom: 1.5rem;
}

.hero h1 em {
  font-style: italic;
  color: var(--primary);
  font-weight: 400;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

.hero-perks {
  display: flex;
  gap: 2rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

.hero-perk {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 500;
}

.hero-perk svg {
  color: var(--primary);
  flex-shrink: 0;
}

/* Hero Visual */
.hero-visual {
  position: relative;
  height: 420px;
  max-width: 480px;
  margin-left: auto;
  margin-right: 2rem;
  border: none;
  background: transparent;
}

.hero-card {
  position: absolute;
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border);
  overflow: hidden;
  display: none;
}

.hero-card-main {
  inset: 0;
  display: flex;
  flex-direction: column;
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
}

.browser-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-strong);
}

.browser-dot:nth-child(1) { background: #ff6056; }
.browser-dot:nth-child(2) { background: #ffbd2e; }
.browser-dot:nth-child(3) { background: #28c941; }

.browser-url {
  margin-left: 0.6rem;
  padding: 0.3rem 0.7rem;
  background: var(--surface);
  border-radius: var(--radius-sm);
  font-size: 0.72rem;
  color: var(--text-light);
  flex: 1;
  border: 1px solid var(--border);
}

.browser-content {
  flex: 1;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.bc-line {
  height: 12px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--bg-alt), var(--border));
}

.bc-line.short { width: 60%; }
.bc-line.medium { width: 80%; }
.bc-line.tall { height: 60px; background: linear-gradient(135deg, var(--primary), var(--accent)); border-radius: var(--radius-md); }

.bc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.bc-card {
  height: 70px;
  border-radius: var(--radius-md);
  background: var(--bg-alt);
  border: 1px solid var(--border);
}

.hero-floating {
  position: absolute;
  background: var(--surface);
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.85rem;
  font-weight: 500;
  animation: float 4s ease-in-out infinite;
}

.hero-floating-1 {
  position: absolute;
  top: 45%;
  right: 40px;
}

.hero-floating-2 {
  position: absolute;
  top: 68%;
  right: 80px;
}

.hero-floating-3 {
  position: absolute;
  top: 10%;
  right: 0;
}

.hf-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(43, 76, 125, 0.08);
  color: var(--primary);
  display: grid;
  place-items: center;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* --------- CARDS / GENERIEKE COMPONENTS --------- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}

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

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(43, 76, 125, 0.1), rgba(91, 163, 208, 0.08));
  color: var(--primary);
  display: grid;
  place-items: center;
  margin-bottom: 1.4rem;
  transition: all 0.4s var(--ease);
}

.card:hover .card-icon {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  transform: scale(1.05) rotate(-3deg);
}

.card h3 {
  margin-bottom: 0.7rem;
  font-family: var(--font-display);
}

.card p {
  font-size: 0.95rem;
  line-height: 1.6;
}

/* --------- FOOTER --------- */
.footer {
  background: var(--text);
  color: #d4dae5;
  padding: 4.5rem 0 2rem;
  margin-top: 6rem;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand {
  max-width: 320px;
}

.footer-brand .logo {
  color: #fff;
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.9rem;
  color: #9ca7bd;
  line-height: 1.6;
}

.footer-col h4 {
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer-col a {
  font-size: 0.92rem;
  color: #9ca7bd;
  transition: color 0.25s var(--ease);
}

.footer-col a:hover {
  color: var(--accent-light);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: #7c8499;
}

.footer-bottom a:hover {
  color: var(--accent-light);
}

/* --------- PAGE HEADER --------- */
.page-header {
  padding: 9rem 0 4rem;
  text-align: center;
}

.page-header h1 {
  margin-bottom: 1.2rem;
}

.page-header .lead {
  margin: 0 auto;
}

/* --------- VOORDELEN GRID --------- */
.perks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 4rem;
}

.perk {
  text-align: left;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: all 0.3s var(--ease);
}

.perk:hover {
  border-color: var(--primary-light);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.perk-icon {
  width: 40px;
  height: 40px;
  background: rgba(43, 76, 125, 0.08);
  color: var(--primary);
  border-radius: 10px;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
}

.perk h4 {
  font-family: var(--font-body);
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.perk p {
  font-size: 0.88rem;
  margin: 0;
}

/* --------- DOELGROEPEN --------- */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-top: 3rem;
}

.audience-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.25rem;
  text-align: center;
  transition: all 0.35s var(--ease);
  position: relative;
}

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

.audience-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 0.85rem;
  background: linear-gradient(135deg, rgba(43, 76, 125, 0.1), rgba(91, 163, 208, 0.06));
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--primary);
  transition: all 0.35s var(--ease);
}

.audience-card:hover .audience-icon {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
}

.audience-card h4 {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
}

/* --------- WERKWIJZE / STAPPEN --------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
  position: relative;
}

.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  position: relative;
  transition: all 0.35s var(--ease);
}

.step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.step-number {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 500;
  color: rgba(43, 76, 125, 0.12);
  line-height: 1;
}

.step h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 0.6rem;
  margin-right: 2.5rem;
}

.step p {
  font-size: 0.9rem;
  line-height: 1.6;
}

/* --------- CTA SECTIE --------- */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: var(--radius-xl);
  padding: 4rem 3rem;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
  margin: 5rem auto;
  max-width: var(--container);
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(91, 163, 208, 0.25), transparent 60%);
  pointer-events: none;
}

.cta-section h2 {
  color: #fff;
  margin-bottom: 1rem;
  position: relative;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
  max-width: 540px;
  margin: 0 auto 2rem;
  position: relative;
}

.cta-section .btn-primary {
  background: #fff;
  color: var(--primary);
  position: relative;
}

.cta-section .btn-primary:hover {
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
}

.cta-section .btn-secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
  position: relative;
}

.cta-section .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.6);
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

/* --------- DIENSTEN GRID --------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

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

.service-card h3 {
  font-family: var(--font-display);
  margin-bottom: 0.7rem;
}

.service-card ul {
  list-style: none;
  margin-top: 1.2rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.service-card li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.service-card li svg {
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 4px;
}

/* --------- PORTFOLIO --------- */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
}

.portfolio-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.4s var(--ease);
}

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

.portfolio-image {
  aspect-ratio: 16 / 10;
  position: relative;
  overflow: hidden;
  background: var(--bg-alt);
}

.portfolio-mockup {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
}

.portfolio-mockup .browser-bar {
  background: rgba(255, 255, 255, 0.95);
}

.portfolio-mockup-content {
  flex: 1;
  position: relative;
  overflow: hidden;
}

.portfolio-tag {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  padding: 0.35rem 0.85rem;
  background: rgba(255, 255, 255, 0.95);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
  backdrop-filter: blur(8px);
}

.portfolio-info {
  padding: 1.75rem;
}

.portfolio-info .meta {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.portfolio-info h3 {
  font-family: var(--font-display);
  margin-bottom: 0.5rem;
}

.portfolio-info p {
  font-size: 0.92rem;
  margin-bottom: 1rem;
}

.portfolio-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.feature-pill {
  padding: 0.25rem 0.7rem;
  background: var(--bg-alt);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

.portfolio-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary);
  transition: gap 0.3s var(--ease);
}

.portfolio-link:hover {
  gap: 0.7rem;
}

.portfolio-link.coming-soon {
  color: var(--text-light);
  cursor: default;
}

/* Mockup illustraties (CSS art) */
.mockup-restaurant {
  background: linear-gradient(135deg, #d97757 0%, #c44b32 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.mockup-restaurant::before {
  content: '';
  position: absolute;
  inset: 20px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 8px;
}

.mockup-boat {
  background: linear-gradient(135deg, #2B4C7D 0%, #5BA3D0 100%);
}

.mockup-garden {
  background: linear-gradient(135deg, #2d6a4f 0%, #74c69d 100%);
}

.mockup-service {
  background: linear-gradient(135deg, #495867 0%, #8d99ae 100%);
}

.mockup-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1.5rem;
  color: #fff;
}

.mockup-overlay-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  text-align: center;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.mockup-overlay-sub {
  font-size: 0.8rem;
  opacity: 0.85;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.mockup-deco {
  position: absolute;
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: 50%;
}

.mockup-deco-1 {
  width: 120px;
  height: 120px;
  top: -30px;
  right: -30px;
}

.mockup-deco-2 {
  width: 80px;
  height: 80px;
  bottom: -20px;
  left: -20px;
}

/* --------- PRIJZEN --------- */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  position: relative;
  transition: all 0.4s var(--ease);
}

.price-card.featured {
  background: linear-gradient(180deg, var(--surface), #f8fafd);
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
}

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

.price-card.featured:hover {
  box-shadow: var(--shadow-xl);
}

.price-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.price-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.price-tagline {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  min-height: 3em;
}

.price-amount {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  margin-bottom: 0.3rem;
}

.price-prefix {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}

.price-value {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.02em;
}

.price-suffix {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
  display: block;
}

.price-features {
  list-style: none;
  margin-bottom: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.price-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.92rem;
  color: var(--text);
}

.price-features svg {
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 3px;
}

.price-card .btn {
  width: 100%;
}

.price-yearly {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1.75rem;
}

.price-feature-no {
  color: var(--text-light) !important;
}

.price-feature-no svg {
  color: var(--text-light) !important;
}

.maintenance-note {
  max-width: 780px;
  margin: 2.5rem auto 0;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 1rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  line-height: 1.6;
}

.custom-quote {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: var(--radius-xl);
  padding: 3rem;
  color: #fff;
  text-align: center;
  margin-top: 3rem;
  position: relative;
  overflow: hidden;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.custom-quote::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(91, 163, 208, 0.2), transparent 60%);
}

.custom-quote h3 {
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.8rem;
  margin-bottom: 1rem;
  position: relative;
}

.custom-quote p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1.5rem;
  position: relative;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

.custom-quote .btn {
  background: #fff;
  color: var(--primary);
  position: relative;
}

/* --------- FAQ LAYOUT MET ZIJBALK --------- */
.faq-layout {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 4rem;
  align-items: start;
}

.faq-sidebar {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.faq-sidebar-btn {
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  text-align: left;
  padding: 0.55rem 0.8rem;
  border-radius: var(--radius-sm);
  transition: all 0.25s var(--ease);
}

.faq-sidebar-btn:hover,
.faq-sidebar-btn.active {
  background: rgba(43, 76, 125, 0.07);
  color: var(--primary);
  font-weight: 600;
}

.faq-group {
  margin-bottom: 2.5rem;
}

.faq-group-title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--border);
}

/* --------- FAQ --------- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s var(--ease);
}

.faq-item:hover {
  border-color: var(--border-strong);
}

.faq-item.open {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-md);
}

.faq-question {
  width: 100%;
  padding: 1.4rem 1.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  text-align: left;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--text);
  background: none;
  cursor: pointer;
  transition: color 0.25s var(--ease);
}

.faq-question:hover {
  color: var(--primary);
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-alt);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: all 0.35s var(--ease);
  color: var(--primary);
}

.faq-item.open .faq-icon {
  background: var(--primary);
  color: #fff;
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}

.faq-answer-inner {
  padding: 0 1.75rem 1.5rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* --------- OVER ONS --------- */
.about-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 5rem;
}

.about-story-content h2 {
  margin-bottom: 1.5rem;
}

.about-story-content p {
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.7;
}

.about-visual {
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.about-visual::before,
.about-visual::after {
  content: '';
  position: absolute;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
}

.about-visual::before {
  width: 60%;
  height: 60%;
  top: -10%;
  right: -10%;
}

.about-visual::after {
  width: 50%;
  height: 50%;
  bottom: -15%;
  left: -10%;
}

.about-visual-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
  padding: 2rem;
  text-align: center;
}

.about-visual-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: -0.01em;
  max-width: 320px;
  z-index: 1;
}

.about-visual-quote::before {
  content: '"';
  display: block;
  font-size: 4rem;
  line-height: 0.5;
  margin-bottom: 0.5rem;
  opacity: 0.4;
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.team-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  text-align: center;
  transition: all 0.4s var(--ease);
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.team-avatar {
  width: 110px;
  height: 110px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: grid;
  place-items: center;
  color: #fff;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 500;
  box-shadow: var(--shadow-primary);
  position: relative;
}

.team-avatar::after {
  content: '';
  position: absolute;
  inset: -6px;
  border: 2px solid rgba(43, 76, 125, 0.15);
  border-radius: 50%;
}

.team-card h3 {
  font-family: var(--font-display);
  margin-bottom: 0.3rem;
}

.team-role {
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.team-card p {
  font-size: 0.95rem;
  line-height: 1.6;
}

/* --------- CONTACT --------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h2 {
  margin-bottom: 1.5rem;
}

.contact-info .lead {
  margin-bottom: 2.5rem;
}

.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--border);
}

.contact-method:last-child {
  border-bottom: 1px solid var(--border);
}

.contact-method-icon {
  width: 44px;
  height: 44px;
  background: rgba(43, 76, 125, 0.08);
  border-radius: 12px;
  color: var(--primary);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.contact-method-info {
  flex: 1;
}

.contact-method-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.contact-method-value {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
}

.contact-method-value a:hover {
  color: var(--primary);
}

/* Contact Form */
.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.form-group label .opt {
  color: var(--text-light);
  font-weight: 400;
  font-size: 0.78rem;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  color: var(--text);
  transition: all 0.25s var(--ease);
  font-family: inherit;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--surface);
  box-shadow: 0 0 0 4px rgba(43, 76, 125, 0.08);
}

.form-control::placeholder {
  color: var(--text-light);
}

textarea.form-control {
  resize: vertical;
  min-height: 130px;
  line-height: 1.6;
}

.form-submit {
  width: 100%;
  margin-top: 0.5rem;
}

.form-success {
  display: none;
  text-align: center;
  padding: 1.25rem;
  background: rgba(46, 166, 112, 0.1);
  border: 1px solid rgba(46, 166, 112, 0.25);
  color: var(--success);
  border-radius: var(--radius-md);
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.form-success.show {
  display: block;
}

/* --------- ANIMATIES --------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

/* --------- RESPONSIVE --------- */
@media (max-width: 960px) {
  section {
    padding: 4rem 0;
  }
  
  .hero {
    padding: 7rem 0 3rem;
  }
  
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .hero-visual {
    max-width: 400px;
    margin: 0 auto;
  }
  
  .about-story {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  
  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .nav-links, .nav-cta {
    display: none;
  }
  
  .hamburger {
    display: flex;
  }
  
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .hero-cta, .cta-buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-cta .btn, .cta-buttons .btn {
    width: 100%;
  }
  
  .hero-floating {
    display: none;
  }
  
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  
  .team-grid {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
    margin-bottom: 0;
  }
  
  .cta-section {
    padding: 3rem 1.5rem;
  }
  
  .price-card, .custom-quote, .contact-form {
    padding: 2rem 1.5rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .faq-layout {
    grid-template-columns: 1fr;
  }

  .faq-sidebar {
    display: none;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1.25rem;
  }
  
  .hero {
    padding: 6rem 0 2rem;
  }
  
  h1 {
    font-size: 1.9rem;
  }
  
  .card, .service-card {
    padding: 1.75rem;
  }
}

/* --------- UTILITIES --------- */
.center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-2 { margin-bottom: 2rem; }
