:root {
    --orange: #f58220;
    --dark: #1f1f1f;
    --text: #3d3d3d;
    --light: #f6f6f6;
    --white: #ffffff;
    --border: #e6e6e6;
    --radius: 18px;
}

* { box-sizing: border-box; }
body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
.container { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }

.site-header {
    position: sticky; top: 0; z-index: 10;
    background: rgba(255,255,255,.96);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(10px);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 78px; }
.brand, .brand picture { display: flex; align-items: center; }
.brand img { height: 58px; width: auto; display: block; }
.main-menu { display: flex; align-items: center; gap: 24px; font-weight: 700; }
.main-menu a { color: var(--dark); }
.main-menu a.active, .main-menu a:hover { color: var(--orange); }

.btn {
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--orange); color: #fff !important;
    padding: 13px 20px; border-radius: 999px;
    border: 2px solid var(--orange); font-weight: 800;
    cursor: pointer;
}
.btn:hover { filter: brightness(.95); }
.btn.ghost { background: transparent; color: var(--dark) !important; border-color: var(--dark); }
.hero .btn.ghost,
.page-hero .btn.ghost {
    color: #fff !important;
    border-color: #fff;
    background: rgba(255,255,255,.08);
}
.hero .btn.ghost:hover,
.page-hero .btn.ghost:hover {
    background: #fff;
    color: var(--dark) !important;
    filter: none;
}
.file-help {
    display: block;
    color: #666;
    font-weight: 400;
    font-size: 14px;
    margin-top: -2px;
}
input[type="file"] {
    background: #fff;
}

.btn-small { padding: 9px 15px; }

.menu-toggle { display: none; background: none; border: 0; width: 42px; height: 42px; }
.menu-toggle span { display: block; height: 3px; background: var(--dark); margin: 6px 0; border-radius: 10px; }

.hero {
    background-image:
        linear-gradient(90deg, rgba(0,0,0,.76), rgba(0,0,0,.38)),
        url('../img/hero-rdv-bouw-nieuw.png');
    background-image:
        linear-gradient(90deg, rgba(0,0,0,.76), rgba(0,0,0,.38)),
        image-set(url('../img/hero-rdv-bouw-nieuw.webp') type('image/webp'), url('../img/hero-rdv-bouw-nieuw.png') type('image/png'));
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 118px 0;
    min-height: 560px;
    display: flex;
    align-items: center;
}
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 36px; align-items: center; }
.eyebrow { color: var(--orange); font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
h1 { font-size: clamp(40px, 7vw, 76px); line-height: .95; margin: 0 0 22px; color: inherit; }
h2 { color: var(--dark); margin: 0 0 10px; line-height: 1.15; }
.lead { font-size: 21px; max-width: 600px; }
.actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }


.section { padding: 72px 0; }
.section.alt { background: var(--light); }
.cards { display: grid; gap: 22px; }
.cards.three { grid-template-columns: repeat(3, 1fr); }
.card, .service-list article, .project, .form {
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 26px;
}
.card { box-shadow: 0 10px 30px rgba(0,0,0,.05); }
.split { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.feature-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 36px; align-items: center; }
.trust-strip { background: var(--dark); color: #fff; padding: 18px 0; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; font-weight: 800; }
.page-hero { background: var(--dark); color: #fff; padding: 60px 0; }
.page-hero p { font-size: 20px; margin: 0; }
.service-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.project picture { display: block; }
.project img, .feature-image { width: 100%; height: 230px; object-fit: cover; border-radius: 14px; display: block; margin-bottom: 18px; }
.project-slider { position: relative; height: 230px; margin-bottom: 18px; overflow: hidden; border-radius: 14px; background: #f3f1ec; }
.project-slider > .project-slide { display: none; width: 100%; height: 100%; margin: 0; }
.project-slider > .project-slide.active { display: block; }
.project-slider > .project-slide img { height: 230px; margin-bottom: 0; border-radius: 14px; }
.project-slider > .slider-arrow {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 38px; height: 38px; border: 0; border-radius: 50%;
    background: rgba(20, 33, 38, .82); color: #fff; font-size: 30px; line-height: 1;
    display: grid; place-items: center; cursor: pointer;
}
.project-slider > .slider-arrow:hover, .project-slider > .slider-arrow:focus { background: var(--accent); color: var(--dark); }
.project-slider > .slider-arrow.prev { left: 12px; }
.project-slider > .slider-arrow.next { right: 12px; }
.feature-image { height: 360px; margin-bottom: 0; box-shadow: 0 18px 45px rgba(0,0,0,.12); }
.vehicle-image { object-fit: contain; box-shadow: none; border-radius: 0; background: transparent; }
.home-projects { margin-top: 26px; }
.narrow { max-width: 760px; }
.checks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 22px; font-weight: 700; }
.form-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 34px; align-items: start; }
.form { display: grid; gap: 16px; }
.form-intro, .service-examples, .area-list { margin: 0; color: #666; }
.service-examples { font-size: 15px; }
.area-list { font-weight: 700; }
.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; }
.form label { display: grid; gap: 7px; font-weight: 700; color: var(--dark); }
.thank-you-card h2 { margin-bottom: 4px; }
.thank-you-card p { margin: 0; }
.thank-you-card a { color: var(--orange); font-weight: 800; }
input, textarea, select { width: 100%; border: 1px solid var(--border); border-radius: 12px; padding: 13px 14px; font: inherit; }
textarea { resize: vertical; }
.hidden-field { position: absolute; left: -9999px; opacity: 0; }

.site-footer { background: var(--dark); color: #fff; padding: 34px 0; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 22px; }
.site-footer p { margin: 4px 0; }
.muted { color: #bbb; }

@media (max-width: 820px) {
    .menu-toggle { display: block; }
    .main-menu { display: none; position: absolute; top: 78px; left: 0; right: 0; background: #fff; padding: 18px 24px 24px; border-bottom: 1px solid var(--border); flex-direction: column; align-items: flex-start; }
    .main-menu.open { display: flex; }
    .hero-grid, .form-grid, .cards.three, .service-list, .project-grid, .footer-grid, .feature-grid, .trust-grid { grid-template-columns: 1fr; }
    .hero { padding: 70px 0; min-height: 480px; background-position: 68% center; }
    .section { padding: 48px 0; }
    .split { align-items: flex-start; flex-direction: column; }
    .checks { grid-template-columns: 1fr; }
    .brand img { height: 48px; }
    .feature-image { height: 250px; }
}

/* Offerte-tool */
.notice {
    padding: 14px 18px;
    border-radius: 12px;
    font-weight: 700;
    margin: 0 0 18px;
}
.notice.error {
    background: #ffe9e9;
    color: #9b1c1c;
    border: 1px solid #ffcaca;
}
.notice.success {
    background: #e9f8ef;
    color: #176b36;
    border: 1px solid #c5ebd1;
}
.muted-dark { color: #777; }
.quote-admin-hero .split { align-items: center; }
.quote-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 28px;
    align-items: start;
}
.quote-sidebar,
.quote-form {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
}
.quote-sidebar {
    position: sticky;
    top: 128px;
}
.quote-list {
    display: grid;
    gap: 10px;
}
.quote-list a {
    display: block;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px;
    background: var(--light);
}
.quote-list a:hover { border-color: var(--orange); }
.two-cols {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
.quote-price-sentence {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 16px 18px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--light);
    color: var(--dark);
    font-weight: 700;
}
.quote-price-sentence label { display: block; }
.quote-price-sentence input { width: 160px; background: #fff; }
.quote-price-sentence select { width: auto; min-width: 120px; background: #fff; }
.quote-price-line {
    padding: 16px 18px;
    border-left: 4px solid var(--orange);
    background: var(--light);
    border-radius: 12px;
}
.quote-rows {
    display: grid;
    gap: 12px;
}
.quote-row {
    display: grid;
    grid-template-columns: 1.25fr 1.5fr .65fr .65fr .85fr 42px;
    gap: 10px;
    align-items: center;
}
.hour-row {
    grid-template-columns: 1.6fr .7fr .9fr 42px;
}
.remove-row {
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: #eee;
    color: var(--dark);
    font-size: 24px;
    cursor: pointer;
}
.remove-row:hover { background: #ddd; }
.btn-light {
    background: #fff;
    color: var(--dark) !important;
    border-color: var(--border);
    margin-top: 8px;
}
.btn-light:hover {
    background: var(--light);
    border-color: var(--border);
}
.quote-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 22px;
}
.quote-document {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 42px;
    color: #222;
    box-shadow: 0 18px 50px rgba(0,0,0,.08);
}
.quote-doc-header {
    display: flex;
    justify-content: space-between;
    gap: 28px;
    border-bottom: 3px solid var(--orange);
    padding-bottom: 24px;
    margin-bottom: 28px;
}
.quote-doc-header img {
    width: 150px;
    height: auto;
    object-fit: contain;
}
.quote-doc-header picture {
    display: block;
}
.quote-doc-header h1 {
    color: var(--dark);
    font-size: 42px;
    margin-bottom: 10px;
    text-align: right;
}
.quote-doc-header p { margin: 2px 0; text-align: right; }
.quote-doc-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 22px !important;
    margin-bottom: 10px;
}
.quote-document h2 {
    margin-top: 26px;
    font-size: 22px;
}
.quote-table {
    width: 100%;
    border-collapse: collapse;
    margin: 14px 0 24px;
    font-size: 15px;
}
.quote-table th,
.quote-table td {
    border-bottom: 1px solid var(--border);
    padding: 11px 8px;
    text-align: left;
    vertical-align: top;
}
.quote-table th {
    background: var(--light);
    color: var(--dark);
}
.quote-total-box {
    width: min(420px, 100%);
    margin-left: auto;
    background: var(--light);
    border-radius: 14px;
    padding: 16px 20px;
}
.quote-total-box p {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    margin: 6px 0;
}
.quote-total-box .grand-total {
    border-top: 2px solid var(--border);
    padding-top: 10px;
    font-size: 20px;
    color: var(--dark);
}
.legal-text {
    font-size: 13px;
    color: #555;
}
.quote-signature {
    margin-top: 34px;
    border-top: 1px solid var(--border);
    padding-top: 24px;
}
code {
    background: var(--light);
    padding: 2px 6px;
    border-radius: 6px;
}

@media (max-width: 980px) {
    .quote-layout { grid-template-columns: 1fr; }
    .quote-sidebar { position: static; }
    .quote-row,
    .hour-row { grid-template-columns: 1fr; }
    .remove-row { width: 100%; border-radius: 12px; }
    .quote-doc-header,
    .quote-doc-grid { grid-template-columns: 1fr; display: grid; }
    .quote-doc-header p,
    .quote-doc-header h1 { text-align: left; }
}

@media (max-width: 820px) {
    .main-menu .btn { display: none; }
    .two-cols { grid-template-columns: 1fr; }
    .quote-document { padding: 24px; }
    .quote-table { font-size: 13px; }
    .quote-table th,
    .quote-table td { padding: 8px 6px; }
}

@media print {
    .site-header,
    .site-footer,
    .no-print,
    .quote-actions {
        display: none !important;
		
    }
    body { background: #fff; }
    .section { padding: 0; }
    .container { width: 100%; }
    .quote-document {
        box-shadow: none;
        border: 0;
        border-radius: 0;
        padding: 0;
    }
    .quote-view-wrap { padding: 0; }
	.quote-doc-grid section {
    break-inside: avoid;
    page-break-inside: avoid;
}
}
/* =========================
   OFFERTE PRINT-LAYOUT
========================= */

.quote-view-wrap {
    background: #777;
    padding: 40px 0;
}

.quote-document {
    background: #fff;
    width: 210mm;
    min-height: 297mm;
    margin: 0 auto;
    padding: 18mm;
    color: #000;
    font-size: 13px;
    line-height: 1.35;
    box-shadow: 0 10px 40px rgba(0,0,0,.25);
}

.quote-doc-header {
    display: grid;
    grid-template-columns: 95px 1fr;
    gap: 22px;
    align-items: start;
    border-bottom: 3px solid var(--orange);
    padding-bottom: 14px;
    margin-bottom: 20px;
}

.quote-doc-header img {
    width: 90px;
    height: auto;
}

.quote-doc-header h1 {
    font-size: 34px;
    line-height: 1;
    color: #000;
    margin: 0 0 10px;
}

.quote-doc-header p {
    margin: 2px 0;
}

.quote-doc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    margin-bottom: 18px;
}

.quote-doc-grid h2,
.quote-document h2 {
    font-size: 18px;
    color: #000;
    margin: 16px 0 8px;
}

.quote-doc-grid p,
.quote-document p {
    margin: 0 0 8px;
}

.quote-table {
    width: 100%;
    border-collapse: collapse;
    margin: 8px 0 14px;
    font-size: 12px;
}

.quote-table th {
    text-align: left;
    border-bottom: 2px solid #000;
    padding: 6px 5px;
}

.quote-table td {
    border-bottom: 1px solid #ddd;
    padding: 6px 5px;
    vertical-align: top;
}

.quote-table th:nth-child(n+2),
.quote-table td:nth-child(n+2) {
    text-align: right;
    white-space: nowrap;
}

.quote-total-box {
    width: 280px;
    margin-left: auto;
    margin-top: 10px;
    border-top: 2px solid #000;
    padding-top: 8px;
}

.quote-total-box p {
    display: flex;
    justify-content: space-between;
    margin: 4px 0;
}

.quote-total-box .grand-total {
    border-top: 1px solid #000;
    padding-top: 6px;
    margin-top: 6px;
    font-size: 16px;
}

.legal-text {
    font-size: 10.5px;
    line-height: 1.3;
    color: #222;
}

.quote-signature {
    margin-top: 18px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

.quote-signature div {
    border: 1px solid #ddd;
    padding: 14px;
    min-height: 110px;
}

/* =========================
   PRINT
========================= */

@media print {
    @page {
        size: A4;
        margin: 10mm;
    }

    html,
    body {
        width: 210mm;
        background: #fff !important;
        color: #000 !important;
        font-size: 11px;
    }

    .site-header,
    .site-footer,
    .no-print,
    .quote-actions {
        display: none !important;
    }

    .section,
    .quote-view-wrap {
        padding: 0 !important;
        margin: 0 !important;
        background: #fff !important;
    }

    .container {
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
    }

    .quote-document {
        width: 100% !important;
        min-height: auto !important;
        padding: 0 !important;
        margin: 0 !important;
        box-shadow: none !important;
        font-size: 11px;
        line-height: 1.25;
    }

    .quote-doc-header {
        grid-template-columns: 75px 1fr;
        gap: 16px;
        padding-bottom: 8px;
        margin-bottom: 12px;
        border-bottom: 2px solid #f58220;
    }

    .quote-doc-header img {
        width: 70px;
    }

    .quote-doc-header h1 {
        font-size: 28px;
        margin-bottom: 6px;
    }

    .quote-doc-header p {
        margin: 1px 0;
    }

    .quote-doc-grid {
        grid-template-columns: 1fr 1fr;
        gap: 22px;
        margin-bottom: 10px;
    }

    .quote-doc-grid h2,
    .quote-document h2 {
        font-size: 15px;
        margin: 10px 0 5px;
    }

    .quote-document p {
        margin-bottom: 5px;
    }

    .quote-table {
        font-size: 10px;
        margin: 5px 0 9px;
    }

    .quote-table th,
    .quote-table td {
        padding: 4px 4px;
    }

    .quote-total-box {
        width: 240px;
        margin-top: 6px;
        padding-top: 5px;
    }

    .quote-total-box p {
        margin: 2px 0;
    }

    .quote-total-box .grand-total {
        font-size: 13px;
        padding-top: 4px;
        margin-top: 4px;
    }

    .legal-text {
        font-size: 8.5px;
        line-height: 1.22;
    }

    .quote-signature {
        margin-top: 10px;
        grid-template-columns: 1fr 1fr;
        gap: 18px;
    }

    .quote-signature div {
        min-height: 80px;
        padding: 8px;
        font-size: 10px;
    }

    h1,
    h2,
    h3,
    p,
    table,
    .quote-total-box,
    .quote-signature {
        break-inside: avoid;
        page-break-inside: avoid;
    }
}
