/* =========================================================
   KROEGSFEER: lampjes, hout, bier, schuim, tap, krijtbord, viltjes, snacks
   ========================================================= */

/* Lichtslinger */
.string-lights { position: absolute; left: 0; right: 0; top: 0; height: 90px; pointer-events: none; z-index: 2; }
.string-lights svg { width: 100%; height: 100%; overflow: visible; display: block; }
.string-lights .wire { fill: none; stroke: #2b2116; stroke-width: 2; }
.string-lights .bulb { animation: glow 3.2s ease-in-out infinite; animation-delay: var(--dl, 0s); }
.string-lights .bulb circle { fill: #ffd27a; filter: drop-shadow(0 0 5px rgba(255, 200, 100, .95)) drop-shadow(0 0 14px rgba(255, 170, 60, .6)); }
.string-lights .bulb rect { fill: #3a2c1a; }
@keyframes glow { 0%, 100% { opacity: 1; } 50% { opacity: .6; } }

/* Houten bartoog als scheiding */
.bar-counter {
  position: relative; height: 34px; z-index: 2;
  background:
    repeating-linear-gradient(90deg, transparent 0 140px, rgba(0,0,0,.22) 140px 142px),
    repeating-linear-gradient(180deg, rgba(255,255,255,.04) 0 2px, transparent 2px 7px),
    linear-gradient(180deg, var(--wood-3) 0%, var(--wood-2) 40%, var(--wood-1) 100%);
  box-shadow: inset 0 2px 0 rgba(255, 210, 140, .35), 0 14px 30px -10px rgba(0,0,0,.7);
}

.wood-panel {
  background:
    radial-gradient(ellipse at 30% 0%, rgba(255, 190, 90, .16), transparent 60%),
    repeating-linear-gradient(92deg, rgba(0,0,0,.08) 0 3px, transparent 3px 11px, rgba(255,255,255,.025) 11px 13px, transparent 13px 26px),
    linear-gradient(180deg, #3a2513, #2a1a0d);
  border: 1px solid rgba(255, 200, 120, .2);
}

/* Opstijgende bubbels */
.bubbles { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; }
.bubbles i { position: absolute; bottom: -20px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, rgba(255, 246, 223, .55), rgba(240, 169, 44, .12) 60%, transparent 70%); border: 1px solid rgba(255, 230, 170, .25); animation: rise linear infinite; }
@keyframes rise { to { transform: translate(var(--sway, 20px), -110vh); opacity: 0; } }

/* Bier-band met schuimkraag */
.beer-band { background: linear-gradient(180deg, #f4b23a 0%, #e09424 55%, #c47a17 100%); color: #2a1804; position: relative; overflow: hidden; }
.beer-band::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 46px; z-index: 1; pointer-events: none;
  background:
    radial-gradient(circle at 20px 0, var(--foam) 26px, transparent 27px) 0 0 / 52px 46px repeat-x,
    radial-gradient(circle at 46px 4px, #f6e8c4 20px, transparent 21px) 0 0 / 52px 46px repeat-x,
    linear-gradient(var(--foam), var(--foam)) 0 0 / 100% 14px no-repeat;
  filter: drop-shadow(0 5px 5px rgba(90, 52, 7, .25));
}
.beer-band > .wrap { position: relative; z-index: 2; }
.beer-band h2, .beer-band h3 { color: #2a1804; }
.beer-band .eyebrow { color: #6a3d08; }
.beer-band .muted, .beer-band .lead { color: #4a2b07; }
.beer-band .bubbles i { background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.85), rgba(255,255,255,.15) 60%, transparent 70%); border-color: rgba(255,255,255,.45); }
.beer-band .card { background: rgba(255, 248, 230, .93); color: #3a2410; border-color: rgba(90, 52, 7, .2); }
.beer-band .card h3 { color: #2a1804; }
.beer-band .card p { color: #5a3a1e; }
.beer-band .card-icon { background: #fff; border-color: rgba(90,52,7,.15); }
.beer-band .card.lift:hover { box-shadow: 0 24px 40px -18px rgba(90, 52, 7, .7); }

/* Tapinstallatie */
.tap-station { position: relative; width: 100%; max-width: 380px; margin: 0 auto; user-select: none; -webkit-user-select: none; }
.tap-station svg { width: 100%; height: auto; overflow: visible; display: block; }
.tap-handle { cursor: pointer; transform-box: view-box; transition: transform .45s var(--ease); }
.tap-handle:hover .handle-top { filter: brightness(1.2); }
.pouring .tap-handle { transform: rotate(-26deg); }
.tap-stream { opacity: 0; transition: opacity .12s; }
.pouring .tap-stream { opacity: 1; }
.beer-level, .foam-level { transition: transform 2.8s cubic-bezier(.4, .1, .3, 1); }
.glass-group { transition: transform .6s var(--ease), opacity .5s; }
.glass-group.slide { transform: translateX(220px) rotate(8deg); opacity: 0; }
.glass-bubble { opacity: 0; }
.full .glass-bubble, .pouring .glass-bubble { opacity: .9; animation: gbub 1.8s ease-in infinite; animation-delay: var(--dl, 0s); }
@keyframes gbub { from { transform: translateY(0); opacity: .9; } to { transform: translateY(-110px); opacity: 0; } }
.tap-info { text-align: center; margin-top: 14px; }
.tap-info .count { font-family: var(--font-display); font-size: 2.6rem; line-height: 1; color: var(--gold); }
.tap-hint { position: absolute; top: 2%; left: 58%; background: var(--cream); color: #2a1804; font-weight: 800; font-size: .82rem; padding: 6px 12px; border-radius: 999px; box-shadow: var(--shadow); animation: hint 2s ease-in-out infinite; pointer-events: none; white-space: nowrap; }
.tap-hint::after { content: ""; position: absolute; left: 14px; bottom: -6px; border: 6px solid transparent; border-top-color: var(--cream); border-bottom: 0; }
@keyframes hint { 50% { transform: translateY(-5px); } }
.tapped .tap-hint { display: none; }

/* Krijtbord (prijslijst) */
.chalkboard {
  position: relative; border-radius: 6px; padding: clamp(26px, 4vw, 48px);
  background:
    radial-gradient(ellipse at 20% 10%, rgba(255,255,255,.07), transparent 50%),
    radial-gradient(ellipse at 80% 90%, rgba(255,255,255,.04), transparent 50%),
    linear-gradient(160deg, #27312b, #1a211d);
  border: 16px solid #6b4423;
  box-shadow: inset 0 0 60px rgba(0,0,0,.55), inset 0 0 0 2px rgba(0,0,0,.4), 0 0 0 2px #3b2512, var(--shadow);
  font-family: "Segoe Print", "Bradley Hand", "Chalkboard SE", "Comic Sans MS", var(--font-body);
  color: #eeeae0;
}
.chalkboard h2, .chalkboard h3 { font-family: inherit; color: #fff; }
.chalkboard .price-group { background: none; border: 0; padding: 0; }
.chalkboard .price-group h3 { color: #ffe08a; font-size: 1.3rem; border-bottom: 2px dashed rgba(255,255,255,.25); padding-bottom: 8px; }
.chalkboard .price-list li { color: #eeeae0; font-size: .98rem; }
.chalkboard .price-list li .dots { border-bottom-color: rgba(255,255,255,.22); }
.chalkboard .price-list li b { color: #fff; }
.chalkboard .price-list li.joke b { color: #ff8a7a; text-decoration: line-through; }
.chalk-note { margin-top: 28px; padding-top: 18px; border-top: 2px dashed rgba(255,255,255,.2); color: #ffe08a; font-size: 1.05rem; }
.chalk-title { text-align: center; font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 26px; }

/* Bierviltjes */
.viltjes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 860px) { .viltjes { grid-template-columns: repeat(2, 1fr); } }
.viltje {
  aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; text-align: center; padding: 19%;
  background: radial-gradient(circle, #fbf3dc 0 57%, #c8352b 57.5% 61%, #fbf3dc 61.5% 65%, #1f6b40 65.5% 100%);
  color: #2a1804; box-shadow: 0 16px 30px -12px rgba(0,0,0,.7);
  transform: rotate(var(--r, -6deg)); transition: transform .5s var(--ease);
}
.viltje:hover { transform: rotate(0) scale(1.06); }
.viltje .ico { font-size: 1.7rem; line-height: 1; }
.viltje b { display: block; font-family: var(--font-display); font-size: clamp(1.1rem, 2.2vw, 1.5rem); line-height: 1.05; color: #1f4d33; margin-top: 4px; }
.viltje span { font-size: .8rem; font-weight: 700; line-height: 1.25; display: block; margin-top: 4px; color: #5a3a1e; }

/* Snacks uit de airfryer */
.snack-row { display: flex; gap: 12px; flex-wrap: wrap; }
.snack { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 999px; background: rgba(255, 200, 120, .08); border: 1px solid rgba(255, 200, 120, .22); font-weight: 700; color: var(--cream); }
.snack i { position: relative; font-style: normal; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 200, 120, .14); font-size: 1.3rem; animation: sizzle 2.4s ease-in-out infinite; animation-delay: var(--dl, 0s); }
.snack i::before, .snack i::after { content: ""; position: absolute; bottom: 85%; width: 5px; height: 14px; border-radius: 6px; background: rgba(255,255,255,.4); filter: blur(2px); animation: steam 2.2s ease-out infinite; left: 35%; }
.snack i::after { left: 60%; animation-delay: 1.1s; }
@keyframes sizzle { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(6deg) translateY(-2px); } }
@keyframes steam { from { transform: translateY(0) scaleY(.6); opacity: .8; } to { transform: translateY(-22px) scaleY(1.3); opacity: 0; } }

/* Neon */
.neon { font-family: var(--font-display); font-weight: 700; color: #ffe7b3; text-shadow: 0 0 4px #fff3d1, 0 0 12px #ffb84d, 0 0 26px #ff9a1f, 0 0 46px #ff7a00; animation: neon 7s infinite; }
.neon.green { color: #d8ffe5; text-shadow: 0 0 4px #e8fff0, 0 0 12px #4fe08a, 0 0 26px #1fbf5f, 0 0 46px #0f9f4a; }
@keyframes neon { 0%, 18%, 22%, 25%, 53%, 57%, 100% { opacity: 1; } 20%, 24%, 55% { opacity: .5; } }
.neon-sign { display: inline-block; padding: 8px 20px; border: 3px solid rgba(255, 200, 120, .5); border-radius: 16px; box-shadow: 0 0 18px rgba(255, 160, 60, .35), inset 0 0 18px rgba(255, 160, 60, .25); transform: rotate(-3deg); }

/* Glazen proosten */
.cheers { display: inline-flex; font-size: 2.4rem; }
.cheers span { display: inline-block; animation: cheersL 2.4s ease-in-out infinite; }
.cheers span + span { animation-name: cheersR; }
@keyframes cheersL { 0%, 60%, 100% { transform: rotate(0); } 30% { transform: translateX(6px) rotate(18deg); } }
@keyframes cheersR { 0%, 60%, 100% { transform: scaleX(-1) rotate(0); } 30% { transform: scaleX(-1) translateX(6px) rotate(18deg); } }

@media (prefers-reduced-motion: reduce) { .bubbles { display: none; } }

/* Merchfoto's hebben een witte achtergrond: zet ze op crème zodat ze in de kaart opgaan */
.product-img { background: radial-gradient(circle at 50% 45%, #fffaf0, #eadcb8); }
.product-img img { mix-blend-mode: multiply; filter: none; }
.cart-line img { background: #fff; }
.cta-band .deco { mix-blend-mode: luminosity; opacity: .14; }

/* Bubbels op donker: warmer en zichtbaarder */
.bubbles i { background: radial-gradient(circle at 30% 30%, rgba(255, 236, 190, .5), rgba(240, 169, 44, .18) 55%, transparent 72%); border-color: rgba(255, 214, 140, .35); }

/* ---------- Juridische pagina's (voorwaarden, privacy) ---------- */
.legal { padding: clamp(26px, 5vw, 56px); line-height: 1.7; }
.legal h2 { font-size: 1.35rem; margin: 2em 0 .6em; color: var(--gold); scroll-margin-top: calc(var(--header-h) + 20px); }
.legal h2:first-of-type { margin-top: 1.2em; }
.legal ol { padding-left: 1.4em; margin: 0 0 1em; }
.legal ol li { margin-bottom: .55em; padding-left: .3em; }
.legal ol li::marker { color: var(--gold); font-weight: 700; }
.legal ul { padding-left: 1.2em; }
.legal ul li { margin-bottom: .5em; }
.legal-meta { display: inline-block; padding: 6px 14px; border-radius: 999px; background: rgba(242,193,78,.1); border: 1px solid var(--line); color: var(--gold); font-weight: 700; font-size: .88rem; }
.legal-intro { font-size: 1.08rem; color: var(--muted); margin-top: 1em; }
.legal .addr { padding: 16px 20px; border-left: 3px solid var(--gold); background: rgba(0,0,0,.2); border-radius: 0 12px 12px 0; }
.legal-form { padding: 20px 24px; border: 2px dashed var(--line-strong); border-radius: 14px; }
.legal-form p { margin: .5em 0; }
.legal-table-wrap { overflow-x: auto; margin: 0 -6px; }
.legal-table { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 640px; }
.legal-table th, .legal-table td { text-align: left; vertical-align: top; padding: 12px 10px; border-bottom: 1px dashed var(--line); }
.legal-table th { color: var(--gold); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }
.legal-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }

@media print {
  @page { margin: 18mm 16mm; }
  html, body { background: #fff !important; color: #111 !important; font-size: 10.5pt; }
  body::before, .ticker, .site-header, .site-footer, .bar-counter, .string-lights, .bubbles, .birds, .crumbs, .legal-actions, .drawer, .drawer-backdrop, .toast, .skip { display: none !important; }
  .page-hero { padding: 0 0 8pt; }
  .page-hero .wrap { padding-top: 0 !important; }
  .page-hero h1 { font-size: 22pt; color: #111; }
  .page-hero .lead, .eyebrow { color: #444; }
  .split-words .w { opacity: 1 !important; transform: none !important; animation: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .card.legal { background: none !important; border: 0 !important; padding: 0 !important; box-shadow: none !important; }
  .legal h2 { color: #1f4d33; page-break-after: avoid; font-size: 13pt; }
  .legal li, .legal p { color: #111; }
  .legal a { color: #111; }
  .legal-meta { color: #1f4d33; border-color: #1f4d33; background: none; }
  .legal-intro { color: #333; }
  .legal .addr { background: #f4f4f4; }
  .legal-form { page-break-inside: avoid; border-color: #999; }
  .legal-table th { color: #1f4d33; }
  .section-tight { padding: 0; }
}
