/* PicSave: warm, rustig en redactioneel. De foto's dragen de kleur, de interface blijft linnen en espresso.
   Knoppen zijn pillen (zoals op een iPhone), kaarten hebben ruime ronde hoeken, koppen staan in Jost Light. */

@font-face { font-family: 'Jost'; font-style: normal; font-display: swap; font-weight: 100 900; src: url(/fonts/jost.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Jost'; font-style: normal; font-display: swap; font-weight: 100 900; src: url(/fonts/jost-ext.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --linen: #ffffff;      /* achtergrond: wit */
  --paper: #ffffff;      /* kaarten: wit, met een haarlijn */
  --sand: #f2f2f2;       /* tweede knop, keuzes */
  --sand-2: #e4e4e4;     /* lijnen */
  --olive: #f5f5f5;      /* zachte vlakken */
  --ink: #000000;        /* zwart: tekst en hoofdknop */
  --ink-2: #3d3d3d;
  --muted: #6b6b6b;      /* uitleg (5.3:1 op wit) */
  --danger: #9c3a2c;
  --ok: #3f6b3a;
  --night: #000000;      /* lightbox */
  --r-s: 12px;
  --r: 20px;
  --r-l: 28px;
  --sans: 'Jost', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --serif: var(--sans);  /* alles in Jost; de cursieve 'save' zit enkel in het logo */
  --float: 0 1px 2px rgba(0, 0, 0, .05), 0 16px 40px rgba(0, 0, 0, .1);
  --line: #ebebeb;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--linen);
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: tabular-nums;
}
img, video { max-width: 100%; }
h1, h2, h3 { margin: 0 0 .5em; line-height: 1.12; font-weight: 400; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 3.6vw, 3.1rem); font-weight: 300; letter-spacing: -0.03em; }
h2 { font-size: 1.3rem; }
h3 { font-size: 1.05rem; font-weight: 500; }
p { margin: 0 0 1em; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
strong { font-weight: 600; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .88em; background: var(--sand); padding: .1em .4em; border-radius: 6px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--olive); color: var(--ink); }
.muted { color: var(--muted); }
.measure { max-width: 64ch; }
.serif { font-family: var(--serif); font-weight: 300; letter-spacing: -0.01em; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 999px; }
.skip:focus { top: 12px; }
[hidden] { display: none !important; }
.i { width: 18px; height: 18px; flex: none; }
.mt { margin-top: 40px; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.num { text-align: right; font-variant-numeric: tabular-nums; }
.neg { color: var(--danger); }

/* ---------- Knoppen: één systeem ----------
   .btn          hoofdactie, één per scherm (espresso)
   .btn--ghost   tweede actie (zand)
   .btn--light   op een foto of donker vlak (papier)
   .btn--glass   op een foto, doorschijnend
   .btn--danger  iets definitief weghalen, altijd na bevestiging
   .iconbtn      rond, alleen een icoon, altijd met aria-label */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 22px;
  font: inherit; font-size: 16px; font-weight: 500; letter-spacing: .005em; line-height: 1.1;
  color: var(--paper); background: var(--ink);
  border: 0; border-radius: 999px;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .18s, color .18s, transform .12s var(--ease), box-shadow .18s;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { background: #262626; }
.btn:active { transform: scale(.97); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; transform: none; }
.btn .i { width: 18px; height: 18px; margin-left: -4px; }
.btn--ghost { background: var(--sand); color: var(--ink); }
.btn--ghost:hover { background: var(--sand-2); }
.btn--light { background: var(--paper); color: var(--ink); }
.btn--light:hover { background: #fff; }
.btn--glass { background: rgba(255, 255, 255, .16); color: var(--paper); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .45); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.btn--glass:hover { background: rgba(255, 255, 255, .28); }
.btn--danger { background: var(--danger); color: #fff; }
.btn--danger:hover { background: #82301f; }
.btn--danger-text { color: var(--danger); }
.btn--small { min-height: 38px; padding: 0 16px; font-size: 15px; }
.btn--large { min-height: 56px; padding: 0 30px; font-size: 17px; }
.btn--block { width: 100%; }
.linkbtn { font: inherit; font-weight: 500; color: var(--ink); background: none; border: 0; padding: 4px 0; cursor: pointer; text-decoration: underline; text-decoration-color: var(--sand-2); text-underline-offset: 4px; }
.linkbtn:hover { text-decoration-color: var(--ink); }
.linkbtn--danger { color: var(--danger); }
.iconbtn {
  display: inline-grid; place-items: center; width: 40px; height: 40px; flex: none;
  border: 0; border-radius: 50%; cursor: pointer; color: var(--ink);
  background: rgba(255, 255, 255, .94); box-shadow: 0 1px 3px rgba(0, 0, 0, .18);
  transition: background-color .15s, transform .12s var(--ease), color .15s;
}
.iconbtn:hover { background: #fff; }
.iconbtn:active { transform: scale(.94); }
.iconbtn--soft { background: var(--sand); box-shadow: none; }
.iconbtn--soft:hover { background: var(--sand-2); }
.iconbtn--danger:hover { color: var(--danger); }

/* ---------- Velden ---------- */
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field__label { font-size: 14px; font-weight: 500; color: var(--ink-2); }
.field__hint { font-size: 14px; color: var(--muted); line-height: 1.45; }
input:not([type=checkbox]):not([type=radio]):not([type=file]), select, textarea {
  width: 100%; min-height: 48px; padding: 11px 15px;
  font: inherit; font-size: 16px; color: var(--ink);
  background: var(--paper); border: 1px solid var(--sand-2); border-radius: 14px;
  transition: border-color .15s, box-shadow .15s;
}
textarea { min-height: 96px; resize: vertical; line-height: 1.45; }
select { appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(0, 0, 0, .1); }
input[readonly] { background: #f7f7f7; }
input[type=checkbox], input[type=radio] { accent-color: var(--ink); width: 20px; height: 20px; margin: 2px 0 0; flex: none; }
.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; }
.check > span { display: flex; flex-direction: column; gap: 2px; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { font-size: 14px; font-weight: 500; color: var(--ink-2); padding: 0; margin-bottom: 8px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 22px; }
.form-grid .check, .form-grid__actions, .form-grid .field--wide, .form-grid fieldset { grid-column: 1 / -1; }
.form-grid__actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.inline-form { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px; }
.inline-form .field { flex: 1 1 220px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips--stack { flex-direction: column; }
.chip { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 16px; background: var(--paper); border: 1px solid var(--sand-2); cursor: pointer; }
.chip:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.form__legal { font-size: 14px; }

/* ---------- Meldingen ---------- */
.flash { display: flex; gap: 10px; align-items: center; margin: 0 0 24px; padding: 14px 18px; border-radius: 16px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--sand-2); }
.flash::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); flex: none; }
.flash--error { background: #f6e3dd; color: #6f2419; box-shadow: none; }
.flash--error::before { background: var(--danger); }
.banner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 18px; padding: 10px 24px; font-size: 15px; text-align: center; background: var(--sand); }
.banner a { font-weight: 500; }
.banner--warn { background: #f3ddd5; }
.banner--deal { background: var(--olive); }
.deal__time { font-weight: 600; font-variant-numeric: tabular-nums; }
.pill { display: inline-flex; align-items: center; min-height: 26px; padding: 0 11px; border-radius: 999px; font-size: 13px; font-weight: 500; background: var(--sand); color: var(--ink); white-space: nowrap; }
.pill--paid, .pill--active, .pill--done, .pill--shipped, .pill--delivered { background: #dfe7d6; color: #2f5228; }
.pill--failed, .pill--canceled, .pill--expired, .pill--error { background: #f3ddd5; color: #7d2a1f; }
.pill--open, .pill--pending { background: #efe5cf; color: #5b4a24; }
.hint { margin: 14px 0; padding: 12px 16px; border-radius: 14px; background: #f5f5f5; font-size: 15px; color: var(--ink-2); }

/* ---------- App: kop en indeling ---------- */
.topbar {
  position: sticky; top: 0; z-index: 40;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px;
  height: 68px; padding: 0 28px;
  background: rgba(255, 255, 255, .88); -webkit-backdrop-filter: saturate(1.2) blur(16px); backdrop-filter: saturate(1.2) blur(16px);
  border-bottom: 1px solid #ececec;
}
.wordmark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.wordmark__logo { display: block; height: 40px; width: auto; }
.wordmark__logo--s { height: 30px; }
.wordmark__name { font-size: 22px; font-weight: 400; letter-spacing: -0.02em; }
.wordmark__by { font-size: 12px; color: var(--muted); }
.topnav { display: flex; justify-content: center; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.topnav::-webkit-scrollbar { display: none; }
.topnav a { padding: 8px 15px; border-radius: 999px; font-size: 15px; font-weight: 450; text-decoration: none; color: var(--ink-2); white-space: nowrap; transition: background-color .15s; }
.topnav a:hover { background: #f2f2f2; }
.topnav a[aria-current] { background: var(--ink); color: var(--paper); }
.usermenu { position: relative; }
.usermenu summary { list-style: none; cursor: pointer; border-radius: 50%; }
.usermenu summary::-webkit-details-marker { display: none; }
.usermenu__avatar { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--olive); color: var(--ink); font-size: 14px; font-weight: 600; letter-spacing: .02em; }
.usermenu__sheet { position: absolute; right: 0; top: calc(100% + 10px); width: 260px; padding: 8px; border-radius: 20px; background: var(--paper); box-shadow: var(--float); display: flex; flex-direction: column; }
.usermenu__who { display: flex; flex-direction: column; padding: 10px 12px 12px; margin: 0 0 4px; border-bottom: 1px solid var(--sand); font-size: 15px; }
.usermenu__who span { color: var(--muted); font-size: 13px; overflow: hidden; text-overflow: ellipsis; }
.usermenu__sheet a, .usermenu__sheet button { display: block; width: 100%; text-align: left; padding: 11px 12px; border-radius: 12px; font: inherit; font-size: 15px; color: var(--ink); background: none; border: 0; text-decoration: none; cursor: pointer; }
.usermenu__sheet a:hover, .usermenu__sheet button:hover { background: var(--linen); }
.subnav { display: flex; gap: 4px; padding: 10px 28px; overflow-x: auto; border-bottom: 1px solid #ececec; }
.subnav a { padding: 7px 14px; border-radius: 999px; font-size: 14px; text-decoration: none; color: var(--ink-2); white-space: nowrap; }
.subnav a[aria-current] { background: var(--sand); color: var(--ink); font-weight: 500; }
.main { max-width: 1260px; margin: 0 auto; padding: 44px 32px 110px; }
.pagehead { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 24px; margin-bottom: 32px; }
.pagehead h1 { margin: 0; }
.pagehead p { margin: 8px 0 0; }
.pagehead__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.pagehead--row { align-items: center; margin-top: 48px; margin-bottom: 20px; }
.pagehead--row h2 { margin: 0; }
.crumb { margin: 0 0 10px !important; font-size: 15px; }
.crumb a { display: inline-flex; align-items: center; gap: 4px; text-decoration: none; color: var(--muted); }
.crumb a:hover { color: var(--ink); }
.crumb .i { width: 16px; height: 16px; }
.panel, .card { background: var(--paper); border-radius: var(--r-l); padding: 28px; margin-bottom: 20px; }
.panel h2, .card h2 { font-size: 1.2rem; font-weight: 500; }
.panel--form { max-width: 820px; }
.bigline { font-family: var(--serif); font-size: 1.75rem; font-weight: 300; line-height: 1.2; margin-bottom: 14px; }
.meter { height: 8px; border-radius: 99px; background: var(--sand); overflow: hidden; margin: 6px 0 10px; }
.meter span { display: block; height: 100%; background: var(--ink); border-radius: 99px; }
.twocol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.empty { max-width: 640px; margin: 24px auto; padding: 64px 40px; text-align: center; background: var(--paper); border-radius: var(--r-l); }
.empty h2 { font-family: var(--serif); font-weight: 300; font-size: 2.2rem; }
.empty p { color: var(--ink-2); }
.empty__kicker { font-size: 14px; color: var(--muted) !important; margin-bottom: 8px; }
.empty .btn { margin-top: 8px; }

/* Tabellen en cijfers */
.tablewrap { background: var(--paper); border-radius: var(--r); padding: 6px 18px; overflow-x: auto; margin-bottom: 20px; }
.table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table th { text-align: left; font-size: 13px; font-weight: 500; color: var(--muted); padding: 14px 12px; border-bottom: 1px solid var(--sand-2); white-space: nowrap; }
.table td { padding: 14px 12px; border-bottom: 1px solid #f0f0f0; vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table a { font-weight: 500; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-bottom: 28px; }
.kpi { background: var(--paper); border-radius: var(--r); padding: 20px 22px; display: flex; flex-direction: column; gap: 4px; }
.kpi__label { font-size: 14px; color: var(--muted); }
.kpi__value { font-size: 2.1rem; font-weight: 300; letter-spacing: -0.02em; line-height: 1.1; }
.kpi__value--s { font-size: 1.5rem; }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 6px 20px; margin: 0; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; }
.dash__list { list-style: none; margin: 0; padding: 0; }
.dash__list li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; padding: 12px 0; border-bottom: 1px solid var(--sand); }
.tabs, .seg { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--sand); }
.tabs a, .seg a { display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 0 16px; border-radius: 999px; font-size: 15px; text-decoration: none; color: var(--ink-2); white-space: nowrap; }
.tabs a[aria-current], .seg a[aria-current] { background: var(--paper); color: var(--ink); font-weight: 500; box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
.seg small { font-size: 12px; color: var(--muted); }

/* Uitklapbare kaarten (instellingen, gevaar) */
.settings, .card--fold { background: var(--paper); border-radius: var(--r-l); margin-bottom: 16px; padding: 0; }
.settings > summary, .card--fold > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 26px; cursor: pointer; list-style: none; font-weight: 500; }
.settings > summary::-webkit-details-marker, .card--fold > summary::-webkit-details-marker { display: none; }
.card--fold > summary .i { transition: transform .2s var(--ease); color: var(--muted); }
.card--fold[open] > summary .i { transform: rotate(90deg); }
.settings > :not(summary), .card--fold > :not(summary) { margin: 0 26px 26px; }
.settings--danger > summary, .card--danger > summary { color: var(--danger); }
.card--fold .form-grid { grid-template-columns: 1fr; }

/* ---------- Galerijen (fotograaf) ---------- */
.glist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 36px 26px; }
.glist__item { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.glist__cover { display: block; aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden; background: var(--sand); margin-bottom: 14px; }
.glist__cover img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--ease); }
.glist__item:hover .glist__cover img { transform: scale(1.03); }
.glist__nocover { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; height: 100%; color: var(--muted); font-size: 15px; }
.glist__nocover .i { width: 28px; height: 28px; }
.glist__title { font-family: var(--serif); font-size: 1.55rem; font-weight: 300; line-height: 1.15; margin-bottom: 4px; }
.glist__meta { font-size: 14px; color: var(--muted); }

.editor { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 32px; align-items: start; }
.editor__side { position: sticky; top: 92px; }
.chapters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.chapters__tab { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: 999px; font-size: 15px; text-decoration: none; color: var(--ink); background: var(--paper); box-shadow: inset 0 0 0 1px var(--sand-2); cursor: pointer; list-style: none; }
.chapters__tab span { font-size: 13px; color: var(--muted); }
.chapters__tab[aria-current] { background: var(--ink); color: var(--paper); box-shadow: none; }
.chapters__tab[aria-current] span { color: rgba(255, 255, 255, .7); }
.chapters__tab--add { background: transparent; box-shadow: inset 0 0 0 1px var(--sand-2); color: var(--ink-2); }
.chapters__tab--add::-webkit-details-marker { display: none; }
.chapters__tab--add .i { width: 16px; height: 16px; }
.chapters__add { position: relative; }
.pop { position: absolute; z-index: 30; top: calc(100% + 8px); left: 0; width: 300px; padding: 18px; border-radius: 20px; background: var(--paper); box-shadow: var(--float); display: flex; flex-direction: column; gap: 12px; }
.chapterbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin: 14px 0; padding: 12px; border-radius: 18px; background: var(--paper); }
.chapterbar__name { display: flex; gap: 8px; align-items: center; flex: 1 1 320px; }
.chapterbar__name input { min-height: 40px; max-width: 320px; }
.chapterbar__tools { display: flex; flex-wrap: wrap; gap: 8px; }
.dropzone { display: flex; flex-direction: column; align-items: center; gap: 6px; margin: 16px 0 18px; padding: 40px 24px; border-radius: var(--r-l); border: 1.5px dashed #cfcfcf; background: var(--paper); text-align: center; transition: border-color .15s, background-color .15s; }
.dropzone p { margin: 0; }
.dropzone.is-over { border-color: var(--ink); background: #fafafa; }
.dropzone__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--linen); margin-bottom: 6px; }
.dropzone__icon .i { width: 24px; height: 24px; }
.dropzone .btn { margin: 6px 0 4px; }
.dropzone__fine { font-size: 14px; }
.queue { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.qsummary { margin: 0 0 4px; font-weight: 500; }
.qitem { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; padding: 10px 14px; border-radius: 14px; background: var(--paper); font-size: 14px; }
.qitem__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.qitem__status { color: var(--muted); }
.qitem__bar { grid-column: 1 / -1; height: 4px; border-radius: 99px; background: var(--sand); overflow: hidden; }
.qitem__bar span { display: block; height: 100%; width: 0; background: var(--ink); transition: width .2s; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 18px 14px; }
.tile { margin: 0; min-width: 0; }
.tile--new .tile__frame { animation: tile-in .5s var(--ease); }
@keyframes tile-in { from { opacity: 0; transform: scale(.96); } }
.tile__frame { position: relative; display: block; aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: var(--sand); }
.tile__frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tile__badge { position: absolute; left: 8px; bottom: 8px; display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 500; color: var(--paper); background: rgba(0, 0, 0, .55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.tile__badge .i { width: 13px; height: 13px; }
.tile__badge--cover { left: auto; right: 8px; bottom: 8px; background: rgba(255, 255, 255, .92); color: var(--ink); }
.tile__tools { position: absolute; top: 8px; right: 8px; display: flex; gap: 6px; opacity: 0; transform: translateY(-4px); transition: opacity .15s, transform .15s var(--ease); }
.tile__tools form { margin: 0; }
.tile__tools .iconbtn { width: 36px; height: 36px; }
.tile:hover .tile__tools, .tile:focus-within .tile__tools { opacity: 1; transform: none; }
@media (hover: none) { .tile__tools { opacity: 1; transform: none; } }
.tile figcaption { display: flex; flex-direction: column; gap: 6px; padding-top: 8px; }
.tile__name { font-size: 13px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tile__move select { min-height: 34px; padding: 4px 32px 4px 10px; font-size: 13px; border-radius: 10px; background-position: right 12px center; }
.copyrow { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: end; margin-bottom: 14px; }
.copyrow .iconbtn { width: 48px; height: 48px; border-radius: 14px; }
.card__fine { font-size: 14px; margin: 14px 0 0; }

/* ---------- Abonnement, deal en prijzen in de app ---------- */
.pricing__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin-bottom: 18px; }
.plan { display: flex; flex-direction: column; gap: 4px; padding: 26px; border-radius: var(--r-l); background: var(--paper); }
.plan h3 { font-size: 1.15rem; margin-bottom: 6px; }
.plan p { margin: 0 0 6px; }
.plan .btn { margin-top: auto; align-self: stretch; }
.plan__price { font-size: 2rem; font-weight: 300; letter-spacing: -0.02em; line-height: 1.15; }
.plan__price small { display: block; font-size: 14px; color: var(--muted); letter-spacing: 0; }
.plan__price s { font-size: 1.1rem; color: var(--muted); }
.plan__after { font-size: 14px; color: var(--muted); }
.plan--current { box-shadow: inset 0 0 0 2px var(--ink); }
.plan--deal { background: #fafafa; box-shadow: inset 0 0 0 2px var(--olive); }
.deal { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding: 30px 32px; margin-bottom: 20px; border-radius: var(--r-l); background: var(--ink); color: var(--paper); scroll-margin-top: 7.5rem; }
.deal h2 { font-family: var(--serif); font-weight: 300; font-size: 2rem; margin-bottom: 8px; }
.deal__text { flex: 1 1 380px; }
.deal__text p { margin: 0; color: rgba(255, 255, 255, .82); max-width: 56ch; }
.deal__countdown { display: flex; flex-direction: column; align-items: center; padding: 14px 22px; border-radius: 22px; background: rgba(255, 255, 255, .08); }
.deal__label { font-size: 13px; color: rgba(255, 255, 255, .7); }
.deal__big { font-size: 3rem; font-weight: 300; letter-spacing: .02em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.deal__units { display: flex; justify-content: space-between; width: 100%; font-size: 12px; color: rgba(255, 255, 255, .7); }

/* ---------- Afdrukken, tegoed, verkopen ---------- */
.products { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.products--list { grid-template-columns: 1fr; }
.product { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-radius: var(--r); background: var(--paper); }
.product--off { opacity: .6; }
.product--new { box-shadow: inset 0 0 0 1.5px dashed var(--sand-2); }
.product__actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.labo { display: flex; flex-direction: column; gap: 16px; }
.labo__list { list-style: none; margin: 8px 0 20px; padding: 0; max-width: 520px; }
.labo__list li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--sand); }
.labo__earn { color: var(--ok); font-weight: 600; }
.labo__off { color: var(--muted); }
.labo__price input { max-width: 130px; min-height: 42px; }
.credit { display: flex; flex-direction: column; gap: 4px; padding: 28px; border-radius: var(--r-l); background: var(--ink); color: var(--paper); margin-bottom: 20px; }
.credit__label { color: rgba(255, 255, 255, .75); font-size: 15px; }
.credit__amount { font-size: 3rem; font-weight: 300; letter-spacing: -0.02em; line-height: 1.1; }
.lines { list-style: none; margin: 0 0 16px; padding: 0; }
.line { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--sand); }
.line img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; }
.line__text { flex: 1; display: flex; flex-direction: column; }
.line__qty { color: var(--muted); }
.line__sum { font-weight: 500; }
.line__gone { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 10px; background: var(--sand); font-size: 12px; color: var(--muted); }
.totals { display: flex; flex-direction: column; gap: 6px; }
.total { display: flex; justify-content: space-between; gap: 16px; margin: 0; padding: 10px 0; font-size: 17px; }
.total--sub { color: var(--muted); font-size: 15px; padding: 4px 0; }
.totals__big { font-size: 1.4rem; }
.address__row { display: grid; grid-template-columns: 1fr 1.6fr; gap: 12px; }
.address__row--names { grid-template-columns: 1fr 1fr; }
.adetail { white-space: pre-line; }
.tfa { display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: start; }
.tfa__qr svg { width: 180px; height: 180px; background: #fff; border-radius: 16px; padding: 10px; }
.tfa__secret { word-break: break-all; }
.tfa__steps { padding-left: 20px; }
.cell, .pcell { vertical-align: top; }
.partners { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.partner { padding: 22px; border-radius: var(--r-l); background: var(--paper); }
.partner__head { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-bottom: 10px; }
.partner__facts, .partner__contact { font-size: 15px; color: var(--ink-2); }
.partner__url { word-break: break-all; font-size: 14px; }
.msgs { display: flex; flex-direction: column; gap: 10px; }
.msgs__head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; font-size: 14px; color: var(--muted); }
.msgs__body { white-space: pre-line; }
.attention { padding: 16px 20px; border-radius: var(--r); background: #f3ddd5; margin-bottom: 20px; }
.admin-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; }
.qtybtn { width: 34px; height: 34px; border-radius: 50%; border: 0; background: var(--sand); color: var(--ink); font: inherit; font-size: 18px; cursor: pointer; }

/* ---------- Inloggen en registreren ---------- */
body.auth { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); min-height: 100svh; }
.auth__photo { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.auth__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.auth__box { width: 100%; max-width: 460px; margin: 0 auto; padding: 56px 32px 40px; align-self: center; display: flex; flex-direction: column; gap: 4px; }
.auth__box .wordmark { margin-bottom: 40px; }
.auth__box .wordmark__logo { height: 44px; }
.auth__box h1 { margin-bottom: 8px; }
.auth__box > .muted { margin-bottom: 20px; }
.auth__box .btn { width: 100%; margin-top: 6px; }
body.auth > footer.legal { grid-column: 2; }

/* ---------- Wachtwoordpagina en kleine pagina's van een galerij ---------- */
body.gate { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; }
.gate__box { width: calc(100% - 32px); max-width: 460px; margin: 48px auto; padding: 40px 36px; border-radius: var(--r-l); background: var(--paper); text-align: center; }
.gate__box--wide { max-width: 760px; text-align: left; }
.gate__box .brand { margin-bottom: 28px; }
.gate__title { font-family: var(--serif); font-weight: 300; font-size: 2.4rem; }
.gate__box .stack { text-align: left; margin-top: 20px; }
.gate__hint { font-size: 14px; margin-top: 18px; }
.brand { display: flex; justify-content: center; }
.brand__logo { display: block; max-height: 48px; max-width: 200px; width: auto; }
.brand__name { font-family: var(--serif); font-size: 1.3rem; font-weight: 400; letter-spacing: -0.01em; }

/* ---------- Galerij van de klant ---------- */
body.gallery { background: var(--linen); }
.cover { position: relative; height: 100svh; min-height: 560px; overflow: hidden; color: var(--paper); background: var(--ink); }
.cover__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: cover-in 1.6s var(--ease) both; }
@keyframes cover-in { from { transform: scale(1.06); opacity: .4; } }
.cover::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .45) 0%, rgba(0, 0, 0, 0) 22%, rgba(0, 0, 0, 0) 48%, rgba(0, 0, 0, .62) 100%); pointer-events: none; }
.cover--empty { height: 62svh; min-height: 420px; background: var(--olive); color: var(--ink); }
.cover--empty::after { display: none; }
.cover__top { position: absolute; z-index: 2; top: 28px; left: 0; right: 0; display: flex; justify-content: center; }
.cover .brand__name { color: inherit; }
.brand--light .brand__logo { filter: drop-shadow(0 1px 8px rgba(0, 0, 0, .25)); }
.cover__text { position: absolute; z-index: 2; left: 24px; right: 24px; bottom: max(9vh, 56px); display: flex; flex-direction: column; align-items: center; text-align: center; }
.cover__title { margin: 0 0 14px; font-family: var(--serif); font-weight: 300; font-size: clamp(3rem, 8.5vw, 7.5rem); line-height: .98; letter-spacing: -0.02em; text-wrap: balance; animation: rise .9s .25s var(--ease) both; }
.cover__meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; margin: 0 0 28px; font-size: 16px; letter-spacing: .02em; animation: rise .9s .4s var(--ease) both; }
.cover__enter { animation: rise .9s .55s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
.gbar { position: sticky; top: 0; z-index: 30; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 16px; min-height: 64px; padding: 10px 24px; background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: saturate(1.2) blur(16px); backdrop-filter: saturate(1.2) blur(16px); border-bottom: 1px solid #ececec; }
.gbar .brand { justify-content: flex-start; }
.brand--small .brand__logo { max-height: 34px; }
.brand--small .brand__name { font-size: 1.1rem; }
.gbar__title { font-family: var(--serif); font-size: 1.15rem; font-weight: 300; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gbar__chapters { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; max-width: 56vw; }
.gbar__chapters::-webkit-scrollbar { display: none; }
.gbar__chapters a { padding: 8px 14px; border-radius: 999px; font-size: 15px; text-decoration: none; white-space: nowrap; color: var(--ink-2); }
.gbar__chapters a:hover { background: var(--sand); color: var(--ink); }
.gbar__actions { display: flex; justify-content: flex-end; gap: 8px; }
.count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 99px; background: var(--paper); color: var(--ink); font-size: 12px; font-weight: 600; }
.gmain { max-width: 1720px; margin: 0 auto; padding: 36px 20px 40px; outline: none; scroll-margin-top: 64px; }
.gsec { scroll-margin-top: 84px; }
.gsec + .gsec { margin-top: 80px; }
.gsec__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 20px; margin: 0 4px 22px; }
.gsec__title { margin: 0; font-family: var(--serif); font-weight: 300; font-size: clamp(2rem, 4vw, 3.2rem); letter-spacing: -0.015em; }
.gsec__meta { margin: 0; color: var(--muted); font-size: 15px; display: flex; gap: 16px; align-items: center; }
.gsec__dl { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); font-weight: 500; text-decoration: none; }
.gsec__dl:hover { text-decoration: underline; }
.gsec__dl .i { width: 16px; height: 16px; }
.jgrid { display: flex; flex-wrap: wrap; gap: 8px; }
.jgrid::after { content: ''; flex-grow: 999999; }
.jitem { position: relative; display: block; flex-grow: calc(var(--a) * 100); flex-basis: calc(var(--a) * 250px); aspect-ratio: var(--a); overflow: hidden; border-radius: 6px; background: var(--sand); }
.jitem img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .7s var(--ease), filter .3s; }
.jitem:hover img { transform: scale(1.025); }
.jitem__play { position: absolute; left: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 5px; padding: 5px 11px 5px 9px; border-radius: 999px; font-size: 13px; font-weight: 500; color: var(--paper); background: rgba(0, 0, 0, .5); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.jitem__play .i { width: 14px; height: 14px; fill: currentColor; }
.jgrid__empty { text-align: center; padding: 60px 0; }
.gfoot { text-align: center; padding: 56px 24px 12px; font-size: 15px; color: var(--muted); }
.gfoot p { margin: 0 0 6px; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: var(--night); color: var(--paper); }
.lightbox::backdrop { background: var(--night); }
.lightbox__stage { position: absolute; inset: 0 0 76px; display: flex; align-items: center; justify-content: center; padding: 24px 84px 8px; }
.lightbox__stage img, .lightbox__stage video { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 4px; }
.lb-loading { filter: blur(6px); }
.lightbox__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 20px; }
.lightbox__count { font-size: 14px; color: rgba(255, 255, 255, .7); font-variant-numeric: tabular-nums; }
.lightbox__actions { display: flex; gap: 8px; align-items: center; }
.lbbtn { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 0; font: inherit; font-size: 15px; font-weight: 500; text-decoration: none; color: var(--paper); background: rgba(255, 255, 255, .12); cursor: pointer; transition: background-color .15s; }
.lbbtn:hover { background: rgba(255, 255, 255, .22); }
.lbbtn--accent { background: var(--paper); color: var(--ink); }
.lbbtn--accent:hover { background: #fff; }
.lbbtn--round { width: 44px; padding: 0; justify-content: center; }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 0; color: var(--paper); background: rgba(255, 255, 255, .1); cursor: pointer; }
.lightbox__nav:hover { background: rgba(255, 255, 255, .2); }
.lightbox__nav .i { width: 24px; height: 24px; }
.lightbox__nav--prev { left: 16px; }
.lightbox__nav--next { right: 16px; }
.picker { position: absolute; left: 50%; bottom: 88px; transform: translateX(-50%); width: min(460px, calc(100% - 24px)); padding: 22px; border-radius: 24px; background: var(--paper); color: var(--ink); box-shadow: var(--float); }
.picker__title { font-weight: 500; margin: 0 0 12px; }
.picker__options { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; max-height: 40vh; overflow: auto; }
.picker__options label { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--linen); cursor: pointer; }
.picker__options label > span { display: flex; align-items: center; gap: 10px; }
.picker__options label:has(input:checked) { box-shadow: inset 0 0 0 1.5px var(--ink); }
.picker__row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px; }
.picker__qty { width: 96px; }

/* Winkelmand: een paneel van rechts, op een gsm van onder */
.cart { position: fixed; inset: 0 0 0 auto; width: min(460px, 100%); height: 100%; max-height: none; margin: 0; padding: 26px; border: 0; border-radius: var(--r-l) 0 0 var(--r-l); background: var(--paper); color: var(--ink); overflow-y: auto; box-shadow: var(--float); }
.cart::backdrop { background: rgba(0, 0, 0, .4); }
.cart__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.cart__head h2 { margin: 0; font-family: var(--serif); font-weight: 300; font-size: 1.9rem; }
.cart__lines { list-style: none; margin: 0 0 12px; padding: 0; }
.cart__lines li { display: grid; grid-template-columns: 60px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--sand); }
.cart__lines img { width: 60px; height: 60px; object-fit: cover; border-radius: 10px; }
.cart__empty { display: block !important; color: var(--muted); }
.cline__name { font-size: 15px; }
.cline__ctrl { display: flex; align-items: center; gap: 6px; }
.cline__sum { font-weight: 500; }
.cart h3 { margin-top: 18px; }
.address { display: flex; flex-direction: column; gap: 14px; }

/* ---------- Website ---------- */
body.site { background: var(--linen); }
.display { font-family: var(--sans); font-weight: 300; font-size: clamp(3.6rem, 11vw, 10.5rem); line-height: .9; letter-spacing: -0.05em; margin: 0; }
.display--m { font-size: clamp(3rem, 7.5vw, 6.6rem); }
.hero { position: relative; height: 100svh; min-height: 640px; overflow: hidden; color: var(--paper); background: var(--ink); }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 32%; animation: cover-in 1.8s var(--ease) both; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .42) 0%, rgba(0, 0, 0, .08) 26%, rgba(0, 0, 0, .1) 60%, rgba(0, 0, 0, .5) 100%); pointer-events: none; }
.hero__nav { position: absolute; z-index: 3; top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px clamp(20px, 4vw, 56px); }
.hero__nav .wordmark { color: var(--paper); }
.hero__links { display: flex; align-items: center; gap: 4px; }
.hero__links a:not(.btn) { padding: 8px 14px; border-radius: 999px; font-size: 15px; text-decoration: none; color: var(--paper); }
.hero__links a:not(.btn):hover { background: rgba(255, 255, 255, .14); }
.hero__links .btn { margin-left: 8px; }
.hero__center { position: absolute; z-index: 2; left: 50%; top: 50%; transform: translate(-50%, -46%); width: min(84vw, 1180px); display: flex; flex-direction: column; align-items: center; }
.hero__mark { margin: 0; width: 100%; animation: rise 1.1s .2s var(--ease) both; }
.hero__mark img { display: block; width: 100%; height: auto; filter: drop-shadow(0 2px 30px rgba(0, 0, 0, .18)); }
.hero__line { display: flex; align-items: center; gap: 18px; width: 100%; margin: 6px 0 0; padding-left: 38%; font-size: clamp(13px, 1.25vw, 16px); letter-spacing: .06em; animation: rise 1.1s .45s var(--ease) both; }
.hero__line span { flex: 1; height: 1px; background: rgba(255, 255, 255, .85); }
.hero__foot { position: absolute; z-index: 2; left: 0; right: 0; bottom: 30px; margin: 0; text-align: center; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; animation: rise 1.1s .7s var(--ease) both; }

.band { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 7vw, 120px); align-items: center; padding: clamp(72px, 10vw, 140px) clamp(20px, 7vw, 120px); background: var(--olive); color: var(--ink); }
.band figure { margin: 0; }
.band img { display: block; width: 100%; height: 100%; object-fit: cover; }
.band__a { aspect-ratio: 3 / 4; overflow: hidden; border-radius: 4px; }
.band__b figure { width: 72%; aspect-ratio: 3 / 2; overflow: hidden; border-radius: 4px; margin: 0 0 40px auto; }
.band__b h2 { font-size: clamp(2rem, 3.4vw, 3.1rem); line-height: 1.1; max-width: 18ch; margin-bottom: 18px; }
.band__b p { max-width: 50ch; font-size: 18px; margin: 0; }

.collage { padding: clamp(72px, 10vw, 150px) clamp(20px, 5vw, 80px) clamp(64px, 8vw, 120px); text-align: center; overflow: hidden; }
.collage__photos { position: relative; max-width: 1280px; margin: 0 auto -6vw; aspect-ratio: 16 / 7.4; }
.collage__photos img { position: absolute; display: block; object-fit: cover; border-radius: 3px; box-shadow: 0 20px 50px rgba(0, 0, 0, .14); }
.collage__photos .c1 { left: 0; top: 8%; width: 25%; aspect-ratio: 4 / 3; }
.collage__photos .c2 { left: 17%; top: 46%; width: 21%; aspect-ratio: 16 / 10; z-index: 2; }
.collage__photos .c3 { left: 36%; top: 0; width: 22%; aspect-ratio: 4 / 3.2; }
.collage__photos .c4 { left: 55%; top: 22%; width: 15%; aspect-ratio: 3 / 4.4; z-index: 2; }
.collage__photos .c5 { left: 72%; top: 4%; width: 24%; aspect-ratio: 16 / 10; }
.collage__photos .c6 { left: 79%; top: 50%; width: 21%; aspect-ratio: 4 / 3; z-index: 2; }
.collage .display { position: relative; z-index: 3; }
.collage__text { max-width: 58ch; margin: 34px auto 0; font-size: 18px; color: var(--ink-2); }

.how { padding: clamp(64px, 9vw, 130px) clamp(20px, 7vw, 120px); border-top: 1px solid var(--sand-2); }
.how__steps { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 64px); }
.how__steps h3 { font-family: var(--serif); font-weight: 300; font-size: 1.9rem; margin: 18px 0 10px; }
.how__steps p { color: var(--ink-2); margin: 0; }
.how__n { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--ink); font-size: 18px; font-weight: 300; }

.earn { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 100px); align-items: center; padding: 0 clamp(20px, 7vw, 120px) clamp(72px, 9vw, 130px); }
.earn__img { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r-l); }
.earn__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.earn__text h2 { font-size: clamp(2.2rem, 3.8vw, 3.4rem); line-height: 1.05; margin-bottom: 18px; }
.earn__text p { font-size: 18px; color: var(--ink-2); max-width: 48ch; }

.prices { padding: clamp(64px, 9vw, 130px) clamp(20px, 7vw, 120px); background: var(--paper); }
.prices__lede { max-width: 60ch; font-size: 18px; color: var(--ink-2); margin: 24px 0 40px; }
.prices__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.price { display: flex; flex-direction: column; padding: 28px 26px 26px; border-radius: var(--r-l); background: var(--linen); }
.price h3 { font-size: 1.1rem; font-weight: 500; margin: 0 0 18px; }
.price__amount { font-size: 3.4rem; font-weight: 300; letter-spacing: -0.04em; line-height: 1; margin: 0; }
.price__per { font-size: 14px; color: var(--muted); margin: 6px 0 22px; }
.price__gb { font-size: 17px; margin: 0 0 26px; padding-top: 18px; border-top: 1px solid var(--sand-2); }
.price .btn { margin-top: auto; }
.price--pick { background: var(--ink); color: var(--paper); }
.price--pick .price__per { color: rgba(255, 255, 255, .7); }
.price--pick .price__gb { border-color: rgba(255, 255, 255, .2); }
.price--pick .btn { background: var(--paper); color: var(--ink); }
.prices__note { margin: 28px 0 0; font-size: 1.15rem; font-weight: 300; }

.last { padding: clamp(80px, 12vw, 170px) 24px; text-align: center; }
.last p { font-size: 18px; color: var(--ink-2); margin: 22px 0 28px; }
.site__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 28px clamp(20px, 7vw, 120px); border-top: 1px solid var(--sand-2); }
.site__foot nav { display: flex; flex-wrap: wrap; gap: 4px 22px; font-size: 15px; }
.site__foot nav a { text-decoration: none; color: var(--ink-2); }
.site__foot nav a:hover { color: var(--ink); text-decoration: underline; }

/* Wettelijke voettekst en pagina's */
footer.legal { padding: 22px clamp(20px, 7vw, 120px) 34px; font-size: 13px; color: var(--muted); text-align: center; }
footer.legal nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; margin-bottom: 6px; }
footer.legal a { color: var(--muted); }
body.app footer.legal { border-top: 1px solid var(--sand); }
.legalpage__bar { padding: 22px clamp(20px, 5vw, 56px); }
.legaldoc { max-width: 72ch; margin: 0 auto; padding: 24px 24px 80px; }
.legaldoc h1 { margin-bottom: 8px; }
.legaldoc h2 { font-family: var(--serif); font-weight: 400; font-size: 1.6rem; margin-top: 2em; }
.legaldoc li { margin-bottom: .5em; }
.legaldoc__form { display: flex; flex-direction: column; gap: 16px; margin-top: 20px; padding: 28px; border-radius: var(--r-l); background: var(--paper); }

/* ---------- Kleinere schermen ---------- */
@media (max-width: 1080px) {
  .editor { grid-template-columns: 1fr; }
  .editor__side { position: static; }
  .prices__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .topbar { grid-template-columns: auto auto; grid-template-rows: 60px auto; height: auto; padding: 0 16px; column-gap: 12px; }
  .topnav { grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; margin: 0 -16px; padding: 0 12px 10px; }
  .usermenu { justify-self: end; }
  .main { padding: 28px 18px 90px; }
  .form-grid, .admin-form, .twocol, .trio { grid-template-columns: 1fr; }
  body.auth { grid-template-columns: 1fr; }
  .auth__photo { display: none; }
  body.auth > footer.legal { grid-column: 1; }
  .band, .earn { grid-template-columns: 1fr; }
  .band__b figure { width: 100%; }
  .how__steps { grid-template-columns: 1fr; }
  .collage__photos { aspect-ratio: auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 40px; }
  .collage__photos img { position: static; width: 100% !important; aspect-ratio: 4 / 3 !important; box-shadow: none; }
  .hero__links .hide-s { display: none; }
  .hero__line { padding-left: 0; justify-content: center; }
  .hero__line span { display: none; }
  .gbar { grid-template-columns: auto 1fr; padding: 8px 12px; }
  .gbar .brand { display: none; }
  .gbar__chapters { max-width: none; }
  .gbar__actions .btn span:not(.count) { display: none; }
  .gbar__actions .btn { padding: 0 12px; }
  .gmain { padding: 24px 8px 32px; }
  .jgrid { gap: 4px; }
  .jitem { border-radius: 3px; flex-basis: calc(var(--a) * 150px); }
  .gsec + .gsec { margin-top: 56px; }
  .lightbox__stage { padding: 12px 0 0; }
  .lightbox__nav { display: none; }
  .lbbtn span { display: none; }
  .lbbtn { width: 44px; padding: 0; justify-content: center; }
  .cart { inset: auto 0 0 0; width: 100%; height: auto; max-height: 92svh; border-radius: var(--r-l) var(--r-l) 0 0; }
  .address__row, .address__row--names { grid-template-columns: 1fr; }
  .tfa { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .prices__grid { grid-template-columns: 1fr; }
  .pagehead__actions { width: 100%; }
  .pagehead__actions .btn { flex: 1; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 10px; }
  .cover__meta { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}


/* =====================================================================
   Wit, van dak tot vloer (zoals Zara): alles staat op wit, vlakken scheiden
   met een haarlijn en witruimte, zwart is de enige kleur naast de foto's.
   ===================================================================== */
.panel, .card, .settings, .card--fold, .empty, .tablewrap, .kpi, .plan, .product, .partner,
.legaldoc__form, .chapterbar, .qitem, .gate__box, .pop, .usermenu__sheet, .picker { border: 1px solid var(--line); }
.flash { box-shadow: none; border: 1px solid var(--line); }
.flash--error { border-color: #f1d7d1; }
.chapters__tab { box-shadow: inset 0 0 0 1px var(--sand-2); }
.chapters__tab--add { box-shadow: inset 0 0 0 1px var(--sand-2); }
input:not([type=checkbox]):not([type=radio]):not([type=file]), select, textarea { border-color: #dcdcdc; }
.usermenu__avatar { background: #000; color: #fff; }
.banner { background: #f5f5f5; }
.banner--deal { background: #000; color: #fff; }
.banner--deal a { color: #fff; }
.plan--deal { box-shadow: inset 0 0 0 1.5px #000; }
.deal { background: #000; }
.credit { background: #000; }

/* Navigatie: klein, in hoofdletters, met ruimte ertussen */
.topnav a, .hero__links a:not(.btn), .gbar__chapters a, .site__foot nav a { font-size: 12.5px; letter-spacing: .09em; text-transform: uppercase; font-weight: 450; }
.topnav a { padding: 9px 14px; }
.topbar { border-bottom: 1px solid var(--line); }

/* Koppen nog lichter en groter */
h1 { font-weight: 300; letter-spacing: -0.035em; }
.glist__title, .gsec__title, .cover__title, .bigline, .empty h2, .gate__title, .cart__head h2, .deal h2, .legaldoc h2, .serif { font-family: var(--sans); font-weight: 300; letter-spacing: -0.025em; }
.cover__title { font-weight: 200; letter-spacing: -0.04em; }

/* Website */
.band { background: #fff; border-top: 1px solid var(--line); }
.band__a, .band__b figure, .earn__img { border-radius: 0; }
.band__b h2, .earn__text h2 { font-weight: 300; }
.collage__photos img { box-shadow: none; border-radius: 0; }
.prices { background: #fff; border-top: 1px solid var(--line); }
.price { background: #fff; border: 1px solid var(--line); }
.price--pick { background: #000; border-color: #000; }
.how { border-top: 1px solid var(--line); }
.site__foot { border-top: 1px solid var(--line); }

/* Galerij van de klant: een strakke fotowand, zonder rondingen */
.cover--empty { background: #f2f2f2; color: #000; }
.gbar { border-bottom: 1px solid var(--line); }
.jgrid { gap: 4px; }
.jitem { border-radius: 0; background: #f2f2f2; }
.tile__frame, .glist__cover { border-radius: 12px; }

/* Twee duidelijke wegen op de homepage: de klant naar zijn foto's, de fotograaf naar uitleg */
.hero__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 40px 0 0; animation: rise 1.1s .6s var(--ease) both; }
.cover__enter .i, .hero__cta .i { width: 20px; height: 20px; }
@media (max-width: 860px) { .hero__cta { margin-top: 28px; } .hero__cta .btn { min-width: 220px; } }


/* =====================================================================
   Homepage: de witte tafel. Geen foto over het hele scherm, maar foto's
   die landen waar je beweegt of tikt. Het logo keert om waar een foto ligt.
   ===================================================================== */
.hero { background: #fff; color: #000; isolation: isolate; cursor: crosshair; touch-action: pan-y; }
.hero::after { display: none; }
.hero__table { position: absolute; inset: 0; z-index: 1; overflow: hidden; }
.print { position: absolute; left: calc(var(--x) * 1%); top: calc(var(--y) * 1%); width: calc(var(--w) * 1vw); height: auto; max-width: none; transform: translate(-50%, -50%); object-fit: cover; background: #f2f2f2; user-select: none; -webkit-user-drag: none; pointer-events: none; }
.print--in { animation: print-in .32s var(--ease) both; }
@keyframes print-in { from { opacity: 0; transform: translate(-50%, -50%) scale(.94); } }
.hero__ink { position: absolute; inset: 0; z-index: 2; color: #fff; mix-blend-mode: difference; pointer-events: none; }
.hero__ink a { pointer-events: auto; }
.hero__nav { z-index: auto; padding-right: calc(clamp(20px, 4vw, 56px) + 150px); }
.hero__nav .wordmark, .hero__links a:not(.btn) { color: #fff; }
.hero__links a:not(.btn):hover { background: none; text-decoration: underline; text-underline-offset: 6px; }
.hero__center { z-index: auto; top: 45%; transform: translate(-50%, -50%); width: min(88vw, 1320px); }
.hero__mark, .hero__line, .hero__foot, .hero__cta { animation: none; }
.hero__mark img { filter: none; }
.hero__line span { background: #fff; }
.hero__hint { position: absolute; left: clamp(20px, 4vw, 56px); bottom: 30px; margin: 0; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; }
.hero__hint::before { content: ''; display: inline-block; width: 8px; height: 8px; margin-right: 10px; border-radius: 50%; background: #fff; }
.hero__hint-touch { display: none; }
.hero__foot { left: auto; right: clamp(20px, 4vw, 56px); text-align: right; }
.hero__start { position: absolute; z-index: 3; top: 18px; right: clamp(20px, 4vw, 56px); cursor: pointer; }
.hero__cta { position: absolute; z-index: 3; left: 0; right: 0; bottom: clamp(76px, 12vh, 130px); margin: 0; }
.hero__cta .btn { cursor: pointer; box-shadow: 0 0 0 1px rgba(255, 255, 255, .6); }
@media (hover: none) { .hero__hint-mouse { display: none; } .hero__hint-touch { display: inline; } }
@media (max-width: 860px) {
  .print { width: calc(var(--wm) * 1vw); }
  .hero__nav { padding-right: calc(20px + 128px); }
  .hero__center { top: 40%; width: 90vw; }
  .hero__line { font-size: 12px; }
  .hero__cta { flex-direction: column; align-items: center; bottom: 92px; gap: 10px; }
  .hero__hint { left: 0; right: 0; bottom: 52px; text-align: center; }
  .hero__foot { left: 0; right: 0; bottom: 22px; text-align: center; font-size: 11px; letter-spacing: .1em; }
}


/* Homepage: kleine tekst altijd leesbaar. Zwevende balk met knoppen bovenaan, labels op witte pillen. */
.chip { display: inline-flex; align-items: center; min-height: 34px; padding: 0 16px; border-radius: 999px; background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 0 0 1px rgba(0, 0, 0, .06), 0 6px 20px rgba(0, 0, 0, .08); color: #000; font-size: 12.5px; letter-spacing: .09em; text-transform: uppercase; font-weight: 450; }
.hero__ink { display: grid; place-items: center; padding-bottom: 16vh; }
.hero__mark { width: min(88vw, 1320px); }
.hero__bar { position: absolute; z-index: 4; top: 16px; left: 50%; transform: translateX(-50%); width: min(calc(100% - 32px), 1180px); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; padding: 8px 8px 8px 22px; border-radius: 999px; background: rgba(255, 255, 255, .9); -webkit-backdrop-filter: saturate(1.4) blur(18px); backdrop-filter: saturate(1.4) blur(18px); box-shadow: 0 0 0 1px rgba(0, 0, 0, .06), 0 10px 34px rgba(0, 0, 0, .1); cursor: default; }
.hero__bar .wordmark { color: #000; justify-self: start; }
.hero__bar .hero__links { gap: 2px; }
.hero__bar .hero__links a { padding: 9px 16px; border-radius: 999px; color: #000; text-decoration: none; transition: background-color .15s; }
.hero__bar .hero__links a:hover { background: #f0f0f0; text-decoration: none; }
.hero__actions { display: flex; justify-self: end; gap: 6px; }
.hero__below { position: absolute; z-index: 3; left: 0; right: 0; bottom: clamp(84px, 13vh, 140px); display: flex; flex-direction: column; align-items: center; gap: 22px; pointer-events: none; }
.hero__below > * { pointer-events: auto; }
.hero__line { width: auto; margin: 0; padding: 0 18px; }
.hero__cta { position: static; margin: 0; }
.hero__cta .btn { box-shadow: 0 0 0 1px rgba(255, 255, 255, .7), 0 8px 24px rgba(0, 0, 0, .12); }
.hero__hint, .hero__foot { position: absolute; z-index: 3; bottom: 24px; margin: 0; }
.hero__hint { left: clamp(16px, 4vw, 56px); }
.hero__hint::before { background: #000; }
.hero__foot { right: clamp(16px, 4vw, 56px); left: auto; }
@media (max-width: 860px) {
  .hero__bar { grid-template-columns: 1fr auto; padding-left: 18px; }
  .hero__bar .hero__links { display: none; }
  .hero__ink { padding-bottom: 30vh; }
  .hero__mark { width: 90vw; }
  .hero__below { bottom: 96px; gap: 16px; }
  .hero__line { font-size: 10.5px; letter-spacing: .06em; padding: 0 12px; min-height: 30px; }
  .hero__cta { flex-direction: column; align-items: center; gap: 10px; }
  .hero__hint { display: none; }
  .hero__foot { left: 50%; right: auto; bottom: 22px; transform: translateX(-50%); white-space: nowrap; font-size: 10.5px; letter-spacing: .06em; padding: 0 12px; min-height: 30px; }
}

/* Tweestapsverificatie: QR links, stappen en code rechts */
.tfa2 { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 40px; align-items: start; }
.tfa2__qr svg { display: block; width: 100%; height: auto; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 14px; }
.tfa2__scan .field__hint { margin-top: 14px; }
.tfa2__secret { word-break: normal; font-size: 0.86rem; letter-spacing: 0.04em; }
.tfa2__steps { margin: 0 0 24px; padding-left: 20px; display: grid; gap: 10px; max-width: 52ch; }
.tfa2__form { display: flex; flex-wrap: wrap; gap: 14px; align-items: end; margin-bottom: 14px; }
.tfa2__code { width: 11ch; font-size: 1.35rem; letter-spacing: 0.3em; text-align: center; font-variant-numeric: tabular-nums; }
@media (max-width: 720px) {
  .tfa2 { grid-template-columns: 1fr; gap: 24px; }
  .tfa2__qr { max-width: 220px; }
}

/* Foutpagina's (404, 500): rustig, met een weg terug */
body.oops { min-height: 100vh; display: flex; flex-direction: column; }
.oops__box { flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 14px; width: min(640px, 100% - 48px); margin: 0 auto; padding: 72px 0; }
.oops__box h1 { margin: 28px 0 0; font-weight: 200; font-size: clamp(2.4rem, 7vw, 4rem); line-height: 1; letter-spacing: -.02em; text-transform: lowercase; }
.oops__box .muted { max-width: 46ch; font-size: 1.05rem; }
.oops__go { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 14px; }

/* Het abonnement dat je op de startpagina koos */
.plan--pick { outline: 2px solid var(--ink); outline-offset: -2px; }
.btn[disabled] { opacity: .45; cursor: default; }

/* Aanraken op gsm: elke knop minstens 44 px hoog */
@media (max-width: 860px) {
  .btn--small { min-height: 44px; }
  .iconbtn { width: 44px; height: 44px; }
  .linkbtn { min-height: 44px; padding: 10px 0; }
  .tile .iconbtn { width: 44px; height: 44px; }
}

/* Beheer: alles in orde is rustig grijs, niet rood */
.attention--ok { background: var(--sand); }
.attention ul { margin: 8px 0 0; padding-left: 18px; display: grid; gap: 8px; }
