@import url("/assets/css/fonts.css");

/* ---------------------------------------------------------------
   YB Motive — huisstijl
   magenta #ec028c en antraciet, zoals het logo. Alleen de opmaak
   is gemoderniseerd, de identiteit blijft staan.
   --------------------------------------------------------------- */

:root {
  --pink: #ec028c;
  --pink-dark: #c40275;
  --pink-soft: #fdeaf5;
  --ink: #1c1c1e;
  --ink-soft: #3a3a3d;
  --grey: #6b6b70;
  --grey-light: #9a9aa0;
  --line: #e8e6e7;
  --bg: #ffffff;
  --bg-alt: #faf8f9;
  --bg-dark: #1c1c1e;

  --wrap: 1180px;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 2px 4px rgba(28,28,30,.04), 0 12px 32px rgba(28,28,30,.06);
  --shadow-lg: 0 4px 8px rgba(28,28,30,.05), 0 24px 60px rgba(28,28,30,.10);
  --ease: cubic-bezier(.4,0,.2,1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.68;
  color: var(--ink-soft);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--pink); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--pink-dark); }

h1, h2, h3, h4 {
  font-family: 'Fraunces', Georgia, 'Times New Roman', serif;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -.015em;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.3rem, 5.2vw, 3.7rem); }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.42rem); }
h4 { font-size: 1.08rem; font-family: 'Inter', sans-serif; font-weight: 600; letter-spacing: 0; }
p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(64px, 9vw, 118px) 0; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--bg-dark); color: #d6d4d5; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--tight { padding-top: clamp(44px, 6vw, 72px); }

/* ---------- Kleine bouwstenen ---------- */

.eyebrow {
  display: inline-block;
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 14px;
}
.section--dark .eyebrow { color: #ff5cb4; }

.lead { font-size: clamp(1.06rem, 1.6vw, 1.2rem); color: var(--grey); }

.section-head { max-width: 720px; margin-bottom: clamp(38px, 5vw, 58px); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 30px;
  border: 0; border-radius: 100px;
  font-family: 'Inter', sans-serif; font-size: .96rem; font-weight: 600;
  cursor: pointer; text-align: center;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), background .22s var(--ease), color .22s var(--ease);
}
.btn--primary { background: var(--pink); color: #fff; box-shadow: 0 6px 20px rgba(236,2,140,.28); }
.btn--primary:hover { background: var(--pink-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 10px 28px rgba(236,2,140,.36); }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--ghost:hover { color: var(--pink); box-shadow: inset 0 0 0 1.5px var(--pink); transform: translateY(-2px); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { color: var(--pink); transform: translateY(-2px); }
.btn .arrow { transition: transform .22s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Header ---------- */

.header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 24px rgba(28,28,30,.05); }

.topbar { background: var(--bg-dark); color: #b9b7b8; font-size: .82rem; }
.topbar__inner { display: flex; justify-content: flex-end; gap: 26px; align-items: center; height: 40px; }
.topbar a { color: #d6d4d5; display: inline-flex; align-items: center; gap: 7px; }
.topbar a:hover { color: #fff; }
.topbar svg { width: 14px; height: 14px; flex: none; opacity: .75; }

.nav { display: flex; align-items: center; justify-content: space-between; height: 78px; gap: 24px; position: relative; }
/* Op desktop bestaat het paneel niet als eigen laag: links en knop blijven
   gewoon losse kinderen van .nav. Op mobiel wordt het het uitklapmenu. */
.nav__panel { display: contents; }
.nav__logo { display: flex; align-items: center; gap: 12px; flex: none; }
.nav__logo img { width: 46px; height: 46px; }
.nav__logo span { font-family: 'Fraunces', serif; font-weight: 600; font-size: 1.16rem; color: var(--ink); letter-spacing: -.01em; }
.nav__links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__links a {
  display: block; padding: 10px 15px; border-radius: 8px;
  font-size: .95rem; font-weight: 500; color: var(--ink-soft);
  transition: color .2s var(--ease), background .2s var(--ease);
}
.nav__links a:hover { color: var(--pink); background: var(--pink-soft); }
.nav__links a.is-active { color: var(--pink); font-weight: 600; }
.nav__cta { flex: none; }
.nav__cta .btn { padding: 12px 24px; font-size: .92rem; }

.nav__toggle {
  display: none; width: 44px; height: 44px; border: 0; background: transparent;
  cursor: pointer; padding: 0; position: relative; flex: none;
}
.nav__toggle span {
  position: absolute; left: 11px; width: 22px; height: 2px; background: var(--ink);
  border-radius: 2px; transition: transform .28s var(--ease), opacity .18s var(--ease);
}
.nav__toggle span:nth-child(1) { top: 15px; }
.nav__toggle span:nth-child(2) { top: 21px; }
.nav__toggle span:nth-child(3) { top: 27px; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */

.hero { position: relative; overflow: hidden; background: var(--bg-alt); }
.hero::before {
  content: ''; position: absolute; top: -28%; right: -12%;
  width: 620px; height: 620px; border-radius: 50%;
  background: radial-gradient(circle, rgba(236,2,140,.10), rgba(236,2,140,0) 68%);
  pointer-events: none;
}
.hero__inner {
  display: grid; grid-template-columns: 1.06fr .94fr; gap: clamp(36px, 6vw, 78px);
  align-items: center; padding: clamp(56px, 8vw, 104px) 0;
  position: relative;
}
.hero__quote {
  font-family: 'Fraunces', serif; font-weight: 500; font-style: italic;
  font-size: clamp(1.44rem, 2.5vw, 1.92rem); line-height: 1.38; color: var(--ink);
  margin: 0 0 18px; letter-spacing: -.01em;
}
.hero__cite { display: block; font-family: 'Inter', sans-serif; font-style: normal; font-size: .92rem; font-weight: 600; color: var(--pink); letter-spacing: .04em; margin-top: 14px; }
.hero__text { margin: 26px 0 32px; font-size: clamp(1.04rem, 1.5vw, 1.16rem); color: var(--grey); max-width: 34em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__figure { position: relative; }
.hero__figure img {
  width: 100%; border-radius: calc(var(--radius) + 8px);
  box-shadow: var(--shadow-lg);
}
.hero__badge {
  position: absolute; left: -22px; bottom: 30px;
  background: #fff; border-radius: var(--radius-sm);
  padding: 16px 22px; box-shadow: var(--shadow-lg);
  max-width: 250px;
}
.hero__badge strong { display: block; font-family: 'Fraunces', serif; font-size: 1.55rem; color: var(--pink); line-height: 1; }
.hero__badge span { font-size: .84rem; color: var(--grey); display: block; margin-top: 5px; line-height: 1.4; }

/* ---------- Pagina-hero (subpagina's) ---------- */

.pagehero { background: var(--bg-dark); color: #cfcdce; position: relative; overflow: hidden; }
.pagehero::after {
  content: ''; position: absolute; right: -8%; top: -60%;
  width: 560px; height: 560px; border-radius: 50%;
  background: radial-gradient(circle, rgba(236,2,140,.22), rgba(236,2,140,0) 66%);
}
.pagehero__inner { padding: clamp(56px, 8vw, 96px) 0; position: relative; z-index: 1; max-width: 780px; }
.pagehero h1 { color: #fff; margin-bottom: 18px; }
.pagehero p { font-size: clamp(1.04rem, 1.6vw, 1.18rem); color: #b9b7b8; max-width: 36em; margin: 0; }
.crumb { font-size: .84rem; color: #8b8889; margin-bottom: 20px; }
.crumb a { color: #b9b7b8; }
.crumb a:hover { color: #fff; }

/* ---------- Grids ---------- */

.grid { display: grid; gap: 26px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 30px; transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease);
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card__icon { width: 82px; height: 82px; margin-bottom: 20px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--grey); font-size: .98rem; margin-bottom: 18px; }
.card__link { margin-top: auto; font-weight: 600; font-size: .93rem; display: inline-flex; align-items: center; gap: 7px; }
.card__link .arrow { transition: transform .22s var(--ease); }
.card:hover .card__link .arrow { transform: translateX(4px); }

.tile { text-align: center; padding: 30px 20px; }
.tile img { width: 96px; height: 96px; margin: 0 auto 16px; }
.tile h4 { margin-bottom: 6px; color: var(--ink); }
.tile p { font-size: .92rem; color: var(--grey); margin: 0; }

/* ---------- Split ---------- */

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 76px); align-items: center; }
.split--wide-text { grid-template-columns: 1.15fr .85fr; }
.split__media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.split__media--stack { position: relative; }

.checklist { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 32px; color: var(--ink-soft); }
.checklist li::before {
  content: ''; position: absolute; left: 0; top: .5em;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--pink-soft);
  box-shadow: inset 0 0 0 2px var(--pink);
}
.section--dark .checklist li { color: #cfcdce; }
.section--dark .checklist li::before { background: rgba(236,2,140,.2); }

.taglist { display: flex; flex-wrap: wrap; gap: 9px; margin: 26px 0 0; padding: 0; list-style: none; }
.taglist li {
  font-size: .87rem; padding: 8px 15px; border-radius: 100px;
  background: var(--bg-alt); color: var(--ink-soft); border: 1px solid var(--line);
}
.section--dark .taglist li { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); color: #cfcdce; }

/* ---------- Klantenlogo's ---------- */

.logos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: center; }
.logos__item {
  display: flex; align-items: center; justify-content: center;
  padding: 26px 22px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-sm); min-height: 108px;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease), transform .3s var(--ease);
}
.logos__item:hover { border-color: transparent; box-shadow: var(--shadow); transform: translateY(-3px); }
.logos__item img {
  max-height: 46px; width: auto; opacity: .78;
  filter: grayscale(100%) contrast(1.15);
  transition: opacity .3s var(--ease), filter .3s var(--ease);
}
.logos__item:hover img { opacity: 1; filter: grayscale(0%); }

/* ---------- Testimonials ---------- */

.quote {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 30px; display: flex; flex-direction: column;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease);
}
.quote:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.quote__mark { font-family: 'Fraunces', serif; font-size: 3.4rem; line-height: .7; color: var(--pink); opacity: .22; margin-bottom: 8px; }
.quote p { font-size: .98rem; color: var(--ink-soft); margin-bottom: 22px; }
.quote__who { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); }
.quote__who strong { display: block; font-size: .96rem; color: var(--ink); font-weight: 600; }
.quote__who span { font-size: .84rem; color: var(--grey-light); line-height: 1.45; display: block; margin-top: 3px; }

/* ---------- Contact ---------- */

.contact { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(36px, 5vw, 64px); align-items: start; }

.contact__item { display: flex; gap: 15px; align-items: flex-start; margin-bottom: 24px; }
.contact__item:last-child { margin-bottom: 0; }
.contact__icon {
  flex: none; width: 44px; height: 44px; border-radius: 50%;
  background: var(--pink-soft); display: flex; align-items: center; justify-content: center;
}
.contact__icon svg { width: 19px; height: 19px; color: var(--pink); }
.contact__item h4 { margin: 0 0 2px; font-size: .82rem; color: var(--grey-light); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.contact__item a, .contact__item p { font-size: 1.02rem; color: var(--ink); font-weight: 500; margin: 0; }
.contact__item a:hover { color: var(--pink); }

.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(26px, 3.4vw, 40px); box-shadow: var(--shadow); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form__field { margin-bottom: 18px; }
.form__field label { display: block; font-size: .87rem; font-weight: 600; color: var(--ink); margin-bottom: 7px; }
.form__field input, .form__field textarea {
  width: 100%; padding: 13px 16px;
  border: 1.5px solid var(--line); border-radius: 10px;
  font-family: inherit; font-size: .97rem; color: var(--ink); background: #fff;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.form__field input:focus, .form__field textarea:focus {
  outline: none; border-color: var(--pink); box-shadow: 0 0 0 3px rgba(236,2,140,.11);
}
.form__field textarea { resize: vertical; min-height: 132px; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__submit { width: 100%; justify-content: center; }
.form__note { font-size: .82rem; color: var(--grey-light); margin: 14px 0 0; text-align: center; }
.form__message { display: none; padding: 14px 18px; border-radius: 10px; font-size: .93rem; margin-bottom: 18px; }
.form__message--success { display: block; background: #eaf7ef; color: #1c6b3c; border: 1px solid #bfe4cd; }
.form__message--error { display: block; background: #fdecec; color: #a52020; border: 1px solid #f5c6c6; }

/* ---------- CTA-band ---------- */

.cta { background: var(--bg-dark); color: #cfcdce; position: relative; overflow: hidden; }
.cta::before {
  content: ''; position: absolute; left: -6%; bottom: -70%;
  width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(236,2,140,.20), rgba(236,2,140,0) 66%);
}
.cta__inner { position: relative; z-index: 1; text-align: center; max-width: 680px; margin: 0 auto; padding: clamp(56px, 7vw, 88px) 0; }
.cta h2 { color: #fff; }
.cta p { color: #b9b7b8; margin-bottom: 30px; }
.cta__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */

.footer { background: #131315; color: #8b8889; font-size: .93rem; padding: clamp(48px, 6vw, 72px) 0 0; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 44px; padding-bottom: 44px; }
.footer__logo { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer__logo img { width: 42px; height: 42px; }
.footer__logo span { font-family: 'Fraunces', serif; font-size: 1.1rem; color: #fff; font-weight: 600; }
.footer p { max-width: 32em; line-height: 1.65; }
.footer h4 { color: #fff; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer a { color: #8b8889; }
.footer a:hover { color: var(--pink); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 22px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: .85rem;
}

/* ---------- Scroll-animatie ----------
   Alleen verbergen als JS daadwerkelijk draait (html.js wordt in de <head>
   gezet). Zonder JS, of als de observer om wat voor reden dan ook niet
   aanslaat, staat alle content gewoon zichtbaar. */

.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .logos { grid-template-columns: repeat(3, 1fr); }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__figure { max-width: 460px; }
  .hero__badge { left: auto; right: 16px; }
  .contact { grid-template-columns: 1fr; }
  .split, .split--wide-text { grid-template-columns: 1fr; }
  .split__media { order: -1; }
  .split--media-last .split__media { order: 0; }
}

@media (max-width: 860px) {
  .nav__toggle { display: block; }
  .nav__panel {
    display: none;
    position: absolute; left: -24px; right: -24px; top: 100%;
    background: #fff;
    border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
    padding: 12px 24px 20px;
    box-shadow: 0 18px 40px rgba(28,28,30,.1);
    max-height: calc(100vh - 130px); overflow-y: auto;
  }
  .nav.is-open .nav__panel { display: block; }
  .nav__links { flex-direction: column; align-items: stretch; gap: 2px; width: 100%; }
  .nav__links a { padding: 13px 12px; font-size: 1rem; }
  .nav__cta { margin-top: 14px; }
  .nav__cta .btn { width: 100%; justify-content: center; padding: 14px 24px; }
  .topbar__inner { justify-content: center; gap: 18px; font-size: .78rem; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .logos { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .logos__item { min-height: 86px; padding: 18px 14px; }
  .logos__item img { max-height: 34px; }
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .footer__grid { grid-template-columns: 1fr; gap: 34px; }
  .hero__badge { position: static; margin-top: 18px; max-width: none; }
  .btn { width: 100%; justify-content: center; }
  .hero__actions .btn, .cta__actions .btn { width: auto; }
}

@media (max-width: 480px) {
  .logos { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: 1fr; }
  .topbar__inner { flex-direction: column; height: auto; padding: 8px 0; gap: 4px; }
}
