/* ==========================================================
   Jongens van de Draaikiepramen - theme
   Zwart hoofdthema, blauwe accenten, witte accenten
   ========================================================== */

:root {
    --bg: #0a0b0d;
    --bg-alt: #131519;
    --bg-card: #1a1d24;
    --line: rgba(255, 255, 255, 0.10);
    --line-strong: rgba(255, 255, 255, 0.18);

    --blue: #3d6bff;
    --blue-deep: #16224d;
    --blue-bright: #7fa8ff;

    --white: #ffffff;
    --ink: #eef0f5;
    --ink-muted: #90959f;

    --font-display: "Archivo", sans-serif;
    --font-body: "IBM Plex Sans", sans-serif;
    --font-mono: "IBM Plex Mono", ui-monospace, monospace;

    --container: 1200px;
    --radius: 4px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 800;
    color: var(--white);
    line-height: 1.1;
    margin: 0 0 18px;
    text-wrap: balance;
}
h1 { font-size: clamp(34px, 5vw, 60px); }
h2 { font-size: clamp(26px, 3.4vw, 40px); }
h3 { font-size: clamp(20px, 2.4vw, 26px); }
h4 { font-size: 18px; }

p { margin: 0 0 16px; color: var(--ink-muted); max-width: 62ch; }

.text-panel {
    border: 1px solid var(--blue);
    background: rgba(61, 107, 255, 0.05);
    padding: 30px 34px;
    border-radius: 2px;
}
.text-panel p { margin: 0; }
.text-panel p + p { margin-top: 16px; }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 12.5px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--blue-bright);
    margin: 0 0 16px;
}
section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); }
.section-tight { padding: 64px 0; }

/* ---------- buttons ---------- */
.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 17px 30px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 13.5px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border: 2px solid transparent;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    isolation: isolate;
    transition: color 0.35s ease, border-color 0.35s ease;
}
.btn::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 50%;
    left: 50%;
    width: 900px;
    height: 900px;
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.5s cubic-bezier(0.22, 0.9, 0.32, 1);
}
.btn svg, .btn i { transition: transform 0.35s ease; }
.btn:hover svg, .btn:hover i { transform: translateX(3px); }

.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary::before { background: var(--white); }
.btn-primary:hover { color: var(--blue); }
.btn-primary:hover::before { transform: translate(-50%, -50%) scale(1); }

.btn-outline { background: transparent; color: var(--white); border-color: var(--line-strong); }
.btn-outline::before { background: var(--blue); }
.btn-outline:hover { color: var(--white); border-color: var(--blue); }
.btn-outline:hover::before { transform: translate(-50%, -50%) scale(1); }

.btn-on-blue { background: var(--white); color: var(--blue-deep); }
.btn-on-blue::before { background: var(--bg); }
.btn-on-blue:hover { color: var(--white); }
.btn-on-blue:hover::before { transform: translate(-50%, -50%) scale(1); }

.btn-sm { padding: 12px 20px; font-size: 12px; }

/* ---------- header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 500;
    background: rgba(10, 11, 13, 0.88);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    height: 84px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-icon { width: auto; height: 40px; }
.brand-text {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 17px;
    color: var(--white);
    line-height: 1.1;
    white-space: nowrap;
}
.site-nav { display: flex; align-items: center; gap: 36px; }
.site-nav a {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 14.5px;
    color: var(--ink);
    position: relative;
    padding: 6px 0;
}
.site-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 0;
    background: var(--blue);
    transition: width 0.3s ease;
}
.site-nav a:hover::after,
.site-nav a.active::after { width: 100%; }
.site-nav a.active { color: var(--blue-bright); }

.header-actions { display: flex; align-items: center; gap: 20px; }

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    cursor: pointer;
}
.nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 0 auto;
    background: var(--white);
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
    padding: 88px 0 100px;
    background:
        radial-gradient(ellipse 60% 50% at 82% 8%, rgba(61, 107, 255, 0.22), transparent 60%),
        var(--bg);
    border-bottom: 1px solid var(--line);
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 56px;
    align-items: center;
}
.hero h1 { max-width: 14ch; }
.hero-lead { font-size: 18px; max-width: 46ch; margin-bottom: 34px; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-visual img { width: 100%; filter: drop-shadow(0 20px 40px rgba(0,0,0,0.5)); }

/* ---------- perks strip ---------- */
.perks-section { position: relative; }
.perks-line {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 1px;
    background: var(--blue);
    z-index: 0;
}
.perks-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    row-gap: 24px;
    position: relative;
    z-index: 1;
}
.perk {
    position: relative;
    z-index: 1;
    background: var(--bg);
    padding: 0 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
}
.perk i { font-size: 26px; color: var(--blue-bright); }
.perk i.fa-circle-quarter { font-size: 40px; }
.perk span {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 13px;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    line-height: 1.3;
}

/* ---------- timeline (werkwijze) ---------- */
.timeline { margin-top: 48px; max-width: 640px; }
.timeline-step {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 24px;
    position: relative;
    padding-bottom: 40px;
}
.timeline-step:last-child { padding-bottom: 0; }
.timeline-step:not(:last-child)::before {
    content: "";
    position: absolute;
    left: 25px;
    top: 52px;
    bottom: 0;
    width: 2px;
    background: var(--line-strong);
}
.timeline-marker {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 17px;
    color: var(--blue-bright);
    position: relative;
    z-index: 1;
}
.timeline-content h4 { margin-bottom: 8px; }
.timeline-content p { margin: 0; font-size: 14.5px; }
.timeline-content p + p { margin-top: 8px; }

/* ---------- extras list ---------- */
.extras-panel { margin-top: 40px; }
.extras-row {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 32px;
    padding: 22px 0;
    border-bottom: 1px solid var(--line);
}
.extras-row:first-child { padding-top: 0; }
.extras-row:last-child { padding-bottom: 0; border-bottom: none; }
.extras-row h4 { margin: 0; font-size: 17px; color: var(--white); }
.extras-row p { margin: 0; font-size: 14.5px; }
.extras-row p + p { margin-top: 10px; }

/* ---------- content columns ---------- */
.split {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 64px;
    align-items: start;
}
.split-reverse { grid-template-columns: 1.15fr 0.85fr; }
.split-reverse .split-media { order: 2; }

.check-list { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 14px; }
.check-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    color: var(--ink);
    font-size: 15px;
}
.check-list li i {
    color: var(--blue-bright);
    margin-top: 3px;
    flex-shrink: 0;
}
.check-list b { color: var(--white); }

.split-media {
    border: 1px solid var(--blue);
    border-radius: var(--radius);
    overflow: hidden;
}
.split-media img { width: 100%; height: auto; }

/* ---------- cta band ---------- */
.cta-band {
    background: linear-gradient(135deg, var(--blue-deep), var(--bg));
    border: 1px solid var(--line-strong);
    border-radius: 6px;
    padding: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}
.cta-band h3 { margin-bottom: 8px; }
.cta-band p { margin: 0; color: rgba(238,240,245,0.72); }

/* ---------- testimonials ---------- */
.testi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}
.testi-card {
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px;
}
.testi-card .stars { color: var(--blue-bright); font-size: 13px; margin-bottom: 14px; letter-spacing: 2px; }
.testi-card p { color: var(--ink); font-size: 14.5px; margin-bottom: 18px; }
.testi-card .who { font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--white); }
.testi-card .where { font-family: var(--font-mono); font-size: 12px; color: var(--ink-muted); }

/* ---------- portfolio ---------- */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.portfolio-tile {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    cursor: pointer;
    background: var(--bg-card);
}
.portfolio-tile img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.5s ease;
}
.portfolio-tile:hover img { transform: scale(1.06); }
.portfolio-tile .overlay {
    position: absolute; inset: 0;
    background: linear-gradient(0deg, rgba(10,11,13,0.88), rgba(10,11,13,0) 55%);
    display: flex;
    align-items: flex-end;
    padding: 18px;
    opacity: 0;
    transition: opacity 0.35s ease;
}
.portfolio-tile:hover .overlay { opacity: 1; }
.portfolio-tile .overlay span {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 14px;
    color: var(--white);
}
.portfolio-tile .plus {
    position: absolute; top: 14px; right: 14px;
    width: 34px; height: 34px;
    border-radius: 50%;
    background: rgba(61,107,255,0.9);
    color: var(--white);
    display: flex; align-items: center; justify-content: center;
    font-size: 14px;
    opacity: 0;
    transform: scale(0.6);
    transition: all 0.35s ease;
}
.portfolio-tile:hover .plus { opacity: 1; transform: scale(1); }

/* lightbox */
.lightbox {
    position: fixed; inset: 0; z-index: 2000;
    background: rgba(6,7,9,0.94);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 40px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 84vh; border: 1px solid var(--line-strong); }
.lightbox-close {
    position: absolute; top: 24px; right: 28px;
    width: 44px; height: 44px;
    border-radius: 50%;
    border: 1px solid var(--line-strong);
    background: rgba(255,255,255,0.05);
    color: var(--white);
    font-size: 18px;
    cursor: pointer;
}
.lightbox-nav {
    position: absolute; top: 50%;
    transform: translateY(-50%);
    width: 52px; height: 52px;
    border-radius: 50%;
    border: 1px solid var(--line-strong);
    background: rgba(255,255,255,0.05);
    color: var(--white);
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lightbox-nav:hover { border-color: var(--blue); color: var(--blue-bright); }
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }
@media (max-width: 600px) {
    .lightbox-nav { width: 40px; height: 40px; font-size: 20px; }
    .lightbox-prev { left: 10px; }
    .lightbox-next { right: 10px; }
}

/* ---------- footer ---------- */
.site-footer { background: var(--bg-alt); border-top: 1px solid var(--line); padding-top: 72px; }
.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 56px;
}
.footer-about p { font-size: 14.5px; margin-top: 18px; }
.footer-grid h4 { color: var(--white); font-size: 14px; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 20px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.footer-grid ul a, .footer-grid ul li { font-size: 14.5px; color: var(--ink-muted); }
.footer-grid ul a:hover { color: var(--blue-bright); }
.footer-bottom {
    border-top: 1px solid var(--line);
    padding: 22px 0;
    font-size: 13px;
    color: var(--ink-muted);
}
.footer-bottom a { color: var(--blue-bright); }

/* ---------- forms ---------- */
.field { margin-bottom: 20px; }
.field label {
    display: block;
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--ink-muted);
    margin-bottom: 8px;
}
.field input, .field textarea {
    width: 100%;
    background: var(--bg-alt);
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    padding: 14px 16px;
    color: var(--white);
    font-family: var(--font-body);
    font-size: 15px;
    outline: none;
    transition: border-color 0.25s ease;
}
.field input:focus, .field textarea:focus { border-color: var(--blue); }
.field textarea { resize: vertical; min-height: 130px; }
.field-checks { display: grid; gap: 10px; margin-bottom: 26px; }
.field-check { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--ink); }
.field-check input { width: 18px; height: 18px; accent-color: var(--blue); }

.form-alert {
    padding: 14px 16px;
    border-radius: var(--radius);
    font-size: 14px;
    margin-bottom: 20px;
    border: 1px solid;
}
.messages:not(:empty) { margin-top: 20px; }
.form-alert.success { background: rgba(61,107,255,0.12); border-color: var(--blue); color: var(--blue-bright); }
.form-alert.danger { background: rgba(255,90,90,0.1); border-color: #e05a5a; color: #ff9d9d; }

/* ---------- info cards (contact) ---------- */
.info-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 64px; }
.info-card { background: var(--bg-card); border: 1px solid var(--blue); border-radius: var(--radius); padding: 28px; }
.info-card i { color: var(--blue-bright); font-size: 20px; margin-bottom: 14px; display: block; }
.info-card h4 { margin-bottom: 6px; font-size: 15px; }
.info-card p, .info-card a { margin: 0; font-size: 14px; color: var(--ink-muted); }
.info-card a:hover { color: var(--blue-bright); }

.map-frame { border: 1px solid var(--line-strong); border-radius: var(--radius); overflow: hidden; height: 380px; }
.map-frame iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(0.92) contrast(0.9); transition: filter 0.3s ease; }
.map-frame:hover iframe { filter: none; }

/* ---------- calculator ---------- */
.calc-card {
    background: var(--bg-card);
    border: 1px solid var(--blue);
    border-radius: 6px;
    padding: 40px;
}
.calc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.raam-row { padding: 18px 0; border-bottom: 1px solid var(--line); }
.raam-row:first-child { padding-top: 0; }
.raam-row-grid { display: grid; grid-template-columns: 1fr 1fr 0.8fr auto; gap: 16px; align-items: end; }
.raam-row .field { margin-bottom: 0; }
.raam-remove {
    width: 40px; height: 40px;
    border-radius: 50%;
    border: 1px solid var(--line-strong);
    background: transparent;
    color: var(--ink-muted);
    font-size: 18px;
    cursor: pointer;
}
.raam-remove:hover { border-color: #e05a5a; color: #ff9d9d; }
.raam-toevoegen-btn { width: 100%; justify-content: center; margin: 20px 0 26px; }
.calc-result {
    margin-top: 28px;
    padding: 26px;
    background: var(--blue-deep);
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    display: none;
}
.calc-result.show { display: block; }
.calc-result .row { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: 14.5px; color: var(--ink); }
.calc-result .price { font-family: var(--font-display); font-size: 30px; color: var(--white); margin: 10px 0; }
.calc-result .note { font-size: 12.5px; color: var(--ink-muted); margin: 0; }

.calc-note {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 16px 18px;
    background: var(--bg-alt);
    border: 1px dashed var(--line-strong);
    border-radius: var(--radius);
    margin-bottom: 26px;
}
.calc-note i { color: var(--blue-bright); font-size: 18px; margin-top: 2px; }
.calc-note strong { display: block; color: var(--white); font-size: 14px; margin-bottom: 4px; }
.calc-note p { margin: 0; font-size: 13.5px; }

/* ---------- breadcrumb / page header ---------- */
.page-header { padding: 56px 0 40px; border-bottom: 1px solid var(--line); }
.page-header .eyebrow { margin-bottom: 12px; }
.page-header p { font-size: 16.5px; }

/* ---------- legal pages (privacy / voorwaarden) ---------- */
.legal-content { max-width: 72ch; }
.legal-content h2 { margin-top: 44px; margin-bottom: 14px; font-size: 21px; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p { margin-bottom: 16px; }
.legal-content ul, .legal-content ol { margin: 0 0 20px; padding-left: 22px; color: var(--ink-muted); }
.legal-content li { margin-bottom: 8px; font-size: 15px; }
.legal-content b { color: var(--white); }
.legal-content a { color: var(--blue-bright); }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
    .hero-grid, .split, .split-reverse { grid-template-columns: 1fr; }
    .split-reverse .split-media { order: 0; }
    .info-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .extras-row { grid-template-columns: 1fr; gap: 8px; }
    .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
    .site-nav { display: none; }
    .header-actions .btn-sm { display: none; }
    .nav-toggle { display: flex; }
    .site-header.menu-open .site-nav {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        position: absolute;
        top: 84px;
        left: 0;
        right: 0;
        background: var(--bg-alt);
        border-bottom: 1px solid var(--line);
        padding: 20px 24px 28px;
    }
    section { padding: 64px 0; }
}

@media (max-width: 600px) {
    .info-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 36px; }
    .portfolio-grid { grid-template-columns: 1fr; }
    .calc-row { grid-template-columns: 1fr; }
    .raam-row-grid { grid-template-columns: 1fr 1fr; }
    .raam-remove { justify-self: end; }
    .cta-band { padding: 36px 24px; }
    .perks-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 12px; }
    .perks-strip::before { display: none; }
    .perk { padding: 0; }
}
