:root {
  --brand-950: #0a2c63;
  --brand-900: #0f3f8d;
  --brand-850: #0f4ba2;
  --brand-800: #1456b1;
  --brand-700: #1e6dd2;
  --brand-100: #e9f1ff;
  --ink-950: #112743;
  --ink-900: #173255;
  --ink-700: #325477;
  --line: #d5e1f2;
  --surface: #f4f8ff;
  --card: #ffffff;
  --radius-xxl: 36px;
  --radius-xl: 26px;
  --radius-l: 18px;
  --shadow-xl: 0 30px 70px rgba(10, 44, 99, 0.18);
  --shadow-l: 0 18px 40px rgba(10, 44, 99, 0.14);
  --shadow-m: 0 12px 26px rgba(10, 44, 99, 0.11);
}

html,
body {
  overflow-x: clip;
}

body#page-2 {
  font-family: "Source Sans 3", "Trebuchet MS", sans-serif;
  color: var(--ink-900);
  background:
    radial-gradient(circle at 6% 12%, rgba(30, 109, 210, 0.13), transparent 32%),
    radial-gradient(circle at 92% 18%, rgba(20, 86, 177, 0.12), transparent 34%),
    linear-gradient(180deg, #edf3ff 0%, #f9fbff 38%, #ffffff 100%);
}

body.onecol.bg-success {
  font-family: "Source Sans 3", "Trebuchet MS", sans-serif;
  color: var(--ink-900);
  background:
    radial-gradient(circle at 6% 12%, rgba(30, 109, 210, 0.13), transparent 32%),
    radial-gradient(circle at 92% 18%, rgba(20, 86, 177, 0.12), transparent 34%),
    linear-gradient(180deg, #edf3ff 0%, #f9fbff 38%, #ffffff 100%) !important;
}

#page-wrapper {
  isolation: isolate;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
  font-family: "Sora", "Gill Sans", sans-serif;
  letter-spacing: -0.01em;
}

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

a:hover {
  color: var(--brand-700);
}

#main-navbar {
  position: sticky;
  top: 0;
  z-index: 1400;
  background: linear-gradient(105deg, #0f3f8d 0%, #1c67c5 100%) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 12px 30px rgba(9, 43, 97, 0.23);
}

#main-navbar .container {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding-top: 0.58rem;
  padding-bottom: 0.58rem;
}

#main-navbar .navbar-brand {
  align-items: center;
  gap: 1rem;
  margin-right: 0;
  flex: 0 0 auto;
}

#main-navbar .brand-logo {
  width: clamp(158px, 12.5vw, 210px);
  height: auto;
  background: #ffffff;
  border-radius: 2px;
  padding: 0.55rem 0.8rem;
  box-shadow: 0 8px 22px rgba(4, 32, 78, 0.25);
}

#main-navbar .brand-text-margins {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.35rem, 1.8vw, 1.92rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

#main-navbar .navbar-toggler {
  border-color: rgba(255, 255, 255, 0.5);
  margin-left: auto;
}

#main-navbar .navbar-toggler:focus {
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.23);
}

#main-navbar .navbar-toggler-icon {
  filter: brightness(0) invert(1);
}

#navbarToggler.offcanvas {
  border: 0;
}

#navbarToggler .nav-link {
  border-radius: 999px;
  transition: background-color 170ms ease, color 170ms ease;
}

#navbarToggler .dropdown-menu {
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-m);
  padding: 0.45rem;
}

#navbarToggler .dropdown-item {
  border-radius: 10px;
  font-weight: 600;
}

#navbarToggler .dropdown-item:hover {
  background: var(--brand-100);
  color: var(--brand-900);
}

#navbarToggler .offcanvas-body.row {
  --bs-gutter-x: 0;
  --bs-gutter-y: 0;
  margin: 0;
}

#navbarToggler .offcanvas-body .col-12 {
  padding-left: 0;
  padding-right: 0;
}

@media (min-width: 992px) {
  #navbarToggler.offcanvas {
    position: static;
    transform: none;
    visibility: visible;
    background: rgba(255, 255, 255, 0.97);
    border-radius: 18px;
    box-shadow: 0 10px 24px rgba(6, 34, 79, 0.24);
    margin-left: auto;
    width: auto;
    flex: 1 1 620px;
    max-width: 860px;
    min-width: 0;
    height: auto;
    overflow: visible;
  }

  #navbarToggler .offcanvas-header {
    display: none;
  }

  #navbarToggler .offcanvas-body {
    display: flex;
    flex-direction: column;
    gap: 0.08rem;
    padding: 0.35rem 0.55rem;
    overflow: visible;
  }

  #navbarToggler .navbar-nav {
    margin-left: 0 !important;
    width: 100%;
  }

  #navbarToggler .extra-row {
    justify-content: flex-end;
    gap: 0.18rem 0.35rem;
    font-size: 0.78rem;
  }

  #navbarToggler .main-navbarnav {
    justify-content: flex-end;
    gap: 0.18rem 0.38rem;
    font-size: 0.86rem;
  }

  #navbarToggler .nav-link {
    color: var(--ink-950);
    font-weight: 700;
    white-space: nowrap;
    padding: 0.32rem 0.58rem;
  }

  #navbarToggler .nav-link:hover,
  #navbarToggler .nav-link:focus-visible {
    color: #ffffff;
    background: var(--brand-800);
  }
}

@media (max-width: 991.98px) {
  #main-navbar .container {
    gap: 0.8rem;
  }

  #main-navbar .brand-logo {
    width: clamp(145px, 34vw, 185px);
    padding: 0.45rem 0.62rem;
  }

  #main-navbar .brand-text-margins {
    font-size: clamp(1.05rem, 5vw, 1.52rem);
    white-space: normal;
    line-height: 1.08;
  }

  #navbarToggler.offcanvas {
    width: min(90vw, 390px);
    background: linear-gradient(180deg, #f1f7ff 0%, #ffffff 100%);
    border-left: 1px solid #dce8fb;
    box-shadow: -14px 0 32px rgba(8, 41, 95, 0.24);
  }

  #navbarToggler .offcanvas-header {
    padding: 1rem 1rem 0.45rem;
  }

  #navbarToggler .offcanvas-body {
    padding: 0.4rem 0.9rem 1rem;
    overflow-y: auto;
  }

  #navbarToggler .navbar-nav {
    margin-left: 0 !important;
  }

  #navbarToggler .nav-link {
    color: var(--ink-950);
    font-weight: 700;
    padding: 0.5rem 0.72rem;
  }

  #navbarToggler .nav-link:hover {
    background: var(--brand-100);
    color: var(--brand-900);
  }
}

#s2 {
  position: relative;
  overflow: hidden;
  min-height: clamp(390px, 51vw, 610px);
  margin-bottom: 0 !important;
  border-radius: 0 0 var(--radius-xxl) var(--radius-xxl);
  box-shadow: var(--shadow-xl);
}

#s2::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(113deg, rgba(7, 36, 83, 0.82), rgba(16, 73, 155, 0.62)),
    radial-gradient(circle at 84% 22%, rgba(255, 255, 255, 0.18), transparent 36%);
}

#s2::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.08), transparent 32%);
  pointer-events: none;
}

#s2 .container,
#s2 .jumbotron-content,
#s2 .page-title {
  position: relative;
  z-index: 2;
}

#s2 .d-flex {
  min-height: inherit;
  align-items: flex-end !important;
}

#s2 .page-title {
  max-width: 830px;
  padding-top: clamp(2.6rem, 4.6vw, 4.5rem);
  padding-bottom: clamp(4.1rem, 6.5vw, 5.6rem);
  animation: hero-rise 720ms ease both;
}

#s2 .display-1 {
  color: #ffffff;
  font-size: clamp(2.25rem, 5.4vw, 4.6rem);
  font-weight: 800;
  margin-bottom: 0.5rem;
  line-height: 1.03;
  text-wrap: balance;
  text-shadow: 0 8px 25px rgba(3, 22, 55, 0.38);
}

#s2 .display-4 {
  color: rgba(255, 255, 255, 0.95);
  font-size: clamp(1.12rem, 2.4vw, 1.95rem);
  font-weight: 500;
  line-height: 1.24;
  max-width: 34ch;
  text-shadow: 0 5px 16px rgba(4, 28, 67, 0.3);
}

#page-content .main-content {
  position: relative;
  z-index: 9;
  margin-top: -5.5rem;
  margin-bottom: 0 !important;
  background: linear-gradient(180deg, #ffffff 0%, #fafdff 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-xxl);
  box-shadow: var(--shadow-xl);
  padding: clamp(1.4rem, 2.5vw, 2.8rem) clamp(1.2rem, 2.4vw, 2.3rem) !important;
}

#c67 {
  max-width: 1080px;
  margin-inline: auto;
}

#c67 .header-67 {
  margin-bottom: 1rem;
}

#c67 h2 {
  font-size: clamp(1.46rem, 3vw, 3rem);
  color: var(--brand-900);
  line-height: 1.14;
  margin-bottom: 0;
  text-wrap: balance;
}

#c67 h6 {
  margin-top: 2rem;
  margin-bottom: 0.5rem;
  font-size: 1.35rem;
  color: var(--brand-900);
  line-height: 1.2;
}

#c67 h6 strong {
  font-weight: 800;
}

#c67 p {
  margin: 0 0 1rem;
  color: #264564;
  font-size: clamp(1.03rem, 1.3vw, 1.26rem);
  line-height: 1.7;
}

#c67 > p:first-of-type {
  background: linear-gradient(96deg, #edf4ff 0%, #f7fbff 100%);
  border: 1px solid #d7e6fd;
  border-left: 6px solid var(--brand-800);
  border-radius: 16px;
  padding: 1.05rem 1.2rem;
  box-shadow: 0 10px 24px rgba(10, 60, 129, 0.1);
  margin-bottom: 1.5rem;
}

#c67 h6 + p {
  position: relative;
  padding-left: 1rem;
}

#c67 h6 + p::before {
  content: "";
  position: absolute;
  top: 0.38rem;
  bottom: 0.38rem;
  left: 0;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, #2269c4, #8bb8f2);
}

#c67 a {
  font-weight: 800;
  color: var(--brand-850);
}

#c67 a:hover {
  color: var(--brand-700);
}

#c158 a[title="Chat met ons op WhatsApp"] {
  border: 1px solid rgba(255, 255, 255, 0.42) !important;
  border-radius: 999px !important;
  box-shadow: 0 16px 34px rgba(7, 74, 33, 0.35) !important;
  backdrop-filter: blur(4px);
  font-weight: 800 !important;
}

#c158 a[title="Chat met ons op WhatsApp"]:hover {
  transform: translateY(-1px) scale(1.04) !important;
}

#page-footer {
  margin-top: 3.8rem !important;
  padding-top: 4rem !important;
  border-radius: var(--radius-xxl) var(--radius-xxl) 0 0;
  background:
    radial-gradient(circle at 12% 10%, rgba(117, 158, 235, 0.28), transparent 32%),
    radial-gradient(circle at 88% 20%, rgba(63, 127, 227, 0.26), transparent 34%),
    linear-gradient(155deg, #0a2c63 0%, #0f3f8d 56%, #1456b1 100%) !important;
  color: #eaf1ff !important;
}

#page-footer .container {
  max-width: 1220px;
}

#page-footer .row.pt-5.mt-5 {
  margin-top: 0 !important;
  padding-top: 0 !important;
  row-gap: 1.7rem;
}

#page-footer a,
#page-footer p {
  color: #e7efff !important;
}

#page-footer .submenu {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(213, 230, 255, 0.24);
  border-radius: var(--radius-l);
  padding: 1.1rem 1.25rem;
  min-height: 100%;
}

#page-footer .nav-link {
  padding: 0.24rem 0;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.46;
}

#page-footer .nav-link:hover {
  color: #ffffff !important;
  text-decoration: underline;
}

#c98 .gallery,
#c99 {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(221, 235, 255, 0.24);
  border-radius: var(--radius-l);
  padding: 1rem;
}

#c98 .row,
#c99 .row {
  margin-bottom: 0.8rem !important;
}

#c99 .header-99 p {
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.9rem;
}

#c76 p,
#c114 p,
#c100 p {
  margin-bottom: 0.7rem;
}

#c76 p,
#c114 p,
#c100 p,
#c100 a,
#c114 a {
  font-size: 1.05rem;
}

#c76 {
  margin-top: 1.1rem;
}

#c76 .footer-legal-links {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem 0.95rem;
  margin-top: 0.25rem;
}

#c76 .footer-legal-links a {
  position: relative;
  white-space: nowrap;
  text-decoration: none;
  border-bottom: 1px solid rgba(231, 239, 255, 0.55);
  line-height: 1.2;
}

#c76 .footer-legal-links a:hover {
  border-bottom-color: #ffffff;
}

#c76 .footer-legal-links a:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -0.52rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 0.95em;
  background: rgba(231, 239, 255, 0.5);
}

.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 9900;
  display: none;
  margin: 0;
  line-height: 1;
}

.back-to-top.is-visible {
  display: block;
}

.back-to-top i {
  color: #ffffff;
  background: linear-gradient(150deg, #2f78d5, #1a5fbd);
  border-radius: 999px;
  box-shadow: 0 14px 28px rgba(16, 67, 140, 0.34);
  filter: none;
}

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1199.98px) {
  #navbarToggler.offcanvas {
    max-width: 760px;
  }

  #navbarToggler .main-navbarnav {
    font-size: 0.82rem;
  }
}

@media (max-width: 991.98px) {
  #s2 {
    min-height: 350px;
    border-radius: 0 0 28px 28px;
  }

  #s2 .page-title {
    padding-top: 2rem;
    padding-bottom: 2.6rem;
  }

  #s2 .display-4 {
    max-width: 26ch;
  }

  #page-content .main-content {
    margin-top: -2.4rem;
    border-radius: 24px;
  }

  #c67 h6 {
    font-size: 1.24rem;
  }

  #page-footer {
    padding-top: 3rem !important;
    border-radius: 28px 28px 0 0;
  }
}

@media (max-width: 767.98px) {
  #main-navbar .container {
    padding-top: 0.45rem;
    padding-bottom: 0.45rem;
  }

  #main-navbar .brand-text-margins {
    font-size: 1.05rem;
  }

  #s2 .display-1 {
    font-size: clamp(2rem, 11vw, 2.8rem);
  }

  #c67 h2 {
    font-size: clamp(1.45rem, 9.2vw, 2rem);
  }

  #c67 > p:first-of-type {
    padding: 0.92rem 0.94rem;
  }

  #c158 a[title="Chat met ons op WhatsApp"] {
    left: 10px !important;
    bottom: 10px !important;
    font-size: 13.2px !important;
    padding: 9px 12px 9px 10px !important;
  }

  .back-to-top {
    right: 10px;
    bottom: 10px;
  }
}

/* v3 polish: luxe hero, logo-integratie, mobile-first */
#main-navbar {
  background: linear-gradient(104deg, #0f489d 0%, #1d67c6 100%) !important;
  box-shadow: 0 10px 26px rgba(9, 42, 96, 0.2);
}

#main-navbar .container {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  gap: 0.65rem;
}

#main-navbar .brand-lockup {
  gap: 0.56rem;
  align-items: center;
  min-width: 0;
}

#main-navbar .brand-logo {
  width: clamp(102px, 32vw, 152px) !important;
  background: transparent !important;
  padding: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  filter: none !important;
}

#main-navbar .brand-text-margins {
  font-size: clamp(1.14rem, 6.2vw, 1.5rem);
  line-height: 1.02;
  font-weight: 800;
  text-shadow: 0 6px 16px rgba(8, 34, 79, 0.3);
}

#main-navbar .navbar-toggler {
  margin-left: auto;
}

#navbarToggler.offcanvas {
  width: min(92vw, 390px);
  border-left: 1px solid #d4e4fc;
  background: linear-gradient(180deg, #f2f7ff 0%, #ffffff 100%);
}

#navbarToggler .offcanvas-header {
  padding: 0.85rem 0.9rem 0.35rem;
  align-items: center;
}

#navbarToggler .offcanvas-header .brand-logo {
  width: 110px !important;
}

#navbarToggler .offcanvas-title {
  margin: 0;
  color: var(--ink-950);
  font-size: 1.18rem;
  font-weight: 800;
}

#navbarToggler .offcanvas-body {
  padding: 0.34rem 0.9rem 1rem;
}

#s2.ratio::before {
  content: none !important;
}

#s2.ratio > * {
  position: relative !important;
  width: 100%;
  height: auto;
}

#s2 {
  min-height: 72svh;
  border-radius: 0 0 30px 30px;
  box-shadow: 0 26px 56px rgba(7, 35, 82, 0.18);
}

#s2::before {
  background:
    linear-gradient(115deg, rgba(6, 36, 83, 0.82), rgba(13, 76, 167, 0.58)),
    radial-gradient(circle at 87% 22%, rgba(255, 255, 255, 0.17), transparent 35%);
}

#s2 .d-flex {
  min-height: inherit;
  align-items: flex-end !important;
}

#s2 .page-title {
  position: relative;
  max-width: 19ch;
  padding-top: clamp(2.1rem, 6.8vw, 3.2rem);
  padding-bottom: clamp(3rem, 8vw, 4.5rem);
}

#s2 .page-title::before {
  content: "";
  display: block;
  width: 74px;
  height: 5px;
  border-radius: 999px;
  margin-bottom: 1rem;
  background: linear-gradient(90deg, #ffffff, rgba(255, 255, 255, 0.15));
}

#s2 .display-1 {
  font-size: clamp(2.15rem, 13.5vw, 3.3rem);
  line-height: 0.98;
  margin-bottom: 0.66rem;
  text-shadow: 0 8px 22px rgba(4, 27, 67, 0.5);
}

#s2 .display-4 {
  font-size: clamp(1.05rem, 6.5vw, 1.56rem);
  font-weight: 600;
  line-height: 1.18;
  max-width: 22ch;
  color: rgba(255, 255, 255, 0.95);
}

#page-content .main-content {
  margin-top: -2.1rem;
  border-radius: 26px;
  padding: 1.2rem 1rem 1.6rem !important;
}

#c67 h2 {
  text-wrap: pretty;
}

#c158 a[title="Chat met ons op WhatsApp"] {
  left: 10px !important;
  bottom: 10px !important;
  font-size: 13.1px !important;
  padding: 9px 12px 9px 10px !important;
}

@media (min-width: 576px) {
  #main-navbar .container {
    gap: 0.9rem;
  }

  #main-navbar .brand-logo {
    width: clamp(112px, 22vw, 158px) !important;
  }

  #main-navbar .brand-text-margins {
    font-size: clamp(1.22rem, 4.2vw, 1.62rem);
  }

  #s2 .page-title {
    max-width: 23ch;
  }

  #page-content .main-content {
    margin-top: -2.8rem;
    padding: 1.4rem 1.2rem 1.8rem !important;
  }
}

@media (min-width: 768px) {
  #s2 {
    min-height: clamp(430px, 62vh, 560px);
  }

  #s2 .page-title {
    max-width: 28ch;
    padding-bottom: clamp(3.6rem, 6vw, 5rem);
  }

  #s2 .display-1 {
    font-size: clamp(2.5rem, 7.2vw, 4rem);
  }

  #s2 .display-4 {
    font-size: clamp(1.15rem, 3.2vw, 1.8rem);
    max-width: 29ch;
  }

  #page-content .main-content {
    margin-top: -3.7rem;
    border-radius: 30px;
    padding: 1.8rem 1.6rem 2.2rem !important;
  }
}

@media (min-width: 992px) {
  #main-navbar .container {
    gap: 1rem;
    padding-top: 0.66rem;
    padding-bottom: 0.66rem;
  }

  #main-navbar .brand-logo {
    width: clamp(122px, 9vw, 170px) !important;
  }

  #main-navbar .brand-text-margins {
    font-size: clamp(1.28rem, 1.65vw, 1.78rem);
  }

  #navbarToggler.offcanvas {
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid rgba(190, 213, 246, 0.75);
    border-radius: 18px;
    box-shadow: 0 10px 24px rgba(7, 38, 87, 0.2);
    width: auto;
    flex: 1 1 620px;
    max-width: 850px;
    min-width: 0;
  }

  #navbarToggler .offcanvas-body {
    padding: 0.3rem 0.5rem;
  }

  #navbarToggler .main-navbarnav {
    font-size: 0.88rem;
  }

  #navbarToggler .extra-row {
    font-size: 0.78rem;
  }

  #navbarToggler .nav-link {
    padding: 0.35rem 0.58rem;
  }

  #s2 {
    min-height: clamp(500px, 66vh, 670px);
    border-radius: 0 0 36px 36px;
  }

  #s2 .page-title {
    max-width: 33ch;
    padding-bottom: clamp(4.7rem, 6.5vw, 6rem);
  }

  #s2 .display-1 {
    font-size: clamp(3rem, 5.2vw, 5rem);
  }

  #s2 .display-4 {
    max-width: 34ch;
  }

  #page-content .main-content {
    margin-top: -4.9rem;
    border-radius: 34px;
    padding: clamp(1.8rem, 2.4vw, 2.7rem) clamp(1.6rem, 2.2vw, 2.35rem) !important;
  }
}

/* v4 refinement: prominent menu + luxury hero + mobile-first */
#main-navbar {
  background: linear-gradient(104deg, #0e489f 0%, #1f6fd2 100%) !important;
  box-shadow: 0 14px 34px rgba(9, 40, 92, 0.24);
}

#main-navbar .container {
  gap: 0.55rem;
  padding-top: 0.46rem;
  padding-bottom: 0.46rem;
}

#main-navbar .brand-lockup {
  flex: 0 0 auto;
}

#main-navbar .brand-logo {
  width: clamp(122px, 36vw, 184px) !important;
}

#main-navbar .navbar-toggler {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-left: auto;
  padding: 0.38rem 0.72rem;
  border: 0;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 10px 22px rgba(7, 37, 89, 0.25);
}

#main-navbar .navbar-toggler-icon {
  filter: none !important;
}

#main-navbar .toggler-label {
  font-family: "Sora", "Gill Sans", sans-serif;
  font-size: 0.86rem;
  line-height: 1;
  font-weight: 700;
  color: #11345f;
}

#navbarToggler.offcanvas {
  width: 100vw;
  max-width: none;
  border-left: 0;
  border-radius: 0;
  box-shadow: none;
  background: linear-gradient(180deg, #f4f8ff 0%, #ffffff 100%);
}

#navbarToggler .offcanvas-header {
  padding: 0.82rem 0.92rem 0.42rem;
  border-bottom: 1px solid #d8e7fe;
}

#navbarToggler .offcanvas-header .brand-logo {
  width: 120px !important;
}

#navbarToggler .offcanvas-body {
  padding: 0.55rem 0.88rem 1rem;
}

#navbarToggler .navbar-nav {
  margin-left: 0 !important;
}

#navbarToggler .extra-row {
  gap: 0.42rem;
  margin-bottom: 0.48rem;
}

#navbarToggler .main-navbarnav {
  gap: 0.46rem;
}

#navbarToggler .nav-link {
  color: #12355f;
  background: #f3f8ff;
  border: 1px solid #d4e4fc;
  border-radius: 12px;
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.2;
  padding: 0.62rem 0.78rem;
}

#navbarToggler .extra-row .nav-link {
  font-size: 0.96rem;
}

#navbarToggler .nav-link:hover,
#navbarToggler .nav-link:focus-visible {
  color: #ffffff;
  background: linear-gradient(120deg, #195bb7, #1a6acd);
  border-color: transparent;
}

#navbarToggler .dropdown-menu {
  margin-top: 0.42rem;
  border: 1px solid #d4e4fc;
  border-radius: 12px;
  box-shadow: 0 12px 26px rgba(8, 37, 86, 0.18);
}

#s2 {
  min-height: 68svh;
  border-radius: 0 0 28px 28px;
}

#s2::before {
  background:
    linear-gradient(108deg, rgba(5, 24, 58, 0.42), rgba(8, 45, 103, 0.74) 35%, rgba(9, 62, 139, 0.62)),
    radial-gradient(circle at 90% 18%, rgba(255, 255, 255, 0.2), transparent 35%);
}

#s2::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(5, 18, 42, 0.28) 0%, transparent 44%),
    linear-gradient(to top, rgba(5, 20, 49, 0.34) 0%, transparent 36%);
  pointer-events: none;
}

#s2 .page-title {
  max-width: min(88vw, 470px);
  margin-bottom: 1.9rem;
  padding: 1.06rem 1.02rem 1.18rem;
  border-radius: 22px;
  background: linear-gradient(150deg, rgba(8, 30, 68, 0.58), rgba(10, 46, 102, 0.3));
  border: 1px solid rgba(214, 230, 255, 0.34);
  box-shadow: 0 22px 40px rgba(5, 25, 59, 0.3);
  backdrop-filter: blur(6px);
}

#s2 .page-title::before {
  width: 58px;
  height: 4px;
  margin-bottom: 0.74rem;
}

#s2 .display-1 {
  font-size: clamp(2.2rem, 14vw, 3.36rem);
  line-height: 0.96;
  margin-bottom: 0.56rem;
}

#s2 .display-4 {
  font-size: clamp(1.04rem, 6.3vw, 1.56rem);
  line-height: 1.14;
  max-width: 16ch;
}

#page-content .main-content {
  margin-top: -1.2rem;
  border-radius: 24px;
  padding-top: 1.05rem !important;
}

@media (min-width: 576px) {
  #main-navbar .container {
    gap: 0.75rem;
  }

  #main-navbar .brand-logo {
    width: clamp(134px, 28vw, 192px) !important;
  }

  #s2 .page-title {
    max-width: min(76vw, 520px);
    margin-bottom: 2.2rem;
    padding: 1.18rem 1.2rem 1.28rem;
  }

  #s2 .display-4 {
    max-width: 19ch;
  }

  #page-content .main-content {
    margin-top: -2rem;
  }
}

@media (min-width: 768px) {
  #s2 {
    min-height: clamp(470px, 65vh, 620px);
  }

  #s2 .page-title {
    max-width: min(62vw, 600px);
    margin-bottom: 2.8rem;
    padding: 1.3rem 1.35rem 1.4rem;
    border-radius: 24px;
  }

  #s2 .display-1 {
    font-size: clamp(2.9rem, 8vw, 4.3rem);
  }

  #s2 .display-4 {
    font-size: clamp(1.2rem, 3.1vw, 1.85rem);
    max-width: 24ch;
  }

  #page-content .main-content {
    margin-top: -3.2rem;
    border-radius: 28px;
  }
}

@media (min-width: 992px) {
  #main-navbar .container {
    gap: 1rem;
    padding-top: 0.66rem;
    padding-bottom: 0.66rem;
  }

  #main-navbar .brand-logo {
    width: clamp(144px, 9.7vw, 196px) !important;
  }

  #main-navbar .navbar-toggler {
    display: none;
  }

  #navbarToggler.offcanvas {
    width: auto;
    flex: 1 1 680px;
    max-width: 940px;
    min-width: 0;
    border: 1px solid rgba(185, 210, 247, 0.84);
    border-radius: 18px;
    box-shadow: 0 14px 28px rgba(7, 37, 86, 0.2);
    background: #ffffff;
  }

  #navbarToggler .offcanvas-body {
    padding: 0.4rem 0.56rem 0.46rem;
  }

  #navbarToggler .extra-row {
    margin-bottom: 0.26rem;
    padding-bottom: 0.3rem;
    border-bottom: 1px solid #e1ecff;
    justify-content: flex-end;
  }

  #navbarToggler .main-navbarnav {
    justify-content: flex-end;
  }

  #navbarToggler .nav-link {
    font-size: 1rem;
    padding: 0.42rem 0.7rem;
  }

  #navbarToggler .extra-row .nav-link {
    font-size: 0.88rem;
    font-weight: 700;
  }

  #s2 {
    min-height: clamp(560px, 72vh, 760px);
    border-radius: 0 0 34px 34px;
  }

  #s2 .page-title {
    max-width: min(44vw, 620px);
    margin-bottom: 3.2rem;
    padding: 1.45rem 1.55rem 1.6rem;
    border-radius: 26px;
  }

  #s2 .display-1 {
    font-size: clamp(3.3rem, 5vw, 5.4rem);
    margin-bottom: 0.64rem;
  }

  #s2 .display-4 {
    font-size: clamp(1.32rem, 2.05vw, 2.02rem);
    max-width: 25ch;
  }

  #page-content .main-content {
    margin-top: -4.3rem;
    border-radius: 32px;
  }
}

/* v5 adjustment: menu items naast elkaar + floating hero card */
#s2 .page-title {
  z-index: 6;
  border: 1px solid rgba(213, 231, 255, 0.46);
  box-shadow:
    0 26px 50px rgba(4, 22, 53, 0.38),
    0 10px 24px rgba(10, 45, 98, 0.22);
}

#page-content .main-content {
  margin-top: -0.5rem;
}

@media (max-width: 575.98px) {
  #s2 .page-title {
    margin-bottom: 3.4rem;
    transform: translateY(-8px);
  }

  #page-content .main-content {
    margin-top: -0.25rem;
  }
}

@media (min-width: 576px) {
  #s2 .page-title {
    margin-bottom: 4rem;
    transform: translateY(-10px);
  }

  #page-content .main-content {
    margin-top: -1rem;
  }
}

@media (min-width: 768px) {
  #s2 .page-title {
    margin-bottom: 5rem;
    transform: translateY(-12px);
  }

  #page-content .main-content {
    margin-top: -1.8rem;
  }
}

@media (min-width: 992px) {
  #navbarToggler.offcanvas {
    max-width: 980px;
  }

  #navbarToggler .offcanvas-body {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 0.34rem;
    padding: 0.42rem 0.56rem;
  }

  #navbarToggler .extra-row,
  #navbarToggler .main-navbarnav {
    order: 0 !important;
    flex-direction: row !important;
    justify-content: flex-end;
    width: auto;
    gap: 0.34rem;
    margin: 0 !important;
    padding: 0;
    border: 0;
  }

  #navbarToggler .extra-row hr {
    display: none !important;
  }

  #navbarToggler .nav-item {
    width: auto;
  }

  #navbarToggler .nav-link {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    padding: 0.42rem 0.74rem;
    font-size: 0.96rem;
  }

  #navbarToggler .extra-row .nav-link {
    font-size: 0.92rem;
    font-weight: 700;
  }

  #s2 .page-title {
    margin-bottom: 6.2rem;
    transform: translateY(-14px);
  }

  #page-content .main-content {
    margin-top: -2.4rem;
  }
}

/* v6 correction: one-line desktop menu + inverted hero palette */
@media (min-width: 992px) {
  #main-navbar .brand-logo {
    width: clamp(132px, 8.2vw, 164px) !important;
  }

  #navbarToggler.offcanvas {
    max-width: 1080px;
    width: auto;
    flex: 1 1 760px;
  }

  #navbarToggler .offcanvas-body.row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: nowrap !important;
    gap: 0.3rem;
    padding: 0.42rem 0.56rem;
    overflow: visible;
  }

  #navbarToggler .offcanvas-body > .col-12 {
    width: auto !important;
    max-width: none !important;
    flex: 0 1 auto !important;
    min-width: 0;
    margin: 0 !important;
    padding: 0 !important;
  }

  #navbarToggler .main-navbarnav,
  #navbarToggler .extra-row {
    display: flex;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center;
    gap: 0.32rem;
    width: auto !important;
    margin: 0 !important;
    border: 0 !important;
    padding: 0 !important;
  }

  #navbarToggler .main-navbarnav {
    order: 1 !important;
  }

  #navbarToggler .extra-row {
    order: 2 !important;
    margin-left: 0.2rem !important;
  }

  #navbarToggler .extra-row hr {
    display: none !important;
  }

  #navbarToggler .nav-item {
    width: auto;
    flex: 0 0 auto;
  }

  #navbarToggler .nav-link {
    white-space: nowrap;
    padding: 0.4rem 0.68rem;
    font-size: 0.93rem;
  }
}

#s2::before {
  background:
    linear-gradient(110deg, rgba(255, 255, 255, 0.12), rgba(22, 82, 168, 0.28) 45%, rgba(10, 49, 106, 0.38)),
    radial-gradient(circle at 84% 18%, rgba(255, 255, 255, 0.24), transparent 34%);
}

#s2::after {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14) 0%, transparent 46%),
    linear-gradient(to top, rgba(255, 255, 255, 0.12) 0%, transparent 40%);
}

#s2 .page-title {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.83), rgba(243, 249, 255, 0.64));
  border: 1px solid rgba(219, 234, 255, 0.86);
  box-shadow:
    0 24px 50px rgba(7, 34, 78, 0.27),
    0 8px 20px rgba(14, 73, 154, 0.12);
}

#s2 .page-title::before {
  background: linear-gradient(90deg, #2a6dca, rgba(42, 109, 202, 0.2));
}

#s2 .display-1 {
  color: #0e3f8e;
  text-shadow: none;
}

#s2 .display-4 {
  color: #123f7b;
  text-shadow: none;
}

@media (max-width: 991.98px) {
  #s2 .page-title {
    max-width: min(90vw, 520px);
  }

  #s2 .display-1 {
    font-size: clamp(2.1rem, 13vw, 3.2rem);
  }

  #s2 .display-4 {
    max-width: 17ch;
  }
}

/* v7 final: white header, one-line desktop menu, dark floating hero card */
#main-navbar {
  background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%) !important;
  border-bottom: 1px solid #d8e6fb;
  box-shadow: 0 10px 26px rgba(13, 53, 112, 0.1);
}

#main-navbar .container {
  padding-top: 0.45rem;
  padding-bottom: 0.45rem;
}

#main-navbar .brand-logo {
  width: clamp(126px, 34vw, 188px) !important;
}

#main-navbar .navbar-toggler {
  background: linear-gradient(120deg, #1256b3, #1d6fd1);
  color: #ffffff;
  border: 0;
}

#main-navbar .navbar-toggler-icon {
  filter: brightness(0) invert(1) !important;
}

#main-navbar .toggler-label {
  color: #ffffff;
}

#navbarToggler.offcanvas {
  background: #ffffff;
}

#navbarToggler .offcanvas-body {
  padding: 0.55rem 0.88rem 1rem;
}

#navbarToggler .nav-all {
  display: flex;
  flex-direction: column;
  gap: 0.46rem;
  width: 100%;
  margin-left: 0 !important;
}

#navbarToggler .nav-all .nav-link {
  color: #163f78;
  background: #edf4ff;
  border: 1px solid #cfe0fb;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 800;
  padding: 0.58rem 0.76rem;
}

#navbarToggler .nav-all .nav-link:hover,
#navbarToggler .nav-all .nav-link:focus-visible {
  color: #ffffff;
  background: linear-gradient(120deg, #1a5cb8, #1f6fd1);
  border-color: transparent;
}

#s2::before {
  background:
    linear-gradient(110deg, rgba(6, 32, 76, 0.75), rgba(11, 58, 125, 0.54) 52%, rgba(8, 40, 92, 0.6)),
    radial-gradient(circle at 84% 18%, rgba(255, 255, 255, 0.16), transparent 34%);
}

#s2::after {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, transparent 44%),
    linear-gradient(to top, rgba(2, 14, 36, 0.26) 0%, transparent 40%);
}

#s2 .page-title {
  background: linear-gradient(145deg, rgba(8, 33, 74, 0.76), rgba(11, 51, 109, 0.45));
  border: 1px solid rgba(208, 226, 255, 0.34);
  box-shadow:
    0 24px 50px rgba(4, 22, 53, 0.36),
    0 10px 24px rgba(10, 45, 98, 0.2);
}

#s2 .page-title::before {
  background: linear-gradient(90deg, #ffffff, rgba(255, 255, 255, 0.24));
}

#s2 .display-1 {
  color: #ffffff;
  text-shadow: 0 10px 24px rgba(4, 25, 60, 0.42);
}

#s2 .display-4 {
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 8px 20px rgba(4, 25, 60, 0.34);
}

@media (min-width: 992px) {
  #main-navbar .brand-logo {
    width: clamp(138px, 8.6vw, 172px) !important;
  }

  #navbarToggler.offcanvas {
    position: static;
    transform: none;
    visibility: visible;
    width: auto;
    flex: 1 1 760px;
    max-width: 1100px;
    min-width: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
  }

  #navbarToggler .offcanvas-header {
    display: none;
  }

  #navbarToggler .offcanvas-body.row {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center;
    justify-content: flex-end;
    gap: 0.35rem;
    padding: 0;
  }

  #navbarToggler .offcanvas-body.row > .col-12 {
    width: auto !important;
    max-width: none !important;
    flex: 0 1 auto !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  #navbarToggler .nav-all {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center;
    justify-content: flex-end;
    gap: 0.32rem;
    width: auto;
    margin-left: auto !important;
  }

  #navbarToggler .nav-all .nav-item {
    flex: 0 0 auto;
    width: auto;
  }

  #navbarToggler .nav-all .nav-link {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    font-size: 0.95rem;
    padding: 0.4rem 0.68rem;
    border-radius: 999px;
    background: #edf4ff;
    border: 1px solid #c7daf9;
  }
}

/* v8 glossy polish (apple-like glass) */
#main-navbar {
  position: sticky;
  top: 0;
  z-index: 2000;
  background: rgba(255, 255, 255, 0.84) !important;
  backdrop-filter: saturate(165%) blur(16px);
  -webkit-backdrop-filter: saturate(165%) blur(16px);
  border-bottom: 1px solid rgba(207, 223, 248, 0.95);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 10px 28px rgba(8, 42, 98, 0.12);
}

#main-navbar::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.95), transparent);
  pointer-events: none;
}

#main-navbar .container {
  position: relative;
}

#main-navbar .brand-logo {
  width: clamp(130px, 34vw, 194px) !important;
  filter: drop-shadow(0 3px 8px rgba(14, 84, 181, 0.14));
}

#navbarToggler .nav-all .nav-link {
  position: relative;
  overflow: hidden;
  color: #164585;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(232, 242, 255, 0.96));
  border: 1px solid rgba(181, 208, 244, 0.9);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 5px 14px rgba(20, 84, 170, 0.12);
}

#navbarToggler .nav-all .nav-link::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.34), transparent 45%);
  pointer-events: none;
}

#navbarToggler .nav-all .nav-link:hover,
#navbarToggler .nav-all .nav-link:focus-visible {
  color: #ffffff;
  background: linear-gradient(135deg, #1a5cb9, #1f73d9);
  border-color: rgba(28, 91, 178, 0.6);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.32),
    0 10px 20px rgba(14, 71, 152, 0.24);
}

#s2::before {
  background:
    linear-gradient(111deg, rgba(4, 25, 58, 0.7), rgba(8, 50, 110, 0.52) 53%, rgba(7, 36, 84, 0.56)),
    radial-gradient(circle at 82% 16%, rgba(255, 255, 255, 0.18), transparent 36%);
}

#s2 .page-title {
  position: relative;
  backdrop-filter: blur(12px) saturate(145%);
  -webkit-backdrop-filter: blur(12px) saturate(145%);
  background: linear-gradient(145deg, rgba(9, 34, 74, 0.78), rgba(11, 49, 104, 0.5));
  border: 1px solid rgba(206, 225, 255, 0.36);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 24px 58px rgba(4, 23, 55, 0.4),
    0 12px 28px rgba(10, 44, 98, 0.24);
}

#s2 .page-title::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  top: 8px;
  height: 42%;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.03));
  pointer-events: none;
}

#page-content .main-content {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(247, 251, 255, 0.96));
  border: 1px solid rgba(207, 223, 246, 0.9);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    0 20px 50px rgba(14, 62, 132, 0.12);
}

@media (min-width: 992px) {
  #navbarToggler .offcanvas-body.row {
    padding-right: 0.2rem;
  }

  #navbarToggler .nav-all {
    gap: 0.28rem;
  }

  #navbarToggler .nav-all .nav-link {
    padding: 0.39rem 0.62rem;
    font-size: 0.9rem;
  }
}

/* v9 motion + larger menu pills without taller header */
@keyframes glass-card-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes subtle-sheen {
  0% {
    transform: translateX(-120%);
    opacity: 0;
  }
  25% {
    opacity: 1;
  }
  50% {
    transform: translateX(120%);
    opacity: 0;
  }
  100% {
    transform: translateX(120%);
    opacity: 0;
  }
}

#s2 .page-title {
  animation: glass-card-in 680ms cubic-bezier(0.18, 0.88, 0.24, 1.05) both;
}

#s2 .page-title::after {
  animation: subtle-sheen 8.8s ease-in-out 1.1s infinite;
}

#navbarToggler .nav-all .nav-link {
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 200ms ease,
    color 200ms ease;
}

#navbarToggler .nav-all .nav-link:hover,
#navbarToggler .nav-all .nav-link:focus-visible {
  transform: translateY(-1px);
}

@media (min-width: 992px) {
  #main-navbar .container {
    min-height: 72px;
    padding-top: 0.3rem;
    padding-bottom: 0.3rem;
  }

  #main-navbar .brand-logo {
    width: clamp(126px, 8vw, 158px) !important;
  }

  #navbarToggler .offcanvas-body.row {
    gap: 0.28rem;
  }

  #navbarToggler .nav-all {
    gap: 0.24rem;
  }

  #navbarToggler .nav-all .nav-link {
    font-size: 1.02rem;
    line-height: 1;
    padding: 0.4rem 0.94rem;
    border-radius: 999px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #s2 .page-title,
  #s2 .page-title::after,
  #navbarToggler .nav-all .nav-link {
    animation: none !important;
    transition: none !important;
  }
}

/* v10 final tweak: generated hero, no animations, bigger pills */
#s2 {
  background-image: url("./hero-kids-generated.jpg") !important;
  background-size: cover !important;
  background-position: center 36% !important;
  background-repeat: no-repeat !important;
}

#s2 .page-title,
#s2 .page-title::after {
  animation: none !important;
}

#navbarToggler .nav-all .nav-link {
  transition: none !important;
}

#navbarToggler .nav-all .nav-link:hover,
#navbarToggler .nav-all .nav-link:focus-visible {
  transform: none !important;
}

@media (min-width: 992px) {
  #main-navbar .container {
    min-height: 72px;
  }

  #main-navbar .brand-logo {
    width: clamp(120px, 7.6vw, 148px) !important;
  }

  #navbarToggler .offcanvas-body.row {
    gap: 0.22rem;
  }

  #navbarToggler .nav-all {
    gap: 0.22rem;
  }

  #navbarToggler .nav-all .nav-link {
    font-size: 1.08rem;
    line-height: 1;
    padding: 0.42rem 1.04rem;
    border-radius: 999px;
  }
}

/* v11 refinement: cleaner elegant hero + glossy blue menu pills */
#s2 {
  background-position: center 32% !important;
}

#s2::before {
  background:
    linear-gradient(112deg, rgba(7, 26, 58, 0.58), rgba(9, 48, 104, 0.42) 56%, rgba(8, 35, 86, 0.48)),
    radial-gradient(circle at 82% 14%, rgba(255, 255, 255, 0.14), transparent 38%) !important;
  backdrop-filter: blur(1.8px) saturate(82%);
  -webkit-backdrop-filter: blur(1.8px) saturate(82%);
}

#s2::after {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 40%),
    linear-gradient(to top, rgba(4, 19, 47, 0.18), transparent 44%) !important;
}

#s2 .page-title {
  max-width: min(88vw, 560px);
  background: linear-gradient(145deg, rgba(10, 35, 78, 0.68), rgba(13, 53, 112, 0.4)) !important;
  border: 1px solid rgba(221, 236, 255, 0.38) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 18px 44px rgba(5, 23, 56, 0.34),
    0 8px 20px rgba(11, 48, 106, 0.2) !important;
}

#s2 .display-1 {
  letter-spacing: -0.02em;
  text-wrap: balance;
}

#s2 .display-4 {
  max-width: 18ch !important;
  color: rgba(255, 255, 255, 0.94) !important;
}

#navbarToggler .nav-all .nav-link {
  color: #ffffff !important;
  background: linear-gradient(180deg, #2f83e8 0%, #1f67c7 100%) !important;
  border: 1px solid rgba(22, 86, 176, 0.95) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    0 8px 18px rgba(12, 66, 140, 0.26) !important;
}

#navbarToggler .nav-all .nav-link::after {
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.32), transparent 46%) !important;
}

#navbarToggler .nav-all .nav-link:hover,
#navbarToggler .nav-all .nav-link:focus-visible {
  background: linear-gradient(180deg, #3f92f3 0%, #2b74d2 100%) !important;
  border-color: rgba(19, 80, 165, 0.96) !important;
}

@media (min-width: 992px) {
  #navbarToggler .nav-all .nav-link {
    font-size: 1.12rem !important;
    padding: 0.43rem 1.14rem !important;
  }

  #s2 .page-title {
    max-width: min(42vw, 560px);
    margin-bottom: 5.3rem !important;
    padding: 1.24rem 1.32rem 1.34rem !important;
  }

  #s2 .display-1 {
    font-size: clamp(3rem, 4.7vw, 4.95rem) !important;
  }

  #s2 .display-4 {
    font-size: clamp(1.2rem, 1.85vw, 1.7rem) !important;
  }
}

/* v12 polish: minimal hero + professional blue pills + cleaner Aanbod dropdown */
#s2::before {
  background:
    linear-gradient(112deg, rgba(8, 30, 68, 0.66), rgba(11, 50, 106, 0.5) 56%, rgba(8, 36, 84, 0.54)),
    radial-gradient(circle at 82% 14%, rgba(255, 255, 255, 0.12), transparent 40%) !important;
  backdrop-filter: blur(2.8px) saturate(74%);
  -webkit-backdrop-filter: blur(2.8px) saturate(74%);
}

#s2::after {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 42%),
    linear-gradient(to top, rgba(4, 19, 47, 0.2), transparent 46%) !important;
}

#s2 .page-title {
  background: linear-gradient(145deg, rgba(10, 35, 78, 0.62), rgba(13, 53, 112, 0.34)) !important;
  border: 1px solid rgba(220, 236, 255, 0.26) !important;
  box-shadow:
    0 10px 24px rgba(5, 23, 56, 0.28),
    0 3px 8px rgba(11, 48, 106, 0.2) !important;
}

#s2 .page-title::before,
#s2 .page-title::after {
  display: none !important;
}

#s2 .display-1 {
  font-size: clamp(2.75rem, 4.35vw, 4.45rem) !important;
}

#s2 .display-4 {
  max-width: 17ch !important;
  opacity: 0.96;
}

#navbarToggler .nav-all .nav-link {
  color: #ffffff !important;
  background: linear-gradient(180deg, #2976d8 0%, #1f66c4 100%) !important;
  border: 1px solid rgba(28, 92, 178, 0.96) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 4px 10px rgba(14, 63, 132, 0.2) !important;
}

#navbarToggler .nav-all .nav-link::after {
  display: none !important;
}

#navbarToggler .nav-all .nav-link:hover,
#navbarToggler .nav-all .nav-link:focus-visible {
  background: linear-gradient(180deg, #2c7fe6 0%, #236dcf 100%) !important;
  border-color: rgba(24, 84, 168, 0.96) !important;
}

#nav-item-11 > .nav-link.dropdown-toggle::after {
  border: 0 !important;
  content: "˅";
  font-size: 0.9em;
  font-weight: 800;
  line-height: 1;
  margin-left: 0.35rem;
  vertical-align: middle;
  transform: translateY(-1px);
}

#nav-item-11 .dropdown-menu {
  margin-top: 0.52rem !important;
  margin-right: 0 !important;
  border: 1px solid rgba(198, 217, 246, 0.95);
  border-radius: 14px;
  box-shadow: 0 14px 26px rgba(10, 53, 118, 0.14);
  padding: 0.36rem;
  min-width: 235px;
}

#nav-item-11 .dropdown-item {
  border-radius: 10px;
  font-size: 0.94rem;
  font-weight: 600;
  color: #1b4d90;
  padding: 0.54rem 0.68rem;
}

#nav-item-11 .dropdown-item:hover,
#nav-item-11 .dropdown-item:focus {
  color: #12417d;
  background: #ecf4ff;
}

@media (min-width: 992px) {
  #navbarToggler .nav-all .nav-link {
    font-size: 1.1rem !important;
    padding: 0.42rem 1.08rem !important;
  }
}

/* v13 services section: luxury glass tiles */
#c67 .services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(0.9rem, 1.8vw, 1.3rem);
  margin-top: clamp(1.1rem, 1.8vw, 1.65rem);
}

#c67 .service-tile {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(168, 198, 236, 0.52);
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.9), rgba(236, 246, 255, 0.72));
  box-shadow:
    0 14px 30px rgba(10, 55, 120, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(9px) saturate(118%);
  -webkit-backdrop-filter: blur(9px) saturate(118%);
  padding: clamp(1.04rem, 1.75vw, 1.35rem) clamp(1rem, 1.9vw, 1.3rem);
}

#c67 .service-tile::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 44%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.46), rgba(255, 255, 255, 0));
  pointer-events: none;
}

#c67 .service-tile h6 {
  margin: 0 0 0.58rem;
  font-size: clamp(1.22rem, 1.85vw, 1.55rem);
  line-height: 1.2;
  color: #124f9c;
}

#c67 .service-tile h6 strong {
  font-weight: 800;
}

#c67 .service-tile h6 + p {
  margin: 0;
  padding-left: 0;
}

#c67 .service-tile h6 + p::before {
  display: none;
}

#c67 .service-tile p {
  margin: 0;
  color: #234767;
  font-size: clamp(0.99rem, 1.2vw, 1.13rem);
  line-height: 1.62;
}

#c67 .service-tile a {
  color: #1454a3;
  text-decoration-thickness: 2px;
  text-underline-offset: 2px;
}

#c67 .service-tile a:hover {
  color: #0f4381;
}

#c67 .service-tile-wide {
  background: linear-gradient(145deg, rgba(230, 242, 255, 0.94), rgba(246, 251, 255, 0.84));
}

@media (min-width: 992px) {
  #c67 .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #c67 .service-tile-wide {
    grid-column: 1 / -1;
  }
}

/* v14 whatsapp: glass style aligned with site */
#c158 a[title="Chat met ons op WhatsApp"] {
  position: fixed !important;
  overflow: hidden !important;
  isolation: isolate;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(228, 241, 255, 0.82)) !important;
  color: #1451a0 !important;
  border: 1px solid rgba(157, 193, 236, 0.92) !important;
  border-radius: 999px !important;
  box-shadow:
    0 12px 28px rgba(11, 57, 123, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.82) !important;
  backdrop-filter: blur(10px) saturate(128%) !important;
  -webkit-backdrop-filter: blur(10px) saturate(128%) !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  letter-spacing: 0.01em;
  text-shadow: none !important;
  animation: none !important;
  transform: none !important;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease !important;
}

#c158 a[title="Chat met ons op WhatsApp"]::after {
  content: "";
  position: absolute;
  inset: 1px 1px auto 1px;
  height: 52%;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.48), rgba(255, 255, 255, 0));
  pointer-events: none;
  z-index: 0;
}

#c158 a[title="Chat met ons op WhatsApp"] > * {
  position: relative;
  z-index: 1;
}

#c158 a[title="Chat met ons op WhatsApp"] img {
  filter: none !important;
  mix-blend-mode: normal !important;
}

#c158 a[title="Chat met ons op WhatsApp"]:hover,
#c158 a[title="Chat met ons op WhatsApp"]:focus-visible {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(236, 247, 255, 0.86)) !important;
  border-color: rgba(136, 178, 230, 0.98) !important;
  box-shadow:
    0 14px 34px rgba(11, 57, 123, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
  transform: none !important;
}

@media (max-width: 767.98px) {
  #c158 a[title="Chat met ons op WhatsApp"] {
    left: 10px !important;
    bottom: 10px !important;
    padding: 9px 13px 9px 10px !important;
    font-size: 13.5px !important;
  }
}

/* v15 heading block polish: cleaner hierarchy and mobile readability */
#c67 .header-67 {
  margin-top: 0.45rem;
  margin-bottom: clamp(1rem, 1.6vw, 1.4rem);
}

#c67 .section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.55rem;
  padding: 0.32rem 0.68rem;
  border-radius: 999px;
  border: 1px solid rgba(169, 197, 235, 0.85);
  background: linear-gradient(145deg, rgba(248, 252, 255, 0.96), rgba(234, 245, 255, 0.92));
  color: #1e5ead;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

#c67 .section-kicker::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(180deg, #2c79dd, #1b5fb9);
  box-shadow: 0 0 0 4px rgba(44, 121, 221, 0.14);
}

#c67 h2 {
  max-width: 22ch;
  font-size: clamp(1.8rem, 3.65vw, 3.1rem) !important;
  line-height: 1.1 !important;
  letter-spacing: -0.012em;
  text-wrap: balance;
}

#c67 .title-mobile {
  display: none;
}

#c67 > p:first-of-type {
  border-left-width: 3px;
  background: linear-gradient(110deg, rgba(242, 248, 255, 0.84), rgba(249, 252, 255, 0.76));
  border-color: rgba(190, 213, 243, 0.9);
  border-left-color: #2c73ce;
  padding: clamp(0.88rem, 1.42vw, 1.05rem) clamp(0.98rem, 1.7vw, 1.2rem);
  box-shadow: 0 8px 22px rgba(12, 63, 136, 0.09);
}

#c67 > p:first-of-type {
  font-size: clamp(1rem, 1.1vw, 1.12rem);
  line-height: 1.63;
}

@media (max-width: 991.98px) {
  #page-content .main-content {
    margin-top: -1.4rem !important;
  }

  #c67 .header-67 {
    margin-top: 0.32rem;
    margin-bottom: 0.9rem;
  }

  #c67 .section-kicker {
    font-size: 0.76rem;
    padding: 0.26rem 0.56rem;
    margin-bottom: 0.45rem;
  }

  #c67 h2 {
    max-width: 18ch;
    font-size: clamp(1.42rem, 6.1vw, 2.05rem) !important;
    line-height: 1.14 !important;
  }

  #c67 .title-desktop {
    display: none;
  }

  #c67 .title-mobile {
    display: inline;
  }

  #c67 > p:first-of-type {
    font-size: clamp(0.95rem, 4.2vw, 1.02rem);
    line-height: 1.55;
    padding: 0.82rem 0.88rem;
    border-left-width: 2px;
  }
}

/* v16 final polish: logo-blue menu + clearer heading block */
#navbarToggler .nav-all .nav-link {
  color: #ffffff !important;
  background: linear-gradient(180deg, #0051bb 0%, #0048a8 62%, #00419a 100%) !important;
  border: 1px solid #003d91 !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 4px 10px rgba(0, 43, 104, 0.2) !important;
}

#navbarToggler .nav-all .nav-link::after {
  display: none !important;
}

#navbarToggler .nav-all .nav-link:hover,
#navbarToggler .nav-all .nav-link:focus-visible,
#navbarToggler .nav-all .dropdown-toggle.show {
  color: #ffffff !important;
  background: linear-gradient(180deg, #005aca 0%, #0051bb 60%, #0047a6 100%) !important;
  border-color: #003a88 !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    0 6px 14px rgba(0, 43, 104, 0.24) !important;
}

#nav-item-11 > .nav-link.dropdown-toggle::after {
  border: 0 !important;
  content: "▾";
  font-size: 0.9em;
  margin-left: 0.34rem;
  line-height: 1;
  color: rgba(255, 255, 255, 0.96);
  vertical-align: middle;
}

#nav-item-16 .nav-link {
  padding-inline: 1rem !important;
}

#nav-item-home .nav-link {
  padding-inline: 0.9rem !important;
}

#nav-item-home .nav-link::before {
  content: "\2302";
  margin-right: 0.34rem;
  font-size: 0.9em;
  line-height: 1;
}

#nav-item-16 .nav-link::before {
  content: "\260E";
  margin-right: 0.34rem;
  font-size: 0.9em;
  line-height: 1;
}

@media (min-width: 992px) {
  #navbarToggler .nav-all .nav-link {
    font-size: 0.99rem !important;
    padding: 0.41rem 0.84rem !important;
  }

  #nav-item-16 .nav-link {
    font-size: 0.95rem !important;
    padding-inline: 0.92rem !important;
  }
}

#c67 h2 {
  max-width: 28ch;
  font-size: clamp(1.65rem, 3.15vw, 2.75rem) !important;
  line-height: 1.08 !important;
  letter-spacing: -0.012em;
}

#c67 .title-main {
  display: block;
}

#c67 .title-location {
  display: block;
  margin-top: 0.2rem;
  color: #2b63b3;
  font-size: clamp(1.05rem, 1.9vw, 1.62rem);
  font-weight: 700;
  line-height: 1.14;
}

#c67 > p:first-of-type {
  max-width: none;
  width: 100%;
  margin-bottom: 1.2rem;
}

@media (max-width: 991.98px) {
  #c67 h2 {
    max-width: 20ch;
    font-size: clamp(1.32rem, 5.65vw, 1.95rem) !important;
    line-height: 1.12 !important;
  }

  #c67 .title-location {
    margin-top: 0.16rem;
    font-size: clamp(0.98rem, 4.15vw, 1.24rem);
    line-height: 1.18;
  }

  #c67 > p:first-of-type {
    margin-bottom: 0.98rem;
  }
}

/* v17 active nav + missie page polish */
#navbarToggler .nav-all .nav-link.active {
  background: linear-gradient(180deg, #005fcf 0%, #0051bb 60%, #0048a8 100%) !important;
  border-color: #003a88 !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    0 7px 16px rgba(0, 43, 104, 0.26) !important;
}

body.mission-page #s2 .display-4 {
  max-width: 30ch !important;
}

body.mission-page #s2 {
  background-image: url("./hero-missie-generated-v2.jpg") !important;
  background-position: center 36% !important;
}

body.mission-page #c67 .services-grid {
  margin-top: clamp(1rem, 1.6vw, 1.35rem);
}

body.mission-page #c67 .mission-tile h6 {
  margin-bottom: 0.45rem;
}

body.mission-page #c67 .mission-tile p {
  line-height: 1.6;
}

body.mission-page #c67 .mission-tile-wide p {
  max-width: 100ch;
}

/* v18 unify WhatsApp button across all pages + mission bullet tile */
#page-wrapper a[title="Chat met ons op WhatsApp"] {
  position: fixed !important;
  max-width: min(92vw, 420px);
  overflow: hidden !important;
  isolation: isolate;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(228, 241, 255, 0.82)) !important;
  color: #1451a0 !important;
  border: 1px solid rgba(157, 193, 236, 0.92) !important;
  border-radius: 999px !important;
  box-shadow:
    0 12px 28px rgba(11, 57, 123, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.82) !important;
  backdrop-filter: blur(10px) saturate(128%) !important;
  -webkit-backdrop-filter: blur(10px) saturate(128%) !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  letter-spacing: 0.01em;
  text-shadow: none !important;
  animation: none !important;
  transform: none !important;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease !important;
}

#page-wrapper a[title="Chat met ons op WhatsApp"]::after {
  content: "";
  position: absolute;
  inset: 1px 1px auto 1px;
  height: 52%;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.48), rgba(255, 255, 255, 0));
  pointer-events: none;
  z-index: 0;
}

#page-wrapper a[title="Chat met ons op WhatsApp"] > * {
  position: relative;
  z-index: 1;
}

#page-wrapper a[title="Chat met ons op WhatsApp"] img {
  filter: none !important;
  mix-blend-mode: normal !important;
}

#page-wrapper a[title="Chat met ons op WhatsApp"]:hover,
#page-wrapper a[title="Chat met ons op WhatsApp"]:focus-visible {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(236, 247, 255, 0.86)) !important;
  border-color: rgba(136, 178, 230, 0.98) !important;
  box-shadow:
    0 14px 34px rgba(11, 57, 123, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
  transform: none !important;
}

@media (max-width: 767.98px) {
  #page-wrapper a[title="Chat met ons op WhatsApp"] {
    left: max(10px, env(safe-area-inset-left)) !important;
    bottom: max(14px, env(safe-area-inset-bottom)) !important;
    padding: 9px 13px 9px 10px !important;
    font-size: 13.5px !important;
    max-width: calc(100vw - 20px);
  }
}

body.mission-page #c68 .mission-points-tile {
  background: linear-gradient(108deg, rgba(242, 248, 255, 0.86), rgba(249, 252, 255, 0.8));
  border: 1px solid rgba(187, 211, 243, 0.9);
  border-left: 4px solid #2c73ce;
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(10, 59, 130, 0.1);
  padding: clamp(0.9rem, 1.55vw, 1.15rem) clamp(0.94rem, 1.65vw, 1.2rem);
  margin-top: 0.4rem;
}

body.mission-page #c68 .mission-points-tile > h6:first-child {
  margin-top: 0;
}

/* v19 aanbod page: unique hero + homepage-like service tiles */
body.offer-page #s2 {
  background-image: url("./hero-aanbod-generated.jpg") !important;
  background-position: center 34% !important;
}

body.offer-page #c69 {
  max-width: 1080px;
  margin-inline: auto;
}

body.offer-page #c69 .header-69 {
  margin-bottom: 1.05rem;
}

body.offer-page #c69 .header-69 h1 {
  font-size: clamp(1.5rem, 3vw, 2.9rem);
  line-height: 1.12;
  color: var(--brand-900);
  margin: 0;
  text-wrap: balance;
}

body.offer-page #c69 .services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(0.9rem, 1.8vw, 1.3rem);
  margin-top: clamp(1.05rem, 1.7vw, 1.3rem);
}

body.offer-page #c69 .service-tile {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(168, 198, 236, 0.52);
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.9), rgba(236, 246, 255, 0.72));
  box-shadow:
    0 14px 30px rgba(10, 55, 120, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(9px) saturate(118%);
  -webkit-backdrop-filter: blur(9px) saturate(118%);
  padding: clamp(1.04rem, 1.75vw, 1.35rem) clamp(1rem, 1.9vw, 1.3rem);
}

body.offer-page #c69 .service-tile::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 44%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.46), rgba(255, 255, 255, 0));
  pointer-events: none;
}

body.offer-page #c69 .service-tile h6 {
  margin: 0 0 0.58rem;
  font-size: clamp(1.22rem, 1.85vw, 1.55rem);
  line-height: 1.2;
  color: #124f9c;
}

body.offer-page #c69 .service-tile h6 strong {
  font-weight: 800;
}

body.offer-page #c69 .service-tile p {
  margin: 0;
  color: #234767;
  font-size: clamp(0.99rem, 1.2vw, 1.13rem);
  line-height: 1.62;
}

body.offer-page #c69 .service-tile a {
  color: #1454a3;
  text-decoration-thickness: 2px;
  text-underline-offset: 2px;
}

body.offer-page #c69 .service-tile a:hover {
  color: #0f4381;
}

body.offer-page #c69 .service-tile-wide {
  background: linear-gradient(145deg, rgba(230, 242, 255, 0.94), rgba(246, 251, 255, 0.84));
}

@media (min-width: 992px) {
  body.offer-page #c69 .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.offer-page #c69 .service-tile-wide {
    grid-column: 1 / -1;
  }
}

/* v20 weekendopvang page: unique hero + missie-like content rhythm */
body.weekend-page #s2 {
  background-image: url("./hero-weekendopvang-generated.jpg") !important;
  background-position: center 40% !important;
}

body.weekend-page #s2 .page-title {
  overflow: visible !important;
  padding-bottom: clamp(1rem, 2vw, 1.35rem);
}

body.weekend-page #s2 .display-1 {
  display: inline-block;
  font-size: clamp(2.3rem, 3.95vw, 3.85rem) !important;
  line-height: 1.12 !important;
  padding-bottom: 0.12em;
  margin-bottom: 0 !important;
}

body.weekend-page #c151 {
  max-width: 1080px;
  margin-inline: auto;
}

body.weekend-page #c151 .header-151 {
  margin-bottom: 1rem;
}

body.weekend-page #c151 .header-151 h1 {
  font-size: clamp(1.5rem, 3vw, 2.9rem);
  line-height: 1.12;
  color: var(--brand-900);
  margin: 0;
  text-wrap: balance;
}

body.weekend-page #c151 p {
  color: #234767;
  font-size: clamp(0.99rem, 1.2vw, 1.13rem);
  line-height: 1.62;
  max-width: none;
  width: 100%;
}

body.weekend-page #c151 h6 {
  color: #124f9c;
  font-size: clamp(1.22rem, 1.75vw, 1.48rem);
  margin: 0 0 0.58rem;
}

body.weekend-page #c151 a {
  color: #1454a3;
  text-decoration-thickness: 2px;
  text-underline-offset: 2px;
}

body.weekend-page #c151 a:hover {
  color: #0f4381;
}

@media (max-width: 767.98px) {
  body.weekend-page #s2 .display-1 {
    font-size: clamp(2.05rem, 7.2vw, 2.75rem) !important;
    line-height: 1.14 !important;
    padding-bottom: 0.14em;
  }
}

@media (max-width: 575.98px) {
  body.weekend-page #s2 .page-title {
    max-width: min(94vw, 520px) !important;
    padding: 0.86rem 0.98rem 0.94rem !important;
  }

  body.weekend-page #s2 .display-1 {
    font-size: clamp(1.56rem, 9.3vw, 2.2rem) !important;
    line-height: 1.08 !important;
    letter-spacing: -0.015em;
  }
}

/* v21 naschoolse begeleiding page */
body.afterschool-page #s2 {
  background-image: url("./hero-naschoolse-generated.jpg") !important;
  background-position: center 38% !important;
}

body.afterschool-page #s2 .page-title {
  overflow: visible !important;
  padding-bottom: clamp(1rem, 2vw, 1.35rem);
}

body.afterschool-page #s2 .display-1 {
  display: inline-block;
  font-size: clamp(2.18rem, 3.7vw, 3.5rem) !important;
  line-height: 1.14 !important;
  padding-bottom: 0.12em;
  margin-bottom: 0 !important;
}

body.afterschool-page #c152 {
  max-width: 1080px;
  margin-inline: auto;
}

body.afterschool-page #c152 .header-152 h2 {
  font-size: clamp(1.58rem, 3.05vw, 3rem);
  line-height: 1.11;
  color: var(--brand-900);
  margin: 0 0 0.9rem;
  text-wrap: balance;
}

body.afterschool-page #c152 p {
  color: #234767;
  font-size: clamp(0.99rem, 1.2vw, 1.13rem);
  line-height: 1.62;
  max-width: none;
  width: 100%;
}

body.afterschool-page #c152 h6 {
  color: #124f9c;
  font-size: clamp(1.22rem, 1.75vw, 1.48rem);
  margin: 0 0 0.58rem;
}

body.afterschool-page #c152 a {
  color: #1454a3;
  text-decoration-thickness: 2px;
  text-underline-offset: 2px;
}

body.afterschool-page #c152 a:hover {
  color: #0f4381;
}

@media (max-width: 767.98px) {
  body.afterschool-page #s2 .display-1 {
    font-size: clamp(1.92rem, 6.8vw, 2.58rem) !important;
    line-height: 1.15 !important;
    padding-bottom: 0.14em;
  }
}

/* v22 schooluitvallers page */
body.schooldropout-page #s2 {
  background-image: url("./hero-schooluitvallers-generated.jpg") !important;
  background-position: center 37% !important;
}

body.schooldropout-page #s2 .page-title {
  overflow: visible !important;
  padding-bottom: clamp(1rem, 2vw, 1.35rem);
}

body.schooldropout-page #s2 .display-1 {
  display: inline-block;
  font-size: clamp(2.18rem, 3.7vw, 3.5rem) !important;
  line-height: 1.14 !important;
  padding-bottom: 0.12em;
  margin-bottom: 0 !important;
}

body.schooldropout-page #c153 {
  max-width: 1080px;
  margin-inline: auto;
}

body.schooldropout-page #c153 .header-153 h2 {
  font-size: clamp(1.58rem, 3.05vw, 3rem);
  line-height: 1.11;
  color: var(--brand-900);
  margin: 0 0 0.9rem;
  text-wrap: balance;
}

body.schooldropout-page #c153 p {
  color: #234767;
  font-size: clamp(0.99rem, 1.2vw, 1.13rem);
  line-height: 1.62;
  max-width: none;
  width: 100%;
}

body.schooldropout-page #c153 h6 {
  color: #124f9c;
  font-size: clamp(1.22rem, 1.75vw, 1.48rem);
  margin: 0 0 0.58rem;
}

body.schooldropout-page #c153 a {
  color: #1454a3;
  text-decoration-thickness: 2px;
  text-underline-offset: 2px;
}

body.schooldropout-page #c153 a:hover {
  color: #0f4381;
}

@media (max-width: 767.98px) {
  body.schooldropout-page #s2 .display-1 {
    font-size: clamp(1.92rem, 6.8vw, 2.58rem) !important;
    line-height: 1.15 !important;
    padding-bottom: 0.14em;
  }
}

/* v23 individuele begeleiding page */
body.individual-page #s2 {
  background-image: url("./hero-individuele-generated.jpg") !important;
  background-position: center 37% !important;
}

body.individual-page #s2 .page-title {
  overflow: visible !important;
  padding-bottom: clamp(1rem, 2vw, 1.35rem);
}

body.individual-page #s2 .display-1 {
  display: inline-block;
  font-size: clamp(2.08rem, 3.45vw, 3.25rem) !important;
  line-height: 1.14 !important;
  padding-bottom: 0.12em;
  margin-bottom: 0 !important;
}

body.individual-page #c154 {
  max-width: 1080px;
  margin-inline: auto;
}

body.individual-page #c154 .header-154 h2 {
  font-size: clamp(1.58rem, 3.05vw, 3rem);
  line-height: 1.11;
  color: var(--brand-900);
  margin: 0 0 0.9rem;
  text-wrap: balance;
}

body.individual-page #c154 p {
  color: #234767;
  font-size: clamp(0.99rem, 1.2vw, 1.13rem);
  line-height: 1.62;
  max-width: none;
  width: 100%;
}

body.individual-page #c154 h6 {
  color: #124f9c;
  font-size: clamp(1.22rem, 1.75vw, 1.48rem);
  margin: 0 0 0.58rem;
}

body.individual-page #c154 a {
  color: #1454a3;
  text-decoration-thickness: 2px;
  text-underline-offset: 2px;
}

body.individual-page #c154 a:hover {
  color: #0f4381;
}

@media (max-width: 767.98px) {
  body.individual-page #s2 .display-1 {
    font-size: clamp(1.84rem, 6.3vw, 2.42rem) !important;
    line-height: 1.15 !important;
    padding-bottom: 0.14em;
  }
}

/* v24 uitsluitingscriteria page */
body.exclusion-page #s2 {
  background-image: url("./hero-uitsluitingscriteria-generated.jpg") !important;
  background-position: center 38% !important;
}

body.exclusion-page #s2 .page-title {
  overflow: visible !important;
  padding-bottom: clamp(1rem, 2vw, 1.35rem);
}

body.exclusion-page #s2 .display-1 {
  display: inline-block;
  font-size: clamp(2.05rem, 3.35vw, 3.05rem) !important;
  line-height: 1.14 !important;
  padding-bottom: 0.1em;
  margin-bottom: 0 !important;
}

body.exclusion-page #s2 .display-4 {
  max-width: 19ch !important;
}

body.exclusion-page #c72 {
  max-width: 1080px;
  margin-inline: auto;
}

body.exclusion-page #c72 .header-72 h2 {
  font-size: clamp(1.58rem, 3.05vw, 3rem);
  line-height: 1.11;
  color: var(--brand-900);
  margin: 0 0 0.9rem;
  text-wrap: balance;
}

body.exclusion-page #c72 p {
  color: #234767;
  font-size: clamp(0.99rem, 1.2vw, 1.13rem);
  line-height: 1.62;
  max-width: none;
  width: 100%;
}

body.exclusion-page #c72 h6 {
  color: #124f9c;
  font-size: clamp(1.22rem, 1.75vw, 1.48rem);
  margin: 0 0 0.58rem;
}

@media (max-width: 767.98px) {
  body.exclusion-page #s2 .display-1 {
    font-size: clamp(1.82rem, 6.2vw, 2.34rem) !important;
    line-height: 1.15 !important;
    padding-bottom: 0.13em;
  }
}

/* v25 klachten page */
body.complaints-page #s2 {
  background-image: url("./hero-klachten-generated.jpg") !important;
  background-position: center 38% !important;
}

body.complaints-page #s2 .page-title {
  overflow: visible !important;
  padding-bottom: clamp(1rem, 2vw, 1.35rem);
}

body.complaints-page #s2 .display-1 {
  display: inline-block;
  font-size: clamp(2.18rem, 3.65vw, 3.4rem) !important;
  line-height: 1.14 !important;
  padding-bottom: 0.1em;
  margin-bottom: 0 !important;
}

body.complaints-page #s2 .display-4 {
  max-width: 18ch !important;
}

body.complaints-page #c71 {
  max-width: 1080px;
  margin-inline: auto;
}

body.complaints-page #c71 .header-71 h2 {
  font-size: clamp(1.58rem, 3.05vw, 3rem);
  line-height: 1.11;
  color: var(--brand-900);
  margin: 0 0 0.9rem;
  text-wrap: balance;
}

body.complaints-page #c71 p {
  color: #234767;
  font-size: clamp(0.99rem, 1.2vw, 1.13rem);
  line-height: 1.62;
  max-width: none;
  width: 100%;
}

body.complaints-page #c71 h6 {
  color: #124f9c;
  font-size: clamp(1.22rem, 1.75vw, 1.48rem);
  margin: 0 0 0.58rem;
}

body.complaints-page #c71 a {
  color: #1454a3;
  text-decoration-thickness: 2px;
  text-underline-offset: 2px;
}

body.complaints-page #c71 a:hover {
  color: #0f4381;
}

@media (max-width: 767.98px) {
  body.complaints-page #s2 .display-1 {
    font-size: clamp(1.9rem, 6.45vw, 2.52rem) !important;
    line-height: 1.15 !important;
    padding-bottom: 0.13em;
  }
}

/* v26 contact page */
body.contact-page #s2 {
  background-image: url("./hero-contact-generated.jpg") !important;
  background-position: center 38% !important;
}

body.contact-page #s2 .page-title {
  overflow: visible !important;
  padding-bottom: clamp(1rem, 2vw, 1.35rem);
}

body.contact-page #s2 .display-1 {
  display: inline-block;
  font-size: clamp(2.18rem, 3.65vw, 3.4rem) !important;
  line-height: 1.14 !important;
  padding-bottom: 0.1em;
  margin-bottom: 0 !important;
}

body.contact-page #s2 .display-4 {
  max-width: 22ch !important;
}

body.contact-page #c116 {
  max-width: 1080px;
  margin-inline: auto;
}

body.contact-page #c116 .row {
  row-gap: clamp(1rem, 2vw, 1.4rem);
}

body.contact-page #s116-1,
body.contact-page #s116-2 {
  display: flex;
  flex-direction: column;
}

body.contact-page #c73,
body.contact-page #c115 {
  border-radius: 20px;
  border: 1px solid rgba(176, 203, 238, 0.86);
  background: linear-gradient(145deg, rgba(245, 251, 255, 0.92), rgba(231, 243, 255, 0.8));
  box-shadow:
    0 12px 26px rgba(10, 55, 120, 0.13),
    inset 0 1px 0 rgba(255, 255, 255, 0.84);
  padding: clamp(1rem, 1.8vw, 1.3rem);
}

body.contact-page #c73 h3 {
  color: #124f9c;
  font-size: clamp(1.2rem, 1.9vw, 1.5rem);
  margin-bottom: 0.34rem;
}

body.contact-page #c73 p,
body.contact-page #c117 p {
  color: #234767;
  font-size: clamp(0.99rem, 1.15vw, 1.08rem);
  line-height: 1.56;
  margin-bottom: 0.24rem;
}

body.contact-page #c73 a,
body.contact-page #c117 a {
  color: #1454a3;
  text-decoration-thickness: 2px;
  text-underline-offset: 2px;
}

body.contact-page #c73 a:hover,
body.contact-page #c117 a:hover {
  color: #0f4381;
}

body.contact-page #c115 iframe {
  width: 100% !important;
  min-height: 380px;
  border-radius: 14px;
}

body.contact-page #c117 {
  margin-top: 0.8rem;
}

@media (max-width: 767.98px) {
  body.contact-page #s2 .display-1 {
    font-size: clamp(1.9rem, 6.45vw, 2.52rem) !important;
    line-height: 1.15 !important;
    padding-bottom: 0.13em;
  }

  body.contact-page #c115 iframe {
    min-height: 320px;
  }
}

/* v27 privacy, voorwaarden en disclaimer page */
body.privacy-page #s2 {
  background-image: url("./hero-privacy-generated.jpg") !important;
  background-position: center 36% !important;
}

body.privacy-page #s2 .page-title {
  overflow: visible !important;
  padding-bottom: clamp(1rem, 2vw, 1.35rem);
}

body.privacy-page #s2 .display-1 {
  display: inline-block;
  font-size: clamp(2.04rem, 3.5vw, 3.24rem) !important;
  line-height: 1.14 !important;
  padding-bottom: 0.1em;
  margin-bottom: 0 !important;
}

body.privacy-page #s2 .display-4 {
  max-width: 25ch !important;
}

body.privacy-page #c97 {
  max-width: 1080px;
  margin-inline: auto;
}

body.privacy-page #c97 .header-97 h2 {
  font-size: clamp(1.58rem, 3.05vw, 3rem);
  line-height: 1.11;
  color: var(--brand-900);
  margin: 0 0 0.9rem;
  text-wrap: balance;
}

body.privacy-page #c97 p,
body.privacy-page #c97 li {
  color: #234767;
  font-size: clamp(0.99rem, 1.2vw, 1.13rem);
  line-height: 1.62;
  max-width: none;
  width: 100%;
}

body.privacy-page #c97 h6 {
  color: #124f9c;
  font-size: clamp(1.22rem, 1.75vw, 1.48rem);
  margin: 1.2rem 0 0.58rem;
}

body.privacy-page #c97 ul {
  margin: 0;
  padding-left: 1.2rem;
}

body.privacy-page #c97 a {
  color: #1454a3;
  text-decoration-thickness: 2px;
  text-underline-offset: 2px;
}

body.privacy-page #c97 a:hover {
  color: #0f4381;
}

@media (max-width: 767.98px) {
  body.privacy-page #s2 .display-1 {
    font-size: clamp(1.8rem, 6.2vw, 2.44rem) !important;
    line-height: 1.15 !important;
    padding-bottom: 0.13em;
  }
}

/* v28 locatie page */
body.location-page #s2 {
  background-image: url("./media/enhanced/Voorkant.jpg") !important;
  background-position: center 62% !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
}

body.location-page #s2 .display-4 {
  max-width: 20ch !important;
}

body.location-page #c170 {
  max-width: 1120px;
  margin-inline: auto;
}

body.location-page #c170 .header-170 h2 {
  font-size: clamp(1.58rem, 3.05vw, 3rem);
  line-height: 1.11;
  color: var(--brand-900);
  margin: 0 0 0.8rem;
}

body.location-page #c170 p {
  color: #234767;
  font-size: clamp(1rem, 1.18vw, 1.12rem);
  line-height: 1.62;
}

.location-glass-tile {
  margin-top: 1rem;
  padding: clamp(0.9rem, 1.8vw, 1.25rem);
  border-radius: 22px;
  border: 1px solid rgba(169, 197, 234, 0.84);
  background: linear-gradient(145deg, rgba(248, 252, 255, 0.9), rgba(231, 243, 255, 0.74));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 14px 28px rgba(11, 56, 122, 0.12);
  backdrop-filter: blur(7px);
}

.location-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: clamp(0.55rem, 1.3vw, 0.95rem);
}

.location-gallery-grid figure {
  margin: 0;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(173, 201, 238, 0.9);
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(10, 54, 118, 0.12);
}

.location-gallery-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  cursor: zoom-in;
  transition: transform 220ms ease;
}

.location-gallery-grid img:hover {
  transform: scale(1.03);
}

.location-lightbox {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 4000;
  padding: 1.1rem;
  background: rgba(5, 20, 46, 0.82);
  backdrop-filter: blur(4px);
}

.location-lightbox.is-open {
  display: flex;
}

.location-lightbox-image {
  max-width: min(94vw, 1320px);
  max-height: 88vh;
  border-radius: 14px;
  border: 1px solid rgba(205, 226, 255, 0.7);
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.5);
}

.location-lightbox-close,
.location-lightbox-prev,
.location-lightbox-next {
  position: absolute;
  border: 0;
  border-radius: 999px;
  width: 44px;
  height: 44px;
  font-size: 1.7rem;
  line-height: 1;
  color: #0f3c80;
  background: rgba(244, 250, 255, 0.96);
  box-shadow: 0 8px 18px rgba(6, 31, 70, 0.32);
}

.location-lightbox-close {
  top: 16px;
  right: 16px;
}

.location-lightbox-prev {
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
}

.location-lightbox-next {
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
}

.location-lightbox-open {
  overflow: hidden;
}

@media (max-width: 767.98px) {
  .location-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .location-lightbox-close,
  .location-lightbox-prev,
  .location-lightbox-next {
    width: 40px;
    height: 40px;
  }
}

/* Critical mobile layering fix: menu must stay above hero/content */
#main-navbar {
  z-index: 5000 !important;
}

#navbarToggler.offcanvas {
  z-index: 6000 !important;
}

.offcanvas-backdrop,
.offcanvas-backdrop.show {
  z-index: 5900 !important;
}

#s2,
.jumbotron,
#page-content,
.main-content {
  z-index: 1 !important;
}

@media (max-width: 991.98px) {
  #navbarToggler.offcanvas {
    position: fixed !important;
    top: 0;
    right: 0;
    height: 100dvh;
    z-index: 6000 !important;
    visibility: hidden;
    transform: translateX(100%);
    transition: transform 0.25s ease, visibility 0.25s ease;
    display: block !important;
    overflow: hidden;
  }

  #navbarToggler.offcanvas.show,
  #navbarToggler.offcanvas.is-open-manual {
    visibility: visible;
    transform: translateX(0);
  }

  #navbarToggler .offcanvas-header,
  #navbarToggler .offcanvas-body {
    position: relative;
    z-index: 2;
    background: linear-gradient(180deg, #f2f7ff 0%, #ffffff 100%) !important;
  }

  #navbarToggler .offcanvas-body {
    height: calc(100dvh - 84px);
    overflow-y: auto;
  }

  .menu-backdrop,
  .menu-backdrop.is-visible,
  .offcanvas-backdrop,
  .offcanvas-backdrop.show {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
  }

  body.menu-open {
    overflow: hidden;
  }
}

/* Mobile hero sizing + weekend title fit (no desktop impact) */
@media (max-width: 767.98px) {
  #s2 {
    min-height: clamp(300px, 56vw, 440px) !important;
  }

  #s2 .d-flex {
    min-height: inherit !important;
  }

  #s2 .page-title {
    margin-bottom: 0 !important;
  }
}

@media (max-width: 575.98px) {
  body.weekend-page #s2 .page-title {
    max-width: min(92vw, 520px) !important;
    padding: 0.72rem 0.88rem 0.78rem !important;
  }

  body.weekend-page #s2 .display-1 {
    font-size: clamp(1.35rem, 8.2vw, 1.85rem) !important;
    line-height: 1.06 !important;
    letter-spacing: -0.01em !important;
  }
}

/* Mobile-only: align hero tile width with content cards below */
@media (max-width: 767.98px) {
  #s2 .container {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  #s2 .page-title {
    max-width: none !important;
    width: calc(100% - 48px) !important;
    margin-left: 24px !important;
    margin-right: 24px !important;
    padding-left: 18px !important;
    padding-right: 18px !important;
  }
}

/* Final mobile alignment: hero lower + title card full card-width */
@media (max-width: 767.98px) {
  #s2 {
    min-height: clamp(230px, 48vw, 330px) !important;
    background-position: center 34% !important;
  }

  #s2 .page-title,
  body.mission-page #s2 .page-title {
    width: calc(100% - 24px) !important;
    max-width: none !important;
    margin-left: 12px !important;
    margin-right: 12px !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
}

@media (max-width: 575.98px) {
  #s2 {
    min-height: clamp(210px, 46vw, 290px) !important;
  }

  #s2 .page-title,
  body.mission-page #s2 .page-title {
    width: calc(100% - 20px) !important;
    margin-left: 10px !important;
    margin-right: 10px !important;
  }
}

/* Global text color in content cards: match logo blue */
:root {
  --logo-blue: #1456b1;
}

#page-content .main-content,
#page-content .main-content h1,
#page-content .main-content h2,
#page-content .main-content h3,
#page-content .main-content h4,
#page-content .main-content h5,
#page-content .main-content h6,
#page-content .main-content p,
#page-content .main-content li,
#page-content .main-content strong,
#page-content .main-content span,
#page-content .main-content a {
  color: var(--logo-blue) !important;
}

/* Final mobile hero tile lock: same width as content card + no Safari glass artefacts */
@media (max-width: 767.98px) {
  body.onecol #s2 .container {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  body.onecol #s2 .page-title {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
    overflow: hidden !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: linear-gradient(145deg, rgba(10, 35, 78, 0.64), rgba(13, 53, 112, 0.5)) !important;
  }

  body.onecol #s2 .page-title::before,
  body.onecol #s2 .page-title::after {
    content: none !important;
    display: none !important;
  }

  body.onecol #s2::before {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: linear-gradient(112deg, rgba(9, 33, 74, 0.48), rgba(13, 54, 112, 0.32) 56%, rgba(8, 36, 84, 0.38)) !important;
  }

  body.onecol #s2::after {
    content: none !important;
    display: none !important;
  }
}
