:root {
  --bg: #f9efd6;
  --surface: rgba(255, 248, 235, 0.94);
  --surface-strong: #fff6e4;
  --text: #173126;
  --muted: #5DA2BF;
  --brand: #5DA2BF;
  --brand-dark: #5DA2BF;
  --accent: #ffd7a8;
  --accent-dark: #c68846;
  --border: rgba(45, 127, 165, 0.16);
  --shadow: 0 18px 48px rgba(34, 72, 96, 0.14);
  --radius: 22px;
  --content-width: 1140px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Open Sans", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(247, 201, 72, 0.28), transparent 30%),
    linear-gradient(180deg, #fff8ec 0%, var(--bg) 55%, #f4e7c8 100%);
}

a {
  color: var(--brand);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.2em;
}

a:hover,
a:focus-visible {
  color: var(--brand-dark);
}

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 100;
  padding: 12px 16px;
  border-radius: 999px;
  background: var(--brand-dark);
  color: #fff;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(255, 249, 238, 0.92);
  border-bottom: 1px solid rgba(45, 127, 165, 0.1);
}

.nav-wrap,
.container {
  width: min(calc(100% - 32px), var(--content-width));
  margin: 0 auto;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: inherit;
}

.brand img {
  width: 172px;
  height: auto;
}

.brand strong {
  display: block;
  font-family: "Eczar", serif;
  font-size: 1.1rem;
}

.brand span {
  display: block;
  font-size: 0.95rem;
  color: var(--muted);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(21, 52, 66, 0.12);
  cursor: pointer;
  color: var(--ink);
}

.nav-toggle svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.site-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
}

.site-nav a[aria-current="page"] {
  background: var(--brand);
  color: #fff;
}

.cta-link {
  background: var(--accent);
  color: #352500;
}

.cta-link:hover,
.cta-link:focus-visible {
  color: #1e1600;
  background: #ffd96e;
}

.hero {
  padding: 44px 0 28px;
}

.hero-panel {
  position: relative;
  overflow: hidden;
  min-height: 600px;
  border-radius: 32px;
  background:
    linear-gradient(135deg, rgba(45, 127, 165, 0.92) 0%, rgba(125, 207, 242, 0.74) 45%, rgba(255, 215, 168, 0.44) 100%),
    url("./tuimelaars-1.jpg") center/cover no-repeat;
  box-shadow: var(--shadow);
}

.hero-panel::after {
  content: "";
  position: absolute;
  inset: auto -80px -110px auto;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.9fr);
  align-items: end;
  gap: 28px;
  min-height: 600px;
  padding: 54px;
}

.hero-copy {
  color: #fffdf8;
  max-width: 680px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

h1,
h2,
h3 {
  margin: 0 0 16px;
  font-family: "Eczar", serif;
  line-height: 1.05;
}

h1 {
  font-size: clamp(2.7rem, 5vw, 4.8rem);
}

h2 {
  font-size: clamp(2rem, 3.2vw, 3rem);
}

h3 {
  font-size: 1.45rem;
}

.lead {
  font-size: 1.1rem;
  line-height: 1.8;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
}

.button-primary {
  background: var(--accent);
  color: #000 !important;
}

.button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.34);
  color: #fff;
}

.hero-card {
  align-self: center;
  padding: 24px;
  border-radius: 28px;
  background: rgba(255, 248, 235, 0.92);
  color: var(--text);
}

.hero-card ul {
  margin: 18px 0 0;
  padding-left: 18px;
}

.hero-card li + li {
  margin-top: 10px;
}

main section {
  padding: 38px 0;
}

.section-top {
  max-width: 760px;
  margin-bottom: 26px;
}

.card-grid,
.gallery-grid,
.contact-grid {
  display: grid;
  gap: 20px;
}

.card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card,
.info-card,
.table-card,
.contact-card {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.card p,
.info-card p,
.contact-card p {
  margin: 0;
  line-height: 1.8;
}

.card strong,
.info-card strong {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--brand-dark);
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.feature-strip .info-card {
  padding: 22px;
}

.gallery-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.gallery-grid figure {
  margin: 0;
  overflow: hidden;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-grid figure:nth-child(1),
.gallery-grid figure:nth-child(4) {
  grid-column: span 7;
  min-height: 340px;
}

.gallery-grid figure:nth-child(2),
.gallery-grid figure:nth-child(3),
.gallery-grid figure:nth-child(5) {
  grid-column: span 5;
  min-height: 340px;
}

.highlight {
  border-radius: 34px;
  background: linear-gradient(135deg, #2d7fa5 0%, #7dcff2 100%);
  color: #fff;
  padding: 34px;
  box-shadow: var(--shadow);
}

.highlight a {
  color: #ffe8a6;
}

.review-section {
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: 32px;
  background:
    radial-gradient(circle at top right, rgba(255, 215, 168, 0.5), transparent 28%),
    linear-gradient(135deg, rgba(255, 248, 235, 0.98), rgba(255, 243, 217, 0.95));
  box-shadow: var(--shadow);
}

.review-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.review-eyebrow {
  background: rgba(45, 127, 165, 0.1);
  color: var(--brand-dark);
}

.review-controls {
  display: flex;
  gap: 10px;
}

.review-button {
  width: 50px;
  height: 50px;
  border: 0;
  border-radius: 50%;
  background: #2d7fa5;
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
  box-shadow: 0 14px 28px rgba(34, 72, 96, 0.2);
}

.review-button:hover,
.review-button:focus-visible {
  background: #246785;
}

.review-swiper {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, calc(50% - 12px));
  gap: 24px;
  overflow-x: auto;
  padding-bottom: 10px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: rgba(45, 127, 165, 0.4) transparent;
}

.review-swiper::-webkit-scrollbar {
  height: 10px;
}

.review-swiper::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(45, 127, 165, 0.35);
}

.review-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 260px;
  padding: 28px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(45, 127, 165, 0.14);
  scroll-snap-align: start;
}

.review-card p {
  margin: 0 0 24px;
  font-size: 1.05rem;
  line-height: 1.9;
}

.review-card footer {
  display: grid;
  gap: 4px;
}

.review-card strong {
  color: var(--brand-dark);
}

.review-card span {
  color: rgba(23, 49, 38, 0.72);
  font-size: 0.95rem;
}

.table-card table {
  width: 100%;
  border-collapse: collapse;
}

.table-card caption {
  text-align: left;
  margin-bottom: 12px;
  font-weight: 700;
  color: var(--muted);
}

.table-card th,
.table-card td {
  padding: 14px 0;
  border-bottom: 1px solid rgba(45, 127, 165, 0.14);
  text-align: left;
  vertical-align: top;
}

.table-card th {
  width: 38%;
  padding-right: 18px;
}

.table-card tr:last-child th,
.table-card tr:last-child td {
  border-bottom: 0;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}

.pill-list li {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(247, 201, 72, 0.2);
  font-weight: 700;
}

.contact-grid {
  grid-template-columns: 1.25fr 0.75fr;
  align-items: start;
}

.contact-aside {
  display: grid;
  gap: 20px;
}

.form-card form {
  margin-top: 20px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.form-field {
  display: grid;
  gap: 8px;
}

.form-field-wide {
  grid-column: 1 / -1;
}

.form-field label,
.form-radios legend {
  font-weight: 700;
  font-size: 0.98rem;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid rgba(45, 127, 165, 0.3);
  border-radius: 14px;
  background: #fff;
  color: var(--text);
  font: inherit;
}

.form-field input:focus-visible,
.form-field select:focus-visible,
.form-field textarea:focus-visible {
  outline: 3px solid rgba(45, 127, 165, 0.4);
  outline-offset: 1px;
}

.form-field textarea {
  resize: vertical;
}

.form-radios {
  margin: 0;
  padding: 0;
  border: 0;
}

.form-radios legend {
  padding: 0;
  margin-bottom: 8px;
}

.form-radios label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 400;
  margin-bottom: 8px;
  cursor: pointer;
}

.form-radios input {
  width: 20px;
  height: 20px;
  accent-color: var(--brand);
}

.form-field[hidden] {
  display: none;
}

.legend-link {
  margin-left: 8px;
  font-size: 0.88rem;
  font-weight: 400;
}

#niveau-veld label {
  align-items: flex-start;
}

#niveau-veld input {
  margin-top: 3px;
}

.niveau-tekst {
  display: grid;
  gap: 2px;
}

.niveau-tekst strong {
  font-weight: 700;
}

.niveau-omschrijving {
  font-size: 0.92rem;
  color: rgba(23, 49, 38, 0.7);
}

.form-note {
  margin: 4px 0 0;
  font-size: 0.9rem;
  color: rgba(23, 49, 38, 0.66);
}

.form-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-card .button-row {
  margin-top: 24px;
}

.form-card button.button {
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.form-card button.button[disabled] {
  opacity: 0.6;
  cursor: wait;
}

.prefill-loader {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(45, 127, 165, 0.12);
  color: #1d5772;
  font-weight: 600;
  line-height: 1.6;
}

.prefill-spinner {
  width: 18px;
  height: 18px;
  flex: none;
  border: 3px solid rgba(45, 127, 165, 0.3);
  border-top-color: #2d7fa5;
  border-radius: 50%;
  animation: prefill-draai 0.9s linear infinite;
}

@keyframes prefill-draai {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .prefill-spinner {
    animation: none;
  }
}

.prefill-loader.is-klaar {
  background: rgba(94, 178, 122, 0.16);
  color: #1e5b37;
}

.prefill-loader.is-mislukt {
  background: rgba(205, 92, 74, 0.14);
  color: #8c3325;
}

.form-status {
  display: none;
  margin: 18px 0 0;
  padding: 14px 16px;
  border-radius: 14px;
  font-weight: 600;
  line-height: 1.6;
}

.form-status.is-success {
  display: block;
  background: rgba(94, 178, 122, 0.16);
  color: #1e5b37;
}

.form-status.is-error {
  display: block;
  background: rgba(205, 92, 74, 0.14);
  color: #8c3325;
}

.site-footer {
  margin-top: 34px;
  padding: 36px 0 54px;
  background: #23495d;
  color: rgba(255, 255, 255, 0.88);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 22px;
}

.site-footer h2,
.site-footer h3,
.site-footer a {
  color: #fff;
}

.site-footer p,
.site-footer li {
  margin: 0;
  line-height: 1.8;
}

.site-footer ul {
  margin: 0;
  padding-left: 18px;
}

.breadcrumbs {
  padding: 20px 0 8px;
  color: var(--muted);
  font-size: 0.95rem;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.breadcrumbs li::after {
  content: "/";
  margin-left: 10px;
}

.breadcrumbs li:last-child::after {
  content: "";
  margin: 0;
}

.page-hero {
  padding: 28px 0 12px;
}

.page-hero .hero-panel {
  min-height: 360px;
}

.page-hero .hero-grid {
  min-height: 360px;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
}

.faq-list {
  display: grid;
  gap: 16px;
}

.faq-list details {
  padding: 20px 24px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--surface);
}

.faq-list summary {
  cursor: pointer;
  font-weight: 700;
}

.faq-list p {
  margin: 14px 0 0;
  line-height: 1.8;
}

@media (max-width: 960px) {
  .hero-grid,
  .card-grid,
  .feature-strip,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-panel,
  .hero-grid {
    min-height: auto;
  }

  .hero-grid {
    padding: 28px;
  }

  .gallery-grid figure,
  .gallery-grid figure:nth-child(1),
  .gallery-grid figure:nth-child(2),
  .gallery-grid figure:nth-child(3),
  .gallery-grid figure:nth-child(4),
  .gallery-grid figure:nth-child(5) {
    grid-column: span 12;
    min-height: 260px;
  }

  .nav-wrap {
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
  }

  .js-enabled .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .js-enabled .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 12px;
    padding: 18px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 18px 40px rgba(21, 52, 66, 0.14);
  }

  .js-enabled .site-nav.is-open {
    display: flex;
  }

  .review-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .review-swiper {
    grid-auto-columns: minmax(280px, 85%);
  }
}

@media (max-width: 640px) {
  .nav-wrap,
  .container {
    width: min(calc(100% - 20px), var(--content-width));
  }

  .site-nav a,
  .button {
    width: 100%;
  }

  .nav-wrap {
    align-items: flex-start;
  }

  .brand img {
    width: 58px;
  }

  .card,
  .info-card,
  .table-card,
  .contact-card,
  .hero-card,
  .highlight,
  .review-section,
  .review-card {
    padding: 22px;
  }

  .review-button {
    width: 46px;
    height: 46px;
  }
}
