:root {
    /* Kleuren uit het logo: blauw #0086AE, groen #A9C80D, geel #DCDC00 */
    --logo-blue: #0086ae;
    --logo-green: #a9c80d;
    --logo-yellow: #dcdc00;
    --primary: #00789c;       /* logo-blauw, iets donkerder voor leesbare witte tekst */
    --primary-dark: #015a75;
    --accent: #7d9600;        /* logo-groen, donker genoeg voor tekst/iconen */
    --slate: #173f4d;
    --slate-light: #4f6f7a;
    --cream: #f7f9f5;
    --sand: #edf4e0;
    --line: #dbe4d3;
    --text: #22303a;
    --muted: #5f6d72;
    --free: #e7f3e8;
    --free-line: #9cc7a0;
    --option: #fff1cc;
    --option-line: #e3bf55;
    --busy: #f6d9d2;
    --busy-line: #c9705c;
    --radius: 10px;
    --shadow: 0 1px 2px rgba(0,0,0,.05), 0 6px 20px rgba(0,0,0,.06);
    font-size: 17px;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--text); background: var(--cream); line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: var(--primary); }
a:hover { color: var(--primary-dark); }
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; line-height: 1.2; color: var(--slate); }
h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 0 0 .6em; }
h2 { font-size: 1.5rem; margin: 1.6em 0 .5em; }
h3 { font-size: 1.15rem; margin: 1.3em 0 .4em; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 10px; top: 10px; background: #fff; padding: 8px; z-index: 10; }

/* Header */
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.site-header::before { content: ""; display: block; height: 4px; background: linear-gradient(90deg, var(--logo-yellow), var(--logo-green) 50%, var(--logo-blue)); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 20px; }
.brand { text-decoration: none; display: flex; align-items: center; gap: 12px; line-height: 1.15; }
.brand img { height: 58px; width: auto; }
.brand-sub { font-size: .78rem; color: var(--muted); letter-spacing: .03em; max-width: 130px; }
@media (max-width: 1000px) { .brand-sub { display: none; } }
.main-nav { display: flex; gap: 4px; align-items: center; flex-wrap: wrap; }
.main-nav a { text-decoration: none; color: var(--slate); padding: 8px 11px; border-radius: 6px; font-size: .95rem; }
.main-nav a:hover, .main-nav a.active { background: var(--sand); color: var(--primary-dark); }
.main-nav a.nav-cta { background: var(--primary); color: #fff; margin-left: 6px; }
.main-nav a.nav-cta:hover { background: var(--primary-dark); color: #fff; }
.menu-toggle, .menu-button { display: none; }
@media (max-width: 860px) {
    .menu-button { display: block; width: 40px; height: 40px; cursor: pointer; position: relative; }
    .menu-button span, .menu-button span::before, .menu-button span::after { position: absolute; left: 8px; width: 24px; height: 2px; background: var(--slate); content: ""; }
    .menu-button span { top: 19px; } .menu-button span::before { top: -7px; left: 0; } .menu-button span::after { top: 7px; left: 0; }
    .main-nav { display: none; position: absolute; top: 80px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; padding: 10px 20px 20px; border-bottom: 1px solid var(--line); }
    .menu-toggle:checked ~ .main-nav { display: flex; }
    .main-nav a.nav-cta { margin: 8px 0 0; text-align: center; }
}

/* Hero */
.hero { position: relative; min-height: 460px; display: flex; align-items: flex-end; color: #fff; background: var(--slate) center/cover no-repeat; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,34,44,.85) 0%, rgba(8,34,44,.62) 55%, rgba(8,34,44,.2) 100%); }
.hero h1, .hero p { text-shadow: 0 1px 3px rgba(0,0,0,.4); }
.hero .wrap { position: relative; z-index: 1; padding-bottom: 48px; padding-top: 80px; }
.hero h1 { color: #fff; max-width: 760px; }
.hero p { font-size: 1.15rem; max-width: 640px; margin: 0 0 24px; }
.page-head { background: var(--sand); padding: 44px 0 30px; border-bottom: 1px solid var(--line); }
.page-head h1 { margin: 0; }
.page-head p { margin: .4em 0 0; color: var(--muted); }

/* Knoppen */
.btn { display: inline-block; background: var(--primary); color: #fff; text-decoration: none; padding: 12px 22px; border-radius: 8px; border: 0; font-size: 1rem; cursor: pointer; font-weight: 600; }
.btn:hover { background: var(--primary-dark); color: #fff; }
.btn-light { background: #fff; color: var(--primary); }
.btn-light:hover { background: var(--sand); color: var(--primary-dark); }
.btn-ghost { background: transparent; color: var(--slate); border: 1px solid var(--line); }
.btn-ghost:hover { background: var(--sand); color: var(--slate); }
.btn-small { padding: 7px 13px; font-size: .9rem; }
.btn-green { background: #2f7d43; } .btn-green:hover { background: #246535; }

/* Secties */
.section { padding: 56px 0; }
.section-alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 860px) { .grid-2, .grid-3 { grid-template-columns: 1fr; gap: 24px; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.card-body { padding: 18px 20px; }
.card-body h3 { margin-top: 0; }
.card img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.features { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.features li { padding-left: 28px; position: relative; }
.features li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: bold; }
.notice { background: #fff; border-left: 4px solid var(--logo-green); padding: 14px 18px; border-radius: 6px; margin: 20px 0; box-shadow: var(--shadow); }
.notice-info { border-color: var(--logo-blue); }
.photo-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.photo-strip img { aspect-ratio: 4/3; object-fit: cover; border-radius: 8px; width: 100%; }
@media (max-width: 700px) { .photo-strip { grid-template-columns: repeat(2, 1fr); } }
.prose p, .prose li { max-width: 72ch; }
.prose ul { padding-left: 1.2em; }

/* Tabellen */
table.data { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
table.data th, table.data td { padding: 11px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
table.data th { background: var(--sand); color: var(--slate); font-size: .9rem; }
table.data td.num, table.data th.num { text-align: right; white-space: nowrap; }
.table-scroll { overflow-x: auto; }

/* Kalender */
.calendar { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); }
.cal-nav { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.cal-nav button { background: var(--sand); border: 0; border-radius: 6px; width: 38px; height: 38px; font-size: 1.1rem; cursor: pointer; color: var(--slate); }
.cal-nav button:disabled { opacity: .35; cursor: default; }
.cal-months { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 22px; }
.cal-month h4 { margin: 0 0 8px; text-align: center; font-family: Georgia, serif; color: var(--slate); text-transform: capitalize; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.cal-grid .dow { font-size: .72rem; text-align: center; color: var(--muted); padding-bottom: 3px; }
.cal-day { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; border-radius: 6px; font-size: .9rem; border: 1px solid transparent; background: var(--free); border-color: var(--free-line); color: var(--text); padding: 0; font-family: inherit; }
button.cal-day { cursor: pointer; }
button.cal-day:hover { outline: 2px solid var(--slate); }
.cal-day.empty { background: none; border: 0; }
.cal-day.past { background: #f3f3f3; border-color: #eee; color: #bbb; }
.cal-day.optie { background: var(--option); border-color: var(--option-line); }
.cal-day.bezet { background: var(--busy); border-color: var(--busy-line); color: #8a3a2a; text-decoration: line-through; }
.cal-day.selected { background: var(--primary); border-color: var(--primary-dark); color: #fff; font-weight: bold; }
.cal-day.extra { background: #cfe8f1; border-color: var(--primary); color: var(--primary-dark); font-weight: bold; }
.cal-day.prep { box-shadow: inset 0 -4px 0 var(--primary); }
.cal-legend { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 14px; font-size: .85rem; color: var(--muted); }
.cal-legend span::before { content: ""; display: inline-block; width: 14px; height: 14px; border-radius: 4px; margin-right: 6px; vertical-align: -2px; border: 1px solid; }
.cal-legend .l-free::before { background: var(--free); border-color: var(--free-line); }
.cal-legend .l-option::before { background: var(--option); border-color: var(--option-line); }
.cal-legend .l-busy::before { background: var(--busy); border-color: var(--busy-line); }
.cal-legend .l-sel::before { background: var(--primary); border-color: var(--primary-dark); }

/* Formulieren */
.form-grid { display: grid; gap: 18px; }
.field label, .field .label { display: block; font-weight: 600; margin-bottom: 5px; color: var(--slate); }
.field .hint { font-size: .87rem; color: var(--muted); margin-top: 4px; }
input[type=text], input[type=email], input[type=tel], input[type=date], input[type=password], input[type=search], select, textarea {
    width: 100%; padding: 11px 12px; border: 1px solid #cfc6b8; border-radius: 7px; font: inherit; background: #fff; color: var(--text);
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--primary); outline-offset: 1px; border-color: var(--primary); }
textarea { min-height: 120px; resize: vertical; }
.choice { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; cursor: pointer; font-weight: normal !important; }
.choice input { margin-top: 5px; flex-shrink: 0; }
.choice small { display: block; color: var(--muted); }
.choices { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; }
.choice.disabled { opacity: .55; cursor: not-allowed; }
.error { color: #b3261e; font-size: .9rem; margin-top: 4px; }
.errors { background: #fdecea; border: 1px solid #f3b8b1; color: #8c1d18; padding: 12px 16px; border-radius: 8px; }
.errors ul { margin: 6px 0 0; padding-left: 20px; }
.success { background: #e7f3e8; border: 1px solid var(--free-line); color: #1e5b2b; padding: 12px 16px; border-radius: 8px; margin-bottom: 18px; }
.fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; background: #fff; margin: 0 0 22px; }
.fieldset legend { font-family: Georgia, serif; font-size: 1.2rem; color: var(--slate); padding: 0 8px; }
.summary { background: var(--sand); border-radius: 8px; padding: 12px 16px; margin-top: 14px; }
.summary:empty { display: none; }
.hp { position: absolute; left: -5000px; }

/* Footer */
.site-footer { background: var(--slate); color: #e3edf0; border-top: 4px solid var(--logo-green); padding: 36px 0; margin-top: 40px; font-size: .92rem; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

/* Beheer */
.admin-bar { background: var(--slate); color: #fff; }
.admin-bar .wrap { display: flex; justify-content: space-between; align-items: center; min-height: 56px; gap: 14px; flex-wrap: wrap; }
.admin-bar a, .admin-bar button { color: #fff; text-decoration: none; background: none; border: 0; font: inherit; cursor: pointer; padding: 6px 8px; }
.admin-bar nav { display: flex; gap: 6px; align-items: center; }
.badge { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: .8rem; font-weight: 600; white-space: nowrap; }
.badge-pending { background: var(--option); color: #7a5a00; }
.badge-approved { background: var(--free); color: #1e5b2b; }
.badge-declined, .badge-cancelled { background: #eee; color: #666; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: end; margin: 0 0 18px; }
.filters .field { min-width: 160px; }
.dl { display: grid; grid-template-columns: 180px 1fr; gap: 8px 16px; margin: 0; }
.dl dt { color: var(--muted); }
.dl dd { margin: 0; }
@media (max-width: 600px) { .dl { grid-template-columns: 1fr; } .dl dd { margin-bottom: 8px; } }
.actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
.pagination { margin-top: 18px; }
