/* Huisstijlkleuren Hollands Schoon (uit logo en website) */
:root {
  --purple: #2b0037;      /* donkerpaars, website */
  --purple-2: #3a0a4a;
  --indigo: #322268;      /* logo */
  --violet: #50296c;      /* logo-verloop start */
  --magenta: #be2b8b;     /* logo-verloop eind */
  --grey: #606a70;        /* logo */
  --ink: #1d0a24;
  --muted: #606a70;
  --line: #e4e0e8;
  --paper: #f7f7f7;
  --white: #ffffff;
  --grad: linear-gradient(100deg, #50296c 0%, #8e2b81 55%, #be2b8b 100%);
  --radius: 18px;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1320px;
  --display: 'KoHo', 'Asap', system-ui, sans-serif;
  --body: 'Asap', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0; font-family: var(--body); color: var(--ink); background: var(--paper);
  line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.02; margin: 0; letter-spacing: -0.01em; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--magenta); outline-offset: 3px; border-radius: 6px; }

.grad {
  background: linear-gradient(100deg, #a0288c, #d23c99 70%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { font-size: clamp(1.05rem, 1.4vw, 1.22rem); max-width: 34em; opacity: .88; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45em;
  padding: .9em 1.5em; border-radius: 999px; font-weight: 600; text-decoration: none;
  border: 2px solid transparent; transition: transform .2s, background .2s, color .2s, border-color .2s, box-shadow .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--white); color: var(--purple); }
.btn--primary:hover { background: #efe9f1; }
.btn--ghost { border-color: rgba(255,255,255,.35); color: var(--white); }
.btn--ghost:hover { border-color: var(--white); background: rgba(255,255,255,.08); }
.btn--dark { background: var(--purple); color: var(--white); }
.btn--dark:hover { background: var(--violet); }
.btn--outline { border-color: var(--purple); color: var(--purple); }
.btn--outline:hover { background: var(--purple); color: var(--white); }
.btn--sm { padding: .55em 1.1em; font-size: .92rem; }
.btn--block { width: 100%; }
.link { background: none; border: 0; padding: 0; color: var(--purple); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* Nav */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px var(--gutter);
  transition: background .3s, box-shadow .3s;
}
.nav.is-scrolled { background: rgba(43,0,55,.92); backdrop-filter: blur(10px); box-shadow: 0 6px 24px rgba(0,0,0,.18); }
.nav__logo img { height: 44px; width: auto; }
.nav__links { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 32px); color: var(--white); }
.nav__links > a:not(.btn) { text-decoration: none; font-weight: 500; opacity: .85; }
.nav__links > a:not(.btn):hover { opacity: 1; }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 600px at 90% 10%, rgba(190,43,139,.28), transparent 60%),
    radial-gradient(900px 700px at -10% 110%, rgba(80,41,108,.7), transparent 60%),
    var(--purple);
  color: var(--white);
  padding: 140px 0 56px;
}
.hero__text { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 16px 64px; align-items: end; }
.hero h1 { font-size: clamp(3rem, 7.4vw, 6.4rem); grid-row: span 2; }
.hero .lead { margin: 0; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 8px 0 0; }
.stats { display: flex; gap: 44px; margin: 36px 0 0; grid-column: 1 / -1; }
.stats dt { font-family: var(--display); font-size: clamp(2rem, 3.6vw, 2.8rem); font-weight: 700; line-height: 1; color: var(--white); }
.stats dd { margin: 6px 0 0; font-size: .9rem; opacity: .7; }

.hero__slider { margin-top: clamp(40px, 6vw, 72px); }
.marquee-hero { overflow: hidden; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.marquee-hero.is-dragging { cursor: grabbing; }
.marquee-hero__track { display: flex; gap: 16px; width: max-content; will-change: transform; }
.slide {
  flex: none; display: block; position: relative; width: clamp(220px, 26vw, 360px); aspect-ratio: 4 / 5;
  border-radius: 16px; overflow: hidden; background: var(--purple-2); color: var(--white); text-decoration: none; cursor: inherit;
}
.slide img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; user-select: none; -webkit-user-drag: none; transition: transform .5s; }
.slide:hover img { transform: scale(1.04); }
.slide__caption {
  position: absolute; left: 12px; bottom: 12px; background: rgba(43,0,55,.85); color: var(--white);
  font-size: .85rem; font-weight: 600; padding: 5px 12px; border-radius: 999px;
}

/* Clients */
.clients { background: var(--purple-2); color: var(--white); padding: 22px 0; display: flex; align-items: center; gap: 24px; overflow: hidden; }
.clients__label { flex: none; margin: 0 0 0 var(--gutter); font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; opacity: .6; }
.marquee { overflow: hidden; flex: 1; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee__track { display: flex; align-items: center; gap: 28px; width: max-content; will-change: transform; }
.marquee__track img { flex: none; height: 38px; width: 120px; object-fit: contain; opacity: .85; pointer-events: none; }
.marquee.is-dragging { cursor: grabbing; }

/* Work */
.work { max-width: var(--max); margin: 0 auto; padding: clamp(64px, 9vw, 120px) var(--gutter); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 32px; margin-bottom: 36px; }
.section-head h2 { font-size: clamp(2.4rem, 5vw, 4rem); color: var(--purple); }
.section-head p { margin: 0; color: var(--muted); }
.section-head--light h2 { color: var(--white); }
.section-head--light p { color: rgba(255,255,255,.7); }

.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 32px); }
.card {
  position: relative; display: flex; flex-direction: column; text-align: left;
  background: var(--white); border: 0; padding: 0; border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 1px 2px rgba(43,0,55,.06), 0 8px 28px rgba(43,0,55,.06);
  transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 18px 48px rgba(43,0,55,.16); }
.card__img { aspect-ratio: 16 / 10; overflow: hidden; background: #ece6ee; position: relative; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.card:hover .card__img img { transform: scale(1.05); }
.card__body { padding: 22px 26px 26px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.badge {
  align-self: flex-start; display: inline-block; max-width: 100%;
  font-size: .85rem; font-weight: 700; line-height: 1.35;
  padding: 6px 14px; border-radius: 10px;
}
.badge--sector { background: #f1ecf3; color: var(--purple); margin-bottom: 6px; }
.badge--result { background: #fbeef6; color: var(--magenta); margin-top: 8px; }
.card__name { font-family: var(--display); font-size: clamp(1.6rem, 2.4vw, 2rem); font-weight: 700; color: var(--purple); line-height: 1.1; }
.card__tagline { color: var(--ink); opacity: .8; font-size: 1.05rem; }
.more {
  margin-top: clamp(40px, 5vw, 64px); display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center;
}
.more::before {
  content: ''; width: 100%; height: 1px; margin-bottom: clamp(24px, 3vw, 40px);
  background: linear-gradient(90deg, transparent, var(--line) 20%, var(--line) 80%, transparent);
}
.more__text { margin: 0; color: var(--muted); font-size: 1.08rem; max-width: 36em; }

.tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { font-size: .78rem; font-weight: 600; background: #f1ecf3; color: var(--purple); padding: 4px 10px; border-radius: 999px; }

/* Services */
.services {
  background: var(--purple); color: var(--white);
  padding: clamp(64px, 9vw, 120px) max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter)));
}
.services__list { list-style: none; margin: 0 0 32px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: rgba(255,255,255,.12); border-radius: var(--radius); overflow: hidden; }
.services__list li { background: var(--purple); padding: 28px 24px; display: flex; flex-direction: column; gap: 6px; transition: background .25s; }
.services__list li:hover { background: var(--purple-2); }
.services__list strong { font-family: var(--display); font-size: 1.3rem; }
.services__list span { opacity: .7; font-size: .95rem; }
.workout {
  display: flex; align-items: center; justify-content: space-between; gap: 8px 28px; flex-wrap: wrap; text-decoration: none;
  background: var(--purple-2); color: var(--white); border: 1px solid rgba(255,255,255,.12);
  padding: 28px 32px; border-radius: var(--radius); transition: background .25s;
}
.workout:hover { background: var(--violet); }
.workout__title { font-family: var(--display); font-weight: 700; font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1; }
.workout__text { font-weight: 600; }

/* Contact */
.contact { background: var(--paper); color: var(--purple); padding: clamp(72px, 10vw, 140px) var(--gutter); }
.contact__inner { max-width: 820px; margin: 0 auto; text-align: center; }
.contact h2 { font-size: clamp(2.6rem, 6vw, 5rem); margin-bottom: 22px; }
.contact .grad { background: none; color: var(--magenta); }
.contact .lead { margin: 0 auto; color: var(--ink); }
.contact__name { margin: 10px 0 0; font-weight: 600; color: var(--muted); }
.contact__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 30px 0 26px; }
.contact__address { color: var(--muted); font-size: .92rem; margin: 0; }

.footer {
  background: var(--purple); color: rgba(255,255,255,.65);
  padding: 28px var(--gutter); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; font-size: .9rem;
}
.footer img { height: 34px; width: auto; justify-self: start; }
.footer p { margin: 0; text-align: center; }
.footer__social { display: flex; gap: 18px; justify-self: end; }
.footer__social a { text-decoration: none; }
.footer__social a:hover { color: var(--white); }

/* Case dialog */
.case {
  width: min(1240px, calc(100vw - 32px)); max-width: none; height: min(820px, calc(100svh - 32px)); max-height: none;
  padding: 0; border: 0; border-radius: 22px; background: var(--white); color: var(--ink);
  box-shadow: 0 40px 120px rgba(0,0,0,.45); overflow: hidden;
}
.case[open] { animation: case-in .35s cubic-bezier(.2,.7,.2,1); }
.case::backdrop { background: rgba(20,0,26,.72); backdrop-filter: blur(6px); }
@keyframes case-in { from { opacity: 0; transform: translateY(24px) scale(.98); } }
.case__wrap { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(320px, 1fr); height: 100%; }
.case__close, .case__arrow {
  display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; line-height: 0;
}
.case__close svg, .case__arrow svg { display: block; }
.case__close {
  position: absolute; top: 14px; right: 14px; z-index: 3; width: 44px; height: 44px;
  background: var(--purple); color: var(--white); transition: background .2s;
}
.case__close:hover { background: var(--magenta); }
.case__media { background: #160019; display: flex; flex-direction: column; min-height: 0; }
.case__stage { position: relative; flex: 1; min-height: 0; display: grid; place-items: center; }
.case__stage img { width: 100%; height: 100%; object-fit: contain; transition: opacity .25s; }
.case__stage img.is-loading { opacity: .25; }
.case__arrow {
  position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px;
  background: rgba(255,255,255,.92); color: var(--purple); transition: background .2s, color .2s;
}
.case__arrow:hover { background: var(--magenta); color: var(--white); }
.case__arrow[hidden] { display: none; }
.case__arrow--prev { left: 14px; }
.case__arrow--next { right: 14px; }
.case__counter { position: absolute; left: 16px; bottom: 14px; color: rgba(255,255,255,.8); font-size: .85rem; background: rgba(0,0,0,.45); padding: 3px 10px; border-radius: 999px; }
.case__thumbs { display: flex; gap: 8px; padding: 12px; overflow-x: auto; scrollbar-width: thin; flex: none; }
.case__thumbs button { flex: none; width: 84px; height: 60px; padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; background: #2a1830; opacity: .55; transition: opacity .2s, border-color .2s; }
.case__thumbs button:hover { opacity: .9; }
.case__thumbs button[aria-current="true"] { opacity: 1; border-color: var(--magenta); }
.case__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.case__info { padding: 40px 34px 28px; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; }
.case__sector { margin: 0; font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); font-weight: 600; }
.case__info h3 { font-size: clamp(2rem, 3vw, 2.6rem); color: var(--purple); padding-right: 40px; }
.case__tagline { margin: 0 0 6px; font-size: 1.12rem; font-weight: 500; }
.case__result { margin: 0 0 6px; align-self: flex-start; background: #fbeef6; color: var(--magenta); font-weight: 700; line-height: 1.35; padding: 8px 14px; border-radius: 10px; }
.case__result:empty { display: none; }
.case__info h4 { font-family: var(--body); font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin-top: 10px; }
.case__info p { margin: 0; }
.case__info .tags { margin: 12px 0 18px; }
.case__links { margin-top: auto; display: flex; flex-direction: column; gap: 8px; }
.case__nav { display: flex; justify-content: space-between; margin-top: 14px; font-size: .92rem; }

/* Responsive */
@media (max-width: 1080px) {
  .services__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .hero { padding-top: 120px; }
  .hero__text { grid-template-columns: 1fr; }
  .hero h1 { grid-row: auto; }
  .stats { margin-top: 20px; }
  .case { height: calc(100svh - 24px); width: calc(100vw - 24px); }
  .case__wrap { display: block; overflow-y: auto; }
  .case__stage { height: min(72vw, 52svh); flex: none; }
  .case__info { overflow: visible; padding: 26px 20px 24px; }
}
@media (max-width: 760px) {
  .grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav__links > a:not(.btn) { display: none; }
  .nav__logo img { height: 36px; }
  .services__list { grid-template-columns: 1fr; }
  .clients { flex-direction: column; align-items: stretch; gap: 12px; }
  .clients__label { margin: 0 var(--gutter); }
  .footer { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .footer img, .footer__social { justify-self: center; }
  .case__arrow { width: 40px; height: 40px; }
  .btn { white-space: normal; text-align: center; }
  .more { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
