/* ============================================================
   SkyHills Nederland — Informatiegids
   Hoofdstijlbestand
   ============================================================ */

:root {
  --bg: #0b0f16;
  --bg-alt: #0e141f;
  --surface: #131a28;
  --surface-raised: #182134;
  --border: #24304a;
  --border-soft: #1c2640;
  --text: #dfe6f2;
  --text-muted: #97a3bb;
  --text-faint: #6d7a94;
  --accent: #38d0b4;
  --accent-hover: #52e0c6;
  --accent-dim: rgba(56, 208, 180, 0.12);
  --warn: #f0b35c;
  --warn-dim: rgba(240, 179, 92, 0.1);
  --danger: #e4685f;
  --danger-dim: rgba(228, 104, 95, 0.1);
  --link: #5ec8ff;
  --link-hover: #8ad9ff;
  --radius: 12px;
  --radius-sm: 8px;
  --container: 1140px;
  --prose: 760px;
  --header-h: 68px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --font-sans: "Segoe UI", "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --font-serif: Georgia, "Times New Roman", serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 0;
  overflow-x: hidden;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; height: auto; }

a {
  color: var(--link);
  text-decoration: none;
  transition: color 0.15s ease;
}
a:hover { color: var(--link-hover); text-decoration: underline; }

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.25;
  color: #f2f5fa;
  margin: 0 0 0.6em;
}

p { margin: 0 0 1.1em; }

ul, ol { margin: 0 0 1.2em; padding-left: 1.35em; }
li { margin-bottom: 0.45em; }
li::marker { color: var(--accent); }

strong { color: #eef2f9; }

::selection { background: rgba(56, 208, 180, 0.28); }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.prose { max-width: var(--prose); }

.section {
  padding-block: 64px;
}
.section--alt {
  background-color: var(--bg-alt);
  border-block: 1px solid var(--border-soft);
}

.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.section h2 {
  font-size: 1.75rem;
  margin-bottom: 18px;
}

.section h3 {
  font-size: 1.2rem;
  margin-top: 1.6em;
}

.section p { color: var(--text-muted); }
.section p strong { color: var(--text); }

.lead {
  font-size: 1.15rem;
  color: var(--text);
}

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  padding: 10px 18px;
  background: var(--accent);
  color: #06251f;
  font-weight: 700;
  z-index: 200;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus {
  left: 0;
  text-decoration: none;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(11, 15, 22, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-soft);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
}
.brand:hover { text-decoration: none; }
.brand img { display: block; width: 160px; height: auto; }

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav a {
  display: block;
  padding: 8px 12px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  white-space: nowrap;
}
.main-nav a:hover {
  color: var(--text);
  background: var(--surface);
  text-decoration: none;
}
.main-nav a[aria-current="page"] {
  color: var(--accent);
  background: var(--accent-dim);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-block: 88px 72px;
  background:
    radial-gradient(ellipse 60% 55% at 15% 0%, rgba(56, 208, 180, 0.09), transparent 65%),
    radial-gradient(ellipse 50% 50% at 90% 20%, rgba(94, 200, 255, 0.06), transparent 60%),
    var(--bg);
  border-bottom: 1px solid var(--border-soft);
}

.hero-inner { max-width: var(--prose); }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  margin-bottom: 22px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(56, 208, 180, 0.28);
  border-radius: 999px;
}

.hero h1 {
  font-size: 2.6rem;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin-bottom: 20px;
}

.hero .lead { margin-bottom: 26px; }

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid var(--border-soft);
  font-size: 0.85rem;
  color: var(--text-faint);
}
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

/* ---------- Page layout: TOC-sidebar + content ---------- */
.page-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 44px;
  align-items: start;
  min-width: 0;
  max-width: var(--container);
}

.toc {
  position: sticky;
  top: calc(var(--header-h) + 20px);
  padding-top: 48px;
  min-width: 0;
  max-width: 100%;
}

.toc-nav {
  padding: 20px;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
}

.toc-title {
  margin: 0 0 12px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.toc-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.toc-nav li { margin: 0; }
.toc-nav li::marker { content: none; }

.toc-nav a {
  display: block;
  padding: 8px 12px;
  margin-inline: -8px;
  font-size: 0.92rem;
  line-height: 1.4;
  color: var(--text-muted);
  border-left: 2px solid transparent;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.toc-nav a:hover {
  color: var(--text);
  background: var(--surface-raised);
  text-decoration: none;
}
.toc-nav a.is-active {
  color: var(--accent);
  background: var(--accent-dim);
  border-left-color: var(--accent);
}

/* Inhoudskolom: dubbele container-padding verwijderen */
.page-body {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
}
.page-body .section,
.page-body .section .container,
.page-body .prose {
  min-width: 0;
  max-width: 100%;
}
.page-body .section .container { padding-inline: 0; }
.page-body .section:first-child { padding-top: 48px; }

/* ---------- Callouts ---------- */
.callout {
  display: flex;
  gap: 16px;
  padding: 20px 22px;
  margin: 26px 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
}
.callout--warn { border-left-color: var(--warn); background: linear-gradient(0deg, var(--warn-dim), var(--warn-dim)), var(--surface); }
.callout--danger { border-left-color: var(--danger); background: linear-gradient(0deg, var(--danger-dim), var(--danger-dim)), var(--surface); }
.callout p { margin: 0; color: var(--text); font-size: 0.98rem; }
.callout p + p { margin-top: 0.6em; }
.callout .callout-title {
  display: block;
  font-weight: 700;
  color: #f2f5fa;
  margin-bottom: 6px;
}
.callout-icon {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  margin-top: 3px;
}

/* ---------- Cards & grids ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 30px 0;
}
.card-grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.card:hover {
  border-color: var(--border);
  transform: translateY(-2px);
}
.card h3 {
  font-size: 1.05rem;
  margin-top: 0;
  margin-bottom: 8px;
}
.card p {
  margin: 0;
  font-size: 0.93rem;
  color: var(--text-muted);
}
.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  color: var(--accent);
  background: var(--accent-dim);
  border-radius: 10px;
}
.card-icon img { display: block; width: 22px; height: 22px; }

/* ---------- Checklist ---------- */
.check-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}
.check-list li {
  position: relative;
  padding-left: 34px;
  margin-bottom: 12px;
  color: var(--text-muted);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: var(--accent-dim);
  border: 1px solid rgba(56, 208, 180, 0.35);
}
.check-list li::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 9px;
  width: 8px;
  height: 5px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

/* ---------- Status table ---------- */
.status-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 0.95rem;
}
.status-table th,
.status-table td {
  padding: 13px 16px;
  text-align: left;
  border: 1px solid var(--border-soft);
  vertical-align: top;
}
.status-table th {
  width: 34%;
  font-weight: 600;
  color: var(--text);
  background: var(--surface);
}
.status-table td { color: var(--text-muted); }
.badge {
  display: inline-block;
  padding: 3px 11px;
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: 999px;
  white-space: nowrap;
}
.badge--danger { color: var(--danger); background: var(--danger-dim); border: 1px solid rgba(228, 104, 95, 0.35); }
.badge--warn { color: var(--warn); background: var(--warn-dim); border: 1px solid rgba(240, 179, 92, 0.35); }
.badge--ok { color: var(--accent); background: var(--accent-dim); border: 1px solid rgba(56, 208, 180, 0.35); }

/* ---------- FAQ ---------- */
.faq-list {
  max-width: var(--prose);
  margin-top: 26px;
  border-top: 1px solid var(--border-soft);
}
.faq-item { border-bottom: 1px solid var(--border-soft); }
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 20px 4px;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 1.02rem;
  font-weight: 600;
  text-align: left;
  color: var(--text);
  cursor: pointer;
}
.faq-question:hover { color: var(--accent-hover); }
.faq-question:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}
.faq-chevron {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  transition: transform 0.25s ease;
}
.faq-item.is-open .faq-chevron {
  transform: rotate(180deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-answer-inner {
  padding: 0 4px 22px;
  color: var(--text-muted);
  font-size: 0.97rem;
}
.faq-answer-inner p:last-child { margin-bottom: 0; }

/* ---------- Footer ---------- */
.site-footer {
  margin-top: 40px;
  background: #080b11;
  border-top: 1px solid var(--border-soft);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  padding-block: 52px 40px;
}
.footer-brand img { display: block; width: 150px; height: auto; margin-bottom: 14px; }
.footer-brand p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-faint);
  max-width: 300px;
}
.footer-col h4 {
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 14px;
}
.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-col li { margin-bottom: 9px; }
.footer-col a {
  font-size: 0.92rem;
  color: var(--text-muted);
}
.footer-col a:hover { color: var(--accent-hover); text-decoration: none; }

.footer-legal {
  padding: 18px 0;
  border-top: 1px solid var(--border-soft);
}
.age-restriction {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  margin-bottom: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  color: var(--text-muted);
}
.age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  font-weight: 800;
  font-size: 0.85rem;
  color: #fff;
  background: var(--danger);
  border-radius: 8px;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding: 16px 0 28px;
  font-size: 0.82rem;
  color: var(--text-faint);
}

/* ---------- Misc ---------- */
.divider {
  height: 1px;
  margin: 48px 0;
  background: var(--border-soft);
  border: none;
}

.note {
  font-size: 0.85rem;
  color: var(--text-faint);
}

.external-link::after {
  content: "↗";
  margin-left: 4px;
  font-size: 0.8em;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
