/* ================================================================
   musik-freunde.ch – Design System v2 "Alpenblau"
   Rebrand auf das Ultramarin der Original-Seite (#060097),
   Rot (musig24) als Zweitakzent, Gold aus dem Wappen als Highlight.
   Alle bisherigen Klassennamen bleiben gültig.
   ================================================================ */

:root {
  /* Brand */
  --blue-950: #02003a;
  --blue-900: #03004d;
  --blue-800: #060097;   /* Original-Blau */
  --blue-700: #1414b8;
  --blue-600: #2323d6;
  --blue-500: #3d3dff;
  --blue-100: #e6e6ff;
  --blue-50:  #f3f3ff;
  --red:      #c8102e;
  --red-dark: #a50d26;
  --gold:     #f5b700;
  --gold-soft:#ffe28a;

  /* Semantik (alte Namen bleiben) */
  --bg:         #ffffff;
  --bg2:        #f4f5fb;
  --bg3:        #e9ebf7;
  --text:       #12122a;
  --text-muted: #4b5068;
  --text-light: #7a7f9a;
  --accent:     var(--blue-800);
  --accent-dark:var(--blue-900);
  --accent-bg:  rgba(6,0,151,0.07);
  --accent-border: rgba(6,0,151,0.22);
  --accent2:    var(--red);
  --white:      #ffffff;
  --border:     #e3e5f0;
  --border-dark:#c9cce0;
  --shadow-sm:  0 1px 3px rgba(6,0,151,0.08);
  --shadow:     0 6px 18px rgba(6,0,151,0.10);
  --shadow-lg:  0 16px 44px rgba(6,0,151,0.16);
  --glow:       0 0 0 4px rgba(61,61,255,0.18);

  --font: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --radius-sm: 8px;
  --radius:    12px;
  --radius-lg: 18px;
  --radius-xl: 28px;
  --max-width: 1200px;

  /* Berg-Silhouetten (SVG, 2 Ebenen) */
  --mtn-far:  url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320' preserveAspectRatio='none'><path fill='%23ffffff' fill-opacity='0.16' d='M0,230L70,205L140,215L210,170L280,190L350,140L420,165L490,120L560,150L630,100L700,130L770,85L840,120L910,70L980,110L1050,90L1120,125L1190,105L1260,140L1330,120L1440,150L1440,320L0,320Z'/></svg>");
  --mtn-near: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320' preserveAspectRatio='none'><path fill='%2303004d' fill-opacity='0.9' d='M0,265L60,250L120,258L180,225L240,240L300,205L360,222L420,190L480,212L540,180L600,200L660,168L720,192L780,160L840,185L900,150L960,178L1020,158L1080,180L1140,165L1200,190L1260,172L1320,196L1380,182L1440,200L1440,320L0,320Z'/></svg>");
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-700); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { list-style: none; }
::selection { background: var(--blue-800); color: #fff; }

/* ── Layout ── */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }
.section { padding: 80px 0; position: relative; }
.section-alt {
  background:
    linear-gradient(rgba(244,245,251,0.92), rgba(244,245,251,0.96)),
    url('assets/backgrounds/bg-nebel.jpg') center/cover no-repeat;
  clip-path: polygon(0 38px, 9% 12px, 19% 32px, 31% 4px, 43% 30px, 55% 10px, 67% 34px, 79% 8px, 90% 28px, 100% 14px, 100% 100%, 0 100%);
  padding-top: 112px;
}

/* ── Typografie ── */
h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); font-weight: 900; line-height: 1.08; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.25rem); font-weight: 800; line-height: 1.2; letter-spacing: -0.025em; color: var(--blue-900); }
h3 { font-size: 1.25rem; font-weight: 700; color: var(--blue-900); }
h4 { font-size: 1rem; font-weight: 700; }
p { color: var(--text-muted); line-height: 1.75; }

.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-800);
  background: var(--blue-50);
  border: 1px solid var(--accent-border);
  border-radius: 999px;
  padding: 4px 13px;
  margin-bottom: 14px;
}
.section-header { text-align: center; max-width: 660px; margin: 0 auto 52px; }
.section-title { margin-bottom: 12px; }
.section-subtitle { color: var(--text-muted); font-size: 1.08rem; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.16,0.8,0.3,1), box-shadow 0.2s, background 0.2s, color 0.2s;
  text-decoration: none;
  border: none;
  font-family: var(--font);
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  top: 0; left: -80%;
  width: 50%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: skewX(-20deg);
  transition: left 0.5s ease;
  pointer-events: none;
}
.btn:hover::after { left: 130%; }
.btn-primary {
  background: linear-gradient(135deg, var(--blue-700), var(--blue-800) 60%, var(--blue-900));
  color: #fff;
  box-shadow: 0 6px 18px rgba(6,0,151,0.32);
}
.btn-primary:hover {
  text-decoration: none;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 28px rgba(6,0,151,0.4);
}
.btn-outline {
  background: rgba(255,255,255,0.6);
  color: var(--blue-800);
  border: 2px solid var(--blue-800);
  backdrop-filter: blur(4px);
}
.btn-outline:hover { background: var(--blue-800); color: #fff; text-decoration: none; transform: translateY(-2px); }
.btn-ghost { background: var(--bg2); color: var(--text); }
.btn-ghost:hover { background: var(--bg3); text-decoration: none; }
.btn-hot {
  background: linear-gradient(135deg, #e5173a, var(--red) 60%, var(--red-dark));
  color: #fff;
  box-shadow: 0 6px 18px rgba(200,16,46,0.35);
}
.btn-hot:hover { transform: translateY(-2px) scale(1.02); text-decoration: none; }

/* ── Header / Nav ── */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.86);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid rgba(6,0,151,0.08);
  box-shadow: 0 2px 14px rgba(6,0,151,0.06);
}
header::before {
  content: '';
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-800), var(--blue-500) 45%, var(--gold) 75%, var(--red));
}
.nav-inner { display: flex; align-items: center; gap: 8px; height: 68px; }
.nav-logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; text-decoration: none; }
.nav-logo img {
  height: 46px; width: auto;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(6,0,151,0.2);
  transition: transform 0.35s cubic-bezier(0.16,0.8,0.3,1);
}
.nav-logo:hover img { transform: rotate(-8deg) scale(1.06); }
.nav-logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.nav-logo-name { font-size: 0.98rem; font-weight: 900; color: var(--blue-800); letter-spacing: -0.02em; }
.nav-logo-sub { font-size: 0.6rem; color: var(--text-light); letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; }
nav#main-nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
nav#main-nav a {
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 7px 12px;
  border-radius: 999px;
  transition: color 0.15s, background 0.15s;
  text-decoration: none;
  position: relative;
}
nav#main-nav a::after {
  content: '';
  position: absolute;
  left: 12px; right: 12px; bottom: 3px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s cubic-bezier(0.16,0.8,0.3,1);
}
nav#main-nav a:hover { color: var(--blue-800); }
nav#main-nav a:hover::after { transform: scaleX(1); }
nav#main-nav a.active { color: #fff; background: var(--blue-800); }
nav#main-nav a.active::after { display: none; }
.nav-fb {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px;
  background: #1877f2; color: white !important;
  border-radius: 999px; font-size: 0.82rem; font-weight: 700;
  text-decoration: none; margin-left: 8px; flex-shrink: 0;
  transition: transform 0.2s, background 0.2s;
}
.nav-fb:hover { background: #1461cc; text-decoration: none; transform: translateY(-1px); }
.nav-hamburger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  cursor: pointer; padding: 10px; margin-left: 8px;
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--blue-50); border: 1px solid var(--accent-border);
  transition: background 0.2s;
}
.nav-hamburger span { display: block; width: 22px; height: 2.5px; background: var(--blue-800); border-radius: 2px; transition: transform 0.28s cubic-bezier(0.16,0.8,0.3,1), opacity 0.2s; transform-origin: center; }
.nav-hamburger.open { background: var(--blue-800); }
.nav-hamburger.open span { background: #fff; }
.nav-hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
.nav-fb-mobile { display: none; }
.nav-login { font-size: 0.7rem !important; opacity: 0.35; align-self: center; }
.nav-login:hover { opacity: 0.9; }
.nav-login::after { display: none; }

/* ══════════════════════════════════════════════════════════
   PARALLAX-BÜHNE (Hero & Seitenköpfe)
   Ebenen werden per JS eingefügt: .mf-px > .mf-px-bg / -far / -near / -haze
   ══════════════════════════════════════════════════════════ */
.mf-px { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.mf-px > div {
  position: absolute;
  inset: -12% -6%;
  will-change: transform;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.mf-px-bg { background-image: var(--px-image, url('assets/backgrounds/alpen-panorama.jpg')); }
.mf-px-bg video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.mf-px-bg video.ready { opacity: 1; }
.mf-px-far  { background-image: var(--mtn-far); background-position: bottom; background-size: 130% 60%; }
.mf-px-near { background-image: var(--mtn-near); background-position: bottom; background-size: 115% 45%; }
.mf-px-haze {
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 30% 40%, rgba(6,0,151,0.0) 0%, rgba(3,0,77,0.35) 100%),
    linear-gradient(180deg, rgba(3,0,77,0.55) 0%, rgba(3,0,77,0.35) 45%, rgba(3,0,77,0.78) 100%);
}

/* ── Seitenkopf ── */
.page-header {
  position: relative;
  overflow: hidden;
  background: var(--blue-900);
  color: #fff;
  padding: 88px 0 96px;
  min-height: 300px;
  display: flex;
  align-items: center;
  isolation: isolate;
}
.page-header h1 { margin-bottom: 12px; color: #fff; text-shadow: 0 4px 24px rgba(0,0,0,0.45); }
.page-header p { font-size: 1.12rem; max-width: 620px; color: rgba(255,255,255,0.88); text-shadow: 0 2px 12px rgba(0,0,0,0.4); }
.breadcrumb { font-size: 0.8rem; color: rgba(255,255,255,0.6); margin-bottom: 14px; display: flex; align-items: center; gap: 6px; }
.breadcrumb a { color: rgba(255,255,255,0.75); }
.breadcrumb a:hover { color: var(--gold); }

/* Seitenspezifische Bilder */
body[data-page="veranstaltungen"] .page-header { --px-image: url('assets/backgrounds/header-veranstaltungen.jpg'); }
body[data-page="kuenstler"]       .page-header { --px-image: url('assets/backgrounds/header-kuenstler.jpg'); }
body[data-page="fanshop"]         .page-header { --px-image: url('assets/backgrounds/header-fanshop.jpg'); }
body[data-page="anmeldung"]       .page-header { --px-image: url('assets/backgrounds/header-anmeldung.jpg'); }
body[data-page="chronik"]         .page-header { --px-image: url('assets/backgrounds/header-chronik.jpg'); }
body[data-page="verein"]          .page-header { --px-image: url('assets/backgrounds/header-verein.jpg'); }
body[data-page="sponsoren"]       .page-header { --px-image: url('assets/backgrounds/header-sponsoren.jpg'); }
body[data-page="kontakt"]         .page-header { --px-image: url('assets/backgrounds/header-kontakt.jpg'); }

/* ── Hero (Startseite) ── */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--blue-900);
  color: #fff;
  padding: 96px 0 120px;
  min-height: 78vh;
  display: flex;
  align-items: center;
  isolation: isolate;
  --px-image: url('assets/backgrounds/hero-alpensee.jpg');
}
.hero::before { display: none; }
.hero-inner { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.74rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--blue-900);
  background: var(--gold);
  border-radius: 999px;
  padding: 5px 14px;
  margin-bottom: 22px;
  box-shadow: 0 4px 14px rgba(245,183,0,0.4);
}
.hero h1 { margin-bottom: 22px; color: #fff; text-shadow: 0 6px 30px rgba(0,0,0,0.5); }
.hero h1 span {
  color: var(--gold-soft);
  background: linear-gradient(90deg, #fff1b8, var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero p { font-size: 1.15rem; max-width: 520px; margin-bottom: 30px; color: rgba(255,255,255,0.9); text-shadow: 0 2px 14px rgba(0,0,0,0.45); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .btn-primary { background: linear-gradient(135deg, #e5173a, var(--red) 60%, var(--red-dark)); box-shadow: 0 8px 24px rgba(200,16,46,0.45); }
.hero .btn-outline { color: #fff; border-color: rgba(255,255,255,0.8); background: rgba(255,255,255,0.12); }
.hero .btn-outline:hover { background: #fff; color: var(--blue-800); }
.hero-image { display: flex; align-items: center; justify-content: center; perspective: 900px; }
.hero-image img {
  max-width: 300px;
  border-radius: 50%;
  border: 6px solid rgba(255,255,255,0.9);
  box-shadow: 0 30px 70px rgba(0,0,0,0.5), 0 0 0 14px rgba(255,255,255,0.08);
  animation: float 6s ease-in-out infinite;
  transform-style: preserve-3d;
  transition: transform 0.15s ease-out;
}
@keyframes float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -14px; }
}
.hero-video { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 16/9; }
.hero-video iframe { width: 100%; height: 100%; border: none; display: block; }

/* ── Stat Strip ── */
.stat-strip {
  position: relative;
  background: linear-gradient(120deg, var(--blue-900), var(--blue-800) 55%, var(--blue-700));
  color: white;
  padding: 40px 0;
  overflow: hidden;
}
.stat-strip::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--mtn-far) bottom / 120% 70% no-repeat;
  opacity: 0.5;
  pointer-events: none;
}
.stats-row { display: flex; justify-content: center; gap: 0; flex-wrap: wrap; position: relative; }
.stat { flex: 1; min-width: 150px; text-align: center; padding: 12px 24px; border-right: 1px solid rgba(255,255,255,0.14); }
.stat:last-child { border-right: none; }
.stat-number { font-size: 2.1rem; font-weight: 900; color: var(--gold); line-height: 1; margin-bottom: 6px; text-shadow: 0 2px 12px rgba(0,0,0,0.3); }
.stat-label { font-size: 0.78rem; color: rgba(255,255,255,0.8); letter-spacing: 0.06em; text-transform: uppercase; font-weight: 600; }

/* ── Karten (3D-Tilt per JS: --rx/--ry/--gx/--gy) ── */
.card, .event-card, .artist-card, .shop-card, .team-card, .price-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.25s cubic-bezier(0.16,0.8,0.3,1), box-shadow 0.25s ease, border-color 0.25s;
}
.mf-tilt {
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--ty, 0));
}
.mf-tilt::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255,255,255,0.55), transparent 55%);
  opacity: var(--glare, 0);
  transition: opacity 0.25s;
  pointer-events: none;
  z-index: 3;
  mix-blend-mode: soft-light;
}
.card:hover, .event-card:hover, .artist-card:hover, .shop-card:hover, .team-card:hover, .price-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: rgba(6,0,151,0.25);
}
.card-body { padding: 20px; }
.card-title { font-weight: 700; margin-bottom: 6px; color: var(--text); font-size: 1.05rem; }
.card-meta { font-size: 0.8rem; color: var(--text-light); margin-bottom: 8px; }
.card-desc { font-size: 0.88rem; color: var(--text-muted); }
.card-price { font-size: 1.2rem; font-weight: 800; color: var(--blue-800); margin-top: 12px; }

/* ── Grids ── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }

/* ── Event Cards ── */
.event-card img { width: 100%; display: block; transition: transform 0.6s cubic-bezier(0.16,0.8,0.3,1); }
.event-card:hover img { transform: scale(1.04); }
.event-card-body { padding: 20px; }
.event-date {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.76rem; font-weight: 800; letter-spacing: 0.04em;
  color: var(--blue-800); background: var(--blue-50); border: 1px solid var(--accent-border);
  border-radius: 999px; padding: 3px 11px; margin-bottom: 10px;
}

/* ── Artist Cards ── */
.artist-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.artist-card-img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: top center; transition: transform 0.6s cubic-bezier(0.16,0.8,0.3,1); }
.artist-card:hover .artist-card-img { transform: scale(1.05); }
.artist-card-body { padding: 18px; }
.artist-name { font-weight: 800; font-size: 1.05rem; margin-bottom: 4px; color: var(--blue-900); }
.artist-genre { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--red); margin-bottom: 8px; }
.artist-desc { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }
.artist-contact { margin-top: 12px; font-size: 0.8rem; color: var(--text-light); }
.artist-contact a { color: var(--blue-700); font-weight: 600; }

/* ── Shop ── */
.shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.shop-card { display: flex; flex-direction: column; }
.shop-card img { width: 100%; display: block; aspect-ratio: 4/3; object-fit: cover; transition: transform 0.6s cubic-bezier(0.16,0.8,0.3,1); }
.shop-card:hover img { transform: scale(1.05); }
.shop-card-body { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.shop-card-title { font-weight: 800; font-size: 1rem; margin-bottom: 6px; color: var(--blue-900); }
.shop-card-desc { font-size: 0.85rem; color: var(--text-muted); flex: 1; }
.shop-card-price {
  font-size: 1.05rem; font-weight: 900; color: var(--blue-800); margin-top: 12px;
  display: inline-block; background: var(--blue-50); padding: 4px 12px; border-radius: 999px; align-self: flex-start;
}
.shop-card-cta { margin-top: 14px; }

/* ── Team ── */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 24px; }
.team-card { padding: 24px; text-align: center; }
.team-avatar { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; margin: 0 auto 14px; border: 3px solid var(--blue-100); box-shadow: 0 6px 16px rgba(6,0,151,0.15); }
.team-role-badge {
  display: inline-block; font-size: 0.66rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--blue-900); background: var(--gold); border-radius: 999px; padding: 3px 10px; margin-bottom: 8px;
}
.team-name { font-weight: 800; font-size: 1rem; margin-bottom: 4px; color: var(--blue-900); }
.team-title { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 8px; }
.team-contact { font-size: 0.8rem; color: var(--text-light); line-height: 1.7; }
.team-contact a { color: var(--blue-700); display: block; }

/* ── Info Box ── */
.info-box {
  background: linear-gradient(135deg, var(--blue-50), #fff);
  border: 1px solid var(--accent-border);
  border-left: 5px solid var(--blue-800);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 32px;
  box-shadow: var(--shadow-sm);
}
.info-box p { color: var(--text-muted); margin: 0; }
.info-box a { font-weight: 700; }

/* ── CTA-Box (Nachthimmel) ── */
.cta-box {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(3,0,77,0.86) 0%, rgba(6,0,151,0.7) 55%, rgba(200,16,46,0.55) 100%),
    url('assets/backgrounds/bg-nacht.jpg') center/cover no-repeat;
  color: white;
  border-radius: var(--radius-xl);
  padding: 56px 48px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  isolation: isolate;
}
.cta-box::after {
  content: '';
  position: absolute; inset: 0;
  background: var(--mtn-near) bottom / 110% 40% no-repeat;
  opacity: 0.6;
  z-index: -1;
}
.cta-box h2 { color: white; margin-bottom: 12px; text-shadow: 0 4px 20px rgba(0,0,0,0.5); }
.cta-box p { color: rgba(255,255,255,0.9); font-size: 1.05rem; margin-bottom: 26px; }
.cta-box .btn-white { background: var(--gold); color: var(--blue-900); font-weight: 800; box-shadow: 0 8px 22px rgba(245,183,0,0.4); }
.cta-box .btn-white:hover { background: #ffd23f; text-decoration: none; transform: translateY(-2px) scale(1.02); }

/* ── Preise ── */
.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 560px; margin: 32px auto; }
.price-card { border: 2px solid var(--border); padding: 28px; text-align: center; }
.price-card:hover { border-color: var(--blue-800); }
.price-amount { font-size: 2.2rem; font-weight: 900; color: var(--blue-800); line-height: 1; margin-bottom: 6px; }
.price-label { font-weight: 800; color: var(--blue-900); margin-bottom: 4px; }
.price-note { font-size: 0.78rem; color: var(--text-muted); }

/* ── Formulare ── */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 0.85rem; font-weight: 700; color: var(--blue-900); }
.form-group input, .form-group select, .form-group textarea {
  padding: 11px 14px;
  border: 1.5px solid var(--border-dark);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.92rem;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.15s, box-shadow 0.15s;
  outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--blue-800); box-shadow: var(--glow); }
.form-group.full { grid-column: 1 / -1; }
.form-section-title {
  font-size: 0.78rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--blue-800); grid-column: 1 / -1; padding-top: 16px; border-top: 1px solid var(--border); margin-top: 8px;
}

/* ── Footer (Nachthimmel) ── */
footer {
  position: relative;
  background:
    linear-gradient(180deg, rgba(2,0,58,0.82) 0%, rgba(2,0,58,0.95) 100%),
    url('assets/backgrounds/bg-nacht.jpg') center/cover no-repeat;
  color: rgba(255,255,255,0.82);
  padding: 72px 0 0;
  margin-top: 0;
  overflow: hidden;
}
footer::before {
  content: '';
  position: absolute; left: 0; right: 0; top: -1px;
  height: 70px;
  background: var(--mtn-near) top / 120% 100% no-repeat;
  transform: scaleY(-1);
  opacity: 0.0;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; position: relative; }
.footer-brand p { font-size: 0.88rem; color: rgba(255,255,255,0.6); margin-top: 12px; line-height: 1.7; }
.footer-logo-area { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.footer-logo-area img { height: 42px; width: auto; border-radius: 50%; border: 2px solid rgba(255,255,255,0.3); }
.footer-wordmark { font-size: 1.1rem; font-weight: 900; color: white; }
.footer-col h4 { color: var(--gold); font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 14px; }
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col a { font-size: 0.88rem; color: rgba(255,255,255,0.65); transition: color 0.15s, padding-left 0.15s; text-decoration: none; }
.footer-col a:hover { color: white; text-decoration: none; padding-left: 4px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 20px 0;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.82rem; color: rgba(255,255,255,0.45); flex-wrap: wrap; gap: 12px; position: relative;
}
footer .footer-login { color: rgba(255,255,255,0.3); font-size: 0.75rem; text-decoration: none; }
footer .footer-login:hover { color: rgba(255,255,255,0.7); }

/* ── Lightbox (Bild zieht sich aus dem Rahmen, ploppt, blättert) ── */
.lightbox-overlay {
  position: fixed; inset: 0; z-index: 999;
  background: rgba(2,0,58,0.0); backdrop-filter: blur(0px);
  opacity: 0; pointer-events: none;
  transition: background 0.5s ease, backdrop-filter 0.5s ease, opacity 0.3s ease;
}
.lightbox-overlay.active { opacity: 1; pointer-events: auto; background: rgba(2,0,58,0.9); backdrop-filter: blur(8px); }
.lb-flyer {
  position: fixed; z-index: 1001;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 90px rgba(0,0,0,0.6);
  transform-origin: center center;
  will-change: transform;
  pointer-events: none;
  backface-visibility: hidden;
}
.lb-flyer.pull {
  border-radius: 0;
  box-shadow: none;
  -webkit-mask-image: radial-gradient(circle at center, #000 55%, transparent 100%);
          mask-image: radial-gradient(circle at center, #000 55%, transparent 100%);
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: center; mask-position: center;
  -webkit-mask-size: 40% 40%; mask-size: 40% 40%;
}
.lb-flyer.settled { transition: left 0.25s, top 0.25s, width 0.25s, height 0.25s; }
.lightbox-close, .lb-arrow {
  position: fixed; z-index: 1002;
  background: rgba(255,255,255,0.14); color: white; border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50%; width: 48px; height: 48px; font-size: 1.25rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, transform 0.2s;
  backdrop-filter: blur(6px);
}
.lightbox-close { top: 20px; right: 24px; }
.lightbox-close:hover, .lb-arrow:hover { background: var(--blue-800); border-color: var(--blue-500); transform: scale(1.08); }
.lb-arrow { top: 50%; margin-top: -24px; width: 56px; height: 56px; font-size: 1.5rem; }
.lb-arrow.prev { left: 22px; }
.lb-arrow.next { right: 22px; }
.lb-count {
  position: fixed; z-index: 1002; left: 50%; bottom: 22px; transform: translateX(-50%);
  color: rgba(255,255,255,0.8); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.08em;
  background: rgba(2,0,58,0.5); padding: 5px 14px; border-radius: 999px;
}
.lightbox-trigger { cursor: zoom-in; }
@media (max-width: 768px) {
  .lb-arrow { width: 44px; height: 44px; margin-top: -22px; }
  .lb-arrow.prev { left: 8px; } .lb-arrow.next { right: 8px; }
}

/* ── Trommel-Seitenwechsel ── */
/* Feste Bühnenhöhe in lvh: unabhängig von der ein-/ausgeklappten Browserleiste,
   damit Trommelfläche und Ankunfts-Overlay exakt dieselbe Bildskalierung haben */
.mf-drum-stage {
  position: fixed; top: 0; left: 0; right: 0; z-index: 2000;
  height: 100vh; height: 100lvh;
  perspective: 1500px; perspective-origin: 50% 50%;
  background: var(--blue-950);
  overflow: hidden;
}
.mf-drum { position: absolute; inset: 0; transform-style: preserve-3d; will-change: transform; }
.mf-face {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  backface-visibility: hidden;
  display: flex; align-items: center; justify-content: center;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08), 0 0 80px rgba(0,0,0,0.45);
}
.mf-face::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(3,0,77,0.55), rgba(3,0,77,0.25) 45%, rgba(3,0,77,0.75));
}
/* Ankunfts-Overlay: Kopie der letzten Trommelfläche, blendet 0.6 s über die Zielseite aus */
.mf-arrive {
  position: fixed; top: 0; left: 0; right: 0; z-index: 2999;
  height: 100vh; height: 100lvh;
  overflow: hidden;
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.6s ease;
}
.mf-arrive.out { opacity: 0; }
.mf-arrive .mf-face { position: absolute; inset: 0; transform: none; }

/* Live-Abbild der aktuellen Seite (erste Trommelfläche) */
.mf-face-live { overflow: hidden; background: #fff; display: block; }
.mf-face-live::before { display: none; }
.mf-live-wrap { position: absolute; left: 0; top: 0; pointer-events: none; }
.mf-face-live header { pointer-events: none; }
.mf-face-inner { position: relative; text-align: center; color: #fff; transform: translateZ(40px); }
.mf-face-inner img { width: 96px; height: 96px; border-radius: 50%; margin: 0 auto 18px; border: 4px solid rgba(255,255,255,0.85); box-shadow: 0 16px 40px rgba(0,0,0,0.5); }
.mf-face-inner h2 { color: #fff; font-size: clamp(1.8rem, 4vw, 3rem); text-shadow: 0 6px 30px rgba(0,0,0,0.6); letter-spacing: -0.02em; }
.mf-face-step { margin-top: 12px; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.2em; color: var(--gold); }
.mf-drum-vignette { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at center, transparent 55%, rgba(2,0,58,0.7) 100%); }
body.mf-drum-active > *:not(.mf-drum-stage) { opacity: 0; }

/* ── Scroll-Sprites (Alpen-Fauna & -Flora, Noten, Bergband) ── */
#mf-fx { position: fixed; inset: 0; pointer-events: none; z-index: 60; overflow: hidden; }
.mf-sp { position: absolute; left: 0; top: 0; will-change: transform; visibility: hidden; }
.mf-sp svg { width: 100%; height: auto; display: block; overflow: visible; filter: drop-shadow(0 6px 10px rgba(3,0,77,0.25)); }
.mf-sp-band svg { filter: none; }
.mf-sp-butterfly .wing { transform-origin: 32px 24px; transform-box: view-box; }
.mf-sp-butterfly .wl { animation: mf-flap 0.38s ease-in-out infinite alternate; }
.mf-sp-butterfly .wr { animation: mf-flap 0.38s ease-in-out infinite alternate; }
@keyframes mf-flap { from { transform: scaleX(1); } to { transform: scaleX(0.22); } }
.mf-sp-eagle svg { animation: mf-glide 3.2s ease-in-out infinite alternate; }
@keyframes mf-glide { from { transform: rotate(-3deg) translateY(0); } to { transform: rotate(3deg) translateY(6px); } }

/* Bergband in hellen Sektionen zieht mit dem Scroll quer durchs Bild */
.section-alt::after {
  content: '';
  position: absolute; left: -20%; right: -20%; bottom: 0; height: 46%;
  background: var(--mtn-near) bottom / 60% 100% repeat-x;
  opacity: 0.05;
  transform: translateX(calc(var(--sy, 0) * -22%));
  pointer-events: none;
}

/* Wisch-Hinweis (Touch, einmal pro Sitzung) */
.mf-swipe-hint {
  position: fixed; left: 50%; bottom: 22px; z-index: 950;
  transform: translate(-50%, 16px); opacity: 0;
  background: rgba(3,0,77,0.88); color: #fff; backdrop-filter: blur(8px);
  padding: 10px 18px; border-radius: 999px; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.02em;
  display: flex; align-items: center; gap: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
  transition: opacity 0.4s ease, transform 0.5s cubic-bezier(0.16,0.8,0.3,1);
  pointer-events: none;
}
.mf-swipe-hint.on { opacity: 1; transform: translate(-50%, 0); }
.mf-swipe-hint span { color: var(--gold); font-size: 1.3rem; line-height: 1; animation: mf-nudge 1.1s ease-in-out infinite alternate; }
.mf-swipe-hint span:last-child { animation-delay: 0.55s; }
@keyframes mf-nudge { from { transform: translateX(-3px); } to { transform: translateX(3px); } }

/* Videos: erstes Frame als Vorschau, Play-Button als Overlay-Hinweis */
video[data-frame] { background: var(--blue-100); }
video[data-frame].has-frame { background: transparent; }

/* ── Utilities ── */
.mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; } .mt-48 { margin-top: 48px; }
.mb-16 { margin-bottom: 16px; } .mb-24 { margin-bottom: 24px; } .mb-32 { margin-bottom: 32px; } .mb-48 { margin-bottom: 48px; }
.text-center { text-align: center; }
.text-accent { color: var(--blue-800); }
.divider { border: none; border-top: 1px solid var(--border); margin: 48px 0; }
.badge { display: inline-flex; align-items: center; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; }
.badge-green { background: #dcfce7; color: #166534; }
.badge-blue { background: var(--blue-100); color: var(--blue-800); }
.badge-red { background: rgba(200,16,46,0.1); color: var(--red); border: 1px solid rgba(200,16,46,0.3); }

/* ══════════════════════════════════════════════════════════
   BEWEGUNG
   ══════════════════════════════════════════════════════════ */
@view-transition { navigation: auto; }

@media (prefers-reduced-motion: no-preference) {
  /* Seitenwechsel: die Trommel (mf-fx.js) rollt zur Zielseite, danach nur
     noch ein weiches Überblenden, damit die Ankunft nahtlos wirkt */
  @keyframes mf-page-out { from { opacity: 1; } to { opacity: 0; } }
  @keyframes mf-page-in  { from { opacity: 0; transform: scale(1.015); } to { opacity: 1; transform: none; } }
  ::view-transition-old(root) { animation: mf-page-out 0.28s ease both; }
  ::view-transition-new(root) { animation: mf-page-in 0.5s cubic-bezier(0.16,0.8,0.3,1) both; }

  /* Reveal beim Scrollen: Sektionen und Karten kippen aus der Tiefe herein */
  .mf-reveal {
    opacity: 0;
    transform: perspective(1000px) rotateX(9deg) translateY(36px) translateZ(-60px);
    transition: opacity 0.7s ease, transform 0.8s cubic-bezier(0.16,0.8,0.3,1);
    transition-delay: var(--d, 0ms);
    will-change: opacity, transform;
  }
  .mf-reveal.mf-in { opacity: 1; transform: perspective(1000px) rotateX(0) translateY(0) translateZ(0); }

  /* Hero-Inhalt: gestaffelter Einflug */
  .hero .hero-badge, .hero h1, .hero p, .hero-actions, .hero-image {
    animation: mf-rise 0.9s cubic-bezier(0.16,0.8,0.3,1) both;
  }
  .hero h1 { animation-delay: 0.1s; }
  .hero p { animation-delay: 0.22s; }
  .hero-actions { animation-delay: 0.34s; }
  .hero-image { animation-delay: 0.2s; animation-fill-mode: backwards; transform-style: preserve-3d; }
  @keyframes mf-rise {
    from { opacity: 0; transform: translateY(28px) perspective(800px) rotateX(10deg); }
    to   { opacity: 1; transform: none; }
  }
  .page-header h1, .page-header p, .page-header .breadcrumb { animation: mf-rise 0.8s cubic-bezier(0.16,0.8,0.3,1) both; }
  .page-header h1 { animation-delay: 0.08s; }
  .page-header p { animation-delay: 0.18s; }
}

/* ════════════════════════════════════════════════════════════
   RESPONSIVE
   ≤1100px: Tablet & Handy → Hamburger-Menü (Vollbild-Panel)
   ≤768px:  Handy-Layout
   ════════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .nav-fb { display: none; }
  .nav-hamburger { display: flex; margin-left: auto; }
  /* Panel unterhalb der Kopfzeile (absolut zur sticky Kopfzeile – der
     backdrop-filter der Kopfzeile macht "fixed" sonst unbrauchbar) */
  nav#main-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    height: calc(100vh - 68px); height: calc(100dvh - 68px);
    margin: 0;
    display: flex; flex-direction: column; align-items: stretch; gap: 6px;
    padding: 22px 20px 32px;
    overflow-y: auto; -webkit-overflow-scrolling: touch;
    background:
      linear-gradient(180deg, rgba(3,0,77,0.97) 0%, rgba(6,0,151,0.97) 70%, rgba(20,20,184,0.97) 100%),
      var(--mtn-far) bottom / 180% 40% no-repeat;
    box-shadow: 0 30px 60px rgba(0,0,0,0.35);
    opacity: 0; visibility: hidden; pointer-events: none;
    transform: translateY(-12px) perspective(900px) rotateX(-6deg);
    transform-origin: top center;
    transition: opacity 0.28s ease, transform 0.36s cubic-bezier(0.16,0.8,0.3,1), visibility 0s linear 0.36s;
  }
  nav#main-nav.open {
    opacity: 1; visibility: visible; pointer-events: auto;
    transform: none;
    transition: opacity 0.22s ease, transform 0.36s cubic-bezier(0.16,0.8,0.3,1), visibility 0s;
  }
  nav#main-nav a {
    width: 100%; padding: 15px 18px; font-size: 1.15rem; font-weight: 700;
    color: rgba(255,255,255,0.92); border-radius: 14px;
    background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08);
    opacity: 0; transform: translateX(-16px);
    transition: opacity 0.35s ease, transform 0.4s cubic-bezier(0.16,0.8,0.3,1), background 0.15s;
  }
  nav#main-nav.open a { opacity: 1; transform: none; }
  nav#main-nav a:nth-child(1) { transition-delay: 0.05s; } nav#main-nav a:nth-child(2) { transition-delay: 0.09s; }
  nav#main-nav a:nth-child(3) { transition-delay: 0.13s; } nav#main-nav a:nth-child(4) { transition-delay: 0.17s; }
  nav#main-nav a:nth-child(5) { transition-delay: 0.21s; } nav#main-nav a:nth-child(6) { transition-delay: 0.25s; }
  nav#main-nav a:nth-child(7) { transition-delay: 0.29s; } nav#main-nav a:nth-child(8) { transition-delay: 0.33s; }
  nav#main-nav a:nth-child(9) { transition-delay: 0.37s; } nav#main-nav a:nth-child(10) { transition-delay: 0.41s; }
  nav#main-nav a:nth-child(11) { transition-delay: 0.45s; }
  nav#main-nav a::after { display: none; }
  nav#main-nav a:hover { color: #fff; background: rgba(255,255,255,0.12); }
  nav#main-nav a.active { background: var(--gold); color: var(--blue-900); border-color: transparent; }
  nav#main-nav .nav-fb-mobile {
    display: inline-flex; align-items: center; gap: 8px;
    margin-top: 10px; background: #1877f2; border-color: transparent; justify-content: center;
  }
  nav#main-nav .nav-login {
    font-size: 0.8rem !important; opacity: 0.55; background: none; border: none;
    text-align: center; padding: 10px; margin-top: auto;
  }
  body.nav-open { overflow: hidden; }
  body.nav-open #mf-fx { display: none; }
}

@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
  .hero-inner { gap: 36px; }
  .hero-image img { max-width: 240px; }
}

@media (max-width: 768px) {
  :root { --max-width: 100%; }
  html { -webkit-text-size-adjust: 100%; }
  .container { padding: 0 18px; }
  .section { padding: 52px 0; }
  .section-alt { padding-top: 84px; clip-path: polygon(0 26px, 15% 8px, 30% 24px, 50% 2px, 70% 22px, 85% 6px, 100% 18px, 100% 100%, 0 100%); }
  .section-header { margin-bottom: 32px; }
  h1 { font-size: clamp(1.9rem, 8vw, 2.4rem); }
  h2 { font-size: clamp(1.4rem, 6vw, 1.8rem); }
  p { font-size: 0.97rem; }

  /* Hero: kompakter, Wappen oben, Text zentriert */
  .hero { padding: 40px 0 64px; min-height: auto; }
  .hero-inner { grid-template-columns: 1fr; gap: 22px; text-align: center; }
  .hero-image { order: -1; }
  .hero-image img { max-width: 150px; margin: 0 auto; border-width: 4px; }
  .hero p { margin-left: auto; margin-right: auto; font-size: 1.02rem; }
  .hero-actions { justify-content: center; }
  .hero .btn { width: 100%; justify-content: center; max-width: 320px; }

  /* Seitenköpfe */
  .page-header { padding: 44px 0 52px; min-height: 200px; }
  .page-header p { font-size: 1rem; }

  /* Berg-Silhouetten: auf schmalen Screens flach statt spitz */
  .mf-px > div { inset: -6% -3%; }
  .mf-px-far  { background-size: 260% 24%; }
  .mf-px-near { background-size: 220% 18%; }
  .mf-px-haze {
    background:
      linear-gradient(180deg, rgba(3,0,77,0.6) 0%, rgba(3,0,77,0.42) 45%, rgba(3,0,77,0.82) 100%);
  }
  .stat-strip::before { background-size: 260% 50%; }
  .cta-box::after { background-size: 220% 30%; }

  /* Raster */
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; gap: 18px; }
  .artist-grid, .shop-grid, .team-grid { grid-template-columns: 1fr; gap: 18px; }
  .form-grid { grid-template-columns: 1fr; }
  .price-grid { grid-template-columns: 1fr; max-width: 320px; }
  .info-box { padding: 16px 18px; }
  .cta-box { padding: 36px 22px; border-radius: var(--radius-lg); }
  .cta-box .btn { width: 100%; justify-content: center; }

  /* Buttons & Tap-Ziele */
  .btn { padding: 13px 22px; min-height: 46px; }

  /* Footer & Stats */
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .stat-strip { padding: 28px 0; }
  .stat-strip .stats-row { gap: 0; }
  .stat { min-width: 50%; border-right: none; padding: 12px 8px; }
  .stat-number { font-size: 1.6rem; }

  /* Chronik-Zeitleiste */
  body .timeline { padding-left: 18px; }
  body .timeline .year-header { flex-wrap: wrap; gap: 8px 12px; align-items: center; }
  body .timeline .year-header h2 { font-size: 1.5rem; }
  body .timeline .photo-gallery { column-count: 2; column-gap: 6px; }
  body .timeline .event-photos-grid { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); }

  /* Sprites: kleiner und zurückhaltender */
  .mf-sp { transform-origin: center; }
  .mf-sp-band { opacity: 0.05 !important; }
  .mf-sp-butterfly, .mf-sp-note, .mf-sp-note2, .mf-sp-edelweiss, .mf-sp-gentian { opacity: 0.6 !important; }

  /* Karten-Bilder nicht zu hoch */
  .shop-card img { aspect-ratio: 16/10; }
  .event-card img { max-height: 220px; object-fit: cover; }
}

@media (max-width: 400px) {
  .nav-logo-text { display: none; }
  .nav-logo img { height: 42px; }
}
