/* Direct guided routes from the homepage to the matching Aanbod accordion. */
.switch-support--single-route .switch-support__card {
  cursor: pointer;
}

.switch-support--single-route .switch-support__card::after {
  display: none;
}

.switch-support--single-route .switch-support__card--location {
  min-height: 270px;
}

.switch-support--single-route .switch-support__card--warm {
  border-color: rgba(34, 34, 33, 0.035);
  background: #ead9cc;
}

.switch-support--single-route .switch-support__card--green {
  border-color: rgba(34, 34, 33, 0.035);
  background: #bdd3c0;
}

.switch-support--single-route .switch-support__card--warm:hover,
.switch-support--single-route .switch-support__card--green:hover {
  box-shadow: 0 16px 36px rgba(34, 34, 33, 0.065);
}

.switch-support--single-route .switch-support__route {
  display: flex;
  justify-content: flex-end;
  margin-top: clamp(24px, 3vw, 42px);
}

.switch-support--single-route .switch-support__cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-width: min(100%, 250px);
  padding: 17px 22px;
  border: 1px solid #101820;
  border-radius: 999px;
  color: #101820;
  font-weight: 700;
  text-decoration: none;
  transition: color .25s ease, background-color .25s ease, transform .25s ease;
}

.switch-support--single-route .switch-support__cta:hover,
.switch-support--single-route .switch-support__cta:focus-visible {
  color: #fff;
  background: #101820;
  transform: translateY(-2px);
}

/* Accessible offer accordion, visually aligned with the existing offer rows. */
.switch-aanbod-list {
  display: grid;
  gap: 14px;
  margin-top: clamp(34px, 5vw, 68px);
}

.switch-aanbod-item {
  --item-bg: #f5c842;
  --item-fg: #101820;
  overflow: hidden;
  border-radius: 18px;
  background: var(--item-bg);
  color: var(--item-fg);
}

.switch-aanbod-item--blue {
  --item-bg: #9db9d8;
}

.switch-aanbod-item--warm {
  --item-bg: #ead9cc;
}

.switch-aanbod-item--green {
  --item-bg: #bdd3c0;
}

.switch-aanbod-item--dark {
  --item-bg: #101820;
  --item-fg: #fff;
}

.switch-aanbod-item--dark .switch-aanbod-item__button,
.switch-aanbod-item--dark .switch-aanbod-item__age,
.switch-aanbod-item--dark .switch-aanbod-item__title,
.switch-aanbod-item--dark .switch-aanbod-item__summary,
.switch-aanbod-item--dark .switch-aanbod-item__icon,
.switch-aanbod-item--dark .switch-aanbod-item__panel,
.switch-aanbod-item--dark .switch-aanbod-item__body,
.switch-aanbod-item--dark .switch-aanbod-item__link {
  color: #fff !important;
}

.switch-aanbod-item__heading {
  margin: 0;
}

.switch-aanbod-item__button {
  display: grid;
  grid-template-columns: 92px minmax(210px, .9fr) minmax(260px, 1.2fr) 48px;
  align-items: center;
  width: 100%;
  min-height: 116px;
  padding: 24px clamp(24px, 4vw, 56px);
  border: 0;
  color: inherit;
  background: transparent;
  text-align: left;
  font: inherit;
  cursor: pointer;
}

.switch-aanbod-item__button:hover .switch-aanbod-item__icon,
.switch-aanbod-item__button:focus-visible .switch-aanbod-item__icon {
  transform: scale(1.08);
}

.switch-aanbod-item__button:focus-visible {
  outline: 3px solid #fff;
  outline-offset: -6px;
}

.switch-aanbod-item--yellow .switch-aanbod-item__button:focus-visible,
.switch-aanbod-item--blue .switch-aanbod-item__button:focus-visible {
  outline-color: #101820;
}

.switch-aanbod-item__age {
  font-size: 13px;
  font-weight: 750;
  letter-spacing: .08em;
}

.switch-aanbod-item__title {
  padding-right: 24px;
  font-size: clamp(23px, 2.25vw, 34px);
  font-weight: 700;
  line-height: 1.05;
}

.switch-aanbod-item__summary {
  max-width: 510px;
  font-size: 16px;
  line-height: 1.5;
  opacity: .82;
}

.switch-aanbod-item__icon {
  position: relative;
  width: 40px;
  height: 40px;
  margin-left: auto;
  border: 1px solid currentColor;
  border-radius: 50%;
  transition: transform .25s ease;
}

.switch-aanbod-item__icon span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 15px;
  height: 1.5px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform .25s ease;
}

.switch-aanbod-item__icon span:last-child {
  transform: translate(-50%, -50%) rotate(90deg);
}

.switch-aanbod-item.is-open .switch-aanbod-item__icon span:last-child {
  transform: translate(-50%, -50%) rotate(0deg);
}

.switch-aanbod-item__panel {
  border-top: 1px solid color-mix(in srgb, currentColor 24%, transparent);
}

.switch-aanbod-item__body {
  padding: clamp(28px, 4vw, 50px) clamp(24px, 4vw, 56px) clamp(34px, 5vw, 58px) 148px;
}

.switch-aanbod-item__columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 5vw, 80px);
  max-width: 900px;
}

.switch-aanbod-item__body h4 {
  margin: 0 0 10px;
  color: inherit;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.switch-aanbod-item__body p {
  margin: 0;
  max-width: 58ch;
  color: inherit;
  font-size: 16px;
  line-height: 1.65;
  opacity: .88;
}

.switch-aanbod-item__note {
  margin-top: 26px !important;
  padding-top: 22px;
  border-top: 1px solid color-mix(in srgb, currentColor 20%, transparent);
}

.switch-aanbod-item__link {
  display: inline-flex;
  gap: 16px;
  align-items: center;
  margin-top: 28px;
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
  color: inherit;
  font-weight: 750;
  text-decoration: none;
}

.switch-aanbod-item__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 34px;
  margin-top: 28px;
}

.switch-aanbod-item__actions .switch-aanbod-item__link {
  margin-top: 0;
}

.switch-aanbod-item__link--secondary {
  border-bottom-color: color-mix(in srgb, currentColor 55%, transparent);
  font-weight: 650;
}

.switch-aanbod-item__link--secondary span {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .07em;
}

@media (max-width: 900px) {
  .switch-aanbod-item__button {
    grid-template-columns: 72px minmax(0, 1fr) 44px;
  }

  .switch-aanbod-item__summary {
    grid-column: 2 / 3;
    margin-top: 8px;
  }

  .switch-aanbod-item__icon {
    grid-column: 3;
    grid-row: 1 / 3;
  }

  .switch-aanbod-item__body {
    padding-left: 96px;
  }
}

@media (max-width: 600px) {
  .switch-support--single-route .switch-support__route {
    justify-content: stretch;
  }

  .switch-support--single-route .switch-support__cta {
    width: 100%;
  }

  .switch-aanbod-list {
    gap: 10px;
  }

  .switch-aanbod-item__button {
    grid-template-columns: minmax(0, 1fr) 42px;
    min-height: 0;
    padding: 24px 20px;
  }

  .switch-aanbod-item {
    border-radius: 14px;
  }

  .switch-aanbod-item__age {
    grid-column: 1;
    margin-bottom: 13px;
  }

  .switch-aanbod-item__title {
    grid-column: 1;
    padding-right: 12px;
  }

  .switch-aanbod-item__summary {
    grid-column: 1 / -1;
    margin-top: 16px;
    padding-right: 4px;
  }

  .switch-aanbod-item__icon {
    grid-column: 2;
    grid-row: 1 / 3;
    width: 38px;
    height: 38px;
  }

  .switch-aanbod-item__body {
    padding: 27px 20px 34px;
  }

  .switch-aanbod-item__columns {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .switch-aanbod-item__actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }
}

/* Activiteiten — eerste beeldproef: Techniek. */
.switch-offer-activities__item--technique {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  cursor: zoom-in;
  outline: none;
}

.switch-offer-activities__item--technique > span:first-child {
  position: relative;
  z-index: 3;
  transition: color .5s ease, transform .5s cubic-bezier(.22, 1, .36, 1);
}

.switch-activity-preview {
  position: absolute;
  z-index: 1;
  right: 18px;
  bottom: 18px;
  width: 62px;
  height: 62px;
  margin: 0;
  overflow: hidden;
  border-radius: 58% 42% 54% 46% / 44% 58% 42% 56%;
  background: #222221;
  box-shadow: 0 10px 28px rgba(34, 34, 33, .16);
  transition: width .58s cubic-bezier(.22, 1, .36, 1),
              height .58s cubic-bezier(.22, 1, .36, 1),
              right .58s cubic-bezier(.22, 1, .36, 1),
              bottom .58s cubic-bezier(.22, 1, .36, 1),
              border-radius .58s cubic-bezier(.22, 1, .36, 1),
              box-shadow .58s ease;
}

.switch-activity-preview__image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 50% 48%;
  transform: scale(1.16);
  transition: transform .7s cubic-bezier(.22, 1, .36, 1);
}

.switch-activity-preview__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(16, 24, 32, .62), rgba(16, 24, 32, .08) 70%);
  opacity: 0;
  transition: opacity .45s ease;
}

.switch-offer-activities__item--technique:hover .switch-activity-preview,
.switch-offer-activities__item--technique:focus-visible .switch-activity-preview {
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  border-radius: 30px 52px 30px 46px;
  box-shadow: none;
}

.switch-offer-activities__item--technique:hover .switch-activity-preview__image,
.switch-offer-activities__item--technique:focus-visible .switch-activity-preview__image {
  transform: scale(1.02);
}

.switch-offer-activities__item--technique:hover .switch-activity-preview__shade,
.switch-offer-activities__item--technique:focus-visible .switch-activity-preview__shade {
  opacity: 1;
}

.switch-offer-activities__item--technique:hover > span:first-child,
.switch-offer-activities__item--technique:focus-visible > span:first-child {
  color: #fff;
  transform: translateY(-2px);
}

.switch-offer-activities__item--technique:focus-visible {
  box-shadow: inset 0 0 0 3px #101820;
}

@media (hover: none), (max-width: 600px) {
  .switch-offer-activities .switch-offer-activities__item--technique {
    min-height: 178px;
    cursor: default;
  }

  .switch-offer-activities__item--technique .switch-activity-preview {
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    box-shadow: none;
  }

  .switch-offer-activities__item--technique .switch-activity-preview__image {
    transform: scale(1.03);
  }

  .switch-offer-activities__item--technique .switch-activity-preview__shade {
    opacity: 1;
  }

  .switch-offer-activities__item--technique > span:first-child {
    color: #fff;
  }
}

@media (prefers-reduced-motion: reduce) {
  .switch-offer-activities__item--technique *,
  .switch-offer-activities__item--technique {
    transition: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .switch-support--single-route .switch-support__cta,
  .switch-aanbod-item__icon,
  .switch-aanbod-item__icon span {
    transition: none;
  }
}

/* Activiteitenverkenner — één rustige, centrale beeldplek. */
.switch-offer-activities .switch-offer-activities__field {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-areas:
    "tech tech tech stage stage stage stage stage stage creative creative creative"
    "music music music stage stage stage stage stage stage cooking cooking cooking"
    "ict ict movement movement movement outside outside together together together ideas ideas";
  grid-auto-rows: 150px;
}

.switch-offer-activities__item--technique { grid-area: tech !important; }
.switch-offer-activities__item--creative { grid-area: creative !important; }
.switch-offer-activities__item--music { grid-area: music !important; }
.switch-offer-activities__item--cooking { grid-area: cooking !important; }
.switch-offer-activities__item--ict { grid-area: ict !important; }
.switch-offer-activities__item--movement { grid-area: movement !important; }
.switch-offer-activities__item--outside { grid-area: outside !important; }
.switch-offer-activities__item--together { grid-area: together !important; }
.switch-offer-activities__item--ideas { grid-area: ideas !important; }

.switch-offer-activities .switch-offer-activities__item--technique {
  min-height: 0;
  overflow: hidden;
  cursor: default;
  box-shadow: inset 0 0 0 2px rgba(16, 24, 32, .16);
}

.switch-offer-activities__item--technique:hover > span:first-child,
.switch-offer-activities__item--technique:focus-visible > span:first-child {
  color: #101820;
  transform: none;
}

.switch-offer-activities__item--technique::after {
  content: "IN BEELD";
  position: absolute;
  top: 20px;
  right: 22px;
  color: rgba(16, 24, 32, .58);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .14em;
}

.switch-activity-stage {
  grid-area: stage !important;
  min-width: 0;
  min-height: 322px;
  overflow: hidden;
  border-radius: 30px 58px 30px 52px;
  background: #222221;
  list-style: none;
}

.switch-activity-stage figure,
.switch-activity-stage__media {
  position: relative;
  width: 100%;
  height: 100%;
  margin: 0;
}

.switch-activity-stage__image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 50% 48%;
  transform: translateY(10px) scale(1.045);
  transition: transform .72s cubic-bezier(.22, 1, .36, 1), filter .5s ease;
}

.switch-activity-stage__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 24, 32, .02) 35%, rgba(16, 24, 32, .72) 100%);
}

.switch-activity-stage figcaption {
  position: absolute;
  z-index: 2;
  right: 30px;
  bottom: 28px;
  left: 30px;
  display: grid;
  gap: 8px;
  color: #fff;
}

.switch-activity-stage figcaption span {
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .16em;
}

.switch-activity-stage figcaption strong {
  max-width: 430px;
  font-size: clamp(21px, 2vw, 30px);
  line-height: 1.15;
}

.switch-offer-activities__field:has(.switch-offer-activities__item--technique:hover) .switch-activity-stage__image,
.switch-offer-activities__field:has(.switch-offer-activities__item--technique:focus-visible) .switch-activity-stage__image {
  filter: saturate(1.04) contrast(1.02);
  transform: translateY(0) scale(1.01);
}

.switch-offer-activities__item--technique:focus-visible {
  box-shadow: inset 0 0 0 3px #101820;
}

@media (max-width: 900px) {
  .switch-offer-activities .switch-offer-activities__field {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas:
      "tech creative"
      "stage stage"
      "stage stage"
      "music cooking"
      "ict movement"
      "outside together"
      "ideas ideas";
  }
}

@media (max-width: 560px) {
  .switch-offer-activities .switch-offer-activities__field {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "tech"
      "stage"
      "creative"
      "music"
      "cooking"
      "ict"
      "movement"
      "outside"
      "together"
      "ideas";
    grid-auto-rows: auto;
  }

  .switch-offer-activities .switch-offer-activities__item--technique {
    min-height: 132px;
  }

  .switch-offer-activities .switch-offer-activities__item--technique > span:first-child {
    color: #101820;
  }

  .switch-activity-stage {
    min-height: 270px;
    border-radius: 24px 42px 24px 38px;
  }

  .switch-activity-stage figcaption {
    right: 22px;
    bottom: 22px;
    left: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .switch-activity-stage__image {
    transition: none;
  }
}

/* Activiteitenverkenner — meerdere beelden en actieve status. */
.switch-offer-activities .has-activity-image {
  position: relative;
  cursor: pointer;
  outline: none;
  transition: transform .28s cubic-bezier(.22, 1, .36, 1), box-shadow .28s ease;
}

.switch-offer-activities .has-activity-image:hover,
.switch-offer-activities .has-activity-image:focus-visible {
  transform: translateY(-3px);
}

.switch-offer-activities .has-activity-image.is-active {
  box-shadow: inset 0 0 0 2px rgba(16, 24, 32, .24);
}

.switch-offer-activities .has-activity-image::after {
  content: "BEKIJK";
  position: absolute;
  top: 20px;
  right: 22px;
  color: currentColor;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .14em;
  opacity: .54;
}

.switch-offer-activities .has-activity-image.is-active::after {
  content: "IN BEELD";
}

.switch-activity-stage {
  position: relative;
}

.switch-activity-stage .switch-activity-stage__panel {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .42s ease, visibility 0s linear .42s;
}

.switch-activity-stage .switch-activity-stage__panel.is-active {
  z-index: 1;
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}

.switch-activity-stage__panel.is-active .switch-activity-stage__image {
  filter: saturate(1.03) contrast(1.015);
  transform: translateY(0) scale(1.01);
}

.switch-offer-activities .has-activity-image:focus-visible {
  box-shadow: inset 0 0 0 3px #101820;
}

@media (max-width: 560px) {
  .switch-offer-activities .switch-offer-activities__field > * {
    grid-area: auto !important;
  }

  .switch-offer-activities .has-activity-image:hover,
  .switch-offer-activities .has-activity-image:focus-visible {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .switch-offer-activities .has-activity-image,
  .switch-activity-stage .switch-activity-stage__panel {
    transition: none;
  }
}

/* Keep the short outside title on the same centre line as the other cards. */
.switch-offer-activities .switch-offer-activities__item--outside {
  align-items: center;
  justify-content: center;
  text-align: center;
}
.switch-offer-activities .switch-offer-activities__item--movement.has-activity-image::after {
  color: #fff;
  opacity: .78;
}
