/* --- Skip link --------------------------------------------------------- */
.skip-to-content {
    position: absolute;
    left: 0.75rem;
    top: -120px;
    z-index: 12000;
    padding: 0.65rem 1rem;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Roboto', sans-serif;
    color: #fff;
    background: #1c2063;
    border: 2px solid #e8651a;
    border-radius: 10px;
    text-decoration: none;
    clip: unset;
}

.skip-to-content:focus {
    position: fixed;
    top: 0.75rem;
    outline: none;
}

.skip-to-content:focus-visible {
    box-shadow: 0 0 0 3px rgba(232, 101, 26, 0.5);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* --- Language switcher (zelfde visuele taal als a11y-controls) ---------- */
.sc-lang-switcher {
    position: relative;
    display: inline-block;
    margin-left: 0.65rem;
}

.sc-lang-dropdown {
    position: relative;
}

.sc-lang-dropdown__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    min-height: 2.3rem;
    min-width: 4.6rem;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    border: 1.5px solid rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.12);
    box-shadow:
        0 2px 10px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(0, 0, 0, 0.08) inset;
    color: rgba(255, 255, 255, 0.98);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    cursor: pointer;
    user-select: none;
    border: 0;
    transition:
        background-color 0.16s ease,
        border-color 0.16s ease,
        box-shadow 0.16s ease;
}

.sc-lang-dropdown__toggle:hover {
    background: rgba(255, 255, 255, 0.2);
}

.sc-lang-dropdown__toggle:focus-visible {
    outline: none;
    box-shadow:
        0 0 0 2px rgba(255, 255, 255, 0.95),
        0 0 0 5px rgba(232, 101, 26, 0.55);
}

.sc-lang-dropdown__icon {
    display: inline-flex;
    width: 1rem;
    height: 1rem;
}

.sc-lang-dropdown__icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.sc-lang-dropdown__current {
    min-width: 1.9rem;
    text-align: center;
}

.sc-lang-dropdown__caret {
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 6px solid currentColor;
}

.sc-lang-dropdown:hover .sc-lang-dropdown__caret,
.sc-lang-dropdown:focus-within .sc-lang-dropdown__caret {
    border-top: 0;
    border-bottom: 6px solid currentColor;
}

.sc-lang-dropdown__menu {
    position: absolute;
    top: calc(100% + 0.05rem);
    right: 0;
    min-width: 10.5rem;
    padding: 0.35rem;
    border-radius: 12px;
    border: 1px solid rgba(28, 32, 99, 0.16);
    background: #fcfdfe;
    box-shadow: 0 12px 32px rgba(15, 22, 51, 0.24);
    z-index: 1200;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    pointer-events: none;
    transition: opacity 0.14s ease, transform 0.14s ease, visibility 0.14s ease;
}

.sc-lang-dropdown__menu::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: -8px;
    height: 8px;
}

.sc-lang-dropdown:hover .sc-lang-dropdown__menu,
.sc-lang-dropdown:focus-within .sc-lang-dropdown__menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.sc-lang-dropdown__menu a {
    display: flex;
    align-items: center;
    min-height: 2.35rem;
    padding: 0.45rem 0.65rem;
    border-radius: 9px;
    text-decoration: none;
    color: #243352;
    font-size: 0.92rem;
    font-weight: 700;
}

.sc-lang-dropdown__menu a:hover {
    background: #e8eef6;
}

.sc-lang-dropdown__menu a[aria-current='page'] {
    background: rgba(255, 244, 234, 0.95);
    box-shadow: inset 3px 0 0 rgba(232, 101, 26, 0.95);
    color: #6b2b00;
}

.sc-lang-dropdown__menu a:focus-visible {
    outline: none;
    box-shadow:
        inset 0 0 0 2px rgba(255, 255, 255, 0.95),
        inset 0 0 0 5px rgba(232, 101, 26, 0.5);
}

@media screen and (max-width: 599px) {
    .sc-lang-switcher {
        margin-left: 0;
        margin-top: 0.35rem;
        margin-bottom: 0.4rem;
    }

    .sc-lang-dropdown__menu {
        left: 0;
        right: auto;
    }
}

/* --- Typography scale (basis 100% ≈16px bij standaard browser) --------- */
html {
    font-size: 100%;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

html.a11y-fs-1 {
    font-size: 112.5%;
}

html.a11y-fs-2 {
    font-size: 125%;
}

body {
    line-height: 1.58;
}

@media (max-width: 640px) {
    html {
        font-size: 100%;
    }

    body {
        font-size: 1rem;
        line-height: 1.62;
    }
}

/* --- Standaard: iets hoger contrast kleuren (basis UI) ------------------ */
.welcome-shell .homeContainerText,
.welcome-shell .homeContainerWarnHold > p:not(.home-welcome-lead) {
    color: #294570;
}

.welcome-shell .footerHref:not(a) {
    color: #0f1638;
}

.welcome-shell a.footerHref:link,
.welcome-shell a.footerHref:visited {
    color: #0f2870;
}

.welcome-shell a.footerHref:focus-visible {
    outline: 3px solid #e8651a;
    outline-offset: 3px;
    border-radius: 4px;
}

/* ----- Globale keyboard focus (past bij oranje-accent) ------------ */
:is(a, button, input, textarea, select, summary):focus {
    outline: none;
}

:is(a, button, input, textarea, select, summary):focus-visible {
    outline: 3px solid #c2410c;
    outline-offset: 3px;
    border-radius: 4px;
}

/* ---------- Toegankelijkheid (navbar-trigger + paneel / sheet) --------- */
@media screen and (min-width: 600px) {
    .sc-a11y-toggle--mob {
        display: none !important;
    }

    .sc-a11y-toggle--desk.sc-a11y-nav-ic-btn {
        display: inline-flex;
        position: absolute;
        top: 50%;
        right: clamp(12px, 2.5vw, 18px);
        transform: translateY(-50%);
        z-index: 220;
    }
}

@media screen and (max-width: 599px) {
    .sc-a11y-toggle--desk {
        display: none !important;
    }

    .sc-a11y-toggle--mob.sc-a11y-nav-ic-btn {
        display: inline-flex;
        flex-shrink: 0;
    }
}

.sc-a11y-nav-ic-btn {
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 46px;
    height: 46px;
    margin: 0;
    padding: 0;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.98);
    cursor: pointer;
    touch-action: manipulation;
    box-shadow:
        0 2px 10px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(0, 0, 0, 0.08) inset;
    transition:
        background-color 0.18s ease,
        border-color 0.18s ease,
        box-shadow 0.18s ease,
        transform 0.14s ease;
}

@media (hover: hover) {
    .sc-a11y-nav-ic-btn:hover {
        background: rgba(255, 255, 255, 0.34);
        border-color: rgba(255, 255, 255, 0.75);
        box-shadow:
            0 4px 18px rgba(0, 0, 0, 0.14),
            0 0 0 1px rgba(255, 255, 255, 0.28) inset;
    }

    @media screen and (min-width: 600px) {
        .sc-a11y-toggle--desk.sc-a11y-nav-ic-btn:hover {
            transform: translateY(-50%) scale(1.06);
        }
    }

    @media screen and (max-width: 599px) {
        .sc-a11y-toggle--mob.sc-a11y-nav-ic-btn:hover {
            transform: scale(1.06);
        }
    }
}

.sc-a11y-nav-ic-btn:active {
    transform: scale(0.97);
}

@media screen and (min-width: 600px) {
    .sc-a11y-toggle--desk.sc-a11y-nav-ic-btn:active {
        transform: translateY(-50%) scale(0.97);
    }
}

.sc-a11y-nav-ic-btn:focus-visible {
    outline: none;
    box-shadow:
        0 2px 10px rgba(0, 0, 0, 0.1),
        0 0 0 3px rgba(255, 255, 255, 0.9),
        0 0 0 6px rgba(232, 101, 26, 0.55);
}

.sc-a11y-nav-ic-btn__inner i {
    font-size: 1.38rem;
    line-height: 1;
    vertical-align: middle;
}

.sc-a11y-shell {
    position: fixed;
    inset: 0;
    z-index: 1180;
}

.sc-a11y-shell[hidden] {
    display: none;
}

.sc-a11y-shell:not([hidden]) {
    display: block;
}

.sc-a11y-backdrop {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.22s ease;
}

.sc-a11y-shell:not([hidden]) .sc-a11y-backdrop {
    opacity: 1;
}

@media screen and (max-width: 599px) {
    .sc-a11y-shell .sc-a11y-backdrop {
        background: rgba(15, 22, 51, 0.55);
        backdrop-filter: blur(1px);
    }

    body.sc-a11y-open {
        overflow: hidden;
        overscroll-behavior: contain;
    }
}

@media screen and (min-width: 600px) {
    .sc-a11y-shell .sc-a11y-backdrop {
        background: rgba(15, 22, 51, 0.35);
    }
}

.sc-a11y-panel {
    position: absolute;
    bottom: env(safe-area-inset-bottom, 0);
    left: 0;
    right: 0;
    max-height: min(92vh, 720px);
    margin-inline: auto;
    max-width: 420px;
    border-radius: 18px 18px 0 0;
    background: #fff;
    border: 2px solid rgba(28, 32, 99, 0.18);
    box-shadow:
        0 -12px 40px rgba(28, 32, 99, 0.18),
        0 4px 0 rgba(232, 101, 26, 0.12) inset;
    transform: translateY(104%);
    /* Vaste basis: rem in html loopt op bij a11y-fs-*; dit paneel blijft leesbaar en binnen de card */
    font-size: 16px;
    line-height: 1.45;
    box-sizing: border-box;
}

.sc-a11y-shell:not([hidden]) .sc-a11y-panel {
    transform: translateY(0);
    transition:
        transform 0.26s cubic-bezier(0.32, 0.72, 0, 1),
        opacity 0.2s ease;
}

@media screen and (min-width: 600px) {
    .sc-a11y-panel {
        inset: unset;
        top: calc(54px + 10px + env(safe-area-inset-top, 0));
        right: clamp(12px, 3vw, 24px);
        bottom: auto;
        left: auto;
        margin: 0;
        width: min(300px, calc(100vw - 28px));
        max-width: 300px;
        max-height: min(78vh, 560px);
        border-radius: 14px;
        box-shadow:
            0 12px 42px rgba(28, 32, 99, 0.22),
            0 0 0 1px rgba(28, 32, 99, 0.1) inset;
        transform-origin: top right;
        transform: translateY(-8px);
        opacity: 0;
    }

    .sc-a11y-shell:not([hidden]) .sc-a11y-panel {
        transform: translateY(0);
        opacity: 1;
        transition:
            transform 0.22s cubic-bezier(0.32, 0.72, 0, 1),
            opacity 0.2s ease;
    }

    body.sc-a11y-open {
        overscroll-behavior: contain;
    }
}

.sc-a11y-panel__inner {
    padding: 15px 16px calc(16px + env(safe-area-inset-bottom));
    max-height: min(88vh, 680px);
    min-height: 0;
    overflow-y: auto;
    box-sizing: border-box;
}

.sc-a11y-panel__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 11px;
    margin-bottom: 11px;
    padding-bottom: 9px;
    border-bottom: 1px solid #d9e0eb;
}

.sc-a11y-panel__title {
    margin: 0;
    flex: 1;
    min-width: 0;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.35;
    color: #2c354d;
}

.sc-a11y-panel__close {
    flex-shrink: 0;
    min-width: 48px;
    min-height: 48px;
    margin: -5px -7px -2px 0;
    font-size: 24px;
    line-height: 1;
    padding: 0;
    cursor: pointer;
    border: none;
    background: transparent;
    color: #1c2063;
    border-radius: 10px;
    touch-action: manipulation;
    transition:
        background-color 0.16s ease,
        color 0.16s ease;
}

.sc-a11y-panel__close:focus-visible {
    outline: 3px solid #e8651a;
}

@media (hover: hover) {
    .sc-a11y-panel__close:hover {
        background-color: rgba(236, 240, 248, 0.95);
        color: #0f1a52;
    }
}

.sc-a11y-panel__hint {
    margin: 0 0 13px;
    font-size: 14px;
    line-height: 1.52;
    color: #46608c;
}

.sc-a11y-menu {
    border: 1px solid rgba(28, 32, 99, 0.16);
    border-radius: 10px;
    overflow: hidden;
    background: #fcfdfe;
}

.sc-a11y-menu__sep {
    height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    border-top: 1px solid #dfe6ef;
}

.sc-a11y-menu__subtitle {
    margin: 0;
    padding: 8px 13px 4px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #4a5976;
}

.sc-a11y-fs-list {
    display: flex;
    flex-direction: column;
}

.sc-a11y-row {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-height: 50px;
    padding: 9px 13px;
    margin: 0;
    border: 0;
    border-top: 1px solid rgba(223, 230, 239, 0.85);
    background: transparent;
    font-family: 'Roboto', sans-serif;
    text-align: left;
    cursor: pointer;
    color: #243352;
    font-size: 16px;
    line-height: 1.35;
    transition:
        background-color 0.15s ease,
        box-shadow 0.15s ease;
}

.sc-a11y-fs-list > .sc-a11y-row--fs:first-of-type {
    border-top: none;
}

.sc-a11y-row--hc {
    border-top: none;
}

@media (hover: hover) {
    .sc-a11y-row--hc:hover {
        background-color: #e8eef6;
        box-shadow:
            inset 0 0 0 1px rgba(28, 32, 99, 0.06),
            inset 3px 0 0 rgba(232, 101, 26, 0.45);
    }

    .sc-a11y-row--fs:hover {
        background-color: #e8eef6;
        box-shadow:
            inset 0 0 0 1px rgba(28, 32, 99, 0.06),
            inset 3px 0 0 rgba(232, 101, 26, 0.45);
    }

    /* Actieve tekst-keuze: iets warmere tint bij hover, zichtbaar tegen grijs */
    .sc-a11y-row--fs[aria-pressed='true']:hover,
    .sc-a11y-row--fs.sc-a11y-row--active:hover {
        background-color: #ffe4cf;
        box-shadow:
            inset 4px 0 0 rgba(232, 101, 26, 0.95),
            inset 0 0 0 1px rgba(232, 101, 26, 0.12);
    }
}

.sc-a11y-row__ic {
    flex-shrink: 0;
    display: inline-flex;
    width: 28px;
    justify-content: center;
}

.sc-a11y-row__ic--muted {
    color: #5f6f8f;
}

.sc-a11y-row__ic--muted i {
    font-size: 18px;
}

.sc-a11y-row__label {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 1px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.38;
    overflow-wrap: anywhere;
    word-wrap: break-word;
}

.sc-a11y-row__hint {
    display: block;
    font-size: 12.5px;
    font-weight: 500;
    line-height: 1.42;
    color: #597198;
}

.sc-a11y-row__check {
    flex-shrink: 0;
    width: 21px;
    height: 21px;
    margin-block: auto;
    cursor: pointer;
    accent-color: #e8651a;
}

.sc-a11y-a {
    flex-shrink: 0;
    display: inline-flex;
    width: 28px;
    justify-content: center;
    font-weight: 800;
    line-height: 1;
}

.sc-a11y-a--n {
    font-size: 14px;
}

.sc-a11y-a--g {
    font-size: 19px;
}

.sc-a11y-a--x {
    font-size: 24px;
}

.sc-a11y-row--fs[aria-pressed='true'],
.sc-a11y-row--fs.sc-a11y-row--active {
    background: rgba(255, 244, 234, 0.95);
    box-shadow:
        inset 3px 0 0 rgba(232, 101, 26, 0.95),
        inset 0 0 0 999px rgba(255, 255, 255, 0);
}

.sc-a11y-row--fs[aria-pressed='true'] .sc-a11y-row__label,
.sc-a11y-row--fs.sc-a11y-row--active .sc-a11y-row__label {
    font-weight: 800;
    color: #6b2b00;
}

.sc-a11y-row--fs:focus-visible {
    outline: 3px solid #e8651a;
    outline-offset: -2px;
}

.sc-a11y-live {
    min-height: 22px;
    margin: 12px 0 6px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.42;
    color: #46608c;
    overflow-wrap: anywhere;
}

.sc-a11y-reset {
    margin-top: 8px;
    width: 100%;
    min-height: 46px;
    padding: 0 12px;
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #1c2063;
    background: #fff;
    border: 2px solid rgba(28, 32, 99, 0.28);
    border-radius: 10px;
    cursor: pointer;
    touch-action: manipulation;
    transition:
        background-color 0.16s ease,
        border-color 0.16s ease,
        box-shadow 0.16s ease;
}

@media (hover: hover) {
    .sc-a11y-reset:hover {
        background: #eef2fb;
        border-color: rgba(232, 101, 26, 0.45);
        box-shadow: 0 2px 8px rgba(28, 32, 99, 0.08);
    }
}

@media (prefers-reduced-motion: reduce) {
    .sc-a11y-panel,
    .sc-a11y-backdrop {
        transition: none !important;
    }

    .sc-a11y-nav-ic-btn,
    .sc-a11y-toggle--desk.sc-a11y-nav-ic-btn {
        transition: none;
    }

    .sc-a11y-row,
    .sc-a11y-panel__close,
    .sc-a11y-reset {
        transition: none;
    }

    .sc-a11y-nav-ic-btn:active,
    .sc-a11y-toggle--desk.sc-a11y-nav-ic-btn:active {
        transform: none;
    }

    .sc-a11y-shell:not([hidden]) .sc-a11y-panel {
        opacity: 1;
        transform: none;
    }

    /* Geen subtiele schaal-animation bij hover voor wie weinig beweging wil */
    @media (hover: hover) {
        .sc-a11y-nav-ic-btn:hover {
            transform: none;
        }

        @media screen and (min-width: 600px) {
            .sc-a11y-toggle--desk.sc-a11y-nav-ic-btn:hover {
                transform: translateY(-50%);
            }
        }
    }
}

/* ----- Hoog contrast (globaal, publieke shell) ---------------------------- */
html.a11y-hc body {
    background: #fdfdfd !important;
}

html.a11y-hc .welcome-shell .homeContainerText,
html.a11y-hc .welcome-shell .homeContainerWarnHold > p:not(.home-welcome-lead) {
    color: #0a1020 !important;
}

html.a11y-hc .welcome-shell .home-welcome-lead,
html.a11y-hc .welcome-shell .eq-title {
    color: #000 !important;
}

html.a11y-hc .welcome-shell .eq-panel,
html.a11y-hc .welcome-shell .footerLocation {
    background: #ffffff !important;
    border-color: #000000 !important;
}

html.a11y-hc .welcome-shell .eq-lead,
html.a11y-hc .welcome-shell .eq-field-label,
html.a11y-hc .welcome-shell .prodNameItem {
    color: #0a1020 !important;
}

html.a11y-hc .welcome-shell .eq-select,
html.a11y-hc .welcome-shell button.eq-sheet-select-trigger.eq-select {
    border-color: #000000 !important;
    border-width: 2px !important;
    background: #fff !important;
    color: #000 !important;
}

html.a11y-hc .welcome-shell .eq-btn-primary {
    border: 2px solid #000 !important;
    background: #b53f00 !important;
    color: #fff !important;
}

html.a11y-hc .welcome-shell a.footerHref:link,
html.a11y-hc .welcome-shell a.footerHref:visited {
    color: #06207a !important;
    font-weight: 700;
}

html.a11y-hc .welcome-shell .eq-btn-secondary {
    border-color: #000 !important;
    color: #000 !important;
    background: #eef2ff !important;
}

html.a11y-hc .welcome-shell .eq-level-choice {
    border-color: #000 !important;
    border-width: 2px !important;
    background: #fff !important;
    color: #000 !important;
}

html.a11y-hc .welcome-shell .eq-title--panel,
html.a11y-hc .welcome-shell .eq-panel .eq-lead-f2-section,
html.a11y-hc .welcome-shell .eq-level-hint,
html.a11y-hc .welcome-shell .eq-f2mm-flow-chosen {
    color: #0a1020 !important;
}

html.a11y-hc .navbarHolder .pc,
html.a11y-hc .navbarHolder .mob {
    background: linear-gradient(135deg, #c44d00 0%, #852d00 100%) !important;
}

html.a11y-hc .navbarHolder .hamburger {
    background: linear-gradient(165deg, #c44d00 0%, #852d00 100%) !important;
}

html.a11y-hc #hamburger .prodNameItem,
html.a11y-hc .navbarHolder .pc a {
    color: #fff !important;
    text-decoration: underline;
}

html.a11y-hc .sc-lang-dropdown__toggle {
    border-color: #ffffff !important;
    background: rgba(255, 255, 255, 0.16) !important;
    color: #ffffff !important;
}

html.a11y-hc .sc-lang-dropdown__menu {
    border-color: #000 !important;
    background: #fff !important;
}

html.a11y-hc .sc-lang-dropdown__menu a {
    color: #000 !important;
}

html.a11y-hc .sc-lang-dropdown__menu a[aria-current='page'] {
    background: #ffe4cf !important;
    box-shadow: inset 3px 0 0 #e8651a !important;
}

html.a11y-hc .welcome-shell .sc-a11y-panel {
    border-color: #000000 !important;
    background: #ffffff !important;
}

html.a11y-hc .welcome-shell .sc-a11y-menu {
    border-color: #000 !important;
    background: #fff !important;
}

html.a11y-hc .welcome-shell .sc-a11y-panel__title,
html.a11y-hc .welcome-shell .sc-a11y-live {
    color: #000 !important;
}

html.a11y-hc .welcome-shell .sc-a11y-panel__hint {
    color: #161616 !important;
}

html.a11y-hc .welcome-shell .sc-a11y-row,
html.a11y-hc .welcome-shell .sc-a11y-row__hint,
html.a11y-hc .welcome-shell .sc-a11y-menu__subtitle {
    color: #000 !important;
}

html.a11y-hc .welcome-shell .sc-a11y-fs-list > .sc-a11y-row--fs:first-of-type,
html.a11y-hc .welcome-shell .sc-a11y-row,
html.a11y-hc .welcome-shell .sc-a11y-row--fs,
html.a11y-hc .welcome-shell .sc-a11y-menu__sep {
    border-color: rgba(0, 0, 0, 0.5) !important;
}

html.a11y-hc .eq-mselect-option:not([disabled]) {
    border-top-color: #000 !important;
    color: #000 !important;
}

html.a11y-hc .eq-mselect-title,
html.a11y-hc .eq-mselect-close {
    color: #000 !important;
}
