/* Stijl afgestemd op camilleandbardot.com: Outfit, zwart-wit, strakke knoppen. */
:root {
    --ink: #111111;
    --text: #1c1d1d;
    --muted: #6f6f6f;
    --line: #e6e6e6;
    --soft: #f5f5f3;
    --bar: #252525;
    --danger: #b3261e;
    --font: 'Outfit', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--text); font: 300 16px/1.6 var(--font); }
img { max-width: 100%; display: block; }
a { color: inherit; }
strong, b { font-weight: 500; }
h1, h2, h3 { font-weight: 400; line-height: 1.2; color: #000; margin: 0 0 .7rem; }
h1 { font-size: clamp(1.75rem, 4vw, 2.4rem); }
h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); }
.wrap { width: min(1280px, 100% - 32px); margin-inline: auto; }
.narrow { max-width: 620px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.lead { font-size: 1.0625rem; color: #333; max-width: 62ch; }
.center .lead { margin-inline: auto; }
main { padding-bottom: 5rem; }

/* Balk + header */
.announcement { background: var(--bar); color: #fff; text-align: center; font-size: 12px; padding: 10px 16px; letter-spacing: .02em; }
.site-header { border-bottom: 1px solid var(--line); background: #fff; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; flex-wrap: wrap; padding-block: 12px; }
.logo img { height: 18px; width: auto; }
.steps { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; font-size: 13px; color: var(--muted); }
.steps li { display: flex; align-items: center; gap: 8px; }
.steps span { width: 22px; height: 22px; border: 1px solid #cfcfcf; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 500; }
.steps b { font-weight: 400; }
.steps .active { color: #000; }
.steps .active span { background: var(--ink); border-color: var(--ink); color: #fff; }
.steps .done span { border-color: var(--ink); color: var(--ink); }
@media (max-width: 640px) {
    .logo img { height: 14px; }
    .steps { gap: 6px; }
    .steps li:not(.active) b { display: none; }
}

/* Knoppen */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 14px 28px; border: 1px solid var(--ink); border-radius: 3px; background: var(--ink); color: #fff; font: 700 13px var(--font); letter-spacing: .2em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: opacity .15s, background .15s, color .15s; }
.btn:hover { opacity: .85; }
.btn:disabled { background: #bdbdbd; border-color: #bdbdbd; cursor: not-allowed; opacity: 1; }
.btn-outline { background: #fff; color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; opacity: 1; }
.btn-block { width: 100%; }
.btn-sm { padding: 10px 18px; font-size: 11px; }
.link { background: none; border: 0; padding: 0; font: inherit; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.link-danger { color: var(--danger); }

/* Intro */
.hero-split { padding: 40px 0 16px; }
.hero-grid { display: grid; grid-template-columns: 1fr minmax(0, 520px); gap: 64px; align-items: center; }
.hero-text .btn { margin-top: .6rem; }
.hero-collage { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.hero-collage img { aspect-ratio: 5/4; object-fit: contain; background: #fff; border: 1px solid var(--line); }
@media (max-width: 860px) {
    .hero-split { padding-top: 0; }
    .hero-grid { grid-template-columns: 1fr; gap: 28px; }
    .hero-grid .carousel { order: -1; margin-inline: -16px; }
}

.carousel { position: relative; }
.carousel-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; background: var(--soft); }
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-slide { position: relative; flex: 0 0 100%; margin: 0; scroll-snap-align: start; }
.carousel-slide img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.carousel-slide figcaption { position: absolute; left: 16px; bottom: 16px; background: #fff; color: #000; font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; padding: 6px 10px; }
.carousel-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .92); color: #000; display: grid; place-items: center; cursor: pointer; transition: background .15s; }
.carousel-btn:hover { background: #fff; }
.carousel-btn.prev { left: 12px; }
.carousel-btn.next { right: 12px; }
.carousel-dots { position: absolute; right: 16px; bottom: 20px; display: flex; gap: 6px; }
.carousel-dots button { width: 8px; height: 8px; padding: 0; border: 1px solid #fff; border-radius: 50%; background: transparent; cursor: pointer; }
.carousel-dots button[aria-current=true] { background: #fff; }
@media (max-width: 860px) { .carousel-slide img { aspect-ratio: 1/1; } }
.intro-text { padding: 64px 0 8px; text-align: center; }
.intro-text .lead { margin-inline: auto; }
.how { padding-top: 64px; text-align: center; }
.how-list { list-style: none; padding: 0; margin: 28px 0 40px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); text-align: left; }
.how-list li { background: #fff; padding: 24px; font-size: 15px; color: #444; display: grid; gap: 4px; align-content: start; }
.how-list span { font-size: 12px; letter-spacing: .15em; color: var(--muted); }
.how-list strong { color: #000; font-size: 16px; }
@media (max-width: 860px) { .how-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .how-list { grid-template-columns: 1fr; } }

/* Stemmen */
.page-head { padding: 40px 0 8px; }
.bag-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px 20px; margin-top: 16px; padding-bottom: 170px; }
@media (max-width: 1000px) { .bag-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 680px) { .bag-grid { grid-template-columns: repeat(2, 1fr); gap: 20px 10px; padding-bottom: 190px; } }
.bag-card { display: grid; gap: 4px; padding: 0; border: 0; background: none; text-align: center; cursor: pointer; font: inherit; color: inherit; }
.bag-img { position: relative; display: block; border: 1px solid transparent; transition: border-color .15s; }
.bag-card:hover .bag-img { border-color: var(--line); }
.bag-card.selected .bag-img { border-color: var(--ink); }
.bag-card:focus-visible { outline: none; }
.bag-card:focus-visible .bag-img { outline: 2px solid var(--ink); outline-offset: 2px; }
.bag-img img { aspect-ratio: 5/4; width: 100%; object-fit: contain; background: #fff; }
.bag-rank { position: absolute; top: 10px; right: 10px; min-width: 28px; height: 28px; padding: 0 8px; border: 1px solid #cfcfcf; background: #fff; display: flex; align-items: center; justify-content: center; white-space: nowrap; font-size: 13px; font-weight: 500; }
.bag-card.selected .bag-rank { background: var(--ink); border-color: var(--ink); color: #fff; }
.bag-card.selected .bag-rank::before { content: 'Nr.\00a0'; font-weight: 400; }
.bag-name { font-size: 14px; font-weight: 500; color: #000; margin-top: 10px; }
.bag-desc { font-size: 13px; color: var(--muted); }

.tray { position: fixed; inset: auto 0 0 0; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(0, 0, 0, .05); padding: 12px 0; z-index: 10; }
.tray-inner { display: flex; align-items: center; gap: 20px; }
.tray-slots { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; list-style: none; margin: 0; padding: 0; flex: 1; }
.tray-slots li { position: relative; height: 76px; border: 1px dashed #cfcfcf; display: flex; align-items: center; gap: 10px; padding: 6px 8px 6px 8px; overflow: hidden; }
.tray-slots li.filled { padding-bottom: 26px; }
.tray-slots li.filled { border: 1px solid var(--ink); }
.slot-rank { font-size: 12px; font-weight: 500; color: var(--muted); min-width: 14px; }
.filled .slot-rank { color: #000; }
.tray-slots img { width: 64px; height: 52px; object-fit: contain; }
.slot-name { font-size: 13px; line-height: 1.25; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.slot-tools { position: absolute; right: 2px; bottom: 2px; display: flex; gap: 1px; }
.slot-tools button { width: 22px; height: 22px; border: 0; background: #fff; cursor: pointer; font-size: 14px; line-height: 1; padding: 0; color: #000; }
.slot-tools button:hover { background: var(--soft); }
.tray-actions { display: grid; gap: 6px; justify-items: end; }
.tray-count { font-size: 13px; color: var(--muted); white-space: nowrap; }
.tray-count.warn { color: var(--danger); }
@media (max-width: 1100px) { .slot-name { display: none; } .tray-slots li { justify-content: center; } }
@media (max-width: 760px) {
    .tray-inner { flex-direction: column; align-items: stretch; gap: 10px; }
    .tray-slots { gap: 5px; }
    .tray-slots li, .tray-slots li.filled { height: 58px; justify-content: center; padding: 4px; }
    .tray-slots img { width: 100%; height: 100%; }
    .slot-name, .slot-tools [data-act=up], .slot-tools [data-act=down] { display: none; }
    .slot-rank { position: absolute; top: 2px; left: 4px; font-size: 11px; }
    .slot-tools { top: 2px; bottom: auto; }
    .tray-actions { grid-template-columns: 1fr auto; align-items: center; justify-items: start; }
}

/* Formulier */
.alert { border: 1px solid var(--danger); color: var(--danger); padding: 12px 16px; margin: 1rem 0; font-size: 15px; }
.summary { border: 1px solid var(--line); padding: 20px; margin: 1.5rem 0 2rem; text-align: left; }
.small-heading { font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: .18em; color: #000; margin: 0 0 14px; }
.summary-list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; list-style: none; padding: 0; margin: 0 0 12px; counter-reset: pick; }
.summary-list li { counter-increment: pick; font-size: 12px; text-align: center; position: relative; line-height: 1.3; }
.summary-list li::before { content: counter(pick); position: absolute; top: 0; left: 0; width: 20px; height: 20px; background: var(--ink); color: #fff; font-size: 11px; display: grid; place-items: center; }
.summary-list img { aspect-ratio: 5/4; object-fit: contain; width: 100%; margin-bottom: 6px; }
.form { display: grid; gap: 18px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 520px) { .row { grid-template-columns: 1fr; } .summary-list { gap: 6px; } .summary-list span { display: none; } }
.field label { display: block; font-size: 14px; font-weight: 400; color: #000; margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; padding: 13px 14px; border: 1px solid #d4d4d4; border-radius: 0; font: 300 16px var(--font); background: #fff; color: #000; }
.field input:focus { outline: none; border-color: var(--ink); }
.has-error input { border-color: var(--danger); }
.hint { font-size: 13px; color: var(--muted); margin: 6px 0 0; }
.error { font-size: 13px; color: var(--danger); margin: -8px 0 0; }
.field .error { margin: 6px 0 0; }
.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: 15px; line-height: 1.45; }
.check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--ink); flex-shrink: 0; }
.check em { color: var(--muted); font-style: normal; font-size: 13px; }
.check.has-error span { color: var(--danger); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Berichten */
.card-message { padding-top: 64px; }
.icon-circle { width: 64px; height: 64px; margin: 0 auto 24px; border: 1px solid var(--ink); border-radius: 50%; display: grid; place-items: center; color: var(--ink); }
.card-message .btn { margin-top: .5rem; }

.prose { padding-top: 40px; }
.prose h2 { font-size: 1.15rem; font-weight: 500; margin: 2rem 0 .5rem; }
.prose ul { padding-left: 1.2rem; }

.site-footer { border-top: 1px solid var(--line); padding: 32px 0 44px; font-size: 14px; color: var(--muted); }
.site-footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.site-footer p { margin: 0; }
.site-footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #000; }
