/* ==========================================================================
   Emiel Vandenberghe – Styles
   ========================================================================== */

.visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

:root {
    --ink: #1c2028;
    --ink-soft: #4b5363;
    --ink-muted: #8b93a1;
    --bg: #f4f2ee;
    --white: #fff;
    --off: #eae7e1;
    --accent: #3b6b4f;
    --accent-light: #e6f0ea;
    --accent-dark: #2d5340;
    --pop: #c2553a;
    --pop-light: #fceee9;
    --pop-dark: #a3432c;
    --border: #d8d4cc;
    --font: 'Space Grotesk', system-ui, sans-serif;
    --hand: 'Caveat', cursive;
    --r: 6px;
    --t: 0.25s ease;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 68px; }

body {
    font-family: var(--font);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: color var(--t); }
a:hover { color: var(--accent-dark); }
ul { list-style: none; }
h1, h2, h3, h4 { font-weight: 700; line-height: 1.15; letter-spacing: -0.03em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.2rem); }
h3 { font-size: 1.1rem; }
strong { font-weight: 600; }

.hand {
    font-family: var(--hand);
    font-size: 1.2em;
    font-weight: 600;
}

.container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ---- Buttons ---- */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--pop);
    color: #fff;
    border: 2px solid var(--pop);
    border-radius: var(--r);
    font-family: var(--font);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--t);
}
.btn:hover {
    background: var(--pop-dark);
    border-color: var(--pop-dark);
    color: #fff;
    transform: translateY(-1px);
}
.btn-full { width: 100%; text-align: center; }
.btn-small { padding: 0.45rem 1rem; font-size: 0.82rem; }

.link-down {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    color: var(--ink-soft);
    font-weight: 500;
    font-size: 0.92rem;
}
.link-down:hover { color: var(--accent); }
.link-down svg { transition: transform var(--t); }
.link-down:hover svg { transform: translateY(3px); }

/* ---- Fade-in ---- */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}
.fade-in.visible { opacity: 1; transform: none; }

/* ========================================
   NAV
   ======================================== */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(244, 242, 238, 0.88);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color var(--t);
}
.nav.scrolled { border-bottom-color: var(--border); }

.nav-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 58px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--ink);
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}
.logo:hover { color: var(--ink); }

.logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    background: var(--ink);
    color: var(--bg);
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    flex-shrink: 0;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-links a {
    color: var(--ink-soft);
    font-size: 0.85rem;
    font-weight: 500;
}
.nav-links a:hover { color: var(--ink); }

.nav-cta {
    background: var(--accent);
    color: #fff !important;
    padding: 0.4rem 0.95rem;
    border-radius: var(--r);
    font-size: 0.82rem !important;
}
.nav-cta:hover { background: var(--accent-dark) !important; }

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none; border: none;
    cursor: pointer; padding: 8px;
}
.hamburger span {
    display: block; width: 22px; height: 2px;
    background: var(--ink); border-radius: 2px;
    transition: all 0.25s ease;
}

/* ========================================
   HERO – banner layout
   ======================================== */
.hero {
    position: relative;
    padding: 7rem 0 4.5rem;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 4rem;
    align-items: center;
}

.hero-hi {
    font-size: 1.05rem;
    color: var(--ink-soft);
    margin-bottom: 0.6rem;
}
.hero-hi .hand {
    color: var(--accent);
    font-size: 1.5rem;
}

.hero-left h1 {
    margin-bottom: 1rem;
    line-height: 1.02;
}

.hero-list {
    margin-top: 0.9rem;
    margin-bottom: 1.4rem;
}
.hero-list li {
    margin-bottom: 0.6rem;
    color: var(--ink-soft);
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 2rem;
}

.badge {
    display: inline-block;
    padding: 0.3rem 0.7rem;
    background: var(--accent-light);
    color: var(--accent);
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
}

.hero-right {
    display: flex;
    justify-content: flex-end;
}

.hero-photo-main {
    width: 100%;
    max-width: 420px;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    transform: rotate(-1.5deg);
}

.wireframe-portrait {
    width: 100%;
    height: auto;
    display: block;
}

.typed-wrapper { white-space: nowrap; }

.typed {
    color: var(--accent);
    border-bottom: 3px solid var(--accent-light);
}

.typed-cursor {
    color: var(--accent);
    animation: blink 0.8s step-end infinite;
    font-weight: 300;
    margin-left: 0.35rem;
    display: inline-block;
    vertical-align: baseline;
}

@keyframes blink { 50% { opacity: 0; } }

.hero-sub {
    font-size: 1.05rem;
    color: var(--ink-soft);
    margin-bottom: 1.75rem;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* Doodles */
.doodle {
    position: absolute;
    pointer-events: none;
    color: var(--border);
    opacity: 0.35;
}
.doodle-cloud {
    width: 100px;
    top: 10%;
    right: 6%;
    animation: drift 14s ease-in-out infinite;
}
.doodle-gear {
    width: 44px;
    top: 22%;
    left: 2%;
    opacity: 0.2;
    animation: spin-slow 25s linear infinite;
}

@keyframes drift {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(6px, -10px); }
}
@keyframes spin-slow { to { transform: rotate(360deg); } }

/* ========================================
   OVER MIJ
   ======================================== */
.over {
    padding: 5rem 0;
    background: var(--white);
}

.over-layout {
    display: grid;
    grid-template-columns: 0.7fr 1.3fr;
    gap: 4.5rem;
    align-items: start;
}

.over-photo-col { position: relative; }

.over-photo-col img,
.over-photo-col svg {
    width: 100%;
    height: auto;
    border-radius: 10px;
    display: block;
}

.over-note {
    position: absolute;
    bottom: -20px;
    right: -8px;
    color: var(--pop);
    font-size: 0.95rem;
    transform: rotate(3deg);
    opacity: 0.7;
}

.over-text-col h2 { margin-bottom: 1.8rem; }

/* Laatste regel van de titel in handgeschreven lettertype */
.over-text-col h2 strong:last-of-type {
    font-family: var(--hand);
    font-size: 1.2em; /* iets groter voor meer impact */
    color: var(--accent);
    font-weight: 600;
    display: inline-block;
    margin-top: 0.2rem;
}

.highlight-scribble {
    position: relative;
    display: inline;
}
.highlight-scribble::after {
    content: '';
    position: absolute;
    left: -3px; right: -3px; bottom: -1px;
    height: 8px;
    background: var(--accent-light);
    z-index: -1;
    border-radius: 2px;
    transform: rotate(-0.4deg);
}

.over-text-col p {
    color: var(--ink-soft);
    margin-bottom: 1rem;
    font-size: 0.98rem;
}

.over-timeline {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
    margin-top: 1.5rem;
}

.tl-item {
    display: flex;
    gap: 0.6rem;
    align-items: flex-start;
    padding: 0.75rem;
    background: var(--bg);
    border-radius: var(--r);
}

.tl-icon {
    width: 26px; height: 26px;
    flex-shrink: 0;
    color: var(--accent);
    margin-top: 1px;
}

.tl-item strong { display: block; font-size: 0.85rem; }
.tl-item span { font-size: 0.78rem; color: var(--ink-muted); }

/* ========================================
   DIENSTEN
   ======================================== */
.diensten { padding: 5rem 0; }
.diensten h2 { margin-bottom: 0.5rem; }

.diensten-intro {
    color: var(--ink-soft);
    font-size: 1rem;
    margin-bottom: 2.5rem;
    max-width: 520px;
}

/* Accordeon (adjusted spacing/alignment) */
.diensten-accordeon {
    border-top: 1px solid var(--border);
    margin-top: 1.25rem;
}

.da-item {
    border-bottom: 1px solid var(--border);
    background: transparent;
}

/* Header as a full-width strip with precise grid for alignment */
.da-header {
    width: 100%;
    display: grid;
    grid-template-columns: 56px 1fr auto 44px;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: background var(--t), transform var(--t);
    min-height: 68px;
}
.da-header:hover { background: var(--off); }
.da-item.is-open > .da-header { background: var(--accent-light); }

.da-num {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    background: var(--bg);
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--accent);
    box-shadow: 0 1px 0 rgba(0,0,0,0.02) inset;
}

.da-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -0.02em;
    font-family: var(--font);
}

.da-prijs {
    margin-left: 0.5rem;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--accent-dark);
    background: var(--accent-light);
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    white-space: nowrap;
    font-family: var(--font);
}

.da-toggle {
    width: 44px;
    height: 44px;
    position: relative;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.da-toggle::before,
.da-toggle::after {
    content: '';
    position: absolute;
    background: var(--ink-soft);
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}
.da-toggle::before { width: 16px; height: 2px; top: 21px; left: 14px; }
.da-toggle::after  { width: 2px; height: 16px; top: 14px; left: 21px; }
.da-item.is-open .da-toggle::after { transform: rotate(90deg); opacity: 0; }

/* Body spans full width under the header; padding-left lines up with title column */
.da-body {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--white);
}

.da-body-inner {
    display: grid;
    grid-template-columns: 1fr 120px;
    gap: 2rem;
    align-items: start;
    padding: 1.5rem 1.5rem;
    padding-left: 1.5rem;
}

.da-body-inner.da-body-split {
    grid-template-columns: 1fr 120px;
}

.da-col-tekst p {
    color: var(--ink-soft);
    font-size: 0.95rem;
    margin-bottom: 0.85rem;
    line-height: 1.6;
}

.da-col-tekst ul {
    margin-top: 0.5rem;
    margin-bottom: 0;
}

.da-col-tekst ul li {
    position: relative;
    padding-left: 1rem;
    margin-bottom: 0.25rem;
    font-size: 0.88rem;
    color: var(--ink-soft);
}
.da-col-tekst ul li::before {
    content: '—';
    position: absolute; left: 0;
    color: var(--accent);
    font-weight: 600;
    font-size: 0.8rem;
}

.da-col-doodle {
    padding-top: 0.25rem;
}
.da-col-doodle svg {
    width: 100%;
    height: auto;
    color: var(--border);
    opacity: 0.9;
}

/* Website options within accordeon */
.da-opties {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
    margin: 0.75rem 0 1rem;
}

.da-optie {
    padding: 1rem;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--r);
}

.da-optie-naam {
    display: block;
    color: var(--accent);
    font-size: 1.3em;
    margin-bottom: 0.25rem;
}

.da-optie p {
    font-size: 0.83rem;
    color: var(--ink-soft);
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.prijs {
    display: inline-block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--accent-dark);
    background: var(--accent-light);
    padding: 0.2rem 0.55rem;
    border-radius: 4px;
}

.diensten-voetnoot {
    margin-top: 2rem;
    color: var(--ink-soft);
    font-size: 0.93rem;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem 0.85rem;
}
.diensten-voetnoot .hand { color: var(--accent); }

/* ========================================
   PORTFOLIO
   ======================================== */
.portfolio {
    padding: 5rem 0;
    background: var(--white);
}

.section-label {
    display: block;
    color: var(--accent);
    font-size: 1rem;
    margin-bottom: 0.15rem;
}

.portfolio h2 {
    margin-bottom: 2.25rem;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.project-card {
    display: block;
    color: var(--ink);
    border-radius: 10px;
    overflow: hidden;
    background: var(--bg);
    border: 1px solid var(--border);
    transition: box-shadow var(--t), transform var(--t);
}

.project-card:hover {
    color: var(--ink);
    box-shadow: 0 8px 28px rgba(0,0,0,0.07);
    transform: translateY(-3px);
}

.project-img {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.project-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.project-card:hover .project-img img {
    transform: scale(1.03);
}

.project-type {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    padding: 0.2rem 0.6rem;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(6px);
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--ink-soft);
    letter-spacing: 0.02em;
}

.project-info {
    padding: 1.25rem 1.5rem 1.5rem;
}

.project-client {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 0.4rem;
}

.project-client svg { color: var(--accent); flex-shrink: 0; }

.project-info h3 {
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
}

.project-info p {
    font-size: 0.88rem;
    color: var(--ink-soft);
    line-height: 1.6;
    margin-bottom: 0.85rem;
}

.project-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent);
    transition: color var(--t);
}

.project-card:hover .project-link { color: var(--pop); }

/* ========================================
   VERHALEN
   ======================================== */
.verhalen {
    padding: 5rem 0;
    background: var(--white);
}
.verhalen h2 { margin-bottom: 0.5rem; }

.verhalen-intro {
    color: var(--ink-soft);
    margin-bottom: 2rem;
}
.verhalen-intro .hand { color: var(--ink-muted); font-size: 1rem; }

.verhaal-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}

.verhaal {
    position: relative;
    padding: 1.75rem 0 1.75rem 3.5rem;
    border-left: 2px solid var(--border);
}
.verhaal:last-child { border-left-color: transparent; }

.verhaal-nr {
    position: absolute;
    left: -16px; top: 1.6rem;
    width: 30px; height: 30px;
    background: var(--bg);
    border: 2px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--accent);
}

.verhaal h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.verhaal > p {
    color: var(--ink-soft);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 0.65rem;
}

.verhaal-tag {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent-dark);
    background: var(--accent-light);
    padding: 0.15rem 0.5rem;
    border-radius: 3px;
}

/* ========================================
   CASES (modern verhalen)
   ======================================== */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin-top: 1.75rem;
}

.case {
    position: relative;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1.6rem 1.5rem 1.4rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    overflow: hidden;
    transition: box-shadow 0.35s ease, transform 0.35s ease, border-color 0.35s ease;
}

.case::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), color-mix(in srgb, var(--accent) 50%, var(--pop, var(--accent))));
    opacity: 0;
    transition: opacity 0.35s ease;
}

.case:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 36px rgba(0,0,0,0.08);
    border-color: color-mix(in srgb, var(--accent) 30%, var(--border));
}

.case:hover::before { opacity: 1; }

.case-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.case-tag {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--accent-dark);
    background: var(--accent-light);
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.case-sector {
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--ink-muted);
    letter-spacing: 0.02em;
}

.case h3 {
    font-size: 1.15rem;
    line-height: 1.35;
    margin: 0;
    letter-spacing: -0.01em;
}

.case > p {
    color: var(--ink-soft);
    font-size: 0.92rem;
    line-height: 1.6;
    margin: 0;
}

.case-results {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 0.25rem;
    padding-top: 0.85rem;
    border-top: 1px dashed var(--border);
}

.case-chip {
    display: inline-flex;
    align-items: center;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--ink);
    background: var(--bg);
    padding: 0.32rem 0.7rem;
    border-radius: 999px;
    border: 1px solid var(--border);
}

.case-chip::before {
    content: '✓';
    color: var(--accent);
    font-weight: 700;
    margin-right: 0.4rem;
    font-size: 0.85rem;
}

@media (max-width: 800px) {
    .cases-grid { grid-template-columns: 1fr; gap: 1rem; }
    .case { padding: 1.35rem 1.2rem 1.15rem; }
}

/* ========================================
   AANPAK
   ======================================== */
.aanpak { padding: 5rem 0; }
.aanpak-top { margin-bottom: 2rem; }
.aanpak-top h2 { margin-bottom: 0.4rem; }
.aanpak-top p { color: var(--ink-soft); }

.stappen {
    display: flex;
    align-items: flex-start;
    gap: 0;
    margin-bottom: 3.5rem;
}

.stap { flex: 1; text-align: center; }

.stap-nr {
    position: relative;
    width: 48px; height: 48px;
    margin: 0 auto 0.65rem;
}
.stap-nr svg { width: 100%; height: 100%; color: var(--border); }
.stap-nr span {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--hand);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--accent);
}

.stap strong { display: block; font-size: 0.92rem; margin-bottom: 0.3rem; }
.stap p { font-size: 0.83rem; color: var(--ink-soft); padding: 0 0.4rem; line-height: 1.5; }

.stap-connector {
    width: 42px;
    flex-shrink: 0;
    margin-top: 22px;
    color: var(--border);
}

/* Eerlijk blok */
.eerlijk-blok {
    border-top: 1px solid var(--border);
    padding-top: 2.5rem;
}

.eerlijk-blok h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.eerlijk-intro {
    color: var(--ink-soft);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.eerlijk-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.eerlijk-item {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    padding: 1.2rem;
    background: var(--bg);
    border-radius: var(--r);
    border-left: 3px solid var(--accent);
}

.eerlijk-nr {
    flex-shrink: 0;
    color: var(--accent);
    font-size: 1.6rem;
    line-height: 1;
    margin-top: -2px;
}

.eerlijk-item strong {
    display: block;
    font-size: 0.92rem;
    margin-bottom: 0.3rem;
}

.eerlijk-item p {
    font-size: 0.85rem;
    color: var(--ink-soft);
    line-height: 1.6;
}

/* ========================================
   REFERENTIES
   ======================================== */
.referenties {
    padding: 5rem 0;
    background: var(--white);
}
.referenties h2 { margin-bottom: 2rem; }

.quotes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.quote {
    padding: 1.5rem;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--bg);
    transition: box-shadow var(--t);
}
.quote:hover { box-shadow: 0 3px 14px rgba(0,0,0,0.04); }

.quote p {
    font-size: 0.92rem;
    line-height: 1.7;
    color: var(--ink);
    margin-bottom: 1rem;
    font-style: italic;
}

.quote footer {
    font-size: 0.82rem;
    color: var(--ink-muted);
}
.quote footer strong { color: var(--ink); font-style: normal; }

/* ========================================
   CONTACT
   ======================================== */
.contact { padding: 5rem 0; }

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
}

.contact-left h2 { margin-bottom: 0.65rem; }
.contact-left > p {
    color: var(--ink-soft);
    margin-bottom: 1.75rem;
    font-size: 1rem;
}

.contact-info { display: flex; flex-direction: column; gap: 0.85rem; }
.contact-info a, .ci-loc {
    display: flex; flex-direction: column;
    color: var(--ink); font-size: 0.9rem;
}
.ci-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ink-muted);
}
.contact-info a:hover { color: var(--accent); }

/* Chat form */
.chat-form {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1.4rem;
    box-shadow: 0 3px 16px rgba(0,0,0,0.04);
}

.chat-bubble {
    padding: 0.75rem 1rem;
    border-radius: 10px 10px 10px 3px;
    margin-bottom: 1.1rem;
    font-size: 0.9rem;
    line-height: 1.5;
}

.chat-incoming { background: var(--bg); color: var(--ink); max-width: 82%; }

.chat-name {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 0.15rem;
}

.chat-input-group { margin-bottom: 0.75rem; }

.chat-input-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
    color: var(--ink);
}

.opt { font-weight: 400; color: var(--ink-muted); }

.chat-input-group input,
.chat-input-group select,
.chat-input-group textarea {
    width: 100%;
    padding: 0.55rem 0.75rem;
    border: 1px solid var(--border);
    border-radius: var(--r);
    font-family: var(--font);
    font-size: 0.88rem;
    color: var(--ink);
    background: var(--bg);
    transition: border-color var(--t), box-shadow var(--t);
}

.chat-input-group input:focus,
.chat-input-group select:focus,
.chat-input-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-light);
}

.chat-input-group textarea { resize: vertical; min-height: 76px; }
.chat-input-group input::placeholder,
.chat-input-group textarea::placeholder { color: var(--ink-muted); }
.chat-form .btn { margin-top: 0.2rem; }
.chat-privacy { margin-top: 0.55rem; font-size: 0.74rem; color: var(--ink-muted); }

/* ========================================
   FOOTER
   ======================================== */
.footer {
    padding: 2.25rem 0;
    border-top: 1px solid var(--border);
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: start;
    justify-content: space-between;
    gap: 1.25rem;
}

.footer-left p { font-size: 0.82rem; color: var(--ink-muted); margin-top: 0.35rem; }

.footer-nav { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.footer-nav a { color: var(--ink-soft); font-size: 0.82rem; font-weight: 500; }
.footer-nav a:hover { color: var(--accent); }

.footer-copy {
    width: 100%;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border);
    font-size: 0.76rem;
    color: var(--ink-muted);
    margin-top: 0.4rem;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 900px) {
    .hero { padding: 6rem 0 2.5rem; }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .hero-right { justify-content: flex-start; }

    .hero-photo-main {
        max-width: 300px;
        height: 340px;
        transform: rotate(-1deg);
    }

    .over-layout { grid-template-columns: 1fr; gap: 2rem; }
    .over-photo-col img { height: 280px; }
    .over-timeline { grid-template-columns: 1fr 1fr; }

    .dienst-grid { grid-template-columns: 1fr; }
    .dienst-card-wide { grid-column: auto; }
    .dienst-split { grid-template-columns: 1fr; }

    .stappen { flex-wrap: wrap; justify-content: center; gap: 0.5rem; }
    .stap-connector { display: none; }
    .stap { flex: 0 0 calc(50% - 0.5rem); }

    .eerlijk-grid { grid-template-columns: 1fr; }
    .portfolio-grid { grid-template-columns: 1fr; }
    .quotes { grid-template-columns: 1fr; }
    .contact-layout { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 640px) {
    .nav-links {
        position: fixed;
        top: 0; right: -100%;
        width: 75%; max-width: 260px;
        height: 100vh; height: 100dvh;
        background: var(--bg);
        flex-direction: column;
        align-items: flex-start;
        padding: 4rem 1.5rem 2rem;
        gap: 0.4rem;
        box-shadow: -3px 0 20px rgba(0,0,0,0.06);
        transition: right 0.3s ease;
    }
    .nav-links.active { right: 0; }
    .nav-links a { font-size: 0.95rem; padding: 0.35rem 0; width: 100%; }
    .nav-cta { margin-top: 0.4rem; text-align: center; display: block; }
    .hamburger { display: flex; }
    .hamburger.active span:first-child { transform: rotate(45deg) translate(3px, 5px); }
    .hamburger.active span:last-child { transform: rotate(-45deg) translate(3px, -5px); }

    .hero h1 { font-size: 1.75rem; }
    .hero-actions { flex-direction: column; align-items: flex-start; gap: 0.85rem; }
    .hero-photo-main { max-width: 240px; height: 280px; }
    .hero-badges { gap: 0.3rem; margin-top: 1.25rem; }
    .badge { font-size: 0.72rem; padding: 0.2rem 0.55rem; }

    .over-photo-col img { height: 240px; }
    .over-note { display: none; }
    .over-timeline { grid-template-columns: 1fr; }

    .stap { flex: 0 0 100%; }
    .diensten-voetnoot { flex-direction: column; align-items: flex-start; }

    .footer-inner { flex-direction: column; }
    .footer-nav { flex-direction: column; gap: 0.4rem; }
    .doodle { display: none; }
}

/* Ensure typed text and cursor stay on the same baseline */
.hero h1 { display:flex; align-items:baseline; gap:0.5rem; flex-wrap:wrap; }
.hero h1 .typed { display:inline-block; vertical-align:baseline; }
.typed-cursor { display:inline-block; vertical-align:baseline; margin-left:0.35rem; }

/* Prevent cursor from dropping to next line on long words: keep typed area from wrapping */
.hero h1 .typed, .hero h1 .typed-cursor { white-space:nowrap; }

/* Featured (maandpakket) styling */
.da-item-featured .da-header {
    background: var(--accent-light);
    box-shadow: inset 5px 0 0 0 var(--accent); /* left accent bar */
}

/* Badge inside title */
.da-title .da-badge {
    display: inline-flex;
    align-items: center;
    margin-left: 0.6rem;
    background: var(--accent-light);
    color: var(--accent);
    padding: 0.18rem 0.5rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.82rem;
    vertical-align: middle;
}

/* Make featured header stand out on hover consistently */
.da-item-featured .da-header:hover { background: color-mix(in srgb, var(--accent-light) 85%, white 15%); }

/* ========================================
   DIENSTEN — card grid (replaces accordion)
   ======================================== */
.diensten-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-top: 1.25rem;
}

.dienst-blok {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--r);
    padding: 1.5rem 1.4rem 1.1rem;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    transition: box-shadow 0.35s ease, transform 0.35s ease, border-color 0.35s ease, background 0.35s ease;
    position: relative;
}

.dienst-blok:hover {
    box-shadow: 0 10px 28px rgba(0,0,0,0.06);
    transform: translateY(-2px);
    border-color: color-mix(in srgb, var(--accent) 35%, var(--border));
}

.dienst-blok.is-open {
    box-shadow: 0 14px 36px rgba(0,0,0,0.08);
    border-color: color-mix(in srgb, var(--accent) 45%, var(--border));
}

.db-summary {
    color: var(--ink-soft);
    font-size: 0.93rem;
    line-height: 1.5;
    margin: 0;
}

.db-details {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-4px);
    transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease 0.05s, transform 0.35s ease;
    margin: 0;
}

.dienst-blok.is-open .db-details {
    opacity: 1;
    transform: translateY(0);
}

.db-details > *:first-child { margin-top: 0.6rem; }

.db-twee-opties {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.6rem;
    margin: 0.6rem 0 0.4rem;
}

.db-optie {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0.7rem 0.85rem;
}

.db-optie strong {
    display: block;
    color: var(--accent-dark);
    font-size: 0.88rem;
    margin-bottom: 0.2rem;
    letter-spacing: -0.01em;
}

.db-optie p {
    margin: 0 !important;
    color: var(--ink-soft);
    font-size: 0.83rem !important;
    line-height: 1.5 !important;
}
.db-details ul { margin-top: 0.5rem; }
.db-details p {
    color: var(--ink-soft);
    font-size: 0.9rem;
    line-height: 1.55;
    margin: 0.6rem 0 0;
}

.db-toggle {
    margin-top: 0.5rem;
    align-self: flex-start;
    background: transparent;
    border: none;
    padding: 0.35rem 0;
    color: var(--accent);
    font-family: var(--font);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    letter-spacing: 0.01em;
    transition: color 0.2s ease, gap 0.2s ease;
}

.db-toggle:hover { color: var(--accent-dark); gap: 0.5rem; }

.db-toggle-icon {
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.dienst-blok.is-open .db-toggle-icon {
    transform: rotate(180deg);
}

.db-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.1rem;
}

.db-num {
    width: 38px;
    height: 38px;
    background: var(--bg);
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent);
    font-family: var(--font);
}

.db-prijs {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--accent-dark);
    background: var(--accent-light);
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
    white-space: nowrap;
    font-family: var(--font);
}

.dienst-blok h3 {
    font-size: 1.08rem;
    line-height: 1.3;
    margin: 0;
    letter-spacing: -0.01em;
}

.db-badge {
    display: inline-flex;
    align-items: center;
    margin-left: 0.4rem;
    background: var(--accent);
    color: var(--white);
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.7rem;
    vertical-align: middle;
    letter-spacing: 0.02em;
}

.dienst-blok p {
    color: var(--ink-soft);
    font-size: 0.92rem;
    line-height: 1.55;
    margin: 0;
}

.dienst-blok ul {
    list-style: none;
    padding: 0;
    margin: 0.2rem 0 0;
}

.dienst-blok ul li {
    position: relative;
    padding-left: 1rem;
    margin-bottom: 0.3rem;
    font-size: 0.86rem;
    color: var(--ink-soft);
    line-height: 1.5;
}

.dienst-blok ul li::before {
    content: '—';
    position: absolute; left: 0;
    color: var(--accent);
    font-weight: 600;
}

.dienst-blok-featured {
    background: var(--accent-light);
    border-color: color-mix(in srgb, var(--accent) 30%, var(--border));
}

.dienst-blok-featured .db-num {
    background: var(--white);
}

.dienst-blok-ai {
    border-color: color-mix(in srgb, var(--accent) 25%, var(--border));
    background: linear-gradient(180deg, var(--white) 0%, color-mix(in srgb, var(--accent-light) 50%, var(--white)) 100%);
}

@media (max-width: 960px) {
    .diensten-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .diensten-grid { grid-template-columns: 1fr; gap: 1rem; }
    .dienst-blok { padding: 1.25rem 1.15rem 1.35rem; }
}

/* Portfolio image placeholder (sites zonder screenshot) */
.project-img-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    background: linear-gradient(135deg, var(--accent-light), var(--bg));
    color: var(--accent-dark);
}

.project-img-placeholder .placeholder-mono {
    font-size: 2.4rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--accent);
    line-height: 1;
}

.project-img-placeholder .placeholder-url {
    font-size: 0.85rem;
    color: var(--ink-soft);
    font-weight: 600;
    letter-spacing: 0.01em;
}

/* ========================================
   COOKIE BANNER
   ======================================== */
.cookie-banner {
    position: fixed;
    left: 1rem;
    bottom: 1rem;
    z-index: 1000;
    max-width: 360px;
    width: calc(100% - 2rem);
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 0.85rem 1rem 0.85rem;
    box-shadow: 0 10px 24px rgba(0,0,0,0.06);
    transform: translateY(12px);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
    font-family: var(--font);
}

.cookie-banner.is-visible { transform: translateY(0); opacity: 1; }

.cookie-row {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    margin-bottom: 0.6rem;
    padding-right: 1rem;
}

.cookie-doodle {
    flex-shrink: 0;
    width: 22px; height: 22px;
    color: var(--accent);
    margin-top: 0.05rem;
}

.cookie-close {
    position: absolute;
    top: 0.4rem;
    right: 0.55rem;
    background: transparent;
    border: none;
    color: var(--ink-muted);
    font-size: 1.2rem;
    line-height: 1;
    cursor: pointer;
    width: 24px; height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, color 0.2s ease;
}
.cookie-close:hover { background: var(--bg); color: var(--ink); }

.cookie-desc {
    color: var(--ink-soft);
    font-size: 0.82rem;
    line-height: 1.5;
    margin: 0;
}

.cookie-desc a {
    color: var(--accent);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}

.cookie-prefs {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    margin: 0 0 0.65rem;
    padding: 0.55rem 0.6rem;
    background: var(--bg);
    border-radius: 8px;
}

.cookie-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.45rem 0.5rem;
    border-radius: 6px;
    cursor: pointer;
    user-select: none;
    transition: background 0.2s ease;
}

.cookie-toggle:hover { background: rgba(0,0,0,0.03); }
.cookie-toggle.is-locked { cursor: not-allowed; opacity: 0.85; }
.cookie-toggle.is-locked:hover { background: transparent; }

.cookie-toggle-info { display: flex; flex-direction: column; gap: 0.1rem; }
.cookie-toggle-info strong { font-size: 0.86rem; color: var(--ink); }
.cookie-toggle-info small { font-size: 0.76rem; color: var(--ink-soft); line-height: 1.4; }

.cookie-toggle input { position: absolute; opacity: 0; pointer-events: none; }

.cookie-switch {
    flex-shrink: 0;
    width: 36px; height: 20px;
    background: var(--ink-muted);
    border-radius: 999px;
    position: relative;
    transition: background 0.25s ease;
}

.cookie-switch::after {
    content: '';
    position: absolute;
    top: 2px; left: 2px;
    width: 16px; height: 16px;
    background: var(--white);
    border-radius: 50%;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.cookie-toggle input:checked ~ .cookie-switch { background: var(--accent); }
.cookie-toggle input:checked ~ .cookie-switch::after { transform: translateX(16px); }
.cookie-toggle input:disabled ~ .cookie-switch { background: color-mix(in srgb, var(--accent) 60%, var(--ink-muted)); }

.cookie-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.cookie-link {
    background: transparent;
    border: none;
    color: var(--ink-soft);
    font-family: var(--font);
    font-size: 0.84rem;
    font-weight: 500;
    cursor: pointer;
    padding: 0.45rem 0.25rem;
    margin-right: auto;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}
.cookie-link:hover { color: var(--ink); }

.cookie-btn {
    border: 1px solid transparent;
    border-radius: 7px;
    padding: 0.4rem 0.95rem;
    font-family: var(--font);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}
.cookie-btn:hover { transform: translateY(-1px); }
.cookie-btn:active { transform: translateY(0); }

.cookie-btn-secondary {
    background: var(--white);
    border-color: var(--border);
    color: var(--ink);
}
.cookie-btn-secondary:hover { border-color: var(--ink-soft); }

.cookie-btn-primary {
    background: var(--accent);
    color: var(--white);
}
.cookie-btn-primary:hover { background: var(--accent-dark); }

@media (max-width: 520px) {
    .cookie-banner { left: 0.75rem; right: 0.75rem; bottom: 0.75rem; width: auto; padding: 1.25rem 1.15rem 1rem; }
    .cookie-doodle { width: 54px; height: 54px; top: -18px; right: -12px; }
    .cookie-actions { flex-direction: column; align-items: stretch; }
    .cookie-link { margin-right: 0; align-self: flex-start; }
    .cookie-btn { width: 100%; }
}

/* ========================================
   LEGAL PAGE (cookies.html)
   ======================================== */
.legal-page { padding: 8rem 0 5rem; }
.legal-page h1 { font-size: 2.2rem; margin: 0.25rem 0 0.75rem; letter-spacing: -0.02em; }
.legal-page h2 { font-size: 1.2rem; margin: 2rem 0 0.6rem; }
.legal-page p, .legal-list li { color: var(--ink-soft); line-height: 1.65; font-size: 0.95rem; }
.legal-lead { font-size: 1.05rem !important; color: var(--ink) !important; margin-bottom: 1.5rem !important; }
.legal-list { padding-left: 1.1rem; margin: 0.5rem 0 1rem; }
.legal-list li { margin-bottom: 0.4rem; }
.legal-foot { margin-top: 3rem; font-size: 0.8rem !important; color: var(--ink-muted) !important; }

.cookie-table {
    margin: 1rem 0 1.5rem;
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
}
.ct-row {
    display: grid;
    grid-template-columns: 1.2fr 2fr 0.8fr;
    gap: 1rem;
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--border);
    font-size: 0.88rem;
    color: var(--ink-soft);
}
.ct-row:last-child { border-bottom: none; }
.ct-row.ct-head {
    background: var(--bg);
    font-weight: 700;
    color: var(--ink);
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.ct-row strong { color: var(--ink); display: block; margin-bottom: 0.2rem; }
.ct-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--accent-dark);
    background: var(--accent-light);
    padding: 0.15rem 0.45rem;
    border-radius: 999px;
    text-transform: none;
    letter-spacing: 0;
}
.ct-badge-off { color: var(--ink-soft); background: var(--bg); border: 1px solid var(--border); }

@media (max-width: 700px) {
    .ct-row { grid-template-columns: 1fr; gap: 0.3rem; padding: 0.85rem; }
    .ct-row.ct-head { display: none; }
}

/* ==========================================================================
   MICRO-ANIMATIONS — subtiel, kalm, doorheen de hele site
   ========================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }

/* Onderlijn-hover op nav */
.nav-links a:not(.nav-cta) {
    position: relative;
}
.nav-links a:not(.nav-cta)::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: -4px;
    height: 1.5px;
    background: var(--ink);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.nav-links a:not(.nav-cta):hover::after { transform: scaleX(1); }

.nav { transition: background 0.3s ease, border-color var(--t), box-shadow 0.3s ease; }
.nav.scrolled { box-shadow: 0 1px 20px rgba(0,0,0,0.04); }

/* Logo-mark micro-tilt */
.logo-mark { transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1); }
.logo:hover .logo-mark { transform: rotate(-6deg) scale(1.06); }

/* Btn shadow op hover */
.btn { transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease; }
.btn:hover { box-shadow: 0 8px 22px rgba(194, 85, 58, 0.22); }
.btn:active { transform: translateY(0) scale(0.98); }

/* Badge lift */
.badge { transition: transform 0.25s ease; }
.badge:hover { transform: translateY(-1px); }

/* Case-chip kleurpop op hover */
.case-chip { transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease; }
.case:hover .case-chip { background: var(--white); border-color: color-mix(in srgb, var(--accent) 25%, var(--border)); }

/* Footer nav lift */
.footer-nav a { transition: color var(--t), transform 0.2s ease; }
.footer-nav a:hover { transform: translateY(-1px); }

/* Stap iconen subtiele tilt */
.stap-nr svg { transition: color 0.35s ease, transform 0.4s ease; }
.stap:hover .stap-nr svg { color: var(--accent); transform: rotate(3deg); }

/* Hero entrance */
.hero-left > * {
    opacity: 0;
    transform: translateY(12px);
    animation: heroIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.hero-left > *:nth-child(1) { animation-delay: 0.05s; }
.hero-left > *:nth-child(2) { animation-delay: 0.15s; }
.hero-left > *:nth-child(3) { animation-delay: 0.25s; }
.hero-left > *:nth-child(4) { animation-delay: 0.35s; }
.hero-left > *:nth-child(5) { animation-delay: 0.45s; }
.hero-right {
    opacity: 0;
    transform: translateY(12px) rotate(0deg);
    animation: heroIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.2s forwards;
}
@keyframes heroIn {
    to { opacity: 1; transform: none; }
}

/* Subtiele float op hero-portret */
.hero-photo-main {
    animation: floatY 8s ease-in-out infinite;
}
@keyframes floatY {
    0%, 100% { transform: rotate(-1.5deg) translateY(0); }
    50% { transform: rotate(-1.5deg) translateY(-6px); }
}

/* Smooth dienst-blok internal toggle icon */
.db-toggle:hover .db-toggle-icon { transform: translateY(1px); }
.dienst-blok.is-open .db-toggle:hover .db-toggle-icon { transform: rotate(180deg) translateY(1px); }

/* Cookie banner doodle subtle pulse */
.cookie-doodle { animation: pulseSoft 3.5s ease-in-out infinite; }
@keyframes pulseSoft {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.75; transform: scale(0.96); }
}

/* Reduced motion: schakel alle animaties uit voor gebruikers die dat willen */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }
    .doodle, .typed-cursor, .hero-photo-main, .cookie-doodle { animation: none !important; }
    .hero-left > *, .hero-right { opacity: 1 !important; transform: none !important; animation: none !important; }
}

/* ==========================================================================
   MOBIEL — verfijning voor échte mobile-ervaring
   ========================================================================== */
@media (max-width: 900px) {
    html { scroll-padding-top: 60px; }
    .hero { padding: 5.5rem 0 3rem; }
    .hero-grid { gap: 2.25rem; }
    .over, .portfolio, .verhalen, .contact { padding: 3.5rem 0; }
    .diensten, .aanpak { padding: 3.5rem 0; }

    .over-layout { gap: 2rem; }
    .over-photo-col { max-width: 320px; margin: 0 auto; }

    .hero-photo-main {
        max-width: 320px;
        height: auto;
        margin: 0 auto;
    }
    .hero-right { justify-content: center; width: 100%; }
}

@media (max-width: 640px) {
    .container { padding: 0 1.15rem; }
    body { font-size: 0.97rem; line-height: 1.6; }

    /* Compactere headings */
    h1 { font-size: clamp(1.7rem, 7.5vw, 2.2rem); line-height: 1.1; letter-spacing: -0.02em; }
    h2 { font-size: clamp(1.35rem, 5vw, 1.7rem); line-height: 1.2; }
    h3 { font-size: 1.02rem; }

    /* Hero — typed text mag wrappen op gsm */
    .hero { padding: 5rem 0 2.25rem; }
    .hero h1 { display: block; }
    .hero h1 .typed,
    .hero h1 .typed-cursor { white-space: normal; }
    .typed { display: inline; }
    .hero-hi { font-size: 0.95rem; margin-bottom: 0.4rem; }
    .hero-list { margin-top: 0.7rem; margin-bottom: 1.1rem; }
    .hero-list li { font-size: 0.93rem; margin-bottom: 0.45rem; }
    .hero-photo-main { max-width: 260px; }
    .hero-actions { width: 100%; gap: 0.85rem; }
    .hero-actions .btn { width: 100%; text-align: center; padding: 0.85rem 1.25rem; }
    .hero-badges { margin-top: 1.5rem; }

    /* Float op gsm wat trager en kleiner */
    @keyframes floatY {
        0%, 100% { transform: rotate(-1deg) translateY(0); }
        50% { transform: rotate(-1deg) translateY(-4px); }
    }

    /* Secties strakker */
    .over { padding: 3rem 0; }
    .diensten, .portfolio, .verhalen, .aanpak, .contact { padding: 3rem 0; }
    .diensten-intro, .verhalen-intro { font-size: 0.95rem; margin-bottom: 1.75rem; }

    /* Diensten cards mobile */
    .dienst-blok { padding: 1.2rem 1.1rem 1.25rem; gap: 0.5rem; }
    .dienst-blok h3 { font-size: 1.02rem; }
    .db-num { width: 34px; height: 34px; font-size: 0.8rem; }
    .db-prijs { font-size: 0.76rem; padding: 0.25rem 0.55rem; }
    .db-summary { font-size: 0.9rem; }
    .dienst-blok ul li { font-size: 0.85rem; }
    .db-toggle { padding: 0.55rem 0; font-size: 0.85rem; min-height: 36px; }

    /* Portfolio mobile */
    .portfolio-grid { gap: 1.25rem; }
    .project-img { height: 180px; }
    .project-info { padding: 1rem 1.1rem 1.2rem; }
    .project-info h3 { font-size: 1rem; }
    .project-info p { font-size: 0.86rem; }

    /* Cases mobile */
    .case { padding: 1.2rem 1.1rem 1.05rem; gap: 0.7rem; }
    .case h3 { font-size: 1.02rem; }
    .case > p { font-size: 0.88rem; }

    /* Aanpak */
    .aanpak-top { margin-bottom: 1.5rem; }
    .stappen { flex-direction: column; gap: 1rem; margin-bottom: 1.5rem; }
    .stap { flex: 0 0 100%; text-align: left; display: grid; grid-template-columns: 48px 1fr; gap: 0.9rem; align-items: start; }
    .stap-nr { margin: 0; }
    .stap strong { margin-bottom: 0.15rem; }
    .stap p { padding: 0; font-size: 0.86rem; }

    /* Contact */
    .contact-layout { gap: 1.5rem; }
    .contact-left h2 { margin-bottom: 0.4rem; }
    .contact-left > p { margin-bottom: 1.2rem; font-size: 0.95rem; }
    .chat-form { padding: 1.15rem; border-radius: 12px; }
    .chat-input-group input,
    .chat-input-group textarea,
    .chat-input-group select { font-size: 16px; padding: 0.65rem 0.8rem; } /* 16px voorkomt iOS-zoom */
    .chat-form .btn { width: 100%; }

    /* Nav */
    .nav-inner { height: 56px; padding: 0 1.15rem; }
    .logo { font-size: 0.82rem; gap: 0.5rem; }
    .logo-mark { width: 30px; height: 30px; font-size: 0.72rem; }

    /* Tap targets */
    .nav-links a, .footer-nav a { padding: 0.55rem 0; }
    .hamburger { padding: 10px; }

    /* Footer */
    .footer { padding: 2rem 0; }
    .footer-inner { gap: 1rem; }
    .footer-nav { gap: 0.5rem; }

    /* Geen hover-translate op touch — voelt vreemd aan */
    .case:hover, .project-card:hover, .dienst-blok:hover { transform: none; }

    /* Cookie banner */
    .cookie-banner { padding: 1rem 1rem 0.9rem; }
    .cookie-banner h2 { font-size: 1rem; }

    /* Doodles wel zichtbaar maar discreter */
    .doodle { display: block; opacity: 0.18; }
    .doodle-cloud { width: 70px; }
    .doodle-gear { width: 32px; }
}

@media (max-width: 420px) {
    h1 { font-size: 1.6rem; }
    .hero-photo-main { max-width: 220px; }
    .hero-badges .badge { font-size: 0.7rem; padding: 0.2rem 0.5rem; }
    .doodle { display: none; }
}

/* iOS / safe-area respecteren */
@supports (padding: max(0px)) {
    .nav-inner { padding-left: max(1.15rem, env(safe-area-inset-left)); padding-right: max(1.15rem, env(safe-area-inset-right)); }
    .cookie-banner { padding-bottom: max(0.9rem, env(safe-area-inset-bottom)); }
}
