/* Dierenkliniek de Vossenbrink · ontwerpimpressie Home v4 */

@font-face { font-family: "Gasoek One"; src: url("../fonts/gasoek-one-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Atkinson Next"; src: url("../fonts/atkinson-hyperlegible-next-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Atkinson Next"; src: url("../fonts/atkinson-hyperlegible-next-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Atkinson Next"; src: url("../fonts/atkinson-hyperlegible-next-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Atkinson Next"; src: url("../fonts/atkinson-hyperlegible-next-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Atkinson Next"; src: url("../fonts/atkinson-hyperlegible-next-latin-600-italic.woff2") format("woff2"); font-weight: 600; font-style: italic; font-display: swap; }
@font-face { font-family: "Atkinson Mono"; src: url("../fonts/atkinson-hyperlegible-mono-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --creme: #faf6ee;
  --wit: #ffffff;
  --zand: #eae1d3;
  --inkt: #26211e;
  --inkt-zacht: #6a645d;
  --roest: #be4e20;
  --roest-zacht: #f4e3d8;
  --roest-licht: #f0a982;
  --salie: #bfd0c3;
  --salie-zacht: #e5ede7;
  --bos: #2f4b3f;
  --spoed: #c41e2d;

  --g-roest: linear-gradient(140deg, #d2622f 0%, #9e3e17 100%);
  --g-knop: linear-gradient(140deg, #b8501f 0%, #8f3612 100%);
  --g-bos: linear-gradient(140deg, #46695a 0%, #1f352c 100%);
  --g-inkt: linear-gradient(140deg, #3a332e 0%, #171310 100%);
  --g-roest-zacht: linear-gradient(140deg, #faf0e8 0%, #eacbb6 100%);
  --g-salie-zacht: linear-gradient(140deg, #f0f5f1 0%, #d3e1d6 100%);
  --g-salie: linear-gradient(140deg, #d6e3d9 0%, #a6beac 100%);
  --g-spoed: linear-gradient(140deg, #d8323f 0%, #9a1420 100%);

  --schaduw-kaart: 0 16px 36px rgba(38, 33, 31, 0.16);
  --schaduw-knop: 0 6px 14px rgba(38, 33, 31, 0.22);

  --f-kop: "Gasoek One", "Arial Black", sans-serif;
  --f-tekst: "Atkinson Next", "Segoe UI", system-ui, sans-serif;
  --f-mono: "Atkinson Mono", ui-monospace, monospace;

  --wrap: min(1200px, calc(100% - 80px));
  --ease: cubic-bezier(.2, .7, .2, 1);
  --nav-h: 112px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 20px); }
body {
  margin: 0;
  background: var(--creme);
  color: var(--inkt);
  font-family: var(--f-tekst);
  font-size: 17px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
html { overflow-x: clip; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
.wrap { width: var(--wrap); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Typografie */
.kop { font-family: var(--f-kop); font-weight: 400; text-transform: uppercase; line-height: .92; letter-spacing: -0.01em; margin: 0; }
.kop--xl { font-size: clamp(54px, 6.7vw, 96px); }
.kop--l { font-size: clamp(40px, 3.9vw, 56px); }
.kop--m { font-size: clamp(36px, 3.6vw, 52px); }
.kop--s { font-size: 30px; }
.kop--xs { font-size: 22px; }
.kop--xxs { font-size: 20px; }
.label { font-family: var(--f-mono); font-weight: 500; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: var(--inkt-zacht); margin: 0; }
.intro { font-size: 19px; font-weight: 500; color: var(--inkt-zacht); margin: 0; line-height: 1.5; }
.accent { color: var(--roest); }
.hand { font-style: italic; font-weight: 600; font-size: 22px; color: var(--roest); }
.link { font-weight: 700; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; transition: color .2s, text-underline-offset .2s; }
.link:hover { color: var(--roest); text-underline-offset: 7px; }

/* Knoppen */
.knop {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 26px; border-radius: 10px; border: 0;
  font-weight: 700; font-size: 17px; line-height: 22px; text-decoration: none;
  box-shadow: var(--schaduw-knop); cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), filter .2s;
  white-space: nowrap;
}
.knop:hover { transform: translateY(-3px) rotate(-1deg); box-shadow: 0 12px 22px rgba(38,33,31,.26); }
.knop:active { transform: translateY(0) scale(.98); }
.knop--roest { background: var(--g-knop); color: var(--creme); }
.knop--zand { background: var(--zand); color: var(--inkt); }
.knop--inkt { background: var(--g-inkt); color: var(--creme); }
.knop--lijn { background: transparent; color: var(--creme); box-shadow: none; outline: 1.5px solid rgba(250,246,238,.9); outline-offset: -1.5px; }
.knop--lijn:hover { background: rgba(250,246,238,.12); box-shadow: none; }
:focus-visible { outline: 3px solid var(--roest); outline-offset: 3px; border-radius: 4px; }

/* Topbalk */
.topbalk { background: var(--g-inkt); color: var(--creme); font-family: var(--f-mono); font-weight: 500; font-size: 13px; letter-spacing: .08em; }
.topbalk .wrap { display: flex; justify-content: space-between; align-items: center; height: 41px; gap: 24px; }
.topbalk__contact { display: flex; gap: 32px; }
.topbalk a { text-decoration: none; }
.topbalk a:hover { text-decoration: underline; }
.open { display: flex; align-items: center; gap: 10px; }
.status { width: 10px; height: 10px; border-radius: 50%; background: var(--salie); position: relative; }
.status::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: puls 2.2s ease-out infinite; }
@keyframes puls { from { transform: scale(1); opacity: .8; } to { transform: scale(2.8); opacity: 0; } }

/* Navbar */
.kopregel { position: sticky; top: 0; z-index: 50; }
.navbar { background: var(--creme); position: relative; transition: box-shadow .3s; overflow-x: clip; }
.kopregel.is-gescrold .navbar { box-shadow: 0 8px 24px rgba(38,33,31,.08); }
.navbar > .wrap { height: var(--nav-h); display: flex; align-items: center; position: relative; }
.logo { position: absolute; left: -29px; bottom: 0; width: 430px; height: 96px; display: block; }
.logo-svg { width: 100%; height: 100%; display: block; overflow: visible; }
.logo-svg path { fill: var(--inkt); }
.logo-svg .logo-vos { fill: var(--roest); }
/* Onderlijn die links en rechts doorloopt tot in de pootjes van de vos */
.logo::before, .logo::after { content: ""; position: absolute; bottom: 0; height: 2px; background: var(--roest); }
.logo::before { right: calc(100% - 106px); width: 100vw; }
.logo::after { left: 163px; width: 100vw; }
.logo .vos-wrap { transform-origin: 60px 96px; }
.logo:hover .logo-vos { animation: snuffel .9s var(--ease); transform-box: fill-box; transform-origin: 50% 100%; }
@keyframes snuffel { 0%,100% { transform: rotate(0); } 30% { transform: rotate(-3deg); } 60% { transform: rotate(2deg); } }

.menu { list-style: none; display: flex; gap: 24px; margin: 0 0 0 436px; padding: 0; }
.menu__item { position: relative; }
.menu__link { display: inline-flex; align-items: center; gap: 6px; padding: 10px 0; background: none; border: 0; cursor: pointer; font-weight: 600; font-size: 17px; text-decoration: none; color: var(--inkt); position: relative; }
.menu__link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--roest); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.menu__link:hover::after, .menu__link[aria-expanded="true"]::after { transform: scaleX(1); }
.menu__link[aria-expanded="true"] { color: var(--roest); }
.pijl { width: 10px; height: 6px; transition: transform .3s var(--ease); }
.menu__link[aria-expanded="true"] .pijl { transform: rotate(180deg); }
.navbar__knop { margin-left: auto; }
.menuknop { display: none; }

/* Megamenu */
.megamenu {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--creme);
  box-shadow: 0 24px 48px rgba(38,33,31,.18);
  visibility: hidden; opacity: 0; transform: translateY(-14px);
  transition: opacity .28s var(--ease), transform .35s var(--ease), visibility 0s linear .35s;
  z-index: 40;
}
.megamenu.is-open { visibility: visible; opacity: 1; transform: translateY(0); transition: opacity .28s var(--ease), transform .35s var(--ease); }
.megamenu__indicator { position: absolute; top: 0; height: 4px; background: var(--roest); border-radius: 0 0 4px 4px; transition: left .3s var(--ease), width .3s var(--ease); }
.megamenu__inner { display: grid; grid-template-columns: 392px 1fr; gap: 72px; padding: 56px 0 64px; }
.megamenu__intro .label { margin-bottom: 18px; }
.megamenu__intro .kop { font-size: 40px; margin-bottom: 20px; }
.megamenu__intro p { color: var(--inkt-zacht); margin: 0 0 28px; line-height: 1.5; }
.megamenu__kaarten { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.mm-kaart { background: var(--wit); border-radius: 20px; padding: 16px 16px 26px; box-shadow: var(--schaduw-kaart); text-decoration: none; display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.mm-kaart:hover { transform: translateY(-6px) rotate(-.6deg); box-shadow: 0 24px 44px rgba(38,33,31,.2); }
.mm-kaart__foto { border-radius: 12px; overflow: hidden; aspect-ratio: 320 / 196; }
.mm-kaart__foto img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.mm-kaart:hover .mm-kaart__foto img { transform: scale(1.06); }
.mm-kaart__tekst { padding: 22px 10px 0; display: flex; flex-direction: column; flex: 1; }
.mm-kaart__tekst .kop { font-size: 24px; margin-bottom: 12px; }
.mm-kaart__tekst p { font-size: 15px; color: var(--inkt-zacht); margin: 0 0 18px; line-height: 1.5; }
.mm-kaart__tekst .link { margin-top: auto; font-size: 16px; }
.mm-kaart > * { opacity: 0; transform: translateY(10px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.megamenu.is-open .mm-kaart > * { opacity: 1; transform: none; }
.megamenu.is-open .mm-kaart:nth-child(1) > * { transition-delay: .08s; }
.megamenu.is-open .mm-kaart:nth-child(2) > * { transition-delay: .16s; }
.dimlaag { position: fixed; inset: 0; background: rgba(38,33,30,.45); opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s linear .3s; z-index: 30; }
.dimlaag.is-open { opacity: 1; visibility: visible; transition: opacity .3s; }

/* Hero */
.hero { position: relative; min-height: 860px; border-radius: 0 0 48px 48px; overflow: hidden; background: var(--zand); color: var(--creme); isolation: isolate; }
.hero__foto { position: absolute; inset: -6% 0 0 0; background: url("../img/hero-hond.jpg") 0% 30% / cover no-repeat; z-index: -2; will-change: transform; animation: inzoomen 1.6s var(--ease) both; }
@keyframes inzoomen { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(58,58,58,.78) 0%, rgba(58,58,58,.15) 62%, rgba(58,58,58,0) 100%); }
.hero .wrap { padding-top: 231px; padding-bottom: 120px; }
.hero__kop { max-width: 820px; }
.hero__kop .kop span { display: block; }
.hero__kop .kop .accent { color: var(--roest-licht); }
.hero__intro { max-width: 620px; font-size: 22px; font-weight: 500; line-height: 1.45; margin: 28px 0 40px; }
.knoppen { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.regel { display: block; overflow: hidden; padding-bottom: .04em; }
.regel > span { display: block; transform: translateY(105%); animation: omhoog .9s var(--ease) forwards; }
.regel:nth-child(2) > span { animation-delay: .1s; }
.regel:nth-child(3) > span { animation-delay: .2s; }
@keyframes omhoog { to { transform: translateY(0); } }
.hero__intro, .hero .knoppen { animation: infaden .9s var(--ease) .45s both; }
.hero .knoppen { animation-delay: .6s; }
@keyframes infaden { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* Ticket */
.vandaag { padding: 64px 0; }
.ticket { display: grid; grid-template-columns: 330px 305px 305px 1fr; background: var(--wit); border-radius: 20px; box-shadow: var(--schaduw-kaart); overflow: hidden; min-height: 267px; }
.ticket__vandaag { background: var(--g-roest); color: var(--creme); padding: 40px; display: flex; flex-direction: column; justify-content: center; gap: 12px; position: relative; }
.ticket__vandaag .label { color: var(--creme); font-size: 13px; }
.ticket__vandaag .kop { font-size: 64px; color: var(--zand); }
.ticket__vandaag strong { font-size: 24px; color: var(--zand); }
.ticket__blok { padding: 40px; display: flex; flex-direction: column; gap: 14px; border-right: 1.5px dashed rgba(38,33,30,.14); }
.ticket__blok .label { font-size: 13px; }
.uren { display: grid; grid-template-columns: auto auto; justify-content: space-between; row-gap: 14px; margin: 0; }
.uren dt { font-weight: 500; }
.uren dd { margin: 0; text-align: right; }
.uren .spoed { color: var(--spoed); font-weight: 700; }
.adres { font-size: 19px; font-weight: 500; margin: 0; line-height: 1.4; font-style: normal; }
.klein { font-size: 15px; color: var(--inkt-zacht); margin: 0; }
.ticket__blok .knop { align-self: flex-start; margin-top: 6px; }
.kaartje { background: var(--g-salie-zacht); position: relative; overflow: hidden; }
.kaartje svg.weg { position: absolute; inset: 0; width: 100%; height: 100%; }
.pin { position: absolute; left: calc(50% - 24px); top: calc(50% - 30px); width: 48px; height: 48px; border-radius: 24px 24px 0 24px; transform: rotate(45deg); background: var(--g-roest); box-shadow: var(--schaduw-knop); animation: stuiter 2.4s var(--ease) infinite; }
.pin::after { content: ""; position: absolute; width: 14px; height: 14px; border-radius: 50%; background: var(--creme); left: 17px; top: 17px; }
@keyframes stuiter { 0%, 60%, 100% { translate: 0 0; } 30% { translate: 0 -14px; } 45% { translate: 0 0; } 52% { translate: 0 -4px; } }

/* Diensten */
.diensten { padding: 120px 0; }
.sectiekop { display: flex; justify-content: space-between; align-items: flex-end; gap: 64px; margin-bottom: 56px; }
.sectiekop .label { margin-bottom: 16px; }
.sectiekop__titel { max-width: 756px; }
.sectiekop .intro { max-width: 380px; }
.masonry { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: start; }
.kolom { display: flex; flex-direction: column; gap: 24px; }
.kolom:nth-child(2) { margin-top: 0; }
.tegel { position: relative; border-radius: 20px; overflow: hidden; box-shadow: var(--schaduw-kaart); display: flex; flex-direction: column; justify-content: flex-end; text-decoration: none; isolation: isolate; transition: transform .45s var(--ease), box-shadow .45s var(--ease); transform: rotate(var(--kanteling, 0deg)); }
.tegel:hover { transform: translateY(-8px) rotate(calc(var(--kanteling, 0deg) * -1 - .6deg)); box-shadow: 0 26px 48px rgba(38,33,31,.22); }
.tegel__tekst { padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.tegel__tekst .nr { font-family: var(--f-mono); font-weight: 500; font-size: 13px; letter-spacing: .08em; }
.tegel__tekst p { margin: 0; }
.tegel__tekst .link { font-size: 16px; align-self: flex-start; }
.tegel--foto { color: var(--creme); }
.tegel--foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.tegel--foto::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(26,20,18,0) 30%, rgba(26,20,18,.55) 62%, rgba(26,20,18,.9) 100%); }
.tegel--foto:hover img { transform: scale(1.06); }
.tegel--foto .link:hover { color: var(--roest-licht); }
.tegel--nummer .grafiek { height: 150px; position: relative; overflow: hidden; }
.tegel--nummer .groot { position: absolute; left: -14px; top: -60px; font-family: var(--f-kop); font-size: 180px; line-height: .92; opacity: .55; transition: transform .6s var(--ease); }
.tegel--nummer:hover .groot { transform: translateY(14px); }
.tegel--zacht { background: var(--g-roest-zacht); }
.tegel--zacht .groot { color: var(--roest); }
.tegel--roest { background: var(--g-roest); color: var(--creme); }
.tegel--roest .grafiek { height: 190px; }
.tegel--roest .kop { color: var(--inkt); }
.tegel--roest .groot { color: var(--creme); }
.tegel--roest .link:hover { color: var(--inkt); }
.tegel--alle { background: var(--g-inkt); color: var(--creme); padding: 32px; gap: 18px; }
.tegel--alle .groot-plus { font-family: var(--f-kop); font-size: 84px; line-height: .92; color: var(--salie); }
.tegel--alle p { font-size: 19px; font-weight: 500; margin: 0; }
.tegel--alle .knop { align-self: flex-start; }

/* Zorgplan */
.zorgplan { padding: 24px 0; }
.zorgplan__band { background: var(--g-bos); color: var(--creme); border-radius: 20px; padding: 64px; display: grid; grid-template-columns: 1fr 400px; gap: 64px; align-items: center; box-shadow: var(--schaduw-kaart); position: relative; overflow: hidden; }
.zorgplan__band .label { color: var(--creme); }
.zorgplan__tekst { display: flex; flex-direction: column; gap: 20px; }
.zorgplan__tekst .intro { color: var(--creme); }
.chips { display: flex; flex-wrap: wrap; gap: 10px 12px; list-style: none; padding: 0; margin: 0; }
.chip { background: var(--creme); color: var(--inkt); border-radius: 2px; padding: 10px 16px; font-weight: 600; font-size: 16px; display: inline-flex; align-items: center; gap: 8px; transition: transform .3s var(--ease); }
.chip::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--roest); }
.chip:nth-child(odd):hover { transform: rotate(-2deg) translateY(-2px); }
.chip:nth-child(even):hover { transform: rotate(2deg) translateY(-2px); }
.zorgplan__tekst .knop { align-self: flex-start; margin-top: 8px; }
.fotokaart { width: 380px; height: 420px; margin: -10px 0 0 10px; border-radius: 190px 190px 15px 15px; overflow: hidden; box-shadow: 0 24px 40px rgba(0,0,0,.28); transform: rotate(var(--kantel, 0deg)); transition: transform .2s linear; }
.fotokaart img { width: 100%; height: 100%; object-fit: cover; }

/* Trimsalon */
.trimsalon { padding: 140px 0; }
.trimsalon .wrap { display: grid; grid-template-columns: 500px 1fr; gap: 96px; align-items: center; }
.fotocompositie { position: relative; height: 560px; }
.fotocompositie__foto { position: absolute; left: 60px; top: 40px; width: 420px; height: 500px; border-radius: 20px; overflow: hidden; box-shadow: var(--schaduw-kaart); will-change: transform; }
.fotocompositie__foto img { width: 100%; height: 115%; object-fit: cover; will-change: transform; }
.trimsalon__tekst { display: flex; flex-direction: column; gap: 22px; }
.trimsalon__tekst .knoppen { gap: 20px; }
.trimsalon__tekst .knop { border-radius: 6px; }
.krabbel { display: inline-block; transform: rotate(-3deg); transition: transform .3s var(--ease); }
.krabbel:hover { transform: rotate(2deg) scale(1.05); }

/* Actueel */
.actueel { background: var(--g-roest-zacht); border-radius: 20px; padding: 120px 0; }
.bediening { display: flex; align-items: center; gap: 12px; }
.bediening .link { font-size: 18px; }
.rond { width: 56px; height: 56px; border-radius: 30px; border: 0; display: grid; place-items: center; cursor: pointer; box-shadow: var(--schaduw-knop); transition: transform .25s var(--ease); }
.rond:hover { transform: scale(1.08); }
.rond--licht { background: var(--creme); color: var(--inkt); }
.rond--donker { background: var(--g-inkt); color: var(--creme); }
.berichten { display: grid; grid-template-columns: 616fr 560fr; gap: 24px; }
.bericht { background: var(--creme); border-radius: 20px; overflow: hidden; box-shadow: var(--schaduw-kaart); display: flex; text-decoration: none; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.bericht:hover { transform: translateY(-6px); box-shadow: 0 26px 48px rgba(38,33,31,.2); }
.bericht__foto { overflow: hidden; }
.bericht__foto img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.bericht:hover .bericht__foto img { transform: scale(1.05); }
.bericht--groot { flex-direction: column; }
.bericht--groot .bericht__foto { height: 360px; }
.bericht--groot .bericht__tekst { padding: 36px; }
.recent { display: flex; flex-direction: column; gap: 24px; }
.bericht--klein { min-height: 287px; }
.bericht--klein .bericht__foto { width: 265px; flex: none; }
.bericht--klein .bericht__tekst { padding: 28px; }
.bericht__tekst { display: flex; flex-direction: column; gap: 12px; }
.bericht__tekst p { margin: 0; color: var(--inkt-zacht); }
.bericht--groot .bericht__tekst p { font-size: 18px; }
.bericht--klein .bericht__tekst p { font-size: 16px; }
.bericht__tekst .link { align-self: flex-start; font-size: 16px; }
.meta { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; color: var(--inkt-zacht); }
.tag { font-family: var(--f-mono); font-weight: 500; font-size: 12px; letter-spacing: .08em; padding: 5px 10px; border-radius: 2px; color: var(--inkt); }
.tag--salie { background: var(--g-salie); }
.tag--roest { background: var(--g-roest); color: var(--creme); }
.tag--zand { background: var(--zand); }

/* Instagram */
.instagram { padding: 150px 0 200px; }
.instagram__kop { display: flex; align-items: flex-end; gap: 32px; margin-bottom: 56px; }
.instagram__kop .label { margin-bottom: 12px; }
.handle { font-family: var(--f-kop); font-size: 48px; line-height: 1; margin: 0; letter-spacing: -0.01em; }
.instagram__kop .hand { margin-bottom: 10px; }
.instagram__kop .knop { margin-left: auto; border-radius: 15px; }
.polaroids { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 45px; }
.polaroid { background: var(--wit); border-radius: 2px; padding: 18px 18px 24px; box-shadow: var(--schaduw-kaart); text-decoration: none; display: flex; flex-direction: column; gap: 14px; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.polaroid:hover { transform: rotate(var(--hover-kantel, -2deg)) translateY(-6px) scale(1.02); box-shadow: 0 26px 48px rgba(38,33,31,.22); }
.polaroid:nth-child(2) { --hover-kantel: 1.5deg; }
.polaroid:nth-child(3) { --hover-kantel: -1deg; }
.polaroid__foto { aspect-ratio: 334 / 330; overflow: hidden; }
.polaroid__foto img { width: 100%; height: 100%; object-fit: cover; }
.polaroid p { margin: 0; font-style: italic; font-weight: 600; font-size: 18px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* Polaroids vallen op hun plek */
.polaroids .polaroid { opacity: 0; transform: translateY(-60px) rotate(var(--val, -8deg)); }
.polaroids .polaroid:nth-child(2) { --val: 6deg; }
.polaroids .polaroid:nth-child(3) { --val: -4deg; }
.polaroids.is-zichtbaar .polaroid { opacity: 1; transform: none; transition: opacity .5s var(--ease), transform .9s cubic-bezier(.34, 1.56, .64, 1); }
.polaroids.is-zichtbaar .polaroid:nth-child(2) { transition-delay: .12s; }
.polaroids.is-zichtbaar .polaroid:nth-child(3) { transition-delay: .24s; }
.polaroids.is-zichtbaar .polaroid:hover { transform: rotate(var(--hover-kantel, -2deg)) translateY(-6px) scale(1.02); transition-delay: 0s; transition-duration: .45s; }

/* CTA en footer */
.afsluiter { position: relative; }
.cta {
  position: relative; z-index: 2; margin-bottom: -246px;
  background: var(--g-roest); color: var(--creme);
  border-radius: 20px; box-shadow: var(--schaduw-kaart);
  padding: 64px 72px; display: grid; grid-template-columns: 1fr 336px; gap: 60px; align-items: end;
  overflow: hidden; min-height: 370px;
}
.cta .label { color: var(--creme); font-size: 13px; margin-bottom: 20px; }
.cta .kop { font-size: 56px; margin-bottom: 36px; max-width: 660px; }
.cta .knoppen { gap: 14px; }
.cta .knop { border-radius: 15px; padding: 18px 30px; }
.cta__bellen .label { margin-bottom: 10px; }
.cta__bellen a { font-family: var(--f-kop); font-size: 36px; line-height: 1; text-decoration: none; display: inline-block; margin-bottom: 8px; transition: transform .3s var(--ease); }
.cta__bellen a:hover { transform: translateX(4px); }
.cta__bellen p { margin: 0; font-size: 16px; font-weight: 500; }
.boog { position: absolute; right: 0; top: 65px; width: 300px; height: 340px; border: 1.5px solid var(--creme); border-bottom: 0; border-radius: 150px 150px 0 0; opacity: .5; pointer-events: none; transform: translateY(var(--boog-y, 0)); }
.footer { background: var(--g-inkt); color: var(--creme); padding-top: 330px; }
.kolommen { display: grid; grid-template-columns: 300px 288px 200px 220px; justify-content: space-between; padding-top: 56px; border-top: 1px solid rgba(250,246,238,.22); }
.kolommen h3 { font-family: var(--f-kop); font-weight: 400; text-transform: uppercase; font-size: 20px; margin: 0 0 26px; }
.kolommen ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.kolommen li, .kolommen a { font-size: 19px; font-weight: 500; text-decoration: none; }
.kolommen a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size .3s var(--ease); }
.kolommen a:hover { background-size: 100% 2px; }
.kolommen .licht { color: var(--roest-licht); font-weight: 700; }
.onderstrook { display: flex; justify-content: space-between; padding: 16px 0; margin-top: 72px; font-size: 14px; font-weight: 500; }
.onderstrook .juridisch { opacity: .7; }
.onderstrook a { text-decoration: none; }
.onderstrook a:hover { text-decoration: underline; }
.onderstrook strong { font-weight: 700; }

/* Spoedknop */
.spoedknop {
  position: fixed; right: 32px; bottom: 36px; z-index: 60;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 22px; border-radius: 10px; background: var(--g-spoed); color: var(--wit);
  font-weight: 700; font-size: 17px; text-decoration: none; box-shadow: 0 10px 24px rgba(154,20,32,.35);
  animation: zweef 4s ease-in-out infinite;
}
.spoedknop::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--wit); box-shadow: 0 0 0 0 rgba(255,255,255,.7); animation: spoedpuls 1.8s ease-out infinite; }
.spoedknop.wiebel { animation: wiebel .8s ease-in-out, zweef 4s ease-in-out infinite .8s; }
.spoedknop:hover { filter: brightness(1.08); }
@keyframes zweef { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }
@keyframes wiebel { 0%, 100% { rotate: 0deg; } 15% { rotate: -6deg; } 30% { rotate: 5deg; } 45% { rotate: -4deg; } 60% { rotate: 3deg; } 75% { rotate: -1deg; } }
@keyframes spoedpuls { to { box-shadow: 0 0 0 10px rgba(255,255,255,0); } }
.actiebalk { display: none; }

/* Scroll-reveal */
.onthul { opacity: 0; transform: translateY(36px); transition: opacity .8s var(--ease), transform .9s var(--ease); transition-delay: var(--vertraging, 0s); }
.onthul.is-zichtbaar { opacity: 1; transform: none; }
.tegel.onthul.is-zichtbaar { transform: rotate(var(--kanteling, 0deg)); }
.tegel.onthul.is-zichtbaar:hover { transform: translateY(-8px) rotate(calc(var(--kanteling, 0deg) * -1 - .6deg)); transition-delay: 0s; }

/* Kleinere schermen: eenvoudige fallback */
@media (max-width: 1180px) {
  .menu { margin-left: 420px; gap: 18px; }
  .menu__link { font-size: 16px; }
  .ticket { grid-template-columns: 1fr 1fr; }
  .kaartje { min-height: 220px; }
  .trimsalon .wrap { grid-template-columns: 1fr 1fr; gap: 56px; }
  .fotocompositie__foto { left: 0; width: 100%; }
  .zorgplan__band { grid-template-columns: 1fr; }
  .fotokaart { margin: 0 auto; }
  .kolommen { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
}
@media (max-width: 1060px) {
  :root { --nav-h: 73px; --wrap: calc(100% - 40px); }
  .topbalk__contact span:last-child { display: none; }
  .topbalk { font-size: 12px; letter-spacing: .03em; white-space: nowrap; }
  .topbalk .wrap { gap: 12px; }
  .logo { left: -16px; width: 233px; height: 52px; }
  .logo::before { right: calc(100% - 57px); }
  .logo::after { left: 87px; }
  .menu, .navbar__knop { display: none; }
  .menuknop { display: inline-flex; margin-left: auto; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 10px; border: 0; background: var(--g-inkt); color: var(--creme); font-weight: 700; cursor: pointer; }
  .mobielmenu { position: absolute; left: 0; right: 0; top: 100%; background: var(--creme); padding: 8px 20px 28px; box-shadow: 0 24px 40px rgba(38,33,31,.18); display: none; max-height: calc(100vh - var(--nav-h)); overflow: auto; }
  .mobielmenu.is-open { display: block; }
  .megamenu, .dimlaag { display: none; }
  .hero { min-height: 0; }
  .hero__foto { background-size: cover; background-position: 52% 50%; }
  .hero::before { background: linear-gradient(0deg, rgba(38,33,30,.85) 0%, rgba(38,33,30,.35) 60%, rgba(38,33,30,.1) 100%); }
  .hero .wrap { padding-top: 300px; padding-bottom: 64px; }
  .hero__intro { font-size: 18px; }
  .hero .kop--xl { font-size: 46px; }
  .kolommen h3 { font-size: 17px; }
  .ticket { grid-template-columns: 1fr; }
  .ticket__blok { border-right: 0; border-bottom: 1.5px dashed rgba(38,33,30,.14); }
  .sectiekop, .instagram__kop { flex-direction: column; align-items: flex-start; gap: 20px; }
  .instagram__kop .knop { margin-left: 0; }
  .masonry { grid-template-columns: 1fr; }
  .tegel--foto { min-height: 420px; }
  .zorgplan__band { padding: 32px 24px; }
  .fotokaart { width: 100%; max-width: 380px; height: 380px; }
  .trimsalon { padding: 72px 0; }
  .trimsalon .wrap { grid-template-columns: 1fr; }
  .fotocompositie { height: 420px; }
  .fotocompositie__foto { top: 0; height: 100%; }
  .actueel, .diensten { padding: 72px 0; }
  .berichten { grid-template-columns: 1fr; }
  .bericht--klein { flex-direction: column; }
  .bericht--klein .bericht__foto { width: 100%; height: 200px; }
  .bediening .rond { display: none; }
  .instagram { padding: 72px 0 200px; }
  .polaroids { grid-template-columns: 1fr; gap: 24px; }
  .handle { font-size: 32px; }
  .cta { grid-template-columns: 1fr; padding: 32px 24px; gap: 28px; margin-bottom: -150px; }
  .cta .kop { font-size: 36px; margin-bottom: 24px; }
  .footer { padding-top: 220px; padding-bottom: 100px; }
  .kolommen { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 20px; }
  .kolommen li, .kolommen a { font-size: 17px; overflow-wrap: anywhere; }
  .onderstrook { flex-direction: column; gap: 8px; }
  .spoedknop { display: none; }
  .actiebalk { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; gap: 10px; padding: 12px 16px; background: var(--creme); box-shadow: 0 -8px 24px rgba(38,33,31,.12); }
  .actiebalk .knop { flex: 1; justify-content: center; }
  .actiebalk .knop--spoed { flex: none; background: var(--g-spoed); color: var(--wit); }
}
.mobielmenu { display: none; }
.mobielmenu ul { list-style: none; margin: 0; padding: 0; }
.mobielmenu > ul > li { border-bottom: 1px solid rgba(38,33,30,.14); }
.mobielmenu .mm-rij { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 14px 0; background: none; border: 0; font-family: var(--f-kop); font-size: 26px; text-transform: uppercase; text-decoration: none; text-align: left; cursor: pointer; color: var(--inkt); }
.mobielmenu .mm-rij[aria-expanded="true"] { color: var(--roest); }
.mobielmenu .mm-rij[aria-expanded="true"] .pijl { transform: rotate(180deg); }
.mobielmenu .sub { display: none; margin: 0 0 12px 16px; border-left: 2px solid var(--inkt); }
.mobielmenu .sub.is-open { display: block; }
.mobielmenu .sub a { display: block; padding: 10px 14px; font-weight: 700; font-size: 18px; text-decoration: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .onthul, .polaroids .polaroid, .regel > span { opacity: 1 !important; transform: none !important; }
}
