/*
Theme Name: Kemphaan 4
Theme URI: https://www.stadsbrouwerijdekemphaan.nl/
Author: Kemphaan
Author URI: https://www.stadsbrouwerijdekemphaan.nl/
Description: Professional, mobile-first WordPress theme for Stadsbrouwerij de Kemphaan. Warm paper background, deep brewery-green primary with copper accents, disciplined typography (Inter + Fraunces), photo-forward editorial layouts inspired by Sierra Nevada, Bell's, Brooklyn Brewery and other 2026 craft-brewery web leaders. Mobile-first responsive grid, accessible focus states, 48px minimum tap targets, integrated NIX18 age verification, custom post types for bieren and agenda, full Customizer support.
Version: 4.0.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kemphaan4
Tags: brewery, custom-menu, custom-logo, featured-images, full-width-template, theme-options, translation-ready, age-gate, mobile-first, accessibility-ready
*/

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root{
  /* Paper neutrals */
  --c-paper:#faf7f0;
  --c-paper-2:#f1ece0;
  --c-paper-3:#e8e1d0;
  --c-ink:#1c1c1a;
  --c-ink-soft:#3d3a35;
  --c-muted:#6f6a5e;
  --c-line:#d9d2c0;
  --c-line-soft:#e8e1d0;

  /* Brand */
  --c-green:#1f3b2d;
  --c-green-2:#2c5440;
  --c-green-soft:#e8efe9;
  --c-copper:#a8551f;
  --c-copper-2:#c47140;
  --c-amber:#d99845;
  --c-cream:#f5ebd6;
  --c-white:#ffffff;

  /* Type */
  --f-display:"Fraunces","Playfair Display",Georgia,serif;
  --f-body:"Inter","SF Pro",system-ui,-apple-system,sans-serif;
  --f-mono:"JetBrains Mono","SF Mono",ui-monospace,monospace;

  /* Layout */
  --maxw:1280px;
  --gutter:1.25rem;
  --gutter-lg:1.75rem;

  /* Motion */
  --ease:cubic-bezier(.2,.7,.2,1);
  --t-fast:.18s;
  --t-mid:.32s;

  /* Radii + shadow */
  --r-sm:6px;
  --r-md:10px;
  --r-lg:14px;
  --r-pill:999px;
  --sh-1:0 1px 2px rgba(28,28,26,.06),0 1px 3px rgba(28,28,26,.04);
  --sh-2:0 4px 12px rgba(28,28,26,.06),0 2px 6px rgba(28,28,26,.04);
  --sh-3:0 20px 40px -12px rgba(28,28,26,.18),0 8px 20px -8px rgba(28,28,26,.1);
}

/* ============================================================
   RESET + BASE
   ============================================================ */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{
  font-family:var(--f-body);
  color:var(--c-ink);
  background:var(--c-paper);
  font-size:16px;
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
  min-height:100vh;
  overflow-x:hidden;
}
::selection{background:var(--c-copper);color:var(--c-paper)}
img,svg,video{max-width:100%;display:block;height:auto}
button{font:inherit;cursor:pointer;background:none;border:none;color:inherit}
input,textarea,select{font:inherit;color:inherit}
a{color:inherit;text-decoration:none;transition:color var(--t-fast) var(--ease)}
a:hover{color:var(--c-copper)}

h1,h2,h3{font-family:var(--f-display);font-weight:500;line-height:1.08;letter-spacing:-.015em;color:var(--c-ink)}
h4,h5,h6{font-family:var(--f-body);font-weight:700;line-height:1.2;color:var(--c-ink)}
h1 em,h2 em,h3 em{font-style:italic;font-weight:400;color:var(--c-copper)}

.eyebrow{
  font-family:var(--f-mono);font-size:.7rem;
  letter-spacing:.22em;text-transform:uppercase;
  color:var(--c-copper);font-weight:500;
  display:inline-flex;align-items:center;gap:.6rem;
}
.eyebrow::before{content:"";width:18px;height:1px;background:currentColor}

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

/* ============================================================
   REVEALS
   ============================================================ */
.reveal{opacity:0;transform:translateY(20px);transition:opacity .7s var(--ease),transform .7s var(--ease)}
.reveal.in{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){
  .reveal{opacity:1;transform:none;transition:none}
  *,*::before,*::after{animation-duration:.001ms !important;transition-duration:.001ms !important}
}

/* ============================================================
   BUTTONS — 48px tap minimum
   ============================================================ */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:.5rem;
  min-height:48px;padding:.85rem 1.4rem;
  font-family:var(--f-body);font-weight:600;font-size:.92rem;
  letter-spacing:.02em;
  border-radius:var(--r-pill);
  transition:all var(--t-fast) var(--ease);
  cursor:pointer;border:1.5px solid transparent;
  white-space:nowrap;
}
.btn .arrow{transition:transform var(--t-fast) var(--ease)}
.btn:hover .arrow{transform:translateX(3px)}
.btn-primary{background:var(--c-green);color:var(--c-paper);border-color:var(--c-green)}
.btn-primary:hover{background:var(--c-green-2);color:var(--c-paper);border-color:var(--c-green-2);transform:translateY(-1px);box-shadow:var(--sh-2)}
.btn-secondary{background:var(--c-copper);color:var(--c-paper);border-color:var(--c-copper)}
.btn-secondary:hover{background:var(--c-copper-2);color:var(--c-paper);border-color:var(--c-copper-2);transform:translateY(-1px);box-shadow:var(--sh-2)}
.btn-ghost{background:transparent;color:var(--c-ink);border-color:var(--c-ink)}
.btn-ghost:hover{background:var(--c-ink);color:var(--c-paper)}
.btn-link{
  display:inline-flex;align-items:center;gap:.4rem;
  font-family:var(--f-body);font-weight:600;font-size:.9rem;
  color:var(--c-copper);padding:.4rem 0;min-height:auto;
  border-bottom:1.5px solid var(--c-copper);
}
.btn-link:hover{color:var(--c-green);border-color:var(--c-green)}

/* ============================================================
   AGE GATE
   ============================================================ */
.age-gate{
  position:fixed;inset:0;z-index:9999;
  background:rgba(28,28,26,.85);
  backdrop-filter:blur(10px) saturate(120%);
  display:flex;align-items:center;justify-content:center;
  padding:1rem;
  animation:fadeIn .3s var(--ease);
}
@keyframes fadeIn{from{opacity:0}to{opacity:1}}
.age-gate.hidden{display:none}
.age-gate-card{
  background:var(--c-paper);
  max-width:480px;width:100%;
  padding:2rem 1.5rem;
  text-align:center;
  border-radius:var(--r-lg);
  box-shadow:var(--sh-3);
  position:relative;overflow:hidden;
}
.age-gate-card::before{
  content:"";position:absolute;top:0;left:0;right:0;height:4px;
  background:var(--c-green);
}
.age-gate-eyebrow{
  display:inline-flex;align-items:center;gap:.5rem;
  font-family:var(--f-mono);font-size:.7rem;
  letter-spacing:.22em;text-transform:uppercase;
  color:var(--c-copper);margin:.5rem 0 1rem;
}
.age-gate-eyebrow::before,
.age-gate-eyebrow::after{content:"";width:14px;height:1px;background:currentColor;opacity:.5}
.age-gate-card h2{
  font-family:var(--f-display);font-weight:500;
  font-size:1.6rem;line-height:1.15;
  color:var(--c-ink);margin-bottom:.8rem;letter-spacing:-.015em;
}
.age-gate-card h2 em{font-style:italic;color:var(--c-copper)}
.age-gate-card p{
  color:var(--c-muted);font-size:.94rem;
  margin-bottom:1.5rem;line-height:1.5;
  max-width:38ch;margin-left:auto;margin-right:auto;
}
.age-gate-actions{display:flex;flex-direction:column;gap:.6rem}
.age-gate-actions .btn{width:100%}
.age-gate-footer{
  margin-top:1.2rem;padding-top:1.2rem;
  border-top:1px solid var(--c-line);
  font-family:var(--f-mono);font-size:.7rem;
  letter-spacing:.18em;text-transform:uppercase;
  color:var(--c-muted);
}
.age-gate-footer .nix{
  display:inline-block;background:var(--c-green);color:var(--c-paper);
  padding:.2rem .5rem;border-radius:3px;letter-spacing:.15em;
  font-weight:700;margin-right:.4rem;
}
@media (min-width:480px){
  .age-gate-card{padding:2.5rem 2rem}
  .age-gate-card h2{font-size:1.85rem}
  .age-gate-actions{flex-direction:row}
}

/* ============================================================
   TICKER
   ============================================================ */
.ticker{
  background:var(--c-green);color:var(--c-paper);
  overflow:hidden;font-size:.78rem;
}
.ticker-track{
  display:flex;white-space:nowrap;padding:.55rem 0;
  font-family:var(--f-mono);letter-spacing:.18em;text-transform:uppercase;
}
.ticker-track > span{
  display:inline-flex;align-items:center;gap:.6rem;padding-right:3rem;
  animation:scroll-x 40s linear infinite;
  flex-shrink:0;
}
.ticker-track > span::before{content:"●";color:var(--c-amber);font-size:.5rem}
@keyframes scroll-x{from{transform:translateX(0)}to{transform:translateX(-100%)}}
@media (prefers-reduced-motion:reduce){.ticker-track > span{animation:none}}

/* ============================================================
   SITE HEADER — mobile-first
   ============================================================ */
.site-header{
  position:sticky;top:0;z-index:90;
  background:rgba(250,247,240,.94);
  backdrop-filter:blur(14px) saturate(140%);
  border-bottom:1px solid var(--c-line-soft);
}
.header-inner{
  max-width:var(--maxw);margin:0 auto;
  padding:.85rem var(--gutter);
  display:flex;align-items:center;justify-content:space-between;gap:1rem;
}
.brand{display:inline-flex;align-items:center;gap:.7rem;min-height:48px}
.brand-mark{
  width:42px;height:42px;border-radius:50%;
  background:var(--c-green);color:var(--c-paper);
  display:grid;place-items:center;
  font-family:var(--f-display);font-weight:600;font-size:1.3rem;
  flex-shrink:0;position:relative;
}
.brand-mark::after{
  content:"";position:absolute;inset:-2px;
  border:1px solid var(--c-copper);border-radius:50%;opacity:.5;
}
.brand-text{line-height:1.05;min-width:0}
.brand-text .name{
  font-family:var(--f-display);font-size:1.05rem;font-weight:600;
  letter-spacing:-.01em;color:var(--c-ink);
}
.brand-text .sub{
  display:none;
  font-family:var(--f-mono);font-size:.62rem;
  letter-spacing:.22em;text-transform:uppercase;
  color:var(--c-copper);margin-top:.15rem;
}

nav.primary{
  position:fixed;inset:0;z-index:95;
  background:var(--c-paper);
  padding:5rem 1.5rem 2rem;
  transform:translateX(100%);
  transition:transform var(--t-mid) var(--ease);
  overflow-y:auto;
  display:flex;flex-direction:column;
}
nav.primary.open{transform:translateX(0)}
nav.primary ul{list-style:none;display:flex;flex-direction:column;gap:.4rem}
nav.primary a{
  display:flex;align-items:center;justify-content:space-between;
  padding:1rem 0;min-height:48px;
  font-family:var(--f-display);font-size:1.6rem;font-weight:500;
  letter-spacing:-.01em;color:var(--c-ink);
  border-bottom:1px solid var(--c-line-soft);
}
nav.primary a::after{
  content:"→";font-size:1.2rem;color:var(--c-copper);opacity:.5;
  transition:opacity var(--t-fast) var(--ease),transform var(--t-fast) var(--ease);
}
nav.primary a:hover{color:var(--c-copper)}
nav.primary a:hover::after{opacity:1;transform:translateX(3px)}
.mobile-nav-footer{
  margin-top:auto;padding-top:2rem;
  font-family:var(--f-mono);font-size:.75rem;
  letter-spacing:.15em;text-transform:uppercase;
  color:var(--c-muted);
}
.mobile-nav-footer .nix{
  display:inline-block;background:var(--c-green);color:var(--c-paper);
  padding:.25rem .5rem;border-radius:3px;font-weight:700;margin-right:.4rem;
}

.menu-toggle{
  display:inline-flex;align-items:center;justify-content:center;
  width:44px;height:44px;
  border:1px solid var(--c-line);border-radius:var(--r-sm);
  background:var(--c-paper);color:var(--c-ink);
  position:relative;z-index:100;
  transition:all var(--t-fast) var(--ease);
}
.menu-toggle:hover{border-color:var(--c-ink)}
.menu-toggle .bars{
  display:block;width:18px;height:2px;background:currentColor;
  position:relative;transition:background var(--t-fast) var(--ease);
}
.menu-toggle .bars::before,
.menu-toggle .bars::after{
  content:"";position:absolute;left:0;width:100%;height:2px;background:currentColor;
  transition:transform var(--t-mid) var(--ease),top var(--t-fast) var(--ease);
}
.menu-toggle .bars::before{top:-6px}
.menu-toggle .bars::after{top:6px}
.menu-toggle[aria-expanded="true"] .bars{background:transparent}
.menu-toggle[aria-expanded="true"] .bars::before{top:0;transform:rotate(45deg)}
.menu-toggle[aria-expanded="true"] .bars::after{top:0;transform:rotate(-45deg)}

.header-cta{display:none}

@media (min-width:920px){
  .brand-text .sub{display:block}
  nav.primary{
    position:static;transform:none;background:transparent;
    padding:0;overflow:visible;
    flex-direction:row;flex:1;justify-content:center;
  }
  nav.primary ul{flex-direction:row;gap:2rem}
  nav.primary a{
    padding:.6rem 0;min-height:auto;
    font-family:var(--f-body);font-size:.92rem;font-weight:500;
    border-bottom:0;position:relative;
  }
  nav.primary a::after{display:none}
  nav.primary a::before{
    content:"";position:absolute;bottom:0;left:50%;transform:translateX(-50%);
    width:0;height:2px;background:var(--c-copper);
    transition:width var(--t-fast) var(--ease);
  }
  nav.primary a:hover::before,
  nav.primary .current-menu-item a::before{width:100%}
  .mobile-nav-footer{display:none}
  .menu-toggle{display:none}
  .header-cta{display:inline-flex}
}

/* ============================================================
   HERO — mobile stacked first
   ============================================================ */
.hero{
  background:var(--c-paper);
  padding:3rem var(--gutter) 4rem;
  position:relative;overflow:hidden;
}
.hero-inner{
  max-width:var(--maxw);margin:0 auto;
  display:flex;flex-direction:column;gap:2.5rem;
}
.hero-text .eyebrow{margin-bottom:1.2rem}
.hero-text h1{
  font-family:var(--f-display);font-weight:500;
  font-size:clamp(2.2rem,8vw,4.5rem);
  line-height:1.02;letter-spacing:-.025em;
  margin-bottom:1.2rem;color:var(--c-ink);
}
.hero-text h1 em{font-style:italic;font-weight:400;color:var(--c-copper)}
.hero-text .lead{
  font-size:1.05rem;color:var(--c-ink-soft);
  line-height:1.55;margin-bottom:1.8rem;max-width:52ch;
}
.hero-actions{display:flex;flex-direction:column;gap:.6rem;align-items:flex-start}
.hero-actions .btn{width:100%;max-width:340px}

.hero-stage{
  position:relative;aspect-ratio:1/1;
  max-width:520px;margin:0 auto;width:100%;
}
.hero-stage-bg{
  position:absolute;inset:0;
  background:
    radial-gradient(circle at 50% 50%,var(--c-green-soft) 0%,transparent 65%),
    var(--c-paper-2);
  border-radius:var(--r-lg);overflow:hidden;
}
.hero-stage-bg::before{
  content:"";position:absolute;inset:0;
  background-image:radial-gradient(circle at 1px 1px,rgba(31,59,45,.08) 1px,transparent 0);
  background-size:24px 24px;
  mask-image:radial-gradient(ellipse at center,#000 35%,transparent 75%);
}
.hero-stage-bg::after{
  content:"";position:absolute;bottom:18%;left:50%;transform:translateX(-50%);
  width:60%;aspect-ratio:1;
  border:1px solid var(--c-line);border-radius:50%;
}
.hero-bottle{
  position:relative;z-index:2;width:100%;height:100%;
  display:flex;align-items:flex-end;justify-content:center;
  padding:8% 0 12%;
}
.hero-bottle svg,.hero-bottle img{
  max-height:100%;width:auto;
  filter:drop-shadow(0 30px 30px rgba(28,28,26,.18));
}

.hero-card{
  position:absolute;z-index:3;
  background:var(--c-paper);
  border:1px solid var(--c-line);
  border-radius:var(--r-md);
  padding:.85rem 1rem;
  box-shadow:var(--sh-2);
  display:none;
}
.hero-card.medal{top:6%;left:-2%;align-items:center;gap:.7rem}
.hero-card.feature{bottom:6%;right:-2%}
.hero-card .medal-ico{
  width:34px;height:34px;border-radius:50%;
  background:linear-gradient(135deg,var(--c-amber),var(--c-copper));
  color:var(--c-paper);
  display:grid;place-items:center;
  font-size:1rem;font-weight:700;flex-shrink:0;
}
.hero-card .micro{
  font-family:var(--f-mono);font-size:.62rem;
  letter-spacing:.22em;text-transform:uppercase;color:var(--c-muted);
}
.hero-card .label{
  font-family:var(--f-display);font-size:1rem;
  color:var(--c-ink);line-height:1.1;margin-top:.1rem;
}
.hero-card .stats{
  display:flex;gap:.8rem;margin-top:.3rem;
  font-family:var(--f-mono);font-size:.7rem;color:var(--c-muted);
}
.hero-card .stats strong{color:var(--c-copper);font-weight:600}

@media (min-width:480px){
  .hero{padding:4rem var(--gutter) 5rem}
  .hero-actions{flex-direction:row;align-items:center}
  .hero-actions .btn{width:auto}
  .hero-card.medal{display:flex}
  .hero-card.feature{display:block}
}
@media (min-width:920px){
  .hero{padding:5rem var(--gutter-lg) 6rem}
  .hero-inner{flex-direction:row;align-items:center;gap:5rem}
  .hero-text{flex:1.05}
  .hero-stage{flex:.95;margin:0}
}

/* ============================================================
   SECTION BASE
   ============================================================ */
section{padding:3.5rem var(--gutter);position:relative}
.wrap{max-width:var(--maxw);margin:0 auto}

.section-head{margin-bottom:2.5rem}
.section-head .eyebrow{margin-bottom:1rem}
.section-head h2{
  font-family:var(--f-display);font-weight:500;
  font-size:clamp(1.8rem,6vw,3.4rem);
  line-height:1.05;letter-spacing:-.02em;color:var(--c-ink);
  max-width:20ch;
}
.section-head h2 em{font-style:italic;color:var(--c-copper);font-weight:400}
.section-head .lead{
  font-size:1.02rem;color:var(--c-ink-soft);
  line-height:1.6;margin-top:1rem;max-width:60ch;
}
.section-head.center{text-align:center}
.section-head.center h2,
.section-head.center .lead{margin-left:auto;margin-right:auto}
.section-head.center .eyebrow{justify-content:center}

@media (min-width:760px){
  section{padding:5rem var(--gutter-lg)}
  .section-head{
    display:grid;grid-template-columns:1fr 1fr;gap:3rem;
    align-items:end;margin-bottom:3.5rem;
  }
  .section-head.center{display:block}
  .section-head .lead{margin-top:0}
}
@media (min-width:1100px){
  section{padding:6rem var(--gutter-lg)}
  .section-head{margin-bottom:4rem;gap:4rem}
}

/* ============================================================
   STATS BAND
   ============================================================ */
.stats-band{
  background:var(--c-green);color:var(--c-paper);
  padding:2.5rem var(--gutter);
}
.stats-grid{
  max-width:var(--maxw);margin:0 auto;
  display:grid;grid-template-columns:repeat(2,1fr);gap:1.5rem;
  text-align:center;
}
.stats-grid > div{
  padding:1rem 0;border-bottom:1px solid rgba(245,235,214,.12);
}
.stats-grid > div:nth-last-child(-n+1){border-bottom:0}
.stats-grid .num{
  font-family:var(--f-display);font-weight:500;
  font-size:clamp(2rem,8vw,3.4rem);line-height:1;
  color:var(--c-amber);display:block;letter-spacing:-.02em;
}
.stats-grid .lab{
  font-family:var(--f-mono);font-size:.7rem;
  letter-spacing:.22em;text-transform:uppercase;
  margin-top:.5rem;color:rgba(245,235,214,.7);
}
@media (min-width:680px){
  .stats-band{padding:3rem var(--gutter-lg)}
  .stats-grid{grid-template-columns:repeat(4,1fr);gap:2rem}
  .stats-grid > div{border-bottom:0;border-right:1px solid rgba(245,235,214,.12)}
  .stats-grid > div:last-child{border-right:0}
}

/* ============================================================
   BIEREN GRID — photo-forward cards
   ============================================================ */
.bieren{background:var(--c-paper)}
.bier-grid{
  display:grid;grid-template-columns:1fr;gap:1.25rem;
}
.bier-card{
  background:var(--c-paper-2);
  border-radius:var(--r-lg);
  overflow:hidden;
  position:relative;
  transition:transform var(--t-mid) var(--ease),box-shadow var(--t-mid) var(--ease);
  display:flex;flex-direction:column;
}
.bier-card:hover{transform:translateY(-4px);box-shadow:var(--sh-3)}
.bier-card .bier-image{
  aspect-ratio:1/1;
  background:var(--c-paper-3);
  position:relative;overflow:hidden;
  display:flex;align-items:flex-end;justify-content:center;
  padding:1.5rem 1rem .5rem;
}
.bier-card .bier-image::before{
  content:"";position:absolute;inset:0;
  background:radial-gradient(circle at 50% 60%,rgba(232,239,233,.5) 0%,transparent 70%);
}
.bier-card .bier-image svg,
.bier-card .bier-image img{
  max-height:100%;width:auto;position:relative;z-index:1;
  filter:drop-shadow(0 12px 16px rgba(28,28,26,.12));
  transition:transform var(--t-mid) var(--ease);
}
.bier-card:hover .bier-image svg,
.bier-card:hover .bier-image img{transform:translateY(-4px) scale(1.02)}
.bier-card .badge{
  position:absolute;top:.85rem;left:.85rem;z-index:2;
  background:var(--c-green);color:var(--c-paper);
  font-family:var(--f-mono);font-size:.62rem;
  letter-spacing:.2em;text-transform:uppercase;
  padding:.3rem .55rem;border-radius:3px;font-weight:700;
}
.bier-card .badge.new{background:var(--c-copper)}
.bier-card .badge.seizoen{background:var(--c-amber);color:var(--c-ink)}
.bier-card .bier-body{
  padding:1.25rem 1.25rem 1.5rem;
  display:flex;flex-direction:column;flex:1;
}
.bier-card .style{
  font-family:var(--f-mono);font-size:.65rem;
  letter-spacing:.22em;text-transform:uppercase;
  color:var(--c-copper);margin-bottom:.5rem;font-weight:500;
}
.bier-card .name{
  font-family:var(--f-display);font-size:1.5rem;
  font-weight:500;letter-spacing:-.015em;line-height:1.05;
  color:var(--c-ink);margin-bottom:.6rem;
}
.bier-card .desc{
  font-size:.9rem;color:var(--c-muted);
  margin-bottom:1rem;flex:1;line-height:1.5;
}
.bier-card .meta{
  display:flex;justify-content:space-between;align-items:center;
  padding-top:1rem;border-top:1px solid var(--c-line-soft);
  font-family:var(--f-mono);font-size:.72rem;
  letter-spacing:.15em;text-transform:uppercase;
  color:var(--c-muted);
}
.bier-card .meta strong{
  font-family:var(--f-display);font-weight:500;font-size:1.15rem;
  color:var(--c-green);letter-spacing:-.01em;
  text-transform:none;
}
.bier-card a.card-link{
  position:absolute;inset:0;z-index:3;
  text-indent:-9999px;overflow:hidden;
}

.bieren-cta{
  text-align:center;margin-top:2.5rem;
}

@media (min-width:520px){
  .bier-grid{grid-template-columns:repeat(2,1fr);gap:1.5rem}
}
@media (min-width:920px){
  .bier-grid{grid-template-columns:repeat(4,1fr);gap:1.5rem}
  .bieren-cta{margin-top:3.5rem}
}

/* ============================================================
   VERHAAL — story section
   ============================================================ */
.verhaal{background:var(--c-paper-2)}
.verhaal-grid{
  display:flex;flex-direction:column;gap:2.5rem;
}
.verhaal-img{
  position:relative;aspect-ratio:4/5;
  border-radius:var(--r-lg);overflow:hidden;
  background:linear-gradient(160deg,var(--c-green) 0%,var(--c-green-2) 100%);
}
.verhaal-img img{width:100%;height:100%;object-fit:cover}
.verhaal-img .overlay{
  position:absolute;bottom:1.25rem;left:1.25rem;right:1.25rem;
  background:var(--c-paper);
  padding:1rem 1.2rem;
  border-radius:var(--r-md);
  display:flex;align-items:center;gap:1rem;
  box-shadow:var(--sh-2);
}
.verhaal-img .overlay .num{
  font-family:var(--f-display);font-size:2.5rem;
  font-weight:500;color:var(--c-copper);line-height:1;
  letter-spacing:-.02em;
}
.verhaal-img .overlay .lab{
  font-family:var(--f-mono);font-size:.7rem;
  letter-spacing:.2em;text-transform:uppercase;
  color:var(--c-muted);
}

.verhaal-text .eyebrow{margin-bottom:1rem}
.verhaal-text h2{
  font-family:var(--f-display);font-weight:500;
  font-size:clamp(1.8rem,6vw,3rem);
  line-height:1.05;letter-spacing:-.02em;
  margin-bottom:1.2rem;color:var(--c-ink);
}
.verhaal-text h2 em{font-style:italic;color:var(--c-copper);font-weight:400}
.verhaal-text p{
  color:var(--c-ink-soft);font-size:1rem;
  margin-bottom:1.1rem;line-height:1.6;
}
.verhaal-text p strong{color:var(--c-ink);font-weight:600}

.verhaal-pillars{
  display:grid;grid-template-columns:1fr 1fr;gap:1rem;
  margin-top:2rem;
}
.verhaal-pillar{
  background:var(--c-paper);
  padding:1.1rem 1rem;
  border-radius:var(--r-md);
  border-left:3px solid var(--c-copper);
}
.verhaal-pillar:nth-child(2){border-left-color:var(--c-green)}
.verhaal-pillar:nth-child(3){border-left-color:var(--c-amber)}
.verhaal-pillar:nth-child(4){border-left-color:var(--c-green-2)}
.verhaal-pillar .num{
  font-family:var(--f-mono);font-size:.7rem;
  letter-spacing:.22em;text-transform:uppercase;
  color:var(--c-muted);margin-bottom:.3rem;
}
.verhaal-pillar h4{
  font-family:var(--f-body);font-weight:700;font-size:.95rem;
  color:var(--c-ink);margin-bottom:.2rem;
}
.verhaal-pillar p{font-size:.82rem;color:var(--c-muted);margin:0;line-height:1.4}

@media (min-width:760px){
  .verhaal-grid{
    display:grid;grid-template-columns:1fr 1fr;
    gap:3rem;align-items:center;
  }
  .verhaal-img{aspect-ratio:4/5}
  .verhaal-pillars{gap:1.25rem;margin-top:2.5rem}
  .verhaal-pillar{padding:1.25rem}
}
@media (min-width:1100px){
  .verhaal-grid{gap:5rem;grid-template-columns:.9fr 1.1fr}
}

/* ============================================================
   AGENDA — clean timeline list
   ============================================================ */
.agenda{background:var(--c-paper)}
.agenda-grid{display:flex;flex-direction:column;gap:2rem}
.agenda-intro .eyebrow{margin-bottom:1rem}
.agenda-intro h2{
  font-family:var(--f-display);font-weight:500;
  font-size:clamp(1.8rem,6vw,3rem);
  line-height:1.05;letter-spacing:-.02em;
  margin-bottom:1rem;
}
.agenda-intro h2 em{font-style:italic;color:var(--c-copper);font-weight:400}
.agenda-intro p{color:var(--c-ink-soft);margin-bottom:1.5rem}

.agenda-list{
  background:var(--c-paper-2);
  border-radius:var(--r-lg);
  overflow:hidden;
}
.agenda-item{
  display:grid;
  grid-template-columns:60px 1fr;
  gap:1rem;
  padding:1.1rem 1.1rem;
  border-bottom:1px solid var(--c-line-soft);
  align-items:center;
}
.agenda-item:last-child{border-bottom:0}
.agenda-date{
  text-align:center;
  background:var(--c-paper);
  border-radius:var(--r-sm);
  padding:.5rem .3rem;
  border-top:3px solid var(--c-copper);
}
.agenda-date .day{
  font-family:var(--f-display);font-weight:500;
  font-size:1.5rem;line-height:1;color:var(--c-ink);
  letter-spacing:-.02em;
}
.agenda-date .mon{
  font-family:var(--f-mono);font-size:.6rem;
  letter-spacing:.22em;text-transform:uppercase;
  color:var(--c-muted);margin-top:.2rem;
}
.agenda-content{min-width:0}
.agenda-title{
  font-family:var(--f-display);font-size:1.05rem;
  font-weight:500;line-height:1.2;color:var(--c-ink);
  letter-spacing:-.01em;
}
.agenda-title small{
  display:block;font-family:var(--f-body);font-size:.82rem;
  color:var(--c-muted);font-weight:400;margin-top:.3rem;
  letter-spacing:0;
}
.agenda-tag{
  display:inline-flex;align-self:flex-start;
  margin-top:.5rem;
  font-family:var(--f-mono);font-size:.6rem;
  letter-spacing:.18em;text-transform:uppercase;
  padding:.25rem .55rem;border:1px solid var(--c-line);
  color:var(--c-copper);border-radius:var(--r-pill);font-weight:600;
}
.agenda-tag.proeverij{color:var(--c-amber);border-color:rgba(217,152,69,.4)}
.agenda-tag.event{color:var(--c-green);border-color:rgba(31,59,45,.25)}

@media (min-width:520px){
  .agenda-item{grid-template-columns:72px 1fr auto;gap:1.2rem;padding:1.25rem 1.5rem}
  .agenda-tag{margin-top:0;align-self:center}
}
@media (min-width:760px){
  .agenda-grid{
    display:grid;grid-template-columns:.85fr 1.15fr;
    gap:3rem;align-items:start;
  }
  .agenda-intro{position:sticky;top:7rem}
}

/* ============================================================
   PROEFLOKAAL
   ============================================================ */
.proeflokaal{background:var(--c-paper-2)}
.pl-grid{display:flex;flex-direction:column;gap:2.5rem}
.pl-img{
  position:relative;aspect-ratio:4/5;
  border-radius:var(--r-lg);overflow:hidden;
  background:linear-gradient(160deg,var(--c-copper) 0%,var(--c-green) 100%);
}
.pl-img img{width:100%;height:100%;object-fit:cover}
.pl-img .corner{
  position:absolute;top:1rem;left:1rem;
  background:rgba(28,28,26,.7);color:var(--c-paper);
  padding:.45rem .85rem;border-radius:var(--r-pill);
  font-family:var(--f-mono);font-size:.65rem;
  letter-spacing:.2em;text-transform:uppercase;font-weight:500;
  backdrop-filter:blur(8px);
}
.pl-img .status{
  position:absolute;bottom:1rem;left:1rem;
  display:inline-flex;align-items:center;gap:.5rem;
  background:rgba(28,28,26,.75);color:var(--c-paper);
  padding:.55rem 1rem;border-radius:var(--r-pill);
  font-family:var(--f-mono);font-size:.68rem;
  letter-spacing:.15em;text-transform:uppercase;font-weight:500;
  backdrop-filter:blur(8px);
}
.pl-img .status .dot{
  width:7px;height:7px;border-radius:50%;
  background:#7ab06c;
  box-shadow:0 0 0 0 rgba(122,176,108,.5);
  animation:statusPulse 2s ease-out infinite;
}
@keyframes statusPulse{0%{box-shadow:0 0 0 0 rgba(122,176,108,.6)}100%{box-shadow:0 0 0 10px rgba(122,176,108,0)}}
.pl-img .status.closed .dot{background:var(--c-muted);animation:none}

.pl-text .eyebrow{margin-bottom:1rem}
.pl-text h2{
  font-family:var(--f-display);font-weight:500;
  font-size:clamp(1.8rem,6vw,3rem);
  line-height:1.05;letter-spacing:-.02em;
  margin-bottom:1rem;
}
.pl-text h2 em{font-style:italic;color:var(--c-copper);font-weight:400}
.pl-text p.lead-p{color:var(--c-ink-soft);margin-bottom:1.5rem;line-height:1.6}

.hours-card{
  background:var(--c-paper);
  border-radius:var(--r-md);
  padding:1.25rem;
  border:1px solid var(--c-line-soft);
}
.hours-card h4{
  font-family:var(--f-body);font-weight:700;font-size:.78rem;
  letter-spacing:.18em;text-transform:uppercase;
  color:var(--c-muted);margin-bottom:1rem;
  display:flex;align-items:center;gap:.5rem;
}
.hours-card h4::before{content:"";width:18px;height:1px;background:var(--c-copper)}
.hours-row{
  display:flex;justify-content:space-between;align-items:center;
  padding:.65rem 0;border-bottom:1px solid var(--c-line-soft);
  font-size:.92rem;
}
.hours-row:last-child{border-bottom:0}
.hours-row .day{
  font-family:var(--f-body);font-weight:500;color:var(--c-ink);
}
.hours-row .time{
  font-family:var(--f-mono);font-size:.85rem;
  color:var(--c-muted);font-variant-numeric:tabular-nums;
}
.hours-row.open .time{color:var(--c-green);font-weight:600}
.hours-row.today{
  background:var(--c-green-soft);
  margin:0 -1.25rem;padding:.65rem 1.25rem;
}
.hours-row.today .day,
.hours-row.today .time{color:var(--c-green)}

@media (min-width:760px){
  .pl-grid{
    display:grid;grid-template-columns:1fr 1fr;
    gap:3rem;align-items:center;
  }
  .hours-card{padding:1.5rem}
  .hours-row.today{margin:0 -1.5rem;padding:.65rem 1.5rem}
}
@media (min-width:1100px){
  .pl-grid{gap:5rem}
}

/* ============================================================
   GALLERY — mobile-first 2-col, then 4-col
   ============================================================ */
.gallery{background:var(--c-paper)}
.gallery-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:.6rem;
}
.gallery-grid a{
  position:relative;display:block;overflow:hidden;
  border-radius:var(--r-md);aspect-ratio:1/1;
}
.gallery-grid img{
  width:100%;height:100%;object-fit:cover;
  transition:transform .5s var(--ease);
}
.gallery-grid a:hover img{transform:scale(1.05)}
.gallery-grid a::after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(180deg,transparent 60%,rgba(28,28,26,.4));
  opacity:0;transition:opacity var(--t-mid) var(--ease);
}
.gallery-grid a:hover::after{opacity:1}

@media (min-width:520px){
  .gallery-grid{grid-template-columns:repeat(3,1fr);gap:.8rem}
  .gallery-grid a:first-child{grid-row:span 2;aspect-ratio:1/2}
}
@media (min-width:920px){
  .gallery-grid{
    grid-template-columns:repeat(4,1fr);
    gap:1rem;
  }
  .gallery-grid a:first-child{grid-column:span 2;grid-row:span 2;aspect-ratio:1/1}
  .gallery-grid a:nth-child(6){grid-column:span 2;aspect-ratio:2/1}
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact{background:var(--c-paper-2)}
.contact-grid{display:flex;flex-direction:column;gap:2rem}
.contact-info .eyebrow{margin-bottom:1rem}
.contact-info h2{
  font-family:var(--f-display);font-weight:500;
  font-size:clamp(1.8rem,6vw,3rem);
  line-height:1.05;letter-spacing:-.02em;
  margin-bottom:1.5rem;
}
.contact-info h2 em{font-style:italic;color:var(--c-copper);font-weight:400}

.contact-list{
  background:var(--c-paper);
  border-radius:var(--r-lg);
  padding:.5rem 1.25rem;
}
.contact-row{
  display:grid;grid-template-columns:1fr;gap:.3rem;
  padding:1.1rem 0;border-bottom:1px solid var(--c-line-soft);
}
.contact-row:last-child{border-bottom:0}
.contact-row .label{
  font-family:var(--f-mono);font-size:.65rem;
  letter-spacing:.22em;text-transform:uppercase;
  color:var(--c-copper);font-weight:600;
}
.contact-row .value{
  font-family:var(--f-body);color:var(--c-ink);
  font-size:.98rem;line-height:1.5;
}
.contact-row .value a{
  color:var(--c-green);text-decoration:underline;text-decoration-thickness:1px;
  text-underline-offset:3px;font-weight:500;
}
.contact-row .value a:hover{color:var(--c-copper)}
.contact-row .value small{
  display:block;font-size:.85rem;color:var(--c-muted);margin-top:.2rem;
}

.contact-map{
  aspect-ratio:1/.85;
  border-radius:var(--r-lg);overflow:hidden;
  background:linear-gradient(160deg,var(--c-green-soft),var(--c-paper-3));
  border:1px solid var(--c-line-soft);
  position:relative;
}
.contact-map iframe{width:100%;height:100%;border:0}
.contact-map.placeholder::before{
  content:"";position:absolute;inset:0;
  background-image:
    linear-gradient(rgba(31,59,45,.06) 1px,transparent 1px),
    linear-gradient(90deg,rgba(31,59,45,.06) 1px,transparent 1px);
  background-size:40px 40px;
  mask-image:radial-gradient(ellipse at center,#000 35%,transparent 75%);
}
.contact-map.placeholder .pin{
  position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);text-align:center;
}
.contact-map.placeholder .pin .dot{
  width:20px;height:20px;border-radius:50%;
  background:var(--c-copper);margin:0 auto .6rem;
  box-shadow:0 0 0 6px rgba(168,85,31,.2),0 8px 20px rgba(168,85,31,.3);
  animation:pinPulse 2.5s ease-out infinite;
}
@keyframes pinPulse{
  0%,100%{box-shadow:0 0 0 6px rgba(168,85,31,.2),0 8px 20px rgba(168,85,31,.3)}
  50%{box-shadow:0 0 0 14px rgba(168,85,31,.06),0 8px 20px rgba(168,85,31,.2)}
}
.contact-map.placeholder .pin .lab{
  font-family:var(--f-display);font-size:.95rem;color:var(--c-ink);font-weight:500;
}

@media (min-width:760px){
  .contact-grid{
    display:grid;grid-template-columns:1fr 1.1fr;
    gap:3rem;align-items:start;
  }
  .contact-row{grid-template-columns:130px 1fr;gap:1.5rem;padding:1.2rem 0}
  .contact-list{padding:.5rem 1.5rem}
}
@media (min-width:1100px){
  .contact-grid{gap:5rem}
}

/* ============================================================
   NEWSLETTER
   ============================================================ */
.newsletter{
  background:var(--c-green);color:var(--c-paper);
  padding:3rem var(--gutter);
}
.newsletter .wrap{
  display:flex;flex-direction:column;gap:1.5rem;
}
.newsletter h3{
  font-family:var(--f-display);color:var(--c-paper);font-weight:500;
  font-size:clamp(1.5rem,4vw,2.4rem);
  line-height:1.1;letter-spacing:-.015em;
}
.newsletter h3 em{font-style:italic;color:var(--c-amber);font-weight:400}
.newsletter p{
  color:rgba(245,235,214,.7);margin-top:.5rem;
  font-size:.95rem;line-height:1.5;
}
.nl-form{display:flex;flex-direction:column;gap:.6rem}
.nl-form input[type=email]{
  flex:1;min-width:0;
  min-height:48px;
  padding:.8rem 1.2rem;
  background:rgba(245,235,214,.08);
  border:1px solid rgba(245,235,214,.2);
  color:var(--c-paper);
  border-radius:var(--r-pill);
  font-family:inherit;font-size:.95rem;
}
.nl-form input[type=email]::placeholder{color:rgba(245,235,214,.5)}
.nl-form input[type=email]:focus{outline:0;border-color:var(--c-amber);background:rgba(245,235,214,.12)}
.nl-form .btn{background:var(--c-amber);color:var(--c-ink);border-color:var(--c-amber)}
.nl-form .btn:hover{background:var(--c-copper-2);color:var(--c-paper);border-color:var(--c-copper-2)}

@media (min-width:760px){
  .newsletter{padding:4rem var(--gutter-lg)}
  .newsletter .wrap{
    display:grid;grid-template-columns:1fr 1fr;
    gap:3rem;align-items:center;
  }
  .nl-form{flex-direction:row}
}

/* ============================================================
   FOOTER
   ============================================================ */
footer.site-footer{
  background:var(--c-ink);color:var(--c-paper);
  padding:3rem var(--gutter) 1.5rem;
}
.footer-grid{
  max-width:var(--maxw);margin:0 auto;
  display:grid;grid-template-columns:1fr;gap:2.5rem;
}
.footer-brand .brand-mark{margin-bottom:1rem}
.footer-brand h4{
  font-family:var(--f-display);color:var(--c-paper);font-weight:500;
  font-size:1.3rem;letter-spacing:-.01em;margin-bottom:.5rem;
}
.footer-brand p{
  color:rgba(245,235,214,.65);max-width:35ch;
  font-size:.9rem;line-height:1.55;margin-bottom:1.25rem;
}
.footer-social{display:flex;gap:.5rem}
.footer-social a{
  width:40px;height:40px;border-radius:50%;
  display:grid;place-items:center;
  border:1px solid rgba(245,235,214,.2);color:var(--c-paper);
  font-family:var(--f-mono);font-size:.78rem;font-weight:600;
  transition:all var(--t-fast) var(--ease);
}
.footer-social a:hover{border-color:var(--c-amber);color:var(--c-amber);transform:translateY(-2px)}

footer.site-footer h4.col-h{
  font-family:var(--f-mono);font-weight:600;
  font-size:.7rem;letter-spacing:.22em;
  text-transform:uppercase;color:var(--c-amber);
  margin-bottom:1rem;
}
footer.site-footer ul{list-style:none}
footer.site-footer ul li{
  margin-bottom:.55rem;font-size:.9rem;color:rgba(245,235,214,.65);line-height:1.4;
}
footer.site-footer ul li a:hover{color:var(--c-amber)}

.footer-bottom{
  max-width:var(--maxw);margin:2.5rem auto 0;padding-top:1.5rem;
  border-top:1px solid rgba(245,235,214,.12);
  display:flex;flex-direction:column;gap:.8rem;
  font-family:var(--f-mono);font-size:.7rem;
  letter-spacing:.18em;text-transform:uppercase;
  color:rgba(245,235,214,.4);
}
.footer-bottom .nix-stamp{
  display:inline-flex;align-items:center;gap:.4rem;
  border:1px solid var(--c-amber);color:var(--c-amber);
  padding:.3rem .7rem;border-radius:3px;letter-spacing:.15em;
  font-weight:700;font-size:.68rem;
}

@media (min-width:560px){
  .footer-grid{grid-template-columns:1.5fr 1fr 1fr;gap:2rem}
}
@media (min-width:760px){
  footer.site-footer{padding:4rem var(--gutter-lg) 2rem}
  .footer-grid{grid-template-columns:2fr 1fr 1fr 1fr;gap:3rem}
  .footer-bottom{flex-direction:row;justify-content:space-between;align-items:center}
}

/* ============================================================
   INTERIOR PAGES
   ============================================================ */
.page-hero{
  background:var(--c-paper-2);
  padding:3rem var(--gutter) 2.5rem;
  border-bottom:1px solid var(--c-line-soft);
  text-align:center;
}
.page-hero .crumbs{
  font-family:var(--f-mono);font-size:.7rem;
  letter-spacing:.22em;text-transform:uppercase;
  color:var(--c-copper);margin-bottom:1rem;
}
.page-hero h1{
  font-family:var(--f-display);font-weight:500;
  font-size:clamp(2rem,7vw,4rem);
  line-height:1.05;letter-spacing:-.025em;color:var(--c-ink);
}
.page-hero h1 em{font-style:italic;color:var(--c-copper);font-weight:400}
.page-content{
  padding:2.5rem var(--gutter);max-width:740px;margin:0 auto;
}
.page-content h2{font-family:var(--f-display);font-size:1.8rem;font-weight:500;letter-spacing:-.015em;margin:1.5rem 0 .8rem}
.page-content h3{font-family:var(--f-display);font-size:1.3rem;font-weight:500;letter-spacing:-.01em;margin:1.25rem 0 .6rem}
.page-content p{margin-bottom:1.1rem;font-size:1rem;color:var(--c-ink);line-height:1.65}
.page-content ul,.page-content ol{margin:0 0 1.2rem 1.5rem;color:var(--c-ink)}
.page-content a{color:var(--c-copper);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}

@media (min-width:760px){
  .page-hero{padding:4rem var(--gutter-lg) 3rem}
  .page-content{padding:3.5rem var(--gutter-lg)}
}

/* ============================================================
   WP CORE COMPAT
   ============================================================ */
.alignleft{float:left;margin:0 1.5rem 1rem 0;max-width:50%}
.alignright{float:right;margin:0 0 1rem 1.5rem;max-width:50%}
.aligncenter{display:block;margin:1.5rem auto}
.wp-caption{max-width:100%}
.wp-caption-text{font-size:.85rem;color:var(--c-muted);text-align:center;margin-top:.5rem}
.screen-reader-text{position:absolute !important;left:-9999px;width:1px;height:1px;overflow:hidden}

/* Disable nav scroll-lock smoothness on iOS */
body.nav-locked{overflow:hidden;touch-action:none}
