/* ===========================================================================
   Dierenkliniek Blijdorp
   Inkt, wijnrood van de voordeur, warm papier. Het terugkerende motief is de
   dubbele streep onder de naam in het oude logo: twee lijnen, de onderste
   korter en verschoven.
   =========================================================================== */

:root {
  --inkt: #17120f;
  --inkt-2: #241c18;
  --inkt-3: #3a2f29;
  --wijn: #7d2232;
  --wijn-licht: #a8364a;
  --wijn-op: #b9566a;
  --papier: #fbf7f1;
  --papier-diep: #f1e8db;
  --lijn: #ddd0bd;
  --grijs: #655a52;
  --oker: #c08235;

  --opening-achtergrond: #17120f;
  --opening-demping: .58;

  --letter-kop: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --letter: -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --ruim: clamp(3.25rem, 6.5vw, 6rem);
  --kolom: min(100% - 2.5rem, 1240px);
  --rond: 2px;
}

/* ---- basis -------------------------------------------------------------- */

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--papier);
  color: var(--inkt);
  font-family: var(--letter);
  font-size: clamp(1rem, .96rem + .18vw, 1.08rem);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

h1, h2, h3 { font-family: var(--letter-kop); font-weight: 600; margin: 0; line-height: 1.04; letter-spacing: -.015em; }

p, ul, ol, dl, dd, figure, dt { margin: 0; }
ul, ol { padding: 0; list-style: none; }

.omhullend { width: var(--kolom); margin-inline: auto; }

.overslaan {
  position: absolute; left: -9999px; top: 0; z-index: 99;
  background: var(--wijn); color: #fff; padding: .75rem 1.25rem;
}
.overslaan:focus { left: 1rem; top: 1rem; }

:focus-visible { outline: 2px solid var(--wijn); outline-offset: 3px; }

/* ---- typografische bouwstenen ------------------------------------------- */

.titel-groot { font-size: clamp(2.1rem, 5.2vw, 4.1rem); }
.titel-mid   { font-size: clamp(1.6rem, 3.2vw, 2.6rem); }

.label {
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--wijn);
  margin: 0 0 .7rem;
}
.label--licht { color: var(--oker); }
.label--wijn  { color: #fff; }

.opmaat {
  font-size: .74rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(255, 255, 255, .72);
  margin: 0 0 1rem;
}

/* het motief: twee strepen, de onderste korter en ingesprongen */
.regel { margin: 0 0 1.4rem; }
.regel::before,
.regel::after {
  content: "";
  display: block;
  height: 1.5px;
  background: var(--inkt);
  opacity: .55;
}
.regel::before { width: 100%; max-width: 15rem; }
.regel::after  { width: 60%;  max-width: 9rem; margin-top: 4px; margin-left: 1.5rem; }
.regel--licht::before,
.regel--licht::after { background: #fff; opacity: .4; }

.lood {
  font-family: var(--letter-kop);
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  line-height: 1.4;
  color: var(--grijs);
  margin-top: 1.1rem;
  max-width: 34ch;
}

.bijschrift {
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--grijs);
  margin-top: .7rem;
}

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

.knop {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .72rem 1.3rem;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font-weight: 600;
  font-size: .94rem;
  letter-spacing: .01em;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease, transform .25s ease;
}
.knop--groot { padding: .92rem 1.7rem; font-size: 1rem; }
.knop--wijn { background: var(--wijn); color: #fff; }
.knop--wijn:hover { background: var(--wijn-licht); transform: translateY(-2px); }
.knop--rand { border-color: rgba(255, 255, 255, .5); color: #fff; }
.knop--rand:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.knop--licht { background: var(--papier); color: var(--wijn); }
.knop--licht:hover { background: #fff; transform: translateY(-2px); }
.knop--randlicht { border-color: rgba(255, 255, 255, .55); color: #fff; }
.knop--randlicht:hover { background: rgba(255, 255, 255, .14); border-color: #fff; }

/* ---- kopbalk ------------------------------------------------------------ */

.kopbalk {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
  transition: background-color .3s ease, box-shadow .3s ease, padding .3s ease;
  padding-block: .9rem;
}
.kopbalk__binnen {
  width: var(--kolom);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.merk {
  font-family: var(--letter-kop);
  font-size: clamp(1.02rem, 1.5vw, 1.25rem);
  font-weight: 600;
  letter-spacing: -.01em;
  text-decoration: none;
  color: #fff;
  margin-right: auto;
  transition: color .3s ease;
}
.hoofdnav { display: flex; gap: clamp(1rem, 2vw, 1.9rem); }
.hoofdnav a {
  text-decoration: none;
  font-size: .9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, .82);
  position: relative;
  padding-block: .3rem;
  transition: color .25s ease;
}
.hoofdnav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1.5px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.hoofdnav a:hover { color: #fff; }
.hoofdnav a:hover::after { transform: scaleX(1); }

.kopbalk__rechts { display: flex; align-items: center; gap: .75rem; }
.menuknop { display: none; }

.kopbalk.is-vast {
  background: rgba(251, 247, 241, .94);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--lijn);
  padding-block: .65rem;
}
.kopbalk.is-vast .merk { color: var(--inkt); }
.kopbalk.is-vast .hoofdnav a { color: var(--grijs); }
.kopbalk.is-vast .hoofdnav a:hover { color: var(--wijn); }

/* ---- opening ------------------------------------------------------------ */

.opening__kader { width: var(--kolom); margin-inline: auto; }

.opening__kop {
  padding-bottom: clamp(4.5rem, 13svh, 8rem);
  padding-top: 2rem;
  color: #fff;
}
.opening__titel {
  font-size: clamp(2.6rem, 8.2vw, 6.4rem);
  line-height: .96;
  color: #fff;
  letter-spacing: -.03em;
  max-width: 14ch;
}
.opening__zinnetje {
  font-family: var(--letter-kop);
  font-size: clamp(1.05rem, 1.8vw, 1.45rem);
  color: rgba(255, 255, 255, .86);
  margin-top: 1.1rem;
  max-width: 36ch;
}
.opening__knoppen {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.9rem;
}
.opening__slot { padding-bottom: clamp(4.5rem, 13svh, 8rem); color: #fff; }
.opening__slotregel {
  font-family: var(--letter-kop);
  font-size: clamp(1.9rem, 5vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -.02em;
}
.wenk__lijn {
  display: block;
  width: 1px;
  height: 46px;
  background: linear-gradient(180deg, rgba(255,255,255,0), rgba(255,255,255,.85));
}
@media (max-width: 700px) {
  html.opening-aan .opening__wenk { display: none; }
}

main section[id] { scroll-margin-top: 84px; }

/* ---- openingstijden en spoed -------------------------------------------- */

.uren-blok {
  background: var(--inkt);
  color: #fff;
  padding-block: clamp(2.75rem, 5.5vw, 4.5rem) clamp(5rem, 10vw, 8rem);
  position: relative;
}
.uren-blok__raster {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: start;
}
.uren-blok__links { grid-column: 1 / 7; }
.spoed { grid-column: 8 / 13; }
.mededelingen { grid-column: 1 / 13; }

.uren { margin-top: 1.6rem; border-top: 1px solid rgba(255,255,255,.14); max-width: 30rem; }
.uren__rij {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .62rem 0;
  border-bottom: 1px solid rgba(255,255,255,.14);
}
.uren__dag { font-weight: 600; letter-spacing: .01em; }
.uren__tijd { font-variant-numeric: tabular-nums; color: rgba(255,255,255,.82); }
.uren__rij--dicht .uren__dag,
.uren__rij--dicht .uren__tijd { color: rgba(255,255,255,.42); font-weight: 400; }
.uren__noot { margin-top: 1.1rem; color: rgba(255,255,255,.7); font-size: .95rem; max-width: 30rem; }

.spoed {
  background: var(--wijn);
  padding: clamp(1.6rem, 3vw, 2.25rem);
  border-radius: var(--rond);
}
.spoed__tekst { color: rgba(255,255,255,.9); margin-bottom: .55rem; }
.spoed__nummer {
  display: inline-block;
  margin-top: 1.1rem;
  font-family: var(--letter-kop);
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  line-height: 1;
  color: #fff;
  text-decoration: none;
  letter-spacing: -.02em;
  border-bottom: 2px solid rgba(255,255,255,.45);
  transition: border-color .25s ease;
}
.spoed__nummer:hover { border-color: #fff; }
.spoed__noot {
  margin-top: .6rem;
  font-size: .74rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255,255,255,.72);
}

.mededelingen {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: clamp(1.75rem, 3.5vw, 3rem);
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.14);
}
.mededeling { background: var(--inkt); padding: 1.1rem 1.3rem; }
.mededeling__wat {
  font-size: .74rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--oker);
  margin-bottom: .35rem;
  font-weight: 600;
}
.mededeling__uitleg { color: rgba(255,255,255,.8); font-size: .95rem; }

/* ---- de kliniek --------------------------------------------------------- */

.kliniek { background: var(--papier); padding-bottom: var(--ruim); }
.kliniek__raster {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(1.25rem, 2.5vw, 2.25rem);
  align-items: start;
}
.kliniek__woord { grid-column: 1 / 6; padding-top: clamp(3rem, 6vw, 5rem); }
.punten { margin-top: 1.6rem; }
.punt {
  position: relative;
  padding-left: 1.5rem;
  padding-block: .4rem;
  color: var(--grijs);
}
.punt::before {
  content: "";
  position: absolute;
  left: 0; top: 1.05rem;
  width: .55rem; height: 1.5px;
  background: var(--wijn);
}

.jaren { position: relative; display: inline-block; margin-top: 2.5rem; padding: 1.1rem 2.2rem 1rem; }
.jaren__ring { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--wijn); opacity: .8; }
.jaren__getal {
  font-family: var(--letter-kop);
  font-size: clamp(3rem, 6vw, 4.4rem);
  line-height: .9;
  letter-spacing: -.04em;
  text-align: center;
}
.jaren__label {
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--grijs);
  text-align: center;
  margin-top: .35rem;
}

.kliniek__beeld { position: relative; z-index: 2; }
.kliniek__beeld img {
  width: 100%;
  object-fit: cover;
  border-radius: var(--rond);
}
.kliniek__beeld--groot {
  grid-column: 7 / 13;
  margin-top: calc(-1 * clamp(4rem, 9vw, 8rem));
}
.kliniek__beeld--groot img { aspect-ratio: 4 / 5; }
.kliniek__beeld--klein {
  grid-column: 3 / 8;
  margin-top: calc(-1 * clamp(2.5rem, 7vw, 6rem));
  z-index: 3;
}
.kliniek__beeld--klein img { aspect-ratio: 5 / 4; box-shadow: 0 18px 50px rgba(23,18,15,.16); }

/* ---- ons team ----------------------------------------------------------- */

.team {
  background: var(--papier-diep);
  padding-block: var(--ruim);
  position: relative;
}
.team__raster {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(1.25rem, 2.5vw, 2.25rem);
  align-items: start;
}
.team__woord { grid-column: 1 / 5; }
.team__noot { margin-top: 1.2rem; color: var(--grijs); }

.persoon { position: relative; }
.persoon--een { grid-column: 5 / 9; }
.persoon--twee { grid-column: 9 / 13; margin-top: clamp(2rem, 6vw, 5rem); }
.persoon__beeld { overflow: hidden; border-radius: var(--rond); background: var(--inkt-3); }
.persoon__beeld img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 28%;
  transition: transform .7s cubic-bezier(.22,.61,.36,1);
}
.persoon:hover .persoon__beeld img { transform: scale(1.04); }
.persoon__kaart { padding-top: .9rem; }
.persoon__naam { font-family: var(--letter-kop); font-size: 1.15rem; font-weight: 600; }
.persoon__rol {
  font-size: .74rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--wijn);
  margin-top: .25rem;
  font-weight: 600;
}

/* ---- specialiteiten ----------------------------------------------------- */

.spec {
  background: var(--inkt);
  color: #fff;
  padding-block: var(--ruim);
}
.spec__kop {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(1.25rem, 2.5vw, 2.25rem);
  align-items: end;
  margin-bottom: clamp(2rem, 4vw, 3.25rem);
}
.spec__kop-links { grid-column: 1 / 8; }
.spec__kop-links .titel-groot { color: #fff; }
.spec__kop-rechts {
  grid-column: 9 / 13;
  font-family: var(--letter-kop);
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  color: rgba(255,255,255,.72);
  padding-bottom: .5rem;
}

.spec__lijst {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(1rem, 2vw, 1.75rem);
}
.dienst { position: relative; }
.dienst--breed { grid-column: span 7; }
.dienst--smal  { grid-column: span 5; }
.dienst--derde { grid-column: span 4; }
.dienst--vol   { grid-column: 1 / -1; }
.dienst--zak   { margin-top: clamp(1.5rem, 4vw, 3.5rem); }

.dienst__beeld { overflow: hidden; border-radius: var(--rond); background: var(--inkt-2); }
.dienst__beeld img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s cubic-bezier(.22,.61,.36,1), filter .5s ease;
  filter: saturate(.92);
}
.dienst:hover .dienst__beeld img { transform: scale(1.045); filter: saturate(1.05); }
.dienst__beeld--landschap img { aspect-ratio: 16 / 10; }
.dienst__beeld--staand img    { aspect-ratio: 4 / 5; }
.dienst__beeld--vierkant img  { aspect-ratio: 1 / 1; }
.dienst__beeld--band img      { aspect-ratio: 20 / 9; object-position: 50% 34%; }

.dienst__tekst {
  display: flex;
  align-items: baseline;
  gap: .9rem;
  padding-top: .95rem;
  border-top: 1px solid rgba(255,255,255,.16);
  margin-top: .95rem;
}
.dienst__nr {
  font-family: var(--letter-kop);
  font-size: .9rem;
  color: var(--oker);
  font-variant-numeric: tabular-nums;
  letter-spacing: .06em;
}
.dienst__naam {
  font-size: clamp(1.1rem, 1.8vw, 1.5rem);
  font-weight: 500;
  color: #fff;
}
.dienst--vol .dienst__naam { font-size: clamp(1.4rem, 3vw, 2.3rem); }

.spec__voet {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  margin-top: clamp(2.25rem, 4.5vw, 3.5rem);
  padding-top: clamp(1.5rem, 3vw, 2.25rem);
  border-top: 1px solid rgba(255,255,255,.16);
}
.spec__voet-tekst {
  font-family: var(--letter-kop);
  font-size: clamp(1.25rem, 2.4vw, 1.9rem);
  color: #fff;
}

/* ---- snoetenboek -------------------------------------------------------- */

.snoeten { background: var(--papier); padding-block: var(--ruim) 0; }
.snoeten__kop {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(1.25rem, 2.5vw, 2.25rem);
  align-items: end;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.snoeten__kop > div { grid-column: 1 / 7; }
.snoeten__intro {
  grid-column: 8 / 13;
  color: var(--grijs);
  font-family: var(--letter-kop);
  font-size: clamp(1.02rem, 1.4vw, 1.2rem);
  padding-bottom: .4rem;
}

.muur {
  columns: 4;
  column-gap: 10px;
  padding-inline: 10px;
  padding-bottom: var(--ruim);
}
.muur__tegel {
  break-inside: avoid;
  margin-bottom: 10px;
  overflow: hidden;
  border-radius: var(--rond);
  background: var(--papier-diep);
}
.muur__tegel img {
  width: 100%;
  transition: transform .8s cubic-bezier(.22,.61,.36,1), filter .4s ease;
}
.muur__tegel:hover img { transform: scale(1.05); }

/* ---- contact ------------------------------------------------------------ */

.contact { background: var(--papier-diep); padding-block: var(--ruim); }
.contact__raster {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(1.75rem, 3.5vw, 3.5rem);
  align-items: start;
}
.contact__woord { grid-column: 1 / 7; }
.contact__kaart { grid-column: 7 / 13; }

.gegevens { margin-top: clamp(1.75rem, 3.5vw, 2.75rem); border-top: 1px solid var(--lijn); }
.gegeven {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 1rem;
  padding: .95rem 0;
  border-bottom: 1px solid var(--lijn);
}
.gegeven__wat {
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--grijs);
  font-weight: 600;
  padding-top: .25rem;
}
.gegeven__regel { color: var(--inkt); }
.gegeven__link {
  display: block;
  width: fit-content;
  color: var(--wijn);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1.5px solid rgba(125,34,50,.3);
  transition: border-color .25s ease, color .25s ease;
}
.gegeven__link + .gegeven__link { margin-top: .4rem; }
.gegeven__link:hover { border-color: var(--wijn); }

.kaart {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .9rem;
  width: 100%;
  height: clamp(300px, 46vh, 460px);
  border: 0;
  border-radius: var(--rond);
  background:
    radial-gradient(circle at 30% 30%, rgba(125,34,50,.14), transparent 55%),
    radial-gradient(circle at 75% 70%, rgba(125,34,50,.1), transparent 50%),
    var(--lijn);
  color: var(--wijn);
  font-weight: 600;
  text-decoration: none;
  transition: background-color .25s ease;
}
.kaart:hover { background-color: #e7e0da; }
.kaart__pin {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: var(--wijn);
  position: relative;
}
.kaart__pin::before {
  content: '';
  position: absolute;
  inset: 0;
  margin: auto;
  width: .7rem;
  height: .7rem;
  border-radius: 50%;
  background: #fff;
  top: 0; bottom: 0; left: 0; right: 0;
}
.kaart__tekst { font-size: .95rem; letter-spacing: .02em; }
.contact__onder { margin-top: .9rem; font-size: .88rem; color: var(--grijs); }

/* ---- slotband ----------------------------------------------------------- */

.slotband { background: var(--wijn); color: #fff; padding-block: clamp(2.75rem, 5.5vw, 4.5rem); }
.slotband__binnen {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.slotband__titel {
  font-family: var(--letter-kop);
  font-size: clamp(1.8rem, 4.2vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -.02em;
}
.slotband__knoppen { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---- voet --------------------------------------------------------------- */

.voet { background: var(--inkt); color: rgba(255,255,255,.78); padding-block: clamp(2.75rem, 5vw, 4.25rem) 1.5rem; }
.voet__raster {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
}
.voet__merk { grid-column: 1 / 5; }
.voet__kolom { grid-column: span 3; display: flex; flex-direction: column; align-items: flex-start; }
.voet__plaat {
  background: var(--papier);
  padding: 1rem 1.25rem;
  border-radius: var(--rond);
  width: fit-content;
  max-width: 100%;
}
.voet__logo { width: 230px; max-width: 100%; height: auto; }
.voet__kop {
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--oker);
  font-weight: 600;
  margin-bottom: .75rem;
}
.voet__regel { font-size: .95rem; margin-bottom: .2rem; }
.voet__merk .voet__regel { margin-top: 1.1rem; font-family: var(--letter-kop); color: rgba(255,255,255,.65); }
.voet__link {
  font-size: .95rem;
  text-decoration: none;
  color: rgba(255,255,255,.78);
  padding-block: .18rem;
  transition: color .25s ease;
}
.voet__link:hover { color: #fff; }

.voet__onder {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,.14);
}
.voet__fijn { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.5); }

/* ---- onthullen ---------------------------------------------------------- */

.js-reveal [data-reveal],
.js-reveal [data-reveal-group] > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .75s cubic-bezier(.22,.61,.36,1), transform .75s cubic-bezier(.22,.61,.36,1);
}
.js-reveal [data-reveal].is-in,
.js-reveal [data-reveal-group].is-in > * {
  opacity: 1;
  transform: none;
}
.js-reveal [data-reveal-group].is-in > *:nth-child(2) { transition-delay: .09s; }
.js-reveal [data-reveal-group].is-in > *:nth-child(3) { transition-delay: .18s; }
.js-reveal [data-reveal-group].is-in > *:nth-child(4) { transition-delay: .27s; }

/* ---- breder dan 1040: niets. Smaller: ---------------------------------- */

@media (max-width: 1040px) {
  .uren-blok__links { grid-column: 1 / 8; }
  .spoed { grid-column: 8 / 13; }
  .kliniek__woord { grid-column: 1 / 7; }
  .kliniek__beeld--groot { grid-column: 7 / 13; }
  .kliniek__beeld--klein { grid-column: 2 / 8; }
  .team__woord { grid-column: 1 / 13; margin-bottom: 1rem; }
  .persoon--een { grid-column: 1 / 7; }
  .persoon--twee { grid-column: 7 / 13; }
  .spec__kop-links { grid-column: 1 / 13; }
  .spec__kop-rechts { grid-column: 1 / 13; padding-bottom: 0; }
  .snoeten__kop > div { grid-column: 1 / 13; }
  .snoeten__intro { grid-column: 1 / 13; }
  .contact__woord { grid-column: 1 / 13; }
  .contact__kaart { grid-column: 1 / 13; }
  .muur { columns: 3; }
  .voet__merk { grid-column: 1 / 13; }
  .voet__kolom { grid-column: span 4; }
}

@media (max-width: 860px) {
  .hoofdnav {
    position: absolute;
    left: 0; right: 0; top: 100%;
    flex-direction: column;
    gap: 0;
    background: var(--papier);
    border-top: 1px solid var(--lijn);
    border-bottom: 1px solid var(--lijn);
    padding: .5rem 1.25rem 1rem;
    display: none;
  }
  .hoofdnav.is-open { display: flex; }
  .hoofdnav a { color: var(--inkt); padding-block: .7rem; border-bottom: 1px solid var(--lijn); }
  .hoofdnav a::after { display: none; }
  .kopbalk__bel { display: none; }
  .menuknop {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    background: var(--wijn);
    color: #fff;
    border: 0;
    border-radius: 999px;
    padding: .6rem 1.1rem;
    font: inherit;
    font-size: .88rem;
    font-weight: 600;
    cursor: pointer;
  }
  .menuknop__streep {
    width: 16px; height: 9px;
    border-top: 1.6px solid currentColor;
    border-bottom: 1.6px solid currentColor;
  }

  .uren-blok__raster { gap: 2rem; }
  .uren-blok__links,
  .spoed,
  .mededelingen { grid-column: 1 / 13; }
  .mededelingen { grid-template-columns: 1fr; }

  .kliniek__woord { grid-column: 1 / 13; }
  .kliniek__beeld--groot { grid-column: 1 / 10; margin-top: 2rem; }
  .kliniek__beeld--klein { grid-column: 5 / 13; margin-top: -3rem; }

  .persoon--een,
  .persoon--twee { grid-column: span 6; }
  .persoon--twee { margin-top: 2rem; }

  .dienst--breed,
  .dienst--smal,
  .dienst--derde { grid-column: span 6; }
  .dienst--zak { margin-top: 0; }
  .dienst__beeld--landschap img { aspect-ratio: 4 / 3; }
  .dienst__beeld--band img { aspect-ratio: 16 / 9; }

  .muur { columns: 2; }
  .gegeven { grid-template-columns: 1fr; gap: .3rem; }

  .voet__kolom { grid-column: span 6; }
}

@media (max-width: 560px) {
  :root { --ruim: clamp(2.75rem, 11vw, 4rem); }
  .opening__titel { font-size: clamp(2.5rem, 12vw, 3.6rem); max-width: none; }
  .opening__knoppen .knop { flex: 1 1 100%; }
  .dienst--breed,
  .dienst--smal,
  .dienst--derde { grid-column: 1 / -1; }
  .persoon--een,
  .persoon--twee { grid-column: 1 / -1; }
  .persoon--twee { margin-top: 1.25rem; }
  .kliniek__beeld--groot { grid-column: 1 / 13; }
  .kliniek__beeld--klein { grid-column: 1 / 13; margin-top: 1rem; }
  .slotband__knoppen { width: 100%; }
  .slotband__knoppen .knop { flex: 1 1 100%; }
  .voet__kolom { grid-column: 1 / 13; }
  .voet__logo { width: 190px; }
}

/* ---- rust --------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .js-reveal [data-reveal],
  .js-reveal [data-reveal-group] > * { opacity: 1; transform: none; }
}
