/* Huisstijl gelijk aan de hoofdsite (fdb.webtryout.eu, app/assets/css/main.css) */
:root {
  --primary: #242F66;   /* Deep Navy */
  --secondary: #4176BA; /* Bright Blue */
  --accent: #4176BA;    /* Blauw (= secondary) voor knoppen en iconen op wit */
  --accent-light: #8FB5E6; /* Lichtere tint van hetzelfde blauw voor tekst/iconen op navy */
  --light: #E8E9E8;     /* Soft Gray */
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Outfit', 'Inter', system-ui, sans-serif;
  color: var(--primary);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.container { max-width: 80rem; margin: 0 auto; padding: 0 1rem; }
@media (min-width: 640px) { .container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container { padding: 0 2rem; } }

.text-accent { color: var(--accent-light); }

/* Knoppen */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-weight: 700; border-radius: 1rem; transition: all .2s; cursor: pointer;
}
.btn:hover { transform: scale(1.05); }
.btn:active { transform: scale(.95); }
.btn svg { width: 1.25rem; height: 1.25rem; }
.btn-sm { padding: .625rem 1.25rem; border-radius: .75rem; font-weight: 600; }
.btn-sm svg { width: 1.1rem; height: 1.1rem; }
.btn-lg { padding: 1rem 2rem; font-size: 1.125rem; }
.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 10px 15px -3px rgb(65 118 186 / .35); }
.btn-accent:hover { background: #3767A6; }
.btn-glass { background: rgb(255 255 255 / .1); border: 1px solid rgb(255 255 255 / .25); color: #fff; backdrop-filter: blur(12px); }
.btn-glass:hover { background: rgb(255 255 255 / .2); }
.arrow { stroke-width: 2.5; }

/* Header */
.header { position: absolute; top: 0; inset-inline: 0; z-index: 50; padding: 1.25rem 0; }
.header-inner { display: flex; align-items: center; justify-content: space-between; }
/* Logo in originele kleuren op een wit vlak: het antraciet valt anders weg op navy */
.logo {
  display: inline-flex; align-items: center;
  background: #fff; padding: .4rem .65rem; border-radius: .9rem;
  box-shadow: 0 10px 25px -8px rgb(0 0 0 / .35);
  transition: transform .2s;
}
a.logo:hover { transform: scale(1.03); }
.logo img { display: block; height: 2.5rem; width: auto; }
@media (min-width: 640px) { .logo img { height: 3rem; } .logo { padding: .5rem .8rem; } }
@media (min-width: 1024px) { .logo img { height: 3.5rem; } }

/* Hero */
.hero {
  position: relative; min-height: 88vh; display: flex; align-items: center;
  padding: 7rem 0 5rem; overflow: hidden; background: var(--primary);
}
.hero-bg { position: absolute; inset: 0; background: url('images/hero-bg.webp') center / cover no-repeat; }
.hero-bg::before { content: ''; position: absolute; inset: 0; background: rgb(36 47 102 / .75); mix-blend-mode: multiply; }
.hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, rgb(36 47 102 / .3), rgb(36 47 102 / .8), var(--primary)); }
.hero-content { position: relative; z-index: 1; width: 100%; animation: fade-in-up .6s ease-out both; }
.hero h1 {
  color: #fff; font-size: 2.25rem; font-weight: 800; line-height: 1.15; letter-spacing: -.025em;
  max-width: 72rem; margin-top: 1.5rem;
}
@media (min-width: 640px) { .hero h1 { font-size: 3rem; } }
@media (min-width: 768px) { .hero h1 { font-size: 3.75rem; } }
.lead { color: rgb(255 255 255 / .85); font-size: 1.125rem; font-weight: 300; line-height: 1.65; max-width: 42rem; margin-top: 1.5rem; }
@media (min-width: 640px) { .lead { font-size: 1.25rem; } }
.hero-actions { display: flex; flex-direction: column; gap: 1rem; margin-top: 2.5rem; }
@media (min-width: 640px) { .hero-actions { flex-direction: row; } }

/* Scroll-hint "Meer informatie": onderaan het eerste scherm, hero is precies één scherm hoog */
.hero { min-height: 100svh; padding-bottom: 7.5rem; }
.scroll-hint {
  position: absolute; z-index: 1; bottom: 1.5rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .35rem;
  color: rgb(255 255 255 / .8); font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  transition: color .2s;
}
.scroll-hint:hover { color: #fff; }
.scroll-hint svg {
  width: 2.75rem; height: 2.75rem; padding: .6rem; border-radius: 999px;
  color: #fff; background: var(--accent); stroke-width: 2.5;
  box-shadow: 0 10px 15px -3px rgb(65 118 186 / .35);
  animation: bounce 1.6s ease-in-out infinite;
  transition: background .2s;
}
.scroll-hint:hover svg { background: #3767A6; }
/* Lage desktop-/laptopvensters: hero compacter, zodat de scroll-hint in beeld blijft */
@media (min-width: 768px) and (max-height: 760px) {
  .hero { padding-top: 6rem; padding-bottom: 6.5rem; }
  .hero h1 { font-size: 3rem; margin-top: 1rem; }
  .lead { margin-top: 1rem; }
  .hero-actions { margin-top: 1.75rem; }
  .scroll-hint { bottom: 1rem; }
}
/* Lage telefoons (bijv. iPhone SE): hero compacter, zodat de scroll-hint in beeld blijft */
@media (max-width: 767px) and (max-height: 740px) {
  .hero { padding-top: 5.5rem; padding-bottom: 6rem; }
  .hero h1 { font-size: 1.9rem; margin-top: 1rem; }
  .lead { font-size: 1rem; margin-top: 1rem; }
  .hero-actions { margin-top: 1.5rem; gap: .75rem; }
  .hero-actions .btn-lg { padding: .8rem 1.5rem; font-size: 1rem; }
  .scroll-hint { bottom: 1rem; }
}

.pill {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .5rem 1.15rem; border-radius: 999px; font-size: 1rem; font-weight: 600;
  color: #fff; background: rgb(255 255 255 / .08); border: 1px solid rgb(255 255 255 / .15); backdrop-filter: blur(4px);
}
@media (min-width: 640px) { .pill { font-size: 1.2rem; padding: .6rem 1.4rem; gap: .65rem; } }
.pill-dot { width: .6rem; height: .6rem; border-radius: 50%; background: var(--accent-light); animation: pulse 2s ease-in-out infinite; }

/* Secties */
.section { padding: 6rem 0; }
.section-light { background: rgb(232 233 232 / .3); }
.section-head { max-width: 42rem; margin: 0 auto 3.5rem; text-align: center; }
.eyebrow { display: block; color: var(--secondary); font-weight: 700; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
.eyebrow-accent { color: var(--accent-light); }
.section h2 { font-size: 1.875rem; font-weight: 800; letter-spacing: -.025em; margin-top: .75rem; }
@media (min-width: 640px) { .section h2 { font-size: 2.25rem; } }
.section-head p { color: rgb(36 47 102 / .7); font-weight: 300; font-size: 1.1rem; line-height: 1.65; margin-top: 1rem; }

/* Dienstkaarten: 3 + 2 gecentreerd op desktop */
.cards { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem; }
.card {
  flex: 1 1 100%;
  background: #fff; border: 1px solid rgb(36 47 102 / .05); border-radius: 1.5rem;
  padding: 2rem; box-shadow: 0 10px 15px -3px rgb(0 0 0 / .05);
  transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 20px 25px -5px rgb(0 0 0 / .08); }
@media (min-width: 640px) { .card { flex-basis: calc((100% - 1.5rem) / 2); flex-grow: 0; } }
@media (min-width: 1024px) { .card { flex-basis: calc((100% - 3rem) / 3); } }
.card-icon {
  width: 3.25rem; height: 3.25rem; border-radius: 1rem;
  display: flex; align-items: center; justify-content: center;
  background: rgb(65 118 186 / .12); color: var(--accent);
}
.card-icon svg { width: 1.6rem; height: 1.6rem; }
.card h3 { font-size: 1.25rem; font-weight: 700; margin-top: 1.25rem; }
.card p { color: rgb(36 47 102 / .7); font-weight: 300; line-height: 1.6; margin-top: .5rem; }

/* Contactblok */
.contact {
  background: var(--primary); color: #fff; border-radius: 1.5rem;
  padding: 2.5rem 1.5rem; display: grid; gap: 2.5rem; align-items: center;
  box-shadow: 0 25px 50px -12px rgb(36 47 102 / .35);
}
@media (min-width: 640px) { .contact { padding: 3.5rem; } }
@media (min-width: 1024px) { .contact { grid-template-columns: 1fr 1fr; } }
.contact h2 { color: #fff; }
.contact-text p { color: rgb(255 255 255 / .7); font-weight: 300; font-size: 1.1rem; line-height: 1.65; margin-top: 1rem; }
.contact-items { display: grid; gap: 1rem; }
.contact-item {
  display: flex; align-items: center; gap: 1rem; padding: 1.25rem;
  border-radius: 1rem; background: rgb(255 255 255 / .05); border: 1px solid rgb(255 255 255 / .1);
  transition: background .2s, border-color .2s;
}
.contact-item:hover { background: rgb(255 255 255 / .1); border-color: rgb(143 181 230 / .5); }
.contact-icon {
  flex: none; width: 3rem; height: 3rem; border-radius: .75rem;
  display: flex; align-items: center; justify-content: center;
  background: rgb(143 181 230 / .15); color: var(--accent-light);
}
.contact-icon svg { width: 1.4rem; height: 1.4rem; }
.contact-label { display: block; color: rgb(255 255 255 / .6); font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.contact-value { display: block; color: #fff; font-weight: 700; font-size: 1.125rem; margin-top: .15rem; overflow-wrap: anywhere; }

/* Footer */
.footer { background: var(--primary); color: #fff; padding: 2.5rem 0; border-top: 1px solid rgb(255 255 255 / .05); }
.footer-inner { display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 1rem; }
@media (min-width: 640px) { .footer-inner { flex-direction: row; } }
.footer p { color: rgb(255 255 255 / .5); font-size: .8rem; font-weight: 300; }
.footer p a { color: rgb(255 255 255 / .75); text-decoration: underline; text-underline-offset: 2px; transition: color .2s; }
.footer p a:hover { color: var(--accent-light); }
.logo-footer { box-shadow: none; }
.logo-footer img { height: 2.25rem; }

@keyframes fade-in-up { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(8px); } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .4; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
