/* PMP – Perimenopower Mitgliederbereich
   Schrift: Mont / Mont Black, sobald die Dateien in assets/fonts/ liegen.
   Bis dahin Montserrat als Ersatz. */

/* Aktivieren, sobald die Mont-Dateien in assets/fonts/ liegen:
@font-face { font-family: "Mont"; src: url("../fonts/Mont-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Mont"; src: url("../fonts/Mont-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Mont"; src: url("../fonts/Mont-Bold.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Mont"; src: url("../fonts/Mont-Black.woff2") format("woff2"); font-weight: 900; font-display: swap; }
*/

:root {
  --ink: #282828;
  --muted: #5E5850;
  --orange: #F8981B;
  --lime: #E2F56B;
  --lavender: #D9C3EA;
  --cream: #F1E7DD;
  --glass-bg: rgba(255, 255, 255, .42);
  --glass-border: rgba(255, 255, 255, .65);
  --glass-blur: blur(18px) saturate(1.4);
  --ease: cubic-bezier(.65, 0, .25, 1);
  --font: "Mont", "Montserrat", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--ground, var(--cream));
  transition: background-color .6s ease;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
button { font-family: inherit; color: inherit; }
a { color: var(--ink); }
a:hover { color: #000; }
img { display: block; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.glass {
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
}

/* ---------- Hintergrund ---------- */
.bg { position: fixed; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.bg__blob { position: absolute; border-radius: 50%; filter: blur(48px); }
.bg__blob--accent { width: 300px; height: 300px; left: -110px; top: 330px; opacity: .55; background: var(--accent); transition: background-color .6s ease; }
.bg__blob--lav { width: 240px; height: 240px; left: 70px; bottom: -110px; opacity: .75; background: var(--lavender); }
.bg__wave { position: absolute; width: 820px; left: -240px; top: 250px; transform: rotate(-12deg); }

/* ---------- Kopfzeile ---------- */
.topbar {
  position: sticky; top: 0; z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas: "brand account" "parts parts";
  align-items: center;
  gap: 6px 12px;
  padding: 18px 20px 14px;
  border-width: 0 0 1px;
}
.brand { grid-area: brand; display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand__mark { height: 22px; width: auto; flex: none; }
.brand__name { font-weight: 600; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.account { grid-area: account; justify-self: end; display: flex; align-items: center; gap: 12px; }
.account__admin { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.account__btn {
  width: 44px; height: 44px; border-radius: 99px; border: 0; cursor: pointer;
  background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center;
  text-decoration: none;
}
.account__label { display: none; }

.parts { grid-area: parts; display: flex; gap: 8px; overflow-x: auto; padding-top: 6px; scrollbar-width: none; }
.parts::-webkit-scrollbar { display: none; }
.part-tab {
  min-height: 44px; padding: 0 16px; border-radius: 99px; cursor: pointer; flex: none;
  display: flex; align-items: center; gap: 8px;
  font-weight: 800; font-size: 14px;
  background: transparent; border: 2px solid rgba(40, 40, 40, .2);
  transition: background-color .3s, color .3s, border-color .3s, opacity .3s;
}
.part-tab__num { display: none; }
.part-tab[aria-current="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.part-tab.is-closed:not([aria-current="true"]) { opacity: .6; }
.badge-soon { font-size: 10px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; background: var(--lime); color: var(--ink); padding: 3px 7px; border-radius: 99px; }

/* ---------- Inhalt ---------- */
.main { position: relative; z-index: 1; padding: 20px 20px 48px; overflow-x: hidden; }
.stage { max-width: 1120px; margin: 0 auto; transition: transform .32s var(--ease), opacity .26s ease; }
.stage.is-out-left  { transform: translateX(-48px); opacity: 0; }
.stage.is-out-right { transform: translateX(48px);  opacity: 0; }
.stage.is-pre-left  { transform: translateX(-48px); opacity: 0; transition: none; }
.stage.is-pre-right { transform: translateX(48px);  opacity: 0; transition: none; }

/* Hero */
.hero {
  width: 100%; display: flex; flex-direction: column; padding: 0; border: 0;
  border-radius: 28px; overflow: hidden; text-align: left; cursor: pointer;
  background: var(--accent); color: var(--on-accent);
}
.hero__media { position: relative; height: 210px; overflow: hidden; background: var(--ink); display: flex; align-items: flex-end; }
.hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.hero__tag { position: absolute; left: 14px; top: 14px; font-size: 11px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; background: var(--lime); color: var(--ink); padding: 7px 12px; border-radius: 99px; }
.play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 64px; height: 64px; border-radius: 99px; display: flex; align-items: center; justify-content: center;
  background: var(--orange); color: var(--ink); transition: transform .2s ease;
}
.hero:hover .play { transform: translate(-50%, -50%) scale(1.06); }
.hero__body { padding: 16px 20px 20px; }
.kicker, .hero__experts { display: block; }
.kicker { font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.hero__title { margin: 6px 0 0; font-weight: 900; font-size: 26px; line-height: 1; text-transform: uppercase; letter-spacing: -.01em; }
.hero__experts { margin-top: 8px; font-size: 13px; font-weight: 600; }
.hero__line { margin-top: 14px; padding-top: 12px; border-top: 2px solid var(--track); display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 800; }

.hero--closed { cursor: default; }
.hero--closed .hero__num { height: 120px; display: flex; align-items: flex-end; padding: 0 20px; font-weight: 900; font-size: 84px; line-height: .78; letter-spacing: -.04em; }

/* Tabs Training / Mindset / Booklet */
.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; }
.tabs { display: flex; gap: 4px; padding: 4px; border-radius: 99px; flex: 1 1 100%; }
.tab {
  flex: 1; min-height: 44px; padding: 0 14px; border: 0; border-radius: 99px; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  font-weight: 800; font-size: 13px; background: transparent;
  transition: background-color .25s, color .25s;
}
.tab img { width: 20px; height: 20px; object-fit: contain; filter: brightness(.16); }
.tab[aria-selected="true"] { background: var(--ink); color: #fff; }
.tab[aria-selected="true"] img { filter: none; }
.toolbar__count { display: none; font-size: 13px; font-weight: 800; color: var(--muted); }

/* Video-Liste */
.videos { margin-top: 14px; display: flex; flex-direction: column; gap: 10px; }
.video {
  width: 100%; display: flex; align-items: center; gap: 14px; padding: 10px 14px 10px 10px;
  border-radius: 20px; text-align: left; cursor: pointer; color: var(--ink);
}
.video__thumb { width: 64px; height: 64px; border-radius: 14px; flex: none; position: relative; overflow: hidden; background: var(--accent); }
.video__thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.video__body { flex: 1; min-width: 0; }
.video__meta { font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.video__title { margin-top: 3px; font-size: 15px; font-weight: 800; line-height: 1.2; }
.video__short { margin-top: 3px; font-size: 12px; line-height: 1.4; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.video__go { width: 34px; height: 34px; border-radius: 99px; flex: none; display: flex; align-items: center; justify-content: center; background: #F1ECE6; transition: background-color .3s; }
.video.is-last .video__go { background: var(--accent); color: var(--on-accent); }
.video__dur { display: none; }

/* Booklet */
.booklet-list { margin-top: 14px; display: flex; flex-direction: column; gap: 10px; }
.card { border-radius: 24px; padding: 18px; display: flex; gap: 16px; align-items: center; }
.booklet-cover {
  width: 74px; height: 98px; border-radius: 8px; flex: none; padding: 9px;
  display: flex; flex-direction: column; justify-content: space-between;
  background: var(--accent); color: var(--on-accent); transform: rotate(-4deg);
  font-weight: 900; text-transform: uppercase;
}
.booklet-cover small { font-size: 11px; }
.booklet-cover strong { font-size: 15px; line-height: .9; }
.card__title { font-weight: 900; font-size: 17px; text-transform: uppercase; }
.card__text { font-size: 13px; margin-top: 4px; color: var(--muted); }
.btn-dark {
  margin-top: 12px; min-height: 44px; padding: 0 16px; border: 0; border-radius: 99px;
  background: var(--ink); color: #fff; font-weight: 800; font-size: 13px;
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer; text-decoration: none;
}
.btn-dark:hover { color: #fff; }
.btn-dark[aria-disabled="true"] { opacity: .45; cursor: default; }
.badge-goodie { font-size: 10px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; background: var(--lime); color: var(--ink); padding: 6px 10px; border-radius: 99px; }

/* Gesperrt / Coming soon */
.notice { margin-top: 18px; border-radius: 24px; padding: 22px; }
.notice--locked { background: #fff; }
.notice--soon { background: var(--ink); color: #fff; }
.notice__title { margin: 14px 0 0; font-weight: 900; font-size: 22px; line-height: 1.05; text-transform: uppercase; }
.notice__text { margin: 10px 0 0; font-size: 14px; line-height: 1.5; color: var(--muted); }
.notice--soon .notice__text { color: #D6D2CC; }
.notice__lock { width: 44px; height: 44px; border-radius: 99px; background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center; }
.badge-coming { display: inline-block; font-size: 11px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; background: var(--lime); color: var(--ink); padding: 6px 12px; border-radius: 99px; transform: rotate(-3deg); }
.btn-cta {
  margin-top: 16px; min-height: 48px; padding: 0 24px; border-radius: 99px; border: 0;
  display: flex; align-items: center; justify-content: center; text-align: center;
  font-weight: 900; font-size: 14px; text-transform: uppercase; text-decoration: none; cursor: pointer;
  background: var(--orange); color: var(--ink);
}
.btn-cta:hover { color: var(--ink); }
.notice--soon .btn-cta { background: #fff; width: 100%; transition: background-color .3s; }
.notice--soon .btn-cta[aria-pressed="true"] { background: var(--lime); }

/* ---------- Detail ---------- */
.detail {
  position: fixed; inset: 0; z-index: 40; overflow-y: auto;
  background: var(--ground, var(--cream));
  transform: translateX(100%); transition: transform .45s var(--ease);
  visibility: hidden;
}
.detail.is-open { transform: none; visibility: visible; }
.detail__backdrop { display: none; }
.detail__panel { position: relative; min-height: 100%; padding-bottom: 32px; }
.detail__close {
  position: absolute; z-index: 2; left: 16px; top: 16px;
  width: 44px; height: 44px; border-radius: 99px; border: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.detail__media { position: relative; height: 260px; background: var(--ink); overflow: hidden; border: 0; padding: 0; width: 100%; cursor: pointer; display: block; }
.detail__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.detail__dur { position: absolute; right: 14px; bottom: 14px; font-size: 12px; font-weight: 800; background: rgba(0, 0, 0, .55); color: #fff; padding: 6px 10px; border-radius: 99px; }
.detail__body { padding: 22px 20px 0; }
.detail__meta { font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.detail__title { margin: 8px 0 0; font-weight: 900; font-size: 26px; line-height: 1.02; text-transform: uppercase; letter-spacing: -.01em; }
.detail__desc { margin: 14px 0 0; font-size: 15px; line-height: 1.6; }
.info { margin-top: 16px; border-radius: 20px; padding: 16px 18px; }
.info h3 { margin: 0; font-size: 11px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.info p, .info ul { margin: 8px 0 0; font-size: 14px; line-height: 1.55; }
.info ul { padding-left: 18px; }
.btn-start {
  margin-top: 20px; width: 100%; min-height: 60px; padding: 0 8px 0 24px; border: 0; border-radius: 99px;
  background: var(--ink); color: #fff; font-weight: 800; font-size: 16px; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
}
.btn-start__icon { width: 44px; height: 44px; border-radius: 99px; background: var(--orange); color: var(--ink); display: flex; align-items: center; justify-content: center; }
.next { margin-top: 26px; }
.next h3 { margin: 0 0 10px; font-size: 11px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

/* ---------- Player ---------- */
.player {
  position: fixed; inset: 0; z-index: 60; background: #000; color: #fff;
  height: 100vh; height: 100dvh;
  display: flex; flex-direction: column;
  opacity: 0; pointer-events: none; transition: opacity .35s ease;
}
.player.is-open { opacity: 1; pointer-events: auto; }
.player__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; }
.player__title { font-weight: 800; font-size: 14px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.player__close { width: 44px; height: 44px; flex: none; border-radius: 99px; border: 0; cursor: pointer; background: rgba(255, 255, 255, .14); color: #fff; display: flex; align-items: center; justify-content: center; }
.player__stage { flex: 1; position: relative; min-height: 0; display: flex; align-items: center; justify-content: center; }
/* Füllt die ganze Fläche, Vimeo passt Hoch- und Querformat selbst ein */
.player__frame { position: absolute; inset: 0 0 16px; }
.player__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player__empty { text-align: center; padding: 24px; color: #D6D2CC; font-size: 15px; line-height: 1.5; }
.player__empty strong { display: block; color: #fff; font-size: 18px; margin-bottom: 6px; }

/* ---------- Desktop ---------- */
@media (min-width: 900px) {
  .bg__blob--accent { width: 560px; height: 560px; left: 18%; top: 38%; }
  .bg__blob--lav { width: 440px; height: 440px; left: 45%; bottom: -200px; }
  .bg__wave { width: 2352px; left: -14%; top: -74%; transform: rotate(32deg); }

  .topbar { grid-template-columns: 1fr auto 1fr; grid-template-areas: "brand parts account"; padding: 14px 40px; gap: 16px; }
  .brand { gap: 14px; }
  .brand__mark { height: 28px; }
  .brand__name { font-size: 10px; letter-spacing: .28em; color: #6B6259; }
  .account__btn { width: auto; height: 44px; padding: 0 18px; background: transparent; color: var(--ink); border: 2px solid rgba(40, 40, 40, .25); font-weight: 800; font-size: 13px; }
  .account__btn svg { display: none; }
  .account__label { display: inline; }
  .parts { padding: 4px; gap: 4px; border-radius: 99px; background: rgba(255, 255, 255, .5); border: 1px solid rgba(255, 255, 255, .7); }
  .part-tab { min-height: 48px; padding: 0 20px 0 6px; border: 0; gap: 10px; font-size: 15px; font-weight: 900; }
  .part-tab__num { display: flex; width: 36px; height: 36px; border-radius: 99px; align-items: center; justify-content: center; font-weight: 900; font-size: 14px; background: var(--tab-accent); color: var(--tab-on); }
  .part-tab .badge-soon { background: none; padding: 0; font-size: 11px; color: inherit; opacity: .8; }

  .main { padding: 36px 40px 64px; }

  .hero { flex-direction: row; flex-wrap: wrap; border-radius: 32px; }
  .hero__media { flex: 1 1 380px; height: auto; min-height: 340px; }
  .hero__tag { left: 20px; top: 20px; font-size: 12px; padding: 8px 14px; }
  .play { width: 84px; height: 84px; }
  .play svg { width: 30px; height: 30px; }
  .hero__body { flex: 1 1 360px; padding: 36px 40px; display: flex; flex-direction: column; justify-content: center; }
  .kicker { font-size: 12px; }
  .hero__title { margin-top: 10px; font-size: 44px; line-height: .95; }
  .hero__experts { margin-top: 14px; font-size: 16px; }
  .hero__line { margin-top: 24px; padding-top: 18px; font-size: 16px; }
  .hero--closed .hero__num { flex: 1 1 320px; min-height: 260px; height: auto; align-items: center; padding: 36px 40px; font-size: 200px; line-height: .76; letter-spacing: -.05em; }

  .toolbar { margin-top: 32px; }
  .tabs { flex: 0 0 auto; }
  .tab { flex: none; padding: 0 24px; font-size: 14px; }
  .toolbar__count { display: block; }

  .videos { margin-top: 20px; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; }
  .video { flex-direction: column; align-items: stretch; gap: 0; padding: 0; border-radius: 24px; overflow: hidden; }
  .video__thumb { width: 100%; height: 170px; border-radius: 0; }
  .video__body { padding: 16px 18px 18px; }
  .video__title { font-size: 17px; }
  .video__go { display: none; }
  .video__dur { display: block; position: absolute; right: 12px; bottom: 12px; font-size: 12px; font-weight: 800; background: rgba(0, 0, 0, .55); color: #fff; padding: 5px 9px; border-radius: 99px; }
  .video.is-last { outline: 3px solid var(--accent); }

  .booklet-list { margin-top: 20px; display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
  .card { border-radius: 28px; padding: 28px; gap: 24px; }
  .booklet-cover { width: 110px; height: 146px; border-radius: 10px; padding: 12px; }
  .booklet-cover small { font-size: 13px; }
  .booklet-cover strong { font-size: 22px; }

  .notice { margin-top: 32px; border-radius: 28px; padding: 36px; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
  .notice__content { flex: 1 1 360px; }
  .notice__lock { display: none; }
  .notice__title { margin-top: 16px; font-size: 30px; }
  .notice--locked .notice__title { margin-top: 0; }
  .notice__text { font-size: 16px; }
  .btn-cta, .notice--soon .btn-cta { margin-top: 0; width: auto; min-height: 56px; padding: 0 32px; font-size: 15px; }

  /* Detail als Fenster */
  .detail { background: transparent; transform: none; opacity: 0; transition: opacity .3s ease, visibility .3s; display: flex; align-items: flex-start; justify-content: center; padding: 48px 24px; }
  .detail.is-open { opacity: 1; }
  .detail__backdrop { display: block; position: fixed; inset: 0; background: rgba(31, 26, 23, .45); border: 0; cursor: pointer; }
  .detail__panel { min-height: 0; width: 100%; max-width: 880px; background: var(--ground, var(--cream)); border-radius: 32px; overflow: hidden; transform: translateY(16px); transition: transform .35s var(--ease); }
  .detail.is-open .detail__panel { transform: none; }
  .detail__close { left: auto; right: 16px; }
  .detail__media { height: 420px; }
  .detail__body { padding: 32px 40px 0; }
  .detail__title { font-size: 40px; }
  .detail__desc { font-size: 16px; }
  .detail__boxes { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
  .btn-start { width: auto; min-width: 280px; }
  .next { padding: 0 40px; }
  .next .videos { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
  .next .video__thumb { height: 120px; }
  .detail__panel { padding-bottom: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; }
}

/* Impressum / Datenschutz */
.legal { position: relative; z-index: 1; display: flex; justify-content: center; gap: 20px; padding: 0 20px 28px; font-size: 12px; font-weight: 600; }
.legal a { color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { position: relative; max-width: 1120px; margin: 88px auto 0; }
.faq__title { margin: 0 0 20px; text-align: center; font-weight: 900; font-size: 18px; line-height: 1.05; text-transform: uppercase; letter-spacing: -.01em; }
.faq__list, .faq__col { display: flex; flex-direction: column; gap: 12px; }
.faq__item.glass { border-radius: 18px; background: rgba(255, 255, 255, .22); border-color: rgba(255, 255, 255, .45); }
.faq__item[open] { background: rgba(255, 255, 255, .38); }
.faq__item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 52px; padding: 12px 20px; font-weight: 700; font-size: 15px; line-height: 1.3;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+"; flex: none; width: 20px; text-align: center;
  color: var(--muted); font-size: 22px; font-weight: 400; line-height: 1; transition: transform .25s var(--ease);
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item summary:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 20px; }
.faq__answer { padding: 0 20px 18px; font-size: 14px; line-height: 1.6; color: #3a3632; }
.faq__answer p { margin: 0 0 10px; }
.faq__answer p:last-child { margin-bottom: 0; }
.faq__answer ul { margin: 0; padding-left: 20px; }
.faq__answer li { margin: 2px 0; }
@media (min-width: 900px) {
  .faq { margin-top: 140px; }
  .faq__title { font-size: 24px; margin-bottom: 28px; }
  .faq__list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; align-items: start; }
  .faq__col { gap: 16px; }
  .faq__item summary { padding: 14px 24px; font-size: 15px; }
  .faq__answer { padding: 0 24px 20px; font-size: 15px; }
}
