/* =========================================================
   J.H. Steenbergen — Shared stylesheet
   Used by: index.html, galerij/, privacyverklaring/, algemene-voorwaarden/
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f6f7f9;
    --text-primary: #23262b;
    --text-secondary: #616671;
    --header-bg: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    --header-bg-solid: #1e3c72;
    --card-bg: #ffffff;
    --card-shadow: rgba(20, 28, 46, 0.09);
    --border-color: #e7e9ee;
    --accent-color: #ff6b35;
    --accent-hover: #e55a2b;
    --accent-soft: rgba(255, 107, 53, 0.12);
    --glass-bg: rgba(30, 60, 114, 0.72);

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --radius-pill: 999px;

    --shadow-sm: 0 2px 8px rgba(20, 28, 46, 0.08);
    --shadow-md: 0 10px 30px rgba(20, 28, 46, 0.10);
    --shadow-lg: 0 20px 50px rgba(20, 28, 46, 0.16);

    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-back: cubic-bezier(0.34, 1.56, 0.64, 1);
    --dur-fast: 0.25s;
    --dur-base: 0.45s;
    --dur-slow: 0.8s;

    --font-body: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

[data-theme="dark"] {
    --bg-primary: #14161a;
    --bg-secondary: #1c1f24;
    --text-primary: #eef0f3;
    --text-secondary: #a7acb6;
    --header-bg: linear-gradient(135deg, #0d1b2a 0%, #1b263b 100%);
    --header-bg-solid: #0d1b2a;
    --card-bg: #1f2229;
    --card-shadow: rgba(0, 0, 0, 0.45);
    --border-color: #33373f;
    --accent-color: #ff8c5a;
    --accent-hover: #ff6b35;
    --accent-soft: rgba(255, 140, 90, 0.14);
    --glass-bg: rgba(13, 27, 42, 0.72);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    transition: background-color 0.3s ease, color 0.3s ease;
    overflow-x: hidden;
}

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

a {
    color: inherit;
}

::selection {
    background: var(--accent-color);
    color: #fff;
}

@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;
    }
}

/* =========================================================
   Header / Navigation
   ========================================================= */

header {
    background: transparent;
    color: white;
    padding: 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: background var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out), backdrop-filter var(--dur-base) var(--ease-out);
}

header.no-hero {
    background: var(--glass-bg);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: var(--shadow-sm);
}

header.scrolled {
    background: var(--glass-bg);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 2px 20px var(--card-shadow);
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin: 0;
    padding: 0 0.5rem 0 1.25rem;
    height: 64px;
    position: relative;
}

.logo-name {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 1.3rem;
    font-weight: 800;
    color: white;
    text-decoration: none;
    letter-spacing: -0.01em;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.theme-toggle {
    background: rgba(255, 255, 255, 0.14);
    border: none;
    color: white;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--dur-fast), transform var(--dur-fast);
    position: relative;
}

.theme-toggle:hover {
    background: rgba(255, 255, 255, 0.28);
    transform: translateY(-1px);
}

.theme-toggle svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
    position: absolute;
    transition: opacity var(--dur-fast) var(--ease-out), transform var(--dur-base) var(--ease-back);
}

.theme-toggle .icon-sun {
    opacity: 0;
    transform: scale(0.4) rotate(-90deg);
}

.theme-toggle .icon-moon {
    opacity: 1;
    transform: scale(1) rotate(0);
}

[data-theme="dark"] .theme-toggle .icon-sun {
    opacity: 1;
    transform: scale(1) rotate(0);
}

[data-theme="dark"] .theme-toggle .icon-moon {
    opacity: 0;
    transform: scale(0.4) rotate(90deg);
}

.menu-toggle {
    background: rgba(255, 255, 255, 0.14);
    border: none;
    color: white;
    padding: 0.8rem;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    z-index: 1002;
    position: relative;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 0.4rem;
}

.menu-toggle:hover {
    background: rgba(255, 255, 255, 0.28);
}

.menu-toggle:active {
    transform: scale(0.95);
}

.hamburger {
    width: 20px;
    height: 15px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger .line {
    width: 100%;
    height: 2px;
    background: white;
    border-radius: 3px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.menu-toggle.active .hamburger .line:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
}

.menu-toggle.active .hamburger .line:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.menu-toggle.active .hamburger .line:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
}

/* Sidebar Menu */
.nav-links {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 300px;
    background: var(--header-bg-solid);
    background-image: var(--header-bg);
    list-style: none;
    padding: 6rem 0 2rem 0;
    box-shadow: -8px 0 30px rgba(0, 0, 0, 0.5);
    transform: translateX(100%);
    transition: transform 0.45s var(--ease-back);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.nav-links.active {
    transform: translateX(0);
}

.nav-links li {
    width: 100%;
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.nav-links.active li {
    opacity: 1;
    transform: translateX(0);
}

.nav-links.active li:nth-child(1) { transition-delay: 0.05s; }
.nav-links.active li:nth-child(2) { transition-delay: 0.1s; }
.nav-links.active li:nth-child(3) { transition-delay: 0.15s; }
.nav-links.active li:nth-child(4) { transition-delay: 0.2s; }
.nav-links.active li:nth-child(5) { transition-delay: 0.25s; }

.nav-links a {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    padding: 1.35rem 2rem;
    transition: all 0.3s ease;
    border-left: 5px solid transparent;
    font-size: 1.1rem;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.nav-links a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    background: rgba(255, 107, 53, 0.2);
    transition: width 0.4s ease;
    z-index: -1;
}

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

.nav-links a:hover,
.nav-links a.active-link {
    border-left-color: var(--accent-color);
    padding-left: 2.5rem;
    letter-spacing: 0.5px;
}

.nav-links a:active {
    transform: scale(0.98);
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 999;
    pointer-events: none;
}

body.menu-open::before {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* =========================================================
   Hero
   ========================================================= */

.hero {
    position: relative;
    height: 100vh;
    height: 100svh;
    min-height: 560px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    width: 100%;
    overflow: hidden;
    isolation: isolate;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    background-image: url("/afbeeldingen/optimized/full/20260414_080943.webp");
    background-size: cover;
    background-position: center;
    animation: kenburns 22s ease-in-out infinite alternate;
}

@media (max-width: 768px) {
    .hero-bg {
        background-image: url("/afbeeldingen/optimized/full/20260414_081026.webp");
        background-position: left center;
    }
}

@keyframes kenburns {
    from { transform: scale(1); }
    to { transform: scale(1.12); }
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(60% 80% at 85% 0%, rgba(255, 107, 53, 0.28), transparent 60%),
        linear-gradient(180deg, rgba(13, 22, 43, 0.78) 0%, rgba(13, 27, 46, 0.55) 45%, rgba(9, 17, 33, 0.88) 100%);
}

.hero-content {
    padding: 0 1.5rem;
    max-width: 860px;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(6px);
    padding: 0.5rem 1.1rem;
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s var(--ease-out) backwards;
}

.hero-content h1 {
    font-size: clamp(2.1rem, 5vw, 3.75rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 1.1rem;
    animation: fadeInUp 0.9s var(--ease-out) 0.1s backwards;
}

.hero-content > p {
    font-size: clamp(1.05rem, 2vw, 1.4rem);
    margin-bottom: 2.2rem;
    color: rgba(255, 255, 255, 0.9);
    animation: fadeInUp 0.9s var(--ease-out) 0.2s backwards;
}

.hero-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    animation: fadeInUp 0.9s var(--ease-out) 0.32s backwards;
    margin-bottom: 2.75rem;
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2.2rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1.5px solid rgba(255, 255, 255, 0.55);
    color: white;
    text-decoration: none;
    border-radius: var(--radius-pill);
    font-weight: 600;
    transition: transform var(--dur-fast) var(--ease-out), background var(--dur-fast);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-3px);
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    animation: fadeInUp 0.9s var(--ease-out) 0.42s backwards;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.92);
}

.scroll-cue {
    position: absolute;
    bottom: 1.75rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    animation: fadeIn 1s ease 1s backwards;
}

.scroll-cue .chevron {
    width: 22px;
    height: 22px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    animation: bounce 1.8s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: rotate(45deg) translate(0, 0); opacity: 0.6; }
    50% { transform: rotate(45deg) translate(6px, 6px); opacity: 1; }
}

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--accent-color);
    color: white;
    text-decoration: none;
    border-radius: var(--radius-pill);
    font-weight: 700;
    position: relative;
    overflow: hidden;
    transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out), background var(--dur-fast);
    box-shadow: 0 10px 25px rgba(255, 107, 53, 0.25);
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.35), transparent);
    transform: translateX(-120%);
    transition: transform 0.6s var(--ease-out);
}

.btn:hover::before {
    transform: translateX(120%);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(255, 107, 53, 0.35);
    background: var(--accent-hover);
}

.btn:active {
    transform: translateY(-1px) scale(0.98);
}

/* =========================================================
   Reveal-on-scroll utility
   ========================================================= */

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.92);
    transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.reveal-scale.in-view {
    opacity: 1;
    transform: scale(1);
}

/* =========================================================
   Layout / Sections
   ========================================================= */

section {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

section.hero {
    padding: 0;
    max-width: none;
}

.section-kicker {
    display: block;
    text-align: center;
    color: var(--accent-color);
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.8rem;
    margin-bottom: 0.6rem;
}

h2 {
    font-size: clamp(1.9rem, 3.4vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -0.01em;
    margin-bottom: 3rem;
    text-align: center;
    color: var(--text-primary);
}

/* Diensten */

.services {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    position: relative;
}

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

.service-card {
    background: var(--card-bg);
    padding: 2.4rem 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out), border-color var(--dur-base);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--accent-soft), transparent 60%);
    opacity: 0;
    transition: opacity var(--dur-base);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-color);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    width: 68px;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.1rem;
    margin-bottom: 1.4rem;
    background: var(--accent-soft);
    border-radius: var(--radius-md);
    transition: transform var(--dur-base) var(--ease-back);
    position: relative;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(-6deg);
}

.service-card h3 {
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
    position: relative;
}

.service-card p {
    color: var(--text-secondary);
    position: relative;
}

/* Over ons */

.about-content {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3.5rem;
    align-items: center;
}

.about-text ul {
    list-style: none;
    margin-top: 1.5rem;
}

.about-text li {
    padding: 0.6rem 0;
    padding-left: 2.2rem;
    position: relative;
    color: var(--text-secondary);
}

.about-text li .check {
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 1.4rem;
    height: 1.4rem;
    background: var(--accent-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 800;
}

.about-visual {
    position: relative;
}

.about-collage {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.9rem;
    margin-bottom: 1.5rem;
}

.about-collage img {
    width: 100%;
    height: 130px;
    object-fit: cover;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: transform var(--dur-base) var(--ease-out);
}

.about-collage img:hover {
    transform: scale(1.04);
}

.about-collage a:first-child img {
    height: 274px;
}

.about-collage a:first-child {
    grid-row: span 2;
}

.stats {
    display: grid;
    gap: 1.25rem;
}

.stat-card {
    text-align: center;
    padding: 2.2rem;
    background: var(--header-bg);
    color: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.stat-card::after {
    content: '';
    position: absolute;
    width: 160px;
    height: 160px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.35), transparent 70%);
    top: -60px;
    right: -60px;
}

.stat-number {
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    position: relative;
}

/* =========================================================
   Contact
   ========================================================= */

.contact-layout {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 3rem;
    align-items: start;
}

.contact-info {
    background: var(--header-bg);
    color: white;
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 6rem;
}

.contact-info h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.contact-info > p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.75rem;
}

.contact-info-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.contact-info-list a,
.contact-info-list span {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: transform var(--dur-fast);
}

.contact-info-list a:hover {
    transform: translateX(4px);
    color: var(--accent-color);
}

.contact-info-list .ic {
    width: 40px;
    height: 40px;
    flex: none;
    background: rgba(255, 255, 255, 0.14);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
}

.contact-form-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
}

.contact-form {
    max-width: none;
    margin: 0;
}

.contact-footer {
    text-align: left;
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 1rem;
}

.form-message {
    max-width: none;
    margin: 0 0 1.5rem 0;
    padding: 1rem 1.2rem;
    border-radius: var(--radius-sm);
    text-align: left;
    font-weight: 500;
    display: none;
    animation: fadeInR 0.5s ease forwards;
}

@keyframes fadeInR {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeOutL {
    from { opacity: 1; transform: translateX(0); }
    to { opacity: 0; transform: translateX(-30px); }
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.form-group {
    margin-bottom: 1.4rem;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.92rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.95rem 1.1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-family: inherit;
    transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
    background-color: var(--card-bg);
    color: var(--text-primary);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 4px var(--accent-soft);
}

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

.submit-btn {
    width: 100%;
    padding: 1.05rem;
    background: var(--accent-color);
    color: white;
    border: none;
    border-radius: var(--radius-pill);
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: background var(--dur-fast), transform var(--dur-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
}

.submit-btn:hover:not(:disabled) {
    background: var(--accent-hover);
    transform: translateY(-2px);
}

.submit-btn:disabled {
    opacity: 0.75;
    cursor: not-allowed;
}

.spinner {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2.5px solid rgba(255, 255, 255, 0.4);
    border-top-color: white;
    animation: spin 0.7s linear infinite;
    display: none;
}

.submit-btn.loading .spinner {
    display: inline-block;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* =========================================================
   Footer
   ========================================================= */

footer {
    background: var(--header-bg);
    color: white;
    text-align: center;
    padding: 4rem 2rem 2rem;
    position: relative;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    text-align: left;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: var(--accent-color);
    font-size: 1.05rem;
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    display: block;
    margin-bottom: 0.6rem;
    transition: color var(--dur-fast), transform var(--dur-fast);
}

.footer-section a:hover {
    color: white;
    transform: translateX(3px);
}

.footer-bottom {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    text-align: center;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.9rem;
}

/* Back to top */

.back-to-top {
    position: fixed;
    right: 1.5rem;
    bottom: 1.5rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--accent-color);
    color: white;
    border: none;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity var(--dur-fast), transform var(--dur-fast), visibility var(--dur-fast), background var(--dur-fast);
    z-index: 900;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--accent-hover);
    transform: translateY(-3px);
}

.back-to-top svg {
    width: 20px;
    height: 20px;
    stroke: white;
    fill: none;
}

/* =========================================================
   Secondary page hero (galerij) + static documents (privacy / voorwaarden)
   ========================================================= */

.doc-hero {
    position: relative;
    background: var(--header-bg);
    color: white;
    padding: 9.5rem 1.5rem 4.5rem;
    text-align: center;
    overflow: hidden;
    isolation: isolate;
}

.doc-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(50% 70% at 88% -10%, rgba(255, 107, 53, 0.32), transparent 60%),
        radial-gradient(40% 60% at 8% 110%, rgba(255, 255, 255, 0.08), transparent 65%);
}

.doc-breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 1.25rem;
    animation: fadeInUp 0.7s var(--ease-out) backwards;
}

.doc-breadcrumb a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color var(--dur-fast);
}

.doc-breadcrumb a:hover {
    color: white;
}

.doc-hero .hero-kicker {
    animation: fadeInUp 0.7s var(--ease-out) 0.08s backwards;
}

.doc-hero h1 {
    font-size: clamp(1.9rem, 4vw, 2.6rem);
    font-weight: 800;
    margin-bottom: 0.75rem;
    animation: fadeInUp 0.8s var(--ease-out) 0.16s backwards;
}

.doc-hero p {
    color: rgba(255, 255, 255, 0.85);
    max-width: 640px;
    margin: 0 auto;
    animation: fadeInUp 0.8s var(--ease-out) 0.24s backwards;
}

.doc-page {
    padding: 3.5rem 1.5rem 5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.doc-layout {
    display: grid;
    grid-template-columns: 1.7fr 1fr;
    gap: 2.5rem;
    align-items: start;
}

.legal-content {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 3rem 3.25rem;
    color: var(--text-secondary);
    line-height: 1.75;
}

.legal-meta {
    display: inline-block;
    color: var(--accent-color);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    font-weight: 700;
    margin-bottom: 2rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--border-color);
    width: 100%;
}

.legal-content h2 {
    text-align: left;
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: var(--text-primary);
    margin: 3rem 0 1.1rem;
    scroll-margin-top: 6rem;
}

.legal-content h2:first-of-type {
    margin-top: 0;
}

.legal-content h3 {
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 1.85rem 0 0.85rem;
    scroll-margin-top: 6rem;
}

.legal-content p {
    margin-bottom: 1.1rem;
}

.legal-content ul,
.legal-content ol {
    margin: 0 0 1.25rem 1.4rem;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.legal-content li {
    padding-left: 0.3rem;
}

.legal-content ul {
    list-style: disc;
}

.legal-content ul li::marker,
.legal-content ol li::marker {
    color: var(--accent-color);
}

.legal-content ol[type="a"] {
    list-style: lower-alpha;
}

.legal-content strong {
    color: var(--text-primary);
}

.legal-clause {
    display: flex;
    gap: 0.75rem;
}

.legal-clause .legal-num {
    flex: none;
    font-weight: 700;
    color: var(--accent-color);
    min-width: 2.4rem;
}

.doc-sidebar {
    position: sticky;
    top: 6rem;
    background: var(--header-bg);
    color: white;
    border-radius: var(--radius-lg);
    padding: 2.25rem;
    box-shadow: var(--shadow-md);
}

.doc-sidebar h2 {
    font-size: 1.15rem;
    font-weight: 700;
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 1rem;
}

.doc-sidebar h3 {
    font-size: 1.2rem;
    font-weight: 700;
    text-align: left;
    margin-bottom: 0.6rem;
}

.doc-toc {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    max-height: 340px;
    overflow-y: auto;
    margin: 0 -0.6rem;
    padding: 0 0.6rem;
}

.doc-toc::-webkit-scrollbar {
    width: 5px;
}

.doc-toc::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.25);
    border-radius: 3px;
}

.doc-toc a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-size: 0.87rem;
    line-height: 1.4;
    padding: 0.5rem 0.6rem;
    border-radius: var(--radius-sm);
    transition: background var(--dur-fast), color var(--dur-fast);
}

.doc-toc a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.doc-sidebar-divider {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    margin: 1.75rem 0;
}

.doc-sidebar p {
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 1.5rem;
}

.doc-sidebar .btn {
    display: block;
    width: 100%;
    text-align: center;
    margin-bottom: 1.1rem;
}

.doc-alt-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color var(--dur-fast);
}

.doc-alt-link:hover {
    color: white;
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 900px) {
    .about-content,
    .contact-layout,
    .doc-layout {
        grid-template-columns: 1fr;
    }

    .contact-info,
    .doc-sidebar {
        position: static;
    }

    .doc-toc {
        max-height: none;
    }
}

@media (max-width: 768px) {
    header nav {
        padding: 0 0.4rem 0 1rem;
    }

    .nav-links {
        width: 260px;
        padding: 5rem 0 2rem 0;
    }

    .nav-links a {
        padding: 1.2rem 1.5rem;
        font-size: 1rem;
    }

    .nav-links a:hover {
        padding-left: 2rem;
    }

    .logo-name {
        font-size: 1.1rem;
    }

    section {
        padding: 4.5rem 1.25rem;
    }

    .about-collage img,
    .about-collage a:first-child img {
        height: 140px;
    }

    h2 {
        font-size: 1.8rem;
    }

    .contact-info,
    .contact-form-card,
    .legal-content {
        padding: 1.75rem;
    }

    .legal-clause {
        gap: 0.5rem;
    }

    .legal-clause .legal-num {
        min-width: 2rem;
    }

    .back-to-top {
        right: 1rem;
        bottom: 1rem;
        width: 44px;
        height: 44px;
    }
}
