:root {
  --bg: #ffffff;
  --bg-alt: #f6f7fb;
  --ink: #0f172a;
  --muted: #64748b;
  --line: #e5e7ef;
  --brand: #4f46e5;
  --brand-2: #06b6d4;
  --brand-ink: #ffffff;
  --card: #ffffff;
  --ok: #059669;
  --err: #dc2626;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 8px 24px rgba(15, 23, 42, .06);
  --shadow-hover: 0 2px 4px rgba(15, 23, 42, .06), 0 16px 40px rgba(79, 70, 229, .16);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.modal-open { overflow: hidden; }
a { color: var(--brand); }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .5em; }

.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.container--narrow { max-width: 760px; }

/* Topbar */
.topbar {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.topbar__inner { display: flex; align-items: center; justify-content: space-between; height: 124px; }
.logo { display: flex; align-items: center; gap: 20px; color: var(--ink); text-decoration: none; }
.logo__mark { flex: none; width: 88px; height: 88px; border-radius: 22px; box-shadow: 0 10px 28px rgba(15, 23, 42, .2); transition: transform .2s ease; }
.logo:hover .logo__mark { transform: rotate(-6deg) scale(1.04); }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__name { font-size: 2.9rem; font-weight: 800; letter-spacing: .06em; }
.logo__sub { margin-top: 10px; font-size: 1.4rem; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 800px) {
  .topbar__inner { height: 96px; }
  .logo { gap: 14px; }
  .logo__mark { width: 64px; height: 64px; border-radius: 16px; }
  .logo__name { font-size: 2.1rem; }
  .logo__sub { margin-top: 7px; font-size: 1rem; letter-spacing: .26em; }
}
@media (max-width: 480px) {
  .topbar__inner { height: 80px; }
  .logo { gap: 12px; }
  .logo__mark { width: 50px; height: 50px; border-radius: 13px; }
  .logo__name { font-size: 1.6rem; }
  .logo__sub { margin-top: 5px; font-size: .75rem; letter-spacing: .24em; }
}
.nav { display: flex; align-items: center; gap: 24px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem; }
.nav a:hover { color: var(--brand); }
@media (max-width: 640px) { .nav a:not(.btn):not(#accountLink) { display: none; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; border-radius: 12px; padding: 13px 22px;
  font: inherit; font-weight: 600; cursor: pointer; text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--brand); color: var(--brand-ink); box-shadow: 0 6px 18px rgba(79, 70, 229, .3); }
.btn--primary:hover { background: #4338ca; }
.btn--primary:disabled { opacity: .6; cursor: progress; }
.btn--ghost { background: transparent; color: var(--ink) !important; border: 1px solid var(--line); }
.btn--ghost:hover { border-color: var(--brand); }
.btn--light { background: #fff; color: var(--ink); }
.btn--small { padding: 8px 14px; font-size: .9rem; }
.btn--block { width: 100%; }

/* Hero */
.hero {
  position: relative; z-index: 5;
  padding: 88px 0 72px;
  background:
    radial-gradient(900px 400px at 15% -10%, rgba(79, 70, 229, .14), transparent 60%),
    radial-gradient(700px 360px at 95% 10%, rgba(6, 182, 212, .14), transparent 60%);
  text-align: center;
}
.hero__inner { max-width: 820px; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 700; color: var(--brand); margin: 0 0 12px; }
.hero h1 { font-size: clamp(2.3rem, 6vw, 4rem); font-weight: 800; }
.grad { background: linear-gradient(90deg, var(--brand), var(--brand-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__lead { font-size: 1.15rem; color: var(--muted); max-width: 640px; margin: 0 auto 32px; }
.hero__search {
  display: flex; align-items: center; gap: 12px;
  max-width: 560px; margin: 0 auto;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 6px 8px 6px 18px; box-shadow: var(--shadow); color: var(--muted);
}
.hero__search:focus-within { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(79, 70, 229, .12); }
.hero__search input { flex: 1; border: 0; outline: 0; font: inherit; font-size: 1.05rem; padding: 12px 0; background: transparent; color: var(--ink); min-width: 0; }
.trust { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 28px; list-style: none; padding: 0; margin: 28px 0 0; color: var(--muted); font-size: .95rem; }
.check { color: var(--ok); font-weight: 700; margin-right: 4px; }

/* Sections */
.section { padding: 72px 0; }
.section--alt { background: var(--bg-alt); }
.section__title { font-size: clamp(1.7rem, 3.5vw, 2.4rem); text-align: center; }
.section__lead { text-align: center; color: var(--muted); margin: 0 0 40px; }

/* Filters */
.filters { margin-bottom: 28px; }
.filters__title { font-size: 1.15rem; margin-bottom: 14px; }
.cats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
@media (max-width: 1000px) { .cats { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .cats { grid-template-columns: repeat(2, 1fr); } }
.cat {
  display: flex; align-items: center; gap: 12px; min-width: 0;
  padding: 12px 14px; border-radius: 14px; cursor: pointer; text-align: left;
  font: inherit; color: var(--ink); background: #fff; border: 1px solid var(--line);
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
.cat:hover { border-color: rgba(79, 70, 229, .5); box-shadow: 0 4px 14px rgba(79, 70, 229, .08); }
.cat:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.cat__icon {
  flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px;
  background: var(--bg-alt); color: var(--brand);
}
.cat__icon svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cat__text { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.cat__name { font-weight: 600; font-size: .92rem; }
.cat__count { font-size: .8rem; color: var(--muted); }
.cat[aria-selected="true"] { border-color: var(--brand); background: rgba(79, 70, 229, .06); box-shadow: 0 0 0 1px var(--brand) inset; }
.cat[aria-selected="true"] .cat__icon { background: var(--brand); color: #fff; }
.filters__bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line);
}
.filters__selects { display: flex; flex-wrap: wrap; gap: 12px; }
.select-field { display: flex; align-items: center; gap: 8px; font-size: .88rem; color: var(--muted); }
select {
  font: inherit; font-size: .9rem; color: var(--ink); cursor: pointer;
  padding: 8px 34px 8px 12px; border-radius: 10px; border: 1px solid var(--line); background-color: #fff;
  -webkit-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
}
select:hover { border-color: rgba(79, 70, 229, .5); }
select:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(79, 70, 229, .14); }
.result-count { color: var(--ink); font-weight: 600; font-size: .95rem; margin: 0; }

/* Grid */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.card {
  position: relative; display: flex; flex-direction: column; gap: 10px;
  text-align: left; font: inherit; color: inherit;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; cursor: pointer; box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover, .card:focus-visible { transform: translateY(-3px); box-shadow: var(--shadow-hover); border-color: rgba(79, 70, 229, .45); outline: none; }
.card__top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.card__cat { font-size: .75rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.badge { font-size: .72rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: #fef3c7; color: #92400e; }
.card__name { font-size: 1.35rem; font-weight: 700; letter-spacing: -0.01em; overflow-wrap: anywhere; margin: 0; }
.card__name .tld { color: var(--brand); white-space: nowrap; }
.card__name--mid { font-size: 1.2rem; }
.card__name--long { font-size: .98rem; letter-spacing: -0.02em; }
.card__desc { color: var(--muted); font-size: .92rem; margin: 0; flex: 1; }
.card__variants {
  align-self: flex-start; margin: 0; padding: 4px 10px; border-radius: 999px;
  background: rgba(79, 70, 229, .08); color: var(--brand); font-size: .8rem; font-weight: 600;
}
.card__bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 12px; border-top: 1px dashed var(--line); margin-top: 4px; }
.card__price { font-weight: 700; font-size: 1.1rem; }
.card__price small { display: block; font-weight: 500; font-size: .75rem; color: var(--muted); }
.card__cta { font-weight: 600; font-size: .9rem; color: var(--brand); white-space: nowrap; }
.card:hover .card__cta { text-decoration: underline; }
.empty { text-align: center; color: var(--muted); padding: 40px 0; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.steps li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.steps__num {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; margin-bottom: 16px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; font-weight: 800;
}
.steps h3 { font-size: 1.15rem; }
.steps p { color: var(--muted); margin: 0; }

/* FAQ */
details { border-bottom: 1px solid var(--line); padding: 18px 0; }
details summary { cursor: pointer; font-weight: 600; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--brand); transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--muted); margin: 12px 0 0; }

/* CTA */
.section--cta { background: linear-gradient(135deg, #1e1b4b, #312e81 50%, #0e7490); color: #fff; }
.cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.cta p { margin: 0; opacity: .85; max-width: 560px; }


/* Modal */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(15, 23, 42, .55); backdrop-filter: blur(4px); animation: fade .2s ease; }
.modal__dialog {
  position: relative; width: 100%; max-width: 560px; max-height: calc(100vh - 32px); overflow-y: auto;
  background: #fff; border-radius: 20px; padding: 32px; box-shadow: 0 30px 80px rgba(15, 23, 42, .35);
  animation: pop .22s ease;
}
.modal__close {
  position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 10px;
  border: 0; background: var(--bg-alt); font-size: 1.4rem; line-height: 1; cursor: pointer; color: var(--muted);
}
.modal__close:hover { color: var(--ink); }
.modal__title { font-size: 1.9rem; margin-bottom: 4px; word-break: break-word; padding-right: 36px; }
.modal__price { color: var(--muted); margin: 0 0 20px; }
.modal__price strong { color: var(--ink); }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.98); } }

.segmented { display: flex; background: var(--bg-alt); border-radius: 12px; padding: 4px; margin-bottom: 20px; }
.segmented label { flex: 1; }
.segmented input { position: absolute; opacity: 0; pointer-events: none; }
.segmented span { display: block; text-align: center; padding: 9px 6px; border-radius: 9px; font-weight: 600; font-size: .92rem; cursor: pointer; color: var(--muted); }
.segmented input:checked + span { background: #fff; color: var(--ink); box-shadow: 0 1px 4px rgba(15, 23, 42, .1); }
.segmented input:focus-visible + span { outline: 2px solid var(--brand); }
.segmented label[hidden] { display: none; }
#leaseField[hidden] { display: none; }
.lease__own { margin: -4px 0 6px; }

.row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 520px) { .row { grid-template-columns: 1fr; } .modal__dialog { padding: 24px 20px; } }
.field { margin-bottom: 14px; }
.field[hidden] { display: none; }
.field label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; padding: 11px 13px;
  border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink);
}
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(79, 70, 229, .14); }
.field .invalid { border-color: var(--err); }
.input-prefix { display: flex; align-items: stretch; }
.input-prefix span { display: grid; place-items: center; padding: 0 14px; background: var(--bg-alt); border: 1px solid var(--line); border-right: 0; border-radius: 10px 0 0 10px; color: var(--muted); font-weight: 600; }
.input-prefix input { border-radius: 0 10px 10px 0; }
.hint { color: var(--muted); font-size: .82rem; }
.hint a { color: var(--brand); }
.variants { background: rgba(79, 70, 229, .06); border: 1px solid rgba(79, 70, 229, .2); border-radius: 12px; padding: 12px 14px; margin-bottom: 14px; }
.variants[hidden] { display: none; }
.variants__head { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-weight: 600; font-size: .92rem; }
.variants__all { background: none; border: 0; padding: 0; color: var(--brand); font: inherit; font-size: .8rem; font-weight: 600; cursor: pointer; white-space: nowrap; }
.variants__all:hover { text-decoration: underline; }
.variants__all[hidden] { display: none; }
.variants__list { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.variants__list label { display: flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px 4px 8px; font-size: .82rem; cursor: pointer; }
.variants__list label:has(input:checked) { border-color: var(--brand); background: rgba(79, 70, 229, .08); color: var(--brand); }
.variants__list input { margin: 0; accent-color: var(--brand); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .85rem; color: var(--muted); margin: 4px 0 18px; }
.consent input { margin-top: 3px; accent-color: var(--brand); }
.form-error { background: #fef2f2; color: var(--err); border-radius: 10px; padding: 10px 14px; font-size: .9rem; }
.form-note { text-align: center; color: var(--muted); font-size: .82rem; margin: 12px 0 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.success { text-align: center; padding: 16px 0; }
.success__icon { width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 16px; display: grid; place-items: center; background: #d1fae5; color: var(--ok); font-size: 2rem; font-weight: 800; }
.success p { color: var(--muted); margin-bottom: 24px; }

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

.consent a { color: var(--brand); }

/* Juridische pagina's */
.legal h1 { font-size: clamp(2rem, 5vw, 2.8rem); font-weight: 800; }
.legal h2 { font-size: 1.25rem; margin: 2.2em 0 .6em; }
.legal p, .legal li { color: #334155; }
.legal ol, .legal ul { padding-left: 1.3em; }
.legal li { margin-bottom: .4em; }
.legal__updated { color: var(--muted); font-size: .9rem; margin-bottom: 2em; }
.legal__box { background: var(--bg-alt); border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; line-height: 1.8; margin: 1em 0; }
.legal__table { width: 100%; border-collapse: collapse; font-size: .95rem; margin: 1em 0; }
.legal__table th, .legal__table td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.legal__table th { background: var(--bg-alt); font-weight: 600; }
@media (max-width: 560px) { .legal__table th:nth-child(2), .legal__table td:nth-child(2) { font-size: .85rem; } }
.legal .eyebrow, .legal .legal__updated { color: var(--brand); }
.legal .legal__updated { color: var(--muted); }

/* Cookiemelding */
.cookiebar {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90;
  max-width: 760px; margin: 0 auto;
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 20px 60px rgba(15, 23, 42, .22);
  transform: translateY(20px); opacity: 0; transition: transform .25s ease, opacity .25s ease;
}
.cookiebar[hidden] { display: none; }
.cookiebar.is-open { transform: none; opacity: 1; }
.cookiebar__inner { padding: 20px 22px; }
.cookiebar__text strong { font-size: 1.05rem; }
.cookiebar__text p { margin: 6px 0 0; color: var(--muted); font-size: .92rem; }
.cookiebar__prefs { display: grid; gap: 10px; margin-top: 14px; }
.cookiebar__prefs[hidden] { display: none; }
.cookiebar__opt { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--muted); background: var(--bg-alt); border-radius: 10px; padding: 10px 12px; cursor: pointer; }
.cookiebar__opt strong { display: block; color: var(--ink); }
.cookiebar__opt input { margin-top: 4px; accent-color: var(--brand); }
.cookiebar__actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; margin-top: 16px; }
.cookiebar__actions [hidden] { display: none; }
@media (max-width: 520px) { .cookiebar__actions .btn { flex: 1 1 100%; } }
.legal code { background: var(--bg-alt); padding: 2px 6px; border-radius: 6px; font-size: .9em; }

/* Domeinkeuze in het contactformulier */
.select--block { width: 100%; font-size: 1rem; padding: 11px 38px 11px 13px; }
select.invalid { border-color: var(--err); }

/* Zoeksuggesties */
.hero__search { position: relative; }
.suggest {
  position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 40;
  max-height: min(420px, 60vh); overflow-y: auto; text-align: left;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, .18); padding: 6px;
}
.suggest[hidden] { display: none; }
.suggest__head { padding: 8px 12px 6px; font-size: .78rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.suggest__item {
  display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 14px; width: 100%;
  padding: 10px 12px; border: 0; border-radius: 10px; background: none; cursor: pointer; text-align: left; font: inherit; color: var(--ink);
}
.suggest__item:hover, .suggest__item.is-active { background: rgba(79, 70, 229, .07); }
.suggest__name { font-weight: 600; font-size: 1rem; overflow-wrap: anywhere; }
.suggest__name mark { background: rgba(6, 182, 212, .18); color: inherit; border-radius: 3px; padding: 0 1px; }
.suggest__meta { font-size: .78rem; color: var(--muted); white-space: nowrap; }
.suggest__price { font-size: .85rem; font-weight: 600; color: var(--brand); white-space: nowrap; }
.suggest__all, .suggest__link {
  display: block; width: 100%; margin-top: 4px; padding: 10px 12px; border: 0; border-top: 1px solid var(--line);
  background: none; font: inherit; font-size: .9rem; font-weight: 600; color: var(--brand); cursor: pointer; text-align: center; border-radius: 0 0 10px 10px;
}
.suggest__all:hover, .suggest__all.is-active, .suggest__link:hover, .suggest__link.is-active { background: rgba(79, 70, 229, .07); }
.suggest__empty { padding: 14px 12px 4px; color: var(--muted); font-size: .92rem; }
.suggest__empty .suggest__link { margin-top: 10px; }
@media (max-width: 560px) { .suggest__meta { display: none; } }

/* Muisaanwijzer achter "Domeinnamen te koop" */
.eyebrow__link { display: inline-flex; align-items: center; gap: 8px; color: inherit; text-decoration: none; }
.eyebrow__link:hover { color: #4338ca; }
.clicker { overflow: visible; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.clicker__arrow { fill: currentColor; fill-opacity: .15; transform-origin: 12px 12px; animation: clicker-tap 2.4s ease-in-out infinite; }
.clicker__rays { animation: clicker-rays 2.4s ease-in-out infinite; }
@keyframes clicker-tap {
  0%, 30%, 100% { transform: translate(0, 0); }
  40% { transform: translate(-1.5px, -1.5px) scale(.9); }
  50% { transform: translate(0, 0); }
}
@keyframes clicker-rays {
  0%, 35% { opacity: 0; }
  45% { opacity: 1; }
  75%, 100% { opacity: 0; }
}

/* Doorzichtige achtergrond homepage (hero) */
.hero__inner { position: relative; z-index: 1; }
.hero__bg {
  position: absolute; inset: 0; overflow: hidden; pointer-events: none;
  -webkit-mask-image: linear-gradient(#000 65%, transparent);
  mask-image: linear-gradient(#000 65%, transparent);
}
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(79, 70, 229, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79, 70, 229, .07) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 70% 65% at 50% 45%, #000 30%, transparent 100%);
  mask-image: radial-gradient(ellipse 70% 65% at 50% 45%, #000 30%, transparent 100%);
}
.hero__blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .35; }
.hero__blob--1 { width: 420px; height: 420px; left: -120px; top: -80px; background: #818cf8; animation: blob 18s ease-in-out infinite; }
.hero__blob--2 { width: 380px; height: 380px; right: -100px; bottom: -120px; background: #22d3ee; animation: blob 22s ease-in-out infinite reverse; }
@keyframes blob { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(40px, 30px) scale(1.1); } }
@media (max-width: 640px) { .hero__blob { opacity: .22; } }

/* Introtekst hero: rustige regelverdeling */
.hero__lead { max-width: 700px; text-wrap: balance; }
@media (min-width: 761px) { .hero__lead { text-wrap: wrap; } }
@media (max-width: 760px) { .br-wide { display: none; } }
.hero__lead-cta { display: block; margin-top: 10px; color: var(--ink); font-weight: 500; }

/* Drijvende extensies (.nl .eu .be .com) */
.drift-tag {
  position: absolute; left: 0; top: var(--y);
  font-weight: 800; letter-spacing: -.02em; color: var(--brand); white-space: nowrap; user-select: none;
  animation: drift var(--dur) linear infinite; animation-delay: var(--delay);
  will-change: transform;
}
.drift-tag > span { display: inline-block; animation: bob var(--bob) ease-in-out infinite; }
.drift-tag--d0 { font-size: 1.3rem; opacity: .07; filter: blur(1px); }
.drift-tag--d1 { font-size: 2rem;   opacity: .10; }
.drift-tag--d2 { font-size: 3rem;   opacity: .13; }
@keyframes drift { from { transform: translateX(-160px); } to { transform: translateX(calc(100vw + 40px)); } }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-12px) rotate(3deg); } }
@media (max-width: 640px) {
  .drift-tag--d0 { opacity: .05; } .drift-tag--d1 { opacity: .06; } .drift-tag--d2 { font-size: 2.2rem; opacity: .07; }
}
@media (prefers-reduced-motion: reduce) { .drift-tag { left: var(--x); } }

/* Extensies vervagen in het midden, zodat de tekst rustig en leesbaar blijft */
.hero__tags {
  position: absolute; inset: 0;
  -webkit-mask-image: radial-gradient(ellipse 34% 42% at 50% 52%, transparent 55%, #000 100%);
  mask-image: radial-gradient(ellipse 34% 42% at 50% 52%, transparent 55%, #000 100%);
}
@media (max-width: 640px) {
  .hero__tags { -webkit-mask-image: radial-gradient(ellipse 60% 40% at 50% 50%, transparent 50%, #000 100%); mask-image: radial-gradient(ellipse 60% 40% at 50% 50%, transparent 50%, #000 100%); }
}

/* Footer: gecentreerd, twee regels */
.footer { padding: 36px 0 32px; border-top: 1px solid var(--line); background: var(--bg-alt); font-size: .9rem; }
.footer__inner { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.footer__links { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; row-gap: 8px; }
.footer__links a { color: var(--ink); text-decoration: none; font-weight: 500; padding: 0 14px; line-height: 1.2; }
.footer__links a + a { border-left: 1px solid var(--line); }
.footer__links a:hover { color: var(--brand); }
.footer__meta { margin: 0; color: var(--muted); font-size: .84rem; }
.footer__sep { margin: 0 8px; opacity: .6; }
@media (max-width: 640px) {
  .footer__links a { padding: 4px 10px; }
  .footer__links a + a { border-left: 0; }
  .footer__meta .footer__sep { display: none; }
  .footer__meta { display: flex; flex-direction: column; gap: 4px; }
}

/* Knop in de bovenbalk van de homepage */
.nav__account::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); margin-right: 7px; vertical-align: 1px; }


/* Lopende biedingen */
.card__bid { align-self: flex-start; margin: 0; padding: 4px 10px 4px 8px; border-radius: 999px; background: #fff7ed; color: #9a3412; font-size: .8rem; font-weight: 600; }
.card__bid::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #f97316; margin-right: 6px; vertical-align: 1px; animation: bidPulse 2s ease-in-out infinite; }
@keyframes bidPulse { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .card__bid::before { animation: none; } }
.modal__bid { display: block; margin-top: 6px; color: #9a3412; font-weight: 600; }

/* Blog */
.nav a[aria-current="page"] { color: var(--brand); }
.blog-hero { padding: 64px 0 8px; text-align: center; background: radial-gradient(60% 80% at 50% 0%, rgba(79, 70, 229, .08), transparent 70%); }
.blog-hero h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); font-weight: 800; }
.blog-hero__lead { color: var(--muted); font-size: 1.1rem; max-width: 640px; margin: 0 auto; }
.blog-list { padding-top: 40px; }
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.post-card {
  display: flex; flex-direction: column; overflow: hidden; color: inherit; text-decoration: none;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.post-card:hover, .post-card:focus-visible { transform: translateY(-3px); box-shadow: var(--shadow-hover); border-color: rgba(79, 70, 229, .45); outline: none; }
.post-card__visual {
  position: relative; display: grid; place-items: center; min-height: 150px; padding: 20px;
  background: linear-gradient(135deg, #1e1b4b, #312e81 55%, #0e7490); color: #fff;
}
.post-card__visual::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px); background-size: 24px 24px; }
.post-card__visual span { position: relative; z-index: 1; font-size: 1.7rem; font-weight: 800; letter-spacing: -0.02em; overflow-wrap: anywhere; text-align: center; }
.post-card__visual b { color: #67e8f9; }
.post-card__body { display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 22px; }
.post-card__meta { font-size: .8rem; color: var(--muted); }
.post-card__cat { font-weight: 700; color: var(--brand); text-transform: uppercase; letter-spacing: .08em; font-size: .74rem; }
.post-card__title { font-size: 1.22rem; font-weight: 700; line-height: 1.25; letter-spacing: -0.01em; }
.post-card__excerpt { color: var(--muted); font-size: .94rem; flex: 1; }
.post-card__cta { font-weight: 600; font-size: .9rem; color: var(--brand); margin-top: 4px; }
.post-card:hover .post-card__cta { text-decoration: underline; }
.post-card--featured { flex-direction: row; margin-bottom: 22px; }
.post-card--featured .post-card__visual { flex: 0 0 44%; min-height: 280px; }
.post-card--featured .post-card__visual span { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.post-card--featured .post-card__body { padding: 36px; justify-content: center; }
.post-card--featured .post-card__title { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.post-card--featured .post-card__excerpt { flex: 0; font-size: 1.02rem; }
@media (max-width: 760px) {
  .post-card--featured { flex-direction: column; }
  .post-card--featured .post-card__visual { flex: none; min-height: 170px; }
  .post-card--featured .post-card__body { padding: 22px; }
  .post-grid { grid-template-columns: 1fr; }
}

.post__crumbs { font-size: .85rem; color: var(--muted); margin-bottom: 24px; }
.post__crumbs a { color: var(--muted); text-decoration: none; }
.post__crumbs a:hover { color: var(--brand); text-decoration: underline; }
.post h1 { font-size: clamp(2rem, 5vw, 2.8rem); font-weight: 800; }
.post__meta { color: var(--muted); font-size: .9rem; margin: 0 0 28px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.post__lead { font-size: 1.15rem; color: var(--ink) !important; line-height: 1.65; }
.post h2 { font-size: 1.4rem; margin: 2em 0 .6em; }
.post p, .post li { color: #334155; font-size: 1.04rem; line-height: 1.75; }
.post ul, .post ol { padding-left: 1.3em; }
.post li { margin-bottom: .5em; }
.post__callout { background: rgba(79, 70, 229, .06); border: 1px solid rgba(79, 70, 229, .2); border-left: 4px solid var(--brand); border-radius: 12px; padding: 18px 22px; margin: 1.8em 0; color: #334155; line-height: 1.7; }
.post__callout ul { margin: .6em 0 0; }
.post__callout li:last-child { margin-bottom: 0; }
.post__checklist { list-style: none; padding-left: 0 !important; }
.post__checklist li { position: relative; padding-left: 28px; }
.post__checklist li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--ok); font-weight: 800; }
.post__sources { margin-top: 3em; padding-top: 1.4em; border-top: 1px solid var(--line); }
.post__sources h2 { font-size: 1rem; margin: 0 0 .6em; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.post__sources li { font-size: .9rem; margin-bottom: .3em; }
.post__cta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
  margin-top: 3em; padding: 30px; border-radius: var(--radius); color: #fff;
  background: linear-gradient(135deg, #1e1b4b, #312e81 50%, #0e7490);
}
.post__cta h2 { margin: 0 0 .3em; font-size: 1.35rem; color: #fff; }
.post__cta p { margin: 0; color: rgba(255, 255, 255, .85); font-size: .98rem; max-width: 460px; }
.post-related { margin-top: 72px; }
.post-related__title { font-size: 1.6rem; margin-bottom: 20px; }
@media (min-width: 761px) { .blog-list .post-grid { grid-template-columns: repeat(2, 1fr); } }
.card__terms { margin: 0; font-size: .84rem; font-weight: 600; color: var(--ink); }

/* Domeinnaam aanbieden (/aanbieden/) */
.sell-hero__cta { margin: 28px 0 0; }
.sell-hero { padding-bottom: 56px; }
.sell-split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.sell-split h2 { font-size: 1.5rem; }
.sell-option { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px 22px; margin-bottom: 14px; }
.sell-option h3 { font-size: 1.1rem; margin: 0 0 6px; }
.sell-option p { margin: 0; color: #334155; }
.sell-list { padding-left: 0; list-style: none; margin: 0 0 16px; }
.sell-list li { position: relative; padding-left: 28px; margin-bottom: 10px; color: #334155; }
.sell-list li::before { content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 800; }
.sell-box { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 32px; }
.sell-box h2 { font-size: 1.5rem; }
.sell-box .field input, .sell-box .field textarea, .sell-box .select--block { width: 100%; }
.sell-login { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
@media (max-width: 800px) { .sell-split { grid-template-columns: 1fr; gap: 24px; } .sell-box { padding: 24px 20px; } }
/* Menu op middelgrote schermen: compacter, Werkwijze en Blog staan ook elders */
@media (max-width: 1040px) and (min-width: 641px) { .nav { gap: 16px; } .nav a { font-size: .9rem; } }
@media (max-width: 900px) and (min-width: 641px) { .nav a[href$="#werkwijze"], .nav a[href="/blog/"] { display: none; } }

/* Verkoopovereenkomst (printbaar formulier) */
.doc__intro { background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 28px; margin-bottom: 40px; }
.doc__intro h1 { margin-top: 0; }
.doc__buttons { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 0; }
.doc__part { border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; margin-bottom: 32px; background: #fff; }
.doc__head { display: flex; justify-content: space-between; gap: 20px; font-size: .85rem; color: #334155; line-height: 1.6; padding-bottom: 16px; border-bottom: 2px solid var(--ink); margin-bottom: 20px; }
.doc__ref { text-align: right; min-width: 200px; }
.doc__title { font-size: 1.35rem !important; margin: 0 0 .6em !important; }
.doc h3 { font-size: 1.02rem; margin: 1.6em 0 .6em; }
.doc h3 small { font-weight: 400; color: var(--muted); }
.doc__small { font-size: .9rem; }
.doc__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 24px; }
.doc__field { display: flex; flex-direction: column; font-size: .8rem; color: var(--muted); }
.doc__field--wide { grid-column: 1 / -1; }
.doc__line { display: block; height: 30px; border-bottom: 1px solid #94a3b8; }
.doc__line--short { width: 180px; margin-left: auto; }
.doc__line--inline { display: inline-block; width: 90px; height: 1.1em; vertical-align: bottom; }
.doc__line--sign { height: 64px; }
.doc__table { width: 100%; border-collapse: collapse; font-size: .85rem; }
.doc__table th { text-align: left; font-weight: 600; padding: 6px 8px; background: var(--bg-alt); border: 1px solid #cbd5e1; vertical-align: bottom; }
.doc__table th small { font-weight: 400; color: var(--muted); }
.doc__table td { height: 34px; border: 1px solid #cbd5e1; }
.doc__choice p { margin: .5em 0; }
.doc__box { display: inline-block; width: 15px; height: 15px; border: 1.5px solid var(--ink); border-radius: 3px; vertical-align: -2px; margin-right: 6px; }
.doc__sub { margin: 4px 0 0 28px; padding: 10px 14px; background: var(--bg-alt); border-radius: 10px; font-size: .9rem; }
.doc__sub p { margin: .3em 0; }
.doc__sign { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.doc__sign p { margin: 0 0 6px; }
.doc__send { margin-top: 24px; padding: 12px 16px; border: 1px dashed #94a3b8; border-radius: 10px; font-size: .9rem; }
.doc__part--terms ul { padding-left: 1.2em; }
@media (max-width: 640px) { .doc__grid, .doc__sign { grid-template-columns: 1fr; } .doc__part { padding: 20px 16px; } .doc__head { flex-direction: column; } .doc__ref { text-align: left; } .doc__line--short { margin-left: 0; } }

@media print {
  @page { size: A4; margin: 14mm 14mm 16mm; }
  body { background: #fff; font-size: 10pt; }
  .topbar, .footer, .no-print, .cookiebar { display: none !important; }
  .section { padding: 0; }
  .container { max-width: none; padding: 0; }
  .doc__part { border: 0; border-radius: 0; padding: 0; margin: 0; }
  .doc__part--terms { break-before: page; font-size: 9pt; }
  .doc__part--terms p, .doc__part--terms li { font-size: 9pt; line-height: 1.45; margin-bottom: .25em; }
  .doc__part--terms h3 { margin: 1em 0 .3em; break-after: avoid; }
  .legal p, .legal li { color: #000; }
  .doc__sign, .doc__table, .doc__choice { break-inside: avoid; }
  .doc h3 { break-after: avoid; }
  a { color: inherit; text-decoration: none; }
}

/* Domeinoverzicht (/domeinen/) en domeinpagina (/domein/naam) */
.dlist-cats { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.dlist-cats a { padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); text-decoration: none; font-size: .9rem; font-weight: 500; background: #fff; }
.dlist-cats a:hover { border-color: var(--brand); color: var(--brand); }
.dlist-cats span { color: var(--muted); font-size: .8rem; margin-left: 2px; }
.dlist { margin-bottom: 40px; scroll-margin-top: 140px; }
.dlist h2, .dlist__title { font-size: 1.35rem; margin-bottom: 14px; }
.dlist__title { margin-top: 8px; }
.dlist__grid { list-style: none; margin: 0 0 32px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.dlist__grid a { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 16px; background: #fff; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.dlist__grid a:hover { border-color: rgba(79, 70, 229, .45); box-shadow: var(--shadow-hover); }
.dlist__grid strong { font-weight: 600; overflow-wrap: anywhere; }
.dlist__grid span { color: var(--muted); font-size: .85rem; white-space: nowrap; }
.dlist__all { margin: 0; font-weight: 600; }
.dpage { padding: 40px 0 64px; background: radial-gradient(900px 400px at 15% -10%, rgba(79, 70, 229, .1), transparent 60%); }
.dpage__grid { display: grid; grid-template-columns: 1fr 340px; gap: 48px; align-items: start; margin-top: 12px; }
.dpage__name { font-size: clamp(2.2rem, 6vw, 3.6rem); font-weight: 800; overflow-wrap: anywhere; }
.dpage__name .tld { color: var(--brand); }
.dpage__sale { display: block; font-size: .42em; font-weight: 700; color: var(--muted); letter-spacing: 0; margin-top: 8px; }
.dpage__lead { font-size: 1.15rem; color: #334155; max-width: 560px; }
.dpage__trust { justify-content: flex-start; margin-top: 20px; }
.dpage__box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px; }
.dpage__label { margin: 0; color: var(--muted); font-size: .85rem; font-weight: 600; }
.dpage__price { margin: 2px 0 14px; font-size: 2rem; font-weight: 800; }
.dpage__price small { font-size: .85rem; font-weight: 500; color: var(--muted); }
.dpage__facts { list-style: none; padding: 0; margin: 0 0 18px; border-top: 1px dashed var(--line); }
.dpage__facts li { padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: .92rem; }
.dpage__lease { margin-top: 10px; }
.dpage__steps { padding-left: 1.2em; }
.dpage__steps li { margin-bottom: .6em; color: #334155; }
@media (max-width: 860px) { .dpage__grid { grid-template-columns: 1fr; gap: 24px; } }
.home-all { margin-top: 20px; text-align: center; }
.home-blog__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.home-blog__grid a { display: flex; flex-direction: column; gap: 6px; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); color: var(--ink); text-decoration: none; font-weight: 700; line-height: 1.3; transition: transform .18s, box-shadow .18s; }
.home-blog__grid a:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.home-blog__grid span { font-size: .72rem; font-weight: 700; color: var(--brand); text-transform: uppercase; letter-spacing: .08em; }
@media (max-width: 900px) { .home-blog__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .home-blog__grid { grid-template-columns: 1fr; } }
