:root {
    --bg0: #070812;
    --bg1: #0b1022;
    --card: rgba(255, 255, 255, .06);
    --stroke: rgba(255, 255, 255, .12);
    --text: #eef1ff;
    --muted: #b7c0e7;
    --a: #6ee7ff;
    --b: #a78bfa;
    --c: #34d399;
    --shadow: 0 18px 60px rgba(0, 0, 0, .42);
    --r: 18px;
}

/* ✅ LIGHT MODE (toegevoegd) */
html[data-theme="light"] {
    --bg0: #f4f6ff;
    --bg1: #e9edff;
    --text: #0f172a;
    --muted: #475569;
    --stroke: rgba(0, 0, 0, .12);
    --shadow: 0 18px 60px rgba(0, 0, 0, .15);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
    color: var(--text);
    background:
        radial-gradient(800px 520px at 20% 10%, rgba(110, 231, 255, .18), transparent 55%),
        radial-gradient(900px 520px at 90% 18%, rgba(167, 139, 250, .16), transparent 55%),
        radial-gradient(700px 420px at 60% 90%, rgba(52, 211, 153, .10), transparent 60%),
        linear-gradient(180deg, var(--bg0), var(--bg1) 55%, var(--bg0));
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1120px, 92vw);
    margin: 0 auto;
    padding: 28px 0 70px;
}

/* Top */
.top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    padding: 8px 16px 18px 0;
}

.top-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    letter-spacing: .2px;
}

.logo {
    height: 40px;
    /* pas aan naar wens */
    width: auto;
}

/* .logo {
    width: 38px;
    height: 38px;
    border-radius: 14px;
    background:
        radial-gradient(circle at 30% 25%, var(--a), transparent 55%),
        radial-gradient(circle at 75% 65%, var(--b), transparent 60%),
        radial-gradient(circle at 40% 75%, var(--c), transparent 55%),
        rgba(255, 255, 255, .08);
    border: 1px solid var(--stroke);
    box-shadow: 0 12px 34px rgba(0, 0, 0, .32);
} */

.nav {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    color: var(--muted);
    font-size: 14px;
}

.nav a {
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid transparent;
    transition: .2s ease;
}

.nav a:hover {
    background: rgba(255, 255, 255, .06);
    border-color: var(--stroke);
    color: var(--text);
    transform: translateY(-1px);
}

/* Theme toggle (switch) */
.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;
}

.theme-switch {
    --switch-w: 54px;
    --switch-h: 30px;
    --switch-pad: 3px;
    --thumb: calc(var(--switch-h) - (var(--switch-pad) * 2));
    --travel: calc(var(--switch-w) - (var(--switch-pad) * 2) - var(--thumb));

    appearance: none;
    border: 1px solid var(--stroke);
    background: transparent;
    padding: 0;
    border-radius: 999px;
    cursor: pointer;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    transition: transform .2s ease, border-color .2s ease;
    position: relative;
}

.theme-switch:hover {
    transform: translateY(-1px);
}

.theme-switch:focus-visible {
    outline: none;
    box-shadow:
        0 0 0 4px rgba(110, 231, 255, .18),
        0 0 0 1px rgba(110, 231, 255, .35) inset;
}

.theme-switch__track {
    width: var(--switch-w);
    height: var(--switch-h);
    border-radius: 999px;
    display: grid;
    align-items: center;
    position: relative;
    background:
        linear-gradient(135deg, rgba(110, 231, 255, .14), rgba(167, 139, 250, .10));
    box-shadow:
        0 10px 24px rgba(0, 0, 0, .18),
        0 0 0 1px rgba(255, 255, 255, .08) inset;
}

/* subtle icons */
.theme-switch__track::before,
.theme-switch__track::after {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    line-height: 1;
    opacity: .55;
    text-shadow:
        0 2px 6px rgba(0, 0, 0, .35),
        0 1px 0 rgba(0, 0, 0, .22);
    background: rgba(0, 0, 0, .12);
    border: 1px solid rgba(255, 255, 255, .10);
    width: 18px;
    height: 18px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    pointer-events: none;
    z-index: 0;
}

.theme-switch__track::before {
    content: "☀︎";
    left: 8px;
    color: rgba(15, 23, 42, .75);
}

.theme-switch__track::after {
    content: "☾";
    right: 8px;
    color: rgba(238, 241, 255, .85);
}

.theme-switch__thumb {
    width: var(--thumb);
    height: var(--thumb);
    border-radius: 999px;
    position: absolute;
    left: var(--switch-pad);
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, .86);
    box-shadow:
        0 10px 22px rgba(0, 0, 0, .28),
        0 0 0 1px rgba(255, 255, 255, .22) inset;
    transition: transform .25s cubic-bezier(.2, .9, .2, 1), background-color .25s ease;
    z-index: 1;
}

/* Dark mode "on": move thumb right */
.theme-switch[aria-checked="true"] .theme-switch__thumb {
    transform: translateY(-50%) translateX(var(--travel));
    background: rgba(255, 255, 255, .92);
}

/* Highlight the visible "target" icon (the side not covered by the thumb) */
.theme-switch[aria-checked="true"] .theme-switch__track::before {
    opacity: 1;
    color: #f59e0b;
    background: rgba(255, 255, 255, .22);
    border-color: rgba(255, 255, 255, .18);
}

.theme-switch[aria-checked="true"] .theme-switch__track::after {
    opacity: .22;
}

.theme-switch[aria-checked="false"] .theme-switch__track::after {
    opacity: 1;
    color: rgba(238, 241, 255, .95);
    background: rgba(255, 255, 255, .12);
    border-color: rgba(255, 255, 255, .16);
}

.theme-switch[aria-checked="false"] .theme-switch__track::before {
    opacity: .22;
}

/* Light mode tweaks */
html[data-theme="light"] .theme-switch__track {
    background: linear-gradient(135deg, rgba(15, 23, 42, .10), rgba(71, 85, 105, .10));
    box-shadow:
        0 10px 24px rgba(0, 0, 0, .10),
        0 0 0 1px rgba(0, 0, 0, .06) inset;
}

html[data-theme="light"] .theme-switch__track::before {
    color: rgba(15, 23, 42, .78);
    text-shadow: 0 1px 1px rgba(255, 255, 255, .35);
}

html[data-theme="light"] .theme-switch__track::after {
    color: rgba(15, 23, 42, .72);
    text-shadow: 0 1px 1px rgba(255, 255, 255, .25);
}

html[data-theme="light"] .timeline-container::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,.25);
}

html[data-theme="light"] .theme-switch__track::before,
html[data-theme="light"] .theme-switch__track::after {
    background: rgba(255, 255, 255, .30);
    border-color: rgba(0, 0, 0, .08);
    text-shadow:
        0 2px 6px rgba(0, 0, 0, .12),
        0 1px 0 rgba(255, 255, 255, .40);
}

html[data-theme="light"] .theme-switch__thumb {
    background: rgba(15, 23, 42, .85);
    box-shadow:
        0 10px 22px rgba(0, 0, 0, .18),
        0 0 0 1px rgba(0, 0, 0, .12) inset;
}

html[data-theme="light"] .theme-switch[aria-checked="true"] .theme-switch__thumb {
    background: rgba(15, 23, 42, .88);
}

/* Hero */
.hero {
    position: relative;
    border-radius: calc(var(--r) + 10px);
    border: 1px solid rgba(255, 255, 255, .10);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .03));
    box-shadow: var(--shadow);
    overflow: hidden;
    padding: 34px;
}

.hero::before {
    content: "";
    position: absolute;
    inset: -2px;
    background:
        radial-gradient(620px 260px at 18% 18%, rgba(110, 231, 255, .22), transparent 60%),
        radial-gradient(520px 260px at 88% 28%, rgba(167, 139, 250, .20), transparent 62%);
    filter: blur(0px);
    pointer-events: none;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, .06), transparent 35%, rgba(255, 255, 255, .04));
    opacity: .25;
    pointer-events: none;
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 18px;
    align-items: stretch;
}

.kicker {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    color: var(--muted);
    font-size: 13px;
    border: 1px solid var(--stroke);
    background: rgba(0, 0, 0, .12);
    padding: 8px 12px;
    border-radius: 999px;
    width: fit-content;
    backdrop-filter: blur(10px);
}

.spark {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, var(--a), var(--b));
    box-shadow: 0 0 0 6px rgba(110, 231, 255, .10);
}

h1 {
    margin: 12px 0 10px;
    font-size: clamp(28px, 3.3vw, 46px);
    line-height: 1.1;
    letter-spacing: -.6px;
}

.lead {
    margin: 0;
    max-width: 62ch;
    color: var(--muted);
    font-size: 16px;
}

.hero-actions {
    margin-top: 16px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 14px;
    border: 1px solid var(--stroke);
    background: rgba(255, 255, 255, .06);
    color: var(--text);
    transition: .2s ease;
    user-select: none;
}

.btn:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, .09);
}

.btn.primary {
    border-color: rgba(110, 231, 255, .30);
    background: linear-gradient(135deg, rgba(110, 231, 255, .18), rgba(167, 139, 250, .14));
}

.btn .dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--a);
}

.summary {
    border-radius: var(--r);
    border: 1px solid rgba(255, 255, 255, .10);
    background: rgba(10, 14, 28, .35);
    backdrop-filter: blur(12px);
    padding: 16px;
    position: relative;
    overflow: hidden;
}

.summary::before {
    content: "";
    position: absolute;
    inset: -1px;
    background:
        radial-gradient(200px 140px at 20% 20%, rgba(52, 211, 153, .16), transparent 60%),
        radial-gradient(220px 160px at 80% 50%, rgba(110, 231, 255, .16), transparent 60%);
    pointer-events: none;
    opacity: .9;
}

.summary h3 {
    position: relative;
    margin: 0 0 10px;
    font-size: 14px;
    letter-spacing: .2px;
}

.summary ul {
    position: relative;
    margin: 0;
    padding-left: 18px;
    color: var(--muted);
    font-size: 13px;
}

.summary li {
    margin: 8px 0;
}

/* Section */
section {
    margin-top: 26px;
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 14px;
    margin-bottom: 12px;
}

.section-head h2 {
    margin: 0;
    font-size: 18px;
    letter-spacing: .2px;
    text-align: center;
}

.section-head p {
    margin: 0;
    font-size: 13px;
    color: var(--muted);
}

/* Reveal on scroll */
.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .7s ease, transform .7s ease;
}

.reveal.show {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: .06s;
}

.delay-2 {
    transition-delay: .12s;
}

.delay-3 {
    transition-delay: .18s;
}

.delay-4 {
    transition-delay: .24s;
}

.delay-5 {
    transition-delay: .30s;
}

/* Team cards with slide overlay */
.team-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
}

.person {
    position: relative;
    overflow: hidden;
    /* border-radius: 18px; */
}

.person .imgwrap {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.person img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Slide overlay */
/* .person .overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;

    padding: 14px 14px 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;

    background: linear-gradient(to top,
            rgba(0, 0, 0, .78) 0%,
            rgba(0, 0, 0, .35) 55%,
            rgba(0, 0, 0, 0) 100%);

    z-index: 2;
} */
.person .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;

    padding: 14px;

    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.85),
            rgba(0, 0, 0, 0.4),
            transparent);

    transform: translateY(100%);
    /* volledig onder beeld */
    transition: transform 0.4s ease;

    max-height: 70%;
    /* voorkomt dat lange tekst alles bedekt */
    overflow-y: auto;
    /* scroll als tekst te lang is */
}

/* ✅ overlay voor light mode (toegevoegd) */
html[data-theme="light"] .person .overlay {
    background: linear-gradient(to top,
            rgba(255, 255, 255, .85) 0%,
            rgba(255, 255, 255, .40) 55%,
            rgba(255, 255, 255, 0) 100%);
}

/* ✅ rol kleur in light mode (toegevoegd) */
html[data-theme="light"] .person .role {
    color: rgba(0, 0, 0, .75);
}

.person .name {
    margin: 0;
    font-weight: 800;
    font-size: 14px;
    line-height: 1.2;
}

.person .role {
    margin: 0;
    font-size: 12px;
    color: rgba(255, 255, 255, .85);
    line-height: 1.25;

    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;

    opacity: 0;
    transform: translateY(10px);
    transition: opacity .25s ease, transform .25s ease;
}

.person:hover .role {
    opacity: 1;
    transform: translateY(0);
}

.person::after {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: var(--r);
    box-shadow: 0 0 0 1px rgba(110, 231, 255, .20) inset;
    opacity: 0;
    transition: opacity .35s ease;
    pointer-events: none;
}

.person:hover img {
    transform: scale(1.08) rotate(-0.3deg);
}

.person:hover .overlay {
    transform: translateY(0);
}

.person:hover::after {
    opacity: 1;
}

/* Situations */
.two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.card {
    border-radius: var(--r);
    border: 1px solid rgba(255, 255, 255, .10);
    background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .03));
    box-shadow: var(--shadow);
    padding: 18px;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: "";
    position: absolute;
    inset: -1px;
    background:
        radial-gradient(260px 160px at 20% 15%, rgba(110, 231, 255, .16), transparent 60%),
        radial-gradient(260px 160px at 80% 70%, rgba(167, 139, 250, .14), transparent 60%);
    opacity: .75;
    pointer-events: none;
}

.tag {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    padding: 7px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .12);
    background: rgba(0, 0, 0, .14);
    color: var(--muted);
    width: fit-content;
}

.tag .pin {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--a);
    box-shadow: 0 0 0 6px rgba(110, 231, 255, .10);
}

.tag.goal .pin {
    background: var(--b);
    box-shadow: 0 0 0 6px rgba(167, 139, 250, .10);
}

.card h3 {
    position: relative;
    margin: 10px 0 8px;
    font-size: 16px;
}

.card ul {
    position: relative;
    margin: 0;
    padding-left: 18px;
    color: var(--muted);
}

.card li {
    margin: 8px 0;
}

/* container */

.timeline-container {
    max-width: 1000px;
    margin: 80px auto;
    overflow-x: auto;
    padding-bottom: 20px;
}

/* track */


.timeline-track {
    display: flex;
    gap: 80px;
    position: relative;
    padding-top: 60px;
    width: max-content; /* zorgt dat de track net zo breed wordt als alle items samen */
}

.timeline-track::before {
    content: "";
    position: absolute;
    top: 32px;
    left: 0;
    right: 0; /* belangrijk: laat lijn volledig doorlopen */
    height: 3px;
    background: linear-gradient(
        90deg,
        rgba(52,211,153,0.2),
        rgba(52,211,153,0.6),
        rgba(52,211,153,0.2)
    );
}

/* item */

.timeline-item {
    position: relative;
    min-width: 320px;
    text-align: center;
}

/* punt */

.timeline-dot {
    width: 16px;
    height: 16px;
    background: var(--a);
    border-radius: 50%;
    margin: 0 auto 14px;
    position: relative;
    top: -36px; /* schuift de dot omhoog */
    z-index: 2;

    box-shadow:
        0 0 0 6px rgba(52,211,153,0.1),
        0 0 16px rgba(52,211,153,0.6);
}

/* datum */

.timeline-date {
    font-family: ui-monospace, monospace;
    color: var(--muted);
    font-size: 13px;
    margin-bottom: 14px;
}

.timeline-date span {
    display: block;
    font-weight: 700;
    color: var(--a);
    font-size: 16px;
}

/* card */

.timeline-content {
    border: 1px solid var(--stroke);
    border-radius: 12px;
    padding: 20px;
    background: rgba(255,255,255,0.02);

    backdrop-filter: blur(6px);

    transition: all .25s ease;
}

/* hover effect */

.timeline-content:hover {
    transform: translateY(-6px);
    border-color: var(--a);

    box-shadow:
        0 10px 25px rgba(0,0,0,0.25),
        0 0 20px rgba(52,211,153,0.15);
}

.timeline-title {
    font-size: 18px;
    margin-bottom: 10px;
}

.timeline-desc {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.6;
}

.video-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.video-placeholder {
    width: 100%;
    aspect-ratio: 16 / 9; /* houdt 16:9 verhouding */
    background-color: white; /* grijs vlak */
    display: flex;
    justify-content: center;
    align-items: center;
    color: black;
    font-size: 18px;
    border-radius: 12px;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
}

/* tech stack */

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
}

.tech-tag {
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 6px;
    background: rgba(52,211,153,.10);
    color: var(--c);
    border: 1px solid rgba(52,211,153,.20);
}
footer {
    margin-top: 26px;
    color: var(--muted);
    font-size: 12px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    opacity: .95;
}

/* Responsive */
@media (max-width: 980px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 768px) {
    .timeline-item {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

@media (max-width: 640px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .hero {
        padding: 22px;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {

    .reveal,
    .person img,
    .person .overlay,
    .btn {
        transition: none !important;
    }

    html {
        scroll-behavior: auto;
    }
}

/* Company names slider */
#companynames {
    overflow: hidden;
    padding: 40px 0;
}

#companynames .section-head {
    display: block;
    text-align: center;
    margin-bottom: 30px;
}

#companynames .names {
    overflow: hidden;
    white-space: nowrap;
}

#companynames .scrolling-list {
    display: inline-flex;
    gap: 80px;
    list-style: none;
    padding: 0;
    margin: 0;

    min-width: 200%;
    animation: scroll-left 30s linear infinite;
}

#companynames .scrolling-list li {
    font-size: 18px;
    font-weight: 600;
    color: var(--muted);
}

#situatie .section-head {
    display: block;
    text-align: center;
    margin-bottom: 30px;
}

#team .section-head {
    display: block;
    text-align: center;
    margin-bottom: 30px;
}

#context .lead {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    line-height: 1.7;
}

#visie .lead {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    line-height: 1.7;
}

#context .card {
    text-align: center;
    margin-bottom: 30px;
}

#visie .card {
    text-align: center;
    margin-bottom: 30px;
}

#intro .lead {
    max-width: 800px;
    line-height: 1.7;
}

#intro .card {
    margin-bottom: 30px;
}

/* Animatie */
@keyframes scroll-left {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

#demo {
    margin-top: 40px;
    margin-bottom: 80px;
}

#demo .section-head {
    display: block;
    text-align: center;
    margin-bottom: 30px;
}

.video-wrapper {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .4);
}

.video-wrapper video {
    width: 100%;
    height: auto;
    display: block;
}

.scrolling-list img {
    height: 122px;
    width: auto;
}

.scrolling-list img.logo-small {
    height: 80px; 
    width: auto; 
    margin-top: 20px;
}

.timeline-container::-webkit-scrollbar {
    height: 6px;
}

.timeline-container::-webkit-scrollbar-track {
    background: transparent;
}

.timeline-container::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,.2);
    border-radius: 999px;
}

.timeline-container::-webkit-scrollbar-thumb:hover {
    background: rgba(255,255,255,.4);
}

/* Team Waarden Section */
#teamwaarden {
    margin-top: 60px;
    text-align: center;
}

#teamwaarden .waarden-grid {
    display: flex;
    justify-content: space-between; /* spreads buttons evenly */
    flex-wrap: wrap;
    gap: 40px;
    max-width: 800px; /* optional: constrain width */
    margin: 0px auto 0 auto;
}

/* Buttons */
.waarde-btn {
    background: linear-gradient(135deg, rgba(110,231,255,0.18), rgba(167,139,250,0.14));
    border: 1px solid rgba(110,231,255,0.3);
    border-radius: 14px;
    color: var(--text);
    font-weight: 600;
    padding: 12px 0;
    width: 100%;
    cursor: pointer;
    transition: transform 0.2s, background 0.2s;
    font-size: 16px;
}

.waarde-btn:hover {
    background: linear-gradient(135deg, rgba(110,231,255,0.25), rgba(167,139,250,0.20));
    transform: translateY(-2px);
}

/* Light mode tweaks */
html[data-theme="light"] .waarde-btn {
    background: linear-gradient(135deg, rgba(15,23,42,0.10), rgba(71,85,105,0.10));
    border: 1px solid rgba(0,0,0,0.12);
    color: var(--text);
}

/* Responsive: stack on smaller screens */
@media (max-width: 640px) {
    #teamwaarden .waarden-grid {
        flex-direction: column;
        gap: 16px;
    }
}

/* Team Waarden Section Update */
#teamwaarden .waarden-grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1000px; /* Iets breder voor de tekst */
    margin: 40px auto 0 auto;
}

.waarde-item {
    flex: 1;
    min-width: 150px;
}

.waarde-content p {
    font-size: 18px;
    line-height: 1.7; /* Jouw gevraagde regelafstand */
    margin: 0;
    color: var(--text);
}

html[data-theme="light"] .waarde-content {
    background: white;
    box-shadow: var(--shadow);
}

/* The container for the text */
#central-waarde-content {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.5s ease, opacity 0.3s ease, margin 0.3s ease;
    margin-top: 0;
}

/* When the "open" class is added via JS */
#central-waarde-content.open {
    max-height: 500px; /* Adjust based on your text length */
    opacity: 1;
    margin-top: 30px;
    padding: 20px;
    border-top: 1px solid rgba(110,231,255,0.2);
}

/* Visual feedback for the active button */
.waarde-btn.active {
    background: linear-gradient(135deg, rgba(110,231,255,0.4), rgba(167,139,250,0.3));
    border-color: rgba(110,231,255,0.8);
    transform: scale(0.98);
}