/* Variante B „Schenk ein“ – warmes Dunkel, schmale hohe Schrift, interaktive Bar.
   Baut auf style.css (Grundlagen) und v2.css (Kopfzeile, Vollbild-Menü) auf. */

.vb {
  --brown: #120c07;
  --brown-2: #1c130b;
  --amber-2: #f2a922;
  background: var(--brown);
  color: var(--cream);
}
.vb .stage__gl { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.vb .stream { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; }
.vb main { position: relative; z-index: 3; }
.vb .footer { position: relative; z-index: 3; background: var(--brown); }
.vb .top { background: transparent; }
.vb .top.is-stuck { background: linear-gradient(to bottom, rgba(18,12,7,.95), rgba(18,12,7,0)); }

.vb-tall { font-weight: 900; font-stretch: 62%; text-transform: uppercase; letter-spacing: -.01em; line-height: .84; }
.vb-label { display: block; margin-bottom: 18px; font-size: .75rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--amber-2); }

/* ---------- Auftakt ---------- */
.vb-intro { min-height: 100svh; position: relative; display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 24px; padding: 110px var(--gutter) 48px; max-width: 1600px; margin: 0 auto; }
.vb-intro h1 { margin: 0; font-size: clamp(4.6rem, 15vw, 15rem); }
.vb-intro h1 span { display: block; }
.vb-intro h1 span:last-child { color: var(--amber-2); font-style: italic; }
.vb-intro__side { justify-self: end; max-width: 340px; text-align: right; }
.vb-intro__side p { margin: 0 0 22px; color: var(--muted); font-size: 1.0625rem; }
.vb-scroll { display: inline-flex; align-items: center; gap: 10px; font-size: .75rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--yellow); text-decoration: none; }
.vb-scroll svg { width: 18px; height: 18px; animation: nudge 1.4s ease-in-out infinite; }
@media (max-width: 860px) {
  .vb-intro { grid-template-columns: minmax(0, 1fr); align-items: end; padding-top: 52svh; }
  .vb-intro__side { justify-self: start; text-align: left; }
}

/* ---------- Bar ---------- */
.vb-bar { position: relative; min-height: 100svh; padding: 96px var(--gutter) 40px; max-width: 1600px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: center; }
.vb-bar__panel { grid-column: 2; max-width: 560px; justify-self: end; }
.vb-bar h2 { margin: 0; font-size: clamp(3.4rem, 8vw, 7.4rem); }
.vb-bar h2 em { color: var(--amber-2); }
.vb-bar__intro { margin: 18px 0 24px; color: var(--muted); font-size: 1.0625rem; }
.vb-menu { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.vb-menu button {
  display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 14px 16px;
  background: var(--brown-2); color: var(--cream); border: 1px solid var(--line); cursor: pointer; text-align: left;
  font: inherit; font-size: clamp(1.15rem, 1.7vw, 1.6rem); font-weight: 900; font-stretch: 62%; text-transform: uppercase; letter-spacing: .01em;
  transition: background-color .2s, color .2s, border-color .2s;
}
.vb-menu button small { font-size: .62rem; font-weight: 700; font-stretch: 100%; letter-spacing: .12em; color: var(--muted); }
.vb-menu button:hover { border-color: var(--amber-2); }
.vb-menu button[aria-pressed="true"] { background: var(--amber-2); color: var(--black); border-color: var(--amber-2); }
.vb-menu button[aria-pressed="true"] small { color: var(--black); }
.vb-menu button:disabled { cursor: wait; }
.vb-recipe { margin-top: 22px; min-height: 172px; border-top: 1px solid var(--line); padding-top: 16px; }
.vb-recipe h3 { margin: 0 0 6px; font-size: 1.5rem; font-weight: 900; font-stretch: 80%; text-transform: uppercase; }
.vb-recipe p { margin: 0 0 10px; color: var(--muted); font-size: .9688rem; }
.vb-recipe li { display: flex; gap: 10px; align-items: baseline; padding: 3px 0; font-size: .9688rem; }
.vb-recipe li::before { content: ""; flex: none; width: 10px; height: 10px; background: var(--c, var(--cream)); transform: translateY(1px); }
.vb-status { margin: 14px 0 0; font-size: 1.1rem; font-weight: 800; font-style: italic; color: var(--yellow); min-height: 1.5em; }
.vb-refill { display: none; margin-top: 12px; gap: 10px; flex-wrap: wrap; }
.vb-refill.is-on { display: flex; }
.vb .btn { min-height: 46px; padding: 10px 18px; font-size: .8125rem; }

/* Glas: wird von js/vb.js auf ein Canvas gezeichnet (Glasform, Flüssigkeit, Eis, Garnitur je Drink) */
/* Steht immer in der linken Hälfte: rechte Kante 12px vor der Textspalte (Spalte 2 beginnt bei 50% + 12px).
   Höhe am ersten Bildschirm der Bar ausrichten, nicht am Abschnittsende (der Abschnitt kann höher als der Bildschirm sein) */
.vb-glass { position: absolute; right: calc(50% + 24px); top: calc(87svh - clamp(190px, 17vw, 280px) - 30px); width: clamp(160px, 14vw, 230px); margin: 0; text-align: center; transition: opacity .35s; }
.vb-glass__body { position: relative; height: clamp(190px, 17vw, 280px); }
.vb-glass__cv { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.vb-glass__gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
/* Hinweis, was gerade ins Glas kommt: direkt unter dem Glas (statt „Dein Glas“), kurz eingeblendet */
.vb-pops { position: absolute; z-index: 2; top: calc(100% + 4px); left: -60px; right: -60px; display: grid; justify-items: center; pointer-events: none; }
.vb-pop { grid-area: 1 / 1; display: flex; align-items: center; gap: 9px; width: max-content; max-width: 100%; padding: 8px 12px 8px 10px;
  background: rgba(18,12,7,.88); border: 1px solid var(--line); border-left: 3px solid var(--c); color: var(--cream);
  font-size: .8125rem; font-weight: 700; line-height: 1.3; text-align: left; animation: vb-pop-in 1.6s ease forwards; }
.vb-pop::before { content: "+"; flex: none; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--c); color: #120c07; font-weight: 900; font-size: .8rem; }
.vb-pop.is-old { animation: vb-pop-out .35s ease forwards; }
@keyframes vb-pop-in { 0% { opacity: 0; transform: translateY(10px); } 14% { opacity: 1; transform: none; } 80% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(-8px); } }
@keyframes vb-pop-out { to { opacity: 0; transform: translateY(-14px); } }
@media (prefers-reduced-motion: reduce) { .vb-pop { animation-name: vb-pop-fade; } @keyframes vb-pop-fade { 0%, 100% { opacity: 0; } 12%, 85% { opacity: 1; } } }
.vb-glass figcaption { transition: opacity .25s; }
.vb-glass.has-pop figcaption { opacity: 0; }
@media (max-width: 860px) {
  .vb-pops { left: auto; right: 0; width: calc(100vw - 2 * var(--gutter)); justify-items: end; }
  .vb-pop { font-size: .75rem; padding: 6px 10px 6px 8px; }
}
.vb-glass figcaption { margin-top: 10px; font-size: .6875rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.vb-meter { margin-top: 18px; display: flex; align-items: center; gap: 12px; font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.vb-meter span { flex: 1; height: 6px; background: var(--brown-2); border: 1px solid var(--line); position: relative; overflow: hidden; }
.vb-meter i { position: absolute; inset: 0 auto 0 0; width: 100%; background: var(--amber-2); transition: width .2s; }

@media (max-width: 860px) {
  .vb-bar__panel { grid-column: 1; justify-self: stretch; max-width: none; }
  .vb-glass { left: auto; right: var(--gutter); top: 23svh; bottom: auto; width: 136px; }
  /* Handy: kein eigener Scrollbereich. Oben Platz für Flasche und Glas, darunter läuft alles mit der Seite */
  .vb-bar { display: block; height: auto; min-height: 0; padding: calc(23svh + 236px) 0 48px; overflow: visible; }
  .vb-bar__panel { position: static; height: auto; overflow: visible; padding: 0 var(--gutter); background: none; }
  .vb-bar h2 { font-size: 2.6rem; }
  .vb-bar__intro { margin: 10px 0 16px; font-size: .9688rem; }
  .vb-glass__body { height: 164px; }
}

/* Desktop-Layout mit wenig Höhe (z. B. großes Handy quer): Glas kleiner, damit über ihm Platz zum Gießen bleibt */
@media (min-width: 861px) and (max-height: 520px) {
  .vb-glass { top: calc(87svh - 160px); width: 120px; }
  .vb-glass__body { height: 130px; }
}
/* Handy quer (wenig Höhe): Glas kleiner und tiefer, damit über ihm Platz für die gekippte Flasche bleibt */
@media (max-width: 860px) and (max-height: 520px) {
  .vb-glass { top: 40svh; width: 112px; }
  .vb-glass__body { height: 130px; }
  .vb-bar { padding-top: calc(40svh + 190px); }
}

/* Vollbild-Menü: Schriftgröße auch an der Höhe ausrichten, damit es nie in sich scrollt */
.vb .menu a { font-size: clamp(1.6rem, min(8.6vw, 9.5vh), 6.4rem); }
@media (max-height: 520px) {
  .vb .menu { padding-top: 64px; padding-bottom: 20px; }
  .vb .menu p { margin-top: 12px; }
}

/* Zutatenfarben (wie in v2) */
[data-c="ernst"]   { --c: #f2a922; }
[data-c="wermut"]  { --c: #8f2a1c; }
[data-c="whiskey"] { --c: #c06a17; }
[data-c="clear"]   { --c: #cfd8d6; }
[data-c="lemon"]   { --c: #f1e283; }
[data-c="sugar"]   { --c: #e8d9b8; }
[data-c="juice"]   { --c: #a01d34; }
[data-c="coffee"]  { --c: #4b2b19; }
[data-c="likoer"]  { --c: #7a4424; }
[data-c="vanilla"] { --c: #e3c079; }
[data-c="ice"]     { --c: #dfe9ec; }

/* ---------- Story in drei Akten ---------- */
.vb-story { padding: clamp(80px, 11vw, 160px) var(--gutter); max-width: 1600px; margin: 0 auto; min-height: 100svh; }
.vb-story h2 { margin: 0 0 clamp(36px, 5vw, 64px); font-size: clamp(3.4rem, 8vw, 7.4rem); max-width: 60%; }
/* Die Köpfe dahinter: Duo-Foto groß, zwei Detailaufnahmen als schräg angelegte Schnappschüsse */
.vb-duo { position: relative; margin: 0 0 clamp(56px, 7vw, 96px); max-width: 64%; padding: 0 0 clamp(48px, 5vw, 72px); }
.vb-duo img { display: block; width: 100%; height: 100%; object-fit: cover; filter: sepia(.32) saturate(1.25) contrast(1.06) brightness(.94); }
.vb-duo__main { position: relative; width: 78%; aspect-ratio: 3 / 2; overflow: hidden; border-top: 3px solid var(--amber-2); }
.vb-duo__main::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(18,12,7,.8), rgba(18,12,7,0) 55%); pointer-events: none; }
.vb-duo__snap { position: absolute; width: 30%; aspect-ratio: 3 / 2; padding: 6px 6px 22px; background: var(--cream); box-shadow: 0 18px 40px rgba(0,0,0,.55); }
.vb-duo__snap img { height: 100%; }
.vb-duo__snap--a { right: 0; top: 8%; transform: rotate(4deg); }
.vb-duo__snap--b { right: 9%; bottom: 0; transform: rotate(-5deg); }
.vb-duo figcaption { position: absolute; left: clamp(14px, 1.6vw, 24px); bottom: calc(clamp(48px, 5vw, 72px) + clamp(12px, 1.4vw, 20px)); max-width: 60%; }
.vb-duo figcaption b { display: block; font-size: clamp(1.15rem, 2vw, 1.75rem); font-weight: 900; font-stretch: 70%; text-transform: uppercase; line-height: 1; }
.vb-duo figcaption span { display: block; margin-top: 6px; font-size: .8125rem; color: var(--cream); opacity: .85; }
@media (max-width: 860px) {
  .vb-duo { max-width: none; padding-bottom: 0; }
  .vb-duo__main { width: 100%; }
  .vb-duo__snap { width: 38%; }
  .vb-duo__snap--a { right: -4px; top: -26px; }
  .vb-duo__snap--b { display: none; }
  .vb-duo figcaption { bottom: 14px; max-width: 90%; }
}

.vb-acts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 32px); max-width: 64%; }
.vb-act { border-top: 3px solid var(--amber-2); padding-top: 18px; }
.vb-act b { display: block; font-size: clamp(3rem, 6vw, 5.6rem); font-weight: 900; font-stretch: 62%; line-height: .9; color: var(--amber-2); }
.vb-act h3 { margin: 6px 0 12px; font-size: clamp(1.4rem, 2vw, 1.9rem); font-weight: 900; font-stretch: 70%; text-transform: uppercase; }
.vb-act p { margin: 0; color: var(--muted); font-size: .9688rem; line-height: 1.6; }
.vb-quote { margin: clamp(40px, 6vw, 80px) 0 0; max-width: 64%; font-size: clamp(1.4rem, 2.6vw, 2.4rem); font-weight: 900; font-stretch: 75%; font-style: italic; line-height: 1.12; text-transform: uppercase; }
.vb-quote small { display: block; margin-top: 12px; font-size: .75rem; font-stretch: 100%; font-style: normal; letter-spacing: .2em; color: var(--amber-2); }

/* Galerie: kleines Mosaik unter den drei Akten, Großansicht im Dialog (ohne eigenen Scrollbereich) */
.vb-gallery { margin: clamp(48px, 6vw, 88px) 0 0; max-width: 64%; container-type: inline-size; }
.vb-gallery__grid { --gap: clamp(6px, .8vw, 12px); list-style: none; margin: 0; padding: 0; display: grid; gap: var(--gap);
  grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: calc((100cqi - 2 * var(--gap)) / 3 * .9); }
.vb-gallery__item button { position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; background: var(--brown-2); overflow: hidden; cursor: zoom-in; color: inherit; font: inherit; }
.vb-gallery__item img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1), filter .4s; filter: saturate(.92) brightness(.9); }
.vb-gallery__item button::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(18,12,7,.78), rgba(18,12,7,0) 48%); pointer-events: none; }
.vb-gallery__item span { position: absolute; left: 10px; right: 10px; bottom: 8px; z-index: 1; text-align: left; font-size: clamp(.7rem, 1vw, .875rem); font-weight: 900; font-stretch: 70%; letter-spacing: .06em; text-transform: uppercase; line-height: 1.1; }
.vb-gallery__item button:hover img, .vb-gallery__item button:focus-visible img { transform: scale(1.06); filter: saturate(1.05) brightness(1); }
.vb-gallery__item button:focus-visible { outline: 3px solid var(--amber-2); outline-offset: 2px; }

.vb-lightbox { position: fixed; inset: 0; width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; border: 0; overflow: hidden; background: rgba(12,8,5,.94); color: var(--cream); }
.vb-lightbox::backdrop { background: rgba(0,0,0,.6); }
.vb-lightbox[open] { display: grid; place-items: center; animation: vb-lb-in .25s ease; }
@keyframes vb-lb-in { from { opacity: 0; } }
.vb-lightbox figure { margin: 0; display: grid; justify-items: center; gap: 12px; max-width: calc(100vw - 2 * var(--gutter)); }
.vb-lightbox img { display: block; max-width: min(calc(100vw - 2 * var(--gutter) - 120px), 1100px); max-height: calc(100svh - 150px); width: auto; height: auto; object-fit: contain; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.vb-lightbox figcaption { display: flex; gap: 16px; align-items: baseline; justify-content: center; flex-wrap: wrap; text-align: center; font-size: .9375rem; }
.vb-lightbox__n { font-size: .75rem; letter-spacing: .2em; color: var(--amber-2); }
.vb-lightbox button { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 1px solid rgba(246,236,218,.25); border-radius: 50%; background: rgba(18,12,7,.6); color: var(--cream); font: 400 1.6rem/1 system-ui, sans-serif; cursor: pointer; }
.vb-lightbox button:hover, .vb-lightbox button:focus-visible { border-color: var(--amber-2); color: var(--amber-2); outline: none; }
.vb-lightbox__x { top: 16px; right: 16px; font-size: 1.1rem !important; }
.vb-lightbox__nav { top: 50%; transform: translateY(-50%); font-size: 2rem !important; padding-bottom: 4px !important; }
.vb-lightbox__nav--prev { left: 16px; }
.vb-lightbox__nav--next { right: 16px; }
html.vb-lb-open { overflow: hidden; }
@media (max-width: 860px) {
  .vb-gallery { max-width: none; }
  .vb-gallery__item span { left: 7px; right: 7px; bottom: 6px; font-size: .6875rem; }
  .vb-lightbox img { max-width: calc(100vw - 24px); max-height: calc(100svh - 190px); }
  .vb-lightbox__nav { top: auto; bottom: 20px; transform: none; }
  .vb-lightbox__nav--prev { left: calc(50% - 64px); }
  .vb-lightbox__nav--next { right: calc(50% - 64px); }
  .vb-lightbox figure { margin-top: -40px; max-width: calc(100vw - 24px); }
  .vb-lightbox img { max-width: 100%; }
}
@media (max-width: 860px) and (max-height: 520px) {
  /* Handy quer: nicht breiter als die Höhe es zulässt */
  .vb-gallery { max-width: min(100%, 150svh); }
}
@media (max-height: 520px) {
  .vb-lightbox img { max-height: calc(100svh - 70px); max-width: calc(100vw - 150px); }
  .vb-lightbox figure { margin-top: 0; gap: 6px; }
  .vb-lightbox figcaption { font-size: .8125rem; }
  .vb-lightbox__nav { top: 50%; bottom: auto; transform: translateY(-50%); }
  .vb-lightbox__nav--prev { left: 12px; }
  .vb-lightbox__nav--next { right: 12px; left: auto; }
}
@media (prefers-reduced-motion: reduce) { .vb-gallery__item img { transition: none; } .vb-lightbox[open] { animation: none; } }
@media (max-width: 960px) {
  .vb-acts { grid-template-columns: minmax(0, 1fr); }
}
/* Volle Breite erst im Handy-Layout: darüber steht die Flasche rechts neben dem Text */
@media (max-width: 860px) {
  .vb-story h2, .vb-acts, .vb-quote { max-width: none; }
  .vb-story { padding-top: 44svh; }
}

/* ---------- Nachschub ---------- */
.vb-order { min-height: 100svh; padding: 110px var(--gutter) 60px; max-width: 1600px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
.vb-order__panel { grid-column: 2; }
.vb-order h2 { margin: 0; font-size: clamp(3.4rem, 9vw, 8.4rem); }
.vb-order h2 em { color: var(--amber-2); }
.vb-order p { color: var(--muted); }
.vb .shops { margin-top: 26px; }
.vb .shop__name { font-stretch: 62%; font-size: clamp(1.3rem, 2.4vw, 2.8rem); overflow-wrap: normal; }
.vb .shop__url { overflow-wrap: anywhere; }
@media (max-width: 1180px) { .vb .shop__go span { display: none; } }
.vb-contact { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: 1rem; }
.vb-contact a { color: var(--yellow); text-decoration: none; border-bottom: 1px solid var(--line); }
@media (max-width: 860px) { .vb-order { grid-template-columns: minmax(0, 1fr); padding-top: 48svh; } .vb-order__panel { grid-column: 1; } }
