/* =========================================================================
   Het Witte Paard - site.css
   Rebuilt from a full-render capture of the original site (Sept 2026).
   Breakpoints follow the original: tablet <= 1024px, mobile <= 767px.
   ========================================================================= */

:root {
  --c-dark: #202020;
  --c-footer: #232323;
  --c-text: #2d2424;
  --c-muted: #7a7a7a;
  --c-quote: #bbbbbb;
  --c-orange: #e55934;
  --c-gold: #d1b05f;
  --c-blue: #245065;
  --c-btn: #171717;
  --f-slab: "Roboto Slab", Georgia, "Times New Roman", serif;
  --f-roboto: "Roboto", "Helvetica Neue", Arial, sans-serif;
  /* The original theme names "Rubik" but never loads it, so visitors see
     their system sans-serif. We match that directly. */
  --f-sans: Arial, "Helvetica Neue", Helvetica, sans-serif;
}

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

body.page-home,
body.page-rebuilt {
  margin: 0;
  font-family: var(--f-sans);
  font-size: 18px;
  line-height: 1.7;
  color: var(--c-muted);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
/* Low-specificity resets (:where) so component rules below always win */
:where(.page-home, .page-rebuilt) img { max-width: 100%; }
:where(.page-home, .page-rebuilt) :where(h1, h2, h3, p, ul, blockquote, fieldset) { margin: 0; }
:where(.page-home, .page-rebuilt) a { text-decoration: none; }

/* ------------------------------------------------------------------ Header */
.hdr { position: relative; z-index: 50; background: #fff; font-family: var(--f-sans); }
.hdr__inner {
  max-width: 1140px; margin: 0 auto; height: 85px; padding: 10px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 30px;
}
.hdr__brand { display: block; flex: 0 0 auto; }
.hdr__logo { display: block; height: auto; }
.hdr__logo--desk { width: 243px; }
.hdr__logo--mob { display: none; width: 200px; }

.hdr__nav { display: flex; align-items: center; gap: 0; margin-left: auto; }
.hdr__nav a {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 0 29px; font-size: 17px; line-height: 1; color: #000; text-decoration: none;
  transition: opacity .2s ease;
}
.hdr__nav a img { width: 16px; height: 16px; display: block; }
.hdr__nav a:hover, .hdr__nav a.is-active { opacity: .6; }

/* Desktop: links stay hidden until "Menu" is clicked, then fade/slide in. */
@media (min-width: 1025px) {
  .hdr__nav { margin-right: -14px; visibility: hidden; transition: visibility 0s linear .35s; }
  .hdr.is-open .hdr__nav { visibility: visible; transition: none; }
  .hdr__nav a { opacity: 0; visibility: hidden; transform: translateX(14px); transition: opacity .3s ease, transform .35s ease, visibility 0s linear .35s; }
  .hdr.is-open .hdr__nav a { opacity: 1; visibility: visible; transform: none; transition: opacity .3s ease, transform .35s ease; }
  .hdr.is-open .hdr__nav a:nth-child(2) { transition-delay: .04s; }
  .hdr.is-open .hdr__nav a:nth-child(3) { transition-delay: .08s; }
  .hdr.is-open .hdr__nav a:nth-child(4) { transition-delay: .12s; }
  .hdr.is-open .hdr__nav a:nth-child(5) { transition-delay: .16s; }
  .hdr.is-open .hdr__nav a:hover, .hdr.is-open .hdr__nav a.is-active { opacity: .6; }
}

.hdr__toggle {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 15px;
  background: none; border: 0; padding: 8px 0 8px 10px; cursor: pointer;
  font: 400 17px/1 var(--f-sans); color: #000; margin-right: 15px;
}
.hdr__burger { position: relative; width: 22px; height: 14px; display: inline-block; }
.hdr__burger i {
  position: absolute; right: 0; height: 2px; background: currentColor; border-radius: 1px;
  transition: transform .3s ease, top .3s ease, width .3s ease;
}
.hdr__burger i:nth-child(1) { top: 3px; width: 22px; }
.hdr__burger i:nth-child(2) { top: 9px; width: 22px; }
.hdr.is-open .hdr__burger i:nth-child(1) { top: 6px; transform: rotate(45deg); }
.hdr.is-open .hdr__burger i:nth-child(2) { top: 6px; transform: rotate(-45deg); }

/* -------------------------------------------------------------------- Hero */
.hero {
  position: relative; height: 600px; margin: 0 40px; overflow: hidden;
  background: #302e2d; color: #fff;
}
.hero__slides, .hero__slide, .hero__img { position: absolute; inset: 0; }
.hero__slide { visibility: hidden; z-index: 1; }
.hero__slide.is-active { visibility: visible; z-index: 2; }
.hero__slide.is-leaving { visibility: visible; z-index: 1; }

.hero__img { overflow: hidden; }
.hero__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 7s ease-out; }
.hero__img::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(199deg, rgba(0,0,0,0) 29%, #353535 100%);
}
.hero__slide.is-active .hero__img img { transform: scale(1); }

/* New slide wipes in from the bottom, like the original "animated frames" */
.hero__slide.is-entering .hero__img { animation: heroWipe 1.1s cubic-bezier(.77,0,.18,1) both; }
@keyframes heroWipe { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }

.hero__content {
  position: relative; z-index: 3; height: 100%;
  max-width: 1080px; margin: 0 auto; padding-bottom: 6px;
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
}
.hero__title {
  font-family: var(--f-slab); font-weight: 500; font-size: 5.1vw; line-height: 1.1;
  color: #fff; overflow: hidden;
}
.hero__title--main { font-size: 4.5vw; }
.hero__slide:first-child .hero__content { padding-bottom: 60px; }
.hero__desc { margin-top: 40px; font: 400 18px/1.7 var(--f-sans); color: #fff; max-width: 1080px; overflow: hidden; }
.hero__title span, .hero__desc span, .hero__link { display: inline-block; }

.hero__link {
  margin-top: 17px; display: inline-flex; align-items: center; gap: 10px;
  font: 700 12px/1 var(--f-sans); letter-spacing: 1.2px; text-transform: uppercase;
  color: rgba(255,255,255,.84); transition: color .2s ease;
}
.hero__link svg { width: 16px; height: 16px; transition: transform .25s ease; }
.hero__link:hover { color: #fff; }
.hero__link:hover svg { transform: translateX(4px); }

/* Text rises in when a slide becomes active */
.hero__slide.is-active .hero__title span,
.hero__slide.is-active .hero__desc span,
.hero__slide.is-active .hero__link { animation: heroRise .9s cubic-bezier(.23,1,.32,1) both; }
.hero__slide.is-active .hero__title span { animation-delay: .35s; }
.hero__slide.is-active .hero__desc span { animation-delay: .5s; }
.hero__slide.is-active .hero__link { animation-delay: .55s; }
@keyframes heroRise { from { transform: translateY(105%); opacity: 0; } to { transform: none; opacity: 1; } }

.hero__nav { position: absolute; z-index: 5; left: 57px; bottom: 72px; display: flex; gap: 36px; }
.hero__nav-btn {
  width: 30px; height: 30px; padding: 0; border: 0; background: none; cursor: pointer;
  color: rgba(255,255,255,.75); display: inline-flex; align-items: center; justify-content: center;
  transition: color .2s ease;
}
.hero__nav-btn svg { width: 24px; height: 24px; }
.hero__nav-btn:hover { color: #fff; }

@media (prefers-reduced-motion: reduce) {
  .hero__img img { transition: none; transform: none; }
  .hero__slide.is-entering .hero__img,
  .hero__slide.is-active .hero__title span,
  .hero__slide.is-active .hero__desc span,
  .hero__slide.is-active .hero__link { animation: none; }
}

/* ------------------------------------------------------- Motto + contact */
.intro__inner {
  max-width: 1140px; margin: 0 auto;
  display: grid; grid-template-columns: 627px 463px; column-gap: 50px; align-items: start;
}
.intro__text { padding-top: 70px; }
.intro__title { font: 400 33px/44px var(--f-slab); color: var(--c-text); max-width: 560px; }
.intro__title span { color: var(--c-quote); }
.intro__text p { margin-top: 20px; font: 300 17px/35px var(--f-roboto); color: var(--c-text); }

.intro__contact {
  position: relative; z-index: 5; margin-top: -90px; min-height: 299px; padding: 13px 20px 34px;
  display: flex; align-items: center; justify-content: center; text-align: center;
  background-color: var(--c-orange); overflow: hidden;
  font: 400 20px/34px var(--f-slab); color: #fff; text-decoration: none;
}
.intro__contact::before {
  content: ""; position: absolute; inset: 0; opacity: .19; mix-blend-mode: multiply;
  background: url("/images/brand/horse-watermark.svg") no-repeat right bottom / 39% auto;
}
.intro__contact span { position: relative; }
.intro__contact:hover span { text-decoration: underline; text-underline-offset: 4px; }

/* ---------------------------------------------- "Wat wil je organiseren?" */
.organise { position: relative; margin-top: 25px; padding-bottom: 200px; }
.organise__band {
  position: absolute; top: 0; left: 40px; right: 40px; height: 634px;
  background: var(--c-dark); overflow: hidden;
  clip-path: polygon(0 160px, 100% 10px, 100% calc(100% - 160px), 0 calc(100% - 10px));
}
.organise__band::before {
  content: ""; position: absolute; right: 0; top: 10px; width: 199px; height: 367px;
  background: url("/images/brand/horse-watermark-dark.svg") no-repeat right top / contain;
}
.organise__inner { position: relative; max-width: 1140px; margin: 0 auto; padding-top: 225px; }
.organise__title { font: 400 40px/44px var(--f-slab); color: #fff; text-align: center; }
.organise__title span { color: var(--c-orange); }

.organise__cards {
  display: grid; grid-template-columns: repeat(3, 347px); justify-content: space-between;
  margin-top: 75px; align-items: start;
}
.card { display: block; color: #fff; text-decoration: none; transition: transform .35s ease; }
.card--trouwen { margin-top: 50px; }
.card--feesten { margin-top: 0; }
.card--zakelijk { margin-top: 80px; }
.card:hover { transform: translateY(-6px); }
.card__photo { height: 400px; background-size: cover; background-position: center; }
.card__body { min-height: 198px; padding: 25px; text-align: center; }
.card--trouwen .card__body { background: var(--c-gold); }
.card--feesten .card__body { background: var(--c-orange); }
.card--zakelijk .card__body { background: var(--c-blue); }
.card__title { font: 500 30px/30px var(--f-slab); color: #fff; }
.card__text { margin-top: 9px; font: 300 16px/27.2px var(--f-sans); color: #fff; }
.card__btn {
  display: inline-block; margin-top: 21px; padding: 10px 25px; background: var(--c-btn);
  font: 400 15px/15px var(--f-sans); color: #fff; transition: background .2s ease;
}
.card:hover .card__btn { background: #000; }

/* -------------------------------------------------------- Photo band */
.photo-band {
  height: 336px; margin: 0 40px; background-color: #ddd;
  background-size: cover; background-position: center left; background-repeat: no-repeat;
}

/* ------------------------------------------------------------------ Footer */
.ftr { background: var(--c-footer); color: #fff; font-family: var(--f-roboto); }
.ftr a { color: inherit; text-decoration: none; }
.ftr__wrap { max-width: 1110px; margin: 0 auto; }
.ftr__top { padding: 50px 0 40px; }
.ftr__logo { display: block; width: 260px; height: auto; }

.ftr__main { display: grid; grid-template-columns: 1fr 140px 121px; padding: 30px 0 5px; min-height: 222px; }
.ftr__contact { display: flex; flex-direction: column; gap: 59px; }
.ftr__item { display: inline-flex; align-items: center; gap: 30px; align-self: flex-start; }
.ftr__icon { width: 20px; height: 20px; flex: 0 0 20px; }
.ftr__item > span { display: flex; flex-direction: column; }
.ftr__label { font: 300 14px/14px var(--f-roboto); color: rgba(255,255,255,.49); margin-bottom: 5px; }
.ftr__value { font: 400 16px/20.4px var(--f-roboto); color: #fff; transition: opacity .2s ease; }
.ftr__item:hover .ftr__value { opacity: .75; }

.ftr__col h3 { margin: 0; font: 500 17px/20.4px var(--f-roboto); color: #fff; }
.ftr__col ul { list-style: none; margin: 59px 0 0; padding: 0; }
.ftr__col li { font-size: 16px; line-height: 27.2px; }
.ftr__col li a { font: 400 16px/27.2px var(--f-roboto); color: #b7b7b7; transition: color .2s ease; }
.ftr__col li a:hover { color: #fff; }
.ftr__social { display: flex; gap: 17px; margin-top: 59px; }
.ftr__social a {
  width: 37px; height: 37px; border-radius: 50%; background: #fff; color: #000;
  display: inline-flex; align-items: center; justify-content: center; transition: transform .2s ease;
}
.ftr__social a:hover { transform: translateY(-2px); }
.ftr__social svg { width: 14px; height: 14px; }

.ftr__bottom {
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid rgba(255,255,255,.15); margin-top: 35px; padding: 61px 0 37px;
}
.ftr__bottom p { margin: 0; font: 400 14px/23.8px var(--f-roboto); color: var(--c-muted); }
.ftr__legal { display: flex; gap: 40px; }
.ftr__legal a { font: 400 14px/21px var(--f-sans); color: #fff; transition: opacity .2s ease; }
.ftr__legal a:hover { opacity: .7; }

/* --------------------------------------------------------- WhatsApp */
.wa-btn {
  position: fixed; right: 20px; bottom: 24px; z-index: 60;
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 24px;
  background: #25d366; color: #fff; text-decoration: none;
  font: 400 16px/16px var(--f-sans);
  box-shadow: 0 1px 6px rgba(0,0,0,.06), 0 2px 32px rgba(0,0,0,.16);
  transition: transform .2s ease, box-shadow .2s ease;
}
.wa-btn svg { width: 16px; height: 16px; }
.wa-btn:hover { transform: translateY(-2px); box-shadow: 0 1px 6px rgba(0,0,0,.08), 0 4px 32px rgba(0,0,0,.22); }

/* ================================================================ Tablet */
@media (max-width: 1024px) {
  .hdr__inner { height: 97px; padding: 0 20px; max-width: none; }
  .hdr__logo--desk { display: none; }
  .hdr__logo--mob { display: block; }
  .hdr__toggle-txt { display: none; }
  .hdr__toggle { padding: 10px 0 10px 10px; }
  .hdr__burger { width: 22px; height: 16px; }
  .hdr__burger i:nth-child(1) { top: 3px; }
  .hdr__burger i:nth-child(2) { top: 11px; width: 22px; }
  .hdr__burger::before { content: ""; position: absolute; right: 0; top: 7px; width: 22px; height: 2px; background: currentColor; border-radius: 1px; transition: opacity .2s ease; }
  .hdr.is-open .hdr__burger::before { opacity: 0; }
  .hdr.is-open .hdr__burger i:nth-child(1), .hdr.is-open .hdr__burger i:nth-child(2) { top: 7px; }

  .hdr__nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; gap: 0; padding: 12px 0 18px; background: #fff;
    box-shadow: 0 16px 24px -12px rgba(0,0,0,.18);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s;
  }
  .hdr.is-open .hdr__nav { opacity: 1; visibility: visible; transform: none; transition: opacity .25s ease, transform .25s ease; }
  .hdr__nav a { justify-content: center; padding: 19px 0; font-size: 16px; font-weight: 500; width: 100%; gap: 12px; }

  .hero { margin: 0; height: 300px; }
  .hero__content { max-width: none; padding: 0 15px; }
  .hero__title, .hero__title--main { font-size: 4.5vw; }
.hero__slide:first-child .hero__content { padding-bottom: 60px; }
  .hero__desc { margin-top: 30px; }
  .hero__link { margin-top: 14px; }
  .hero__nav { left: 3px; bottom: 16px; gap: 6px; }

  .intro__inner { grid-template-columns: 380px 301px; column-gap: 11px; padding: 0 38px; max-width: none; justify-content: start; }
  .intro__text { padding-top: 43px; }
  .intro__contact { margin-top: -39px; min-height: 459px; padding: 23px 10px; font-size: 16px; line-height: 27.2px; }
  .intro__contact::before { background-size: 29% auto; }

  .organise { margin-top: 47px; padding-bottom: 303px; }
  .organise__band { left: 20px; right: 20px; height: 434px; clip-path: polygon(0 90px, 100% 6px, 100% calc(100% - 90px), 0 calc(100% - 6px)); }
  .organise__band::before { width: 120px; height: 221px; }
  .organise__inner { max-width: none; padding: 95px 38px 0; }
  .organise__title { padding-left: 0; }
  .organise__cards { grid-template-columns: repeat(2, 311px); justify-content: space-between; margin-top: 46px; row-gap: 29px; }
  .card--trouwen { margin-top: 50px; }
  .card--zakelijk { margin-top: 0; }

  .photo-band { margin: 0 20px; }

  .ftr__wrap { max-width: none; padding: 0 25px; }
  .ftr__main { grid-template-columns: 1fr 1fr; row-gap: 56px; padding: 30px 0 5px; }
  .ftr__contact { grid-column: 1 / -1; flex-direction: row; gap: 0; padding-left: 5px; }
  .ftr__contact .ftr__item { flex: 1 1 50%; gap: 35px; }
  .ftr__col--menu, .ftr__col--social { grid-column: 1 / -1; padding-left: 5px; }
  .ftr__col ul, .ftr__social { margin-top: 24px; }
  .ftr__bottom { margin-top: 30px; padding: 49px 10px 30px; }
}

/* ================================================================ Mobile */
@media (max-width: 767px) {
  .hero__title { font-size: 40px; line-height: 44px; }
  .hero__title--main { font-size: 40px; }
  .hero__content { justify-content: flex-start; padding-top: 54px; }
  .hero__desc { margin-top: 32px; }

  .intro__inner { display: flex; flex-direction: column; padding: 0 20px; }
  .intro__contact { order: -1; margin-top: 20px; min-height: 117px; width: 100%; padding: 23px; font-size: 15px; line-height: 25.5px; }
  .intro__text { padding-top: 34px; }
  .intro__title { font-size: 23px; line-height: 35px; }
  .intro__text p { margin-top: 23px; }

  .hero__nav { display: none; }
  .organise { margin-top: 26px; padding-bottom: 70px; }
  .organise__band, .organise__title { display: none; }
  .organise__inner { padding: 0 20px; }
  .organise__cards { grid-template-columns: 1fr; margin-top: 0; row-gap: 50px; }
  .card--trouwen, .card--feesten, .card--zakelijk { margin-top: 0; }
  .card__photo { height: 290px; }
  .card:hover { transform: none; }

  .photo-band { display: none; }

  .ftr__wrap { padding: 0 20px; }
  .ftr__top { padding: 40px 0 21px; }
  .ftr__logo { width: 220px; }
  .ftr__main { grid-template-columns: 1fr 1fr; row-gap: 47px; padding: 25px 0 0; }
  .ftr__contact { flex-direction: column; gap: 45px; padding-left: 0; }
  .ftr__contact .ftr__item { gap: 35px; }
  .ftr__col--menu, .ftr__col--social { grid-column: auto; padding-left: 5px; }
  .ftr__col--social { padding-left: 0; }
  .ftr__col ul, .ftr__social { margin-top: 24px; }
  .ftr__social a { width: 35px; height: 35px; }
  .ftr__bottom { flex-direction: column; align-items: flex-start; gap: 28px; margin-top: 20px; padding: 54px 5px 40px; }
  .ftr__legal { gap: 16px; }
}

/* =========================================================================
   Subpages: Trouwen / Feesten / Zakelijk / Contact (views/subpage.ejs)
   ========================================================================= */
.page-sub { --accent: var(--c-gold); }
.page-sub.accent-orange { --accent: var(--c-orange); }
.page-sub.accent-blue { --accent: var(--c-blue); }

/* Hero: fading background slideshow (5s per photo, 1.5s fade, slow zoom) */
.phero { position: relative; height: 500px; margin: 0 40px; }
.phero__slides { position: absolute; inset: 0; overflow: hidden; background: #302e2d; }
.phero__slide {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.5s ease; transform: scale(1);
}
.phero__slide.is-active { opacity: 1; animation: pheroKen 6.5s linear both; }
@keyframes pheroKen { from { transform: scale(1); } to { transform: scale(1.3); } }
.phero__title {
  position: absolute; left: 25px; bottom: 0; z-index: 2;
  font: 500 150px/100px var(--f-slab); color: #fff; white-space: nowrap;
}

/* Intro + form card */
.pintro__inner {
  max-width: 1140px; margin: 0 auto;
  display: grid; grid-template-columns: 627px 513px; align-items: start;
}
.pintro__text { padding: 72px 0 0 20px; max-width: 567px; }
.ptitle { font: 500 40px/57px var(--f-slab); color: var(--c-text); }
.ptitle span { color: var(--c-quote); }
.pdivider { display: block; width: 50px; height: 3px; background: var(--c-gold); margin-top: 15px; }
.ptext { margin-top: 17px; font: 300 17px/35px var(--f-roboto); color: var(--c-text); }
.ptext strong { font-weight: 700; }

.plist__title { margin-top: 45px; font: 600 18px/18px var(--f-roboto); color: #000; }
.plist { list-style: none; padding: 0; margin-top: 15px; }
.plist li { display: flex; align-items: center; gap: 4px; font: 300 17px/35px var(--f-roboto); color: var(--c-text); }
.plist li + li { margin-top: 5px; }
.plist svg { width: 14px; height: 14px; flex: 0 0 14px; color: var(--c-blue); }
.plist--contact { margin-top: 48px; }
.plist--contact li { gap: 17px; font-size: 18px; }
.plist--contact li + li { margin-top: 15px; }
.plist--contact svg { width: 19px; height: 19px; flex-basis: 19px; }
.plist--contact a { color: inherit; }
.plist--contact a:hover { color: var(--c-blue); }

.pform {
  position: relative; z-index: 5; margin-top: -100px; padding: 50px; background: #fff;
  border-radius: 15px; box-shadow: 0 0 10px rgba(158,154,154,.5);
}
.pform__badge { display: block; width: 100%; height: auto; margin: -115px 0 25px; }

/* ---------------------------------------------------- Multi-step form */
.aform { position: relative; }
.aform__kop { font: 600 22px/34px var(--f-slab); color: var(--c-text); }
.aform__bar { position: relative; height: 20px; margin: 25px 0 20px; background: #0e0e0e; }
.aform__bar--light { background: #f7f7f7; }
.aform__bar-fill {
  height: 100%; background: var(--accent); transition: width .4s ease;
  display: flex; align-items: center; justify-content: flex-end; padding-right: 15px;
  font: 400 13px/20px var(--f-sans); color: #fff; white-space: nowrap; overflow: hidden;
}
.aform__sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* One step visible at a time; the card grows with longer steps, like the original */
.aform__step { border: 0; padding: 0; min-width: 0; display: none; }
.aform__step.is-active { display: block; animation: aformIn .3s ease both; }
@keyframes aformIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.pform--trouwen { min-height: 544px; }
.pform--zakelijk { min-height: 760px; }
.aform__field + .aform__field { margin-top: 15px; }
.aform__field[hidden] { display: none; }
.aform__label { display: block; margin-bottom: 4px; font: 500 18px/30.6px "Inter", var(--f-sans); color: #020202; }
.aform__input {
  display: block; width: 100%; min-height: 59px; padding: 7px 20px;
  font: 400 18px/1.4 var(--f-roboto); color: #2d2424; background: #fff;
  border: 1px solid #c9c9c9; border-radius: 5px; transition: border-color .2s ease, box-shadow .2s ease;
}
.aform__input::placeholder { color: #8a8a8a; }
.aform__input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 25%, transparent); }
.aform__input.is-invalid { border-color: #d63c2f; }
.aform__textarea { height: 117px; resize: vertical; }
.aform__select {
  appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 44px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M0 0h10L5 6z' fill='%23444'/%3E%3C/svg%3E") no-repeat right 12px center / 10px 6px;
}
.aform__checks { display: flex; flex-direction: column; gap: 6px; margin-top: 4px; }
.aform__check { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font: 300 17px/1.6 var(--f-roboto); color: var(--c-text); }
.aform__check input { width: 18px; height: 18px; accent-color: var(--accent); margin: 0; }
.aform__error { margin-top: 6px; font: 400 14px/1.4 var(--f-roboto); color: #d63c2f; }
.aform__error--form { margin-top: 14px; }
.aform__buttons { display: flex; gap: 10px; margin-top: 15px; }
.aform__btn {
  display: inline-flex; align-items: center; justify-content: center; min-width: 128px; padding: 15px 30px;
  border: 0; border-radius: 100px; background: #60cd7c; color: #fff; cursor: pointer;
  font: 500 16px/16px var(--f-roboto); transition: background .2s ease, transform .2s ease;
}
.aform__btn:hover { background: #4fbd6c; }
.aform__btn:active { transform: translateY(1px); }
.aform__btn[disabled] { opacity: .6; cursor: wait; }
.aform__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.aform__done { padding: 10px 0 4px; }
.aform__done-title { font: 600 20px/30px var(--f-slab); color: var(--c-text); margin-bottom: 6px !important; }
.aform__done p:last-child { font: 300 17px/28px var(--f-roboto); color: var(--c-text); }
.aform.is-done .aform__bar, .aform.is-done .aform__steps { display: none; }

/* Review (Trouwen) */
.preview { max-width: 1140px; margin: 81px auto 0; }
.preview__inner {
  position: relative; overflow: hidden; min-height: 296px; padding: 51px 77px 50px; background: var(--c-gold); color: #fff;
}
.preview__inner::after {
  content: ""; position: absolute; right: 0; top: 10px; bottom: 10px; width: 160px; opacity: .52;
  background: url("/images/brand/horse-watermark.svg") no-repeat right center / contain;
}
.preview__title { position: relative; font: 800 20px/25px var(--f-slab); }
.preview__sub { position: relative; font: 400 17px/25.5px var(--f-slab); padding-bottom: 15.5px; border-bottom: 1px solid rgba(255,255,255,.55); max-width: 986px; }
.preview__text { position: relative; margin-top: 15px; max-width: 986px; font: 400 17px/23.8px var(--f-roboto); }

/* Gallery on a slanted colour band */
.pgallery {
  margin-top: 59px; border: solid #fff; border-width: 0 40px; padding-bottom: 160px;
  background: linear-gradient(165deg, #fff 50%, var(--accent) 50%);
}
.page-feesten .pgallery, .page-zakelijk .pgallery { margin-top: 141px; }
.page-contact .pgallery { margin-top: 81px; }
.pgallery--klein { padding-bottom: 77px; }
.pgallery__inner { max-width: 1140px; margin: 0 auto; }
.pgallery--klein .pgallery__title { font: 400 33px/44px var(--f-slab); }
.pgallery--klein .pgallery__title span { color: #b1b0b0; }
.pgallery__text { margin-top: 18px; }
.pgallery__grid { display: grid; grid-template-columns: repeat(3, 360px); gap: 30px; justify-content: space-between; margin-top: 21px; }
.pgallery--klein .pgallery__grid { margin-top: 30px; }
.pgallery__title + .pgallery__grid { margin-top: 18px; }
.pgallery--klein .pgallery__title + .pgallery__grid { margin-top: 30px; }
.pgallery__item { position: relative; display: block; aspect-ratio: 1; overflow: hidden; background: #eee; }
.pgallery__item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.pgallery__item--map img { object-fit: contain; background: #fff; }
.pgallery__item:hover img { transform: scale(1.05); }
.pgallery__item:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.pvisit { margin-top: 72px; text-align: center; }
.pvisit__title span { color: #fff; }
.pvisit--omgekeerd .pvisit__title { font: 400 33px/44px var(--f-slab); color: #fff; }
.pvisit--omgekeerd .pvisit__title span { color: #000; }
.pvisit--omgekeerd .pvisit__text { margin-top: 20px; }
.pvisit__text { margin-top: 18px; font: 300 17px/28.9px var(--f-roboto); color: #fff; }
.pvisit__photo { display: inline-block; margin-top: 20px; width: 150px; height: 150px; border-radius: 50%; overflow: hidden; border: 3px solid #fff; transition: transform .25s ease; }
.pvisit__photo img { width: 100%; height: 100%; object-fit: cover; }
.pvisit__photo:hover { transform: scale(1.05); }

/* Black & white photo band (Trouwen) */
.pband { height: 485px; margin: 0 40px; background-size: cover; background-position: center; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(12,12,12,.93); display: flex; align-items: center; justify-content: center; }
.lightbox[hidden] { display: none; }
.lightbox__img { max-width: min(92vw, 1400px); max-height: 86vh; object-fit: contain; box-shadow: 0 10px 40px rgba(0,0,0,.5); }
.lightbox__close, .lightbox__nav { position: absolute; background: none; border: 0; color: #fff; cursor: pointer; opacity: .8; transition: opacity .2s; }
.lightbox__close:hover, .lightbox__nav:hover { opacity: 1; }
.lightbox__close { top: 14px; right: 22px; font: 300 44px/1 var(--f-sans); }
.lightbox__nav { top: 50%; transform: translateY(-50%); font: 300 64px/1 var(--f-sans); padding: 10px 18px; }
.lightbox__nav--prev { left: 10px; }
.lightbox__nav--next { right: 10px; }
.lightbox__count { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; font: 400 14px/1 var(--f-sans); color: rgba(255,255,255,.75); }

@media (prefers-reduced-motion: reduce) {
  .phero__slide.is-active { animation: none; }
  .pgallery__item img, .pvisit__photo { transition: none; }
}

/* ---------------------------------------------------------------- Tablet */
@media (max-width: 1024px) {
  .pform--trouwen { min-height: 0; }
  .phero { height: 289px; margin: 20px 20px 0; }
  .phero__title { font-size: 86px; line-height: 52px; }

  .pintro__inner { display: block; max-width: none; padding: 0 38px; }
  .pintro__text { padding: 22px 0 0; max-width: none; }
  .ptitle { font-size: 30px; line-height: 43px; }
  .pform { margin-top: 35px; padding: 35px; }
  .pform--badge { margin-top: 35px; }
  .pform__badge { max-width: 391px; margin: 0 0 50px; }
  .pform--zakelijk { min-height: 597px; }
  .aform__label { font-size: 19px; line-height: 32.3px; }

  .preview { max-width: none; margin: 35px 38px 0; }
  .preview__inner { padding: 41px 57px 80px; min-height: 0; }

  .pgallery { margin-top: 35px; border-width: 0; padding: 36px 38px 90px; }
  .page-sub .pgallery { margin-top: 0; }
  .page-contact .pgallery { margin-top: 12px; }
  .pgallery--klein { padding-bottom: 50px; }
  .pgallery--klein .pgallery__title { font-size: 33px; line-height: 44px; }
  .pgallery--klein .pgallery__title + .pgallery__grid { margin-top: 20px; }
  .pgallery__title + .pgallery__grid { margin-top: 8px; }
  .pvisit--omgekeerd .pvisit__title { font-size: 33px; }
  .pgallery__text { margin-top: 12px; }
  .pgallery__grid { grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 11px; }
  .pvisit { margin-top: 60px; }
  .pvisit__text { font-size: 16px; line-height: 27.2px; }

  .pband { margin: 0; }
}

/* ---------------------------------------------------------------- Mobile */
@media (max-width: 767px) {
  .phero { height: 188px; margin: 0; }
  .phero__title { font-size: 57px; line-height: 40px; }

  .pintro__inner { padding: 0 20px; }
  .pintro__text { padding-top: 36px; }
  .ptitle { font-size: 26px; line-height: 42px; }
  .pform { margin-top: 30px; padding: 25px; }
  .aform__kop { font-size: 20px; line-height: 36px; }
  .aform__bar { margin-top: 10px; }
  .aform__label { font-size: 17px; line-height: 27.2px; }

  .preview { margin: 40px 20px 0; }
  .preview__inner { padding: 24px 31px 24px; }
  .preview__inner::after { width: 110px; opacity: .45; }
  .preview__title { font-size: 18px; }
  .preview__text { font-size: 15px; line-height: 21px; }

  .page-sub .pgallery { margin-top: 20px; }
  .page-trouwen .pgallery { margin-top: 25px; }
  .page-contact .pgallery { margin-top: 10px; }
  .pgallery { padding: 34px 20px 70px; }
  .pgallery--klein { padding: 32px 20px 30px; }
  .pgallery--klein .pgallery__title { font: 400 23px/35px var(--f-slab); }
  .pgallery--klein .pgallery__title + .pgallery__grid { margin-top: 28px; }
  .pgallery__title + .pgallery__grid { margin-top: 20px; }
  .pvisit--omgekeerd .pvisit__title { font-size: 25px; line-height: 40px; }
  .pvisit--omgekeerd .pvisit__text { margin-top: 27px; }
  .page-zakelijk .ptext { font-size: 16px; }
  .plist__title { margin-top: 34px; font-size: 17px; line-height: 17px; }
  .plist li { font-size: 15px; line-height: 30px; }
  .plist li + li { margin-top: 10px; }
  .plist--contact { margin-top: 32px; }
  .plist--contact li { font-size: 15px; gap: 10px; }
  .plist--contact li + li { margin-top: 5px; }
  .plist--contact svg { width: 16px; height: 16px; flex-basis: 16px; }
  .page-zakelijk .pform { margin-top: 10px; }
  .pform--zakelijk { min-height: 0; }
  .pform--badge { margin-top: 30px; }
  .pform__badge { margin: 0 0 25px; max-width: 300px; }
  .pform--zakelijk .aform__kop { font-size: 18px; line-height: 32.4px; }
  .pform--feesten .aform__kop { font-size: 19px; line-height: 34.2px; }
  .pgallery__text { margin-top: 34px; }
  .pgallery__grid { margin-top: 30px; }
  .pvisit__photo { width: 130px; height: 130px; }

  .pband { height: 262px; }
}

/* =========================================================================
   Legal pages (Algemene Voorwaarden / Privacy) - plain layout like the original
   ========================================================================= */
.legal { max-width: 1140px; margin: 0 auto; padding: 108px 0 9px; }
.legal__back { display: inline-block; font: 600 17px/17px "Alice", Georgia, serif; color: #5f5b5b; }
.legal__back:hover { color: #000; }
.legal__title { margin-top: 21px; font: 600 43px/43px "Alice", Georgia, serif; color: #313131; }
.legal__body { margin-top: 40px; font: 400 17px/28.9px var(--f-roboto); color: var(--c-muted); overflow-wrap: anywhere; }
.legal__body p { margin: 0 0 1.5em; }
.legal__body strong { font-weight: 700; }
.legal__back--bottom { margin-top: calc(98px - 1.5em); }
.page-legal--klein .legal__back { font-size: 16px; line-height: 16px; }
.page-legal--klein .legal__title { font-size: 37px; line-height: 37px; margin-top: 22px; }
.page-legal--klein .legal__body { margin-top: 44px; font-size: 16px; line-height: 27.2px; }
@media (max-width: 1024px) { .legal { padding: 60px 38px 30px; } }
@media (max-width: 767px) {
  .legal { padding: 40px 20px 30px; }
  .legal__title, .page-legal--klein .legal__title { font-size: 32px; line-height: 38px; }
}

/* 404 */
.notfound { max-width: 1140px; margin: 0 auto; padding: 100px 20px 140px; text-align: center; }
.notfound__code { font: 500 120px/1 var(--f-slab); color: var(--c-gold); }
.notfound .ptitle { margin-top: 20px; }
.notfound .ptext { max-width: 560px; margin: 17px auto 0; }
.notfound__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 34px; }
.notfound__links a { padding: 10px 25px; background: var(--c-btn); color: #fff; font: 400 15px/15px var(--f-sans); transition: background .2s; }
.notfound__links a:hover { background: #000; }
@media (max-width: 767px) { .notfound { padding: 60px 20px 90px; } .notfound__code { font-size: 80px; } }
