/* MamiFit® – Stylesheet
   Markenfarbe Lila (#935491) und Poppins von der alten Site übernommen; runde Ecken, weiche Schatten, Hover-Animationen. */

:root {
  --purple: #935491;
  --purple-dark: #6E3A6C;
  --purple-deep: #4A2749;
  --plum: #2F1A30;
  --lilac: #E7D6E6;
  --lilac-soft: #F6EFF6;
  --peach: #F6B79C;
  --peach-soft: #FDEDE5;
  --cream: #FDFBFC;
  --white: #FFFFFF;
  --ink: #2B2530;
  --muted: #6E6472;
  --line: #E8DEE8;
  --ok: #2E8B57;
  --ok-soft: #E3F3EA;
  --warn: #B4471B;
  --warn-soft: #FBE7DD;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 10px 30px rgba(74, 39, 73, .10);
  --shadow-lg: 0 22px 50px rgba(74, 39, 73, .18);
  --ease: cubic-bezier(.4, 0, .2, 1);
  --container: 1160px;
  --gutter: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Poppins", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--purple-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--purple); }
h1, h2, h3, h4 { font-weight: 600; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; color: var(--plum); }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 600; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }
section[id], div[id] { scroll-margin-top: 90px; }
::selection { background: var(--lilac); color: var(--plum); }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 780px; }
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section-tight { padding: clamp(40px, 6vw, 64px) 0; }
.bg-lilac { background: var(--lilac-soft); }
.bg-plum { background: var(--plum); color: #F4ECF4; }
.bg-plum h1, .bg-plum h2, .bg-plum h3 { color: #fff; }
.bg-plum a { color: #fff; }
.bg-white { background: var(--white); }
.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--purple); margin-bottom: 12px;
}
.bg-plum .eyebrow { color: var(--peach); }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 60ch; }
.bg-plum .lead { color: #E8DDE8; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.mt { margin-top: 28px; }
.mt-lg { margin-top: 48px; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 600; font-size: .98rem; line-height: 1.1; text-decoration: none; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
  white-space: nowrap;
}
.btn-primary { background: var(--purple); color: #fff; box-shadow: 0 8px 20px rgba(147, 84, 145, .35); }
.btn-primary:hover { background: var(--purple-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 14px 28px rgba(147, 84, 145, .4); }
.btn-outline { background: transparent; color: var(--purple-dark); border-color: var(--purple); }
.btn-outline:hover { background: var(--purple); color: #fff; transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--purple-dark); }
.btn-light:hover { background: var(--lilac-soft); color: var(--purple-deep); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .6); }
.btn-ghost:hover { background: #fff; color: var(--plum); transform: translateY(-2px); }
.btn-dark { background: var(--plum); color: #fff; }
.btn-dark:hover { background: var(--purple-deep); color: #fff; transform: translateY(-2px); }
.btn-sm { padding: 10px 18px; font-size: .9rem; }
.btn-lg { padding: 17px 32px; font-size: 1.05rem; }
.btn-twint { background: #000; color: #fff; }
.btn-twint:hover { background: #222; color: #fff; transform: translateY(-2px); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; transform: none !important; box-shadow: none !important; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.center .btn-row { justify-content: center; }
.link-arrow { font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.link-arrow::after { content: "→"; transition: transform .25s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(253, 251, 252, .88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(74, 39, 73, .06); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; margin-right: auto; flex-shrink: 0; }
.brand img { height: 48px; width: auto; transition: transform .3s var(--ease); }
.brand:hover img { transform: scale(1.04); }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a {
  display: inline-block; padding: 8px 11px; border-radius: 999px; text-decoration: none; color: var(--ink); font-weight: 500; font-size: .92rem; white-space: nowrap;
  transition: background .25s var(--ease), color .25s var(--ease);
}
.nav a:hover { background: var(--lilac-soft); color: var(--purple-dark); }
.nav a[aria-current="page"] { color: var(--purple); font-weight: 600; }
.lang-switch { display: inline-flex; align-items: center; margin-left: 8px; padding: 3px; border-radius: 999px; background: var(--lilac-soft); }
.lang-switch a { padding: 5px 10px; border-radius: 999px; font-size: .78rem; font-weight: 600; letter-spacing: .08em; color: var(--muted); text-decoration: none; transition: background .25s var(--ease), color .25s var(--ease); }
.lang-switch a:hover { color: var(--purple-dark); }
.lang-switch a[aria-current="true"] { background: #fff; color: var(--purple); box-shadow: 0 2px 8px rgba(74, 39, 73, .12); }
.header-cta { margin-left: 8px; }
.nav-toggle {
  display: none; width: 46px; height: 46px; border: 0; border-radius: 999px; background: var(--lilac-soft); cursor: pointer; position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 13px; width: 20px; height: 2px; background: var(--plum); border-radius: 2px; transition: transform .3s var(--ease), top .3s var(--ease), opacity .3s;
}
.nav-toggle span { top: 22px; }
.nav-toggle span::before { top: -6px; left: 0; }
.nav-toggle span::after { top: 6px; left: 0; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
.nav-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 1080px) {
  .nav-toggle { display: block; }
  .header-cta { display: none; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--cream); border-bottom: 1px solid var(--line); padding: 12px var(--gutter) 20px;
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: transform .3s var(--ease), opacity .3s var(--ease);
    box-shadow: 0 20px 40px rgba(74, 39, 73, .12);
  }
  .nav-open .nav { transform: none; opacity: 1; pointer-events: auto; }
  .nav a { padding: 12px 14px; font-size: 1.05rem; }
  .nav .lang-switch { margin: 10px 0 0 14px; align-self: flex-start; }
  .nav .lang-switch a { padding: 7px 14px; font-size: .85rem; }
  .nav .nav-cta { margin-top: 10px; text-align: center; background: var(--purple); color: #fff; font-weight: 600; }
  .nav .nav-cta:hover { background: var(--purple-dark); color: #fff; }
}
@media (min-width: 1081px) { .nav .nav-cta { display: none; } }

/* ---------- Hero (Startseite, geteilt) ---------- */
.hero-split { position: relative; overflow: hidden; padding: clamp(40px, 6vw, 80px) 0; }
.hero-split::before {
  content: ""; position: absolute; width: 60vw; height: 60vw; max-width: 720px; max-height: 720px; border-radius: 50%;
  background: radial-gradient(closest-side, var(--lilac), transparent 72%); top: -20%; left: -15%; opacity: .9; pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 64px); align-items: center; position: relative; }
.hero-copy h1 { margin-bottom: 18px; }
.hero-copy h1 em { font-style: normal; color: var(--purple); }
.hero-copy .lead { margin-bottom: 26px; }
.hero-media { position: relative; }
.hero-frame { position: relative; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3; }
.hero-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; will-change: transform; }
/* Mit Parallax ist das Bild höher als der Rahmen, damit es sich bewegen kann */
.hero-frame.is-parallax img { height: 132%; top: -16%; }
.hero-badge {
  position: absolute; left: -14px; bottom: 26px; background: #fff; border-radius: 16px; padding: 12px 16px; box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 12px; font-size: .9rem; line-height: 1.3; animation: floaty 6s ease-in-out infinite;
}
.hero-badge img { width: 44px; height: 44px; border-radius: 0; box-shadow: none; aspect-ratio: auto; }
.hero-badge b { display: block; color: var(--plum); }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; padding: 0; list-style: none; color: var(--muted); font-size: .92rem; }
.hero-facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero-facts li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--purple); }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .hero-badge { position: relative; left: 12px; bottom: auto; margin-top: -30px; max-width: calc(100% - 24px); font-size: .85rem; }
}

/* ---------- Seiten-Hero (Unterseiten) ---------- */
.page-hero { position: relative; min-height: clamp(420px, 52vh, 600px); display: grid; align-items: end; color: #fff; overflow: hidden; isolation: isolate; }
/* Bildausschnitt etwas höher als die Mitte, damit Köpfe nicht abgeschnitten werden (pro Seite via style="object-position:…" feinjustierbar) */
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 32%; z-index: -2; transform: scale(1.04); animation: hero-zoom 12s var(--ease) forwards; will-change: transform; }
/* Mit Parallax: Bild deutlich höher als der Abschnitt, Bewegung übernimmt das Script */
.page-hero.is-parallax img { height: 172%; top: -36%; animation: none; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(47, 26, 48, .15) 0%, rgba(47, 26, 48, .78) 100%); }
.page-hero .container { padding-top: 120px; padding-bottom: 44px; }
.page-hero h1 { color: #fff; margin-bottom: 8px; }
.page-hero .lead { color: #F1E6F1; }
.page-hero .eyebrow { color: var(--peach); }
@keyframes hero-zoom { to { transform: scale(1); } }

/* ---------- Karten / Raster ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid rgba(232, 222, 232, .7);
  display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card-media { overflow: hidden; aspect-ratio: 4 / 3; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card:hover .card-media img { transform: scale(1.06); }
.card-body { padding: 24px 26px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-body h3 { margin: 0; }
.card-body p { color: var(--muted); font-size: .96rem; }
.card-body .card-foot { margin-top: auto; padding-top: 10px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.price { font-weight: 700; color: var(--plum); font-size: 1.15rem; }
.price small { font-weight: 500; color: var(--muted); font-size: .8rem; }
.card-link { text-decoration: none; color: inherit; }

/* Merkmal-Liste */
.features { display: grid; gap: 18px; padding: 0; margin: 0; list-style: none; }
.features li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.features .ico {
  width: 44px; height: 44px; border-radius: 14px; background: var(--lilac-soft); color: var(--purple); display: grid; place-items: center; font-weight: 700;
}
.features b { display: block; color: var(--plum); }
.features span { color: var(--muted); font-size: .95rem; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checks li { padding-left: 32px; position: relative; }
.checks li::before {
  content: "✓"; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; background: var(--lilac); color: var(--purple-dark);
  font-size: .8rem; font-weight: 700; display: grid; place-items: center;
}
.bg-plum .checks li::before { background: rgba(255, 255, 255, .15); color: #fff; }

/* Zweispalter mit Bild */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; object-fit: cover; }
.split-media.tall img { aspect-ratio: 3 / 4; }
.split-media.wide img { aspect-ratio: 4 / 3; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.reverse .split-media { order: 0; } }

/* Zahlen / Fakten */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat { background: #fff; border-radius: var(--radius-sm); padding: 22px 20px; box-shadow: var(--shadow); transition: transform .3s var(--ease); }
.stat:hover { transform: translateY(-4px); }
.stat b { display: block; font-size: 1.9rem; color: var(--purple); line-height: 1.1; font-weight: 700; }
.stat span { color: var(--muted); font-size: .9rem; }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* Preise */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.plan {
  background: #fff; border-radius: var(--radius); padding: 28px 26px; border: 2px solid var(--line); display: flex; flex-direction: column; gap: 8px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--lilac); }
.plan.featured { border-color: var(--purple); position: relative; }
.plan.featured::before {
  content: "Beliebt"; position: absolute; top: -13px; left: 24px; background: var(--purple); color: #fff; font-size: .72rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px;
}
.plan h3 { margin: 0; font-size: 1.1rem; }
.plan .price { font-size: 2rem; }
.plan .price small { font-size: .85rem; display: block; margin-top: -4px; }
.plan ul { list-style: none; padding: 0; margin: 6px 0 14px; color: var(--muted); font-size: .93rem; display: grid; gap: 6px; }
.plan ul li { padding-left: 20px; position: relative; }
.plan ul li::before { content: "•"; position: absolute; left: 4px; color: var(--purple); }
.plan .btn-row { margin-top: auto; }
.plan .btn { flex: 1; }

/* Stundenplan */
.schedule { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.day { background: #fff; border-radius: var(--radius-sm); padding: 18px 16px; box-shadow: var(--shadow); }
.day h4 { margin: 0 0 12px; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.slot { display: grid; gap: 2px; padding: 10px 12px; border-radius: 10px; background: var(--lilac-soft); margin-bottom: 8px; transition: transform .25s var(--ease), background .25s var(--ease); }
.slot:hover { transform: translateX(3px); background: var(--lilac); }
.slot b { color: var(--plum); font-size: .95rem; }
.slot span { color: var(--purple-dark); font-size: .85rem; }
.slot.rb { background: var(--peach-soft); }
.slot.rb:hover { background: #FBDCCB; }
.slot.rb span { color: var(--warn); }
.day .none { color: var(--muted); font-size: .9rem; }
@media (max-width: 900px) { .schedule { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .schedule { grid-template-columns: 1fr; } }
.legend { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 14px; font-size: .9rem; color: var(--muted); }
.legend span::before { content: ""; display: inline-block; width: 12px; height: 12px; border-radius: 4px; margin-right: 8px; vertical-align: -1px; background: var(--lilac); }
.legend span.rb::before { background: var(--peach); }

/* Kurs-Termine (live aus der Buchungs-API) */
.runs { display: grid; gap: 14px; }
.run {
  display: grid; grid-template-columns: 92px 1fr auto; gap: 18px; align-items: center; background: #fff; border-radius: var(--radius-sm);
  padding: 18px 20px; box-shadow: var(--shadow); transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.run:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.run .date { text-align: center; background: var(--lilac-soft); border-radius: 12px; padding: 10px 6px; line-height: 1.1; }
.run .date b { display: block; font-size: 1.7rem; color: var(--purple); }
.run .date span { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.run .info b { display: block; color: var(--plum); }
.run .info span { color: var(--muted); font-size: .92rem; }
.run .pill { margin-top: 6px; }
@media (max-width: 600px) { .run { grid-template-columns: 76px 1fr; } .run .btn { grid-column: 1 / -1; } }
.pill { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .78rem; font-weight: 600; background: var(--ok-soft); color: var(--ok); }
.pill.warn { background: var(--warn-soft); color: var(--warn); }
.pill.muted { background: var(--lilac-soft); color: var(--muted); }
.pill.info { background: var(--lilac); color: var(--purple-deep); }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border-radius: var(--radius-sm); box-shadow: var(--shadow); padding: 0 22px; transition: box-shadow .3s var(--ease); }
.faq details:hover { box-shadow: var(--shadow-lg); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 36px 18px 0; font-weight: 600; color: var(--plum); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 14px; font-size: 1.5rem; color: var(--purple); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p, .faq details ul { color: var(--muted); padding-bottom: 18px; margin: 0; }
.faq details ul { padding-left: 20px; }

/* Testimonial */
.quote { background: #fff; border-radius: var(--radius); padding: 32px 34px; box-shadow: var(--shadow); position: relative; }
.quote::before { content: "“"; position: absolute; top: 6px; left: 22px; font-size: 5rem; line-height: 1; color: var(--lilac); font-family: Georgia, serif; }
.quote p { font-size: 1.08rem; color: var(--ink); position: relative; }
.quote footer { color: var(--muted); font-size: .9rem; margin-top: 12px; }

/* Ablauf-Schritte */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step { background: #fff; border-radius: var(--radius); padding: 28px 26px; box-shadow: var(--shadow); position: relative; transition: transform .3s var(--ease); }
.step:hover { transform: translateY(-5px); }
.step::before {
  counter-increment: step; content: counter(step); width: 40px; height: 40px; border-radius: 50%; background: var(--purple); color: #fff;
  font-weight: 700; display: grid; place-items: center; margin-bottom: 14px;
}
.step h3 { margin-bottom: 6px; font-size: 1.1rem; }
.step p { color: var(--muted); font-size: .95rem; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* CTA-Band mit Bild */
.band { position: relative; color: #fff; overflow: hidden; isolation: isolate; padding: clamp(64px, 10vw, 120px) 0; text-align: center; }
.band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; will-change: transform; }
.band.is-parallax img { height: 165%; top: -32%; }
.band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(47, 26, 48, .82), rgba(110, 58, 108, .6)); }
.band h2 { color: #fff; }
.band .lead { color: #F1E6F1; margin-inline: auto; margin-bottom: 26px; }

/* Partner-/Logo-Leiste */
.logos { display: flex; flex-wrap: wrap; gap: 28px 44px; align-items: center; justify-content: center; }
.logos img { height: 64px; width: auto; filter: grayscale(1); opacity: .75; transition: filter .3s var(--ease), opacity .3s var(--ease), transform .3s var(--ease); }
.logos a:hover img { filter: none; opacity: 1; transform: scale(1.05); }

/* Kontakt-Kacheln */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.contact-tile { background: #fff; border-radius: var(--radius-sm); padding: 22px; box-shadow: var(--shadow); text-decoration: none; color: var(--ink); display: grid; gap: 6px; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.contact-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: var(--ink); }
.contact-tile b { color: var(--plum); }
.contact-tile span { color: var(--purple-dark); font-weight: 500; }
@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr; } }

/* Karte (Google Maps) */
.map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 16 / 7; background: var(--lilac-soft); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 700px) { .map { aspect-ratio: 4 / 3; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--plum); color: #D9CBD9; padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.site-footer h4 { color: #fff; font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: #E9DDE9; text-decoration: none; transition: color .25s var(--ease); }
.site-footer a:hover { color: var(--peach); }
.site-footer .brand-foot img { height: 44px; width: auto; margin-bottom: 14px; transition: transform .3s var(--ease), opacity .3s var(--ease); }
.site-footer .brand-foot a:hover img { transform: scale(1.04); opacity: .85; }
.site-footer p { font-size: .93rem; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 40px; padding-top: 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; justify-content: space-between; font-size: .85rem; color: #B9A8B9; }
@media (max-width: 560px) { .footer-bottom { flex-direction: column; align-items: flex-start; } }

/* «Nach oben»-Knopf: schwebt unten rechts, erscheint erst nach etwas Scrollen */
.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center;
  background: var(--purple); color: #fff !important; text-decoration: none;
  box-shadow: 0 10px 26px rgba(74, 39, 73, .32);
  opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), background .25s var(--ease), visibility .3s;
}
.to-top::after { content: "↑"; font-size: 1.4rem; line-height: 1; font-weight: 600; transition: transform .25s var(--ease); }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--purple-dark); color: #fff !important; }
.to-top:hover::after { transform: translateY(-3px); }
.to-top:focus-visible { outline: 3px solid var(--peach); outline-offset: 3px; }
@media (max-width: 560px) { .to-top { right: 14px; bottom: 14px; width: 46px; height: 46px; } }
.social { display: flex; gap: 10px; }
.social a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .1); display: grid; place-items: center; transition: background .25s var(--ease), transform .25s var(--ease); }
.social a:hover { background: var(--purple); transform: translateY(-3px); }
.social svg { width: 18px; height: 18px; fill: #fff; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Buchung ---------- */
.booking { max-width: 860px; margin-inline: auto; }
.stepper { display: flex; gap: 8px; margin-bottom: 28px; padding: 0; list-style: none; counter-reset: s; }
.stepper li { flex: 1; display: flex; align-items: center; gap: 10px; font-size: .88rem; color: var(--muted); padding: 10px 12px; border-radius: 999px; background: #fff; box-shadow: var(--shadow); }
.stepper li::before { counter-increment: s; content: counter(s); width: 26px; height: 26px; border-radius: 50%; background: var(--lilac-soft); color: var(--purple-dark); font-weight: 700; display: grid; place-items: center; font-size: .8rem; flex-shrink: 0; }
.stepper li.is-active { color: var(--plum); font-weight: 600; }
.stepper li.is-active::before { background: var(--purple); color: #fff; }
.stepper li.is-done::before { background: var(--ok); color: #fff; content: "✓"; }
@media (max-width: 640px) { .stepper li span { display: none; } .stepper li { justify-content: center; } }

.panel { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(22px, 4vw, 36px); }
.panel h2 { font-size: 1.5rem; }
.choice-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.choice-tabs button {
  font: inherit; font-weight: 600; font-size: .92rem; padding: 10px 16px; border-radius: 999px; border: 2px solid var(--line); background: #fff; color: var(--muted); cursor: pointer;
  transition: all .25s var(--ease);
}
.choice-tabs button:hover { border-color: var(--lilac); color: var(--purple-dark); }
.choice-tabs button.is-active { background: var(--purple); border-color: var(--purple); color: #fff; }

.options { display: grid; gap: 10px; }
.option {
  display: grid; grid-template-columns: 24px 1fr auto; gap: 14px; align-items: center; padding: 14px 16px; border-radius: var(--radius-sm); border: 2px solid var(--line); cursor: pointer;
  transition: border-color .25s var(--ease), background .25s var(--ease), transform .25s var(--ease);
}
.option:hover { border-color: var(--lilac); background: var(--lilac-soft); }
.option.is-selected { border-color: var(--purple); background: var(--lilac-soft); }
.option.is-full { opacity: .55; cursor: not-allowed; }
.option input { width: 20px; height: 20px; accent-color: var(--purple); margin: 0; }
.option b { display: block; color: var(--plum); font-size: .98rem; }
.option span { color: var(--muted); font-size: .88rem; }
.option .price { font-size: 1rem; }
.day-group { margin-top: 14px; }
.day-group h4 { margin: 0 0 8px; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
label.field { display: grid; gap: 6px; font-size: .9rem; font-weight: 500; color: var(--plum); }
label.field span.hint { font-weight: 400; color: var(--muted); font-size: .82rem; }
.field input, .field select, .field textarea {
  font: inherit; padding: 12px 14px; border-radius: var(--radius-sm); border: 2px solid var(--line); background: #fff; color: var(--ink); width: 100%;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--purple); box-shadow: 0 0 0 4px rgba(147, 84, 145, .15); }
.field textarea { min-height: 96px; resize: vertical; }
.field.invalid input { border-color: var(--warn); }
.pay-options { display: grid; gap: 10px; }
.summary { background: var(--lilac-soft); border-radius: var(--radius-sm); padding: 16px 18px; display: grid; gap: 4px; font-size: .95rem; }
.summary b { color: var(--plum); }
.summary .total { display: flex; justify-content: space-between; border-top: 1px solid var(--lilac); margin-top: 8px; padding-top: 8px; font-weight: 600; color: var(--plum); }
.actions { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.alert { border-radius: var(--radius-sm); padding: 14px 16px; font-size: .95rem; margin-bottom: 18px; }
.alert-warn { background: var(--warn-soft); color: var(--warn); border: 1px solid #F0C9B5; }
.alert-ok { background: var(--ok-soft); color: var(--ok); border: 1px solid #BFE3CD; }
.alert-info { background: var(--lilac-soft); color: var(--purple-deep); border: 1px solid var(--lilac); }
.spinner { display: inline-block; width: 18px; height: 18px; border: 3px solid rgba(255, 255, 255, .4); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.honey { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.confirm-box { text-align: center; }
.confirm-box .big { width: 72px; height: 72px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); display: grid; place-items: center; font-size: 2rem; margin: 0 auto 16px; }
.pay-buttons { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin: 18px 0 8px; }
.ref { font-family: "Consolas", monospace; background: var(--lilac-soft); padding: 2px 8px; border-radius: 6px; }

/* Preisliste im Shop */
.product { text-align: left; }
.product .card-media { aspect-ratio: 1; background: #F3EEF3; }
.product .card-media img { object-fit: contain; padding: 8%; }
.product .card-media.photo img { object-fit: cover; padding: 0; }

/* ---------- Animationen beim Scrollen ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Intro auf der Startseite ----------
   Ablauf: Die Figur läuft von links herein → Schriftzug «MamiFit®» erscheint → Slogan Wort für Wort →
   das Logo fliegt in die Menüleiste (site.js). Nur aktiv, wenn das Inline-Script in index.html
   html.has-intro gesetzt hat (kein JavaScript / reduzierte Bewegung = kein Intro).
   --k = Zeitfaktor für den ganzen Ablauf. Zeiten in site.js (flyIntro) passend halten. */
.intro { display: none; }
html.has-intro { --k: 1; }
html.has-intro .intro {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: min(4vw, 26px);
  position: fixed; inset: 0; z-index: 1000; background: var(--cream); cursor: pointer;
  transition: background-color calc(.5s * var(--k)) var(--ease);
  animation: introSafety 0s linear calc(8s * var(--k)) forwards;   /* Notbremse, falls das Script klemmt */
}
html.has-intro .intro::before {
  content: ""; position: absolute; width: 92vw; height: 92vw; max-width: 820px; max-height: 820px; border-radius: 50%;
  background: radial-gradient(closest-side, var(--lilac), transparent 72%);
  animation: introGlow calc(1.8s * var(--k)) var(--ease) both;
}
html.has-intro .intro.is-flying { background-color: rgba(253, 251, 252, 0); }
html.has-intro .intro.is-flying::before { opacity: 0; transition: opacity calc(.45s * var(--k)) var(--ease); }
html.intro-running .site-header .brand img { opacity: 0; animation: introSafetyShow 0s linear calc(8s * var(--k)) forwards; }
html.has-intro .intro__tagline, html.has-intro .intro__skip { transition: opacity .4s var(--ease); }

.intro__logo { position: relative; width: min(74vw, 360px); aspect-ratio: 700 / 473; will-change: transform; }
.intro__part { position: absolute; inset: 0; width: 100%; height: auto; }
/* Die Figur läuft von links ins Bild – leichtes Überschwingen wie ein Absprung */
.intro__figure { opacity: 0; transform: translateX(-125vw) rotate(-8deg); animation: introRunIn calc(.8s * var(--k)) cubic-bezier(.18,.9,.28,1.1) forwards; }
/* Der Schriftzug kommt, sobald die Figur steht */
.intro__word { opacity: 0; transform: translateY(14px); animation: introRise calc(.55s * var(--k)) var(--ease) calc(.6s * var(--k)) forwards; }
/* Das ® fliegt zuletzt von rechts oben an seinen Platz und schlägt ein (Ruck auf dem ganzen Logo) */
.intro__r { opacity: 0; transform: translate(26vw, -18vh) scale(2.4) rotate(35deg); animation: introStamp calc(.6s * var(--k)) cubic-bezier(.5,.02,.2,1) calc(1.15s * var(--k)) forwards; }
.intro__logo.is-impact { animation: introImpact calc(.45s * var(--k)) linear; }
@keyframes introStamp { 70% { opacity: 1; } to { opacity: 1; transform: none; } }
@keyframes introImpact {
  0% { transform: translate(0, 0); } 10% { transform: translate(-7px, 4px); } 22% { transform: translate(6px, -4px); }
  36% { transform: translate(-4px, 2px); } 52% { transform: translate(3px, -2px); } 68% { transform: translate(-2px, 1px); }
  84% { transform: translate(1px, 0); } 100% { transform: translate(0, 0); }
}
.intro__tagline { margin: 0; font-size: clamp(1rem, 2.4vw, 1.35rem); font-weight: 500; color: var(--purple); position: relative; }
.intro__tagline span { display: inline-block; opacity: 0; transform: translateY(8px); animation: introRise calc(.45s * var(--k)) var(--ease) forwards; }
.intro__tagline span:nth-child(1) { animation-delay: calc(1.05s * var(--k)); }
.intro__tagline span:nth-child(2) { animation-delay: calc(1.25s * var(--k)); }
.intro__skip { position: absolute; bottom: 28px; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); opacity: 0; animation: introRise calc(.4s * var(--k)) var(--ease) calc(1.5s * var(--k)) forwards; }
@keyframes introRunIn { 60% { opacity: 1; } to { opacity: 1; transform: none; } }
@keyframes introRise { to { opacity: 1; transform: none; } }
@keyframes introGlow { from { opacity: 0; transform: scale(.72); } to { opacity: .85; transform: scale(1); } }
@keyframes introSafety { to { opacity: 0; visibility: hidden; } }
@keyframes introSafetyShow { to { opacity: 1; } }
html.intro-running, html.intro-running body { overflow: hidden; }
.site-header .brand img { transition: opacity .35s var(--ease), transform .3s var(--ease); }

/* Cookie-freier Hinweis für Karten-Einbettung */
.map-consent { display: grid; place-items: center; height: 100%; text-align: center; padding: 24px; gap: 12px; color: var(--muted); }
