:root {
    --bg: #f4f1ea;
    --surface: #ffffff;
    --text: #1e2725;
    --muted: #63706b;
    --line: #d9ddd8;
    --accent: #315c4d;
    --accent-dark: #24483c;
    --danger: #a03333;
    --radius: 18px;
    --shadow: 0 12px 35px rgba(23, 42, 36, .08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
}
a { color: var(--accent); }
img { max-width: 100%; display: block; }
.container { width: min(1120px, calc(100% - 32px)); margin-inline: auto; }
.topbar {
    position: sticky; top: 0; z-index: 10;
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}
.topbar-inner {
    width: min(1200px, calc(100% - 32px));
    margin-inline: auto;
    min-height: 72px;
    display: flex;
    gap: 28px;
    align-items: center;
}
.brand { color: var(--text); font-size: 1.15rem; font-weight: 800; text-decoration: none; white-space: nowrap; }
.category-nav { display: flex; gap: 8px; overflow-x: auto; padding: 12px 0; }
.category-nav a, .device-nav a {
    text-decoration: none;
    white-space: nowrap;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 8px 13px;
    background: white;
    color: var(--text);
}
.category-nav a.active, .device-nav a.active { background: var(--accent); color: white; border-color: var(--accent); }
.landing, .manual-page { padding: 64px 0 80px; }
.eyebrow { color: var(--accent); text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 800; margin-bottom: 8px; }
h1, h2 { line-height: 1.15; margin-top: 0; }
h1 { font-size: clamp(2rem, 5vw, 4rem); margin-bottom: 18px; }
h2 { font-size: 1.35rem; }
.intro { color: var(--muted); font-size: 1.15rem; max-width: 680px; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; margin-top: 36px; }
.accommodation-card {
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: var(--surface);
    box-shadow: var(--shadow);
    border-radius: var(--radius);
    padding: 24px;
    color: var(--text);
    text-decoration: none;
}
.accommodation-card span { font-size: 1.45rem; font-weight: 800; }
.accommodation-card strong { color: var(--accent); }
.device-nav { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 30px; }
.video-wrap { aspect-ratio: 16/9; background: #111; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin: 32px 0; }
.video-wrap iframe { width: 100%; height: 100%; border: 0; }
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; margin: 34px 0; }
.gallery figure { margin: 0; background: white; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.gallery figcaption { padding: 14px 16px; color: var(--muted); }
.manual-text { background: white; padding: clamp(22px, 5vw, 42px); border-radius: var(--radius); box-shadow: var(--shadow); font-size: 1.08rem; }
.empty { background: white; border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.site-footer { border-top: 1px solid var(--line); padding: 24px 0; color: var(--muted); }

/* Beheer */
.admin-body { background: #eef1ef; }
.admin-topbar {
    display: flex; justify-content: space-between; align-items: center; gap: 24px;
    padding: 16px max(24px, calc((100vw - 1200px)/2));
    background: #1d312b; color: white;
}
.admin-topbar a { color: white; text-decoration: none; }
.admin-topbar nav { display: flex; flex-wrap: wrap; gap: 16px; }
.admin-shell { width: min(1200px, calc(100% - 32px)); margin: 34px auto 70px; }
.admin-shell.narrow { width: min(480px, calc(100% - 32px)); margin-top: 80px; }
.panel { background: white; border-radius: 14px; padding: 26px; box-shadow: 0 8px 28px rgba(0,0,0,.06); overflow-x: auto; }
.admin-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(300px, .8fr); gap: 24px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 24px; }
.stat { background: white; padding: 24px; border-radius: 14px; box-shadow: 0 8px 28px rgba(0,0,0,.05); }
.stat strong { display: block; font-size: 2.4rem; line-height: 1; }
.stat span { color: var(--muted); }
.panel-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 18px; }
.form-stack { display: grid; gap: 17px; }
.form-columns { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
label { display: grid; gap: 7px; font-weight: 700; }
small { color: var(--muted); font-weight: 400; }
input, textarea, select {
    width: 100%; border: 1px solid #cbd2ce; border-radius: 9px; padding: 11px 12px;
    background: white; color: var(--text); font: inherit;
}
textarea { resize: vertical; }
input:focus, textarea:focus, select:focus { outline: 3px solid rgba(49,92,77,.16); border-color: var(--accent); }
button, .button {
    appearance: none; border: 0; border-radius: 9px; padding: 11px 16px;
    background: var(--accent); color: white; font: inherit; font-weight: 800; cursor: pointer; text-decoration: none; display: inline-block;
}
button:hover, .button:hover { background: var(--accent-dark); }
.button.secondary { background: #dfe8e4; color: var(--accent-dark); }
.button-row { display: flex; gap: 12px; flex-wrap: wrap; }
fieldset { border: 1px solid var(--line); border-radius: 10px; padding: 16px; }
legend { font-weight: 800; padding: 0 6px; }
.checkbox-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; }
.check { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.check input { width: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; border-bottom: 1px solid #e5e9e7; padding: 12px 10px; vertical-align: top; }
th { color: var(--muted); font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; }
.actions { display: flex; justify-content: flex-end; gap: 12px; align-items: center; }
.actions form { margin: 0; }
.link { background: none; color: var(--accent); padding: 0; font-weight: 600; }
.link:hover { background: none; text-decoration: underline; }
.danger { color: var(--danger); }
.flash { padding: 13px 16px; border-radius: 10px; margin-bottom: 18px; }
.flash.success { background: #dff2e8; color: #1f5e41; }
.flash.error { background: #fae2e2; color: #812929; }
.admin-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; }
.admin-gallery > div { border: 1px solid var(--line); border-radius: 10px; padding: 12px; }
.admin-gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 7px; }
hr { border: 0; border-top: 1px solid var(--line); margin: 30px 0; }

@media (max-width: 800px) {
    .topbar-inner { display: block; padding-top: 14px; }
    .brand { display: block; }
    .gallery, .admin-grid, .form-columns, .stats { grid-template-columns: 1fr; }
    .admin-topbar { align-items: flex-start; flex-direction: column; }
    .admin-topbar nav { gap: 10px 14px; }
    .panel { padding: 20px; }
    th:nth-child(3), td:nth-child(3) { display: none; }
}

.muted-note { color: var(--muted); }
.admin-gallery label { margin-top: 10px; }
