/* ============================================================
   COCO LOUNGE BAR — Design System
   Palette: Onyx / Anthrazit / Gold / Cremeweiß
   ============================================================ */

:root {
  --onyx: #08080a;
  --ink: #0d0d10;
  --ink-2: #131318;
  --ink-3: #181820;
  --line: #26262e;
  --line-soft: #1e1e26;
  /* Kupferbraun-Palette (Marke). Basis ist der Kundenton #955B3C.
     Die Variablennamen "gold" bleiben aus Kompatibilitätsgründen bestehen. */
  --gold: #955b3c;      /* Basis: Flächen, Buttons, grosse Schrift */
  --gold-2: #b0764f;    /* heller: kleine Schrift/Links (5.3:1 auf Onyx) */
  --gold-3: #6e4128;    /* dunkler: Rahmen, Trennlinien */
  --cream: #f5f0e4;
  --cream-2: #ddd7c9;
  --muted: #8e8a80;
  --muted-2: #6b675f;
  --ok: #4f9d69;
  --warn: #c98b27;
  --danger: #b4483f;
  --radius: 14px;
  --radius-sm: 8px;
  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --sans: 'Jost', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --tracking: 0.22em;
  --shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.85);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--onyx);
  color: var(--cream-2);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: var(--gold-2);
  text-decoration: none;
  transition: color 0.3s var(--ease);
}
a:hover {
  color: var(--cream);
}

h1,
h2,
h3,
h4 {
  font-family: var(--serif);
  font-weight: 300;
  color: var(--cream);
  line-height: 1.12;
  margin: 0 0 0.5em;
  letter-spacing: 0.01em;
}

h1 {
  font-size: clamp(2.4rem, 6vw, 4.6rem);
}
h2 {
  font-size: clamp(1.9rem, 4vw, 3.1rem);
}
h3 {
  font-size: clamp(1.25rem, 2vw, 1.6rem);
}

p {
  margin: 0 0 1em;
}

::selection {
  background: var(--gold);
  color: #0b0b0d;
}

/* ---------- Utility ---------- */

.wrap {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}
.wrap--narrow {
  max-width: 820px;
}
.section {
  padding: clamp(64px, 9vw, 130px) 0;
  position: relative;
}
.section--tight {
  padding: clamp(44px, 6vw, 80px) 0;
}
.section--dark {
  background: var(--ink);
}
.section--darker {
  background: linear-gradient(180deg, var(--onyx), var(--ink) 60%);
}
.section--edge {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: var(--tracking);
  text-transform: uppercase;
  /* Kleine Schrift: hellerer Kupferton fuer WCAG AA (5.3:1 statt 3.7:1) */
  color: var(--gold-2);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: '';
  display: inline-block;
  width: 26px;
  height: 1px;
  background: var(--gold-3);
  vertical-align: middle;
  margin-right: 12px;
}

.lead {
  font-size: clamp(1.02rem, 1.4vw, 1.16rem);
  color: var(--cream-2);
  max-width: 62ch;
}
.muted {
  color: var(--muted);
}
.small {
  font-size: 0.84rem;
}
.center {
  text-align: center;
}
.center .lead,
.center .eyebrow {
  margin-left: auto;
  margin-right: auto;
}
.gold {
  color: var(--gold-2);
}
.serif {
  font-family: var(--serif);
}
.hairline {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin: 26px 0;
}

/* ---------- Buttons ---------- */

.btn {
  --btn-bg: var(--gold);
  --btn-fg: #0a0a0c;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid var(--btn-bg);
  border-radius: 4px;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.35s var(--ease), background 0.35s, color 0.35s, box-shadow 0.35s;
  white-space: nowrap;
}
.btn:hover {
  transform: translateY(-2px);
  background: var(--gold-2);
  border-color: var(--gold-2);
  color: #08080a;
  box-shadow: 0 14px 32px -12px rgba(149, 91, 60, 0.6);
}
.btn:active {
  transform: translateY(0);
}
.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--cream);
  border-color: rgba(245, 240, 228, 0.32);
}
.btn--ghost:hover {
  background: rgba(245, 240, 228, 0.07);
  border-color: var(--cream);
  color: var(--cream);
  box-shadow: none;
}
.btn--sm {
  padding: 10px 18px;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
}
.btn--block {
  width: 100%;
}
.btn[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none !important;
}
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ---------- Header / Nav ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 90;
  padding: 20px 0;
  transition: background 0.5s var(--ease), padding 0.4s var(--ease), border-color 0.4s;
  border-bottom: 1px solid transparent;
}
.site-header.is-solid {
  background: rgba(8, 8, 10, 0.9);
  backdrop-filter: blur(18px) saturate(150%);
  border-bottom-color: var(--line-soft);
  padding: 12px 0;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--cream);
}
.brand:hover {
  color: var(--cream);
}
.brand-mark {
  width: 38px;
  height: 38px;
  border: 1px solid var(--gold-3);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--gold-2);
  letter-spacing: 0.02em;
  background: radial-gradient(circle at 30% 25%, rgba(149, 91, 60, 0.16), transparent 70%);
  flex: 0 0 auto;
}
.brand-name {
  font-family: var(--serif);
  font-size: 1.06rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.2;
}
.brand-sub {
  display: block;
  font-family: var(--sans);
  font-size: 0.55rem;
  letter-spacing: 0.3em;
  color: var(--muted);
  text-transform: uppercase;
  margin-top: 2px;
}
.brand-logo {
  display: block;
  height: 44px;
  width: auto;
  max-width: 190px;
  object-fit: contain;
  object-position: left center;
}
.brand-logo--sm {
  height: 34px;
  max-width: 150px;
}
.admin-brand .brand-logo {
  height: 38px;
  max-width: 160px;
}
.site-footer .brand-logo {
  height: 46px;
}
@media (max-width: 900px) {
  .brand-logo {
    height: 36px;
    max-width: 156px;
  }
}
@media (max-width: 420px) {
  .brand-logo {
    height: 30px;
    max-width: 130px;
  }
}

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav a:not(.btn) {
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cream-2);
  position: relative;
  padding: 6px 0;
}
.nav a:not(.btn)::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 0;
  background: var(--gold);
  transition: width 0.4s var(--ease);
}
.nav a:not(.btn):hover::after,
.nav a.is-active::after {
  width: 100%;
}
.nav a.is-active {
  color: var(--gold-2);
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  color: var(--muted-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 4px;
}
.lang-switch a {
  padding: 3px 9px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 500;
}
.lang-switch a.is-on {
  background: rgba(149, 91, 60, 0.14);
  color: var(--gold-2);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  background: none;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--cream);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: currentColor;
  position: relative;
  transition: transform 0.3s;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 18px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.3s, top 0.3s;
}
.nav-toggle span::before {
  top: -6px;
}
.nav-toggle span::after {
  top: 6px;
}

/* Mobile drawer */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(8, 8, 10, 0.98);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  padding: 26px 24px 40px;
  transform: translateY(-100%);
  transition: transform 0.5s var(--ease);
  overflow-y: auto;
}
.mobile-nav.is-open {
  transform: translateY(0);
}
.mobile-nav-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 34px;
}
.mobile-nav-close {
  background: none;
  border: 1px solid var(--line);
  color: var(--cream);
  width: 44px;
  height: 44px;
  border-radius: 6px;
  font-size: 1.3rem;
  cursor: pointer;
  line-height: 1;
}
.mobile-nav a:not(.btn) {
  font-family: var(--serif);
  font-size: 1.75rem;
  color: var(--cream);
  padding: 12px 0;
  border-bottom: 1px solid var(--line-soft);
}
.mobile-nav .btn {
  margin-top: 28px;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  padding: 130px 0 90px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(1200px 620px at 50% 8%, rgba(149, 91, 60, 0.22), transparent 62%),
    radial-gradient(900px 520px at 84% 78%, rgba(150, 106, 32, 0.13), transparent 68%),
    radial-gradient(760px 460px at 12% 62%, rgba(70, 60, 92, 0.22), transparent 70%),
    linear-gradient(178deg, #101014 0%, #08080a 52%, #0c0b09 100%);
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(245, 240, 228, 0.055) 1px, transparent 1px);
  background-size: 3px 3px;
  opacity: 0.45;
  mask-image: radial-gradient(circle at 50% 40%, black, transparent 78%);
}
.hero-slides {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 2.2s var(--ease);
  transform: scale(1.06);
}
.hero-slide.is-on {
  opacity: 0.5;
  animation: heroDrift 18s ease-out forwards;
}
@keyframes heroDrift {
  from {
    transform: scale(1.06);
  }
  to {
    transform: scale(1.14);
  }
}
.hero-veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(8, 8, 10, 0.55) 0%, rgba(8, 8, 10, 0.42) 42%, var(--onyx) 99%);
}

.hero-inner {
  text-align: center;
  /* 1180px, damit "COCO LOUNGE BAR" in EINER Zeile Platz hat.
     Gemessen mit Cormorant Garamond 300: das Wort braucht
     10,07 em Breite (inkl. Sperrung). Bei 980px Innenbreite hätte
     der Titel umbrechen müssen. */
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}
.hero-eyebrow {
  font-size: 0.66rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold-2);
  margin-bottom: 26px;
  opacity: 0;
  animation: riseIn 1.1s var(--ease) 0.15s forwards;
}
.hero-title {
  /* Staffelung so gewählt, dass der Titel auf jeder Breite einzeilig
     bleibt (schmalste Stelle: 320px → 26px Schrift, 258px Bedarf bei
     272px Platz). Untergrenze 1.5rem statt 2.7rem, sonst bricht
     "COCO LOUNGE BAR" auf kleinen Handys um. */
  font-size: clamp(1.5rem, 8.2vw, 6.1rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 22px;
  color: var(--cream);
  text-shadow: 0 20px 70px rgba(0, 0, 0, 0.6);
  opacity: 0;
  animation: riseIn 1.2s var(--ease) 0.3s forwards;
}
.hero-title .thin {
  display: block;
  font-size: 0.34em;
  letter-spacing: 0.34em;
  color: var(--gold-2);
  margin-top: 16px;
  font-style: italic;
  text-transform: none;
  font-family: var(--serif);
}
.hero-tag {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.1rem, 2.4vw, 1.7rem);
  color: var(--cream-2);
  margin: 0 0 36px;
  opacity: 0;
  animation: riseIn 1.2s var(--ease) 0.5s forwards;
}
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: riseIn 1.2s var(--ease) 0.7s forwards;
}
@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 30px;
  display: flex;
  justify-content: center;
  gap: 34px;
  flex-wrap: wrap;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero-meta span::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold-3);
}
.scroll-hint {
  position: absolute;
  bottom: 92px;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 52px;
  background: linear-gradient(180deg, transparent, var(--gold-3));
  animation: scrollPulse 2.4s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%,
  100% {
    opacity: 0.25;
    transform: translateX(-50%) scaleY(0.6);
  }
  50% {
    opacity: 1;
    transform: translateX(-50%) scaleY(1);
  }
}

/* ---------- Reveal animation ---------- */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.95s var(--ease), transform 0.95s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}
.reveal.d1 {
  transition-delay: 0.1s;
}
.reveal.d2 {
  transition-delay: 0.2s;
}
.reveal.d3 {
  transition-delay: 0.3s;
}
.reveal.d4 {
  transition-delay: 0.4s;
}
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .hero-eyebrow,
  .hero-title,
  .hero-tag,
  .hero-actions {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
  html {
    scroll-behavior: auto;
  }
}

/* ---------- Cards / grids ---------- */

.grid {
  display: grid;
  gap: 26px;
}
.grid--2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.grid--3 {
  grid-template-columns: repeat(auto-fit, minmax(272px, 1fr));
}
.grid--4 {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card {
  background: linear-gradient(160deg, var(--ink-2), var(--ink));
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 30px 28px;
  transition: transform 0.5s var(--ease), border-color 0.5s, box-shadow 0.5s;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(149, 91, 60, 0.5), transparent);
  opacity: 0;
  transition: opacity 0.5s;
}
.card:hover {
  transform: translateY(-5px);
  border-color: rgba(149, 91, 60, 0.3);
  box-shadow: var(--shadow);
}
.card:hover::before {
  opacity: 1;
}
.card h3 {
  margin-bottom: 10px;
}
.card p:last-child {
  margin-bottom: 0;
}
.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(149, 91, 60, 0.3);
  color: var(--gold-2);
  margin-bottom: 20px;
  font-size: 1.05rem;
  background: rgba(149, 91, 60, 0.06);
}

/* ---------- Split / feature ---------- */

.split {
  display: grid;
  gap: clamp(34px, 5vw, 76px);
  align-items: center;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}
.media-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 4 / 5;
  background:
    radial-gradient(circle at 30% 20%, rgba(149, 91, 60, 0.26), transparent 58%),
    linear-gradient(150deg, #1a1820, #0b0b0d 70%);
}
.media-frame--wide {
  aspect-ratio: 16 / 10;
}
.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease);
}
.media-frame:hover img {
  transform: scale(1.04);
}
.media-badge {
  position: absolute;
  left: 20px;
  bottom: 20px;
  background: rgba(8, 8, 10, 0.74);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(149, 91, 60, 0.3);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-2);
}

/* ---------- Menu (Speisekarte) ---------- */

.menu-tabs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 6px 0 18px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.menu-tabs::-webkit-scrollbar {
  display: none;
}
.menu-tab {
  flex: 0 0 auto;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--cream-2);
  padding: 10px 20px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.35s var(--ease);
  white-space: nowrap;
}
.menu-tab:hover {
  border-color: var(--gold-3);
  color: var(--cream);
}
.menu-tab.is-on {
  background: var(--gold);
  border-color: var(--gold);
  color: #0a0a0c;
  font-weight: 600;
}

.menu-list {
  display: grid;
  gap: 4px;
}
.menu-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 24px;
  padding: 20px 4px;
  border-bottom: 1px solid var(--line-soft);
  transition: background 0.3s;
  align-items: baseline;
}
.menu-item:hover {
  background: rgba(149, 91, 60, 0.035);
}
.menu-item-name {
  font-family: var(--serif);
  font-size: 1.22rem;
  color: var(--cream);
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.menu-item-price {
  font-family: var(--serif);
  font-size: 1.16rem;
  color: var(--gold-2);
  white-space: nowrap;
  letter-spacing: 0.02em;
}
.menu-item-desc {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0;
  max-width: 68ch;
}
.menu-item-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.tag {
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 3px;
  border: 1px solid rgba(149, 91, 60, 0.3);
  color: var(--gold-2);
  background: rgba(149, 91, 60, 0.06);
}
.tag--muted {
  border-color: var(--line);
  color: var(--muted);
  background: none;
}

.menu-empty {
  padding: 44px 24px;
  text-align: center;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  font-style: italic;
  font-family: var(--serif);
  font-size: 1.1rem;
}

/* ---------- Gallery ---------- */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}
.gallery-tile {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--ink-2);
  border: 1px solid var(--line-soft);
  cursor: pointer;
  padding: 0;
  display: block;
  width: 100%;
}
.gallery-tile:nth-child(6n + 1),
.gallery-tile:nth-child(6n + 5) {
  grid-column: span 2;
  aspect-ratio: 2 / 1;
}
@media (max-width: 700px) {
  .gallery-tile:nth-child(6n + 1),
  .gallery-tile:nth-child(6n + 5) {
    grid-column: span 1;
    aspect-ratio: 1;
  }
}
.gallery-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease), filter 0.5s;
  filter: saturate(0.92) brightness(0.92);
}
.gallery-tile:hover img {
  transform: scale(1.06);
  filter: saturate(1.05) brightness(1);
}
.gallery-tile-cap {
  position: absolute;
  inset: auto 0 0 0;
  padding: 30px 18px 16px;
  background: linear-gradient(transparent, rgba(8, 8, 10, 0.9));
  text-align: left;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream-2);
  opacity: 0;
  transition: opacity 0.4s;
}
.gallery-tile:hover .gallery-tile-cap {
  opacity: 1;
}
.gallery-tile--video::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 54px;
  height: 54px;
  margin: -27px 0 0 -27px;
  border-radius: 50%;
  border: 1px solid rgba(245, 240, 228, 0.65);
  background: rgba(8, 8, 10, 0.45);
  backdrop-filter: blur(4px);
}
.gallery-tile--video::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  margin: -7px 0 0 -4px;
  border-left: 12px solid var(--cream);
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(4, 4, 6, 0.96);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  touch-action: pan-y;
}
.lightbox.is-open {
  display: flex;
}
.lightbox img,
.lightbox video,
.lightbox iframe {
  max-width: 92vw;
  max-height: 86vh;
  border-radius: 8px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(20, 20, 26, 0.85);
  border: 1px solid var(--line);
  color: var(--cream);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(20, 20, 26, 0.85);
  border: 1px solid var(--line);
  color: var(--cream);
  font-size: 1.3rem;
  cursor: pointer;
}
.lightbox-prev {
  left: 16px;
}
.lightbox-next {
  right: 16px;
}
.lightbox-count {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: var(--muted);
}

/* ---------- Instagram ---------- */

.insta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}
.insta-tile {
  position: relative;
  /* Quadratisches Raster: die Motive sind gemischt (4:5, 3:2, 1:1),
     so wird keines der Bilder stark angeschnitten. */
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  background: linear-gradient(160deg, #1b1922, #0c0c0f);
  display: grid;
  place-items: center;
  transition: transform 0.5s var(--ease), border-color 0.4s;
}
.insta-tile:hover {
  transform: translateY(-4px);
  border-color: rgba(149, 91, 60, 0.4);
}
.insta-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.insta-tile-ico {
  color: var(--gold-2);
  font-size: 1.5rem;
  opacity: 0.85;
}

/* ---------- Hours ---------- */

.hours-table {
  width: 100%;
  border-collapse: collapse;
}
.hours-table tr {
  border-bottom: 1px solid var(--line-soft);
}
.hours-table tr:last-child {
  border-bottom: 0;
}
.hours-table td,
.hours-table th {
  padding: 13px 2px;
  text-align: left;
  font-size: 0.94rem;
}
.hours-table td:last-child,
.hours-table th:last-child {
  text-align: right;
  font-variant-numeric: tabular-nums;
  color: var(--cream);
}
.hours-table tr.is-today td {
  color: var(--gold-2);
}
.hours-table tr.is-today td:first-child::after {
  content: ' · heute';
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.8;
}
.hours-table tr.is-closed td:last-child {
  color: var(--muted-2);
}

/* ---------- Contact ---------- */

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 20px;
}
.contact-list li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 16px;
  align-items: start;
}
.contact-ico {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--gold-2);
  font-size: 0.9rem;
}
.contact-label {
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 3px;
}
.contact-value {
  color: var(--cream);
  font-size: 1rem;
}
.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 320px;
  background: var(--ink-2);
  position: relative;
}
.map-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: 0;
  display: block;
  filter: grayscale(0.55) contrast(1.05);
}
.map-placeholder {
  min-height: 320px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 30px;
  color: var(--muted);
  font-size: 0.9rem;
  background-image: radial-gradient(rgba(245, 240, 228, 0.05) 1px, transparent 1px);
  background-size: 22px 22px;
}

/* ---------- Forms ---------- */

.field {
  display: block;
  margin-bottom: 18px;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
@media (max-width: 560px) {
  .field-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}
.label {
  display: block;
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.label .req {
  color: var(--gold);
  margin-left: 3px;
}
.input,
.select,
.textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.028);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 1rem;
  padding: 14px 16px;
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
  appearance: none;
}
.input::placeholder,
.textarea::placeholder {
  color: var(--muted-2);
}
.input:focus,
.select:focus,
.textarea:focus {
  outline: none;
  border-color: var(--gold-3);
  background: rgba(255, 255, 255, 0.045);
  box-shadow: 0 0 0 3px rgba(149, 91, 60, 0.12);
}
.textarea {
  min-height: 110px;
  resize: vertical;
}
.select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238e8a80' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 42px;
  cursor: pointer;
}
.select option {
  background: #131318;
  color: var(--cream);
}
.check {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 12px;
  align-items: start;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.6;
  cursor: pointer;
  margin-bottom: 22px;
}
.check input {
  appearance: none;
  width: 20px;
  height: 20px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  position: relative;
  margin: 0;
  transition: all 0.25s;
}
.check input:checked {
  background: var(--gold);
  border-color: var(--gold);
}
.check input:checked::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid #0a0a0c;
  border-width: 0 2px 2px 0;
  transform: rotate(42deg);
}
.check a {
  color: var(--gold-2);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-panel {
  background: linear-gradient(165deg, var(--ink-2), var(--ink) 75%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 46px);
  box-shadow: var(--shadow);
  position: relative;
}
.form-panel::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(149, 91, 60, 0.55), transparent);
}

.alert {
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 0.88rem;
  margin-bottom: 20px;
  border: 1px solid;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.alert--error {
  border-color: rgba(180, 72, 63, 0.5);
  background: rgba(180, 72, 63, 0.1);
  color: #eab5b0;
}
.alert--ok {
  border-color: rgba(79, 157, 105, 0.5);
  background: rgba(79, 157, 105, 0.1);
  color: #b6e0c4;
}
.alert--warn {
  border-color: rgba(201, 139, 39, 0.45);
  background: rgba(201, 139, 39, 0.09);
  color: #d9a882;
}
.alert--info {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.025);
  color: var(--muted);
}

/* Slot picker */
.slots {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 4px;
}
.slot {
  padding: 11px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
  color: var(--cream-2);
  font-family: var(--sans);
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  font-variant-numeric: tabular-nums;
}
.slot:hover:not([disabled]) {
  border-color: var(--gold-3);
  color: var(--cream);
}
.slot.is-on {
  background: var(--gold);
  border-color: var(--gold);
  color: #0a0a0c;
  font-weight: 600;
}
.slot[disabled] {
  opacity: 0.32;
  cursor: not-allowed;
  text-decoration: line-through;
}
.slot-note {
  font-size: 0.76rem;
  color: var(--muted);
  margin-top: 10px;
}

/* ---------- Sticky mobile CTA ---------- */

.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  display: none;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(8, 8, 10, 0.94);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--line);
}
.sticky-cta .btn {
  width: 100%;
  padding: 15px;
  font-size: 0.8rem;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--onyx);
  border-top: 1px solid var(--line-soft);
  padding: clamp(50px, 7vw, 84px) 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 40px;
}
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}
@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
.footer-title {
  font-size: 0.64rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-2);
  margin-bottom: 18px;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 11px;
}
.footer-links a,
.footer-links span {
  color: var(--muted);
  font-size: 0.9rem;
}
.footer-links a:hover {
  color: var(--cream);
}
.footer-bottom {
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.76rem;
  color: var(--muted-2);
}
.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}
.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--cream-2);
  transition: all 0.3s;
}
.footer-social a:hover {
  border-color: var(--gold-3);
  color: var(--gold-2);
  transform: translateY(-2px);
}

/* ---------- Cookie note ---------- */

.cookie-note {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 85;
  max-width: 620px;
  margin: 0 auto;
  background: rgba(19, 19, 24, 0.97);
  backdrop-filter: blur(16px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
  box-shadow: var(--shadow);
  display: none;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}
.cookie-note.is-open {
  display: flex;
}
.cookie-note p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
  flex: 1 1 260px;
}

/* ---------- Page hero (subpages) ---------- */

.page-hero {
  padding: clamp(120px, 16vw, 190px) 0 clamp(44px, 6vw, 76px);
  position: relative;
  background:
    radial-gradient(900px 420px at 50% 0%, rgba(149, 91, 60, 0.16), transparent 66%),
    linear-gradient(180deg, #111114, var(--onyx));
  border-bottom: 1px solid var(--line-soft);
  text-align: center;
}
.page-hero h1 {
  margin-bottom: 14px;
}
.page-hero p {
  max-width: 62ch;
  margin: 0 auto;
  color: var(--muted);
}

.breadcrumb {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 18px;
}
.breadcrumb a {
  color: var(--muted);
}

/* ---------- Legal prose ---------- */

.prose {
  max-width: 76ch;
}
.prose h2 {
  font-size: 1.5rem;
  margin-top: 44px;
  color: var(--cream);
}
.prose h3 {
  font-size: 1.14rem;
  margin-top: 30px;
  color: var(--cream);
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: 0.01em;
}
.prose p,
.prose li {
  color: var(--cream-2);
  font-size: 0.95rem;
}
.prose ul {
  padding-left: 20px;
}
.prose li {
  margin-bottom: 7px;
}
.prose a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.placeholder-inline {
  background: rgba(149, 91, 60, 0.1);
  border-bottom: 1px dashed var(--gold-3);
  color: var(--gold-2);
  padding: 0 4px;
  border-radius: 3px;
  font-size: 0.92em;
}

/* ---------- Events / reviews ---------- */

.event-card {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 22px;
  padding: 24px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--ink-2), var(--ink));
  transition: border-color 0.4s, transform 0.4s var(--ease);
}
.event-card:hover {
  border-color: rgba(149, 91, 60, 0.32);
  transform: translateY(-3px);
}
.event-date {
  text-align: center;
  border-right: 1px solid var(--line);
  padding-right: 18px;
}
.event-day {
  font-family: var(--serif);
  font-size: 2.1rem;
  color: var(--gold-2);
  line-height: 1;
}
.event-mon {
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 6px;
}
.review-card {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 26px;
  background: var(--ink-2);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.stars {
  color: var(--gold);
  letter-spacing: 3px;
  font-size: 0.86rem;
}
.review-text {
  font-family: var(--serif);
  font-size: 1.06rem;
  font-style: italic;
  color: var(--cream-2);
  margin: 0;
  line-height: 1.7;
}
.review-author {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: auto;
}

/* ---------- Announcement bar ---------- */

.announce {
  background: linear-gradient(90deg, var(--gold-3), var(--gold), var(--gold-3));
  color: #0a0a0c;
  text-align: center;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  padding: 9px 16px;
  position: relative;
  z-index: 95;
}

/* ---------- Auth / admin ---------- */

.auth-shell {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 40px 20px;
  background:
    radial-gradient(800px 400px at 50% 0%, rgba(149, 91, 60, 0.13), transparent 65%),
    var(--onyx);
}
.auth-card {
  width: 100%;
  max-width: 420px;
  background: linear-gradient(165deg, var(--ink-2), var(--ink));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px 34px;
  box-shadow: var(--shadow);
}

.admin-shell {
  display: grid;
  grid-template-columns: 248px 1fr;
  min-height: 100svh;
}
.admin-side {
  background: var(--ink);
  border-right: 1px solid var(--line-soft);
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: sticky;
  top: 0;
  height: 100svh;
  overflow-y: auto;
}
.admin-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 10px 20px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--line-soft);
}
.admin-nav-link {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  color: var(--muted);
  font-size: 0.86rem;
  transition: all 0.25s;
  border: 1px solid transparent;
}
.admin-nav-link:hover {
  background: rgba(255, 255, 255, 0.03);
  color: var(--cream);
}
.admin-nav-link.is-on {
  background: rgba(149, 91, 60, 0.1);
  border-color: rgba(149, 91, 60, 0.24);
  color: var(--gold-2);
}
.admin-nav-link .ico {
  width: 18px;
  text-align: center;
  font-size: 0.9rem;
}
.admin-main {
  padding: 26px clamp(18px, 3vw, 40px) 60px;
  min-width: 0;
  background: var(--onyx);
}
.admin-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}
.admin-top h1 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  margin: 0;
}
.admin-sub {
  color: var(--muted);
  font-size: 0.86rem;
  margin: 4px 0 0;
}
.admin-toggle {
  display: none;
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(158px, 1fr));
  gap: 14px;
  margin-bottom: 30px;
}
.stat {
  background: linear-gradient(160deg, var(--ink-2), var(--ink));
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  padding: 18px 18px 16px;
  position: relative;
  overflow: hidden;
}
.stat::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gold-3);
  opacity: 0.5;
}
.stat-label {
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
  line-height: 1.4;
}
.stat-value {
  font-family: var(--serif);
  font-size: 1.9rem;
  color: var(--cream);
  line-height: 1;
}
.stat-value.gold {
  color: var(--gold-2);
}

.panel {
  background: var(--ink);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  margin-bottom: 24px;
  overflow: hidden;
}
.panel-head {
  padding: 16px 20px;
  border-bottom: 1px solid var(--line-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.panel-head h2,
.panel-head h3 {
  margin: 0;
  font-size: 1.04rem;
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: 0.02em;
}
.panel-body {
  padding: 20px;
}
.panel-body--flush {
  padding: 0;
}

.table-wrap {
  overflow-x: auto;
}
.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.86rem;
  min-width: 720px;
}
.table th {
  text-align: left;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.018);
  white-space: nowrap;
}
.table td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: middle;
  color: var(--cream-2);
}
.table tbody tr:hover {
  background: rgba(255, 255, 255, 0.02);
}
.table tbody tr:last-child td {
  border-bottom: 0;
}
.table .mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  color: var(--gold-2);
}
.table .nowrap {
  white-space: nowrap;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid;
  white-space: nowrap;
}
.badge::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}
.badge--pending {
  color: #b0764f;
  border-color: rgba(176, 118, 79, 0.4);
  background: rgba(176, 118, 79, 0.09);
}
.badge--confirmed {
  color: #6fc48c;
  border-color: rgba(111, 196, 140, 0.4);
  background: rgba(111, 196, 140, 0.09);
}
.badge--cancelled {
  color: #a9a49a;
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.03);
}
.badge--declined {
  color: #d98a83;
  border-color: rgba(217, 138, 131, 0.4);
  background: rgba(217, 138, 131, 0.09);
}

.btn-row-sm {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.icon-btn {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--cream-2);
  cursor: pointer;
  font-size: 0.78rem;
  display: grid;
  place-items: center;
  transition: all 0.25s;
  padding: 0;
}
.icon-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--gold-3);
  color: var(--gold-2);
}
.icon-btn--danger:hover {
  border-color: var(--danger);
  color: #e5a9a4;
  background: rgba(180, 72, 63, 0.12);
}

.filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: flex-end;
}
.filters .field {
  margin-bottom: 0;
}
.filters .input,
.filters .select {
  padding: 9px 13px;
  font-size: 0.86rem;
}

.empty {
  padding: 44px 20px;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}

.toast {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 300;
  background: rgba(19, 19, 24, 0.98);
  border: 1px solid rgba(111, 196, 140, 0.45);
  color: #b6e0c4;
  padding: 13px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.86rem;
  box-shadow: var(--shadow);
  animation: toastIn 0.4s var(--ease);
}
.toast--error {
  border-color: rgba(180, 72, 63, 0.5);
  color: #eab5b0;
}
@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
}

/* Admin modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 210;
  background: rgba(4, 4, 6, 0.8);
  backdrop-filter: blur(6px);
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 30px 16px;
  overflow-y: auto;
}
.modal.is-open {
  display: flex;
}
.modal-card {
  width: 100%;
  max-width: 620px;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin: auto;
}
.modal-head {
  padding: 18px 22px;
  border-bottom: 1px solid var(--line-soft);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.modal-head h3 {
  margin: 0;
  font-size: 1.1rem;
  font-family: var(--sans);
  font-weight: 500;
}
.modal-body {
  padding: 22px;
}
.modal-close {
  background: none;
  border: 0;
  color: var(--muted);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .nav {
    gap: 20px;
  }
  .nav a:not(.btn) {
    font-size: 0.68rem;
  }
}

@media (max-width: 900px) {
  .nav {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
  .site-header .brand-sub {
    display: none;
  }
  .sticky-cta {
    display: block;
  }
  body.has-sticky-cta {
    padding-bottom: 76px;
  }
  .scroll-hint {
    display: none;
  }
  .admin-shell {
    grid-template-columns: 1fr;
  }
  .admin-side {
    position: fixed;
    inset: 0 auto 0 0;
    width: 264px;
    z-index: 200;
    transform: translateX(-100%);
    transition: transform 0.4s var(--ease);
    box-shadow: var(--shadow);
  }
  .admin-side.is-open {
    transform: none;
  }
  .admin-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--ink-2);
    border: 1px solid var(--line);
    color: var(--cream);
    border-radius: 6px;
    padding: 9px 14px;
    font-size: 0.8rem;
    cursor: pointer;
  }
  .admin-main {
    padding-top: 18px;
  }
}

@media (max-width: 640px) {
  .wrap {
    padding: 0 18px;
  }
  .hero {
    min-height: 92svh;
    padding-top: 110px;
  }
  .hero-actions .btn,
  .btn-row .btn {
    width: 100%;
  }
  .btn-row {
    gap: 10px;
  }
  .hero-meta {
    gap: 18px;
    font-size: 0.6rem;
    bottom: 22px;
  }
  .event-card {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .event-date {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 0 0 12px;
    display: flex;
    align-items: baseline;
    gap: 10px;
  }
  .event-day {
    font-size: 1.6rem;
  }
  .event-mon {
    margin-top: 0;
  }
  .menu-item {
    padding: 16px 2px;
  }
  .menu-item-name {
    font-size: 1.08rem;
  }
  .cookie-note {
    bottom: 84px;
  }
  .footer-bottom {
    justify-content: flex-start;
  }
  .admin-main {
    padding: 16px 14px 80px;
  }
  .table {
    min-width: 640px;
  }
}

/* ---------------------------------------------------------------
   Popup-Flyer (erscheint beim Seitenaufruf, blendet nach N Sek. aus)
   z-index 400 liegt über Lightbox (200), Modal (210) und Toast (300).
   --------------------------------------------------------------- */

.popup {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(4, 4, 6, 0.84);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.45s var(--ease), visibility 0.45s var(--ease);
}
.popup.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Quadratisch gehalten, damit die Prozent-Position des Schließen-Buttons
   exakt auf dem im Flyer gedruckten X sitzt. */
.popup-inner {
  position: relative;
  width: min(560px, 100%, calc(100vh - 40px));
  width: min(560px, 100%, calc(100dvh - 40px));
  aspect-ratio: 1 / 1;
  transform: scale(0.94);
  transition: transform 0.5s var(--ease);
}
.popup.is-open .popup-inner {
  transform: scale(1);
}

/* picture/a müssen die volle Höhe bekommen, sonst kollabiert das Bild:
   <picture> ist ein Inline-Element ohne eigene Höhe. */
.popup picture,
.popup a {
  display: block;
  width: 100%;
  height: 100%;
}

.popup img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.65);
}

/* Unsichtbare Klickfläche genau über dem gedruckten X.
   Gemessen im Flyer: Mittelpunkt right 5,86 % / top 6,40 %, Ø 4,79 %.
   left/top mit translate(-50%,-50%) hält den Mittelpunkt unabhängig von
   der Button-Größe exakt auf dem gedruckten X. */
.popup-close {
  position: absolute;
  left: 94.14%;
  top: 6.4%;
  transform: translate(-50%, -50%);
  width: 10%;
  min-width: 44px;
  min-height: 44px;
  aspect-ratio: 1 / 1;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: transparent;
  font-size: 0;
  cursor: pointer;
  transition: background 0.25s, box-shadow 0.25s;
}
.popup-close:hover,
.popup-close:focus-visible {
  background: rgba(0, 0, 0, 0.22);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.6);
  outline: none;
}

/* Fortschrittsbalken zeigt, dass das Popup von selbst verschwindet. */
.popup-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  border-radius: 0 0 14px 14px;
  background: rgba(255, 255, 255, 0.14);
  overflow: hidden;
}
.popup-progress > span {
  display: block;
  height: 100%;
  background: var(--gold-2);
  transform-origin: left center;
  /* Animation erst starten, wenn das Popup wirklich sichtbar ist –
     sonst wäre der Balken beim Öffnen schon halb abgelaufen. */
  transform: scaleX(0);
}
.popup.is-open .popup-progress > span {
  animation: popupCountdown var(--popup-ms, 7000ms) linear forwards;
}
@keyframes popupCountdown {
  from {
    transform: scaleX(1);
  }
  to {
    transform: scaleX(0);
  }
}

body.has-popup {
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  .popup,
  .popup-inner {
    transition: opacity 0.2s linear;
  }
  .popup-inner {
    transform: none;
  }
  .popup.is-open .popup-inner {
    transform: none;
  }
  .popup-progress > span {
    animation-duration: var(--popup-ms, 7000ms);
  }
}

@media (max-width: 520px) {
  .popup {
    padding: 12px;
  }
  .popup-inner {
    width: min(560px, 100%, calc(100dvh - 24px));
  }
}
