/* airvoice.be - sitestijl bovenop de AirVoice-tokens en -componenten (TF-2026-0712).
   Kleuren komen uit airvoice-tokens.css; secties kiezen licht of donker via data-av-theme. */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--av-bg); color: var(--av-text); font: 400 1.0625rem/1.65 var(--av-font-body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: var(--av-primary); }
h1, h2, h3, h4, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
[data-av-theme] { color: var(--av-text); }
.wrap { width: min(1160px, 100% - 2.5rem); margin-inline: auto; }
.wrap.narrow { width: min(820px, 100% - 2.5rem); }
.skip { position: absolute; left: -999px; top: 0; background: #fff; color: #123530; padding: .6rem 1rem; z-index: 200; }
.skip:focus { left: .5rem; top: .5rem; }
:focus-visible { outline: 3px solid var(--av-focus); outline-offset: 3px; border-radius: 4px; }

.eyebrow { color: var(--av-primary); font: 600 .8125rem/1.4 var(--av-font-body); letter-spacing: .14em; text-transform: uppercase; margin-bottom: var(--av-space-4); }
.lead { color: var(--av-text-muted); font-size: 1.1875rem; line-height: 1.6; max-width: 62ch; }
.av-title { letter-spacing: -.005em; }
.av-button--lg { min-height: 52px; padding: .85rem 1.75rem; font-size: 1.0625rem; }
.av-button { border-radius: 999px; }

/* ---------- navigatie ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 100; transition: background-color .2s ease, box-shadow .2s ease; }
.nav.scrolled { background: rgba(7, 26, 27, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 1px 0 rgba(98, 134, 125, .35); }
.nav-in { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 1rem; }
.brand { display: inline-flex; align-items: center; }
.brand img { height: 34px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 1.75rem; }
.nav-links a { color: var(--av-text); text-decoration: none; font-weight: 500; font-size: .9875rem; opacity: .86; }
.nav-links a:hover { opacity: 1; color: var(--av-primary); }
.nav-cta { min-height: 40px; padding: .5rem 1.15rem; font-size: .9375rem; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--av-border); border-radius: 12px; background: transparent; cursor: pointer; padding: 0; }
.nav-toggle span { display: block; width: 20px; height: 2px; margin: 4px auto; background: var(--av-text); border-radius: 2px; }

/* ---------- hero ---------- */
.hero { position: relative; background: #071a1b; min-height: min(100vh, 860px); display: flex; align-items: center; padding: 8.5rem 0 5.5rem; overflow: hidden; }
/* De flow-tekening is 1,45x zo hoog als de hero en loopt door in de sectie eronder (#diensten::before, grijs). */
.hero::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 145%; background: url("../img/flow-dark.webp") right top / cover no-repeat; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7, 26, 27, .94) 0%, rgba(7, 26, 27, .78) 42%, rgba(7, 26, 27, .12) 100%); }
.hero-in { position: relative; z-index: 1; }
#diensten { position: relative; overflow: hidden; }
#diensten::before { content: ""; position: absolute; left: 0; right: 0; top: calc(-1 * var(--hero-h, min(100vh, 860px))); height: calc(1.45 * var(--hero-h, min(100vh, 860px))); background: url("../img/flow-light.webp") right top / cover no-repeat; filter: grayscale(1); mix-blend-mode: multiply; -webkit-mask-image: linear-gradient(to bottom, #000 82%, transparent 100%); mask-image: linear-gradient(to bottom, #000 82%, transparent 100%); pointer-events: none; }
#diensten > .wrap { position: relative; z-index: 1; }
.hero-title { font-family: var(--av-font-display); font-weight: 700; font-synthesis: none; font-size: clamp(3.1rem, 9vw, 6.5rem); line-height: 1.02; color: var(--av-text); }
.hero-sub { margin-top: 1.5rem; font-size: clamp(1.25rem, 2.4vw, 1.625rem); line-height: 1.4; color: var(--av-primary); font-weight: 600; max-width: 26ch; }
.hero-text { margin-top: 1.25rem; max-width: 54ch; color: var(--av-text-muted); font-size: 1.125rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2.25rem; }
.hero .av-button--secondary, .product .av-button--secondary { background: transparent; }
.hero-proof { display: flex; flex-wrap: wrap; gap: .6rem 1.75rem; margin-top: 2.75rem; color: var(--av-text-muted); font-size: .9375rem; }
.hero-proof li { display: inline-flex; align-items: center; gap: .55rem; }
.hero-proof li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--av-primary); }

/* ---------- secties ---------- */
.section { padding: clamp(4rem, 9vw, 7rem) 0; background: var(--av-bg); }
.section-alt { background: #e8f0ec; }
.head { margin-bottom: clamp(2rem, 5vw, 3.5rem); max-width: 760px; }
.head .lead { margin-top: 1.1rem; }
.grid { display: grid; gap: 1.25rem; }

.services { grid-template-columns: repeat(3, 1fr); }
.svc { border-color: #cfe0d9; border-radius: var(--av-radius-lg); padding: 1.9rem; display: flex; flex-direction: column; gap: .7rem; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.svc:hover { transform: translateY(-3px); border-color: var(--av-primary); box-shadow: 0 14px 34px rgba(8, 127, 121, .12); }
.svc h3 { font-family: var(--av-font-display); font-size: 1.4rem; line-height: 1.2; }
.svc .tag { color: var(--av-primary); font-weight: 600; font-size: .9875rem; }
.svc p { color: var(--av-text-muted); font-size: 1rem; }
.ico { width: 52px; height: 52px; border-radius: 14px; background: rgba(8, 127, 121, .1); display: grid; place-items: center; margin-bottom: .4rem; }
.ico svg { width: 26px; height: 26px; fill: none; stroke: var(--av-primary); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.svc-cta { background: #071a1b url("../img/flow-dark.webp") center / cover; justify-content: flex-end; border: 0; position: relative; overflow: hidden; }
.svc-cta::before { content: ""; position: absolute; inset: 0; background: rgba(7, 26, 27, .72); }
.svc-cta > * { position: relative; }
.svc-cta h3 { color: var(--av-text); }
.svc-cta .av-button { align-self: flex-start; margin-top: .6rem; }
.svc-cta:hover { box-shadow: none; }
@media (min-width: 981px) { .svc-cta { grid-column: span 2; } }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; counter-reset: s; }
.step { background: var(--av-surface); border-radius: var(--av-radius-lg); padding: 1.75rem; border: 1px solid #cfe0d9; }
.step .num { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--av-primary); color: var(--av-on-primary); font: 700 1.15rem/1 var(--av-font-display); margin-bottom: 1.1rem; }
.step h3 { font-family: var(--av-font-display); font-size: 1.2rem; margin-bottom: .5rem; }
.step p { color: var(--av-text-muted); font-size: 1rem; }

.why { grid-template-columns: repeat(2, 1fr); gap: 2.25rem 3rem; }
.why-item { padding-left: 1.4rem; border-left: 3px solid var(--av-primary); }
.why-item h3 { font-family: var(--av-font-display); font-size: 1.3rem; margin-bottom: .5rem; }
.why-item p { color: var(--av-text-muted); }

/* ---------- Vibe-it ---------- */
.product { background: #071a1b; position: relative; overflow: hidden; }
.product::before { content: ""; position: absolute; inset: 0; background: url("../img/flow-dark.webp") left bottom / cover no-repeat; opacity: .5; transform: scaleX(-1); }
.product-in { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.product .av-title { font-size: clamp(2.6rem, 6vw, 4.25rem); }
.product-text > p { margin-top: 1.1rem; color: var(--av-text-muted); max-width: 58ch; }
.product-text > p.lead { color: var(--av-text); }
.product-text > p.eyebrow { margin-top: 0; color: var(--av-primary); }
.checks { margin-top: 1.5rem; display: grid; gap: .6rem; }
.checks li { position: relative; padding-left: 1.9rem; }
.checks li::before { content: ""; position: absolute; left: 0; top: .45em; width: 1.05rem; height: .55rem; border-left: 2.5px solid var(--av-primary); border-bottom: 2.5px solid var(--av-primary); transform: rotate(-45deg); }
.mock { background: var(--av-surface); border: 1px solid var(--av-border); border-radius: var(--av-radius-lg); overflow: hidden; box-shadow: 0 30px 70px rgba(0, 0, 0, .45); }
.mock-bar { display: flex; align-items: center; gap: .4rem; padding: .8rem 1rem; border-bottom: 1px solid rgba(98, 134, 125, .4); }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--av-border); }
.mock-bar span { margin-left: .8rem; font-size: .8125rem; color: var(--av-text-muted); background: var(--av-surface-raised); padding: .2rem .9rem; border-radius: 999px; }
.mock-body { padding: 1.4rem; display: grid; gap: 1rem; }
.mock-hero { border-radius: var(--av-radius-md); padding: 1.6rem; background: linear-gradient(135deg, #0b6f6a, #3cddbd); display: grid; gap: .6rem; }
.mock-hero b { height: 18px; width: 62%; border-radius: 6px; background: rgba(255, 255, 255, .95); }
.mock-hero em { height: 9px; width: 80%; border-radius: 5px; background: rgba(255, 255, 255, .55); }
.mock-hero em.short { width: 55%; }
.mock-hero u { height: 30px; width: 110px; border-radius: 999px; background: #071a1b; margin-top: .5rem; }
.mock-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; }
.mock-row span { height: 74px; border-radius: 12px; background: var(--av-surface-raised); border: 1px solid rgba(98, 134, 125, .35); }
.mock--shot img { display: block; width: 100%; height: auto; }
.proj-cta { background: none; border: 0; padding: 0; text-align: left; cursor: pointer; font-family: inherit; }
.proj-cta::after { content: " \2192"; }
.proj-cta:hover { text-decoration: underline; }
.product-in + .product-in { margin-top: clamp(3.5rem, 8vw, 6rem); padding-top: clamp(3.5rem, 8vw, 6rem); border-top: 1px solid rgba(98, 134, 125, .3); }
.product-in--rev { grid-template-columns: .9fr 1.1fr; }
.product-in--rev .product-text { order: 2; }
.tag-beta { display: inline-block; margin-left: .6rem; padding: .15rem .65rem; border: 1px solid var(--av-primary); border-radius: 999px; font-size: .6875rem; letter-spacing: .1em; }
.mock-screen { aspect-ratio: 16 / 9; border-radius: var(--av-radius-md); background: linear-gradient(135deg, #0b6f6a, #3cddbd); display: grid; place-items: center; }
.mock-screen b { width: 0; height: 0; border-style: solid; border-width: 15px 0 15px 25px; border-color: transparent transparent transparent rgba(255, 255, 255, .95); }
.mock-tl { display: grid; gap: .5rem; }
.tl-row { display: flex; gap: .4rem; }
.tl-row span { height: 22px; border-radius: 6px; background: #3cddbd; opacity: .85; }
.tl-row--b span { background: #0b6f6a; opacity: 1; }
.tl-row--c span { height: 12px; background: var(--av-surface-raised); border: 1px solid rgba(98, 134, 125, .35); opacity: 1; }

/* ---------- side projects ---------- */
.projects { grid-template-columns: repeat(3, 1fr); }
.proj { border-color: #cfe0d9; border-radius: var(--av-radius-lg); padding: 1.75rem; display: flex; flex-direction: column; gap: .6rem; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.proj:hover { transform: translateY(-3px); border-color: var(--av-primary); box-shadow: 0 14px 34px rgba(8, 127, 121, .12); }
.proj-kind { font: 600 .75rem/1.4 var(--av-font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--av-primary); }
.proj h3 { font-family: var(--av-font-display); font-size: 1.3rem; color: var(--av-text); }
.proj p { color: var(--av-text-muted); font-size: 1rem; flex: 1; }
.proj-link { color: var(--av-primary); font-weight: 600; font-size: .9375rem; }
.proj-link::after { content: " \2197"; }

/* ---------- faq ---------- */
.faq details { background: var(--av-surface); border: 1px solid #cfe0d9; border-radius: var(--av-radius-md); margin-bottom: .75rem; }
.faq summary { cursor: pointer; list-style: none; padding: 1.15rem 3rem 1.15rem 1.4rem; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 1.3rem; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 400; color: var(--av-primary); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding: 0 1.4rem 1.3rem; color: var(--av-text-muted); }

/* ---------- slot + footer ---------- */
/* De flow-tekening van het slotblok is 2,8x zo hoog als het blok zelf (1,15x erboven, 0,65x eronder) en loopt
   zo door in de FAQ erboven (lichtgrijs, vlak boven het blok overlopend in mint) en in de voettekst eronder
   (donkerder vlak met een zichtbare kleurstap op de naad; de tekening loopt er onverzwakt in door en dooft pas onderaan uit). --cta-h komt uit site.js. */
.cta { background: #071a1b; position: relative; text-align: center; overflow: hidden; }
.cta::before { content: ""; position: absolute; top: calc(-1.15 * var(--cta-h, 30rem)); left: 0; right: 0; height: calc(2.8 * var(--cta-h, 30rem)); pointer-events: none; background: url("../img/flow-dark.webp") right center / cover no-repeat; opacity: .5; }
#faq { position: relative; overflow: hidden; }
#faq::after { content: ""; position: absolute; bottom: calc(-1.65 * var(--cta-h, 30rem)); left: 0; right: 0; height: calc(2.8 * var(--cta-h, 30rem)); pointer-events: none; background: url("../img/flow-light.webp") right center / cover no-repeat; filter: grayscale(1); mix-blend-mode: multiply; opacity: .5; -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 14%, #000 26%, transparent 41%); mask-image: linear-gradient(to bottom, transparent 0%, #000 14%, #000 26%, transparent 41%); }
#faq::before { content: ""; position: absolute; bottom: calc(-1.65 * var(--cta-h, 30rem)); left: 0; right: 0; height: calc(2.8 * var(--cta-h, 30rem)); pointer-events: none; background: url("../img/flow-light.webp") right center / cover no-repeat; mix-blend-mode: multiply; -webkit-mask-image: linear-gradient(to bottom, transparent 22%, #000 41%); mask-image: linear-gradient(to bottom, transparent 22%, #000 41%); }
#faq > .wrap { position: relative; z-index: 1; }
.footer::before { content: ""; position: absolute; top: calc(-2.15 * var(--cta-h, 30rem)); left: 0; right: 0; height: calc(2.8 * var(--cta-h, 30rem)); pointer-events: none; background: url("../img/flow-dark.webp") right center / cover no-repeat; opacity: .5; -webkit-mask-image: linear-gradient(to bottom, #000 93%, transparent 100%); mask-image: linear-gradient(to bottom, #000 93%, transparent 100%); }
.footer > * { position: relative; z-index: 1; }
.cta-in { position: relative; display: grid; justify-items: center; gap: 1.25rem; }
.cta .lead { max-width: 46ch; }
.footer { position: relative; overflow: hidden; background: #020a0b; padding: 4rem 0 1.75rem; font-size: .9688rem; color: var(--av-text-muted); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2.5rem; }
.footer-grid img { height: 32px; width: auto; }
.footer-tag { font-family: var(--av-font-display); color: var(--av-primary); font-size: 1.15rem; margin: 1rem 0 .35rem; }
.footer .legal { margin-top: 1rem; font-size: .875rem; }
.footer h4 { color: var(--av-text); font-size: .8125rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1rem; }
.footer li { margin-bottom: .55rem; }
.footer a { color: var(--av-text-muted); text-decoration: none; }
.footer a:hover { color: var(--av-primary); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(98, 134, 125, .3); font-size: .875rem; }

/* ---------- infaden ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- contactformulier ---------- */
#contact-modal { position: fixed; inset: 0; z-index: 300; display: none; align-items: center; justify-content: center; padding: 1rem; background: rgba(7, 26, 27, .72); backdrop-filter: blur(4px); overflow-y: auto; }
#contact-modal.active { display: flex; }
.contact-modal-container { background: var(--av-surface); color: var(--av-text); width: min(560px, 100%); border-radius: var(--av-radius-lg); overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, .4); margin: auto; }
.contact-modal-header { position: relative; background: #071a1b; color: #eef8f4; padding: 1.75rem 3.5rem 1.5rem 1.75rem; }
.contact-modal-header h2 { font-family: var(--av-font-display); font-size: 1.5rem; line-height: 1.2; }
.contact-modal-header p { color: #a5c2bb; margin-top: .35rem; font-size: .9688rem; }
.contact-modal-close { position: absolute; top: 1rem; right: 1rem; width: 40px; height: 40px; border-radius: 50%; border: 1px solid #62867d; background: transparent; color: #eef8f4; font-size: 1.5rem; line-height: 1; cursor: pointer; }
.contact-modal-close:hover { border-color: #3cddbd; color: #3cddbd; }
.contact-modal-body { padding: 1.75rem; }
.contact-form-group { margin-bottom: 1.1rem; }
.contact-form-group label { display: block; font-weight: 600; font-size: .9375rem; margin-bottom: .4rem; }
.required { color: #b3261e; }
.contact-form-textarea { min-height: 130px; resize: vertical; }
.contact-privacy-group { margin-bottom: 1.25rem; }
.contact-checkbox-wrapper { display: flex; gap: .7rem; align-items: flex-start; cursor: pointer; }
.contact-checkbox-wrapper input { width: 20px; height: 20px; margin-top: .2rem; accent-color: #087f79; flex: none; }
.contact-privacy-text { font-size: .875rem; color: var(--av-text-muted); line-height: 1.5; }
.contact-error-message { display: none; color: #b3261e; font-size: .8438rem; margin-top: .35rem; }
.error .contact-error-message { display: block; }
.contact-form-group.error .av-input { border-color: #b3261e; }
.contact-submit-button { width: 100%; position: relative; }
.contact-submit-button:disabled { opacity: .7; cursor: wait; }
.contact-spinner { display: none; width: 20px; height: 20px; border: 3px solid rgba(255, 255, 255, .4); border-top-color: #fff; border-radius: 50%; animation: av-spin .8s linear infinite; }
.contact-submit-button.loading .button-text { display: none; }
.contact-submit-button.loading .contact-spinner { display: block; }
@keyframes av-spin { to { transform: rotate(360deg); } }
.contact-success-message { display: none; text-align: center; padding: 1rem 0; }
.contact-success-message.active { display: block; }
.contact-success-message h3 { font-family: var(--av-font-display); font-size: 1.4rem; margin: 1rem 0 .5rem; }
.contact-success-message p { color: var(--av-text-muted); margin-bottom: 1.5rem; }
.success-icon { width: 68px; height: 68px; margin: 0 auto; border-radius: 50%; background: #087f79; color: #fff; display: grid; place-items: center; }
.success-icon svg { width: 34px; height: 34px; }

/* ---------- Airy ---------- */
#chatbot-widget { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 250; font-family: var(--av-font-body); }
#chatbot-button { width: 60px; height: 60px; border-radius: 50%; background: linear-gradient(145deg, #f6f8f8 0%, #e3e8e7 55%, #d3dad9 100%); border: 2px solid #fff; display: grid; place-items: center; cursor: pointer; box-shadow: 0 10px 28px rgba(7, 26, 27, .35); transition: transform .2s ease; position: relative; }
#chatbot-button:hover { transform: scale(1.06); }
.chatbot-avatar img { width: 46px; height: 46px; display: block; }
.chatbot-notification { position: absolute; right: 72px; top: 50%; transform: translateY(-50%); background: #fff; color: #123530; border: 1px solid #cfe0d9; padding: .5rem .9rem; border-radius: 999px; white-space: nowrap; font-size: .875rem; font-weight: 600; opacity: 0; pointer-events: none; transition: opacity .3s ease; box-shadow: 0 6px 18px rgba(7, 26, 27, .12); }
.chatbot-notification.show { opacity: 1; }
.chatbot-window { position: absolute; right: 0; bottom: 76px; width: min(380px, calc(100vw - 2rem)); height: min(540px, calc(100vh - 7rem)); background: #fff; color: #123530; border-radius: var(--av-radius-lg); box-shadow: 0 24px 70px rgba(7, 26, 27, .35); display: flex; flex-direction: column; overflow: hidden; border: 1px solid #cfe0d9; }
.chatbot-window.hidden { display: none; }
.chatbot-header { background: #071a1b; color: #eef8f4; padding: .9rem 1rem; display: flex; align-items: center; justify-content: space-between; }
.chatbot-header-info { display: flex; align-items: center; gap: .75rem; }
.chatbot-avatar-small { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(145deg, #f6f8f8 0%, #e3e8e7 55%, #d3dad9 100%); display: grid; place-items: center; }
.chatbot-avatar-small img { width: 32px; height: 32px; display: block; }
.chatbot-header h3 { font-family: var(--av-font-display); font-size: 1.05rem; line-height: 1.2; }
.chatbot-status { font-size: .8125rem; color: #a5c2bb; }
.chatbot-close { background: transparent; border: 0; color: #eef8f4; font-size: 1.6rem; line-height: 1; cursor: pointer; width: 40px; height: 40px; border-radius: 50%; }
.chatbot-close:hover { color: #3cddbd; }
.chatbot-messages { flex: 1; overflow-y: auto; padding: 1rem; background: #f3f8f5; display: flex; flex-direction: column; gap: .8rem; }
.chatbot-message { display: flex; gap: .55rem; align-items: flex-end; max-width: 100%; }
.user-message { justify-content: flex-end; }
.message-avatar { width: 32px; height: 32px; flex: none; border-radius: 50%; background: linear-gradient(145deg, #f6f8f8 0%, #e3e8e7 55%, #d3dad9 100%); display: grid; place-items: center; overflow: hidden; }
.message-avatar img { width: 25px; height: 25px; display: block; }
.message-avatar svg { width: 26px; height: 26px; }
.message-content { max-width: 80%; padding: .65rem .9rem; border-radius: 16px; font-size: .9375rem; line-height: 1.5; }
.bot-message .message-content { background: #fff; border: 1px solid #cfe0d9; border-bottom-left-radius: 4px; }
.user-message .message-content { background: #087f79; color: #fff; border-bottom-right-radius: 4px; }
.contact-buttons { display: flex; gap: .5rem; margin-top: .6rem; }
.contact-yes-btn, .contact-no-btn { border-radius: 999px; padding: .4rem .95rem; font: 600 .875rem/1.3 var(--av-font-body); cursor: pointer; border: 1px solid #718e85; background: #fff; color: #123530; }
.contact-yes-btn { background: #087f79; border-color: #087f79; color: #fff; }
.contact-yes-btn:hover { background: #06645f; }
.contact-no-btn:hover { border-color: #087f79; }
.typing-dots { display: flex; gap: 4px; padding: .2rem 0; }
.typing-dots span { width: 7px; height: 7px; border-radius: 50%; background: #087f79; animation: av-dot 1.2s infinite ease-in-out; }
.typing-dots span:nth-child(2) { animation-delay: .15s; }
.typing-dots span:nth-child(3) { animation-delay: .3s; }
@keyframes av-dot { 0%, 80%, 100% { opacity: .25; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.chatbot-input-area { display: flex; gap: .5rem; padding: .75rem; border-top: 1px solid #cfe0d9; background: #fff; }
#chatbot-input { flex: 1; min-width: 0; min-height: 44px; border: 1px solid #718e85; border-radius: 999px; padding: .5rem 1rem; font: 400 .9375rem/1.4 var(--av-font-body); color: #123530; background: #fff; }
#chatbot-send { width: 44px; height: 44px; flex: none; border-radius: 50%; border: 0; background: #087f79; color: #fff; cursor: pointer; display: grid; place-items: center; }
#chatbot-send:hover { background: #06645f; }
#chatbot-send svg { width: 20px; height: 20px; }

/* ---------- responsief ---------- */
@media (max-width: 980px) {
    .services, .projects { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .product-in, .product-in--rev { grid-template-columns: 1fr; }
    .product-in--rev .product-text { order: 0; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .nav-toggle { display: block; }
    .nav-links { position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: #071a1b; padding: .5rem 1.25rem 1.25rem; border-bottom: 1px solid rgba(98, 134, 125, .4); display: none; }
    .nav-links.open { display: flex; }
    .nav-links a { padding: .85rem 0; border-bottom: 1px solid rgba(98, 134, 125, .25); }
    .nav-cta { margin-top: 1rem; min-height: 46px; }
    .nav:has(.nav-links.open) { background: #071a1b; }
}
@media (max-width: 640px) {
    body { font-size: 1rem; }
    .services, .projects, .steps, .why, .footer-grid { grid-template-columns: 1fr; }
    .hero { padding-top: 7rem; }
    .hero::before, #diensten::before { background-position: 70% top; }
    .hero::after { background: linear-gradient(180deg, rgba(7, 26, 27, .9) 0%, rgba(7, 26, 27, .7) 100%); }
    .hero-actions .av-button { width: 100%; }
    .chatbot-notification { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .js .reveal { opacity: 1; transform: none; transition: none; }
    .svc, .proj, #chatbot-button { transition: none; }
}

/* ---------- onderzoek en ontwikkeling (ronde 7) ---------- */
.rd { margin-top: clamp(3rem, 7vw, 5rem); padding-top: clamp(2.5rem, 6vw, 4rem); border-top: 1px solid #cfe0d9; position: relative; }
.rd::before { content: ""; position: absolute; top: -1px; left: 0; width: 96px; height: 3px; border-radius: 3px; background: var(--av-primary); }
.rd-title { font-size: clamp(1.6rem, 3.2vw, 2.25rem); line-height: 1.15; }
.rd-grid { grid-template-columns: repeat(3, 1fr); gap: 2rem 2.25rem; }
.rd-item { display: flex; flex-direction: column; gap: .55rem; }
.rd-ico { color: var(--av-primary); padding: 9px; box-sizing: content-box; border-radius: 14px; background: rgba(8, 127, 121, .08); margin-bottom: .35rem; }
.rd-item h4 { font-family: var(--av-font-display); font-size: 1.15rem; color: var(--av-text); }
.rd-item p { color: var(--av-text-muted); font-size: 1rem; }
.rd-item .rd-next { margin-top: auto; padding-top: .5rem; font-size: .9375rem; color: var(--av-text); }
.rd-next span { display: inline-block; margin-right: .5rem; font: 600 .6875rem/1.4 var(--av-font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--av-primary); }
.rd-foot { margin-top: clamp(2rem, 4vw, 3rem); color: var(--av-text-muted); }
@media (max-width: 1000px) { .rd-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .rd-grid { grid-template-columns: 1fr; } }
