/* ========== ROOT COLORS & BASE ========== */
:root {
    --bg: #fbfbfc;
    --card: #ffffff;

    /* opvallender, speels en warm */
    --accent: #ff6b3a;
    --accent-2: #1dbf7a;
    --accent-3: #ffd24a;

    --muted: #6d7075;
    --deep: #0e2224;
    --soft: #f6f8f7;
    --alt: #eef9f4;

    --container: 1180px;
    --radius: 14px;

    --shadow-strong: 0 18px 50px rgba(14, 34, 34, 0.08);
    --shadow-soft: 0 10px 30px rgba(14, 34, 34, 0.05);

    --glass: rgba(255, 255, 255, 0.65);

    /* extra zachte tinten */
    --bg-1: #fff8f4;
    --bg-2: #f6fff7;
    --bg-3: #f5f8ff;

    --section-gap: 64px;
}

/* Base */
* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    font-family: 'Poppins', Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
    color: var(--deep);
    -webkit-font-smoothing: antialiased;
    background: var(--bg);

    /* voorkomt horizontale scroll (item 6) */
    overflow-x: hidden;

    /* LOCK HORIZONTAL PAN on mobile: alleen verticale panning toegestaan
       maar we will allow touch interactions for sliders via specific touch-action rules */
    touch-action: pan-y;
    overscroll-behavior-x: none;

    /* smooth scroll voor anchor links (gewenst) */
    scroll-behavior: smooth;
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none ! important;
}

/* Utility */
.visually-hidden {
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    white-space: nowrap;
    border: 0;
    margin: -1px;
    padding: 0;
}

/* ========== HEADER ========== */
/* IMPORTANT: header is flush at the very top on desktop/tablet.
   On mobile it becomes non-fixed (position: relative) to free up space. */
.header {
    position: fixed;
    top: 0; /* flush top as requested */
    left: 18px;
    right: 18px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.9));
    backdrop-filter: blur(8px);
    border-radius: 16px;
    padding: 10px;
    box-shadow: var(--shadow-strong);
    z-index: 999;
    transition: transform .28s, box-shadow .28s;
}

header {
    position: relative;
    padding: 20px;
    display: flex;
    align-items: center;
}

.header.shrink {
    transform: translateY(-6px);
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.08);
}

/* ensure header-inner still aligns with container */
.header-inner {
    max-width: var(--container);
    margin: 0 auto;
    display: flex;
    align-items: center;
    padding: 8px 18px;
    gap: 18px;
}

/* On smaller screens we switch header to normal flow (not fixed) */
@media (max-width: 900px) {

    .header {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        border-radius: 0;
        margin-bottom: 12px;
    }

    /* we want the mobile nav to flow under header */
    .mobile-nav {
        position: relative;
        left: auto;
        right: auto;
        top: auto;
        border-radius: 0;
        box-shadow: none;
    }
}

/* rest of your CSS unchanged — copied verbatim from your file so niets anders onverwacht verandert */
/* LOGO */
.logo-wrap {
    display: flex;
    align-items: center;
    gap: 6px; /* small gap; interieur-inline will be nudged left */
    position: relative;
    min-width: 64px;
    cursor: pointer;
}

.logo-vertical {
    display: flex;
    flex-direction: column;
    line-height: 0.85;
    font-weight: 900;
    color: var(--accent-2);
    font-size: 22px;
    letter-spacing: 0.6px;
    text-align: center;
}

.logo-vertical span {
    display: block;
    padding: 0 6px;
}

.logo-vertical .g,
.logo-vertical .i,
.logo-vertical .o {
    transform: translateX(1px);
    color: var(--accent-2);
}

/* 1) NTERIEUR kleur oranje en veel dichter bij de verticale I */
.interieur-inline {
    font-weight: 800;
    font-size: 17px;
    letter-spacing: 2px;
    color: var(--accent);
    margin-left: -10px;
    padding-left: 0;
    border-left: none;
    padding-top: 2px;
    display: inline-block;
    transform: translateX(-6px);
    white-space: nowrap;
}

/* Brand */
.brand-text .brand-sub {
    font-size: 12px;
    color: var(--muted);
    margin-top: 4px;
}

/* --- MOBILE FIX: logo altijd volledig tonen --- */
header .logo img {
    max-width: 160px;
    height: auto;
}

/* --- MOBILE FIX: tweede leven afbeelding --- */
@media (max-width: 768px) {
    .keuken-tweede-leven img {
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
        display: block;
    }
}

@media (max-width: 768px) {
    header .logo {
        display: flex;
        align-items: center;
    }

    header .logo img {
        max-width: 170px;
    }
}


/* NAV */
.main-nav {
    margin-left: 18px;
    display: flex;
    gap: 14px;
    align-items: center;
    flex: 1;
    justify-content: flex-end;
}

.main-nav a {
    color: var(--deep);
    font-weight: 600;
    padding: 10px 12px;
    border-radius: 12px;
    transition: all .18s;
}

.main-nav a:hover {
    color: #fff;
    background: linear-gradient(90deg, var(--accent), #ff8d59);
    transform: translateY(-4px);
}

.btn-small {
    background: linear-gradient(90deg, var(--accent-2), #23b974);
    color: #fff;
    padding: 8px 12px;
    border-radius: 12px;
    box-shadow: 0 8px 22px rgba(29, 191, 122, 0.12);
    font-weight: 700;
}

/* HAMBURGER */
.hamburger {
    display: none;
    background: transparent;
    border: none;
    padding: 8px;
    border-radius: 10px;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--deep);
    margin: 4px 0;
    transition: all .24s;
}


.mobile-nav {
    display: none;
    position: absolute;
    left: 18px;
    right: 18px;
    top: 74px;
    background: linear-gradient(180deg, #fff, #fbfbfb);
    border-radius: 12px;
    padding: 12px;
    box-shadow: var(--shadow-strong);
}

/* --- MOBILE NAVIGATION FIX --- */
.hamburger {
    display: none;
    cursor: pointer;
    width: 32px;
    height: 32px;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
}

.hamburger span {
    width: 100%;
    height: 3px;
    background: #000;
    border-radius: 3px;
}

@media (max-width: 768px) {

    nav,
    .main-nav {
        display: none !important;
    }

    nav.open,
    .mobile-nav.open {
        display: block !important;
        position: absolute;
        top: 70px;
        right: 0;
        background: white;
        width: 40%;
        padding: 20px;
        text-align: left;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

    .hamburger {
        display: flex;
        position: absolute;
        left: 20px;
        top: 20px;
        z-index: 999;
    }
}

/* Mobile improved nav links: larger hit area */
.mobile-nav a {
    display: block;
    padding: 10px 16px;
    color: var(--deep);
    font-weight: 600;
}

/* ensure mobile nav looks good when opened via JS toggling */
.mobile-nav.open {
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: absolute;
    left: 18px;
    right: 18px;
    top: 70px;
    background: linear-gradient(180deg, #fff, #fbfbfb);
    border-radius: 12px;
    padding: 16px;
    box-shadow: var(--shadow-strong);
}

/* Mobile */
@media (max-width: 900px) {
    .main-nav {
        display: none;
    }

    .hamburger {
        display: block;
    }


    .mobile-nav {
        display: none;
    }

    .header-inner {
        padding: 8px;
    }
}

/* ========== HERO ========== */
.hero {
    min-height: 72vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    padding-bottom: 40px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.0), rgba(255, 255, 255, 0.02));
}

@media (max-width: 700px) {
    .hero {
        padding-top: 10px;
    }
}

.hero-inner {
    max-width: var(--container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 520px;
    gap: 36px;
    align-items: center;
    padding: 18px;
}

@media (max-width: 1000px) {
    .hero-inner {
        grid-template-columns: 1fr;
    }
}

.hero-content h1 {
    margin: 0 0 8px;
    font-size: clamp(1.8rem, 4vw, 3rem);
    line-height: 1.02;
    color: var(--deep);
}

.lead {
    color: var(--muted);
    margin-bottom: 14px;
    font-size: 1.05rem;
}

.hero-cta {
    display: flex;
    gap: 12px;
    align-items: center;
}

.btn-primary {
    display: inline-block;
    background: linear-gradient(90deg, var(--accent), #ff8d59);
    color: #fff;
    padding: 12px 18px;
    border-radius: 12px;
    font-weight: 800;
    box-shadow: 0 18px 40px rgba(255, 107, 58, 0.12);
}

.btn-ghost {
    background: transparent;
    border: 2px solid rgba(16, 26, 26, 0.06);
    padding: 10px 14px;
    border-radius: 12px;
    font-weight: 700;
}

.hero-showcase {
    position: relative;
    width: 100%;
    height: 500px;
    border-radius: 8px;
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: center;
}

.show-main {
    position: relative;
    width: 520px;
    max-width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: var(--shadow-strong);
    transform: translateY(0);
    transition: transform .32s;
}

.hero-inner:hover .show-main {
    transform: translateY(-6px);
}

/* ========== SECTIONS ========== */
.section {
    padding: var(--section-gap) 0;
}

.section .container {
    padding: 0 20px;
}

.section-head {
    max-width: 980px;
    margin: 0 auto 18px;
    text-align: center;
}

.section-head h2 {
    font-size: 1.9rem;
    color: var(--accent);
    margin-bottom: 8px;
}

.section-head .muted {
    color: var(--muted);
}

/* Section backgrounds */
#home.hero {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.02));
}

#over.section {
    background: var(--bg-1);
}

#projecten.section {
    background: var(--bg-3);
}

#voorna.section {
    background: var(--bg-2);
}

#materialen.section {
    background: var(--alt);
}

#reviews.section {
    background: linear-gradient(180deg, #fff, #fbfffb);
}

#instagram.section {
    background: var(--bg-3);
}

#contact.section {
    background: linear-gradient(180deg, #fff, #fff);
}

/* ========== ABOUT ========== */
/* 2) About: force image left, text to the right on desktop */
.about-grid {
    display: flex;
    gap: 28px;
    align-items: center;
    flex-wrap: nowrap; /* zorg dat het naast elkaar blijft */
    margin-top: 18px;
}

/* image fixed width so text sits right */
.about-grid img {
    flex: 0 0 520px;
    width: 697px;
    max-width: 100%;
    height: 510px;
    object-fit: cover;
    border-radius: 14px;
    box-shadow: var(--shadow-strong);
}

/* text fills remaining space */
.about-text {
    flex: 1 1 auto;
    max-width: 560px;
}

.about-text h3 {
    margin-top: 0;
    color: var(--deep);
}

.about-text ul {
    list-style: disc;
    margin-left: 20px;
    color: var(--muted);
}

.cta-small {
    margin-top: 12px;
    color: var(--deep);
    font-weight: 600;
}

/* ========== PROJECTS GRID ========== */
/* 3) Maak projecten dichter op elkaar, 3 naast elkaar, zelfde feel als voor/na */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px; /* gelijk aan voor/na spacing */
    margin-top: 14px;
    transform: none; /* geen scaling - gebruik vaste spacing */
    transform-origin: top center;
}

.project-card {
    background: linear-gradient(180deg, #fff, #fbfffb);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: transform .22s;
}

.project-card img {
    width: 100%;
    height: 360px; /* zelfde hoogte als ba-wrapper, match voor/na */
    object-fit: cover;
    display: block;
}

.project-card figcaption {
    padding: 14px 16px;
    border-top: 1px solid rgba(16, 26, 26, 0.04);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.project-card:hover {
    transform: translateY(-8px);
}

/* ========== BEFORE / AFTER ========== */
.ba-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 18px;
}

.ba-card {
    background: var(--card);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--shadow-strong);
    transition: transform .18s;
}

.ba-card:hover {
    transform: translateY(-8px);
}

.ba-wrapper {
    position: relative;
    height: 360px;
    background: #eee;
    overflow: hidden;
    border-radius: 12px;

    /* allow slider/touch interactions without the browser stealing horizontal pan */
    touch-action: none;
}

.ba-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: none; /* direct follow of handle (geen lag) */
}

.ba-img.before {
    z-index: 1;
}

.ba-img.after {
    z-index: 2;
    clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
}

/* 2) center text onder slider */
.ba-caption {
    padding: 14px 18px;
    border-top: 1px solid rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    text-align: center; /* gecentreerd zoals gevraagd */
    align-items: center;
}

/* range & handle */
.ba-range {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 12px;
    margin: 0 auto;
    width: 88%;
    transform: translateY(0);
    z-index: 6;

    /* ensure range touch works */
    touch-action: none;
}

.ba-handle {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 10px;
    background: var(--accent);
    transform: translateX(-50%);
    border-radius: 8px;
    z-index: 7;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.14);

    /* ensure handle touch works */
    touch-action: none;
}

/* ========== MATERIALEN ========== */
.materials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 18px;
    justify-items: center;
}

.material-card {
    background: var(--card);
    padding: 18px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: transform .18s;
    width: 100%;
    max-width: 520px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.material-media {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    padding: 8px;
    border-radius: 10px;
}

.material-card img {
    width: 100%;
    height: auto;
    max-height: 320px;
    object-fit: contain;
    border-radius: 8px;
    background: linear-gradient(180deg, #fff, #fbfbfb);
}

.material-card h3 {
    margin: 0;
    font-size: 1.05rem;
}

.material-card p {
    color: var(--muted);
    margin: 0;
}

.materials-grid > .material-card:nth-child(3) {
    grid-column: 1 / -1;
    justify-self: center;
}

/* ----------------------------
   Reviews / Submission UI (toevoeging)
   ---------------------------- */
.new-wrap {
    display: flex;
    gap: 22px;
    align-items: flex-start;
    margin-top: 18px;
    flex-wrap: wrap;
}

.reviews-col {
    flex: 1 1 360px;
    min-width: 320px;
}

.review-form label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
}

.review-form input[type="text"],
.review-form input[type="email"],
.review-form select,
.review-form textarea {
    width: 100%;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid rgba(16, 26, 26, 0.06);
    margin-top: 6px;
    background: linear-gradient(180deg, #fff, #fbfbfb);
    font-family: inherit;
    color: var(--deep);
}

.review-form textarea {
    min-height: 110px;
    resize: vertical;
}

.review-form .smallnote {
    font-weight: 400;
    font-size: 0.9rem;
    margin-top: 8px;
    display: block;
}

.reviews-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 12px;
}

/* hide admin buttons for public UI but keep in DOM for admin access via shortcut */
.reviews-actions .visually-hidden {
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    white-space: nowrap;
    border: 0;
    margin: -1px;
    padding: 0;
}

.published-reviews {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 8px;
}

.published-item {
    background: linear-gradient(180deg, #fff, #fbfffb);
    padding: 12px;
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.published-item .meta {
    font-size: 0.9rem;
    color: var(--muted);
    margin-bottom: 6px;
    display: flex;
    gap: 8px;
    align-items: center;
}

.published-item .rating {
    color: #ffb400;
    font-weight: 700;
    margin-right: 6px;
}

/* small remove button for published items when admin views */
.published-item .remove-pub {
    margin-left: 8px;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    color: #c33;
}

#noReviews {
    margin-top: 10px;
}

/* Admin modal / panel basic styles (hidden by default, will be shown by JS) */
.admin-panel {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 1200;
    width: 420px;
    max-width: calc(100% - 36px);
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
    padding: 12px;
}

.admin-panel h4 {
    margin: 0 0 8px 0;
    font-size: 1.05rem;
}

.admin-list {
    max-height: 320px;
    overflow: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 8px;
}

.admin-row {
    padding: 8px;
    border-radius: 8px;
    background: linear-gradient(180deg, #fff, #fbfbfb);
    display: flex;
    flex-direction: column;
    gap: 6px;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.admin-row .controls {
    display: flex;
    gap: 8px;
    margin-top: 6px;
}

/* tweak small screens */
@media (max-width: 900px) {
    .new-wrap {
        flex-direction: column-reverse;
    }

    .reviews-col {
        min-width: 100%;
    }

    .admin-panel {
        left: 12px;
        right: 12px;
        width: auto;
        bottom: 12px;
    }
}

/* ========== INSTAGRAM GRID ========== */
.insta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    margin-top: 14px;
}

.insta-grid img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: var(--shadow-soft);
}

.insta-cta {
    text-align: center;
    margin-top: 12px;
}

/* ========== CONTACT ========== */
.contact-form {
    max-width: 820px;
    margin: 18px auto 0;
}

.form-row {
    display: flex;
    gap: 12px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid rgba(16, 26, 26, 0.06);
    background: linear-gradient(180deg, #fff, #fbfbfb);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    box-shadow: 0 6px 20px rgba(34, 44, 40, 0.06);
}

.contact-form textarea {
    min-height: 140px;
    resize: vertical;
}

.form-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 10px;
}

.btn-ghost {
    background: transparent;
    border: 1px solid rgba(16, 26, 26, 0.06);
    padding: 10px 14px;
    border-radius: 10px;
}

.form-message {
    margin-top: 12px;
    color: var(--accent-2);
    font-weight: 700;
}

/* ========== FOOTER ========== */
.footer {
    background: linear-gradient(180deg, #071211, #04110f);
    color: #dbeae0;
    padding: 40px 0;
}

.footer-grid {
    display: flex;
    gap: 30px;
    justify-content: space-between;
    align-items: flex-start;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
}

.footer a {
    color: #dbeae0;
    text-decoration: none;
}

/* --- FOOTER MOBILE ALIGNMENT FIX --- */
@media (max-width: 768px) {
    .footer {
        text-align: center;
    }

    .footer-grid {
        flex-direction: column;
        gap: 22px;
        align-items: center;
    }

    .footer .socials {
        justify-content: center !important;
    }
}

/* --- ANCHOR SCROLL FIX (voorkomt wit scherm bij klikken) --- */
section {
    scroll-margin-top: 120px;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1200px) {
    .hero-inner {
        grid-template-columns: 1fr 420px;
    }

    .show-main {
        width: 420px;
        height: 300px;
    }

    .about-grid img {
        height: 320px;
    }

    .project-card img {
        height: 300px;
    }

    .materials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1000px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .ba-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .materials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-inner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .about-grid {
        flex-wrap: wrap; /* op smalle schermen onder elkaar */
    }
}

@media (max-width: 700px) {
    .grid-3 {
        grid-template-columns: 1fr;
    }

    .ba-row {
        grid-template-columns: 1fr;
    }

    .materials-grid {
        grid-template-columns: 1fr;
    }

    .brand-text {
        display: none;
    }

    .header-inner {
        padding: 8px;
    }

    /* Toon het volledige logo (inclusief 'NTERIEUR') op mobiel zoals gevraagd.
       We tonen het iets compacter zodat het netjes past. */
    .interieur-inline {
        display: inline-block;
        font-size: 13px;
        letter-spacing: 1.8px;
        transform: translateX(-4px);
        margin-left: -6px;
    }

    .logo-vertical {
        font-size: 18px;
    }

    /* Toon hero-afbeelding op mobiel maar compacter */
    .hero-showcase {
        display: block;
        width: 100%;
        max-width: 360px;
        margin: 8px auto 0;
        height: auto;
        border-radius: 12px;
    }

    .show-main {
        width: 100%;
        max-width: 360px;
        height: auto;
        object-fit: cover;
        border-radius: 12px;
    }

    /* Zorg dat mobile-nav standaard verborgen is — pas zichtbaar met .open */
    .mobile-nav {
        display: none;
    }

    .mobile-nav.open {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }
}

/* ========== BACKGROUND ANIMATION ========== */
@keyframes softBgShift {
    0% {
        background-color: #fbfbfc;
    }
    33% {
        background-color: #f8f9ff;
    }
    66% {
        background-color: #f9fffa;
    }
    100% {
        background-color: #fbfbfc;
    }
}

.bg-animate {
    animation: softBgShift 18s ease-in-out infinite;
}

/* ========== LEGAL PAGES (Privacy, Voorwaarden, Cookies) ========== */
.legal-section {
    padding: 100px 0 60px;
    background: linear-gradient(180deg, #fff, #fbfbfc);
    min-height: 100vh;
}

.legal-container {
    max-width: 980px;
}

.legal-section h1 {
    font-size: 2.2rem;
    color: var(--accent);
    margin-bottom: 8px;
    text-align: center;
}

.last-updated {
    text-align: center;
    color: var(--muted);
    font-size: 0.95rem;
    margin-bottom: 40px;
}

.legal-content {
    background: var(--card);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    line-height: 1.8;
}

.legal-content h2 {
    font-size: 1.4rem;
    color: var(--deep);
    margin-top: 28px;
    margin-bottom: 12px;
    border-bottom: 2px solid var(--soft);
    padding-bottom: 8px;
}

.legal-content h3 {
    font-size: 1.1rem;
    color: var(--accent);
    margin-top: 20px;
    margin-bottom: 8px;
}

.legal-content p {
    color: var(--deep);
    margin-bottom: 12px;
}

.legal-content ul {
    list-style: disc;
    margin-left: 24px;
    color: var(--deep);
    margin-bottom: 12px;
}

.legal-content ul li {
    margin-bottom: 6px;
}

.legal-content a {
    color: var(--accent-2);
    text-decoration: underline ! important;
}

.legal-content a:hover {
    color: var(--accent);
}

/* Footer legal links */
.footer . kvk-info {
    margin-top: 8px;
    font-size: 0.95rem;
    color: #dbeae0;
}

.footer . legal-links {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 10px;
}

.footer . legal-links a {
    font-size: 0.95rem;
    color: #dbeae0;
    text-decoration: none ! important;
    transition: color 0.18s;
}

.footer .legal-links a:hover {
    color: var(--accent);
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .legal-section {
        padding: 80px 0 40px;
    }

    .legal-section h1 {
        font-size: 1.8rem;
    }

    .legal-content {
        padding: 24px;
    }

    .legal-content h2 {
        font-size: 1.2rem;
        margin-top: 20px;
    }

    .legal-content h3 {
        font-size: 1rem;
    }

    .footer .legal-links {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 12px;
    }

    .footer .legal-links a {
        flex: 1 1 auto;
        min-width: 120px;
    }
}
