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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Source Sans Pro', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

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

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

ul {
    list-style: none;
}

.container {
    width: min(1200px, 100%);
    margin: 0 auto;
    padding: 0 24px;
}

/* Top Bar --------------------------------------------------------------- */
.top-bar {
    background-color: #f5f5f5;
    color: #666;
    font-size: 12px;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 10px 24px;
}

.social-icons {
    display: flex;
    gap: 10px;
}

.social-icon {
    font-weight: 600;
    transition: color 0.2s ease;
}

.social-icon:hover {
    color: #8B0000;
}

.top-bar-link,
.contact-link {
    color: inherit;
    text-decoration: none;
}

.top-bar-link:hover,
.contact-link:hover {
    color: #8B0000;
}

.header-logo-link {
    display: inline-block;
}

/* Header ---------------------------------------------------------------- */
.header {
    background-color: #ffffff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: 18px 24px;
    flex-wrap: wrap;
}

.logo {
    display: flex;
    align-items: center;
}

.header-logo-image {
    display: flex;
    align-items: center;
}

.header-logo-image img {
    height: 56px;
    width: auto;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: transparent;
    border: 0;
    padding: 8px;
    cursor: pointer;
    margin-left: auto;
}

.nav-toggle-bar {
    width: 22px;
    height: 2px;
    background: #333;
    border-radius: 2px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.main-nav ul {
    display: flex;
    gap: 28px;
    align-items: center;
}

.main-nav a {
    font-weight: 500;
    padding: 6px 0;
    position: relative;
    transition: color 0.2s ease;
}

.main-nav a:hover,
.main-nav a:focus {
    color: #8B0000;
}

.main-nav a.active {
    color: #8B0000;
}

.main-nav a.active::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -6px;
    height: 2px;
    background-color: #8B0000;
}

/* Dropdown -------------------------------------------------------------- */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    background: #ffffff;
    min-width: 220px;
    padding: 10px 0;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: all 0.2s ease;
    z-index: 10;
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li + li {
    border-top: 1px solid #f0f0f0;
}

.dropdown-menu a {
    display: block;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.dropdown-menu a:hover {
    background-color: #f7f7f7;
    color: #8B0000;
}

/* Hero ------------------------------------------------------------------ */
.hero {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
    min-height: clamp(180px, 24vw, 300px);
    padding: clamp(32px, 6vw, 96px) 0 clamp(8px, 1vw, 18px);
    background-color: #f8f8f8;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('pictures/achtergrond.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: clamp(18px, 5vw, 48px);
    width: 100%;
    max-width: 960px;
    padding: 0 clamp(24px, 4vw, 40px);
}

.hero-people {
    display: flex;
    align-items: flex-end;
    gap: clamp(10px, 2.8vw, 36px);
    transform: translateY(clamp(8px, 1.2vw, 20px));
}

.person-image {
    width: clamp(170px, 18vw, 240px);
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.2));
}

.person-image:first-child {
    margin-right: clamp(-18px, -2vw, -10px);
    z-index: 2;
}

.hero-logo {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    flex: 1;
    transform: translateY(clamp(6px, 1vw, 16px));
}

.hero-logo img {
    width: clamp(210px, 22vw, 320px);
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.18));
}

.roger-fade-in,
.marcia-fade-in,
.logo-fade-in {
    opacity: 0;
    animation: fadeIn 1.8s ease forwards;
}

.roger-fade-in { animation-delay: 0.1s; }
.marcia-fade-in { animation-delay: 0.3s; }
.logo-fade-in { animation-delay: 0.45s; }

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

/* Welcome Banner -------------------------------------------------------- */
.welcome-banner {
    background: #8B0000;
    color: #ffffff;
    text-align: center;
    padding: 20px 0;
}

.welcome-banner p {
    font-size: clamp(15px, 2.6vw, 18px);
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Services -------------------------------------------------------------- */
.services {
    padding: clamp(48px, 8vw, 80px) 0;
    background: #ffffff;
}

.services .container {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
}

.service-box {
    width: clamp(220px, 26vw, 240px);
    border: 1px solid #e5e5e5;
    border-radius: 14px;
    padding: 24px 20px;
    text-align: center;
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.12);
}

.service-icon {
    font-size: 38px;
    margin-bottom: 14px;
}

.service-box h3 {
    font-size: 16px;
    letter-spacing: 0.6px;
    margin-bottom: 14px;
    color: #8B0000;
}

.service-box li {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
    position: relative;
    padding-left: 12px;
}

.service-box li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #8B0000;
}

/* Slogan / CTA ---------------------------------------------------------- */
.slogan {
    background: #f8f8f8;
    text-align: center;
    padding: clamp(48px, 8vw, 72px) 0;
}

.slogan h2 {
    max-width: 680px;
    margin: 0 auto 24px;
    font-size: clamp(24px, 4vw, 30px);
    font-weight: 400;
    color: #333;
}

.highlight {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: #8B0000;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #8B0000;
    color: #ffffff;
    border: none;
    border-radius: 26px;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.cta-button:hover {
    background: #a32727;
    transform: translateY(-2px);
}

/* Testimonial ----------------------------------------------------------- */
.testimonial {
    background: #ffffff;
    padding: clamp(48px, 8vw, 80px) 0;
}

.testimonial-content {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    max-width: 900px;
    margin: 0 auto;
}

.testimonial-left {
    flex-shrink: 0;
}

.advicekeuze {
    text-align: center;
    width: 110px;
}

.advicekeuze-icon {
    font-size: 26px;
    margin-bottom: 6px;
    color: #0066cc;
}

.testimonial-main h3 {
    font-size: 22px;
    margin-bottom: 18px;
}

.testimonial-main blockquote {
    font-style: italic;
    color: #555;
    margin-bottom: 16px;
}

.testimonial-main cite {
    display: block;
    text-align: right;
    font-weight: 600;
    color: #333;
}

.advieskeuze {
    margin: clamp(40px, 7vw, 60px) auto;
    max-width: 900px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Footer --------------------------------------------------------------- */
.footer {
    background: #333333;
    color: #ffffff;
    padding: 48px 0 28px;
}

.footer-columns {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 32px;
    margin-bottom: 32px;
}

.footer-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-column:nth-child(3) {
    align-items: flex-end;
    text-align: right;
}

.footer-column:nth-child(2) {
    align-items: center;
    text-align: center;
    margin: 0 auto;
}

.footer-column:nth-child(2) a {
    width: 100%;
    justify-content: flex-start;
}

.footer-column h4 {
    font-size: 16px;
    margin-bottom: 18px;
}

.footer-column a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #cccccc;
    font-size: 14px;
    margin-bottom: 8px;
    transition: color 0.2s ease;
}

.footer-column a:hover {
    color: #ffffff;
}

.certifications {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    align-items: flex-start;
}

.cert-logo {
    width: 160px;
    padding: 16px;
    border-radius: 10px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

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

.cert-logo.adfiz {
    background: #ffffff;
}

.footer-column:nth-child(3) .certifications {
    align-items: flex-end;
}

@media (max-width: 768px) {
    .footer-columns {
        flex-direction: column;
        gap: 24px;
    }

    .footer-column,
    .footer-column:nth-child(3) {
        align-items: flex-start;
        text-align: left;
    }

    .footer-column:nth-child(2) {
        margin: 0;
        align-items: flex-start;
        text-align: left;
    }

    .footer-column:nth-child(2) a {
        width: auto;
    }

    .footer-column:nth-child(3) .certifications {
        align-items: flex-start;
    }
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 18px;
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social .social-icon {
    color: #cccccc;
    font-size: 16px;
}

.footer-social .social-icon:hover {
    color: #ffffff;
}

/* Page Content --------------------------------------------------------- */
.page-content {
    padding: clamp(48px, 8vw, 80px) 0;
}

.page-header {
    text-align: center;
    margin-bottom: clamp(36px, 6vw, 64px);
}

.page-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(30px, 5vw, 42px);
    color: #8B0000;
    margin-bottom: 12px;
}

.page-header p {
    max-width: 620px;
    margin: 0 auto;
    color: #666;
}

.content-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.content-box {
    width: clamp(280px, 30vw, 360px);
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 14px;
    padding: 28px 24px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.content-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.12);
}

.content-box h3 {
    font-size: 20px;
    color: #8B0000;
    margin-bottom: 16px;
}

.content-box p {
    color: #666;
    margin-bottom: 18px;
}

.content-box li {
    color: #666;
    margin-bottom: 8px;
    padding-left: 16px;
    position: relative;
}

.content-box li::before {
    content: '–';
    position: absolute;
    left: 0;
    color: #8B0000;
}

/* Media Queries -------------------------------------------------------- */
@media (max-width: 992px) {
    .header .container {
        flex-wrap: wrap;
        align-items: center;
        gap: 16px;
    }

    .logo {
        flex: 0 0 auto;
    }

    .nav-toggle {
        margin-left: auto;
    }

    .main-nav {
        width: 100%;
    }

    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 18px;
    }

    .footer-columns {
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    .top-bar .container {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .header .container {
        gap: 18px;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle[aria-expanded='true'] .nav-toggle-bar:nth-child(1) {
        transform: rotate(45deg) translateY(6px);
    }
    .nav-toggle[aria-expanded='true'] .nav-toggle-bar:nth-child(2) {
        opacity: 0;
    }
    .nav-toggle[aria-expanded='true'] .nav-toggle-bar:nth-child(3) {
        transform: rotate(-45deg) translateY(-6px);
    }

    .main-nav {
        display: none;
        width: 100%;
        order: 3;
        margin-top: 8px;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 16px;
        align-items: center;
    }

    .main-nav ul li a {
        display: block;
        padding: 8px 0;
    }

    .main-nav.is-open {
        display: block;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 24px;
    }

    .hero-people {
        justify-content: center;
        transform: translateY(12px);
    }

    .hero-logo {
        display: none;
    }

    .services .container {
        flex-direction: column;
        align-items: stretch;
    }

    .testimonial-content {
        flex-direction: column;
        text-align: center;
        gap: 24px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 18px;
    }

    .header-logo-image img {
        height: 48px;
    }

    .nav-toggle {
        display: flex;
    }

    .main-nav {
        width: 100%;
        order: 3;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 14px;
        align-items: center;
    }

    .main-nav ul li a {
        display: block;
        padding: 8px 0;
    }

    .hero {
        min-height: 200px;
        padding-top: 48px;
    }

    .hero::before {
        background-image: url('pictures/roger.png'), url('pictures/marcia.png'), url('pictures/achtergrond.png');
        background-size: auto 70%, auto 65%, cover;
        background-position: left 12px bottom, right 12px bottom, center;
        background-repeat: no-repeat;
    }

    .hero-people {
        display: none;
    }

    .hero-logo {
        display: none;
    }

    .person-image {
        width: clamp(150px, 55vw, 200px);
    }

    .service-box,
    .content-box {
        width: 100%;
    }
}

@media (max-width: 420px) {
    .top-bar .container,
    .header .container {
        padding: 12px;
    }

    .hero-logo img {
        width: clamp(180px, 60vw, 240px);
    }
}
