:root {
    --kleur-achtergrond: #f6f8fb;
    --kleur-kaart: #ffffff;
    --kleur-tekst: #132b46;
    --kleur-tekst-zacht: #63758a;
    --kleur-rand: #dbe5ee;
    --kleur-accent: #e6a82f;
    --kleur-accent-lijn: #d6a935;
    --kleur-kop: #10243d;
    --kleur-kop-accent: #112b47;
    --kleur-navy: #112b47;
    --kleur-blauw: #1174aa;
    --kleur-brent: #dea02a;
    --kleur-wti: #2485b9;
    --kleur-stijging: #11805d;
    --kleur-daling: #bd6449;
    --kleur-stijging-licht: #e5f6ef;
    --kleur-daling-licht: rgba(189, 100, 73, 0.12);
    --schaduw-kaart: 0 12px 26px rgba(29, 52, 78, 0.08);
    --radius-kaart: 14px;
    --radius-klein: 8px;
    --breedte-container: 1120px;
}

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

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

body {
    margin: 0;
    font-family: 'DM Sans', Arial, sans-serif;
    font-size: 15px;
    line-height: 1.55;
    background: linear-gradient(116deg, #f6f8fb 0%, #fff 48%, #f4f8fa 100%);
    color: var(--kleur-tekst);
    min-height: 100vh;
}

a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
}

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

h1,
h2,
h3 {
    font-family: Manrope, sans-serif;
    letter-spacing: -1.2px;
    color: var(--kleur-tekst);
}

button,
a {
    transition: 0.2s ease;
}

button:focus-visible,
a:focus-visible {
    outline: 3px solid #e7af3a;
    outline-offset: 3px;
}

.hoofd-container {
    width: min(var(--breedte-container), calc(100% - 40px));
    margin: 0 auto;
    padding: 0 0 5.5rem;
}

.site-kop {
    background: var(--kleur-kop);
    border-bottom: 2px solid var(--kleur-accent-lijn);
    color: #e6eef5;
    position: sticky;
    top: 0;
    z-index: 100;
}

.site-kop-inhoud {
    width: min(var(--breedte-container), calc(100% - 40px));
    margin: 0 auto;
    min-height: 66px;
    display: flex;
    align-items: center;
    gap: 36px;
}

.site-logo {
    display: inline-flex;
    align-items: center;
    font-family: Manrope, sans-serif;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.8px;
    text-decoration: none;
    color: #fff;
    flex-shrink: 0;
}

.site-logo-punt {
    color: #e9b33b;
    font-size: 23px;
    margin-right: 8px;
    line-height: 1;
}

.site-logo-suffix {
    color: #e8b53e;
    font-size: 12px;
    align-self: flex-end;
    margin-bottom: 3px;
    font-weight: 700;
}

.site-logo-afbeelding {
    display: block;
    height: 2rem;
    width: auto;
    max-width: 12rem;
    object-fit: contain;
}

.menu-toggle {
    display: none;
    margin-left: auto;
    width: 2.75rem;
    height: 2.75rem;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 100px;
    background: transparent;
    padding: 0.55rem;
    cursor: pointer;
}

.menu-toggle-balk {
    display: block;
    width: 100%;
    height: 2px;
    margin: 0.28rem 0;
    background: #fff;
    border-radius: 999px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

body.menu-open .menu-toggle-balk:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

body.menu-open .menu-toggle-balk:nth-child(2) {
    opacity: 0;
}

body.menu-open .menu-toggle-balk:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.site-nav {
    display: flex;
    align-items: stretch;
    height: 66px;
    gap: 6px;
}

.site-nav a {
    display: flex;
    align-items: center;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    color: #bfd0de;
    padding: 22px 14px 18px;
    border-bottom: 3px solid transparent;
}

.site-nav a:hover,
.site-nav a.actief {
    color: #fff;
    border-color: #e5b342;
    background: transparent;
}

.intro-sectie {
    padding: 56px 0 28px;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #60768b;
    font-size: 10px;
    letter-spacing: 1.3px;
    font-weight: 700;
    text-transform: uppercase;
}

.eyebrow > span {
    width: 23px;
    height: 2px;
    background: #d8a62f;
    display: inline-block;
}

.intro-rij {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
}

.intro-titel {
    font-size: 43px;
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: -1.2px;
    margin: 8px 0 12px;
}

.intro-tekst {
    margin: 0;
    max-width: 565px;
    color: var(--kleur-tekst-zacht);
    font-size: 16px;
}

.update-chip {
    min-width: 214px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: #fff;
    border: 1px solid var(--kleur-rand);
    border-radius: 11px;
    box-shadow: 0 6px 15px rgba(28, 51, 74, 0.04);
    flex-shrink: 0;
}

.update-chip-icoon {
    color: var(--kleur-blauw);
    background: #e8f5fc;
    border-radius: 8px;
    padding: 5px 8px;
    font-size: 18px;
    line-height: 1;
}

.update-chip strong,
.update-chip small {
    display: block;
    font-size: 12px;
}

.update-chip small {
    color: var(--kleur-tekst-zacht);
    font-size: 11px;
}

.markt-alert {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 0 0 22px;
    padding: 14px 16px;
    background: #fff4dd;
    border: 2px solid #e6a82f;
    border-radius: 10px;
    color: #7a4a00;
}

.markt-alert-icoon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: #e6a82f;
    color: #fff;
    font-size: 14px;
    line-height: 1;
}

.markt-alert p {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.45;
}

.prijs-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
}

.grafiek-kaart,
.leeg-staat,
.markt-panel {
    background: var(--kleur-kaart);
    border: 1px solid var(--kleur-rand);
    border-radius: var(--radius-kaart);
    box-shadow: var(--schaduw-kaart);
}

.grafiek-kaart {
    padding: 28px 28px 22px;
    overflow: hidden;
}

.prijs-grid .grafiek-kaart {
    margin: 0;
}

.instrument-rij {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.instrument {
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
}

.instrument-icoon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    font-size: 22px;
    flex-shrink: 0;
}

.instrument-icoon.amber {
    color: #b97300;
    background: #fff4dd;
}

.instrument-icoon.blauw {
    color: #1174aa;
    background: #e6f4fc;
}

.grafiek-titel {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.4px;
}

.grafiek-titel-link {
    text-decoration: none;
    color: inherit;
}

.grafiek-titel-link:hover {
    color: var(--kleur-blauw);
}

.instrument-ondertitel {
    margin: 2px 0 0;
    color: var(--kleur-tekst-zacht);
    font-size: 13px;
}

.meer-knop {
    border: 0;
    color: #7a8b99;
    background: #f4f7f9;
    border-radius: 7px;
    padding: 4px 8px;
    cursor: pointer;
    text-decoration: none;
    font-size: 14px;
    line-height: 1;
    flex-shrink: 0;
}

.meer-knop:hover {
    color: var(--kleur-navy);
    background: #eaf0f4;
}

.prijs-regel {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 12px;
    margin: 21px 0 12px;
}

.prijs-label {
    display: block;
    color: var(--kleur-tekst-zacht);
    font-size: 13px;
}

.prijs-waarde {
    display: block;
    margin: 4px 0 0;
    font-family: Manrope, sans-serif;
    font-size: 42px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -1.6px;
}

.prijs-delta {
    text-align: right;
}

.prijs-delta b,
.prijs-delta span {
    display: block;
}

.prijs-delta b {
    font-size: 16px;
}

.prijs-delta span {
    color: #748495;
    font-size: 12px;
}

.prijs-delta.stijging b {
    color: var(--kleur-stijging);
}

.prijs-delta.daling b {
    color: var(--kleur-daling);
}

.prijs-delta.neutraal b {
    color: var(--kleur-tekst-zacht);
}

.wijziging-rij {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 17px;
}

.wijziging-badge {
    display: inline-flex;
    align-items: center;
    padding: 0;
    border-radius: 0;
    font-size: 13px;
    font-weight: 600;
    color: #758699;
    background: transparent;
}

.wijziging-badge.stijging {
    color: var(--kleur-stijging);
    background: transparent;
}

.wijziging-badge.daling {
    color: var(--kleur-daling);
    background: transparent;
}

.wijziging-badge.neutraal {
    color: #758699;
    background: transparent;
}

.periode-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 9px;
}

.periode-tab {
    border: 0;
    background: #f3f6f8;
    color: #718193;
    border-radius: 6px;
    padding: 7px 12px;
    font-family: 'DM Sans', Arial, sans-serif;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.periode-tab:hover,
.periode-tab.actief {
    color: #fff;
    background: var(--kleur-navy);
}

.grafiek-canvas-wrap {
    position: relative;
    height: 280px;
}

.grafiek-canvas-wrap canvas {
    display: block;
}

.kaart-tekst {
    margin: 18px 0 0;
    color: var(--kleur-tekst-zacht);
    font-size: 15px;
    line-height: 1.55;
}

.week-tabel-wrap {
    margin-top: 20px;
    border-top: 1px solid #e7edf2;
    padding-top: 16px;
}

.week-tabel-titel {
    margin: 0 0 10px;
    font-size: 16px;
    letter-spacing: -0.3px;
}

.week-tabel,
.markt-tabel {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.week-tabel th,
.markt-tabel th {
    text-align: left;
    font-size: 11px;
    color: #76899a;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 0 0 9px;
    font-weight: 700;
}

.week-tabel td,
.markt-tabel td {
    border-top: 1px solid #e7edf2;
    padding: 11px 6px 11px 0;
    color: #4a6175;
}

.week-tabel td:last-child,
.markt-tabel td:last-child,
.week-tabel th:last-child,
.markt-tabel th:last-child {
    text-align: right;
}

.week-tabel .stijging,
.markt-tabel .stijging {
    color: var(--kleur-stijging);
    font-weight: 700;
}

.week-tabel .daling,
.markt-tabel .daling {
    color: var(--kleur-daling);
    font-weight: 700;
}

.week-tabel .neutraal,
.markt-tabel .neutraal {
    color: #8a99a5;
}

.markt-grid {
    display: grid;
    grid-template-columns: 1.45fr 0.85fr;
    gap: 20px;
    margin-top: 28px;
}

.markt-panel {
    padding: 26px;
}

.markt-panel h2 {
    margin: 0 0 16px;
    font-size: 23px;
    line-height: 1.25;
}

.tabel-wrap {
    overflow-x: auto;
}

.tabel-punt {
    display: inline-block;
    vertical-align: middle;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 6px;
}

.tabel-punt.amber {
    background: #e4a42c;
}

.tabel-punt.blauw {
    background: #1e83b7;
}

.tabel-punt.groen {
    background: #40a484;
}

.markt-tabel small {
    color: #8a99a5;
    margin-left: 4px;
}

.panel-noot {
    border-top: 1px solid #e7edf2;
    padding-top: 12px;
    margin: 8px 0 0;
    color: #81909d;
    font-size: 12px;
}

.markt-lijst {
    list-style: none;
    padding: 0;
    margin: 0;
}

.markt-lijst li {
    display: flex;
    gap: 11px;
    padding: 12px 0;
    border-top: 1px solid #e7edf2;
}

.markt-lijst li:first-child {
    border-top: 0;
    padding-top: 0;
}

.lijst-icoon {
    flex: 0 0 32px;
    height: 32px;
    display: grid;
    place-items: center;
    color: #1376aa;
    background: #e8f5fb;
    border-radius: 8px;
    font-weight: 700;
}

.lijst-icoon.amber {
    color: #b97300;
    background: #fff4dd;
}

.markt-lijst strong {
    font-size: 14px;
}

.markt-lijst p {
    margin: 2px 0 0;
    color: #78899a;
    font-size: 13px;
}

.inhoud-sectie {
    max-width: 42rem;
    padding: 4.5rem 0 2rem;
    margin: 1.5rem 0 0;
}

.inhoud-sectie h1,
.inhoud-sectie h2 {
    margin: 0 0 1.25rem;
    font-size: clamp(1.75rem, 3vw, 2.15rem);
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.inhoud-tekst {
    color: var(--kleur-tekst);
    font-size: 1.0625rem;
    line-height: 1.75;
}

.inhoud-tekst p {
    margin: 0 0 1.25rem;
}

.inhoud-tekst p:last-child {
    margin-bottom: 0;
}

.inhoud-tekst a {
    color: #1675a8;
    text-decoration: none;
    font-weight: 700;
}

.inhoud-tekst a:hover {
    text-decoration: underline;
}

.inhoud-afbeelding {
    margin: 1.5rem 0 0;
    border-radius: var(--radius-klein);
    overflow: hidden;
}

.inhoud-afbeelding img {
    width: 100%;
}

.site-voet {
    margin-top: 4rem;
    padding: 28px 0;
    border-top: 1px solid #e1e8ee;
    background: transparent;
}

.site-voet-inhoud {
    width: min(var(--breedte-container), calc(100% - 40px));
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    color: #7c8b99;
    font-size: 10px;
}

.site-voet-inhoud p {
    margin: 0;
}

.meta {
    color: var(--kleur-tekst-zacht);
    font-size: 0.875rem;
}

.leeg-staat {
    padding: 2rem;
    text-align: center;
    color: var(--kleur-tekst-zacht);
}

@media (max-width: 768px) {
    .hoofd-container,
    .site-kop-inhoud,
    .site-voet-inhoud {
        width: min(100% - 28px, 590px);
    }

    .site-kop-inhoud {
        min-height: 58px;
        gap: 12px;
        position: relative;
    }

    .site-kop {
        position: relative;
    }

    .menu-toggle {
        display: inline-flex;
        flex-direction: column;
        justify-content: center;
    }

    .site-nav {
        position: absolute;
        top: calc(100% + 1px);
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        height: auto;
        gap: 0.25rem;
        padding: 1rem;
        background: var(--kleur-kop);
        border-bottom: 2px solid var(--kleur-accent-lijn);
        box-shadow: 0 16px 30px rgba(15, 23, 42, 0.18);
    }

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

    .site-nav a {
        padding: 12px 14px;
        border-bottom: 0;
        border-radius: 8px;
    }

    .site-nav a:hover,
    .site-nav a.actief {
        background: rgba(229, 179, 66, 0.14);
        border-color: transparent;
    }

    .intro-sectie {
        padding: 39px 0 23px;
    }

    .intro-rij {
        display: block;
    }

    .intro-titel {
        font-size: 35px;
    }

    .intro-tekst {
        font-size: 14px;
    }

    .update-chip {
        margin-top: 19px;
        width: max-content;
    }

    .prijs-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .grafiek-kaart {
        padding: 20px 16px 16px;
    }

    .prijs-waarde {
        font-size: 34px;
    }

    .grafiek-titel {
        font-size: 18px;
    }

    .grafiek-canvas-wrap {
        height: 200px;
    }

    .markt-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .markt-panel {
        padding: 20px 16px;
    }

    .inhoud-sectie {
        padding: 3rem 0 1.5rem;
        margin-top: 0.5rem;
    }

    .inhoud-sectie h1,
    .inhoud-sectie h2 {
        font-size: 1.6rem;
    }

    .site-voet {
        margin-top: 2.5rem;
    }

    .site-voet-inhoud {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
}
