/* expertsgroep.nl
   Mobile first from 360px. Every block is one full-width band (.band) with a centred .container.
   The colours of a product page come from the class theme-{product} on <body> (page field Product);
   a band chooses its background with band-white, band-light, band-dark, band-product or band-product-soft. */

/* ------------------------------------------------------------------ fonts (self-hosted, never from Google) */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-display: swap;
    font-weight: 100 900;
    src: url(/fonts/inter-latin-wght-normal.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: 'Inter';
    font-style: normal;
    font-display: swap;
    font-weight: 100 900;
    src: url(/fonts/inter-latin-ext-wght-normal.woff2) format('woff2-variations');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Plus Jakarta Sans';
    font-style: normal;
    font-display: swap;
    font-weight: 600;
    src: url(/fonts/plus-jakarta-sans-latin-600-normal.woff2) format('woff2');
    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: 'Plus Jakarta Sans';
    font-style: normal;
    font-display: swap;
    font-weight: 700;
    src: url(/fonts/plus-jakarta-sans-latin-700-normal.woff2) format('woff2');
    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: 'Plus Jakarta Sans';
    font-style: normal;
    font-display: swap;
    font-weight: 600;
    src: url(/fonts/plus-jakarta-sans-latin-ext-600-normal.woff2) format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Plus Jakarta Sans';
    font-style: normal;
    font-display: swap;
    font-weight: 700;
    src: url(/fonts/plus-jakarta-sans-latin-ext-700-normal.woff2) format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ------------------------------------------------------------------ tokens */
:root {
    /* Experts Groep: black, white and the grey of the X */
    --ink: #16181b;
    --text: #3d4249;
    --muted: #6b7280;
    --line: #e4e6ea;
    --light: #f6f7f8;
    --paper: #ffffff;
    --dark: #16181b;
    --brand-grey: #9d9d9c;
    --focus: rgba(22, 24, 27, .35);

    /* What a product theme overrides */
    --btn-bg: #16181b;
    --btn-ink: #ffffff;
    --btn-hover: #3a3d42;
    --accent: #16181b;
    --label: #6b7280;
    --icon: #16181b;
    --icon-bg: #f6f7f8;
    --stripe: #9d9d9c;
    --soft: #f6f7f8;
    --product-bg: #16181b;
    --product-ink: #ffffff;
    --product-muted: #c9ccd1;
    --product-btn-bg: #ffffff;
    --product-btn-ink: #16181b;
    --product-btn-hover: #e4e6ea;
    --heading-font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

    --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --radius: .5rem;
    --radius-card: .75rem;
    --container: 75rem;
    --gutter: 1.25rem;
    --band-space: 3.5rem;
}

@media (min-width: 48em) {
    :root {
        --gutter: 2rem;
        --band-space: 4.5rem;
    }
}

@media (min-width: 64em) {
    :root {
        --band-space: 6rem;
    }
}

/* Product themes: only the page of that product (body class from the page field Product) */
.theme-fortified-identity {
    --btn-bg: #000000;
    --btn-hover: #3a3635;
    --accent: #000000;
    --icon: #000000;
    --icon-bg: #fbefd3;
    --stripe: #f4c978;
    --soft: #fbefd3;
    --product-bg: #f4c978;
    --product-ink: #000000;
    --product-muted: #231f20;
    --product-btn-bg: #000000;
    --product-btn-ink: #ffffff;
    --product-btn-hover: #3a3635;
}

.theme-mailbox-connector {
    --btn-bg: #2484fb;
    --btn-hover: #1468d6;
    --accent: #2484fb;
    --icon: #2484fb;
    --icon-bg: #e1eaf8;
    --stripe: #2484fb;
    --soft: #e1eaf8;
    --product-bg: #0c3274;
    --product-ink: #ffffff;
    --product-muted: #d4def0;
    --product-btn-bg: #2484fb;
    --product-btn-ink: #ffffff;
    --product-btn-hover: #1468d6;
}

.theme-blazingcms {
    --btn-bg: #e61b1b;
    --btn-hover: #cc1414;
    --accent: #e61b1b;
    --icon: #e61b1b;
    --icon-bg: #fdecec;
    --stripe: #e61b1b;
    --soft: #fdecec;
    --product-bg: #16181b;
    --product-ink: #ffffff;
    --product-muted: #c9ccd1;
    --product-btn-bg: #e61b1b;
    --product-btn-ink: #ffffff;
    --product-btn-hover: #cc1414;
}

.theme-snel-zzp,
.theme-snel-mkb {
    --btn-bg: #0c3274;
    --btn-hover: #0f2744;
    --accent: #0c3274;
    --icon: #0c3274;
    --icon-bg: #eaf0f8;
    --soft: #eaf0f8;
    --product-bg: #0c3274;
    --product-ink: #ffffff;
    --product-muted: #d4def0;
    --product-btn-bg: #ffffff;
    --product-btn-ink: #0c3274;
    --product-btn-hover: #eaf0f8;
    --focus: rgba(12, 50, 116, .25);
    --heading-font: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
}

/* Snel ZZP: red only for the label and a thin line; red reads as an error, so icons stay navy */
.theme-snel-zzp {
    --label: #e30613;
    --stripe: #e30613;
}

/* Snel MKB: green for the label, icons and lines, never for body text */
.theme-snel-mkb {
    --label: #007a34;
    --icon: #009640;
    --icon-bg: #e6f4ec;
    --stripe: #009640;
}

/* ------------------------------------------------------------------ base */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: 1rem;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

body {
    margin: 0;
    font-family: var(--font);
    font-size: 1.0625rem;
    line-height: 1.6;
    color: var(--text);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
}

.page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.site-footer {
    margin-top: auto;
}

h1, h2, h3 {
    margin: 0 0 .5em;
    color: var(--ink);
    font-family: var(--heading-font);
    font-weight: 650;
    text-wrap: balance;
}

h1 {
    font-size: 2.25rem;
    line-height: 1.12;
    letter-spacing: -.025em;
}

h2 {
    font-size: 1.75rem;
    line-height: 1.2;
    letter-spacing: -.02em;
}

h3 {
    font-size: 1.125rem;
    line-height: 1.35;
    letter-spacing: -.01em;
}

@media (min-width: 48em) {
    h1 {
        font-size: 2.875rem;
    }

    h2 {
        font-size: 2rem;
    }
}

@media (min-width: 75em) {
    h1 {
        font-size: 3.25rem;
    }

    h2 {
        font-size: 2.25rem;
    }
}

.theme-snel-zzp h1, .theme-snel-zzp h2, .theme-snel-mkb h1, .theme-snel-mkb h2 {
    font-weight: 700;
}

p, ul, ol, dl {
    margin: 0 0 1em;
}

a {
    color: var(--ink);
    text-underline-offset: .2em;
}

a:hover {
    color: var(--accent);
}

:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px var(--focus);
    border-radius: .25rem;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

picture {
    display: block;
}

.skip-link {
    position: absolute;
    left: 1rem;
    top: -10rem;
    z-index: 10;
    padding: .75rem 1rem;
    background: var(--ink);
    color: #fff;
    border-radius: var(--radius);
}

.skip-link:focus {
    top: 1rem;
    color: #fff;
}

/* ------------------------------------------------------------------ bands */
.band {
    padding: var(--band-space) 0;
    background: var(--paper);
    /* The band sets its own colours (a dark or product band redefines them), so its text follows */
    color: var(--text);
}

.band-light {
    background: var(--light);
}

.band-dark {
    --ink: #ffffff;
    --text: #d5d8dd;
    --muted: #a3a9b2;
    --line: #2f343b;
    --accent: #ffffff;
    --label: #a3a9b2;
    --icon: #ffffff;
    --icon-bg: #2a2e35;
    --btn-bg: #ffffff;
    --btn-ink: #16181b;
    --btn-hover: #e4e6ea;
    --focus: rgba(255, 255, 255, .45);
    background: var(--dark);
}

.band-product {
    --ink: var(--product-ink);
    --text: var(--product-ink);
    --muted: var(--product-muted);
    --label: var(--product-muted);
    --accent: var(--product-ink);
    --icon: var(--product-ink);
    --line: rgba(127, 127, 127, .35);
    --btn-bg: var(--product-btn-bg);
    --btn-ink: var(--product-btn-ink);
    --btn-hover: var(--product-btn-hover);
    background: var(--product-bg);
}

.band-product-soft {
    background: var(--soft);
}

/* Two bands of the same colour after each other get a line, so they do not melt together */
.band-white + .band-white,
.band-light + .band-light {
    border-top: 1px solid var(--line);
}

.band-slim {
    padding: 1.5rem 0;
}

.container {
    width: 100%;
    max-width: calc(var(--container) + 2 * var(--gutter));
    margin: 0 auto;
    padding: 0 var(--gutter);
}

.band-head {
    max-width: 42rem;
    margin-bottom: 2rem;
}

@media (min-width: 64em) {
    .band-head {
        margin-bottom: 3rem;
    }
}

.band-head > :last-child,
.intro > :last-child {
    margin-bottom: 0;
}

.intro {
    font-size: 1.125rem;
}

.label {
    margin: 0 0 .75rem;
    color: var(--label);
    font-size: .8125rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.note {
    margin: 1rem 0 0;
    color: var(--muted);
    font-size: .875rem;
}

.rich > :last-child {
    margin-bottom: 0;
}

.rich ul, .feature-text ul {
    padding: 0;
    list-style: none;
}

.rich li, .feature-text li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: .5rem;
}

/* A list in rich text is a list of check marks in the colour of the icons */
.rich li::before, .feature-text li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .3em;
    width: 1.1em;
    height: 1.1em;
    background: var(--icon);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
}

.narrow {
    max-width: 42rem;
}

/* ------------------------------------------------------------------ buttons and links */
.actions {
    display: flex;
    flex-direction: column;
    gap: .75rem;
    margin-top: 2rem;
}

@media (min-width: 30em) {
    .actions {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
    }
}

.button,
.button-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    min-height: 3rem;
    padding: .75rem 1.25rem;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 550;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
    transition: background-color .15s, border-color .15s, color .15s;
}

.button {
    background: var(--btn-bg);
    color: var(--btn-ink);
    border: 1px solid var(--btn-bg);
}

.button:hover {
    background: var(--btn-hover);
    border-color: var(--btn-hover);
    color: var(--btn-ink);
}

.button-secondary {
    background: transparent;
    color: var(--ink);
    border: 1px solid var(--line);
}

.band-white .button-secondary,
.band-light .button-secondary {
    background: var(--paper);
}

.button-secondary:hover {
    color: var(--ink);
    border-color: var(--brand-grey);
    background: var(--light);
}

.band-dark .button-secondary:hover,
.band-product .button-secondary:hover {
    background: rgba(255, 255, 255, .08);
}

/* Snel ZZP and Snel MKB: the primary button has an arrow, as in their own application */
.theme-snel-zzp .button::after,
.theme-snel-mkb .button::after {
    content: "→";
}

.more {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-weight: 550;
    font-size: .9375rem;
    text-decoration: none;
}

.more::after {
    content: "→";
    transition: transform .15s;
}

.more:hover {
    text-decoration: underline;
}

.more:hover::after {
    transform: translateX(.2rem);
}

/* A link that makes its whole card clickable */
.stretched::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
}

.band-link {
    margin: 2rem 0 0;
}

.small-link {
    margin: 1.25rem 0 0;
    font-size: .875rem;
}

/* ------------------------------------------------------------------ cards */
.card {
    position: relative;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius-card);
    padding: 1.5rem;
}

@media (min-width: 64em) {
    .card {
        padding: 2rem;
    }
}

.card-grid,
.feature-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
    margin: 0;
    padding: 0;
    list-style: none;
}

@media (min-width: 40em) {
    .card-grid.cols-3,
    .feature-grid.cols-2,
    .feature-grid.cols-3,
    .feature-grid.cols-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 64em) {
    .card-grid,
    .feature-grid {
        gap: 1.5rem;
    }

    .card-grid.cols-3,
    .feature-grid.cols-3 {
        grid-template-columns: repeat(3, 1fr);
    }

    .feature-grid.cols-4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ------------------------------------------------------------------ header */
.site-header {
    padding: 0;
    border-bottom: 1px solid var(--line);
    position: relative;
    z-index: 5;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    min-height: 4.5rem;
}

.header-logo {
    display: block;
    padding: .75rem 0;
}

.header-logo img {
    width: auto;
    height: 2.25rem;
}

.menu-button {
    display: none;
    align-items: center;
    gap: .5rem;
    min-height: 2.75rem;
    padding: .5rem .75rem;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--ink);
    font: inherit;
    font-size: .9375rem;
    font-weight: 550;
    cursor: pointer;
}

.menu-button-icon,
.menu-button-icon::before,
.menu-button-icon::after {
    display: block;
    width: 1.125rem;
    height: 2px;
    background: currentColor;
    border-radius: 1px;
    transition: transform .2s, background-color .2s;
}

.menu-button-icon {
    position: relative;
}

.menu-button-icon::before,
.menu-button-icon::after {
    content: "";
    position: absolute;
    left: 0;
}

.menu-button-icon::before {
    top: -6px;
}

.menu-button-icon::after {
    top: 6px;
}

.is-open .menu-button-icon {
    background: transparent;
}

.is-open .menu-button-icon::before {
    transform: translateY(6px) rotate(45deg);
}

.is-open .menu-button-icon::after {
    transform: translateY(-6px) rotate(-45deg);
}

.header-nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .5rem 1.5rem;
    padding-bottom: .75rem;
}

.menu {
    display: flex;
    flex-wrap: wrap;
    gap: .25rem 1.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.menu a {
    display: inline-block;
    padding: .5rem 0;
    font-size: .9375rem;
    font-weight: 500;
    text-decoration: none;
    border-bottom: 2px solid transparent;
}

.menu a:hover,
.menu a.active {
    color: var(--ink);
    border-bottom-color: var(--ink);
}

.language-switch {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: .8125rem;
    font-weight: 600;
    letter-spacing: .04em;
}

.language-switch li + li::before {
    content: "|";
    color: var(--line);
    padding: 0 .4rem;
}

.language-switch a {
    color: var(--muted);
    text-decoration: none;
    padding: .5rem .125rem;
}

.language-switch a:hover {
    color: var(--ink);
}

.language-switch .current {
    color: var(--ink);
}

@media (min-width: 48em) {
    .header-nav {
        padding-bottom: 0;
        gap: 2rem;
    }

    .header-nav .language-switch {
        padding-left: 1.5rem;
        border-left: 1px solid var(--line);
    }
}

/* With JavaScript the menu folds away on a phone; without it, it stays visible under the logo */
@media (max-width: 47.99em) {
    .has-menu-button .menu-button {
        display: inline-flex;
    }

    .has-menu-button .header-nav {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: .5rem 0 1.25rem;
        border-top: 1px solid var(--line);
    }

    .has-menu-button.is-open .header-nav {
        display: flex;
    }

    .has-menu-button .menu {
        flex-direction: column;
        gap: 0;
    }

    .has-menu-button .menu a {
        display: block;
        padding: .875rem 0;
        font-size: 1.0625rem;
        border-bottom: 1px solid var(--line);
    }

    .has-menu-button .header-nav .language-switch {
        padding-top: 1rem;
    }
}

/* ------------------------------------------------------------------ hero (Opening) */
.hero-compact {
    padding: 3rem 0;
}

@media (min-width: 64em) {
    .hero-large {
        padding: 6.5rem 0;
    }

    .hero-compact {
        padding: 4.5rem 0;
    }
}

.hero-inner {
    display: grid;
    gap: 2.5rem;
    align-items: center;
}

@media (min-width: 60em) {
    .hero-with-visual .hero-inner {
        grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
        gap: 4rem;
    }
}

.hero-text {
    max-width: 42rem;
}

.hero-logo {
    margin-bottom: 1.5rem;
}

.hero-logo img {
    width: auto;
    max-width: 14rem;
    max-height: 3.5rem;
}

.hero-title {
    margin-bottom: .6em;
}

.hero-accent {
    display: block;
    color: var(--accent);
}

.hero-lead {
    font-size: 1.125rem;
}

@media (min-width: 48em) {
    .hero-lead {
        font-size: 1.1875rem;
    }
}

.hero-lead > :last-child {
    margin-bottom: 0;
}

.hero-image img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border: 1px solid var(--line);
    border-radius: var(--radius-card);
    background: var(--light);
}

.image-motif {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 4 / 3;
    background: var(--light);
    border: 1px solid var(--line);
    border-radius: var(--radius-card);
}

.band-light .image-motif {
    background: var(--paper);
}

/* The motif is decoration: on a phone it would only push the content down */
@media (max-width: 59.99em) {
    .image-motif {
        display: none;
    }
}

.motif {
    width: 55%;
    max-width: 16rem;
    fill: none;
    stroke: var(--brand-grey);
    stroke-width: 6;
    stroke-linejoin: round;
}

/* ------------------------------------------------------------------ product cards */
.product-card {
    display: flex;
    flex-direction: column;
    border-top: 3px solid var(--card-stripe, var(--brand-grey));
    transition: border-color .15s;
}

.product-card:hover {
    border-left-color: var(--brand-grey);
    border-right-color: var(--brand-grey);
    border-bottom-color: var(--brand-grey);
}

.stripe-fortified-identity { --card-stripe: #f4c978; }
.stripe-mailbox-connector { --card-stripe: #2484fb; }
.stripe-blazingcms { --card-stripe: #e61b1b; }
.stripe-snel-zzp { --card-stripe: #e30613; }
.stripe-snel-mkb { --card-stripe: #009640; }

.product-card-logo {
    margin-bottom: 1.25rem;
}

.product-card-logo img {
    width: auto;
    max-width: 12rem;
    height: 2.5rem;
    object-fit: contain;
    object-position: left center;
}

.product-card h3 {
    font-size: 1.1875rem;
}

.product-card p {
    flex: 1;
}

.product-card .more {
    margin-top: auto;
}

/* ------------------------------------------------------------------ features (Kenmerken) */
.feature {
    position: relative;
}

.features-cards .feature,
.features-numbered .feature {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius-card);
    padding: 1.5rem;
}

.band-dark.features-cards .feature,
.band-dark.features-numbered .feature {
    background: #1d2024;
}

@media (min-width: 64em) {
    .features-cards .feature,
    .features-numbered .feature {
        padding: 2rem;
    }
}

.with-stripe .feature {
    border-top: 3px solid var(--stripe);
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    margin-bottom: 1.25rem;
    border-radius: var(--radius);
    background: var(--icon-bg);
    color: var(--icon);
}

.feature-icon svg {
    width: 1.375rem;
    height: 1.375rem;
}

.feature h3 {
    margin-bottom: .4rem;
}

.feature-text {
    font-size: 1rem;
}

.feature-text > :last-child {
    margin-bottom: 0;
}

.feature .more {
    position: relative;
    margin-top: 1.25rem;
}

/* Numbered: the layers of a login, 1-2-3 */
.features-numbered .feature-grid {
    counter-reset: feature;
}

.features-numbered .feature {
    counter-increment: feature;
}

.features-numbered .feature::before {
    content: counter(feature);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    margin-bottom: 1.25rem;
    border-radius: 50%;
    background: var(--stripe);
    color: var(--ink);
    font-weight: 700;
}

.theme-mailbox-connector .features-numbered .feature::before,
.theme-blazingcms .features-numbered .feature::before,
.theme-snel-zzp .features-numbered .feature::before,
.theme-snel-mkb .features-numbered .feature::before,
.theme-none .features-numbered .feature::before {
    color: #fff;
}

.features-numbered .feature-icon {
    display: none;
}

/* Compact: a row of short traits, small icon on the left */
.features-compact .feature {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.features-compact .feature-icon {
    flex: none;
    margin: 0;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
}

.features-compact .feature h3 {
    font-size: 1rem;
    margin-bottom: .25rem;
}

.features-compact .feature-text {
    font-size: .9375rem;
    color: var(--muted);
}

.features-open .feature-icon {
    border: 1px solid var(--line);
    background: transparent;
}

/* ------------------------------------------------------------------ text with image */
.text-image-inner {
    display: grid;
    gap: 2.5rem;
    align-items: center;
}

@media (min-width: 60em) {
    .text-image-right .text-image-inner,
    .text-image-motif .text-image-inner {
        grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
        gap: 4rem;
    }

    .text-image-left .text-image-inner {
        grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
        gap: 4rem;
    }

    .text-image-left .text-image-photo {
        order: -1;
    }
}

.text-image-none .text-image-text {
    max-width: 42rem;
}

.text-image-text .actions {
    margin-top: 1.5rem;
}

.text-image-photo img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--radius-card);
    border: 1px solid var(--line);
}

/* ------------------------------------------------------------------ notice (Melding) */
.notice {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: .75rem;
    padding: 1.25rem 1.5rem;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius-card);
}

@media (min-width: 48em) {
    .notice {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 2rem;
    }
}

.notice-notice {
    border-left: 4px solid var(--stripe);
}

.notice-text {
    margin: 0;
}

.notice-text strong {
    color: var(--ink);
    margin-right: .35rem;
}

.notice .more {
    flex: none;
}

.notice-card {
    max-width: 42rem;
    transition: border-color .15s;
}

.notice-card:hover {
    border-color: var(--brand-grey);
}

.notice-card .stretched {
    position: static;
}

/* ------------------------------------------------------------------ call to action (Afsluiter) */
.cta-center .cta-inner {
    text-align: center;
}

.cta-center .cta-inner > * {
    margin-left: auto;
    margin-right: auto;
}

.cta-inner > * {
    max-width: 42rem;
}

.cta-center .actions {
    justify-content: center;
}

.cta-text {
    font-size: 1.125rem;
}

.cta-text > :last-child {
    margin-bottom: 0;
}

.cta-line {
    display: block;
    width: 2.5rem;
    height: 3px;
    margin-bottom: 1.5rem;
    background: var(--stripe);
    border-radius: 2px;
}

.cta-center .cta-line {
    margin-left: auto;
    margin-right: auto;
}

.band-product .small-link a {
    color: var(--product-ink);
}

/* ------------------------------------------------------------------ contact */
.contact-inner {
    display: grid;
    gap: 2.5rem;
}

@media (min-width: 60em) {
    .contact-inner {
        grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
        gap: 4rem;
        align-items: start;
    }
}

.contact-address > :last-child {
    margin-bottom: .5rem;
}

.contact-route {
    margin: 0 0 1.5rem;
}

.contact-rows {
    margin: 0 0 1.5rem;
    border-top: 1px solid var(--line);
}

.contact-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: .25rem 1rem;
    padding: .75rem 0;
    border-bottom: 1px solid var(--line);
}

.contact-row dt {
    color: var(--muted);
}

.contact-row dd {
    margin: 0;
    color: var(--ink);
    font-weight: 500;
}

.contact-row a {
    text-decoration: none;
}

.contact-row a:hover {
    text-decoration: underline;
}

.contact-highlight {
    display: flex;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: var(--dark);
    border-radius: var(--radius-card);
    color: #d5d8dd;
}

.contact-highlight .feature-icon {
    flex: none;
    margin: 0;
    background: #2a2e35;
    color: #fff;
}

.contact-highlight-title {
    margin: 0 0 .25rem;
    color: #fff;
    font-weight: 600;
}

.contact-highlight p:last-child {
    margin-bottom: 0;
    font-size: .9375rem;
}

.contact-form h2 {
    font-size: 1.5rem;
}

/* ------------------------------------------------------------------ form (BlazingForm) */
.blazing-form {
    display: grid;
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.blazing-form-field {
    display: grid;
    gap: .375rem;
}

.blazing-form label {
    color: var(--ink);
    font-size: .9375rem;
    font-weight: 550;
}

/* The normal field style in :where(), so the error style below always wins */
:where(.blazing-form) :where(input:not([type=checkbox]):not([type=radio]), select, textarea) {
    width: 100%;
    min-height: 3rem;
    padding: .75rem 1rem;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--ink);
    font: inherit;
    font-size: 1rem;
}

:where(.blazing-form) textarea {
    min-height: 9rem;
    resize: vertical;
}

:where(.blazing-form) :where(input, select, textarea):focus {
    outline: none;
    border-color: var(--ink);
    box-shadow: 0 0 0 3px var(--focus);
}

:where(.blazing-form) input[type=checkbox],
:where(.blazing-form) input[type=radio] {
    width: 1.125rem;
    height: 1.125rem;
    margin: .2rem .5rem 0 0;
    accent-color: var(--btn-bg);
}

.blazing-form-help {
    color: var(--muted);
    font-size: .875rem;
}

.blazing-form-invalid input,
.blazing-form-invalid select,
.blazing-form-invalid textarea {
    border-color: #b42318;
    background: #fff7f6;
}

.blazing-form-error {
    color: #b42318;
    font-size: .875rem;
}

.blazing-form-error[hidden],
.blazing-form-status[hidden],
.blazing-form-success[hidden] {
    display: none;
}

.blazing-form-status {
    color: var(--muted);
    font-size: .9375rem;
}

.blazing-form-success {
    padding: 1rem 1.25rem;
    background: var(--light);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--ink);
}

.blazing-form-submit {
    justify-self: start;
    min-height: 3rem;
    padding: .75rem 1.5rem;
    background: var(--btn-bg);
    color: var(--btn-ink);
    border: 0;
    border-radius: var(--radius);
    font: inherit;
    font-weight: 550;
    cursor: pointer;
}

.blazing-form-submit:hover {
    background: var(--btn-hover);
}

.blazing-form-submit:disabled {
    opacity: .55;
    cursor: not-allowed;
}

/* ------------------------------------------------------------------ footer */
.site-footer {
    padding: 3.5rem 0 2rem;
    background: var(--paper);
    border-top: 1px solid var(--line);
    font-size: .9375rem;
}

.footer-grid {
    display: grid;
    gap: 2.5rem;
}

@media (min-width: 48em) {
    .footer-grid {
        grid-template-columns: 1.4fr 1fr 1fr;
        gap: 3rem;
    }
}

.footer-logo {
    width: auto;
    height: 2rem;
    margin-bottom: 1rem;
}

.footer-tagline {
    max-width: 22rem;
    color: var(--muted);
}

.footer-address > :last-child {
    margin-bottom: .75rem;
}

.footer-contact a,
.footer-column a {
    text-decoration: none;
    color: var(--text);
}

.footer-contact a:hover,
.footer-column a:hover {
    color: var(--ink);
    text-decoration: underline;
}

.footer-title {
    margin: 0 0 1rem;
    color: var(--ink);
    font-size: .8125rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.footer-column ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-column li {
    margin-bottom: .5rem;
}

.footer-motto {
    margin-top: 1.25rem;
    color: var(--ink);
    font-weight: 600;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .75rem 2rem;
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: .8125rem;
}

.footer-bottom p {
    margin: 0;
}

.footer-registration span + span::before {
    content: "·";
    padding: 0 .5rem;
}

/* ------------------------------------------------------------------ rich text page */
.rich-text h2 {
    margin-top: 0;
}

.rich h3 {
    margin-top: 1.75em;
}

.rich a {
    color: var(--ink);
}

.rich table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5em;
}

.rich th,
.rich td {
    padding: .5rem .75rem;
    border-bottom: 1px solid var(--line);
    text-align: left;
}

@media print {
    .site-header .header-nav,
    .menu-button,
    .site-footer .language-switch {
        display: none;
    }

    .band {
        padding: 1.5rem 0;
    }
}
