@font-face {
  font-family: LegacySource;
  src: url('/html20261025/assets/fonts/source-sans-3-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
}
@font-face {
  font-family: LegacySlab;
  src: url('/html20261025/assets/fonts/zilla-slab-600.woff2') format('woff2');
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: LegacySlab;
  src: url('/html20261025/assets/fonts/zilla-slab-700.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}

:root {
  --legacy-green: #aeca42;
  --legacy-ink: #2a2b30;
  --legacy-paper: #eeeeee;
  --legacy-width: min(84%, 1170px);
  --legacy-gap: 0px;
  --legacy-block-min: 26rem;
  --legacy-split-min: 28rem;
  --legacy-content-padding-inline: clamp(1.5rem, 3vw, 2.5rem);
  --legacy-content-padding-block: clamp(1.75rem, 3.25vw, 2.75rem);
  --legacy-card-padding: clamp(1.5rem, 2vw, 1.75rem);
  --legacy-heading: LegacySlab, Georgia, serif;
  --legacy-body: LegacySource, Arial, sans-serif;
}

* { box-sizing: border-box; }
html, body { min-height: 100%; margin: 0; }
body {
  min-height: 100vh;
  min-height: 100dvh;
  color: #333;
  background: #fff;
  font-family: var(--legacy-body);
  font-size: 16px;
  line-height: 1.45;
}
.ccm-page {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
.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;
}

.legacy-header {
  position: sticky;
  z-index: 40;
  top: 0;
  min-height: 5.25rem;
  color: #fff;
  background: rgb(42 43 48 / 0.96);
  backdrop-filter: blur(12px);
}
.legacy-header__inner {
  width: var(--legacy-width);
  min-height: 5.25rem;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: clamp(1rem, 4vw, 4rem);
}
.legacy-brand { flex: 0 0 auto; }
.legacy-brand img { width: clamp(9.5rem, 16vw, 12rem); height: auto; }
.legacy-header nav {
  flex: 1;
  margin-left: auto;
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(0.5rem, 3vw, 2.5rem);
}
.legacy-header nav a {
  position: relative;
  min-width: 0;
  min-height: 100%;
  padding: 0.45rem 0.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: #fff;
  font-family: var(--legacy-heading);
  font-size: 1rem;
  font-weight: 300;
  text-decoration: none;
}
.legacy-header nav a:hover,
.legacy-header nav a:focus-visible { color: var(--legacy-green); }
.legacy-header nav a[aria-current='page'] {
  color: #fff;
  box-shadow: inset 0 -0.32rem var(--legacy-green);
}
.legacy-header nav a > span {
  display: block;
  line-height: 1.2;
}
.legacy-header nav img {
  flex: 0 0 2rem;
  width: 2rem;
  height: 2rem;
  object-fit: contain;
  transform-origin: center;
}
/* De bronbestanden hebben verschillende canvasmaten en transparante randen.
   Deze correcties geven ze optisch dezelfde hoogte als het Concept-icoon. */
.legacy-menu-icon--contact { transform: scale(0.88); }
.legacy-menu-icon--bedrijven { transform: scale(0.91); }
.legacy-menu-icon--agenda-activiteiten { transform: scale(1.41); }

.menu-toggle,
.site-menu { display: none; }

.legacy-main {
  flex: 1 0 auto;
  width: var(--legacy-width);
  margin: 0 auto;
  padding: 40px 0 50px;
}
.content-grid {
  width: calc(100% + 20px);
  margin-inline: -10px;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: stretch;
  gap: var(--legacy-gap);
}

/* Compatibility for pages that still expose the former all-in-one page
   block. Its view contains a second content grid; as a direct grid child it
   would otherwise occupy only one of the twelve columns. */
.content-grid > .content-grid {
  grid-column: 1 / -1;
}

/* In edit mode Concrete wraps every card. Flatten only its structural
   wrappers; the editable block itself remains the grid item and keeps all
   menus/click targets intact. */
.content-grid > .ccm-area,
.content-grid .ccm-area-block-list,
.content-grid .ccm-area-block-list > [data-container="block"] {
  display: contents;
}
.content-grid .ccm-area-drag-area { display: none; }
html.ccm-block-dragging .content-grid .ccm-area-drag-area {
  display: block;
  grid-column: 1 / -1;
  height: 24px !important;
}
.content-grid .ccm-block-edit {
  min-width: 0;
  height: 100%;
  grid-column: span 4;
}
.content-grid .ccm-block-edit:has(> .tile[data-span="2"]) { grid-column: span 8; }
.content-grid .ccm-block-edit:has(> .tile[data-span="3"]) { grid-column: span 12; }
.content-grid .ccm-block-edit > .tile { height: 100%; }
.content-grid .ccm-area-footer { grid-column: 1 / -1; }
.tile { min-width: 0; }
.tile[data-span='3'] { grid-column: span 12; }
.tile[data-span='2'] { grid-column: span 8; }
.tile[data-span='1'] { grid-column: span 4; }
.tile__surface {
  position: relative;
  min-height: var(--legacy-block-min);
  height: 100%;
  overflow: hidden;
  border: 10px solid #fff;
  background: var(--legacy-paper);
}
.tile__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--image-focus, center);
  transform: scale(var(--image-zoom, 1));
  transition: transform 300ms ease;
}
.tile__shade {
  position: absolute;
  inset: 32% 0 0;
  background: linear-gradient(transparent, rgb(0 0 0 / 0.78));
}
.tile__content {
  position: relative;
  z-index: 2;
  padding: var(--legacy-card-padding);
}
.tile:not(.tile--split):has(.tile__image) .tile__content {
  position: absolute;
  inset: auto 0 0;
  color: #fff;
}
.tile h2,
.tile h3,
.tile__meta span {
  margin: 0;
  font-family: var(--legacy-heading);
  font-weight: 700;
  line-height: 1.05;
  text-wrap: balance;
}
.tile h2,
.tile__meta span { font-size: clamp(1.5rem, 2.3vw, 2.15rem); }
.tile__meta {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.tile__meta img,
.tile__visual-heading img {
  width: 3.5rem;
  height: 3.5rem;
  object-fit: contain;
}
.tile__copy {
  font-family: var(--legacy-body);
  line-height: 1.5;
  text-wrap: wrap;
}
@supports (text-wrap: pretty) {
  .tile__copy { text-wrap: pretty; }
}
.tile__copy p { margin: 0 0 1em; }
.tile__copy p:last-child { margin-bottom: 0; }
.tile--intro .tile__copy > p:first-child,
.tile--intro .tile__copy > h2:first-child,
.tile--compact-intro .tile__copy > p {
  margin-bottom: 1.1em;
  font-family: var(--legacy-heading);
  font-size: 1.38rem;
  font-weight: 700;
  line-height: 1.32;
  letter-spacing: 0;
  text-wrap: balance;
}
.tile--intro .tile__copy > h2:first-child,
.tile--compact-intro .tile__copy > h2:first-child {
  margin: 0 0 1.1em;
  font-family: var(--legacy-heading);
  font-size: 1.38rem;
  font-weight: 700;
  line-height: 1.32;
  letter-spacing: 0;
  text-wrap: balance;
}
.tile--compact-intro .tile__copy > p:last-child { margin-bottom: 0; }
.tile--split .tile__surface {
  min-height: max(var(--legacy-split-min), var(--split-height, 28rem));
  display: grid;
  grid-template-columns: minmax(0, calc(100% - var(--text-share, 34%))) minmax(0, var(--text-share, 34%));
}
.tile--intro .tile__surface {
  --intro-text-width: clamp(44.1%, var(--text-share, 44.1%), 68%);
  min-height: max(var(--legacy-split-min), var(--split-height, 28rem));
  grid-template-columns: minmax(0, calc(100% - var(--intro-text-width))) minmax(0, var(--intro-text-width));
}
.tile--intro.tile--image-right .tile__surface {
  grid-template-columns: minmax(0, var(--intro-text-width)) minmax(0, calc(100% - var(--intro-text-width)));
}
@media (min-width: 901px) {
  .content-grid > .tile:first-child.tile--intro .tile__surface {
    height: 29rem;
    min-height: 29rem;
  }
  .content-grid .ccm-block-edit > .tile.tile--intro .tile__surface {
    height: 29rem;
    min-height: 29rem;
  }
}
.tile--split .tile__visual {
  position: relative;
  min-height: 100%;
  overflow: hidden;
}
.tile--split .tile__content {
  grid-column: 2;
  padding: var(--legacy-card-padding);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background: var(--legacy-paper);
}
.tile--split.tile--image-right .tile__visual { grid-column: 2; }
.tile--split.tile--image-right .tile__content { grid-column: 1; grid-row: 1; }
.tile--split.tile--image-right .tile__surface {
  grid-template-columns: minmax(0, var(--text-share, 34%)) minmax(0, calc(100% - var(--text-share, 34%)));
}
.tile--surface-anthracite .tile__content { color: #fff; background: var(--legacy-green); }
.tile--surface-beige .tile__content { color: #333; background: #fff; }
.tile--surface-green .tile__content { color: #fff; background: var(--legacy-green); }

/* Het eerste tekstvlak draagt hetzelfde subtiele beeldmerk als het nieuwe thema. */
.content-grid > .tile:first-child.tile--intro .tile__content {
  isolation: isolate;
  overflow: hidden;
}
.content-grid .ccm-block-edit > .tile.tile--intro .tile__content {
  isolation: isolate;
  overflow: hidden;
}
.content-grid > .tile:first-child.tile--intro .tile__content::before {
  content: "";
  position: absolute;
  z-index: 0;
  right: clamp(-4.5rem, -4vw, -2rem);
  bottom: -4rem;
  width: auto;
  height: clamp(14rem, 18vw, 17rem);
  aspect-ratio: 542 / 292;
  pointer-events: none;
  background: url("/html20261025/assets/images/bloem.webp") center / contain no-repeat;
  opacity: 0.1;
  transform: rotate(-6deg);
  transform-origin: 60% 70%;
}
.content-grid .ccm-block-edit > .tile.tile--intro .tile__content::before {
  content: "";
  position: absolute;
  z-index: 0;
  right: clamp(-4.5rem, -4vw, -2rem);
  bottom: -4rem;
  width: auto;
  height: clamp(14rem, 18vw, 17rem);
  aspect-ratio: 542 / 292;
  pointer-events: none;
  background: url("/html20261025/assets/images/bloem.webp") center / contain no-repeat;
  opacity: 0.1;
  transform: rotate(-6deg);
  transform-origin: 60% 70%;
}
.content-grid > .tile:first-child.tile--intro .tile__content > * {
  position: relative;
  z-index: 1;
}
.content-grid .ccm-block-edit > .tile.tile--intro .tile__content > * {
  position: relative;
  z-index: 1;
}

/* Concept: de oorspronkelijke groentoon en een duidelijke lead-hiërarchie. */
.legacy-page--concept .tile--intro .tile__content {
  background: var(--legacy-green);
}
.legacy-page--concept .tile--intro.tile--compact-intro .tile__copy > p {
  color: inherit;
  font-family: var(--legacy-heading);
  font-size: 1.38rem;
  font-weight: 700;
  line-height: 1.32;
  letter-spacing: 0;
  text-wrap: balance;
}
.legacy-page--concept .tile--feature .tile__surface {
  color: #fff;
  background: var(--legacy-green);
}
.legacy-page--concept .tile--feature .tile__copy > p:first-child,
.legacy-page--concept .tile--feature .tile__copy > h3:first-child {
  margin: 0 0 1em;
  font-family: var(--legacy-heading);
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.38;
  text-wrap: balance;
}
.tile__visual-heading {
  position: absolute;
  z-index: 2;
  inset: auto var(--legacy-card-padding) var(--legacy-card-padding);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: #fff;
  text-shadow: 0 2px 12px rgb(0 0 0 / 0.6);
}
.tile__visual-heading h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
.tile--intro .tile__visual-heading {
  inset: auto auto var(--legacy-card-padding) var(--legacy-card-padding);
  gap: 0;
  text-shadow: none;
}
.tile--intro .tile__visual-heading img { display: none; }
.tile--intro .tile__visual-heading h2 {
  padding: 0.1em 0.18em 0.14em;
  color: #fff;
  background: var(--legacy-ink);
  font-size: 3.4rem;
  line-height: 1;
}
.tile__link { position: absolute; z-index: 5; inset: 0; }
.tile__arrow { position: absolute; z-index: 3; right: var(--legacy-card-padding); bottom: var(--legacy-card-padding); width: 44px; }
.tile--rollover {
  --rollover-duration: 280ms;
  --rollover-ease: cubic-bezier(0.22, 1, 0.36, 1);
}
.tile--rollover .tile__image {
  transition: transform var(--rollover-duration) var(--rollover-ease);
}
.tile--rollover:hover .tile__image,
.tile--rollover:focus-within .tile__image { transform: scale(calc(var(--image-zoom, 1) * 1.04)); }

/* Behoud de gekozen kaartvolgorde, maar laat de in Concrete ingestelde
   1/3-, 2/3- of volledige breedte altijd leidend zijn. */
.legacy-page--bedrijven .content-grid { grid-auto-flow: row; }
.legacy-page--bedrijven .tile:nth-child(1) { order: 1; }
.legacy-page--bedrijven .tile:nth-child(2) { order: 2; }
.legacy-page--bedrijven .tile:nth-child(3) { order: 3; }
.legacy-page--bedrijven .tile:nth-child(4) { order: 4; }
.legacy-page--bedrijven .tile:nth-child(5) { order: 5; }
.legacy-page--bedrijven .tile:nth-child(7) { order: 6; }
.legacy-page--bedrijven .tile:nth-child(8) { order: 7; }
.legacy-page--bedrijven .tile:nth-child(6) { order: 8; }
.legacy-page--bedrijven .tile:nth-child(9) { order: 9; }
.legacy-page--bedrijven .tile:nth-child(11) { order: 10; }
.legacy-page--bedrijven .tile:nth-child(10) { order: 11; }

/* Concrete zet in bewerkmodus om ieder blok een wrapper. Alleen de volgorde
   wordt hier gespiegeld; de generieke :has(data-span)-regels bepalen de breedte. */
.legacy-page--bedrijven .ccm-area-block-list > [data-container="block"]:nth-child(2) > .ccm-block-edit { order: 1; }
.legacy-page--bedrijven .ccm-area-block-list > [data-container="block"]:nth-child(4) > .ccm-block-edit { order: 2; }
.legacy-page--bedrijven .ccm-area-block-list > [data-container="block"]:nth-child(6) > .ccm-block-edit { order: 3; }
.legacy-page--bedrijven .ccm-area-block-list > [data-container="block"]:nth-child(8) > .ccm-block-edit { order: 4; }
.legacy-page--bedrijven .ccm-area-block-list > [data-container="block"]:nth-child(10) > .ccm-block-edit { order: 5; }
.legacy-page--bedrijven .ccm-area-block-list > [data-container="block"]:nth-child(14) > .ccm-block-edit { order: 6; }
.legacy-page--bedrijven .ccm-area-block-list > [data-container="block"]:nth-child(16) > .ccm-block-edit { order: 7; }
.legacy-page--bedrijven .ccm-area-block-list > [data-container="block"]:nth-child(12) > .ccm-block-edit { order: 8; }
.legacy-page--bedrijven .ccm-area-block-list > [data-container="block"]:nth-child(18) > .ccm-block-edit { order: 9; }
.legacy-page--bedrijven .ccm-area-block-list > [data-container="block"]:nth-child(22) > .ccm-block-edit { order: 10; }
.legacy-page--bedrijven .ccm-area-block-list > [data-container="block"]:nth-child(20) > .ccm-block-edit { order: 11; }

.legacy-page--bedrijven .tile--intro .tile__surface {
  min-height: var(--legacy-split-min);
}
.legacy-page--bedrijven .tile--intro .tile__content {
  color: #fff;
  background: var(--legacy-green);
  font-size: 1rem;
  line-height: 1.35;
}
.legacy-page--bedrijven .tile--intro .tile__copy p { margin: 0 0 0.25em; }
.legacy-page--bedrijven .tile--intro .tile__copy > p:first-child { margin-bottom: 0.55em; }
.legacy-page--bedrijven .tile--intro .tile__visual-heading {
  inset: auto auto var(--legacy-card-padding) var(--legacy-card-padding);
  gap: 0;
  text-shadow: none;
}
.legacy-page--bedrijven .tile--intro .tile__visual-heading img { display: none; }
.legacy-page--bedrijven .tile--intro .tile__visual-heading h2 {
  padding: 0.1em 0.18em 0.14em;
  color: #fff;
  background: var(--legacy-ink);
  font-size: 3.4rem;
  line-height: 1;
}
.legacy-page--bedrijven .tile--rollover .tile__surface { min-height: 0; aspect-ratio: 1 / 1; }
.legacy-page--bedrijven .tile--rollover[data-span="2"] .tile__surface { aspect-ratio: 2 / 1; }
.legacy-page--bedrijven .tile--rollover[data-span="3"] .tile__surface { aspect-ratio: 3 / 1; }
.legacy-page--bedrijven .tile--split:not(.tile--intro) .tile__surface { display: block; }
.legacy-page--bedrijven .tile--split:not(.tile--intro) .tile__visual {
  position: absolute;
  inset: 0;
  min-height: 0;
}
.legacy-page--bedrijven .tile--rollover .tile__content {
  position: absolute;
  z-index: 3;
  inset: 0 !important;
  padding: var(--legacy-card-padding);
  display: block;
  color: #fff;
  background: linear-gradient(180deg, rgb(0 0 0 / 0.46), transparent 42%, rgb(0 0 0 / 0.24));
}
.legacy-page--bedrijven .tile--rollover .tile__content {
  inset: auto 0 0 !important;
  background: transparent;
}
.legacy-page--bedrijven .tile--rollover .tile__shade { display: none; }
.legacy-page--bedrijven .tile--rollover .tile__surface::before,
.legacy-page--bedrijven .tile--rollover .tile__surface::after {
  content: '';
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
}
.legacy-page--bedrijven .tile--rollover .tile__surface::before {
  background: radial-gradient(
    ellipse 88% 70% at 0% 100%,
    rgb(19 20 22 / 0.78) 0%,
    rgb(19 20 22 / 0.5) 36%,
    rgb(19 20 22 / 0.18) 61%,
    transparent 80%
  );
  opacity: 0.9;
}
.legacy-page--bedrijven .tile--rollover .tile__surface::after {
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgb(19 20 22 / 0.14) var(--hover-shade-start, 36%),
    rgb(19 20 22 / 0.54) var(--hover-shade-mid, 68%),
    rgb(19 20 22 / 0.76) 100%
  );
  opacity: 0;
  transition: opacity var(--rollover-duration) var(--rollover-ease);
}
.legacy-page--bedrijven .tile--rollover:hover .tile__surface::after,
.legacy-page--bedrijven .tile--rollover:focus-within .tile__surface::after { opacity: 1; }
.legacy-page--bedrijven .tile--rollover .tile__meta {
  position: static;
  display: grid;
  grid-template-columns: 2.68rem minmax(0, 1fr);
  align-items: center;
  gap: 0.25rem;
  padding-right: 3.5rem;
}
.legacy-page--bedrijven .tile--rollover .tile__meta span {
  min-width: 0;
  color: #fff;
  font-size: 1.35rem;
  text-transform: uppercase;
  text-shadow: none;
}
.legacy-page--bedrijven .tile--rollover .tile__meta img {
  width: 3.5rem;
  height: 3.5rem;
  max-width: none;
  transform: translateX(-0.4rem);
}
.legacy-page--bedrijven .tile--rollover > .tile__surface > .tile__arrow,
.legacy-page--bedrijven .tile--rollover .tile__visual > .tile__arrow {
  right: var(--legacy-card-padding);
  bottom: calc(var(--legacy-card-padding) + 6px);
  width: 44px;
}
.legacy-page--bedrijven .tile--rollover .tile__copy {
  position: static;
  z-index: 2;
  max-height: 0;
  margin: 0;
  padding-right: 3.5rem;
  overflow: hidden;
  line-height: 1.42;
  text-wrap: balance;
  opacity: 0;
  transform: translateY(8px);
  transition:
    max-height var(--rollover-duration) var(--rollover-ease),
    margin-top var(--rollover-duration) var(--rollover-ease),
    opacity var(--rollover-duration) var(--rollover-ease),
    transform var(--rollover-duration) var(--rollover-ease);
}
.legacy-page--bedrijven .tile--rollover[data-span="1"] .tile__copy {
  padding-right: 2.75rem;
  font-size: clamp(0.9rem, 1.05vw, 0.96rem);
  letter-spacing: -0.005em;
}
.legacy-page--bedrijven .tile--rollover:hover .tile__content,
.legacy-page--bedrijven .tile--rollover:focus-within .tile__content {
  background: transparent;
}
.legacy-page--bedrijven .tile--rollover:hover .tile__copy,
.legacy-page--bedrijven .tile--rollover:focus-within .tile__copy {
  max-height: 14rem;
  margin-top: 0.7rem;
  opacity: 1;
  transform: none;
}
.legacy-page--bedrijven .tile--rollover .tile__copy {
  text-shadow: none;
}
.legacy-page--bedrijven .tile--rollover:hover .tile__meta,
.legacy-page--bedrijven .tile--rollover:focus-within .tile__meta { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .tile--rollover .tile__image,
  .legacy-page--bedrijven .tile--rollover .tile__surface::after,
  .legacy-page--bedrijven .tile--rollover .tile__copy { transition: none; }
}

/* Agenda gebruikt dezelfde eerste-rij-split als de overige pagina's. */
.legacy-page--agenda-activiteiten .tile--intro .tile__content {
  font-size: 1rem;
  line-height: 1.45;
}
.legacy-page--agenda-activiteiten .tile--events:nth-child(2) { grid-column: 1 / -1; }
.legacy-page--agenda-activiteiten .tile--events:nth-child(3) { grid-column: 1 / -1; }
.legacy-page--agenda-activiteiten .tile--events .tile__surface {
  min-height: var(--legacy-split-min);
  background: #fff;
}
.legacy-page--agenda-activiteiten .tile--events .tile__surface > .tile__image,
.legacy-page--agenda-activiteiten .tile--events .tile__surface > .tile__shade { display: none; }
.legacy-page--agenda-activiteiten .tile--events .tile__content {
  position: relative;
  inset: auto;
  height: 100%;
  padding: 0;
  color: #333 !important;
}
.legacy-page--agenda-activiteiten .event-split {
  min-height: calc(var(--legacy-split-min) - 20px);
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(220px, 0.8fr);
  background: #fff;
}
.legacy-page--agenda-activiteiten .event-list { padding: 0; }
.legacy-page--agenda-activiteiten .event-split__visual {
  position: relative;
  min-height: 100%;
  overflow: hidden;
}
.legacy-page--agenda-activiteiten .event-split__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.legacy-page--agenda-activiteiten .event-row {
  min-height: 84px;
  align-items: center;
  padding: 12px 18px;
  border: 0;
}
.legacy-page--agenda-activiteiten .event-row:nth-child(odd) {
  color: #fff;
  background: var(--legacy-green);
}
.legacy-page--agenda-activiteiten .event-row:nth-child(even) {
  color: var(--legacy-ink);
  background: #fff;
}
.legacy-page--agenda-activiteiten .event-row__date {
  font-family: var(--legacy-heading);
  font-weight: 700;
  line-height: 1;
  text-align: center;
}
.legacy-page--agenda-activiteiten .event-row:nth-child(odd) .event-row__date { color: #fff; }
.legacy-page--agenda-activiteiten .event-row:nth-child(even) .event-row__date { color: var(--legacy-green); }
.legacy-page--agenda-activiteiten .event-row__date span { font-size: 1.55rem; }
.legacy-page--agenda-activiteiten .event-row__date small { margin-top: 0.15rem; font-size: 0.72rem; }
.legacy-page--agenda-activiteiten .event-row__content h3 { font-size: 1.05rem; }
.legacy-page--agenda-activiteiten .event-row__content p { margin: 0.25rem 0 0; font-size: 0.82rem; }
.legacy-page--agenda-activiteiten .event-split--empty .event-list {
  min-height: calc(var(--legacy-split-min) - 20px);
  display: flex;
  background: var(--legacy-green);
}
.legacy-page--agenda-activiteiten .event-empty {
  width: min(30rem, 100%);
  margin: auto 0;
  padding: var(--legacy-card-padding);
  color: #fff;
  text-align: left;
}
.legacy-page--agenda-activiteiten .event-empty h3 {
  font-size: 2rem;
  text-transform: none;
}

.event-row {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgb(42 43 48 / 0.18);
}
.event-row__date span,
.event-row__date small { display: block; }
.contact-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem; }
.contact-row > span,
.contact-row a {
  white-space: nowrap;
}
.contact-row a {
  font-variant-numeric: tabular-nums;
  font-weight: 400;
}
.legacy-page--contact .contact-intro {
  margin: 0 0 1rem;
  font-family: var(--legacy-heading);
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.35;
}
.legacy-page--contact .contact-details > h3,
.legacy-page--contact .contact-details address h3 {
  margin: 0 0 0.3rem;
  font-size: 1.08rem;
  line-height: 1.15;
}
.legacy-page--contact .contact-list { line-height: 1.4; }
.legacy-page--contact .contact-details address {
  margin-top: 0.8rem;
  font-style: normal;
  line-height: 1.4;
}
.legacy-page--contact .contact-details address span { display: block; }

.legacy-footer {
  color: #fff;
  background: var(--legacy-ink);
  border-top: 0;
}
.legacy-footer__inner {
  width: var(--legacy-width);
  min-height: 80px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 1.5rem;
  font-size: 0.9rem;
}
.legacy-footer__icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}
.legacy-footer__icons img { width: auto; height: 30px; }
.legacy-footer__credits {
  display: flex;
  justify-self: end;
  gap: 0.85rem;
  opacity: 0.55;
}
.legacy-footer a { text-decoration: none; }
.legacy-footer a:hover,
.legacy-footer a:focus-visible { color: var(--legacy-green); }

@media (max-width: 900px) {
  .legacy-header__inner {
    width: 84%;
    min-height: 5.25rem;
  }
  .legacy-header .legacy-nav { display: none; }
  .legacy-brand img { width: clamp(9.5rem, 42vw, 11rem); }
  .menu-toggle {
    margin-left: auto;
    padding: 0.7rem 0;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: #fff;
    background: transparent;
    border: 0;
    cursor: pointer;
    font: inherit;
    font-family: var(--legacy-heading);
    font-size: 1.05rem;
  }
  .menu-toggle__lines {
    width: 2.25rem;
    display: grid;
    gap: 0.38rem;
  }
  .menu-toggle__lines i {
    width: 100%;
    height: 2px;
    display: block;
    background: var(--legacy-green);
    transition: transform 180ms ease, opacity 180ms ease;
  }
  .menu-open .menu-toggle__lines i:first-child { transform: translateY(0.5rem) rotate(45deg); }
  .menu-open .menu-toggle__lines i:nth-child(2) { opacity: 0; }
  .menu-open .menu-toggle__lines i:last-child { transform: translateY(-0.5rem) rotate(-45deg); }
  .site-menu {
    position: fixed;
    z-index: 35;
    inset: 0;
    padding-top: 5.25rem;
    display: block;
    color: var(--legacy-ink);
    background: #fff;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease, visibility 180ms ease;
  }
  .menu-open { overflow: hidden; }
  .menu-open .site-menu {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }
  .site-menu__inner {
    width: 84%;
    height: calc(100dvh - 5.25rem);
    margin-inline: auto;
    padding: clamp(1.25rem, 4vh, 2.5rem) 0 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
  }
  .menu-nav {
    flex: 1;
    min-height: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }
  .menu-link {
    position: relative;
    min-width: 0;
    min-height: 0;
    padding: 1.5rem;
    display: flex;
    align-items: flex-end;
    color: #fff;
    background: var(--legacy-ink);
    font-family: var(--legacy-heading);
    font-size: clamp(1.15rem, 3.7vw, 1.35rem);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: 0.012em;
    text-decoration: none;
    overflow: hidden;
  }
  .menu-link:nth-child(1) { grid-column: 1; grid-row: 1 / span 2; }
  .menu-link:nth-child(2) { grid-column: 2; grid-row: 1; }
  .menu-link:nth-child(3) { grid-column: 1; grid-row: 3; }
  .menu-link:nth-child(4) { grid-column: 2; grid-row: 2 / span 2; }
  .menu-link__image,
  .menu-link__shade {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }
  .menu-link__image {
    object-fit: cover;
    transition: transform 360ms cubic-bezier(0.2, 0.7, 0.2, 1);
  }
  .menu-link__shade {
    background: linear-gradient(180deg, transparent 35%, rgb(19 20 22 / 0.82));
  }
  .menu-link__label {
    position: relative;
    z-index: 1;
    width: 100%;
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.1rem;
  }
  .menu-link__label > span { text-wrap: balance; }
  .menu-link__icon {
    flex: 0 0 2.1rem;
    width: 2.1rem;
    height: 2.1rem;
    object-fit: contain;
  }
  .menu-link:hover .menu-link__image,
  .menu-link:focus-visible .menu-link__image { transform: scale(1.045); }
  .menu-link[aria-current='page'] { box-shadow: inset 0 0 0 3px var(--legacy-green); }
  .legacy-menu-footer {
    flex: 0 0 4.75rem;
    width: 100vw;
    min-height: 4.75rem;
    margin: 0 calc(50% - 50vw);
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--legacy-ink);
  }
  .legacy-menu-footer__icons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
  }
  .legacy-menu-footer__icons img {
    width: auto;
    height: 28px;
  }
}

@media (max-width: 520px) {
  .contact-row { grid-template-columns: minmax(0, 1fr); gap: 0.1rem; }
  .contact-row > span { white-space: normal; }
}

@media (max-width: 900px) {
  .menu-toggle__label { display: none; }
  .menu-link { padding: clamp(0.85rem, 4vw, 1.25rem); }
  .legacy-main { padding: 30px 0; }
  .content-grid { grid-template-columns: minmax(0, 1fr); }
  .content-grid .ccm-block-edit { grid-column: 1 / -1 !important; }
  .tile,
  .tile[data-span] { grid-column: 1; }
  .legacy-page--bedrijven .content-grid > .tile { grid-column: 1 / -1; }
  .tile--split .tile__surface,
  .tile--split.tile--image-right .tile__surface {
    min-height: 0;
    grid-template-columns: minmax(0, 1fr);
  }
  .legacy-page--bedrijven .tile--intro .tile__surface {
    min-height: 0;
    grid-template-columns: minmax(0, 1fr);
  }
  .tile:not(.tile--split):not(.tile--media):not(.tile--rollover) .tile__surface { min-height: 0; }
  .tile--split .tile__visual,
  .tile--split .tile__content,
  .tile--split.tile--image-right .tile__visual,
  .tile--split.tile--image-right .tile__content { grid-column: 1; }
  .tile--split .tile__visual,
  .tile--split.tile--image-right .tile__visual { grid-row: 1; min-height: 19rem; }
  .tile--split .tile__content,
  .tile--split.tile--image-right .tile__content { grid-row: 2; }
  .legacy-page--bedrijven .tile--rollover .tile__surface,
  .legacy-page--bedrijven .tile--rollover:nth-child(5) .tile__surface,
  .legacy-page--bedrijven .tile--rollover:nth-child(6) .tile__surface,
  .legacy-page--bedrijven .tile--rollover:nth-child(9) .tile__surface {
    min-height: clamp(22rem, 68vw, 30rem);
    aspect-ratio: auto;
  }
  .legacy-page--agenda-activiteiten .tile--intro .tile__visual,
  .legacy-page--agenda-activiteiten .tile--intro .tile__content,
  .legacy-page--agenda-activiteiten .tile--events:nth-child(2),
  .legacy-page--agenda-activiteiten .tile--events:nth-child(3) { grid-column: 1; }
  .legacy-page--agenda-activiteiten .content-grid > .tile--events {
    display: block;
    grid-column: 1 / -1;
    min-width: 0;
  }
  .legacy-page--agenda-activiteiten .tile--events .tile__surface,
  .legacy-page--agenda-activiteiten .tile--events .tile__content {
    position: relative;
    inset: auto;
    display: block;
    width: 100%;
  }
  .legacy-page--agenda-activiteiten .content-grid .tile.tile--events .tile__surface {
    min-height: 0;
    height: auto;
  }
  .legacy-page--agenda-activiteiten .content-grid .tile.tile--events .tile__content {
    position: relative !important;
    inset: auto !important;
    height: auto;
    padding: 0;
  }
  .legacy-page--agenda-activiteiten .tile--events .event-split {
    min-height: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }
  .legacy-page--agenda-activiteiten .tile--events .event-split--empty .event-list,
  .legacy-page--agenda-activiteiten .tile--events .event-split--empty .event-empty {
    position: relative;
    display: flex;
    min-height: 18rem;
  }
  .legacy-page--agenda-activiteiten .tile--events .event-split--empty .event-empty {
    flex-direction: column;
    justify-content: center;
  }
  .legacy-page--agenda-activiteiten .tile--intro .tile__visual { min-height: 19rem; }
  .legacy-page--agenda-activiteiten .tile--intro .tile__content { min-height: 0; }
  .legacy-page--agenda-activiteiten .event-split { grid-template-columns: minmax(0, 1fr); }
  .legacy-page--agenda-activiteiten .event-split__visual { min-height: 16rem; }
  .legacy-footer__inner {
    padding: 1.5rem 0;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 1rem;
  }
  .legacy-footer__inner > span:first-child { display: none; }
  .legacy-footer__icons { justify-content: start; }
  .legacy-footer__credits { justify-self: end; }
}

/* De oude image-cardregel positioneert content absoluut. Agenda-items moeten
   mobiel juist volledig in de normale documentstroom blijven. */
@media (max-width: 900px) {
  .legacy-page--agenda-activiteiten .content-grid { align-items: start; }
  .legacy-page--agenda-activiteiten .content-grid > .tile.tile--events {
    display: block !important;
    height: auto !important;
    min-height: 0 !important;
  }
  .legacy-page--agenda-activiteiten .tile.tile--events > .tile__surface {
    position: relative !important;
    display: block !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .legacy-page--agenda-activiteiten .tile.tile--events > .tile__surface > .tile__content {
    position: static !important;
    inset: auto !important;
    display: block !important;
    width: auto !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 0 !important;
  }
  .legacy-page--agenda-activiteiten .tile--events .event-split,
  .legacy-page--agenda-activiteiten .tile--events .event-list {
    position: static !important;
    display: block !important;
    width: auto !important;
    height: auto !important;
    min-height: 0 !important;
  }
  .legacy-page--agenda-activiteiten .tile--events .event-empty {
    position: static !important;
    display: block !important;
    width: 100% !important;
    min-height: 18rem !important;
    margin: 0 !important;
    padding: 2rem !important;
    color: #fff !important;
    background: var(--legacy-green) !important;
  }
  .legacy-page--agenda-activiteiten .tile--events .event-split__visual {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    height: 16rem !important;
    min-height: 16rem !important;
  }
}
