/* Landing pages (/voorbeeld en /voorbeeld-buitenland).
   Gedeeld door beide pagina's zodat ze niet uit elkaar lopen.
   Zelfde ontwerptaal en tokens als index.html. */

/* Self-hosted Source Sans 3 (variable, latin + latin-ext) — no render-blocking third-party request */
@font-face {
    font-family: 'Source Sans 3';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('../fonts/source-sans-3-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Source Sans 3';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('../fonts/source-sans-3-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
    --bg: #f3efe7;
    --surface: #fffdf9;
    --surface-strong: #f8f3ea;
    --ink: #203246;
    --ink-soft: #5f6d7a;
    --line: #d7d0c3;
    --accent: #ba6b45;
    --accent-dark: #995235;
    --accent-soft: #efe0d5;
    --ok: #2f6f4f;
    --ok-soft: #e4f0e8;
    --err: #a33b2c;
    --err-soft: #f8e5e1;
    --shadow: 0 24px 60px rgba(32, 50, 70, 0.12);
    --radius-xl: 32px;
    --radius-lg: 22px;
    --radius-md: 16px;

    /* Secties lopen over de volle breedte; de inhoud blijft gecentreerd
       binnen 1140px. Zo hoeft er geen extra wrapper-div in de HTML. */
    --gutter: max(20px, calc((100% - 1140px) / 2));
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: 'Source Sans 3', sans-serif;
    color: var(--ink);
    background: var(--surface);
}

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

img { display: block; max-width: 100%; }

h1, h2, h3, p { margin: 0; }

:focus-visible {
    outline: 3px solid var(--accent-dark);
    outline-offset: 3px;
}

.page {
    width: 100%;
    margin: 0;
}

.shell {
    display: block;
    background: var(--surface);
}

/* ---------- Buttons ---------- */

.button,
.button-secondary,
.button-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 54px;
    padding: 0 26px;
    border: 0;
    border-radius: 999px;
    font: inherit;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    transition: transform 180ms ease, background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.button {
    background: var(--accent);
    color: #fff7f1;
    box-shadow: 0 10px 20px rgba(186, 107, 69, 0.24);
}

.button:hover,
.button:focus-visible { background: var(--accent-dark); transform: translateY(-1px); }

.button[disabled] {
    opacity: 0.65;
    cursor: progress;
    transform: none;
}

.button-secondary {
    color: #f9f6f0;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.06);
}

.button-secondary:hover,
.button-secondary:focus-visible { transform: translateY(-1px); background: rgba(255, 255, 255, 0.12); }

.button-ghost {
    color: var(--accent-dark);
    border: 1px solid var(--line);
    background: var(--surface);
}

.button-ghost:hover,
.button-ghost:focus-visible { transform: translateY(-1px); border-color: var(--accent); }

/* ---------- Hero ---------- */

.hero {
    position: relative;
    overflow: hidden; /* klemt de decoratieve cirkel af, dat deed .shell eerst */
    padding: 84px var(--gutter) 88px;
    color: #f9f6f0;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.07), transparent 45%),
        linear-gradient(160deg, #1a2737 0%, #24384d 52%, #31475d 100%);
}

.hero::after {
    content: "";
    position: absolute;
    inset: auto -80px -120px auto;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: rgba(186, 107, 69, 0.18);
    filter: blur(10px);
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 36px;
    align-items: center;
}

.byline {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 7px 16px 7px 7px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #f1d8cb;
    font-size: 0.95rem;
}

.byline img {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
}

.hero h1 {
    margin-top: 20px;
    font-size: clamp(2.1rem, 4.6vw, 3.5rem);
    line-height: 1.03;
    letter-spacing: -0.03em;
    max-width: 15ch;
}

.hero-subtitle {
    max-width: 52ch;
    margin-top: 18px;
    font-size: clamp(1.08rem, 1.6vw, 1.28rem);
    line-height: 1.6;
    color: rgba(249, 246, 240, 0.9);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 26px;
    padding: 0;
    list-style: none;
}

.trust-row li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(249, 246, 240, 0.88);
    font-size: 0.94rem;
    font-weight: 600;
}

.trust-row svg { color: #f3c7b0; flex: none; }

/* Browser frame around a real client screenshot */
.browser {
    display: block;
    border-radius: 14px;
    overflow: hidden;
    background: #e9e3d8;
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 26px 60px rgba(0, 0, 0, 0.32);
}

.browser-bar {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 10px 12px;
    background: #dfd8cb;
    border-bottom: 1px solid rgba(32, 50, 70, 0.12);
}

.browser-bar i {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #bcb3a3;
    flex: none;
}

.browser-url {
    flex: 1;
    margin-left: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    background: #f2ede4;
    color: #6c7787;
    font-size: 0.78rem;
    font-style: normal;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.browser img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: top center;
}

.hero-figure {
    margin: 0;
}

.hero-figure figcaption {
    margin-top: 12px;
    font-size: 0.92rem;
    color: rgba(249, 246, 240, 0.72);
    text-align: center;
}

/* ---------- Sections ---------- */

.section { padding: 84px var(--gutter); }

.section.alt {
    background: var(--surface-strong);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.section-header {
    max-width: 760px;
    margin-bottom: 30px;
}

.section-header h2 {
    font-size: clamp(1.8rem, 3.6vw, 2.6rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
}

.section-header p {
    margin-top: 12px;
    color: var(--ink-soft);
    font-size: 1.08rem;
    line-height: 1.6;
}

.grid { display: grid; gap: 18px; }
.grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.card {
    padding: 26px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: 0 18px 36px rgba(32, 50, 70, 0.06);
}

.card h3 { font-size: 1.3rem; line-height: 1.25; }
.card p { margin-top: 10px; color: var(--ink-soft); line-height: 1.65; }

.icon-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--accent-soft);
    color: var(--accent-dark);
    margin-bottom: 18px;
}

/* ---------- Stappen ---------- */

.steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    counter-reset: step;
}

.step {
    position: relative;
    padding: 28px 26px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: 0 18px 36px rgba(32, 50, 70, 0.06);
}

.step::before {
    counter-increment: step;
    content: counter(step);
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-bottom: 16px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff7f1;
    font-size: 1.25rem;
    font-weight: 700;
}

.step p { color: var(--ink-soft); line-height: 1.65; }

/* ---------- Werk ---------- */

.work-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.work {
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: 0 18px 36px rgba(32, 50, 70, 0.06);
    overflow: hidden;
}

.work .browser {
    border-radius: 0;
    border: 0;
    border-bottom: 1px solid var(--line);
    box-shadow: none;
}

.work-body { padding: 22px; }

.work-body h3 { font-size: 1.2rem; line-height: 1.25; }

.work-meta {
    margin-top: 6px;
    color: var(--ink-soft);
    font-size: 0.95rem;
}

.work-body p { margin-top: 12px; color: var(--ink-soft); line-height: 1.6; }

.work-link {
    display: inline-flex;
    margin-top: 14px;
    color: var(--accent-dark);
    font-weight: 700;
}

.work-link:hover { text-decoration: underline; }

/* ---------- Eigendom en kosten ---------- */

.highlight {
    padding: 34px 30px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--accent-soft);
    background: linear-gradient(160deg, #fff7f1 0%, var(--surface) 70%);
    box-shadow: 0 18px 36px rgba(32, 50, 70, 0.06);
}

.highlight h2 {
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.highlight p {
    margin-top: 14px;
    max-width: 62ch;
    font-size: 1.12rem;
    line-height: 1.7;
    color: var(--ink);
}

/* ---------- Bewijs ---------- */

.quote {
    padding: 28px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: 0 18px 36px rgba(32, 50, 70, 0.06);
    margin: 0;
}

.quote blockquote {
    margin: 0;
    font-size: 1.12rem;
    line-height: 1.65;
    font-style: italic;
}

.quote figcaption {
    margin-top: 14px;
    font-weight: 700;
    color: var(--accent-dark);
}

/* ---------- Wie ik ben ---------- */

.about {
    display: grid;
    grid-template-columns: 132px 1fr;
    gap: 26px;
    align-items: start;
}

.about-photo {
    width: 132px;
    height: 132px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--surface);
    box-shadow: 0 14px 30px rgba(32, 50, 70, 0.14);
}

.about p { margin-top: 12px; color: var(--ink-soft); line-height: 1.7; font-size: 1.06rem; }
.about p:first-child { margin-top: 0; }

.business-details {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
    padding: 0;
    list-style: none;
}

.business-details li {
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--surface-strong);
    border: 1px solid var(--line);
    font-size: 0.94rem;
    font-weight: 600;
    color: var(--ink);
}

/* ---------- Formulier ---------- */

.form-section {
    padding: 84px var(--gutter);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.06), transparent 45%),
        linear-gradient(160deg, #1a2737 0%, #24384d 52%, #31475d 100%);
    color: #f9f6f0;
}

.form-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 34px;
    align-items: start;
}

.form-intro h2 {
    font-size: clamp(1.8rem, 3.4vw, 2.5rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
}

.form-intro p {
    margin-top: 14px;
    color: rgba(249, 246, 240, 0.86);
    font-size: 1.08rem;
    line-height: 1.65;
}

.form-points {
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 12px;
}

.form-points li {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    color: rgba(249, 246, 240, 0.86);
    line-height: 1.55;
}

.form-points svg {
    flex: none;
    margin-top: 4px;
    color: #f3c7b0;
}

.form-card {
    padding: 30px;
    background: var(--surface);
    color: var(--ink);
    border-radius: var(--radius-lg);
    box-shadow: 0 26px 60px rgba(0, 0, 0, 0.24);
}

.field { margin-bottom: 18px; }

.field label {
    display: block;
    margin-bottom: 7px;
    font-weight: 700;
    font-size: 0.98rem;
}

.field .optional {
    font-weight: 400;
    color: var(--ink-soft);
}

.field input,
.field select,
.field textarea {
    width: 100%;
    min-height: 52px;
    padding: 13px 15px;
    font: inherit;
    color: var(--ink);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.field textarea { min-height: 118px; resize: vertical; }

.field select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235f6d7a' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 42px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(186, 107, 69, 0.18);
}

.field .hint {
    margin-top: 6px;
    font-size: 0.9rem;
    color: var(--ink-soft);
    line-height: 1.5;
}

.field .error {
    display: none;
    margin-top: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--err);
}

.field.invalid input,
.field.invalid select { border-color: var(--err); }
.field.invalid .error { display: block; }

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

.form-card .button { width: 100%; }

.form-footnote {
    margin-top: 12px;
    text-align: center;
    color: var(--ink-soft);
    font-size: 0.96rem;
    line-height: 1.55;
}

.form-privacy {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
    color: var(--ink-soft);
    font-size: 0.88rem;
    line-height: 1.55;
}

.form-status {
    display: none;
    margin-bottom: 18px;
    padding: 14px 16px;
    border-radius: var(--radius-md);
    font-weight: 600;
    line-height: 1.55;
}

.form-status.is-visible { display: block; }
.form-status.is-error { background: var(--err-soft); color: var(--err); }
.form-status.is-info { background: var(--accent-soft); color: var(--accent-dark); }
.form-status a { color: inherit; text-decoration: underline; }

.form-success {
    display: none;
    padding: 34px 30px;
    background: var(--surface);
    color: var(--ink);
    border-radius: var(--radius-lg);
    box-shadow: 0 26px 60px rgba(0, 0, 0, 0.24);
}

.form-success.is-visible { display: block; }

.form-success .check {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    margin-bottom: 18px;
    border-radius: 50%;
    background: var(--ok-soft);
    color: var(--ok);
}

.form-success h2 { font-size: 1.6rem; line-height: 1.2; }
.form-success p { margin-top: 12px; color: var(--ink-soft); line-height: 1.7; }

/* ---------- FAQ ---------- */

.faq-list { display: grid; gap: 14px; }

.faq-item {
    padding: 24px 26px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
}

.faq-item h3 { font-size: 1.15rem; line-height: 1.3; }
.faq-item p { margin-top: 8px; color: var(--ink-soft); line-height: 1.65; }

/* ---------- Footer ---------- */

.footer {
    padding: 40px var(--gutter) 44px;
    text-align: center;
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--ink-soft);
    background: var(--surface-strong);
    border-top: 1px solid var(--line);
}

.footer a { color: var(--accent-dark); font-weight: 600; }

/* ---------- Sticky CTA (mobiel) ---------- */

.sticky-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    display: none;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: rgba(255, 253, 249, 0.96);
    border-top: 1px solid var(--line);
    box-shadow: 0 -8px 24px rgba(32, 50, 70, 0.12);
    transform: translateY(110%);
    transition: transform 240ms ease;
}

.sticky-cta.is-visible { transform: translateY(0); }
.sticky-cta .button { width: 100%; }

/* De cookiebanner zit in analytics.js: die brengt zijn eigen opmaak mee,
   zodat elke pagina van de site hem kan tonen zonder extra CSS. */

/* ---------- Animatie ---------- */

.fade-up {
    opacity: 0;
    transform: translateY(18px);
    animation: fadeUp 700ms ease forwards;
}

.delay-1 { animation-delay: 80ms; }
.delay-2 { animation-delay: 160ms; }
.delay-3 { animation-delay: 240ms; }

@keyframes fadeUp {
    to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .fade-up { opacity: 1; transform: none; animation: none; }
    * { transition-duration: 0.01ms !important; }
}

/* ---------- Responsive ---------- */

@media (min-width: 980px) {
    .hero-grid { grid-template-columns: 1.05fr 0.95fr; }
}

@media (max-width: 979px) {
    .hero-figure { max-width: 520px; margin: 0 auto; }
}

@media (max-width: 960px) {
    .grid.cols-3,
    .grid.cols-2,
    .steps,
    .work-grid,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-grid { gap: 26px; }
}

@media (max-width: 720px) {
    .about { grid-template-columns: 1fr; gap: 20px; }
    .about-photo { width: 108px; height: 108px; }
}

@media (max-width: 640px) {
    /* De horizontale marge komt al uit --gutter (minimaal 20px). */
    .hero { padding-top: 52px; padding-bottom: 56px; }
    .section, .form-section { padding-top: 56px; padding-bottom: 56px; }
    .hero-actions { flex-direction: column; }
    .hero-actions .button,
    .hero-actions .button-secondary { width: 100%; }
    .form-card, .form-success, .highlight { padding: 24px 20px; }
    .sticky-cta { display: block; }
    body.has-sticky-cta { padding-bottom: 84px; }
}
