/* Good Times — display font. Plaats het bestand in /assets/fonts/good-times.otf */
@font-face {
  font-family: "Good Times";
  src: url("/assets/fonts/good-times.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* =========================================================================
   ixpression AI — gedeelde stijl (design tokens + componenten)
   Eén bron van waarheid voor kleuren, typografie, knoppen, kaarten,
   navigatie en footer. Gekoppeld in elke pagina via /assets/ix.css
   ========================================================================= */

:root {
  --ix-plum:    #49103f;   /* donker aubergine — headings, donkere secties */
  --ix-violet:  #6d2784;   /* primair paars — brand kleur */
  --ix-magenta: #b12e84;   /* accent — CTAs, links, actieve states */
  --ix-lilac:   #9570b0;   /* ondersteunend paars */

  --ix-50:  #faf5fc;
  --ix-100: #f0e6f4;
  --ix-200: #ddc8e6;
  --ix-300: #b98fc9;
  --ix-400: #9a52ab;

  --ix-gray-900: #2c2530;  /* body tekst */
  --ix-gray-700: #574c5b;  /* ondersteunende tekst */
  --ix-gray-500: #837a87;  /* muted tekst */
  --ix-gray-300: #d3cdd6;
  --ix-gray-200: #e7e3e9;
  --ix-gray-100: #f3f1f4;
  --ix-gray-50:  #faf9fb;

  --ix-gradient: linear-gradient(100deg, #49103f 0%, #6d2784 45%, #b12e84 100%);
  --ix-sphere:   radial-gradient(circle at 38% 32%, #9a52ab 0%, #6d2784 42%, #49103f 100%);

  --font-display: "Good Times", "Titillium Web", system-ui, sans-serif;
  --font-sans:    "Titillium Web", system-ui, sans-serif;

  --radius-sm: 8px;  --radius-md: 12px;
  --radius-lg: 18px; --radius-pill: 999px;

  --shadow-sm:    0 2px 8px rgba(73,16,63,.08);
  --shadow-md:    0 8px 24px rgba(73,16,63,.12);
  --shadow-lg:    0 18px 48px rgba(73,16,63,.16);
  --shadow-brand: 0 12px 30px rgba(109,39,132,.32);
  --shadow-mag:   0 10px 26px rgba(177,46,132,.34);

  --nav-h: 68px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }

body {
  font-family: var(--font-sans);
  color: var(--ix-gray-900);
  background: #fff;
  margin: 0;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 { margin: 0; line-height: 1.12; }
/* Win van Tailwind preflight (h1-h6{font-weight:inherit}) via hogere specificiteit */
body h1, body h2, body h3, body h4, body h5, body h6 { font-weight: 700; }
p { margin: 0; }
[x-cloak] { display: none !important; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

::selection { background: var(--ix-200); color: var(--ix-plum); }

:focus-visible {
  outline: 3px solid var(--ix-magenta);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- layout helpers ---------- */
.ix-container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.ix-container--narrow { max-width: 880px; }
.ix-section { padding: 88px 0; }
@media (max-width: 640px) { .ix-section { padding: 60px 0; } }

/* ---------- typografie ---------- */
.ix-display {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .005em;
  font-weight: 900;
  line-height: 1.06;
  color: var(--ix-plum);
}

/* H1 altijd in Good Times (valt terug op Titillium Web als het font niet laadt) */
h1, h1.ix-display {
  font-family: "Good Times", "Titillium Web", system-ui, sans-serif !important;
  text-transform: uppercase;
  letter-spacing: .02em;
  line-height: 1.15;
}

.ix-eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 11px;
  font-weight: 700;
  color: var(--ix-magenta);
}
.ix-lead { font-size: 18px; color: var(--ix-gray-700); line-height: 1.65; }
.ix-muted { color: var(--ix-gray-500); }

/* ---------- eyebrow badge (pill) ---------- */
.ix-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--ix-50);
  color: var(--ix-violet);
  border: 1px solid var(--ix-200);
  border-radius: var(--radius-pill);
  padding: 7px 16px;
  font-size: 13px; font-weight: 600;
}
.ix-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ix-magenta); box-shadow: 0 0 0 4px rgba(177,46,132,.15); }

/* ---------- knoppen ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-sans); font-weight: 700; font-size: 15px;
  border-radius: var(--radius-pill);
  cursor: pointer; border: 1.5px solid transparent;
  transition: background .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
  line-height: 1; white-space: nowrap;
}
.btn-primary {
  background: var(--ix-magenta); color: #fff; padding: 14px 28px;
  box-shadow: var(--shadow-mag);
}
.btn-primary:hover { background: #8a2065; transform: translateY(-2px); box-shadow: 0 14px 32px rgba(177,46,132,.42); }
.btn-secondary {
  background: #fff; color: var(--ix-violet);
  border-color: var(--ix-300); padding: 13px 28px;
}
.btn-secondary:hover { background: var(--ix-50); transform: translateY(-2px); }
.btn-light {
  background: #fff; color: var(--ix-magenta); padding: 16px 34px; font-size: 16px;
  box-shadow: var(--shadow-lg);
}
.btn-light:hover { background: var(--ix-50); transform: translateY(-2px); }
.btn-ghost-light {
  background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.35); padding: 13px 28px;
}
.btn-ghost-light:hover { background: rgba(255,255,255,.16); transform: translateY(-2px); }
.btn-block { width: 100%; }

/* ---------- kaarten ---------- */
.ix-card {
  background: #fff;
  border: 1px solid var(--ix-gray-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s ease, transform .2s ease;
}
.ix-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }

/* ---------- sphere decoratie ---------- */
.ix-sphere {
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--ix-sphere);
  box-shadow: var(--shadow-brand);
  display: flex; align-items: center; justify-content: center;
  color: #fff; flex: none;
}
.ix-sphere svg { width: 26px; height: 26px; }
.ix-sphere--magenta { background: radial-gradient(circle at 38% 32%, #d864ad 0%, #b12e84 45%, #8a2065 100%); }
.ix-sphere--violet  { background: radial-gradient(circle at 38% 32%, #9a52ab 0%, #6d2784 45%, #49103f 100%); }
.ix-sphere--indigo  { background: radial-gradient(circle at 38% 32%, #7d72d8 0%, #534ab7 48%, #2f2a78 100%); }
.ix-sphere--amber   { background: radial-gradient(circle at 38% 32%, #e9a94b 0%, #ba7517 50%, #7d4d0c 100%); }

/* ---------- compliance pill ---------- */
.ix-pill {
  display: inline-flex; align-items: center; gap: 7px;
  background: #fff; border: 1px solid var(--ix-gray-200);
  border-radius: var(--radius-pill); padding: 8px 15px;
  font-size: 13px; font-weight: 600; color: var(--ix-gray-700);
}
.ix-pill svg { width: 15px; height: 15px; color: var(--ix-magenta); flex: none; }
.ix-tag {
  display: inline-block; background: var(--ix-100); color: var(--ix-violet);
  border-radius: var(--radius-pill); padding: 4px 11px; font-size: 12px; font-weight: 600;
}

/* =========================================================================
   NAVIGATIE
   ========================================================================= */
.ix-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--ix-gray-200);
  transition: box-shadow .25s ease;
}
.ix-nav.is-scrolled { box-shadow: var(--shadow-sm); }
.ix-nav__inner { display: flex; align-items: center; gap: 24px; height: var(--nav-h); }

.ix-logo { display: inline-flex; align-items: center; gap: 2px; font-family: var(--font-display); font-size: 19px; font-weight: 900; }
.ix-logo__name { color: var(--ix-plum); text-transform: uppercase; letter-spacing: .04em; }
.ix-logo__ai   { color: var(--ix-magenta); text-transform: uppercase; font-weight: 700; }

.ix-nav__links { display: flex; align-items: center; gap: 4px; margin-left: 12px; }
.ix-nav__link {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 15px; font-weight: 600; color: var(--ix-gray-700);
  padding: 9px 14px; border-radius: var(--radius-sm); background: none; border: none; cursor: pointer;
  font-family: var(--font-sans); transition: color .15s ease, background .15s ease;
}
.ix-nav__link:hover { color: var(--ix-plum); background: var(--ix-gray-50); }
.ix-nav__link.is-active { color: var(--ix-magenta); }
.ix-nav__link .chev { width: 14px; height: 14px; transition: transform .2s ease; }

.ix-nav__spacer { flex: 1; }
.ix-nav__cta { padding: 11px 22px; font-size: 14px; }

/* dropdown */
.ix-nav__dd { position: relative; }
.ix-nav__menu {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 230px;
  background: #fff; border: 1px solid var(--ix-gray-200); border-radius: var(--radius-md);
  box-shadow: var(--shadow-md); padding: 8px; opacity: 0; visibility: hidden;
  transform: translateY(-6px); transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.ix-nav__dd:hover .ix-nav__menu,
.ix-nav__dd.is-open .ix-nav__menu { opacity: 1; visibility: visible; transform: translateY(0); }
.ix-nav__dd:hover .ix-nav__link .chev,
.ix-nav__dd.is-open .ix-nav__link .chev { transform: rotate(180deg); }
.ix-nav__menu a {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 600; color: var(--ix-gray-700); transition: background .15s ease, color .15s ease;
}
.ix-nav__menu a:hover { background: var(--ix-50); color: var(--ix-magenta); }
.ix-nav__menu a .ic { width: 18px; height: 18px; color: var(--ix-magenta); flex: none; }

.ix-nav__burger {
  display: none; margin-left: auto; width: 44px; height: 44px; border: none; background: none; cursor: pointer;
  align-items: center; justify-content: center; border-radius: var(--radius-sm); color: var(--ix-plum);
}
.ix-nav__burger:hover { background: var(--ix-gray-50); }

/* mobiel menu */
.ix-nav__mobile {
  display: none; border-top: 1px solid var(--ix-gray-200); background: #fff;
  padding: 12px 24px 22px; overflow: hidden;
}
.ix-nav__mobile.is-open { display: block; animation: ixSlideDown .25s ease; }
@keyframes ixSlideDown { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }
.ix-nav__mobile a, .ix-nav__mobile .m-group > span {
  display: block; padding: 12px 6px; font-size: 16px; font-weight: 600; color: var(--ix-gray-900);
  border-bottom: 1px solid var(--ix-gray-100);
}
.ix-nav__mobile a.is-active { color: var(--ix-magenta); }
.ix-nav__mobile .m-sub a { padding-left: 22px; font-size: 15px; font-weight: 500; color: var(--ix-gray-700); border: none; }
.ix-nav__mobile .m-group > span { color: var(--ix-gray-500); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; border: none; padding-bottom: 4px; }
.ix-nav__mobile .btn { margin-top: 16px; }

@media (max-width: 980px) {
  .ix-nav__links, .ix-nav__cta { display: none; }
  .ix-nav__burger { display: inline-flex; }
}

/* =========================================================================
   FOOTER
   ========================================================================= */
.ix-footer { background: var(--ix-plum); color: #fff; }
.ix-footer__grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding: 64px 0 48px;
}
.ix-footer h4 {
  font-family: var(--font-display); text-transform: uppercase; letter-spacing: .1em;
  font-size: 12px; font-weight: 700; color: var(--ix-300); margin-bottom: 18px;
}
.ix-footer a { color: rgba(255,255,255,.78); font-size: 14px; transition: color .15s ease; }
.ix-footer a:hover { color: #fff; }
.ix-footer__links { display: flex; flex-direction: column; gap: 11px; }
.ix-footer__brand .ix-logo__name { color: #fff; }
.ix-footer__brand p { color: rgba(255,255,255,.7); font-size: 14px; margin-top: 14px; max-width: 260px; }
.ix-footer__brand .copy { color: rgba(255,255,255,.5); font-size: 13px; margin-top: 18px; }
.ix-footer__contact span { display: block; color: rgba(255,255,255,.78); font-size: 14px; margin-bottom: 11px; }
.ix-footer__bar {
  border-top: 1px solid rgba(255,255,255,.12); padding: 20px 0;
  text-align: center; font-size: 13px; color: rgba(255,255,255,.6); letter-spacing: .02em;
}
@media (max-width: 860px) {
  .ix-footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 520px) {
  .ix-footer__grid { grid-template-columns: 1fr; }
}

/* =========================================================================
   GEDEELDE SECTIE-PATRONEN (gebruikt op meerdere pagina's)
   ========================================================================= */
.ix-section-head { max-width: 640px; }
.ix-section-head.center { margin: 0 auto; text-align: center; }
.ix-section-head h2 { font-size: clamp(28px, 4vw, 40px); margin: 14px 0 14px; }
.ix-section-head p { font-size: 17px; color: var(--ix-gray-700); }

/* breadcrumb */
.ix-crumb { display: flex; align-items: center; gap: 9px; font-size: 13px; color: var(--ix-gray-500); flex-wrap: wrap; }
.ix-crumb a:hover { color: var(--ix-magenta); }
.ix-crumb .sep { color: var(--ix-gray-300); }
.ix-crumb .cur { color: var(--ix-violet); font-weight: 600; }

/* stat callout */
.ix-stat__num { font-family: var(--font-display); font-weight: 900; color: var(--ix-magenta); font-size: clamp(30px, 5vw, 42px); line-height: 1; }
.ix-stat__label { color: var(--ix-gray-700); font-size: 14px; margin-top: 8px; }

/* probleem / oplossing lijst */
.ix-list { display: flex; flex-direction: column; gap: 16px; }
.ix-list li { display: flex; gap: 12px; align-items: flex-start; list-style: none; }
.ix-list .ic { width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex: none; margin-top: 1px; }
.ix-list .ic svg { width: 14px; height: 14px; }
.ix-list .ic.bad { background: #fdecef; color: #d23b53; }
.ix-list .ic.good { background: #e9f7ef; color: #1f9d5a; }
.ix-list strong { display: block; font-size: 15px; color: var(--ix-gray-900); }
.ix-list span.txt { font-size: 14px; color: var(--ix-gray-700); }

/* prefers-reduced-motion: schakel decoratieve beweging uit */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
