/* Wessel Juristen — component stylesheet (prefix wj-). Loads after tokens.css. */

/* ---------- basis ---------- */
body { margin: 0; background: var(--surface); color: var(--ink-muted); font-family: var(--font-body); font-size: 18px; line-height: 23.4px; -webkit-font-smoothing: antialiased; }
.wj-ink { color: var(--ink); }
.wj-muted { color: var(--ink-muted); }
.wj-sans { font-family: var(--font-sans); }
.wj-serif { font-family: var(--font-serif); }
h1, h2, h3, h4, h5, h6, .wj-h { margin: 0; font-family: var(--font-sans); color: var(--ink); font-weight: 600; }
a.wj-a { color: var(--link); text-decoration: underline; text-underline-offset: 3px; }
.wj-row { display: flex; flex-wrap: wrap; gap: var(--space-4); align-items: center; padding: var(--space-4); }
.wj-stack { display: flex; flex-direction: column; gap: var(--space-4); padding: var(--space-4); }
*:focus-visible { outline: 2px solid transparent; outline-offset: 2px; box-shadow: var(--focus-ring); }

/* ---------- Button ---------- */
.wj-btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); box-sizing: border-box; min-height: 52px; padding: 16px 22px; font-family: var(--font-sans); font-size: 18px; font-weight: 500; line-height: 18px; color: var(--ink); background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow-offset-card); text-decoration: none; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease; }
.wj-btn:hover { transform: translate(2px, 2px); box-shadow: 3px 3px 0 0 var(--helderblauw-50); }
.wj-btn:active { transform: translate(5px, 5px); box-shadow: 0 0 0 0 var(--helderblauw-50); }
.wj-btn:focus-visible { box-shadow: var(--focus-ring); transform: none; }
.wj-btn-primary { background: var(--action); color: var(--on-action); border-color: var(--action); box-shadow: var(--shadow-offset-action); }
.wj-btn-primary:hover { box-shadow: 3px 3px 0 0 var(--groen-50); }
.wj-btn-primary:active { box-shadow: none; }
.wj-btn-primary:focus-visible { box-shadow: var(--focus-ring); }
.wj-btn-secondary { background: var(--surface-raised); color: var(--ink); }
.wj-btn-tint { background: var(--surface-tint); color: var(--ink); box-shadow: var(--shadow-offset-action); }
.wj-btn-link { min-height: 0; padding: 0; border: 0; box-shadow: none; background: transparent; color: var(--link); font-size: 16px; font-weight: 600; line-height: 16px; border-radius: 0; }
.wj-btn-link:hover { transform: none; box-shadow: none; text-decoration: underline; text-underline-offset: 4px; }
.wj-btn-link:active { transform: none; }
.wj-btn-pill { border-radius: var(--radius-pill); border: 0; box-shadow: none; padding: 12px 28px; min-height: 48px; font-weight: 600; }
.wj-btn-pill:hover, .wj-btn-pill:active { transform: none; box-shadow: none; filter: brightness(.96); }
.wj-btn-pill.wj-tone-groen { background: var(--groen); color: var(--blauw); }
.wj-btn-pill.wj-tone-helderblauw { background: var(--helderblauw); color: var(--wit); }
.wj-btn-pill.wj-tone-roze { background: var(--roze); color: var(--wit); font-size: 20px; }
.wj-btn-pill.wj-tone-blauw { background: var(--blauw); color: var(--wit); }
.wj-btn[disabled], .wj-btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }
.wj-btn-block { display: flex; width: 100%; }
.wj-btn .wj-arrow { width: 8px; height: 13px; flex: none; }
.wj-btn-lg { font-size: 20px; padding: 18px 28px; min-height: 58px; }

/* ---------- Headline (tweekleurige kop) ---------- */
.wj-headline { font-family: var(--font-sans); color: var(--ink); font-weight: 600; letter-spacing: -1px; line-height: 1.05; margin: 0; }
.wj-headline .wj-l1, .wj-headline .wj-l2 { display: block; }
.wj-headline .wj-l2 { font-weight: 500; letter-spacing: 0; }
.wj-headline.wj-serif-accent .wj-l2 { font-family: var(--font-serif); font-weight: 700; font-size: 1.04em; line-height: 1; }
.wj-headline.wj-size-display { font-size: 62px; line-height: 68px; }
.wj-headline.wj-size-1 { font-size: 50px; line-height: 1.1; }
.wj-headline.wj-size-2 { font-size: 39px; line-height: 1.2; }
.wj-headline.wj-size-3 { font-size: 31px; line-height: 1.2; letter-spacing: 0; }
.wj-accent-groen { color: var(--groen); }
.wj-accent-roze { color: var(--roze); }
.wj-accent-helderblauw { color: var(--helderblauw); }
.wj-accent-wit { color: var(--wit); }
.wj-accent-ink { color: var(--ink); }
[data-theme="blauw"] .wj-accent-helderblauw { color: var(--groen); } /* helderblauw is 2,3:1 op blauw — in het blauwe thema wordt het accent groen */
.wj-on-blauw { background: var(--blauw); color: var(--wit); }
.wj-on-blauw .wj-headline, .wj-on-blauw h1, .wj-on-blauw h2, .wj-on-blauw h3 { color: var(--wit); }
.wj-subtitle { font-family: var(--font-sans); font-size: 22px; line-height: 1.45; font-weight: 500; color: var(--ink-muted); margin: 0; }
.wj-on-blauw .wj-subtitle { color: var(--blauw-30); }
.wj-lead { font-family: var(--font-sans); font-size: 20px; line-height: 1.45; font-weight: 500; color: var(--ink-muted); margin: 0; }
.wj-body { font-family: var(--font-body); font-size: 18px; line-height: 23.4px; color: var(--ink-muted); margin: 0; }
.wj-caption { font-family: var(--font-sans); font-size: 13px; line-height: 18px; color: var(--ink-soft); margin: 0; }

/* ---------- Card ---------- */
.wj-card { box-sizing: border-box; background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-md) var(--radius-md) var(--radius-lg) var(--radius-lg); box-shadow: var(--shadow-offset-card); padding: 25px 35px; color: var(--ink-muted); }
.wj-card > * + * { margin-top: var(--space-2); }
.wj-card .wj-card-title { font-family: var(--font-body); font-size: 20px; line-height: 22.8px; font-weight: 600; color: var(--ink); margin: 0; }
.wj-card .wj-card-title-lg { font-family: var(--font-body); font-size: 26px; line-height: 31.2px; font-weight: 600; color: var(--ink); margin: 0; }
.wj-card-testimonial { padding: 25px 30px 25px 50px; position: relative; }
.wj-card-testimonial .wj-quote { position: absolute; left: 22px; top: 28px; width: 18px; height: 12px; }
.wj-card-testimonial .wj-stars { display: block; height: 16px; width: auto; }
.wj-card-testimonial .wj-who { display: flex; align-items: center; gap: var(--space-3); margin-top: var(--space-3); }
.wj-card-testimonial .wj-who img, .wj-card-testimonial .wj-who .wj-avatar { width: 42px; height: 42px; border-radius: var(--radius-pill); object-fit: cover; background: var(--groen-30); border: 1px solid var(--line); flex: none; }
.wj-card-testimonial .wj-who strong { font-family: var(--font-sans); font-size: 18px; font-weight: 500; color: var(--ink); }
.wj-card-rating { display: inline-flex; flex-direction: column; gap: 4px; padding: 16px 22px; border-radius: var(--radius-md) var(--radius-md) var(--radius-lg) var(--radius-lg); }
.wj-card-rating .wj-big { font-family: var(--font-sans); font-size: 26px; line-height: 1; font-weight: 600; color: var(--ink); }
.wj-card-rating .wj-small { font-family: var(--font-sans); font-size: 14px; line-height: 1.2; font-weight: 500; color: var(--ink); }
.wj-card-flat { box-shadow: none; }
.wj-card-media { padding: 0; overflow: hidden; }
.wj-card-media img, .wj-card-media .wj-media { display: block; width: 100%; height: 180px; object-fit: cover; background: var(--helderblauw-30); }
.wj-card-media .wj-card-body { padding: 25px 35px; }
.wj-card-media .wj-card-body > * + * { margin-top: var(--space-2); }

/* ---------- IconTile ---------- */
.wj-icontile { display: flex; gap: var(--space-4); align-items: flex-start; padding: var(--space-4); border-radius: var(--radius-md); }
.wj-icontile:hover, .wj-icontile.wj-active { background: var(--groen-30); }
.wj-icontile:hover .wj-icontile-title, .wj-icontile.wj-active .wj-icontile-title, .wj-icontile:hover .wj-icontile-text, .wj-icontile.wj-active .wj-icontile-text { color: var(--blauw); }
.wj-icontile .wj-tile { position: relative; width: 70px; height: 70px; flex: none; }
.wj-icontile .wj-tile > svg, .wj-icontile .wj-tile > img { position: absolute; inset: 0; width: 100%; height: 100%; }
.wj-icontile .wj-tile .wj-icon { position: absolute; left: 50%; top: 50%; width: 41px; height: 41px; transform: translate(-50%, -50%); }
.wj-icontile .wj-icontile-title { font-family: var(--font-body); font-size: 26px; line-height: 31.2px; font-weight: 600; color: var(--ink); margin: 0 0 4px; }
.wj-icontile .wj-icontile-text { font-family: var(--font-body); font-size: 18px; line-height: 23.4px; color: var(--ink); margin: 0; }
.wj-icontile-sm .wj-icontile-title { font-size: 20px; line-height: 22.8px; }
.wj-icontile-sm .wj-icontile-text { color: var(--ink-muted); }

/* ---------- Tabs ---------- */
.wj-tabs { display: flex; gap: var(--space-6); border-bottom: 1px solid var(--line-soft); padding: 0 var(--space-4); }
.wj-tab { appearance: none; background: none; border: 0; border-bottom: 4px solid transparent; padding: 0 0 5px; margin-bottom: -1px; font-family: var(--font-sans); font-size: 18px; font-weight: 500; line-height: 1.5; color: var(--ink-muted); cursor: pointer; border-radius: 2px 2px 0 0; }
.wj-tab:hover { color: var(--ink); }
.wj-tab[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--accent); }
.wj-tabpanel { padding: var(--space-4); }
.wj-tabpanel[hidden] { display: none; }

/* ---------- FormField ---------- */
.wj-field { display: flex; flex-direction: column; gap: var(--space-2); }
.wj-label { font-family: var(--font-sans); font-size: 18px; font-weight: 500; line-height: 1.5; color: var(--ink); }
.wj-label .wj-optional { font-weight: 400; color: var(--ink-soft); font-size: 16px; }
.wj-input, .wj-textarea, .wj-select { box-sizing: border-box; width: 100%; min-height: 53px; padding: 13px 20px; font-family: var(--font-sans); font-size: 18px; line-height: 1.5; color: var(--ink); background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-md); }
.wj-input::placeholder, .wj-textarea::placeholder { color: var(--ink-muted); opacity: 1; }
.wj-textarea { min-height: 120px; resize: vertical; }
.wj-input:focus-visible, .wj-textarea:focus-visible, .wj-select:focus-visible { border-color: var(--focus); }
.wj-field.wj-invalid .wj-input, .wj-field.wj-invalid .wj-textarea, .wj-field.wj-invalid .wj-select { border-color: var(--error-line); box-shadow: inset 0 0 0 1px var(--error-line); }
.wj-hint { font-family: var(--font-sans); font-size: 16px; line-height: 1.5; color: var(--ink-soft); }
.wj-error { display: flex; align-items: center; gap: 6px; font-family: var(--font-sans); font-size: 16px; font-weight: 500; line-height: 1.5; color: var(--ink); }
.wj-error svg { width: 12px; height: 12px; flex: none; }
.wj-choice { display: flex; gap: var(--space-2); flex-wrap: wrap; }
.wj-choice label { position: relative; }
.wj-choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.wj-choice span { display: inline-flex; align-items: center; min-height: 52px; padding: 14px 22px; border-radius: var(--radius-md); border: 1px solid var(--line); background: var(--surface-raised); font-family: var(--font-sans); font-size: 18px; font-weight: 500; color: var(--ink); cursor: pointer; box-shadow: var(--shadow-offset-card); transition: transform .15s ease, box-shadow .15s ease; }
.wj-choice input:checked + span { background: var(--action); color: var(--on-action); border-color: var(--action); box-shadow: var(--shadow-offset-action); }
.wj-choice input:focus-visible + span { box-shadow: var(--focus-ring); }
.wj-form-panel { box-sizing: border-box; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-xl); padding: 45px; }
.wj-form-panel > * + * { margin-top: var(--space-4); }
.wj-form-panel .wj-form-title { font-family: var(--font-sans); font-size: 31px; line-height: 1.2; font-weight: 600; color: var(--ink); margin: 0 0 6px; }
.wj-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
@media (max-width: 640px) { .wj-form-grid { grid-template-columns: 1fr; } .wj-form-panel { padding: 25px; } }

/* ---------- PlusList ---------- */
.wj-pluslist { list-style: none; margin: 0; padding: 0; font-family: var(--font-sans); font-size: 18px; line-height: 1.5; color: var(--ink); }
.wj-pluslist li { display: flex; align-items: flex-start; gap: 14px; padding: 8px 20px; border-radius: var(--radius-pill); }
.wj-pluslist li .wj-plus { width: 12px; height: 12px; flex: none; margin-top: 8px; }
.wj-pluslist-striped li:nth-child(odd) { background: var(--rij-tint); }
.wj-on-blauw .wj-pluslist { color: var(--wit); }
.wj-pluslist-inline li { padding: 0; }

/* ---------- PricingCard ---------- */
.wj-pricing { box-sizing: border-box; display: flex; flex-direction: column; gap: var(--space-5); padding: 40px 30px; text-align: center; border-radius: var(--radius-xl); }
.wj-pricing-featured { background: var(--ink); color: var(--ink-inverse); }
.wj-pricing .wj-pkg { font-family: var(--font-sans); font-weight: 600; font-size: 34px; line-height: 1; color: var(--ink); margin: 0; }
.wj-pricing-featured .wj-pkg { color: var(--ink-inverse); }
.wj-pricing .wj-pkg sup { font-size: .5em; line-height: 0; vertical-align: super; margin-left: 2px; }
.wj-pricing .wj-pkg .wj-pkg-word { display: block; font-weight: 500; }
.wj-pricing .wj-price { font-family: var(--font-sans); color: var(--ink); line-height: 1; margin: 0; }
.wj-pricing-featured .wj-price { color: var(--ink-inverse); }
.wj-pricing .wj-price .wj-euro { font-size: 22px; vertical-align: top; margin-right: 6px; }
.wj-pricing .wj-price .wj-amount { font-size: 50px; font-weight: 600; letter-spacing: -1px; }
.wj-pricing .wj-price .wj-per { display: block; font-size: 16px; font-weight: 500; margin-top: 6px; }
.wj-pricing .wj-pluslist { text-align: left; }
.wj-pricing-featured .wj-pluslist { color: var(--ink-inverse); }
.wj-on-blauw .wj-pluslist-striped li:nth-child(odd) { background: var(--rij-tint-blauw); }
.wj-pricing-featured .wj-pluslist-striped li:nth-child(odd) { background: var(--rij-tint-featured); }
.wj-pricing .wj-btn-pill { align-self: center; min-width: 190px; }

/* ---------- Stamp / avatars ---------- */
.wj-stamp { display: inline-block; width: 160px; height: 160px; }
.wj-stamp svg, .wj-stamp img { width: 100%; height: 100%; display: block; }
.wj-avatar-logo { display: inline-flex; align-items: center; justify-content: center; border-radius: var(--radius-pill); overflow: hidden; }
.wj-avatar-logo.wj-blauw { background: var(--blauw); }
.wj-avatar-logo.wj-wit { background: var(--wit); border: 1px solid var(--blauw-30); }

/* ---------- Navbar ---------- */
.wj-nav { display: flex; align-items: center; gap: 24px; padding: 20px 30px; background: var(--surface); white-space: nowrap; }
.wj-nav .wj-logo { display: block; height: 34px; width: auto; margin-right: auto; }
.wj-nav .wj-logo svg { height: 34px; width: auto; display: block; }
.wj-nav-item { font-family: var(--font-sans); font-size: 18px; font-weight: 500; color: var(--ink-muted); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.wj-nav-item:hover, .wj-nav-item[aria-current="page"] { color: var(--ink); }
.wj-nav-item .wj-chev { width: 10px; height: 6px; }
.wj-nav .wj-sep { width: 1px; height: 24px; background: var(--ink-muted); opacity: .5; }
.wj-nav .wj-phone { font-family: var(--font-sans); font-size: 16px; font-weight: 600; color: var(--ink); text-decoration: underline; text-underline-offset: 4px; white-space: nowrap; }
.wj-nav-menu { list-style: none; margin: 0; padding: 10px 0; background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-md); min-width: 280px; }
.wj-nav-menu a { display: block; padding: 15px 20px; font-family: var(--font-sans); font-size: 16px; color: var(--ink); text-decoration: none; }
.wj-nav-menu a:hover { background: var(--surface-tint); }

/* ---------- Footer ---------- */
.wj-footer { padding: 40px 30px 20px; background: var(--surface); color: var(--ink-muted); font-family: var(--font-body); font-size: 18px; line-height: 23.4px; }
.wj-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: 30px; }
.wj-footer h4 { font-family: var(--font-sans); font-size: 20px; font-weight: 600; color: var(--ink); margin: 0 0 12px; }
.wj-footer ul { list-style: none; margin: 0; padding: 0; }
.wj-footer li + li { margin-top: 6px; }
.wj-footer a { color: var(--ink-muted); text-decoration: none; }
.wj-footer a:hover { color: var(--ink); text-decoration: underline; }
.wj-footer strong { color: var(--ink); font-weight: 700; }
.wj-social { display: inline-flex; gap: 10px; margin-top: 16px; }
.wj-social a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 10%; background: var(--blauw); color: var(--wit); }
.wj-social svg { width: 18px; height: 18px; fill: currentColor; }
.wj-footer-bottom { margin-top: 30px; padding-top: 16px; border-top: 1px solid var(--line-soft); font-family: var(--font-sans); font-size: 14px; color: var(--ink-muted); display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
@media (max-width: 720px) { .wj-footer-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Poster / Hero ---------- */
.wj-poster { position: relative; box-sizing: border-box; width: 360px; height: 520px; background: var(--wit); overflow: hidden; font-family: var(--font-sans); }
.wj-poster .wj-poster-logo { position: absolute; left: 0; right: 0; top: 28px; display: flex; justify-content: center; }
.wj-poster .wj-poster-logo svg { height: 26px; width: auto; }
.wj-poster .wj-poster-photo { position: absolute; left: 0; right: 0; top: 80px; height: 240px; background: var(--helderblauw-30); }
.wj-poster .wj-poster-panel { position: absolute; left: 0; right: 0; bottom: 0; height: 200px; background: var(--blauw); color: var(--wit); padding: 34px 30px 0; border-top-left-radius: 70px 90px; }
.wj-poster .wj-poster-panel .wj-headline { color: var(--wit); font-size: 34px; line-height: 1; letter-spacing: -0.5px; }
.wj-poster .wj-poster-panel .wj-cta { margin-top: 14px; font-size: 14px; }
.wj-poster .wj-poster-panel .wj-cta strong { font-weight: 600; }
.wj-poster .wj-halfcircle { position: absolute; width: 160px; height: 160px; border-radius: var(--radius-pill); }
.wj-poster .wj-halfcircle.wj-top { right: -40px; top: 10px; background: var(--groen); }
.wj-poster .wj-halfcircle.wj-bottom { right: -50px; bottom: -70px; width: 140px; height: 140px; background: var(--groen); }
.wj-poster .wj-poster-url { position: absolute; left: 24px; bottom: 26px; display: flex; align-items: center; gap: 10px; color: var(--wit); font-weight: 600; font-size: 16px; }
.wj-poster .wj-poster-url svg { width: 14px; height: 14px; }
.wj-poster.wj-tone-roze .wj-halfcircle { background: var(--roze); }

.wj-hero { display: grid; grid-template-columns: 1.25fr 1fr; gap: 30px; align-items: center; padding: 40px 30px; }
.wj-hero .wj-hero-copy > * + * { margin-top: var(--space-5); }
.wj-hero .wj-hero-art { position: relative; min-height: 320px; }
.wj-hero .wj-hero-art .wj-blob { position: absolute; right: 0; top: 0; width: 260px; height: 320px; }
.wj-hero .wj-hero-art .wj-portrait { position: absolute; right: 60px; bottom: 0; width: 200px; height: 250px; border-radius: 100px 100px 0 0; background: var(--blauw-30); opacity: .9; }
@media (max-width: 760px) { .wj-hero { grid-template-columns: 1fr; } .wj-headline.wj-size-display { font-size: 42px; line-height: 1.1; } }
