/* Remise Vrieselhof x WebAthletes: demo homepage.
   Warm and natural: forest green base, cream/sand backgrounds, a warm copper
   accent (a nod to the owners' open-fire background). Fraunces for headings,
   Figtree for body text. */

@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('../fonts/fraunces-normal-variable.woff2') format('woff2'); }
@font-face { font-family: 'Fraunces'; font-style: italic; font-weight: 400 600; font-display: swap; src: url('../fonts/fraunces-italic-variable.woff2') format('woff2'); }
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('../fonts/figtree-normal-variable.woff2') format('woff2'); }

:root {
  --forest: #2f4a3a;
  --forest-deep: #223528;
  --forest-soft: #3e5c49;
  --cream: #f6f0e4;
  --paper: #fcf9f3;
  --sand: #ebdfc9;
  --sand-2: #e2d3b8;
  --ink: #22302a;
  --body: #3d4a42;
  --muted: #56615a;
  --line: #ddd0b8;
  --copper: #9a4a17;
  --copper-hover: #7e3c12;
  --copper-light: #e8a36d;
  --on-dark: #e4ebe2;
  --on-dark-muted: #b5c3b8;
  --open: #2e6a3d;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Figtree', system-ui, sans-serif;

  --container: 1240px;
  --gutter: clamp(1.1rem, 4vw, 2.5rem);
  --section: clamp(4rem, 8vw, 7rem);
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 18px 40px -24px rgba(34, 53, 40, .35);

  --stripes: repeating-linear-gradient(135deg, #e6dcc6 0 16px, #ede4d2 16px 32px);
  --stripes-green: repeating-linear-gradient(135deg, #cfd9c9 0 18px, #d9e1d3 18px 36px);
  --stripes-dark: repeating-linear-gradient(135deg, #2a4133 0 16px, #2f4839 16px 32px);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; background: var(--cream); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { background: var(--cream); color: var(--ink); font-family: var(--font-body); font-size: 1.05rem; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: var(--copper); text-decoration: none; }
a:hover { color: var(--copper-hover); }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--copper-light); outline-offset: 2px; }
::selection { background: var(--copper); color: #fff; }

.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); scroll-margin-top: 76px; }
.eyebrow { display: inline-flex; align-items: center; gap: .55rem; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--copper); }
.eyebrow::before { content: ''; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow--light { color: var(--copper-light); }
.h1, .h2, .h3 { font-family: var(--font-display); font-weight: 600; letter-spacing: -.015em; line-height: 1.05; text-wrap: balance; font-variation-settings: 'SOFT' 100, 'WONK' 0; }
.h1 { font-size: clamp(2.6rem, 6.4vw, 5.2rem); }
.h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); }
.h3 { font-size: clamp(1.35rem, 2vw, 1.6rem); line-height: 1.15; }
.italic { font-style: italic; font-weight: 500; }
.copper { color: var(--copper); }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.22rem); color: var(--body); max-width: 56ch; text-wrap: pretty; }
.section-head { display: grid; gap: 1rem; margin-bottom: clamp(2rem, 4vw, 3rem); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 50px; padding: 0 1.5rem; border-radius: 999px; font-weight: 650; font-size: 1rem; border: 2px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn--copper { background: var(--copper); color: #fff; }
.btn--copper:hover { background: var(--copper-hover); color: #fff; }
.btn--forest { background: var(--forest); color: var(--cream); }
.btn--forest:hover { background: var(--forest-deep); color: var(--cream); }
.btn--ghost { border-color: var(--forest); color: var(--forest); background: transparent; }
.btn--ghost:hover { background: var(--forest); color: var(--cream); }
.btn--ghost-light { border-color: rgba(246, 240, 228, .7); color: var(--cream); }
.btn--ghost-light:hover { background: var(--cream); color: var(--forest-deep); }

/* Placeholders: every image is a clearly labelled placeholder */
.ph { position: relative; overflow: hidden; background: var(--stripes); border-radius: var(--radius); display: grid; place-items: center; text-align: center; }
.ph--green { background: var(--stripes-green); }
.ph--dark { background: var(--stripes-dark); }
.ph__label { display: grid; gap: .3rem; justify-items: center; padding: 1rem; max-width: 30ch; }
.ph__icon { width: 34px; height: 34px; color: var(--forest-soft); opacity: .7; }
.ph__title { font-weight: 700; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--forest); }
.ph__sub { font-size: .85rem; color: var(--muted); }
.ph--dark .ph__title { color: var(--on-dark); }
.ph--dark .ph__sub, .ph--dark .ph__icon { color: var(--on-dark-muted); }
.ph__tag { position: absolute; top: .8rem; left: .8rem; background: var(--forest-deep); color: var(--cream); font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: .35rem .6rem; border-radius: 999px; }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: rgba(246, 240, 228, .9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.header__bar { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.logo { display: flex; flex-direction: column; line-height: 1; color: var(--forest-deep); min-height: 44px; justify-content: center; }
.logo:hover { color: var(--forest-deep); }
.logo__main { font-family: var(--font-display); font-weight: 650; font-size: 1.5rem; letter-spacing: -.01em; }
.logo__main i { font-weight: 500; color: var(--copper); }
.logo__sub { font-size: .66rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-top: .3rem; }
.nav { display: flex; align-items: center; gap: clamp(1rem, 2vw, 1.8rem); font-weight: 600; font-size: .98rem; }
.nav a:not(.btn) { color: var(--body); display: inline-flex; align-items: center; min-height: 44px; }
.nav a:not(.btn):hover { color: var(--copper); }
.nav__tel { color: var(--forest) !important; padding-left: clamp(1rem, 2vw, 1.8rem); border-left: 1px solid var(--line); }
.nav .btn { min-height: 46px; padding: 0 1.25rem; }
.menu-btn { display: none; align-items: center; gap: .5rem; min-height: 44px; padding: 0 1.1rem; border-radius: 999px; border: 2px solid var(--forest); background: transparent; color: var(--forest); font-weight: 700; cursor: pointer; }
.mobile-nav { display: grid; padding: .5rem var(--gutter) 1.4rem; border-top: 1px solid var(--line); background: var(--cream); }
.mobile-nav[hidden] { display: none; }
.mobile-nav a { font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; color: var(--forest-deep); padding: .75rem 0; border-bottom: 1px solid var(--line); }
.mobile-nav a:last-child { border-bottom: 0; }
@media (max-width: 1020px) { .nav { display: none; } .menu-btn { display: inline-flex; } }
@media (min-width: 1021px) { .mobile-nav { display: none !important; } }

/* Hero */
.hero { padding-top: clamp(1rem, 2.5vw, 1.8rem); }
.hero__stage { position: relative; min-height: min(82vh, 760px); border-radius: calc(var(--radius) + 8px); display: grid; align-items: end; padding: clamp(1rem, 3vw, 2rem); }
.hero__stage > .ph { position: absolute; inset: 0; border-radius: inherit; place-items: start end; }
.hero__stage > .ph .ph__label { justify-items: end; text-align: right; padding: clamp(1.2rem, 3vw, 2rem); }
.hero__card { position: relative; z-index: 1; background: var(--paper); border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 3rem); max-width: 680px; box-shadow: var(--shadow); display: grid; gap: 1.3rem; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .7rem; }
.status { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; font-size: .95rem; }
.status__pill { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; color: var(--open); background: #e3eee1; padding: .35rem .8rem; border-radius: 999px; }
.status__pill.is-closed { color: var(--copper-hover); background: #f4e1d2; }
.status__dot { width: 9px; height: 9px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 0 currentColor; animation: pulse 2.2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(63, 127, 79, .45); } 70% { box-shadow: 0 0 0 8px rgba(63, 127, 79, 0); } 100% { box-shadow: 0 0 0 0 rgba(63, 127, 79, 0); } }
.status__pill.is-closed .status__dot { animation: none; }
@media (prefers-reduced-motion: reduce) { .status__dot { animation: none; } }
.status__hours { color: var(--muted); }
.status__hours a { font-weight: 600; }
@media (max-width: 640px) {
  .hero__stage { min-height: auto; padding: 0; display: block; background: none; }
  .hero__stage > .ph { position: relative; aspect-ratio: 16 / 11; border-radius: var(--radius); place-items: center; }
  .hero__stage > .ph .ph__label { justify-items: center; text-align: center; }
  .hero__card { margin: -3.5rem .6rem 0; }
}

/* Welkom */
.welkom { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.welkom__copy { display: grid; gap: 1.3rem; }
.welkom__copy p { color: var(--body); max-width: 56ch; }
.welkom__names { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .3rem; }
.chip { display: inline-flex; align-items: center; gap: .4rem; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: .4rem .9rem; font-size: .92rem; font-weight: 600; color: var(--forest); }
.welkom__media { position: relative; }
.welkom__portrait { aspect-ratio: 5 / 4; }
.welkom__badge { position: absolute; right: -0.5rem; bottom: -1.2rem; background: var(--forest); color: var(--cream); border-radius: var(--radius-sm); padding: .9rem 1.1rem; box-shadow: var(--shadow); display: grid; gap: .1rem; }
.welkom__badge b { font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; line-height: 1.1; }
.welkom__badge span { font-size: .8rem; color: var(--on-dark-muted); }
@media (max-width: 640px) { .welkom__badge { right: .6rem; } }

/* Kaart */
.kaart { background: var(--paper); border-block: 1px solid var(--line); }
.kaart__head { display: flex; justify-content: space-between; align-items: end; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 2rem; }
.kaart__note { font-size: .92rem; color: var(--muted); }
.tabs { display: flex; gap: .5rem; overflow-x: auto; padding-bottom: .4rem; margin-bottom: 1.8rem; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
.tab { flex-shrink: 0; min-height: 44px; padding: 0 1.1rem; border-radius: 999px; border: 1.5px solid var(--line); background: var(--cream); color: var(--forest); font-weight: 650; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.tab:hover { border-color: var(--forest); }
.tab[aria-selected="true"] { background: var(--forest); border-color: var(--forest); color: var(--cream); }
.kaart__body { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
@media (max-width: 860px) { .kaart__body { grid-template-columns: 1fr; } .kaart__photo { display: none; } }
.panel[hidden] { display: none; }
.panel__intro { color: var(--muted); margin-bottom: 1rem; }
.dishes { list-style: none; display: grid; }
.dish { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .2rem 1rem; padding: 1.05rem 0; border-bottom: 1px dashed var(--sand-2); align-items: baseline; }
.dish__name { font-family: var(--font-display); font-weight: 600; font-size: 1.28rem; display: flex; flex-wrap: wrap; gap: .5rem; align-items: baseline; }
.dish__tag { font-family: var(--font-body); font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--copper); background: #f6e6d8; padding: .2rem .55rem; border-radius: 999px; }
.dish__price { font-weight: 700; color: var(--muted); background: var(--cream); border: 1px dashed var(--line); padding: .15rem .6rem; border-radius: 8px; font-size: .88rem; }
.dish__desc { grid-column: 1 / -1; color: var(--muted); font-size: .95rem; }
.dish--ph .dish__name { color: var(--muted); font-style: italic; font-weight: 500; }
.kaart__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 1.8rem; }
.kaart__photo { aspect-ratio: 4 / 5; position: sticky; top: 100px; }

/* Terras & wandeling */
.terras { background: var(--forest); color: var(--cream); }
.terras .lead { color: var(--on-dark); }
.terras__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.terras__copy { display: grid; gap: 1.3rem; }
.facts { display: grid; gap: .9rem; list-style: none; margin-top: .4rem; }
.fact { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 1rem; align-items: start; }
.fact__icon { width: 44px; height: 44px; border-radius: 50%; background: var(--forest-soft); display: grid; place-items: center; color: var(--copper-light); }
.fact b { display: block; font-weight: 700; }
.fact span { color: var(--on-dark-muted); font-size: .96rem; }
.fact .ph-inline { color: var(--copper-light); font-style: italic; }
.review-words { display: flex; flex-wrap: wrap; gap: .45rem; }
.review-words span { border: 1px solid rgba(228, 235, 226, .3); border-radius: 999px; padding: .3rem .8rem; font-size: .9rem; color: var(--on-dark); }
.review-words__label { font-size: .85rem; color: var(--on-dark-muted); margin-bottom: .5rem; }
.terras__map { aspect-ratio: 4 / 3.2; }
.terras__actions { display: flex; flex-wrap: wrap; gap: .7rem; }

/* Feesten */
.feesten__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 920px) { .feesten__grid { grid-template-columns: 1fr; } }
.occasions { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 1rem; margin-top: 1.8rem; list-style: none; }
.occasion { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: grid; }
.occasion .ph { aspect-ratio: 4 / 3; border-radius: 0; }
.occasion__body { padding: 1rem 1.1rem 1.2rem; display: grid; gap: .25rem; }
.occasion__body .h3 { font-size: 1.25rem; }
.occasion__body p { color: var(--muted); font-size: .95rem; }
.bovenzaal { margin-top: 1.4rem; display: flex; gap: .9rem; align-items: start; background: var(--sand); border-radius: var(--radius-sm); padding: 1rem 1.2rem; color: var(--body); }
.bovenzaal svg { flex-shrink: 0; color: var(--copper); margin-top: .15rem; }

/* Forms */
.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); padding: clamp(1.4rem, 3.5vw, 2.4rem); box-shadow: var(--shadow); }
.form-card--dark { background: var(--forest-deep); border-color: var(--forest-deep); color: var(--cream); }
.form { display: grid; gap: 1.1rem; }
.form[hidden], .form-done[hidden] { display: none; }
.form__title { font-family: var(--font-display); font-weight: 600; font-size: 1.6rem; line-height: 1.1; }
.form__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); gap: 1rem; }
.field { display: grid; gap: .4rem; }
.field__label { font-size: .88rem; font-weight: 700; }
.field__opt { font-weight: 400; color: var(--muted); }
.form-card--dark .field__opt { color: var(--on-dark-muted); }
.field input, .field select, .field textarea { min-height: 50px; padding: 0 .95rem; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); font-size: 1rem; width: 100%; }
.field textarea { padding: .8rem .95rem; resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--forest); box-shadow: 0 0 0 3px rgba(47, 74, 58, .15); }
.form-card--dark .field input, .form-card--dark .field select { border-color: transparent; }
.form-card--dark .field input:focus, .form-card--dark .field select:focus { border-color: var(--copper-light); box-shadow: 0 0 0 3px rgba(232, 163, 109, .25); }
.choice { display: flex; flex-wrap: wrap; gap: .5rem; border: 0; }
.choice legend { font-size: .88rem; font-weight: 700; margin-bottom: .4rem; }
.choice label { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 1rem; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-weight: 600; font-size: .95rem; cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.choice input:checked + span { background: var(--forest); border-color: var(--forest); color: var(--cream); }
.choice input:focus-visible + span { outline: 3px solid var(--copper-light); outline-offset: 2px; }
.form__submit { width: 100%; min-height: 54px; }
.form__alt { font-size: .9rem; color: var(--muted); }
.form-card--dark .form__alt { color: var(--on-dark-muted); }
.form-card--dark .form__alt a { color: var(--copper-light); }
.form-done { display: grid; gap: .8rem; padding: 1.5rem 0; }
.form-done__title { font-family: var(--font-display); font-weight: 600; font-size: 1.7rem; }
.form-done p { color: var(--muted); }
.form-card--dark .form-done p { color: var(--on-dark-muted); }
.form-done .btn { justify-self: start; }
.demo-note { font-size: .8rem; color: var(--muted); display: flex; gap: .4rem; align-items: center; }
.form-card--dark .demo-note { color: var(--on-dark-muted); }

/* Agenda */
.agenda { background: var(--sand); }
.events { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 1.2rem; list-style: none; }
.event { background: var(--paper); border-radius: var(--radius); overflow: hidden; display: grid; grid-template-rows: auto 1fr; box-shadow: var(--shadow); }
.event .ph { aspect-ratio: 16 / 10; border-radius: 0; }
.event__body { padding: 1.2rem 1.3rem 1.4rem; display: grid; gap: .5rem; align-content: start; }
.event__date { display: inline-flex; align-self: start; justify-self: start; font-weight: 700; font-size: .82rem; letter-spacing: .06em; color: var(--copper); background: #f6e6d8; padding: .25rem .7rem; border-radius: 999px; }
.event__body p { color: var(--muted); font-size: .96rem; }

/* Reserveren */
.reserveren { background: var(--forest); color: var(--cream); }
.reserveren__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.reserveren .lead { color: var(--on-dark); }
.hours { list-style: none; display: grid; margin-top: 1.4rem; border-top: 1px solid rgba(228, 235, 226, .2); max-width: 420px; }
.hours li { display: flex; justify-content: space-between; gap: 1rem; padding: .65rem 0; border-bottom: 1px solid rgba(228, 235, 226, .2); color: var(--on-dark); }
.hours li.is-today { color: #fff; font-weight: 700; }
.hours li.is-today span:first-child::after { content: 'vandaag'; margin-left: .5rem; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: var(--copper); color: #fff; padding: .15rem .5rem; border-radius: 999px; vertical-align: 2px; }
.hours .closed { color: var(--copper-light); }

/* Footer */
.footer { background: var(--forest-deep); color: var(--on-dark-muted); font-size: .95rem; }
.footer__grid { padding-block: clamp(3rem, 6vw, 4.5rem) 2.5rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 2rem; }
.footer__col { display: grid; gap: .45rem; align-content: start; }
.footer__title { font-weight: 700; color: var(--cream); margin-bottom: .3rem; }
.footer .logo { color: var(--cream); }
.footer .logo__sub { color: var(--on-dark-muted); }
.footer a { color: var(--on-dark); display: inline-flex; align-items: center; min-height: 44px; }
.footer a:hover { color: var(--copper-light); }
.footer__hours { display: grid; grid-template-columns: auto auto; gap: .15rem 1rem; justify-content: start; }
.socials { display: flex; gap: .5rem; margin-top: .4rem; }
.socials a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(228, 235, 226, .25); justify-content: center; }
.footer__bottom { border-top: 1px solid rgba(228, 235, 226, .12); }
.footer__bottom-inner { padding-block: 1.1rem; display: flex; justify-content: space-between; gap: .5rem 1rem; flex-wrap: wrap; font-size: .82rem; color: #93a598; }
.footer__bottom-inner a { color: #b5c3b8; min-height: 44px; }
@media (max-width: 900px) { .footer { padding-bottom: calc(78px + env(safe-area-inset-bottom)); } }

/* Mobile action bar: Bel | Route | Reserveer */
.actionbar { display: none; }
@media (max-width: 900px) {
  .actionbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: .45rem; padding: .55rem .55rem calc(.55rem + env(safe-area-inset-bottom)); background: rgba(252, 249, 243, .96); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-top: 1px solid var(--line); }
  .actionbar a { min-height: 54px; border-radius: 14px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .15rem; font-weight: 700; font-size: .85rem; }
  .actionbar__call, .actionbar__route { background: var(--cream); color: var(--forest); border: 1.5px solid var(--line); }
  .actionbar__book { background: var(--copper); color: #fff; }
  .actionbar__book:hover { color: #fff; }
}

/* Scroll reveal */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
[data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1; transform: none; transition: none; } }

/* Device-preview dock (same as the other prospects) */
.control-dock { position: fixed; bottom: 1.2rem; right: 1.2rem; z-index: 999; display: flex; gap: 2px; background: var(--paper); border: 1.5px solid var(--forest); border-radius: 999px; padding: 3px; box-shadow: var(--shadow); }
.control-dock__btn { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 0; background: transparent; color: var(--forest); cursor: pointer; }
.control-dock__btn:hover { background: var(--sand); }
.control-dock__btn[aria-pressed="true"] { background: var(--forest); color: var(--cream); }
@media (max-width: 900px) { .page-demo .control-dock { bottom: calc(84px + env(safe-area-inset-bottom)); } }
@media (max-width: 600px) { .control-dock { display: none; } }
html[data-device] body { overflow: hidden; }
.device-stage { display: none; }
html[data-device] .device-stage { display: grid; place-items: center; position: fixed; inset: 0; z-index: 900; background: var(--sand); padding: 2rem; }
.device-frame { background: var(--forest-deep); border-radius: 40px; padding: 16px 10px; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.device-frame__screen { flex: 1; overflow: hidden; border-radius: 28px; background: var(--cream); }
.device-frame__screen iframe { width: 100%; height: 100%; border: 0; display: block; }
.device-frame__home { display: block; width: 90px; height: 4px; border-radius: 999px; background: #52705d; margin: 10px auto 0; }
.device-stage--mobile .device-frame { width: 390px; height: min(760px, 84vh); }
.device-stage--tablet .device-frame { width: min(844px, 92vw); height: min(900px, 84vh); border-radius: 26px; padding: 12px; }
.device-stage--tablet .device-frame__screen { border-radius: 16px; }

/* Start page */
.home { min-height: 100vh; min-height: 100dvh; display: grid; grid-template-rows: 1fr auto; background: var(--forest); color: var(--cream); }
.home__hero { display: grid; place-items: center; padding: 2.5rem var(--gutter); }
.home__col { display: grid; justify-items: center; text-align: center; gap: 1.6rem; max-width: 560px; }
.home__logo { font-family: var(--font-display); font-weight: 650; font-size: clamp(2.8rem, 10vw, 4.6rem); line-height: .95; letter-spacing: -.02em; }
.home__logo i { font-weight: 500; color: var(--copper-light); }
.home__sub { font-size: .8rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--on-dark-muted); }
.home__lede { font-size: clamp(1.1rem, 3vw, 1.3rem); color: var(--on-dark); text-wrap: balance; }
.home__actions { display: grid; gap: .7rem; width: 100%; max-width: 340px; }
.home__actions .btn { width: 100%; min-height: 56px; }
.home__footer { padding: 1.4rem; text-align: center; font-size: .9rem; color: var(--on-dark-muted); }
.home__footer a { color: var(--on-dark-muted); display: inline-flex; gap: .35em; min-height: 44px; align-items: center; }
.home__footer a:hover, .home__footer a:hover b { color: var(--copper-light); }
.home__footer b { color: var(--cream); }
.home__heart { color: var(--copper-light); }

/* Layout refinements */
.occasions { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 640px) {
  .occasions { grid-template-columns: 1fr; gap: .7rem; }
  .occasion { grid-template-columns: 112px minmax(0, 1fr); align-items: center; }
  .occasion .ph { aspect-ratio: 1; height: 100%; }
  .occasion .ph .ph__title { font-size: .66rem; }
  .occasion .ph__tag { display: none; }
}
.form__row--res { grid-template-columns: 1.3fr 1fr .8fr; }
@media (max-width: 480px) { .form__row--res { grid-template-columns: 1fr 1fr; } .form__row--res .field:last-child { grid-column: 1 / -1; } }
.footer .logo { align-items: flex-start; }
.kaart__photo { aspect-ratio: 4 / 4.4; }
@media (max-width: 640px) {
  .events { grid-auto-flow: column; grid-auto-columns: 82%; grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .8rem; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
  .event { scroll-snap-align: start; box-shadow: none; }
}
.form__row--res { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, .8fr); }
@media (max-width: 480px) { .form__row--res { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.field input, .field select, .field textarea { min-width: 0; }
.footer .logo__main i { color: var(--copper-light); }

/* Unsplash sample photos: always visibly labelled */
.photo { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--sand); }
.photo picture { display: block; width: 100%; height: 100%; }
.photo picture[hidden] { display: none; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo__tag { position: absolute; left: .7rem; bottom: .7rem; z-index: 1; background: rgba(34, 53, 40, .88); color: var(--cream); font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: .35rem .6rem; border-radius: 999px; }
.hero__stage > .hero__photo { position: absolute; inset: 0; border-radius: inherit; }
@media (max-width: 640px) { .hero__stage > .hero__photo { position: relative; aspect-ratio: 16 / 11; border-radius: var(--radius); } }
.occasion .photo, .event .photo { border-radius: 0; }
.occasion .photo { aspect-ratio: 4 / 3; }
.event .photo { aspect-ratio: 16 / 10; }
@media (max-width: 640px) {
  .occasion .photo { aspect-ratio: 1; height: 100%; }
  .occasion .photo__tag { left: .35rem; bottom: .35rem; font-size: .55rem; padding: .2rem .4rem; letter-spacing: .04em; }
}
.footer__credits { flex-basis: 100%; order: 3; font-size: .74rem; color: #93a598; }
.footer__credits a { min-height: 0 !important; display: inline !important; color: #b5c3b8; text-decoration: underline; text-decoration-color: rgba(181, 195, 184, .4); }

/* Scroll-spy: a soft sand "pill" glides behind the active link, with a small
   glowing copper ember underneath (a nod to the open fire). */
.nav__links { position: relative; display: flex; align-items: center; gap: .2rem; }
.nav .nav__links a { position: relative; z-index: 1; padding: 0 .85rem; border-radius: 999px; transition: color .3s; }
.nav .nav__links a[aria-current="true"] { color: var(--forest-deep); }
.nav__pill {
  position: absolute; left: 0; top: 50%; height: 40px; width: 0;
  margin-top: -20px; border-radius: 999px;
  background: var(--sand);
  box-shadow: inset 0 0 0 1px var(--sand-2);
  opacity: 0;
  transition: transform .55s cubic-bezier(.34, 1.4, .5, 1), width .55s cubic-bezier(.34, 1.4, .5, 1), opacity .3s;
  pointer-events: none;
}
.nav__pill::after {
  content: ''; position: absolute; left: 50%; bottom: -9px; width: 6px; height: 6px; margin-left: -3px;
  border-radius: 50%; background: var(--copper);
  box-shadow: 0 0 0 0 rgba(232, 163, 109, .7), 0 0 8px 2px rgba(232, 163, 109, .55);
  animation: ember 2.4s ease-in-out infinite;
}
@keyframes ember {
  0%, 100% { box-shadow: 0 0 4px 1px rgba(232, 163, 109, .45); transform: scale(1); }
  50% { box-shadow: 0 0 10px 3px rgba(232, 163, 109, .8); transform: scale(1.15); }
}
.nav__pill.is-visible { opacity: 1; }
.nav__book { position: relative; }
.nav__book[aria-current="true"] { box-shadow: 0 0 0 3px var(--cream), 0 0 0 5px var(--copper-light); }
@media (prefers-reduced-motion: reduce) {
  .nav__pill { transition: opacity .2s; }
  .nav__pill::after { animation: none; }
}
.mobile-nav a { position: relative; display: flex; align-items: center; gap: .7rem; padding-inline: .6rem; margin-inline: -.6rem; border-radius: 12px; transition: background .25s; }
.mobile-nav a::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: transparent; flex-shrink: 0; transition: background .25s, box-shadow .25s; }
.mobile-nav a[aria-current="true"] { background: var(--sand); }
.mobile-nav a[aria-current="true"]::before { background: var(--copper); box-shadow: 0 0 8px 2px rgba(232, 163, 109, .6); }
.photo__tag { white-space: nowrap; }
.occasion .photo__tag { left: .45rem; bottom: .45rem; font-size: .56rem; letter-spacing: .05em; padding: .25rem .5rem; }

/* Hero card on desktop: frosted glass so the terrace photo shows through,
   while the heavy blur keeps the text on a calm, even surface. Browsers
   without backdrop-filter keep the (near-)opaque card. */
@media (min-width: 641px) {
  @supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
    .hero__card {
      background: rgba(252, 249, 243, .72);
      -webkit-backdrop-filter: blur(18px) saturate(1.3);
      backdrop-filter: blur(18px) saturate(1.3);
      border: 1px solid rgba(255, 255, 255, .55);
      box-shadow: 0 24px 60px -30px rgba(34, 53, 40, .55);
    }
  }
}

/* Access-code gate (same flow as Bar Frans and MAXX) */
.gate-overlay { position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; padding: 1.5rem; background: var(--forest); }
.gate-overlay[hidden] { display: none; }
.gate-box { width: 100%; max-width: 390px; text-align: center; background: var(--paper); border-radius: 24px; padding: 2.2rem 1.8rem 1.6rem; box-shadow: var(--shadow); }
.gate-box__logo { font-family: var(--font-display); font-weight: 650; font-size: 1.35rem; color: var(--forest-deep); margin-bottom: 1.2rem; }
.gate-box__logo i { font-weight: 500; color: var(--copper); }
.gate-box h1 { font-family: var(--font-display); font-weight: 600; font-size: 1.8rem; line-height: 1.1; }
.gate-box p { color: var(--muted); margin-top: .5rem; }
.gate-box__inputs { display: flex; justify-content: center; gap: .6rem; margin-top: 1.4rem; }
.gate-box__digit { width: 54px; height: 62px; text-align: center; font-size: 1.5rem; font-weight: 700; border: 2px solid var(--line); border-radius: 14px; background: #fff; color: var(--ink); }
.gate-box__digit:focus { outline: none; border-color: var(--copper); box-shadow: 0 0 0 3px rgba(232, 163, 109, .3); }
.gate-box__error { color: var(--copper) !important; font-weight: 700; font-size: .88rem; min-height: 1.3em; margin-top: 1rem !important; }

/* Kaart: the photo stretches to exactly the height of the menu column
   (from the top of the tabs to the bottom of the "Volledige menukaart" row). */
.kaart__body { align-items: stretch; }
.kaart__menu { min-width: 0; }
.kaart__photo { aspect-ratio: auto; position: relative; top: auto; min-height: 380px; }
.kaart__photo picture { position: absolute; inset: 0; }
@media (min-width: 861px) { .kaart__menu .tabs { flex-wrap: wrap; overflow: visible; } }
