/* Fonts: zelf gehost (voorheen Google Fonts), zelfde families en gewichten */
@font-face {
    font-family: 'Cormorant Garamond';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('/assets/fonts/cormorant-garamond-300-normal-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Cormorant Garamond';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('/assets/fonts/cormorant-garamond-300-normal-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Cormorant Garamond';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/assets/fonts/cormorant-garamond-400-normal-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Cormorant Garamond';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/assets/fonts/cormorant-garamond-400-normal-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Cormorant Garamond';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('/assets/fonts/cormorant-garamond-500-normal-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Cormorant Garamond';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('/assets/fonts/cormorant-garamond-500-normal-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Cormorant Garamond';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('/assets/fonts/cormorant-garamond-600-normal-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Cormorant Garamond';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('/assets/fonts/cormorant-garamond-600-normal-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Cormorant Garamond';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('/assets/fonts/cormorant-garamond-700-normal-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Cormorant Garamond';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('/assets/fonts/cormorant-garamond-700-normal-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('/assets/fonts/outfit-300-normal-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('/assets/fonts/outfit-300-normal-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/assets/fonts/outfit-400-normal-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/assets/fonts/outfit-400-normal-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('/assets/fonts/outfit-500-normal-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('/assets/fonts/outfit-500-normal-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('/assets/fonts/outfit-600-normal-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('/assets/fonts/outfit-600-normal-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --black: #0a0a0a;
    --white: #ffffff;
    --gray-100: #f7f7f7;
    --gray-200: #e5e5e5;
    --gray-300: #d4d4d4;
    --gray-400: #a3a3a3;
    --gray-500: #737373;
    --gray-600: #525252;
    --gray-700: #404040;
    --gray-800: #262626;
    --gray-900: #171717;
    
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Outfit', -apple-system, sans-serif;
    
    --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background: var(--white);
    color: var(--black);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Custom Selection */
::selection {
    background: var(--black);
    color: var(--white);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--gray-100);
}
::-webkit-scrollbar-thumb {
    background: var(--black);
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.5rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.4s var(--transition-smooth);
}

.nav.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 1rem 4rem;
    box-shadow: 0 1px 0 var(--gray-200);
}

.nav-logo {
    display: flex;
    flex-direction: column;
    line-height: 1;
    text-decoration: none;
    border: none;
    outline: none;
}

.nav-logo:hover,
.nav-logo:focus,
.nav-logo:active {
    text-decoration: none;
    border: none;
    outline: none;
}

.nav-logo-top {
    padding: 0 0.4rem;
    font-family: var(--font-body);
    font-size: 1.4rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    color: var(--black);
    text-decoration: none;
    border: none;
}

.nav-logo-bottom {
    font-family: var(--font-body);
    font-size: 1.4rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    color: var(--white);
    background: var(--black);
    padding: 0.2rem 0.4rem;
    margin-top: 2px;
    text-decoration: none;
    border: none;
}

.nav.scrolled .nav-logo-top {
    color: var(--black);
}

.hero-visible .nav-logo-top {
    color: var(--white);
}

.nav-links {
    display: flex;
    gap: 3rem;
    list-style: none;
}

.nav-links a {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--black);
    text-decoration: none;
    position: relative;
    transition: color 0.3s var(--transition-smooth);
}

.hero-visible .nav-links a {
    color: var(--white);
}

.nav.scrolled .nav-links a {
    color: var(--black);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: currentColor;
    transition: width 0.3s var(--transition-smooth);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a.nav-cta {
    background: var(--black);
    color: var(--white) !important;
    padding: 0.6rem 1.2rem;
    transition: background 0.3s;
}

.nav-links a.nav-cta::after {
    display: none;
}

.nav-links a.nav-cta:hover {
    background: var(--gray-700);
}

.hero-visible .nav-links a.nav-cta {
    background: var(--white);
    color: var(--black) !important;
}

.hero-visible .nav-links a.nav-cta:hover {
    background: var(--gray-200);
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    width: 28px;
    height: 2px;
    background: var(--black);
    transition: all 0.3s var(--transition-smooth);
}

.hero-visible .menu-toggle span {
    background: var(--white);
}

.nav.scrolled .menu-toggle span {
    background: var(--black);
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 700px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.6) 100%),
        var(--hero-image, url('/assets/img/hero-buildings.webp')) center/cover no-repeat fixed;
    transform: scale(1.1);
    animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
    0% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: var(--white);
    padding: 0 2rem;
    max-width: 900px;
}

.hero-badge {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.4);
    padding: 0.75rem 1.5rem;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s var(--transition-smooth) 0.2s forwards;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 300;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s var(--transition-smooth) 0.4s forwards;
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    color: rgba(255,255,255,0.8);
    max-width: 600px;
    margin: 0 auto 2.5rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s var(--transition-smooth) 0.6s forwards;
}

.hero-cta {
    display: inline-flex;
    gap: 1rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s var(--transition-smooth) 0.8s forwards;
}

.btn {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 1rem 2.5rem;
    text-decoration: none;
    transition: all 0.4s var(--transition-smooth);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--white);
    color: var(--black);
}

.btn-primary:hover {
    background: var(--black);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.5);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--black);
}

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--white);
    opacity: 0;
    animation: fadeUp 0.8s var(--transition-smooth) 1.2s forwards;
}

.scroll-indicator span {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--white), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 1; transform: scaleY(1); }
    50% { opacity: 0.5; transform: scaleY(0.8); }
}

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

/* Section Styling */
section {
    padding: 8rem 4rem;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-tag {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gray-500);
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 400;
    color: var(--black);
    letter-spacing: -0.02em;
}

/* Services Section */
.services {
    background: var(--gray-100);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: var(--white);
    padding: 3rem;
    position: relative;
    overflow: hidden;
    transition: all 0.5s var(--transition-smooth);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--black);
    transition: height 0.5s var(--transition-smooth);
}

.service-card:hover::before {
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--white);
    stroke-width: 1.5;
    fill: none;
}

.service-card h3 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: var(--black);
}

.service-card p {
    font-size: 0.95rem;
    color: var(--gray-600);
    line-height: 1.7;
}

/* Expertise Section */
.expertise {
    background: var(--black);
    color: var(--white);
    position: relative;
}

.expertise .section-tag {
    color: var(--gray-400);
}

.expertise .section-title {
    color: var(--white);
}

.expertise-badge {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--black);
    background: var(--white);
    padding: 0.5rem 1rem;
    margin-top: 0.5rem;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--gray-800);
    max-width: 1200px;
    margin: 0 auto;
}

.expertise-item {
    background: var(--black);
    padding: 3rem 2rem;
    text-align: center;
    transition: all 0.4s var(--transition-smooth);
    position: relative;
}

.expertise-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--white);
    transition: width 0.4s var(--transition-smooth);
}

.expertise-item:hover::after {
    width: 60%;
}

.expertise-item:hover {
    background: var(--gray-900);
}

.expertise-domain {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gray-500);
    margin-bottom: 0.75rem;
}

.expertise-title {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 400;
    color: var(--white);
    margin-bottom: 1rem;
}

.expertise-details {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--gray-400);
    line-height: 1.8;
}

/* Stats Section */
.stats {
    background: var(--white);
    padding: 5rem 4rem;
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.stat-item {
    padding: 1rem;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 300;
    color: var(--black);
    line-height: 1;
}

.stat-suffix {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--black);
}

.stat-label {
    display: block;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gray-500);
    margin-top: 0.5rem;
}

/* Clients Section */
.clients {
    background: var(--white);
    padding: 4rem;
    text-align: center;
    border-bottom: 1px solid var(--gray-200);
}

.clients .section-tag {
    color: var(--gray-500);
    margin-bottom: 2.5rem;
    display: block;
}

.clients-header {
    margin-bottom: 2rem;
}

.clients-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 3rem 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

.client-item {
    opacity: 0.6;
    transition: opacity 0.3s var(--transition-smooth);
}

.client-item:hover {
    opacity: 1;
}

.client-name {
    font-family: var(--font-body);
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--black);
}

.client-logo {
    height: 50px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    transition: opacity 0.3s var(--transition-smooth), transform 0.3s var(--transition-smooth);
}

.client-item:hover .client-logo {
    opacity: 1;
    transform: scale(1.05);
}

/* About Section */
.about {
    background: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 6rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image-frame {
    position: relative;
    aspect-ratio: 4/5;
    background: var(--gray-200);
    overflow: hidden;
}

.about-image-frame::before {
    content: '';
    position: absolute;
    top: 2rem;
    left: 2rem;
    right: -2rem;
    bottom: -2rem;
    border: 1px solid var(--black);
    z-index: -1;
}

.about-image-frame::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--black);
    transform: scaleX(1);
    transform-origin: right;
    transition: transform 1s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: 10;
}

.about-image-frame.revealed::after {
    transform: scaleX(0);
}

.about-image-frame img {
    opacity: 0;
    transform: scale(1.2);
    transition: opacity 0.6s ease 0.4s, transform 1.2s cubic-bezier(0.77, 0, 0.175, 1) 0.4s;
}

.about-image-frame.revealed img {
    opacity: 1;
    transform: scale(1);
}

.about-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--gray-300) 0%, var(--gray-200) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: var(--gray-500);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.about-text h3 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    color: var(--black);
}

.about-text p {
    font-size: 1rem;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-credentials {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-200);
}

.credential {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.credential-icon {
    width: 40px;
    height: 40px;
    background: var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
}

.credential-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--white);
    stroke-width: 1.5;
    fill: none;
}

.credential-text {
    font-size: 0.9rem;
    color: var(--gray-700);
}

.credential-text strong {
    display: block;
    font-weight: 600;
    color: var(--black);
}

/* Form Selects and Date Inputs */
.tab-form select,
.contact-form select {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--gray-300);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.3s;
    background: var(--white);
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23737373' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
}

.tab-form select:focus,
.contact-form select:focus {
    outline: none;
    border-color: var(--black);
}

.tab-form input[type="date"],
.contact-form input[type="date"] {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--gray-300);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.3s;
    cursor: pointer;
}

.tab-form input[type="date"]:focus,
.contact-form input[type="date"]:focus {
    outline: none;
    border-color: var(--black);
}

/* Contact Section */
.contact {
    padding: 6rem 4rem;
    background: var(--gray-100);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    max-width: 1100px;
    margin: 0 auto;
}

.contact-forms {
    background: var(--white);
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

/* Form Tabs */
.form-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--gray-200);
}

.form-tab {
    flex: 1;
    padding: 1rem 1.5rem;
    background: none;
    border: none;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-500);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s;
    position: relative;
}

.form-tab::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--black);
    transform: scaleX(0);
    transition: transform 0.3s;
}

.form-tab:hover {
    color: var(--black);
}

.form-tab.active {
    color: var(--black);
}

.form-tab.active::after {
    transform: scaleX(1);
}

.form-tab svg {
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}

/* Tab Forms */
.tab-form {
    display: none;
}

.tab-form.active {
    display: block;
}

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

.form-note {
    background: var(--gray-100);
    padding: 0.75rem 1rem;
    margin: 1rem 0;
    font-size: 0.85rem;
    color: var(--gray-600);
    border-left: 3px solid var(--black);
}

.form-note p {
    margin: 0;
}

.contact-info h3 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
}

.contact-info p {
    color: var(--gray-600);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-item-icon {
    width: 50px;
    height: 50px;
    background: var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-item-icon svg {
    width: 22px;
    height: 22px;
    stroke: var(--white);
    stroke-width: 1.5;
    fill: none;
}

.contact-item-content {
    padding-top: 0.25rem;
}

.contact-item-label {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gray-500);
    margin-bottom: 0.25rem;
}

.contact-item-value {
    font-size: 1rem;
    color: var(--black);
}

.contact-item-value a {
    color: var(--black);
    text-decoration: none;
    transition: color 0.3s;
}

.contact-item-value a:hover {
    color: var(--gray-600);
}

/* Contact Form */
.contact-form {
    background: var(--white);
    padding: 3rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gray-600);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    font-family: var(--font-body);
    font-size: 1rem;
    border: 1px solid var(--gray-200);
    background: var(--white);
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--black);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-submit {
    width: 100%;
    background: var(--black);
    color: var(--white);
    padding: 1.25rem;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: all 0.4s var(--transition-smooth);
}

.form-submit:hover {
    background: var(--gray-800);
}

/* Footer */
footer {
    background: var(--black);
    color: var(--white);
    padding: 4rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.footer-logo-top {
    padding: 0 0.4rem;
    font-family: var(--font-body);
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    color: var(--white);
}

.footer-logo-bottom {
    font-family: var(--font-body);
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    color: var(--black);
    background: var(--white);
    padding: 0.2rem 0.4rem;
    margin-top: 2px;
}

.footer-text {
    font-size: 0.85rem;
    color: var(--gray-400);
}

/* Chatbot Widget */
.chatbot-toggle {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: var(--black);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    transition: all 0.4s var(--transition-smooth);
    z-index: 999;
}

.chatbot-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(0,0,0,0.4);
}

.chatbot-toggle svg {
    width: 28px;
    height: 28px;
    stroke: var(--white);
    stroke-width: 1.5;
    fill: none;
}

.chatbot-toggle .close-icon {
    display: none;
}

.chatbot-toggle.active .chat-icon {
    display: none;
}

.chatbot-toggle.active .close-icon {
    display: block;
}

.chatbot-window {
    position: fixed;
    bottom: 6rem;
    right: 2rem;
    width: 380px;
    height: 500px;
    background: var(--white);
    box-shadow: 0 10px 50px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transition: all 0.4s var(--transition-smooth);
}

.chatbot-window.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.chatbot-header {
    background: var(--black);
    color: var(--white);
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.chatbot-avatar {
    width: 40px;
    height: 40px;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--black);
}

.chatbot-info h4 {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
}

.chatbot-info span {
    font-size: 0.75rem;
    color: var(--gray-400);
}

.chatbot-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.message {
    max-width: 85%;
    padding: 0.875rem 1rem;
    font-size: 0.9rem;
    line-height: 1.5;
}

.message.bot {
    background: var(--gray-100);
    color: var(--black);
    align-self: flex-start;
}

.message.user {
    background: var(--black);
    color: var(--white);
    align-self: flex-end;
}

.chatbot-input {
    display: flex;
    padding: 1rem;
    border-top: 1px solid var(--gray-200);
    gap: 0.5rem;
}

.chatbot-input input {
    flex: 1;
    padding: 0.875rem 1rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    border: 1px solid var(--gray-200);
    background: var(--gray-100);
    transition: border-color 0.3s;
}

.chatbot-input input:focus {
    outline: none;
    border-color: var(--black);
}

.chatbot-input button {
    width: 50px;
    background: var(--black);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.chatbot-input button:hover {
    background: var(--gray-800);
}

.chatbot-input button svg {
    width: 20px;
    height: 20px;
    stroke: var(--white);
    stroke-width: 2;
    fill: none;
}

/* Typing indicator */
.typing-indicator {
    display: flex;
    gap: 4px;
    padding: 1rem 1.2rem;
}

.typing-indicator span {
    width: 8px;
    height: 8px;
    background: var(--gray-400);
    border-radius: 50%;
    animation: typingBounce 1.4s infinite ease-in-out both;
}

.typing-indicator span:nth-child(1) {
    animation-delay: -0.32s;
}

.typing-indicator span:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes typingBounce {
    0%, 80%, 100% {
        transform: scale(0.6);
        opacity: 0.4;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}

.chatbot-input input:disabled,
.chatbot-input button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Responsive Design */
@media (max-width: 1024px) {
    section {
        padding: 5rem 2rem;
    }
    
    .nav {
        padding: 1.5rem 2rem;
    }
    
    .nav.scrolled {
        padding: 1rem 2rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .expertise-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .stats {
        padding: 4rem 2rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .clients {
        padding: 3rem 2rem;
    }
    
    .clients-grid {
        gap: 2rem 3rem;
    }
    
    .contact {
        padding: 4rem 2rem;
    }
    
    .contact-forms {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--white);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s var(--transition-smooth);
    }
    
    .nav-links.active {
        opacity: 1;
        visibility: visible;
    }
    
    .nav-links a {
        color: var(--black) !important;
        font-size: 1.2rem;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .service-card h3 {
        font-size: 1.4rem;
        margin-bottom: 0.5rem;
    }
    
    .service-card p {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    .service-icon {
        width: 45px;
        height: 45px;
        margin-bottom: 1rem;
    }
    
    .service-icon svg {
        width: 22px;
        height: 22px;
    }
    
    .expertise-grid {
        grid-template-columns: 1fr;
    }
    
    section {
        padding: 3rem 1.25rem;
    }
    
    .hero-bg {
        background-attachment: scroll;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-header {
        margin-bottom: 3rem;
    }
    
    .about-image-frame::before {
        top: 1rem;
        left: 1rem;
        right: -1rem;
        bottom: -1rem;
    }
    
    .stats {
        padding: 3rem 1.25rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .stat-suffix {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.7rem;
    }
    
    .clients {
        padding: 2.5rem 1.25rem;
    }
    
    .clients-grid {
        gap: 1.5rem 2rem;
    }
    
    .client-name {
        font-size: 0.9rem;
    }
    
    .client-logo {
        height: 35px;
        max-width: 120px;
    }
    
    .contact {
        padding: 3rem 1.25rem;
    }
    
    .contact-forms {
        padding: 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .form-tabs {
        flex-direction: column;
        border-bottom: none;
    }
    
    .form-tab {
        border-bottom: 2px solid var(--gray-200);
    }
    
    .form-tab.active {
        background: var(--gray-100);
    }
    
    .form-tab::after {
        display: none;
    }
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    .chatbot-window {
        right: 1rem;
        left: 1rem;
        width: auto;
        bottom: 5rem;
    }
    
    .chatbot-toggle {
        bottom: 1.5rem;
        right: 1.5rem;
    }

/* Success Modal */
.success-modal {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.success-modal.active {
    display: flex;
}

.success-modal-content {
    background: var(--white);
    padding: 3rem;
    max-width: 500px;
    text-align: center;
}

.success-icon {
    width: 70px;
    height: 70px;
    background: var(--black);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.success-icon svg {
    width: 35px;
    height: 35px;
    stroke: var(--white);
    stroke-width: 2;
    fill: none;
}

.success-modal h3 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 1rem;
    color: var(--black);
}

.success-modal p {
    font-size: 1rem;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.success-modal-close {
    background: var(--black);
    color: var(--white);
    padding: 1rem 2.5rem;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
}

.success-modal-close:hover {
    background: var(--gray-800);
}

/* Animations on Scroll */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s var(--transition-smooth);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   Subpages (sessie 4). Nieuwe classes hergebruiken uitsluitend bestaande
   variabelen, maten en lettertypes; elke regel verwijst naar het element
   waarvan de stijl overgenomen is.
   ========================================================================== */

/* Hero op subpagina's: zelfde hero, maar niet schermvullend (zoals .hero, kortere hoogte) */
.hero--page {
    height: auto;
    min-height: 60vh;
    padding: 10rem 2rem 6rem;
}

.hero--page .hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);   /* = .section-title */
}

/* Breadcrumbs: stijl van .section-tag */
.breadcrumbs {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gray-500);
    margin-bottom: 2rem;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

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

.breadcrumbs a:hover {
    color: var(--black);
}

.breadcrumbs li + li::before {
    content: '/';
    margin-right: 0.5rem;
    color: var(--gray-300);
}

.hero .breadcrumbs {
    color: rgba(255,255,255,0.7);
    justify-content: center;
    margin-bottom: 1.5rem;
}

.hero .breadcrumbs a:hover {
    color: var(--white);
}

/* Tekstblok: maten van .about-text, gecentreerd zoals .services-grid (max-width) */
.prose {
    max-width: 800px;
    margin: 0 auto;
}

.prose p,
.prose li {
    font-size: 1rem;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.prose h2 {
    font-family: var(--font-display);
    font-size: 2.5rem;                      /* = .about-text h3 */
    font-weight: 400;
    color: var(--black);
    margin-bottom: 1.5rem;
}

.prose h3 {
    font-family: var(--font-display);
    font-size: 1.8rem;                      /* = .service-card h3 */
    font-weight: 500;
    color: var(--black);
    margin-bottom: 1rem;
}

.prose ul,
.prose ol {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.prose li {
    margin-bottom: 0.75rem;
}

.prose a {
    color: var(--black);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.prose table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    color: var(--gray-600);
}

.prose th,
.prose td {
    text-align: left;
    padding: 1rem;
    border-bottom: 1px solid var(--gray-200);   /* = .stats border */
    vertical-align: top;
}

.prose th {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gray-500);                 /* = .section-tag */
}

/* Antwoordblok direct onder de H1: witte kaart zoals .service-card */
.answer {
    background: var(--white);
    padding: 3rem;
    max-width: 800px;
    margin: 0 auto;
}

.answer p {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--black);
    margin: 0;
}

/* Expertcitaat: display-lettertype zoals .hero-title, kleiner */
.quote {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
    border-left: 1px solid var(--gray-300);
}

.quote p {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 300;
    line-height: 1.4;
    color: var(--black);
    margin-bottom: 1rem;
}

.quote cite {
    font-family: var(--font-body);
    font-style: normal;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gray-500);                 /* = .expertise-domain */
}

/* Genummerde stappen: nummer in de stijl van .stat-number, kleiner */
.steps {
    list-style: none;
    padding: 0;
    counter-reset: step;
}

.steps li {
    position: relative;
    padding-left: 4rem;
    counter-increment: step;
}

.steps li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: -0.35rem;
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--gray-300);
    line-height: 1;
}

/* FAQ: witte kaarten zoals .service-card, gestapeld */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
}

/* Tabellen in tekst en FAQ scrollen horizontaal op smalle schermen i.p.v. de pagina te verbreden */
.prose table,
.faq-item table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
}

/* Lange samenstellingen (warmtekrachtkoppeling) afbreken in koppen op smalle schermen */
.hero--page .hero-title,
.hero--page .hero-subtitle,
.prose h2,
.prose h3,
.prose p,
.prose li,
.answer p,
.quote p,
.faq-item h2,
.faq-item h3,
.faq-item p {
    overflow-wrap: anywhere;
    hyphens: auto;
}

.faq-item {
    background: var(--white);
    padding: 3rem;                          /* = .service-card */
}

.faq-item h2,
.faq-item h3 {
    font-family: var(--font-display);
    font-size: 1.8rem;                      /* = .service-card h3 */
    font-weight: 500;
    color: var(--black);
    margin-bottom: 1rem;
}

.faq-item p {
    font-size: 0.95rem;
    color: var(--gray-600);
    line-height: 1.7;                       /* = .service-card p */
}

.faq-item p:last-child {
    margin-bottom: 0;
}

/* Knoppen op lichte achtergrond: zwarte variant van .btn (kleuren van .form-submit) */
.btn-dark {
    background: var(--black);
    color: var(--white);
}

.btn-dark:hover {
    background: var(--gray-800);            /* = .success-modal-close:hover */
}

.btn-outline-dark {
    background: transparent;
    color: var(--black);
    border: 1px solid var(--gray-400);
}

.btn-outline-dark:hover {
    border-color: var(--black);
}

/* CTA-blok: gecentreerd zoals .section-header, knoppen zoals .hero-cta */
.cta-block {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-block p {
    font-size: 1rem;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Klikbare kaarten: hele kaart is een link; "Meer over" in de stijl van .nav-links a */
a.service-card,
a.expertise-item {
    display: block;
    text-decoration: none;
    color: inherit;
}

.card-more {
    display: inline-block;
    margin-top: 1.5rem;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--black);
    position: relative;
}

.card-more::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: currentColor;
    transition: width 0.3s var(--transition-smooth);
}

a.service-card:hover .card-more::after,
a.expertise-item:hover .card-more::after {
    width: 100%;
}

.expertise-item .card-more {
    color: var(--white);
}

/* Auteursblok: opbouw van .credential, foto zoals .about-image-frame */
.author {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.author-photo {
    width: 96px;
    height: 120px;                          /* 4/5 zoals .about-image-frame */
    flex-shrink: 0;
    background: var(--gray-200);
    overflow: hidden;
}

.author-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.author-text {
    font-size: 0.9rem;
    color: var(--gray-700);                 /* = .credential-text */
    line-height: 1.7;
}

.author-text strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--black);
}

.author-text a {
    color: var(--black);
}

.updated {
    text-align: center;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gray-500);                 /* = .expertise-domain */
    margin-top: 3rem;
}

/* Footerlink: kleur van .footer-text */
.footer-text a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Links in chatantwoorden: zoals .prose a */
.message.bot a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
    word-break: break-all;
}

/* Getuigenissen: kaart zoals .service-card, tekst zoals .quote p maar kleiner */
blockquote.service-card {
    margin: 0;
}

blockquote.service-card p {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--black);
}

/* Gerelateerd: kaartenraster zoals .services-grid */
.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.related-grid .service-card p {
    margin-bottom: 0;
}

/* Kennis-hub en FAQ-pagina: sectie-afstand tussen vragen */
.faq-page .prose h2 {
    margin-top: 3rem;
}

/* NAP-blok op contactpagina: layout van .contact-grid hergebruikt */
.map-frame {
    display: block;
    background: var(--gray-200);
    overflow: hidden;
    aspect-ratio: 12 / 7;
}

.map-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 404 */
.hero--404 {
    min-height: 100vh;
}

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

@media (max-width: 768px) {
    .hero-bg {
        background-image: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.6) 100%), var(--hero-image-mobile, var(--hero-image, url('/assets/img/hero-buildings-1200.webp')));
    }

    .hero--page {
        padding: 8rem 1.5rem 4rem;
    }

    .answer,
    .faq-item {
        padding: 2rem;
    }

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

    .author {
        flex-direction: column;
        text-align: center;
    }

    .steps li {
        padding-left: 3rem;
    }
}

/* CTA-blok: sectielabel op lichte achtergrond, contrast ≥ 4.5:1 (Lighthouse) */
.cta-block .section-tag {
    color: var(--gray-600);
}

/* FAQ-tabellen: koppen (kolom én rij, th scope="row" uit build.py) links uitgelijnd i.p.v. gecentreerd */
.faq-item th,
.faq-item td {
    text-align: left;
    vertical-align: top;
}

.faq-item th[scope="row"] {
    font-weight: 600;
}
