/* MunichFunArena.com - Main Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=Inter:wght@300;400;500;600&display=swap');

/* ===== CSS VARIABLES ===== */
:root {
  --primary: #1b3d6e;
  --primary-light: #2a5298;
  --primary-dark: #0d2240;
  --secondary: #c8a84b;
  --secondary-light: #e2c46a;
  --secondary-dark: #a0852e;
  --accent: #b92d2d;
  --accent-light: #d94040;
  --success: #2e7d4f;
  --warning: #d4860f;
  --error: #c0392b;

  --bg-dark: #0a1628;
  --bg-card: #111f38;
  --bg-card-hover: #162844;
  --bg-light: #f4f1ea;
  --bg-white: #ffffff;

  --text-primary: #ffffff;
  --text-secondary: #a8bcd4;
  --text-muted: #5a7a99;
  --text-dark: #0d1e30;
  --text-gold: #c8a84b;

  --border: rgba(200, 168, 75, 0.2);
  --border-light: rgba(255, 255, 255, 0.08);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;

  --shadow-sm: 0 2px 8px rgba(0,0,0,0.25);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.35);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.45);
  --shadow-gold: 0 4px 20px rgba(200,168,75,0.25);

  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--font-body); }
input, select, textarea { font-family: var(--font-body); }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.1rem; }
p { color: var(--text-secondary); line-height: 1.7; }

/* ===== LAYOUT ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }

/* ===== NAVIGATION ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: var(--transition-slow);
  padding: 0;
}
.nav.scrolled {
  background: rgba(10,22,40,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 0 32px;
  max-width: 1200px;
  margin: 0 auto;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.nav-logo-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: var(--shadow-gold);
}
.nav-logo-text {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
}
.nav-logo-text span { color: var(--secondary); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--secondary);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}
.nav-links a:hover { color: var(--text-primary); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  cursor: pointer;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: var(--transition);
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 72px; left: 0; right: 0;
  background: rgba(10,22,40,0.98);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 99;
  padding: 24px 32px;
  flex-direction: column;
  gap: 20px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 8px 0;
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition);
}
.mobile-menu a:hover { color: var(--text-primary); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 600;
  transition: var(--transition);
  white-space: nowrap;
  position: relative;
  z-index: 1;
  cursor: pointer;
}
.btn-primary {
  background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
  color: var(--bg-dark);
  box-shadow: var(--shadow-gold);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(200,168,75,0.4);
}
.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--border);
}
.btn-secondary:hover {
  background: var(--bg-card);
  border-color: var(--secondary);
  color: var(--secondary);
}
.btn-ghost {
  background: transparent;
  color: var(--secondary);
  border: 1.5px solid var(--secondary);
}
.btn-ghost:hover {
  background: var(--secondary);
  color: var(--bg-dark);
}
.btn-lg { padding: 16px 40px; font-size: 1rem; border-radius: var(--radius-lg); }
.btn-sm { padding: 8px 20px; font-size: 0.85rem; }

/* ===== CARDS ===== */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition-slow);
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--border);
  box-shadow: var(--shadow-lg);
}
.card-body { padding: 32px; }

/* ===== BADGES ===== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.badge-gold {
  background: rgba(200,168,75,0.15);
  color: var(--secondary);
  border: 1px solid rgba(200,168,75,0.3);
}
.badge-blue {
  background: rgba(42,82,152,0.2);
  color: #60a5fa;
  border: 1px solid rgba(42,82,152,0.4);
}

/* ===== SECTION HEADERS ===== */
.section-header { text-align: center; margin-bottom: 64px; }
.section-header .badge { margin-bottom: 16px; }
.section-header h2 { margin-bottom: 16px; }
.section-header p { max-width: 560px; margin: 0 auto; font-size: 1.05rem; }

/* ===== DIVIDER ===== */
.gold-divider {
  width: 56px;
  height: 3px;
  background: linear-gradient(90deg, var(--secondary), var(--secondary-light));
  border-radius: 2px;
  margin: 16px auto 0;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--primary-dark);
  border-top: 1px solid var(--border);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand { }
.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  text-decoration: none;
}
.footer-logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.footer-logo-text {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
}
.footer-logo-text span { color: var(--secondary); }
.footer-tagline { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 20px; }
.footer-contact { margin-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 8px; font-size: 0.85rem; color: var(--text-muted); }
.footer-contact-icon { flex-shrink: 0; font-size: 0.95rem; margin-top: 1px; }
.footer-contact-item a { color: var(--text-muted); transition: var(--transition); }
.footer-contact-item a:hover { color: var(--secondary); }
.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: var(--transition);
  display: inline-block;
}
.footer-col ul a:hover { color: var(--text-primary); transform: translateX(4px); }
.footer-disclaimer {
  background: rgba(200,168,75,0.06);
  border: 1px solid rgba(200,168,75,0.15);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 32px;
}
.footer-disclaimer h5 {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 10px;
}
.footer-disclaimer p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.65;
}
.footer-disclaimer a {
  color: var(--secondary);
  text-decoration: underline;
  text-decoration-color: rgba(200,168,75,0.4);
}
.footer-disclaimer a:hover { text-decoration-color: var(--secondary); }
.footer-bottom {
  border-top: 1px solid var(--border-light);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: 0.82rem; color: var(--text-muted); }
.footer-age-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent);
  color: white;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--radius-sm);
}

/* ===== AGE MODAL ===== */
.age-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5,12,24,0.96);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  backdrop-filter: blur(8px);
}
.age-modal {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  max-width: 480px;
  width: 100%;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-lg);
  animation: modalIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
@keyframes modalIn {
  from { opacity: 0; transform: scale(0.85) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.age-modal-icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 32px;
  box-shadow: var(--shadow-gold);
}
.age-modal h2 { margin-bottom: 12px; font-size: 1.8rem; }
.age-modal p { margin-bottom: 28px; font-size: 0.95rem; }
.age-checkbox-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-bottom: 24px;
  cursor: pointer;
  text-align: left;
  transition: var(--transition);
}
.age-checkbox-wrapper:hover { border-color: var(--secondary); background: rgba(200,168,75,0.05); }
.age-checkbox-wrapper.checked { border-color: var(--secondary); background: rgba(200,168,75,0.08); }
.age-checkbox {
  width: 22px;
  height: 22px;
  border: 2px solid var(--border);
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
  transition: var(--transition);
  background: transparent;
}
.age-checkbox.checked {
  border-color: var(--secondary);
  background: var(--secondary);
}
.age-checkbox.checked::after {
  content: '✓';
  color: var(--bg-dark);
  font-size: 13px;
  font-weight: 700;
}
.age-checkbox-label { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.5; }
.age-checkbox-label strong { color: var(--text-primary); }
.age-modal-btn {
  width: 100%;
  padding: 16px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: var(--transition);
  background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
  color: var(--bg-dark);
}
.age-modal-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none !important;
}
.age-modal-btn:not(:disabled):hover { transform: translateY(-2px); box-shadow: var(--shadow-gold); }
.age-modal-note { font-size: 0.78rem; color: var(--text-muted); margin-top: 14px; }

/* ===== COOKIE BANNER ===== */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  max-width: 540px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  z-index: 900;
  box-shadow: var(--shadow-lg);
  display: none;
  animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1) both;
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.cookie-banner.visible { display: block; }
.cookie-banner h4 { font-size: 0.95rem; margin-bottom: 8px; font-weight: 600; font-family: var(--font-body); }
.cookie-banner p { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 18px; }
.cookie-banner a { color: var(--secondary); }
.cookie-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-btns .btn { flex: 1; min-width: 100px; }

/* ===== ANIMATIONS ===== */
.fade-in { animation: fadeIn 0.6s ease both; }
.fade-up { animation: fadeUp 0.6s ease both; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ===== DECORATIVE ELEMENTS ===== */
.glow-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--secondary);
  box-shadow: 0 0 12px var(--secondary);
  display: inline-block;
}
.separator { height: 1px; background: var(--border-light); margin: 48px 0; }

/* ===== PAGE HERO ===== */
.page-hero {
  padding: 140px 0 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(200,168,75,0.08), transparent);
}
.page-hero h1 { margin-bottom: 16px; }
.page-hero p { font-size: 1.1rem; max-width: 600px; margin: 0 auto; }

/* ===== CONTENT BLOCKS ===== */
.content-block { background: var(--bg-card); border: 1px solid var(--border-light); border-radius: var(--radius-lg); padding: 32px; margin-bottom: 24px; }
.content-block h3 { color: var(--secondary); margin-bottom: 12px; font-size: 1.15rem; font-family: var(--font-body); font-weight: 600; }
.content-block p { font-size: 0.95rem; }
.content-block ul { margin-top: 12px; display: flex; flex-direction: column; gap: 8px; }
.content-block ul li { color: var(--text-secondary); font-size: 0.95rem; padding-left: 18px; position: relative; }
.content-block ul li::before { content: '→'; position: absolute; left: 0; color: var(--secondary); font-size: 0.85rem; }

/* ===== STAT COUNTERS ===== */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 24px; }
.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
}
.stat-card .num {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: var(--secondary);
  display: block;
  margin-bottom: 4px;
}
.stat-card .lbl { font-size: 0.85rem; color: var(--text-muted); }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
  .section { padding: 64px 0; }
  .container { padding: 0 16px; }
  .cookie-banner { bottom: 16px; left: 16px; right: 16px; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .age-modal { padding: 32px 24px; }
}

/* ===== UTILITY CLASSES ===== */
.text-gold { color: var(--secondary); }
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.gap-8 { gap: 8px; }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 768px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
}
