:root {
    --ink: #16181b;
    --ink-soft: #464d55;
    --muted: #6b737c;
    --line: #e7e3db;
    --paper: #faf8f4;
    --card: #ffffff;
    --accent: #e8590c;
    --accent-dark: #c2410c;
    --accent-soft: #fff1e6;
    --radius: 1.1rem;
    --shadow: 0 1px 2px rgba(22, 24, 27, 0.04), 0 12px 40px rgba(22, 24, 27, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; background: var(--paper); color: var(--ink); }
body { font-family: Figtree, system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 1rem; line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { max-width: 100%; }
.wrap { width: min(1160px, 92vw); margin: 0 auto; }

/* Top bar */
.topbar { position: sticky; top: 0; z-index: 20; background: rgba(250, 248, 244, 0.82); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color 0.2s; }
.topbar.scrolled { border-bottom-color: var(--line); }
.topbar .wrap { display: flex; align-items: center; gap: 1.5rem; height: 4.2rem; }
.brand { display: inline-flex; align-items: center; gap: 0.55rem; font-weight: 800; font-size: 1.08rem; letter-spacing: -0.02em; text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 0.6rem; background: var(--ink); color: #fff; }
.brand-mark svg { width: 1.1rem; height: 1.1rem; }
.brand span span { color: var(--accent); }
.nav { display: flex; gap: 1.4rem; margin-left: auto; font-weight: 600; font-size: 0.95rem; }
.nav a { text-decoration: none; color: var(--ink-soft); }
.nav a:hover { color: var(--ink); }
.account { display: flex; align-items: center; gap: 0.5rem; }
.account a { text-decoration: none; font-weight: 700; font-size: 0.95rem; padding: 0.5rem 0.9rem; border-radius: 999px; }
.account a.solid { background: var(--ink); color: #fff; }
.account a.solid:hover { background: #2b2f34; }
.account a.plain:hover { background: rgba(22, 24, 27, 0.06); }

/* Hero */
.hero { position: relative; padding: 3.2rem 0 4rem; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(22, 24, 27, 0.07) 1px, transparent 1px); background-size: 22px 22px; -webkit-mask-image: radial-gradient(ellipse at 30% 20%, #000 0%, transparent 70%); mask-image: radial-gradient(ellipse at 30% 20%, #000 0%, transparent 70%); pointer-events: none; }
.hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 3rem; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.35rem 0.8rem 0.35rem 0.45rem; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: 0.88rem; font-weight: 600; color: var(--ink-soft); }
.pill i { display: inline-block; width: 0.55rem; height: 0.55rem; border-radius: 50%; background: #16a34a; box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.15); margin-left: 0.35rem; }
h1 { margin: 1.1rem 0 0.9rem; font-size: clamp(2.3rem, 4.6vw, 3.7rem); line-height: 1.04; letter-spacing: -0.035em; font-weight: 800; }
h1 em { font-style: normal; color: var(--accent); }
.lede { margin: 0 0 1.8rem; max-width: 34rem; font-size: 1.15rem; color: var(--ink-soft); }

/* Finder */
.finder { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 0.5rem 1.25rem 1.3rem; scroll-margin-top: 5.5rem; }
.tabs { display: flex; gap: 0.25rem; margin: 0 -0.75rem 1.1rem; padding: 0.35rem; border-bottom: 1px solid var(--line); }
.tabs button { flex: 1; font: inherit; font-weight: 700; font-size: 0.98rem; color: var(--muted); background: none; border: 0; border-radius: 0.65rem; padding: 0.65rem 0.75rem; cursor: pointer; }
.tabs button:hover { color: var(--ink); background: #f6f4ef; }
.tabs button[aria-selected="true"] { color: var(--ink); background: var(--accent-soft); box-shadow: inset 0 -2px 0 var(--accent); }
.no-js .tabs { display: none; }
.js .panel:not(.active) { display: none; }
.no-js .panel + .panel { margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.panel p { margin: 0 0 0.9rem; color: var(--muted); font-size: 0.95rem; }
.finder form { display: flex; flex-wrap: wrap; align-items: end; gap: 0.7rem; margin: 0; }
.finder label { display: flex; flex-direction: column; gap: 0.3rem; flex: 1 1 7rem; font-size: 0.85rem; font-weight: 700; color: var(--ink-soft); }
.finder label.wide { flex-basis: 100%; position: relative; }
.finder input { font: inherit; font-size: 1.02rem; font-weight: 500; color: var(--ink); background: #fcfbf9; border: 1px solid #d9d4ca; border-radius: 0.65rem; padding: 0.68rem 0.8rem; width: 100%; transition: border-color 0.15s, box-shadow 0.15s, background 0.15s; }
.finder input:focus { outline: none; border-color: var(--accent); background: #fff; box-shadow: 0 0 0 4px rgba(232, 89, 12, 0.14); }
.finder button[type="submit"] { flex: 1 1 100%; display: inline-flex; justify-content: center; align-items: center; gap: 0.5rem; font: inherit; font-weight: 700; font-size: 1.02rem; background: var(--accent); color: #fff; border: 0; border-radius: 0.65rem; padding: 0.8rem 1.2rem; cursor: pointer; transition: background 0.15s, transform 0.15s; }
.finder button[type="submit"]:hover { background: var(--accent-dark); }
.finder button[type="submit"]:active { transform: translateY(1px); }
.finder button[type="submit"] svg { width: 1.1rem; height: 1.1rem; }
.suggest { position: absolute; z-index: 5; left: 0; right: 0; top: calc(100% + 0.3rem); margin: 0; padding: 0.3rem; list-style: none; background: #fff; border: 1px solid #d9d4ca; border-radius: 0.7rem; box-shadow: var(--shadow); max-height: 16rem; overflow: auto; }
.suggest button { display: block; width: 100%; text-align: left; font: inherit; font-weight: 500; color: var(--ink); background: #fff; border: 0; border-radius: 0.45rem; padding: 0.5rem 0.65rem; cursor: pointer; }
.suggest button:hover, .suggest button[aria-selected="true"] { background: var(--accent-soft); }

.message { margin: 1.1rem 0 0; padding: 0.8rem 1rem; border-radius: 0.7rem; background: #fdf0ec; color: #8a3b2b; font-weight: 600; }
.results { list-style: none; padding: 0; margin: 1.1rem 0 0; }
.results li { padding: 1rem 0 0.2rem; border-top: 1px solid var(--line); }
.results li:first-child { border-top: 0; }
.results strong { display: block; font-size: 1.2rem; letter-spacing: -0.01em; }
.results .locality { display: block; color: var(--ink-soft); font-weight: 500; }
.map { height: 200px; margin-top: 0.75rem; border: 1px solid var(--line); border-radius: 0.8rem; background: #e7eef2; }

/* Illustration */
.scene { position: relative; align-self: start; margin-top: 2.5rem; }
.scene::before { content: ""; position: absolute; inset: 8% 2% 4% 6%; border-radius: 2rem; background: linear-gradient(160deg, #fff 0%, #f3efe7 100%); border: 1px solid var(--line); transform: rotate(-2deg); }
.scene img { position: relative; display: block; width: 100%; height: auto; mix-blend-mode: multiply; }
.stamp { position: absolute; right: 4%; bottom: 6%; display: grid; place-items: center; width: 7.2rem; height: 7.2rem; border-radius: 50%; background: var(--accent); color: #fff; text-align: center; font-weight: 700; font-size: 0.8rem; line-height: 1.2; padding: 0 1rem; transform: rotate(12deg); box-shadow: 0 10px 30px rgba(232, 89, 12, 0.35); outline: 2px dashed rgba(255, 255, 255, 0.7); outline-offset: -8px; }
.stamp strong { display: block; font-size: 1.3rem; font-weight: 800; letter-spacing: -0.02em; }

/* Stats */
.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--card); }
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 1.6rem 1.4rem; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat strong { display: block; font-size: 1.55rem; letter-spacing: -0.03em; font-weight: 800; }
.stat span { color: var(--muted); font-size: 0.93rem; font-weight: 500; }

/* Sections */
.section { padding: 5rem 0; }
.eyebrow { margin: 0 0 0.6rem; font-size: 0.82rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.section h2 { margin: 0 0 0.8rem; font-size: clamp(1.8rem, 3.2vw, 2.5rem); line-height: 1.1; letter-spacing: -0.03em; font-weight: 800; }
.section-intro { max-width: 40rem; margin: 0 0 2.6rem; font-size: 1.1rem; color: var(--ink-soft); }
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.feature { display: flex; flex-direction: column; padding: 1.5rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s; }
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #d9d4ca; }
.feature .icon { display: grid; place-items: center; width: 2.8rem; height: 2.8rem; border-radius: 0.8rem; background: var(--accent-soft); color: var(--accent); margin-bottom: 1.1rem; }
.feature .icon svg { width: 1.35rem; height: 1.35rem; }
.feature h3 { margin: 0 0 0.4rem; font-size: 1.15rem; letter-spacing: -0.02em; }
.feature p { margin: 0 0 1.2rem; color: var(--ink-soft); font-size: 0.97rem; }
.feature .more { margin-top: auto; font-weight: 700; font-size: 0.93rem; color: var(--accent-dark); }
.feature .more::after { content: " →"; transition: margin 0.2s; }
.feature:hover .more::after { margin-left: 0.2rem; }

/* Developers */
.dev { background: var(--ink); color: #e9ebee; border-radius: 1.8rem; margin: 0 auto; padding: 4rem; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 3rem; align-items: center; }
.dev h2 { color: #fff; }
.dev .section-intro { color: #b8bec6; margin-bottom: 1.8rem; }
.dev ul { list-style: none; margin: 0 0 2rem; padding: 0; display: grid; gap: 0.55rem; }
.dev li { display: flex; gap: 0.6rem; color: #d5d9de; }
.dev li::before { content: ""; flex: none; width: 1.1rem; height: 1.1rem; margin-top: 0.2rem; border-radius: 50%; background: rgba(232, 89, 12, 0.2) 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='%23ff8a4c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 0.8rem no-repeat; }
.buttons { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.button { display: inline-flex; align-items: center; font-weight: 700; text-decoration: none; padding: 0.75rem 1.2rem; border-radius: 999px; background: var(--accent); color: #fff; transition: background 0.15s; }
.button:hover { background: var(--accent-dark); }
.button.ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25); }
.button.ghost:hover { background: rgba(255, 255, 255, 0.08); }
.terminal { background: #0d0f11; border: 1px solid #2a2e33; border-radius: 1rem; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35); overflow: hidden; }
.terminal-bar { display: flex; align-items: center; gap: 0.4rem; padding: 0.75rem 1rem; border-bottom: 1px solid #22262b; }
.terminal-bar i { width: 0.7rem; height: 0.7rem; border-radius: 50%; background: #3a3f45; }
.terminal-bar span { margin-left: 0.6rem; color: #7d858e; font-size: 0.82rem; font-weight: 600; }
.terminal pre { margin: 0; padding: 1.2rem 1.3rem 1.4rem; overflow-x: auto; font: 500 0.86rem/1.65 ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; color: #d5d9de; }
.terminal .c { color: #7d858e; }
.terminal .k { color: #ff8a4c; }
.terminal .s { color: #9fd99b; }
.terminal .n { color: #8cc8ff; }

/* Call to action */
.robots-friends { padding-top: 1rem; }
.robots-friends-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 2.5rem;
    align-items: center;
}
.robots-friends-copy .section-intro { margin-bottom: 0; }
.robots-friends-scene {
    position: relative;
    margin: 0;
    border-radius: 1.6rem;
    overflow: hidden;
    border: 1px solid var(--line);
    background: linear-gradient(160deg, #fff 0%, #f3efe7 100%);
    box-shadow: var(--shadow);
}
.robots-friends-scene img {
    display: block;
    width: 100%;
    height: auto;
    mix-blend-mode: multiply;
}
.kerst .robots-friends-scene img { mix-blend-mode: normal; }

.cta { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 2.6rem 3rem; border-radius: 1.8rem; background: var(--accent-soft); border: 1px solid #f6d6bf; }
.cta h2 { margin: 0 0 0.4rem; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.cta p { margin: 0; color: var(--ink-soft); max-width: 36rem; }
.cta .button.dark { background: var(--ink); white-space: nowrap; }
.cta .button.dark:hover { background: #2b2f34; }

.site-foot { margin-top: 4.5rem; border-top-color: var(--line); }

/* Christmas, December up to and including 1 January */
.kerst .topbar::after { content: ""; position: absolute; left: 0; right: 0; bottom: -7px; height: 12px; pointer-events: none; background:
    radial-gradient(circle at 50% 70%, #d6453d 0 2.6px, transparent 3.2px) 0 0 / 54px 12px repeat-x,
    radial-gradient(circle at 50% 30%, #2f8f5b 0 2.6px, transparent 3.2px) 18px 0 / 54px 12px repeat-x,
    radial-gradient(circle at 50% 70%, #e8b923 0 2.6px, transparent 3.2px) 36px 0 / 54px 12px repeat-x;
    animation: twinkle 2.8s ease-in-out infinite alternate; }
.snow { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.snow i { position: absolute; top: -12px; left: var(--x); width: var(--size); height: var(--size); border-radius: 50%; background: #d3dde8; opacity: 0.75; animation: snowfall var(--duration) linear var(--delay) infinite; }
.kerst .scene img { mix-blend-mode: normal; }
.kerst .stamp { background: #c0392b; box-shadow: 0 10px 30px rgba(192, 57, 43, 0.35); }
.kerst .stamp strong { font-size: 0.95rem; line-height: 1.1; margin-bottom: 0.15rem; }
.kerst .cta { background: #fdf1ef; border-color: #f3d3cd; }

@keyframes snowfall {
    0% { transform: translate3d(0, 0, 0); }
    50% { transform: translate3d(14px, 380px, 0); }
    100% { transform: translate3d(-6px, 780px, 0); }
}

@keyframes twinkle {
    from { opacity: 0.55; }
    to { opacity: 1; }
}

@media (max-width: 1020px) {
    .features { grid-template-columns: repeat(2, 1fr); }
    .dev { padding: 3rem; grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
    .nav { display: none; }
    .account { margin-left: auto; }
    .hero { padding-top: 2rem; }
    .hero .wrap { grid-template-columns: 1fr; gap: 1rem; }
    .scene { order: -1; max-width: 30rem; margin: 0 auto; }
    .stamp { width: 5.6rem; height: 5.6rem; font-size: 0.68rem; }
    .stamp strong { font-size: 1.05rem; }
    .kerst .stamp { padding: 0 0.6rem; font-size: 0.6rem; }
    .kerst .stamp strong { font-size: 0.74rem; }
    .stats .wrap { grid-template-columns: repeat(2, 1fr); }
    .stat { padding: 1.3rem 1rem; }
    .stat:nth-child(odd) { border-left: 0; padding-left: 0; }
    .stat:nth-child(n + 3) { border-top: 1px solid var(--line); }
    .cta { flex-direction: column; align-items: flex-start; padding: 2rem; }
    .robots-friends-grid { grid-template-columns: 1fr; gap: 1.5rem; }
}

@media (max-width: 560px) {
    .account a.plain { display: none; }
    .scene { max-width: 21rem; }
    .terminal pre { font-size: 0.74rem; padding: 1rem; }
    .section { padding: 3.5rem 0; }
    .features { grid-template-columns: 1fr; }
    .dev { padding: 2rem 1.4rem; border-radius: 1.2rem; }
    .finder { padding: 0.4rem 1rem 1.1rem; }
    .tabs { margin: 0 -0.5rem 1rem; }
    .tabs button { font-size: 0.9rem; padding: 0.6rem 0.4rem; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .feature, .feature:hover { transition: none; transform: none; }
    .snow { display: none; }
    .kerst .topbar::after { animation: none; }
}

/* Kentekenplaat en voertuiggegevens */
.plate { display: inline-flex; align-items: stretch; overflow: hidden; border: 2px solid #16181b; border-radius: 0.55rem; background: #ffb612; box-shadow: 0 2px 0 rgba(22, 24, 27, 0.15); }
.plate .band { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.15rem; padding: 0 0.4rem; background: #003399; color: #fff; font-size: 0.62rem; font-weight: 700; line-height: 1; }
.plate .band svg { width: 0.9rem; height: 0.9rem; }
.plate .code { padding: 0.45rem 0.9rem; font: 700 1.5rem/1.2 ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; letter-spacing: 0.08em; color: #16181b; white-space: nowrap; }
.plate.large .code { font-size: clamp(2rem, 5vw, 3rem); padding: 0.8rem 1.6rem; }
.plate.large .band { font-size: 0.8rem; padding: 0 0.6rem; }
.plate.large .band svg { width: 1.3rem; height: 1.3rem; }

.result { margin-top: 1.2rem; padding-top: 1.1rem; border-top: 1px solid var(--line); }
.result-head { display: flex; flex-wrap: wrap; align-items: center; gap: 0.9rem; margin-bottom: 0.9rem; }
.result-head h3 { margin: 0; font-size: 1.25rem; letter-spacing: -0.01em; }
.result-head .sidecode { color: var(--muted); font-size: 0.85rem; font-weight: 600; }
.specs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.55rem 1.2rem; margin: 0; }
.specs div { display: flex; flex-direction: column; gap: 0.05rem; padding: 0.5rem 0.7rem; background: #fcfbf9; border: 1px solid var(--line); border-radius: 0.55rem; }
.specs dt { font-size: 0.78rem; font-weight: 700; color: var(--muted); }
.specs dd { margin: 0; font-weight: 600; color: var(--ink); }
.result .bron { display: block; margin-top: 0.8rem; font-size: 0.82rem; color: var(--muted); }

@media (max-width: 560px) {
    .specs { grid-template-columns: 1fr; }
}

/* Footer (uit cookies.css overgenomen; wij hebben geen cookiebalk nodig) */
.site-foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 1.2rem 1rem 1.6rem;
    border-top: 1px solid #ececec;
    color: #6b6b6b;
    font-size: 0.92rem;
    font-weight: 500;
}
.site-foot a { color: inherit; }
.site-foot-sep { color: #b5b5b5; }

/* Scène zonder illustratie: de kentekenplaat ís het plaatje */
.scene-plate { position: relative; display: flex; justify-content: center; padding: 3.2rem 0 3.6rem; transform: rotate(-3deg); }
.scene-plate .plate { box-shadow: 0 18px 44px rgba(22, 24, 27, 0.18); }
