/* ==========================================================
   Selina Oraca · Matten Pilates
   Farbpalette: #886F68 #C0CAAD #F9B4ED #2F2504 #EBCBF4
   ========================================================== */

:root {
  --mauve: #886F68;
  --sage: #C0CAAD;
  --pink: #F9B4ED;
  --espresso: #2F2504;
  --lavender: #EBCBF4;

  --cream: #FBF8F4;
  --sand: #F3EDE8;
  --text: var(--espresso);
  --muted: #6E5A54;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Manrope", system-ui, -apple-system, sans-serif;

  --radius-lg: 32px;
  --radius-md: 20px;
  --radius-sm: 12px;
  --shadow: 0 30px 60px -30px rgba(47, 37, 4, .35);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 em, h2 em { font-style: italic; font-weight: 300; color: var(--mauve); }
p { margin: 0 0 1em; }

.container { width: min(1200px, 100% - 48px); margin-inline: auto; }
.section { padding: clamp(80px, 11vw, 140px) 0; }
.section__head { max-width: 640px; margin-bottom: 56px; }
.section__head--split { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 40px; flex-wrap: wrap; }
.section__head--split .section__sub { max-width: 420px; }
.section__sub { color: var(--muted); }
h2 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--mauve); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 1.5px; background: currentColor; }
.eyebrow--light { color: var(--pink); }
.eyebrow--dark { color: var(--espresso); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 28px; border-radius: 999px;
  font-weight: 600; font-size: .95rem; text-decoration: none; letter-spacing: .01em;
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform .3s var(--ease), background .3s, color .3s, box-shadow .3s;
}
.btn:hover { transform: translateY(-2px); }
.btn--sm { padding: 10px 20px; font-size: .88rem; }
.btn--dark { background: var(--espresso); color: var(--cream); }
.btn--dark:hover { background: var(--mauve); box-shadow: var(--shadow); }
.btn--pink { background: var(--pink); color: var(--espresso); }
.btn--pink:hover { background: var(--lavender); }
.btn--ghost { border-color: var(--espresso); color: var(--espresso); }
.btn--ghost:hover { background: var(--espresso); color: var(--cream); }
.btn--light { background: rgba(255,255,255,.7); color: var(--espresso); border-color: rgba(47,37,4,.15); }
.btn--light:hover { background: #fff; }

.link-arrow { font-weight: 600; text-decoration: none; border-bottom: 1.5px solid var(--pink); padding-bottom: 4px; display: inline-flex; gap: 8px; }
.link-arrow span { transition: transform .3s var(--ease); }
.link-arrow:hover span { transform: translateX(5px); }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  padding: 18px 0; transition: background .4s, padding .4s, box-shadow .4s;
}
/* Hintergrund + Blur liegen auf einer eigenen Ebene: backdrop-filter direkt auf .nav würde
   das mobile Vollbild-Menü (position: fixed) auf die Höhe der Kopfleiste begrenzen. */
.nav::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  opacity: 0; transition: opacity .4s;
  background: rgba(251, 248, 244, .88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(47,37,4,.08);
}
.nav.is-scrolled::before { opacity: 1; }
.nav.is-scrolled { padding: 10px 0; }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav__links { display: flex; align-items: center; gap: 32px; }
.nav__links a:not(.btn) { text-decoration: none; font-size: .93rem; font-weight: 500; position: relative; }
.nav__links a:not(.btn)::after { content: ""; position: absolute; left: 0; bottom: -4px; width: 100%; height: 1.5px; background: var(--mauve); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav__links a:not(.btn):hover::after { transform: scaleX(1); }
.nav__toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative; }
.nav__toggle span { position: absolute; left: 10px; right: 10px; height: 1.8px; background: var(--espresso); transition: transform .3s var(--ease), top .3s; }
.nav__toggle span:first-child { top: 17px; }
.nav__toggle span:last-child { top: 25px; }
.nav__toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.logo__mark {
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--lavender); color: var(--espresso);
  font-family: var(--font-display); font-style: italic; font-size: 1.4rem;
}
.logo__text { font-family: var(--font-display); font-size: 1.2rem; line-height: 1; display: flex; flex-direction: column; }
.logo__text small { font-family: var(--font-body); font-size: .66rem; letter-spacing: .3em; text-transform: uppercase; color: var(--mauve); margin-top: 5px; font-weight: 600; }
.logo--light .logo__text { color: var(--cream); }
.logo--light .logo__text small { color: var(--pink); }

/* ---------- Hero ---------- */
.hero { overflow: hidden;
  padding: clamp(130px, 16vw, 170px) 0 clamp(60px, 8vw, 100px);
  background:
    radial-gradient(60% 50% at 90% 10%, rgba(235, 203, 244, .55), transparent 70%),
    radial-gradient(45% 40% at 0% 55%, rgba(192, 202, 173, .45), transparent 70%),
    var(--cream);
}
.hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.hero h1 { font-size: clamp(3rem, 7.2vw, 6rem); margin-bottom: 28px; }
.hero__lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--muted); max-width: 520px; margin-bottom: 36px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 52px; }
.hero__facts { list-style: none; padding: 0; margin: 0; display: flex; gap: clamp(24px, 4vw, 48px); border-top: 1px solid rgba(47,37,4,.12); padding-top: 28px; }
.hero__facts li { display: flex; flex-direction: column; }
.hero__facts strong { font-family: var(--font-display); font-weight: 400; font-size: 2rem; line-height: 1.1; }
.hero__facts span { font-size: .82rem; color: var(--muted); letter-spacing: .04em; }

.hero__media { position: relative; justify-self: end; width: 100%; max-width: 460px; }
.hero__blob {
  position: absolute; inset: -6% -8% 8% 10%;
  background: var(--pink); opacity: .55;
  border-radius: 60% 40% 55% 45% / 50% 55% 45% 50%;
  filter: blur(2px);
  animation: morph 14s ease-in-out infinite;
}
.hero__img {
  position: relative; width: 100%; aspect-ratio: 3 / 4; object-fit: cover;
  border-radius: 240px 240px var(--radius-lg) var(--radius-lg);
  box-shadow: var(--shadow);
}
.hero__badge {
  position: absolute; left: -32px; bottom: 44px;
  display: flex; align-items: center; gap: 14px;
  background: rgba(255,255,255,.92); backdrop-filter: blur(8px);
  padding: 16px 22px; border-radius: var(--radius-md);
  box-shadow: 0 18px 40px -18px rgba(47,37,4,.35);
  animation: float 6s ease-in-out infinite;
}
.hero__badge small { display: block; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--mauve); font-weight: 700; }
.hero__badge strong { font-family: var(--font-display); font-weight: 400; font-size: 1.25rem; }
.hero__badge-dot { width: 12px; height: 12px; border-radius: 50%; background: #7C9A5B; box-shadow: 0 0 0 5px rgba(192,202,173,.7); flex-shrink: 0; }

@keyframes morph {
  0%, 100% { border-radius: 60% 40% 55% 45% / 50% 55% 45% 50%; transform: rotate(0deg); }
  50% { border-radius: 45% 55% 40% 60% / 55% 45% 55% 45%; transform: rotate(6deg); }
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.about__media { position: relative; }
.about__media img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius-lg); }
.about__media::before {
  content: ""; position: absolute; inset: 28px -28px -28px 28px; z-index: -1;
  border-radius: var(--radius-lg); background: var(--sage);
}
.about__tag {
  position: absolute; top: 28px; right: -22px;
  background: var(--lavender); padding: 12px 20px; border-radius: 999px;
  font-family: var(--font-display); font-style: italic; font-size: 1.1rem;
  box-shadow: 0 14px 30px -16px rgba(47,37,4,.4);
}
.about__text p:not(.eyebrow) { color: var(--muted); font-size: 1.05rem; }
.about__text .link-arrow { margin-top: 12px; }

/* ---------- Benefits ---------- */
.benefits { background: var(--sand); }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card {
  background: var(--cream); border-radius: var(--radius-md); padding: 36px 28px 32px;
  transition: transform .4s var(--ease), background .4s, box-shadow .4s;
  border: 1px solid rgba(47,37,4,.06);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card:nth-child(1):hover { background: var(--lavender); }
.card:nth-child(2):hover { background: #E4E9DB; }
.card:nth-child(3):hover { background: #FCDDF6; }
.card:nth-child(4):hover { background: #EFE6E3; }
.card__num { font-family: var(--font-display); font-style: italic; font-size: 1rem; color: var(--mauve); display: block; margin-bottom: 44px; }
.card h3 { font-size: 1.55rem; margin-bottom: 12px; }
.card p { color: var(--muted); font-size: .96rem; margin: 0; }

/* ---------- Course ---------- */
.course { background: linear-gradient(180deg, var(--cream) 0 30%, var(--espresso) 30% 100%); }
.course__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 20px; align-items: center; }
.course__media img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius-lg); }
.course__card {
  background: #3B2F12; color: var(--cream);
  border-radius: var(--radius-lg);
  padding: clamp(36px, 5vw, 64px);
  background-image: radial-gradient(80% 60% at 100% 0%, rgba(249,180,237,.18), transparent 70%);
}
.course__card h2 em { color: var(--pink); }
.course__intro { color: rgba(251,248,244,.75); margin-bottom: 32px; }
.course__list { margin: 0 0 36px; display: grid; gap: 0; }
.course__list div { display: flex; justify-content: space-between; gap: 20px; padding: 16px 0; border-bottom: 1px solid rgba(251,248,244,.14); }
.course__list dt { color: var(--sage); font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; }
.course__list dd { margin: 0; text-align: right; font-weight: 500; }
.course__price { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.course__price-value { font-family: var(--font-display); font-size: 3.4rem; line-height: 1; display: block; }
.course__price-note { font-size: .85rem; color: rgba(251,248,244,.65); }

/* ---------- Dates ---------- */
.dates { background: var(--espresso); color: var(--cream); padding-top: clamp(60px, 8vw, 100px); }
.dates h2 em { color: var(--pink); }
.dates .eyebrow { color: var(--sage); }
.dates .section__sub { color: rgba(251,248,244,.7); }
.dates__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.dates__list li {
  position: relative; padding: 26px 24px; border-radius: var(--radius-md);
  border: 1px solid rgba(251,248,244,.16);
  display: flex; flex-direction: column; gap: 2px;
  transition: background .3s, border-color .3s, transform .3s var(--ease);
}
.dates__list li:hover { border-color: var(--pink); transform: translateY(-3px); }
.dates__n { font-size: .75rem; letter-spacing: .15em; color: var(--sage); font-weight: 600; }
.dates__day { font-family: var(--font-display); font-size: 2.3rem; line-height: 1.15; }
.dates__meta { font-size: .85rem; color: rgba(251,248,244,.6); }
.dates__list li.is-past { opacity: .42; }
.dates__list li.is-past .dates__day { text-decoration: line-through; text-decoration-thickness: 1px; }
.dates__list li.is-next { background: var(--pink); color: var(--espresso); border-color: var(--pink); }
.dates__list li.is-next .dates__n,
.dates__list li.is-next .dates__meta { color: var(--espresso); }
.dates__list li.is-next::after {
  content: "Nächster Termin"; align-self: flex-start; margin-top: 10px;
  font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  background: var(--espresso); color: var(--pink); padding: 5px 10px; border-radius: 999px;
}

/* ---------- Gallery ---------- */
.gallery__grid {
  display: grid; gap: 18px;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 300px 300px;
  grid-template-areas: "tall wide wide" "tall a b";
}
.g { margin: 0; overflow: hidden; border-radius: var(--radius-md); background: var(--sand); }
.g img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.g:hover img { transform: scale(1.05); }
.g--tall { grid-area: tall; }
.g--wide { grid-area: wide; }
.g--wide img { object-position: 50% 60%; }
.gallery__grid .g:nth-child(3) { grid-area: a; }
.gallery__grid .g:nth-child(4) { grid-area: b; }
.gallery__grid .g:nth-child(3) img { object-position: 55% 50%; }
.gallery__grid .g:nth-child(4) img { object-position: 30% 60%; }

/* ---------- Steps ---------- */
.steps { background: var(--lavender); }
.steps h2 em { color: var(--mauve); }
.steps__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step { background: rgba(255,255,255,.55); border-radius: var(--radius-md); padding: 36px 32px; position: relative; }
.step__icon {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  background: var(--espresso); color: var(--pink);
  font-family: var(--font-display); font-style: italic; font-size: 1.4rem; margin-bottom: 28px;
}
.step h3 { font-size: 1.5rem; margin-bottom: 10px; }
.step p { color: var(--muted); margin: 0; }

/* ---------- FAQ ---------- */
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 7vw, 100px); align-items: start; }
.faq__list details { border-bottom: 1px solid rgba(47,37,4,.14); }
.faq__list details:first-child { border-top: 1px solid rgba(47,37,4,.14); }
.faq__list summary {
  list-style: none; cursor: pointer; padding: 26px 48px 26px 0; position: relative;
  font-family: var(--font-display); font-size: 1.35rem; line-height: 1.3;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: var(--sand); font-family: var(--font-body); font-size: 1.2rem; transition: transform .3s var(--ease), background .3s;
}
.faq__list details[open] summary::after { content: "–"; background: var(--pink); }
.faq__list details p { color: var(--muted); padding-bottom: 26px; margin: 0; max-width: 580px; }

/* ---------- Contact ---------- */
.contact { padding-top: 0; }
.contact__box {
  display: grid; grid-template-columns: 1.3fr .9fr; gap: clamp(32px, 5vw, 80px); align-items: center;
  border-radius: var(--radius-lg); padding: clamp(36px, 6vw, 80px);
  background:
    radial-gradient(70% 90% at 100% 100%, rgba(235,203,244,.9), transparent 70%),
    linear-gradient(135deg, var(--pink), #FAD3F2 60%, var(--lavender));
}
.contact__box h2 em { color: var(--espresso); }
.contact__text > p:not(.eyebrow) { font-size: 1.08rem; max-width: 480px; }
.contact__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.contact__info { list-style: none; margin: 0; padding: 32px; background: rgba(255,255,255,.6); border-radius: var(--radius-md); backdrop-filter: blur(8px); display: grid; gap: 22px; }
.contact__info span { display: block; font-size: .72rem; letter-spacing: .15em; text-transform: uppercase; color: var(--mauve); font-weight: 700; margin-bottom: 2px; }
.contact__info a, .contact__info p { font-family: var(--font-display); font-size: 1.25rem; text-decoration: none; margin: 0; line-height: 1.35; }
.contact__info a:hover { color: var(--mauve); }

/* ---------- Footer ---------- */
.footer { background: var(--espresso); color: rgba(251,248,244,.7); padding: 48px 0; font-size: .9rem; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer__links { display: flex; gap: 28px; }
.footer__links a { text-decoration: none; }
.footer__links a:hover { color: var(--pink); }
.footer__copy { margin: 0; }

/* ---------- Floating WhatsApp ---------- */
.float-wa {
  position: fixed; right: 22px; bottom: 22px; z-index: 40;
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: var(--espresso); color: var(--pink);
  box-shadow: 0 16px 30px -12px rgba(47,37,4,.6);
  transition: transform .3s var(--ease), opacity .3s;
  opacity: 0; pointer-events: none; transform: translateY(20px);
}
.float-wa.is-visible { opacity: 1; pointer-events: auto; transform: none; }
.float-wa:hover { transform: scale(1.08); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Unterseiten ---------- */
.nav__links a[aria-current="page"] { color: var(--mauve); }
.nav__links a[aria-current="page"]::after { transform: scaleX(1); }

.page-hero {
  padding: clamp(140px, 17vw, 200px) 0 clamp(40px, 6vw, 70px);
  background:
    radial-gradient(55% 70% at 95% 0%, rgba(235, 203, 244, .6), transparent 70%),
    radial-gradient(40% 60% at 0% 30%, rgba(192, 202, 173, .4), transparent 70%),
    var(--cream);
}
.page-hero h1 { font-size: clamp(2.8rem, 6.5vw, 5.2rem); max-width: 900px; }
.page-hero__lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--muted); max-width: 560px; margin: 0; }
.page-hero + .section { padding-top: clamp(40px, 6vw, 70px); }
.page-hero + .course--page { background: var(--espresso); padding-top: clamp(60px, 8vw, 100px); }

/* Startseite: Wegweiser-Kacheln */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tile {
  position: relative; display: block; overflow: hidden; border-radius: var(--radius-md);
  aspect-ratio: 3 / 4; text-decoration: none; color: var(--cream); background: var(--sand);
}
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(47,37,4,.7)); }
.tile:hover img { transform: scale(1.05); }

.tile__label {
  position: absolute; left: 24px; right: 24px; bottom: 22px; z-index: 1;
  font-family: var(--font-display); font-size: 1.6rem; line-height: 1.2;
  display: flex; align-items: baseline; gap: 12px;
}
.tile__label small { font-family: var(--font-body); font-size: .75rem; letter-spacing: .15em; color: var(--pink); font-weight: 700; }
.tile__label span { margin-left: auto; transition: transform .3s var(--ease); }
.tile:hover .tile__label span { transform: translateX(5px); }

/* Anmelde-Band */
.cta { padding-top: 0; }
.benefits + .cta, .faq + .cta { padding-top: clamp(80px, 11vw, 140px); }
.cta-band {
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
  border-radius: var(--radius-lg); padding: clamp(36px, 5vw, 64px);
  background:
    radial-gradient(70% 90% at 100% 100%, rgba(235,203,244,.9), transparent 70%),
    linear-gradient(135deg, var(--pink), #FAD3F2 60%, var(--lavender));
}
.cta-band h2 { font-size: clamp(2rem, 4vw, 3rem); }
.cta-band h2 em { color: var(--espresso); }
.cta-band p:not(.eyebrow) { margin: 0; max-width: 460px; }
.cta-band__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Galerie-Seite */
.masonry { columns: 3; column-gap: 18px; }
.masonry figure { margin: 0 0 18px; break-inside: avoid; border-radius: var(--radius-md); overflow: hidden; background: var(--sand); }
.masonry img { width: 100%; transition: transform 1.2s var(--ease); }
.masonry figure:hover img { transform: scale(1.04); }

/* Startseite: Angebote */
.offers__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.offer {
  display: flex; flex-direction: column; gap: 4px;
  background: #FCE4F8; border-radius: var(--radius-lg); padding: clamp(28px, 3vw, 40px);
  transition: transform .4s var(--ease), box-shadow .4s;
}
.offer:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.offer--lavender { background: var(--lavender); }
.offer--sage { background: #DDE3D1; }
.offer__tag {
  align-self: flex-start; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  background: rgba(255,255,255,.65); padding: 6px 12px; border-radius: 999px; margin-bottom: 36px;
}
.offer h3 { font-size: clamp(1.6rem, 2.4vw, 2rem); margin-bottom: 10px; }
.offer p { color: var(--muted); font-size: .97rem; flex: 1; }
.offer .link-arrow { align-self: flex-start; margin-top: 8px; border-color: var(--espresso); }

/* Startseite: Vor Ort & online */
.where { background: var(--espresso); color: var(--cream); }
.where__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); }
.where__item h3 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.where__item p:not(.eyebrow) { color: rgba(251,248,244,.75); margin: 0; }
.where + .tiles-section { padding-top: clamp(80px, 11vw, 140px); }

/* Über mich: Zertifizierungen */
.certs__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.cert {
  display: grid; grid-template-columns: 150px 1fr; gap: 28px; align-items: start;
  background: var(--sand); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 36px);
}
.cert__badge {
  aspect-ratio: 1; border-radius: var(--radius-md); background: #FCE4F8;
  border: 1.5px dashed var(--mauve); display: grid; place-items: center; text-align: center; padding: 12px;
}
.cert__badge--lavender { background: var(--lavender); }
.cert__badge span { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--mauve); }
.cert__tag { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--mauve); margin-bottom: 8px; }
.cert h3 { font-size: clamp(1.5rem, 2.2vw, 1.9rem); margin-bottom: 16px; }
.cert__meta { margin: 0 0 16px; display: grid; gap: 8px; }
.cert__meta div { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 8px; border-bottom: 1px solid rgba(47,37,4,.1); font-size: .93rem; }
.cert__meta dt { color: var(--muted); }
.cert__meta dd { margin: 0; text-align: right; font-weight: 600; }
.cert p { margin: 0; font-size: .95rem; color: var(--muted); }
/* Platzhalter sichtbar markieren – Klasse "ph" nach dem Ausfüllen entfernen */
.ph { background: rgba(249,180,237,.35); border-radius: 4px; padding: 0 4px; }

.cards--five { grid-template-columns: repeat(5, 1fr); gap: 16px; }
.cards--five .card { padding: 32px 24px 28px; }
.cards--five .card h3 { font-size: 1.4rem; }
.card:nth-child(5):hover { background: #E4E9DB; }

.offer__when { font-size: .85rem; font-weight: 600; color: var(--espresso); flex: 0 !important; margin: -4px 0 12px; }

/* Kursseite: Pränatales Pilates – schließt im Braunton an die Termine an */
.prenatal { background: var(--espresso); color: var(--cream); padding-top: 0; }
.prenatal__box {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 80px); align-items: center;
  border-radius: var(--radius-lg); padding: clamp(36px, 5vw, 72px);
  background: #3B2F12;
  background-image: radial-gradient(80% 60% at 100% 0%, rgba(249,180,237,.18), transparent 70%);
}
.prenatal .eyebrow { color: var(--sage); }
.prenatal h2 em { color: var(--pink); }
.prenatal__text > p:not(.eyebrow) { color: rgba(251,248,244,.75); }
.prenatal__note { font-size: .9rem; font-style: italic; }
.prenatal__text .btn { margin-top: 8px; }
.prenatal__list { margin: 0; border: 1px solid rgba(251,248,244,.16); border-radius: var(--radius-md); padding: 8px 28px; }
.prenatal__list div { display: flex; justify-content: space-between; gap: 20px; padding: 16px 0; border-bottom: 1px solid rgba(251,248,244,.14); }
.prenatal__list div:last-child { border-bottom: 0; }
.prenatal__list dt { color: var(--sage); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; }
.prenatal__list dd { margin: 0; text-align: right; font-weight: 500; }
.prenatal__list dd.soon { font-style: italic; color: var(--pink); }

/* Anmeldung */
.signup__grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.form-card { background: #fff; border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 52px); box-shadow: 0 30px 60px -40px rgba(47,37,4,.35); border: 1px solid rgba(47,37,4,.06); }
.form-card fieldset { border: 0; padding: 0; margin: 0 0 28px; }
.form-card legend { font-family: var(--font-display); font-size: 1.35rem; margin-bottom: 14px; padding: 0; }
.choices--courses { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.choice { position: relative; cursor: pointer; }
.choice input, .pill input { position: absolute; opacity: 0; pointer-events: none; }
.choice span {
  display: flex; flex-direction: column; gap: 4px; height: 100%;
  padding: 18px; border-radius: var(--radius-sm); border: 1.5px solid rgba(47,37,4,.14); background: var(--cream);
  transition: border-color .2s, background .2s;
}
.choice strong { font-weight: 600; font-size: .98rem; line-height: 1.3; }
.choice small { color: var(--muted); font-size: .82rem; }
.choice:hover span { border-color: var(--mauve); }
.choice input:checked + span { border-color: var(--espresso); background: #FCE4F8; }
.choice input:focus-visible + span, .pill input:focus-visible + span { outline: 2px solid var(--mauve); outline-offset: 2px; }
.choices--inline { display: flex; gap: 10px; flex-wrap: wrap; }
.pill span { display: inline-block; padding: 10px 20px; border-radius: 999px; border: 1.5px solid rgba(47,37,4,.14); cursor: pointer; font-weight: 500; font-size: .93rem; transition: all .2s; }
.pill input:checked + span { background: var(--espresso); color: var(--cream); border-color: var(--espresso); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.field label { font-size: .88rem; font-weight: 600; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--espresso);
  padding: 14px 16px; border-radius: var(--radius-sm); border: 1.5px solid rgba(47,37,4,.14); background: var(--cream);
  transition: border-color .2s, background .2s; width: 100%;
}
.field textarea { resize: vertical; min-height: 110px; }
.field select {
  -webkit-appearance: none; appearance: none; cursor: pointer; padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%232F2504' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 18px center;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--mauve); background: #fff; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .88rem; color: var(--muted); margin: 6px 0 24px; cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--espresso); flex-shrink: 0; }
.check a, .form-card a { color: var(--espresso); }
.form-submit { width: 100%; }
.form-submit[disabled] { opacity: .6; cursor: wait; }
.form-hint { font-size: .8rem; color: var(--muted); margin: 14px 0 0; text-align: center; }
.form-status:empty { display: none; }
.form-status { margin: 18px 0 0; padding: 16px 18px; border-radius: var(--radius-sm); font-size: .95rem; }
.form-status.is-ok { background: #E4E9DB; }
.form-status.is-error { background: #FCE4F8; }
.hp { position: absolute; left: -9999px; }
.form-done { text-align: center; padding: 40px 10px; }
.form-done h2 { font-size: clamp(2rem, 4vw, 2.8rem); }
.form-done p { color: var(--muted); max-width: 420px; margin-inline: auto; }

.signup__aside { display: grid; gap: 20px; }
.aside-card { background: var(--lavender); border-radius: var(--radius-lg); padding: 32px; }
.aside-card h3 { font-size: 1.8rem; }
.aside-card h3 em { font-style: italic; font-weight: 300; color: var(--mauve); }
.aside-card > p:not(.eyebrow) { color: var(--muted); font-size: .95rem; }
.aside-list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 14px; }
.aside-list span { display: block; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--mauve); font-weight: 700; }
.aside-list a { font-family: var(--font-display); font-size: 1.2rem; text-decoration: none; }
.aside-card--dark { background: var(--espresso); color: var(--cream); }
.aside-steps { margin: 0; padding-left: 20px; display: grid; gap: 10px; color: rgba(251,248,244,.8); }
.aside-steps li::marker { color: var(--pink); font-family: var(--font-display); }

/* Bilder in Angebotskarten, Über mich, Kurs, Anmeldung, Kontakt */
.offer__img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius-md); margin-bottom: 22px; }
.offer__img + .offer__tag { margin-bottom: 18px; }

.about-trio { padding-bottom: clamp(20px, 4vw, 40px); }
.about-trio__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.about-trio figure { margin: 0; overflow: hidden; border-radius: var(--radius-md); }
.about-trio img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform 1.2s var(--ease); }
.about-trio figure:hover img { transform: scale(1.04); }

/* Bild links über die volle Höhe, rechts Text und Kursdaten untereinander */
.prenatal__box {
  grid-template-columns: .8fr 1.2fr !important;
  grid-template-areas: "img text" "img list";
  align-items: start; row-gap: 32px;
}
.prenatal__side { display: contents; }
.prenatal__text { grid-area: text; }
.prenatal__list { grid-area: list; }
.prenatal__img { grid-area: img; align-self: center; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius-md); }

.aside-photo { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius-lg); }

.contact-split { display: grid; grid-template-columns: .8fr 1.2fr; gap: 20px; align-items: start; }
.contact-split__photo { margin: 0; overflow: hidden; border-radius: var(--radius-lg); aspect-ratio: 3 / 4; }
.contact-split__photo img { width: 100%; height: 100%; object-fit: cover; }
.contact-split .contact__box { grid-template-columns: 1fr; }

@media (min-width: 1100px) { .masonry { columns: 4; } }
@media (max-width: 1099px) { .certs__grid { grid-template-columns: 1fr; } }
.certs__grid { align-items: start; }

/* Anliegen (Startseite) */
.mission { text-align: center; padding-bottom: 0; }
.mission__inner { max-width: 880px; }
.mission .eyebrow { justify-content: center; }
.mission h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); line-height: 1.15; }
.mission__text { color: var(--muted); font-size: 1.1rem; max-width: 640px; margin: 0 auto 28px; }

/* Über mich: Einleitungssatz & Philosophie */
.about__lead { font-family: var(--font-display); font-size: 1.35rem !important; line-height: 1.45; color: var(--espresso) !important; }
.philosophy { background: var(--espresso); color: var(--cream); }
.philosophy__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: start; }
.philosophy h2 { font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.15; }
.philosophy h2 em { color: var(--pink); }
.philosophy__text p { color: rgba(251,248,244,.78); }
.philosophy__quote {
  margin: 32px 0 0; padding: 26px 0 0; border-top: 1px solid rgba(251,248,244,.18);
  font-family: var(--font-display); font-size: clamp(1.4rem, 2.4vw, 1.8rem); line-height: 1.35;
}
.philosophy__quote em { font-style: italic; font-weight: 300; color: var(--pink); }
.philosophy + .certs { padding-top: clamp(80px, 11vw, 140px); }

/* Zertifikat-Vorschau */
.cert__doc {
  position: relative; display: block; border-radius: var(--radius-sm); overflow: hidden;
  box-shadow: 0 18px 30px -18px rgba(47,37,4,.45); background: #fff; transition: transform .3s var(--ease);
}
.cert__doc:hover { transform: translateY(-4px) rotate(-1deg); }
.cert__doc img { width: 100%; height: auto; }
.cert__doc span {
  position: absolute; left: 8px; right: 8px; bottom: 8px; text-align: center;
  background: rgba(47,37,4,.82); color: var(--cream); font-size: .72rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; padding: 6px; border-radius: 999px;
  opacity: 0; transition: opacity .3s;
}
.cert__doc:hover span, .cert__doc:focus-visible span { opacity: 1; }

/* Zertifikat: aufklappbare Ausbildungsinhalte */
.cert__more { margin-top: 18px; border-top: 1px solid rgba(47,37,4,.1); padding-top: 14px; }
.cert__more summary {
  cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: .9rem;
}
.cert__more summary::-webkit-details-marker { display: none; }
.cert__more summary::after {
  content: "+"; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; font-size: 1rem; transition: background .3s;
}
.cert__more[open] summary::after { content: "–"; background: var(--pink); }
.cert__topics { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 24px; margin-top: 18px; }
.cert__topics h4 { margin: 0 0 6px; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--mauve); }
.cert__topics ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: .9rem; display: grid; gap: 4px; }
.cert__topics li::marker { color: var(--pink); }
.cert .cert__note { margin-top: 16px; font-size: .9rem; font-style: italic; }

/* Logo-Bild */
.logo__img { display: block; height: 64px; width: auto; transition: height .4s var(--ease); }
.nav.is-scrolled .logo__img { height: 52px; }
.footer .logo__img { height: 84px; }

.prenatal__list .soon-note { font-style: italic; font-weight: 400; color: var(--pink); font-size: .9em; }

.logo__name { font-family: var(--font-display); font-size: 1.35rem; line-height: 1; color: var(--espresso); white-space: nowrap; }
.logo__name em { font-style: italic; font-weight: 300; color: var(--mauve); }

/* Impressum & Datenschutz */
.legal { padding-top: clamp(30px, 5vw, 60px) !important; }
.legal__body > * { max-width: 760px; }
.legal__body h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin: 44px 0 12px; }
.legal__body h2:first-of-type { margin-top: 0; }
.legal__body p, .legal__body li { color: var(--muted); }
.legal__body ul { padding-left: 20px; margin: 0 0 1em; }
.legal__body li { margin-bottom: 4px; }
.legal__body a { color: var(--espresso); }
.legal__date { margin-top: 48px; font-size: .9rem; }

.dates__note { margin: 24px 0 0; color: var(--pink); font-size: .95rem; }

/* Großansicht für Zertifikate */
.lightbox {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 64px 16px 24px;
  background: rgba(47,37,4,.88); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  opacity: 0; transition: opacity .25s;
}
.lightbox.is-open { opacity: 1; }
.lightbox img { max-width: min(900px, 100%); max-height: calc(100vh - 100px); max-height: calc(100dvh - 100px); width: auto; height: auto; object-fit: contain; border-radius: var(--radius-sm); box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); }
.lightbox__close {
  position: absolute; top: 14px; right: 14px; width: 48px; height: 48px; border-radius: 50%;
  border: 0; cursor: pointer; background: var(--pink); color: var(--espresso);
  font-size: 1.8rem; line-height: 1; display: grid; place-items: center; transition: transform .2s;
}
.lightbox__close:hover { transform: scale(1.08); }
.lightbox__close:focus-visible { outline: 2px solid var(--cream); outline-offset: 3px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .cards, .cards--five { grid-template-columns: repeat(2, 1fr); }
  .cards--five .card:last-child { grid-column: span 2; }
  .dates__list { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 880px) {
  .nav__toggle { display: block; z-index: 2; }
  .logo__img, .nav.is-scrolled .logo__img { height: 50px; }
  .logo__name { font-size: 1.15rem; }
  .nav__links {
    position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 28px;
    background: var(--cream); font-size: 1.4rem;
    opacity: 0; pointer-events: none; transition: opacity .35s;
  }
  .nav__links a:not(.btn) { font-family: var(--font-display); font-size: 2rem; }
  .nav__links.is-open { opacity: 1; pointer-events: auto; }
  .nav__cta { margin-top: 12px; }

  .hero__grid, .about__grid, .course__grid, .faq__grid, .contact__box { grid-template-columns: 1fr; }
  .hero__media { justify-self: center; max-width: 400px; margin-top: 20px; }
  .hero__badge { left: -8px; }
  .about__media { max-width: 460px; }
  .about__media::before { inset: 18px -14px -18px 18px; }
  .about__tag { right: -8px; }
  .course { background: var(--espresso); }


  .steps__grid { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: 1fr 1fr; }
  .offers__grid, .where__grid, .certs__grid, .prenatal__box, .signup__grid, .philosophy__grid { grid-template-columns: 1fr; }
  .prenatal__box { grid-template-columns: 1fr !important; grid-template-areas: "img" "text" "list"; }

  .signup__aside { position: static; }
  .contact-split { grid-template-columns: 1fr; }
  .offer__tag { margin-bottom: 20px; }

  .masonry { columns: 2; }
  .nav__links a[aria-current="page"]::after { display: none; }
  .gallery__grid {
    grid-template-columns: 1fr 1fr; grid-template-rows: 380px 220px 220px;
    grid-template-areas: "tall a" "wide wide" "b b";
  }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .container { width: calc(100% - 32px); }
  .hero__facts strong { font-size: 1.6rem; }
  .cards, .cards--five, .dates__list { grid-template-columns: 1fr; }
  .cards--five .card:last-child { grid-column: auto; }
  .dates__list li { flex-direction: row; align-items: baseline; gap: 16px; padding: 18px 20px; }
  .dates__day { font-size: 1.8rem; }
  .dates__meta { margin-left: auto; }
  .dates__list li.is-next::after { order: 5; margin-top: 4px; }
  .dates__list li.is-next { flex-wrap: wrap; }
  .gallery__grid { grid-template-rows: 280px 200px 200px; gap: 12px; }
  .course__list div { flex-direction: column; gap: 2px; }
  .course__list dd { text-align: left; }
  .contact__info { padding: 24px; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
  .tiles { grid-template-columns: 1fr; }


  .masonry { columns: 1; }
  .cert { grid-template-columns: 1fr; }
  .cert__topics { grid-template-columns: 1fr; }
  .about-trio__grid { gap: 10px; }
  .choices--courses, .form-row { grid-template-columns: 1fr; }
  .form-row { gap: 0; }
  .prenatal__list { padding: 4px 20px; }
  .prenatal__list div { flex-direction: column; gap: 2px; }
  .prenatal__list dd { text-align: left; }
  .cert__badge, .cert__doc { width: 140px; }
}
