/* ==================================================
   Studio Eleva — AI Brand Scan salespage (startpagina)
   Ontwerp geïmporteerd uit Claude Design.
   Zelfstandige stylesheet (los van style.css): eigen fonts,
   design-tokens en type-schaal (18px basis), zodat de
   marketingpagina niet botst met het formulier.
   ================================================== */

/* --- Webfonts (dezelfde bestanden als het formulier) --- */
@font-face {
  font-family: 'NyghtSerif';
  src: url('/fonts/NyghtSerif-Regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'NyghtSerif';
  src: url('/fonts/NyghtSerif-RegularItalic.woff2') format('woff2');
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'NyghtSerif';
  src: url('/fonts/NyghtSerif-Medium.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'NyghtSerif';
  src: url('/fonts/NyghtSerif-MediumItalic.woff2') format('woff2');
  font-weight: 500; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'Satoshi';
  src: url('/fonts/Satoshi-Variable.woff2') format('woff2');
  font-weight: 300 900; font-style: normal; font-display: swap;
}

/* --- Design tokens (uit het Studio Eleva design system) --- */
:root {
  /* Brand palette */
  --color-beige-light:  #F8F4F3;
  --color-beige:        #FBF5F4;
  --color-beige-dark:   #F9EEEC;
  --color-beige-darker: #FDB69D;
  --color-pink:         #FD7E6E;
  --color-pink2:        #C95440;
  --color-brown:        #5B2D29;
  --color-black:        #382821;

  /* Semantisch */
  --color-bg:           var(--color-beige);
  --color-bg-subtle:    var(--color-beige-light);
  --color-bg-warm:      var(--color-beige-dark);
  --color-bg-accent:    var(--color-beige-darker);
  --color-fg:           var(--color-black);
  --color-fg-muted:     var(--color-brown);
  --color-fg-subtle:    #7A5C58;
  --color-accent:       var(--color-pink);
  --color-accent-dark:  var(--color-pink2);

  /* Typografie */
  --font-serif: 'NyghtSerif', Georgia, serif;
  --font-sans:  'Satoshi', 'Inter', Helvetica, Arial, sans-serif;

  /* Type-schaal — basis 18px */
  --text-xs:   0.722rem;  /* 13px */
  --text-sm:   0.889rem;  /* 16px */
  --text-base: 1rem;      /* 18px */
  --text-md:   1.111rem;  /* 20px */
  --text-lg:   1.333rem;  /* 24px */
  --text-xl:   1.667rem;  /* 30px */
  --text-2xl:  2.222rem;  /* 40px */
  --text-3xl:  2.889rem;  /* 52px */
  --text-4xl:  3.778rem;  /* 68px */

  --leading-tight:  1.15;
  --leading-snug:   1.3;
  --leading-normal: 1.55;
  --leading-loose:  1.75;

  --tracking-tight: -0.02em;
  --tracking-wider:  0.12em;

  --radius-lg:  16px;
  --radius-full: 9999px;

  --shadow-md:  0 4px 10px rgba(91,45,41,0.14);
  --shadow-lg:  0 8px 32px rgba(91,45,41,0.18);
}

/* --- Reset & basis --- */
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 18px; }
html, body { margin: 0; padding: 0; }
img, svg { display: block; max-width: 100%; }
body {
  background: var(--color-bg);
  color: var(--color-fg);
  font-family: var(--font-sans);
  line-height: var(--leading-normal);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--color-pink2); }
a:hover { color: var(--color-black); }

/* --- Type-klassen (uit colors_and_type.css) --- */
.h1 {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: var(--text-4xl);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  color: var(--color-fg);
  margin: 0;
}
.h1 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
}
.h2 {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: var(--text-3xl);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  color: var(--color-fg);
  margin: 0;
}
.h2 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
}
.h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: var(--text-2xl);
  line-height: var(--leading-snug);
  color: var(--color-fg);
  margin: 0;
}
.h4 {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: var(--text-lg);
  line-height: var(--leading-snug);
  color: var(--color-fg);
  margin: 0;
}
.body {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--color-fg);
  margin: 0;
}
.lead {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: var(--text-md);
  line-height: var(--leading-loose);
  color: var(--color-fg-muted);
  margin: 0;
}
.label {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: var(--text-xs);
  line-height: 1;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--color-fg-subtle);
}
.caption {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: var(--text-sm);
  line-height: var(--leading-normal);
  color: var(--color-fg-subtle);
}
em { font-family: var(--font-serif); font-style: italic; font-weight: 400; }

.muted    { color: var(--color-fg-muted); }
.subtle   { color: var(--color-fg-subtle); }
.accent   { color: var(--color-pink2); }

/* ==================================================
   FeatureButton — hoogste nadruk (donkere pill + gloed)
   ================================================== */
.sp-btn {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: var(--color-black);
  color: var(--color-beige-darker);
  border: none;
  cursor: pointer;
  text-decoration: none;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  padding: 10px 12px 10px 26px;
  box-shadow: 0 0 0 5px rgba(253,182,157,0.55), 0 4px 10px rgba(91,45,41,0.14);
  transition: all 0.18s ease;
}
.sp-btn:hover, .sp-btn:focus-visible {
  background: var(--color-brown);
  color: var(--color-beige-dark);
  transform: translateY(-1px);
  box-shadow: 0 0 0 7px rgba(253,182,157,0.55), 0 4px 10px rgba(91,45,41,0.14);
  outline: none;
}
.sp-btn__icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: var(--color-beige-darker);
  color: var(--color-black);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.18s ease;
}
.sp-btn:hover .sp-btn__icon,
.sp-btn:focus-visible .sp-btn__icon {
  background: var(--color-beige-dark);
  transform: rotate(-8deg);
}

/* ==================================================
   Layout
   ================================================== */
.sp-wrap { background: var(--color-bg); }

.sp-inner { max-width: 1160px; margin: 0 auto; }

/* Header — zelfde geometrie als de hero eronder, zodat het logo exact
   uitlijnt met de tekst (hero = 56px section-padding + gecentreerde 1160-box). */
.sp-header {
  padding: 36px 56px 0;
}
.sp-header__inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.sp-header__logo { height: 32px; width: auto; }

/* --- Hero --- */
.sp-hero {
  position: relative;
  overflow: hidden;
  padding: 64px 56px 120px;
}
.sp-blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.sp-blob--a {
  right: -160px; top: -120px;
  width: 620px; height: 620px;
  background: radial-gradient(circle, var(--color-beige-darker) 0%, var(--color-beige) 70%);
  opacity: 0.65;
  animation: sp-blob-a 20s ease-in-out infinite;
}
.sp-blob--b {
  left: -200px; bottom: -160px;
  width: 520px; height: 520px;
  background: radial-gradient(circle, var(--color-pink) 0%, var(--color-beige) 72%);
  opacity: 0.35;
  animation: sp-blob-b 24s ease-in-out infinite;
}
@keyframes sp-blob-a {
  0%,100% { transform: translate(0,0) scale(1); }
  50%     { transform: translate(60px,-40px) scale(1.18); }
}
@keyframes sp-blob-b {
  0%,100% { transform: translate(0,0) scale(1); }
  50%     { transform: translate(-50px,40px) scale(1.12); }
}

.sp-hero__grid {
  max-width: 1160px;
  margin: 0 auto;
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}
.sp-hero__eyebrow { color: var(--color-pink2); margin-bottom: 22px; }
.sp-hero__title { margin: 0 0 24px; text-wrap: pretty; }
.sp-hero__lead { margin: 0 0 28px; max-width: 520px; font-weight: 700; }
.sp-hero__intro { margin: 0 0 36px; max-width: 520px; }

.sp-checklist-title { margin: 0 0 16px; }
.sp-checklist {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}
.sp-check-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.sp-check-item svg {
  flex-shrink: 0;
  margin-top: 2px;
  stroke: var(--color-pink2);
}
.sp-hero__note { margin: 0 0 24px; }
.sp-hero__meta { display: block; margin-bottom: 28px; }

/* Zwevende voorbeeld-kaarten rechts */
.sp-hero__cards {
  position: relative;
  height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sp-card {
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.sp-card--back {
  position: absolute;
  width: 340px;
  top: 60px;
  right: 0;
  background: var(--color-bg-warm);
  padding: 28px;
  animation: sp-float-2 9s ease-in-out infinite;
}
.sp-card--front {
  position: relative;
  width: 320px;
  padding: 32px;
  animation: sp-float-1 11s ease-in-out infinite;
}
@keyframes sp-float-1 {
  0%,100% { transform: translate(0,0) rotate(-3deg); }
  50%     { transform: translate(0,-14px) rotate(-1.5deg); }
}
@keyframes sp-float-2 {
  0%,100% { transform: translate(0,0) rotate(4deg); }
  50%     { transform: translate(0,12px) rotate(6deg); }
}
.sp-card__label { color: var(--color-fg-subtle); margin-bottom: 10px; }
.sp-card__title { font-size: 1.4rem; margin: 0 0 18px; }
.sp-bars { display: flex; flex-direction: column; gap: 10px; }
.sp-bar { height: 8px; border-radius: 99px; background: rgba(56,40,33,0.10); }
.sp-bar > span { display: block; height: 100%; border-radius: 99px; background: var(--color-beige-darker); }

.sp-card--front .sp-card__title { font-size: 1.6rem; margin: 0 0 24px; }
.sp-result-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}
.sp-result-badge {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--color-bg-warm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.sp-result-badge svg { stroke: var(--color-pink2); }
.sp-scores { display: flex; flex-direction: column; gap: 14px; }
.sp-score__label { margin-bottom: 6px; }
.sp-score__bar { height: 6px; border-radius: 99px; background: rgba(56,40,33,0.10); }
.sp-score__bar > span { display: block; height: 100%; border-radius: 99px; background: var(--color-pink2); }

/* --- Hoe het werkt --- */
.sp-how {
  background: var(--color-bg-warm);
  padding: 112px 56px;
}
.sp-section__eyebrow { color: var(--color-fg-subtle); margin-bottom: 20px; }
.sp-how__title { margin: 0 0 64px; max-width: 600px; text-wrap: pretty; }
.sp-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.sp-step-card {
  background: #ffffff99;
  border: 1px solid white;
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-md);
}
.sp-step-card__num {
  font-family: var(--font-serif);
  font-size: var(--text-2xl);
  font-weight: 500;
  color: var(--color-pink);
  margin-bottom: 16px;
}
.sp-step-card__title { margin: 0 0 14px; font-size: var(--text-lg); }
.sp-step-card__desc { margin: 0; color: var(--color-fg-muted); }

/* --- Over mij --- */
.sp-about {
  background: var(--color-bg);
  padding: 112px 56px;
}
.sp-about__grid {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 80px;
  align-items: center;
}
.sp-about__photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  height: 520px;
}
.sp-about__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Verankerd aan de bovenkant: hoofd blijft altijd in beeld,
     de onderkant wordt zo nodig afgesneden. */
  object-position: top center;
}
.sp-about__title { margin: 0 0 24px; }
.sp-about p { margin: 0 0 20px; color: var(--color-fg-muted); font-size: var(--text-md); }
.sp-about__pull {
  margin: 28px 0 0;
  font-size: var(--text-lg);
}

/* --- CTA-strip --- */
.sp-cta {
  background: var(--color-black);
  padding: 96px 56px;
  text-align: center;
}
.sp-cta__inner { max-width: 680px; margin: 0 auto; }
.sp-cta__title {
  color: var(--color-beige);
  margin: 0 0 40px;
  font-size: var(--text-2xl);
}

/* --- Footer --- */
.sp-footer {
  background: var(--color-black);
  padding: 40px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(251,245,244,0.1);
  gap: 24px;
  flex-wrap: wrap;
}
.sp-footer__logo {
  height: 28px;
  width: auto;
  filter: invert(1) brightness(2);
}
.sp-footer__copy { color: rgba(251,245,244,0.5); }

/* ==================================================
   Responsive
   ================================================== */
@media (max-width: 960px) {
  .sp-hero__grid { grid-template-columns: 1fr; gap: 48px; }
  .sp-hero__cards { display: none; }
  .sp-about__grid { grid-template-columns: 1fr; gap: 40px; }
  .sp-about__photo { height: 420px; order: 2; }
  .sp-about__text { order: 1; }
  .sp-steps { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  html { font-size: 16px; }
  .sp-header { padding: 24px 24px 0; }
  .sp-hero { padding: 40px 24px 72px; }
  .sp-how, .sp-about { padding: 72px 24px; }
  .sp-cta { padding: 72px 24px; }
  .sp-footer { padding: 32px 24px; }
  .sp-how__title { margin-bottom: 40px; }
  .sp-hero__lead, .sp-hero__intro { max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  .sp-blob, .sp-card--back, .sp-card--front { animation: none; }
}
