/* ============================================
   BELL PONTE - Main Stylesheet
   Modern Dark + Italiano Design System
   ============================================ */

/* ---------- Design Tokens ---------- */
:root {
  /* Core palette – warm Italian trattoria */
  --color-bg-primary: #faf5ee;
  --color-bg-secondary: #f2ebe0;
  --color-bg-card: #ffffff;
  --color-bg-elevated: #fff8f0;
  --color-bg-glass: rgba(250, 245, 238, 0.92);

  /* Italian accents */
  --color-fire-red: #c0392b;
  --color-fire-red-glow: #e74c3c;
  --color-fire-red-dark: #962d22;
  --color-warm-gold: #b8860b;
  --color-warm-gold-light: #d4a843;
  --color-warm-gold-dim: #8a6d2b;
  --color-italian-green: #27ae60;
  --color-italian-green-muted: #1e8449;

  /* Text hierarchy */
  --color-text-primary: #2c1810;
  --color-text-secondary: #5a4a3a;
  --color-text-muted: #8a7e72;
  --color-text-accent: var(--color-warm-gold);

  /* Borders & Lines */
  --color-border: rgba(140, 100, 40, 0.15);
  --color-border-hover: rgba(140, 100, 40, 0.35);

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-accent: 'Playfair Display', Georgia, serif;

  /* Font sizes */
  --text-xs: clamp(0.7rem, 0.65rem + 0.25vw, 0.8rem);
  --text-sm: clamp(0.8rem, 0.75rem + 0.25vw, 0.9rem);
  --text-base: clamp(0.95rem, 0.9rem + 0.25vw, 1.05rem);
  --text-lg: clamp(1.1rem, 1rem + 0.5vw, 1.3rem);
  --text-xl: clamp(1.3rem, 1.1rem + 1vw, 1.8rem);
  --text-2xl: clamp(1.8rem, 1.4rem + 2vw, 2.8rem);
  --text-3xl: clamp(2.2rem, 1.6rem + 3vw, 4rem);
  --text-4xl: clamp(2.8rem, 2rem + 4vw, 5.5rem);
  --text-hero: clamp(3.5rem, 2.5rem + 5vw, 8rem);

  /* Spacing scale */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 2rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 10rem;

  /* Layout */
  --max-width: 1280px;
  --nav-height: 72px;
  --border-radius-sm: 6px;
  --border-radius-md: 12px;
  --border-radius-lg: 20px;
  --border-radius-xl: 32px;

  /* Animation */
  --ease-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.68, -0.55, 0.27, 1.55);
  --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
  --transition-fast: 200ms var(--ease-smooth);
  --transition-base: 400ms var(--ease-smooth);
  --transition-slow: 800ms var(--ease-out-expo);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
  --shadow-glow-gold: 0 0 20px rgba(184, 134, 11, 0.2);
  --shadow-glow-red: 0 0 20px rgba(192, 57, 43, 0.2);
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--color-text-primary);
  background-color: var(--color-bg-primary);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-warm-gold);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-warm-gold-light);
}

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

::selection {
  background: var(--color-fire-red);
  color: var(--color-text-primary);
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--color-bg-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--color-warm-gold-dim);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-warm-gold);
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  color: var(--color-text-primary);
}

h1 { font-size: var(--text-hero); }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }

.text-gradient {
  background: linear-gradient(135deg, var(--color-warm-gold-light), var(--color-fire-red-glow));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gold {
  color: var(--color-warm-gold);
}

.text-italic {
  font-style: italic;
  font-family: var(--font-accent);
}

/* ---------- Layout Utilities ---------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.section {
  padding: calc(var(--space-3xl) + 2rem) 0;
  position: relative;
}

.section-divider {
  width: 120px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-fire-red), var(--color-warm-gold), var(--color-fire-red), transparent);
  margin: var(--space-md) auto var(--space-xl);
  border-radius: 2px;
  position: relative;
}

.section-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  width: 8px;
  height: 8px;
  border: 1px solid var(--color-warm-gold);
  background: var(--color-bg-primary);
}

#speisekarte .section-divider::before,
#kontakt .section-divider::before {
  background: var(--color-bg-secondary);
}

.section-divider-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: var(--space-2xl) auto;
  max-width: 300px;
  color: var(--color-warm-gold);
  opacity: 0.5;
}

.section-divider-ornament::before,
.section-divider-ornament::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, currentColor, transparent);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
  position: relative;
}

.section-header h2 {
  margin-bottom: var(--space-sm);
}

.section-header p {
  color: var(--color-text-secondary);
  font-size: var(--text-lg);
  max-width: 600px;
  margin: 0 auto;
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  background: rgba(250, 245, 238, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(140, 100, 40, 0.08);
  transition: background var(--transition-base), backdrop-filter var(--transition-base), border-color var(--transition-base);
}

.nav.scrolled {
  background: rgba(250, 245, 238, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-text-primary);
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.nav-logo .logo-accent {
  color: #8a6508;
}

.nav-logo::after {
  content: '';
  display: block;
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-warm-gold-dim), transparent);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.nav.scrolled .nav-logo::after {
  opacity: 0.5;
}

.nav-logo {
  position: relative;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.nav-links a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  position: relative;
  padding: var(--space-xs) 0;
  transition: color var(--transition-fast);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-warm-gold);
  transition: width var(--transition-base);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-text-primary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-toggles {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.nav-toggle-btn {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--color-text-secondary);
  transition: all var(--transition-fast);
  font-size: 1.1rem;
}

.nav-toggle-btn:hover {
  color: var(--color-warm-gold);
  background: rgba(212, 168, 67, 0.1);
}

.nav-toggle-btn.active {
  color: var(--color-warm-gold);
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  height: 20px;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-text-primary);
  border-radius: 1px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Nav */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 400px;
  height: 100vh;
  background: var(--color-bg-secondary);
  z-index: 999;
  padding: calc(var(--nav-height) + var(--space-xl)) var(--space-xl) var(--space-xl);
  transition: right 0.4s var(--ease-out-expo);
  border-left: 1px solid var(--color-border);
}

.mobile-nav.open {
  right: 0;
}

.mobile-nav a {
  display: block;
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  color: var(--color-text-secondary);
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--color-border);
  transition: all var(--transition-fast);
}

.mobile-nav a:hover {
  color: var(--color-warm-gold);
  padding-left: var(--space-md);
}

.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}

.mobile-overlay.open {
  opacity: 1;
  visibility: visible;
}

/* ---------- Hero Section ---------- */
@keyframes kenBurns {
  0%   { background-position: center center; transform: scale(1); }
  50%  { background-position: center 40%; transform: scale(1.08); }
  100% { background-position: center center; transform: scale(1); }
}

#hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: url('https://images.unsplash.com/photo-1604382354936-07c5d9983bd3?w=1920&h=1080&fit=crop&q=80') center/cover no-repeat;
  animation: kenBurns 25s ease-in-out infinite;
}

#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    180deg,
    rgba(44, 24, 16, 0.55) 0%,
    rgba(44, 24, 16, 0.3) 40%,
    rgba(44, 24, 16, 0.45) 70%,
    rgba(250, 245, 238, 0.85) 100%
  );
}

#hero-canvas {
  display: none;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: var(--space-lg);
}

.hero-subtitle {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: var(--text-xl);
  color: #fff;
  text-shadow: 0 2px 16px rgba(0,0,0,0.6), 0 0 40px rgba(212,168,67,0.3);
  margin-bottom: var(--space-sm);
  opacity: 0;
  transform: translateY(20px);
}

.hero-title {
  font-size: var(--text-hero);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-md);
  opacity: 0;
  transform: translateY(30px);
  color: #fff;
  text-shadow: 0 4px 30px rgba(0,0,0,0.7), 0 0 60px rgba(0,0,0,0.3);
}

.hero-title .text-gradient {
  -webkit-text-fill-color: #f0c75e;
  background: none;
  text-shadow: 0 4px 30px rgba(0,0,0,0.7), 0 0 40px rgba(212,168,67,0.4);
}

.hero-tagline {
  font-size: var(--text-xl);
  font-style: italic;
  color: rgba(255,255,255,0.9);
  text-shadow: 0 2px 16px rgba(0,0,0,0.5);
  max-width: 700px;
  margin: 0 auto var(--space-xl);
  opacity: 0;
  transform: translateY(20px);
  letter-spacing: 0.02em;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-xl);
  background: linear-gradient(135deg, var(--color-fire-red), var(--color-fire-red-dark));
  color: #fff;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-base);
  border-radius: var(--border-radius-xl);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-glow-red);
  opacity: 0;
  transform: translateY(20px);
}

.hero-cta:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 0 40px rgba(192, 57, 43, 0.5);
  color: #fff;
}

.hero-scroll-hint {
  position: absolute;
  bottom: var(--space-xl);
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  color: rgba(255, 255, 255, 0.8);
  text-shadow: 0 1px 8px rgba(0,0,0,0.5);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  animation: scrollHintBounce 2s ease-in-out infinite;
}

@keyframes scrollHintBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

.hero-scroll-hint .scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--color-warm-gold), transparent);
}

/* Hero fallback for no-JS / low-power */
.hero-fallback {
  display: none;
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(135deg, #3a2a1a 0%, #5a3a20 50%, #3a2a1a 100%);
}

.hero-fallback::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center bottom, rgba(192, 57, 43, 0.15) 0%, transparent 70%);
}

/* ---------- Story Section (Combined) ---------- */
.story-combined {
  position: relative;
  overflow: hidden;
  background: var(--color-bg-secondary);
}

.story-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 80%, rgba(212, 168, 67, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(192, 57, 43, 0.04) 0%, transparent 50%);
  pointer-events: none;
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  margin-top: var(--space-xl);
}

.story-card {
  background: var(--color-bg-card);
  border-radius: var(--border-radius-lg);
  padding: var(--space-xl);
  text-align: center;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.story-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(212, 168, 67, 0.03) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.story-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg), 0 0 40px rgba(212, 168, 67, 0.08);
  border-color: rgba(212, 168, 67, 0.2);
}

.story-card:hover::before {
  opacity: 1;
}

.story-card-icon {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  margin: 0 auto var(--space-lg);
  overflow: hidden;
  border: 3px solid rgba(212, 168, 67, 0.15);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1), 0 0 0 6px rgba(212, 168, 67, 0.05);
  transition: all 0.4s ease;
}

.story-card:hover .story-card-icon {
  border-color: rgba(212, 168, 67, 0.35);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15), 0 0 0 8px rgba(212, 168, 67, 0.1);
  transform: scale(1.05);
}

.story-card-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.story-card:hover .story-card-icon img {
  transform: scale(1.1);
}

.story-card h3 {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-md);
  position: relative;
}

.story-card p {
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  line-height: 1.8;
  position: relative;
}

/* ---------- Fullbleed Image Break ---------- */
.fullbleed-break {
  position: relative;
  height: 350px;
  overflow: hidden;
}

.fullbleed-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.fullbleed-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(44, 24, 16, 0.4), rgba(44, 24, 16, 0.5));
}

.fullbleed-quote {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-style: italic;
  color: #fff;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
  letter-spacing: 0.04em;
  z-index: 2;
}

/* ---------- Counter Stats ---------- */
.counter-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-2xl);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--color-border);
}

.counter-stat {
  text-align: center;
}

.counter-value {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  font-weight: 700;
  color: var(--color-warm-gold);
  line-height: 1;
  display: inline-block;
  font-variant-numeric: tabular-nums;
  min-width: 2.5ch;
}

.counter-suffix {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  color: var(--color-warm-gold);
  font-weight: 400;
}

.counter-label {
  display: block;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-top: var(--space-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ---------- Text Reveal Animation ---------- */
.text-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.text-reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Fire effect (legacy, kept for potential reuse) */
.fire-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  z-index: 2;
  background:
    radial-gradient(ellipse at 20% 100%, rgba(192, 57, 43, 0.4) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 100%, rgba(231, 76, 60, 0.3) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 100%, rgba(212, 168, 67, 0.2) 0%, transparent 40%);
}

/* Temperature counter */
.temp-counter {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  color: var(--color-fire-red-glow);
  text-shadow: 0 0 30px rgba(231, 76, 60, 0.5);
}

.temp-counter span {
  font-size: var(--text-xl);
  color: var(--color-text-secondary);
}

/* Perfezione SVG text */
.perfezione-svg {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.perfezione-svg text {
  font-family: var(--font-heading);
  font-style: italic;
  fill: none;
  stroke: var(--color-warm-gold);
  stroke-width: 1.5;
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
}

/* ---------- Speisekarte (Menu) ---------- */
#speisekarte {
  background: var(--color-bg-secondary);
  overflow: hidden;
}

#speisekarte::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(192, 57, 43, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(212, 168, 67, 0.04) 0%, transparent 50%),
    radial-gradient(circle at 50% 80%, rgba(39, 174, 96, 0.02) 0%, transparent 40%);
  pointer-events: none;
  z-index: 0;
}

#speisekarte > .container {
  position: relative;
  z-index: 1;
}

/* Category Tabs */
.menu-tabs {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  margin-bottom: var(--space-2xl);
  flex-wrap: wrap;
  position: sticky;
  top: var(--nav-height, 72px);
  z-index: 50;
  background: var(--color-bg-secondary);
  padding-block: var(--space-md);
  backdrop-filter: blur(10px);
}

.menu-tab {
  padding: var(--space-sm) var(--space-xl);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-secondary);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-xl);
  transition: all var(--transition-fast);
  background: transparent;
}

.menu-tab:hover {
  color: var(--color-warm-gold);
  border-color: var(--color-warm-gold);
}

.menu-tab.active {
  background: var(--color-warm-gold);
  color: var(--color-bg-primary);
  border-color: var(--color-warm-gold);
}

/* Menu Grid */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-lg);
}

/* Menu Card with 3D Flip */
.menu-card {
  perspective: 1000px;
  height: 320px;
  cursor: pointer;
}

.menu-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s var(--ease-smooth);
  transform-style: preserve-3d;
}

.menu-card:hover .menu-card-inner {
  transform: rotateY(180deg);
}

.menu-card-front,
.menu-card-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: var(--border-radius-md);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
}

.menu-card-front {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  justify-content: flex-start;
  gap: 0;
  transition: border-color var(--transition-fast), box-shadow var(--transition-base);
  padding: 0;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

/* Card Image Area */
.card-image {
  width: 100%;
  height: 140px;
  background-color: #f2ebe0;
  background-size: cover;
  background-position: center;
  position: relative;
  flex-shrink: 0;
  transition: transform 0.5s ease;
}

.menu-card:hover .card-image {
  transform: scale(1.08);
}

.card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--color-bg-card) 0%, transparent 50%);
}

/* Unsplash pizza photos (free license, CDN-hosted) */
.card-image--margherita { background-image: url('https://images.unsplash.com/photo-1574071318508-1cdbab80d002?w=600&h=400&fit=crop&q=80'); }
.card-image--funghi { background-image: url('https://images.unsplash.com/photo-1590947132387-155cc02f3212?w=600&h=400&fit=crop&q=80'); }
.card-image--salame,
.card-image--gurmano,
.card-image--inferno { background-image: url('https://images.unsplash.com/photo-1628840042765-356cda07504e?w=600&h=400&fit=crop&q=80'); }
.card-image--prosciutto,
.card-image--prosciutto-funghi,
.card-image--serrano { background-image: url('https://images.unsplash.com/photo-1565299624946-b28f40a0ae38?w=600&h=400&fit=crop&q=80'); }
.card-image--tonno { background-image: url('https://images.unsplash.com/photo-1534308983496-4fabb1a015ee?w=600&h=400&fit=crop&q=80'); }
.card-image--quattro-formaggi,
.card-image--olympia,
.card-image--chef { background-image: url('https://images.unsplash.com/photo-1513104890138-7c749659a591?w=600&h=400&fit=crop&q=80'); }
.card-image--diavola,
.card-image--mexicana { background-image: url('https://images.unsplash.com/photo-1458642849426-cfb724f15ef7?w=600&h=400&fit=crop&q=80'); }
.card-image--capricciosa,
.card-image--bella-italia,
.card-image--rusticale { background-image: url('https://images.unsplash.com/photo-1595854341625-f33ee10dbf94?w=600&h=400&fit=crop&q=80'); }
.card-image--vegetariana,
.card-image--caprese { background-image: url('https://images.unsplash.com/photo-1511689660979-10d2b1aada49?w=600&h=400&fit=crop&q=80'); }
.card-image--calzone { background-image: url('https://images.unsplash.com/photo-1536964549204-cce9eab227bd?w=600&h=400&fit=crop&q=80'); }
.card-image--frutti { background-image: url('https://images.unsplash.com/photo-1534308983496-4fabb1a015ee?w=600&h=400&fit=crop&q=80'); }
/* Vorspeisen */
.card-image--caprese-vorspeise { background-image: url('https://images.unsplash.com/photo-1608897013039-887f21d8c804?w=600&h=400&fit=crop&q=80'); }
.card-image--bruschetta { background-image: url('https://images.unsplash.com/photo-1572695157366-5e585ab2b69f?w=600&h=400&fit=crop&q=80'); }
.card-image--suppe { background-image: url('https://images.unsplash.com/photo-1547592166-23ac45744acd?w=600&h=400&fit=crop&q=80'); }
/* Salate */
.card-image--mista,
.card-image--rucola-salat { background-image: url('https://images.unsplash.com/photo-1512621776951-a57141f2eefd?w=600&h=400&fit=crop&q=80'); }
.card-image--caesar,
.card-image--tonno-salat { background-image: url('https://images.unsplash.com/photo-1512621776951-a57141f2eefd?w=600&h=400&fit=crop&q=80'); background-position: center 30%; }
.card-image--caprese-salat { background-image: url('https://images.unsplash.com/photo-1608897013039-887f21d8c804?w=600&h=400&fit=crop&q=80'); }

.card-text {
  padding: var(--space-md) var(--space-lg) var(--space-md);
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
}

.menu-card:hover .menu-card-front {
  border-color: var(--color-border-hover);
  box-shadow: 0 8px 30px rgba(0,0,0,0.12), 0 0 0 1px rgba(184, 134, 11, 0.15);
}

.menu-card-front .card-number {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  color: rgba(212, 168, 67, 0.7);
  position: absolute;
  top: var(--space-sm);
  left: var(--space-sm);
  line-height: 1;
  z-index: 2;
  background: rgba(10, 10, 10, 0.7);
  padding: 4px 8px;
  border-radius: var(--border-radius-sm);
  backdrop-filter: blur(4px);
}

.menu-card-front .card-number::after {
  display: none;
}

.menu-card-front .card-name {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-xs);
}

.menu-card-front .card-short-desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.menu-card-front .card-price {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  color: var(--color-warm-gold);
  font-weight: 700;
  transition: all 0.3s ease;
}

.menu-card:hover .card-price {
  background: linear-gradient(90deg, transparent, rgba(184, 134, 11, 0.12), transparent);
  padding: 2px 8px;
  border-radius: 4px;
}

.menu-card-back {
  background: linear-gradient(135deg, var(--color-bg-elevated), var(--color-bg-card));
  border: 1px solid var(--color-border-hover);
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  transform: rotateY(180deg);
  justify-content: center;
  align-items: center;
  text-align: center;
}

.menu-card-back .card-name {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  color: var(--color-warm-gold);
  margin-bottom: var(--space-md);
}

.menu-card-back .card-full-desc {
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  line-height: 1.8;
}

.menu-card-back .card-flip-hint {
  margin-top: var(--space-md);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

/* Spezialität der Woche */
.spezial-card {
  grid-column: 1 / -1;
  height: auto;
  min-height: 160px;
  perspective: none;
  cursor: default;
}

.spezial-card .menu-card-inner {
  transform: none !important;
}

.spezial-card .menu-card-front {
  position: relative;
  background: linear-gradient(135deg, rgba(212, 168, 67, 0.12), rgba(192, 57, 43, 0.06));
  border: 2px solid var(--color-warm-gold-dim);
  flex-direction: row;
  align-items: center;
  gap: var(--space-xl);
  animation: spezialGlow 3s ease-in-out infinite;
}

@keyframes spezialGlow {
  0%, 100% { box-shadow: 0 0 20px rgba(212, 168, 67, 0.15), inset 0 0 20px rgba(212, 168, 67, 0.03); }
  50% { box-shadow: 0 0 40px rgba(212, 168, 67, 0.35), 0 0 80px rgba(212, 168, 67, 0.1), inset 0 0 30px rgba(212, 168, 67, 0.05); }
}

.spezial-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-xs) var(--space-md);
  background: var(--color-warm-gold);
  color: var(--color-bg-primary);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: var(--border-radius-xl);
  white-space: nowrap;
}

.spezial-content {
  flex: 1;
}

.spezial-content h4 {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  color: var(--color-warm-gold-light);
  margin-bottom: var(--space-xs);
}

.spezial-content p {
  color: var(--color-text-secondary);
  font-size: var(--text-base);
}

.spezial-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-lg);
  background: transparent;
  color: var(--color-warm-gold);
  border: 1px solid var(--color-warm-gold);
  border-radius: var(--border-radius-xl);
  font-weight: 600;
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.spezial-link:hover {
  background: var(--color-warm-gold);
  color: var(--color-bg-primary);
}

/* ---------- Über Uns ---------- */
#ueber-uns {
  position: relative;
  overflow: hidden;
}

#ueber-uns::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 70%, rgba(212, 168, 67, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 10% 30%, rgba(192, 57, 43, 0.02) 0%, transparent 40%);
  pointer-events: none;
}

#ueber-uns::after {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 300px;
  height: 300px;
  border: 1px solid rgba(212, 168, 67, 0.04);
  border-radius: 50%;
  pointer-events: none;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.about-image {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow:
    var(--shadow-lg),
    inset 0 0 0 1px rgba(212, 168, 67, 0.08);
  border: 1px solid var(--color-border);
  position: relative;
  transition: box-shadow var(--transition-base), border-color var(--transition-base);
}

.about-image:hover {
  border-color: rgba(212, 168, 67, 0.25);
  box-shadow:
    var(--shadow-lg),
    0 0 40px rgba(212, 168, 67, 0.08),
    inset 0 0 0 1px rgba(212, 168, 67, 0.12);
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.about-image:hover img {
  transform: scale(1.03);
}

.about-text h2 {
  margin-bottom: var(--space-md);
}

.about-text p {
  color: var(--color-text-secondary);
  margin-bottom: var(--space-md);
  font-size: var(--text-lg);
  line-height: 1.9;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.about-feature {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--color-text-secondary);
}

.about-feature .feature-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(212, 168, 67, 0.08);
  border: 1px solid rgba(212, 168, 67, 0.15);
  color: var(--color-warm-gold);
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: all var(--transition-base);
}

.about-feature:hover .feature-icon {
  background: rgba(212, 168, 67, 0.15);
  border-color: rgba(212, 168, 67, 0.3);
  box-shadow: 0 0 15px rgba(212, 168, 67, 0.1);
}

/* ---------- Game Section ---------- */
#spiel {
  text-align: center;
  background: linear-gradient(180deg, var(--color-bg-primary) 0%, var(--color-bg-secondary) 50%, var(--color-bg-primary) 100%);
  overflow: hidden;
}

#spiel::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 50%, rgba(192, 57, 43, 0.04) 0%, transparent 60%);
  pointer-events: none;
}

.game-start-btn svg {
  flex-shrink: 0;
}

.game-preview {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  padding: var(--space-2xl);
  border-radius: var(--border-radius-lg);
  background:
    linear-gradient(180deg, rgba(10, 10, 10, 0.55) 0%, rgba(10, 10, 10, 0.7) 100%),
    url('https://images.unsplash.com/photo-1464822759023-fed622ff2c3b?w=1200&h=800&fit=crop&q=80') center/cover no-repeat;
  border: 1px solid rgba(212, 168, 67, 0.25);
  overflow: hidden;
  text-align: center;
}

.game-preview::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center bottom, rgba(192, 57, 43, 0.12) 0%, transparent 70%);
}

.game-preview h3 {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-md);
  position: relative;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,0.6);
}

.game-preview p {
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 1px 8px rgba(0,0,0,0.5);
  margin-bottom: var(--space-xl);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.game-start-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-2xl);
  background: linear-gradient(135deg, var(--color-fire-red), var(--color-fire-red-dark));
  color: #fff;
  font-weight: 700;
  font-size: var(--text-lg);
  border-radius: var(--border-radius-xl);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-glow-red);
  position: relative;
}

.game-start-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 0 50px rgba(192, 57, 43, 0.5);
}

.game-highscore {
  margin-top: var(--space-xl);
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.7);
  text-shadow: 0 1px 6px rgba(0,0,0,0.4);
  position: relative;
}

.game-highscore span {
  color: var(--color-warm-gold);
  font-weight: 700;
}

/* ---------- Contact Section ---------- */
#kontakt {
  background: var(--color-bg-secondary);
  overflow: hidden;
}

#kontakt::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 80%, rgba(212, 168, 67, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 70% 20%, rgba(39, 174, 96, 0.02) 0%, transparent 40%);
  pointer-events: none;
  z-index: 0;
}

#kontakt > .container {
  position: relative;
  z-index: 1;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.contact-item {
  display: flex;
  gap: var(--space-md);
}

.contact-item-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(212, 168, 67, 0.06);
  border: 1px solid rgba(212, 168, 67, 0.15);
  color: var(--color-warm-gold);
  font-size: 1.2rem;
  flex-shrink: 0;
  transition: all var(--transition-base);
}

.contact-item:hover .contact-item-icon {
  background: rgba(212, 168, 67, 0.12);
  border-color: rgba(212, 168, 67, 0.3);
  box-shadow: 0 0 20px rgba(212, 168, 67, 0.1);
  transform: scale(1.05);
}

.contact-item h3 {
  font-size: var(--text-base);
  font-family: var(--font-body);
  font-weight: 700;
  margin-bottom: var(--space-xs);
  color: var(--color-text-primary);
}

.contact-item p {
  color: var(--color-text-secondary);
  font-size: var(--text-sm);
  line-height: 1.6;
}

.contact-item a {
  color: var(--color-warm-gold);
}

/* Map Container */
.map-container {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  min-height: 400px;
  background: var(--color-bg-card);
  position: relative;
}

.map-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 400px;
  gap: var(--space-md);
  color: var(--color-text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.map-placeholder:hover {
  color: var(--color-warm-gold);
}

.map-placeholder .map-icon {
  font-size: 3rem;
  color: var(--color-warm-gold-dim);
  transition: color var(--transition-fast);
}

.map-placeholder:hover .map-icon {
  color: var(--color-warm-gold);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--color-bg-primary);
  border-top: none;
  padding: var(--space-2xl) 0 var(--space-xl);
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg,
    var(--color-italian-green-muted),
    var(--color-text-primary),
    var(--color-fire-red-dark)
  );
  opacity: 0.3;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-lg);
}

.footer-brand {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
}

.footer-brand .brand-accent {
  color: var(--color-warm-gold);
}

.footer-links {
  display: flex;
  gap: var(--space-lg);
}

.footer-links a {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--color-warm-gold);
}

.footer-bottom {
  margin-top: var(--space-xl);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer-copyright {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.footer-credit {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.footer-credit a {
  color: var(--color-warm-gold);
  font-weight: 600;
}

/* "Feuer" word styled elegantly */

/* ---------- WhatsApp Button ---------- */
.whatsapp-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 900;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: all var(--transition-fast);
  animation: whatsappPulse 3s ease-in-out infinite;
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-btn svg {
  width: 32px;
  height: 32px;
  fill: white;
}

.whatsapp-tooltip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  background: var(--color-bg-elevated);
  color: var(--color-text-primary);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--border-radius-sm);
  font-size: var(--text-xs);
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-md);
}

.whatsapp-btn:hover .whatsapp-tooltip,
.whatsapp-tooltip.show {
  opacity: 1;
  visibility: visible;
}

@keyframes whatsappPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.2), 0 0 0 12px rgba(37, 211, 102, 0.08); }
}

/* ---------- Cookie Consent ---------- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--color-bg-elevated);
  border-top: 1px solid var(--color-border);
  padding: var(--space-lg) var(--space-xl);
  transform: translateY(100%);
  transition: transform 0.5s var(--ease-out-expo);
  backdrop-filter: blur(20px);
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-xl);
  flex-wrap: wrap;
}

.cookie-text {
  flex: 1;
  min-width: 280px;
}

.cookie-text strong {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 700;
  margin-bottom: var(--space-xs);
}

.cookie-text p {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
}

.cookie-text a {
  color: var(--color-warm-gold);
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  gap: var(--space-md);
  flex-shrink: 0;
}

.cookie-btn {
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--border-radius-xl);
  font-weight: 600;
  font-size: var(--text-sm);
  transition: all var(--transition-fast);
}

.cookie-btn-accept {
  background: var(--color-warm-gold);
  color: var(--color-bg-primary);
}

.cookie-btn-accept:hover {
  background: var(--color-warm-gold-light);
  transform: translateY(-1px);
}

.cookie-btn-necessary {
  background: transparent;
  color: var(--color-text-secondary);
  border: 1px solid var(--color-border);
}

.cookie-btn-necessary:hover {
  border-color: var(--color-text-secondary);
  color: var(--color-text-primary);
}

/* ---------- Game Overlay ---------- */
.game-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--color-bg-primary);
  display: none;
  flex-direction: column;
}

.game-overlay.active {
  display: flex;
}

.game-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-md) var(--space-lg);
  background: var(--color-bg-secondary);
  border-bottom: 1px solid var(--color-border);
}

.game-score {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  color: var(--color-warm-gold);
}

.game-timer {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  color: var(--color-fire-red-glow);
}

.game-combo {
  font-size: var(--text-sm);
  color: var(--color-warm-gold-light);
  font-weight: 700;
}

.game-close-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  color: var(--color-text-secondary);
  font-size: 1.2rem;
  transition: all var(--transition-fast);
}

.game-close-btn:hover {
  border-color: var(--color-fire-red);
  color: var(--color-fire-red);
}

#game-canvas {
  flex: 1;
  display: block;
}

/* Game Over Screen */
.game-over {
  position: absolute;
  inset: 0;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(10, 10, 10, 0.9);
  z-index: 10;
}

.game-over.active {
  display: flex;
}

.game-over h2 {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-md);
}

.game-final-score {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  color: var(--color-warm-gold);
  margin-bottom: var(--space-lg);
}

.game-discount {
  background: linear-gradient(135deg, rgba(212, 168, 67, 0.15), rgba(192, 57, 43, 0.1));
  border: 2px solid var(--color-warm-gold);
  border-radius: var(--border-radius-md);
  padding: var(--space-lg) var(--space-2xl);
  text-align: center;
  margin-bottom: var(--space-xl);
  animation: spezialGlow 2s ease-in-out infinite;
}

.game-discount h3 {
  font-size: var(--text-xl);
  color: var(--color-warm-gold-light);
  margin-bottom: var(--space-sm);
}

.game-discount .discount-code {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  color: var(--color-fire-red-glow);
  letter-spacing: 0.15em;
}

/* ---------- Snow Container ---------- */
#snow-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 5;
}

/* ---------- Custom Cursor ---------- */
.custom-cursor {
  position: fixed;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: width 0.2s ease, height 0.2s ease;
}

.cursor-dot {
  width: 8px;
  height: 8px;
  background: var(--color-warm-gold);
  border-radius: 50%;
  transition: all 0.15s ease;
}

.cursor-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 32px;
  height: 32px;
  border: 1.5px solid rgba(212, 168, 67, 0.4);
  border-radius: 50%;
  transition: all 0.15s ease;
}

body.cursor-hover .cursor-dot {
  width: 6px;
  height: 6px;
  background: var(--color-fire-red);
}

body.cursor-hover .cursor-ring {
  width: 48px;
  height: 48px;
  border-color: var(--color-fire-red);
}

/* Steam particles */
.steam-particle {
  position: fixed;
  width: 4px;
  height: 4px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99998;
  animation: steamRise 1s ease-out forwards;
}

@keyframes steamRise {
  0% {
    opacity: 0.6;
    transform: translate(0, 0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(var(--steam-x, 10px), -40px) scale(2);
  }
}

/* ---------- Ornamental Dividers ---------- */
.ornament-divider {
  display: flex;
  justify-content: center;
  padding: var(--space-lg) 0;
  color: var(--color-warm-gold-dim);
  opacity: 0.5;
}

.ornament-svg {
  width: 200px;
  height: 20px;
}

/* ---------- Hero Vignette & Corner Elements ---------- */
.hero-vignette {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  background:
    radial-gradient(ellipse at center, transparent 50%, rgba(44,24,16,0.3) 100%),
    linear-gradient(to bottom, rgba(44,24,16,0.15) 0%, transparent 20%, transparent 80%, rgba(250,245,238,0.4) 100%);
}

.hero-corner {
  position: absolute;
  width: 60px;
  height: 60px;
  z-index: 11;
  pointer-events: none;
  opacity: 0.3;
}

.hero-corner--tl {
  top: 24px;
  left: 24px;
  border-top: 1px solid var(--color-warm-gold);
  border-left: 1px solid var(--color-warm-gold);
}

.hero-corner--tr {
  top: 24px;
  right: 24px;
  border-top: 1px solid var(--color-warm-gold);
  border-right: 1px solid var(--color-warm-gold);
}

.hero-corner--bl {
  bottom: 24px;
  left: 24px;
  border-bottom: 1px solid var(--color-warm-gold);
  border-left: 1px solid var(--color-warm-gold);
}

.hero-corner--br {
  bottom: 24px;
  right: 24px;
  border-bottom: 1px solid var(--color-warm-gold);
  border-right: 1px solid var(--color-warm-gold);
}

/* ---------- Footer Decorative Top ---------- */
.footer-decorative-top {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  color: var(--color-warm-gold-dim);
  opacity: 0.35;
  padding-bottom: var(--space-sm);
}

.footer-ornament-svg {
  width: 100%;
  max-width: 400px;
  height: 12px;
}

/* ---------- Language Toggle ---------- */
.lang-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  width: auto;
  height: auto;
  font-size: var(--text-xs);
  font-weight: 600;
  padding: 5px 12px;
  border-radius: var(--border-radius-xl);
  background: rgba(212, 168, 67, 0.1);
  border: 1px solid rgba(212, 168, 67, 0.2);
  color: var(--color-warm-gold);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.lang-toggle-btn:hover {
  background: rgba(212, 168, 67, 0.2);
  border-color: rgba(212, 168, 67, 0.4);
  transform: translateY(-1px);
}

.lang-flag {
  font-size: 0.85rem;
  line-height: 1;
}

.lang-flag-svg {
  flex-shrink: 0;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.1);
}

.lang-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Language transition effect */
html.lang-transition * {
  transition: color 0.3s ease !important;
}

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  .hero-scroll-hint,
  .whatsapp-btn,
  .spezial-card .menu-card-front,
  .hero-corner,
  .ornament-divider {
    animation: none !important;
  }

  .ornament-divider {
    opacity: 0.5;
    transform: none;
  }

  .hero-corner {
    opacity: 0.3;
    width: 60px;
    height: 60px;
  }
}

/* ---------- Responsive: Tablet ---------- */
@media (max-width: 1023px) {
  .story-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }

  .counter-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .fullbleed-break {
    height: 280px;
  }

  .fullbleed-quote {
    font-size: var(--text-2xl);
    padding: 0 var(--space-lg);
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .about-features {
    grid-template-columns: 1fr 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .menu-grid {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  }

  .spezial-card .menu-card-front {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-md);
  }
}

/* ---------- Responsive: Mobile ---------- */
@media (max-width: 767px) {
  :root {
    --nav-height: 60px;
  }

  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .section {
    padding: var(--space-2xl) 0;
  }

  .container {
    padding: 0 var(--space-md);
  }

  .menu-grid {
    grid-template-columns: 1fr;
  }

  .menu-card {
    height: 280px;
  }

  .card-image {
    height: 110px;
  }

  /* Tap to flip on mobile */
  .menu-card.flipped .menu-card-inner {
    transform: rotateY(180deg);
  }

  .menu-card:hover .menu-card-inner {
    transform: none;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .cookie-inner {
    flex-direction: column;
    text-align: center;
  }

  .cookie-buttons {
    width: 100%;
    flex-direction: column;
  }

  .cookie-btn {
    width: 100%;
    text-align: center;
  }

  .whatsapp-btn {
    bottom: 16px;
    right: 16px;
    width: 56px;
    height: 56px;
  }

  #hero {
    animation: none;
    transform: none;
    min-height: 500px;
    background-image: url('https://images.unsplash.com/photo-1604382354936-07c5d9983bd3?w=800&h=1200&fit=crop&q=70') !important;
    background-size: cover !important;
    background-position: center !important;
  }

  .hero-cta {
    padding: var(--space-md) var(--space-lg);
  }

  .hero-corner {
    width: 30px;
    height: 30px;
  }

  .hero-corner--tl,
  .hero-corner--tr { top: 12px; }
  .hero-corner--bl,
  .hero-corner--br { bottom: 12px; }
  .hero-corner--tl,
  .hero-corner--bl { left: 12px; }
  .hero-corner--tr,
  .hero-corner--br { right: 12px; }

  .ornament-divider {
    padding: var(--space-md) 0;
  }

  .ornament-svg {
    width: 140px;
  }

  .story-card-icon {
    width: 120px;
    height: 120px;
  }

  .counter-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
  }

  .counter-value {
    font-size: var(--text-3xl);
  }

  .fullbleed-break {
    height: 220px;
    background-attachment: scroll;
  }

  .fullbleed-img {
    background-attachment: scroll;
  }

  .fullbleed-quote {
    font-size: var(--text-xl);
  }

  .game-header {
    padding: var(--space-sm) var(--space-md);
  }

  .game-preview {
    padding: var(--space-lg) var(--space-md);
    margin: 0 var(--space-sm);
    max-width: 100%;
    box-sizing: border-box;
  }

  .game-start-btn {
    padding: var(--space-md) var(--space-lg);
    font-size: var(--text-base);
    max-width: 100%;
    box-sizing: border-box;
  }

  .game-instructions {
    padding: 0 var(--space-sm);
  }
}

/* ---------- Utility: Hidden ---------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hidden {
  display: none !important;
}
