/* inputisoutput.nl */

:root {
  --navy: #0C1E3C;
  --navy-2: #132B52;
  --navy-line: #22406E;
  --navy-rule: #26406B;
  --navy-border: #3A5584;
  --muted-dark: #7F95B8;
  --text-dark-2: #C9D6EA;
  --text-dark-3: #A9BAD3;
  --paper: #F3F6FA;
  --white: #FFFFFF;
  --ink: #0C1E3C;
  --body: #34445E;
  --muted: #56657D;
  --rule: #D3DCE8;
  --field: #B4BFCE;
  --green: #3DDC97;
  --green-deep: #0B7A53;
  --max: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Archivo', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, textarea { font: inherit; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }

.wrap { max-width: var(--max); margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.dark { background: var(--navy); color: var(--paper); }
.white { background: var(--white); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Header ---------- */
.site-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding-top: 22px; padding-bottom: 22px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.wordmark { font-weight: 700; letter-spacing: -0.025em; line-height: 1; font-size: 22px; }
.wordmark .is { color: var(--green); }
.main-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 30px; font-size: 15px; font-weight: 500; }
.main-nav a { text-decoration: none; color: var(--text-dark-2); }
.main-nav a:hover { color: var(--paper); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 24px; border-radius: 999px; font-weight: 600;
  text-decoration: none; border: 0; cursor: pointer;
}
.btn-small { min-height: 44px; padding: 0 20px; }
.btn-green { background: var(--green); color: var(--navy) !important; }
.btn-green:hover { filter: brightness(1.06); }
.btn-ghost { border: 1.5px solid var(--navy-border); color: var(--paper); }
.btn-ghost:hover { border-color: var(--paper); }
.btn-navy { background: var(--navy); color: var(--paper); }

/* ---------- Hero ---------- */
.hero { padding-top: 72px; }
.hero-top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 40px 64px; }
.hero h1 {
  margin: 0; flex: 1 1 640px; min-width: 0;
  font-weight: 800; letter-spacing: -0.035em; line-height: 1;
  font-size: clamp(40px, 5.8vw, 84px);
}
.hero h1 span { display: block; }
.hero h1 .soft { color: var(--muted-dark); }
.hero-side { flex: 0 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 26px; padding-bottom: 8px; }
.hero-side p { margin: 0; font-size: 19px; line-height: 1.55; color: var(--text-dark-2); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Otto speech */
.otto-say { display: flex; align-items: flex-end; gap: 12px; flex-wrap: wrap; }
.bubble {
  border-radius: 18px 18px 18px 6px; padding: 12px 18px; font-size: 15px;
  background: var(--white); border: 1px solid var(--rule); color: var(--ink);
}
.bubble a { font-weight: 600; color: var(--green-deep); }
.dark .bubble { background: var(--navy-2); border-color: var(--navy-line); color: var(--paper); }
.dark .bubble a { color: var(--green); }
.bubble-lg { font-size: 16px; padding: 10px 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 0 18px; }
.bubble-lg a { min-height: 44px; display: inline-flex; align-items: center; }
.hero .otto-say { margin-top: 56px; align-items: center; }
.otto-enter { display: inline-flex; animation: otto-enter 1.3s cubic-bezier(.2,.8,.2,1) both; }

/* ---------- Demo ---------- */
.demo {
  margin-top: 32px; background: var(--navy-2); border: 1px solid var(--navy-line);
  border-radius: 28px 28px 0 0; padding: 28px 28px 40px;
}
.demo-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.demo-intro { display: flex; align-items: center; gap: 12px; min-width: 0; }
.demo-intro p { margin: 0; font-size: 16px; color: var(--text-dark-2); }
.demo-intro strong { color: var(--paper); font-weight: 600; }
.demo-intro a { color: var(--green); font-weight: 600; white-space: nowrap; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.tab {
  cursor: pointer; min-height: 44px; padding: 0 18px; border-radius: 999px;
  border: 1.5px solid var(--navy-border); background: transparent; color: var(--text-dark-2);
  font-size: 15px; font-weight: 600;
}
.tab[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: var(--navy); }

.demo-grid { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.demo-in {
  flex: 1 1 320px; min-width: 0; align-self: stretch; background: #E9EFF6; color: var(--ink);
  border-radius: 20px; padding: 20px; display: flex; flex-direction: column; gap: 14px;
}
.demo-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 14px; }
.demo-head b { font-weight: 600; }
.demo-head span { color: var(--muted); }
.form-card {
  background: var(--white); border-radius: 14px; padding: 18px; display: flex; flex-direction: column; gap: 14px;
  font-size: 15px; box-shadow: 0 1px 0 rgba(12,30,60,0.08);
}
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.field { display: flex; flex-direction: column; gap: 3px; }
.field small { font-size: 13px; color: var(--muted); }
.field span { border-bottom: 1px solid var(--rule); padding-bottom: 5px; }
.field .area { border: 0; background: var(--paper); border-radius: 10px; padding: 12px 14px; line-height: 1.55; }
.demo-note { font-size: 13px; color: var(--muted); }

.demo-action { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; gap: 10px; margin: 0 auto; }
.go {
  cursor: pointer; width: 92px; height: 92px; border-radius: 999px; border: 0;
  background: var(--green); color: var(--navy); display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 10px rgba(61,220,151,0.12); transition: transform .15s ease;
}
.go:hover { transform: scale(1.04); }
.go:active { transform: scale(.97); }
.demo-action span { font-size: 15px; font-weight: 600; color: var(--paper); text-align: center; }

.demo-out {
  flex: 1.35 1 420px; min-width: 0; min-height: 430px; background: var(--white); color: var(--ink);
  border-radius: 16px; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(0,0,0,0.6);
  display: flex; flex-direction: column;
}
.out-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 22px; border-bottom: 1px solid #E3E9F1; }
.out-head b { font-size: 14px; font-weight: 600; }
.logo-slot { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border: 1.5px dashed #9AA8BD; border-radius: 6px; font-size: 13px; color: var(--muted); }
.out-title { padding: 20px 22px 8px; }
.out-title h3 { margin: 0; font-weight: 700; font-size: 22px; letter-spacing: -0.015em; line-height: 1.2; }
.out-title p { margin: 2px 0 0; font-size: 14px; color: var(--muted); }
.out-lines { padding: 4px 22px 8px; font-size: 15px; flex: 1; }
.out-line { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid #EDF1F6; animation: iio-rise .45s ease both; }
.out-line span:last-child { font-variant-numeric: tabular-nums; color: var(--muted); white-space: nowrap; }
.out-total { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 15px 22px; background: var(--navy); color: var(--paper); }
.out-total b { font-weight: 600; }
.out-total span { font-size: 14px; color: var(--green); }
.out-busy { padding: 24px 22px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.out-busy span { font-size: 15px; color: var(--muted); }
.skel { height: 14px; border-radius: 6px; background: #DCE4EE; animation: iio-pulse 1s ease infinite; }
.out-idle { padding: 24px 22px; flex: 1; display: flex; align-items: center; justify-content: center; text-align: center; color: var(--muted); }
.demo-foot { margin: 28px 0 0; font-size: 15px; color: var(--text-dark-2); max-width: 720px; }

/* ---------- Sections ---------- */
.section { padding-top: 120px; padding-bottom: 120px; }
.h2 { margin: 0; font-weight: 800; font-size: clamp(34px, 4vw, 54px); line-height: 1.04; letter-spacing: -0.03em; }
.lead { margin: 24px 0 0; font-size: 18px; color: var(--body); max-width: 420px; }
.dark .lead { color: var(--text-dark-2); }

.split { display: flex; flex-wrap: wrap; gap: 48px 80px; }
.split-l { flex: 1 1 340px; min-width: 0; }
.split-r { flex: 1.6 1 520px; min-width: 0; display: flex; flex-direction: column; }
.split-l .otto-say { margin-top: 32px; }

.feature { padding: 40px 0; border-bottom: 1px solid var(--rule); display: flex; flex-wrap: wrap; gap: 20px 40px; }
.feature:first-child { padding-top: 0; }
.feature:last-child { border-bottom: 0; padding-bottom: 0; }
.feature-icon { flex: 0 0 56px; }
.feature-body { flex: 1 1 360px; min-width: 0; }
.feature h3 { margin: 0; font-weight: 700; font-size: 30px; letter-spacing: -0.02em; line-height: 1.15; }
.feature p { margin: 12px 0 0; color: var(--body); }
.checks { margin: 20px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 10px 28px; font-size: 16px; }
.checks li { display: flex; gap: 10px; }
.checks svg { flex: none; margin-top: 3px; }

.steps { margin: 64px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 40px 32px; }
.steps li { display: flex; flex-direction: column; gap: 14px; }
.step-top { display: flex; align-items: center; gap: 14px; }
.step-num { flex: none; width: 48px; height: 48px; border-radius: 999px; background: var(--navy); color: var(--paper); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 18px; }
.step-num.green { background: var(--green); color: var(--navy); }
.step-line { flex: 1; height: 2px; background: var(--rule); }
.steps h3 { margin: 0; font-weight: 700; font-size: 22px; letter-spacing: -0.01em; }
.steps p { margin: 0; color: var(--body); font-size: 16px; }
.after-steps { margin-top: 56px; }
.after-steps .bubble { background: var(--paper); }

/* Case */
.case-top { display: flex; flex-wrap: wrap; gap: 56px 72px; align-items: center; }
.case-text { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.eyebrow { margin: 0; font-size: 16px; font-weight: 600; color: var(--green); }
.case-text p.lead { max-width: 500px; margin: 0; }
.ext { align-self: flex-start; font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; gap: 8px; }
.browser { flex: 1.3 1 480px; min-width: 0; margin: 0; }
.browser-frame { background: var(--navy-2); border: 1px solid var(--navy-line); border-radius: 14px; overflow: hidden; box-shadow: 0 40px 80px -40px rgba(0,0,0,0.7); }
.browser-bar { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--navy-line); }
.dots { display: flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 99px; background: var(--navy-border); }
.url { flex: 1; min-width: 0; background: var(--navy); border-radius: 8px; padding: 5px 12px; font-size: 13px; color: var(--text-dark-3); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.browser img { width: 100%; height: auto; }
.browser figcaption { margin-top: 12px; font-size: 14px; color: var(--text-dark-3); }
.facts { margin-top: 80px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); border-top: 1px solid var(--navy-rule); }
.facts div { padding: 28px 28px 0 0; display: flex; flex-direction: column; gap: 8px; }
.facts b { font-size: 19px; font-weight: 600; }
.facts span { font-size: 15px; color: var(--text-dark-3); }
.quote { margin: 80px 0 0; max-width: 860px; }
.quote blockquote { margin: 0; font-weight: 600; font-size: clamp(24px, 2.8vw, 36px); line-height: 1.25; letter-spacing: -0.015em; }
.quote figcaption { margin-top: 16px; font-size: 16px; color: var(--text-dark-3); }
.case-next { margin-top: 56px; }

/* Over */
.about { display: flex; flex-wrap: wrap; gap: 48px 72px; align-items: center; }
.about-otto { flex: 0 1 380px; min-width: 0; aspect-ratio: 1 / 1; border-radius: 32px; background: var(--navy); display: flex; align-items: center; justify-content: center; }
.about-text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.about-text p { margin: 0; font-size: 18px; color: var(--body); max-width: 560px; }
.about-text a { align-self: flex-start; color: var(--green-deep); font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; }

/* Contact */
.contact { display: flex; flex-wrap: wrap; gap: 56px 80px; }
.contact-text { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.contact h2 { margin: 0; font-weight: 800; letter-spacing: -0.035em; line-height: 1; font-size: clamp(38px, 4.8vw, 68px); }
.contact h2 span { display: block; }
.contact h2 .soft { color: var(--muted-dark); }
.contact-text p { margin: 0; font-size: 18px; color: var(--text-dark-2); max-width: 440px; }
.contact-lines { display: flex; flex-direction: column; gap: 6px; font-size: 17px; margin-top: 8px; }
.contact-lines a { text-decoration: none; }
.contact-form { flex: 1.1 1 460px; min-width: 0; background: var(--white); color: var(--ink); border-radius: 24px; padding: 32px; display: flex; flex-direction: column; gap: 18px; }
.contact-form .row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; }
.contact-form .f { display: flex; flex-direction: column; gap: 6px; }
.contact-form label, .contact-form legend { font-size: 15px; font-weight: 600; }
.contact-form input[type="text"], .contact-form input[type="tel"], .contact-form input[type="email"], .contact-form textarea {
  height: 50px; border: 1.5px solid var(--field); border-radius: 12px; padding: 0 14px; background: #F9FAFC; color: var(--ink);
}
.contact-form textarea { height: auto; padding: 12px 14px; resize: vertical; }
.contact-form fieldset { border: 0; margin: 0; padding: 0; }
.contact-form legend { padding: 0; margin-bottom: 10px; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { display: inline-flex; align-items: center; gap: 8px; border: 1.5px solid var(--field); border-radius: 999px; padding: 0 16px; min-height: 44px; font-size: 15px; cursor: pointer; }
.form-status { margin: 0; font-size: 15px; color: var(--green-deep); font-weight: 600; }

/* Footer */
.site-footer { border-top: 1px solid var(--navy-rule); }
.foot-top { padding-top: 56px; padding-bottom: 40px; display: flex; flex-wrap: wrap; gap: 40px 64px; }
.foot-brand { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.foot-brand .brand { color: var(--paper); gap: 10px; align-self: flex-start; }
.foot-brand .wordmark { font-size: 18px; }
.foot-brand p { margin: 0; color: var(--text-dark-3); font-size: 15px; max-width: 340px; }
.foot-col { flex: 0 1 200px; display: flex; flex-direction: column; }
.site-footer h2 { margin: 0 0 8px; font-size: 15px; font-weight: 700; color: var(--paper); }
.site-footer h2 a { color: var(--paper); text-decoration: none; }
.foot-col a { color: var(--text-dark-2); text-decoration: none; font-size: 15px; min-height: 36px; display: inline-flex; align-items: center; }
.foot-col a:hover, .areas a:hover, .site-footer h2 a:hover { color: var(--paper); text-decoration: underline; }
.foot-areas { padding-top: 32px; padding-bottom: 40px; border-top: 1px solid var(--navy-rule); }
.areas { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 24px 32px; margin-top: 16px; }
.areas h3 { margin: 0 0 6px; font-size: 14px; font-weight: 600; color: var(--text-dark-3); }
.areas ul { margin: 0; padding: 0; list-style: none; }
.areas a { color: var(--text-dark-2); text-decoration: none; font-size: 14px; line-height: 1.4; display: inline-block; padding: 4px 0; }
.foot-bottom { padding-top: 24px; padding-bottom: 36px; border-top: 1px solid var(--navy-rule); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; font-size: 14px; color: var(--text-dark-3); }
.foot-bottom a { color: var(--text-dark-3); }

/* ---------- Meerdere pagina's ---------- */
.menu-btn { display: none; }
.main-nav a[aria-current="page"] { color: var(--paper); text-decoration: underline; text-decoration-color: var(--green); text-decoration-thickness: 2px; text-underline-offset: 7px; }

.page-hero { padding-top: 32px; padding-bottom: 80px; }
.crumbs { font-size: 14px; color: var(--text-dark-3); display: flex; flex-wrap: wrap; gap: 8px; }
.crumbs a { color: var(--text-dark-2); }
.crumbs-light { color: var(--muted); margin-bottom: 24px; }
.crumbs-light a { color: var(--body); }
.page-hero-row { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px 64px; }
.page-hero-row > div:first-child { flex: 1 1 560px; min-width: 0; }
.page-title { margin: 0; font-weight: 800; letter-spacing: -0.035em; line-height: 1.02; font-size: clamp(36px, 5vw, 68px); max-width: 920px; text-wrap: balance; }
.page-lead { margin: 22px 0 0; font-size: 19px; line-height: 1.55; color: var(--text-dark-2); max-width: 640px; }
.page-hero-otto { flex: 0 0 auto; }

.prose-section { padding-top: 96px; padding-bottom: 96px; }
.two { display: flex; flex-wrap: wrap; gap: 48px 80px; }
.two > * { flex: 1 1 380px; min-width: 0; }
.h3 { margin: 0 0 14px; font-size: 26px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }
.text p { margin: 0 0 16px; color: var(--body); font-size: 18px; max-width: 640px; }
.dark .text p { color: var(--text-dark-2); }
.text .checks { margin-top: 4px; }
.checks a, .text p a { color: var(--green-deep); font-weight: 600; }
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-top: 40px; }
.card { background: var(--paper); border: 1px solid var(--rule); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.card h3 { margin: 0; font-size: 21px; font-weight: 700; letter-spacing: -0.01em; }
.card p { margin: 0; color: var(--body); }
a.plain { text-decoration: none; }
a.plain:hover { text-decoration: underline; text-decoration-color: var(--green); }
a.more { display: inline-flex; align-items: center; min-height: 44px; margin-top: 8px; font-weight: 600; color: var(--green-deep); }

.faq details { border-bottom: 1px solid var(--rule); }
.faq details:first-of-type { border-top: 1px solid var(--rule); }
.faq summary { cursor: pointer; font-weight: 600; font-size: 18px; min-height: 56px; padding: 12px 0; display: flex; align-items: center; gap: 16px; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; margin-left: auto; font-size: 26px; font-weight: 400; color: var(--green-deep); }
.faq details[open] summary::after { content: '\2212'; }
.faq details p { margin: 0 0 18px; }

.near { display: flex; flex-wrap: wrap; gap: 10px; }
.near a { min-height: 44px; display: inline-flex; align-items: center; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--field); background: var(--white); color: var(--ink); text-decoration: none; font-weight: 500; }
.near a:hover { border-color: var(--navy); }
.area-groups { display: flex; flex-direction: column; gap: 48px; }

.cta-band { background: var(--navy); color: var(--paper); border-top: 1px solid var(--navy-rule); }
.cta-inner { padding-top: 88px; padding-bottom: 88px; display: flex; flex-wrap: wrap; align-items: center; gap: 28px 40px; }
.cta-inner > div { flex: 1 1 420px; min-width: 0; }
.cta-inner h2 { margin: 0; font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; font-size: clamp(30px, 3.6vw, 48px); }
.cta-inner h2 .soft { color: var(--muted-dark); }
.cta-inner p { margin: 12px 0 0; color: var(--text-dark-2); font-size: 18px; max-width: 560px; }

.contact-h { margin: 0; font-weight: 800; letter-spacing: -0.035em; line-height: 1; font-size: clamp(38px, 4.8vw, 68px); }
.contact-h span { display: block; }
.contact-h .soft { color: var(--muted-dark); }
.contact-text p.small { font-size: 15px; color: var(--text-dark-3); }

@media (max-width: 900px) {
  .menu-btn { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--navy-border); background: transparent; color: var(--paper); font-size: 15px; font-weight: 600; cursor: pointer; }
  .main-nav { display: none; width: 100%; flex-direction: column; align-items: flex-start; gap: 0; padding: 4px 0 8px; }
  .main-nav.open { display: flex; }
  .main-nav a { min-height: 48px; display: inline-flex; align-items: center; font-size: 18px; }
  .main-nav .btn { margin-top: 10px; }
  .page-hero-otto { display: none; }
}

/* ---------- Otto chat ---------- */
.chat { position: fixed; right: 20px; bottom: 20px; z-index: 50; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.chat-hint { background: var(--white); color: var(--ink); border: 1px solid var(--rule); border-radius: 16px 16px 4px 16px; padding: 10px 14px; font-size: 14px; box-shadow: 0 12px 24px -12px rgba(12,30,60,0.35); }
.chat-toggle { cursor: pointer; width: 76px; height: 76px; border-radius: 999px; border: 3px solid var(--green); background: var(--navy); display: inline-flex; align-items: center; justify-content: center; padding: 0; box-shadow: 0 16px 30px -10px rgba(12,30,60,0.55); }
.chat-panel { width: min(370px, calc(100vw - 40px)); background: var(--white); color: var(--ink); border-radius: 22px; box-shadow: 0 30px 60px -20px rgba(12,30,60,0.45); overflow: hidden; display: flex; flex-direction: column; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 16px; background: var(--navy); color: var(--paper); }
.chat-head div { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.chat-head b { font-weight: 700; }
.chat-head small { font-size: 13px; color: var(--text-dark-3); }
.chat-close { cursor: pointer; width: 44px; height: 44px; border: 0; border-radius: 999px; background: transparent; color: var(--paper); display: inline-flex; align-items: center; justify-content: center; }
.chat-log { padding: 16px; display: flex; flex-direction: column; gap: 10px; max-height: 330px; overflow-y: auto; background: var(--paper); }
.msg { display: flex; }
.msg.me { justify-content: flex-end; }
.msg div { max-width: 85%; border-radius: 16px 16px 16px 4px; padding: 10px 14px; font-size: 15px; line-height: 1.5; background: var(--white); border: 1px solid var(--rule); animation: iio-rise .3s ease both; }
.msg.me div { background: var(--navy); color: var(--paper); border-color: var(--navy); border-radius: 16px 16px 4px 16px; }
.msg a { display: block; margin-top: 6px; font-weight: 600; color: var(--green-deep); }
.chips { padding: 12px 16px 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chip { cursor: pointer; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--field); background: var(--white); color: var(--ink); font-size: 14px; font-weight: 500; }
.chip:hover { border-color: var(--navy); }
.chat-form { display: flex; gap: 8px; padding: 12px 16px 16px; }
.chat-form input { flex: 1; min-width: 0; height: 46px; border: 1.5px solid var(--field); border-radius: 999px; padding: 0 16px; font-size: 15px; }
.chat-form button { cursor: pointer; flex: none; width: 46px; height: 46px; border: 0; border-radius: 999px; background: var(--green); color: var(--navy); display: inline-flex; align-items: center; justify-content: center; }
[hidden] { display: none !important; }

/* ---------- Legal page ---------- */
.legal { max-width: 760px; margin: 0 auto; padding: 40px 24px 120px; }
.legal h1 { margin: 0 0 24px; font-weight: 800; font-size: clamp(34px, 4vw, 54px); line-height: 1.04; letter-spacing: -0.03em; }
.legal h2 { margin: 48px 0 12px; font-size: 22px; font-weight: 700; letter-spacing: -0.01em; }
.legal p, .legal li { color: var(--body); }
.legal ol { padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.legal .back { display: inline-flex; min-height: 44px; align-items: center; font-weight: 600; color: var(--green-deep); margin-bottom: 24px; }

/* ---------- Otto ---------- */
.otto { display: inline-flex; line-height: 0; }
.otto svg { overflow: visible; }
.otto .o-body { animation: otto-bob 2.6s ease-in-out infinite; }
.otto .o-shadow { transform-box: view-box; transform-origin: 60px 133px; animation: otto-shadow 2.6s ease-in-out infinite; }
.otto .o-eyes { transform-box: view-box; transform-origin: 59px 52px; animation: otto-blink 4.8s ease-in-out infinite; }
.otto .o-dot { animation: otto-dots 1.2s ease-in-out infinite; }
.otto .o-dot:nth-child(2) { animation-delay: .2s; }
.otto .o-dot:nth-child(3) { animation-delay: .4s; }
.otto[data-pose="wave"] .o-arm-l { transform-box: view-box; transform-origin: 17px 58px; animation: otto-wave 1.1s ease-in-out infinite; }
.otto[data-pose="happy"] .o-body { animation: otto-hop 1.1s ease-in-out infinite; }
.otto[data-pose="happy"] .o-shadow { animation-duration: 1.1s; }
.otto[data-pose="happy"] .o-arm-l { transform-box: view-box; transform-origin: 17px 56px; animation: otto-cheer-l .55s ease-in-out infinite; }
.otto[data-pose="happy"] .o-arm-r { transform-box: view-box; transform-origin: 103px 56px; animation: otto-cheer-r .55s ease-in-out infinite; }

/* ---------- Offerteaanvraag ---------- */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.aanvraag-grid { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 40px 56px; }
.aanvraag-form, .aanvraag-done { flex: 1.5 1 520px; min-width: 0; }
.aanvraag-form { background: var(--white); border: 1px solid var(--rule); border-radius: 24px; padding: 36px; }
#fields { display: flex; flex-direction: column; gap: 28px; }
.fg fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.fl { display: block; font-size: 16px; font-weight: 600; margin-bottom: 10px; color: var(--ink); padding: 0; }
.req { color: var(--green-deep); }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { position: relative; cursor: pointer; }
.opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opt span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--field); background: var(--white); font-size: 15px; font-weight: 500; transition: border-color .15s ease, background .15s ease; }
.opt:hover span { border-color: var(--navy); }
.opt input:checked + span { background: var(--navy); border-color: var(--navy); color: var(--paper); }
.opt input:focus-visible + span { outline: 3px solid var(--green); outline-offset: 2px; }
.fg input[type="text"], .fg input[type="tel"], .fg input[type="email"], .fg textarea {
  width: 100%; height: 50px; border: 1.5px solid var(--field); border-radius: 12px; padding: 0 14px; background: #F9FAFC; color: var(--ink);
}
.fg textarea { height: auto; padding: 12px 14px; resize: vertical; }
.fg input:focus, .fg textarea:focus { border-color: var(--navy); outline: none; box-shadow: 0 0 0 3px rgba(61,220,151,.35); }
.aanvraag-actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.btn-outline { border: 1.5px solid var(--navy); background: transparent; color: var(--navy); }
.btn-outline:hover { background: var(--paper); }
.btn[disabled] { opacity: .6; cursor: wait; }
.form-msg { margin: 16px 0 0; font-size: 15px; font-weight: 600; color: var(--green-deep); min-height: 1.5em; }
.form-msg.err, .form-status.err { color: #B42318; }
.dark .form-status.err { color: #B42318; }
.aanvraag-side { flex: 1 1 320px; min-width: 0; position: sticky; top: 24px; }
.side-card { background: var(--navy); color: var(--paper); border-radius: 24px; padding: 28px; }
.side-h { margin: 12px 0 12px; font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }
.sum { margin: 0; white-space: pre-wrap; font-family: inherit; font-size: 14px; line-height: 1.6; color: var(--text-dark-2); background: var(--navy-2); border: 1px solid var(--navy-line); border-radius: 14px; padding: 16px; max-height: 420px; overflow: auto; }
.side-note { margin: 12px 0 0; font-size: 13px; color: var(--text-dark-3); }
.aanvraag-done { background: var(--white); border: 1px solid var(--rule); border-radius: 24px; padding: 40px; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.aanvraag-done p { margin: 0 0 8px; color: var(--body); font-size: 18px; max-width: 560px; }
@media (max-width: 900px) { .aanvraag-side { position: static; } }
@media (max-width: 560px) { .aanvraag-form { padding: 22px; } }

/* ---------- Keyframes ---------- */
@keyframes iio-rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes iio-pulse { 0%, 100% { opacity: .35; } 50% { opacity: .8; } }
@keyframes otto-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@keyframes otto-hop { 0%, 100% { transform: translateY(0); } 40%, 60% { transform: translateY(-10px); } }
@keyframes otto-shadow { 0%, 100% { transform: scaleX(1); opacity: .15; } 50% { transform: scaleX(.82); opacity: .08; } }
@keyframes otto-wave { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(-24deg); } }
@keyframes otto-cheer-l { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(-12deg); } }
@keyframes otto-cheer-r { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(12deg); } }
@keyframes otto-blink { 0%, 92%, 100% { transform: scaleY(1); } 96% { transform: scaleY(.1); } }
@keyframes otto-dots { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
@keyframes otto-enter { 0% { transform: translateX(-180px); opacity: 0; } 70% { transform: translateX(8px); opacity: 1; } 100% { transform: none; opacity: 1; } }

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

@media (max-width: 560px) {
  .demo { padding: 20px 16px 28px; border-radius: 20px 20px 0 0; }
  .form-row { grid-template-columns: 1fr; }
  .section { padding-top: 88px; padding-bottom: 88px; }
  .contact-form { padding: 22px; }
  .prose-section { padding-top: 72px; padding-bottom: 72px; }
  .chat-hint { display: none; }
  .chat-toggle { width: 64px; height: 64px; }
}
