/* ============================================
   Stichting Positieve Leefstijl — Website
   ============================================ */

:root {
    /* Kleuren: aansluitend bij IkPas maar eigen identiteit */
    --blue-900: #0a1628;
    --blue-800: #0f2341;
    --blue-700: #163563;
    --blue-600: #1a4b8c;
    --blue-500: #1e6bc4;
    --blue-400: #3d8be0;
    --blue-300: #6aacf0;
    --blue-200: #a3cef7;
    --blue-100: #daeafc;
    --blue-50: #f0f6fe;

    --teal-600: #0d9488;
    --teal-500: #14b8a6;
    --teal-100: #ccfbf1;

    --gray-900: #111827;
    --gray-800: #1f2937;
    --gray-700: #374151;
    --gray-600: #4b5563;
    --gray-500: #6b7280;
    --gray-400: #9ca3af;
    --gray-300: #d1d5db;
    --gray-200: #e5e7eb;
    --gray-100: #f3f4f6;
    --gray-50: #f9fafb;

    --white: #ffffff;

    /* Accent dots (logo) */
    --dot-1: #e74c8a;
    --dot-2: #f5a623;
    --dot-3: #14b8a6;
    --dot-4: #6366f1;

    /* Typography */
    --font-sans: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Nunito', 'VAG Rounded', 'Arial Rounded MT Bold', 'DM Sans', sans-serif;

    /* Spacing */
    --section-py: 5rem;
    --container-px: 1.5rem;
    --container-max: 1120px;

    /* Borders */
    --radius: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--gray-800);
    background: var(--white);
}

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

a {
    color: var(--blue-600);
    text-decoration: none;
    transition: color 0.2s;
}
a:hover { color: var(--blue-500); }

h1, h2, h3, h4 {
    line-height: 1.25;
    color: var(--gray-900);
}

h1 { font-family: var(--font-display); font-size: 2.75rem; font-weight: 800; letter-spacing: -0.03em; }
h2 { font-family: var(--font-display); font-size: 2.25rem; font-weight: 800; letter-spacing: -0.025em; }
h3 { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 0.75rem; }
h4 { font-size: 1.05rem; font-weight: 600; margin-bottom: 0.5rem; color: var(--gray-700); }

p + p { margin-top: 0.75rem; }
ul { padding-left: 1.25rem; }
li + li { margin-top: 0.35rem; }

.text--muted { color: var(--gray-500); font-size: 0.875rem; }
.text--right { text-align: right; }

/* Container */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-px);
}

/* ============================================
   Navigation
   ============================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.nav--scrolled {
    border-bottom-color: var(--gray-200);
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.nav--scrolled .nav__container {
    height: 72px;
}

.nav__container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100px;
    transition: height 0.3s ease;
}

.nav__logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.nav__logo-img {
    height: 80px;
    width: auto;
    transition: height 0.3s ease;
}

.nav--scrolled .nav__logo-img {
    height: 56px;
}

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

.nav__links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-600);
    transition: color 0.2s;
    text-decoration: none;
}
.nav__links a:hover { color: var(--blue-600); }

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav__toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gray-700);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}

.nav__toggle--open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle--open span:nth-child(2) { opacity: 0; }
.nav__toggle--open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================
   Hero
   ============================================ */
.hero {
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, var(--blue-50) 0%, var(--white) 50%, var(--teal-100) 100%);
}

.hero__container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-px);
}

.hero__content {
    max-width: 720px;
}

.hero__title {
    font-size: 3.25rem;
    margin-bottom: 1.25rem;
    background: linear-gradient(135deg, var(--blue-700), var(--blue-500));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__subtitle {
    font-size: 1.2rem;
    line-height: 1.7;
    color: var(--gray-600);
    margin-bottom: 2rem;
}

.hero__subtitle strong {
    color: var(--blue-600);
}

.hero__actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero__stats {
    display: flex;
    gap: 3rem;
    margin-top: 4rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--gray-200);
}

.stat__number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--blue-600);
    font-family: var(--font-display);
}

.stat__label {
    display: block;
    font-size: 0.85rem;
    color: var(--gray-500);
    margin-top: 0.25rem;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.75rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius);
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn--primary {
    background: var(--blue-600);
    color: var(--white);
    border-color: var(--blue-600);
}
.btn--primary:hover {
    background: var(--blue-500);
    border-color: var(--blue-500);
    color: var(--white);
}

.btn--outline {
    background: transparent;
    color: var(--blue-600);
    border-color: var(--blue-600);
}
.btn--outline:hover {
    background: var(--blue-600);
    color: var(--white);
}

/* ============================================
   Sections
   ============================================ */
.section {
    padding: var(--section-py) 0;
}

.section--accent {
    background: var(--blue-50);
}

.section--light {
    background: var(--gray-50);
}

.section--dark {
    background: var(--blue-800);
    color: var(--gray-200);
}

.section--dark h2,
.section--dark h3 {
    color: var(--white);
}

.section--dark a {
    color: var(--blue-300);
}
.section--dark a:hover {
    color: var(--blue-200);
}

.section__header {
    max-width: 720px;
    margin-bottom: 3rem;
}

.section__title {
    margin-bottom: 1rem;
}

.section--dark .section__title {
    color: var(--white);
}

.section__intro {
    font-size: 1.1rem;
    color: var(--gray-600);
    line-height: 1.7;
}

.section--dark .section__intro {
    color: var(--gray-300);
}

/* ============================================
   Grid
   ============================================ */
.grid {
    display: grid;
    gap: 2rem;
}

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

/* ============================================
   Cards
   ============================================ */
.card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 2rem;
}

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

.card__icon {
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
}

.card__icon svg {
    width: 48px;
    height: 48px;
}

/* ============================================
   Check list
   ============================================ */
.check-list {
    list-style: none;
    padding: 0;
}

.check-list li {
    position: relative;
    padding-left: 1.75rem;
}

.check-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.45em;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--teal-500);
    opacity: 0.2;
}

.check-list li::after {
    content: '';
    position: absolute;
    left: 3px;
    top: calc(0.45em + 3px);
    width: 8px;
    height: 4px;
    border-left: 2px solid var(--teal-600);
    border-bottom: 2px solid var(--teal-600);
    transform: rotate(-45deg);
}

/* ============================================
   Timeline
   ============================================ */
.timeline {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-200);
}

.timeline h3 {
    margin-bottom: 1.5rem;
}

.timeline__items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.timeline__item {
    position: relative;
    padding-left: 1rem;
    border-left: 3px solid var(--blue-200);
}

.timeline__year {
    display: inline-block;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--blue-600);
    background: var(--blue-100);
    padding: 0.15rem 0.6rem;
    border-radius: 4px;
    margin-bottom: 0.5rem;
}

.timeline__item p {
    font-size: 0.9rem;
    color: var(--gray-600);
}

/* ============================================
   Highlight box (IkPas resultaten)
   ============================================ */
.highlight-box {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    margin-top: 2.5rem;
}

.highlight-box h3 {
    margin-bottom: 1.5rem;
}

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

.highlight-stat strong {
    display: block;
    font-size: 2rem;
    font-family: var(--font-display);
    color: var(--blue-600);
    margin-bottom: 0.25rem;
}

.highlight-stat span {
    font-size: 0.85rem;
    color: var(--gray-500);
}

/* ============================================
   CTA row
   ============================================ */
.cta-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-200);
}

.cta-row p {
    font-size: 1.05rem;
    color: var(--gray-600);
}

/* ============================================
   Partners
   ============================================ */
.partners {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-200);
}

.partners h3 {
    margin-bottom: 1.5rem;
}

.partners__grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.partner {
    padding: 0.5rem 1.25rem;
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-700);
}

/* ============================================
   Tables
   ============================================ */
.table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 0.75rem;
}

.table td {
    padding: 0.6rem 0.75rem;
    border-bottom: 1px solid var(--gray-100);
    font-size: 0.95rem;
    vertical-align: top;
}

.table tr:last-child td {
    border-bottom: none;
}

.table--anbi td:first-child {
    width: 40%;
    color: var(--gray-500);
    font-size: 0.9rem;
}

.table--compact td {
    padding: 0.4rem 0.5rem;
    font-size: 0.9rem;
}

.table__total td {
    border-top: 2px solid var(--gray-300);
    padding-top: 0.75rem;
}

/* ============================================
   ANBI section
   ============================================ */
.anbi-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.anbi-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 2rem;
}

.anbi-card--wide {
    grid-column: 1 / -1;
}

.download-row {
    margin-top: 1.5rem;
}

.download-btn {
    display: inline-flex;
    align-items: center;
}

.anbi-note {
    margin-top: 1.5rem;
    padding: 1rem 1.25rem;
    background: var(--blue-50);
    border-left: 3px solid var(--blue-400);
    border-radius: 0 var(--radius) var(--radius) 0;
    font-size: 0.9rem;
}

/* ============================================
   Donate
   ============================================ */
.section--donate {
    background: linear-gradient(135deg, var(--blue-50) 0%, var(--teal-100) 100%);
}

.donate {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 3rem;
    align-items: start;
}

.donate__title {
    margin-bottom: 1rem;
}

.donate__intro {
    font-size: 1.1rem;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.donate__reasons {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.donate__reason {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.donate__reason svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.donate__reason strong {
    display: block;
    font-size: 0.95rem;
    color: var(--gray-900);
    margin-bottom: 0.15rem;
}

.donate__reason p {
    font-size: 0.9rem;
    color: var(--gray-600);
    margin: 0;
}

.donate__card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 2.25rem;
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
    position: sticky;
    top: 100px;
}

.donate__card h3 {
    font-family: var(--font-display);
    font-weight: 800;
    letter-spacing: -0.02em;
    font-size: 1.35rem;
    margin-bottom: 1.25rem;
    text-align: center;
}

.donate__iban {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin: 1.25rem 0;
    padding: 1rem 1.25rem;
    background: var(--blue-50);
    border-radius: var(--radius);
    border: 1px solid var(--blue-200);
}

.donate__iban-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--blue-500);
}

.donate__iban-number {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--blue-700);
    letter-spacing: 0.02em;
    font-family: var(--font-sans);
}

.donate__note {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-100);
}

.donate__note p {
    font-size: 0.85rem;
    color: var(--gray-500);
}

.nav__donate {
    color: var(--blue-600) !important;
    font-weight: 600 !important;
}

.donate__amounts {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.donate__amount {
    padding: 0.85rem 0.5rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    background: var(--white);
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--gray-700);
    cursor: pointer;
    transition: all 0.15s;
    letter-spacing: -0.01em;
}

.donate__amount::before {
    content: '\20AC';
    font-size: 0.85rem;
    color: var(--gray-400);
    margin-right: 3px;
    font-weight: 500;
}

.donate__amount:hover {
    border-color: var(--blue-400);
    color: var(--blue-600);
}

.donate__amount--active {
    border-color: var(--blue-600);
    background: var(--blue-50);
    color: var(--blue-700);
}

.donate__custom {
    margin-bottom: 1.25rem;
}

.donate__custom label {
    display: block;
    font-size: 0.85rem;
    color: var(--gray-500);
    margin-bottom: 0.4rem;
}

.donate__input-wrap {
    display: flex;
    align-items: center;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color 0.15s;
}

.donate__input-wrap:focus-within {
    border-color: var(--blue-400);
}

.donate__currency {
    padding: 0.65rem 0.75rem;
    background: var(--gray-50);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-500);
    border-right: 1px solid var(--gray-200);
}

.donate__input {
    flex: 1;
    padding: 0.65rem 0.75rem;
    border: none;
    outline: none;
    font-family: var(--font-sans);
    font-size: 1rem;
    color: var(--gray-800);
    background: transparent;
    -moz-appearance: textfield;
}

.donate__input::-webkit-outer-spin-button,
.donate__input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.donate__submit {
    width: 100%;
    justify-content: center;
    padding: 1rem 1.5rem;
    font-size: 1.05rem;
    border-radius: var(--radius-lg);
    letter-spacing: -0.01em;
}

.donate__submit:disabled {
    opacity: 0.6;
    cursor: wait;
}

.donate__error {
    margin-top: 0.75rem;
    padding: 0.6rem 0.85rem;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: var(--radius);
    font-size: 0.85rem;
    color: #dc2626;
}

.donate__divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.5rem 0;
}

.donate__divider::before,
.donate__divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--gray-200);
}

.donate__divider span {
    font-size: 0.8rem;
    color: var(--gray-400);
    white-space: nowrap;
}

@media (max-width: 768px) {
    .donate {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   Contact
   ============================================ */
.contact-card h3 {
    color: var(--white);
    margin-bottom: 0.75rem;
}

.contact-card p {
    color: var(--gray-300);
    line-height: 1.7;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--blue-900);
    padding: 1.5rem 0;
}

.footer__content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer__info p {
    font-size: 0.8rem;
    color: var(--gray-500);
}

.footer__links {
    display: flex;
    gap: 1.5rem;
}

.footer__links a {
    font-size: 0.8rem;
    color: var(--gray-400);
}
.footer__links a:hover {
    color: var(--white);
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
    .grid--4 { grid-template-columns: repeat(2, 1fr); }
    .timeline__items { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    :root {
        --section-py: 3.5rem;
    }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }

    .hero { padding-top: 6rem; }
    .hero__title { font-size: 2.25rem; }
    .hero__subtitle { font-size: 1.05rem; }

    .hero__stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .stat__number { font-size: 1.5rem; }

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

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

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

    .cta-row {
        flex-direction: column;
        text-align: center;
    }

    .nav__toggle { display: flex; }

    .nav__links {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 1.5rem var(--container-px);
        gap: 0;
        border-bottom: 1px solid var(--gray-200);
        box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    }

    .nav__links--open { display: flex; }

    .nav__links li {
        border-bottom: 1px solid var(--gray-100);
    }
    .nav__links li:last-child { border-bottom: none; }

    .nav__links a {
        display: block;
        padding: 0.85rem 0;
    }

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

    .highlight-stat strong {
        font-size: 1.5rem;
    }

    .partners__grid {
        gap: 0.5rem;
    }

    .partner {
        font-size: 0.8rem;
        padding: 0.4rem 0.9rem;
    }
}

@media (max-width: 480px) {
    .hero__title { font-size: 1.85rem; }
    .hero__actions { flex-direction: column; }
    .btn { justify-content: center; width: 100%; }

    .card { padding: 1.5rem; }
    .anbi-card { padding: 1.5rem; }
    .highlight-box { padding: 1.5rem; }
}
