/* Kennis van Zorg - Design from reference */
@import url('https://fonts.googleapis.com/css2?family=Crimson+Pro:wght@300;400;600;700&family=Work+Sans:wght@300;400;500;600&display=swap');

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

:root {
    --hero-image: url('../images/hero-home.jpg');
    --hero-about: url('../images/hero-about.jpg');
    --hero-services: url('../images/hero-services.jpg');
    --hero-contact: url('../images/hero-contact.jpg');
    --hero-klachtregeling: url('../images/hero-klachtregeling.jpg');
    --burgundy: #8a2d53;
    --terracotta: #f07153;
    --coral: #ff987e;
    --sage: #6ea899;
    --mint: #a9ddcc;
    --mustard: #f0c86d;
    --cream: #f6fbff;
    --warm-white: #ffffff;
    --sage-blue: #77a8b8;
    --soft-blue: #d5eaf1;
    --text-dark: #243842;
}

body {
    font-family: 'Work Sans', sans-serif;
    color: var(--text-dark);
    background:
        radial-gradient(circle at 12% 12%, rgba(112, 209, 187, 0.1), transparent 34%),
        radial-gradient(circle at 90% 4%, rgba(240, 113, 83, 0.09), transparent 28%),
        var(--warm-white);
    line-height: 1.6;
    overflow-x: hidden;
}


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

/* Header */
header {
    position: relative;
    padding: 2rem 5%;
    background: rgba(255, 255, 255, 0.88);
    color: var(--text-dark);
    border-bottom: 1px solid rgba(119, 168, 184, 0.2);
    backdrop-filter: blur(12px);
    z-index: 10;
}

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

.logo {
    font-family: 'Crimson Pro', serif;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--burgundy);
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}

.logo-icon {
    width: 30px;
    height: 30px;
    display: block;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu li a {
    color: rgba(36, 56, 66, 0.9);
    text-decoration: none;
    font-weight: 400;
    padding: 0.5rem 0;
    font-size: 0.95rem;
    letter-spacing: 0.03em;
    position: relative;
    transition: color 0.25s ease;
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--burgundy);
    transition: width 0.25s ease;
}

.nav-menu li a:hover {
    color: var(--burgundy);
}

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

.nav-menu li a.active {
    color: var(--burgundy);
    font-weight: 600;
}

.nav-menu li a.nav-cta {
    background: linear-gradient(135deg, var(--burgundy), var(--terracotta));
    padding: 0.4rem 1.2rem;
    border-radius: 20px;
    border: 1px solid rgba(138, 45, 83, 0.2);
    color: #fff;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.nav-menu li a.nav-cta:hover {
    background: linear-gradient(135deg, #9c3560, #f4876f);
    border-color: rgba(138, 45, 83, 0.25);
}

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

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--burgundy);
    cursor: pointer;
    padding: 0.5rem;
}

.contact-link {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-weight: 400;
    font-size: 0.95rem;
    letter-spacing: 0.03em;
    transition: color 0.25s ease;
    border-bottom: 1px solid transparent;
    padding-bottom: 2px;
}

.contact-link:hover {
    color: white;
    border-bottom-color: white;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 8rem 5% 6rem;
    text-align: center;
    z-index: 1;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out;
}

.hero h1 {
    font-family: 'Crimson Pro', serif;
    font-size: 4.5rem;
    font-weight: 700;
    color: var(--burgundy);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--terracotta);
    margin-bottom: 2rem;
    font-weight: 300;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-dark);
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: 1.8;
}

/* Hero Section - Full-width photo layout (homepage) */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 5% 4rem;
    background-color: #6c8f99;
    background-image:
        linear-gradient(rgba(36, 56, 66, 0.34), rgba(36, 56, 66, 0.42)),
        var(--hero-image);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-section .hero-overlay {
    display: none;
}

.hero-section .hero-content {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    color: white;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-section .hero-subtitle {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.4rem;
    font-weight: 400;
    margin-bottom: 2.5rem;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.2);
}

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

.hero-cta {
    animation: fadeInUp 1s ease-out 0.2s backwards;
}

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

.hero-btn-light {
    border-color: #fff;
    color: #fff;
}

.trust-indicators {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem 2.5rem;
    animation: fadeInUp 1s ease-out 0.4s backwards;
}

.trust-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.95rem;
    font-weight: 500;
}

.trust-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* Header scroll-reveal (transparent at top, solid on scroll) */
.header-scroll-reveal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: transparent;
    border-bottom-color: transparent;
    transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.header-scroll-reveal.header-active {
    background: rgba(255, 255, 255, 0.92);
    border-bottom-color: rgba(119, 168, 184, 0.24);
    box-shadow: 0 8px 26px rgba(39, 67, 80, 0.12);
}

body:not(:has(.header-scroll-reveal)) header {
    position: relative;
}

body:has(.header-scroll-reveal) {
    padding-top: 0;
}

body:has(.header-scroll-reveal) .hero-section {
    margin-top: 0;
}

/* Hero with image - subpages (about, services, contact, klachtregeling) */
.hero-with-image {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 5% 4rem;
    background-color: #6c8f99;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
}

.hero-with-image.hero-about {
    background-image: linear-gradient(rgba(36, 56, 66, 0.36), rgba(36, 56, 66, 0.44)), var(--hero-about);
}

.hero-with-image.hero-services {
    background-image: linear-gradient(rgba(36, 56, 66, 0.36), rgba(36, 56, 66, 0.44)), var(--hero-services);
}

.hero-with-image.hero-contact {
    background-image: linear-gradient(rgba(36, 56, 66, 0.36), rgba(36, 56, 66, 0.44)), var(--hero-contact);
}

.hero-with-image.hero-klachtregeling {
    background-image: linear-gradient(rgba(36, 56, 66, 0.36), rgba(36, 56, 66, 0.44)), var(--hero-klachtregeling);
}

.hero-with-image h1 {
    color: white;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-with-image .hero-subtitle {
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.2);
}

.breadcrumbs {
    padding: 1rem 5%;
    background: var(--cream);
    border-bottom: 1px solid rgba(119, 168, 184, 0.2);
}

.breadcrumb-trail {
    max-width: 1200px;
    margin: 0 auto;
    font-size: 0.95rem;
    color: rgba(44, 24, 16, 0.72);
}

.breadcrumb-trail a {
    color: var(--burgundy);
    text-decoration: none;
    font-weight: 500;
}

.breadcrumb-trail a:hover {
    text-decoration: underline;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
    position: relative;
    z-index: 1;
}

/* Sections */
section {
    position: relative;
    padding: 4rem 5%;
    z-index: 1;
}

.section-title {
    font-family: 'Crimson Pro', serif;
    font-size: 3rem;
    text-align: center;
    color: var(--burgundy);
    margin-bottom: 3.25rem;
    font-weight: 700;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--burgundy), var(--terracotta));
    margin: 1rem auto 0;
    border-radius: 2px;
}

/* Service Cards */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-bottom: 3rem;
}

/* AGT: cards in a single column — specialized care, then Zorgdomein, then locations */
.services-grid--agt {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.services-grid--agt .agt-huisarts-list {
    margin-top: 0.5rem;
    padding-left: 1.25rem;
    line-height: 1.6;
    font-size: 0.95rem;
}

.services-grid--agt .agt-huisarts-list li + li {
    margin-top: 0.35rem;
}

.agt-zorgdomein-footnote {
    margin-top: 1rem;
    margin-bottom: 0;
    font-size: 0.95rem;
    line-height: 1.55;
}

.service-card {
    background: white;
    padding: 3rem 2.5rem;
    border-radius: 16px;
    border: 1px solid rgba(119, 168, 184, 0.16);
    box-shadow: 0 10px 28px rgba(39, 67, 80, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s ease-out backwards;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--terracotta), var(--coral));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

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

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 38px rgba(39, 67, 80, 0.14);
}

.service-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    transition: transform 0.4s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.05);
}

.service-card:nth-child(1) .service-icon,
.service-card:nth-of-type(1) .service-icon {
    background: linear-gradient(135deg, var(--terracotta), var(--coral));
}

.service-card:nth-child(2) .service-icon,
.service-card:nth-of-type(2) .service-icon {
    background: linear-gradient(135deg, var(--mint), var(--sage));
}

.service-card h3 {
    font-family: 'Crimson Pro', serif;
    font-size: 1.8rem;
    color: var(--burgundy);
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-card p {
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.service-details {
    background: var(--warm-white);
    padding: 1.5rem;
    border-radius: 4px;
    margin-top: 1.5rem;
    border-left: 3px solid var(--mustard);
}

.service-details strong {
    color: var(--burgundy);
    display: block;
    margin-bottom: 0.5rem;
}

/* Service card with image */
.service-card-with-image {
    background: white;
    border-radius: 16px;
    border: 1px solid rgba(119, 168, 184, 0.16);
    box-shadow: 0 10px 28px rgba(39, 67, 80, 0.08);
    transition: all 0.3s ease;
    overflow: hidden;
    animation: fadeInUp 0.8s ease-out backwards;
    position: relative;
}

.service-card-with-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--terracotta), var(--coral));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
    z-index: 1;
}

.service-card-with-image:hover::before {
    transform: scaleX(1);
}

.service-card-with-image:nth-child(1) { animation-delay: 0.1s; }
.service-card-with-image:nth-child(2) { animation-delay: 0.2s; }
.service-card-with-image:nth-child(3) { animation-delay: 0.3s; }
.service-card-with-image:nth-child(4) { animation-delay: 0.1s; }
.service-card-with-image:nth-child(5) { animation-delay: 0.2s; }
.service-card-with-image:nth-child(6) { animation-delay: 0.3s; }
.service-card-with-image:nth-child(7) { animation-delay: 0.1s; }
.service-card-with-image:nth-child(8) { animation-delay: 0.2s; }
.service-card-with-image:nth-child(9) { animation-delay: 0.3s; }

.service-card-with-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 38px rgba(39, 67, 80, 0.14);
}

.service-card-image {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    display: block;
    background: linear-gradient(135deg, var(--sage-blue), var(--soft-blue));
}

.service-card-with-image .service-card-body {
    padding: 2rem 2rem;
}

.service-card-with-image h3 {
    font-family: 'Crimson Pro', serif;
    font-size: 1.5rem;
    color: var(--burgundy);
    margin-bottom: 0.75rem;
    font-weight: 600;
    line-height: 1.3;
}

.service-card-with-image .service-card-body p {
    color: var(--text-dark);
    line-height: 1.7;
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
}

.service-card-with-image .service-details {
    margin-top: 1rem;
    padding: 1.25rem;
    background: var(--cream);
    border-radius: 12px;
    border-left: 3px solid var(--sage-blue);
}

.service-card-with-image .service-details strong {
    font-size: 0.9rem;
}

.service-card-with-image .service-details ul,
.service-card-with-image .service-details ol {
    margin-top: 0.5rem;
    padding-left: 1.25rem;
}

.service-card-with-image .cta-button {
    margin-top: 1rem;
    display: inline-block;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 2.25rem;
    border-radius: 999px;
    font-weight: 500;
    text-align: center;
    transition: all 0.25s ease;
    cursor: pointer;
    border: none;
    font-size: 0.95rem;
    text-decoration: none;
    letter-spacing: 0.02em;
}

/* Base styles for cta-button (anchors used as buttons) */
.cta-button {
    display: inline-block;
    padding: 0.875rem 2.25rem;
    border-radius: 999px;
    font-weight: 500;
    text-align: center;
    transition: all 0.25s ease;
    text-decoration: none;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
}

.btn-primary,
.cta-button {
    background: linear-gradient(135deg, var(--burgundy), var(--terracotta));
    color: white;
    box-shadow: 0 8px 20px rgba(138, 45, 83, 0.24);
}

.btn-primary:hover,
.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(138, 45, 83, 0.28);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--mint), var(--sage));
    color: white;
}

.btn-soft {
    background: linear-gradient(135deg, var(--sage-blue), var(--soft-blue));
    color: white;
}

.btn-soft:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(139, 163, 168, 0.35);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(122, 155, 127, 0.35);
}

.btn-outline {
    background: transparent;
    color: var(--burgundy);
    border: 1.5px solid rgba(138, 45, 83, 0.55);
}

.btn-outline:hover {
    background: linear-gradient(135deg, var(--burgundy), var(--terracotta));
    color: white;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1.5px solid #dde2e5;
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
    background-color: white;
    transition: all 0.25s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--terracotta);
    box-shadow: 0 0 0 3px rgba(217, 92, 62, 0.1);
}

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

/* Content Sections */
.content-section {
    padding: 2rem 0;
}

.content-section h2 {
    font-family: 'Crimson Pro', serif;
    font-size: 3rem;
    color: var(--burgundy);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.content-section h3 {
    font-family: 'Crimson Pro', serif;
    font-size: 1.8rem;
    color: var(--burgundy);
    margin-bottom: 1rem;
    font-weight: 600;
}

.content-section p {
    margin-bottom: 1rem;
    color: var(--text-dark);
    line-height: 1.8;
}

.content-section ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.content-section li {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    line-height: 1.8;
}

.content-section ol {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    margin-bottom: 2rem;
    font-family: 'Crimson Pro', serif;
    color: var(--burgundy);
    font-size: 2rem;
}

.section-subtitle--left {
    text-align: left;
}

.stack-md {
    margin-top: 1rem;
}

.stack-lg {
    margin-top: 2rem;
}

.stack-xl {
    margin-top: 4rem;
}

.mb-lg {
    margin-bottom: 3rem;
}

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

.list-compact {
    margin-top: 0.5rem;
    padding-left: 1.5rem;
}

/* Info Box */
.info-box {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid rgba(119, 168, 184, 0.16);
    box-shadow: 0 10px 28px rgba(39, 67, 80, 0.08);
    margin: 2rem 0;
    border-left: 3px solid var(--mustard);
}

.info-box h3 {
    font-family: 'Crimson Pro', serif;
    color: var(--burgundy);
    margin-bottom: 1rem;
}

.info-box p {
    margin-bottom: 0.5rem;
}

/* Contact Info */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.contact-item {
    padding: 2rem;
    background: white;
    border-radius: 16px;
    border: 1px solid rgba(119, 168, 184, 0.16);
    box-shadow: 0 10px 28px rgba(39, 67, 80, 0.08);
}

.contact-item h3 {
    font-family: 'Crimson Pro', serif;
    color: var(--burgundy);
    margin-bottom: 0.5rem;
}

.contact-item a {
    color: var(--terracotta);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 2px solid var(--terracotta);
    transition: all 0.3s ease;
}

.contact-item a:hover {
    color: var(--burgundy);
    border-bottom-color: var(--burgundy);
}

.email-link {
    color: var(--terracotta);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 2px solid var(--terracotta);
    transition: all 0.3s ease;
}

.email-link:hover {
    color: var(--burgundy);
    border-bottom-color: var(--burgundy);
}

/* Contact image section */
.contact-image-section {
    margin-bottom: 2rem;
}

.contact-image-section img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.contact-with-image {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

/* About Section */
.about {
    position: relative;
    padding: 5rem 5%;
    background: linear-gradient(180deg, var(--warm-white) 0%, var(--cream) 100%);
    z-index: 1;
}

.about-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.about-content {
    background: white;
    padding: 3rem;
    border-radius: 16px;
    border: 1px solid rgba(119, 168, 184, 0.16);
    box-shadow: 0 10px 28px rgba(39, 67, 80, 0.08);
    line-height: 1.9;
    font-size: 1.1rem;
    text-align: left;
}

/* About split layout (image + text) */
.about-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto 3rem;
}

.about-split-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 12px 28px rgba(39, 67, 80, 0.14);
}

.about-split-text {
    text-align: left;
}

.highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.highlight-item {
    padding: 2rem;
    background: var(--warm-white);
    border-radius: 14px;
    border: 1px solid transparent;
    border-bottom: 2px solid var(--cream);
    transition: all 0.3s ease;
}

.highlight-item:hover {
    border-color: var(--sage-blue);
    border-bottom-color: var(--sage-blue);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.07);
}

/* Workflow Section (Werkwijze) */
.workflow-section {
    background: linear-gradient(180deg, var(--warm-white) 0%, var(--cream) 100%);
}

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

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

.workflow-step {
    text-align: center;
    padding: 2.5rem 2rem;
    background: white;
    border-radius: 16px;
    border: 1px solid rgba(119, 168, 184, 0.16);
    box-shadow: 0 10px 28px rgba(39, 67, 80, 0.08);
    transition: all 0.3s ease;
    position: relative;
}

.workflow-step:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 38px rgba(39, 67, 80, 0.14);
}

.workflow-step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--sage-blue), var(--soft-blue));
    color: white;
    font-family: 'Crimson Pro', serif;
    font-size: 1.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.workflow-step-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
    margin: 0 auto 1rem;
    display: block;
    background: linear-gradient(135deg, var(--sage-blue), var(--soft-blue));
}

.workflow-step h4 {
    font-family: 'Crimson Pro', serif;
    font-size: 1.4rem;
    color: var(--burgundy);
    margin-bottom: 1rem;
    font-weight: 600;
}

.workflow-step p {
    color: var(--text-dark);
    line-height: 1.8;
    font-size: 1rem;
}

@media (min-width: 992px) {
    .workflow {
        display: flex;
        gap: 2rem;
    }

    .workflow-step {
        flex: 1;
    }

    .workflow-step:not(:last-child)::after {
        content: '';
        position: absolute;
        top: 30px;
        left: calc(100% + 0.9rem);
        width: calc(2rem - 0.8rem);
        border-top: 2px dashed rgba(139, 163, 168, 0.8);
        z-index: 0;
    }
}

/* Trust Badges / Waarom Section */
.trust-badges {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.trust-badge {
    padding: 2rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 28px rgba(39, 67, 80, 0.08);
    border-left: 3px solid var(--sage-blue);
    transition: all 0.3s ease;
}

.trust-badge:nth-child(1) { border-left-color: var(--terracotta); }
.trust-badge:nth-child(2) { border-left-color: var(--sage); }
.trust-badge:nth-child(3) { border-left-color: var(--mustard); }
.trust-badge:nth-child(4) { border-left-color: var(--sage-blue); }

.trust-badge:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 38px rgba(39, 67, 80, 0.14);
}

.trust-badge-image {
    width: 76px;
    height: 76px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 1rem;
    border: 2px solid rgba(139, 163, 168, 0.28);
    background: linear-gradient(135deg, var(--sage-blue), var(--soft-blue));
}

.trust-badge h4 {
    font-family: 'Crimson Pro', serif;
    font-size: 1.2rem;
    color: var(--burgundy);
    margin-bottom: 0.5rem;
}

.trust-badge p {
    color: var(--text-dark);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Wat maakt onze aanpak uniek */
.uniek-list {
    list-style: none;
    margin: 2rem 0;
    padding: 0;
}

.uniek-list li {
    padding: 1rem 1.5rem;
    margin-bottom: 0.75rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(39, 67, 80, 0.08);
    border-left: 3px solid var(--sage-blue);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.uniek-list li::before {
    content: '✓';
    color: var(--sage-blue);
    font-weight: 700;
    font-size: 1.2rem;
}

.highlight-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 1rem;
    color: var(--terracotta);
    display: flex;
    align-items: center;
    justify-content: center;
}

.highlight-icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
}

.highlight-item h4 {
    font-family: 'Crimson Pro', serif;
    font-size: 1.3rem;
    color: var(--burgundy);
    margin-bottom: 0.5rem;
}

/* Complaints Section */
.complaints {
    position: relative;
    padding: 4rem 5%;
    background: var(--cream);
    z-index: 1;
}

.complaints-container {
    max-width: 800px;
    margin: 0 auto;
}

.complaints-container > h2 {
    font-family: 'Crimson Pro', serif;
    font-size: 2.3rem;
    color: var(--burgundy);
    margin-bottom: 1.5rem;
}

.complaints-content {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid rgba(119, 168, 184, 0.16);
    box-shadow: 0 10px 28px rgba(39, 67, 80, 0.08);
}

.complaints-content p {
    margin: 0;
    line-height: 1.85;
}

.complaints-content p + p {
    margin-top: 1.15rem;
}

.complaints-content .complaints-subheading {
    font-family: 'Crimson Pro', serif;
    color: var(--burgundy);
    font-size: 1.35rem;
    margin-top: 1.75rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.complaints-content .complaints-subheading:first-child {
    margin-top: 0;
}

.complaints-contact {
    background: linear-gradient(135deg, rgba(107, 27, 61, 0.07), rgba(44, 24, 16, 0.05));
    border: 1px solid rgba(107, 27, 61, 0.18);
    border-radius: 8px;
    padding: 1.25rem 1.5rem;
    margin: 1rem 0 1.5rem;
}

.complaints-contact strong {
    display: block;
    margin-bottom: 0.35rem;
    color: var(--burgundy);
}

.complaints-contact .email-link {
    font-size: 1.1rem;
}

.complaints-footnote {
    margin-top: 2rem;
    padding-top: 1.1rem;
    border-top: 1px solid rgba(119, 168, 184, 0.24);
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
}

/* Footer */
footer {
    position: relative;
    background: linear-gradient(135deg, #7e2a4c 0%, #ed7f66 100%);
    color: white;
    padding: 3rem 5%;
    text-align: center;
    z-index: 10;
}

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

.footer-section h3 {
    font-family: 'Crimson Pro', serif;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: white;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.5rem;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    line-height: 2;
}

.footer-section ul li {
    margin: 0;
}

.footer-section a {
    color: white;
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.footer-section a:hover {
    opacity: 1;
    text-decoration: underline;
}

.footer-links {
    margin: 2rem 0;
}

.footer-links a {
    color: white;
    text-decoration: none;
    margin: 0 1rem;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
    text-decoration: underline;
}

.footer-bottom {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 0.8;
    font-size: 0.9rem;
}

.footer-bottom a {
    color: white;
    text-decoration: underline;
}

.contact-banner {
    background: linear-gradient(135deg, #7e2a4c 0%, #ed7f66 100%);
    color: white;
    padding: 2.5rem 5%;
}

.contact-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 1rem 2rem;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.contact-banner-content p {
    font-family: 'Crimson Pro', serif;
    font-size: 1.9rem;
    line-height: 1.25;
}

.contact-banner-content .btn-outline {
    border-color: white;
    color: white;
}

.contact-banner-content .btn-outline:hover {
    background: white;
    color: var(--burgundy);
}

.in-view {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Scroll-to-top button */
.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--burgundy), var(--terracotta));
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 22px rgba(138, 45, 83, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    z-index: 100;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(138, 45, 83, 0.34);
}

.scroll-to-top svg {
    width: 24px;
    height: 24px;
}

/* Cookie consent */
.cookie-consent {
    position: fixed;
    left: 50%;
    bottom: 1.5rem;
    width: min(calc(100% - 2rem), 980px);
    transform: translate(-50%, 24px);
    background: rgba(255, 255, 255, 0.98);
    color: var(--text-dark);
    border: 1px solid rgba(119, 168, 184, 0.22);
    border-radius: 24px;
    box-shadow: 0 18px 48px rgba(36, 56, 66, 0.18);
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1.5rem;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
}

.cookie-consent.visible {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

.cookie-consent__eyebrow {
    color: var(--burgundy);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    margin-bottom: 0.35rem;
    text-transform: uppercase;
}

.cookie-consent h2 {
    font-family: 'Crimson Pro', serif;
    font-size: 1.75rem;
    line-height: 1.1;
    color: var(--burgundy);
    margin-bottom: 0.5rem;
}

.cookie-consent p {
    color: rgba(36, 56, 66, 0.82);
    margin-bottom: 0;
}

.cookie-consent a {
    color: var(--burgundy);
    font-weight: 600;
}

.cookie-consent__preferences {
    display: grid;
    gap: 0.75rem;
    margin-top: 1rem;
}

.cookie-consent__preferences[hidden] {
    display: none;
}

.cookie-consent__option {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.75rem;
    align-items: flex-start;
    padding: 0.85rem;
    background: rgba(213, 234, 241, 0.42);
    border-radius: 16px;
}

.cookie-consent__option input {
    width: 18px;
    height: 18px;
    margin-top: 0.18rem;
    accent-color: var(--burgundy);
}

.cookie-consent__option span {
    color: rgba(36, 56, 66, 0.82);
    font-size: 0.92rem;
}

.cookie-consent__option strong {
    display: block;
    color: var(--text-dark);
    margin-bottom: 0.15rem;
}

.cookie-consent__actions {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.7rem;
    min-width: 180px;
}

.cookie-consent__button,
.cookie-consent-manage {
    border: none;
    border-radius: 999px;
    cursor: pointer;
    font-family: inherit;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.cookie-consent__button {
    padding: 0.75rem 1.15rem;
}

.cookie-consent__button--primary {
    background: linear-gradient(135deg, var(--burgundy), var(--terracotta));
    color: white;
    box-shadow: 0 8px 20px rgba(138, 45, 83, 0.2);
}

.cookie-consent__button--ghost {
    background: rgba(213, 234, 241, 0.58);
    color: var(--burgundy);
}

.cookie-consent__button:hover,
.cookie-consent-manage:hover {
    transform: translateY(-2px);
}

.cookie-consent-manage {
    position: fixed;
    left: 1.25rem;
    bottom: 1.25rem;
    padding: 0.65rem 1rem;
    background: rgba(255, 255, 255, 0.95);
    color: var(--burgundy);
    border: 1px solid rgba(119, 168, 184, 0.28);
    box-shadow: 0 8px 24px rgba(36, 56, 66, 0.13);
    opacity: 0;
    visibility: hidden;
    z-index: 101;
}

.cookie-consent-manage.visible {
    opacity: 1;
    visibility: visible;
}

.policy-page {
    padding: 4rem 5%;
    background:
        radial-gradient(circle at 15% 18%, rgba(169, 221, 204, 0.18), transparent 28%),
        var(--cream);
}

.policy-card {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(119, 168, 184, 0.2);
    border-radius: 24px;
    box-shadow: 0 16px 42px rgba(36, 56, 66, 0.08);
}

.policy-card h2,
.policy-card h3 {
    color: var(--burgundy);
}

.policy-card h2 {
    font-family: 'Crimson Pro', serif;
    font-size: 2.4rem;
    margin-bottom: 1rem;
}

.policy-card h3 {
    margin-top: 2rem;
    margin-bottom: 0.65rem;
}

.policy-card p {
    color: rgba(36, 56, 66, 0.84);
    margin-bottom: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.98);
        border-top: 1px solid rgba(119, 168, 184, 0.18);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        gap: 1rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 0;
    }

    .nav-menu li a {
        display: block;
        width: 90%;
        margin: 0 auto;
        color: var(--text-dark);
    }

    .nav-menu li a.nav-cta {
        max-width: 240px;
        color: #fff;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero-section {
        background-attachment: scroll;
        min-height: 85vh;
    }

    .hero-section .hero-subtitle {
        font-size: 1.15rem;
    }

    .trust-indicators {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-with-image {
        background-attachment: scroll;
        min-height: 50vh;
    }

    .about-split {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-split-image {
        order: -1;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

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

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

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

    .trust-badges {
        grid-template-columns: 1fr;
    }

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

    .contact-banner-content p {
        font-size: 1.55rem;
    }

    .complaints-container > h2 {
        font-size: 1.95rem;
    }

    .header-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .cookie-consent {
        grid-template-columns: 1fr;
        bottom: 1rem;
        max-height: calc(100vh - 2rem);
        overflow-y: auto;
        padding: 1.2rem;
    }

    .cookie-consent__actions {
        min-width: 0;
    }

    .policy-card {
        padding: 2rem;
    }

    /* Keep logo and hamburger on one row - only nav-menu slides in */
}

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

    .hero-section h1 {
        font-size: 2.2rem;
    }

    .hero-section .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .content-section h2 {
        font-size: 2rem;
    }

    .btn {
        width: 100%;
        padding: 0.875rem 1.5rem;
    }

    .service-card {
        padding: 2rem 1.5rem;
    }

    .cookie-consent {
        border-radius: 18px;
    }

    .cookie-consent__button {
        width: 100%;
    }

    .cookie-consent-manage {
        left: 0.75rem;
        bottom: 0.75rem;
        max-width: calc(100% - 1.5rem);
    }

    .policy-card {
        padding: 1.5rem;
    }
}

/* Partners logo marquee */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.partners-section {
    position: relative;
    overflow: hidden;
    padding-top: 2.5rem;
    padding-bottom: 2.75rem;
    background: linear-gradient(180deg, var(--cream) 0%, rgba(244, 246, 248, 0.92) 50%, var(--warm-white) 100%);
}

/* Soft ambient shapes — slow drift, no repetition of partner names */
.partners-section::before,
.partners-section::after {
    content: '';
    position: absolute;
    pointer-events: none;
    z-index: 0;
    border-radius: 50%;
    filter: blur(48px);
}

.partners-section::before {
    width: min(55vw, 380px);
    height: min(55vw, 380px);
    left: max(-8%, -2rem);
    top: 20%;
    background: radial-gradient(
        circle at 40% 35%,
        rgba(107, 27, 61, 0.14) 0%,
        rgba(217, 92, 62, 0.06) 45%,
        transparent 70%
    );
    animation: partnersAmbientLeft 22s ease-in-out infinite alternate;
}

.partners-section::after {
    width: min(50vw, 340px);
    height: min(50vw, 340px);
    right: max(-6%, -1.5rem);
    bottom: 5%;
    background: radial-gradient(
        circle at 60% 50%,
        rgba(122, 155, 127, 0.12) 0%,
        rgba(217, 92, 62, 0.07) 50%,
        transparent 68%
    );
    animation: partnersAmbientRight 26s ease-in-out infinite alternate;
}

@keyframes partnersAmbientLeft {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 0.85;
    }
    100% {
        transform: translate(28px, -18px) scale(1.06);
        opacity: 1;
    }
}

@keyframes partnersAmbientRight {
    0% {
        transform: translate(0, 0) scale(1.02);
        opacity: 0.8;
    }
    100% {
        transform: translate(-22px, 14px) scale(1.08);
        opacity: 1;
    }
}

.section-title--partners {
    margin-bottom: 1.75rem;
}

/* Animated accent line under this heading only */
.section-title--partners::after {
    width: min(44%, 160px);
    height: 3px;
    background: linear-gradient(
        90deg,
        var(--burgundy),
        var(--terracotta),
        var(--sage),
        var(--terracotta),
        var(--burgundy)
    );
    background-size: 220% 100%;
    animation: partnersTitleLine 10s ease-in-out infinite alternate;
}

@keyframes partnersTitleLine {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 100% 50%;
    }
}

/* Keep partner heading centered (matches other sections) */
.partners-section .container {
    position: relative;
    z-index: 1;
    text-align: center;
}

.partners-strip {
    position: relative;
    z-index: 1;
    list-style: none;
    margin: 0 auto;
    padding: 0.5rem 0 0;
    max-width: 960px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 1rem 1.25rem;
}

.partners-card {
    flex: 0 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: clamp(140px, 20vw, 188px);
    height: clamp(140px, 20vw, 188px);
    padding: 1rem 1.1rem;
    background: #fff;
    border: 1px solid rgba(44, 24, 16, 0.12);
    border-radius: 12px;
    animation: partnersCardIn 0.55s ease-out backwards;
    transition:
        transform 0.35s cubic-bezier(0.33, 1, 0.68, 1),
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}

.partners-card:hover,
.partners-card:focus-within {
    transform: translateY(-5px);
    border-color: rgba(107, 27, 61, 0.22);
    box-shadow:
        0 10px 28px rgba(107, 27, 61, 0.1),
        0 4px 10px rgba(44, 24, 16, 0.06);
}

.partners-card:focus-within {
    outline: none;
}

.partners-card-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 0;
    text-decoration: none;
    color: inherit;
    border-radius: 11px;
    outline-offset: 2px;
}

.partners-card-link:focus {
    outline: none;
}

.partners-card-link:focus-visible {
    outline: 2px solid var(--burgundy);
    outline-offset: 3px;
}

.partners-card:nth-child(1) {
    animation-delay: 0.04s;
}

.partners-card:nth-child(2) {
    animation-delay: 0.1s;
}

.partners-card:nth-child(3) {
    animation-delay: 0.16s;
}

.partners-card:nth-child(4) {
    animation-delay: 0.22s;
}

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

.partners-logo {
    display: block;
    max-height: min(72px, 11vw);
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center;
    filter: grayscale(100%);
    opacity: 0.92;
    transition: filter 0.45s ease, opacity 0.45s ease;
}

.partners-card:hover .partners-logo,
.partners-card:focus-within .partners-logo {
    filter: grayscale(35%);
    opacity: 1;
}

/* Raster logo from geri-docs.nl (favicon); allow a bit more room than flat SVGs */
.partners-logo--geri-docs {
    max-height: min(88px, 14vw);
}

@media (prefers-reduced-motion: reduce) {
    .partners-section::before,
    .partners-section::after {
        animation: none;
    }

    .section-title--partners::after {
        animation: none;
        background: linear-gradient(90deg, var(--burgundy), var(--terracotta));
        background-size: 100% 100%;
    }

    .partners-card {
        animation: none;
        transition: box-shadow 0.2s ease, border-color 0.2s ease;
    }

    .partners-card:hover,
    .partners-card:focus-within {
        transform: none;
    }

    .partners-logo {
        transition: none;
    }

    .partners-card:hover .partners-logo,
    .partners-card:focus-within .partners-logo {
        filter: grayscale(100%);
        opacity: 0.92;
    }
}
