/* =========================================================================
   Lakeman Web & Design - stylesheet
   Corporate / professioneel. Palet afgeleid van het logo:
   staalblauw #2E6699 (primair) + oranje #FF8000 (accent) op wit.
   ========================================================================= */

/* ----- Design tokens ---------------------------------------------------- */
:root {
    --primary:        #2E6699;
    --primary-dark:   #244F78;
    --primary-darker: #1B3A5A;
    --accent:         #FF8000;
    --accent-dark:    #E67200;

    --ink:    #1A2634;   /* koppen */
    --body:   #45535F;   /* lopende tekst */
    --muted:  #6B7A88;   /* bijschriften */

    --bg:       #FFFFFF;
    --bg-soft:  #F5F8FB;
    --bg-tint:  #EAF1F7;
    --line:     #E3E9EF;

    --radius-sm: 8px;
    --radius:    14px;
    --radius-lg: 22px;

    --shadow-sm: 0 1px 2px rgba(20,45,70,.06), 0 1px 3px rgba(20,45,70,.05);
    --shadow:    0 6px 18px rgba(20,45,70,.08);
    --shadow-lg: 0 18px 48px rgba(20,45,70,.14);

    --container: 1160px;
    --gutter: clamp(1.25rem, 4vw, 2.5rem);

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

    --ease: cubic-bezier(.4, 0, .2, 1);
}

/* ----- Reset ------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font);
    color: var(--body);
    background: var(--bg);
    line-height: 1.65;
    font-size: 1.0625rem;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; font-weight: 700; letter-spacing: -.02em; }
ul { list-style: none; padding: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

/* ----- Helpers ---------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.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;
}
.skip-link {
    position: absolute; left: 1rem; top: -3rem; z-index: 200;
    background: var(--primary); color: #fff; padding: .6rem 1rem;
    border-radius: var(--radius-sm); transition: top .2s var(--ease);
}
.skip-link:focus { top: 1rem; color: #fff; }
.text-accent { color: var(--accent); }

/* ----- Buttons ---------------------------------------------------------- */
.btn {
    --btn-bg: var(--primary);
    --btn-fg: #fff;
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    background: var(--btn-bg); color: var(--btn-fg);
    font-weight: 600; font-size: 1rem; line-height: 1;
    padding: .95rem 1.6rem; border: 2px solid var(--btn-bg); border-radius: 999px;
    cursor: pointer; transition: transform .15s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease);
    white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); color: var(--btn-fg); }
.btn:active { transform: translateY(0); }
.btn--accent { --btn-bg: var(--accent); }
.btn--accent:hover { --btn-bg: var(--accent-dark); border-color: var(--accent-dark); }
.btn--outline {
    background: transparent; color: var(--primary); border-color: var(--line);
}
.btn--outline:hover { background: var(--bg-tint); color: var(--primary-dark); border-color: var(--primary); }
.btn--ghost-light {
    background: transparent; color: #fff; border-color: rgba(255,255,255,.5);
}
.btn--ghost-light:hover { background: rgba(255,255,255,.12); color: #fff; border-color: #fff; }
.btn--sm { padding: .6rem 1.05rem; font-size: .95rem; }
.btn--lg { padding: 1.1rem 2rem; font-size: 1.05rem; }

/* ----- Site header ------------------------------------------------------ */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255,255,255,.9);
    backdrop-filter: saturate(160%) blur(10px);
    border-bottom: 1px solid var(--line);
    transition: box-shadow .2s var(--ease), background .2s var(--ease);
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); background: rgba(255,255,255,.96); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 74px; gap: 1rem; }

.brand { display: inline-flex; align-items: center; gap: .7rem; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand__mark { filter: drop-shadow(0 2px 4px rgba(20,45,70,.12)); }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-weight: 800; font-size: 1.2rem; letter-spacing: -.02em; color: var(--ink); }
.brand__sub { font-weight: 600; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--primary); }
.brand--light .brand__name { color: #fff; }
.brand--light .brand__sub { color: var(--accent); }
.brand--light:hover { color: #fff; }

.site-nav__list { display: flex; align-items: center; gap: .35rem; }
.site-nav__link {
    display: inline-block; padding: .55rem .85rem; border-radius: var(--radius-sm);
    color: var(--body); font-weight: 500; position: relative;
}
.site-nav__link:hover { color: var(--primary); background: var(--bg-soft); }
.site-nav__link.is-active { color: var(--primary); }
.site-nav__link.is-active::after {
    content: ""; position: absolute; left: .85rem; right: .85rem; bottom: .28rem;
    height: 2px; background: var(--accent); border-radius: 2px;
}
.site-nav__cta { margin-left: .5rem; }

.nav-toggle {
    display: none; width: 46px; height: 46px; border: 1px solid var(--line);
    background: #fff; border-radius: var(--radius-sm); cursor: pointer;
    padding: 0; position: relative;
}
.nav-toggle__bar {
    display: block; width: 20px; height: 2px; background: var(--ink);
    margin: 4px auto; transition: transform .25s var(--ease), opacity .2s var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ----- Sections --------------------------------------------------------- */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section--soft { background: var(--bg-soft); }
.section--tint { background: var(--bg-tint); }
.section-head { max-width: 640px; margin-bottom: 2.75rem; }
.section-head--center { margin-inline: auto; text-align: center; }
.eyebrow {
    display: inline-block; font-weight: 700; font-size: .8rem; letter-spacing: .16em;
    text-transform: uppercase; color: var(--primary);
    padding: .35rem .75rem; background: var(--bg-tint); border-radius: 999px; margin-bottom: 1rem;
}
.section-head h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
.section-head p { margin-top: .9rem; font-size: 1.1rem; color: var(--muted); }

/* ----- Hero ------------------------------------------------------------- */
.hero {
    position: relative; overflow: hidden;
    background:
        radial-gradient(1200px 500px at 80% -10%, rgba(255,128,0,.12), transparent 60%),
        linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%);
    border-bottom: 1px solid var(--line);
}
.hero__inner {
    display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4rem);
    align-items: center; padding: clamp(3.5rem, 8vw, 6.5rem) 0;
}
.hero__title { font-size: clamp(2.25rem, 5.5vw, 3.6rem); letter-spacing: -.03em; }
.hero__title .accent-underline {
    background: linear-gradient(transparent 65%, rgba(255,128,0,.35) 0);
}
.hero__lead { margin-top: 1.3rem; font-size: 1.2rem; color: var(--body); max-width: 46ch; }
.hero__actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .9rem; }
.hero__trust { margin-top: 2.2rem; display: flex; flex-wrap: wrap; gap: 1.5rem 2rem; color: var(--muted); font-size: .95rem; }
.hero__trust strong { color: var(--ink); font-size: 1.5rem; display: block; letter-spacing: -.02em; }

/* Hero visueel: gestapelde "browser"-kaarten */
.hero__visual { position: relative; min-height: 320px; }
.mock {
    position: absolute; background: #fff; border: 1px solid var(--line);
    border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden;
}
.mock__bar { height: 34px; background: var(--bg-soft); border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 6px; padding-inline: 12px; }
.mock__dot { width: 9px; height: 9px; border-radius: 50%; background: #cdd7e1; }
.mock__dot--1 { background: #ff6058; } .mock__dot--2 { background: #ffbd2e; } .mock__dot--3 { background: #28c840; }
.mock__body { padding: 16px; display: grid; gap: 10px; }
.mock__line { height: 10px; border-radius: 5px; background: var(--bg-tint); }
.mock__line--title { height: 16px; width: 60%; background: var(--primary); opacity: .85; }
.mock__line--accent { width: 40%; background: var(--accent); }
.mock__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-top: 4px; }
.mock__cell { height: 42px; border-radius: 8px; background: var(--bg-soft); border: 1px solid var(--line); }
.mock--back  { inset: 0 0 auto auto; width: 78%; transform: rotate(3deg); opacity: .9; top: 10px; right: 0; }
.mock--front { inset: auto auto 0 0; width: 82%; bottom: 0; left: 0; }

/* ----- Card grids ------------------------------------------------------- */
.grid { display: grid; gap: 1.5rem; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 1.75rem; box-shadow: var(--shadow-sm);
    transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #cfdbe6; }
.card__icon {
    width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center;
    background: var(--bg-tint); color: var(--primary); margin-bottom: 1.1rem;
}
.card__icon svg { width: 26px; height: 26px; }
.card--accent .card__icon { background: rgba(255,128,0,.12); color: var(--accent-dark); }
.card h3 { font-size: 1.25rem; margin-bottom: .5rem; }
.card p { color: var(--muted); font-size: 1rem; }
.card__link { display: inline-flex; align-items: center; gap: .35rem; margin-top: 1rem; font-weight: 600; }
.card__link::after { content: ">"; transition: transform .2s var(--ease); }
.card:hover .card__link::after { transform: translateX(4px); }

/* Feature list met vinkjes */
.checklist { display: grid; gap: .8rem; }
.checklist li { display: flex; gap: .7rem; align-items: flex-start; }
.checklist svg { flex: none; width: 22px; height: 22px; color: var(--accent); margin-top: .2rem; }

/* ----- Stats band ------------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center; }
.stats__num { font-size: clamp(2rem, 5vw, 2.75rem); font-weight: 800; color: var(--primary); letter-spacing: -.03em; }
.stats__label { color: var(--muted); font-weight: 500; }

/* ----- Process steps ---------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; counter-reset: step; }
.step { position: relative; padding-top: 3.5rem; }
.step::before {
    counter-increment: step; content: counter(step, decimal-leading-zero);
    position: absolute; top: 0; left: 0;
    font-weight: 800; font-size: 1.05rem; color: #fff;
    width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}
.step h3 { font-size: 1.15rem; margin-bottom: .4rem; }
.step p { color: var(--muted); font-size: .98rem; }

/* ----- Split (afwisselende dienst-blokken) ------------------------------ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,4rem); align-items: center; }
.split + .split { margin-top: clamp(3rem, 7vw, 5rem); }
.split--reverse .split__media { order: 2; }
.split__panel {
    aspect-ratio: 4/3; border-radius: var(--radius-lg); border: 1px solid var(--line);
    box-shadow: var(--shadow); display: grid; place-items: center; overflow: hidden;
    background: linear-gradient(135deg, var(--bg-tint), #fff);
}
.split__panel svg { width: 45%; height: auto; opacity: .95; }
.split h2 { font-size: clamp(1.5rem, 3.5vw, 2.1rem); margin-bottom: .3rem; }
.split .eyebrow { margin-bottom: .8rem; }
.split p { margin-bottom: 1.2rem; }

/* ----- Portfolio -------------------------------------------------------- */
.portfolio-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.work {
    position: relative; border-radius: var(--radius); overflow: hidden;
    border: 1px solid var(--line); box-shadow: var(--shadow-sm); background: #fff;
    transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.work:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.work__thumb { aspect-ratio: 16/11; display: grid; place-items: center; position: relative; }
.work__thumb svg { width: 40%; opacity: .9; }
.work__tag {
    position: absolute; top: .9rem; left: .9rem; font-size: .72rem; font-weight: 700;
    letter-spacing: .08em; text-transform: uppercase; color: #fff;
    background: rgba(27,58,90,.85); padding: .3rem .6rem; border-radius: 999px;
}
.work__body { padding: 1.25rem 1.35rem 1.5rem; }
.work__body h3 { font-size: 1.15rem; margin-bottom: .25rem; }
.work__body p { color: var(--muted); font-size: .95rem; }
.work__meta { margin-top: .9rem; display: flex; flex-wrap: wrap; gap: .4rem; }
.chip { font-size: .78rem; color: var(--primary); background: var(--bg-tint); padding: .25rem .6rem; border-radius: 999px; font-weight: 600; }

/* ----- Testimonial ------------------------------------------------------ */
.quote { max-width: 780px; margin-inline: auto; text-align: center; }
.quote blockquote { font-size: clamp(1.25rem, 3vw, 1.7rem); color: var(--ink); font-weight: 600; letter-spacing: -.01em; line-height: 1.4; }
.quote blockquote::before { content: '"'; color: var(--accent); font-size: 2.5em; line-height: 0; vertical-align: -.35em; margin-right: .05em; }
.quote figcaption { margin-top: 1.2rem; color: var(--muted); }
.quote figcaption strong { color: var(--ink); display: block; }

/* ----- CTA band --------------------------------------------------------- */
.cta {
    background: linear-gradient(135deg, var(--primary-darker), var(--primary));
    color: #fff; border-radius: var(--radius-lg); padding: clamp(2.5rem,6vw,4rem);
    text-align: center; position: relative; overflow: hidden;
}
.cta::after {
    content: ""; position: absolute; width: 340px; height: 340px; border-radius: 50%;
    background: radial-gradient(circle, rgba(255,128,0,.35), transparent 70%);
    top: -120px; right: -80px;
}
.cta h2 { color: #fff; font-size: clamp(1.6rem, 4vw, 2.4rem); position: relative; }
.cta p { color: rgba(255,255,255,.85); margin-top: .8rem; font-size: 1.1rem; position: relative; max-width: 60ch; margin-inline: auto; }
.cta__actions { margin-top: 1.8rem; display: flex; flex-wrap: wrap; gap: .9rem; justify-content: center; position: relative; }

/* ----- Contact ---------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(2rem,5vw,3.5rem); align-items: start; }
.contact-info { display: grid; gap: 1.5rem; }
.contact-info__item { display: flex; gap: .9rem; align-items: flex-start; }
.contact-info__icon { flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--bg-tint); color: var(--primary); display: grid; place-items: center; }
.contact-info__icon svg { width: 22px; height: 22px; }
.contact-info__item h3 { font-size: 1.05rem; margin-bottom: .15rem; }
.contact-info__item a { color: var(--body); }
.contact-info__item a:hover { color: var(--primary); }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.5rem, 4vw, 2.5rem); box-shadow: var(--shadow); }
.field { margin-bottom: 1.25rem; }
.field label { display: block; font-weight: 600; color: var(--ink); margin-bottom: .45rem; font-size: .95rem; }
.field .req { color: var(--accent-dark); }
.field input, .field textarea, .field select {
    width: 100%; font: inherit; color: var(--ink);
    padding: .85rem 1rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
    background: #fff; transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus {
    outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(46,102,153,.15);
}
.field textarea { min-height: 150px; resize: vertical; }
.field--error input, .field--error textarea, .field--error select { border-color: #d64545; }
.field__error { color: #d64545; font-size: .875rem; margin-top: .4rem; font-weight: 500; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { color: var(--muted); font-size: .875rem; margin-top: 1rem; }

.alert { border-radius: var(--radius); padding: 1.1rem 1.3rem; margin-bottom: 1.75rem; border: 1px solid; display: flex; gap: .75rem; align-items: flex-start; }
.alert svg { flex: none; width: 22px; height: 22px; margin-top: .15rem; }
.alert--success { background: #ecfaf0; border-color: #b6e6c4; color: #1c6b38; }
.alert--error   { background: #fdecec; border-color: #f4c0c0; color: #a12626; }
.alert strong { display: block; }

/* ----- Footer ----------------------------------------------------------- */
.site-footer { background: var(--primary-darker); color: rgba(255,255,255,.75); margin-top: 0; }
.site-footer__grid {
    display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 2.5rem;
    padding: clamp(3rem, 6vw, 4.5rem) var(--gutter);
}
.site-footer__tagline { margin-top: 1rem; max-width: 34ch; font-size: .97rem; }
.site-footer__heading { color: #fff; font-size: .95rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 1rem; }
.site-footer__list { display: grid; gap: .6rem; }
.site-footer__list a { color: rgba(255,255,255,.75); }
.site-footer__list a:hover { color: #fff; }
.site-footer__list--contact a { color: rgba(255,255,255,.9); }
.site-footer__socials { display: flex; gap: 1rem; margin-top: 1.1rem; }
.site-footer__socials a { color: rgba(255,255,255,.7); font-weight: 600; }
.site-footer__socials a:hover { color: var(--accent); }
.site-footer__bottom { border-top: 1px solid rgba(255,255,255,.12); }
.site-footer__bottom-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; padding-block: 1.3rem; font-size: .9rem; color: rgba(255,255,255,.6); }

/* ----- Reveal-on-scroll ------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    html { scroll-behavior: auto; }
}

/* ----- Responsive ------------------------------------------------------- */
@media (max-width: 960px) {
    .grid--4 { grid-template-columns: repeat(2, 1fr); }
    .stats, .steps { grid-template-columns: repeat(2, 1fr); }
    .hero__inner { grid-template-columns: 1fr; }
    .hero__visual { min-height: 260px; order: -1; }
    .split, .split--reverse .split__media { grid-template-columns: 1fr; order: 0; }
    .contact-grid { grid-template-columns: 1fr; }
    .site-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
    .nav-toggle { display: block; }
    .site-nav {
        position: fixed; inset: 74px 0 auto 0; background: #fff;
        border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
        transform: translateY(-140%); transition: transform .3s var(--ease); z-index: 90;
        max-height: calc(100vh - 74px); overflow-y: auto;
    }
    .site-nav.is-open { transform: translateY(0); }
    .site-nav__list { flex-direction: column; align-items: stretch; gap: 0; padding: .75rem var(--gutter) 1.25rem; }
    .site-nav__link { padding: .85rem .5rem; border-radius: 0; border-bottom: 1px solid var(--line); }
    .site-nav__link.is-active::after { display: none; }
    .site-nav__cta { margin: .9rem 0 0; }
    .site-nav__cta .btn { width: 100%; }
    .grid--3, .grid--4, .grid--2, .portfolio-grid, .stats, .steps, .field-row { grid-template-columns: 1fr; }
    .site-footer__grid { grid-template-columns: 1fr; gap: 2rem; }
    .hero__actions .btn { width: 100%; }
}

/* ----- Page header (subpagina's) --------------------------------------- */
.page-header {
    background:
        radial-gradient(900px 400px at 85% -20%, rgba(255,128,0,.10), transparent 60%),
        linear-gradient(180deg, #fff, var(--bg-soft));
    border-bottom: 1px solid var(--line);
    padding: clamp(2.75rem, 6vw, 4.5rem) 0 clamp(2.25rem, 5vw, 3.5rem);
    text-align: center;
}
.page-header h1 { font-size: clamp(2rem, 5vw, 3rem); letter-spacing: -.03em; }
.page-header p { margin: 1rem auto 0; max-width: 60ch; color: var(--muted); font-size: 1.15rem; }
.breadcrumbs { font-size: .9rem; color: var(--muted); margin-bottom: 1rem; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--primary); }

/* Anker-offset zodat titels niet achter de sticky header verdwijnen */
:target, section[id] { scroll-margin-top: 96px; }

/* ----- Lege staat (geen items) ----------------------------------------- */
.empty-state { max-width: 560px; margin-inline: auto; text-align: center; padding: 2rem 0; }
.empty-state__icon { width: 72px; height: 72px; border-radius: 18px; background: var(--bg-tint); color: var(--primary); display: grid; place-items: center; margin: 0 auto 1.25rem; }
.empty-state__icon svg { width: 34px; height: 34px; }
.empty-state h2 { font-size: 1.6rem; margin-bottom: .5rem; }
.empty-state p { color: var(--muted); margin-bottom: 1.5rem; }

/* ======================================================================
   Beheerpagina (admin.php)
   ====================================================================== */
.admin-body { background: var(--bg-soft); min-height: 100vh; }
.admin-topbar {
    background: var(--primary-darker); color: #fff; position: sticky; top: 0; z-index: 50;
    border-bottom: 1px solid rgba(255,255,255,.12);
}
.admin-topbar__inner { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 1rem; }
.admin-topbar .brand__name { color: #fff; }
.admin-topbar .brand__sub { color: var(--accent); }
.admin-topbar__tag { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.6); font-weight: 700; }

.admin-main { padding: clamp(1.5rem, 4vw, 3rem) 0 5rem; }
.admin-notice { background: #ecfaf0; border: 1px solid #b6e6c4; color: #1c6b38; border-radius: var(--radius); padding: .9rem 1.2rem; margin-bottom: 1.5rem; font-weight: 500; }

/* Login */
.admin-login { min-height: 100vh; display: grid; place-items: center; padding: 1.5rem; background: linear-gradient(135deg, var(--primary-darker), var(--primary)); }
.admin-login__card { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: clamp(1.75rem, 5vw, 2.75rem); width: 100%; max-width: 420px; }
.admin-login__card h1 { font-size: 1.5rem; margin-bottom: .35rem; text-align: center; }
.admin-login__card p { color: var(--muted); text-align: center; margin-bottom: 1.5rem; }
.admin-login__logo { display: grid; place-items: center; margin-bottom: 1.25rem; }

/* Beheer-secties */
.admin-tabs { display: flex; gap: .5rem; margin-bottom: 1.75rem; flex-wrap: wrap; }
.admin-tab { padding: .6rem 1.1rem; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--body); font-weight: 600; cursor: pointer; }
.admin-tab.is-active { background: var(--primary); color: #fff; border-color: var(--primary); }

.admin-panel { display: none; }
.admin-panel.is-active { display: block; }

.admin-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 2rem; align-items: start; }
.admin-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 1.5rem; }
.admin-card h2 { font-size: 1.15rem; margin-bottom: 1rem; }

.admin-item { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1rem 1.15rem; margin-bottom: .85rem; }
.admin-item__head { display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.admin-item__title { font-weight: 700; color: var(--ink); }
.admin-item__sub { color: var(--muted); font-size: .9rem; margin-top: .2rem; }
.admin-item__actions { display: flex; gap: .4rem; flex-wrap: wrap; margin-top: .75rem; }

.badge { font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: .25rem .6rem; border-radius: 999px; }
.badge--on { background: #ecfaf0; color: #1c6b38; border: 1px solid #b6e6c4; }
.badge--off { background: #f1f4f7; color: var(--muted); border: 1px solid var(--line); }

.btn--xs { padding: .4rem .8rem; font-size: .85rem; border-radius: 8px; border-width: 1.5px; }
.btn--danger { background: #fff; color: #b23; border-color: #f0c4c4; }
.btn--danger:hover { background: #fdecec; color: #a12626; border-color: #e79; }

.admin-empty { color: var(--muted); font-style: italic; padding: .5rem 0 1rem; }

@media (max-width: 860px) { .admin-grid { grid-template-columns: 1fr; } }

/* ----- Juridische / tekstpagina's -------------------------------------- */
.legal { max-width: 760px; margin-inline: auto; }
.legal h2 { font-size: 1.35rem; margin: 2rem 0 .6rem; }
.legal h2:first-of-type { margin-top: 0; }
.legal p { margin-bottom: 1rem; }
.legal ul.legal-list { margin: 0 0 1rem; padding-left: 1.25rem; list-style: disc; }
.legal ul.legal-list li { margin-bottom: .4rem; }
.legal a { text-decoration: underline; }
.legal .legal-updated { color: var(--muted); font-size: .95rem; margin-top: 2rem; }

/* ----- Founder / Over ons ---------------------------------------------- */
.founder-figure { text-align: center; }
.founder-figure img { width: min(320px, 80%); margin-inline: auto; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.founder-figure figcaption { margin-top: 1.1rem; display: flex; flex-direction: column; gap: .15rem; }
.founder-figure .fname { font-weight: 800; color: var(--ink); font-size: 1.2rem; }
.founder-figure .frole { color: var(--primary); font-weight: 600; font-size: .92rem; }
.signature { margin-top: 1.5rem; font-weight: 800; font-size: 1.5rem; color: var(--primary); letter-spacing: -.01em; }
.signature span { display: block; font-weight: 500; font-size: .9rem; color: var(--muted); letter-spacing: normal; margin-top: .15rem; }

.tech-stack { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.25rem; }
.tech-stack .chip { font-size: .85rem; padding: .35rem .8rem; }

/* ----- Cookiemelding ---------------------------------------------------- */
.cookie-notice {
    position: fixed; left: 50%; transform: translateX(-50%); bottom: 1rem; z-index: 120;
    width: min(760px, calc(100% - 2rem));
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: var(--shadow-lg); padding: 1rem 1.25rem;
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.cookie-notice p { margin: 0; font-size: .95rem; color: var(--body); }
.cookie-notice a { text-decoration: underline; }
.cookie-notice .btn { flex: none; }
.cookie-notice[hidden] { display: none; }
@media (max-width: 560px) {
    .cookie-notice { flex-direction: column; align-items: flex-start; }
    .cookie-notice .btn { width: 100%; }
}

/* ----- Bevestigingspagina ---------------------------------------------- */
.confirm { max-width: 620px; margin-inline: auto; text-align: center; padding: 1.5rem 0; }
.confirm__icon { width: 88px; height: 88px; border-radius: 50%; background: #ecfaf0; color: #1c6b38; border: 1px solid #b6e6c4; display: grid; place-items: center; margin: 0 auto 1.5rem; }
.confirm__icon svg { width: 44px; height: 44px; }
.confirm h1 { font-size: clamp(1.8rem, 4vw, 2.5rem); margin-bottom: .75rem; }
.confirm > p { color: var(--muted); font-size: 1.12rem; max-width: 48ch; margin: 0 auto 2rem; }
.confirm__next { display: grid; gap: .75rem; max-width: 420px; margin: 0 auto 2rem; text-align: left; }
.confirm__step { display: flex; align-items: center; gap: .8rem; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .8rem 1rem; color: var(--body); font-weight: 500; }
.confirm__step span { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: .95rem; }
.confirm__actions { display: flex; gap: .9rem; justify-content: center; flex-wrap: wrap; margin-bottom: 1.5rem; }

/* =======================================================================
   Mobiele verfijningen (overschrijft eerdere regels, alleen op klein scherm)
   ======================================================================= */
@media (max-width: 960px) {
    .hero__inner { gap: 2rem; }
    .hero__visual { order: 2; min-height: 230px; margin-top: .25rem; }
}

@media (max-width: 720px) {
    /* Compactere header + bijpassende mobiele nav */
    .site-header__inner { min-height: 64px; }
    .brand__name { font-size: 1.12rem; }
    .brand__sub { font-size: .68rem; }
    .site-nav {
        inset: 64px 0 auto 0;
        max-height: calc(100vh - 64px);
        max-height: calc(100dvh - 64px);
    }
    .site-nav__list { padding: .5rem var(--gutter) 1.1rem; }
    .site-nav__link { font-weight: 600; color: var(--ink); padding: .9rem .25rem; }
    .site-nav__link.is-active { color: var(--primary); }
}

@media (max-width: 600px) {
    :root { --gutter: 1.15rem; }
    :target, section[id] { scroll-margin-top: 76px; }

    .section { padding: 3rem 0; }
    .section-head { margin-bottom: 2rem; }
    .section-head p { font-size: 1.02rem; }

    /* Hero: tekst voorop, rustige focus, decoratie weg op telefoon */
    .hero__visual { display: none; }
    .hero__inner { padding: 2.5rem 0 3rem; }
    .hero__title { font-size: 2.1rem; line-height: 1.14; }
    .hero__lead { font-size: 1.08rem; margin-top: 1rem; }
    .hero__actions { margin-top: 1.5rem; gap: .7rem; }
    .hero__actions .btn { width: 100%; }
    .hero__trust { flex-direction: column; gap: .6rem; margin-top: 1.6rem; }
    .hero__trust > div { display: flex; align-items: baseline; gap: .5rem; font-size: .98rem; color: var(--muted); }
    .hero__trust strong { display: inline; font-size: 1.05rem; }

    /* Grote knoppen en knop-groepen vullen de breedte (fijner tikken) */
    .cta__actions, .confirm__actions { flex-direction: column; }
    .cta__actions .btn, .confirm__actions .btn { width: 100%; }
    .cta { padding: 2.25rem 1.4rem; }

    /* Iets compactere kaarten en panelen */
    .card { padding: 1.45rem; }
    .split { gap: 1.75rem; }
    .split__panel { aspect-ratio: 16/10; }
    .page-header p { font-size: 1.05rem; }

    /* Rustige, gecentreerde footer */
    .site-footer__grid { text-align: center; padding-top: 2.5rem; }
    .site-footer__brand .brand { justify-content: center; }
    .site-footer__tagline { margin-inline: auto; }
    .site-footer__socials { justify-content: center; }
    .site-footer__bottom-inner { flex-direction: column; text-align: center; gap: .35rem; }

    /* Contact-info wat luchtiger */
    .contact-info { gap: 1.1rem; }
}

/* ----- FAQ (accordeon) -------------------------------------------------- */
.faq { max-width: 800px; margin-inline: auto; display: grid; gap: .8rem; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; }
.faq__q { cursor: pointer; padding: 1.15rem 1.4rem; font-weight: 700; color: var(--ink); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after { content: "+"; color: var(--primary); font-weight: 700; font-size: 1.5rem; line-height: 1; flex: none; transition: transform .2s var(--ease); }
.faq__item[open] .faq__q::after { transform: rotate(45deg); }
.faq__a { padding: 0 1.4rem 1.25rem; color: var(--muted); }
.faq__a p { margin: 0; }

/* ----- Intro-lead ------------------------------------------------------- */
.lead-intro { max-width: 820px; margin-inline: auto; text-align: center; font-size: 1.2rem; color: var(--body); }
.lead-intro strong { color: var(--ink); }

/* ----- Keuze particulier / zakelijk ------------------------------------ */
.klanttype { border: 0; padding: 0; margin-bottom: 1.25rem; }
.klanttype legend { font-weight: 600; color: var(--ink); margin-bottom: .45rem; font-size: .95rem; padding: 0; }
.klanttype__options { display: flex; gap: .6rem; flex-wrap: wrap; }
.klanttype__option { position: relative; }
.klanttype__option input { position: absolute; opacity: 0; width: 0; height: 0; }
.klanttype__option span {
    display: inline-block; padding: .7rem 1.4rem; border: 1.5px solid var(--line);
    border-radius: 999px; background: #fff; color: var(--body); font-weight: 600;
    cursor: pointer; transition: all .15s var(--ease); user-select: none;
}
.klanttype__option span:hover { border-color: var(--primary); color: var(--primary); }
.klanttype__option input:checked + span { background: var(--primary); border-color: var(--primary); color: #fff; }
.klanttype__option input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }

/* Het hidden-attribuut moet altijd winnen van display-regels (bijv. .field-row) */
[hidden] { display: none !important; }

/* ======================================================================
   Offerte-generator in het beheer
   ====================================================================== */
.offerte-items { display: grid; gap: .5rem; max-height: 420px; overflow-y: auto; padding-right: .25rem; }
.offerte-item { display: flex; align-items: center; gap: .75rem; padding: .7rem .9rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm); cursor: pointer; transition: all .15s var(--ease); }
.offerte-item:hover { border-color: var(--primary); background: var(--bg-soft); }
.offerte-item input { width: auto; flex: none; accent-color: var(--primary); }
.offerte-item__naam { flex: 1; font-size: .95rem; color: var(--body); }
.offerte-item__prijs { font-weight: 700; color: var(--primary); white-space: nowrap; font-size: .92rem; }
.offerte-item:has(input:checked) { border-color: var(--primary); background: var(--bg-tint); }
.offerte-item:has(input:checked) .offerte-item__naam { color: var(--ink); font-weight: 600; }

.offerte-totaal { margin-top: 1.25rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.offerte-totaal > div { display: flex; justify-content: space-between; padding: .6rem 1rem; font-size: .95rem; color: var(--muted); }
.offerte-totaal > div + div { border-top: 1px solid var(--line); }
.offerte-totaal strong { color: var(--ink); }
.offerte-totaal__eind { background: var(--accent); }
.offerte-totaal__eind span, .offerte-totaal__eind strong { color: #fff !important; font-weight: 700; font-size: 1.05rem; }

/* ----- Offertepagina (scherm + print) ---------------------------------- */
.offerte-body { background: var(--bg-soft); padding: 1.5rem 1rem 4rem; }
.offerte-bar { max-width: 800px; margin: 0 auto 1.25rem; display: flex; gap: .6rem; justify-content: flex-end; }
.offerte-blad { max-width: 800px; margin: 0 auto; background: #fff; padding: 3rem; border-radius: var(--radius); box-shadow: var(--shadow); }
.offerte-kop { display: flex; justify-content: space-between; align-items: flex-start; gap: 2rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--line); }
.offerte-kop__naam { font-weight: 800; font-size: 1.2rem; color: var(--ink); margin-top: .5rem; }
.offerte-kop__slogan { color: var(--muted); font-size: .88rem; }
.offerte-kop__contact { text-align: right; display: flex; flex-direction: column; gap: .1rem; font-size: .88rem; color: var(--muted); }
.offerte-kop__contact strong { color: var(--ink); }
.offerte-titel { font-size: 2rem; margin: 1.5rem 0 1.25rem; }
.offerte-meta { display: flex; justify-content: space-between; gap: 2rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--line); font-size: .92rem; }
.offerte-meta__rechts { text-align: right; }
.offerte-meta__label { display: block; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--primary); font-weight: 700; margin-bottom: .35rem; }
.offerte-h2 { font-size: 1.15rem; color: var(--primary); margin: 1.75rem 0 .6rem; }
.offerte-tabel { width: 100%; border-collapse: collapse; margin-top: .5rem; font-size: .94rem; }
.offerte-tabel th { background: var(--primary); color: #fff; text-align: left; padding: .6rem .8rem; font-size: .88rem; }
.offerte-tabel td { padding: .6rem .8rem; border-bottom: 1px solid var(--line); }
.offerte-tabel tbody tr:nth-child(even) { background: var(--bg-soft); }
.offerte-tabel .rechts { text-align: right; }
.offerte-tabel tfoot td { border-bottom: none; padding-top: .5rem; }
.offerte-tabel__eind td { background: var(--accent); color: #fff; font-weight: 700; font-size: 1.02rem; }
.offerte-lijst { margin: .5rem 0 0; padding: 0; display: grid; gap: .35rem; }
.offerte-lijst li { padding-left: 1.1rem; position: relative; font-size: .94rem; }
.offerte-lijst li::before { content: "-"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.offerte-lijst--grijs li { color: var(--muted); }
.offerte-lijst--grijs li::before { color: var(--muted); }
.offerte-handtekening { display: flex; gap: 3rem; margin-top: 3rem; font-size: .85rem; color: var(--muted); }
.offerte-handtekening > div { flex: 1; }
.offerte-handtekening span { display: block; border-top: 1px solid var(--ink); margin-bottom: .4rem; height: 2.5rem; }
.offerte-voet { margin-top: 2.5rem; padding-top: 1rem; border-top: 1px solid var(--line); text-align: center; font-size: .8rem; color: var(--muted); }

@media print {
    .no-print { display: none !important; }
    .offerte-body { background: #fff; padding: 0; }
    .offerte-blad { max-width: none; box-shadow: none; border-radius: 0; padding: 0; }
    .offerte-h2 { page-break-after: avoid; }
    .offerte-tabel, .offerte-handtekening { page-break-inside: avoid; }
    @page { margin: 18mm; }
}

@media (max-width: 700px) {
    .offerte-blad { padding: 1.5rem; }
    .offerte-kop, .offerte-meta { flex-direction: column; gap: 1rem; }
    .offerte-kop__contact, .offerte-meta__rechts { text-align: left; }
    .offerte-handtekening { flex-direction: column; gap: 1.5rem; }
}

/* ----- Klikbare projectkaarten + screenshots ---------------------------- */
.work__thumb { overflow: hidden; }
.work__img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .35s var(--ease); }
.work--link:hover .work__img { transform: scale(1.04); }

.work__titel-link { color: inherit; text-decoration: none; }
.work__titel-link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.work--link { position: relative; }
.work--link:hover { border-color: var(--primary); }
.work__titel-link:hover { color: var(--primary); }
.work--link:focus-within { outline: 3px solid var(--accent); outline-offset: 3px; }

.work__cta { display: inline-flex; align-items: center; gap: .35rem; margin-top: .9rem; font-weight: 600; font-size: .92rem; color: var(--primary); }
.work__cta::after { content: ">"; font-weight: 700; transition: transform .2s var(--ease); }
.work--link:hover .work__cta::after { transform: translateX(4px); }

/* Miniatuur in het beheer */
.admin-thumb { margin-bottom: .6rem; }
.admin-thumb img { width: 100%; max-width: 260px; border-radius: var(--radius-sm); border: 1px solid var(--line); display: block; }
.admin-thumb__remove { display: flex; align-items: center; gap: .45rem; margin-top: .5rem; font-size: .9rem; font-weight: 400; color: var(--body); }
.admin-thumb__remove input { width: auto; }

/* ----- Urenregistratie -------------------------------------------------- */
.uren-meter { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; margin-bottom: 1.75rem; box-shadow: var(--shadow-sm); }
.uren-meter__cijfers { display: flex; align-items: baseline; gap: .5rem; flex-wrap: wrap; color: var(--muted); }
.uren-meter__cijfers strong { font-size: 2rem; color: var(--ink); font-weight: 800; letter-spacing: -.02em; }
.uren-meter__cijfers span { margin-left: auto; font-weight: 700; color: var(--primary); font-size: 1.1rem; }
.uren-meter__balk { height: 14px; background: var(--bg-tint); border-radius: 7px; overflow: hidden; margin-top: .9rem; }
.uren-meter__balk span { display: block; height: 100%; background: linear-gradient(90deg, var(--primary), var(--accent)); border-radius: 7px; transition: width .4s var(--ease); }

.uren-project { display: flex; justify-content: space-between; align-items: center; padding: .6rem 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.uren-project:last-child { border-bottom: none; }
.uren-project strong { color: var(--primary); }

.uren-regel { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.uren-regel:last-child { border-bottom: none; }
.uren-regel .badge { margin-left: .4rem; }
