/* ===========================================================================
   schattig.: specialty coffee & all day brunch, Schiedam
   =========================================================================== */

:root {
  --cream: #F7EEE1;
  --cream-deep: #EFDFC7;
  --ink: #2E1B10;
  --ink-soft: #5A4330;
  --rust: #BD5C2A;
  --rust-deep: #9A4820;
  --wine: #6E2A1B;
  --wine-deep: #4C1C12;

  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Work Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --maat-pagina: min(72rem, 100% - 3rem);

  --opening-achtergrond: #241106;
  --opening-demping: .8;
}

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

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

html { -webkit-text-size-adjust: 100%; }

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

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

a { color: inherit; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.08;
  margin: 0;
}

h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); font-weight: 600; }

p { margin: 0; }

ul { margin: 0; padding: 0; list-style: none; }

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--ink);
  color: var(--cream);
  padding: .75rem 1.25rem;
  border-radius: .4rem;
  z-index: 100;
  transition: top .2s ease;
}
.skip-link:focus { top: 1rem; }

/* ---- bouwstenen -------------------------------------------------------- */

.kicker {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin: 0 0 1rem;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--rust-deep);
}
.kicker--licht { color: var(--cream-deep); }
.kicker svg { flex: none; }

.knop {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .85rem 1.6rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: transform .18s ease, background-color .18s ease, color .18s ease, border-color .18s ease;
}
.knop:hover { transform: translateY(-2px); }

.knop--primair {
  background: var(--rust-deep);
  color: #fff;
}
.knop--primair:hover { background: var(--wine-deep); }

.knop--secundair {
  background: transparent;
  color: var(--cream);
  border-color: rgba(247, 238, 225, .55);
}
.knop--secundair:hover { background: rgba(247, 238, 225, .12); border-color: var(--cream); }

.knop--licht {
  background: var(--cream);
  color: var(--wine-deep);
}
.knop--licht:hover { background: #fff; }

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

.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  padding: 1.1rem 0;
  background: transparent;
  transition: background-color .25s ease, box-shadow .25s ease, padding .25s ease;
}

.header--solid {
  background: rgba(247, 238, 225, .92);
  backdrop-filter: blur(6px);
  box-shadow: 0 1px 0 rgba(46, 27, 16, .08);
  padding: .7rem 0;
}

.header__binnen {
  width: var(--maat-pagina);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.header__logo {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--cream);
  text-decoration: none;
  transition: color .25s ease;
}
.header--solid .header__logo { color: var(--ink); }
.header__punt { color: var(--rust); }

.header__nav ul {
  display: flex;
  gap: 2rem;
}

.header__nav a {
  color: var(--cream);
  text-decoration: none;
  font-size: .95rem;
  font-weight: 500;
  transition: color .25s ease, opacity .2s ease;
  opacity: .9;
}
.header__nav a:hover { opacity: 1; }
.header--solid .header__nav a { color: var(--ink-soft); }

.header__acties {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header__insta {
  color: var(--cream);
  display: inline-flex;
  transition: color .25s ease, opacity .2s ease;
}
.header__insta:hover { opacity: .75; }
.header--solid .header__insta { color: var(--ink); }

.header__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.header__burger span {
  display: block;
  height: 2px;
  background: var(--cream);
  border-radius: 2px;
  transition: background-color .25s ease, transform .25s ease, opacity .25s ease;
}
.header--solid .header__burger span { background: var(--ink); }

.mobielnav {
  display: none;
}

@media (max-width: 860px) {
  .header__nav { display: none; }
  .header__burger { display: flex; }

  .mobielnav {
    position: fixed;
    inset: 0;
    z-index: 49;
    background: var(--wine-deep);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s;
  }
  .mobielnav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity .25s ease, transform .25s ease;
  }
  .mobielnav ul {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
  .mobielnav a {
    color: var(--cream);
    text-decoration: none;
    font-family: var(--font-display);
    font-size: 1.6rem;
  }
  .header__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .header__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .header__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ===========================================================================
   OPENING: kop, knoppen, slot (opbouw zelf in opening.css)
   =========================================================================== */

.opening__kop {
  padding: 0 0 clamp(3rem, 9svh, 6rem);
  color: var(--cream);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.opening__kop .kicker {
  color: var(--cream-deep);
}

.opening__kop h1 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(3.2rem, 11vw, 7.5rem);
  color: var(--cream);
}
.opening__punt { color: var(--rust); }

.opening__subzin {
  margin-top: .6rem;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: var(--cream-deep);
}

.opening__knoppen {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.opening__slotzin {
  text-align: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(2.6rem, 8vw, 5.5rem);
  color: var(--cream);
  padding-bottom: clamp(2.5rem, 7svh, 5rem);
}

.opening__wenk {
  color: var(--cream-deep);
}
.opening__wenk svg {
  animation: wenk-op-neer 1.8s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
  .opening__wenk svg { animation: none; }
}
@keyframes wenk-op-neer {
  0%, 100% { transform: translateY(0); opacity: .5; }
  50% { transform: translateY(8px); opacity: 1; }
}

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

.sectie {
  padding: clamp(4rem, 9vw, 7rem) 0;
}

.sectie__binnen {
  width: var(--maat-pagina);
  margin: 0 auto;
}

[data-reveal] { opacity: 1; transform: none; }
.is-pre-reveal[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s ease, transform .7s ease;
}
.is-pre-reveal.is-revealed {
  opacity: 1;
  transform: none;
}

/* ---- intro -------------------------------------------------------------- */

.sectie--intro { background: var(--cream); }

.sectie__binnen--intro {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.intro__tekst h2 { margin-bottom: 1.1rem; }
.intro__tekst p { max-width: 42rem; color: var(--ink-soft); }

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-top: 1.6rem;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .5rem .95rem;
  border-radius: 999px;
  background: var(--cream-deep);
  color: var(--wine-deep);
  font-size: .85rem;
  font-weight: 600;
}

.intro__insta {
  margin-top: 1.4rem;
  font-size: .92rem;
  color: var(--ink-soft);
}
.intro__insta a { color: var(--rust-deep); font-weight: 600; text-decoration: underline; text-underline-offset: .2em; }

.intro__beeld {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
  aspect-ratio: 4 / 5;
  border-radius: 1.4rem;
  background: linear-gradient(155deg, var(--cream-deep), #E6CFA9);
  color: var(--rust-deep);
  overflow: hidden;
}
.intro__kopje {
  position: relative;
  z-index: 1;
  width: clamp(84px, 16vw, 148px);
  height: auto;
  color: var(--wine-deep);
}
.intro__motief {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.3rem, 2.3vw, 1.7rem);
  color: var(--wine-deep);
  opacity: .85;
}
.intro__motief-punt { color: var(--rust); }
.intro__blad {
  position: absolute;
  bottom: -8%;
  right: -6%;
  color: var(--rust-deep);
  opacity: .4;
}

/* ---- motto full-bleed ---------------------------------------------------- */

.sectie--motto {
  background: linear-gradient(165deg, var(--wine-deep), var(--wine));
  color: var(--cream);
  text-align: center;
  padding: clamp(4rem, 10vw, 7.5rem) 0;
}
.sectie__binnen--motto {
  width: var(--maat-pagina);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
}
.motto__kicker {
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--cream-deep);
}
.motto__zin {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(2.6rem, 9vw, 5.5rem);
  margin-bottom: .5rem;
}

/* ---- kaart ---------------------------------------------------------------- */

.sectie--kaart { background: var(--cream-deep); }

.sectie--kaart h2 { margin-bottom: 2rem; max-width: 36rem; }

.kaartnav {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.kaartnav a {
  padding: .55rem 1.1rem;
  border-radius: 999px;
  background: var(--cream);
  color: var(--wine-deep);
  text-decoration: none;
  font-weight: 600;
  font-size: .88rem;
  border: 1px solid rgba(110, 42, 27, .18);
  transition: background-color .2s ease, color .2s ease;
}
.kaartnav a:hover { background: var(--rust); color: #fff; }

.kaart__kaartfoto {
  float: right;
  width: min(100%, 15rem);
  margin: 0 0 1.5rem 1.75rem;
  transform: rotate(2.5deg);
  background: #fff;
  padding: .6rem .6rem 1rem;
  box-shadow: 0 14px 30px -14px rgba(46, 27, 16, .4);
  border-radius: .3rem;
}
.kaart__kaartfoto img { border-radius: .15rem; }
.kaart__kaartfoto figcaption {
  text-align: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: .95rem;
  color: var(--ink-soft);
  margin-top: .5rem;
}

.kaart__groepen {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 2.5rem 2.5rem;
}

.kaart__groep h3,
.kaart__hangrykop,
.kaart__bakkerij h3 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  color: var(--wine-deep);
  padding-bottom: .5rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(110, 42, 27, .25);
}

.kaart__lijst { display: flex; flex-direction: column; gap: .65rem; }
.kaart__lijst--eten { gap: 1.4rem; margin-top: 1.5rem; }
.kaart__lijst--bakkerij { gap: .6rem; margin-top: 1.25rem; }

.kaart__rij {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .3rem .6rem;
}
.kaart__rij > span:first-child { flex: 1 1 auto; }
.kaart__rij--addon { opacity: .75; font-size: .9rem; }

.kaart__prijs {
  margin-left: auto;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  color: var(--rust-deep);
}

.kaart__badge {
  display: inline-block;
  margin-left: .4rem;
  padding: .1rem .45rem;
  border-radius: .3rem;
  background: var(--cream);
  color: var(--wine-deep);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .04em;
  vertical-align: middle;
}

.kaart__beschrijving {
  margin-top: .35rem;
  font-size: .92rem;
  color: var(--ink-soft);
  max-width: 34rem;
}
.kaart__addon {
  margin-top: .3rem;
  font-size: .85rem;
  font-style: italic;
  color: var(--rust-deep);
}

.kaart__voetnoot {
  margin-top: 1.5rem;
  font-size: .85rem;
  color: var(--ink-soft);
  clear: both;
}

.kaart__eten {
  clear: both;
  margin-top: 4rem;
  padding-top: 3.5rem;
  border-top: 1px solid rgba(110, 42, 27, .2);
}
.kaart__hangrykop {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  border-bottom: none;
  margin-bottom: 0;
}
.kaart__kitchen {
  margin-top: .3rem;
  font-size: .9rem;
  color: var(--rust-deep);
  font-weight: 600;
}

.kaart__halal {
  margin-top: 2.2rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--wine-deep);
}
.kaart__legenda {
  margin-top: .4rem;
  font-size: .82rem;
  color: var(--ink-soft);
}

.kaart__bakkerij {
  clear: both;
  margin-top: 3.5rem;
  padding: 2rem clamp(1.25rem, 4vw, 2.5rem);
  background: var(--cream);
  border-radius: 1.1rem;
}

/* ---- openingstijden -------------------------------------------------------- */

.sectie--uren { background: var(--cream); }

.sectie__binnen--uren {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.sectie--uren h2 { margin-bottom: 1.5rem; }

.uren__lijst {
  display: flex;
  flex-direction: column;
  gap: .9rem;
  max-width: 26rem;
}
.uren__lijst li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: .9rem;
  border-bottom: 1px solid rgba(46, 27, 16, .12);
  font-weight: 500;
}
.uren__lijst li span:last-child {
  font-variant-numeric: tabular-nums;
  color: var(--rust-deep);
  font-weight: 600;
}

.uren__extra {
  margin-top: 1rem;
  color: var(--ink-soft);
}
.uren__extra a { color: var(--rust-deep); font-weight: 600; text-decoration: underline; text-underline-offset: .2em; }

.uren__beeld {
  display: flex;
  justify-content: center;
  color: var(--rust-deep);
  opacity: .6;
}

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

.sectie--contact {
  background: linear-gradient(165deg, var(--wine-deep), var(--ink));
  color: var(--cream);
}

.sectie__binnen--contact h2 { color: var(--cream); margin-bottom: 1.4rem; }

.contact__lijst {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  margin-bottom: 1.8rem;
}
.contact__lijst a {
  text-decoration: none;
  font-size: 1.1rem;
  color: var(--cream);
  border-bottom: 1px solid rgba(247, 238, 225, .3);
  padding-bottom: .2rem;
  display: inline-block;
}
.contact__lijst a:hover { border-color: var(--cream); }

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

.footer {
  background: var(--ink);
  color: var(--cream-deep);
  position: relative;
  overflow: hidden;
}

.footer__binnen {
  position: relative;
  z-index: 1;
  width: var(--maat-pagina);
  margin: 0 auto;
  padding: 3.5rem 0 2.5rem;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 2rem;
  align-items: start;
}

.footer__logo {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.6rem;
  color: var(--cream);
  text-decoration: none;
}
.footer__punt { color: var(--rust); }
.footer__tagline { margin-top: .4rem; font-size: .88rem; opacity: .75; }

.footer__nav, .footer__contact {
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.footer__nav a, .footer__contact a {
  color: var(--cream-deep);
  text-decoration: none;
  font-size: .92rem;
  opacity: .85;
}
.footer__nav a:hover, .footer__contact a:hover { opacity: 1; }

.footer__strook {
  height: 54px;
  background-image: url('../assets/foto-2.png');
  background-size: 220% auto;
  background-position: center 15%;
  filter: grayscale(1) sepia(.4) hue-rotate(-6deg) saturate(1.6) brightness(.4);
  opacity: .55;
}

/* ===========================================================================
   RESPONSIVE
   =========================================================================== */

@media (max-width: 900px) {
  .sectie__binnen--intro,
  .sectie__binnen--uren {
    grid-template-columns: 1fr;
  }
  .intro__beeld { order: -1; aspect-ratio: 4 / 3; }
  .uren__beeld { display: none; }
  .footer__binnen { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .kaart__kaartfoto { float: none; margin: 0 0 2rem; width: 100%; max-width: 20rem; }
  .kaart__groepen { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .is-pre-reveal[data-reveal] { opacity: 1; transform: none; transition: none; }
  .knop { transition: none; }
}
