/* ===== Italiaans Buffet — showcase v1 ===== */
:root {
  --nacht: #171310;
  --linnen: #F4ECE1;
  --tekst-sec: #D8CFC2;
  --goud: #C8A56A;
  --rood: #C4442C;
  --lijn: #3A3129;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", system-ui, sans-serif;
  --sectie-pad: 100px;
  --content-breedte: 1180px;
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--nacht);
  color: var(--linnen);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

/* ---------- toegankelijkheid ---------- */
.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  background: var(--linnen);
  color: var(--nacht);
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 16px; }

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

/* ---------- knoppen & links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  min-width: 44px;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.25s ease, background-color 0.25s ease;
}
.btn-primary {
  background: var(--linnen);
  color: var(--nacht);
}
.btn-primary:hover { opacity: 0.85; }

.text-link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-color: rgba(244, 236, 225, 0.45);
  transition: text-decoration-color 0.25s ease;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.text-link:hover { text-decoration-color: var(--linnen); }

/* ---------- eyebrow / meldtekst ---------- */
.eyebrow {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: rgba(244, 236, 225, 0.7);
  margin: 0 0 20px;
}
.eyebrow .dot-sep { color: var(--goud); }
.eyebrow-dark { color: rgba(23, 19, 16, 0.65); }
.eyebrow-dark .dot-sep { color: var(--rood); }

.img-note {
  font-size: 12px;
  color: rgba(244, 236, 225, 0.6);
  margin: 0;
}

/* ---------- chips ---------- */
.chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
}
.chips li {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  border: 1px solid rgba(244, 236, 225, 0.35);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 13px;
  white-space: nowrap;
}
.chips-dark li {
  border-color: rgba(23, 19, 16, 0.35);
  color: var(--nacht);
}

/* ---------- navigatie ---------- */
.site-nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
.site-nav.scrolled {
  background: var(--nacht);
  box-shadow: 0 1px 0 var(--lijn);
}
.nav-inner {
  max-width: var(--content-breedte);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.wordmark {
  text-decoration: none;
  display: inline-flex;
  padding: 6px 0;
}
.wordmark-logo {
  display: block;
  width: 172px;
  height: auto;
  /* Het echte logo is groen op transparant; op een linnen etiket blijft het
     leesbaar op zowel de donkere hero als de lichte delen van de pagina. */
  background: var(--linnen);
  border-radius: 6px;
  padding: 8px 12px;
  box-shadow: 0 1px 8px rgba(23, 19, 16, 0.35);
}
.nav-links {
  display: flex;
  gap: 6px;
  margin-left: auto;
}
.nav-links a {
  color: var(--tekst-sec);
  text-decoration: none;
  font-size: 15px;
  padding: 12px 14px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--linnen); }
.nav-cta {
  font-size: 15px;
  font-weight: 500;
  padding-left: 4px;
  padding-right: 4px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  margin-left: auto;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 10px;
}
.nav-toggle-bar {
  display: block;
  height: 2px;
  width: 22px;
  background: var(--linnen);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:first-child { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:last-child { transform: translateY(-4px) rotate(-45deg); }

.mobile-menu {
  background: var(--nacht);
  border-top: 1px solid var(--lijn);
  padding: 12px 24px 28px;
}
.mobile-menu nav { display: flex; flex-direction: column; gap: 4px; }
.mobile-menu a {
  color: var(--linnen);
  text-decoration: none;
  font-size: 17px;
  padding: 14px 4px;
  min-height: 48px;
  display: flex;
  align-items: center;
}
.mobile-menu .btn { margin-top: 12px; justify-content: center; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-media, .hero-media picture { position: absolute; inset: 0; }
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 75% 50%;
  animation: kenburns 20s ease-out forwards;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 75% 50%;
}
@keyframes kenburns {
  from { transform: scale(1); }
  to { transform: scale(1.06); }
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(23, 19, 16, 0.82) 0%, rgba(23, 19, 16, 0.55) 42%, rgba(23, 19, 16, 0.12) 75%),
              linear-gradient(0deg, rgba(23, 19, 16, 0.55) 0%, rgba(23, 19, 16, 0) 30%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--content-breedte);
  width: 100%;
  min-width: 0;
  margin: 0 auto;
  padding: 96px 24px 112px;
}
.hero-title {
  font-family: var(--font-display);
  font-variation-settings: "opsz" 144, "SOFT" 30;
  font-weight: 450;
  font-size: clamp(2.25rem, 5.4vw, 4.25rem);
  line-height: 1.08;
  margin: 0 0 24px;
}
.ht-r1, .ht-r2 { display: block; }
.hero-title em {
  font-weight: 350;
  font-style: italic;
  font-size: 0.82em;
}
.hero-sub {
  max-width: 34ch;
  font-size: 17px;
  color: var(--tekst-sec);
  margin: 0 0 32px;
}
.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 40px;
}
.hero-note {
  position: relative;
  z-index: 2;
  margin: 28px 0 0;
}
.scroll-hint {
  position: absolute;
  z-index: 2;
  left: 24px;
  bottom: 56px;
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(244, 236, 225, 0.6);
  display: flex;
  align-items: center;
  gap: 12px;
}
.scroll-hint-line {
  display: inline-block;
  width: 1px;
  height: 36px;
  background: rgba(244, 236, 225, 0.45);
  animation: hintlijn 2.2s ease-in-out infinite;
  transform-origin: top;
}
@keyframes hintlijn {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50% { transform: scaleY(0.5); opacity: 0.5; }
}

/* ---------- secties algemeen ---------- */
.section { padding: var(--sectie-pad) 24px; }
.section-dark { background: var(--nacht); }
.section-light { background: var(--linnen); color: var(--nacht); }
.section-head, .steps, .contact-panel, .chapter {
  max-width: var(--content-breedte);
  margin-left: auto;
  margin-right: auto;
}
.section-title {
  font-family: var(--font-display);
  font-variation-settings: "opsz" 144, "SOFT" 30;
  font-weight: 450;
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  line-height: 1.15;
  margin: 0 0 20px;
  max-width: 22ch;
}
.section-title em, .contact-title em, .chapter-title em {
  font-style: italic;
  font-weight: 350;
}
.section-intro {
  max-width: 37ch;
  font-size: 17px;
  color: var(--tekst-sec);
  margin: 0;
}
.section-light .section-intro { color: rgba(23, 19, 16, 0.75); }
.section-head { margin-bottom: 64px; }

/* ---------- hoofdstukken ---------- */
.chapter {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 72px 0;
  border-top: 1px solid var(--lijn);
}
.chapter-flip .chapter-media { order: 2; }
.chapter-flip .chapter-body { order: 1; }
.chapter-media {
  margin: 0;
  overflow: hidden;
  border-radius: 4px;
}
.chapter-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 1168 / 880;
  will-change: transform;
}
.chapter-num {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  letter-spacing: 0.25em;
  color: var(--goud);
  margin: 0 0 16px;
}
.chapter-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(244, 236, 225, 0.25);
  transition: background-color 0.3s ease;
}
.chapter.is-active .chapter-dot { background: var(--rood); }
.chapter-title {
  font-family: var(--font-display);
  font-variation-settings: "opsz" 144, "SOFT" 30;
  font-weight: 450;
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  line-height: 1.15;
  margin: 0 0 16px;
}
.chapter-text {
  max-width: 36ch;
  color: var(--tekst-sec);
  margin: 0 0 28px;
}
.buffet-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.buffet-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4px 16px;
  padding: 14px 0;
  border-top: 1px solid var(--lijn);
}
.buffet-name { font-weight: 500; }
.buffet-link {
  font-size: 15px;
  min-height: 44px;
  white-space: nowrap;
}
.buffet-link::after { content: " →"; text-decoration: none; }

/* ---------- werkwijze ---------- */
.steps {
  list-style: none;
  margin: 0 0 56px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  counter-reset: stap;
}
.step { border-top: 1px solid rgba(23, 19, 16, 0.25); padding-top: 24px; }
.step-num {
  font-size: 13px;
  letter-spacing: 0.25em;
  color: var(--rood);
  margin: 0 0 16px;
}
.step-title {
  font-family: var(--font-display);
  font-variation-settings: "opsz" 144, "SOFT" 30;
  font-weight: 450;
  font-size: 22px;
  margin: 0 0 12px;
}
.step-text { margin: 0; color: rgba(23, 19, 16, 0.78); max-width: 34ch; }

/* ---------- locatie ---------- */
.locatie { padding-left: 0; padding-right: 0; }
.locatie-band {
  position: relative;
  margin: 0;
  min-height: 70vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.locatie-band picture { position: absolute; inset: 0; }
.locatie-band img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
}
.locatie-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(23, 19, 16, 0.88) 0%, rgba(23, 19, 16, 0.6) 45%, rgba(23, 19, 16, 0.25) 100%);
}
.locatie-content {
  position: relative;
  z-index: 2;
  max-width: var(--content-breedte);
  width: 100%;
  margin: 0 auto;
  padding: 80px 24px;
}
.locatie-content .chips { margin-top: 32px; max-width: 480px; }
.locatie-content .chips li { max-width: none; }

/* ---------- contact ---------- */
.contact-panel {
  border: 1px solid var(--lijn);
  border-radius: 6px;
  padding: 80px 56px;
  text-align: center;
  background: linear-gradient(180deg, rgba(58, 49, 41, 0.35), rgba(23, 19, 16, 0));
}
.contact-title {
  font-family: var(--font-display);
  font-variation-settings: "opsz" 144, "SOFT" 30;
  font-weight: 450;
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  line-height: 1.12;
  margin: 0 0 20px;
}
.contact-panel .section-intro { margin: 0 auto 36px; }
.contact-actions { margin-bottom: 32px; }
.contact-lines { margin: 0; line-height: 2; }
.contact-lines .text-link { font-size: 17px; }

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid var(--lijn);
  padding: 48px 24px;
  text-align: center;
  font-size: 16px;
  color: var(--tekst-sec);
}
.site-footer p { margin: 6px 0; }

/* ---------- motion: entree ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
}
.js .reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);
  transition-delay: var(--reveal-delay, 0s);
}
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .hero-media img { animation: none; }
  .scroll-hint-line { animation: none; }
  .chapter-media img { transform: none !important; }
}

/* ---------- custom cursor: Italiaanse vlag + sleepring ---------- */
/* Alleen actief als JS de .cursor-aan-class zet (fine pointers); no-JS behoudt de gewone cursor. */
html.cursor-aan, html.cursor-aan * { cursor: none !important; }
.cursor-vlag, .cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  will-change: transform;
  transition: opacity 0.2s ease;
}
.cursor-vlag {
  /* Buitenste laag: alleen positionering (JS zet hier de translate op). */
  /* Het aanwijspunt zit op de top van het mastje, de vlag hangt er rechts van. */
  margin: -9px 0 0 3px;
  transition: opacity 0.2s ease, margin 0.25s ease;
}
.cursor-vlag-doek {
  /* Binnenste laag: het doek zelf. De rotatie zit hier in transform, zodat
     die nooit met de positionering van de buitenlaag kan botsen. */
  position: relative;
  width: 26px;
  height: 18px;
  border-radius: 3px;
  background: linear-gradient(90deg, #008c45 0 33.4%, #f4f0e8 33.4% 66.7%, #cd212a 66.7% 100%);
  box-shadow: 0 1px 5px rgba(23, 19, 16, 0.5), 0 0 0 1px rgba(23, 19, 16, 0.35);
  transform: rotate(-5deg);
  animation: vlag-wapper 1.8s ease-in-out infinite;
  transition: width 0.25s ease, height 0.25s ease;
}
.cursor-vlag-doek::before {
  /* Het mastje aan de linkerkant. */
  content: "";
  position: absolute;
  left: -3px;
  top: -1px;
  bottom: -6px;
  width: 2px;
  border-radius: 1px;
  background: var(--linnen);
  box-shadow: 0 1px 3px rgba(23, 19, 16, 0.55);
}
@keyframes vlag-wapper {
  0%, 100% { transform: rotate(-3deg); }
  50% { transform: rotate(-8deg); }
}
.cursor-ring {
  width: 34px;
  height: 34px;
  margin: -17px 0 0 -17px;
  border: 1px solid rgba(244, 236, 225, 0.7);
  border-radius: 50%;
  mix-blend-mode: difference;
  transition: opacity 0.2s ease, width 0.25s ease, height 0.25s ease,
    margin 0.25s ease, border-color 0.25s ease;
}
.cursor-aan .cursor-vlag, .cursor-aan .cursor-ring { opacity: 1; }
.cursor-aan .cursor-vlag.is-weg, .cursor-aan .cursor-ring.is-weg { opacity: 0; }
.cursor-aan .cursor-ring.is-actief {
  width: 52px;
  height: 52px;
  margin: -26px 0 0 -26px;
  border-color: var(--goud);
}
/* Op links en knoppen wappert de vlag groter mee. */
.cursor-aan .cursor-vlag.is-actief { margin: -11px 0 0 4px; }
.cursor-aan .cursor-vlag.is-actief .cursor-vlag-doek {
  width: 36px;
  height: 25px;
}
@media (prefers-reduced-motion: reduce) {
  .cursor-vlag-doek { animation: none; }
  .cursor-ring { transition: opacity 0.2s ease; }
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  :root { --sectie-pad: 72px; }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .site-nav:not(.scrolled) {
    background: linear-gradient(180deg, rgba(23, 19, 16, 0.72) 0%, rgba(23, 19, 16, 0) 100%);
  }
  .chapter { grid-template-columns: 1fr; gap: 28px; padding: 56px 0; }
  .chapter-flip .chapter-media { order: 0; }
  .chapter-flip .chapter-body { order: 1; }
  .steps { grid-template-columns: 1fr; gap: 32px; }
  .contact-panel { padding: 56px 24px; }
  .section-head { margin-bottom: 40px; }
}

@media (max-width: 560px) {
  :root { --sectie-pad: 56px; }
  .hero-media img { object-position: 62% 50%; }
  .hero-scrim {
    background: linear-gradient(0deg, rgba(23, 19, 16, 0.85) 0%, rgba(23, 19, 16, 0.45) 55%, rgba(23, 19, 16, 0.25) 100%);
  }
  .hero-content { padding: 100px 20px 130px; align-self: flex-end; }
  .hero { align-items: flex-end; }
  .ht-r1, .ht-r2 { display: inline; }
  .ht-i1, .ht-i2 { display: block; }
  .ht-i1 { margin-top: 0.15em; }
  .hero-actions { gap: 8px 20px; }
  .scroll-hint { display: none; }
  .hero-note { position: absolute; right: 20px; bottom: 24px; margin: 0; }
}
