:root {
    --color-primary: #081522;
    --color-primary-hover: #152c45;
    --color-primary-light: #DDEBFA;
    --color-primary-light-hover: #bedeff;

    --color-background: #081522;
    --color-header: #081522d0;
    --color-text: #dddddd;

    --border-radius: 50px;
    --border-radius-btn: 25px;

    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-family);
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-background);
    color: var(--color-text);
    line-height: 1.6;
}

/* secties niet onder de sticky navbar laten verdwijnen bij ankerlinks */
[id] {
    scroll-margin-top: 7rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.blauw {
    color: rgb(77, 151, 255);
}

/* Toegankelijkheid: skip-link naar hoofdinhoud */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 2000;
    padding: 0.75rem 1.25rem;
    background: var(--color-primary-light);
    color: var(--color-primary);
    border-radius: 0 0 12px 0;
    font-weight: 700;
    text-decoration: none;
}

.skip-link:focus {
    left: 0;
}

:focus-visible {
    outline: 3px solid rgb(77, 151, 255);
    outline-offset: 2px;
}

/* NAVBAR */

header {
    background-color: var(--color-header);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 0px 0px 40px 40px;
    padding: 1rem 2rem;
    /* Zweeft over de hero heen en blijft bij het scrollen bovenaan hangen */
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    box-shadow: 0 0 35px rgba(255, 255, 255, 0.6);
    z-index: 1000;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
    max-width: 100px;
}

nav .logo img{
    max-width: 100%;
    height: auto;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 0.5rem;
}

nav ul li a {
    text-decoration: none;
    color: var(--color-text);
    padding: 1rem 1rem;
    border-radius: var(--border-radius);
}

nav ul li a:hover {
    background: var(--color-primary-hover);
    color: var(--color-primary-light-hover);
}

.nav-cta-mobile {
    display: none;
}

/* CSS-only hamburger (geen extra JavaScript) */
.nav-hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
}

.nav-hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    border-radius: 3px;
    background: var(--color-text);
    transition: transform .25s ease, opacity .25s ease;
}

.nav-toggle:checked ~ .nav-hamburger span:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
}

.nav-toggle:checked ~ .nav-hamburger span:nth-child(2) {
    opacity: 0;
}

.nav-toggle:checked ~ .nav-hamburger span:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
}

.btn {
    padding: 1rem 1.5rem;
    font-size: .8rem;
    background: var(--color-primary-light);
    border: none;
    border-radius: var(--border-radius-btn);
    transition: 0.2s ease-in-out;
}

.btn:hover {
    cursor: pointer;
    background: var(--color-primary-light-hover);
    transform: scale(1.05);
}

a.btn {
    display: inline-block;
    text-decoration: none;
    color: var(--color-primary);
    text-align: center;
}

/* HERO */
.hero-bg {
    display: grid;
    align-content: center;
    min-height: 92vh;
    background:
        linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
        url("../images/hero.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* extra padding bovenaan zodat de content niet onder de zwevende header valt */
    padding: 7rem 0 2rem;
    margin-bottom: 4rem;
}

.hero {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-content: center;
}

.content h1 {
    line-height: 0.9;
    font-size: 4.5rem;
}

.content p {
    font-size: 1.3rem;
}

.content-links {
    padding: 1rem;
    align-content: center;
}

.content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.content-rechts {
    padding: 1rem;
    padding-left: 5rem;
    max-width: 600px;
    align-content: center;
}

.content-rechts img {
    max-width: 100%;
    height: auto;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
}

.cta {
    font-size: 1.1rem;

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        background-color .25s ease;
}

.cta:hover {
    box-shadow: 0 0 35px rgba(255, 255, 255, 0.6);
}

.cta-ghost {
    background: transparent;
    color: var(--color-primary-light) !important;
    border: 1px solid var(--color-primary-light);
}

.cta-ghost:hover {
    background: rgba(221, 235, 250, 0.1);
}

/* footer */
footer {
    border-top: 1px solid #ffffff22;
}

.footer-top {
    padding: 1.5rem 1rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
    text-align: left;
}

.footer-top > * {
    text-align: left;
}

.f-socials a {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.f-socials a svg {
    flex-shrink: 0;
}

.f-beoordeling {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.9rem;
}

.f-title {
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 0.2rem;
    color: var(--color-primary-light-hover);
    margin-bottom: 5px;
}

.f-col, .f-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0.5rem;
}

.f-contact address {
    font-style: normal;
    line-height: 1.9;
    color: var(--color-text);
}

.f-col a, .f-contact a {
    text-decoration: none;
    color: var(--color-text);
}

.f-col a:hover, .f-contact a:hover {
    color: var(--color-primary-light-hover);
}

.stars {
    --rating: 0; /* waarde tussen 0 en 5 */
    --percent: calc(clamp(0, var(--rating), 5) / 5 * 100%);

    position: relative;
    display: inline-block;
    font-size: 1.5rem;
    line-height: 1;
}

.stars::before {
    content: "☆☆☆☆☆";
    color: #666;
}

.stars::after {
    content: "★★★★★";
    color: #FFD700;

    position: absolute;
    top: 0;
    left: 0;

    width: var(--percent);
    overflow: hidden;
    white-space: nowrap;
}

.footer-bottom {
    padding: 1rem 0;
}

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    margin-bottom: 0.75rem;
}

.footer-legal a,
.footer-legal .linkknop {
    color: var(--color-text);
    text-decoration: none;
    font-size: 0.9rem;
}

.footer-legal a:hover,
.footer-legal .linkknop:hover {
    color: var(--color-primary-light-hover);
}

.footer-legal .linkknop {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font: inherit;
    font-size: 0.9rem;
}

/* MAIN PAGINA */
.dienst, .aanvraag, .reviews-sectie, .faq, .about, .projecten {
    margin-bottom: 6rem;
    padding: 0 1rem;
    position: relative;
}

.projecten {
    position: relative;
}

.dienst h2, .aanvraag h2, .reviews-sectie h2, .faq h2, .about h2, .projecten h2 {
    font-size: 3rem;
    line-height: 1.15;
    color: var(--color-primary-light-hover);
}

.section-eyebrow {
    font-size: .8rem;
    letter-spacing: 0.2rem;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: .25rem;
}

.section-intro {
    max-width: 70ch;
    color: rgba(255, 255, 255, 0.85);
}

.diensten {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    margin: 2rem 0rem;
    gap: 3rem;
}

.dienst-card {
    padding: 2rem;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.03),
        rgba(255, 255, 255, 0.015)
    );
    border: 1px solid rgba(221, 235, 250, 0.08);
    border-radius: 28px;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.25),
        0 0 20px rgba(221, 235, 250, 0.03);

    transition:
        transform .3s ease,
        box-shadow .3s ease,
        border-color .3s ease;
}

.dienst-card:hover {
    transform: translateY(-8px);

    border-color: rgba(221, 235, 250, 0.2);

    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.35),
        0 0 30px rgba(221, 235, 250, 0.08);
}

.dienst-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    padding-bottom: .75rem;
    letter-spacing: 0;

    border-bottom: 1px solid rgba(221, 235, 250, 0.15);
}

.dienst-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.dienst-card ul {
    list-style: none;
}

.dienst-card li {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: .8rem;
}

.dienst-card li::before {
    content: "✓";
    color: var(--color-primary-light);
    font-weight: bold;
}

/* CONFIGURATOR */
.configurator {
    margin-top: 2.5rem;
    padding: 2rem;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.03),
        rgba(255, 255, 255, 0.015)
    );
    border: 1px solid rgba(221, 235, 250, 0.08);
    border-radius: 28px;
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.25),
        0 0 20px rgba(221, 235, 250, 0.03);
}

.config-progress {
    height: 6px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.08);
    margin-bottom: 2rem;
    overflow: hidden;
}

.config-progress-bar {
    height: 100%;
    width: 20%;
    border-radius: 3px;
    background: rgb(77, 151, 255);
    transition: width .3s ease;
}

.config-step h3 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
}

.stap-nr {
    display: inline-block;
    font-size: .75rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.15rem;
    color: rgb(77, 151, 255);
    margin-right: .75rem;
}

.config-vraag {
    margin: 1.5rem 0 .75rem;
    font-weight: 600;
}

.config-opties {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
}

.config-optie {
    display: flex;
    flex-direction: column;
    gap: .25rem;
    padding: 1.25rem;
    border: 1px solid rgba(221, 235, 250, 0.15);
    border-radius: 18px;
    cursor: pointer;
    transition: border-color .2s ease, background-color .2s ease, transform .2s ease;
}

.config-optie:hover {
    border-color: rgba(221, 235, 250, 0.4);
    transform: translateY(-3px);
}

.config-optie input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.config-optie:has(input:checked) {
    border-color: rgb(77, 151, 255);
    background: rgba(77, 151, 255, 0.12);
}

.optie-titel {
    font-weight: 700;
}

.optie-uitleg {
    font-size: .85rem;
    color: rgba(255, 255, 255, 0.6);
}

.optie-prijs {
    font-weight: 700;
    font-size: .9rem;
    color: rgb(77, 151, 255);
}

.config-form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.config-form input, .config-form textarea {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(221, 235, 250, 0.15);
    border-radius: 14px;
    color: var(--color-text);
    font-size: 1rem;
}

.config-form input:focus, .config-form textarea:focus {
    outline: none;
    border-color: rgb(77, 151, 255);
}

.config-form textarea {
    grid-column: 1 / -1;
    resize: vertical;
}

.config-overzicht {
    margin-top: 1.5rem;
    padding: 1.25rem;
    border: 1px dashed rgba(221, 235, 250, 0.2);
    border-radius: 18px;
}

.overzicht-titel {
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.15rem;
    font-size: .75rem;
    color: var(--color-primary-light-hover);
    margin-bottom: .5rem;
}

.config-overzicht ul {
    list-style: none;
}

.config-fout {
    margin-top: 1rem;
    color: #ff9b9b;
}

[hidden] {
    display: none !important;
}

.config-conditioneel {
    margin-top: 1rem;
}

.config-bedankt {
    text-align: center;
    padding: 2rem 1rem;
}

.config-bedankt .bedankt-icoon {
    font-size: 3rem;
    line-height: 1;
    margin-bottom: 1rem;
}

.config-bedankt h3 {
    font-size: 1.8rem;
    color: var(--color-primary-light-hover);
    margin-bottom: .75rem;
}

.config-nav {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2rem;
}

.config-nav .config-next, .config-nav .config-verstuur {
    margin-left: auto;
}

/* REVIEWS */
.review-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    max-width: 100%;
}

.review-card {
    padding: 2rem;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.03),
        rgba(255, 255, 255, 0.015)
    );
    border: 1px solid rgba(221, 235, 250, 0.08);
    border-radius: 28px;
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.25),
        0 0 20px rgba(221, 235, 250, 0.03);
}

.review-tekst {
    font-size: 1.15rem;
    font-style: italic;
    margin: 1rem 0;
    color: rgba(255, 255, 255, 0.85);
}

.review-naam {
    font-weight: 600;
    color: var(--color-primary-light-hover);
}

/* FAQ */
.faq-lijst {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    border: 1px solid rgba(221, 235, 250, 0.08);
    border-radius: 18px;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.03),
        rgba(255, 255, 255, 0.015)
    );
    overflow: hidden;
    transition: border-color .2s ease;
}

.faq-item:hover, .faq-item[open] {
    border-color: rgba(221, 235, 250, 0.25);
}

.faq-item summary {
    padding: 1.25rem 1.5rem;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    font-size: 1.5rem;
    color: rgb(77, 151, 255);
    transition: transform .2s ease;
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-item p {
    padding: 0 1.5rem 1.25rem;
    color: rgba(255, 255, 255, 0.8);
}

/* OVER MIJ */
.about-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 3rem;
    align-items: center;
    margin-top: 2rem;
}

.about-img img {
    width: 100%;
    height: auto;
    border: 1px solid rgba(221, 235, 250, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

/* PROJECTEN */
.projecten-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.projecten-grid {
    display: none;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 55%;
  transform: translateY(-50%);
  width: auto;
  padding: 0.9rem 1rem;
  color: #ffffff;
  background-color: rgba(0, 0, 0);
  font-weight: bold;
  font-size: 1.6rem;
  transition: background-color 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  user-select: none;
  z-index: 999;
  opacity: 0.95;
}

.prev {
  left: 0;
}

/* Position the "next button" to the right */
.next {
  right: 0;
}

/* On hover, improve visibility */
.prev:hover, .next:hover {
  background-color: var(--color-primary-light-hover);
  color: black;
  transform: translateY(-50%) scale(1.05);
  opacity: 1;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

.project-card {
    display: block;
    text-decoration: none;
    color: var(--color-text);
    border: 1px solid rgba(221, 235, 250, 0.08);
    border-radius: 18px;
    overflow: hidden;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.03),
        rgba(255, 255, 255, 0.015)
    );
    transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}

.project-card:hover {
    border-color: rgba(221, 235, 250, 0.25);
    box-shadow: 0 0 35px rgba(255, 255, 255, 0.6);
}

.project-card img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: top;
}

.project-card .project-naam {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    font-weight: 600;
}

.project-card .project-naam::after {
    content: "→";
    color: rgb(77, 151, 255);
}

.about-tekst {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    align-items: flex-start;
}

.about-tekst p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .nav-hamburger {
        display: flex;
    }

    nav {
        flex-wrap: wrap;
    }

    #contact-btn {
        display: none;
    }

    nav ul {
        flex-basis: 100%;
        flex-direction: column;
        gap: 0.25rem;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height .3s ease, opacity .3s ease;
    }

    .nav-toggle:checked ~ ul {
        max-height: 24rem;
        opacity: 1;
        margin-top: 1rem;
    }

    nav ul li a {
        display: block;
    }

    .nav-cta-mobile {
        display: block;
        margin-top: 0.5rem;
    }

    .nav-cta-mobile a {
        display: block;
    }

    .hero {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .content h1 {
        font-size: 3rem;
        line-height: 1.1;
    }

    .content-rechts {
        display: none;
    }

    .cta-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

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

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

    .config-form {
        grid-template-columns: 1fr;
    }

    .footer-top {
        flex-direction: column;
        gap: 2rem;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .footer-bottom {
        padding: 1rem;
    }
}

/* ===== COOKIECONSENT ===== */
.cookie-banner {
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    max-width: 900px;
    margin: 0 auto;
    z-index: 1500;
    display: none;
    gap: 1.5rem;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 1.25rem 1.5rem;
    background: #0c1c2e;
    border: 1px solid rgba(221, 235, 250, 0.15);
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.cookie-banner.is-zichtbaar {
    display: flex;
}

.cookie-banner-tekst {
    flex: 1 1 340px;
}

.cookie-banner-titel {
    font-weight: 700;
    color: var(--color-primary-light-hover);
    margin-bottom: 0.25rem;
}

.cookie-banner-tekst p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
}

.cookie-banner-tekst a,
.cookie-modal a {
    color: rgb(77, 151, 255);
}

.cookie-banner-knoppen {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.cookie-btn-primair,
.cookie-btn-secundair {
    font-size: 0.9rem;
    padding: 0.75rem 1.25rem;
}

.cookie-btn-primair {
    background: var(--color-primary-light);
    color: var(--color-primary);
    font-weight: 700;
}

.cookie-btn-secundair {
    background: transparent;
    color: var(--color-text);
    border: 1px solid rgba(221, 235, 250, 0.35);
}

.cookie-btn-secundair:hover {
    background: rgba(221, 235, 250, 0.1);
}

/* Zwevend koekje links onderaan */
.cookie-fab {
    position: fixed;
    left: 1rem;
    bottom: 1rem;
    z-index: 1400;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 1px solid rgba(221, 235, 250, 0.25);
    background: #0c1c2e;
    color: var(--color-primary-light);
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.cookie-fab:hover {
    transform: scale(1.08);
    background: var(--color-primary-hover);
}

/* Verberg het koekje zolang de eerste banner nog toont */
.cookie-banner.is-zichtbaar ~ .cookie-fab {
    display: none;
}

/* Cookie-modal */
.cookie-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 1600;
    display: grid;
    place-items: center;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}

.cookie-modal-overlay[hidden] {
    display: none;
}

body.cookie-modal-open {
    overflow: hidden;
}

.cookie-modal {
    position: relative;
    width: 100%;
    max-width: 560px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 2rem;
    background: #0c1c2e;
    border: 1px solid rgba(221, 235, 250, 0.15);
    border-radius: 24px;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6);
}

.cookie-modal h2 {
    color: var(--color-primary-light-hover);
    margin-bottom: 0.75rem;
    font-size: 1.6rem;
}

.cookie-modal > p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
}

.cookie-modal-sluit {
    position: absolute;
    top: 0.75rem;
    right: 1rem;
    background: none;
    border: none;
    color: var(--color-text);
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
}

.cookie-catlijst {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.cookie-cat {
    padding: 1rem 1.25rem;
    border: 1px solid rgba(221, 235, 250, 0.12);
    border-radius: 16px;
}

.cookie-cat-kop {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    cursor: pointer;
}

.cookie-cat-titel {
    font-weight: 700;
}

.cookie-cat-titel em {
    font-weight: 400;
    font-style: normal;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.55);
}

.cookie-cat-uitleg {
    margin-top: 0.5rem;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Toggle-switch */
.cookie-switch {
    position: relative;
    flex-shrink: 0;
    width: 46px;
    height: 26px;
}

.cookie-switch input {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    cursor: pointer;
}

.cookie-switch-slede {
    position: absolute;
    inset: 0;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.2);
    transition: background-color 0.2s ease;
}

.cookie-switch-slede::before {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    transition: transform 0.2s ease;
}

.cookie-switch input:checked + .cookie-switch-slede {
    background: rgb(77, 151, 255);
}

.cookie-switch input:checked + .cookie-switch-slede::before {
    transform: translateX(20px);
}

.cookie-switch input:disabled + .cookie-switch-slede {
    opacity: 0.6;
    cursor: not-allowed;
}

.cookie-switch input:focus-visible + .cookie-switch-slede {
    outline: 3px solid rgb(77, 151, 255);
    outline-offset: 2px;
}

.cookie-modal-knoppen {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: flex-end;
}

/* ===== VERPLICHTE VELDEN (foutstaat) ===== */
.config-form input.veld-fout,
.config-form textarea.veld-fout,
.contact-form input.veld-fout,
.contact-form textarea.veld-fout {
    border-color: #ff9b9b;
    background: rgba(255, 90, 90, 0.08);
}

.verplicht-ster {
    color: rgb(77, 151, 255);
}

/* Onbeantwoorde verplichte vraaggroep in de configurator */
.config-opties.groep-fout {
    outline: 2px solid #ff9b9b;
    outline-offset: 8px;
    border-radius: 12px;
}

/* ===== SUBPAGINA'S (contact + juridisch) ===== */
.subpagina {
    padding-top: 8rem;
    padding-bottom: 4rem;
}

.legal {
    max-width: 820px;
    margin: 0 auto;
    padding: 8rem 1rem 4rem;
}

.legal h1 {
    font-size: 2.6rem;
    color: var(--color-primary-light-hover);
    line-height: 1.15;
    margin-bottom: 0.5rem;
}

.legal .legal-datum {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.legal h2 {
    font-size: 1.5rem;
    color: var(--color-primary-light-hover);
    margin: 2rem 0 0.75rem;
}

.legal h3 {
    font-size: 1.15rem;
    margin: 1.5rem 0 0.5rem;
}

.legal p,
.legal li {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
}

.legal ul,
.legal ol {
    padding-left: 1.5rem;
    margin: 0.5rem 0 1rem;
}

.legal li {
    margin-bottom: 0.4rem;
}

.legal a {
    color: rgb(77, 151, 255);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
    align-items: start;
}

.contact-info img {
    max-width: 240px;
    width: 100%;
    height: auto;
    margin-bottom: 1.25rem;
    display: block;
}

.contact-info p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.9;
}

.contact-info address {
    font-style: normal;
    line-height: 2;
    margin-top: 1rem;
}

.contact-info a {
    color: rgb(77, 151, 255);
}

.contact-form {
    display: grid;
    gap: 1rem;
    padding: 2rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015));
    border: 1px solid rgba(221, 235, 250, 0.08);
    border-radius: 24px;
}

.contact-form label {
    font-weight: 600;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 0.35rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(221, 235, 250, 0.15);
    border-radius: 14px;
    color: var(--color-text);
    font-size: 1rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: rgb(77, 151, 255);
}

.contact-form textarea {
    resize: vertical;
}

.contact-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-melding {
    padding: 1rem 1.25rem;
    border-radius: 14px;
    font-weight: 600;
}

.form-melding.ok {
    background: rgba(77, 151, 255, 0.12);
    border: 1px solid rgba(77, 151, 255, 0.4);
    color: #cfe2ff;
}

.form-melding.fout {
    background: rgba(255, 90, 90, 0.1);
    border: 1px solid rgba(255, 120, 120, 0.4);
    color: #ffc9c9;
}

@media (max-width: 900px) {
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .cookie-banner {
        flex-direction: column;
        align-items: stretch;
    }

    .cookie-banner-knoppen .btn {
        flex: 1;
    }
}

