/* Assistent op de startpagina */
.assist { background: var(--surface); border: 1px solid #DCE4E2; border-radius: var(--radius); box-shadow: 0 18px 40px -24px rgba(27, 47, 58, 0.35); display: flex; flex-direction: column; min-height: 30rem; overflow: hidden; }
.assist-head { display: flex; gap: 0.75rem; align-items: center; padding: 1rem 1.25rem; background: var(--ink); color: #fff; }
.assist-avatar { flex: none; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: #fff; display: grid; place-items: center; }
.assist-avatar img { width: 1.6rem; height: 1.6rem; }
.assist-name { margin: 0; font-weight: 800; font-size: 1.05rem; }
.assist-sub { margin: 0; font-size: 0.88rem; opacity: 0.8; }
.assist-log { flex: 1; padding: 1.1rem 1.25rem 0.5rem; display: flex; flex-direction: column; gap: 0.6rem; overflow-y: auto; max-height: 26rem; }
.msg { max-width: 88%; padding: 0.65rem 0.9rem; border-radius: 16px; font-size: 1rem; line-height: 1.45; margin: 0; }
.msg-bot { background: #EEF3F2; color: var(--ink); border-bottom-left-radius: 4px; align-self: flex-start; }
.msg-user { background: var(--cobalt); color: #fff; border-bottom-right-radius: 4px; align-self: flex-end; }
.msg-typing { color: var(--ink-soft); letter-spacing: 0.2em; }
.msg strong { font-weight: 800; }
.assist-result { align-self: stretch; max-width: none; background: #E7F3EB; border: 1px solid #CBE6D3; }
.assist-big { display: block; font-size: clamp(1.6rem, 4vw, 2rem); font-weight: 800; color: #1D6B3A; letter-spacing: -0.02em; margin: 0.15rem 0; font-variant-numeric: tabular-nums; }
.assist-loss { display: block; font-size: 1.25rem; font-weight: 800; color: var(--loss, #B42318); font-variant-numeric: tabular-nums; }
.assist-input { padding: 0.75rem 1.25rem 1.1rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 0.5rem; }
.assist-input:empty { display: none; }
.chip { font: inherit; font-weight: 700; font-size: 0.98rem; padding: 0.55rem 1rem; border-radius: 999px; border: 2px solid var(--cobalt); background: #fff; color: var(--cobalt); cursor: pointer; min-height: 2.75rem; }
.chip:hover, .chip:focus-visible { background: var(--cobalt); color: #fff; }
.assist-select { flex: 1 1 12rem; min-height: 2.75rem; }
.assist-cta { width: 100%; text-align: center; }
.assist-small { width: 100%; margin: 0.25rem 0 0; font-size: 0.85rem; color: var(--ink-soft); }
.assist-restart { background: none; border: 0; padding: 0; font: inherit; color: var(--ink-soft); text-decoration: underline; cursor: pointer; }
@media (max-width: 900px) { .assist { min-height: 0; } .assist-log { max-height: none; } }

/* Vergelijking: kaarten naast elkaar */
.offers-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: stretch; width: min(72rem, calc(100vw - 2rem)); position: relative; left: 50%; transform: translateX(-50%); }
.offers-grid.offers-many { grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); }
.offers-grid .offer { padding: 1rem 1.1rem; display: flex; flex-direction: column; }
.offers-grid .offer[hidden] { display: none; }
.offers-grid .offer-head { flex-direction: column; gap: 0.5rem; }
.offers-grid .offer-price { text-align: left; }
.offers-grid .offer-total { font-size: 1.9rem; }
.offers-grid .offer-units { font-size: 0.9rem; }
.offers-grid .offer-break > div { flex-direction: column; gap: 0; }
.offers-grid .offer-break dd { white-space: normal; }
.offers-grid .offer-source { margin-top: auto; padding-top: 0.6rem; }
.offers-grid .offer.is-best { background: #F1F8F3; border: 2px solid #1D6B3A; }
.offers-grid .offer.is-best .offer-total { color: #1D6B3A; }
.offers-grid .offer.is-worst { border-color: #E9C6C1; }
.offers-grid .offer.is-worst .offer-total { color: var(--loss, #B42318); }
.badge-worst { background: #FDECEA; color: #B42318; }
.offer-save { margin: 0.6rem 0 0; padding: 0.45rem 0.6rem; border-radius: 8px; background: #E7F3EB; color: #1D6B3A; font-weight: 700; font-size: 0.92rem; }
.offer-save.is-more { background: #FDECEA; color: #B42318; }
@media (max-width: 1100px) { .offers-grid, .offers-grid.offers-many { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .offers-grid, .offers-grid.offers-many { width: auto; left: auto; transform: none; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 82%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 0.5rem; }
  .offers-grid .offer { scroll-snap-align: start; }
}

/* Startpagina: besparing in groen naast het verlies */
.stake-win { background: #F1F8F3; border-color: #CBE6D3; border-left-color: #1D6B3A; }
.stake-win .stake-num { color: #1D6B3A; }

/* Check: de twee manieren om je verbruik in te vullen naast elkaar */
@media (min-width: 900px) {
  .check-page .route { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: stretch; gap: 1rem; width: min(66rem, calc(100vw - 2rem)); position: relative; left: 50%; transform: translateX(-50%); }
  .check-page .route-or { flex-direction: column; justify-content: center; }
  .check-page .route-or::before, .check-page .route-or::after { width: 1px; height: auto; flex: 1; }
  .check-page .route-card { display: flex; flex-direction: column; }
  .check-page #manual .btn { margin-top: auto; align-self: flex-start; }
}

/* Leverancierskaarten: rustig, zoals een vergelijker */
.offers-grid .offer { gap: 0.15rem; }
.offer-label { align-self: flex-start; margin: 0 0 0.6rem; font-size: 0.8rem; font-weight: 700; padding: 0.15rem 0.6rem; border-radius: 999px; background: #EEF3F2; color: var(--ink-soft); }
.offer-label.is-best { background: #1D6B3A; color: #fff; }
.offer-label.is-worst { background: #FDECEA; color: #B42318; }
.offer-label.is-current { background: #EEF2FC; color: var(--cobalt); }
.offer-who h4 { margin: 0; font-size: 1.2rem; }
.offer-who .offer-product { font-size: 0.88rem; margin: 0.1rem 0 0; }
.offers-grid .offer-price { margin: 0.8rem 0 0; text-align: left; }
.offers-grid .offer-total { font-size: 2rem; line-height: 1.1; }
.offer-per-inline { font-size: 0.95rem; font-weight: 600; color: var(--ink-soft); letter-spacing: 0; }
.offer-facts { list-style: none; padding: 0; margin: 0.85rem 0 0; display: grid; gap: 0.35rem; font-size: 0.93rem; color: var(--ink); }
.offer-facts li { position: relative; padding-left: 1.35rem; }
.offer-facts li::before { content: ""; position: absolute; left: 0; top: 0.28rem; width: 0.85rem; height: 0.85rem; border-radius: 50%; background: #1E7A4B url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 0.65rem no-repeat; }
.offer-actions { margin-top: auto; padding-top: 1rem; }
.offer-actions .btn { width: 100%; justify-content: center; }
.offers-grid .offer-details { margin-top: 0.6rem; }
.offers-grid .offer-details summary { font-size: 0.9rem; }
.offers-grid .offer-details .offer-units { font-size: 0.88rem; }
.check-ticks { list-style: none; padding: 0; margin: 1.1rem 0 0; display: flex; flex-wrap: wrap; gap: 0.4rem 1.25rem; font-size: 0.92rem; color: var(--ink-soft); }
.check-ticks li { position: relative; padding-left: 1.3rem; }
.check-ticks li::before { content: ""; position: absolute; left: 0; top: 0.25rem; width: 0.85rem; height: 0.85rem; border-radius: 50%; background: #1E7A4B url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 0.65rem no-repeat; }
.compare-how .assumptions-body h4 { margin: 1rem 0 0.4rem; font-size: 1rem; }
/* Kennisbank-links op de startpagina */
.kb-links { padding-top: 0; }
.kb-list { list-style: none; padding: 0; margin: 1.25rem 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
@media (max-width: 700px) { .kb-list { grid-template-columns: 1fr; } }
.kb-list li { margin: 0; }
.kb-list a { display: block; height: 100%; background: var(--surface); border: 1px solid #DCE4E2; border-radius: var(--radius); padding: 1rem 1.2rem; text-decoration: none; color: var(--ink); }
.kb-list a:hover { border-color: var(--cobalt); }
.kb-list strong { display: block; color: var(--cobalt); }
.kb-list span { display: block; color: var(--ink-soft); font-size: 0.95rem; margin-top: 0.2rem; }

/* Snelle ingang op mobiel: de assistent staat daar onder de hero */
.hero-quick { display: none; margin: 0.9rem 0 0; font-size: 0.98rem; }
.hero-quick a { font-weight: 600; }
.hero-quick a::after { content: " \2193"; }
@media (max-width: 900px) { .hero-quick { display: block; } }
