/* ==========================================================================
   OncoCare Centrum — stylesheet
   Kleuren komen uit het logo: navy #1E2859, oranje #CC6633
   ========================================================================== */

:root {
  --ink:        #1E2859;
  --ink-2:      #3B4675;
  --ink-3:      #6E779C;
  --accent:     #CC6633;
  --accent-2:   #E8853F;
  --accent-ink: #8F4520;
  --paper:      #FFFFFF;
  --mist:       #F2F4F8;
  --sand:       #F8F1EA;
  --line:       #DFE4EE;

  --max:   1180px;
  --gut:   clamp(1.25rem, 4vw, 3rem);

  --r-sm:  6px;
  --r-md:  14px;
  --r-lg:  26px;

  --shadow-sm: 0 2px 6px rgba(30, 40, 89, .06);
  --shadow-md: 0 14px 40px -18px rgba(30, 40, 89, .34);
  --shadow-lg: 0 30px 70px -30px rgba(30, 40, 89, .42);

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* --------------------------------------------------------------- reset -- */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Karla", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: var(--accent-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent); }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 3px;
}

h1, h2, h3, h4 {
  font-family: "Newsreader", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-weight: 400;
  line-height: 1.14;
  letter-spacing: -.015em;
  color: var(--ink);
  margin: 0 0 .6em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.4rem, 6vw, 4.1rem); }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.75rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.65rem); }
h4 { font-size: 1.2rem; }

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

strong { font-weight: 700; }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: #fff; padding: .8rem 1.2rem; z-index: 200;
}
.skip:focus { left: .75rem; top: .75rem; }

/* -------------------------------------------------------------- layout -- */

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gut);
}
.wrap--narrow { max-width: 760px; }

.section { padding-block: clamp(3.5rem, 8vw, 7rem); }
.section--mist { background: var(--mist); }
.section--sand { background: var(--sand); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }

/* -------------------------------------------------------------- header -- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.topbar.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px -18px rgba(30, 40, 89, .5);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 78px;
}

.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand img { width: 196px; }

.nav__toggle {
  display: none;
  align-items: center;
  gap: .6rem;
  background: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .5rem .95rem;
  font: inherit;
  font-size: .95rem;
  color: var(--ink);
  cursor: pointer;
}
.nav__toggle svg { width: 18px; height: 18px; }

.nav__list {
  display: flex;
  align-items: center;
  gap: .35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__list > li { position: relative; }

.nav__list a {
  display: block;
  padding: .55rem .85rem;
  border-radius: var(--r-sm);
  color: var(--ink);
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.nav__list a:hover { background: var(--mist); color: var(--accent-ink); }

.nav__list > li.is-current > a {
  color: var(--accent-ink);
  box-shadow: inset 0 -2px 0 var(--accent);
  border-radius: 0;
}

.nav__sub {
  position: absolute;
  top: calc(100% + .35rem);
  left: 0;
  min-width: 178px;
  list-style: none;
  margin: 0;
  padding: .4rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s;
}
.nav__has-sub:hover > .nav__sub,
.nav__has-sub:focus-within > .nav__sub {
  opacity: 1;
  visibility: visible;
  transform: none;
}

/* ---------------------------------------------------------- hero/media -- */

.hero {
  position: relative;
  isolation: isolate;
  min-height: min(74vh, 640px);
  display: flex;
  align-items: flex-end;
  overflow: clip;
  background: var(--ink);
}

.hero__media {
  position: absolute;
  inset: -12% 0;
  z-index: -2;
  will-change: transform;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 32% 28%;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(30,40,89,.55) 0%, rgba(30,40,89,.25) 34%, rgba(30,40,89,.88) 100%);
}

.hero__inner {
  width: 100%;
  padding-block: clamp(4.5rem, 12vw, 8rem) clamp(3rem, 7vw, 5.5rem);
  color: #fff;
}

.hero__eyebrow {
  display: inline-block;
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .02em;
  color: #FFD9BE;
  border-left: 3px solid var(--accent-2);
  padding-left: .75rem;
  margin-bottom: 1.4rem;
}

.hero h1 {
  color: #fff;
  max-width: 15ch;
  margin-bottom: .5em;
  font-weight: 300;
}

.hero__lead {
  max-width: 46ch;
  font-size: clamp(1.06rem, 1.7vw, 1.22rem);
  color: rgba(255,255,255,.9);
  margin-bottom: 2rem;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; }

/* subpagina-kop met parallax */

.pagehead {
  position: relative;
  isolation: isolate;
  overflow: clip;
  background: var(--ink);
  display: flex;
  align-items: flex-end;
  min-height: clamp(300px, 44vh, 460px);
}
.pagehead__media { position: absolute; inset: -20% 0; z-index: -2; will-change: transform; }
.pagehead__media img { width: 100%; height: 100%; object-fit: cover; }
.pagehead::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(30,40,89,.62) 0%, rgba(30,40,89,.86) 100%);
}
.pagehead__inner { width: 100%; padding-block: clamp(3.5rem, 9vw, 6rem) clamp(2.5rem, 6vw, 4rem); }
.pagehead h1 { color: #fff; font-weight: 300; margin-bottom: .35em; }
.pagehead p {
  color: rgba(255,255,255,.86);
  max-width: 52ch;
  font-size: 1.1rem;
  margin: 0;
}

/* parallaxband midden op de pagina */

.band {
  position: relative;
  isolation: isolate;
  overflow: clip;
  background: var(--ink);
  color: #fff;
  padding-block: clamp(5rem, 12vw, 9rem);
}
.band__media { position: absolute; inset: -24% 0; z-index: -2; will-change: transform; }
.band__media img { width: 100%; height: 100%; object-fit: cover; }
.band::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, rgba(30,40,89,.94) 0%, rgba(30,40,89,.74) 55%, rgba(30,40,89,.52) 100%);
}
.band h2, .band h3 { color: #fff; font-weight: 300; }
.band p { color: rgba(255,255,255,.88); }
.band__text { max-width: 40ch; }
.band__quote {
  font-family: "Newsreader", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-size: clamp(1.5rem, 3.2vw, 2.3rem);
  line-height: 1.32;
  font-weight: 300;
  color: #fff;
  max-width: 22ch;
  margin: 0;
}
.band__quote span { color: #FFC79B; }

/* ------------------------------------------------------------- knoppen -- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .82rem 1.55rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--accent);
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:hover {
  background: var(--accent-ink);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--ghost {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.45);
  color: #fff;
}
.btn--ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }

.btn--outline {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}
.btn--outline:hover { background: var(--ink); color: #fff; }

.arrow { width: 1em; height: 1em; flex: none; }

/* zwevende contactknop op subpagina's */
.float-cta {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 90;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.float-cta.is-visible { opacity: 1; transform: none; pointer-events: auto; }

/* ------------------------------------------------------- locatiekaarten -- */

.locations {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.15rem;
}

.locations--lift {
  margin-top: clamp(-5rem, -7vw, -3rem);
  position: relative;
  z-index: 5;
}

.loc-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 210px;
  padding: 1.5rem;
  border-radius: var(--r-lg);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  text-decoration: none;
  color: var(--ink);
  overflow: hidden;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease);
}
.loc-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); color: var(--ink); }

.loc-card__kicker {
  font-size: .9rem;
  font-weight: 600;
  color: var(--ink-3);
  margin-bottom: .15rem;
}
.loc-card__name {
  font-family: "Newsreader", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-size: 1.95rem;
  line-height: 1.05;
  font-weight: 400;
}
.loc-card__meta {
  margin-top: auto;
  padding-top: 1.2rem;
  font-size: .96rem;
  font-weight: 600;
  color: var(--accent-ink);
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}
.loc-card:hover .loc-card__meta .arrow { transform: translateX(4px); }
.loc-card__meta .arrow { transition: transform .25s var(--ease); }


.loc-card--accent {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.loc-card--accent .loc-card__kicker { color: rgba(255,255,255,.66); }
.loc-card--accent .loc-card__name { color: #fff; }
.loc-card--accent .loc-card__meta { color: #FFC79B; }
.loc-card--accent:hover { color: #fff; }

/* -------------------------------------------------------------- teksten -- */

.lead {
  font-size: clamp(1.16rem, 2.1vw, 1.42rem);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 62ch;
}

.prose { max-width: 68ch; }
.prose h2 { margin-top: 0; }
.prose h3 { margin-top: 2.2rem; }
.prose p { color: var(--ink-2); }

.rule {
  width: 54px;
  height: 3px;
  background: var(--accent);
  border: 0;
  margin: 0 0 1.9rem;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.split--wide-left { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }

.figure {
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--mist);
}
.figure img { width: 100%; }
.figure--tall img { aspect-ratio: 4 / 5; object-fit: cover; }

.sticky-top { position: sticky; top: 108px; }

/* ------------------------------------------------------------ accordeon -- */

.acc { border-top: 1px solid var(--line); }

.acc details {
  border-bottom: 1px solid var(--line);
}

.acc summary {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.35rem 0;
  cursor: pointer;
  list-style: none;
  font-family: "Newsreader", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-size: clamp(1.18rem, 2vw, 1.42rem);
  line-height: 1.25;
  color: var(--ink);
  transition: color .2s var(--ease);
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary:hover { color: var(--accent-ink); }

.acc summary::after {
  content: "";
  flex: none;
  width: 13px;
  height: 13px;
  margin-top: .45em;
  margin-left: auto;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(45deg);
  transition: transform .3s var(--ease);
}
.acc details[open] > summary::after { transform: rotate(-135deg); }

.acc__body {
  padding: 0 0 1.6rem;
  max-width: 68ch;
  color: var(--ink-2);
}
.acc details[open] .acc__body { animation: reveal .35s var(--ease); }

@keyframes reveal {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: none; }
}

/* ------------------------------------------------------- zorgaanbieders -- */

.providers { display: grid; gap: 1.35rem; }

.provider {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
  padding: clamp(1.6rem, 3.5vw, 2.5rem);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}

.provider h3 {
  color: var(--accent-ink);
  font-size: clamp(1.3rem, 2.2vw, 1.6rem);
  margin-bottom: .55em;
}
.provider p { color: var(--ink-2); }
.provider ul { margin: 0 0 1.15em; padding-left: 1.15rem; color: var(--ink-2); }
.provider li { margin-bottom: .3rem; }

.provider__contact {
  margin-top: 1.4rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
  font-size: 1rem;
  color: var(--ink);
}
.provider__contact strong { display: block; margin-bottom: .1rem; }
.provider__contact a { font-weight: 600; }

.provider__logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
  padding: 1.2rem;
  background: #ffffff;
  border-radius: var(--r-md);
  min-height: 120px;
}
.provider__logo img { max-height: 74px; width: auto; object-fit: contain; }
.provider__logo a { display: block; }

.verwijsgids {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-top: .8rem;
  padding: .38rem .8rem .38rem .55rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .87rem;
  font-weight: 600;
  color: var(--ink-2);
  text-decoration: none;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.verwijsgids:hover { background: #fff; border-color: var(--accent); color: var(--ink); }
.verwijsgids img { height: 20px; width: auto; }

/* locatie-intro */

.loc-intro {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}
.loc-intro__photos { display: flex; gap: .8rem; }
.loc-intro__photos img {
  width: 100%;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
}
.loc-intro__photos--two { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }

.contact-block {
  margin-top: 1.4rem;
  padding: 1.15rem 1.4rem;
  background: var(--sand);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--r-md) var(--r-md) 0;
}
.contact-block__name {
  font-family: "Newsreader", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-size: 1.35rem;
  line-height: 1.2;
  margin-bottom: .2rem;
}
.contact-block p { margin: 0; color: var(--ink-2); }

/* --------------------------------------------------------- contactkaart -- */

.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.15rem;
}
.contact-card {
  display: flex;
  align-items: center;
  gap: .95rem;
  padding: 1.4rem 1.45rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: var(--ink);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); color: var(--ink); }
.contact-card__icon {
  flex: none;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--sand);
  color: var(--accent-ink);
}
.contact-card__icon svg { width: 21px; height: 21px; }
.contact-card > span:last-child { min-width: 0; }
.contact-card__label { display: block; font-size: .9rem; color: var(--ink-3); line-height: 1.4; }
.contact-card__value { display: block; font-weight: 700; font-size: .99rem; line-height: 1.35; overflow-wrap: anywhere; }

.embed-shell {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  padding: clamp(1.2rem, 3vw, 2.2rem);
}

/* -------------------------------------------------------------- footer -- */

.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,.78);
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
}
.site-footer a { color: #fff; }
.site-footer a:hover { color: #FFC79B; }

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.footer-logo { width: 190px; margin-bottom: 1.2rem; }

.footer-title {
  font-family: "Newsreader", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: .9rem;
}

.footer-list { list-style: none; margin: 0; padding: 0; }
.footer-list li { margin-bottom: .45rem; }
.footer-list a { text-decoration: none; }
.footer-list a:hover { text-decoration: underline; }

.site-footer address { font-style: normal; }

.socials { display: flex; gap: .6rem; margin-top: 1.3rem; }
.socials a {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 50%;
  transition: background .2s var(--ease), border-color .2s var(--ease);
}
.socials a:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.6); }
.socials svg { width: 18px; height: 18px; fill: currentColor; }

.footer-bottom {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.16);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  font-size: .93rem;
  color: rgba(255,255,255,.6);
}

/* ------------------------------------------------------------- responsive */

@media (max-width: 940px) {
  .split, .split--wide-left { grid-template-columns: 1fr; }
  .sticky-top { position: static; }
  .provider { grid-template-columns: 1fr; }
  .provider__logo { max-width: 220px; }
  .loc-intro { grid-template-columns: 1fr; }
  .loc-intro__photos { max-width: 340px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav__toggle { display: inline-flex; }

  .nav {
    position: fixed;
    inset: 78px 0 auto 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: 1rem var(--gut) 1.6rem;
    display: none;
    max-height: calc(100dvh - 78px);
    overflow-y: auto;
  }
  .nav.is-open { display: block; }

  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list > li { border-bottom: 1px solid var(--line); }
  .nav__list > li:last-child { border-bottom: 0; }
  .nav__list a { padding: .85rem .2rem; font-size: 1.1rem; }
  .nav__list > li.is-current > a { box-shadow: none; }

  .nav__sub {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    border: 0;
    box-shadow: none;
    padding: 0 0 .6rem .9rem;
    min-width: 0;
  }
  .nav__sub a { font-size: 1rem; color: var(--ink-2); }

  .locations--lift { margin-top: -2.5rem; }
}

@media (max-width: 620px) {
  body { font-size: 1.02rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { min-height: 78vh; }
  .loc-intro__photos--two { grid-template-columns: 1fr 1fr; }
  .float-cta { padding: .7rem 1.15rem; font-size: .95rem; }
}

/* ------------------------------------------------------------- motion -- */

.reveal { opacity: 0; transform: translateY(22px); }
.reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero__media, .pagehead__media, .band__media { transform: none !important; }
}

@media print {
  .topbar, .float-cta, .socials { display: none; }
  body { color: #000; }
}
