/* =========================================================
   JUST A THOUGHT — oplossingen (overzicht + detailpagina's)
   ========================================================= */

/* Homepage: concrete voorbeelden in de categoriekaarten */
.card-links { list-style: none; margin: 4px 0 0; padding: 12px 0 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; }
.card-links a { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; font-size: 15px; font-weight: 600; text-decoration: none; color: var(--ink); }
.card-links a span { color: var(--ink-muted); transition: transform .3s cubic-bezier(.2,.8,.2,1), color .2s; }
.card-links a:hover span { transform: translateX(4px); color: var(--ink); }

/* Hero op subpagina's */
.hero--sub { min-height: 0; padding-top: 56px; }
.hero-inner--sub { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding-top: 64px; padding-bottom: 96px; }
.hero--sub .hero-content { max-width: 780px; gap: 28px; min-width: 0; } /* min-width: niet breder dan het scherm door één lang woord */
.hero--sub .display { font-size: 76px; }
.hero-icon { flex-shrink: 0; width: 260px; height: 260px; filter: drop-shadow(0 0 18px rgba(255,106,183,.35)); opacity: .9; }
.back-link { align-self: flex-start; font-size: 14px; font-weight: 600; color: var(--ink-muted); text-decoration: none; padding: 8px 0; transition: color .2s; }
.back-link:hover { color: var(--ink); }
@media (max-width: 1000px) { .hero-icon { display: none; } }
@media (max-width: 760px) {
  .hero--sub .display { font-size: clamp(32px, 10.5vw, 42px); }
  .hero-inner--sub { padding-top: 40px; padding-bottom: 64px; }
}

/* Herken je dit? */
.problems-wrap { align-items: start; }
.problems { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.problems li { position: relative; padding: 22px 0 22px 32px; border-bottom: 1px solid var(--line); font-size: 19px; line-height: 1.5; }
.problems li:first-child { border-top: 1px solid var(--line); }
.problems li::before { content: ""; position: absolute; left: 4px; top: 33px; width: 8px; height: 8px; border-radius: 9999px; background: var(--dot); }

/* Stappen: vier naast elkaar */
.steps--4 { grid-template-columns: repeat(4, 1fr); }
.steps--3 { grid-template-columns: repeat(3, 1fr); }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.grid-3 .step-num { font-size: 44px; margin-bottom: 4px; }
@media (max-width: 1000px) { .steps--4, .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .steps--4, .steps--3, .grid-3 { grid-template-columns: minmax(0, 1fr); } }

/* Demo: een apparaatje met een feed die zich vult */
.demo { background: var(--surface); border: 1px solid var(--line); position: relative; }
.demo::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--neon); box-shadow: var(--glow-pink); }
.demo-bar { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.demo-dots { display: flex; gap: 6px; }
.demo-dots i { width: 8px; height: 8px; border-radius: 9999px; background: var(--line-strong); }
.demo-title { font-size: 13px; font-weight: 600; letter-spacing: .08em; color: var(--ink-muted); }
.demo-feed { padding: 20px 18px 24px; display: flex; flex-direction: column; gap: 12px; min-height: 440px; }
.demo-item { font-size: 15px; line-height: 1.5; }
.js .demo[data-ready] .demo-item { opacity: 0; transform: translateY(10px); transition: opacity .45s, transform .45s cubic-bezier(.2,.8,.2,1); }
.js .demo[data-ready] .demo-item.is-shown { opacity: 1; transform: none; }
.demo-event { font-size: 12px; font-weight: 600; letter-spacing: .06em; color: var(--ink-muted); text-transform: uppercase; display: flex; align-items: center; gap: 10px; }
.demo-event::before { content: ""; width: 6px; height: 6px; border-radius: 9999px; background: var(--dot); flex-shrink: 0; }
.demo-msg { max-width: 86%; padding: 12px 14px; border-radius: var(--radius-sm); }
.demo-who { display: block; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 4px; opacity: .7; }
.demo-msg--ai { align-self: flex-start; background: var(--surface-raised); border-left: 2px solid var(--neon-pink); }
.demo-msg--jij { align-self: flex-start; background: var(--surface-raised); border-left: 2px solid var(--neon-amber); }
.demo-msg--klant { align-self: flex-end; background: var(--ink); color: var(--bg); }
.demo-result { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border: 1px solid var(--line); }
.demo-result strong { font-size: 16px; }
.demo-result span { font-size: 13px; color: var(--ink-muted); }
.demo-result.is-top { border-color: var(--ink); background: var(--surface-raised); }
.demo-stat { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "l l" "v d"; gap: 2px 12px; padding: 14px; border: 1px solid var(--line); }
.demo-stat-label { grid-area: l; font-size: 13px; color: var(--ink-muted); }
.demo-stat-value { grid-area: v; font-size: 28px; font-weight: 700; font-variant-numeric: lining-nums tabular-nums; }
.demo-stat-delta { grid-area: d; align-self: end; font-size: 13px; font-weight: 600; color: var(--ink-muted); }
.demo-typing { align-self: flex-start; display: inline-flex; gap: 4px; padding: 12px 14px; background: var(--surface-raised); border-radius: var(--radius-sm); }
.demo-typing i { width: 6px; height: 6px; border-radius: 9999px; background: var(--ink-muted); animation: typing 1s infinite; }
.demo-typing i:nth-child(2) { animation-delay: .15s; } .demo-typing i:nth-child(3) { animation-delay: .3s; }
.demo-typing--klant { align-self: flex-end; }
@keyframes typing { 0%, 60%, 100% { opacity: .3; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }
@media (max-width: 760px) { .demo-feed { min-height: 0; } }

/* Rekenmodule */
.calc { display: flex; flex-direction: column; gap: 22px; padding-top: 8px; }
.calc-row label { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; font-size: 15px; color: var(--ink-muted); margin-bottom: 10px; }
.calc-val { color: var(--ink); font-weight: 700; font-size: 17px; white-space: nowrap; font-variant-numeric: lining-nums tabular-nums; }
.calc input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 24px; background: transparent; cursor: pointer; --p: 50%; }
.calc input[type=range]::-webkit-slider-runnable-track { height: 2px; background: linear-gradient(90deg, var(--neon-amber), var(--neon-pink) calc(var(--p) * .7), var(--neon-violet) var(--p), var(--line-strong) var(--p)); }
.calc input[type=range]::-moz-range-track { height: 2px; background: var(--line-strong); }
.calc input[type=range]::-moz-range-progress { height: 2px; background: linear-gradient(90deg, var(--neon-amber), var(--neon-pink)); }
.calc input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; margin-top: -9px; border-radius: 9999px; background: var(--ink); border: 0; box-shadow: 0 0 0 6px rgba(255,255,255,.08); transition: box-shadow .2s; }
.calc input[type=range]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 9999px; background: var(--ink); border: 0; }
.calc input[type=range]:hover::-webkit-slider-thumb, .calc input[type=range]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 8px rgba(255,106,183,.2); }
.calc input[type=range]:focus-visible { outline: none; }
.calc-result { background: var(--surface); padding: 40px; display: flex; flex-direction: column; gap: 24px; align-self: start; position: sticky; top: 112px; }
.calc-out { display: flex; flex-direction: column; gap: 4px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.calc-num { font-size: 40px; font-weight: 700; line-height: 1; letter-spacing: -0.01em; font-variant-numeric: lining-nums tabular-nums; }
.calc-out--main .calc-num { font-size: clamp(48px, 6vw, 80px); }
.calc-label { font-size: 15px; color: var(--ink-muted); }
.calc-note { font-size: 13px; line-height: 1.6; color: var(--ink-muted); }
@media (max-width: 760px) { .calc-result { position: static; padding: 24px; } }

/* Wat je krijgt + FAQ */
.includes { list-style: none; margin: 0; padding: 0; }
.includes li { position: relative; padding: 14px 0 14px 28px; border-bottom: 1px solid var(--line); font-size: 17px; }
.includes li::before { content: ""; position: absolute; left: 2px; top: 23px; width: 8px; height: 8px; border-radius: 9999px; background: var(--dot); }
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; font-size: 17px; font-weight: 600; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-weight: 400; font-size: 22px; line-height: 1; color: var(--ink-muted); transition: transform .3s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-more { font-size: 15px; color: var(--ink-muted); }
.faq-more a { color: var(--ink); text-decoration-color: var(--neon-pink); text-underline-offset: 3px; }
.faq-item p { padding: 0 0 20px; color: var(--ink-muted); line-height: 1.6; max-width: 62ch; }

/* Oplossingskaarten (overzicht en 'ook interessant') */
.sol-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.sol-grid--3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.sol-card {
  position: relative; display: flex; flex-direction: column; gap: 10px; padding: 28px; min-height: 280px;
  background: var(--surface); color: var(--ink); text-decoration: none; overflow: hidden; transition: background-color .25s;
}
.sol-card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--neon); box-shadow: var(--glow-pink); transform: scaleX(0); transform-origin: left; transition: transform .5s cubic-bezier(.7,0,.2,1); }
.sol-card:hover { background: var(--surface-raised); }
.sol-card:hover::after, .sol-card:focus-visible::after { transform: scaleX(1); }
.sol-icon { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); color: var(--ink); margin-bottom: 8px; }
.sol-cat { font-size: 12px; font-weight: 600; letter-spacing: .14em; color: var(--ink-muted); }
.sol-title { font-size: 22px; font-weight: 700; line-height: 1.25; }
.sol-short { font-size: 15px; line-height: 1.6; color: var(--ink-muted); flex: 1; }
.sol-more { font-size: 14px; font-weight: 600; padding-top: 8px; }
.sol-more span { display: inline-block; transition: transform .3s cubic-bezier(.2,.8,.2,1); }
.sol-card:hover .sol-more span { transform: translateX(5px); }
.sol-card.is-hidden { display: none; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter { height: 44px; padding: 0 18px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: transparent; color: var(--ink); font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.filter:hover { border-color: var(--ink); }
.filter.is-active { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* <button class="btn btn-secondary">: geen standaard grijze knopachtergrond */
button.btn-secondary { background: transparent; color: var(--ink); }
button.btn-secondary:hover { color: var(--bg); }
.demo-tag { margin-left: auto; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-muted); border: 1px solid var(--line-strong); border-radius: var(--radius-sm); padding: 3px 8px; }

/* SEO: zoekwoord als klein label in de H1 (ziet eruit als het eyebrow-label) */
.h1-kicker { display: block; font-size: 13px; font-weight: 600; letter-spacing: .16em; line-height: 1.4; color: var(--ink-muted); text-transform: uppercase; margin-bottom: 28px; }
.hero-title-main { display: block; }

/* Footer: links naar alle oplossingen */
.footer-solutions { border-top: 1px solid var(--line); padding-top: 32px; }
.footer-solutions .eyebrow { margin-bottom: 14px; }
.footer-solutions ul { list-style: none; margin: 0; padding: 0; columns: 4 220px; column-gap: 32px; }
.footer-solutions li { break-inside: avoid; }
.footer-solutions a { display: inline-block; padding: 5px 0; font-size: 14px; color: var(--ink-muted); text-decoration: none; transition: color .2s; }
.footer-solutions a:hover { color: var(--ink); }
