/*
 * +============================================================================+
 * |    ____             __    __           ____                                |
 * |   | __ )   _   _   / _|  / _|  _   _  | __ )    ___    __ _   _ __         |
 * |   |  _ \  | | | | | |_  | |_  | | | | |  _ \   / _ \  / _` | | '__|        |
 * |   | |_) | | |_| | |  _| |  _| | |_| | | |_) | |  __/ | (_| | | |           |
 * |   |____/   \__,_| |_|   |_|    \__, | |____/   \___|  \__,_| |_|           |
 * |                                |___/                                       |
 * |                                                                            |
 * |   ()_()   Crafted with honey & code by BuffyBear                           |
 * |   (o.o)   https://www.buffybear.de/                                        |
 * +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~+
 * |   Projekt : P-Corner Website 0.1.0                                         |
 * |   Datei   : assets/css/style.css                                           |
 * |   (c) 2026 BuffyBear - https://www.buffybear.de/ - Alle Rechte vorbehalten |
 * +============================================================================+
 */

/* Gestaltung der P-Corner-Website nach der CI (quellen/sunset-county/spiele/p-corner/CI.md):
   Bieretikett statt Leuchtreklame – Flaschengrün, Blattgold, Abendsonne, Etikettpapier, dunkles Holz.
   Schriften: Spectral Bold / Bold Italic (Überschriften, Wortmarke), Georgia (Fließtext),
   Press Start 2P nur für kleine Spiel-Anzeigen (Uhrzeiten, Tasten, Aufkleber). */

@font-face {
  font-family: 'Spectral';
  src: url('../fonts/Spectral-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Spectral';
  src: url('../fonts/Spectral-BoldItalic.ttf') format('truetype');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Press Start 2P';
  src: url('../fonts/press-start-2p-latin-400-normal.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Press Start 2P';
  src: url('../fonts/press-start-2p-latin-ext-400-normal.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* Hausfarben (CI 3.1) */
  --green: #1f5e43;
  --bottle: #123d2e;
  --gold: #d9a441;
  --orange: #f79a3a;
  --paper: #f3e6c4;
  --stout: #1c1411;
  --mahog: #5c2a17;
  /* Ergänzungsfarben (CI 3.2) */
  --gold-l: #f4d98a;
  --gold-d: #8a6420;
  --sun: #ffd25e;
  --pink: #e5487a;
  --violet: #3b1d5e;
  /* abgeleitet */
  --paper-l: #fbf3dc;
  --paper-d: #e6d3a6;
  --ink: #2e2018;
  --wood: #2a1d17;
  --night: #0d0806;

  --display: 'Spectral', Georgia, 'Times New Roman', serif;
  --serif: Georgia, 'Times New Roman', serif;
  --pixel: 'Press Start 2P', ui-monospace, monospace;
  --chalk: 'Ink Free', 'Segoe Print', 'Bradley Hand', 'Comic Sans MS', cursive;
  --bar-h: 120px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--stout);
  color: var(--paper);
  font-family: var(--serif);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  z-index: 100;
  background: var(--paper);
  color: var(--stout);
  padding: 8px 14px;
  font-family: var(--display);
  font-weight: 700;
}
.skip:focus {
  left: 8px;
}

.nobr {
  white-space: nowrap;
}

/* ===== Knöpfe ===== */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.8em 1.5em;
  border: 2px solid var(--gold);
  border-radius: 6px;
  background: var(--green);
  color: var(--paper);
  font-family: var(--display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  box-shadow: inset 0 0 0 2px var(--bottle), 0 4px 0 var(--bottle), 0 6px 14px rgba(0, 0, 0, 0.35);
  transition: transform 0.12s ease, background-color 0.12s ease, box-shadow 0.12s ease;
  user-select: none;
  -webkit-user-select: none;
}
.btn:hover {
  background: #26704f;
  transform: translateY(-1px);
}
.btn:active,
.btn.is-down {
  transform: translateY(3px);
  box-shadow: inset 0 0 0 2px var(--bottle), 0 1px 0 var(--bottle), 0 2px 6px rgba(0, 0, 0, 0.35);
}
.btn--big {
  font-size: 1.1rem;
  padding: 1em 1.9em;
}
.btn--small {
  font-size: 0.78rem;
  padding: 0.55em 1em;
}
.btn--ghost {
  background: transparent;
  color: var(--gold-l);
  box-shadow: none;
}
.btn--ghost:hover {
  background: rgba(244, 217, 138, 0.12);
}
.btn--ghost:active {
  box-shadow: none;
}
.btn--dark {
  color: var(--green);
  border-color: var(--green);
}
.btn--dark:hover {
  background: rgba(31, 94, 67, 0.1);
}

/* Aufkleber an den SPIELEN-Knöpfen ("BALD OFFEN" solange kein Link da ist) */
.btn[data-sticker]::after {
  content: attr(data-sticker);
  position: absolute;
  top: -13px;
  right: -12px;
  padding: 5px 6px 4px;
  background: var(--orange);
  color: var(--stout);
  border: 2px solid var(--stout);
  border-radius: 3px;
  font-family: var(--pixel);
  font-size: 7px;
  letter-spacing: 0;
  line-height: 1;
  white-space: nowrap;
  transform: rotate(7deg);
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.35);
  pointer-events: none;
}
.btn--small[data-sticker]::after {
  top: -10px;
  right: -16px;
  font-size: 6px;
}

/* ===== Kopfzeile ===== */
.topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 18px;
  height: 64px;
  padding: 0 24px;
  background: rgba(28, 20, 17, 0.78);
  border-bottom: 2px solid transparent;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.topbar.is-scrolled {
  background: rgba(28, 20, 17, 0.95);
  border-bottom-color: var(--gold-d);
}
.topbar__brand img {
  width: auto;
  height: 40px;
}
.topbar__nav {
  display: flex;
  gap: 22px;
  margin-left: auto;
}
.topbar__nav a {
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--gold-l);
}
.topbar__nav a:hover {
  color: var(--orange);
}
.topbar__menu {
  display: none;
}
.topbar__sound,
.topbar__menu {
  padding: 8px 10px;
  border: 2px solid var(--gold-d);
  border-radius: 4px;
  background: transparent;
  color: var(--gold-l);
  font-family: var(--pixel);
  font-size: 8px;
  cursor: pointer;
}
.topbar__sound[aria-pressed='false'] {
  color: rgba(244, 217, 138, 0.5);
}
.topbar .btn {
  margin-right: 12px;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: max(680px, 100svh);
  padding: 96px 16px calc(var(--bar-h) + 120px);
  overflow: hidden;
  text-align: center;
  background: linear-gradient(180deg, #140d0b 0%, #1c1411 28%, #3a1c14 56%, #7a3418 74%, #c8642a 87%, #f79a3a 100%);
}
.hero__sky {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero__glow {
  position: absolute;
  left: 50%;
  top: 38%;
  width: min(1100px, 140vw);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(247, 154, 58, 0.28) 0%, rgba(247, 154, 58, 0.08) 38%, transparent 62%);
}
.hero__skyline {
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(var(--bar-h) - 4px);
  width: 100%;
  height: 220px;
}
.sk-far {
  fill: #2c1611;
}
.sk-near,
.sk-bridge {
  fill: #120a08;
}
.sk-lights rect {
  fill: var(--gold-l);
  opacity: 0.85;
  animation: flicker 7s infinite;
}
.sk-lights rect:nth-child(3n) {
  animation-delay: -2.4s;
}
.sk-lights rect:nth-child(4n) {
  animation-delay: -4.1s;
}
@keyframes flicker {
  0%, 46%, 50%, 100% { opacity: 0.85; }
  48% { opacity: 0.15; }
}

.hero__content {
  position: relative;
  z-index: 3;
  max-width: 860px;
}
.hero__date {
  margin: 0 0 14px;
  font-family: var(--pixel);
  font-size: 10px;
  line-height: 1.6;
  color: var(--gold-l);
  letter-spacing: 0.04em;
}
.hero__logo {
  margin: 0 auto;
  width: min(760px, 94vw, 100vw - 32px);
}
.hero__logo img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.55));
}
.hero__claim {
  margin: 6px 0 4px;
  font-family: var(--display);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(1.7rem, 4.2vw, 2.6rem);
  line-height: 1.2;
  color: var(--gold-l);
  text-shadow: 0 2px 0 var(--stout), 0 4px 18px rgba(0, 0, 0, 0.6);
}
.hero__sub {
  margin: 0 auto 28px;
  max-width: 640px;
  color: var(--paper);
  opacity: 0.92;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.7);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px 20px;
}

/* Schild "OFFEN – MEISTENS" schwingt an zwei Ketten */
.sign {
  position: absolute;
  z-index: 4;
  top: 92px;
  right: 6vw;
  text-decoration: none;
  transform-origin: 50% 0;
  animation: swing 5s ease-in-out infinite;
}
.sign__chain {
  display: block;
  width: 64px;
  height: 22px;
  margin: 0 auto;
  border-left: 2px solid var(--gold-d);
  border-right: 2px solid var(--gold-d);
}
.sign__board {
  display: block;
  padding: 8px 16px 9px;
  border: 3px solid var(--gold-d);
  border-radius: 4px;
  background: linear-gradient(180deg, #6e3420, var(--mahog));
  box-shadow: inset 0 0 0 2px #3a1a0e, 0 8px 16px rgba(0, 0, 0, 0.45);
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.14em;
  color: var(--gold-l);
  line-height: 1.1;
}
.sign__board small {
  display: block;
  margin-top: 4px;
  font-family: var(--pixel);
  font-size: 7px;
  letter-spacing: 0.1em;
  color: var(--orange);
}
.sign:hover .sign__board {
  color: #fff3c8;
}
@keyframes swing {
  0%, 100% { transform: rotate(-3deg); }
  50% { transform: rotate(3deg); }
}

/* Die Theke unten im Hero */
.bar {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 0;
  height: var(--bar-h);
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.45), transparent 30%),
    repeating-linear-gradient(90deg, #3a1a0e 0 58px, #2a1209 58px 61px);
}
.bar::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 24px;
  border-top: 3px solid var(--gold);
  background: linear-gradient(180deg, #96502c, #6a3019 60%, var(--mahog));
  box-shadow: 0 5px 8px rgba(0, 0, 0, 0.5);
}
.bar::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 26px;
  height: 7px;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--gold-l), var(--gold) 50%, var(--gold-d));
  box-shadow: 0 3px 4px rgba(0, 0, 0, 0.5);
}
.bar__tap {
  position: absolute;
  left: max(28px, 9vw);
  bottom: calc(100% - 6px);
  width: 18px;
  height: 64px;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(90deg, var(--gold-d), var(--gold-l) 45%, var(--gold-d));
}
.bar__tap::before {
  /* Auslauf */
  content: '';
  position: absolute;
  top: 8px;
  left: 14px;
  width: 22px;
  height: 7px;
  border-radius: 0 3px 3px 0;
  background: linear-gradient(180deg, var(--gold-l), var(--gold-d));
}
.bar__tap::after {
  content: '';
  position: absolute;
  top: 13px;
  left: 30px;
  width: 6px;
  height: 9px;
  background: var(--gold-d);
}
.bar__handle {
  position: absolute;
  left: 2px;
  bottom: 100%;
  width: 14px;
  height: 34px;
  border: 2px solid var(--stout);
  border-radius: 7px 7px 3px 3px;
  background: linear-gradient(90deg, var(--bottle), #2f8a62 50%, var(--bottle));
}
.bar__glass {
  --beer: var(--sun);
  --foam: #fff4dc;
  position: absolute;
  left: calc(max(28px, 9vw) + 24px);
  bottom: calc(100% - 7px);
  width: 24px;
  height: 36px;
  border: 2px solid rgba(255, 255, 255, 0.75);
  border-top: 0;
  border-radius: 0 0 4px 4px;
  background: rgba(255, 255, 255, 0.12);
  opacity: 0;
  overflow: hidden;
}
.bar__beer {
  position: absolute;
  inset: auto 0 0;
  height: 84%;
  background: var(--beer);
}
.bar__beer::before {
  content: '';
  position: absolute;
  inset: -7px 0 auto;
  height: 8px;
  background: var(--foam);
}
.bar__glass.is-sliding {
  animation: slide 0.9s cubic-bezier(0.2, 0.7, 0.3, 1) forwards;
}
@keyframes slide {
  0% { opacity: 1; left: calc(max(28px, 9vw) + 24px); }
  100% { opacity: 1; left: calc(100% - 7vw - 136px); }
}
.bar__coin {
  position: absolute;
  right: calc(7vw + 150px);
  bottom: calc(100% - 4px);
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border: 2px solid var(--gold-d);
  border-radius: 50%;
  background: var(--sun);
  color: var(--gold-d);
  font-family: var(--pixel);
  font-size: 8px;
  opacity: 0;
}
.bar__coin.is-on {
  animation: coin 1.2s ease-out forwards;
}
@keyframes coin {
  0% { opacity: 0; transform: translateY(0) scale(0.4); }
  20% { opacity: 1; transform: translateY(-34px) scale(1.15); }
  45% { transform: translateY(-4px) scale(1); }
  80% { opacity: 1; }
  100% { opacity: 0; transform: translateY(-4px); }
}

/* Der Gast am Thekenende */
.guest {
  position: absolute;
  z-index: 1;
  right: 7vw;
  bottom: calc(var(--bar-h) - 34px);
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.guest__face {
  width: 100px;
  height: auto;
  aspect-ratio: 20 / 24;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  transition: transform 0.15s ease;
}
.guest:hover .guest__face {
  transform: translateY(-4px);
}
.guest.is-cheering .guest__face {
  animation: bob 0.5s ease-in-out 2;
}
@keyframes bob {
  50% { transform: translateY(-8px); }
}
.guest__bubble {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 6px);
  padding: 8px 12px;
  border: 3px solid var(--stout);
  border-radius: 10px;
  background: var(--paper);
  color: var(--stout);
  font-family: var(--pixel);
  font-size: 9px;
  line-height: 1.3;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(-60%) scale(0.6);
  pointer-events: none;
}
.guest__bubble::after {
  content: '';
  position: absolute;
  left: 60%;
  top: 100%;
  border: 8px solid transparent;
  border-top-color: var(--stout);
}
.guest.is-cheering .guest__bubble {
  animation: pop 1.6s ease forwards;
}
@keyframes pop {
  0% { opacity: 0; transform: translateX(-60%) scale(0.6); }
  12% { opacity: 1; transform: translateX(-60%) scale(1.08); }
  20%, 85% { opacity: 1; transform: translateX(-60%) scale(1); }
  100% { opacity: 0; transform: translateX(-60%) scale(1); }
}

/* ===== Abschnitte ===== */
.section {
  position: relative;
  padding: 96px 0;
}
.section--paper {
  background-color: var(--paper);
  background-image:
    radial-gradient(rgba(92, 42, 23, 0.06) 1px, transparent 1px),
    radial-gradient(rgba(92, 42, 23, 0.04) 1px, transparent 1px);
  background-size: 22px 22px, 31px 31px;
  background-position: 0 0, 11px 7px;
  color: var(--ink);
}
.section--wood {
  background-color: var(--stout);
  background-image:
    repeating-linear-gradient(180deg, rgba(255, 220, 160, 0.025) 0 1px, transparent 1px 7px),
    repeating-linear-gradient(180deg, transparent 0 118px, rgba(0, 0, 0, 0.2) 118px 120px);
  color: var(--paper);
}
.wrap {
  width: min(1160px, 100%);
  margin: 0 auto;
  padding: 0 24px;
}

/* Band als Träger der Kicker-Zeile (CI 5) */
.band {
  position: relative;
  display: inline-block;
  margin: 0 0 18px 14px;
}
.band span {
  position: relative;
  z-index: 1;
  display: block;
  padding: 0.45em 1.4em;
  border-top: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  background: var(--green);
  box-shadow: inset 0 3px 0 var(--green), inset 0 4px 0 var(--gold-l), inset 0 -3px 0 var(--green), inset 0 -4px 0 var(--gold-l);
  color: var(--paper);
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.band::before,
.band::after {
  content: '';
  position: absolute;
  top: 7px;
  width: 26px;
  height: 100%;
  background: var(--bottle);
}
.band::before {
  left: -14px;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 38% 50%);
}
.band::after {
  right: -14px;
  clip-path: polygon(0 0, 100% 0, 62% 50%, 100% 100%, 0 100%);
}

.h2 {
  margin: 0 0 24px;
  font-family: var(--display);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  line-height: 1.15;
  text-wrap: balance;
}
.section--paper .h2 {
  color: var(--green);
}
.section--wood .h2,
.cta .h2 {
  color: var(--gold-l);
}
.lead {
  max-width: 780px;
  margin: 0 0 36px;
  font-size: 1.12rem;
}
.section--wood .lead {
  color: rgba(243, 230, 196, 0.9);
}

/* ===== Das Spiel ===== */
.intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 40px;
  margin-bottom: 44px;
  font-size: 1.1rem;
}
.intro p {
  margin: 0 0 12px;
}
.intro strong {
  color: var(--mahog);
}

/* Zahlen als Bierdeckel */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 0 0 52px;
  padding: 0;
  list-style: none;
}
.stats li {
  display: grid;
  place-content: center;
  justify-self: center;
  width: min(210px, 100%);
  aspect-ratio: 1;
  padding: 26px;
  border-radius: 50%;
  background: var(--paper-l);
  box-shadow: inset 0 0 0 7px var(--paper-l), inset 0 0 0 9px var(--gold-d), 0 3px 0 var(--paper-d), 0 8px 18px rgba(92, 42, 23, 0.18);
  text-align: center;
}
.stats b {
  font-family: var(--display);
  font-style: italic;
  font-size: 2.6rem;
  line-height: 1;
  color: var(--green);
}
.stats span {
  margin-top: 8px;
  font-size: 0.86rem;
  line-height: 1.3;
  color: var(--mahog);
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}
.card {
  --c: var(--gold);
  padding: 22px 22px 18px;
  border: 2px solid var(--gold-d);
  border-top: 8px solid var(--c);
  border-radius: 10px;
  background: var(--paper-l);
  box-shadow: 0 3px 0 rgba(92, 42, 23, 0.22);
}
.card h3 {
  margin: 0 0 8px;
  font-family: var(--display);
  font-style: italic;
  font-size: 1.35rem;
  line-height: 1.2;
  color: var(--green);
}
.card p {
  margin: 0;
  font-size: 0.98rem;
  color: var(--ink);
}
.card--gold { --c: var(--gold); }
.card--green { --c: var(--green); }
.card--orange { --c: var(--orange); }
.card--pink { --c: var(--pink); }
.card--mahog { --c: var(--mahog); }

/* ===== Ein Tag ===== */
.day {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}
.day__step {
  position: relative;
  padding: 34px 18px 0 0;
  border-top: 3px solid var(--gold-d);
}
.day__step::before {
  content: '';
  position: absolute;
  top: -11px;
  left: 0;
  width: 16px;
  height: 16px;
  border: 3px solid var(--gold);
  border-radius: 50%;
  background: var(--stout);
}
.day__time {
  font-family: var(--pixel);
  font-size: 10px;
  color: var(--orange);
}
.day__step h3 {
  margin: 10px 0 6px;
  font-family: var(--display);
  font-style: italic;
  font-size: 1.35rem;
  color: var(--gold-l);
}
.day__step p {
  margin: 0;
  font-size: 0.97rem;
  color: rgba(243, 230, 196, 0.86);
}

/* ===== Zapf-Probe ===== */
.taproom {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 48px;
  align-items: start;
}
.menu {
  margin: 0;
  padding: 26px 26px 18px;
  border: 8px solid var(--mahog);
  border-radius: 10px;
  outline: 2px solid var(--gold-d);
  outline-offset: -14px;
  background: var(--bottle);
  box-shadow: 0 10px 24px rgba(28, 20, 17, 0.35);
  color: var(--paper);
}
.menu__title {
  float: left;
  width: 100%;
  margin: 4px 0 14px;
  padding: 0;
  font-family: var(--display);
  font-style: italic;
  font-weight: 700;
  font-size: 1.7rem;
  text-align: center;
  color: var(--gold-l);
}
.menu__item {
  clear: both;
  position: relative;
  display: grid;
  grid-template-columns: 22px auto 1fr auto;
  align-items: baseline;
  gap: 4px 10px;
  padding: 10px 12px 10px 10px;
  border-left: 4px solid transparent;
  border-radius: 4px;
  cursor: pointer;
}
.menu__item:hover {
  background: rgba(244, 217, 138, 0.07);
}
.menu__item:has(input:checked) {
  border-left-color: var(--orange);
  background: rgba(244, 217, 138, 0.13);
}
.menu__item:has(input:focus-visible) {
  outline: 3px solid var(--orange);
}
.menu__item input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.menu__tap {
  align-self: center;
  width: 18px;
  height: 18px;
  border: 2px solid var(--gold-l);
  border-radius: 50%;
  background: var(--beer);
}
.menu__name {
  font-family: var(--display);
  font-style: italic;
  font-weight: 700;
  font-size: 1.22rem;
  color: var(--gold-l);
}
.menu__dots {
  border-bottom: 2px dotted rgba(244, 217, 138, 0.35);
}
.menu__price {
  font-family: var(--display);
  font-weight: 700;
  color: var(--paper);
}
.menu__brand {
  grid-column: 2 / -1;
  font-size: 0.88rem;
  font-style: italic;
  color: rgba(243, 230, 196, 0.72);
}

.pour {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.pour__glass {
  --beer: var(--sun);
  --foam: #fff4dc;
  position: relative;
  width: 150px;
  height: 230px;
  margin: 18px 0 10px;
  border: 5px solid rgba(110, 96, 70, 0.55);
  border-top: 0;
  border-radius: 0 0 26px 26px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.25) 40%, rgba(255, 255, 255, 0.45));
  transition: box-shadow 0.25s ease;
}
.pour__glass::after {
  /* Glanz */
  content: '';
  position: absolute;
  top: 10px;
  bottom: 20px;
  left: 12px;
  width: 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.45);
  pointer-events: none;
}
.pour__glass.is-meister {
  box-shadow: 0 0 0 4px var(--gold), 0 0 34px rgba(247, 154, 58, 0.7);
}
.pour__beer {
  position: absolute;
  inset: auto 0 0;
  height: 0;
  border-radius: 0 0 21px 21px;
  background: linear-gradient(90deg, var(--beer), color-mix(in srgb, var(--beer), #000 18%));
}
.pour__foam {
  position: absolute;
  left: -2px;
  right: -2px;
  bottom: 0;
  height: 0;
  border-radius: 10px 10px 2px 2px;
  background:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.6) 0 4px, transparent 5px),
    radial-gradient(circle at 70% 50%, rgba(255, 255, 255, 0.5) 0 3px, transparent 4px),
    var(--foam);
}
.pour__mark {
  position: absolute;
  left: -16px;
  right: -16px;
  bottom: 88%;
  border-top: 2px dashed var(--mahog);
  pointer-events: none;
}
.pour__mark span {
  position: absolute;
  right: -46px;
  top: -9px;
  padding: 2px 4px;
  background: var(--paper);
  font-family: var(--pixel);
  font-size: 8px;
  color: var(--mahog);
}
.pour__spill {
  position: absolute;
  right: -14px;
  top: -6px;
  width: 16px;
  height: 120px;
  border-radius: 8px 8px 10px 10px;
  background: var(--foam);
  opacity: 0;
  transition: opacity 0.15s ease;
}
.pour__meter {
  margin: 4px 0 16px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 2rem;
  color: var(--green);
}
.pour__btn {
  touch-action: none;
}
.pour__result {
  min-height: 112px;
  margin-top: 18px;
}
.pour__hint {
  margin: 0;
  font-style: italic;
  color: rgba(46, 32, 24, 0.7);
}
.pour__grade {
  margin: 0 0 8px;
  font-family: var(--pixel);
  font-size: 14px;
  line-height: 1.4;
}
.pour__grade--meister { color: var(--green); }
.pour__grade--gut { color: var(--gold-d); }
.pour__grade--leer,
.pour__grade--mager { color: var(--mahog); }
.pour__grade--ueber,
.pour__grade--schaum { color: #b0501a; }
.pour__text {
  margin: 0;
}
.pour__quote {
  margin: 6px 0 0;
  font-style: italic;
  color: var(--mahog);
}
.pour__streak {
  min-height: 1.6em;
  margin: 6px 0 0;
  font-family: var(--display);
  font-weight: 700;
  color: var(--green);
}

/* ===== Leute ===== */
.cast + .cast {
  margin-top: 56px;
}
.cast__title {
  margin: 0 0 4px;
  font-family: var(--display);
  font-style: italic;
  font-size: 1.55rem;
  color: var(--gold);
}
.cast__lead {
  margin: 0 0 8px;
  color: rgba(243, 230, 196, 0.82);
}
.crew {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 12px 24px;
}
.crew--small {
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
}
.member {
  --accent: var(--gold);
  position: relative;
  margin: 0;
  padding-top: 92px;
  text-align: center;
}
.member--small {
  padding-top: 78px;
}
.member__face {
  position: relative;
  display: inline-block;
  padding: 12px 14px 0;
  border: 4px solid var(--accent);
  border-radius: 14px;
  background: radial-gradient(circle at 50% 35%, color-mix(in srgb, var(--accent), transparent 72%), transparent 70%), var(--wood);
  box-shadow: 0 5px 0 rgba(0, 0, 0, 0.45);
  cursor: pointer;
  transition: transform 0.15s ease;
}
.member__face:hover {
  transform: translateY(-3px);
}
.member__face canvas {
  width: 120px;
  height: auto;
  aspect-ratio: 20 / 24;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  transition: opacity 0.25s ease;
}
.member--small .member__face canvas {
  width: 80px;
  height: auto;
  aspect-ratio: 20 / 24;
}
.member__away {
  position: absolute;
  inset: 0;
  display: none;
  place-items: center;
  padding: 10px;
  font-family: var(--pixel);
  font-size: 9px;
  line-height: 1.6;
  color: var(--gold-l);
}
.member.is-away .member__face {
  border-style: dashed;
  background: var(--wood);
}
.member.is-away .member__face canvas {
  opacity: 0;
}
.member.is-away .member__away {
  display: grid;
}
.member.is-away figcaption {
  opacity: 0.55;
}
.member__say {
  position: absolute;
  left: 50%;
  top: 0;
  width: max-content;
  max-width: min(240px, 90%);
  margin: 0;
  padding: 9px 13px;
  border: 3px solid var(--stout);
  border-radius: 12px;
  background: var(--paper);
  color: var(--stout);
  font-family: var(--display);
  font-style: italic;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.3;
  opacity: 0;
  transform: translateX(-50%);
  pointer-events: none;
}
.member__say::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 100%;
  border: 8px solid transparent;
  border-top-color: var(--stout);
  transform: translateX(-50%);
}
.member.is-talking .member__say {
  animation: say 0.35s ease forwards;
}
@keyframes say {
  0% { opacity: 0; transform: translate(-50%, 8px) scale(0.9); }
  100% { opacity: 1; transform: translate(-50%, 0) scale(1); }
}
.member--small .member__say {
  font-size: 0.82rem;
}
.member figcaption {
  margin-top: 12px;
}
.member figcaption b {
  display: block;
  font-family: var(--display);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--gold-l);
}
.member figcaption span {
  display: block;
  font-size: 0.88rem;
  color: rgba(243, 230, 196, 0.72);
}
.member--small figcaption b {
  font-size: 1.02rem;
}
.cast__more {
  max-width: 760px;
  margin: 48px 0 0;
  padding: 16px 20px;
  border-left: 4px solid var(--pink);
  background: rgba(229, 72, 122, 0.08);
  color: rgba(243, 230, 196, 0.9);
}
.cast__more a {
  color: var(--gold-l);
  font-weight: 700;
}

/* ===== Die Kneipe: Kreidetafel und Münztelefon ===== */
.pub {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 56px;
  align-items: start;
}
.chalk {
  margin: 0;
}
.chalk__board {
  position: relative;
  min-height: 330px;
  padding: 30px 28px 26px;
  border: 14px solid #6a3519;
  border-radius: 6px;
  outline: 2px solid var(--gold-d);
  background-color: #1f2a25;
  background-image:
    radial-gradient(ellipse at 30% 20%, rgba(255, 255, 255, 0.07), transparent 55%),
    radial-gradient(ellipse at 75% 80%, rgba(255, 255, 255, 0.05), transparent 50%),
    linear-gradient(170deg, transparent 40%, rgba(255, 255, 255, 0.03) 48%, transparent 56%);
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.55), 0 12px 24px rgba(28, 20, 17, 0.35);
  color: #f4f0e6;
  font-family: var(--chalk);
  text-align: center;
}
.chalk__head {
  margin: 0 0 10px;
  font-size: 1.05rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-l);
}
.chalk__title {
  margin: 0 0 8px;
  font-size: clamp(1.8rem, 3.8vw, 2.6rem);
  line-height: 1.2;
  color: #ffc98f;
  text-decoration: underline wavy rgba(255, 201, 143, 0.5);
  text-underline-offset: 8px;
}
.chalk__text {
  margin: 0 0 24px;
  font-size: 1.4rem;
  line-height: 1.35;
}
.chalk__p {
  margin: 0;
  padding-top: 18px;
  border-top: 2px dashed rgba(244, 240, 230, 0.3);
  font-size: 1.2rem;
  color: #cfe8d8;
}
.chalk__board.is-wiped > * {
  animation: wipe 0.9s ease;
}
@keyframes wipe {
  0% { opacity: 1; filter: none; }
  35% { opacity: 0; filter: blur(5px); transform: translateX(14px); }
  55% { opacity: 0; filter: blur(5px); transform: translateX(-6px); }
  100% { opacity: 1; filter: none; transform: none; }
}
.chalk__legs {
  position: relative;
  display: block;
  height: 46px;
}
.chalk__legs::before,
.chalk__legs::after {
  content: '';
  position: absolute;
  top: -4px;
  width: 14px;
  height: 50px;
  border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, #5a2a12, #7a3d1d);
}
.chalk__legs::before {
  left: 16%;
  transform: rotate(9deg);
}
.chalk__legs::after {
  right: 16%;
  transform: rotate(-9deg);
}
.chalk figcaption {
  text-align: center;
}

.phone {
  margin: 0;
  text-align: center;
}
.phone__body {
  position: relative;
  width: min(320px, calc(100% - 34px));
  margin: 0 0 22px 34px;
  padding: 18px 20px 26px;
  border: 3px solid #7d8189;
  border-radius: 18px;
  background: linear-gradient(160deg, #4b4f57, #2b2e33);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.15), 0 14px 26px rgba(28, 20, 17, 0.4);
}
.phone__sign {
  display: block;
  margin: 0 0 14px;
  padding: 6px;
  border-radius: 4px;
  background: #f2b233;
  color: var(--stout);
  font-family: var(--pixel);
  font-size: 10px;
  letter-spacing: 0.2em;
}
.phone__slot {
  position: absolute;
  top: 58px;
  right: 18px;
  padding: 10px 8px 4px;
  border-radius: 3px;
  background: linear-gradient(180deg, #111 0 4px, #c8ccd2 4px);
  color: var(--stout);
  font-family: var(--pixel);
  font-size: 7px;
}
.phone__screen {
  min-height: 132px;
  margin: 0 56px 16px 0;
  padding: 12px 14px;
  border: 2px solid var(--gold-d);
  border-radius: 4px;
  background: var(--paper);
  color: var(--ink);
  text-align: left;
}
.phone__who {
  margin: 0 0 6px;
  font-family: var(--pixel);
  font-size: 8px;
  line-height: 1.5;
  color: var(--mahog);
}
.phone__text {
  margin: 0;
  font-family: var(--display);
  font-style: italic;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.35;
}
.phone__dial {
  display: block;
  width: 126px;
  height: 168px;
  margin: 0 auto;
  background-image: radial-gradient(circle, #e2e4e8 0 11px, #6a6e75 12px 13px, transparent 14px);
  background-size: 42px 42px;
}
.phone__receiver {
  position: absolute;
  top: 70px;
  left: -32px;
  width: 36px;
  height: 200px;
  border-radius: 18px;
  background: linear-gradient(90deg, #111, #2c2c30 50%, #111);
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.4);
  transform-origin: 50% 20%;
}
.phone__receiver::before,
.phone__receiver::after {
  content: '';
  position: absolute;
  left: -6px;
  width: 48px;
  height: 34px;
  border-radius: 14px;
  background: #1a1a1d;
}
.phone__receiver::before { top: -6px; }
.phone__receiver::after { bottom: -6px; }
.phone__receiver.is-up {
  animation: receiver 5s ease forwards;
}
@keyframes receiver {
  0%, 22% { transform: none; }
  30%, 88% { transform: translate(-16px, -22px) rotate(-14deg); }
  100% { transform: none; }
}

/* ===== Minispiele ===== */
.minis {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
  align-items: center;
}
.mini {
  height: 100%;
  margin: 0;
  padding: 20px;
  border: 2px solid var(--gold-d);
  border-radius: 10px;
  background: var(--wood);
}
.mini__tag {
  display: inline-block;
  padding: 5px 7px 4px;
  border-radius: 3px;
  background: var(--gold);
  color: var(--stout);
  font-family: var(--pixel);
  font-size: 8px;
}
.mini__tag--green { background: var(--green); color: var(--paper); }
.mini__tag--orange { background: var(--orange); }
.mini__tag--pink { background: var(--pink); color: var(--paper); }
.mini h3,
.mini__title {
  display: block;
  margin: 12px 0 6px;
  font-family: var(--display);
  font-style: italic;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--gold-l);
}
.mini p {
  margin: 0;
  font-size: 0.97rem;
  color: rgba(243, 230, 196, 0.85);
}
/* Bierdeckel mit Strichliste */
.mini--coaster {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  justify-self: center;
  width: min(260px, 100%);
  height: auto;
  aspect-ratio: 1;
  padding: 30px;
  border: 0;
  border-radius: 50%;
  background: var(--paper);
  box-shadow: inset 0 0 0 8px var(--paper), inset 0 0 0 10px var(--mahog), inset 0 0 0 14px var(--paper), inset 0 0 0 15px var(--gold-d), 0 6px 0 var(--paper-d), 0 10px 20px rgba(0, 0, 0, 0.4);
  color: var(--ink);
  font: inherit;
  text-align: center;
  cursor: pointer;
}
.mini--coaster .mini__title {
  margin-top: 8px;
  color: var(--green);
}
.mini__text {
  font-size: 0.95rem;
  line-height: 1.35;
}
.mini__ticks {
  min-height: 1.4em;
  margin-top: 8px;
  font-family: var(--pixel);
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--mahog);
}
.mini--coaster.is-flipping {
  animation: flip 0.5s ease;
}
@keyframes flip {
  0% { transform: perspective(600px) rotateY(0); }
  50% { transform: perspective(600px) rotateY(90deg); }
  100% { transform: perspective(600px) rotateY(0); }
}

/* ===== Steuerung ===== */
.keys {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.keys__player {
  padding: 20px 22px;
  border: 2px solid var(--gold-d);
  border-radius: 10px;
  background: var(--paper-l);
}
.keys__who {
  margin: 0 0 6px;
  padding-left: 10px;
  border-left: 6px solid var(--green);
  font-family: var(--display);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--green);
}
.keys__who--pat { border-left-color: var(--gold); }
.keys__who--penny { border-left-color: var(--pink); }
.keys__group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  margin: 16px 0 0;
}
.keys__group p {
  margin: 0 0 0 4px;
  font-size: 0.95rem;
  line-height: 1.35;
}
.keys__group small {
  color: rgba(46, 32, 24, 0.7);
}
.keys__arrows {
  display: grid;
  grid-template-columns: repeat(3, 40px);
  gap: 4px;
}
.keys__arrows kbd:nth-child(1) { grid-area: 1 / 2; }
.keys__arrows kbd:nth-child(2) { grid-area: 2 / 1; }
.keys__arrows kbd:nth-child(3) { grid-area: 2 / 2; }
.keys__arrows kbd:nth-child(4) { grid-area: 2 / 3; }
kbd {
  display: inline-grid;
  place-items: center;
  min-width: 40px;
  height: 40px;
  padding: 0 8px;
  border: 2px solid var(--gold-d);
  border-bottom-width: 5px;
  border-radius: 6px;
  background: var(--stout);
  color: var(--gold-l);
  font-family: var(--pixel);
  font-size: 10px;
  cursor: pointer;
  user-select: none;
  transition: transform 0.06s ease, background-color 0.06s ease;
}
kbd.is-down {
  transform: translateY(3px);
  border-bottom-width: 2px;
  background: var(--green);
  color: var(--paper);
}
.kbd--space {
  min-width: 170px;
}
.kbd--wide {
  min-width: 78px;
}
.keys__pad {
  margin: 18px 0 0;
  font-size: 0.92rem;
  color: var(--ink);
}

/* ===== Bilder ===== */
.shots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.shot {
  margin: 0;
}
.shot a {
  display: block;
  overflow: hidden;
  border: 3px solid var(--gold-d);
  border-radius: 8px;
  background: var(--night);
}
.shot img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.shot a:hover img {
  transform: scale(1.04);
}
.shot figcaption {
  margin-top: 8px;
  font-family: var(--display);
  font-style: italic;
  font-weight: 700;
  color: var(--gold-l);
}
.lightbox {
  width: min(1400px, 96vw);
  max-width: none;
  padding: 0;
  border: 3px solid var(--gold);
  border-radius: 8px;
  background: var(--night);
  color: var(--paper);
}
.lightbox::backdrop {
  background: rgba(13, 8, 6, 0.88);
}
.lightbox img {
  width: 100%;
  height: auto;
  max-height: 82vh;
  object-fit: contain;
}
.lightbox__cap {
  margin: 0;
  padding: 10px 56px;
  font-family: var(--display);
  font-style: italic;
  font-weight: 700;
  text-align: center;
  color: var(--gold-l);
}
.lightbox__btn,
.lightbox__close {
  position: absolute;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  background: rgba(28, 20, 17, 0.85);
  color: var(--gold-l);
  font-size: 18px;
  cursor: pointer;
}
.lightbox__btn {
  top: 50%;
  transform: translateY(-50%);
}
.lightbox__btn--prev { left: 10px; }
.lightbox__btn--next { right: 10px; }
.lightbox__close {
  top: 10px;
  right: 10px;
}

/* ===== Abschluss ===== */
.cta {
  padding: 110px 24px 96px;
  background: radial-gradient(ellipse at 50% 120%, rgba(247, 154, 58, 0.38), transparent 60%), var(--stout);
  text-align: center;
}
.cta__seal {
  width: 170px;
  height: auto;
  margin: 0 auto 22px;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.5));
}
.cta .lead {
  margin: 0 auto 32px;
  color: rgba(243, 230, 196, 0.9);
}
.cta__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}
.cta__note {
  margin: 30px 0 0;
}
.cta__care {
  margin: 10px auto 0;
  max-width: 560px;
  font-size: 0.92rem;
  font-style: italic;
  color: rgba(243, 230, 196, 0.7);
}

/* ===== Fußzeile ===== */
.footer {
  padding: 46px 0 38px;
  border-top: 3px solid var(--gold-d);
  background: var(--night);
  text-align: center;
  font-size: 0.95rem;
}
.footer__inner {
  display: grid;
  justify-items: center;
  gap: 14px;
}
/* Das BuffyBear-Logo ist dunkel: auf ein Stück Etikettpapier setzen */
.footer__studio,
.studio__logo {
  display: block;
  padding: 10px 16px;
  border: 2px solid var(--gold-d);
  border-radius: 6px;
  background: var(--paper);
  box-shadow: 0 4px 0 var(--mahog);
  transition: transform 0.12s ease;
}
.footer__studio:hover,
.studio__logo:hover {
  transform: translateY(-3px);
}
.footer__studio img {
  width: 180px;
  height: auto;
}
.footer__credits,
.footer__small {
  margin: 0;
  color: rgba(243, 230, 196, 0.8);
}
.footer__credits a,
.footer__small a,
.footer__nav a {
  color: var(--gold-l);
}
.footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
}
.footer__small {
  font-size: 0.82rem;
}

/* ===== Hinweis, Easter Egg, Einwilligung ===== */
.toast {
  position: fixed;
  z-index: 80;
  left: 50%;
  bottom: 22px;
  width: max-content;
  max-width: min(560px, calc(100vw - 32px));
  padding: 14px 20px;
  border: 3px solid var(--green);
  border-radius: 10px;
  background: var(--paper);
  color: var(--stout);
  font-family: var(--display);
  font-weight: 700;
  text-align: center;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
  transform: translate(-50%, calc(100% + 40px));
  visibility: hidden;
  transition: transform 0.3s ease, visibility 0s linear 0.3s;
  pointer-events: none;
}
.toast.is-on {
  transform: translate(-50%, 0);
  visibility: visible;
  transition: transform 0.3s ease;
}
.twins {
  position: fixed;
  z-index: 90;
  left: 50%;
  bottom: 18vh;
  display: flex;
  gap: 6px;
  opacity: 0;
  transform: translateX(-50%);
  pointer-events: none;
}
.twins canvas {
  width: 120px;
  height: auto;
  aspect-ratio: 20 / 24;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}
.twins.is-on {
  animation: twins 1.8s ease forwards;
}
@keyframes twins {
  0% { opacity: 0; transform: translateX(-50%) scale(0.7); }
  14% { opacity: 1; transform: translateX(-50%) scale(1); }
  24% { opacity: 0.1; }
  30% { opacity: 1; }
  70% { opacity: 1; }
  100% { opacity: 0; transform: translateX(-50%) scale(1); }
}
.consent {
  position: fixed;
  z-index: 85;
  right: 16px;
  bottom: 16px;
  width: min(380px, calc(100vw - 32px));
  padding: 16px 18px;
  border: 3px solid var(--green);
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
}
.consent__text {
  margin: 0 0 12px;
  font-size: 0.92rem;
}
.consent__text a {
  color: var(--green);
}
.consent__actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}
.consent__btn {
  flex: 1;
  padding: 10px;
  border: 2px solid var(--green);
  border-radius: 6px;
  background: var(--paper-l);
  color: var(--green);
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
}

/* ===== Unterseiten (Impressum, Datenschutz) ===== */
.legal {
  background: var(--paper);
  color: var(--ink);
}
.page {
  max-width: 860px;
  margin: 0 auto;
  padding: 116px 24px 72px;
}
.page h1 {
  margin: 0 0 24px;
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(2rem, 5vw, 2.8rem);
  line-height: 1.15;
  color: var(--green);
}
.page h2 {
  margin: 36px 0 10px;
  font-family: var(--display);
  font-size: 1.3rem;
  color: var(--green);
}
.page a {
  color: var(--green);
}
.page ul {
  padding-left: 1.3em;
}
.page code {
  font-size: 0.9em;
}
.page__stand {
  margin-top: 40px;
  font-style: italic;
  color: rgba(46, 32, 24, 0.7);
}
.studio {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  margin: 0 0 30px;
  padding: 18px 22px;
  border: 2px solid var(--gold-d);
  border-radius: 10px;
  background: var(--stout);
  color: var(--paper);
}
.studio__logo img {
  width: 180px;
  height: auto;
}
.studio__kicker,
.studio__name {
  margin: 0;
}
.studio__kicker {
  font-size: 0.88rem;
  color: rgba(243, 230, 196, 0.75);
}
.studio__name {
  font-family: var(--display);
  font-style: italic;
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--gold-l);
}
.studio .studio__url {
  color: var(--gold-l);
}
.table {
  overflow-x: auto;
}
.table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}
.table th,
.table td {
  padding: 8px 10px;
  border-bottom: 1px solid var(--paper-d);
  text-align: left;
  vertical-align: top;
}
.table th {
  font-family: var(--display);
  color: var(--green);
}

/* ===== Schmale Bildschirme ===== */
@media (max-width: 1040px) {
  .topbar__menu {
    display: block;
    margin-left: auto;
  }
  .topbar__nav {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 8px 24px 16px;
    border-bottom: 2px solid var(--gold-d);
    background: rgba(28, 20, 17, 0.97);
  }
  .topbar__nav.is-open {
    display: flex;
  }
  .topbar__nav a {
    padding: 12px 0;
    border-bottom: 1px solid rgba(138, 100, 32, 0.4);
  }
  .day {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 36px;
  }
  .keys {
    grid-template-columns: 1fr 1fr;
  }
  .keys__player--extra {
    grid-column: 1 / -1;
  }
}

@media (max-width: 820px) {
  .intro,
  .taproom,
  .pub {
    grid-template-columns: 1fr;
  }
  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
  .taproom,
  .pub {
    gap: 40px;
  }
  .phone__body {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 640px) {
  :root {
    --bar-h: 96px;
  }
  body {
    font-size: 1rem;
  }
  .topbar {
    gap: 10px;
    padding: 0 16px;
  }
  .topbar__brand img {
    height: 32px;
  }
  .topbar .btn {
    margin-right: 8px;
  }
  .wrap {
    padding: 0 16px;
  }
  .section {
    padding: 72px 0;
  }
  .hero {
    padding-bottom: calc(var(--bar-h) + 130px);
  }
  .sign {
    top: 74px;
    right: 12px;
    transform-origin: 50% 0;
    scale: 0.72;
  }
  .hero__date {
    margin-top: 40px;
    font-size: 8px;
  }
  .hero__skyline {
    height: 150px;
  }
  .guest {
    right: 16px;
  }
  .guest__face {
    width: 80px;
    height: auto;
    aspect-ratio: 20 / 24;
  }
  @keyframes slide {
    0% { opacity: 1; left: 52px; }
    100% { opacity: 1; left: calc(100% - 130px); }
  }
  .bar__tap {
    left: 24px;
  }
  .bar__glass {
    left: 52px;
  }
  .bar__coin {
    right: 120px;
  }
  .day {
    grid-template-columns: 1fr;
    row-gap: 0;
  }
  .day__step {
    padding: 0 0 26px 30px;
    border-top: 0;
    border-left: 3px solid var(--gold-d);
  }
  .day__step::before {
    top: 0;
    left: -11px;
  }
  .keys {
    grid-template-columns: 1fr;
  }
  .stats li {
    padding: 14px;
  }
  .stats b {
    font-size: 2rem;
  }
  .stats span {
    font-size: 0.76rem;
  }
  .kbd--space {
    min-width: 130px;
  }
  .menu {
    padding: 22px 14px 12px;
  }
  .menu__item {
    grid-template-columns: 20px auto 1fr auto;
    gap: 2px 8px;
  }
  .member__face canvas {
    width: 100px;
    height: auto;
    aspect-ratio: 20 / 24;
  }
  .crew {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 14px;
  }
  .crew--small {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .member__say {
    max-width: 100%;
    font-size: 0.85rem;
  }
  .phone__screen {
    margin-right: 40px;
  }
  .lightbox__cap {
    padding: 10px 16px;
  }
  .lightbox__btn {
    top: auto;
    bottom: 4px;
    transform: none;
  }
}

@media (max-width: 380px) {
  .topbar__sound {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  /* was sonst nur kurz aufblitzt, bleibt stehen, bis das Skript es wegnimmt */
  .guest.is-cheering .guest__bubble,
  .bar__coin.is-on,
  .twins.is-on {
    animation: none !important;
    opacity: 1;
  }
  .guest.is-cheering .guest__bubble {
    transform: translateX(-60%);
  }
  .bar__coin.is-on {
    transform: translateY(-4px);
  }
  .sign {
    animation: none !important;
  }
}
