/* ============================================
   NIWL - Nationaal Instituut voor Werk-Loosheid
   Stijlblad versie WL-2026-001
   ============================================ */

/* === Reset & Base === */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --niwl-blauw: #154273;
    --niwl-blauw-donker: #0d2e52;
    --niwl-blauw-licht: #1a5694;
    --niwl-geel: #e8b630;
    --niwl-oranje: #e17000;
    --niwl-groen: #39870c;
    --niwl-rood: #c41e1e;
    --niwl-grijs-licht: #f3f3f3;
    --niwl-grijs: #e0e0e0;
    --niwl-grijs-donker: #696969;
    --niwl-tekst: #333333;
    --niwl-wit: #ffffff;
    --max-breedte: 1100px;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Source Sans 3', 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--niwl-tekst);
    background-color: var(--niwl-wit);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* === Typography === */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--niwl-blauw);
}

h1 { font-size: 2.2rem; margin-bottom: 1rem; }
h2 { font-size: 1.6rem; margin-bottom: 0.75rem; }
h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }

p { margin-bottom: 1rem; }

a {
    color: var(--niwl-blauw-licht);
    text-decoration: underline;
}

a:hover {
    color: var(--niwl-blauw-donker);
}

/* === Topbalk === */
.topbalk {
    background-color: var(--niwl-blauw);
    color: var(--niwl-wit);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

.topbalk-inner {
    max-width: var(--max-breedte);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
    height: 64px;
}

.topbalk-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--niwl-wit);
}

.topbalk-logo img {
    height: 40px;
    width: 40px;
}

.topbalk-logo span {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.topbalk-logo-sub {
    font-size: 0.7rem !important;
    font-weight: 400 !important;
    opacity: 0.8;
    display: block;
    letter-spacing: 0 !important;
}

/* Hamburger menu */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--niwl-wit);
    margin: 5px 0;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Navigation */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 0;
}

.nav-menu a {
    color: var(--niwl-wit);
    text-decoration: none;
    padding: 0.5rem 1rem;
    font-size: 0.95rem;
    border-radius: 4px;
    transition: background 0.2s;
}

.nav-menu a:hover,
.nav-menu a.active {
    background: rgba(255,255,255,0.15);
}

/* === Breadcrumbs === */
.breadcrumbs {
    background: var(--niwl-grijs-licht);
    border-bottom: 1px solid var(--niwl-grijs);
    padding: 0.6rem 0;
    font-size: 0.85rem;
    color: var(--niwl-grijs-donker);
}

.breadcrumbs-inner {
    max-width: var(--max-breedte);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.breadcrumbs a {
    color: var(--niwl-blauw-licht);
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.breadcrumbs span {
    margin: 0 0.4rem;
    color: var(--niwl-grijs-donker);
}

/* === Container === */
.container {
    max-width: var(--max-breedte);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* === Score Banner (virale loop) === */
.score-banner {
    background: linear-gradient(135deg, var(--niwl-geel), #f0c850);
    color: var(--niwl-blauw-donker);
    padding: 1rem 0;
    text-align: center;
    font-weight: 600;
    font-size: 1.05rem;
    display: none;
}

.score-banner.visible {
    display: block;
}

.score-banner a {
    color: var(--niwl-blauw-donker);
    font-weight: 700;
}

.score-banner .btn-small {
    display: inline-block;
    background: var(--niwl-blauw);
    color: var(--niwl-wit);
    padding: 0.4rem 1.2rem;
    border-radius: 4px;
    text-decoration: none;
    margin-left: 1rem;
    font-size: 0.9rem;
    transition: background 0.2s;
}

.score-banner .btn-small:hover {
    background: var(--niwl-blauw-donker);
}

/* === Hero === */
.hero {
    background: linear-gradient(160deg, var(--niwl-blauw) 0%, var(--niwl-blauw-licht) 100%);
    color: var(--niwl-wit);
    padding: 4rem 0 3.5rem;
    text-align: center;
}

.hero .hero-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    opacity: 0.7;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.hero h1 {
    color: var(--niwl-wit);
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

.hero .subtitel {
    font-size: 1.1rem;
    opacity: 0.8;
    margin-bottom: 2rem;
    font-weight: 400;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.btn-primair {
    display: inline-block;
    background: var(--niwl-geel);
    color: var(--niwl-blauw-donker);
    padding: 0.9rem 2.5rem;
    font-size: 1.15rem;
    font-weight: 700;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
}

.btn-primair:hover {
    background: #f0c850;
    color: var(--niwl-blauw-donker);
    transform: translateY(-1px);
}

.btn-primair:active {
    transform: translateY(0);
}

.btn-secundair {
    display: inline-block;
    background: transparent;
    color: var(--niwl-wit);
    padding: 0.9rem 2.5rem;
    font-size: 1.15rem;
    font-weight: 600;
    border: 2px solid rgba(255,255,255,0.5);
    border-radius: 4px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
    margin-left: 1rem;
}

.btn-secundair:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.8);
    color: var(--niwl-wit);
}

/* === Keuring teller === */
.keuring-teller {
    margin-top: 1.5rem;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    letter-spacing: 0.03em;
}

/* === Intro === */
.intro {
    padding: 3rem 0;
    background: var(--niwl-wit);
}

.intro-tekst {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.05rem;
    color: #444;
    text-align: center;
    line-height: 1.7;
}

/* === Tegels === */
.tegels {
    padding: 2rem 0 3rem;
    background: var(--niwl-grijs-licht);
}

.tegels-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: var(--max-breedte);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.tegel {
    background: var(--niwl-wit);
    border: 1px solid var(--niwl-grijs);
    border-radius: 4px;
    padding: 2rem 1.5rem;
    text-decoration: none;
    color: var(--niwl-tekst);
    transition: box-shadow 0.2s, border-color 0.2s;
    display: block;
}

.tegel:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border-color: var(--niwl-blauw-licht);
}

.tegel h3 {
    margin-bottom: 0.5rem;
}

.tegel p {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 0.75rem;
}

.tegel .tegel-link {
    color: var(--niwl-blauw-licht);
    font-weight: 600;
    font-size: 0.9rem;
}

.tegel-icoon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    display: block;
}

/* === Nieuws === */
.nieuws {
    padding: 3rem 0;
    background: var(--niwl-wit);
}

.nieuws h2 {
    margin-bottom: 1.5rem;
}

.nieuws-lijst {
    list-style: none;
}

.nieuws-item {
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--niwl-grijs);
}

.nieuws-item:last-child {
    border-bottom: none;
}

.nieuws-datum {
    font-size: 0.8rem;
    color: var(--niwl-grijs-donker);
    display: block;
    margin-bottom: 0.25rem;
}

.nieuws-item h3 {
    font-size: 1.05rem;
    margin-bottom: 0.25rem;
}

.nieuws-item h3 a {
    text-decoration: none;
}

.nieuws-item p {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 0;
}

/* === Cookie Banner === */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--niwl-blauw-donker);
    color: var(--niwl-wit);
    padding: 1.25rem;
    z-index: 9999;
    box-shadow: 0 -4px 12px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    font-size: 0.9rem;
}

.cookie-banner.verborgen {
    display: none;
}

.cookie-banner p {
    margin-bottom: 0;
    max-width: 700px;
}

.cookie-banner .btn-cookie {
    background: var(--niwl-geel);
    color: var(--niwl-blauw-donker);
    padding: 0.5rem 1.5rem;
    border: none;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s;
}

.cookie-banner .btn-cookie:hover {
    background: #f0c850;
}

/* === Footer === */
.footer {
    background: var(--niwl-blauw);
    color: var(--niwl-wit);
    padding: 2.5rem 0 1.5rem;
    margin-top: 3rem;
    font-size: 0.9rem;
}

.footer-inner {
    max-width: var(--max-breedte);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.footer-links a {
    color: var(--niwl-wit);
    text-decoration: none;
    opacity: 0.85;
}

.footer-links a:hover {
    opacity: 1;
    text-decoration: underline;
}

.footer-meta {
    opacity: 0.7;
    font-size: 0.8rem;
    line-height: 1.6;
}

.footer-meta a {
    color: var(--niwl-geel);
    text-decoration: none;
}

.footer-meta a:hover {
    text-decoration: underline;
}

/* ==========================
   QUIZ / KEURING PAGINA
   ========================== */

.keuring-container {
    max-width: 720px;
    margin: 2rem auto;
    padding: 0 1.5rem;
}

.formulier-header {
    background: var(--niwl-grijs-licht);
    border: 1px solid var(--niwl-grijs);
    border-radius: 4px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.formulier-header h2 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.formulier-kenmerk {
    font-size: 0.8rem;
    color: var(--niwl-grijs-donker);
    font-family: 'Courier New', monospace;
}

.barcode {
    font-family: 'Courier New', monospace;
    font-size: 0.7rem;
    letter-spacing: 2px;
    color: var(--niwl-grijs-donker);
    text-align: right;
}

/* Voortgangsbalk */
.voortgang {
    margin-bottom: 2rem;
}

.voortgang-tekst {
    font-size: 0.85rem;
    color: var(--niwl-grijs-donker);
    margin-bottom: 0.5rem;
}

.voortgang-balk {
    height: 6px;
    background: var(--niwl-grijs);
    border-radius: 3px;
    overflow: hidden;
}

.voortgang-vulling {
    height: 100%;
    background: var(--niwl-blauw);
    border-radius: 3px;
    transition: width 0.4s ease;
}

/* Vraag stap */
.stap {
    display: none;
    animation: fadeIn 0.3s ease;
}

.stap.actief {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.stap-nummer {
    font-size: 0.8rem;
    color: var(--niwl-grijs-donker);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.stap h2 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--niwl-tekst);
}

.antwoorden {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.antwoord-optie {
    position: relative;
}

.antwoord-optie input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.antwoord-optie label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: var(--niwl-wit);
    border: 2px solid var(--niwl-grijs);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.95rem;
    line-height: 1.5;
}

.antwoord-optie label:hover {
    border-color: var(--niwl-blauw-licht);
    background: #f8fafc;
}

.antwoord-optie input[type="radio"]:checked + label {
    border-color: var(--niwl-blauw);
    background: #eef3f8;
}

.antwoord-optie label::before {
    content: '';
    width: 20px;
    height: 20px;
    min-width: 20px;
    border: 2px solid var(--niwl-grijs);
    border-radius: 50%;
    display: inline-block;
    margin-top: 1px;
    transition: all 0.2s;
}

.antwoord-optie input[type="radio"]:checked + label::before {
    border-color: var(--niwl-blauw);
    background: var(--niwl-blauw);
    box-shadow: inset 0 0 0 3px var(--niwl-wit);
}

.stap-notitie {
    font-size: 0.8rem;
    color: var(--niwl-grijs-donker);
    font-style: italic;
    margin-top: -0.5rem;
    margin-left: 2rem;
}

/* Quiz navigatie */
.quiz-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--niwl-grijs);
}

.btn-quiz {
    padding: 0.7rem 1.8rem;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-vorige {
    background: var(--niwl-grijs-licht);
    color: var(--niwl-tekst);
    border: 1px solid var(--niwl-grijs);
}

.btn-vorige:hover {
    background: var(--niwl-grijs);
}

.btn-volgende {
    background: var(--niwl-blauw);
    color: var(--niwl-wit);
}

.btn-volgende:hover {
    background: var(--niwl-blauw-donker);
}

.btn-volgende:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ==========================
   RESULTAAT PAGINA
   ========================== */

.resultaat-pagina {
    padding: 2rem 0;
}

/* De Werk-loosheidskaart — Premium Government ID Style */
.werkloosheidskaart-wrapper {
    max-width: 600px;
    margin: 0 auto 2rem;
    perspective: 800px;
}

.werkloosheidskaart {
    background: linear-gradient(145deg, #0e2a47 0%, #154273 30%, #1a5694 65%, #154273 100%);
    border-radius: 14px;
    padding: 1.8rem 2.2rem 1.2rem;
    color: var(--niwl-wit);
    position: relative;
    overflow: hidden;
    box-shadow:
        0 2px 4px rgba(0,0,0,0.1),
        0 8px 24px rgba(21,66,115,0.35),
        0 20px 48px rgba(0,0,0,0.15),
        inset 0 1px 0 rgba(255,255,255,0.1),
        inset 0 -1px 0 rgba(0,0,0,0.2);
    aspect-ratio: 1.6 / 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 2px solid rgba(232,182,48,0.35);
}

/* Inner embossed border */
.werkloosheidskaart::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 6px;
    right: 6px;
    bottom: 6px;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    pointer-events: none;
    z-index: 1;
}

/* Subtle corner ornaments via second pseudo */
.werkloosheidskaart::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 3% 3%, rgba(232,182,48,0.2) 0%, transparent 8%),
        radial-gradient(circle at 97% 3%, rgba(232,182,48,0.2) 0%, transparent 8%),
        radial-gradient(circle at 3% 97%, rgba(232,182,48,0.2) 0%, transparent 8%),
        radial-gradient(circle at 97% 97%, rgba(232,182,48,0.2) 0%, transparent 8%);
    pointer-events: none;
    z-index: 1;
}

/* Guilloché security pattern */
.kaart-guilloche {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        repeating-linear-gradient(45deg, rgba(255,255,255,0.018) 0px, transparent 1px, transparent 6px),
        repeating-linear-gradient(-45deg, rgba(255,255,255,0.018) 0px, transparent 1px, transparent 6px),
        repeating-linear-gradient(30deg, rgba(255,255,255,0.012) 0px, transparent 1px, transparent 10px),
        repeating-linear-gradient(-30deg, rgba(255,255,255,0.012) 0px, transparent 1px, transparent 10px),
        repeating-linear-gradient(0deg, rgba(255,255,255,0.01) 0px, transparent 1px, transparent 12px),
        repeating-linear-gradient(90deg, rgba(255,255,255,0.01) 0px, transparent 1px, transparent 12px),
        radial-gradient(ellipse at 70% 30%, rgba(255,255,255,0.04) 0%, transparent 50%),
        radial-gradient(ellipse at 30% 70%, rgba(255,255,255,0.02) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* Watermark text */
.kaart-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-25deg);
    font-size: 7rem;
    font-weight: 900;
    letter-spacing: 1.5rem;
    opacity: 0.035;
    color: #ffffff;
    pointer-events: none;
    z-index: 0;
    white-space: nowrap;
}

/* Repeating security text strip */
.kaart-security-text {
    position: absolute;
    top: 50%;
    left: -10%;
    width: 120%;
    transform: rotate(-5deg);
    font-size: 0.35rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.045);
    white-space: nowrap;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
    font-family: 'Courier New', monospace;
}

/* Gold accent strip at left */
.kaart-accent-strip {
    position: absolute;
    top: 12px;
    left: 0;
    width: 4px;
    bottom: 12px;
    background: linear-gradient(180deg,
        rgba(232,182,48,0.1) 0%,
        rgba(232,182,48,0.6) 20%,
        rgba(255,215,80,0.8) 50%,
        rgba(232,182,48,0.6) 80%,
        rgba(232,182,48,0.1) 100%);
    border-radius: 0 2px 2px 0;
    pointer-events: none;
    z-index: 2;
}

/* Holographic shimmer strip */
.kaart-hologram {
    position: absolute;
    top: 0;
    right: 60px;
    width: 32px;
    height: 100%;
    background: linear-gradient(180deg,
        transparent 0%,
        rgba(232,182,48,0.03) 15%,
        rgba(255,255,255,0.06) 30%,
        rgba(100,200,255,0.04) 45%,
        rgba(232,182,48,0.06) 55%,
        rgba(255,255,255,0.04) 70%,
        rgba(100,200,255,0.03) 85%,
        transparent 100%);
    pointer-events: none;
    z-index: 1;
}

/* Card top section */
.kaart-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    z-index: 2;
}

.kaart-top-links {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.kaart-logo {
    height: 38px;
    width: 38px;
    filter: brightness(0) invert(1);
    opacity: 0.95;
}

.kaart-instituut {
    font-size: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    opacity: 0.6;
    line-height: 1.4;
    font-weight: 500;
}

.kaart-titel {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    opacity: 0.9;
    text-align: right;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
    border-bottom: 1px solid rgba(232,182,48,0.3);
    padding-bottom: 0.3rem;
    color: rgba(232,182,48,0.9);
}

/* Middle section */
.kaart-midden {
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
}

.kaart-percentage-ring {
    position: relative;
    display: inline-block;
    padding: 0.2rem 2rem;
}

.kaart-percentage-ring::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(232,182,48,0.3) 20%, rgba(232,182,48,0.3) 80%, transparent 100%);
    transform: translateY(-50%);
}

.kaart-percentage {
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 0;
    text-shadow:
        0 0 20px rgba(255,255,255,0.15),
        0 2px 8px rgba(0,0,0,0.3),
        0 4px 16px rgba(0,0,0,0.15);
    position: relative;
    z-index: 1;
}

.kaart-werkloos-label {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 6px;
    font-weight: 800;
    opacity: 0.85;
    margin-bottom: 0.3rem;
    position: relative;
    z-index: 1;
}

.kaart-naam {
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    opacity: 0.95;
    margin-bottom: 0.2rem;
    text-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.kaart-naam:empty {
    display: none;
}

.kaart-classificatie {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 600;
    opacity: 0.7;
    margin-bottom: 0.15rem;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.kaart-naam-invoer {
    margin-bottom: 0.75rem;
}

.kaart-naam-invoer input {
    width: 100%;
    max-width: 350px;
    padding: 0.6rem 1rem;
    border: 2px solid var(--niwl-blauw);
    border-radius: 6px;
    font-size: 0.95rem;
    font-family: 'Source Sans 3', sans-serif;
    text-align: center;
}

.kaart-naam-invoer input:focus {
    outline: none;
    border-color: var(--niwl-geel);
}

.kaart-diagnose {
    font-size: 0.75rem;
    opacity: 0.65;
    font-style: italic;
    max-width: 80%;
}

/* Bottom section — MRZ style */
.kaart-onder {
    position: relative;
    z-index: 2;
    border-top: 1px solid rgba(255,255,255,0.3);
    padding-top: 0.5rem;
}

.kaart-mrz {
    font-size: 0.6rem;
    opacity: 0.8;
    font-family: 'Courier New', monospace;
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.25rem;
    letter-spacing: 0.5px;
}

.kaart-mrz-code {
    font-size: 0.5rem;
    opacity: 0.25;
    font-family: 'Courier New', monospace;
    letter-spacing: 1px;
    overflow: hidden;
    white-space: nowrap;
    color: rgba(255,255,255,0.8);
}

/* Score kleurcodering — enhanced with richer gradients */
.kaart-score-laag {
    background: linear-gradient(145deg, #5c0e0e 0%, #8b1a1a 20%, #c41e1e 50%, #d44040 80%, #8b1a1a 100%);
    border-color: rgba(196,30,30,0.4);
}
.kaart-score-midden-laag {
    background: linear-gradient(145deg, #5c3a00 0%, #8b5e00 20%, #c48400 50%, #e8a520 80%, #8b5e00 100%);
    border-color: rgba(196,132,0,0.4);
}
.kaart-score-midden {
    background: linear-gradient(145deg, #0e3a1e 0%, #1a5c3a 20%, #1a8a4a 50%, #28a05a 80%, #1a5c3a 100%);
    border-color: rgba(26,138,74,0.4);
}
.kaart-score-hoog {
    background: linear-gradient(145deg, #072e0e 0%, #0d4a1a 20%, #1a7a2e 50%, #28a040 80%, #0d4a1a 100%);
    border-color: rgba(26,122,46,0.4);
}

/* Deelknoppen */
.deel-sectie {
    max-width: 600px;
    margin: 0 auto 3rem;
    text-align: center;
}

.deel-sectie h3 {
    margin-bottom: 1rem;
    color: var(--niwl-tekst);
}

.deel-knoppen {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.btn-deel {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1rem;
    border: none;
    border-radius: 4px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    color: var(--niwl-wit);
    transition: opacity 0.2s, transform 0.1s;
}

.btn-deel:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    color: var(--niwl-wit);
}

.btn-linkedin { background: #0077b5; }
.btn-twitter { background: #1da1f2; }
.btn-whatsapp { background: #25d366; }
.btn-kopieer { background: var(--niwl-grijs-donker); }

.btn-download-kaart {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.5rem;
    background: var(--niwl-blauw);
    color: var(--niwl-wit);
    border: none;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 0.5rem;
}

.btn-download-kaart:hover {
    background: var(--niwl-blauw-donker);
}

/* LinkedIn tekst kopieer */
.linkedin-tekst-container {
    max-width: 600px;
    margin: 0 auto 2rem;
    background: var(--niwl-grijs-licht);
    border: 1px solid var(--niwl-grijs);
    border-radius: 4px;
    padding: 1.25rem;
    text-align: left;
}

.linkedin-tekst-container h4 {
    font-size: 0.85rem;
    color: var(--niwl-grijs-donker);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.linkedin-tekst {
    font-size: 0.9rem;
    line-height: 1.6;
    white-space: pre-line;
    margin-bottom: 0.75rem;
    color: var(--niwl-tekst);
}

.btn-kopieer-tekst {
    font-size: 0.85rem;
    padding: 0.4rem 1rem;
    background: var(--niwl-blauw);
    color: var(--niwl-wit);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.2s;
}

.btn-kopieer-tekst:hover {
    background: var(--niwl-blauw-donker);
}

/* Keuringsrapport */
.keuringsrapport {
    max-width: 720px;
    margin: 2rem auto;
    background: var(--niwl-wit);
    border: 1px solid var(--niwl-grijs);
    border-radius: 4px;
    padding: 2.5rem;
}

.rapport-header {
    text-align: center;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--niwl-blauw);
    margin-bottom: 1.5rem;
}

.rapport-header img {
    height: 50px;
    margin-bottom: 0.5rem;
}

.rapport-header h2 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.rapport-meta {
    font-size: 0.8rem;
    color: var(--niwl-grijs-donker);
    line-height: 1.8;
}

.rapport-inhoud h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--niwl-blauw);
    font-size: 1.1rem;
}

.rapport-inhoud p {
    font-size: 0.95rem;
    line-height: 1.7;
}

.rapport-tips {
    background: var(--niwl-grijs-licht);
    border-left: 4px solid var(--niwl-blauw);
    padding: 1.25rem;
    margin: 1.5rem 0;
    border-radius: 0 4px 4px 0;
}

.rapport-tips h4 {
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
    color: var(--niwl-blauw);
}

.rapport-tips ul {
    list-style: none;
    padding: 0;
}

.rapport-tips li {
    padding: 0.5rem 0;
    padding-left: 1.25rem;
    position: relative;
    font-size: 0.9rem;
    line-height: 1.6;
}

.rapport-tips li::before {
    content: '>';
    position: absolute;
    left: 0;
    color: var(--niwl-blauw);
    font-weight: 700;
}

/* Certificaat naam invoer */
.certificaat-sectie {
    max-width: 600px;
    margin: 2rem auto;
    background: var(--niwl-grijs-licht);
    border: 1px solid var(--niwl-grijs);
    border-radius: 4px;
    padding: 2rem;
    text-align: center;
}

.certificaat-sectie h3 {
    margin-bottom: 0.5rem;
}

.certificaat-sectie p {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 1rem;
}

.certificaat-input-groep {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}

.certificaat-input-groep input {
    padding: 0.7rem 1rem;
    border: 2px solid var(--niwl-grijs);
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
    width: 250px;
    transition: border-color 0.2s;
}

.certificaat-input-groep input:focus {
    outline: none;
    border-color: var(--niwl-blauw);
}

.btn-certificaat {
    padding: 0.7rem 1.5rem;
    background: var(--niwl-blauw);
    color: var(--niwl-wit);
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-certificaat:hover {
    background: var(--niwl-blauw-donker);
}

/* Spoedbeoordeling Easter Egg */
.spoedbeoordeling {
    max-width: 600px;
    margin: 2rem auto;
    background: #fff5f5;
    border: 2px solid var(--niwl-rood);
    border-radius: 4px;
    padding: 2rem;
    text-align: center;
    display: none;
}

.spoedbeoordeling.zichtbaar {
    display: block;
}

.spoedbeoordeling h2 {
    color: var(--niwl-rood);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.spoedbeoordeling p {
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.spoedbeoordeling .btn-spoed {
    display: inline-block;
    background: var(--niwl-rood);
    color: var(--niwl-wit);
    padding: 0.8rem 2rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    transition: background 0.2s;
}

.spoedbeoordeling .btn-spoed:hover {
    background: #a01a1a;
    color: var(--niwl-wit);
}

/* ==========================
   MANIFEST PAGINA
   ========================== */

.manifest-pagina {
    padding: 2rem 0;
}

.manifest-pagina .container {
    max-width: 800px;
}

.manifest-content h2 {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--niwl-grijs);
}

.manifest-content h2:first-child {
    border-top: none;
    padding-top: 0;
}

.verschil-tabel {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.9rem;
}

.verschil-tabel th {
    background: var(--niwl-blauw);
    color: var(--niwl-wit);
    padding: 0.75rem 1rem;
    text-align: left;
    font-weight: 600;
}

.verschil-tabel td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--niwl-grijs);
}

.verschil-tabel tr:nth-child(even) td {
    background: var(--niwl-grijs-licht);
}

/* FAQ */
.faq-lijst {
    margin: 1.5rem 0;
}

.faq-item {
    border-bottom: 1px solid var(--niwl-grijs);
    padding: 1.25rem 0;
}

.faq-vraag {
    font-weight: 700;
    color: var(--niwl-blauw);
    margin-bottom: 0.5rem;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-vraag::after {
    content: '+';
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--niwl-blauw-licht);
    transition: transform 0.2s;
}

.faq-item.open .faq-vraag::after {
    content: '\2212';
}

.faq-antwoord {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #444;
    display: none;
    padding-top: 0.5rem;
}

.faq-item.open .faq-antwoord {
    display: block;
}

/* ==========================
   WERKMAP (NEP INLOG)
   ========================== */

.werkmap-pagina {
    padding: 3rem 0;
    text-align: center;
}

.werkmap-container {
    max-width: 480px;
    margin: 0 auto;
    background: var(--niwl-wit);
    border: 1px solid var(--niwl-grijs);
    border-radius: 4px;
    padding: 2.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.werkmap-container h2 {
    margin-bottom: 0.5rem;
}

.werkmap-container p {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 1.5rem;
}

.btn-digilui {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--niwl-oranje);
    color: var(--niwl-wit);
    border: none;
    border-radius: 4px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
    margin-bottom: 1rem;
}

.btn-digilui:hover {
    background: #c76200;
}

.werkmap-melding {
    display: none;
    background: #e8f5e9;
    border: 1px solid #4caf50;
    border-radius: 4px;
    padding: 1.25rem;
    margin-top: 1.5rem;
    font-size: 0.95rem;
    color: #2e7d32;
    animation: fadeIn 0.3s ease;
}

/* ==========================
   404 PAGINA
   ========================== */

.pagina-404 {
    text-align: center;
    padding: 5rem 0;
}

.pagina-404 h1 {
    font-size: 4rem;
    color: var(--niwl-grijs-donker);
    margin-bottom: 0.5rem;
}

.pagina-404 p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 2rem;
}

/* ==========================
   RESPONSIVE
   ========================== */

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-menu {
        display: none;
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--niwl-blauw-donker);
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    }

    .nav-menu.open {
        display: flex;
    }

    .nav-menu a {
        padding: 0.75rem 1rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero .subtitel {
        font-size: 1rem;
    }

    .btn-secundair {
        display: block;
        margin: 1rem auto 0;
    }

    .tegels-grid {
        grid-template-columns: 1fr;
    }

    .formulier-header {
        flex-direction: column;
        gap: 0.75rem;
    }

    .werkloosheidskaart {
        padding: 1.5rem;
        aspect-ratio: auto;
        min-height: 280px;
    }

    .kaart-percentage {
        font-size: 3.5rem;
    }

    .kaart-classificatie {
        font-size: 0.85rem;
        letter-spacing: 2px;
    }

    .deel-knoppen {
        grid-template-columns: 1fr;
    }

    .keuringsrapport {
        padding: 1.5rem;
    }

    .cookie-banner {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }

    .score-banner .btn-small {
        display: block;
        margin: 0.5rem auto 0;
    }

    .certificaat-input-groep {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 2.5rem 0 2rem;
    }

    .hero h1 {
        font-size: 1.7rem;
    }

    h1 { font-size: 1.7rem; }
    h2 { font-size: 1.3rem; }

    .kaart-percentage {
        font-size: 3rem;
    }

    .kaart-onder {
        flex-direction: column;
        gap: 0.15rem;
    }
}

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

/* Kopieerfeedback */
.kopieer-feedback {
    display: inline-block;
    color: var(--niwl-groen);
    font-size: 0.85rem;
    font-weight: 600;
    margin-left: 0.5rem;
    opacity: 0;
    transition: opacity 0.3s;
}

.kopieer-feedback.zichtbaar {
    opacity: 1;
}
