/* ==========================================================================
   CalmPoint | lastige telefoongesprekken
   Type:   Outfit (koppen, tekst, interface). Past bij het CalmPoint-woordmerk.
           Newsreader cursief alleen voor gesproken zinnen (wat iemand zegt).
   Kleur:  wit + koel grijsblauw, inkt voor acties.
           Logokleuren (uit het beeldmerk: twee gezichten die samenkomen) zijn stemmen, geen decoratie:
             --caller (rood)  de beller / escalatie
             --pro    (blauw) de professional / rust
             --meet   (geel)  het raakpunt
   ========================================================================== */

@font-face { font-family: "Outfit"; src: url("../fonts/outfit-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("../fonts/newsreader-latin-opsz-italic.woff2") format("woff2"); font-weight: 200 800; font-style: italic; font-display: swap; }

:root {
  --ground: #FFFFFF;
  --surface: #F1F4F7;
  --card: #FFFFFF;
  --line: #DFE4EA;
  --ink: #17212B;
  --ink-soft: #36414C;
  --muted: #5D6873;
  --on-ink: #F3F5F7;
  --on-ink-muted: #A7B1BA;

  --pro: #8DB1DE;
  --pro-deep: #3D6EA8;
  --caller: #E4513B;
  --meet: #F6C64E;

  --sans: "Outfit", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --spoken: "Newsreader", Georgia, serif;

  --wrap: 1180px;
  --gutter: clamp(18px, 4vw, 40px);
  --section: clamp(80px, 10vw, 128px);
  --r-sm: 8px;
  --r-md: 16px;
  --r-lg: 28px;
  --pill: 999px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }

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

.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: var(--on-ink); padding: 10px 16px; border-radius: var(--pill); text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: max(var(--gutter), env(safe-area-inset-left)); padding-right: max(var(--gutter), env(safe-area-inset-right)); }

/* ---------- type ---------- */
.display {
  font-weight: 600;
  font-size: clamp(2.5rem, 5.4vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  max-width: 15ch;
  text-wrap: balance;
}
.h2 {
  font-weight: 600;
  font-size: clamp(1.9rem, 3.4vw, 2.75rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.h3 { font-weight: 600; font-size: clamp(1.4rem, 2.2vw, 1.75rem); line-height: 1.15; letter-spacing: -0.02em; }
h3 { font-size: 1.125rem; font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; }
.lead { font-size: clamp(1.125rem, 1.5vw, 1.25rem); color: var(--ink-soft); max-width: 44ch; line-height: 1.55; }
.body-lg { font-size: 1.1875rem; line-height: 1.6; max-width: 56ch; }
.muted { color: var(--muted); }

/* ---------- buttons ---------- */
.btn {
  touch-action: manipulation; white-space: nowrap;
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 0 24px;
  border-radius: var(--pill);
  font: 500 1rem/1 var(--sans);
  text-decoration: none; cursor: pointer;
  border: 1.5px solid transparent;
  transition: background-color .15s ease, border-color .15s ease;
}
.btn--ink { background: var(--ink); color: var(--on-ink); }
@media (hover: hover) { .btn--ink:hover { background: #2A3846; } }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
@media (hover: hover) { .btn--ghost:hover { border-color: var(--ink); } }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: .9375rem; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s ease; }
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav__inner { display: flex; align-items: center; gap: 32px; height: 72px; }
.brand { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.brand img { height: 30px; width: auto; }
.footer .brand img { height: 24px; }
.nav__links { display: flex; gap: 30px; margin-left: auto; }
.nav__links a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; font-size: 1rem; color: var(--ink-soft); }
.nav__links a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1.5px; }
.nav__toggle, .nav__mobile { display: none; }

/* ---------- sections ---------- */
.section { padding: var(--section) 0; }
.section--tight { padding: 0 0 var(--section); }
.section--surface { background: var(--surface); }
.section--ink { background: var(--ink); color: var(--on-ink); }
.section__head { display: grid; gap: 18px; margin-bottom: clamp(44px, 6vw, 64px); max-width: 720px; }

.split { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(36px, 6vw, 88px); align-items: start; }
.split__body { display: grid; gap: 44px; }

/* ---------- hero ---------- */
.hero { padding: clamp(40px, 7vw, 88px) 0 var(--section); }
.hero__grid { display: grid; grid-template-columns: 1fr minmax(0, 500px); gap: clamp(40px, 6vw, 80px); align-items: center; }
.hero__copy { display: grid; gap: 28px; justify-items: start; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.person { font-size: .9375rem; line-height: 1.35; color: var(--muted); margin-top: 8px; }
.person strong { color: var(--ink); font-weight: 600; }

/* ---------- gesprekssimulatie ---------- */
.call {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: 0 30px 60px -30px rgba(23, 33, 43, .25);
  overflow: hidden;
  display: flex; flex-direction: column;
  min-height: 520px;
}
.call__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; background: var(--surface); }
.call__who { display: flex; gap: 12px; align-items: center; }
.call__name { font-weight: 600; font-size: 1rem; line-height: 1.2; white-space: nowrap; }
.call__meta { font-size: .875rem; color: var(--muted); font-variant-numeric: tabular-nums; }

.dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.dot--caller { background: var(--caller); }
.dot--pro { background: var(--pro); }
.call__head .dot--caller { animation: ring 1.4s ease-in-out infinite; }
@keyframes ring { 0%,100% { box-shadow: 0 0 0 0 rgba(228,81,59,.35); } 50% { box-shadow: 0 0 0 6px rgba(228,81,59,0); } }

.meter { display: grid; justify-items: end; gap: 4px; }
.meter__bars { display: flex; align-items: center; gap: 3px; height: 28px; }
.meter__bars i {
  display: block; width: 3px; border-radius: 3px;
  height: var(--h, 30%);
  background: var(--meter-color, var(--caller));
  transition: height .5s cubic-bezier(.3,.7,.3,1), background-color .5s ease;
  animation: breathe 1.6s ease-in-out infinite;
  animation-delay: var(--d, 0s);
}
.meter__label { font-size: .75rem; color: var(--muted); white-space: nowrap; }
@keyframes breathe { 0%,100% { transform: scaleY(1); } 50% { transform: scaleY(.6); } }

.call__body { flex: 1; padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.msg { max-width: 88%; animation: msg-in .3s ease both; }
.msg p { padding: 11px 15px; border-radius: 18px; font-size: 1rem; line-height: 1.45; }
.msg--caller p { background: #FCE9E6; border-bottom-left-radius: 4px; }
.msg--pro { align-self: flex-end; }
.msg--pro p { background: #E3ECF7; border-bottom-right-radius: 4px; }
.msg__who { display: block; font-size: .75rem; color: var(--muted); margin: 0 4px 4px; }
.msg--pro .msg__who { text-align: right; }
@keyframes msg-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

.feedback {
  background: #FEF6DD;
  border-radius: 12px;
  padding: 12px 15px;
  font-size: .9375rem; line-height: 1.5; color: var(--ink-soft);
  animation: msg-in .3s ease both;
}
.feedback strong { font-weight: 600; color: var(--ink); }

.choices { display: grid; gap: 8px; margin-top: auto; padding-top: 8px; justify-items: stretch; }
.choice {
  text-align: left; width: 100%; min-height: 48px; touch-action: manipulation;
  font: 400 1rem/1.4 var(--sans); color: var(--ink);
  background: var(--card);
  border: 1.5px solid var(--line);
  border-radius: 14px;
  padding: 12px 15px;
  cursor: pointer;
  transition: border-color .15s ease;
}
@media (hover: hover) { .choice:hover { border-color: var(--pro-deep); } }
.choice:active { border-color: var(--pro-deep); background: #F5F8FC; }
.btn--ink:active { background: #2A3846; }
.btn--ghost:active { border-color: var(--ink); }

.call__foot { padding: 14px 22px 18px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.call__hint { font-size: .875rem; color: var(--muted); }
.linkbtn { background: none; border: 0; padding: 0; min-height: 44px; font: 500 1rem var(--sans); color: var(--ink); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; justify-self: start; }
.call__end { display: flex; gap: 16px; align-items: center; }

/* ---------- herkenning ---------- */
.facts { display: grid; gap: 0; border-top: 1.5px solid var(--ink); }
.facts div { display: grid; grid-template-columns: 200px 1fr; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-weight: 600; }
.facts dd { color: var(--muted); }

/* ---------- aanpak ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 56px); }
.steps li { display: grid; gap: 10px; align-content: start; border-top: 1.5px solid var(--ink); padding-top: 18px; }
.steps__n { font-weight: 300; font-size: 3.25rem; line-height: 1; letter-spacing: -0.04em; color: var(--pro-deep); margin-bottom: 18px; }
.steps p { color: var(--muted); }

/* ---------- wat je leert ---------- */
.skills { border-top: 1.5px solid var(--ink); }
.skill { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(24px, 5vw, 72px); align-items: center; padding: 34px 0; border-bottom: 1px solid var(--line); }
.skill__text { display: grid; gap: 6px; }
.skill__text p { color: var(--muted); max-width: 46ch; }
.line { font-family: var(--spoken); font-style: italic; font-weight: 400; font-size: clamp(1.3rem, 2.1vw, 1.6rem); line-height: 1.32; color: var(--ink); }

/* ---------- grens ---------- */
.section--ink .body-lg { color: var(--on-ink-muted); }
.ladder { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; padding-top: 40px; }
.ladder__track { position: absolute; left: 0; right: 0; top: 0; height: 4px; border-radius: 4px; background: rgba(255,255,255,.08); overflow: hidden; }
.ladder__track span { position: absolute; inset: 0; background: linear-gradient(90deg, var(--pro) 0%, var(--meet) 50%, var(--caller) 100%); }
.rung { display: grid; gap: 12px; align-content: start; position: relative; }
.rung::before { content: ""; position: absolute; top: -46px; left: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--ink); border: 3px solid var(--c); }
.rung:nth-child(2) { --c: var(--pro); }
.rung:nth-child(3) { --c: var(--meet); }
.rung:nth-child(4) { --c: var(--caller); }
.rung h3 { font-weight: 600; font-size: 1.75rem; letter-spacing: -0.025em; line-height: 1.1; }
.rung__ex { font-family: var(--spoken); font-style: italic; font-size: 1.2rem; line-height: 1.4; color: var(--on-ink); }
.rung p:last-child { color: var(--on-ink-muted); }

/* ---------- trainer ---------- */
.trainer { display: grid; gap: 0; max-width: 720px; }
.trainer__copy { display: grid; gap: 20px; }
.trainer__copy > p:not(.body-lg) { color: var(--ink-soft); max-width: 56ch; }
.roles { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.roles li { font-size: .9375rem; padding: 7px 14px; border: 1px solid var(--line); border-radius: var(--pill); color: var(--ink-soft); }

/* ---------- nazorg / tool ---------- */
.aftercare, .tool { display: grid; grid-template-columns: 1fr auto; gap: 24px 56px; align-items: end; border-top: 1.5px solid var(--ink); padding-top: 28px; }
.aftercare p, .tool p { color: var(--ink-soft); margin-top: 12px; max-width: 62ch; }
.aftercare__phone { font-weight: 600; font-size: clamp(1.25rem, 2vw, 1.5rem); letter-spacing: -0.02em; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; text-decoration-color: var(--meet); white-space: nowrap; display: inline-flex; align-items: center; min-height: 48px; }
.aftercare__phone:hover { text-decoration-color: var(--ink); }
.steps a, .trainer__copy a, .faq a { color: inherit; text-underline-offset: 3px; }
.steps a:hover, .trainer__copy a:hover, .faq a:hover { color: var(--pro-deep); }

/* ---------- faq ---------- */
.faq { border-top: 1.5px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 20px 0; font-weight: 500; font-size: 1.125rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 14px; height: 14px;
  background:
    linear-gradient(var(--ink), var(--ink)) center / 14px 2px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 2px 14px no-repeat;
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
@media (hover: hover) { .faq summary:hover { color: var(--pro-deep); } }
.faq details p { padding: 0 0 22px; color: var(--muted); max-width: 62ch; }

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(36px, 6vw, 88px); align-items: start; }
.contact__intro { display: grid; gap: 20px; }
.contact__direct { display: grid; border-top: 1.5px solid var(--ink); margin-top: 8px; }
.contact__direct li { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.contact__direct a { display: inline-flex; align-items: center; min-height: 44px; }
.contact__direct span { color: var(--muted); }
.contact__direct a { font-weight: 600; text-decoration: none; }
.contact__direct a:hover { text-decoration: underline; text-underline-offset: 4px; }

.form { background: var(--card); border-radius: var(--r-lg); padding: clamp(22px, 4vw, 36px); display: grid; gap: 18px; }
.field { display: grid; gap: 7px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label { font-size: .9375rem; font-weight: 500; }
.opt { color: var(--muted); font-weight: 400; }
.field input, .field textarea {
  font: 400 1rem/1.5 var(--sans); color: var(--ink);
  background: var(--card);
  border: 1.5px solid var(--line); border-radius: var(--r-sm);
  padding: 11px 13px; width: 100%;
  transition: border-color .15s ease;
}
.field input:hover, .field textarea:hover { border-color: #C3CBD3; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--pro-deep); box-shadow: 0 0 0 3px rgba(141,177,222,.35); }
.field textarea { resize: vertical; min-height: 130px; }
.field [aria-invalid="true"] { border-color: var(--caller); }
.form__end { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.form__note { font-size: .875rem; color: var(--muted); }
.form__error { font-size: .9375rem; color: #B5341F; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 36px 0 44px; }
.footer__inner { display: flex; align-items: center; gap: 16px 40px; flex-wrap: wrap; }
.footer__links { display: flex; gap: 24px; font-size: .9375rem; }
.footer__links a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; color: var(--ink-soft); }
.footer__links a:hover { color: var(--ink); text-decoration: underline; }
.footer__copy { margin-left: auto; color: var(--muted); font-size: .875rem; }

/* ---------- responsive ---------- */
/* ---------- aanbod ---------- */
.offers { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(36px, 5vw, 64px) clamp(24px, 4vw, 56px); }
.offer { display: grid; gap: 10px; align-content: start; border-top: 1.5px solid var(--ink); padding-top: 18px; }
.offer__tag { font-size: .875rem; font-weight: 500; color: var(--pro-deep); }
.offer h3 { font-size: 1.5rem; letter-spacing: -0.02em; line-height: 1.15; }
.offer > p:not(.offer__tag) { color: var(--ink-soft); max-width: 52ch; }
.offer__list { display: grid; gap: 6px; margin-top: 6px; }
.offer__list li { position: relative; padding-left: 18px; color: var(--muted); font-size: 1rem; }
.offer__list li::before { content: ""; position: absolute; left: 0; top: .72em; width: 8px; height: 1.5px; background: var(--muted); }

@media (max-width: 1000px) {
  .hero__grid { grid-template-columns: 1fr; }
  .call { max-width: 560px; }
  .split, .contact { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .steps__n { margin-bottom: 4px; font-size: 2.5rem; }
}
@media (max-width: 820px) {
  .offers { grid-template-columns: 1fr; }
  .nav__inner { height: 64px; }
  html { scroll-padding-top: 72px; }
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: inline-flex; margin-left: auto; align-items: center; min-height: 40px; padding: 0 16px; border-radius: var(--pill); border: 1.5px solid var(--line); background: var(--card); font: 500 .9375rem var(--sans); color: var(--ink); cursor: pointer; }
  .nav__mobile:not([hidden]) { display: grid; padding: 4px var(--gutter) 18px; border-bottom: 1px solid var(--line); background: var(--ground); }
  .nav__mobile a { display: flex; align-items: center; min-height: 52px; padding: 0; text-decoration: none; border-bottom: 1px solid var(--line); font-size: 1.125rem; }
  .nav__mobile a:last-child { border-bottom: 0; font-weight: 600; }
  .facts div { grid-template-columns: 1fr; gap: 4px; }
  .skill { grid-template-columns: 1fr; gap: 14px; padding: 26px 0; }
  .ladder { grid-template-columns: 1fr; gap: 36px; padding: 0 0 0 36px; }
  .ladder__track { left: 6px; right: auto; top: 0; bottom: 0; width: 4px; height: auto; }
  .ladder__track span { background: linear-gradient(180deg, var(--pro) 0%, var(--meet) 50%, var(--caller) 100%); }
  .rung::before { top: 6px; left: -36px; }
  .aftercare, .tool { grid-template-columns: 1fr; align-items: start; }
  .field-row { grid-template-columns: 1fr; }
  .footer__copy { margin-left: 0; width: 100%; }
}
@media (max-width: 480px) {
  body { font-size: 17px; }
  .call { min-height: 560px; border-radius: 22px; }
  .call__head { padding: 14px 16px; }
  .call__body { padding: 18px 16px; }
  .call__foot { padding: 12px 16px 16px; }
  .msg { max-width: 94%; }
  .meter__bars { display: none; }
  .call__end { width: 100%; justify-content: space-between; }
  .contact__direct li { flex-wrap: wrap; gap: 0 16px; }
  .hero__actions { width: 100%; }
  .hero__actions .btn { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* liggende telefoon: minder verticale ruimte */
@media (max-height: 500px) and (orientation: landscape) {
  .nav { position: static; }
  .hero { padding-top: 24px; }
  .section { padding: 64px 0; }
  .call { min-height: 0; }
}
