/* ═══════════════════════════════════════════════════════════════
   sections.css — Section-specific Layout & Design
   Womenmatic Landing Page
   ═══════════════════════════════════════════════════════════════ */

/* ── Global section patterns ──
   These rules must live in sections.css (loads after components.css) so that the
   .wm-lp isolation reset in components.css does not win via source-order. */

/* Restore heading color + gap below section intro h2 */
.section-intro h2 {
  color: var(--color-green-dark);
  margin-bottom: var(--space-4);
}

/* ══════════════════════════════════════
   HERO — Light Editorial Design
   ══════════════════════════════════════ */
#hero {
  min-height: 100vh;
  background: var(--color-cream);
  display: flex;
  align-items: center;
  padding: var(--space-20) 0 var(--space-12);
  position: relative;
  overflow: hidden;
}

/* Large decorative circle — parallax layer (moved via JS scroll) */
.hero-parallax-bg {
  position: absolute;
  top: -100px;
  right: -150px;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(74, 107, 82, 0.08) 0%,
    transparent 70%
  );
  border-radius: 50%;
  pointer-events: none;
  will-change: transform;
  z-index: 0;
}

/* Thin decorative gradient line top */
#hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    to right,
    var(--color-terra),
    var(--color-green),
    transparent
  );
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--space-16);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-text h1 {
  color: var(--color-green-dark);
  margin-bottom: var(--space-6);
  font-size: clamp(28px, 2.8vw, 44px);
}

.hero-text h1 em {
  color: var(--color-terra);
  font-style: italic;
}

/* p qualifier boosts specificity to (0,1,1) to override .wm-lp p { margin: 0 } in components.css */
p.hero-subtitle {
  font-size: var(--text-lg);
  color: var(--color-text-light);
  margin-bottom: var(--space-10);
  max-width: 480px;
  line-height: 1.7;
}

/* Mobile-only short subtitle span — hidden by default on desktop */
.hero-subtitle--mobile {
  display: none;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.hero-trust-pills {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-5);
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 5px 12px 5px 8px;
  background: rgba(80, 112, 90, 0.07);
  border: 1px solid rgba(80, 112, 90, 0.18);
  border-radius: var(--radius-full);
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  color: var(--color-text);
  line-height: 1;
  white-space: nowrap;
}

.trust-pill-icon {
  color: var(--color-green);
  flex-shrink: 0;
}

.trust-pill--scarcity {
  background: rgba(174, 135, 133, 0.08);
  border-color: rgba(174, 135, 133, 0.25);
}

.trust-pill--scarcity .trust-pill-icon {
  color: var(--color-terra);
}

/* EU funding badge (base styles — used above video in hero-visual) */
.trust-pill-eu {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding-left: var(--space-3);
  border-left: 1px solid var(--color-border);
  margin-left: var(--space-1);
}

.trust-pill-eu-label {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  white-space: nowrap;
}

.trust-pill-eu img {
  height: 20px;
  width: auto;
  display: block;
  filter: grayscale(0.1);
  opacity: 0.82;
}

/* ══════════════════════════════════════
   HERO TRUST STRIP — below hero, above problem
   ══════════════════════════════════════ */
.hero-trust-strip {
  background: var(--color-cream);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-4) 0;
}

.hero-trust-strip-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.hts-item {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  color: var(--color-text-light);
  letter-spacing: 0.01em;
  font-weight: 500;
}

.hts-sep {
  color: var(--color-border);
  font-size: var(--text-sm);
  line-height: 1;
}

.hts-eu {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

.hts-eu-label {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 700;
}

.hts-eu img {
  height: 26px;
  width: auto;
  display: block;
  filter: grayscale(0.15);
  opacity: 0.88;
}

/* Right column: floating photo card */
.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
}

/* EU badge in the hero-text block (below trust pills) */
.hero-eu-badge {
  display: flex;
  justify-content: flex-start;
  margin-top: var(--space-4);
}

/* Override inline-in-trust-pills separator styles — not needed above video */
.hero-eu-badge .trust-pill-eu {
  border-left: none;
  padding-left: 0;
  margin-left: 0;
}

/* Organic animated blob behind photo */
.hero-blob {
  position: absolute;
  width: 90%;
  height: 90%;
  background: linear-gradient(
    135deg,
    rgba(74, 107, 82, 0.12),
    rgba(201, 150, 58, 0.08)
  );
  border-radius: 60% 40% 70% 30% / 50% 60% 40% 50%;
  z-index: 0;
  animation: blobMove 8s ease-in-out infinite;
}

@keyframes blobMove {
  0%,
  100% {
    border-radius: 60% 40% 70% 30% / 50% 60% 40% 50%;
  }
  50% {
    border-radius: 40% 60% 30% 70% / 60% 40% 50% 40%;
  }
}

/* Main hero photo */
.hero-photo {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  aspect-ratio: 4 / 4.2;
  background: var(--color-cream-dark);
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 100%;
}

/* Play overlay on hero photo */
.hero-photo--video {
  cursor: pointer;
  transition: box-shadow 0.2s ease;
  /* Video is 16:9 — fill the column width on all screen sizes */
  max-width: 100%;
  aspect-ratio: 16 / 9;
}

/* Subtle dark scrim so play button stands out */
.hero-photo--video::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.22);
  transition: background 0.2s ease;
  pointer-events: none;
  z-index: 1;
  border-radius: inherit;
}

.hero-photo--video:hover::after {
  background: rgba(0, 0, 0, 0.35);
}

.hero-photo--video:hover {
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

/* Centered play button */
.hero-photo-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.30);
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    transform 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18);
}

/* Inner pulse ring */
.hero-photo-play::before {
  content: "";
  position: absolute;
  width: 116px;
  height: 116px;
  border-radius: 50%;
  border: 2px solid rgba(174, 135, 133, 0.7);
  animation: pulse-ring 2.2s ease-out infinite;
}

/* Outer pulse ring — offset phase */
.hero-photo-play::after {
  content: "";
  position: absolute;
  width: 116px;
  height: 116px;
  border-radius: 50%;
  border: 1.5px solid rgba(174, 135, 133, 0.35);
  animation: pulse-ring 2.2s ease-out infinite 1.1s;
}

.hero-photo--video:hover .hero-photo-play {
  transform: translate(-50%, -50%) scale(1.15);
  background: rgba(255, 255, 255, 0.22);
  box-shadow: 0 8px 40px rgba(174, 135, 133, 0.5);
}

/* Floating stats card */
.hero-stat-card {
  position: absolute;
  bottom: var(--space-6);
  left: calc(-1 * var(--space-10));
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-4) var(--space-6);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: var(--space-4);
  z-index: 2;
  border: 1px solid var(--color-border);
  min-width: 200px;
}

.hero-stat-number {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 700;
  color: var(--color-green);
  line-height: 1;
}

.hero-stat-label {
  font-size: var(--text-sm);
  color: var(--color-text-light);
  line-height: 1.3;
}

/* Floating badge card — straddles the top edge of the video */
.hero-badge-card {
  position: absolute;
  top: calc(-1 * var(--space-10));
  right: var(--space-8);
  background: var(--color-green-dark);
  color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-4) var(--space-5);
  box-shadow: var(--shadow-lg);
  z-index: 2;
  text-align: center;
}

.hero-badge-card .big-num {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
  color: var(--color-gold);
}

.hero-badge-card .small-text {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.75);
  margin-top: var(--space-1);
}

/* Hero video placeholder */
.hero-video-wrap {
  max-width: 760px;
  margin: var(--space-12) auto 0;
}
.hero-video-placeholder {
  position: relative;
  aspect-ratio: 16 / 9;
  background-color: #111;
  background-image: url("https://img.youtube.com/vi/OlCViqRrF6I/maxresdefault.jpg");
  background-size: cover;
  background-position: center;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  overflow: hidden;
  cursor: pointer;
  border: none;
  width: 100%;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
/* dark scrim over thumbnail so play button stands out */
.hero-video-placeholder::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  border-radius: inherit;
  pointer-events: none;
}
.hero-video-placeholder:hover {
  transform: scale(1.01);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.45);
}
.hero-video-play {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}
/* pulsing ring behind the play icon */
.hero-video-play::before {
  content: "";
  position: absolute;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 2px solid rgba(174, 135, 133, 0.6);
  animation: pulse-ring 2.2s ease-out infinite;
}
@keyframes pulse-ring {
  0% {
    transform: scale(0.95);
    opacity: 0.8;
  }
  60% {
    transform: scale(1.35);
    opacity: 0;
  }
  100% {
    transform: scale(0.95);
    opacity: 0;
  }
}
.hero-video-placeholder:hover .hero-video-play {
  transform: scale(1.1);
}
.hero-video-label {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--text-sm);
  font-family: var(--font-sans);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ── Video lightbox overlay ── */
.video-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-8);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.video-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.video-frame-wrap {
  position: relative;
  width: 100%;
  max-width: 960px;
  aspect-ratio: 16 / 9;
}
.video-frame-wrap iframe {
  width: 100%;
  height: 100%;
  border-radius: var(--radius);
  border: none;
}
.video-overlay-close {
  position: absolute;
  top: var(--space-5);
  right: var(--space-5);
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #ffffff;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  font-size: 17px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
  z-index: 2001;
  font-family: var(--font-sans);
}
.video-overlay-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* Scroll hint */
.scroll-hint {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  color: var(--color-text-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-1);
  font-size: 11px;
  animation: bob 2s ease infinite;
}

@keyframes bob {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(6px);
  }
}

/* Navbar colors on light hero */
.navbar:not(.scrolled) .navbar-links a {
  color: var(--color-text);
}
.navbar:not(.scrolled) .navbar-logo img {
  filter: none;
}
.navbar:not(.scrolled) .hamburger span {
  background: var(--color-text);
}

/* ══════════════════════════════════════
   PROBLEM
   ══════════════════════════════════════ */
#problem {
  background: var(--color-cream);
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-bottom: var(--space-10);
}

/* Stagger middle card down for visual rhythm */
.problem-card:nth-child(2) {
  margin-top: var(--space-8);
}

.problem-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  border-top: 3px solid var(--color-terra);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-terra);
  transition:
    transform var(--t),
    box-shadow var(--t);
}

.problem-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.problem-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(174, 135, 133, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-5);
  color: var(--color-terra);
  flex-shrink: 0;
}

.problem-card h3 {
  margin-bottom: var(--space-3);
  font-size: 18px;
}

.problem-card p {
  font-size: var(--text-base);
  color: var(--color-text-light);
  margin: 0;
  font-family: var(--font-sans);
}

/* ── solutions-fail: Soft Editorial Rows ── */
.solutions-fail {
  padding-top: var(--space-12);
  margin-bottom: var(--space-8);
}

.sfl-header {
  text-align: center;
  margin-bottom: var(--space-10);
}

.sfl-heading {
  font-size: clamp(24px, 3.5vw, 38px);
  color: var(--color-green-dark);
  margin-bottom: var(--space-4);
  line-height: 1.2;
}

.sfl-subtext {
  font-size: var(--text-lg);
  color: var(--color-text-light);
  margin: 0;
  line-height: 1.7;
}

.sfl-rows {
  border-top: 1px solid var(--color-border);
  margin-bottom: var(--space-8);
}

.sfl-row {
  border-bottom: 1px solid var(--color-border);
  position: relative;
}

.sfl-row::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--color-terra);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.sfl-row:hover::before,
.sfl-row.is-open::before {
  transform: scaleY(1);
  transform-origin: top;
}

.sfl-row-trigger {
  display: block;
  width: 100%;
  background: none;
  border: none;
  padding: var(--space-6) var(--space-4) var(--space-6) var(--space-6);
  cursor: pointer;
  text-align: left;
  font-family: var(--font-sans);
  transition: background 0.2s ease;
}

.sfl-row-trigger:hover {
  background: rgba(80, 112, 90, 0.04);
}

.sfl-row-trigger:focus-visible {
  outline: 2px solid var(--color-terra);
  outline-offset: -2px;
  border-radius: var(--radius);
}

.sfl-row-main {
  display: grid;
  grid-template-columns: 2rem 1fr 1fr 1.5rem;
  align-items: center;
  gap: 0 var(--space-8);
}

.sfl-row-num {
  font-size: 11px;
  font-weight: 700;
  color: rgba(58, 82, 68, 0.22);
  letter-spacing: 0.08em;
  font-family: var(--font-sans);
  line-height: 1;
}

.sfl-row-left {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.sfl-tag {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-green);
}

.sfl-hope {
  font-size: var(--text-base);
  font-style: italic;
  color: var(--color-text);
  line-height: 1.55;
  margin: 0;
}

.sfl-row-right {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  border-left: 1px solid var(--color-border);
  padding-left: var(--space-8);
}

.sfl-time {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-terra);
}

.sfl-reality-short {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.5;
  margin: 0;
}

.sfl-toggle {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  position: relative;
  flex-shrink: 0;
  justify-self: end;
  transition:
    border-color 0.22s ease,
    background 0.22s ease;
}

.sfl-toggle::before,
.sfl-toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--color-text-muted);
  border-radius: 1px;
  transition:
    transform 0.25s ease,
    opacity 0.25s ease,
    background 0.22s ease;
}

.sfl-toggle::before {
  width: 9px;
  height: 1.5px;
  transform: translate(-50%, -50%);
}

.sfl-toggle::after {
  width: 1.5px;
  height: 9px;
  transform: translate(-50%, -50%);
}

.sfl-row.is-open .sfl-toggle {
  border-color: var(--color-terra);
  background: rgba(174, 135, 133, 0.12);
}

.sfl-row.is-open .sfl-toggle::before,
.sfl-row.is-open .sfl-toggle::after {
  background: var(--color-terra);
}

.sfl-row.is-open .sfl-toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.sfl-row-detail {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.38s cubic-bezier(0.4, 0, 0.2, 1);
}

.sfl-row-detail.is-open {
  grid-template-rows: 1fr;
}

.sfl-detail-inner {
  overflow: hidden;
}

.sfl-detail-content {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  padding: 0 var(--space-4) var(--space-6)
    calc(2rem + var(--space-8) + var(--space-6));
}

.sfl-detail-text {
  font-size: var(--text-sm);
  color: var(--color-text-light);
  line-height: 1.75;
  margin: 0;
  flex: 1;
}

.sfl-insight {
  flex-shrink: 0;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-terra);
  border: 1px solid rgba(174, 135, 133, 0.35);
  border-radius: var(--radius-full);
  padding: 5px 14px;
  white-space: nowrap;
}

.sfl-stat {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  padding: var(--space-6) 0;
  border-top: 1px solid var(--color-border);
  margin-bottom: var(--space-6);
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.6s ease,
    transform 0.6s cubic-bezier(0.34, 1.15, 0.64, 1);
}

.sfl-stat--visible {
  opacity: 1;
  transform: translateY(0);
}

.sfl-stat-number {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--color-terra);
  line-height: 1;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
  min-width: 4.5ch;
}

.sfl-stat-text {
  font-size: var(--text-sm);
  color: var(--color-text-light);
  line-height: 1.55;
  margin: 0;
}

.sfl-stat-text strong {
  color: var(--color-text);
  font-weight: 600;
}

.sfl-conclusion {
  font-size: var(--text-sm);
  font-style: italic;
  color: var(--color-text-muted);
  text-align: center;
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-border);
  margin: 0;
  line-height: 1.7;
}

@media (min-width: 701px) and (max-width: 900px) {
  .sfl-row-main {
    gap: 0 var(--space-5);
  }

  .sfl-row-right {
    padding-left: var(--space-5);
  }

  .sfl-detail-content {
    padding-left: calc(2rem + var(--space-5) + var(--space-5));
  }
}

@media (max-width: 700px) {
  .sfl-row-trigger {
    padding: var(--space-5) var(--space-3) var(--space-5) var(--space-4);
  }

  .sfl-row-main {
    grid-template-columns: 1.8rem 1fr 1.5rem;
    gap: 0 var(--space-4);
  }

  .sfl-row-right {
    display: none;
  }

  .sfl-detail-content {
    padding: 0 var(--space-3) var(--space-5)
      calc(1.8rem + var(--space-4) + var(--space-4));
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-4);
  }
}

/* ── prefers-reduced-motion ── */
@media (prefers-reduced-motion: reduce) {
  .sfl-row::before {
    transition: none;
  }

  .sfl-row-detail {
    transition: none;
    grid-template-rows: 1fr;
  }

  .sfl-toggle::before,
  .sfl-toggle::after {
    transition: none;
  }

  .sfl-stat {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.reframe-box {
  background: var(--color-green-dark);
  border-radius: var(--radius-lg);
  padding: var(--space-12);
  color: var(--color-white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.reframe-box::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 220px;
  height: 220px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 50%;
}

.reframe-box h3 {
  color: var(--color-white);
  font-size: var(--text-2xl);
  margin-bottom: var(--space-4);
  font-style: italic;
  font-weight: 400;
}

.reframe-box p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 16px;
  margin: 0;
  font-family: var(--font-sans);
}

/* ══════════════════════════════════════
   SOCIAL PROOF
   ══════════════════════════════════════ */
#social-proof {
  background: var(--color-white);
  padding: var(--space-16) 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
  margin-bottom: var(--space-12);
  justify-items: center;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: var(--font-serif);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  color: var(--color-green);
  line-height: 1;
  margin-bottom: var(--space-2);
}

.stat-label {
  font-size: 14px;
  color: var(--color-text-light);
  font-family: var(--font-sans);
}

.logos-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  flex-wrap: wrap;
  opacity: 0.55;
  filter: grayscale(1);
  transition:
    opacity var(--t),
    filter var(--t);
}

.logos-row:hover {
  opacity: 1;
  filter: grayscale(0);
}

.logos-row img {
  height: 38px;
  width: auto;
}

/* ══════════════════════════════════════
   TRANSFORMATION
   ══════════════════════════════════════ */
#transformation {
  background: var(--color-cream);
}

.transformation-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}

.t-card {
  text-align: center;
  padding: var(--space-10) var(--space-8);
  background: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  transition:
    border-color var(--t),
    box-shadow var(--t),
    transform var(--t);
  min-height: 220px;
  display: flex;
  flex-direction: column;
}

.t-card:hover {
  border-top: 2px solid var(--color-green);
  box-shadow: 0 8px 30px rgba(74, 107, 82, 0.1);
  transform: translateY(-4px);
}

.t-icon {
  width: 64px;
  height: 64px;
  background: var(--color-cream-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-5);
}

.t-card h3 {
  margin-bottom: var(--space-3);
}

.t-card p {
  font-size: var(--text-base);
  color: var(--color-text-light);
  margin: 0;
  font-family: var(--font-sans);
}

/* Full-width community photo after grid */
.transformation-visual {
  margin-top: var(--space-16);
}

.transformation-visual img {
  width: 100%;
  border-radius: var(--radius-xl);
  object-fit: cover;
  height: 340px;
  box-shadow: var(--shadow-lg);
}

.transformation-cta {
  margin-top: var(--space-12);
  text-align: center;
}

/* --------------------------------------
   SOLUTION � WEEKLY WHITEBOARD GRID
   -------------------------------------- */
/* ── Business Rhythmus Cycle ── */

.cycle-wrap {
  max-width: 680px;
  margin: 0 auto;
}

.cycle-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  margin-bottom: var(--space-6);
  align-items: stretch;
}

.cycle-card {
  background: var(--color-white);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5) var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  box-shadow: var(--shadow-md);
  animation: cycle-card-pulse 6s ease-in-out infinite;
  position: relative;
  z-index: 1;
}

.cycle-card--1 {
  animation-delay: 0s;
}
.cycle-card--2 {
  animation-delay: 1.5s;
}
.cycle-card--3 {
  grid-column: 2;
  grid-row: 2;
  animation-delay: 3s;
}
.cycle-card--4 {
  grid-column: 1;
  grid-row: 2;
  animation-delay: 4.5s;
}

@keyframes cycle-card-pulse {
  0%,
  20%,
  100% {
    border-color: var(--color-border);
    box-shadow: var(--shadow-md);
  }
  5%,
  15% {
    border-color: var(--color-terra);
    box-shadow:
      0 0 0 8px rgba(174, 135, 133, 0.2),
      var(--shadow-md);
  }
}

.cycle-card-week {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-terra);
}

.cycle-card-title {
  font-family: var(--font-sans);
  font-size: var(--text-md);
  font-weight: 700;
  color: var(--color-green-dark);
  line-height: 1.2;
}

.cycle-card-desc {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  color: var(--color-text);
  line-height: 1.5;
  margin: 0;
  flex-grow: 1;
}

.cycle-card-fmts {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  margin-top: var(--space-2);
}

.cycle-fmt {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 600;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius);
  display: inline-block;
}

.cycle-fmt--x {
  background: rgba(80, 112, 90, 0.1);
  color: var(--color-green-dark);
  border: 1px solid rgba(80, 112, 90, 0.2);
}

.cycle-fmt--c {
  background: rgba(174, 135, 133, 0.1);
  color: var(--color-terra);
  border: 1px solid rgba(174, 135, 133, 0.2);
}

/* Hub — rotating ring in the center of the grid */
.cycle-hub {
  position: absolute;
  width: var(--cycle-hub-size);
  height: var(--cycle-hub-size);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--color-cream);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: 0 0 0 10px var(--color-cream);
}

.cycle-hub-ring {
  position: absolute;
  inset: var(--space-2);
  border-radius: 50%;
  border: 1.5px dashed var(--color-border);
  animation: hub-spin 6s linear infinite;
}

.cycle-hub-logo {
  position: absolute;
  width: calc(var(--cycle-hub-size) * 1.4);
  height: calc(var(--cycle-hub-size) * 1.4);
  object-fit: contain;
  opacity: 0.18;
  z-index: 0;
}

.cycle-hub-orbit {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  animation: hub-spin 6s linear infinite;
}

.cycle-hub-dot {
  position: absolute;
  width: var(--space-2);
  height: var(--space-2);
  background: var(--color-terra);
  border-radius: 50%;
  top: calc(-1 * var(--space-1));
  left: calc(50% - var(--space-1));
  box-shadow: 0 0 0 3px rgba(174, 135, 133, 0.2);
}

@keyframes hub-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.cycle-hub-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  font-family: var(--font-sans);
  font-size: var(--text-2xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--color-green);
  line-height: 1.4;
  position: relative;
  z-index: 1;
}

.cycle-hub-label span {
  display: block;
}

@media (prefers-reduced-motion: reduce) {
  .cycle-card {
    animation: none;
  }
  .cycle-hub-ring {
    animation: none;
  }
  .cycle-hub-orbit {
    animation: none;
  }
}

@media (max-width: 680px) {
  .cycle-grid {
    grid-template-columns: 1fr;
    gap: var(--space-3);
  }

  .cycle-card--3,
  .cycle-card--4 {
    grid-column: auto;
    grid-row: auto;
  }

  .cycle-hub {
    display: none;
  }
  .cycle-card {
    animation: none;
  }
}

/* ── Toolkit banner ── */
.wb-base {
  background: var(--color-green-dark);
  border: 1px dashed rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-lg);
  padding: var(--space-5) var(--space-6);
  display: flex;
  align-items: center;
  gap: var(--space-4);
  text-align: left;
}

.wb-base-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-white);
}

.wb-base-text {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.wb-base-text strong {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  color: var(--color-white);
}

.wb-base-text span {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 600px) {
  .wb-base {
    flex-direction: column;
    text-align: center;
  }
}

/* ══════════════════════════════════════
   PROGRAM
   ══════════════════════════════════════ */
#program {
  background: var(--color-white);
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-bottom: var(--space-12);
}

.prog-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  border: 1px solid var(--color-border);
  transition:
    transform var(--t),
    box-shadow var(--t);
}

.prog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.prog-icon {
  margin-bottom: var(--space-4);
}

.prog-card h3 {
  font-size: 18px;
  margin-bottom: var(--space-3);
}

.prog-card p {
  font-size: 14px;
  color: var(--color-text-light);
  margin: 0;
  font-family: var(--font-sans);
}

.program-cta {
  text-align: center;
  margin-top: var(--space-12);
}

/* ══════════════════════════════════════
   PRICING
   ══════════════════════════════════════ */
#pricing {
  background: var(--color-cream);
}

.pricing-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: start;
}

/* ══════════════════════════════════════
   BONUS
   ══════════════════════════════════════ */
#bonus {
  background: var(--color-cream-dark);
  border-top: 3px solid var(--color-gold);
}

.bonus-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
}

.bonus-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--color-gold);
  color: var(--color-white);
  border-radius: var(--radius-full);
  padding: var(--space-2) var(--space-4);
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 700;
  margin-bottom: var(--space-6);
}

.bonus-text h2 {
  margin-bottom: var(--space-4);
}

.bonus-text p {
  color: var(--color-text-light);
  font-family: var(--font-sans);
}

.bonus-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-10);
  box-shadow: var(--shadow-md);
  border: 2px solid var(--color-gold);
}

.bonus-card-icon {
  font-size: 44px;
  margin-bottom: var(--space-4);
}

.bonus-card h3 {
  margin-bottom: var(--space-3);
}

.bonus-card p {
  font-size: var(--text-base);
  color: var(--color-text-light);
  margin-bottom: var(--space-6);
  font-family: var(--font-sans);
}

.bonus-condition {
  background: #fff8e1;
  border-radius: var(--radius);
  padding: var(--space-4);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  color: #8a6600;
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

/* ══════════════════════════════════════
   PILOT
   ══════════════════════════════════════ */
#pilot {
  background: var(--color-green-dark);
  color: var(--color-white);
}

.pilot-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.pilot-text .section-label {
  color: rgba(255, 255, 255, 0.6);
}
.pilot-text h2 {
  color: var(--color-white);
  margin-bottom: var(--space-6);
}

.pilot-text p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--space-8);
  font-family: var(--font-sans);
}

.pilot-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

/* ══════════════════════════════════════
   TESTIMONIALS
   ══════════════════════════════════════ */
#testimonials {
  background: var(--color-white);
}

.testimonials-banner {
  margin-bottom: var(--space-10);
}

.testimonials-banner img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: center 30%;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

/* ══════════════════════════════════════
   FAQ
   ══════════════════════════════════════ */
#faq {
  background: var(--color-cream);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

/* ══════════════════════════════════════
   FINAL CTA
   ══════════════════════════════════════ */
#final-cta {
  background: var(--color-green-dark);
  color: var(--color-white);
  text-align: center;
  padding: 110px 0;
  position: relative;
}

/* Background photo with dark overlay */
.final-cta-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.final-cta-bg img {
  position: absolute;
  width: 100%;
  height: 120%;
  top: -10%;
  left: 0;
  object-fit: cover;
  opacity: 0.12;
  will-change: transform;
  transform-origin: center center;
}

#final-cta .container {
  position: relative;
  z-index: 1;
}

.final-cta-inner {
  max-width: 720px;
  margin: 0 auto;
}

.final-cta-inner .section-label {
  color: rgba(255, 255, 255, 0.6);
}

.final-cta-inner h2 {
  color: var(--color-white);
  margin-bottom: var(--space-6);
  font-size: clamp(26px, 4vw, 42px);
  font-style: italic;
  font-weight: 400;
}

.final-cta-inner .lead {
  color: rgba(255, 255, 255, 0.78);
  font-size: var(--text-lg);
  margin-bottom: var(--space-10);
  font-family: var(--font-sans);
}

.final-cta-btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.final-cta-conversation-note {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.55);
  margin-top: var(--space-4);
  margin-bottom: 0;
  text-align: center;
}

.final-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0;
  margin-top: var(--space-10);
  list-style: none;
  padding: 0;
}

.final-trust li {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.65);
  white-space: nowrap;
  padding: 0 var(--space-5);
}

.final-trust li + li {
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.final-trust li:first-child {
  padding-left: 0;
}

.final-trust .trust-check {
  color: var(--color-terra);
}

/* ══════════════════════════════════════
   FOUNDER
   ══════════════════════════════════════ */
#founder {
  background: var(--color-white);
}

.founder-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.founder-photo-wrap {
  position: relative;
}

.founder-photo {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  aspect-ratio: 4 / 5;
  background: var(--color-cream);
}

.founder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.founder-quote-card {
  position: absolute;
  bottom: var(--space-8);
  right: calc(-1 * var(--space-8));
  background: var(--color-green-dark);
  color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-5) var(--space-6);
  max-width: 260px;
  box-shadow: var(--shadow-lg);
}

.founder-quote-card p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  margin: 0;
}

.founder-text h2 {
  margin-bottom: var(--space-6);
}

.founder-text p {
  color: var(--color-text-light);
  font-size: var(--text-md);
}

.founder-credentials {
  display: flex;
  gap: var(--space-8);
  margin-top: var(--space-8);
  padding-top: var(--space-8);
  border-top: 1px solid var(--color-border);
}

.founder-cred {
  text-align: center;
}

.cred-num {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 700;
  color: var(--color-green);
  line-height: 1;
  margin-bottom: var(--space-1);
}

.cred-label {
  font-size: var(--text-sm);
  color: var(--color-text-light);
}

/* ══════════════════════════════════════
   VIDEO INTRO — Standalone section
   ══════════════════════════════════════ */
.section-video-intro {
  background: var(--color-cream);
  padding: var(--space-24) 0;
}

.video-section-player {
  max-width: 100%;
  margin: 0 auto;
}

/* Reuse hero-video-placeholder but with a slightly larger play button */
.video-section-thumb .hero-video-play svg {
  width: 36px;
  height: 36px;
}

.video-section-thumb .hero-video-play::before {
  width: 88px;
  height: 88px;
}

/* Text caption overlay on video section thumb */
.video-caption-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: var(--space-6) var(--space-8);
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.75) 0%,
    rgba(0, 0, 0, 0) 100%
  );
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  text-align: left;
  pointer-events: none;
}

.video-caption-title {
  color: #fff;
  font-size: var(--text-base);
  font-weight: 700;
  font-family: var(--font-sans);
  line-height: 1.3;
}

.video-caption-sub {
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--text-sm);
  font-family: var(--font-sans);
  line-height: 1.4;
}

/* ══════════════════════════════════════
   RESPONSIVE — Sections
   ══════════════════════════════════════ */
@media (max-width: 1024px) {
  .pricing-layout {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-text h1 {
    font-size: clamp(26px, 7vw, 34px);
    white-space: normal;
  }
  p.hero-subtitle {
    max-width: 100%;
  }
  .hero-cta {
    justify-content: center;
  }
  .hero-trust-pills {
    justify-content: center;
  }
  .hero-stat-card {
    left: 50%;
    transform: translateX(-50%);
    bottom: calc(-1 * var(--space-8));
  }
  .hero-badge-card {
    top: calc(-1 * var(--space-8));
    right: var(--space-4);
  }

  .problem-card:nth-child(2) {
    margin-top: 0;
  }
  .problem-grid {
    grid-template-columns: 1fr;
  }

  .transformation-grid {
    grid-template-columns: 1fr;
  }
  .transformation-visual img {
    height: 200px;
  }

  .solution-inner {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }

  .founder-inner {
    grid-template-columns: 1fr;
  }
  .founder-quote-card {
    position: static;
    margin-top: var(--space-4);
    max-width: 100%;
    right: 0;
  }
  .founder-credentials {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--space-6);
  }

  .program-grid {
    grid-template-columns: 1fr;
  }

  .pricing-layout {
    grid-template-columns: 1fr;
  }

  .bonus-inner {
    grid-template-columns: 1fr;
  }

  .pilot-inner {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .testimonials-banner img {
    height: 180px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Fix specificity: ID/class selectors override the section element rule in base.css */
  #social-proof {
    padding: var(--space-12) 0;
  }
  #hero {
    padding: var(--space-20) 0 var(--space-12);
  }
  #rhythmus {
    padding: var(--space-12) 0;
  }
  #final-cta {
    padding: var(--space-12) 0;
  }
  .section-video-intro {
    padding: var(--space-12) 0;
  }
}

@media (max-width: 480px) {
  .hero-stat-card {
    min-width: 160px;
  }
  .price-amount {
    font-size: 52px;
  }
  .btn-lg {
    padding: 15px 26px;
    font-size: 16px;
  }

  /* Stats: force all 3 items into one row */
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .stat-number {
    font-size: clamp(20px, 5vw, 28px);
  }
  .stat-label {
    font-size: 11px;
  }

  /* Founder credentials: same 3-in-a-row treatment */
  .founder-credentials {
    flex-wrap: nowrap;
    gap: var(--space-3);
  }
  .cred-num {
    font-size: 22px;
  }
  .cred-label {
    font-size: 11px;
  }
}

/* ══════════════════════════════════════
   BACK TO TOP BUTTON
   ══════════════════════════════════════ */
.back-to-top {
  position: fixed;
  bottom: var(--space-8);
  right: var(--space-8);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-green);
  color: var(--color-white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(80, 112, 90, 0.4);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease,
    background 0.2s ease;
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.back-to-top:hover {
  background: var(--color-green-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(80, 112, 90, 0.5);
}

@media (max-width: 768px) {
  .back-to-top {
    width: 42px;
    height: 42px;
    bottom: var(--space-6);
    right: var(--space-6);
  }
}

/* ══════════════════════════════════════
   RHYTHMUS — Week Visualizer
   "Deine Woche. Verwandelt."
   ══════════════════════════════════════ */
#rhythmus {
  background: var(--color-cream);
  padding: var(--space-20) 0;
}

/* ── Toggle pill group ── */
.rhy-toggle {
  display: flex;
  align-items: center;
  background: var(--color-cream-dark);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  padding: 4px;
  width: fit-content;
  margin: 0 auto var(--space-12);
  gap: 0;
}

.rhy-toggle-btn {
  padding: 10px 28px;
  border: none;
  border-radius: var(--radius-full);
  background: transparent;
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-muted);
  cursor: pointer;
  transition:
    background var(--t),
    color var(--t),
    box-shadow var(--t);
  white-space: nowrap;
  line-height: 1;
}

.rhy-toggle-btn--active {
  background: var(--color-green);
  color: #fff;
  box-shadow: 0 2px 12px rgba(80, 112, 90, 0.35);
}

/* ── 4-week month grid ── */
.rhy-week {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}

/* ── Day column ── */
.rhy-day-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
}

/* Staggered entrance animation delays */
.rhy-day-col:nth-child(1) {
  transition-delay: 0ms;
}
.rhy-day-col:nth-child(2) {
  transition-delay: 80ms;
}
.rhy-day-col:nth-child(3) {
  transition-delay: 160ms;
}
.rhy-day-col:nth-child(4) {
  transition-delay: 240ms;
}

.rhy-day-name {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

/* ── 3D Flip Card ── */
.rhy-card {
  width: 100%;
  perspective: 900px;
}

.rhy-card-inner {
  position: relative;
  width: 100%;
  height: 260px;
  transform-style: preserve-3d;
  transition: transform 0.62s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: var(--radius-lg);
}

/* Section gets class .rhy--after when "Mit Womenmatic" is active */
#rhythmus.rhy--after .rhy-card-inner {
  transform: rotateY(180deg);
}

/* Stagger the flip delays per card */
#rhythmus.rhy--after .rhy-day-col:nth-child(1) .rhy-card-inner {
  transition-delay: 0ms;
}
#rhythmus.rhy--after .rhy-day-col:nth-child(2) .rhy-card-inner {
  transition-delay: 80ms;
}
#rhythmus.rhy--after .rhy-day-col:nth-child(3) .rhy-card-inner {
  transition-delay: 160ms;
}
#rhythmus.rhy--after .rhy-day-col:nth-child(4) .rhy-card-inner {
  transition-delay: 240ms;
}

/* Reset transition-delay for flip-back (before state) */
#rhythmus .rhy-day-col:nth-child(1) .rhy-card-inner {
  transition-delay: 0ms;
}
#rhythmus .rhy-day-col:nth-child(2) .rhy-card-inner {
  transition-delay: 40ms;
}
#rhythmus .rhy-day-col:nth-child(3) .rhy-card-inner {
  transition-delay: 80ms;
}
#rhythmus .rhy-day-col:nth-child(4) .rhy-card-inner {
  transition-delay: 120ms;
}

/* ── Card faces ── */
.rhy-card-face {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: var(--space-5);
  gap: var(--space-3);
}

/* Front face — chaotic / reactive (muted grey palette) */
.rhy-card-front {
  background: var(--color-cream-dark);
  border: 1px solid rgba(0, 0, 0, 0.09);
}

.rhy-card-state {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-terra);
  background: rgba(174, 135, 133, 0.13);
  border-radius: var(--radius-full);
  padding: var(--space-1) var(--space-3);
  width: fit-content;
}

/* Back face — structured / Womenmatic (green branded) */
.rhy-card-back {
  background: rgba(80, 112, 90, 0.07);
  border: 1px solid rgba(80, 112, 90, 0.2);
  transform: rotateY(180deg);
}

/* Back-face title + format pills */
.rhy-card-title {
  display: block;
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-green-dark);
}

.rhy-card-formats {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.rhy-format {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 600;
  padding: var(--space-1) var(--space-2);
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.rhy-format--expert {
  background: rgba(80, 112, 90, 0.14);
  color: var(--color-green-dark);
}

.rhy-format--community {
  background: rgba(174, 135, 133, 0.13);
  color: var(--color-terra);
}

/* Card icon */
.rhy-card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-bottom: var(--space-1);
}

.rhy-card-icon--front {
  background: rgba(174, 135, 133, 0.1);
  color: var(--color-terra);
}

.rhy-card-icon--back {
  background: rgba(80, 112, 90, 0.12);
  color: var(--color-green);
}

/* Card body text */
.rhy-card-text {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  line-height: 1.55;
  margin: 0;
}

.rhy-card-front .rhy-card-text {
  color: var(--color-text-muted);
  font-style: italic;
}

.rhy-card-back .rhy-card-text {
  color: var(--color-text);
}

/* ── Toolkit banner (visible only in "Mit Womenmatic" state) ── */
.rhy-toolkit-banner {
  display: none;
  align-items: center;
  gap: var(--space-4);
  background: var(--color-cream);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-4) var(--space-6);
  margin-bottom: var(--space-8);
  opacity: 0;
  transition: opacity 0.4s ease;
}

#rhythmus.rhy--after .rhy-toolkit-banner {
  display: flex;
  opacity: 1;
}

.rhy-toolkit-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(80, 112, 90, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-green);
}

.rhy-toolkit-body {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.rhy-toolkit-body strong {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-text);
}

.rhy-toolkit-body span {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* ── CTA below grid ── */
.rhy-cta {
  text-align: center;
  padding-top: var(--space-4);
}

.rhy-cta-headline {
  font-family: var(--font-sans);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-6);
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .rhy-week {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-3);
  }
  .rhy-day-col {
    width: calc(50% - var(--space-3));
    min-width: 140px;
  }
  .rhy-toolkit-banner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 600px) {
  /* Scroll-snap carousel — no negative-margin bleed to avoid body overflow */
  .rhy-week {
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: var(--space-3);
    padding-bottom: var(--space-2);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .rhy-week::-webkit-scrollbar {
    display: none;
  }
  .rhy-day-col {
    scroll-snap-align: start;
    /* 80vw leaves ~30px peek of next card inside the container */
    width: 80vw;
    min-width: 80vw;
    flex-shrink: 0;
  }
  /* overflow-x: auto on .rhy-week flattens preserve-3d — use opacity crossfade instead */
  .rhy-card-inner {
    height: 200px;
    transform-style: flat;
    transition: none;
  }
  #rhythmus.rhy--after .rhy-card-inner {
    transform: none;
  }
  /* stagger overrides must also be neutralised on mobile */
  #rhythmus.rhy--after .rhy-day-col:nth-child(1) .rhy-card-inner,
  #rhythmus.rhy--after .rhy-day-col:nth-child(2) .rhy-card-inner,
  #rhythmus.rhy--after .rhy-day-col:nth-child(3) .rhy-card-inner,
  #rhythmus.rhy--after .rhy-day-col:nth-child(4) .rhy-card-inner,
  #rhythmus .rhy-day-col:nth-child(1) .rhy-card-inner,
  #rhythmus .rhy-day-col:nth-child(2) .rhy-card-inner,
  #rhythmus .rhy-day-col:nth-child(3) .rhy-card-inner,
  #rhythmus .rhy-day-col:nth-child(4) .rhy-card-inner {
    transition-delay: 0ms;
  }
  .rhy-card-back {
    transform: none;
    opacity: 0;
    transition: opacity 0.35s ease;
  }
  .rhy-card-front {
    opacity: 1;
    transition: opacity 0.35s ease;
  }
  #rhythmus.rhy--after .rhy-card-front {
    opacity: 0;
  }
  #rhythmus.rhy--after .rhy-card-back {
    opacity: 1;
  }
  .rhy-toggle-btn {
    padding: var(--space-2) var(--space-5);
    font-size: var(--text-sm);
  }

  /* ── Hero mobile: full refit so everything lands on one screen ── */

  /* 96px top clears the fixed navbar pill (~87px); svh = visible viewport */
  /* align-items: flex-start anchors content to top — prevents vertical centering gap */
  #hero {
    padding: var(--space-24) 0 var(--space-10);
    min-height: 100svh;
    align-items: flex-start;
  }

  /* Gap between text and visual */
  .hero-inner {
    gap: var(--space-10);
  }

  /* Increase h1 bottom margin for visual separation from subtitle */
  .hero-text h1 {
    margin-bottom: var(--space-8);
  }

  /* Swap full subtitle for short 1-sentence version on mobile */
  .hero-subtitle--full {
    display: none;
  }
  .hero-subtitle--mobile {
    display: inline;
  }
  /* p. prefix beats .wm-lp isolation reset (specificity 0,1,1) */
  p.hero-subtitle {
    margin-bottom: var(--space-6);
    font-size: var(--text-base);
  }
  /* Trust pills spacing */
  .hero-trust-pills {
    margin-top: var(--space-3);
  }
  /* Trust pills smaller on mobile */
  .hero-trust-pills .trust-pill {
    font-size: var(--text-xs);
    padding: var(--space-1) var(--space-2);
  }
  /* EU badge: center with the rest of hero-text on mobile */
  .hero-eu-badge {
    justify-content: center;
  }

  /* Standard 16:9 video ratio — fits fully on screen */
  .hero-photo {
    aspect-ratio: 16 / 9;
    max-width: 100%;
  }

  /* solutions-fail: always-open on mobile — remove toggle interactivity */
  .sfl-toggle {
    display: none;
  }
  .sfl-row-trigger {
    pointer-events: none;
    cursor: default;
  }
  .sfl-row-detail {
    grid-template-rows: 1fr !important;
  }
  /* Simplify detail layout to single column on narrow screens */
  .sfl-detail-content {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-3);
    padding-left: var(--space-4);
  }
}
