/* =========================================================================
   DE MARKIES, Schiedam
   Shared dining in een pand met geschiedenis. De ster van het oude
   "Sterretje" blijft als lijnmotief terugkomen; amber (jenever, lantaarns)
   tegen een donkere, vroeg-avond gevelkleur.
   ========================================================================= */

@media (prefers-color-scheme: dark) { :root { color-scheme: dark light; } }

:root {
  --ink: #15141b;
  --charcoal: #232533;
  --charcoal-licht: #30324a;
  --amber: #efa765;
  --amber-diep: #c97d3f;
  --amber-tekst: #8a4a1f;
  --amber-licht: #f6cfa0;
  --cream: #f3ead9;
  --cream-donker: #e7d9bc;
  --paper: #faf6ee;
  --inkt: #1c1a22;
  --tekst-zacht: rgba(21, 20, 27, .68);
  --rand: rgba(21, 20, 27, .12);

  --opening-achtergrond: var(--ink);
  --opening-demping: .62;

  --font-kop: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Noto Serif", serif;
  --font-body: -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, system-ui, sans-serif;

  --maat-inhoud: 1180px;
  --ruimte-sectie: clamp(4.2rem, 7vw, 6.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-kop); margin: 0 0 .5em; font-weight: 560; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--amber); color: var(--ink); padding: .8rem 1.2rem;
  border-radius: .4rem; font-weight: 600; transition: top .2s ease;
}
.skip-link:focus { top: 1rem; }

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

.container {
  max-width: var(--maat-inhoud);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

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

.knop {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .85rem 1.6rem;
  border-radius: 999px;
  font-weight: 600; font-size: .95rem;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
}
.knop--amber {
  background: var(--amber); color: var(--ink);
  box-shadow: 0 8px 20px -8px rgba(201, 125, 63, .6);
}
.knop--amber:hover { background: var(--amber-licht); transform: translateY(-2px); }
.knop--lijn {
  background: transparent; color: #fff;
  border: 1.5px solid rgba(255,255,255,.5);
}
.knop--lijn:hover { border-color: #fff; background: rgba(255,255,255,.08); transform: translateY(-2px); }

/* ---- kop-elementen (kickers, titels) ------------------------------------ */

.kicker {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
  font-weight: 600; color: var(--amber-tekst);
  margin: 0 0 .9rem;
}
.kicker svg { color: var(--amber-tekst); flex-shrink: 0; }
.kicker--licht { color: var(--amber); }
.kicker--licht svg { color: var(--amber); }

.sectie h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  line-height: 1.12;
}

/* ===========================================================================
   HEADER
   =========================================================================== */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--ink);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; padding-block: .95rem;
}
.site-header__merk {
  font-family: var(--font-kop); font-weight: 650; font-size: 1.35rem;
  color: #fff; text-decoration: none; letter-spacing: -.01em;
}

.site-nav__toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 38px; height: 38px; background: none; border: 0; cursor: pointer;
  padding: 0;
}
.site-nav__streep { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: transform .25s ease, opacity .25s ease; }

.site-nav__lijst { display: flex; gap: clamp(1.1rem, 2.5vw, 2rem); }
.site-nav__lijst a {
  color: rgba(255,255,255,.82); text-decoration: none; font-size: .95rem; font-weight: 500;
  padding: .4rem .1rem; border-bottom: 1px solid transparent; transition: color .2s ease, border-color .2s ease;
}
.site-nav__lijst a:hover { color: #fff; border-color: var(--amber); }

.site-header__bel {
  display: inline-flex; align-items: center; gap: .5rem;
  color: var(--amber-licht); text-decoration: none; font-weight: 600; font-size: .92rem;
  border: 1px solid rgba(239,167,101,.4); border-radius: 999px; padding: .5rem 1rem;
  transition: background .2s ease, color .2s ease;
}
.site-header__bel:hover { background: var(--amber); color: var(--ink); }
.site-header__bel span { white-space: nowrap; }

@media (max-width: 860px) {
  .site-nav__toggle { display: flex; }
  .site-nav__lijst {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; gap: 0; background: var(--ink);
    border-bottom: 1px solid rgba(255,255,255,.08);
    max-height: 0; overflow: hidden; visibility: hidden;
    transition: max-height .3s ease, visibility 0s linear .3s;
  }
  .site-nav__lijst.is-open { max-height: 24rem; visibility: visible; transition: max-height .3s ease; }
  .site-nav__lijst a { display: block; padding: 1rem 1.5rem; border-bottom: 1px solid rgba(255,255,255,.06); }
  .site-header__bel span { display: none; }
}

/* ===========================================================================
   OPENING: eigen opmaak binnen de vaste opening.css-structuur
   =========================================================================== */

.opening__eyebrow {
  font-size: .8rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--amber-licht); font-weight: 600; margin: 0 0 .9rem;
}
.opening__titel {
  font-family: var(--font-kop); color: #fff;
  font-size: clamp(2.8rem, 8vw, 5.6rem); font-weight: 650;
  line-height: 1; margin: 0 0 .6rem; letter-spacing: -.02em;
}
.opening__onderregel {
  color: rgba(255,255,255,.88); font-size: clamp(1rem, 1.6vw, 1.25rem);
  max-width: 34rem; margin: 0 0 1.8rem;
}
.opening__acties { display: flex; flex-wrap: wrap; gap: .9rem; }

.opening__kop {
  padding: clamp(2.2rem, 6vw, 4.5rem) clamp(1.25rem, 4vw, 2.5rem) clamp(3rem, 7vw, 4.5rem);
  background: linear-gradient(180deg, rgba(21,20,27,0) 0%, rgba(21,20,27,.55) 28%, var(--ink) 72%);
  max-width: var(--maat-inhoud);
  margin-inline: auto;
  left: 0; right: 0;
}
.opening__slot p {
  max-width: var(--maat-inhoud); margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
  color: #fff; font-family: var(--font-kop); font-style: italic; font-weight: 500;
  font-size: clamp(1.1rem, 2.4vw, 1.6rem); text-align: center;
}
.opening__wenk { color: rgba(255,255,255,.75); animation: wenk-op-neer 1.8s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .opening__wenk { animation: none; } }
@keyframes wenk-op-neer { 0%,100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }

/* ===========================================================================
   SECTIES: algemeen ritme
   =========================================================================== */

.sectie { padding-block: var(--ruimte-sectie); position: relative; }

/* ---- verhaal -------------------------------------------------------------- */

.sectie--verhaal { background: var(--cream); }
.sectie__raster {
  display: grid; gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 860px) {
  .sectie__raster { grid-template-columns: .9fr 1.1fr; }
}

.foto-kader { margin: 0; border-radius: .6rem; overflow: hidden; position: relative; box-shadow: 0 30px 50px -30px rgba(21,20,27,.45); }
.foto-kader img { width: 100%; height: auto; }
.foto-kader--sepia img { filter: sepia(.35) saturate(1.1) contrast(1.02); }
.foto-kader figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1rem 1.2rem .9rem; font-size: .82rem; color: #fff;
  background: linear-gradient(0deg, rgba(21,20,27,.75), rgba(21,20,27,0));
}

.sectie__tekst h2 { color: var(--ink); }
.sectie__tekst p { color: var(--tekst-zacht); max-width: 38rem; }
.handtekening { font-family: var(--font-kop); font-style: italic; color: var(--amber-tekst); font-weight: 500; margin-top: 1.5rem; }

/* ---- concept (volle breedte, donker) -------------------------------------- */

.sectie--concept {
  background: var(--charcoal);
  color: #fff;
}
.sectie--concept h2 { color: #fff; max-width: 32rem; }
.concept__intro { color: rgba(255,255,255,.78); max-width: 38rem; font-size: 1.08rem; }

.concept__lijst {
  margin-top: clamp(2rem, 5vw, 3rem);
  display: grid; gap: 1px; background: rgba(255,255,255,.12);
  border-top: 1px solid rgba(255,255,255,.12);
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.concept__lijst li {
  background: var(--charcoal);
  display: flex; align-items: baseline; gap: 1.4rem;
  padding: 1.3rem .5rem;
}
.concept__nummer { font-family: var(--font-kop); font-size: 1.3rem; color: var(--amber); flex-shrink: 0; width: 2.2rem; }
.concept__lijst p { margin: 0; color: rgba(255,255,255,.88); }

@media (min-width: 760px) {
  .concept__lijst { grid-template-columns: 1fr 1fr; border-left: 1px solid rgba(255,255,255,.12); border-right: 1px solid rgba(255,255,255,.12); }
  .concept__lijst li:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.12); }
  /* Oneven aantal items: de laatste zou anders een lege cel ernaast open laten. */
  .concept__lijst li:last-child:nth-child(odd) { grid-column: 1 / -1; border-right: 0; }
}

/* ---- menu ------------------------------------------------------------------ */

.sectie--menu { background: var(--paper); }
.sectie--menu h2 { color: var(--ink); max-width: 34rem; margin-bottom: clamp(2.4rem, 5vw, 3.5rem); }

.hardlopers { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.hardloper {
  flex: 1 1 220px;
  background: var(--cream);
  border: 1px solid var(--rand);
  border-radius: .6rem;
  padding: 1.4rem 1.6rem;
}
.hardloper__label { display: block; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--amber-tekst); font-weight: 700; margin-bottom: .4rem; }
.hardloper h4 { margin: 0; font-size: 1.35rem; color: var(--ink); }

.verrassingsmenu {
  display: grid; grid-template-columns: 1fr; gap: 0;
  background: var(--ink); color: #fff;
  border-radius: .8rem; overflow: hidden;
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}
@media (min-width: 760px) { .verrassingsmenu { grid-template-columns: .85fr 1.15fr; } }
.verrassingsmenu__beeld { position: relative; min-height: 220px; }
.verrassingsmenu__beeld img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 72% 38%; filter: brightness(.92); }
.verrassingsmenu__tekst { padding: clamp(1.8rem, 4vw, 2.8rem); }
.verrassingsmenu__tekst h3 { color: #fff; font-size: 1.5rem; margin-bottom: .3rem; }
.verrassingsmenu__tekst p { color: rgba(255,255,255,.82); max-width: 32rem; }
.prijs { font-family: var(--font-kop); color: var(--amber); font-size: 1.6rem; font-weight: 600; margin-bottom: .7rem; }
.prijs--klein { font-size: 1.3rem; }

.menu-raster {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1px; background: var(--rand);
  border: 1px solid var(--rand); border-radius: .8rem; overflow: hidden;
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}
.menu-blok { background: var(--cream); padding: 1.8rem 1.6rem; }
.menu-blok h3 { font-size: 1.2rem; margin-bottom: .4rem; color: var(--ink); }
.menu-blok__hint { font-size: .9rem; color: var(--tekst-zacht); margin: 0; }
.menu-blok--donker { background: var(--charcoal); color: #fff; }
.menu-blok--donker h3 { color: var(--amber-licht); }
.toetjes li { font-size: .92rem; color: rgba(255,255,255,.85); padding: .2rem 0; }

.menu-onder {
  display: grid; grid-template-columns: 1fr; gap: clamp(2rem, 5vw, 3rem);
  margin-bottom: clamp(1.8rem, 4vw, 2.5rem);
}
@media (min-width: 760px) { .menu-onder { grid-template-columns: 1fr 1fr; } }
.menu-onder h3 { font-size: 1.2rem; color: var(--ink); }
.menu-onder .prijs { color: var(--amber-tekst); }
.prijslijst li { display: flex; justify-content: space-between; padding: .55rem 0; border-bottom: 1px dashed var(--rand); font-size: .95rem; }
.prijslijst li span:first-child { color: var(--ink); }
.prijslijst li span:last-child { color: var(--amber-tekst); font-weight: 600; }
.snackkeuze { font-size: .88rem; color: var(--tekst-zacht); }

.menu__allergie { font-size: .86rem; color: var(--tekst-zacht); border-top: 1px solid var(--rand); padding-top: 1.4rem; max-width: 46rem; }

/* ---- geschiedenis ------------------------------------------------------------ */

.sectie--geschiedenis { padding-block: 0; background: var(--ink); }
.geschiedenis__beeld { margin: 0; }
.geschiedenis__beeld img { width: 100%; height: clamp(16rem, 44vw, 30rem); object-fit: cover; filter: sepia(.3) contrast(1.03); }

.geschiedenis__tekst {
  position: relative;
  background: var(--ink); color: #fff;
  margin-top: clamp(-6rem, -8vw, -4rem);
  padding-top: clamp(2.5rem, 6vw, 4rem);
  padding-bottom: var(--ruimte-sectie);
  border-top-left-radius: 1.2rem; border-top-right-radius: 1.2rem;
}
.geschiedenis__tekst h2 { color: #fff; max-width: 30rem; }
.geschiedenis__tekst p { color: rgba(255,255,255,.82); max-width: 42rem; }
.geschiedenis__filosofie {
  font-family: var(--font-kop); font-style: italic; color: var(--amber-licht);
  font-size: 1.15rem; margin-top: 1.6rem;
}

/* ---- mogelijkheden ------------------------------------------------------------ */

.sectie--mogelijkheden { background: var(--cream); }
.sectie--mogelijkheden h2 { color: var(--ink); }
.mogelijkheden__intro { color: var(--tekst-zacht); max-width: 42rem; font-size: 1.05rem; margin-bottom: clamp(2rem, 5vw, 3rem); }

.ruimtes { display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin-bottom: clamp(2rem, 5vw, 3rem); }
@media (min-width: 760px) { .ruimtes { grid-template-columns: 1fr 1fr; } }
.ruimte {
  background: var(--paper); border: 1px solid var(--rand); border-radius: .8rem;
  padding: clamp(1.8rem, 4vw, 2.4rem); position: relative;
}
.ruimte__nummer {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.6rem; height: 2.6rem; border-radius: 50%;
  background: var(--amber); color: var(--ink);
  font-family: var(--font-kop); font-weight: 650; margin-bottom: 1.1rem;
}
.ruimte h3 { color: var(--ink); font-size: 1.35rem; }
.ruimte p { color: var(--tekst-zacht); margin: 0; }

.gebruik-tags { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 2rem; }
.gebruik-tags li {
  font-size: .85rem; color: var(--ink); background: var(--cream-donker);
  border-radius: 999px; padding: .45rem 1rem;
}

/* ---- gasten ------------------------------------------------------------------ */

.sectie--gasten { background: var(--charcoal); }
.quotes { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 760px) { .quotes { grid-template-columns: 1fr 1fr; } }
.quotes blockquote {
  margin: 0; padding: 0 0 0 1.4rem; border-left: 3px solid var(--amber);
}
.quotes p {
  font-family: var(--font-kop); font-style: italic; color: #fff;
  font-size: clamp(1.1rem, 2vw, 1.35rem); line-height: 1.4; margin: 0;
}

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

.sectie--contact { background: var(--ink); color: #fff; }
.contact__raster { display: grid; grid-template-columns: 1fr; gap: clamp(2.5rem, 6vw, 4rem); }
@media (min-width: 860px) { .contact__raster { grid-template-columns: 1.1fr .9fr; } }
.contact__info h2 { color: #fff; margin-bottom: 1.4rem; }
.contact__lijst { margin-bottom: 1.8rem; }
.contact__lijst li { display: flex; align-items: center; gap: .8rem; padding: .55rem 0; color: rgba(255,255,255,.88); }
.contact__lijst li svg { color: var(--amber); flex-shrink: 0; }
.contact__lijst a { text-decoration: none; }
.contact__lijst a:hover { color: var(--amber-licht); }
.contact__info .knop { margin-bottom: 1.6rem; }

.socials { display: flex; gap: .8rem; }
.socials a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.6rem; height: 2.6rem; border-radius: 50%;
  background: rgba(255,255,255,.08); color: #fff; text-decoration: none;
  transition: background .2s ease, color .2s ease;
}
.socials a:hover { background: var(--amber); color: var(--ink); }

.contact__uren {
  background: var(--charcoal); border-radius: .8rem; padding: clamp(1.8rem, 4vw, 2.4rem);
  align-self: start;
}
.contact__uren h3 { color: #fff; margin-bottom: 1.2rem; font-size: 1.2rem; }
.uren { width: 100%; border-collapse: collapse; }
.uren tr { border-bottom: 1px solid rgba(255,255,255,.1); }
.uren tr:last-child { border-bottom: 0; }
.uren th, .uren td { text-align: left; padding: .65rem 0; font-weight: 400; font-size: .95rem; }
.uren th { color: rgba(255,255,255,.65); font-weight: 500; }
.uren td { color: #fff; text-align: right; }

/* ===========================================================================
   FOOTER
   =========================================================================== */

.site-footer { background: var(--inkt); color: rgba(255,255,255,.75); padding-block: clamp(2.5rem, 6vw, 3.5rem) 2rem; }
.site-footer__inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1rem; }
.site-footer__logo { width: min(220px, 60vw); height: auto; margin-bottom: .5rem; }
.site-footer__filosofie { font-family: var(--font-kop); font-style: italic; color: var(--amber-licht); font-size: 1.1rem; }
.site-footer__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.2rem; margin-bottom: .3rem; }
.site-footer__nav a { color: rgba(255,255,255,.75); text-decoration: none; font-size: .9rem; }
.site-footer__nav a:hover { color: #fff; }
.site-footer__adres { font-size: .88rem; margin: .3rem 0 0; }
.site-footer__buren { font-size: .82rem; color: rgba(255,255,255,.55); max-width: 36rem; }
.site-footer__legal { font-size: .78rem; color: rgba(255,255,255,.4); margin-top: .8rem; }

/* ===========================================================================
   REVEAL-ANIMATIES: progressief; standaard gewoon zichtbaar
   =========================================================================== */

[data-reveal] { opacity: 1; transform: none; }

.js-enabled [data-reveal] {
  opacity: 0; transform: translateY(22px);
  transition: opacity .7s ease, transform .7s ease;
}
.js-enabled [data-reveal].is-zichtbaar { opacity: 1; transform: none; }

.js-enabled [data-reveal-group] [data-reveal] { transition-delay: calc(var(--vertraging, 0) * 70ms); }

@media (prefers-reduced-motion: reduce) {
  .js-enabled [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
}
