/* Homepage. Wordt alleen op de homepage geladen. */
body {
    overflow-x: clip;
}

@media (min-width: 60rem) {
    .site-header {
        position: sticky;
        top: 0;
        z-index: 30;
    }
}

.w-binnen {
    max-width: 72rem;
    margin: 0 auto;
    padding: 0 1rem;
}

.w-smal {
    max-width: 46rem;
}

.w-label {
    display: inline-block;
    margin: 0 0 1rem;
    padding: 0.3125rem 0.875rem;
    background: rgb(255 201 23 / 12%);
    border: 1px solid rgb(255 201 23 / 35%);
    border-radius: 2rem;
    color: var(--geel);
    font-size: 0.875rem;
    font-weight: 600;
}

.w-label-donker {
    background: var(--blauw-licht);
    border-color: transparent;
    color: var(--blauw);
}

.w-stip {
    display: inline-block;
    flex: none;
    width: 0.625rem;
    height: 0.625rem;
    border-radius: 50%;
}

.w-stip-groen {
    background: #2fbf63;
}

.w-stip-oranje {
    background: #f59e0b;
}

.w-stip-rood {
    background: #ef4444;
}

/* Hero */
.w-hero {
    position: relative;
    z-index: 1;
    padding: clamp(2.5rem, 7vw, 5rem) 1rem 0;
    overflow-x: clip;
    background: var(--navy-donker);
    color: #ffffff;
    text-align: center;
}

.w-hero-gloed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 52rem;
    background:
        radial-gradient(ellipse 30% 32% at 50% 58%, rgb(255 201 23 / 18%), transparent),
        radial-gradient(ellipse 42% 46% at 22% 36%, rgb(45 110 230 / 40%), transparent),
        radial-gradient(ellipse 40% 44% at 80% 32%, rgb(45 110 230 / 30%), transparent);
    animation: w-adem 9s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes w-adem {
    to {
        opacity: 0.65;
    }
}

.w-hero-binnen {
    position: relative;
    max-width: 72rem;
    margin: 0 auto;
}

.w-hero h1 {
    max-width: 15em;
    margin: 0 auto 1.125rem;
    color: #ffffff;
    font-size: clamp(2.5rem, 7.2vw, 5rem);
    font-weight: 700;
    letter-spacing: -0.018em;
    line-height: 1.04;
}

.w-hero h1 em {
    color: var(--geel);
    font-style: normal;
}

.w-hero-sub {
    max-width: 36rem;
    margin: 0 auto 2rem;
    color: #c8d4ea;
    font-size: clamp(1.0625rem, 2.2vw, 1.3125rem);
    line-height: 1.5;
}

/* Het kentekenveld is het middelpunt van de pagina */
.w-hero .kenteken-form,
.w-slot .kenteken-form {
    max-width: 40rem;
    margin: 0 auto;
}

.w-hero .kenteken-label,
.w-slot .kenteken-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
}

.w-hero .kenteken-rij,
.w-slot .kenteken-rij {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.w-hero .plaat,
.w-slot .plaat {
    position: relative;
    display: flex;
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    border: 3px solid #0a0a0a;
    border-radius: 1rem;
    box-shadow: 0 0 0 4px rgb(255 201 23 / 18%), 0 24px 70px rgb(255 201 23 / 28%);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.w-hero .plaat:focus-within,
.w-slot .plaat:focus-within {
    box-shadow: 0 0 0 5px rgb(255 255 255 / 75%), 0 28px 80px rgb(255 201 23 / 42%);
    transform: translateY(-2px);
}

/* Een lichtstreep die over de plaat trekt */
.w-hero .plaat::after {
    position: absolute;
    top: 0;
    bottom: 0;
    left: -40%;
    width: 30%;
    background: linear-gradient(100deg, transparent, rgb(255 255 255 / 55%), transparent);
    content: "";
    animation: w-glans 5.5s ease-in-out 1s infinite;
    pointer-events: none;
}

@keyframes w-glans {
    0%, 60% {
        left: -40%;
    }

    85%, 100% {
        left: 120%;
    }
}

.w-hero .plaat-land,
.w-slot .plaat-land {
    display: grid;
    flex: none;
    width: clamp(2.75rem, 8vw, 4rem);
    place-items: center;
    font-size: clamp(0.9375rem, 2.5vw, 1.25rem);
}

.w-hero .plaat-invoer,
.w-slot .plaat-invoer {
    padding: 0.75rem 0.5rem;
    font-size: clamp(1.875rem, 7.5vw, 3.25rem);
    letter-spacing: 0.05em;
    text-align: center;
}

.w-hero .plaat-invoer::placeholder,
.w-slot .plaat-invoer::placeholder {
    color: rgb(17 17 17 / 50%);
}

.w-hero .kenteken-rij .knop,
.w-slot .kenteken-rij .knop {
    width: 100%;
    margin: 0;
    padding: 1rem 1.75rem;
    font-size: 1.125rem;
    white-space: nowrap;
}

.w-hero .form-fout {
    margin-top: 0.75rem;
    color: #ffc9c4;
}

.w-hero-punten {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.375rem 1.5rem;
    margin: 1.25rem 0 0;
    padding: 0;
    color: #c8d4ea;
    font-size: 0.9375rem;
    list-style: none;
}

.w-hero-punten li::before {
    margin-right: 0.375rem;
    color: var(--geel);
    content: "✓";
    font-weight: 800;
}

/* Rapport-demo die uit de hero steekt */
.w-venster-blok {
    position: relative;
    z-index: 2;
    margin: clamp(2.5rem, 5vw, 3.5rem) auto -7rem;
    max-width: 62rem;
}

.w-tabs {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.25rem;
    margin-bottom: 1.25rem;
    padding: 0.3125rem;
    background: rgb(255 255 255 / 9%);
    border: 1px solid rgb(255 255 255 / 14%);
    border-radius: 1.5rem;
}

.w-tab {
    display: inline-flex;
    gap: 0.5rem;
    align-items: center;
    padding: 0.4375rem 0.9375rem;
    background: transparent;
    border: 0;
    border-radius: 2rem;
    color: #dbe4f5;
    cursor: pointer;
    font: inherit;
    font-size: 0.9375rem;
    font-weight: 600;
    transition: background 0.2s ease, color 0.2s ease;
}

.w-tab:hover {
    color: #ffffff;
}

.w-tab[aria-selected="true"] {
    background: #ffffff;
    color: var(--navy-donker);
}

.w-tab:focus-visible {
    outline: 3px solid var(--geel);
    outline-offset: 2px;
}

.w-venster {
    position: relative;
    background: var(--vlak);
    border-radius: 1.25rem;
    box-shadow: 0 2px 0 rgb(255 255 255 / 40%) inset, 0 40px 90px rgb(2 12 32 / 55%);
    color: var(--tekst);
    text-align: left;
    transition: transform 0.25s ease-out;
    will-change: transform;
}

.w-venster-balk {
    display: flex;
    gap: 0.375rem;
    align-items: center;
    padding: 0.75rem 1.125rem;
    border-bottom: 1px solid var(--rand);
    color: var(--tekst-zacht);
    font-size: 0.8125rem;
}

.w-venster-balk i {
    width: 0.625rem;
    height: 0.625rem;
    background: var(--rand);
    border-radius: 50%;
}

.w-venster-balk span {
    margin-left: 0.5rem;
}

.w-tabpaneel {
    display: none;
}

.w-tabpaneel.is-actief {
    display: block;
    animation: w-in 0.45s ease both;
}

@keyframes w-in {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
}

.demo {
    padding: 1.125rem;
}

.demo-kop {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
    align-items: center;
    margin-bottom: 1rem;
}

.demo-plaat {
    display: flex;
    overflow: hidden;
    background: var(--geel);
    border: 2px solid #0a0a0a;
    border-radius: 0.5rem;
    font-weight: 800;
}

.demo-plaat span {
    padding: 0.25rem 0.5rem;
    background: var(--blauw);
    color: #ffffff;
    font-size: 0.75rem;
    line-height: 1.7;
}

.demo-plaat b {
    padding: 0.125rem 0.75rem;
    font-size: 1.125rem;
    letter-spacing: 0.04em;
}

.demo-auto {
    margin: 0;
    font-family: Outfit, system-ui, sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.2;
}

.demo-soort {
    margin: 0;
    color: var(--tekst-zacht);
    font-size: 0.875rem;
}

.demo-lijf {
    display: grid;
    gap: 0.75rem;
}

.demo-score {
    padding: 1rem 1.125rem;
    background: var(--groen-licht);
    border-radius: 1rem;
    --ring: var(--groen);
}

.demo-score-oranje {
    background: var(--oranje-licht);
    --ring: var(--oranje);
}

.demo-score-rood {
    background: var(--rood-licht);
    --ring: var(--rood);
}

.demo-ring-blok {
    position: relative;
    width: 6.5rem;
    height: 6.5rem;
    margin-bottom: 0.75rem;
}

.demo-ring {
    display: block;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.demo-ring-achter,
.demo-ring-voor {
    fill: none;
    stroke-width: 9;
}

.demo-ring-achter {
    stroke: rgb(16 32 60 / 10%);
}

.demo-ring-voor {
    stroke: var(--ring);
    stroke-linecap: round;
}

.is-actief .demo-ring-voor {
    animation: w-ring 1.1s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

@keyframes w-ring {
    from {
        stroke-dashoffset: 263.9;
    }
}

.demo-cijfer {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0;
    text-align: center;
}

.demo-cijfer b {
    font-family: Outfit, system-ui, sans-serif;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.demo-cijfer span {
    color: var(--tekst-zacht);
    font-size: 0.75rem;
}

.demo-oordeel {
    margin: 0 0 0.125rem;
    font-family: Outfit, system-ui, sans-serif;
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.25;
}

.demo-teller {
    margin: 0;
    color: var(--tekst-zacht);
    font-size: 0.875rem;
}

.demo-tegels {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.625rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.demo-tegel {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.75rem 0.875rem;
    border: 1px solid var(--rand);
    border-top: 0.25rem solid var(--t);
    border-radius: 0.75rem;
    --t: var(--groen);
    --l: var(--groen-licht);
}

.is-actief .demo-tegel {
    animation: w-in 0.5s ease both;
}

.is-actief .demo-tegel:nth-child(2) { animation-delay: 0.06s; }
.is-actief .demo-tegel:nth-child(3) { animation-delay: 0.12s; }
.is-actief .demo-tegel:nth-child(4) { animation-delay: 0.18s; }
.is-actief .demo-tegel:nth-child(5) { animation-delay: 0.24s; }
.is-actief .demo-tegel:nth-child(6) { animation-delay: 0.3s; }

.demo-tegel-oranje {
    --t: var(--oranje);
    --l: var(--oranje-licht);
}

.demo-tegel-rood {
    --t: var(--rood);
    --l: var(--rood-licht);
}

.demo-tegel-kop {
    display: flex;
    gap: 0.375rem;
    align-items: center;
    color: var(--tekst-zacht);
    font-size: 0.8125rem;
    font-weight: 600;
}

.demo-tegel-kop i {
    display: inline-grid;
    width: 1.125rem;
    height: 1.125rem;
    place-content: center;
    background: var(--l);
    border-radius: 50%;
    color: var(--t);
    font-size: 0.6875rem;
    font-style: normal;
    font-weight: 800;
}

.demo-tegel-tekst {
    font-size: 0.9375rem;
    font-weight: 700;
    line-height: 1.3;
}

.w-zweef {
    position: absolute;
    z-index: 3;
    display: none;
    gap: 0.5rem;
    align-items: center;
    margin: 0;
    padding: 0.625rem 0.875rem;
    background: var(--vlak);
    border-radius: 0.875rem;
    box-shadow: 0 16px 40px rgb(2 12 32 / 35%);
    color: var(--tekst);
    font-size: 0.875rem;
    font-weight: 600;
    white-space: nowrap;
    animation: w-zweven 5s ease-in-out infinite alternate;
}

.w-zweef-1 {
    top: -1.25rem;
    right: -2.5rem;
}

.w-zweef-2 {
    bottom: -1.25rem;
    left: -2.5rem;
    animation-delay: 1.2s;
}

@keyframes w-zweven {
    to {
        transform: translateY(-10px);
    }
}

/* Cijfers */
.w-cijfers {
    padding: 10rem 0 3rem;
    background: var(--vlak);
}

.w-cijfers-rij {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.75rem 1rem;
    margin-top: 0;
    margin-bottom: 0;
    text-align: center;
}

.w-cijfers dd {
    margin: 0;
    color: var(--navy);
    font-family: Outfit, system-ui, sans-serif;
    font-size: clamp(1.75rem, 4.5vw, 2.75rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.w-cijfers dt {
    margin-top: 0.25rem;
    color: var(--tekst-zacht);
    font-size: 0.9375rem;
}

/* Lopende band */
.w-band-loop {
    position: relative;
    z-index: 1;
    overflow: hidden;
    padding: 0.875rem 0;
    background: var(--geel);
    color: var(--navy-donker);
    font-family: Outfit, system-ui, sans-serif;
    font-size: 1.0625rem;
    font-weight: 600;
    transform: rotate(-1deg) scale(1.02);
}

.w-loop {
    display: flex;
    width: max-content;
    animation: w-rol 45s linear infinite;
}

.w-loop ul {
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
}

.w-loop li {
    padding: 0 1.25rem;
    white-space: nowrap;
}

.w-loop li::after {
    margin-left: 2.5rem;
    content: "✓";
}

@keyframes w-rol {
    to {
        transform: translateX(-50%);
    }
}

/* Secties */
.w-sectie {
    padding: clamp(3.5rem, 8vw, 6rem) 0;
    background: var(--vlak);
}

.w-licht {
    background: var(--achtergrond);
}

.w-donker {
    position: relative;
    overflow: hidden;
    background: var(--navy-donker);
    color: #dbe4f5;
}

.w-sectie h2,
.w-slot h2 {
    margin: 0 0 1rem;
    font-size: clamp(1.875rem, 4.5vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.015em;
    line-height: 1.1;
}

.w-donker h2 {
    color: #ffffff;
}

.w-kop {
    max-width: 44rem;
    margin: 0 auto 2.5rem;
    text-align: center;
}

.w-kop h2 {
    margin-bottom: 0;
}

.w-sectie p {
    font-size: 1.0625rem;
}

/* Vakken */
.w-bento {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
}

.w-vak {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 17rem;
    padding: 1.5rem;
    overflow: hidden;
    border-radius: 1.25rem;
    color: inherit;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

a.w-vak:hover {
    box-shadow: 0 24px 50px rgb(16 32 60 / 22%);
    transform: translateY(-4px);
}

.w-vak h3 {
    margin: 0 0 0.375rem;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.015em;
}

.w-vak p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.45;
}

.w-vak-foto {
    color: #ffffff;
}

.w-vak-foto::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgb(7 29 64 / 92%) 8%, rgb(7 29 64 / 45%) 50%, rgb(7 29 64 / 5%));
    content: "";
}

.w-vak-beeld {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 30%;
    transition: transform 0.6s ease;
}

.w-vak-beeld-onder {
    object-position: 50% 100%;
}

a.w-vak:hover .w-vak-beeld {
    transform: scale(1.05);
}

.w-vak-tekst {
    position: relative;
    z-index: 1;
}

.w-vak-foto h3,
.w-vak-foto p {
    color: #ffffff;
}

.w-vak-geel {
    background: var(--geel);
    color: var(--navy-donker);
}

.w-vak-donker {
    background: var(--navy);
    color: #ffffff;
}

.w-vak-donker h3 {
    color: #ffffff;
}

/* Twee kolommen */
.w-twee {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 2.5rem;
}

.w-foto {
    display: block;
    width: 100%;
    height: auto;
    max-height: 24rem;
    margin-top: 1.5rem;
    border-radius: 1.25rem;
    object-fit: cover;
    object-position: 50% 42%;
}

.w-twee-midden > .w-foto {
    margin-top: 0;
}

.w-tabel {
    align-self: start;
    overflow: hidden;
    background: var(--vlak);
    border-radius: 1.25rem;
    box-shadow: var(--schaduw);
}

.w-tabel table {
    width: 100%;
    border-collapse: collapse;
}

.w-tabel th,
.w-tabel td {
    padding: 0.8125rem 0.75rem;
    border-bottom: 1px solid var(--rand);
    font-size: 0.9375rem;
    font-weight: 500;
    text-align: center;
}

.w-tabel tbody tr:last-child > * {
    border-bottom: 0;
}

.w-tabel tbody th {
    text-align: left;
}

.w-tabel thead th {
    color: var(--tekst-zacht);
    font-size: 0.8125rem;
    font-weight: 600;
}

.w-tabel .w-tabel-wij {
    background: var(--navy);
    border-bottom-color: rgb(255 255 255 / 12%);
    color: #ffffff;
    font-weight: 700;
}

.w-ja {
    color: var(--groen);
    font-size: 1.125rem;
    font-weight: 800;
}

.w-tabel-wij .w-ja {
    color: var(--geel);
}

.w-nee {
    color: #a5aebd;
}

/* Stappen */
.w-stappen {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
    margin: 0;
    padding: 0;
    counter-reset: stap;
    list-style: none;
}

.w-stappen li {
    position: relative;
    padding: 1.5rem;
    background: var(--achtergrond);
    border-radius: 1.25rem;
    counter-increment: stap;
}

.w-stappen li::before {
    display: block;
    margin-bottom: 0.75rem;
    color: var(--blauw);
    content: counter(stap);
    font-family: Outfit, system-ui, sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1;
}

.w-stappen h3 {
    margin: 0 0 0.375rem;
    font-size: 1.3125rem;
}

.w-stappen p {
    margin: 0;
    color: var(--tekst-zacht);
}

.w-klein-kop {
    margin: 1.5rem 0 0.75rem;
    font-size: 1.125rem;
}

.w-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.w-chips li {
    padding: 0.25rem 0.75rem;
    background: var(--vlak);
    border: 1px solid var(--rand);
    border-radius: 2rem;
    font-size: 0.875rem;
}

.w-knoppen {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.w-knoppen .knop {
    width: auto;
    margin: 0;
}

.w-vloot {
    padding: 1.25rem;
    background: rgb(255 255 255 / 6%);
    border: 1px solid rgb(255 255 255 / 12%);
    border-radius: 1.25rem;
}

.w-vloot-kop {
    display: flex;
    justify-content: space-between;
    margin: 0 0 0.75rem;
    color: #ffffff;
    font-family: Outfit, system-ui, sans-serif;
    font-weight: 600;
}

.w-vloot-kop span {
    color: #9fb0cf;
    font-family: inherit;
    font-size: 0.8125rem;
    font-weight: 400;
}

.w-vloot ul {
    display: grid;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.w-vloot li {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 0.75rem;
    align-items: center;
    padding: 0.75rem 0.875rem;
    background: var(--vlak);
    border-radius: 0.75rem;
    color: var(--tekst);
}

.w-vloot b {
    padding: 0 0.5rem;
    background: var(--geel);
    border-radius: 0.25rem;
    font-size: 0.9375rem;
    letter-spacing: 0.03em;
}

.w-vloot span {
    flex: 1 1 8rem;
    color: var(--tekst-zacht);
    font-size: 0.875rem;
}

.w-vloot i {
    font-style: normal;
}

.w-slot {
    position: relative;
    padding: clamp(4rem, 9vw, 7rem) 0;
    overflow: hidden;
    background: var(--navy-donker);
    color: #ffffff;
    text-align: center;
}

.w-slot .w-binnen {
    position: relative;
}

.w-slot h2 {
    margin-bottom: 1.75rem;
    color: #ffffff;
}

/* Verschijnen tijdens het scrollen. Zonder JavaScript blijft alles gewoon zichtbaar. */
.js .js-toon {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.js .js-toon.is-zichtbaar {
    opacity: 1;
    transform: none;
}

@media (min-width: 40rem) {
    .w-hero .kenteken-rij,
    .w-slot .kenteken-rij {
        flex-direction: row;
    }

    .w-hero .kenteken-rij .knop,
    .w-slot .kenteken-rij .knop {
        width: auto;
    }

    .w-cijfers-rij {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .w-bento {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .w-stappen {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .demo {
        padding: 1.5rem;
    }

    .demo-lijf {
        grid-template-columns: minmax(13rem, 17rem) minmax(0, 1fr);
    }

    .demo-tegels {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 60rem) {
    .w-bento {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .w-vak-breed {
        grid-column: span 2;
    }

    .w-twee {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 4rem;
    }

    .w-twee-midden {
        align-items: center;
    }
}

@media (min-width: 78rem) {
    .w-zweef {
        display: inline-flex;
    }
}

@media (prefers-reduced-motion: reduce) {
    .w-hero-gloed,
    .w-hero .plaat::after,
    .w-zweef,
    .w-loop,
    .w-tabpaneel.is-actief,
    .is-actief .demo-ring-voor,
    .is-actief .demo-tegel {
        animation: none;
    }

    .w-loop {
        flex-wrap: wrap;
        width: auto;
    }

    .w-loop ul + ul {
        display: none;
    }

    .js .js-toon {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .w-vak,
    .w-vak-beeld,
    .w-venster {
        transition: none;
    }
}

/* Kies een voorbeeld: drie kentekenplaten in plaats van knoppen */
.w-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem 1.75rem;
    padding: 0;
    background: none;
    border: 0;
    border-radius: 0;
}

.w-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 0;
    background: none;
    border-radius: 0;
    color: #c8d4ea;
}

.w-tab[aria-selected="true"] {
    background: none;
    color: #ffffff;
}

.w-tab-plaat {
    display: flex;
    overflow: hidden;
    background: var(--geel);
    border: 2px solid #0a0a0a;
    border-radius: 0.375rem;
    color: #111111;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    line-height: 1.9;
    opacity: 0.5;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.w-tab-plaat span {
    padding: 0 0.375rem;
    background: var(--blauw);
    color: #ffffff;
    font-size: 0.625rem;
    letter-spacing: 0;
    line-height: 2.6;
}

.w-tab-plaat::after {
    padding-right: 0.625rem;
    content: "";
}

.w-tab-plaat > span + * {
    padding-left: 0.5rem;
}

.w-tab:hover .w-tab-plaat {
    opacity: 0.8;
}

.w-tab[aria-selected="true"] .w-tab-plaat {
    opacity: 1;
    transform: translateY(-2px);
}

.w-tab-label {
    padding-bottom: 0.25rem;
    border-bottom: 2px solid transparent;
    font-size: 0.875rem;
}

.w-tab[aria-selected="true"] .w-tab-label {
    border-bottom-color: var(--geel);
}

.w-tab:focus-visible {
    outline: 2px solid var(--geel);
    outline-offset: 6px;
}

/* Kies een voorbeeld: tabbladen die vastzitten aan het voorbeeldvenster */
.w-venster-blok .w-tabs {
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 0.25rem;
    margin: 0;
    padding: 0 1.25rem;
    overflow-x: auto;
    scrollbar-width: none;
}

.w-venster-blok .w-tab {
    flex: none;
    flex-direction: row;
    padding: 0.625rem 1.125rem;
    background: rgb(255 255 255 / 10%);
    border-radius: 0.75rem 0.75rem 0 0;
    color: #dbe4f5;
    font-size: 0.9375rem;
    font-weight: 600;
}

.w-venster-blok .w-tab:hover {
    background: rgb(255 255 255 / 18%);
    color: #ffffff;
}

.w-venster-blok .w-tab[aria-selected="true"] {
    background: var(--vlak);
    color: var(--navy-donker);
}

.w-venster-blok .w-tab:focus-visible {
    outline-offset: -3px;
}

.w-venster-balk {
    display: none;
}

.w-venster {
    border-top-left-radius: 0;
}

@media (max-width: 39.99rem) {
    .w-venster-blok .w-tabs {
        padding: 0;
    }

    .w-venster-blok .w-tab {
        padding: 0.625rem 0.875rem;
        font-size: 0.875rem;
    }
}

/* Kentekenveld en knop als één geheel */
.w-hero .kenteken-rij,
.w-slot .kenteken-rij {
    gap: 0.75rem;
}

.w-hero .plaat,
.w-slot .plaat,
.w-hero .plaat:focus-within,
.w-slot .plaat:focus-within {
    border: 3px solid #111111;
    border-radius: 0.75rem;
    box-shadow: 0 18px 40px rgb(0 0 0 / 35%);
    transform: none;
}

.w-hero .plaat:focus-within,
.w-slot .plaat:focus-within {
    box-shadow: 0 0 0 4px rgb(255 255 255 / 85%), 0 18px 40px rgb(0 0 0 / 35%);
}

.w-hero .plaat-land,
.w-slot .plaat-land {
    background: #1b4fa8;
    font-size: clamp(1rem, 2.5vw, 1.25rem);
}

.w-hero .plaat-sterren,
.w-slot .plaat-sterren {
    width: clamp(1.25rem, 3vw, 1.75rem);
    height: clamp(1.25rem, 3vw, 1.75rem);
}

.w-hero .plaat-invoer::placeholder,
.w-slot .plaat-invoer::placeholder {
    color: rgb(17 17 17 / 30%);
}

.w-hero .kenteken-rij .knop,
.w-slot .kenteken-rij .knop {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #1b4fa8;
    border: 3px solid #111111;
    border-radius: 0.75rem;
    box-shadow: 0 18px 40px rgb(0 0 0 / 35%);
    color: #ffffff;
}

.w-hero .kenteken-rij .knop:hover,
.w-slot .kenteken-rij .knop:hover {
    background: #163f88;
    border-color: #111111;
}

@media (min-width: 40rem) {
    .w-hero .kenteken-rij,
    .w-slot .kenteken-rij {
        gap: 0;
        border-radius: 0.75rem;
        box-shadow: 0 18px 40px rgb(0 0 0 / 35%);
    }

    .w-hero .plaat,
    .w-slot .plaat,
    .w-hero .kenteken-rij .knop,
    .w-slot .kenteken-rij .knop {
        box-shadow: none;
    }

    .w-hero .plaat:focus-within,
    .w-slot .plaat:focus-within {
        box-shadow: 0 0 0 4px rgb(255 255 255 / 85%);
    }

    .w-hero .plaat,
    .w-slot .plaat {
        border-right: 0;
        border-radius: 0.75rem 0 0 0.75rem;
    }

    .w-hero .kenteken-rij .knop,
    .w-slot .kenteken-rij .knop {
        border-radius: 0 0.75rem 0.75rem 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .knop-pijl {
        transition: none;
    }
}

.w-hero .plaat-land,
.w-slot .plaat-land {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    place-items: center;
}

.w-hero .plaat-invoer::placeholder,
.w-slot .plaat-invoer::placeholder {
    color: rgb(17 17 17 / 38%);
}
