/* Openbare website VvE Professionals (stijl gebaseerd op de huidige vveprofessionals.nl) */
@font-face { font-family: "Nunito"; src: url(fonts/Nunito-normal.woff2) format("woff2"); font-weight: 400 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Open Sans"; src: url(fonts/OpenSans-normal.woff2) format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Open Sans"; src: url(fonts/OpenSans-italic.woff2) format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
    --primary: #4154f1;
    --primary-dark: #2f3fd0;
    --navy: #012970;
    --navy-2: #013289;
    --text: #444444;
    --muted: #6b7280;
    --soft: #f6f9ff;
    --line: #e6ebf5;
    --shadow: 0 0 30px rgba(1, 41, 112, .08);
    --radius: 12px;
    --partner: #0f9d58;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font: 16px/1.65 "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--text); background: #fff; }
h1, h2, h3, h4 { font-family: "Nunito", system-ui, sans-serif; color: var(--navy); line-height: 1.25; margin: 0 0 .5em; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; height: auto; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 0; background: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- Kopbalk ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; transition: box-shadow .2s; }
.site-header.scrolled { box-shadow: 0 2px 20px rgba(1, 41, 112, .1); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.logo img { display: block; height: 48px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav > a, .site-nav .dropdown > button {
    font: 700 15px "Nunito", sans-serif; color: var(--navy-2); padding: 10px 12px; border-radius: 6px;
    background: none; border: 0; cursor: pointer; white-space: nowrap;
}
.site-nav > a:hover, .site-nav > a.active, .site-nav .dropdown > button:hover, .site-nav .dropdown.active > button { color: var(--primary); }
.site-nav .btn-login { background: var(--primary); color: #fff; padding: 9px 22px; border-radius: 4px; margin-left: 10px; }
.site-nav .btn-login:hover { background: var(--primary-dark); color: #fff; }
.dropdown { position: relative; }
.dropdown > button::after { content: ""; display: inline-block; margin-left: 6px; border: 4px solid transparent; border-top-color: currentColor; transform: translateY(3px); }
.dropdown-menu {
    position: absolute; top: 100%; left: 0; min-width: 190px; background: #fff; border-radius: 6px; box-shadow: 0 0 30px rgba(127, 137, 161, .25);
    padding: 8px 0; opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s;
}
.dropdown:hover .dropdown-menu, .dropdown:focus-within .dropdown-menu, .dropdown.open .dropdown-menu { opacity: 1; visibility: visible; transform: none; }
.dropdown-menu a { display: block; padding: 9px 20px; color: var(--navy); font: 600 15px "Nunito", sans-serif; }
.dropdown-menu a:hover, .dropdown-menu a.active { color: var(--primary); }
.menu-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; }
.menu-toggle span { display: block; height: 2px; background: var(--navy); margin: 5px 0; border-radius: 2px; transition: .2s; }

/* ---------- Knoppen ---------- */
.btn-primary, .btn-outline {
    display: inline-flex; align-items: center; gap: 10px; font: 700 16px "Nunito", sans-serif; letter-spacing: .5px;
    padding: 14px 34px; border-radius: 4px; transition: .3s; border: 2px solid var(--primary);
}
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 5px 30px rgba(65, 84, 241, .4); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: #fff; }
.btn-primary .arrow { transition: transform .3s; }
.btn-primary:hover .arrow { transform: translateX(5px); }
.btn-outline { color: var(--primary); background: #fff; }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-small { padding: 8px 20px; font-size: 14px; box-shadow: none; }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(180deg, #f6f9ff 0%, #fff 100%); padding: 70px 0 80px; overflow: hidden; }
.hero .container { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.hero h1 { font-size: 46px; font-weight: 800; margin-bottom: 12px; }
.hero h2 { font-size: 24px; font-weight: 500; color: #444; font-family: "Open Sans", sans-serif; margin-bottom: 34px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-logo { animation: float 3s ease-in-out infinite alternate; }
@keyframes float { from { transform: translateY(-8px); } to { transform: translateY(8px); } }
@media (prefers-reduced-motion: reduce) { .hero-logo { animation: none; } html { scroll-behavior: auto; } }

/* ---------- Secties ---------- */
.section { padding: 70px 0; }
.section.soft { background: var(--soft); }
.section-header { text-align: center; margin-bottom: 40px; }
.section-header .label { font: 700 13px "Nunito", sans-serif; letter-spacing: 1px; text-transform: uppercase; color: var(--primary); margin: 0 0 4px; }
.section-header h2 { font-size: 32px; font-weight: 800; margin: 0; }
.section-header p { color: var(--muted); margin: 8px 0 0; }
.page-banner { background: var(--soft); padding: 34px 0 28px; }
.page-banner h1 { font-size: 30px; font-weight: 800; margin: 0; }
.crumbs { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 8px; font-size: 14px; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: #b4bcd0; }
.crumbs a { color: var(--navy-2); }

/* Wie zijn wij */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 0; background: var(--soft); border-radius: var(--radius); overflow: hidden; }
.about .content { padding: 46px 40px; }
.about .content .label { font: 700 13px "Nunito", sans-serif; letter-spacing: 1px; text-transform: uppercase; color: var(--primary); }
.about .content h2 { font-size: 26px; font-weight: 700; margin: 6px 0 16px; }
.about .content .text { margin-bottom: 26px; }
.about .photo { min-height: 320px; background: #dfe7f8 center/cover no-repeat; }

/* FAQ */
.faq-list { max-width: 900px; margin: 0 auto; display: grid; gap: 12px; }
.faq-list details { background: #fff; border-radius: 8px; box-shadow: var(--shadow); }
.faq-list summary { list-style: none; cursor: pointer; padding: 18px 54px 18px 22px; font: 700 17px "Nunito", sans-serif; color: var(--navy); position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 24px; color: var(--primary); font-weight: 400; }
.faq-list details[open] summary::after { content: "–"; }
.faq-list .answer { padding: 0 22px 18px; }
.faq-list .answer p:first-child { margin-top: 0; }

/* Kaarten (nieuws, agenda) */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; transition: transform .3s; }
.card:hover { transform: translateY(-4px); }
.card .card-img { aspect-ratio: 16 / 10; background: #e9eefb center/cover no-repeat; display: block; }
.card .card-img.placeholder { display: grid; place-items: center; background: linear-gradient(135deg, #eef2ff, #dfe7f8); }
.card .card-img.placeholder img { width: 55%; opacity: .55; }
.card .card-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.card .date { font-size: 14px; color: var(--muted); font-weight: 600; }
.card h3 { font-size: 20px; font-weight: 700; margin: 6px 0 10px; }
.card h3 a { color: var(--navy); }
.card h3 a:hover { color: var(--primary); }
.card p { margin: 0 0 18px; color: #555; font-size: 15px; }
.card .more { margin-top: auto; font: 700 15px "Nunito", sans-serif; }
.center { text-align: center; margin-top: 34px; }

/* Agenda */
.events { display: grid; gap: 16px; max-width: 900px; margin: 0 auto; }
.event { display: flex; gap: 22px; align-items: flex-start; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px 24px; }
.event .datebox { flex: 0 0 72px; text-align: center; background: var(--primary); color: #fff; border-radius: 10px; padding: 8px 0; line-height: 1.1; font-family: "Nunito", sans-serif; }
.event.past .datebox { background: #c5cbe0; }
.event .datebox .d { display: block; font-size: 28px; font-weight: 800; }
.event .datebox .m { display: block; font-size: 13px; font-weight: 700; text-transform: uppercase; }
.event .datebox .y { display: block; font-size: 12px; opacity: .85; }
.event h3 { font-size: 20px; margin: 0 0 4px; }
.event h3 a { color: var(--navy); }
.event .meta { color: var(--muted); font-size: 14px; margin-bottom: 6px; }
.event p { margin: 0; font-size: 15px; }
.type-label { display: inline-block; font: 700 12px "Nunito", sans-serif; text-transform: uppercase; letter-spacing: .5px; color: var(--primary); background: #eef0ff; border-radius: 999px; padding: 2px 10px; margin-bottom: 6px; }
.empty { text-align: center; color: var(--muted); }

/* Leden */
.map-wrap { display: grid; grid-template-columns: 2fr 1fr; gap: 22px; align-items: stretch; }
.map { height: 460px; border-radius: var(--radius); box-shadow: var(--shadow); z-index: 0; }
.map-legend { display: flex; gap: 18px; justify-content: center; font-size: 14px; margin-bottom: 14px; }
.pin { display: inline-block; width: 12px; height: 12px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.15); vertical-align: -1px; margin-right: 5px; }
.pin.beheerder { background: var(--primary); }
.pin.partner { background: var(--partner); }
.map-marker { width: 18px; height: 18px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 1px 6px rgba(0,0,0,.35); }
.map-marker.beheerder { background: var(--primary); }
.map-marker.partner { background: var(--partner); }
.map-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; }
.map-card .org-logo { height: 70px; display: flex; align-items: center; margin-bottom: 12px; }
.map-card .org-logo img { max-height: 70px; max-width: 200px; object-fit: contain; }
.map-card h3 { font-size: 19px; }
.org-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.org-links a { font: 700 14px "Nunito", sans-serif; border: 1px solid var(--line); border-radius: 999px; padding: 5px 14px; color: var(--navy-2); }
.org-links a:hover { border-color: var(--primary); color: var(--primary); }
.org-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; }
.org { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; display: flex; flex-direction: column; }
.org .org-logo { height: 80px; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.org .org-logo img { max-height: 80px; max-width: 100%; object-fit: contain; }
.org .org-logo .initials { width: 80px; height: 80px; border-radius: 50%; display: grid; place-items: center; background: #eef0ff; color: var(--primary); font: 800 26px "Nunito", sans-serif; }
.org h3 { font-size: 18px; margin-bottom: 6px; }
.org .addr { font-size: 14px; color: var(--muted); }
.org .desc { font-size: 14px; margin: 8px 0 0; }
.org .org-links { margin-top: auto; padding-top: 14px; }
.logo-strip { display: flex; flex-wrap: wrap; gap: 26px 34px; justify-content: center; align-items: center; margin-top: 34px; }
.logo-strip a { display: block; filter: grayscale(1); opacity: .75; transition: .2s; }
.logo-strip a:hover { filter: none; opacity: 1; }
.logo-strip img { height: 56px; width: auto; max-width: 150px; object-fit: contain; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 22px; }
.info-box { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.info-box .icon { width: 44px; height: 44px; border-radius: 50%; background: #fff; display: grid; place-items: center; color: var(--primary); margin-bottom: 12px; }
.info-box h3 { font-size: 20px; margin-bottom: 8px; }
.info-box p { margin: 0; }

/* Artikel */
.article-layout { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 40px; }
.article { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 30px; }
.article .hero-img { margin: -30px -30px 24px; aspect-ratio: 16 / 8; background: #e9eefb center/cover no-repeat; border-radius: var(--radius) var(--radius) 0 0; }
.article h1 { font-size: 30px; font-weight: 800; }
.article .meta { color: var(--muted); font-size: 14px; margin-bottom: 20px; }
.prose { overflow-wrap: anywhere; }
.prose h2, .prose h3 { margin-top: 1.4em; }
.prose img { border-radius: 8px; margin: 10px 0; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose blockquote { border-left: 4px solid var(--primary); margin: 1em 0; padding: 4px 0 4px 16px; color: #555; }
.sidebar .box { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; margin-bottom: 22px; }
.sidebar h3 { font-size: 18px; }
.sidebar ul { list-style: none; padding: 0; margin: 0; }
.sidebar li { padding: 8px 0; border-bottom: 1px solid var(--line); }
.sidebar li:last-child { border-bottom: 0; }
.sidebar li a { color: var(--navy); font-weight: 600; }
.sidebar li a:hover { color: var(--primary); }
.sidebar time { display: block; font-size: 13px; color: var(--muted); }
.facts { display: grid; grid-template-columns: 110px 1fr; gap: 8px 14px; margin: 0 0 20px; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 600; color: var(--navy); }
.notice { background: #eef0ff; border-radius: 8px; padding: 14px 18px; font-size: 15px; }

.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 34px; flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 40px; text-align: center; padding: 8px 12px; border-radius: 6px; background: #fff; box-shadow: var(--shadow); font-weight: 700; }
.pagination span.current { background: var(--primary); color: #fff; }

/* ---------- Voettekst ---------- */
.site-footer { background: var(--soft); margin-top: 40px; font-size: 15px; }
.site-footer .top { padding: 54px 0 30px; display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 34px; }
.site-footer img { height: 54px; width: auto; margin-bottom: 12px; }
.site-footer h4 { font-size: 16px; font-weight: 800; margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { padding: 5px 0; }
.site-footer li a { color: var(--text); }
.site-footer li a:hover { color: var(--primary); }
.site-footer li a::before { content: "›"; color: var(--primary); margin-right: 8px; font-weight: 700; }
.site-footer address { font-style: normal; }
.site-footer .bottom { border-top: 1px solid #e1ecff; padding: 20px 0; text-align: center; font-size: 14px; color: var(--navy); }

/* ---------- Tablet & mobiel ---------- */
@media (max-width: 1060px) {
    .menu-toggle { display: block; }
    .js .site-nav {
        display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff;
        flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 18px; box-shadow: 0 14px 20px rgba(1, 41, 112, .1);
        max-height: calc(100vh - 76px); overflow-y: auto;
    }
    .js .site-header.open .site-nav { display: flex; }
    .site-header.open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .site-header.open .menu-toggle span:nth-child(2) { opacity: 0; }
    .site-header.open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .site-nav > a, .site-nav .dropdown > button { padding: 12px 4px; text-align: left; width: 100%; font-size: 17px; border-bottom: 1px solid var(--line); border-radius: 0; }
    .dropdown-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding: 0 0 6px 14px; display: none; }
    .dropdown.open .dropdown-menu { display: block; }
    .site-nav .btn-login { margin: 14px 0 0; text-align: center; border-bottom: 0; border-radius: 4px; }
    .hero .container { grid-template-columns: 1fr; text-align: center; }
    .hero .actions { justify-content: center; }
    .hero-logo { max-width: 420px; margin: 0 auto; }
    .cards { grid-template-columns: repeat(2, 1fr); }
    .map-wrap { grid-template-columns: 1fr; }
    .article-layout { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
    body { font-size: 15px; }
    .logo img { height: 40px; }
    .site-header .container { min-height: 66px; }
    .hero { padding: 40px 0 50px; }
    .hero h1 { font-size: 32px; }
    .hero h2 { font-size: 19px; margin-bottom: 24px; }
    .btn-primary, .btn-outline { padding: 12px 24px; }
    .section { padding: 48px 0; }
    .section-header h2 { font-size: 26px; }
    .about { grid-template-columns: 1fr; }
    .about .content { padding: 28px 22px; }
    .about .photo { min-height: 220px; order: -1; }
    .cards, .contact-grid { grid-template-columns: 1fr; }
    .event { padding: 16px; gap: 14px; }
    .event .datebox { flex-basis: 58px; }
    .event .datebox .d { font-size: 22px; }
    .map { height: 340px; }
    .article { padding: 20px; }
    .article .hero-img { margin: -20px -20px 18px; }
    .article h1 { font-size: 24px; }
    .page-banner h1 { font-size: 24px; }
    .site-footer .top { grid-template-columns: 1fr; gap: 24px; }
    .facts { grid-template-columns: 1fr; gap: 0; }
    .facts dt { margin-top: 8px; }
}
