/* ============================================
   Castagna Accountancy - Design System
   Colors: Navy, Gold, Cream
   Fonts: DM Serif Display, DM Sans
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    /* Brand Colors */
    --navy: #0B2E5F;
    --navy-light: #143d7a;
    --navy-dark: #081f40;
    --gold: #C8963E;
    --gold-light: #d4a856;
    --gold-dark: #b07f2e;
    --cream: #FAF8F5;
    --white: #FEFDFB;
    --text: #1a1a1a;
    --text-muted: #6b6b6b;
    --border: #e2ddd6;

    /* Typography */
    --font-heading: 'DM Serif Display', Georgia, 'Times New Roman', serif;
    --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Spacing */
    --section-spacing: 5rem;
    --container-width: 1100px;
    --container-padding: 0 1.5rem;

    /* Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
}

html {
    font-size: 17px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--gold); }

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.25;
    color: var(--navy);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.35rem; }

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: var(--container-padding);
}

/* --- Skip Link --- */
.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    background: var(--navy);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    z-index: 1000;
    font-size: 0.875rem;
}
.skip-link:focus { top: 0.5rem; color: #fff; }

/* ============================================
   Header & Navigation
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: 90px;
    background: rgba(254, 253, 251, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.menu-open {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: var(--cream);
}

.site-header.scrolled {
    border-bottom-color: var(--border);
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.04);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.header-logo {
    text-decoration: none;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.header-logo img {
    height: 120px;
    width: auto;
}

/* Desktop nav: horizontal links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
    text-decoration: none;
    position: relative;
    padding: 0.25rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.25s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--navy);
}

.nav-links a.nav-cta {
    background: var(--navy);
    color: #fff !important;
    padding: 0.5rem 1.25rem !important;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 500;
    transition: background 0.2s ease;
    position: static;
}
.nav-links a.nav-cta::after { display: none !important; }
.nav-links a.nav-cta:hover {
    background: var(--navy-light);
    color: #fff !important;
}

.nav-links a.nav-cta--secondary {
    background: var(--gold);
    color: var(--navy) !important;
}
.nav-links a.nav-cta--secondary:hover {
    background: var(--gold-dark) !important;
    color: var(--navy) !important;
}

/* Mobile nav toggle (hidden on desktop) */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 201;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--navy);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu panel (default: hidden) */
.nav-mobile {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    position: fixed;
    top: 90px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--cream);
    padding: 2.5rem 1.5rem 2rem;
    z-index: 200;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.nav-mobile.open {
    display: flex;
}

.nav-mobile-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-mobile-links li {
    text-align: center;
}

.nav-mobile-links a {
    display: block;
    padding: 1rem 0;
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--text);
    text-decoration: none;
}

.nav-mobile-links a:hover {
    color: var(--navy);
}

.nav-mobile-links .nav-cta {
    display: block;
    text-align: center;
    padding: 0.875rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    color: #fff;
    text-decoration: none;
    margin-top: 0.5rem;
}

.nav-mobile-links .nav-cta--secondary {
    background: var(--gold);
    color: var(--navy);
}

.nav-mobile-links .nav-cta--secondary:hover {
    background: var(--gold-dark);
    color: var(--navy);
}

.nav-mobile-links .nav-cta:not(.nav-cta--secondary):not(.nav-cta--outline) {
    background: var(--navy);
}

.nav-mobile-links .nav-cta:not(.nav-cta--secondary):not(.nav-cta--outline):hover {
    background: var(--navy-light);
}

.nav-mobile-links .nav-cta--outline {
    background: transparent;
    color: var(--navy);
    border: 1.5px solid var(--navy);
}

.nav-mobile-links .nav-cta--outline:hover {
    background: var(--navy);
    color: #fff;
}

/* Mobile contact info */
.nav-mobile-contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.nav-mobile-contact-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-mobile-contact-item:hover {
    color: var(--navy);
}

.nav-mobile-contact-item svg {
    flex-shrink: 0;
    color: var(--gold);
}

/* ============================================
   Buttons
   ============================================ */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gold);
    color: var(--navy);
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease;
}
.btn-primary:hover {
    background: var(--gold-dark);
    color: var(--navy);
    transform: scale(0.96);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    color: var(--navy);
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid var(--navy);
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}
.btn-secondary:hover {
    background: var(--navy);
    color: #fff;
    transform: scale(0.96);
}

.btn-icon {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--cream);
    padding: 90px 1.5rem 2rem;
    position: relative;
    overflow: hidden;
    color: var(--navy);
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.06;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100'%3E%3Cline x1='0' y1='50' x2='100' y2='50' stroke='%230B2E5F' stroke-width='0.5'/%3E%3Cline x1='50' y1='0' x2='50' y2='100' stroke='%230B2E5F' stroke-width='0.5'/%3E%3C/svg%3E");
    background-size: 80px 80px;
    z-index: 0;
    pointer-events: none;
}


.hero > * {
    position: relative;
    z-index: 1;
}

.hero-inner {
    max-width: 750px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.25rem;
    color: var(--navy);
}

.hero p {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 1.5rem;
    line-height: 1.8;
}

.hero-tags {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 2rem;
}

.hero-tag {
    display: inline-block;
    padding: 0.35rem 1rem;
    border: 1px solid var(--border);
    border-radius: 2rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--navy);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.hero .btn-secondary {
    background: transparent;
    color: var(--navy);
    border: 2px solid var(--navy);
}
.hero .btn-secondary:hover {
    background: var(--navy);
    color: #fff;
    border-color: var(--navy);
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-muted);
    animation: hero-bounce 2s infinite;
}

@keyframes hero-bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ============================================
   Trust Bar
   ============================================ */
.trust-bar {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 1.25rem 0;
}

.trust-items {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--navy);
}

.trust-item svg {
    color: var(--gold);
    flex-shrink: 0;
}

/* ============================================
   Scroll Animations
   ============================================ */
.fade-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   Sections
   ============================================ */
.section {
    padding: var(--section-spacing) 0;
}

.section--cream { background: var(--cream); }

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    margin-bottom: 0.75rem;
}

.section-title p {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   Service Cards
   ============================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-top: 3px solid var(--gold);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.service-card:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

.service-card-icon {
    width: 48px;
    height: 48px;
    background: var(--cream);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    color: var(--gold);
}

.service-card-icon svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.service-card h3 {
    margin-bottom: 0.75rem;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.service-card-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-card-list li {
    position: relative;
    padding-left: 1.25rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 0.4rem;
}

.service-card-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 6px;
    height: 6px;
    background: var(--gold);
    border-radius: 50%;
}

/* ============================================
   Diensten Page - Alternating Rows
   ============================================ */
.dienst-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.dienst-row--reverse {
    direction: rtl;
}

.dienst-row--reverse > * {
    direction: ltr;
}

.dienst-content h2 {
    margin-bottom: 1rem;
}

.dienst-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.dienst-content p:last-of-type {
    margin-bottom: 1.5rem;
}

.dienst-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dienst-list li {
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.9rem;
    color: var(--text);
    line-height: 1.6;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.dienst-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 8px;
    height: 8px;
    background: var(--gold);
    border-radius: 50%;
}

.dienst-illustration {
    display: flex;
    align-items: center;
    justify-content: center;
}

.dienst-illustration svg {
    width: 100%;
    max-width: 320px;
    height: auto;
}

/* ============================================
   USP / Features
   ============================================ */
.usp-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 800px;
    margin: 0 auto;
}

.usp-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem 0;
    border-bottom: 1px solid var(--border);
}

.usp-item:last-child {
    border-bottom: none;
}

.usp-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    background: var(--navy);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
}

.usp-text h3 {
    font-size: 1.1rem;
    margin-bottom: 0.35rem;
}

.usp-text p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* ============================================
   CTA Band
   ============================================ */
.cta-band {
    background: var(--cream);
    border-top: 1px solid var(--border);
    padding: 4rem 0;
    text-align: center;
}

.cta-band h2 {
    color: var(--navy);
    margin-bottom: 1rem;
}

.cta-band p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cta-band-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-band .btn-primary {
    background: var(--gold);
}
.cta-band .btn-primary:hover {
    background: var(--gold-dark);
}

/* ============================================
   Testimonial
   ============================================ */
.testimonial {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.testimonial-quote {
    border: none;
    margin: 0;
    padding: 0;
    background: none;
    font-style: normal;
}

.testimonial-icon {
    margin-bottom: 1.5rem;
}

.testimonial-quote p {
    font-size: 1.1rem;
    line-height: 1.85;
    color: var(--text);
    font-style: italic;
    margin-bottom: 1.25rem;
}

.testimonial-author {
    font-style: normal;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
}

/* ============================================
   Founder
   ============================================ */
.founder {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    margin: 0 auto;
}

.founder-card {
    background: var(--cream);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
}

.founder-photo {
    flex-shrink: 0;
}

.founder-photo img,
.founder-photo-placeholder {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--gold);
}

.founder-photo-placeholder {
    background: var(--navy);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 2rem;
}

.founder-info h2 {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.founder-title {
    font-size: 0.85rem;
    color: var(--gold-dark);
    font-weight: 500;
    margin-bottom: 1rem;
}

.founder-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.75;
    margin-bottom: 1.25rem;
}

.founder-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--navy);
}

.founder-link:hover {
    color: var(--gold);
}

/* ============================================
   About Profile (Over page)
   ============================================ */
.about-profile {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 3rem;
    align-items: start;
    max-width: 860px;
    margin: 0 auto;
}

.about-photo-placeholder,
.about-photo img {
    width: 280px;
    height: 280px;
    border-radius: var(--radius-lg);
    object-fit: cover;
    border: 3px solid var(--gold);
}

.about-photo-placeholder {
    background: var(--navy);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 4rem;
}

.about-bio h2 {
    font-size: 1.75rem;
    margin-bottom: 0.25rem;
}

.about-bio p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .about-profile {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }

    .about-photo-placeholder,
    .about-photo img {
        width: 220px;
        height: 220px;
    }

    .about-bio .founder-link {
        justify-content: center;
    }
}

/* ============================================
   FAQ
   ============================================ */
.faq-list {
    max-width: 750px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-item:first-child {
    border-top: 1px solid var(--border);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 0;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    list-style: none;
    color: var(--navy);
    transition: color 0.2s ease;
}

.faq-question::-webkit-details-marker { display: none; }

.faq-question::after {
    content: '+';
    font-size: 1.4rem;
    font-weight: 300;
    color: var(--gold);
    flex-shrink: 0;
    margin-left: 1rem;
    transition: transform 0.2s ease;
}

.faq-item[open] .faq-question::after {
    content: '\2212';
}

.faq-question:hover {
    color: var(--gold-dark);
}

.faq-answer {
    padding: 0 0 1.25rem;
}

.faq-answer p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.75;
    margin: 0;
}

/* ============================================
   Contact Form
   ============================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h2 {
    margin-bottom: 1.5rem;
}

.contact-info p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.contact-details {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-details li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
}

.contact-details li svg {
    width: 20px;
    height: 20px;
    stroke: var(--gold);
    fill: none;
    stroke-width: 1.5;
    flex-shrink: 0;
}

.contact-details a {
    color: var(--text);
}
.contact-details a:hover {
    color: var(--gold);
}

.contact-form-wrapper {
    background: #f0ede8;
    border-radius: var(--radius-lg);
    padding: 2.5rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 0.4rem;
}
.form-group label .required {
    color: #991b1b;
    font-weight: 700;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.7rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text);
    background: var(--white);
    transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--navy);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.contact-submit {
    align-self: flex-start;
}

.contact-feedback {
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
}

.contact-feedback--success {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}

.contact-feedback--error {
    background: #fbe9e7;
    color: #c62828;
    border: 1px solid #ffccbc;
}

.bedankt-message {
    background: var(--cream);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 3rem 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.bedankt-message h2 {
    font-size: 1.4rem;
    margin: 0;
}

.bedankt-message p {
    color: var(--text-muted);
    font-size: 0.95rem;
    max-width: 360px;
    margin: 0;
}

.form-privacy {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0;
}

.form-privacy a {
    color: var(--text-muted);
    text-decoration: underline;
}
.form-privacy a:hover {
    color: var(--gold);
}

/* ============================================
   Location Section
   ============================================ */
.location-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 2.5rem;
}

.location-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 380px;
}

.location-info {
    padding: 2.5rem 2.5rem 2.5rem 0;
}

.location-info h3 {
    font-size: 1.35rem;
    margin-bottom: 0.5rem;
}

.location-address {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.75rem;
}

.location-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.location-detail {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.location-detail svg {
    color: var(--gold);
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.location-detail div {
    display: flex;
    flex-direction: column;
}

.location-detail strong {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--navy);
}

.location-detail span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.location-detail a {
    color: var(--text-muted);
}
.location-detail a:hover {
    color: var(--gold);
}

.location-btn {
    font-size: 0.85rem;
    padding: 0.6rem 1.25rem;
}

.location-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    margin-top: 3rem;
}

.location-map iframe {
    display: block;
}

/* Location Alt (open layout, no card) */
.location-alt {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.location-alt-info h2 {
    margin-bottom: 1.25rem;
}

.location-alt-address {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text);
    margin-bottom: 1.75rem;
}

.location-alt-address strong {
    color: var(--navy);
}

.location-alt-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-bottom: 2rem;
}

.location-alt-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: var(--text);
}

.location-alt-list li svg {
    color: var(--gold);
    flex-shrink: 0;
}

.location-alt-list a {
    color: var(--text);
}
.location-alt-list a:hover {
    color: var(--gold);
}

.location-alt-photo img {
    width: 100%;
    border-radius: var(--radius-lg);
    object-fit: cover;
    border: 1px solid var(--border);
}

@media (max-width: 768px) {
    .location-card {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .location-photo img {
        min-height: 220px;
    }

    .location-info {
        padding: 2rem;
    }

    .location-map iframe {
        height: 300px;
    }

    .location-alt {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .location-alt-photo {
        order: -1;
    }
}

/* ============================================
   Article / Blog - Substack-style
   ============================================ */

/* Overview grid */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.article-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-decoration: none;
    display: block;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.article-card:hover {
    border-color: var(--gold);
    box-shadow: 0 4px 16px rgba(200, 150, 62, 0.08);
    color: var(--text);
}

.article-card-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.article-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: var(--navy);
}

.article-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* Article list (horizontal) */
.article-list {
    max-width: 860px;
    margin: 0 auto;
}

.article-list-item {
    display: grid;
    grid-template-columns: 180px 1fr 24px;
    gap: 2rem;
    align-items: center;
    padding: 1.75rem 0;
    border-bottom: 1px solid var(--border);
    text-decoration: none;
    color: var(--text);
    transition: background 0.15s ease;
}

.article-list-item:first-child {
    border-top: 1px solid var(--border);
}

.article-list-item:hover {
    color: var(--text);
}

.article-list-item:hover .article-list-content h2 {
    color: var(--gold-dark);
}

.article-list-item:hover .article-list-arrow {
    transform: translateX(4px);
    color: var(--gold);
}

.article-list-item:hover .article-list-image img {
    transform: scale(1.04);
}

.article-list-image {
    width: 180px;
    height: 135px;
    overflow: hidden;
    border-radius: var(--radius-md);
    background: var(--color-border-light);
}

.article-list-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.article-list-date {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 0.4rem;
}

.article-list-content h2 {
    font-size: 1.15rem;
    line-height: 1.35;
    margin-bottom: 0.4rem;
    transition: color 0.2s ease;
}

.article-list-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin: 0;
}

.article-list-arrow {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    color: var(--text-muted);
    margin-top: 0.25rem;
    transition: transform 0.2s ease, color 0.2s ease;
    flex-shrink: 0;
}

.empty-articles {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 500px;
    margin: 2rem auto;
}

@media (max-width: 768px) {
    .article-list-item {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
        align-items: stretch;
    }

    .article-list-image {
        width: 100%;
        height: 200px;
    }

    .article-list-arrow {
        display: none;
    }

    .article-list-content h2 {
        font-size: 1.05rem;
    }
}

/* Detail page - reading column */
.article-page {
    padding: calc(90px + 3rem) 0 4rem;
}

.article-header {
    max-width: 800px;
    margin: 0 auto 2.5rem;
    padding: var(--container-padding);
}

.article-back {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}
.article-back:hover { color: var(--gold); }

.article-back svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}

.article-header h1 {
    font-size: 2.25rem;
    line-height: 1.2;
    margin-bottom: 1.25rem;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.article-author {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.article-author-name {
    font-weight: 600;
    color: var(--text);
}

.article-date::before {
    content: '\00b7';
    margin-right: 1rem;
}

/* Reading column */
.article-content {
    max-width: 800px;
    margin: 0 auto;
    padding: var(--container-padding);
    overflow-wrap: break-word;
    word-break: break-word;
}

.article-content p {
    font-size: 1.05rem;
    line-height: 1.85;
    margin-bottom: 1.5rem;
}

.article-content p:first-of-type {
    font-size: 1.15rem;
    color: var(--text);
}

.article-content h2 {
    font-size: 1.5rem;
    margin: 3rem 0 1rem;
}

.article-content h3 {
    font-size: 1.2rem;
    margin: 2.5rem 0 0.75rem;
}

.article-content ul,
.article-content ol {
    margin: 0 0 1.5rem 1.5rem;
    font-size: 1.05rem;
    line-height: 1.85;
}

.article-content li {
    margin-bottom: 0.5rem;
}

.article-content a {
    color: var(--gold-dark);
    text-decoration: underline;
    text-decoration-color: var(--gold);
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}
.article-content a:hover {
    color: var(--navy);
}

.article-content blockquote {
    border-left: 3px solid var(--gold);
    margin: 2rem 0;
    padding: 1rem 1.5rem;
    background: var(--cream);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-style: italic;
    color: var(--text-muted);
}

.article-content blockquote p {
    margin-bottom: 0;
}

.article-content strong {
    font-weight: 600;
    color: var(--text);
}

.article-content .table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 1.5rem 0;
}

.article-content table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.article-content th {
    background: var(--navy);
    color: #fff;
    font-weight: 600;
    text-align: left;
    padding: 0.75rem 1rem;
    border-bottom: 2px solid var(--navy-dark);
    font-family: var(--font-body);
}

.article-content td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border);
}

.article-content tr:nth-child(even) td {
    background: var(--cream);
}

.article-content .info-box {
    background: var(--cream);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    margin: 2rem 0;
}

.article-content .info-box p {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}
.article-content .info-box p:last-child { margin-bottom: 0; }

/* Article author box */
.article-author-box {
    max-width: 800px;
    margin: 0 auto;
    padding: var(--container-padding);
}

.article-author-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: var(--cream);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.75rem 2rem;
}

.article-author-avatar,
.article-author-avatar img {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid var(--gold);
}

.article-author-avatar {
    background: var(--navy);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.5rem;
}

.article-author-info h3 {
    font-size: 1rem;
    margin-bottom: 0.15rem;
}

.article-author-info .founder-title {
    margin-bottom: 0.5rem;
}

.article-author-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

.article-author-info .founder-link {
    margin-top: 0.5rem;
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    .article-author-card {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .article-author-info .founder-link {
        justify-content: center;
    }
}

/* Article related / Lees ook */
.article-related {
    max-width: 800px;
    margin: 2rem auto 0;
    padding: var(--container-padding);
    border-top: 1px solid var(--border);
    padding-top: 2rem;
}

.article-related h2 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.article-related ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.article-related a {
    color: var(--navy);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    transition: color 0.2s;
}

.article-related a::before {
    content: '\2192';
    font-size: 0.85em;
}

.article-related a:hover {
    color: var(--gold);
}

/* Article CTA */
.article-cta {
    max-width: 800px;
    margin: 3rem auto;
    padding: var(--container-padding);
}

.article-cta-box {
    background: var(--cream);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
}

.article-cta-box h3 {
    margin-bottom: 0.75rem;
}

.article-cta-box p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

/* Article disclaimer */
.article-disclaimer {
    max-width: 720px;
    margin: 0 auto 3rem;
    padding: var(--container-padding);
    font-size: 0.8rem;
    color: var(--text-muted);
    border-top: 1px solid var(--border);
    padding-top: 1.5rem;
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
    background: var(--navy);
    color: rgba(255, 255, 255, 0.7);
    padding: 3rem 0 1.5rem;
}

.footer-inner {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: var(--container-padding);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2.5rem;
}

.footer-brand {
    margin-bottom: 0.5rem;
}

.footer-brand img {
    height: 150px;
    width: auto;
}

.footer-about {
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 320px;
    margin-bottom: 1.25rem;
}

.footer-socials {
    display: flex;
    gap: 0.75rem;
}

.footer-socials a {
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.2s ease;
}

.footer-socials a:hover {
    color: var(--gold);
}

.footer-col h3 {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1rem;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    transition: color 0.2s ease;
}
.footer-col a:hover {
    color: var(--gold);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.85);
}

.footer-bottom-left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.85);
}
.footer-bottom a:hover {
    color: var(--gold);
}
.footer-bottom-left a {
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

/* ============================================
   Page Headers (inner pages)
   ============================================ */
.page-header {
    padding: calc(90px + 3rem) 0 3rem;
    background: var(--cream);
    text-align: center;
}

.page-header .container {
    max-width: var(--container-width);
}

.page-header h1 {
    margin-bottom: 0.75rem;
}

.page-header p {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Breadcrumb */
.breadcrumb {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { margin: 0 0.4rem; }

/* ============================================
   Bereken page
   ============================================ */
.calculator-wrapper {
    max-width: 640px;
    margin: 0 auto;
}

/* Progress bar */
.calc-progress {
    margin-bottom: 2.5rem;
    scroll-margin-top: 100px;
}

.calc-progress-bar {
    height: 4px;
    background: var(--border);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 0.75rem;
}

.calc-progress-fill {
    height: 100%;
    background: var(--gold);
    border-radius: 2px;
    transition: width 0.4s ease;
    width: 0;
}

.calc-progress-text {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Steps */
.calc-step {
    min-height: 420px;
}

.calc-step h2 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.calc-step-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.75rem;
}

/* Option cards */
.calc-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.calc-option {
    cursor: pointer;
    display: block;
}

.calc-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.calc-option-card {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 1.25rem 1.5rem;
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--white);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.calc-option-card:hover {
    border-color: var(--navy-light);
}

.calc-option-card.selected {
    border-color: var(--gold);
    box-shadow: 0 0 0 1px var(--gold);
    background: #fdfbf7;
}

.calc-option-card strong {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    color: var(--navy);
}

.calc-option-card span {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* Result */
.calc-result {
    animation: fadeUp 0.4s ease;
}

.calc-result-card {
    background: var(--cream);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    text-align: center;
}

.calc-result-card h2 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--text-muted);
    font-family: var(--font-body);
    font-weight: 600;
}

.calc-result-price {
    margin-bottom: 2rem;
}

.calc-result-range {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--navy);
    line-height: 1.2;
}

.calc-result-period {
    display: block;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 0.35rem;
}

.calc-result-summary {
    text-align: left;
    margin-bottom: 1.5rem;
    padding: 1.25rem 1.5rem;
    background: var(--white);
    border-radius: var(--radius-md);
}

.calc-result-summary ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.calc-result-summary li {
    font-size: 0.9rem;
    color: var(--text);
    padding-left: 1.25rem;
    position: relative;
}

.calc-result-summary li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: 700;
}

.calc-result-eenmalig {
    margin-top: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--navy);
}

.calc-result-note {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.calc-result-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--radius-sm);
    background: var(--navy);
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
    text-decoration: none;
}

.btn-secondary:hover {
    background: var(--navy-light);
}

/* Navigation */
.calc-nav {
    margin-top: 1.5rem;
}

.calc-nav-back {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: none;
    border: none;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.5rem 0;
    transition: color 0.2s;
}

.calc-nav-back:hover {
    color: var(--navy);
}

.calc-nav-back svg {
    flex-shrink: 0;
}

/* ============================================
   Bedankt page
   ============================================ */
.bedankt-page {
    padding: calc(90px + 5rem) 0 var(--section-spacing);
    text-align: center;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bedankt-page h1 {
    margin-bottom: 1rem;
}

.bedankt-page p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 2rem;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
    .nav-toggle { display: flex; }
    .nav-links { display: none !important; }
}

@media (max-width: 768px) {
    :root {
        --section-spacing: 3.5rem;
    }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }

    .hero { min-height: 100svh; }
    .hero h1 { font-size: 2.15rem; }
    .hero p { font-size: 1.05rem; }

    .services-grid { grid-template-columns: 1fr; }
    .dienst-row { grid-template-columns: 1fr; gap: 2rem; }
    .dienst-row--reverse { direction: ltr; }
    .dienst-illustration { order: -1; }
    .dienst-illustration svg { max-width: 260px; }
    .usp-item { gap: 1rem; }
    .articles-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }

    .trust-items {
        gap: 1.25rem;
        justify-content: flex-start;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }

    .article-header h1 { font-size: 1.75rem; }

    .founder {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .calc-step { min-height: 0; }
    .calc-result-range { font-size: 2rem; }
    .calc-result-card { padding: 2rem 1.25rem; }
    .calc-result-actions { flex-direction: column; align-items: stretch; }
}

/* ============================================
   404 Pagina
   ============================================ */
.error-page {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--section-spacing) 0;
}

.error-page__content {
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
}

.error-page__code {
    display: block;
    font-family: var(--font-serif);
    font-size: 6rem;
    font-weight: 400;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 1rem;
}

.error-page__content h1 {
    margin-bottom: 0.75rem;
}

.error-page__content p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.error-page__actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}
