/* ============================================================
   Hatless — English homepage
   Design tokens taken 1:1 from the current hatless.com stylesheet
   ============================================================ */

@font-face {
  font-family: "Inter";
  src: url("/fonts/InterVariable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/fonts/InterVariable-Italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

:root {
  /* — brand tokens from hatless.com — */
  --bg-main: #12141d;
  --bg-card: #1e2029;
  --bg-accent: #0176ff;
  --bg-pill: #183254;
  --field-hover: #2f313d;
  --typ-primary: #ffffff;
  --typ-body: #bbc0c5;
  --typ-link: #397eff;
  --nav-default: #858a8f;
  --icon-accent: #377dff;
  --success: #23b053;

  /* — derived — */
  --border-soft: rgba(255, 255, 255, 0.08);
  --border-softer: rgba(255, 255, 255, 0.05);
  --shadow-card: 0 24px 60px rgba(0, 0, 0, 0.45);
  --radius: 18px;
  --radius-sm: 12px;
  --container: 1160px;
  --header-h: 84px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

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

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-optical-sizing: auto;
  background: var(--bg-main);
  color: var(--typ-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

h1, h2, h3 {
  color: var(--typ-primary);
  font-weight: 750;
  letter-spacing: -0.025em;
  line-height: 1.08;
  text-wrap: balance;
}

h1 { font-size: clamp(2.9rem, 7vw, 4.75rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 4vw, 2.75rem); margin-bottom: 1rem; }
h3 { font-size: 1.25rem; line-height: 1.3; margin-bottom: 0.5rem; }

p + p { margin-top: 1em; }

a { color: var(--typ-link); text-decoration: none; }

.accent { color: var(--typ-link); }

.eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--typ-link);
  background: var(--bg-pill);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  padding: 15px 26px;
  border-radius: 12px;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--bg-accent);
  color: #fff;
  box-shadow: 0 10px 30px rgba(1, 118, 255, 0.35);
}
.btn-primary:hover { background: #1f84ff; }

.btn-ghost {
  border: 1px solid var(--border-soft);
  color: var(--typ-primary);
  background: transparent;
}
.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.25); background: var(--border-softer); }

.btn-lg { padding: 18px 32px; font-size: 1.0625rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2rem; }
.btn-row-center { justify-content: center; }

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(18, 20, 29, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.site-header.scrolled {
  border-bottom-color: var(--border-softer);
  background: rgba(18, 20, 29, 0.88);
}

.header-inner {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
}

.brand { flex-shrink: 0; display: flex; justify-self: start; }

.main-nav {
  display: flex;
  gap: 26px;
  justify-self: center;
}

.header-cta { justify-self: end; }

/* taalwissel NL/EN (laatste item in de nav; op mobiel in het hamburgermenu) */
.lang-switch { display: inline-flex; align-items: center; gap: 7px; font-size: 0.95rem; font-weight: 600; }
.lang-switch a { color: var(--nav-default); text-decoration: none; transition: color 0.15s ease; }
.lang-switch a:hover { color: var(--typ-primary); }
.lang-switch .lang-current { color: var(--typ-primary); }
.lang-switch .lang-sep { color: var(--nav-default); opacity: 0.45; font-weight: 400; }
@media (max-width: 720px) {
  .lang-switch { padding: 12px 0; font-size: 1.05rem; }
}
.main-nav a {
  color: var(--nav-default);
  font-weight: 550;
  font-size: 0.95rem;
  transition: color 0.15s ease;
}
.main-nav a:hover { color: var(--typ-primary); }

.header-cta { flex-shrink: 0; padding: 12px 20px; font-size: 0.95rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
  justify-self: end;
}
.nav-toggle span {
  width: 22px; height: 2px;
  background: var(--typ-primary);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero ---------- */

.hero {
  position: relative;
  padding: 90px 0 40px;
  overflow: hidden;
}

.hero h1 { font-size: clamp(2.5rem, 5.2vw, 3.9rem); }

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.hero-copy .lead {
  font-size: 1.1875rem;
  margin-top: 1.5rem;
  max-width: 34em;
}

.hero-media { position: relative; }

.photo-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-soft);
}
.photo-card img { width: 100%; object-fit: cover; }

.tilt-left  { rotate: -1.2deg; }
.tilt-right { rotate: 1.2deg; }

.float-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 18px;
  line-height: 1.3;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  left: -18px;
  bottom: 26px;
}
.badge-secondary { left: auto; right: -12px; top: -16px; bottom: auto; }

.float-badge strong { display: block; color: var(--typ-primary); font-size: 0.95rem; letter-spacing: -0.01em; }
.float-badge small { display: block; color: var(--nav-default); font-size: 0.8125rem; margin-top: 2px; }

.badge-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 4px rgba(35, 176, 83, 0.18);
  flex-shrink: 0;
  animation: dot-pulse 2.4s ease-out infinite;
}
@keyframes dot-pulse {
  0% { box-shadow: 0 0 0 0 rgba(35, 176, 83, 0.5); }
  70% { box-shadow: 0 0 0 10px rgba(35, 176, 83, 0); }
  100% { box-shadow: 0 0 0 0 rgba(35, 176, 83, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .badge-dot { animation: none; box-shadow: 0 0 0 4px rgba(35, 176, 83, 0.18); }
}

/* ---------- photo hero (Moneybird-stijl) ---------- */

.hero-photo {
  position: relative;
  padding: 0;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 62% 38%;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(18, 20, 29, 0.94) 0%, rgba(18, 20, 29, 0.78) 34%, rgba(18, 20, 29, 0.28) 62%, rgba(18, 20, 29, 0.15) 78%, rgba(18, 20, 29, 0.45) 100%),
    linear-gradient(0deg, rgba(18, 20, 29, 0.82) 0%, rgba(18, 20, 29, 0.15) 32%, transparent 55%);
}
.hero-photo-inner {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 640px;
  padding-top: 48px;
  padding-bottom: 120px;
}
.hero-photo .hero-copy { max-width: 600px; }
.hero-photo .lead { font-size: 1.15rem; margin-top: 1.4rem; max-width: 32em; }

.hero-float-panels {
  position: absolute;
  right: 24px;
  bottom: 64px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
  z-index: 2;
}
.hero-float-panels.panels-row { flex-direction: row; align-items: flex-end; gap: 20px; }
.hero-float-panels .float-badge { position: static; }

/* hero-quotekaart (variant C) */
.hero-quote {
  max-width: 380px;
  background: rgba(20, 22, 31, 0.93);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 24px 28px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}
.hero-quote p { font-size: 0.98rem; color: var(--typ-primary); font-weight: 550; line-height: 1.5; }
.hero-quote figcaption { display: flex; align-items: center; gap: 10px; margin-top: 14px; }
.hero-quote figcaption img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; }
.hero-quote strong { display: block; font-size: 0.85rem; color: var(--typ-primary); }
.hero-quote small { font-size: 0.78rem; color: var(--nav-default); }

/* compact resultatenlijstje (variant D) */
.hero-results {
  min-width: 300px;
  background: rgba(20, 22, 31, 0.93);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 20px 24px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}
.hero-results p.hr-label {
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--nav-default);
  margin-bottom: 10px;
}
.hero-results ul { list-style: none; display: grid; gap: 9px; }
.hero-results li { display: flex; justify-content: space-between; gap: 18px; font-size: 0.9rem; }
.hero-results li strong { color: var(--typ-link); font-variant-numeric: tabular-nums; }
.hero-results li span { color: var(--typ-body); }
.hero-float-panels .app-panel {
  width: 300px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
}
.hero-float-panels .device-phone {
  width: 158px;
  border-width: 7px;
  border-radius: 26px;
  flex-shrink: 0;
}
.hero-float-panels .device-phone .device-notch { height: 13px; width: 52px; top: 6px; }

/* diensten-ticker onderin de hero */
.hero-ticker {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 3;
  background: rgba(14, 16, 23, 0.9);
  border-top: 1px solid var(--border-softer);
  overflow: hidden;
  padding: 13px 0;
}
.ticker-track {
  display: flex;
  gap: 40px;
  width: max-content;
  animation: ticker 36s linear infinite;
}
.ticker-track span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  font-size: 0.85rem;
  font-weight: 620;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--nav-default);
}
.ticker-track span::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--bg-accent);
}
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; flex-wrap: wrap; width: auto; }
}

.clients-section { padding: 56px 0 40px; }

@media (max-width: 1100px) {
  .hero-float-panels .device-phone { display: none; }
}
@media (max-width: 900px) {
  .hero-photo-inner {
    min-height: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 28px;
    padding-top: 36px;
    padding-bottom: 92px;
  }
  .hero-float-panels { display: none; }
  .hero-bg::after {
    background:
      linear-gradient(0deg, rgba(18, 20, 29, 0.96) 0%, rgba(18, 20, 29, 0.82) 55%, rgba(18, 20, 29, 0.55) 100%);
  }
}

/* ---------- clients ---------- */

.clients { margin-top: 84px; }

.clients-label {
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--nav-default);
  margin-bottom: 1.25rem;
  text-align: center;
}

.clients-row {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 24px 44px;
  padding: 8px 0;
}
.clients-row li {
  width: 120px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.clients-row li a { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; }
.clients-row img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0.85;
  filter: brightness(0) invert(1);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.clients-row li a:hover img { opacity: 1; transform: translateY(-2px); }
.clients-row img.lscale-md { transform: scale(1.25); }
.clients-row img.lscale-ml { transform: scale(1.4); }
.clients-row img.lscale-lg { transform: scale(1.55); }
.clients-row li a:hover img.lscale-ml { transform: scale(1.4) translateY(-2px); }
.clients-row li a:hover img.lscale-md { transform: scale(1.25) translateY(-2px); }
.clients-row li a:hover img.lscale-lg { transform: scale(1.55) translateY(-2px); }
@media (max-width: 720px) {
  .clients-row { gap: 20px 28px; }
  .clients-row li { width: 118px; height: 36px; }
}
.clients-row li:hover img { opacity: 1; }

/* ---------- sections ---------- */

.section { padding: 110px 0; }

.section-panel {
  background: var(--bg-card);
  border-top: 1px solid var(--border-softer);
  border-bottom: 1px solid var(--border-softer);
}

.section-head { max-width: 640px; margin-bottom: 3.5rem; }
.section-intro { font-size: 1.125rem; }

/* ---------- split layouts ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.split-media { position: relative; }
.split-copy h2 { margin-bottom: 1.5rem; }

.split-reverse .split-copy { order: 1; }
.split-reverse .split-media { order: 2; }

.boutique-note {
  margin-top: 2rem;
  background: var(--bg-main);
  border: 1px solid var(--border-soft);
  border-left: 3px solid var(--bg-accent);
  border-radius: var(--radius-sm);
  padding: 24px 28px;
}
.section-panel .boutique-note { background: rgba(18, 20, 29, 0.6); }
.boutique-note h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.boutique-note p { font-size: 0.98rem; }

/* ---------- service cards ---------- */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card {
  background: var(--bg-main);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 30px 28px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(1, 118, 255, 0.45); }
.card p { font-size: 0.98rem; }

.service-card {
  display: flex;
  flex-direction: column;
  color: var(--typ-body);
}
.service-card p { margin-top: 0; }

.card-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 1rem;
}
.card-top h3 { margin-bottom: 0; }

.card-link {
  margin-top: auto;
  padding-top: 1.25rem;
  color: var(--typ-link);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.card-link .arrow { transition: transform 0.18s ease; }
.service-card:hover .card-link .arrow { transform: translateX(4px); }

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 48px; height: 48px;
  border-radius: 13px;
  background: var(--bg-pill);
}
.icon-tech    { background: rgba(255, 113, 91, 0.12); color: #ff715b; }
.icon-content { background: rgba(45, 202, 140, 0.12); color: #2dca8c; }
.icon-links   { background: rgba(255, 190, 61, 0.12); color: #ffbe3d; }
.icon-sea     { background: rgba(250, 133, 45, 0.12); color: #fa852d; }
.icon-seo     { background: rgba(1, 118, 255, 0.14); color: #4b95ff; }

.card-cta {
  background: linear-gradient(145deg, #16345e 0%, #102544 100%);
  border-color: rgba(1, 118, 255, 0.4);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
.card-cta .btn { margin-top: 1.25rem; }

/* ---------- results ---------- */

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 4rem;
}

.stat {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 34px 30px;
}
.stat-value {
  display: block;
  font-size: clamp(2.6rem, 5vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--typ-primary);
  line-height: 1;
  margin-bottom: 0.75rem;
}
.stat:nth-child(1) .stat-value { color: var(--typ-link); }
.stat:nth-child(2) .stat-value { color: #2dca8c; }
.stat:nth-child(3) .stat-value { color: #ffbe3d; }
.stat-desc { font-size: 0.98rem; }
.stat-desc strong { color: var(--typ-primary); }

/* ---------- testimonial ---------- */

.testimonial {
  max-width: 760px;
  margin: 0 auto 3.5rem;
  text-align: center;
}
.testimonial blockquote p {
  font-size: clamp(1.25rem, 2.6vw, 1.625rem);
  font-weight: 550;
  line-height: 1.45;
  letter-spacing: -0.015em;
  color: var(--typ-primary);
  text-wrap: balance;
}
.testimonial figcaption {
  margin-top: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: left;
}
.testimonial figcaption img {
  width: 56px; height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border-soft);
}
.testimonial strong { display: block; color: var(--typ-primary); font-size: 0.98rem; }
.testimonial small { color: var(--nav-default); font-size: 0.85rem; }

/* ---------- quote slider ---------- */

.quote-slider { position: relative; margin-bottom: 3.5rem; }
.quote-slide { display: none; }
.quote-slide.active { display: block; animation: quote-in 0.5s ease; }
@keyframes quote-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.quote-slide .testimonial { margin-bottom: 0; }

.quote-initials {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--bg-pill);
  color: var(--typ-link);
  font-weight: 750;
  font-size: 1.05rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--border-soft);
  flex-shrink: 0;
}

.quote-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 1.75rem;
}
.quote-dots button {
  width: 9px; height: 9px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: var(--field-hover);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.quote-dots button.active { background: var(--bg-accent); transform: scale(1.25); }

@media (prefers-reduced-motion: reduce) {
  .quote-slide.active { animation: none; }
}

/* ---------- steps with photo ---------- */

.steps-split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 900px) { .steps-split { grid-template-columns: 1fr; gap: 32px; } }
.steps-media { position: sticky; top: calc(var(--header-h) + 24px); }
@media (max-width: 900px) { .steps-media { position: static; } }
.steps-split h2 { margin-bottom: 1.5rem; }
.steps-split .steps { margin-top: 0; }

/* ---------- case pills ---------- */

.case-pills {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.case-pills li {
  background: var(--bg-pill);
  color: var(--typ-link);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 9px 18px;
  border-radius: 999px;
}

/* ---------- contact ---------- */

.contact { position: relative; }
.contact-inner {
  position: relative;
  text-align: center;
  max-width: 720px;
}

/* ---------- footer ---------- */

.site-footer {
  border-top: 1px solid var(--border-softer);
  /* Onderruimte houdt de copyright-regel vrij van de vaste chat-launcher
     (.fin-chat, bottom:20px, ~58px hoog). Bovenruimte bewust compact zodat de
     footer niet in een groot zwart gat onder de CTA hangt. */
  padding: 44px 0 96px;
  background: #0e1017;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.8fr;
  gap: 48px;
  padding-bottom: 40px;
}

.footer-brand img { margin-bottom: 1rem; }
.footer-brand p { font-size: 0.95rem; }

.footer-nav, .footer-social { display: flex; flex-direction: column; gap: 12px; }
.footer-nav a, .footer-social a {
  color: var(--nav-default);
  font-size: 0.95rem;
  transition: color 0.15s ease;
}
.footer-nav a:hover, .footer-social a:hover { color: var(--typ-primary); }

.footer-meta {
  border-top: 1px solid var(--border-softer);
  padding-top: 24px;
}
.footer-meta p { font-size: 0.85rem; color: var(--nav-default); }
.reg-link { color: inherit; }
.reg-link:hover { color: var(--typ-link); }

/* ---------- partnerships flair ---------- */

.flair {
  font-style: italic;
  color: var(--typ-link);
  text-decoration: underline;
  text-decoration-style: wavy;
  text-decoration-color: rgba(1, 118, 255, 0.45);
  text-decoration-thickness: 3px;
  text-underline-offset: 9px;
}

/* ---------- subpages ---------- */

.page-hero { padding: 84px 0 64px; }
.page-hero .container { max-width: 860px; }
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); margin-bottom: 1.25rem; }
.page-hero .lead { font-size: 1.1875rem; }

.prose { max-width: 720px; margin-inline: auto; }
.prose h2 { margin-top: 3.5rem; }
.prose h2:first-child { margin-top: 0; }
.prose ul { margin: 1em 0 0 1.2em; }
.prose li { margin-top: 0.4em; }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 3rem; }
@media (max-width: 900px) { .pillars { grid-template-columns: 1fr; } }

.steps { counter-reset: step; display: grid; gap: 16px; margin-top: 2.5rem; }
.step {
  counter-increment: step;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  padding: 22px 26px;
}
.step::before {
  content: counter(step, decimal-leading-zero);
  font-weight: 750;
  color: var(--typ-link);
  font-size: 1.05rem;
  font-variant-numeric: tabular-nums;
  margin-top: 2px;
}
.step strong { display: block; color: var(--typ-primary); margin-bottom: 0.2rem; }
.step p { font-size: 0.98rem; }

.faq { margin-top: 2.5rem; display: grid; gap: 12px; }
.faq details {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  padding: 18px 24px;
}
.faq summary {
  cursor: pointer;
  font-weight: 620;
  color: var(--typ-primary);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--typ-link); font-weight: 650; font-size: 1.2rem; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 0.9rem; font-size: 0.98rem; }

.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 3rem; }
@media (max-width: 900px) { .team-grid { grid-template-columns: 1fr; } }
.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  overflow: hidden;
}
.team-card img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.team-card figcaption { padding: 20px 24px; }
.team-card strong { display: block; color: var(--typ-primary); font-size: 1.1rem; }
.team-card small { color: var(--typ-body); font-size: 0.92rem; }
/* Klikbare teamkaart (bijv. Floris' bio) met subtiele hover-cue */
.team-link { display: block; color: inherit; }
.team-card img { transition: transform 0.4s ease; }
.team-card.has-link { transition: border-color 0.2s ease; }
.team-card.has-link:hover { border-color: rgba(1, 118, 255, 0.45); }
.team-card.has-link:hover img { transform: scale(1.04); }
.team-card.has-link:hover strong { color: var(--typ-link); }
.team-arrow { display: inline-block; margin-left: 6px; color: var(--typ-link); opacity: 0; transform: translateX(-4px); transition: opacity 0.2s ease, transform 0.2s ease; }
.team-card.has-link:hover .team-arrow { opacity: 1; transform: translateX(0); }

.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 2.5rem; }
@media (max-width: 900px) { .values-grid { grid-template-columns: 1fr; } }

.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 3rem; }
@media (max-width: 900px) { .contact-cards { grid-template-columns: 1fr; } }
.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 30px 28px;
  text-align: center;
  color: var(--typ-body);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.contact-card:hover { transform: translateY(-4px); border-color: rgba(1, 118, 255, 0.45); }
.contact-card .emoji { font-size: 1.9rem; display: block; margin-bottom: 0.75rem; }
.contact-card strong { display: block; color: var(--typ-primary); font-size: 1.1rem; margin-bottom: 0.25rem; }
.contact-card span { color: var(--typ-link); font-weight: 600; font-size: 0.98rem; }

.case-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 3rem; }
@media (max-width: 800px) { .case-grid { grid-template-columns: 1fr; } }
.case-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 28px 30px;
  color: var(--typ-body);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.case-card:hover { transform: translateY(-4px); border-color: rgba(1, 118, 255, 0.45); }
.case-card .case-tag {
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--typ-link);
  background: var(--bg-pill);
  padding: 4px 10px;
  border-radius: 999px;
}
.case-card h3 { margin-bottom: 0.15rem; }
.case-card p { font-size: 0.95rem; }
.case-card .card-link { padding-top: 0.9rem; }

/* ---------- visual case cards ---------- */

.vcase-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 3rem;
}
@media (max-width: 800px) { .vcase-grid { grid-template-columns: 1fr; } }

.vcase {
  display: flex;
  flex-direction: column;
  background: var(--bg-main);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  overflow: hidden;
  color: var(--typ-body);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.vcase:hover { transform: translateY(-4px); border-color: rgba(1, 118, 255, 0.45); }

.vcase-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1500 / 816;
}
.vcase-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.vcase:hover .vcase-media img { transform: scale(1.045); }

.vcase-media .case-tag {
  position: absolute;
  top: 14px; left: 14px;
  background: rgba(18, 20, 29, 0.82);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.vcase-stat {
  position: absolute;
  left: 14px; bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(18, 20, 29, 0.85);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 8px 13px;
  color: #fff;
  font-weight: 620;
  font-size: 0.85rem;
  line-height: 1.2;
}
.vcase-stat .badge-dot { width: 8px; height: 8px; box-shadow: 0 0 0 3px rgba(35, 176, 83, 0.18); }

.vcase-body {
  padding: 22px 26px 26px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.vcase-body h3 { margin-bottom: 0; }
.vcase-body p { font-size: 0.95rem; }
.vcase-body .card-link { padding-top: 0.9rem; }

.vcase-featured { grid-column: 1 / -1; display: grid; grid-template-columns: 1.25fr 1fr; }
.vcase-featured .vcase-media { aspect-ratio: auto; min-height: 340px; }
.vcase-featured .vcase-body { justify-content: center; padding: 34px 38px; }
.vcase-featured h3 { font-size: 1.6rem; }
@media (max-width: 800px) {
  .vcase-featured { grid-template-columns: 1fr; }
  .vcase-featured .vcase-media { aspect-ratio: 1500 / 816; min-height: 0; }
}

.vcase-cta {
  justify-content: center;
  align-items: flex-start;
  gap: 10px;
  padding: 34px 30px;
  background: linear-gradient(145deg, #16345e 0%, #102544 100%);
  border-color: rgba(1, 118, 255, 0.4);
}
.vcase-cta .btn { margin-top: 0.75rem; }

/* ---------- rich case blocks ---------- */

.case-blocks { display: grid; gap: 28px; margin-top: 3rem; }

.case-block {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  background: var(--bg-main);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s ease;
}
.case-block:hover { border-color: rgba(1, 118, 255, 0.35); }
.case-block:nth-child(even) .case-block-media { order: 2; }
@media (max-width: 900px) {
  .case-block { grid-template-columns: 1fr; }
  .case-block:nth-child(even) .case-block-media { order: 0; }
}

.case-block-media {
  position: relative;
  overflow: hidden;
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 36px;
  background:
    radial-gradient(ellipse 420px 300px at 50% 115%, rgba(1, 118, 255, 0.14), transparent 70%),
    #171923;
}
.case-block-media .case-tag {
  position: absolute; top: 18px; left: 18px; z-index: 2;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: #fff; background: var(--bg-accent); padding: 5px 11px; border-radius: 999px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.case-block-media.case-photo { padding: 0; }
.case-photo img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.case-block:hover .case-photo img { transform: scale(1.03); }
@media (max-width: 900px) {
  .case-block-media { min-height: 0; padding: 32px 24px; }
}

/* laptop frame */
.device-laptop {
  width: 100%;
  max-width: 460px;
  transition: transform 0.4s ease;
}
.case-block:hover .device-laptop { transform: translateY(-4px); }
.device-screen {
  border: 8px solid #262a35;
  border-bottom-width: 12px;
  border-radius: 14px 14px 4px 4px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.5);
}
.device-screen img { width: 100%; display: block; }
.device-base {
  height: 12px;
  margin: 0 -7%;
  background: linear-gradient(180deg, #363b49 0%, #23272f 85%);
  border-radius: 3px 3px 12px 12px;
}
.device-base::after {
  content: "";
  display: block;
  width: 18%;
  height: 5px;
  margin: 0 auto;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 0 0 8px 8px;
}

/* phone frame */
.device-phone {
  position: relative;
  width: 200px;
  border: 9px solid #262a35;
  border-radius: 32px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.5);
  transition: transform 0.4s ease;
}
.case-block:hover .device-phone { transform: translateY(-4px) rotate(-1deg); }
.device-phone img { width: 100%; display: block; }
.device-notch {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 62px;
  height: 16px;
  background: #262a35;
  border-radius: 999px;
  z-index: 2;
}

.case-block-body { padding: 36px 40px; display: flex; flex-direction: column; gap: 14px; }
.case-block-body h3 { font-size: 1.5rem; }
.case-block-body p { font-size: 0.98rem; }

.case-stats { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.case-stats span {
  background: var(--bg-pill);
  color: var(--typ-link);
  font-weight: 620;
  font-size: 0.85rem;
  padding: 7px 14px;
  border-radius: 999px;
}
.case-block-body .card-link { padding-top: 8px; }

/* ---------- linkbuilding vs link earning ---------- */

.vs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 2.5rem; }
@media (max-width: 800px) { .vs-grid { grid-template-columns: 1fr; } }
.vs-card {
  border-radius: var(--radius);
  padding: 32px 32px;
  border: 1px solid var(--border-soft);
  background: var(--bg-main);
}
.vs-card.vs-win {
  border-color: rgba(35, 176, 83, 0.45);
  background: linear-gradient(145deg, rgba(35, 176, 83, 0.08) 0%, var(--bg-main) 60%);
}
.vs-card h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 1rem; }
.vs-card .vs-emoji { font-size: 1.3rem; }
.vs-card ul { list-style: none; display: grid; gap: 12px; }
.vs-card li { display: flex; gap: 12px; font-size: 0.95rem; }
.vs-card li::before { content: "✕"; color: var(--nav-default); font-weight: 750; flex-shrink: 0; }
.vs-card.vs-win li::before { content: "✓"; color: var(--success); }
.vs-tagline { margin-top: 1.25rem; font-size: 0.9rem; color: var(--nav-default); font-style: italic; }

/* ---------- rank tracker landing ---------- */

.feature-row {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  padding: 44px 0;
  border-bottom: 1px solid var(--border-softer);
}
.feature-row:last-child { border-bottom: 0; }
@media (max-width: 900px) { .feature-row { grid-template-columns: 1fr; gap: 24px; } }

.feature-kicker {
  display: block;
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--typ-link);
  margin-bottom: 0.6rem;
}
.feature-row h2 { font-size: clamp(1.5rem, 3vw, 2rem); }

.check-list {
  list-style: none;
  display: grid;
  gap: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 26px 28px;
}
.check-list li { display: flex; gap: 12px; font-size: 0.95rem; }
.check-list li::before { content: "✓"; color: var(--success); font-weight: 750; flex-shrink: 0; }

.mini-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .mini-cards { grid-template-columns: 1fr; } }
.mini-card {
  background: var(--bg-main);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 26px 26px;
}
.mini-card .card-icon { width: 46px; height: 46px; border-radius: 12px; margin-bottom: 0.9rem; }
.mini-card h3 { font-size: 1.05rem; }
.mini-card p { font-size: 0.92rem; }

/* ---------- app panel mockups ---------- */

.app-panel {
  background: #0e1017;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 22px 24px;
  box-shadow: var(--shadow-card);
  font-size: 0.85rem;
}
.ap-label {
  font-family: ui-monospace, SFMono-Regular, monospace;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--nav-default);
  margin-bottom: 10px;
}
.ap-head { display: flex; align-items: baseline; gap: 10px; }
.ap-big { font-size: 2rem; font-weight: 800; color: var(--typ-primary); letter-spacing: -0.02em; }
.ap-up { color: var(--success); font-weight: 650; font-size: 0.9rem; }
.ap-chips { display: flex; gap: 8px; margin: 12px 0 4px; flex-wrap: wrap; }
.ap-chip {
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  padding: 3px 11px;
  font-size: 0.75rem;
  color: var(--typ-body);
}
.ap-chip.on { border-color: rgba(1, 118, 255, 0.5); color: var(--typ-link); }
.ap-tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.ap-tile {
  background: var(--bg-card);
  border: 1px solid var(--border-softer);
  border-radius: 10px;
  padding: 12px 14px;
}
.ap-tile small {
  display: block;
  font-family: ui-monospace, SFMono-Regular, monospace;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--nav-default);
  margin-bottom: 4px;
}
.ap-tile strong { color: var(--typ-primary); font-size: 1.15rem; letter-spacing: -0.01em; }
.ap-tile .ap-up, .ap-tile .ap-down { font-size: 0.8rem; }
.ap-down { color: #e34b4b; font-weight: 650; }
.ap-rows { display: grid; gap: 8px; margin-top: 12px; }
.ap-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  background: var(--bg-card);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 0.8rem;
}
.ap-row .dom { color: var(--typ-primary); font-weight: 600; }
.ap-row .pos { color: var(--nav-default); font-variant-numeric: tabular-nums; white-space: nowrap; }
.ap-alert {
  background: rgba(227, 75, 75, 0.12);
  color: #ff9b9b;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 12px;
}
.ap-ok {
  background: rgba(35, 176, 83, 0.12);
  color: #6fd79a;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 12px;
}
.ap-chart { display: block; width: 100%; height: auto; margin-top: 10px; }
.ap-note { font-size: 0.75rem; color: var(--nav-default); margin-top: 10px; }
.ap-bars { display: flex; gap: 6px; align-items: flex-end; height: 46px; margin-top: 12px; }
.ap-bar { flex: 1; background: var(--bg-pill); border-radius: 4px 4px 0 0; }
.ap-bar.hot { background: var(--bg-accent); }
.ap-bar-labels { display: flex; gap: 6px; margin-top: 6px; }
.ap-bar-labels span {
  flex: 1;
  text-align: center;
  font-family: ui-monospace, SFMono-Regular, monospace;
  font-size: 0.6rem;
  color: var(--nav-default);
}

.feature-row .check-list { background: none; border: 0; padding: 0; margin-top: 1.25rem; }

/* ---------- pricing table ---------- */

.price-table { width: 100%; border-collapse: collapse; margin-top: 2rem; }
.price-table th {
  font-family: ui-monospace, SFMono-Regular, monospace;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--nav-default);
  text-align: left;
  font-weight: 600;
  padding: 0 16px 10px;
}
.price-table td {
  background: var(--bg-card);
  border-top: 1px solid var(--border-softer);
  padding: 14px 16px;
  font-size: 0.95rem;
}
.price-table tr td:first-child { color: var(--typ-primary); font-weight: 600; border-radius: 0; }
.price-table th:last-child, .price-table td:last-child { text-align: right; }
.price-table .free-tag { color: var(--success); font-weight: 700; }
.bundle-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.bundle-chips span {
  background: var(--bg-pill);
  color: var(--typ-link);
  font-weight: 620;
  font-size: 0.82rem;
  padding: 6px 12px;
  border-radius: 999px;
}

.plan-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 2.5rem; }
@media (max-width: 900px) { .plan-cards { grid-template-columns: 1fr; } }
.plan-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 34px 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.plan-card.plan-featured { border-color: rgba(1, 118, 255, 0.45); background: linear-gradient(145deg, #16345e 0%, #102544 100%); }
.plan-card .emoji { font-size: 1.6rem; }
.plan-badge {
  align-self: flex-start;
  background: var(--success);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
}
.plan-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 8px; }
.plan-tags span {
  border: 1px solid var(--border-soft);
  color: var(--typ-body);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
}

/* leesbare prozakolom (o.a. "Why this matters" op case-detailpagina's) */
.narrow-prose { max-width: 760px; }
.narrow-prose h2 { margin-bottom: 1rem; }
.narrow-prose > p { font-size: 1.05rem; color: var(--typ-body); line-height: 1.7; }
.narrow-prose .boutique-note p { font-size: 1.12rem; line-height: 1.5; color: var(--typ-primary); font-weight: 550; }

/* Persoonlijk vraaggesprek (o.a. /about/floris-van-vredendaal/) */
.qa h3 { margin-top: 2.4rem; color: var(--typ-primary); }
.qa h2 + h3 { margin-top: 1.4rem; }
.qa p { margin-top: 0.7rem; }
.qa ol, .qa ul { margin: 0.8rem 0 0 1.5rem; }
.qa ol { list-style: decimal; }
.qa ul { list-style: disc; }
.qa li { margin-top: 0.35rem; line-height: 1.6; color: var(--typ-body); }

.page-cta { text-align: center; padding: 28px 0 40px; }
.page-cta .container { max-width: 640px; }
/* CTA leest als één blok: titel en knop dicht bij elkaar i.p.v. 32px lucht */
.page-cta .btn-row { margin-top: 1.4rem; }
/* De afsluitende CTA hoort tegen het vorige blok aan te zitten, niet na een
   volledige sectiemarge: haal de dubbele lucht (blok-padding + CTA-padding) weg.
   Geldt voor .section (de meeste pagina's) en .author-box (blogartikelen). */
:is(.section, .author-box):has(+ .page-cta) { padding-bottom: 28px; }

.breadcrumbs { font-size: 0.875rem; color: var(--nav-default); margin-bottom: 1.5rem; }
.breadcrumbs a { color: var(--nav-default); }
.breadcrumbs a:hover { color: var(--typ-primary); }

/* ---------- portrait photos (Tim shoot) ---------- */

.hero-media .photo-card img,
.split-media .photo-card img {
  aspect-ratio: 10 / 10.6;
  object-fit: cover;
  object-position: 50% 20%;
}

.team-card img { object-position: 50% 25%; }
.team-card img.pos-denisa { object-position: 30% 50%; }
.team-card img.pos-floris { object-position: center; }

/* ---------- avatars ---------- */

.avatars-row {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}
.avatars-row img {
  width: 68px; height: 68px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--bg-main);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}
.avatars-row img.av-floris { object-position: center; }
.avatars-row img.av-denisa { object-position: center; }
.avatars-row img + img { margin-left: -16px; }
.avatars-caption {
  font-size: 0.9rem;
  color: var(--nav-default);
  margin-bottom: 1.25rem;
}
.avatars-left { justify-content: flex-start; }

/* ---------- tool banner ---------- */

.tool-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  background: linear-gradient(145deg, #16345e 0%, #102544 100%);
  border: 1px solid rgba(1, 118, 255, 0.4);
  border-radius: var(--radius);
  padding: 32px 38px;
}
.tool-banner h3 { font-size: 1.35rem; margin-bottom: 0.35rem; }
.tool-banner p { font-size: 0.98rem; max-width: 46em; }

/* ---------- embedded app (rank tracker) ---------- */

.app-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 12px 0;
  font-size: 0.9rem;
  color: var(--nav-default);
  border-bottom: 1px solid var(--border-softer);
}
.app-bar strong { color: var(--typ-primary); }
.app-frame {
  display: block;
  width: 100%;
  height: calc(100vh - var(--header-h) - 50px);
  border: 0;
  background: #fff;
}

/* ---------- forms ---------- */

.form-wrap { max-width: 760px; }
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
@media (max-width: 720px) { .form-grid { grid-template-columns: 1fr; } }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field-wide { grid-column: 1 / -1; }
.form-field label { font-weight: 600; font-size: 0.9rem; color: var(--typ-primary); }
.form-field input,
.form-field textarea,
.form-field select {
  font: inherit;
  color: var(--typ-primary);
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  transition: border-color 0.18s ease, background 0.18s ease;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--nav-default); opacity: 0.8; }
.form-field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23858a8f' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 42px;
  cursor: pointer;
}
.form-field select:invalid { color: var(--nav-default); }
.form-field input:hover,
.form-field textarea:hover,
.form-field select:hover { background-color: var(--field-hover); }
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--bg-accent);
  background-color: var(--bg-card);
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-field button { justify-self: start; border: 0; cursor: pointer; font: inherit; font-weight: 600; }
.hp-field { position: absolute; left: -9999px; }

/* ---------- accessibility ---------- */

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 2px solid var(--typ-link);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: fixed;
  top: -60px;
  left: 16px;
  z-index: 100;
  background: var(--bg-accent);
  color: #fff;
  font-weight: 600;
  padding: 12px 18px;
  border-radius: 0 0 10px 10px;
  transition: top 0.15s ease;
}
.skip-link:focus { top: 0; }

.main-nav .nav-cta { display: none; }
.main-nav a.nav-cta { color: #fff; }

/* ---------- nav active state ---------- */

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

/* ---------- photo hover ---------- */

.photo-card img { transition: transform 0.5s ease; }
.photo-card:hover img { transform: scale(1.03); }
@media (prefers-reduced-motion: reduce) {
  .photo-card img { transition: none; }
  .photo-card:hover img { transform: none; }
}

/* ---------- live chat (Fin-stijl launcher) ---------- */

.fin-chat {
  position: fixed;
  left: 50%;
  bottom: 20px;
  z-index: 86;
  width: min(430px, calc(100vw - 28px));
  display: flex;
  flex-direction: column;
  gap: 10px;
  opacity: 0;
  /* Entree = alleen fade. GEEN translateY hier: de transform is puur voor centreren
     (translateX -50%); de verticale positie loopt via `bottom` (scroll-lift). Een
     translateY in de entree bleef soms plakken en botste met die positionering. */
  transform: translateX(-50%);
  transition: opacity 0.5s ease;
  /* container zelf mag nooit clicks vangen (dichte paneel-ruimte is onzichtbaar maar aanwezig) */
  pointer-events: none;
}
.fin-chat.fin-in { opacity: 1; }
.fin-bar { pointer-events: auto; }

.fin-panel {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: 20px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  overflow: hidden;
  opacity: 0;
  transform: translateY(14px) scale(0.98);
  transform-origin: bottom center;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.26s ease, transform 0.26s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.26s;
}
.fin-chat.open .fin-panel { opacity: 1; transform: none; visibility: visible; pointer-events: auto; }

.fin-head {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 16px;
  background: var(--bg-main);
  border-bottom: 1px solid var(--border-softer);
}
.fin-avatars { display: flex; flex: none; }
.fin-avatars img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--bg-main); /* op beide: dan ogen ze exact even groot */
}
.fin-avatars img + img { margin-left: -14px; }
.fin-who strong { display: block; color: var(--typ-primary); font-size: 0.95rem; }
/* baseline: dot blijft netjes bij de eerste tekstregel, ook als de tekst wrapt */
.fin-who small { display: flex; align-items: baseline; gap: 8px; color: var(--nav-default); font-size: 0.78rem; }
.fin-dot {
  flex: none;
  position: relative;
  top: 1px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #23b053;
  animation: fin-pulse 2.4s ease-out infinite;
}
@keyframes fin-pulse {
  0% { box-shadow: 0 0 0 0 rgba(35, 176, 83, 0.5); }
  70% { box-shadow: 0 0 0 5px rgba(35, 176, 83, 0); }
  100% { box-shadow: 0 0 0 0 rgba(35, 176, 83, 0); }
}
.fin-min {
  margin-left: auto;
  background: none;
  border: 0;
  color: var(--nav-default);
  cursor: pointer;
  padding: 6px;
  display: flex;
  border-radius: 8px;
}
.fin-min:hover { color: var(--typ-primary); background: rgba(255, 255, 255, 0.05); }

.fin-msgs {
  height: min(46vh, 380px);
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.fin-msg {
  max-width: 82%;
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 0.92rem;
  line-height: 1.45;
  white-space: pre-wrap;
  word-break: break-word;
}
.fin-msg.me { align-self: flex-end; background: var(--bg-accent); color: #fff; border-bottom-right-radius: 5px; }
.fin-msg.them { align-self: flex-start; background: var(--bg-main); color: var(--typ-body); border-bottom-left-radius: 5px; }
.fin-msg.sys { align-self: center; background: none; color: var(--nav-default); font-size: 0.8rem; text-align: center; }

.fin-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 16px 14px; }
.fin-chips.fin-gone { display: none; }
.fin-chip {
  font: inherit;
  font-size: 0.84rem;
  color: var(--typ-body);
  background: var(--bg-main);
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.fin-chip:hover { border-color: rgba(1, 118, 255, 0.55); color: var(--typ-primary); transform: translateY(-1px); }

.fin-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  padding: 7px 7px 7px 22px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55), 0 2px 10px rgba(0, 0, 0, 0.35);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.fin-bar:focus-within {
  border-color: rgba(1, 118, 255, 0.55);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55), 0 0 0 4px rgba(1, 118, 255, 0.12);
}
.fin-bar input {
  flex: 1;
  min-width: 0;
  font: inherit;
  font-size: 0.95rem;
  color: var(--typ-primary);
  background: none;
  border: 0;
  padding: 9px 0;
}
.fin-bar input::placeholder { color: var(--nav-default); }
.fin-bar input:focus { outline: none; }
.fin-send {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-main);
  color: var(--nav-default);
  transition: background 0.18s ease, color 0.18s ease, transform 0.15s ease;
}
.fin-chat.fin-has-text .fin-send { background: var(--bg-accent); color: #fff; }
.fin-chat.fin-has-text .fin-send:hover { transform: translateY(-1px); }

.fin-chat.fin-unread .fin-bar { border-color: rgba(1, 118, 255, 0.6); animation: fin-nudge 2.2s ease-in-out infinite; }
@keyframes fin-nudge {
  0%, 100% { box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55), 0 0 0 0 rgba(1, 118, 255, 0.35); }
  50% { box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55), 0 0 0 7px rgba(1, 118, 255, 0); }
}

@media (max-width: 720px) {
  .fin-chat { bottom: 12px; width: calc(100vw - 20px); }
  .fin-msgs { height: min(52vh, 420px); }
}

@media (prefers-reduced-motion: reduce) {
  .fin-chat, .fin-panel, .fin-bar, .fin-chip, .fin-send { transition: none; }
  .fin-chat.fin-unread .fin-bar { animation: none; }
  .fin-dot { animation: none; }
}

/* ---------- Gary easter egg ---------- */

.gary-btn {
  background: none;
  border: 0;
  cursor: pointer;
  font-size: 1rem;
  opacity: 0.35;
  transition: opacity 0.2s ease, transform 0.2s ease;
  padding: 4px;
}
.gary-btn:hover { opacity: 1; transform: rotate(-8deg) scale(1.2); }

.gary-toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 14px 20px 14px 14px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  max-width: 320px;
  animation: gary-in 0.35s cubic-bezier(0.2, 0.9, 0.3, 1.2);
  line-height: 1.35;
}
.gary-toast img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.gary-toast strong { display: block; color: var(--typ-primary); font-size: 0.95rem; }
.gary-toast small { color: var(--typ-body); font-size: 0.85rem; }
.gary-toast.gary-out { animation: gary-out 0.3s ease forwards; }
@keyframes gary-in { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes gary-out { to { transform: translateY(24px); opacity: 0; } }

/* ---------- blog ---------- */

.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 900px) { .blog-grid { grid-template-columns: 1fr; } }

.blog-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-main);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  overflow: hidden;
  color: var(--typ-body);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.section-panel .blog-card { background: var(--bg-card); }
.blog-card:hover { transform: translateY(-4px); border-color: rgba(1, 118, 255, 0.45); }
.blog-card-media { aspect-ratio: 1500 / 816; overflow: hidden; }
.blog-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.blog-card:hover .blog-card-media img { transform: scale(1.04); }
.blog-card-body { padding: 24px 26px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.blog-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  color: var(--nav-default);
}
.blog-meta .case-tag { position: static; }
.blog-card h3 { font-size: 1.2rem; }
.blog-card p { font-size: 0.94rem; }
.blog-card .card-link { padding-top: 10px; margin-top: auto; }

/* article page */
.article-hero { padding: 72px 0 40px; }
.article-hero .container { max-width: 800px; }
.article-hero h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); margin-bottom: 1.25rem; }
.article-byline { display: flex; align-items: center; gap: 12px; }
.article-byline img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.article-byline strong { display: block; color: var(--typ-primary); font-size: 0.95rem; }
.article-byline small { color: var(--nav-default); font-size: 0.83rem; }

.article-cover { max-width: 800px; margin: 0 auto; padding: 0 24px; }
.article-cover img { width: 100%; border-radius: var(--radius); border: 1px solid var(--border-soft); }

.article {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 24px 40px;
}
.article h2 { font-size: 1.65rem; margin: 2.4em 0 0.6em; }
.article h3 { font-size: 1.25rem; margin: 2em 0 0.5em; color: var(--typ-primary); }
.article p { margin: 0 0 1.1em; }
.article ul, .article ol { margin: 0 0 1.3em 1.3em; }
.article li { margin-bottom: 0.45em; }
.article blockquote {
  border-left: 3px solid var(--bg-accent);
  background: var(--bg-card);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 18px 24px;
  margin: 1.6em 0;
  font-style: italic;
  color: var(--typ-primary);
}
.article blockquote cite { display: block; margin-top: 8px; font-style: normal; font-size: 0.85rem; color: var(--nav-default); }
.article .lead-para { font-size: 1.125rem; color: var(--typ-primary); }
.article a { text-decoration: underline; text-underline-offset: 3px; }

.author-box {
  max-width: 720px;
  margin: 8px auto 0;
  padding: 0 24px 72px;
}
.author-box-inner {
  display: flex;
  gap: 18px;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 24px 28px;
}
.author-box-inner img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.author-box-inner strong { display: block; color: var(--typ-primary); }
.author-box-inner p { font-size: 0.92rem; margin-top: 4px; }

/* ---------- reveal animation ---------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
[data-reveal].revealed { opacity: 1; transform: none; }
[data-reveal][data-reveal-delay="1"] { transition-delay: 0.1s; }
[data-reveal][data-reveal-delay="2"] { transition-delay: 0.2s; }
[data-reveal][data-reveal-delay="3"] { transition-delay: 0.3s; }
[data-reveal][data-reveal-delay="4"] { transition-delay: 0.4s; }
[data-reveal][data-reveal-delay="5"] { transition-delay: 0.5s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .btn, .card { transition: none; }
}

/* ---------- responsive ---------- */

@media (max-width: 1000px) {
  .hero-grid, .split { grid-template-columns: 1fr; gap: 48px; }
  .split-reverse .split-copy { order: 2; }
  .split-reverse .split-media { order: 1; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .section { padding: 84px 0; }
  .hero { padding-top: 56px; }
  .badge-secondary { display: none; }
}

@media (max-width: 720px) {
  .header-inner { grid-template-columns: 1fr auto auto; }
  .brand img { height: 28px; width: auto; }
  .hero { padding-top: 36px; }
  .hero h1 { font-size: clamp(2rem, 8.5vw, 2.5rem); }
  .hero-copy .lead { font-size: 1.02rem; margin-top: 1rem; }
  .hero-copy .eyebrow { margin-bottom: 0.9rem; }
  .hero-copy .btn-row { margin-top: 1.4rem; }
  .hero-grid { gap: 36px; }
  .page-hero { padding: 48px 0 40px; }
  .page-hero h1 { font-size: clamp(1.9rem, 8vw, 2.4rem); }
  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    justify-self: stretch;
    flex-direction: column;
    gap: 0;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-soft);
    padding: 12px 24px 20px;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  }
  .main-nav.open { transform: none; opacity: 1; visibility: visible; }
  .main-nav a { padding: 12px 0; font-size: 1.05rem; }
  .header-cta {
    padding: 9px 13px;
    font-size: 0.82rem;
    margin-left: auto;
  }
  .header-inner { gap: 12px; }
  .nav-toggle { display: flex; margin-left: 0; }
  .main-nav .nav-cta {
    display: inline-flex;
    margin: 14px 0 6px;
    padding: 14px 22px;
    font-size: 1rem;
    justify-content: center;
  }
  .cards-grid { grid-template-columns: 1fr; }
  .float-badge { left: 12px; bottom: 14px; }
  .btn-row .btn { width: 100%; }
}

/* ---------- interactieve app-panels (ranktracker) ---------- */

.ap-chip.clickable { cursor: pointer; user-select: none; transition: background 0.15s ease, color 0.15s ease; }
.ap-chip.clickable:hover { background: var(--field-hover); color: var(--typ-primary); }

.ap-tile { transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease; }
.app-panel:hover .ap-tile { border-color: var(--border-soft); }
.ap-tile:hover {
  transform: translateY(-3px);
  border-color: rgba(1, 118, 255, 0.55) !important;
  background: rgba(1, 118, 255, 0.08);
}

.ap-row { position: relative; transition: background 0.15s ease, transform 0.15s ease; cursor: default; }
.ap-row:hover {
  background: var(--bg-pill);
  transform: translateX(4px);
}
.ap-row:hover .dom { color: var(--typ-link); }

.ap-chart polyline, .ap-chart circle { transition: all 0.45s ease; }

/* ---------- footer social icons ---------- */

.footer-social a { display: inline-flex; align-items: center; gap: 10px; }
.footer-social svg { width: 17px; height: 17px; fill: currentColor; flex-shrink: 0; }

/* ---------- link-in-bio (standalone landing) ---------- */
.linkbio {
  min-height: 100vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 56px 20px 80px; text-align: center;
}
.linkbio-logo { margin-bottom: 40px; }
.linkbio h1 { font-size: clamp(2rem, 6vw, 3.4rem); line-height: 1.05; margin-bottom: 0.7rem; }
.linkbio-sub { color: var(--typ-body); font-size: 1.1rem; margin-bottom: 2.8rem; }
.linkbio-grid {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px;
  width: 100%; max-width: 900px; text-align: left;
}
.linkbio-card {
  grid-column: span 2;
  background: var(--bg-card); border: 1px solid var(--border-soft); border-radius: var(--radius);
  padding: 28px; display: flex; flex-direction: column; gap: 18px;
  color: var(--typ-primary); transition: transform 0.2s ease, border-color 0.2s ease;
}
.linkbio-card.is-lg { grid-column: span 3; }
.linkbio-card:hover { transform: translateY(-4px); border-color: rgba(1, 118, 255, 0.45); }
.linkbio-ico { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: #fff; }
.linkbio-ico svg { width: 26px; height: 26px; }
.linkbio-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.linkbio-head h2 { font-size: 1.5rem; }
.linkbio-head .arrow { color: var(--typ-link); font-size: 1.4rem; line-height: 1; }
.linkbio-card p { color: var(--typ-body); font-size: 0.95rem; }
.ico-seo { background: #0176ff; }
.ico-sea { background: #f5842a; }
.ico-mail { background: #ff6f61; }
.ico-wa { background: #25d366; }
.ico-tel { background: #f5b52a; }
@media (max-width: 720px) {
  .linkbio-grid { grid-template-columns: 1fr; }
  .linkbio-card, .linkbio-card.is-lg { grid-column: auto; }
}
