/* Café In de Pimpelaer: rustig, verfijnd. Lichtbruin vanuit RAL 1024 (minder geel, bruiner; Bruin 3, keuze 3 dec), antraciet, gedempt terracotta. */
:root {
  --paper: #dbc6ab;
  --paper-2: #d1bb9d;
  --ink: #2c2926;
  --text: #423e38;
  --muted: #534b42;
  --terra: #b37e6b;
  --terra-ink: #6e4232; /* terracotta donker genoeg voor kleine tekst op het lichtbruin */
  --line: #c0a988;
  --wa: #25d366;
  --wa-ink: #128c4b;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Lato", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(20px, 5vw, 64px);
  --max: 1180px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; background: var(--ink); }  /* doorschieten op de telefoon: zelfde donker als footer en balk, geen lichte strook */
body {
  margin: 0; background: var(--paper); color: var(--text);
  font: 400 17px/1.7 var(--sans); overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; color: var(--ink); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.005em; }
h2 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); }
h3 { font-size: 1.55rem; }
em { font-style: italic; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.ico { width: 1.15em; height: 1.15em; flex: none; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--terra); outline-offset: 3px; }

.eyebrow {
  display: block; font: 700 .74rem/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase;
  color: var(--terra-ink); margin: 0 0 1.1rem;
}
.eyebrow::before { content: ""; display: inline-block; width: 28px; height: 1px; background: currentColor; vertical-align: middle; margin-right: 12px; }
.eyebrow--light { color: #e4cfc4; }

/* Plekhouders: zichtbaar en eerlijk */
.ph { display: inline-block; font: 700 .78rem/1.4 var(--sans); letter-spacing: .04em; color: #9a4a2f; background: #f6e3d9; border: 1px dashed #c98a72; padding: 2px 8px; border-radius: 3px; }

/* Knoppen */
.btn {
  display: inline-flex; align-items: center; gap: .6em; min-height: 48px; padding: .75em 1.5em;
  background: var(--ink); color: var(--paper); text-decoration: none; border-radius: 3px;
  font: 700 .82rem/1.2 var(--sans); letter-spacing: .1em; text-transform: uppercase;
  transition: background .2s, color .2s;
}
.btn:hover { background: var(--terra-ink); }
.btn--small { min-height: 42px; padding: .6em 1.15em; font-size: .74rem; }
.btn--light { background: var(--paper); color: var(--ink); }
.btn--light:hover { background: #fff; color: var(--terra-ink); }
.btn--wa { background: var(--wa-ink); color: #fff; }
.btn--wa:hover { background: #0f7a41; }
.line { display: inline-flex; align-items: center; gap: .55em; min-height: 44px; text-decoration: none; border-bottom: 1px solid transparent; }
.line:hover { color: var(--terra-ink); }
.link-light { display: inline-flex; align-items: center; gap: .5em; color: #f2ebe3; text-decoration: none; min-height: 44px; border-bottom: 1px solid rgba(255,255,255,.35); font-size: .95rem; }
.link-light:hover { border-color: #fff; }

/* Kop */
.top { position: sticky; top: 0; z-index: 20; background: rgba(44,41,38,.9); border-bottom: 1px solid rgba(255,255,255,.08); }  /* antraciet, licht doorzichtig (keuze Bas 2 dec) */
.top__in { display: flex; align-items: center; gap: 24px; max-width: var(--max); margin: 0 auto; padding: 6px var(--gutter); }
.top__merk { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }  /* logo groter, open-tijd eronder (wens Martijn) */
.top__logo img { width: 140px; }
.top__nav { display: flex; gap: 28px; margin-left: auto; }
.top__nav a { text-decoration: none; font-size: .9rem; letter-spacing: .04em; padding: 10px 0; color: #efe6dc; }
.top__nav a:hover { color: #e7c3b2; }
.top__cta { background: #f7f3ee; color: var(--ink); }
.top__cta:hover { background: #fff; }
@media (max-width: 760px) {
  .top__nav { display: none; }
  .top__cta { margin-left: auto; }
  .top__logo img { width: 108px; }
}
@media (max-width: 380px) { .top__cta span { font-size: .68rem; } .top__cta { padding-inline: .9em; } }
@media (max-width: 899px) { .top__in { gap: 12px; } }

/* Hero */
.hero { position: relative; min-height: min(86vh, 760px); display: grid; align-items: end; background: #1d1b19; overflow: hidden; }
.hero picture, .hero__img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__img { object-fit: cover; object-position: 40% 50%; }
/* Openingsmelding in de foto onder de balk, in een eigen donker vakje zodat hij altijd leesbaar is (wens Martijn) */
.hero__top { position: absolute; top: 18px; left: 0; right: 0; z-index: 2; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.hero__status { display: inline-flex; align-items: center; gap: .6em; margin: 0; padding: 8px 14px; border-radius: 3px; background: rgba(28,26,24,.86); color: #f7f1ea; font-size: .9rem; letter-spacing: .02em; line-height: 1.3; }
.hero__status::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--dot, #9b9389); flex: none; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,18,16,.25) 0%, rgba(20,18,16,.15) 40%, rgba(20,18,16,.78) 100%); }
.hero__text { position: relative; width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter) clamp(40px, 8vh, 88px); }
.hero h1 { color: #fbf7f2; font-weight: 400; font-size: clamp(2.7rem, 8.2vw, 6.3rem); line-height: 1.02; max-width: 15ch; margin-bottom: .45em; }
.hero h1 em { color: #f0d9cd; }
.hero h1 .eyebrow { font-size: .74rem; margin-bottom: 1.6rem; }
/* Ondertitel in hetzelfde lettertype als de titel (wens Martijn): geen hoofdletters/letterafstand */
.hero h1 .eyebrow { text-wrap: balance; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(1.15rem, 2vw, 1.5rem); letter-spacing: 0; text-transform: none; line-height: 1.3; color: #efe2d8; }
.hero__open { color: #efe6dc; font-size: .95rem; margin: 0 0 1.4rem; display: flex; align-items: center; gap: .6em; }
.hero__open::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--dot, #9b9389); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }

/* Over ons */
.over { display: grid; gap: 36px; padding-block: clamp(48px, 7vw, 96px); grid-template-columns: 1fr; }  /* minder lege ruimte (wens Bas) */
.over h2 { max-width: 16ch; }
.lead { font-family: var(--serif); font-size: 1.45rem; line-height: 1.45; color: var(--ink); }
.over__text p:not(.lead):not(.eyebrow) { max-width: 58ch; }
.over__fig figcaption { font-size: .82rem; color: var(--muted); margin-top: .7em; }
/* Plakmuur bij Over ons (wens Martijn/Bas): foto's verspringend over elkaar, gescheiden door een papierkleurige rand.
   Posities in % van de muur (breedte 100, hoogte 125). */
.over__muur { position: relative; width: 100%; max-width: 620px; justify-self: center; }
.over__muur::before { content: ""; display: block; padding-top: 125%; }  /* hoogte 125% van de breedte, ook op oude iPhones zonder aspect-ratio */
.muur__foto { position: absolute; margin: 0; border: 10px solid var(--paper); background: var(--paper); }
.muur__foto img { display: block; width: 100%; height: auto; }
.m1 { left: 0;   top: 0;     width: 62%; z-index: 1; }
.m2 { left: 60%; top: 4%;    width: 38%; z-index: 2; }
.m3 { left: 6%;  top: 24%;   width: 48%; z-index: 3; }
.m4 { left: 50%; top: 40%;   width: 40%; z-index: 4; }
.m5 { left: 0;   top: 56%;   width: 46%; z-index: 5; }
.m6 { left: 40%; top: 67.5%; width: 52%; z-index: 6; }
@media (max-width: 899px) { .muur__foto { border-width: 6px; } }
@media (min-width: 900px) {
  .over { grid-template-columns: 1.05fr .95fr; grid-template-rows: auto auto; column-gap: 72px; row-gap: 40px; }
  .over__text { grid-row: 1 / 3; align-self: center; }
}

/* Citaat kastelijn */
.quote { background: var(--ink); color: #eae2d8; }
.quote__in { max-width: var(--max); margin: 0 auto; padding: clamp(48px, 7vw, 96px) var(--gutter); display: grid; gap: 44px; align-items: center; }
.quote__photo img { width: 100%; max-width: 420px; aspect-ratio: 4 / 5; object-fit: cover; }
.quote blockquote { margin: 0; }
.quote blockquote p { font-family: var(--serif); font-weight: 400; font-size: clamp(1.75rem, 4.4vw, 3.05rem); line-height: 1.22; color: #f7f1ea; margin-bottom: .9em; }
.quote blockquote p::before { content: "\201C"; display: block; font-size: 1.9em; line-height: .6; color: var(--terra); margin-bottom: .15em; }
.quote blockquote em { color: #e7c3b2; }
.quote footer { font-size: .92rem; letter-spacing: .06em; color: #cfc4b8; }
.quote footer span { font-family: var(--serif); font-style: italic; font-size: 1.2rem; letter-spacing: 0; color: #e7c3b2; }
@media (min-width: 900px) {
  .quote__in { grid-template-columns: 1fr 1fr; gap: 72px; }
  .quote__photo img { max-width: 580px; }  /* Martijn achter de tap groter op de pc (wens Bas) */
}

/* Menu */
.menu { padding-block: clamp(72px, 12vw, 150px); }
.menu__head { max-width: 640px; margin-bottom: 52px; }
.menu__grid { display: grid; gap: 48px; }
.menu__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.menu__list li { padding: 22px 0; border-top: 1px solid var(--line); }
.menu__list li:last-child { border-bottom: 1px solid var(--line); }
.menu__list h3 { margin-bottom: .2em; }
.menu__list p { margin: 0; color: var(--muted); }
.menu__list .ph { margin-top: .5em; }
.photo-ph {
  aspect-ratio: 4 / 5; display: grid; place-content: center; text-align: center; gap: 6px; padding: 24px;
  background: repeating-linear-gradient(135deg, var(--paper-2) 0 14px, #e9e1d6 14px 28px);
  border: 1px dashed #b9ab9a; color: var(--muted);
}
.photo-ph span { font-family: var(--serif); font-size: 1.8rem; color: var(--ink); }
.photo-ph small { font-size: .82rem; }
@media (max-width: 899px) { .menu__side .photo-ph { aspect-ratio: 16 / 9; } }
.menu__note { margin-top: 18px; font-size: .92rem; color: var(--muted); }
@media (min-width: 900px) {
  .menu__grid { grid-template-columns: 1fr; }
  .menu__list { grid-template-columns: repeat(3, 1fr); column-gap: 48px; }
  .menu__list li { border-bottom: 1px solid var(--line); }
  .menu__list li:nth-last-child(2) { border-bottom: 1px solid var(--line); }
}

/* Sfeerstrook */
.strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 10px; background: var(--paper); }  /* zelfde rand als de plakmuur */
.strip img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 700px) { .strip { grid-template-columns: 1fr; } }
.photo-ph--sq { aspect-ratio: 1; padding: 12px; }
@media (max-width: 600px) { .photo-ph--sq span { font-size: 1.15rem; } .photo-ph--sq small { font-size: .68rem; } }

/* Feestje */
.feest { background: var(--paper-2); }
.feest__in { display: grid; gap: 36px; padding-block: clamp(64px, 10vw, 120px); }
.feest__in > div:first-child p:not(.eyebrow):not(.ph) { max-width: 46ch; font-size: 1.08rem; }
.feest__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.feest__actions .btn { margin-bottom: 12px; }
@media (min-width: 900px) { .feest__in { grid-template-columns: 1.2fr .8fr; align-items: center; } }

/* Nieuwsbrief */
.nieuws { text-align: center; padding-block: clamp(64px, 10vw, 120px); max-width: 760px; }
.nieuws h2 { font-size: clamp(1.9rem, 4.4vw, 2.8rem); }
.nieuws p { color: var(--muted); margin-bottom: 1.6em; }

/* Contact */
.contact { border-top: 1px solid var(--line); }
.contact__in { display: grid; gap: 40px; padding-block: 64px 72px; }
.contact h2 { font-size: 2rem; }
.contact h3 { font-size: 1.35rem; }
address { font-style: normal; margin-bottom: .4em; }
.hours { margin: 0; }
.hours div { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.hours dt { color: var(--muted); }
.hours dd { margin: 0; color: var(--ink); white-space: nowrap; }
.phone-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.wa-badge { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 6px 14px 6px 10px; border-radius: 3px; background: var(--wa-ink); color: #fff; text-decoration: none; font-size: .85rem; font-weight: 700; }
.wa-badge svg { width: 20px; height: 20px; }
.wa-badge:hover { background: #0f7a41; }
@media (min-width: 900px) { .contact__in { grid-template-columns: repeat(3, 1fr); gap: 64px; } }

/* Voet */
.foot { background: var(--ink); color: #cfc5ba; padding: 56px 0 28px; font-size: .95rem; box-shadow: 0 60vh 0 60vh var(--ink); }  /* donker 'verlengstuk' dat je alleen ziet bij doorschieten; telt niet mee in de paginahoogte */
.foot__in { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .foot__in { display: flex; justify-content: space-between; } }  /* pc: alleen logo links en socials rechts (wens Bas) */
@media (max-width: 899px) { .foot__in { justify-items: center; } .foot__social { justify-content: center; } .foot__copy { text-align: center; } }  /* mobiel: logo en socials gecentreerd onder elkaar */
@media (max-width: 899px) { .foot { padding: 36px 0 24px; } .foot__in { gap: 18px; } .foot__copy { margin-top: 24px; padding-top: 16px; } }  /* mobiel: compacte footer, minder lege ruimte (wens Bas) */
@media (max-width: 899px) { .contact__in { gap: 28px; padding-block: 44px 48px; } }  /* mobiel: compacter contactblok */
.foot__logo { width: 150px; opacity: .92; }
.foot a { text-decoration: none; display: inline-flex; align-items: center; gap: .5em; min-height: 44px; }
.foot a:hover { color: #fff; }
.foot__contact p { margin: 0 0 .3em; }
.foot__social { display: flex; gap: 14px; align-items: center; }
.foot__social a, .social-ph { width: 44px; height: 44px; justify-content: center; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; }
.foot__social svg { width: 20px; height: 20px; }
.social-ph { display: inline-flex; align-items: center; position: relative; opacity: .5; width: auto; padding: 0 12px; border-radius: 3px; gap: 8px; border-style: dashed; }
.social-ph .ph { background: transparent; color: #e4cfc4; border: 0; padding: 0; }
.wa-badge--dark { background: var(--wa-ink); color: #fff; }
.foot__copy { margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); font-size: .8rem; color: #9d9388; }
.foot__copy p { margin: 0; }
.foot__credit a { color: inherit; min-height: 0; display: inline; text-decoration: underline; text-underline-offset: 2px; text-decoration-color: rgba(255,255,255,.25); }
.foot__credit a:hover { color: #fff; }
@media (min-width: 900px) { .foot__copy { display: flex; justify-content: space-between; gap: 24px; } }  /* credit rechtsonder */
@media (max-width: 899px) { .foot__credit { margin-top: 6px !important; } }
@media (min-width: 900px) {
}

/* Zwevende WhatsApp-knop (alleen mobiel) */
.wa-float { position: fixed; right: 16px; bottom: 16px; z-index: 30; width: 56px; height: 56px; border-radius: 50%; background: var(--wa-ink); color: #fff; display: grid; place-items: center; box-shadow: 0 6px 18px rgba(0,0,0,.25); }
.wa-float svg { width: 28px; height: 28px; }
@media (min-width: 900px) { .wa-float { display: none; } }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
/* Mobiel: ondertitel evenwichtig over twee regels, zonder streepje ervoor (anders valt Alkmaar los) */
@media (max-width: 600px) { .hero h1 .eyebrow::before { display: none; } .hero h1 .eyebrow { max-width: 17em; } }
/* Onderkant is de onderkant: niet doorschieten waar de browser dat ondersteunt */
html, body { overscroll-behavior-y: none; }
/* Pc: kolom 'Bellen, appen of mailen met Martijn' rechts uitgelijnd (wens Bas) */
@media (min-width: 900px) { .contact__col:last-child { display: flex; flex-direction: column; align-items: flex-end; text-align: right; } .contact__col:last-child .phone-row { justify-content: flex-end; } }

/* ── Plakbord Over ons (wens Martijn 3 dec): foto's ongelijk verspreid als achtergrond, tekst als briefje erop ── */
.over { position: relative; display: flex; flex-direction: column; gap: 28px; padding: 44px var(--gutter) 52px; max-width: none; overflow: hidden; }
.over__briefje { order: -1; position: relative; z-index: 20; background: #f8f2e6; padding: 30px 26px; box-shadow: 0 6px 24px rgba(44,41,38,.2); }
.over__bord { column-count: 2; column-gap: 10px; }
.bord__foto { margin: 0 0 10px; break-inside: avoid; border: 8px solid #f8f2e6; background: #f8f2e6; box-shadow: 0 2px 10px rgba(44,41,38,.18); }
.bord__foto img { display: block; width: 100%; height: auto; }
.over__bord .b3, .over__bord .b7, .over__bord .b11 { margin-left: 8px; }
.over__bord .b4, .over__bord .b8 { margin-right: 8px; }
@media (min-width: 900px) {
  .over { display: block; min-height: max(760px, 60vw); padding: 0; }
  .over__bord { position: absolute; inset: 0; column-count: auto; }
  .bord__foto { position: absolute; margin: 0; border-width: 10px; }
  .b1 { left: -2%; top: 1.7%; width: 25%; z-index: 1; transform: rotate(-3deg); }
  .b6 { left: 22%; top: -5.0%; width: 15%; z-index: 2; transform: rotate(2.5deg); }
  .b9 { left: -2%; top: 66.7%; width: 25%; z-index: 3; transform: rotate(2deg); }
  .b14 { left: -3%; top: 25%; width: 19%; z-index: 2; transform: rotate(2.5deg); }
  .b15 { left: -2%; top: 48.5%; width: 18%; z-index: 2; transform: rotate(-2deg); }
  .b16 { left: 82%; top: 65.0%; width: 19%; z-index: 18; transform: rotate(-2deg); }
  .b17 { left: 33%; top: 80%; width: 16%; z-index: 4; transform: rotate(2deg); }
  .b18 { left: 80%; top: 80%; width: 21%; z-index: 17; transform: rotate(2.5deg); }
  .b13 { left: 26%; top: 73.3%; width: 14%; z-index: 4; transform: rotate(-2deg); }
  .b2 { left: 49%; top: 1.7%; width: 17%; z-index: 20; transform: rotate(-2deg); }
  .b10 { left: 48%; top: 40.0%; width: 17%; z-index: 21; transform: rotate(2.5deg); }
  .b8 { left: 47%; top: 75.0%; width: 19%; z-index: 13; transform: rotate(-2deg); }
  .b3 { left: 65%; top: 5.0%; width: 21%; z-index: 22; transform: rotate(2deg); }
  .b7 { left: 64%; top: 33.3%; width: 22%; z-index: 23; transform: rotate(-1.5deg); }
  .b11 { left: 67%; top: 61.7%; width: 16%; z-index: 24; transform: rotate(2deg); }
  .b4 { left: 83%; top: -3.3%; width: 17%; z-index: 25; transform: rotate(-2.5deg); }
  .b5 { left: 82%; top: 36.7%; width: 19%; z-index: 15; transform: rotate(2.5deg); }
  .b12 { left: 35%; top: -5%; width: 15%; z-index: 3; transform: rotate(-2.5deg); }
  .over__briefje { position: absolute; z-index: 30; top: 50%; transform: translateY(-50%); left: max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter))); width: min(500px, 38%); padding: 44px 46px; }
  .over__briefje h2 { max-width: none; }
}
