.home {
  --heading-font: Georgia, serif;
  --ink: #003843;
  --teal: #78b2b7;
  --light: #e9f2f2;
  --yellow: #e4cb3a;
  --gutter: clamp(24px, 7.15vw, 138px);
  background: #fff;
  font: 16px/1.65 var(--body-font);
  color: var(--ink);
}
.home main { max-width: none; margin: 0; padding: 0; }
.home h1, .home h2, .home h3 { line-height: 1.16; margin: 0 0 .7em; }
.home h2 { font-size: clamp(27px, 2.35vw, 45px); }
.home h3 { font-size: clamp(22px, 1.83vw, 35px); }
.home p { margin: 0 0 1.3rem; line-height: 1.65; }
.home img { display: block; max-width: 100%; }
.wrap { width: min(calc(100% - 2 * var(--gutter)), 1644px); margin-inline: auto; }
.hero { min-height: clamp(520px, 39.6vw, 760px); position: relative; isolation: isolate; background: var(--ink); color: white; display: grid; align-items: center; }
.hero-image { position: absolute; inset: 0 0 0 auto; width: 53%; height: 100%; object-fit: cover; object-position: 55% center; z-index: -2; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--ink) 47%, #003843a8 56%, #00384300 75%); }
.hero-content { padding-block: 70px; }
.home .hero h1 { font-family: var(--heading-font); max-width: min(51%, 780px); font-size: clamp(38px, 3.45vw, 66px); color: var(--teal); }
.hero p { max-width: min(50%, 760px); font-size: clamp(16px, 1.05vw, 20px); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 28px; }
.pill { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 8px 23px; border-radius: 99px; font-weight: 700; line-height: 1.3; text-decoration: none; color: var(--ink); text-align: center; }
.pill:hover { text-decoration: underline; text-underline-offset: 3px; }
.hero .pill { min-width: 100px; }
.pill.fysio { background: #c44731; color: white; }
.pill.werk { background: #7fb4b8; }
.pill.fit { background: #a0a9cc; }
.pill.yellow { background: var(--yellow); }
.pill.outline { border: 1px solid #648e94; color: inherit; }
.home main a:focus-visible, .home footer a:focus-visible { outline: 3px solid #398594; outline-offset: 4px; }
.highlights { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; list-style: none; padding: 24px 0; margin-block: 0; border-bottom: 1px solid #d9e5e5; }
.highlights li { display: flex; align-items: center; gap: 12px; }
.highlights a { color: inherit; text-underline-offset: 4px; }
.highlights .highlight-spreekuur { text-decoration: none; }
.highlights li::before, .benefits li::before { content: ''; width: 29px; height: 33px; flex: 0 0 29px; background: url('home/revital-check.png') center / contain no-repeat; }
.services-section { padding-block: clamp(56px, 5vw, 95px) clamp(72px, 6.75vw, 130px); }
.intro { max-width: 760px; }
.cards { display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(14px,1.3vw,26px); margin-top: 40px; }
.cards article { border-radius: 10px; background: var(--light); overflow: hidden; display: flex; flex-direction: column; scroll-margin: 24px; }
.cards img { width: 100%; aspect-ratio: 1.8; object-fit: cover; }
.card-content { position: relative; padding: 45px clamp(18px,2.6vw,50px) 35px; display: flex; flex-direction: column; flex: 1; }
.card-content::before { content: ''; position: absolute; inset: -20px 0 auto; height: 25px; background: var(--light); border-radius: 52% 53% 0 0 / 100% 100% 0 0; }
.card-content .pill { position: absolute; top: -26px; left: clamp(18px,2.6vw,50px); min-height: 40px; }
.card-content a:not(.pill) { margin-top: auto; color: var(--ink); font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.help, .conditions { background: var(--light); }
.help { overflow: hidden; }
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(42px, 7vw, 136px); padding-block: clamp(65px, 6.8vw, 130px); }
.benefits { display: grid; gap: 15px; list-style: none; margin: 0; padding: 0; }
.benefits li { position: relative; padding-left: 35px; }
.benefits li::before { position: absolute; top: .15em; left: 0; width: 22px; height: 25px; }
.help-visual { position: relative; isolation: isolate; }
.help-visual::before { content: ''; position: absolute; inset: 28% -38% -42% 50%; z-index: -1; border-radius: 55% 32% 40% 31%; transform: rotate(-17deg); background: #e1c650; }
.photo { width: 100%; object-fit: cover; border-radius: 9px; }
.rating { position: absolute; right: 4%; bottom: 6%; background: var(--light); border-radius: 8px; padding: 12px 18px; width: min(45%, 330px); text-align: center; font-size: clamp(12px, 1vw, 16px); }
.rating strong { display: grid; place-items: center; margin: 6px auto; width: 52px; height: 52px; background: #4f8c91; color: white; border-radius: 50%; font: bold 24px var(--body-font); }
.rating img { width: min(100%, 145px); margin-inline: auto; }
.group-photo img { width: 100%; height: clamp(240px,27.6vw,530px); object-fit: cover; object-position: center 60%; }
.conditions { padding-block: clamp(55px,5.4vw,104px); }
.conditions-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: clamp(18px,1.7vw,32px) clamp(14px,1.45vw,28px); padding: 0; margin: 34px 0; list-style: none; }
.conditions-grid a { display: flex; align-items: center; gap: clamp(8px,.75vw,15px); height: 100%; min-height: 52px; padding: clamp(14px,1.35vw,25px) clamp(10px,1.02vw,21px); border: 1px solid #d1e2e3; border-radius: 10px; color: #345762; background: #fff; text-decoration: none; font-size: clamp(.8rem,.94vw,1.05rem); font-weight: 500; line-height: 1.55; overflow-wrap: anywhere; }
.conditions-grid a:hover { border-color: #85a7ad; text-decoration: underline; }
.conditions-grid a::before { content: ''; width: clamp(17px,1.4vw,26px); aspect-ratio: 1; flex: none; border: 1.5px solid currentColor; border-radius: 50%; background: linear-gradient(currentColor,currentColor) center / 55% 1.5px no-repeat, linear-gradient(currentColor,currentColor) center / 1.5px 55% no-repeat; }
.consultation { padding-block: clamp(64px,5.2vw,100px) 25px; }
.consultation-card { isolation: isolate; position: relative; display: grid; grid-template-columns: .78fr 1.12fr; gap: clamp(22px,3.8vw,74px); align-items: center; width: min(83%, 1370px); margin: auto; padding: clamp(20px,1.8vw,35px); border-radius: 10px; background: var(--ink); color: white; }
.consultation-card::before { content: ''; position: absolute; z-index: -2; width: 28%; height: 70%; left: -8%; bottom: -13%; border-radius: 35% 55% 45% 60%; background: var(--teal); transform: rotate(-16deg); }
.consultation-card::after { content: ''; position: absolute; z-index: -1; inset: 0; border-radius: inherit; background: var(--ink); }
.consultation-image { position: relative; }
.consultation-image img { aspect-ratio: 1.32; }
.consultation-image .pill { position: absolute; top: 12px; left: 14px; min-height: 36px; }
.team { text-align: center; padding-block: 45px clamp(65px,6vw,115px); overflow: hidden; position: relative; isolation: isolate; }
.team::before { content: ''; position: absolute; z-index: -1; inset: 42% -12% -65%; border-radius: 49% 54% 0 0 / 53% 54% 0 0; background: var(--light); }
.team p { max-width: 690px; margin-inline: auto; }
.team-grid {
  --team-gap: clamp(16px, 4vw, 64px);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--team-gap);
  list-style: none;
  padding: 0;
  max-width: 1200px;
  margin: 40px auto 32px;
}
.team-grid > li { flex: 0 1 min(250px, calc((100% - 3 * var(--team-gap)) / 4)); min-width: 0; }
.team-grid h3 { font-size: 1.1rem; margin-bottom: .35em; }
.team-grid p { margin-bottom: 0; }
.team .team-quote {
  max-width: 34ch;
  margin: 0 auto;
  color: #467a80;
  font: 700 clamp(20px, 2vw, 30px)/1.35 var(--heading-font);
}
.team-grid img { width: 100%; aspect-ratio: 1 / 1.15; object-fit: contain; margin-bottom: 10px; }
.site-footer { background: var(--ink); color: white; }
.footer-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 25px; padding-block: clamp(40px,3.25vw,62px); }
.site-footer a { color: inherit; }
.site-footer address { font-style: normal; margin: 4px 0 12px; }
.site-footer dl { display: grid; grid-template-columns: max-content 1fr; gap: 1px 14px; margin: 4px 0 0; }
.site-footer dd { margin: 0; }
.footer-zkn { min-width: 0; }
.footer-zkn .zkn-widget-holder { max-width: 100%; }
.footer-zkn .zkn-fallback { background: #fff; color: var(--ink); border-radius: 9px; padding: 12px; font-size: .85rem; line-height: 1.45; }
.footer-zkn .zkn-fallback .zkn-widget__header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.footer-zkn .zkn-fallback .zkn-widget__header-logo-left-img { width: 114px; }
.footer-zkn .zkn-fallback .zkn-widget__header-logo-right-img { width: 33px; }
.footer-zkn .zkn-fallback .zkn-widget__footer { margin-top: 8px; }
.footer-zkn .zkn-fallback a { text-underline-offset: 2px; }
.footer-links { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.legal { background: #fff; color: var(--ink); text-align: center; padding: 10px 20px; font-size: .85rem; }
@media (max-width: 1100px) {
  .conditions-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .footer-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 900px) {
  .hero { display: flex; flex-direction: column; min-height: 0; align-items: stretch; }
  .hero-image { position: static; width: 100%; height: auto; aspect-ratio: 1.65; order: 1; }
  .hero::before { display: none; }
  .hero-content { padding-block: 65px 34px; }
  .home .hero h1 { max-width: none; font-size: clamp(34px,6.2vw,56px); }
  .hero p { max-width: 100%; }
  .hero .pill { min-width: 76px; }
}
@media (max-width: 760px) {
  .highlights { grid-template-columns: 1fr; }
  .cards, .split, .consultation-card { grid-template-columns: 1fr; }
  .cards { gap: 24px; }
  .consultation-card { width: 100%; }
  .consultation-card::before { left: -5%; }
  .team-grid { --team-gap: 16px; }
  .team-grid > li { flex-basis: min(250px, calc((100% - var(--team-gap)) / 2)); }
  .conditions-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 440px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.legal a { color: var(--ink); }

.footer-social { display: flex; flex-wrap: wrap; gap: 8px; }
.footer-social a { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #fff; color: var(--ink); }
.footer-social a:hover { background: var(--yellow); }
.footer-social svg { width: 18px; height: 18px; }
.site-footer a { overflow-wrap: anywhere; }

.team-grid a { display: block; color: inherit; text-decoration: none; }
.team-grid a:hover :is(strong, h3) { text-decoration: underline; }
.team-grid .team-portrait-blend { mix-blend-mode: multiply; }

.site-credit {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 5px;
  color: #516970;
  font-size: .75rem;
}
.site-credit img { flex: none; }
.site-credit a { color: inherit; text-decoration: none; }
.site-credit a:hover, .site-credit a:focus-visible { text-decoration: underline; }

.vacature-popup {
  position: fixed;
  inset: 0;
  margin: auto;
  width: min(520px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  padding: 0;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: none;
  overflow-wrap: anywhere;
  isolation: isolate;
  border: 0;
  border-radius: 18px;
  background: var(--light);
  color: var(--ink);
  box-shadow: 0 16px 52px #001e3455;
  text-align: center;
}
.vacature-popup::backdrop { background: #002a34b8; }
.vacature-popup::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  clip-path: ellipse(72% 58% at 50% 118%);
  background: #d6e8e9;
  pointer-events: none;
}
.vacature-popup-inhoud { padding: 56px clamp(24px, 5vw, 52px) 42px; }
.vacature-popup-label {
  display: inline-block;
  margin-bottom: 14px;
  color: #365d64;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.vacature-popup h2 { font: 700 clamp(30px, 6vw, 42px)/1.14 var(--heading-font); }
.vacature-popup .pill { gap: 8px; }
.vacature-popup-sluiten {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  font: 28px/1 var(--body-font);
  cursor: pointer;
}
.vacature-popup-sluiten:focus-visible, .vacature-popup .pill:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}
