/* ==========================================================================
   Magic Flow 8.0 — Rebuild main.css
   Design-System: dark/kosmischer Magic-Flow-Look, Gold-Akzent.
   Alle Inhalte kommen aus content/config.json (render.js) — dieses CSS
   liefert nur Layout, Tokens und Komponenten.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design-Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Farben (aus Live-CSS extrahiert, siehe content/config.json → colors) */
  --mf-gold: rgb(201, 168, 76);            /* Akzent-Gold (Spec) */
  --mf-gold-bright: rgb(251, 194, 1);      /* Live-CTA-Gelbgold */
  --mf-gold-soft: rgb(245, 205, 72);
  --mf-bronze: rgb(190, 148, 106);
  --mf-bronze-alt: rgb(225, 187, 114);
  --mf-purple-deep: rgb(34, 20, 64);
  --mf-purple-dark: rgb(40, 25, 84);
  --mf-purple: rgb(112, 41, 125);
  --mf-purple-alt: rgb(106, 32, 134);
  --mf-green: rgb(38, 139, 15);
  --mf-green-hl: #2abb61;
  --mf-red: rgb(193, 46, 46);
  --mf-white: rgb(255, 255, 255);
  --mf-black: rgb(0, 0, 0);
  --mf-grey-light: rgb(245, 245, 245);
  --mf-grey-mid: rgb(198, 196, 196);
  --mf-grey-text: rgb(102, 102, 102);

  /* Flächen */
  --mf-bg: #150d2e;                        /* Seiten-Grund (kosmisch dunkel) */
  --mf-bg-deep: #0d0820;
  --mf-surface: rgba(255, 255, 255, 0.04);
  --mf-surface-strong: rgba(255, 255, 255, 0.08);
  --mf-gold-tint: rgba(201, 168, 76, 0.08);
  --mf-gold-border: rgba(201, 168, 76, 0.45);
  --mf-text: rgba(255, 255, 255, 0.92);
  --mf-text-dim: rgba(255, 255, 255, 0.7);

  /* Typografie */
  --mf-font-head: 'Montserrat', Arial, Helvetica, sans-serif;
  --mf-font-body: 'Figtree', 'Inter', Arial, Helvetica, sans-serif;
  --mf-fs-xs: 0.8125rem;
  --mf-fs-sm: 0.9375rem;
  --mf-fs-base: 1.0625rem;
  --mf-fs-md: 1.25rem;
  --mf-fs-lg: clamp(1.375rem, 1.1rem + 1.2vw, 1.875rem);
  --mf-fs-xl: clamp(1.75rem, 1.3rem + 2vw, 2.75rem);
  --mf-fs-hero: clamp(2.25rem, 1.5rem + 3.5vw, 4.25rem);

  /* Layout */
  --mf-max: 1140px;
  --mf-max-wide: 1320px;
  --mf-pad: clamp(1rem, 4vw, 2rem);
  --mf-section-y: clamp(3rem, 6vw, 5.5rem);
  --mf-radius: 14px;
  --mf-radius-lg: 22px;
  --mf-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);

  /* Motion
     --mf-ease      : Hover/UI-Übergänge (kurz)
     --mf-ease-out  : Entrance/Reveals (expo-out, natürlicher Auslauf) — Upgrade M1
     Gold-Konvention (Upgrade K1): GLOW-/Hover-Leuchteffekte basieren einheitlich
     auf --mf-gold-bright (Live-CTA-Gelbgold, rgba(251,194,1,…)); Tints/Borders/
     Flächen bleiben auf dem Spec-Gold --mf-gold (201,168,76). Keine sichtbare
     Farbänderung — nur dokumentierte Trennung der Rollen. */
  --mf-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --mf-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --mf-dur: 0.6s;
  --mf-dur-reveal: 0.85s;
  --mf-glow-gold: rgba(251, 194, 1, 0.35);
}

/* --------------------------------------------------------------------------
   2. Reset / Base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

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

/* Upgrade M7: Anker-Ziele (u.a. Ticket-Anker #tve-jump-…) landen mit etwas
   Luft statt bündig an der Oberkante */
section[id], [id^='tve-jump'] { scroll-margin-top: 16px; }

body {
  margin: 0;
  background:
    radial-gradient(1200px 600px at 80% -100px, rgba(112, 41, 125, 0.35), transparent 65%),
    radial-gradient(900px 500px at 10% 30%, rgba(40, 25, 84, 0.55), transparent 60%),
    var(--mf-bg);
  color: var(--mf-text);
  font-family: var(--mf-font-body);
  font-size: var(--mf-fs-base);
  line-height: 1.65;
  overflow-x: clip;
}

img, svg, video, iframe { max-width: 100%; height: auto; display: block; }
iframe { border: 0; }

h1, h2, h3, h4 {
  font-family: var(--mf-font-head);
  line-height: 1.2;
  margin: 0 0 0.6em;
  text-wrap: balance;
}
h1 { font-size: var(--mf-fs-hero); font-weight: 800; }
h2 { font-size: var(--mf-fs-xl); font-weight: 800; }
h3 { font-size: var(--mf-fs-lg); font-weight: 700; }
h4 { font-size: var(--mf-fs-md); font-weight: 700; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--mf-gold-soft); text-underline-offset: 3px; }
a:hover { color: var(--mf-gold-bright); }

ul, ol { margin: 0 0 1em; padding-left: 1.3em; }

::selection { background: var(--mf-gold); color: var(--mf-purple-deep); }

:focus-visible {
  outline: 3px solid var(--mf-gold-bright);
  outline-offset: 2px;
  border-radius: 4px;
}

/* V4 A12: Event-Datum (10.10. & 11.10.2026) immer einzeilig */
.u-nowrap { white-space: nowrap; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  clip: rect(0 0 0 0); clip-path: inset(50%);
  overflow: hidden; white-space: nowrap;
}

/* Upgrade M9: Scroll-Progress-Indicator in Gold (motion.js setzt scaleX per rAF;
   nur transform, kein Layout; aria-hidden; reduced-motion: JS setzt Wert direkt) */
.mf-scrollprogress {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 3px;
  z-index: 400;
  background: linear-gradient(90deg, var(--mf-gold-soft), var(--mf-gold-bright));
  transform: scaleX(0);
  transform-origin: left center;
  pointer-events: none;
}

/* Skip-Link */
.mf-skip-link {
  position: absolute;
  top: -48px; left: 12px;
  z-index: 200;
  background: var(--mf-gold-bright);
  color: var(--mf-purple-deep);
  font-weight: 700;
  padding: 0.6em 1em;
  border-radius: 0 0 10px 10px;
  transition: top 0.2s var(--mf-ease);
}
.mf-skip-link:focus { top: 0; }

/* --------------------------------------------------------------------------
   3. Sektions-Grundlayout
   -------------------------------------------------------------------------- */
.mf-section { padding: var(--mf-section-y) var(--mf-pad); position: relative; }
.mf-section--flush { padding-top: 0; padding-bottom: 0; }
.mf-section--tint { background: rgba(255, 255, 255, 0.025); }
.mf-section--deep {
  background:
    radial-gradient(800px 400px at 50% 0%, rgba(112, 41, 125, 0.25), transparent 70%),
    var(--mf-bg-deep);
}

.mf-container { max-width: var(--mf-max); margin-inline: auto; }
.mf-container--wide { max-width: var(--mf-max-wide); margin-inline: auto; }
.mf-container--narrow { max-width: 860px; margin-inline: auto; }

.mf-center { text-align: center; }
.mf-kicker {
  display: inline-block;
  font-family: var(--mf-font-head);
  font-size: var(--mf-fs-sm);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mf-gold);
  margin-bottom: 0.75rem;
}
.mf-headline-gold { color: var(--mf-gold-bright); }
.mf-sub { color: var(--mf-text-dim); font-size: var(--mf-fs-md); max-width: 46em; margin-inline: auto; }

.mf-divider-glow {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--mf-gold-border), transparent);
  border: 0;
  margin: 0;
}

/* Desktop/Mobile-Varianten (Original hat doppelte Sektionen) */
@media (max-width: 767px) { .mf-hide-mobile { display: none !important; } }
@media (min-width: 768px) { .mf-hide-desktop { display: none !important; } }

/* --------------------------------------------------------------------------
   4. Buttons / CTAs
   -------------------------------------------------------------------------- */
.mf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  min-height: 48px;
  padding: 0.85em 2em;
  border: 0;
  border-radius: 999px;
  font-family: var(--mf-font-head);
  font-size: var(--mf-fs-base);
  font-weight: 800;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  color: var(--mf-purple-deep);
  background: linear-gradient(180deg, var(--mf-gold-soft), var(--mf-gold-bright));
  box-shadow:
    0 6px 24px rgba(251, 194, 1, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
  transition: transform 0.25s var(--mf-ease), box-shadow 0.25s var(--mf-ease), filter 0.25s;
}
.mf-btn:hover, .mf-btn:focus-visible {
  /* Upgrade M4: Micro-Scale + Gold-Glow (Basis --mf-gold-bright, siehe K1-Konvention) */
  transform: translateY(-2px) scale(1.02);
  filter: brightness(1.05);
  box-shadow:
    0 10px 32px rgba(251, 194, 1, 0.5),
    0 0 24px var(--mf-glow-gold),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
  color: var(--mf-purple-deep);
}
.mf-btn:active { transform: translateY(0) scale(0.99); }

.mf-btn--ghost {
  background: transparent;
  color: var(--mf-gold-soft);
  border: 2px solid var(--mf-gold-border);
  box-shadow: none;
}
.mf-btn--ghost:hover { color: var(--mf-gold-bright); border-color: var(--mf-gold-bright); }

.mf-btn--lg { font-size: var(--mf-fs-md); padding: 1em 2.6em; }

/* --------------------------------------------------------------------------
   5. Countdown-Bar + Countdown-Tiles (Gold-Look wie Original)
   -------------------------------------------------------------------------- */
.mf-announce {
  padding: 1rem var(--mf-pad) 1.4rem;
  background:
    linear-gradient(180deg, rgba(201, 168, 76, 0.12), rgba(201, 168, 76, 0.02)),
    var(--mf-bg-deep);
  border-bottom: 1px solid var(--mf-gold-border);
  text-align: center;
}
.mf-announce__headline {
  font-family: var(--mf-font-head);
  font-size: clamp(1rem, 0.9rem + 0.8vw, 1.35rem);
  font-weight: 700;
  margin: 0 0 0.75rem;
}
.mf-announce__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem 1.75rem;
}

.mf-countdown {
  display: flex;
  gap: clamp(0.4rem, 1.5vw, 0.75rem);
  justify-content: center;
}
.mf-countdown__tile {
  position: relative;
  min-width: clamp(58px, 8vw, 76px);
  padding: 0.55rem 0.4rem 0.45rem;
  border-radius: 12px;
  background: rgba(201, 168, 76, 0.08);
  border: 1px solid var(--mf-gold-border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
/* Upgrade M6: dezenter Gold-Puls auf dem Sekunden-Tile (Overlay, nur opacity —
   von js/countdown.js per WAAPI animiert, reduced-motion-gated im JS) */
.mf-countdown__pulse {
  position: absolute;
  inset: -1px;
  border-radius: 12px;
  box-shadow: 0 0 14px 1px rgba(251, 194, 1, 0.28);
  opacity: 0;
  pointer-events: none;
}
.mf-countdown__num {
  display: block;
  font-family: var(--mf-font-head);
  font-size: clamp(1.35rem, 1rem + 1.6vw, 2rem);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--mf-gold-bright);
  line-height: 1.1;
}
.mf-countdown__label {
  display: block;
  font-size: var(--mf-fs-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mf-text-dim);
}
.mf-countdown--expired .mf-countdown__tiles { display: none; }
.mf-countdown__expired {
  display: none;
  font-family: var(--mf-font-head);
  font-weight: 800;
  font-size: var(--mf-fs-md);
  color: var(--mf-gold-bright);
}
.mf-countdown--expired .mf-countdown__expired { display: block; }
.mf-countdown__tiles { display: flex; gap: inherit; }

/* schmale CTA-Leiste */
.mf-ctastrip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1.5rem;
  padding: 0.8rem var(--mf-pad);
  background: linear-gradient(90deg, var(--mf-purple-deep), var(--mf-purple-alt), var(--mf-purple-deep));
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.mf-ctastrip__text {
  font-family: var(--mf-font-head);
  font-weight: 800;
  font-size: var(--mf-fs-md);
  margin: 0;
}

/* --------------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------------- */
.mf-hero {
  position: relative;
  min-height: clamp(420px, 62vh, 680px);
  display: grid;
  place-items: center;
  text-align: center;
  padding: clamp(4rem, 10vw, 7rem) var(--mf-pad);
  background:
    radial-gradient(1000px 500px at 50% -10%, rgba(112, 41, 125, 0.5), transparent 70%),
    linear-gradient(180deg, var(--mf-bg-deep), var(--mf-bg));
  overflow: hidden;
}
/* Upgrade M3: Gold-Glow als eigene Ebene (vorher Teil des .mf-hero-Backgrounds,
   visuell identisch) → per rAF-Parallax subtil bewegbar (nur transform).
   --mf-par-* wird von js/motion.js gesetzt; ohne JS/bei reduced-motion = 0. */
.mf-hero::before {
  content: '';
  position: absolute;
  inset: -60px;
  background: radial-gradient(700px 420px at 85% 90%, rgba(201, 168, 76, 0.12), transparent 60%);
  transform: translate3d(0, calc(var(--mf-par-glow, 0) * 1px), 0);
  pointer-events: none;
}
.mf-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mf-hero__inner { position: relative; z-index: 1; max-width: 900px; }
.mf-hero__title {
  color: var(--mf-gold-bright);
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.6);
  letter-spacing: 0.02em;
}
.mf-hero__date {
  font-family: var(--mf-font-head);
  font-size: var(--mf-fs-lg);
  font-weight: 700;
  letter-spacing: 0.12em;
}
/* dezente Sterne */
.mf-hero::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(2px 2px at 20% 30%, rgba(255,255,255,0.7), transparent 60%),
    radial-gradient(1.5px 1.5px at 70% 20%, rgba(255,255,255,0.55), transparent 60%),
    radial-gradient(2px 2px at 85% 60%, rgba(255,255,255,0.4), transparent 60%),
    radial-gradient(1.5px 1.5px at 40% 75%, rgba(255,255,255,0.5), transparent 60%),
    radial-gradient(1px 1px at 10% 80%, rgba(255,255,255,0.6), transparent 60%),
    radial-gradient(1px 1px at 55% 45%, rgba(255,255,255,0.45), transparent 60%);
  transform: translate3d(0, calc(var(--mf-par-stars, 0) * 1px), 0); /* Upgrade M3 */
  pointer-events: none;
}

/* Hero-CTA + Logo-Leiste */
.mf-logostrip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(1.25rem, 4vw, 2.5rem);
  margin-top: 2rem;
}
.mf-logostrip img {
  height: clamp(34px, 6vw, 56px);
  width: auto;
  opacity: 0.9;
  filter: grayscale(20%);
  transition: opacity 0.2s, filter 0.2s;
}
.mf-logostrip img:hover { opacity: 1; filter: none; }
.mf-salesbar { max-width: 640px; margin: 0 auto 1.75rem; }

/* --------------------------------------------------------------------------
   7. Video-Facade (Vimeo Lazy, Click-Consent)
   -------------------------------------------------------------------------- */
.mf-video {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  border-radius: var(--mf-radius-lg);
  overflow: hidden;
  background:
    radial-gradient(400px 220px at 50% 40%, rgba(201, 168, 76, 0.25), transparent 70%),
    linear-gradient(160deg, var(--mf-purple-dark), var(--mf-bg-deep));
  box-shadow: var(--mf-shadow);
  border: 1px solid rgba(201, 168, 76, 0.25);
}
.mf-video--portrait { aspect-ratio: 9 / 16; }
.mf-video__poster {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.mf-video__btn {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.55));
  border: 0;
  cursor: pointer;
  color: var(--mf-white);
  transition: background 0.25s;
}
.mf-video__btn:hover { background: linear-gradient(180deg, rgba(0,0,0,0.08) 40%, rgba(0,0,0,0.65)); }
.mf-video__play {
  width: clamp(58px, 9vw, 84px);
  height: clamp(58px, 9vw, 84px);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, var(--mf-gold-soft), var(--mf-gold-bright));
  box-shadow: 0 8px 30px rgba(251, 194, 1, 0.45);
  transition: transform 0.25s var(--mf-ease);
}
.mf-video__btn:hover .mf-video__play { transform: scale(1.08); }
/* Upgrade M10: sanfter Idle-Puls (atmender Gold-Ring, nur transform/opacity).
   Läuft nur, wenn die Facade im Viewport ist (.is-inview via motion.js). */
.mf-video__play { position: relative; }
.mf-video__play::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow: 0 0 22px 4px rgba(251, 194, 1, 0.4);
  opacity: 0;
  pointer-events: none;
}
.mf-video__btn.is-inview .mf-video__play::after {
  animation: mf-play-pulse 3s ease-in-out infinite;
}
@keyframes mf-play-pulse {
  0%, 100% { opacity: 0; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.06); }
}
.mf-video__play svg { width: 42%; height: 42%; fill: var(--mf-purple-deep); margin-left: 6%; }
.mf-video__hint {
  position: absolute;
  bottom: 0.6rem; left: 50%;
  transform: translateX(-50%);
  width: max-content;
  max-width: 92%;
  font-size: var(--mf-fs-xs);
  color: rgba(255, 255, 255, 0.85);
  background: rgba(0, 0, 0, 0.55);
  padding: 0.3em 0.9em;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}
.mf-video iframe,
.mf-video__el { position: absolute; inset: 0; width: 100%; height: 100%; }
/* self-hosted <video> füllt die Facade wie das iframe; contain = kein Beschnitt bei Hochkant */
.mf-video__el { border: 0; background: #000; object-fit: contain; }

/* Trust-Badges unterm Hero-Video */
.mf-badges {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1.75rem;
}
@media (min-width: 768px) { .mf-badges { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.mf-badge {
  padding: 0.9rem 0.75rem;
  text-align: center;
  border-radius: var(--mf-radius);
  background: var(--mf-gold-tint);
  border: 1px solid var(--mf-gold-border);
  font-family: var(--mf-font-head);
  font-weight: 700;
  font-size: var(--mf-fs-sm);
  color: var(--mf-gold-soft);
}

/* --------------------------------------------------------------------------
   8. Karten / Grids
   -------------------------------------------------------------------------- */
.mf-card {
  background: var(--mf-surface);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--mf-radius-lg);
  padding: clamp(1.25rem, 3vw, 2rem);
  box-shadow: var(--mf-shadow);
}
.mf-card--gold { background: var(--mf-gold-tint); border-color: var(--mf-gold-border); }

.mf-grid { display: grid; gap: clamp(1rem, 2.5vw, 1.75rem); }
.mf-grid > * { min-width: 0; }
.mf-grid--2 { grid-template-columns: 1fr; }
.mf-grid--3 { grid-template-columns: 1fr; }
@media (min-width: 700px) {
  .mf-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mf-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) { .mf-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Proof-Bar */
.mf-proof {
  text-align: center;
  font-family: var(--mf-font-head);
  font-weight: 700;
  font-size: var(--mf-fs-sm);
  letter-spacing: 0.04em;
}
.mf-proof img { width: clamp(90px, 14vw, 140px); margin: 0 auto 1rem; }

/* Checkliste (pain-points, not/for you) */
.mf-checklist { list-style: none; padding: 0; display: grid; gap: 0.9rem; }
.mf-checklist li {
  position: relative;
  padding-left: 2.4rem;
  text-align: left;
}
.mf-checklist li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.15em;
  width: 1.5rem; height: 1.5rem;
  border-radius: 50%;
  background: var(--mf-green-hl);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm-1.2 14.4-4.2-4.2 1.7-1.7 2.5 2.5 5.2-5.2 1.7 1.7-6.9 6.9z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm-1.2 14.4-4.2-4.2 1.7-1.7 2.5 2.5 5.2-5.2 1.7 1.7-6.9 6.9z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.mf-checklist--cross li::before {
  background: var(--mf-red);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm4.3 12.9-1.4 1.4L12 13.4l-2.9 2.9-1.4-1.4 2.9-2.9-2.9-2.9 1.4-1.4 2.9 2.9 2.9-2.9 1.4 1.4-2.9 2.9 2.9 2.9z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm4.3 12.9-1.4 1.4L12 13.4l-2.9 2.9-1.4-1.4 2.9-2.9-2.9-2.9 1.4-1.4 2.9 2.9 2.9-2.9 1.4 1.4-2.9 2.9 2.9 2.9z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Highlight-Kacheln */
.mf-tiles { display: grid; gap: 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 768px) { .mf-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .mf-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.mf-tile {
  position: relative;
  min-height: clamp(150px, 24vw, 230px);
  border-radius: var(--mf-radius-lg);
  overflow: hidden;
  display: grid;
  align-items: end;
  border: 1px solid rgba(201, 168, 76, 0.3);
  background:
    radial-gradient(300px 180px at 70% 20%, rgba(112, 41, 125, 0.55), transparent 70%),
    linear-gradient(160deg, var(--mf-purple-dark), var(--mf-bg-deep));
  background-size: cover;
  background-position: center;
}
.mf-tile__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mf-tile__label {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 2.25rem 1rem 1rem;
  font-family: var(--mf-font-head);
  font-weight: 700;
  font-size: var(--mf-fs-sm);
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.78));
}

/* Benefit-Karten (outcomes) */
.mf-benefit { text-align: center; }
.mf-benefit img { width: clamp(84px, 12vw, 120px); margin: 0 auto 1rem; }
.mf-benefit__tag {
  font-family: var(--mf-font-head);
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--mf-gold-bright);
  font-size: var(--mf-fs-md);
  margin-bottom: 0.5rem;
}

/* --------------------------------------------------------------------------
   9. Testimonial-Karussell
   -------------------------------------------------------------------------- */
.mf-carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(78vw, 340px);
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0.5rem 0.25rem 1.25rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-color: var(--mf-gold-border) transparent;
}
.mf-carousel > * { scroll-snap-align: center; }
.mf-carousel::-webkit-scrollbar { height: 8px; }
.mf-carousel::-webkit-scrollbar-thumb { background: var(--mf-gold-border); border-radius: 999px; }
.mf-carousel::-webkit-scrollbar-track { background: rgba(255, 255, 255, 0.06); border-radius: 999px; }

.mf-testimonial-name {
  font-family: var(--mf-font-head);
  font-weight: 700;
  text-align: center;
  margin-top: 0.6rem;
  color: var(--mf-text-dim);
  font-size: var(--mf-fs-sm);
}

/* statische Testimonial-Bilder */
.mf-testi-static { display: grid; gap: 1rem; grid-template-columns: 1fr; margin-top: 2rem; }
@media (min-width: 700px) { .mf-testi-static { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.mf-testi-static img {
  width: 100%;
  border-radius: var(--mf-radius);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--mf-white);
}

/* --------------------------------------------------------------------------
   10. Fortschritt / Counter
   -------------------------------------------------------------------------- */
.mf-progress { text-align: center; }
.mf-progress__gauge { width: clamp(180px, 30vw, 300px); margin: 0 auto 0.5rem; }
.mf-progress__value {
  font-family: var(--mf-font-head);
  font-size: clamp(2.5rem, 2rem + 3vw, 4rem);
  font-weight: 800;
  color: var(--mf-gold-bright);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.mf-progress__label {
  font-family: var(--mf-font-head);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mf-text-dim);
  margin-top: 0.35rem;
}

/* --------------------------------------------------------------------------
   11. Feature-Blöcke (Was Dich erwartet)
   -------------------------------------------------------------------------- */
.mf-feature {
  display: grid;
  gap: 1.5rem;
  align-items: center;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}
@media (min-width: 900px) {
  .mf-feature { grid-template-columns: 1fr 1fr; gap: clamp(2rem, 4vw, 3.5rem); }
  .mf-feature:nth-child(even) .mf-feature__media { order: 2; }
}
.mf-feature__media {
  border-radius: var(--mf-radius-lg);
  overflow: hidden;
  border: 1px solid rgba(201, 168, 76, 0.25);
  box-shadow: var(--mf-shadow);
  min-height: 220px;
  background:
    radial-gradient(320px 200px at 60% 30%, rgba(201, 168, 76, 0.18), transparent 70%),
    linear-gradient(160deg, var(--mf-purple-dark), var(--mf-bg-deep));
}
.mf-feature__media img { width: 100%; height: 100%; object-fit: cover; }

/* Werte-Icons */
.mf-values {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(1.25rem, 4vw, 2.5rem);
  margin: 2rem 0;
}
.mf-value { text-align: center; width: clamp(96px, 15vw, 150px); }
.mf-value img { width: clamp(64px, 9vw, 100px); margin: 0 auto 0.6rem; }
.mf-value figcaption {
  font-family: var(--mf-font-head);
  font-weight: 700;
  font-size: var(--mf-fs-sm);
  letter-spacing: 0.06em;
}

/* Nummerierte Liste (5 Gründe) */
.mf-numlist { list-style: none; padding: 0; counter-reset: mf; display: grid; gap: 1.1rem; }
.mf-numlist li {
  counter-increment: mf;
  position: relative;
  padding-left: 3.4rem;
  min-height: 2.6rem;
  text-align: left;
}
.mf-numlist li::before {
  content: counter(mf);
  position: absolute;
  left: 0; top: 0;
  width: 2.4rem; height: 2.4rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-family: var(--mf-font-head);
  font-weight: 800;
  color: var(--mf-purple-deep);
  background: linear-gradient(180deg, var(--mf-gold-soft), var(--mf-gold-bright));
  box-shadow: 0 4px 14px rgba(251, 194, 1, 0.35);
}

/* --------------------------------------------------------------------------
   12. Ticket-Karten
   -------------------------------------------------------------------------- */
.mf-tickets {
  display: grid;
  gap: clamp(1.25rem, 3vw, 2rem);
  grid-template-columns: 1fr;
  align-items: stretch;
}
@media (min-width: 1024px) { .mf-tickets { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.mf-ticket {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--mf-text);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--mf-radius-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  position: relative;
  transition: transform 0.25s var(--mf-ease), border-color 0.25s, box-shadow 0.35s var(--mf-ease);
  box-shadow: var(--mf-shadow);
}
.mf-ticket:hover, .mf-ticket:focus-visible {
  /* Upgrade M5: Micro-Scale + weicher Gold-Glow-Ring (Glow = gold-bright, Ring = Spec-Gold-Border) */
  transform: translateY(-6px) scale(1.02);
  border-color: var(--mf-gold-border);
  box-shadow:
    0 18px 50px rgba(0, 0, 0, 0.55),
    0 0 0 1px var(--mf-gold-border),
    0 0 28px rgba(251, 194, 1, 0.22);
  color: var(--mf-text);
}
/* CTA-Span in der Karte erbt den Hover (Glow verstärken) */
.mf-ticket .mf-btn { transition: transform 0.25s var(--mf-ease), box-shadow 0.25s var(--mf-ease), filter 0.25s; }
.mf-ticket:hover .mf-btn, .mf-ticket:focus-visible .mf-btn {
  box-shadow:
    0 10px 32px rgba(251, 194, 1, 0.5),
    0 0 24px var(--mf-glow-gold),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
}
/* Diamond-Karte: minimal stärkerer Glow */
.mf-ticket--diamond:hover, .mf-ticket--diamond:focus-visible {
  box-shadow:
    0 18px 50px rgba(0, 0, 0, 0.55),
    0 0 0 1px var(--mf-gold-border),
    0 0 36px rgba(251, 194, 1, 0.3);
}
.mf-ticket--gold { border-color: var(--mf-gold-border); background: linear-gradient(180deg, rgba(201, 168, 76, 0.14), rgba(201, 168, 76, 0.03)); }
.mf-ticket--diamond { border-color: rgba(225, 187, 114, 0.6); background: linear-gradient(180deg, rgba(112, 41, 125, 0.3), rgba(201, 168, 76, 0.06)); }

.mf-ticket__name {
  font-family: var(--mf-font-head);
  font-size: var(--mf-fs-lg);
  font-weight: 800;
  text-align: center;
  color: var(--mf-gold-bright);
}
.mf-ticket__pricebox { text-align: center; margin: 0.75rem 0 1.25rem; }
.mf-ticket__pricelabel { font-size: var(--mf-fs-sm); color: var(--mf-text-dim); display: block; }
.mf-ticket__price {
  font-family: var(--mf-font-head);
  font-size: clamp(2.4rem, 2rem + 2vw, 3.4rem);
  font-weight: 800;
  color: var(--mf-white);
  line-height: 1.1;
}
.mf-ticket__strike {
  font-size: var(--mf-fs-md);
  color: var(--mf-grey-mid);
  text-decoration: line-through;
  margin-left: 0.4em;
}
.mf-ticket__features { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: 0.55rem; flex: 1; }
.mf-ticket__features li {
  position: relative;
  padding-left: 1.8rem;
  font-size: var(--mf-fs-sm);
}
.mf-ticket__features li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.22em;
  width: 1.1rem; height: 1.1rem;
  background: var(--mf-gold-bright);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.mf-ticket__badge {
  display: block;
  text-align: center;
  margin: 0 auto 1rem;
  padding: 0.4em 1.1em;
  width: fit-content;
  border-radius: 999px;
  font-family: var(--mf-font-head);
  font-size: var(--mf-fs-xs);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--mf-purple-deep);
  background: linear-gradient(180deg, var(--mf-gold-soft), var(--mf-gold-bright));
}
.mf-ticket__cta {
  margin-top: auto;
  text-align: center;
}
.mf-ticket--soldout { filter: grayscale(0.8); opacity: 0.6; pointer-events: none; }

/* --------------------------------------------------------------------------
   13. Galerie / Team
   -------------------------------------------------------------------------- */
.mf-gallery { display: grid; gap: 0.75rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 700px) { .mf-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .mf-gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.mf-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--mf-radius);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s var(--mf-ease), border-color 0.3s, box-shadow 0.3s var(--mf-ease);
}
.mf-gallery img:hover {
  /* Upgrade M11: Gold-Border-Übergang + dezenter Schatten-Lift */
  transform: scale(1.025);
  border-color: var(--mf-gold-border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45), 0 0 18px rgba(251, 194, 1, 0.12);
}

.mf-teamphoto {
  border-radius: var(--mf-radius-lg);
  border: 1px solid var(--mf-gold-border);
  box-shadow: var(--mf-shadow);
  margin: 1.5rem auto;
  max-width: min(100%, 900px);
}

/* Zitat-Banner */
.mf-quote {
  text-align: center;
  padding: clamp(3rem, 8vw, 5rem) var(--mf-pad);
  background:
    radial-gradient(800px 300px at 50% 50%, rgba(201, 168, 76, 0.14), transparent 70%),
    var(--mf-bg-deep);
  border-block: 1px solid var(--mf-gold-border);
}
.mf-quote blockquote {
  margin: 0 auto;
  max-width: 850px;
  font-family: var(--mf-font-head);
  font-size: var(--mf-fs-xl);
  font-weight: 700;
  line-height: 1.35;
  color: var(--mf-gold-soft);
}
.mf-quote figcaption { margin-top: 1rem; color: var(--mf-text-dim); font-size: var(--mf-fs-md); }

/* Stats (Gastgeber) */
.mf-stats { display: grid; gap: 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 2rem 0; }
@media (min-width: 900px) { .mf-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.mf-stat {
  text-align: center;
  padding: 1.25rem 1rem;
  border-radius: var(--mf-radius);
  background: var(--mf-gold-tint);
  border: 1px solid var(--mf-gold-border);
}
.mf-stat__value {
  font-family: var(--mf-font-head);
  font-size: var(--mf-fs-lg);
  font-weight: 800;
  color: var(--mf-gold-bright);
}
.mf-stat__label { font-size: var(--mf-fs-sm); color: var(--mf-text-dim); }

/* Location */
.mf-location {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
  text-align: center;
  margin-top: 2.5rem;
}
@media (min-width: 768px) { .mf-location { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.mf-location .mf-card h4 { color: var(--mf-gold-bright); }

/* --------------------------------------------------------------------------
   14. Toggle / Accordion (FAQ, Teilnahmebedingungen)
   -------------------------------------------------------------------------- */
.mf-acc {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--mf-radius);
  background: var(--mf-surface);
  margin-bottom: 0.75rem;
  overflow: hidden;
}
.mf-acc summary {
  list-style: none;
  cursor: pointer;
  padding: 1rem 3rem 1rem 1.25rem;
  font-family: var(--mf-font-head);
  font-weight: 700;
  position: relative;
  min-height: 44px;
}
.mf-acc summary::-webkit-details-marker { display: none; }
.mf-acc summary::after {
  content: '';
  position: absolute;
  right: 1.1rem; top: 50%;
  width: 0.95rem; height: 0.95rem;
  translate: 0 -50%;
  background: var(--mf-gold-bright);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7.4 8.6 12 13.2l4.6-4.6L18 10l-6 6-6-6z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7.4 8.6 12 13.2l4.6-4.6L18 10l-6 6-6-6z'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform 0.25s var(--mf-ease);
}
.mf-acc[open] summary::after { transform: rotate(180deg); }
.mf-acc summary:hover { color: var(--mf-gold-soft); }
.mf-acc__body { padding: 0 1.25rem 1.25rem; color: var(--mf-text-dim); }
.mf-acc__body a { overflow-wrap: anywhere; }

/* --------------------------------------------------------------------------
   15. Footer
   -------------------------------------------------------------------------- */
.mf-footer {
  padding: 2.5rem var(--mf-pad) 3rem;
  text-align: center;
  background: var(--mf-bg-deep);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--mf-text-dim);
  font-size: var(--mf-fs-sm);
}
.mf-footer a { color: var(--mf-text-dim); margin: 0 0.75rem; }
.mf-footer a:hover { color: var(--mf-gold-bright); }

/* --------------------------------------------------------------------------
   16. Exit-Intent-Popup
   -------------------------------------------------------------------------- */
.mf-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: var(--mf-pad);
  background: rgba(6, 3, 18, 0.8);
  backdrop-filter: blur(6px);
}
.mf-modal[hidden] { display: none; }
.mf-modal__box {
  position: relative;
  max-width: 520px;
  width: 100%;
  padding: clamp(1.75rem, 4vw, 2.75rem);
  border-radius: var(--mf-radius-lg);
  background:
    radial-gradient(400px 200px at 50% 0%, rgba(201, 168, 76, 0.18), transparent 70%),
    linear-gradient(170deg, var(--mf-purple-dark), var(--mf-bg-deep));
  border: 1px solid var(--mf-gold-border);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7);
  text-align: center;
}
.mf-modal__close {
  position: absolute;
  top: 0.6rem; right: 0.6rem;
  width: 44px; height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--mf-white);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}
.mf-modal__close:hover { background: rgba(255, 255, 255, 0.18); }

/* --------------------------------------------------------------------------
   17. Scroll-Reveals (motion.js)
   -------------------------------------------------------------------------- */
/* V3 Motion-Uplevel: Reveals mit Charakter — Distanz + leichte Skalierung +
   Unschärfe, die beim Eintreffen "scharf stellt". Nur opacity/transform/
   filter; will-change wird nach dem Reveal wieder freigegeben (sparsam). */
[data-reveal] {
  opacity: 0;
  transform: translateY(30px) scale(0.985);
  filter: blur(6px);
  transition:
    opacity var(--mf-dur-reveal) var(--mf-ease-out),
    transform var(--mf-dur-reveal) var(--mf-ease-out),
    filter var(--mf-dur-reveal) var(--mf-ease-out);
  transition-delay: var(--reveal-delay, 0s);
}
[data-reveal]:not(.is-visible) { will-change: opacity, transform, filter; }
[data-reveal='left'] { transform: translateX(-44px) scale(0.985); }
[data-reveal='right'] { transform: translateX(44px) scale(0.985); }
[data-reveal='grow'] { transform: scale(0.92); }
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
  filter: none;
}

/* dezenter Bob (Original tve_anim_bob) */
@keyframes mf-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.mf-anim-bob.is-visible { animation: mf-bob 4.5s ease-in-out infinite; }

/* --------------------------------------------------------------------------
   17b. V3 Motion-Uplevel (Spec Block B) — Ambient, Parallax, Micro
   Alle Regeln nur transform/opacity/filter; die "riskanteren" Transforms
   sind über body.mf-motion gegated (setzt js/motion.js NUR ohne
   reduced-motion) — ohne JS bleibt das Layout vollständig statisch.
   -------------------------------------------------------------------------- */

/* ---- Ambient: driftende Sternen-/Glow-Ebene (motion.js baut das DOM) ----
   Fix, klick-transparent, mix-blend-mode: screen → hellt die dunklen
   Sektions-BGs beider Entwürfe nur minimal auf, Text bleibt unberührt
   lesbar. Beide Sternen-Kacheln wandern exakt eine Kachelgrösse → nahtloser
   Loop. Reines Composite (transform/opacity), <2% CPU. */
.mf-ambient {
  position: fixed;
  inset: 0;
  z-index: 60; /* über Sektions-Content (max z:5), unter Modal (300) + Progress (400) */
  overflow: hidden;
  pointer-events: none;
  /* bewusst KEIN mix-blend-mode: normales Alpha-Compositing ist auf der
     durchgehend dunklen Page visuell gleichwertig und deutlich billiger */
}
.mf-ambient.is-paused * { animation-play-state: paused !important; }
.mf-ambient__stars {
  position: absolute;
  inset: 0;
  width: calc(100% + 720px);
  height: calc(100% + 720px);
  /* dauerhaft laufende Compositor-Animation → eigene Ebene ist hier
     gerechtfertigt (kein spekulatives will-change auf Content-Elementen) */
  will-change: transform;
}
.mf-ambient__stars--a {
  opacity: 0.4;
  background-image:
    radial-gradient(1.4px 1.4px at 37px 63px, rgba(255, 255, 255, 0.9), transparent 60%),
    radial-gradient(1px 1px at 189px 291px, rgba(255, 255, 255, 0.7), transparent 60%),
    radial-gradient(1.2px 1.2px at 311px 127px, rgba(255, 244, 200, 0.8), transparent 60%),
    radial-gradient(1px 1px at 486px 411px, rgba(255, 255, 255, 0.6), transparent 60%),
    radial-gradient(1.4px 1.4px at 613px 559px, rgba(255, 244, 200, 0.7), transparent 60%),
    radial-gradient(1px 1px at 133px 517px, rgba(255, 255, 255, 0.65), transparent 60%);
  background-size: 720px 720px;
  animation: mf-ambient-drift-a 220s linear infinite;
}
.mf-ambient__stars--b {
  opacity: 0.28;
  background-image:
    radial-gradient(1.8px 1.8px at 91px 402px, rgba(255, 255, 255, 0.85), transparent 60%),
    radial-gradient(1.4px 1.4px at 401px 88px, rgba(255, 244, 200, 0.75), transparent 60%),
    radial-gradient(1.2px 1.2px at 619px 316px, rgba(255, 255, 255, 0.7), transparent 60%),
    radial-gradient(1.6px 1.6px at 244px 641px, rgba(255, 255, 255, 0.6), transparent 60%);
  background-size: 720px 720px;
  animation: mf-ambient-drift-b 340s linear infinite;
}
@keyframes mf-ambient-drift-a {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-720px, -720px, 0); }
}
@keyframes mf-ambient-drift-b {
  from { transform: translate3d(-720px, 0, 0); }
  to { transform: translate3d(0, -720px, 0); }
}
.mf-ambient__glow {
  position: absolute;
  inset: -20%;
  opacity: 0.5;
  will-change: transform, opacity;
  background:
    radial-gradient(620px 460px at 78% 22%, rgba(201, 168, 76, 0.05), transparent 65%),
    radial-gradient(760px 560px at 16% 72%, rgba(112, 41, 125, 0.07), transparent 65%);
  animation: mf-ambient-breathe 46s ease-in-out infinite alternate;
}
@keyframes mf-ambient-breathe {
  from { transform: translate3d(-2.5%, -1.5%, 0) scale(1); opacity: 0.35; }
  to { transform: translate3d(2.5%, 1.5%, 0) scale(1.08); opacity: 0.6; }
}

/* ---- Parallax (Werte via CSS-Var aus motion.js, hart geclampt ±14px) ---- */
body.mf-motion .mf-hero { overflow: clip; }
body.mf-motion .mf-hero picture img,
body.mf-motion .mf-hero__img {
  transform: translate3d(0, calc(var(--mf-par-y, 0) * 1px), 0) scale(1.05);
  will-change: transform;
}
body.mf-motion .sec-galerie__row {
  transform: translate3d(0, calc(var(--mf-par-y, 0) * 1px), 0);
}
body.mf-motion .mf-quote blockquote {
  transform: translate3d(0, calc(var(--mf-par-y, 0) * 1px), 0);
}
body.mf-motion .mf-teamphoto {
  transform: translate3d(0, calc(var(--mf-par-y, 0) * 1px), 0);
}

/* ---- Micro: Primär-CTA-Puls ----
   V4 B1: vom dezenten 6s-Aufblitzen (mf-cta-pulse) auf eine permanente
   ~3.2s-Atmung umgestellt: Glow-Overlay (nur opacity, mf-cta-glow) + Scale-
   Puls 1→1.03 (mf-cta-breathe) — Keyframes/Scale-Regeln in css/motion-v4.css. */
.mf-btn { position: relative; }
.mf-btn:not(.mf-btn--ghost)::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  box-shadow: 0 0 30px 9px rgba(251, 194, 1, 0.42);
  opacity: 0;
  pointer-events: none;
}
body.mf-motion .mf-btn:not(.mf-btn--ghost)::after {
  animation: mf-cta-glow 3.2s ease-in-out infinite;
}
/* (Alt-Keyframe des 6s-Pulses — bleibt für Referenz/Fallback definiert) */
@keyframes mf-cta-pulse {
  0%, 55%, 100% { opacity: 0; }
  72% { opacity: 0.85; }
  86% { opacity: 0.15; }
}

/* ---- Micro: Pain-Bubbles schweben sanft (nach dem Reveal, gestaffelt) ---- */
@keyframes mf-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}
body.mf-motion .sec-pain__bubble.is-visible {
  animation: mf-float 7s ease-in-out infinite;
}
body.mf-motion .sec-pain__bubble.is-visible:nth-child(2n) { animation-delay: -2.3s; }
body.mf-motion .sec-pain__bubble.is-visible:nth-child(3n) { animation-delay: -4.1s; }

/* ---- Micro: Galerie-Bilder heben sich beim Hover leicht (Desktop) ---- */
.sec-galerie__row img {
  transition: transform 0.35s var(--mf-ease-out), filter 0.35s;
}
.sec-galerie__row img:hover {
  transform: translateY(-5px) scale(1.03);
  filter: brightness(1.08);
}

/* Reduced Motion — V4 P0-Fix: „reduce, not remove".
   Räumliche Bewegung (translate/scale/parallax/drift/blur) ist komplett aus,
   aber die Seite bleibt lebendig: Reveals laufen als reiner Opacity-Fade
   (IO-getrieben, body.mf-motion-soft via motion.js), Count-Ups zählen,
   der CTA-Glow atmet (Keyframes animieren NUR opacity).
   Vorher war hier ein globaler Kill-Switch → auf iPhones mit „Bewegung
   reduzieren" war die Seite zu 100% statisch (QA/v4/MOBILE-DIAGNOSE.md). */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  /* Sicherheitsnetz: Standard = alles sichtbar & statisch (z.B. JS tot) … */
  [data-reveal] {
    opacity: 1;
    transform: none !important;
    filter: none !important;
    transition: none;
    will-change: auto !important;
  }
  /* … mit aktivem motion.js (mf-motion-soft): fade-only Reveals. Nur
     opacity animiert → vestibular-safe; Stagger-Delays bleiben erhalten. */
  body.mf-motion-soft [data-reveal] {
    opacity: 0;
    transition: opacity 0.6s ease !important;
    transition-delay: var(--reveal-delay, 0s) !important;
  }
  body.mf-motion-soft [data-reveal].is-visible { opacity: 1; }
  .mf-anim-bob.is-visible { animation: none !important; }
  /* V3: Ambient-Ebene + Parallax-Transforms komplett aus (JS gated ohnehin,
     das hier ist das CSS-Sicherheitsnetz) */
  .mf-ambient { display: none !important; }
  body.mf-motion .mf-hero picture img,
  body.mf-motion .mf-hero__img,
  body.mf-motion .sec-galerie__row,
  body.mf-motion .mf-quote blockquote,
  body.mf-motion .mf-teamphoto { transform: none !important; will-change: auto !important; }
  body.mf-motion .sec-pain__bubble.is-visible { animation: none !important; }
  .sec-galerie__row img { transition: none !important; }
  .mf-video__btn.is-inview .mf-video__play::after { animation: none !important; } /* M10 */
  .mf-hero::before, .mf-hero::after { transform: none !important; } /* M3 */
  .mf-scrollprogress { transition: none !important; } /* M9: statisch, ohne Transition */
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  /* CTA-Glow (mf-cta-glow animiert ausschliesslich opacity) darf weiter
     atmen — nach dem globalen Override, Selektor schlägt `*`. Der Scale-
     Puls (mf-cta-breathe) bleibt bei reduced-motion bewusst AUS. */
  body.mf-motion-soft .mf-btn:not(.mf-btn--ghost)::after,
  body.mf-motion-soft .mf-ticket__cta::after {
    animation: mf-cta-glow 3.2s ease-in-out infinite !important;
  }
}

/* --------------------------------------------------------------------------
   18. Legal-Unterseiten (Impressum/Datenschutz)
   -------------------------------------------------------------------------- */
.mf-legal-page { max-width: 820px; margin-inline: auto; padding: clamp(2.5rem, 6vw, 4.5rem) var(--mf-pad); }
.mf-legal-page h1 { color: var(--mf-gold-bright); font-size: var(--mf-fs-xl); }
.mf-todo-note {
  border: 1px dashed var(--mf-gold-border);
  border-radius: var(--mf-radius);
  background: var(--mf-gold-tint);
  padding: 1.25rem;
  color: var(--mf-gold-soft);
}
