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

/* ---------- Custom Properties ---------- */
:root {
    --gold: rgb(177, 137, 77);
    --gold-light: rgb(218, 186, 148);
    --gold-dark: rgb(155, 117, 72);
    --gold-glow: rgba(192, 149, 97, 0.25);
    --cream: #faf7f2;
    --cream-dark: #f0ebe3;
    --white: #ffffff;
    --text-dark: #2c2c2c;
    --text-medium: #555555;
    --text-light: #888888;
    --red-emergency: #c0392b;
    --red-light: #e74c3c;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
    --shadow-gold: 0 4px 20px rgba(192, 149, 97, 0.3);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}


/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-dark);
    background-color: var(--cream);
    line-height: 1.7;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: 'Playfair Display', Georgia, serif;
    line-height: 1.3;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition);
}

ul {
    list-style: none;
}

/* ---------- Utility ---------- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-title {
    text-align: center;
    margin-bottom: 48px;
}

.section-title h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    color: var(--text-dark);
    margin-bottom: 12px;
}

.section-title p {
    color: var(--text-medium);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
}

.section-title .accent-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold-light), var(--gold-dark));
    margin: 16px auto 0;
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(197, 160, 89, 0.4);
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all var(--transition);
    border: none;
    letter-spacing: 0.03em;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--white);
    box-shadow: var(--shadow-gold);
}

.btn-primary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
    opacity: 0;
    z-index: -1;
    transition: opacity var(--transition);
}

.btn-primary:hover::after {
    opacity: 1;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(197, 160, 89, 0.35);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(4px);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--gold-dark);
    border-color: var(--white);
}

.btn-emergency {
    background: var(--red-emergency);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(192, 57, 43, 0.35);
}

.btn-emergency:hover {
    background: var(--red-light);
    transform: translateY(-2px);
}

/* ---------- Navigation ---------- */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(192, 149, 97, 0.15);
    padding: 0 24px;
    transition: box-shadow var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--gold-dark);
}

.nav-logo img {
    width: 42px;
    height: 42px;
    object-fit: cover;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links a {
    padding: 8px 18px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.92rem;
    color: var(--text-medium);
    transition: all var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--gold-dark);
    background: var(--gold-glow);
}

.nav-cta {
    padding: 10px 24px !important;
    background: var(--gold) !important;
    color: var(--white) !important;
    font-weight: 600 !important;
}

.nav-cta:hover {
    background: var(--gold-dark) !important;
    box-shadow: var(--shadow-gold) !important;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger span {
    width: 24px;
    height: 2.5px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: all var(--transition);
}

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

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(44, 44, 44, 0.7) 0%,
            rgba(44, 44, 44, 0.4) 40%,
            rgba(192, 149, 97, 0.3) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    padding: 40px 24px;
    max-width: 1000px;
}

.hero-content h1 {
    margin-bottom: 16px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    font-size: clamp(1.6rem, 5vw, 2.5rem);
    /* Smaller on mobile, max 2.5rem on desktop */
}

/* Helper to break lines only on mobile */
.mobile-break {
    display: none;
}

@media (max-width: 767px) {
    .mobile-break {
        display: block;
    }
}

.hero-content .hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    opacity: 0.9;
    margin-bottom: 36px;
    font-weight: 300;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ---------- Sections ---------- */
.section {
    /* Mobile-first: smaller padding on small screens */
    padding: 48px 0;
}

.section-alt {
    background: var(--white);
}

/* ---------- Service/Feature Cards ---------- */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 40px 32px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(197, 160, 89, 0.08);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gold-light), var(--gold-dark));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: var(--shadow-lg);
    border-color: rgba(197, 160, 89, 0.2);
}

.card:hover::before {
    transform: scaleX(1);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: none;
    /* Hide empty icons */
}

.card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--text-dark);
    font-weight: 600;
}

.card p {
    color: var(--text-medium);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Alt card style for cream bg pages */
.section:not(.section-alt) .card {
    background: var(--white);
}

.section-alt .card {
    background: var(--cream);
}

/* ---------- About / Two-Column (mobile-first) ---------- */
.two-col {
    display: grid;
    /* Mobile: single column */
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: center;
}

.two-col img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    width: 100%;
    object-fit: cover;
    max-height: 300px;
}

.two-col-text h2 {
    font-size: clamp(1.4rem, 5vw, 2.2rem);
    margin-bottom: 16px;
}

.two-col-text p {
    color: var(--text-medium);
    margin-bottom: 16px;
    font-size: 1rem;
}

/* ---------- Behandelingen Intro Layout (mobile-first) ---------- */
/* On mobile: slider on top, text below (flex column) */
.two-col-behandeling {
    display: flex;
    flex-direction: column;
    gap: 28px;
    align-items: stretch;
}

.behandeling-slider-wrap {
    width: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.behandeling-slider-wrap .slider-container {
    margin: 0 !important;
    border-radius: 0;
    box-shadow: none;
}

/* ---------- Welcome Block (index above footer, mobile-first) ---------- */
.welcome-block {
    display: flex;
    flex-direction: column;
    gap: 36px;
    align-items: flex-start;
}

.welcome-text h2 {
    font-size: clamp(1.5rem, 5vw, 2.2rem);
    margin-bottom: 16px;
    color: var(--text-dark);
}

.welcome-text p {
    color: var(--text-medium);
    font-size: 1rem;
    line-height: 1.75;
}

.welcome-stats {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
    width: 100%;
}

.welcome-stat {
    background: var(--cream-dark);
    border-radius: var(--radius-md);
    padding: 24px 20px;
    text-align: center;
    flex: 1 1 90px;
    border: 1px solid rgba(192, 149, 97, 0.18);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
}

.welcome-stat:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-gold);
}

.stat-number {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.6rem, 5vw, 2.4rem);
    font-weight: 700;
    color: var(--gold-dark);
    line-height: 1.1;
    margin-bottom: 6px;
}

.stat-label {
    display: block;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-medium);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* ---------- Three-Column Text ---------- */
.three-col-text {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    align-items: start;
}

.text-col h2 {
    font-size: clamp(1.5rem, 3.5vw, 2.2rem);
    margin-bottom: 24px;
    color: var(--gold-dark);
}

.text-col p {
    color: var(--text-medium);
    margin-bottom: 20px;
    font-size: 1.02rem;
    line-height: 1.7;
}

.text-col p:last-child {
    margin-bottom: 0;
}

@media (max-width: 900px) {
    .three-col-text {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

/* ---------- Contact Form ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--text-dark);
    margin-bottom: 6px;
    letter-spacing: 0.02em;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--cream-dark);
    border-radius: var(--radius-sm);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: var(--text-dark);
    background: var(--white);
    transition: all var(--transition);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 4px var(--gold-glow), inset 0 2px 4px rgba(0, 0, 0, 0.02);
    background: #fff;
}

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

/* ---------- Info Cards ---------- */
.info-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 32px 28px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(197, 160, 89, 0.08);
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.info-card::before,
.info-card-dubble::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--gold-light), var(--gold-dark));
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.info-card-dubble {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 32px 28px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(197, 160, 89, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 16px;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.info-card:hover,
.info-card-dubble:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(197, 160, 89, 0.2);
    transform: translateY(-4px);
}

.info-card:hover::before,
.info-card-dubble:hover::before {
    transform: scaleY(1);
}

.info-card-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
}

.info-card h4,
.info-card-dubble h4 {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 4px;
}

.info-card p,
.info-card-dubble p {
    color: var(--text-medium);
    font-size: 0.9rem;
    line-height: 1.6;
}

.info-cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

/* ---------- Emergency / Urgentie ---------- */
.emergency-banner {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--white);
    text-align: center;
    padding: 60px 24px;
    position: relative;
    overflow: hidden;
}

.emergency-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 100% 0%, rgba(255, 255, 255, 0.12), transparent 70%),
        radial-gradient(circle at 0% 100%, rgba(255, 255, 255, 0.08), transparent 70%);
}

.emergency-banner h1 {
    font-size: clamp(1.8rem, 5vw, 3rem);
    margin-bottom: 12px;
    position: relative;
}

.emergency-banner p {
    font-size: 1.1rem;
    opacity: 0.9;
    position: relative;
}

.emergency-phone {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    color: var(--white);
    margin: 28px 0;
    padding: 18px 40px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 60px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    animation: pulse-ring 2.5s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
    position: relative;
    transition: transform var(--transition);
}

.emergency-phone:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.15);
}

@keyframes pulse-ring {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
    }

    70% {
        box-shadow: 0 0 0 20px rgba(255, 255, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}



.emergency-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 16px;
}

.emergency-step {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 28px;
    text-align: left;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--gold);
}

.emergency-step .step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--gold);
    color: var(--white);
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.emergency-step h3 {
    font-size: 1.1rem;
    margin-bottom: 6px;
}

.emergency-step p {
    color: var(--text-medium);
    font-size: 0.93rem;
}

/* ---------- Page Header (inner pages) ---------- */
.page-header {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--white);
    text-align: center;
    padding: 70px 24px;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 100% 0%, rgba(255, 255, 255, 0.12), transparent 60%);
}

.page-header h1 {
    font-size: clamp(1.8rem, 5vw, 2.8rem);
    margin-bottom: 8px;
}

.page-header p {
    opacity: 0.9;
    font-size: 1.05rem;
}

/* ---------- Footer ---------- */
.site-footer {
    background: var(--text-dark);
    color: rgba(255, 255, 255, 0.75);
    padding: 60px 24px 24px;
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 36px;
    margin-bottom: 40px;
}

.footer-col h4 {
    font-family: 'Playfair Display', serif;
    color: var(--white);
    font-size: 1.15rem;
    margin-bottom: 16px;
}

.footer-col p,
.footer-col a {
    font-size: 0.9rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.65);
}

.footer-col a:hover {
    color: var(--gold-light);
}

.footer-col ul li {
    margin-bottom: 4px;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 24px;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.02em;
}

/* ---------- Google Map ---------- */
.map-container {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin-top: 24px;
}

.map-container iframe {
    width: 100%;
    height: 320px;
    border: 0;
}

/* ---------- Fade-in Animation ---------- */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ===================================================
   RESPONSIVE
   =================================================== */

@media (min-width: 768px) {

    /* Sections get more padding on larger screens */
    .section {
        padding: 80px 0;
    }

    .two-col {
        grid-template-columns: 1fr 1fr;
        gap: 48px;
    }

    .two-col img {
        max-height: 450px;
    }

    /* Side-by-side on tablet+: slider left, text right */
    .two-col-behandeling {
        flex-direction: row;
        align-items: center;
        gap: 40px;
    }

    .behandeling-slider-wrap {
        flex: 0 0 55%;
        max-width: 55%;
    }

    .two-col-behandeling .two-col-text {
        flex: 1;
    }

    /* Welcome block side by side */
    .welcome-block {
        flex-direction: row;
        align-items: center;
        gap: 48px;
    }

    .welcome-text {
        flex: 1 1 55%;
    }

    .welcome-stats {
        flex: 0 0 auto;
        flex-direction: column;
        gap: 16px;
        width: auto;
    }

    .welcome-stat {
        flex: none;
        min-width: 140px;
    }

    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }

    .info-cards-grid {
        grid-template-columns: 1fr 1fr;
    }

    .info-card-dubble {
        grid-column: span 2;
    }

    .emergency-steps {
        grid-template-columns: 1fr 1fr;
    }

    .footer-grid {
        grid-template-columns: 4fr 2fr 3fr;
    }
}

@media (min-width: 1024px) {
    .cards-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .cards-grid-3 {
        grid-template-columns: repeat(4, 1fr);
        max-width: 1000px;
        margin: 0 auto;
    }

    .emergency-steps {
        grid-template-columns: repeat(4, 1fr);
    }

    /* On large screens, welcome stats go back to horizontal row */
    .welcome-stats {
        flex-direction: row;
        gap: 20px;
    }

    .welcome-stat {
        min-width: 110px;
    }
}

/* Mobile nav */
@media (max-width: 767px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 80px 24px 24px;
        gap: 4px;
        box-shadow: -4px 0 24px rgba(0, 0, 0, 0.1);
        transition: right var(--transition);
        z-index: 1000;
    }

    .nav-links.open {
        right: 0;
    }

    .nav-links a {
        width: 100%;
        padding: 14px 18px;
        border-radius: var(--radius-sm);
        font-size: 1rem;
    }

    .hero {
        min-height: 70vh;
    }

    .page-header {
        padding: 40px 16px;
    }

    /* Cards stack to single column on mobile */
    .cards-grid {
        grid-template-columns: 1fr;
    }

    .card {
        padding: 28px 20px;
    }

    /* Section title smaller on mobile */
    .section-title {
        margin-bottom: 32px;
    }

    /* Buttons full width on small screens */
    .btn {
        width: 100%;
        justify-content: center;
    }

    /* hero buttons stack */
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    /* footer stack */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    /* Three col → one col */
    .three-col-text {
        grid-template-columns: 1fr;
    }

    /* emergency steps stack */
    .emergency-steps {
        grid-template-columns: 1fr;
    }

    /* nav logo text shorter on very small screens */
    @media (max-width: 380px) {
        .nav-logo {
            font-size: 1rem;
        }
    }
}

/* ---------- Automatic Slider ---------- */
.slider-container {
    width: 100%;
    max-width: 1200px;
    margin: 40px auto;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    position: relative;
}

.slider {
    display: flex;
    transition: transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide {
    min-width: 100%;
    position: relative;
}

.slide img {
    width: 100%;
    /* Mobile-first: compact height on small screens */
    height: 250px;
    object-fit: cover;
    display: block;
}

@media (min-width: 600px) {
    .slide img {
        height: 380px;
    }
}

@media (min-width: 1024px) {
    .slide img {
        height: 500px;
    }
}

/* ══════════════════════════════════════════════
   TEXT SCROLLER  (about.html)
   ══════════════════════════════════════════════ */

/* Gradient-border wrapper — same gradient as .page-header */
.scroller-wrap {
    background: linear-gradient(135deg,
            var(--gold-light) 0%,
            var(--gold) 50%,
            var(--gold-dark) 100%);
    padding: 3px;
    border-radius: var(--radius-lg);
    max-width: 780px;
    margin: 0 auto;
    box-shadow: var(--shadow-gold);
}

.scroller-inner {
    background: var(--cream);
    border-radius: calc(var(--radius-lg) - 3px);
    padding: 48px 52px 40px;
    display: flex;
    flex-direction: column;
}

#scrollerTrack {
    position: relative;
    height: 385px;
    overflow: hidden;
}

/* All slides sit stacked on top of each other */
.scroller-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.45s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

/* Outgoing slide slides left */
.scroller-slide.leaving {
    opacity: 0;
    transform: translateX(-40px);
    pointer-events: none;
}

/* Active (visible) slide */
.scroller-slide.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.scroller-slide h2 {
    font-size: clamp(1.4rem, 3vw, 2rem);
    color: var(--gold-dark);
    margin-bottom: 18px;
}

.scroller-slide p {
    color: var(--text-medium);
    font-size: 0.9rem;
    line-height: 1.75;
    margin-bottom: 12px;
}

.scroller-slide p:last-child {
    margin-bottom: 0;
}

/* Controls row */
.scroller-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 28px;
    gap: 16px;
}

/* Arrow buttons */
.scroller-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    background: linear-gradient(135deg,
            var(--gold-light) 0%,
            var(--gold) 50%,
            var(--gold-dark) 100%);
    color: #fff;
    flex-shrink: 0;
    transition: transform var(--transition), box-shadow var(--transition);
    box-shadow: var(--shadow-gold);
}

.scroller-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(192, 149, 97, 0.45);
}

.scroller-btn:active {
    transform: scale(0.96);
}

.scroller-btn svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Dot indicators */
#scrollerDots {
    display: flex;
    gap: 8px;
    align-items: center;
}

.scroller-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    background: var(--gold-light);
    opacity: 0.4;
    padding: 0;
    transition: opacity var(--transition), transform var(--transition), background var(--transition);
}

.scroller-dot.active {
    opacity: 1;
    background: var(--gold-dark);
    transform: scale(1.35);
}

@media (min-width: 600px) {

    /* On larger screens the text wraps less, so we can use a shorter track */
    #scrollerTrack {
        height: 380px;
    }
}

@media (min-width: 900px) {
    #scrollerTrack {
        height: 280px;
    }
}

@media (max-width: 600px) {
    .scroller-inner {
        padding: 28px 16px 20px;
    }
}

/* Background watermark image on the "Praktijkmanager" slide */
.scroller-slide--has-img h2,
.scroller-slide--has-img p {
    position: relative;
    z-index: 1;
}

.scroller-img {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    height: 100%;
    width: auto;
    object-fit: cover;
    opacity: 0.12;
    z-index: 0;
    pointer-events: none;
    border-radius: var(--radius-md);
}

@media (max-width: 767px) {
    .scroller-img {
        right: 50%;
        transform: translate(50%, -50%);
        height: 65%;
        width: 100%;
        object-fit: contain;
    }
}

/* ---------- Custom Modal (Success Popup) ---------- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    text-align: center;
    max-width: 480px;
    width: 90%;
    transform: scale(0.9);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: var(--shadow-lg);
    border-top: 5px solid var(--gold);
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-icon {
    width: 64px;
    height: 64px;
    background: var(--gold-glow);
    color: var(--gold-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 2rem;
}

.modal-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.modal-text {
    color: var(--text-medium);
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 32px;
}

.modal-close-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 32px;
    border-radius: 50px;
    background: var(--gold);
    color: var(--white);
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
}

.modal-close-btn:hover {
    background: var(--gold-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(197, 160, 89, 0.3);
}