/* ============================================================
   Hitteproof — ontwerpsysteem
   Verfijnd, warm en professioneel. Brand-accenten spaarzaam,
   veel rustige ruimte en strakke typografie.
   ============================================================ */

:root {
    /* Merk-accenten */
    --brand:        #C1292E;   /* diep rood  */
    --brand-dark:   #9E1F24;
    --accent:       #FF6B35;   /* warm oranje */
    --cool:         #2E5266;   /* slate-blauw */
    --green:        #6A994E;   /* succes/groen */

    /* Neutralen (warm) */
    --ink:          #211D1B;   /* koppen/tekst */
    --ink-soft:     #5A524C;   /* secundaire tekst */
    --paper:        #FBF7F1;   /* achtergrond */
    --paper-2:      #F4ECE1;   /* zand/secties */
    --surface:      #FFFFFF;   /* kaarten */
    --line:         #E8DECF;   /* randen */

    /* Vorm */
    --radius:       16px;
    --radius-sm:    10px;
    --radius-pill:  999px;
    --shadow-sm:    0 1px 2px rgba(33, 29, 27, 0.04), 0 2px 8px rgba(33, 29, 27, 0.05);
    --shadow-md:    0 4px 12px rgba(33, 29, 27, 0.06), 0 12px 32px rgba(33, 29, 27, 0.08);
    --shadow-lg:    0 8px 24px rgba(33, 29, 27, 0.08), 0 24px 56px rgba(33, 29, 27, 0.10);

    /* Ritme */
    --container:    1140px;
    --ease:         cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Work Sans', system-ui, -apple-system, sans-serif;
    background: var(--paper);
    color: var(--ink);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

h1, h2, h3 {
    font-family: 'Syne', sans-serif;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--ink);
}

a {
    color: var(--brand);
}

/* Zichtbare toetsenbord-focus (toegankelijkheid — WCAG) */
:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 2px;
    border-radius: 4px;
}
/* Geen dubbele/rommelige outline bij muisklik */
:focus:not(:focus-visible) {
    outline: none;
}

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

/* Kleine bovenkop boven een titel */
.eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.9rem);
    font-weight: 700;
    text-align: center;
}

.section-intro {
    max-width: 620px;
    margin: 1rem auto 0;
    text-align: center;
    color: var(--ink-soft);
    font-size: 1.1rem;
}

/* ---------- Knoppen ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.95rem 1.8rem;
    border-radius: var(--radius-pill);
    font-family: 'Syne', sans-serif;
    font-size: 1.02rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: 1.5px solid transparent;
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease);
}

.btn-primary {
    background: var(--brand);
    color: #fff;
    box-shadow: 0 6px 18px rgba(193, 41, 46, 0.25);
}

.btn-primary:hover {
    background: var(--brand-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(193, 41, 46, 0.32);
}

.btn-secondary {
    background: transparent;
    color: var(--cool);
    border-color: var(--line);
}

.btn-secondary:hover {
    border-color: var(--cool);
    background: rgba(46, 82, 102, 0.05);
    transform: translateY(-2px);
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at 84% 6%, rgba(255, 176, 84, 0.55) 0%, rgba(255, 138, 66, 0.28) 16%, rgba(255, 107, 53, 0.10) 34%, transparent 52%),
        radial-gradient(80% 80% at 6% 104%, rgba(106, 153, 78, 0.22) 0%, rgba(46, 82, 102, 0.12) 40%, transparent 66%),
        linear-gradient(165deg, #FFF4E9 0%, var(--paper) 42%, var(--paper-2) 100%);
    overflow: hidden;
}

/* Fijne, subtiele rasterlijnen voor diepte */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(33, 29, 27, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(33, 29, 27, 0.03) 1px, transparent 1px);
    background-size: 54px 54px;
    mask-image: radial-gradient(ellipse 85% 85% at 50% 42%, #000 25%, transparent 72%);
    -webkit-mask-image: radial-gradient(ellipse 85% 85% at 50% 42%, #000 25%, transparent 72%);
    z-index: 0;
}

/* Zachte 'zon' als warmtebron rechtsboven — geeft diepte en thema */
.hero-sun-glow {
    position: absolute;
    top: -160px;
    right: -90px;
    width: 460px;
    height: 460px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 190, 105, 0.85) 0%, rgba(255, 150, 70, 0.45) 34%, rgba(255, 120, 50, 0) 70%);
    filter: blur(4px);
    z-index: 0;
    pointer-events: none;
}
.hero-sun-glow::after {
    content: '';
    position: absolute;
    inset: 128px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 205, 130, 0.95) 0%, rgba(255, 170, 90, 0.6) 55%, transparent 78%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 6rem 3rem 4rem;
    max-width: 960px;
    width: 100%;
    animation: rise 0.9s var(--ease) both;
}

.logo {
    display: block;
    font-size: clamp(2.6rem, 6.2vw, 5rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    margin-bottom: 1.25rem;
    text-align: center;
    /* Heat-gradient: donkerrood → rood → warm oranje */
    background: linear-gradient(100deg, #8E1B20 0%, var(--brand) 48%, #E8551C 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 3px 14px rgba(193, 41, 46, 0.18));
}

.logo-hitte,
.logo-proof {
    display: inline;
}

@media (max-width: 760px) {
    .logo {
        font-size: clamp(2.4rem, 13vw, 3.8rem);
    }
    .logo-hitte,
    .logo-proof {
        display: block;
    }
}

.tagline {
    font-size: clamp(1.15rem, 2.4vw, 1.5rem);
    color: var(--cool);
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.affiliation {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(6px);
    padding: 0.55rem 1.3rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-pill);
    margin-bottom: 2.5rem;
    font-size: 0.98rem;
    color: var(--ink-soft);
}

.affiliation a { color: inherit; text-decoration: none; }
.affiliation strong { color: var(--brand); font-weight: 600; }

.hero-actions {
    display: flex;
    gap: 0.9rem;
    justify-content: center;
    flex-wrap: wrap;
}

.scroll-indicator {
    position: absolute;
    bottom: 2.2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 26px;
    height: 42px;
    border: 2px solid rgba(46, 82, 102, 0.4);
    border-radius: 14px;
    z-index: 2;
}

.scroll-indicator::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    width: 4px;
    height: 8px;
    background: var(--cool);
    border-radius: 2px;
    transform: translateX(-50%);
    animation: scroll-dot 1.8s var(--ease) infinite;
}

@keyframes scroll-dot {
    0%   { opacity: 0; transform: translate(-50%, 0); }
    40%  { opacity: 1; }
    80%  { opacity: 0; transform: translate(-50%, 14px); }
    100% { opacity: 0; }
}

@keyframes rise {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   Services
   ============================================================ */
.services {
    padding: 7rem 0;
    background: var(--paper);
}

.services .container > .eyebrow,
.services .section-title { display: block; text-align: center; }
.services .eyebrow { width: 100%; }

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 3.5rem;
}

.service-card {
    position: relative;
    background: var(--surface);
    padding: 2.5rem 2rem;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}

/* Kleuraccent-balk bovenaan, groeit in bij hover */
.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--brand));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(255, 107, 53, 0.45);
}

.service-card:hover::after {
    transform: scaleX(1);
}

.service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.12), rgba(193, 41, 46, 0.12));
    color: var(--brand);
    margin-bottom: 1.5rem;
}

.service-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--brand);
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ============================================================
   Projecten-carousel — één rij van drie kaarten met pijlen
   ============================================================ */
.projects-carousel {
    position: relative;
    margin-top: 3.5rem;
    padding: 0 3.75rem;
}

.carousel-viewport {
    overflow: hidden;
}

.carousel-track {
    display: flex;
    gap: 1.5rem;
    will-change: transform;
    transition: transform 0.55s var(--ease);
}

.carousel-track .service-card {
    flex: 0 0 calc((100% - 2 * 1.5rem) / 3);
    min-width: 0;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--ink);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    transition: background 0.25s, border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}

.carousel-arrow svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.carousel-arrow:hover {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
    box-shadow: var(--shadow-md);
}

.carousel-arrow:active {
    transform: translateY(-50%) scale(0.94);
}

.carousel-arrow--prev {
    left: 0;
}

.carousel-arrow--next {
    right: 0;
}

@media (max-width: 900px) {
    .carousel-track .service-card {
        flex-basis: calc((100% - 1.5rem) / 2);
    }
}

@media (max-width: 640px) {
    .projects-carousel {
        padding: 0 2.75rem;
    }

    .carousel-track .service-card {
        flex-basis: 100%;
    }

    .carousel-arrow {
        width: 40px;
        height: 40px;
    }

    .carousel-arrow svg {
        width: 18px;
        height: 18px;
    }
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
}

.service-card p {
    color: var(--ink-soft);
    font-size: 1.02rem;
    line-height: 1.7;
}

/* ============================================================
   CTA / Quickscan
   ============================================================ */
.cta-section {
    padding: 7rem 0;
    background: var(--paper-2);
    position: relative;
}

.cta-content {
    text-align: center;
}

.cta-title {
    font-size: clamp(2rem, 4vw, 2.9rem);
    font-weight: 700;
}

.cta-text {
    font-size: 1.15rem;
    color: var(--ink-soft);
    max-width: 640px;
    margin: 1rem auto 0;
}

.quickscan-box {
    background: var(--surface);
    padding: clamp(1.75rem, 4vw, 3rem);
    border-radius: var(--radius);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    margin: 3rem auto 0;
    max-width: 920px;
    text-align: left;
}

.quickscan-box h3 {
    font-size: 1.6rem;
    color: var(--ink);
    margin-bottom: 0.5rem;
}

.quickscan-box > p {
    margin-bottom: 1.75rem;
    color: var(--ink-soft);
    font-size: 1.05rem;
}

#map {
    height: 480px;
    width: 100%;
    border-radius: var(--radius-sm);
    margin-bottom: 1.25rem;
    border: 1px solid var(--line);
    background: #f3eee6;
    position: relative;
    z-index: 1;
}

.leaflet-container { height: 100%; }

#area-info {
    display: none;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    background: rgba(46, 82, 102, 0.07);
    border: 1px solid rgba(46, 82, 102, 0.15);
    padding: 0.9rem 1.1rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1.5rem;
    color: var(--cool);
    font-size: 0.98rem;
}

#area-info strong { color: var(--ink); }

#area-warning {
    display: none;
    color: var(--brand);
    font-weight: 600;
}

.quickscan-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.quickscan-form .form-input { grid-column: 1 / -1; }
.quickscan-form #naam,
.quickscan-form #email { grid-column: auto; }

.form-input {
    width: 100%;
    padding: 0.95rem 1.15rem;
    border: 1.5px solid var(--line);
    border-radius: var(--radius-sm);
    font-size: 1.02rem;
    font-family: inherit;
    background: var(--paper);
    color: var(--ink);
    transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}

.form-input::placeholder { color: #9a9088; }

.form-input:focus {
    outline: none;
    background: #fff;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.12);
}

.submit-button {
    grid-column: 1 / -1;
    background: var(--brand);
    color: #fff;
    padding: 1.05rem 2rem;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 1.05rem;
    font-weight: 600;
    font-family: 'Syne', sans-serif;
    cursor: pointer;
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}

.submit-button:hover:not(:disabled) {
    background: var(--brand-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(193, 41, 46, 0.28);
}

.submit-button:disabled {
    background: #d8cfc4;
    color: #f3eee6;
    cursor: not-allowed;
}

/* Privacy-consent in formulier */
.consent {
    grid-column: 1 / -1;
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.92rem;
    color: var(--ink-soft);
    line-height: 1.5;
}

.consent input[type="checkbox"] {
    margin-top: 0.2rem;
    width: 18px;
    height: 18px;
    accent-color: var(--brand);
    flex-shrink: 0;
}

.consent a { color: var(--cool); }

.contact-line {
    margin-top: 2.5rem;
    text-align: center;
    font-size: 1.05rem;
    color: var(--cool);
}

/* ============================================================
   FAQ
   ============================================================ */
.faq {
    padding: 7rem 0;
    background: var(--paper);
}

.faq .eyebrow,
.faq .section-title { display: block; text-align: center; }

.container-narrow { max-width: 800px; }

.faq-list {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.faq-item {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: border-color 0.25s var(--ease);
}

.faq-item[open] { border-color: rgba(255, 107, 53, 0.4); }

.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 1.25rem 1.5rem;
    font-family: 'Syne', sans-serif;
    font-weight: 600;
    font-size: 1.08rem;
    color: var(--ink);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--accent);
    line-height: 1;
    transition: transform 0.25s var(--ease);
}

.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-item p {
    padding: 0 1.5rem 1.4rem;
    color: var(--ink-soft);
    font-size: 1rem;
    line-height: 1.7;
}

/* ============================================================
   Onderzoek: Groene Schaduwmakers
   ============================================================ */
.research {
    position: relative;
    overflow: hidden;
    padding: 7rem 0;
    background: linear-gradient(180deg, var(--paper) 0%, #EFF1E6 100%);
}

.research .eyebrow,
.research .section-title { display: block; text-align: center; position: relative; }
.research .eyebrow { color: var(--green); }

/* Bewegende "licht door bladeren" achtergrond */
.research .dapple {
    position: absolute;
    inset: -25%;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 18% 28%, rgba(106, 153, 78, 0.20) 0, transparent 14%),
        radial-gradient(circle at 82% 22%, rgba(106, 153, 78, 0.16) 0, transparent 12%),
        radial-gradient(circle at 68% 72%, rgba(106, 153, 78, 0.18) 0, transparent 16%),

        radial-gradient(circle at 48% 45%, rgba(106, 153, 78, 0.12) 0, transparent 18%);
    filter: blur(6px);
}

@keyframes dapple-drift {
    0%   { transform: translate(0, 0) scale(1); }
    50%  { transform: translate(-2.5%, 2%) scale(1.05); }
    100% { transform: translate(2%, -2.5%) scale(1.1); }
}

.research .container { position: relative; z-index: 1; }
.research .section-intro { margin-bottom: 3rem; font-size: 1.2rem; color: var(--cool); }

/* Tekst + visual naast elkaar */
.research-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: center;
    margin-bottom: 3.5rem;
}

.research-text p {
    color: var(--ink-soft);
    font-size: 1.08rem;
    line-height: 1.75;
    margin-bottom: 1.75rem;
}

.pdf-btn { gap: 0.6rem; }
.pdf-btn svg { flex-shrink: 0; }

.research-visual {
    margin: 0;
}

.research-visual img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-md);
}

.research-visual figcaption {
    margin-top: 0.75rem;
    font-size: 0.88rem;
    color: var(--ink-soft);
    text-align: center;
}


/* Verkoelingscijfers (tellen op bij scrollen) */
.cooling-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 3.5rem;
}

.cool-stat {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(4px);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 2rem 1.75rem;
    text-align: center;
}

.cool-fig {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.1rem;
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    color: var(--brand);
    transition: color 1.4s ease;
    line-height: 1;
    margin-bottom: 0.75rem;
}

.cool-fig.done { color: var(--green); }

.cool-sign { font-size: 2.4rem; }
.cool-num {
    font-size: clamp(3rem, 7vw, 4.2rem);
    font-variant-numeric: tabular-nums;
    min-width: 2ch;
    display: inline-block;
    text-align: right;
}
.cool-unit { font-size: 1.8rem; }

.cool-stat p {
    color: var(--ink-soft);
    font-size: 0.96rem;
    line-height: 1.55;
    margin: 0;
}

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

/* ---------- Onderzoek & samenwerking — carousel ---------- */
.research-carousel {
    position: relative;
    padding: 0 3.75rem;
}

.research-slide {
    display: none;
}

.research-slide.active {
    display: block;
    animation: research-fade-in 0.5s var(--ease);
}

@keyframes research-fade-in {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.research-source {
    margin-top: -0.75rem;
    color: var(--ink-soft);
    font-size: 0.9rem;
    line-height: 1.6;
}

.research-carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2rem;
}

.research-dots {
    padding: 0;
}

@media (max-width: 640px) {
    .research-carousel {
        padding: 0 2.75rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .research-slide.active { animation: none; }
}


.research-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-left: 3px solid var(--green);
    border-radius: var(--radius-sm);
    padding: 1.5rem 1.5rem;
    box-shadow: var(--shadow-sm);
}

.research-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--ink);
}

.research-card p {
    color: var(--ink-soft);
    font-size: 0.96rem;
    line-height: 1.6;
}

/* ============================================================
   Werkwijze (proces)
   ============================================================ */
.process {
    padding: 7rem 0;
    background: var(--paper-2);
}

.process .eyebrow,
.process .section-title { display: block; text-align: center; }

.process-steps {
    list-style: none;
    margin: 3.5rem 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    counter-reset: step;
}

.process-step {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 2.5rem 1.5rem 1.75rem;
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.process-step:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

/* Verbindingslijn tussen stappen (desktop) */
.process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 2.4rem;
    right: -0.85rem;
    width: 1.7rem;
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--accent) 0 5px, transparent 5px 10px);
    z-index: 1;
}

.process-num {
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--brand);
    color: #fff;
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(193, 41, 46, 0.3);
}

.process-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.12), rgba(193, 41, 46, 0.12));
    margin-bottom: 1rem;
}

.process-icon svg {
    width: 26px;
    height: 26px;
    stroke: var(--brand);
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.process-step h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}

.process-step p {
    color: var(--ink-soft);
    font-size: 0.96rem;
    line-height: 1.6;
}

/* ============================================================
   Ervaringen (testimonials)
   ============================================================ */
.testimonials {
    padding: 7rem 0;
    background: var(--paper);
}

.testimonials .eyebrow,
.testimonials .section-title { display: block; text-align: center; }

.testi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 3.5rem;
}

.testi-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 2.25rem 2rem;
    margin: 0;
    position: relative;
}

.testi-card::before {
    content: '\201C';
    font-family: 'Syne', sans-serif;
    font-size: 4.5rem;
    line-height: 1;
    color: var(--accent);
    opacity: 0.35;
    position: absolute;
    top: 0.75rem;
    left: 1.25rem;
}

.testi-card blockquote {
    margin: 1.25rem 0 1.5rem;
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--ink);
    position: relative;
}

.testi-card figcaption {
    font-size: 0.92rem;
    color: var(--ink-soft);
    font-weight: 500;
}

.testi-card figcaption span {
    color: #b0a69b;
    font-weight: 400;
    font-style: italic;
}

/* ============================================================
   Siteheader & navigatie
   ============================================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
    background: rgba(251, 247, 241, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
    transition: box-shadow 0.3s var(--ease), opacity 0.35s var(--ease), transform 0.35s var(--ease);
}

/* Verborgen staat — schuift licht omhoog en is onzichtbaar */
.site-header--hidden {
    opacity: 0;
    transform: translateY(-100%);
    pointer-events: none;
}

.site-header.scrolled {
    box-shadow: var(--shadow-sm);
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.site-header-logo {
    font-family: 'Syne', sans-serif;
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--brand);
    text-decoration: none;
    flex-shrink: 0;
    z-index: 201;
}

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

.site-nav a:not(.btn) {
    font-size: 0.95rem;
    color: var(--ink-soft);
    text-decoration: none;
    transition: color 0.2s;
}

.site-nav a:not(.btn):hover {
    color: var(--brand);
}

.site-nav .btn {
    padding: 0.6rem 1.3rem;
    font-size: 0.9rem;
}

/* Hamburgerknop — alleen zichtbaar op mobiel */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 201;
    -webkit-tap-highlight-color: transparent;
}

.nav-toggle-bar {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: transform 0.3s var(--ease), opacity 0.25s var(--ease), width 0.3s var(--ease);
    transform-origin: center;
}

/* Hamburger → Kruis animatie */
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
    opacity: 0;
    width: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Overlay achter het menu */
.nav-overlay {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(33, 29, 27, 0.25);
    z-index: 198;
    opacity: 0;
    transition: opacity 0.3s var(--ease);
}

.nav-overlay.open {
    display: block;
    opacity: 1;
}

/* Mobiel navigatiepaneel */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .site-nav {
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--paper);
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        padding: 0.5rem 1.5rem 1.5rem;
        gap: 0;
        box-shadow: 0 8px 24px rgba(33, 29, 27, 0.10);
        border-bottom: 1px solid var(--line);
        transform: translateY(-110%);
        transition: transform 0.35s var(--ease), opacity 0.3s var(--ease);
        opacity: 0;
        z-index: 199;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .site-nav.open {
        transform: translateY(0);
        opacity: 1;
    }

    .site-nav a:not(.btn) {
        font-size: 1.1rem;
        font-family: 'Syne', sans-serif;
        font-weight: 600;
        color: var(--ink);
        width: 100%;
        padding: 0.9rem 0;
        border-bottom: 1px solid var(--line);
    }

    .site-nav .btn {
        margin-top: 1rem;
        width: 100%;
        justify-content: center;
        padding: 0.85rem 1.5rem;
        font-size: 1rem;
    }
}

/* ============================================================
   Skip-link (toegankelijkheid)
   ============================================================ */
.skip-link {
    position: absolute;
    left: -999px;
    top: 0;
    z-index: 1000;
    background: var(--brand);
    color: #fff;
    padding: 0.75rem 1.25rem;
    border-radius: 0 0 var(--radius-sm) 0;
    text-decoration: none;
}

.skip-link:focus { left: 0; }

/* Footer-navigatie */
.footer-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem 1.75rem;
    margin: 0 0 0.5rem;
}

.footer-nav a {
    color: #EDE6DD;
    text-decoration: none;
    opacity: 0.8;
    font-size: 0.95rem;
}

.footer-nav a:hover { opacity: 1; color: var(--accent); }

/* Partnerlogo's in de footer */
.footer-partners {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 2.25rem 0 0.5rem;
}

.footer-partners .partner-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: var(--radius-sm);
    padding: 0.75rem 1.25rem;
    height: 64px;
    min-width: 120px;
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.footer-partners .partner-logo:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.footer-partners img {
    max-height: 40px;
    max-width: 160px;
    width: auto;
    height: auto;
    display: block;
}

.contact-line a { color: inherit; text-decoration: none; border-bottom: 1px solid rgba(46, 82, 102, 0.3); }
.contact-line a:hover { border-color: var(--cool); }

/* ============================================================
   Footer
   ============================================================ */
footer {
    background: var(--ink);
    color: #EDE6DD;
    padding: 4.5rem 0 2rem;
    text-align: center;
}

.footer-logo {
    font-family: 'Syne', sans-serif;
    font-size: 1.9rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #fff;
    margin-bottom: 1rem;
}

.footer-text {
    margin: 0 auto 2rem;
    max-width: 520px;
    opacity: 0.7;
    font-size: 1rem;
}

.footer-text a { color: var(--accent); text-decoration: none; }
.footer-text a:hover { text-decoration: underline; }

.footer-bottom {
    margin-top: 2.5rem;
    padding-top: 1.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    opacity: 0.5;
    font-size: 0.9rem;
}

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

.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px; height: 1px;
    opacity: 0;
    pointer-events: none;
}

/* ============================================================
   Responsief
   ============================================================ */
@media (max-width: 980px) {
    .process-steps { grid-template-columns: repeat(2, 1fr); }
    .process-step:not(:last-child)::after { display: none; }
    .research-meta { grid-template-columns: 1fr; }
    .research-grid { grid-template-columns: 1fr; gap: 2rem; }
    .research-visual { order: -1; }
    .cooling-stats { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
    .services, .cta-section, .process, .faq, .testimonials, .research { padding: 4.5rem 0; }
    .hero-content {
        padding: 5rem 1.25rem 3rem;
        max-width: 100%;
    }

    #map { height: 380px; }
    .quickscan-form { grid-template-columns: 1fr; }
    .quickscan-form #naam,
    .quickscan-form #email { grid-column: 1 / -1; }
    .process-steps { grid-template-columns: 1fr; }
}

/* Respecteer bewegingsvoorkeur */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
}

/* --- Service card als projectlink --- */
a.service-card {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
}

.service-card-photo {
    width: 100%;
    aspect-ratio: 16 / 9;
    flex-shrink: 0;
    overflow: hidden;
    background: var(--paper-2);
}

.service-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s var(--ease);
}

a.service-card:hover .service-card-photo img {
    transform: scale(1.04);
}

/* Placeholder zolang de foto er nog niet in zit */
.service-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--ink-soft);
}

.service-card-placeholder svg {
    width: 36px;
    height: 36px;
    stroke: var(--line);
}

.service-card-placeholder span {
    font-size: 0.78rem;
    font-family: 'Syne', sans-serif;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.55;
}

.service-card-body {
    padding: 2.5rem 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-card-body p {
    flex: 1;
}

.service-card-link {
    display: inline-block;
    margin-top: 1.25rem;
    font-family: 'Syne', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--brand);
    letter-spacing: 0.02em;
    transition: gap 0.2s;
}

a.service-card:hover .service-card-link {
    text-decoration: underline;
}


/* ============================================================
   Project-/detailpagina's (expertise-*.html, project-*.html)
   Gedeelde stijlen voor projectpagina's, samengevoegd uit de
   voorheen per-pagina inline <style>-blokken.
   ============================================================ */

/* Smalle paginaheader boven de inhoud */
.project-hero {
    background:
        radial-gradient(55% 60% at 80% 10%, rgba(255, 107, 53, 0.13) 0%, transparent 60%),
        radial-gradient(50% 55% at 10% 90%, rgba(46, 82, 102, 0.09) 0%, transparent 55%),
        linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%);
    padding: 7rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.project-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(33, 29, 27, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(33, 29, 27, 0.025) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 40%, #000 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 40%, #000 30%, transparent 75%);
}

.project-hero-inner {
    position: relative;
    z-index: 2;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.95rem;
    color: var(--ink-soft);
    text-decoration: none;
    margin-bottom: 1.75rem;
    transition: color 0.2s;
}

.back-link:hover {
    color: var(--brand);
}

.back-link svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.project-hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
}

.project-hero .tagline {
    font-size: 1.15rem;
    color: var(--ink-soft);
    max-width: 620px;
    margin: 0;
}

/* Meta-balk: opdrachtgever + categorie */
.project-meta-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.meta-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-pill);
    padding: 0.45rem 1rem;
    font-size: 0.88rem;
    color: var(--ink-soft);
    box-shadow: var(--shadow-sm);
}

.meta-chip strong {
    color: var(--ink);
    font-weight: 600;
}

.meta-chip svg {
    width: 14px;
    height: 14px;
    stroke: var(--accent);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
}

/* Hoofdinhoud: slideshow + tekst */
.project-body {
    padding: 5rem 0 6rem;
    background: var(--paper);
}

.project-layout {
    display: grid;
    grid-template-columns: 1.45fr 1fr;
    gap: 3.5rem;
    align-items: start;
}

/* --- Slideshow --- */
.slideshow-wrapper {
    position: sticky;
    top: 2rem;
}

.slideshow-container {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background: var(--paper-2);
    aspect-ratio: 4 / 3;
}

.mySlides {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.1s ease;
    pointer-events: none;
}

.mySlides.active {
    opacity: 1;
    pointer-events: auto;
    z-index: 1;
}

.mySlides img,
.slide-placeholder {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.mySlides video,
.mySlides iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
    object-fit: cover;
    background: #000;
}

/* Videoslider: bredere beeldverhouding dan de standaard 4/3 fotoslider,
   en wat ruimte t.o.v. een eventuele fotoslider erboven */
.slideshow-container--video {
    aspect-ratio: 16 / 9;
    margin-top: 1.5rem;
}

/* Placeholder voor ontbrekende foto's */
.slide-placeholder {
    background: linear-gradient(135deg, var(--paper-2) 0%, #e8dece 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    color: var(--ink-soft);
    font-size: 0.95rem;
}

.slide-placeholder svg {
    width: 48px;
    height: 48px;
    stroke: var(--line);
    fill: none;
    stroke-width: 1.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.slide-placeholder span {
    font-family: 'Syne', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    opacity: 0.6;
}

/* Pijlen */
.slide-prev,
.slide-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(33, 29, 27, 0.45);
    color: #fff;
    border: none;
    padding: 0.75rem 1rem;
    font-size: 1.1rem;
    line-height: 1;
    border-radius: var(--radius-sm);
    transition: background 0.2s;
    z-index: 10;
    user-select: none;
}

.slide-prev {
    left: 0.75rem;
}

.slide-next {
    right: 0.75rem;
}

.slide-prev:hover,
.slide-next:hover {
    background: rgba(33, 29, 27, 0.85);
}

/* Teller rechtsboven */
.slide-counter {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: rgba(33, 29, 27, 0.5);
    color: #fff;
    font-size: 0.8rem;
    font-family: 'Syne', sans-serif;
    font-weight: 600;
    padding: 0.25rem 0.65rem;
    border-radius: var(--radius-pill);
    z-index: 10;
    letter-spacing: 0.05em;
}

/* Stippen */
.slide-dots {
    display: flex;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.9rem 0 0;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--line);
    cursor: pointer;
    transition: background 0.25s, transform 0.25s;
}

.dot.active,
.dot:hover {
    background: var(--brand);
    transform: scale(1.25);
}

/* Fade-animatie */
/* --- Tekst zijde --- */
.project-text h2 {
    font-size: 1.6rem;
    margin-bottom: 1.25rem;
}

.project-text p {
    color: var(--ink-soft);
    font-size: 1.05rem;
    line-height: 1.75;
    margin-bottom: 1.25rem;
}

.project-text p:last-of-type {
    margin-bottom: 0;
}

/* Opdracht-samenvatting boven de tekst (bv. project-ajestraat) */
.project-opdracht {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.1rem 1.4rem;
    font-size: 0.95rem;
    color: var(--ink-soft);
    box-shadow: var(--shadow-sm);
    margin-bottom: 1.5rem;
}

.project-opdracht strong {
    color: var(--ink);
}

/* Productlijnen / projectfases-blok — onder de foto, zelfde breedte als slideshow */
.productlijnen {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.productlijn {
    background: var(--paper-2);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.25rem 1.5rem;
    border-left: 3px solid var(--brand);
}

/* Tweede kaartje: streepje rechts */
.productlijn:nth-child(2) {
    border-left: 1px solid var(--line);
    border-right: 3px solid var(--brand);
}

.productlijn h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--ink);
}

.productlijn p {
    font-size: 0.97rem;
    color: var(--ink-soft);
    line-height: 1.65;
    margin: 0;
}

@media (max-width: 820px) {
    .productlijn:nth-child(2) {
        border-left: 3px solid var(--brand);
        border-right: 1px solid var(--line);
    }
}

/* Categorie-knoppen */
.project-categories {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--line);
}

.project-categories-label {
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-soft);
    margin-bottom: 0.75rem;
}

.categories-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.category-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.5rem 1.1rem;
    border-radius: var(--radius-pill);
    border: 1.5px solid var(--brand);
    color: var(--brand);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, transform 0.2s;
}

a.category-tag:hover {
    background: var(--brand);
    color: #fff;
    transform: translateY(-2px);
}

/* Opdrachtgever-blok onderaan de tekstkolom */
.client-box {
    margin-top: 2rem;
    background: var(--paper-2);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.5rem 1.75rem;
    font-size: 0.98rem;
    color: var(--ink-soft);
    line-height: 1.6;
}

.client-box strong {
    color: var(--ink);
}

/* CTA onderaan */
.project-cta {
    padding: 5rem 0;
    background: var(--paper-2);
    text-align: center;
}

.project-cta .eyebrow {
    display: block;
    margin-bottom: 0.5rem;
}

.project-cta h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    margin-bottom: 0.75rem;
}

.project-cta p {
    color: var(--ink-soft);
    font-size: 1.05rem;
    max-width: 520px;
    margin: 0 auto 2rem;
}

/* Responsive */
@media (max-width: 820px) {
    .project-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .slideshow-wrapper {
        position: static;
    }

    .project-hero {
        padding: 5.5rem 0 3rem;
    }
}

@media (max-width: 480px) {
    .project-hero h1 {
        font-size: 2rem;
    }
}
