/* ═══════════════════════════════════════════════════════════════
   components.css — Reusable UI Components
   Womenmatic Landing Page
   ═══════════════════════════════════════════════════════════════ */

/* ══════════════════════════════════════
   WORDPRESS ISOLATION (.wm-lp)
   Scopes reset styles so Kadence/Elementor theme styles don't bleed in.
   All landing page content is wrapped in <div class="wm-lp">.
   ══════════════════════════════════════ */
.wm-lp,
.wm-lp * {
  box-sizing: border-box;
}
.wm-lp {
  font-family: var(--font-sans);
  color: var(--color-text);
  line-height: 1.6;
}
.wm-lp h1,
.wm-lp h2,
.wm-lp h3,
.wm-lp h4,
.wm-lp h5 {
  font-family: var(--font-sans);
  font-weight: 700;
  margin: 0;
}
.wm-lp p {
  margin: 0;
}
.wm-lp a:not([class]) {
  color: inherit;
  text-decoration: none;
} /* exclude buttons — they define their own color */
.wm-lp ul,
.wm-lp ol {
  list-style: none;
  margin: 0;
  padding: 0;
}
.wm-lp img {
  max-width: 100%;
  height: auto;
  display: block;
}
.wm-lp button {
  font-family: var(--font-sans);
}

/* ══════════════════════════════════════
   BUTTONS
   ══════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 13px 30px;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 700;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition:
    background var(--t),
    transform var(--t-fast),
    box-shadow var(--t);
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
}

.btn:hover {
  transform: translateY(-2px);
}
.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--color-terra);
  color: var(--color-white);
  box-shadow: 0 4px 16px rgba(174, 135, 133, 0.3);
}
.btn-primary:hover {
  background: var(--color-terra-hover);
  box-shadow: 0 6px 22px rgba(174, 135, 133, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--color-green);
  border: 2px solid var(--color-green);
}
.btn-secondary:hover {
  background: var(--color-green);
  color: var(--color-white);
}

.btn-white {
  background: var(--color-white);
  color: var(--color-green-dark);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}
.btn-white:hover {
  background: var(--color-cream);
}

.btn-ghost {
  background: transparent;
  color: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.28);
  padding: 13px 28px;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: var(--text-base);
  font-weight: 700;
  cursor: pointer;
  transition: all var(--t);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 17px 38px;
  font-size: var(--text-md);
}

/* ══════════════════════════════════════
   NAVBAR
   ══════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 14px 8px;
  transition: padding var(--t);
}

.navbar.scrolled {
  padding: 10px 8px;
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 8px 16px 8px 20px;
  /* Apple Liquid Glass — transparent base, heavy blur, specular light at top */
  background: rgba(250, 247, 242, 0.15);
  backdrop-filter: blur(48px) saturate(220%) brightness(1.06);
  -webkit-backdrop-filter: blur(48px) saturate(220%) brightness(1.06);
  border: 0.5px solid rgba(255, 255, 255, 0.55);
  border-radius: 100px;
  box-shadow:
    0 4px 28px rgba(26, 46, 32, 0.07),
    inset 0 1.5px 0 rgba(255, 255, 255, 0.72),
    inset 0 -1px 0 rgba(0, 0, 0, 0.06);
  transition:
    box-shadow var(--t),
    background var(--t),
    padding var(--t),
    backdrop-filter var(--t);
}

.navbar.scrolled .navbar-inner {
  background: rgba(250, 247, 242, 0.45);
  backdrop-filter: blur(48px) saturate(240%) brightness(1.04);
  -webkit-backdrop-filter: blur(48px) saturate(240%) brightness(1.04);
  box-shadow:
    0 8px 36px rgba(26, 46, 32, 0.11),
    inset 0 1.5px 0 rgba(255, 255, 255, 0.8),
    inset 0 -1px 0 rgba(0, 0, 0, 0.06);
}

.navbar-logo img {
  height: 36px;
  width: auto;
  transition: height var(--t);
}

.navbar.scrolled .navbar-logo img {
  height: 32px;
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.navbar-links a {
  font-family: var(--font-serif);
  font-size: var(--text-base);
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--color-text);
  padding: 6px 14px;
  border-radius: 100px;
  transition:
    color var(--t),
    background var(--t),
    box-shadow var(--t);
}

/* Navbar CTA — pill shape to match the 100px-radius navbar container */
.navbar-cta .btn {
  border-radius: var(--radius-full);
  padding: 10px 22px;
  font-size: var(--text-sm);
}

/* Apple Liquid Glass pill on hover/active */
.navbar-links a:hover {
  color: var(--color-green-dark);
  background: rgba(255, 255, 255, 0.45);
  box-shadow:
    0 1px 4px rgba(26, 46, 32, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    inset 0 -1px 0 rgba(0, 0, 0, 0.06);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition:
    transform var(--t),
    opacity var(--t);
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile fullscreen menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(250, 247, 242, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t);
}

.mobile-menu.open {
  display: flex;
  opacity: 1;
  pointer-events: all;
}

.mobile-menu a {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--color-text);
  transition: color var(--t);
}

.mobile-menu a:hover {
  color: var(--color-terra);
}

/* Responsive navbar */
@media (max-width: 768px) {
  .navbar {
    padding: 12px 14px;
  }
  .navbar-inner {
    border-radius: 20px;
    padding: 8px 16px;
  }
  .navbar-links,
  .navbar-cta {
    display: none;
  }
  .hamburger {
    display: flex;
  }
}

/* ══════════════════════════════════════
   MODAL
   ══════════════════════════════════════ */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(26, 46, 32, 0.6);
  backdrop-filter: blur(6px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: var(--space-6);
}

.modal-overlay.open {
  display: flex;
}

.modal {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  max-width: 580px;
  width: 100%;
  position: relative;
  animation: modal-in 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow-x: hidden;
  overflow-y: auto;
  max-height: calc(100vh - 48px);
  margin: auto;
  box-shadow:
    0 32px 100px rgba(26, 46, 32, 0.22),
    0 0 0 1px rgba(26, 46, 32, 0.06);
}

@keyframes modal-in {
  from {
    opacity: 0;
    transform: translateY(28px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ── Modal Header ── */
.modal-header {
  background: var(--color-cream);
  padding: var(--space-5) var(--space-8) var(--space-4);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--color-border);
}

/* Decorative top gradient line */
.modal-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    to right,
    var(--color-terra),
    var(--color-green),
    transparent
  );
}

/* Decorative circle blob */
.modal-header::after {
  content: "";
  position: absolute;
  top: -70px;
  right: -70px;
  width: 220px;
  height: 220px;
  background: radial-gradient(
    circle,
    rgba(80, 112, 90, 0.12) 0%,
    transparent 65%
  );
  border-radius: 50%;
  pointer-events: none;
}

.modal-close {
  position: absolute;
  top: var(--space-5);
  right: var(--space-5);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(26, 46, 32, 0.08);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-light);
  transition:
    background var(--t),
    color var(--t);
  z-index: 1;
}

.modal-close:hover {
  background: rgba(26, 46, 32, 0.16);
  color: var(--color-green-dark);
}

.modal-pilot-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--color-green);
  color: var(--color-white);
  border-radius: var(--radius-full);
  padding: 5px 14px 5px 10px;
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: var(--space-2);
}

.modal-pilot-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
  flex-shrink: 0;
  animation: pulse-dot 1.8s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%,
  100% {
    opacity: 0.6;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.2);
  }
}

.modal-header h3 {
  font-family: var(--font-serif);
  font-size: clamp(22px, 3vw, 28px);
  color: var(--color-green-dark);
  margin-bottom: var(--space-2);
  position: relative;
  z-index: 1;
}

.modal-sub {
  font-family: var(--font-sans);
  color: var(--color-text-light);
  font-size: var(--text-sm);
  margin: 0;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

/* ── Modal Form Body ── */
.modal-body {
  padding: var(--space-5) var(--space-8) var(--space-5);
}

/* 2-column row for name + phone */
.form-row-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

/* PLZ short + Ort wide */
.form-row-zip {
  grid-template-columns: 130px 1fr;
}

.label-optional {
  font-weight: 400;
  color: var(--color-text-muted);
}

/* ── Success state ── */
#formSuccess {
  display: none;
  padding: var(--space-12) var(--space-10);
}

.modal-success-inner {
  text-align: center;
}

.modal-success-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--color-green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-6);
  box-shadow: 0 8px 32px rgba(80, 112, 90, 0.35);
}

#formSuccess h3 {
  font-family: var(--font-serif);
  font-size: clamp(22px, 3vw, 28px);
  color: var(--color-green-dark);
  margin-bottom: var(--space-4);
}

#formSuccess p {
  color: var(--color-text-light);
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: 1.6;
  margin: 0;
}

#formError {
  display: none;
  color: var(--color-terra);
  background: rgba(174, 135, 133, 0.1);
  border: 1px solid rgba(174, 135, 133, 0.3);
  border-radius: var(--radius);
  padding: var(--space-3) var(--space-4);
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  line-height: 1.5;
  margin-top: var(--space-3);
}

.form-group {
  margin-bottom: var(--space-3);
}

.form-group label {
  display: block;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: var(--space-2);
}

.form-group input:not([type="checkbox"]),
.form-group select {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--color-text);
  background: var(--color-white);
  transition: border-color var(--t);
  -webkit-appearance: none;
}

.form-group input:not([type="checkbox"]):focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-green);
}

/* GDPR consent checkbox */
.form-consent {
  margin-top: var(--space-2);
}

.consent-label {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start;
  gap: var(--space-3);
  cursor: pointer;
  font-weight: 400 !important;
  font-size: var(--text-sm) !important;
  color: var(--color-text-light);
  line-height: 1.5;
}

.consent-label input[type="checkbox"] {
  width: 18px !important;
  min-width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--color-green);
  cursor: pointer;
  padding: 0 !important;
  border: 1px solid var(--color-border);
  border-radius: 3px;
}

/* .wm-lp prefix needed: .wm-lp a:not([class]) has specificity (0,2,1) — must match to override */
.wm-lp .consent-label a {
  color: var(--color-green);
  text-decoration: underline;
}

.form-submit {
  width: 100%;
  margin-top: var(--space-2);
}

.form-note {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  color: var(--color-text-light);
  text-align: center;
  margin-top: var(--space-2);
  margin-bottom: 0;
}

@media (max-width: 560px) {
  .form-row-2col {
    grid-template-columns: 1fr;
  }
  .modal-header {
    padding: var(--space-4) var(--space-5) var(--space-3);
  }
  .modal-body {
    padding: var(--space-4) var(--space-5) var(--space-4);
  }
}

/* ══════════════════════════════════════
   HERO BADGE (pill label)
   ══════════════════════════════════════ */
.hero-badge {
  background: rgba(184, 101, 71, 0.1);
  border: 1px solid rgba(184, 101, 71, 0.25);
  border-radius: var(--radius-full);
  padding: 7px 18px;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-terra);
  margin-bottom: var(--space-5);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--color-gold);
  border-radius: 50%;
  animation: pulse 2s ease infinite;
  flex-shrink: 0;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.55;
    transform: scale(0.75);
  }
}

@media (max-width: 600px) {
  /* Hero badge: smaller pill so it takes less vertical space on first screen */
  .hero-badge {
    padding: 5px var(--space-3); /* 5px intentional — no matching token between --space-1(4px) and --space-2(8px) */
    font-size: 12px;
  }
}

/* Play button (kept for video fallback) */
.play-btn {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--color-terra);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 12px rgba(184, 101, 71, 0.22);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}

/* ══════════════════════════════════════
   TESTIMONIAL CARDS
   ══════════════════════════════════════ */
.testi-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  transition:
    transform var(--t),
    box-shadow var(--t);
}

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

.stars {
  color: var(--color-gold);
  font-size: var(--text-md);
  letter-spacing: 2px;
  display: flex;
  gap: 3px;
}

.testi-text {
  font-family: var(--font-serif);
  font-size: 16px;
  color: var(--color-text-light);
  flex: 1;
  font-style: italic;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.testi-author img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-border);
}

.testi-name {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: var(--text-base);
}

.testi-role {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  color: var(--color-text-light);
}

/* ══════════════════════════════════════
   FAQ
   ══════════════════════════════════════ */
.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--t);
}

.faq-item.open {
  border-color: var(--color-terra);
  border-left: 3px solid var(--color-terra);
}

.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-6) var(--space-8);
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-serif);
  font-size: var(--text-md);
  font-weight: 600;
  color: var(--color-text);
  text-align: left;
  gap: var(--space-4);
  transition: background var(--t);
}

.faq-q:hover {
  background: var(--color-cream);
}

.faq-icon {
  min-width: 28px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-cream-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 300;
  color: var(--color-green);
  transition:
    transform var(--t),
    background var(--t);
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--color-terra);
  color: var(--color-white);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-item.open .faq-answer {
  max-height: 400px;
}

.faq-answer-inner {
  padding: 0 var(--space-8) var(--space-6);
  font-family: var(--font-sans);
  font-size: var(--text-base);
  color: var(--color-text-light);
  line-height: 1.7;
}

@media (max-width: 480px) {
  .faq-q {
    padding: var(--space-5);
    font-size: 15px;
  }
  .faq-answer-inner {
    padding: 0 var(--space-5) var(--space-5);
  }

  /* Modal: bottom-sheet style on narrow phones */
  .modal-overlay {
    align-items: flex-end;
    padding: 0;
  }
  .modal {
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    overflow: hidden;
    margin: 0;
    max-height: 92svh;
    overflow-y: auto;
  }
  /* Drag handle pill */
  .modal::before {
    content: "";
    display: block;
    width: 40px;
    height: 4px;
    background: rgba(0, 0, 0, 0.18);
    border-radius: 2px;
    margin: var(--space-2) auto 0;
  }
  .modal-header {
    padding: var(--space-3) var(--space-5) var(--space-2);
  }
  .modal-body {
    padding: var(--space-3) var(--space-5) var(--space-3);
  }
  /* Restore 2-col layout (overrides the ≤560px collapse rule) */
  .form-row-2col {
    grid-template-columns: 1fr 1fr;
  }
  .form-row-zip {
    grid-template-columns: 110px 1fr;
  }
  /* Compact labels and inputs to fit the full form on one screen */
  .form-group label {
    font-size: 12px;
    margin-bottom: var(--space-1);
  }
  .form-group input:not([type="checkbox"]),
  .form-group select {
    padding: 8px 10px;
  }
  .form-group {
    margin-bottom: var(--space-1);
  }
  /* Hide non-essential text to fit without scroll */
  .modal-sub {
    display: none;
  }
  .form-note {
    display: none;
  }
}

/* ══════════════════════════════════════
   PROCESS INTERACTIVE
   ══════════════════════════════════════ */
.process-interactive {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-white);
  box-shadow: var(--shadow-md);
}

.process-nav {
  background: var(--color-cream);
  border-right: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
}

.process-nav-item {
  padding: var(--space-8) var(--space-8);
  cursor: pointer;
  border-bottom: 1px solid var(--color-border);
  transition: background var(--t);
  position: relative;
}

.process-nav-item:last-child {
  border-bottom: none;
}
.process-nav-item:hover {
  background: var(--color-cream-dark);
}
.process-nav-item.active {
  background: var(--color-white);
}

.pni-number {
  font-family: var(--font-serif);
  font-size: var(--text-sm);
  color: var(--color-terra);
  font-weight: 600;
  margin-bottom: var(--space-1);
  letter-spacing: 0.05em;
}

.pni-title {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-text);
  font-family: var(--font-sans);
}

.process-nav-item.active .pni-title {
  color: var(--color-green);
}

.pni-bar {
  height: 2px;
  background: var(--color-border);
  margin-top: var(--space-3);
  border-radius: 2px;
  overflow: hidden;
}

.pni-bar-fill {
  height: 100%;
  background: var(--color-terra);
  width: 0;
  transition: width 5s linear;
}

.process-nav-item.active .pni-bar-fill {
  width: 100%;
}

.process-panel {
  padding: var(--space-12);
  position: relative;
  min-height: 380px;
  display: flex;
  align-items: center;
}

.process-step-content {
  display: none;
  animation: fadeSlide 0.4s ease;
}

.process-step-content.active {
  display: block;
}

@keyframes fadeSlide {
  from {
    opacity: 0;
    transform: translateX(16px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.psc-step-label {
  font-family: var(--font-serif);
  font-size: var(--text-sm);
  color: var(--color-terra);
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-3); /* fixed: was 0.75rem */
}

.process-panel h3 {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-4);
  color: var(--color-green-dark);
}

.process-panel p {
  color: var(--color-text-light);
  font-size: 16px;
  margin-bottom: var(--space-6);
  font-family: var(--font-sans);
}

/* ul qualifier boosts specificity to (0,1,1) to override .wm-lp ul { margin: 0 } in isolation block */
ul.psc-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-12);
}

ul.psc-list li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-base);
  color: var(--color-text);
  font-family: var(--font-sans);
}

ul.psc-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--color-terra);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ── Process: mobile vertical timeline (hidden on desktop) ── */
.process-timeline {
  display: none;
}

/* Timeline item: marker + content side by side */
.ptl-item {
  display: grid;
  grid-template-columns: var(--space-10) 1fr;
  gap: var(--space-5);
  position: relative;
}

/* Connector line between items (runs from marker center to next marker) */
.ptl-item:not(:last-child) .ptl-marker::after {
  content: "";
  position: absolute;
  top: var(--space-10);
  left: calc(var(--space-10) / 2 - var(--border-width));
  width: calc(var(--border-width) * 2);
  bottom: calc(-1 * var(--space-6));
  background: color-mix(in srgb, var(--color-green) 30%, transparent);
  /* fallback for browsers without color-mix */
}
@supports not (background: color-mix(in srgb, red 50%, blue)) {
  .ptl-item:not(:last-child) .ptl-marker::after {
    background: rgba(80, 112, 90, 0.3);
  }
}

/* Numbered circle */
.ptl-marker {
  position: relative;
  width: var(--space-10);
  height: var(--space-10);
  border-radius: 50%;
  background: var(--color-green);
  color: var(--color-white);
  font-size: var(--text-sm);
  font-weight: 700;
  font-family: var(--font-sans);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  z-index: 1;
}

/* Content block */
.ptl-content {
  padding-bottom: var(--space-6);
}

.ptl-content h3 {
  font-size: var(--text-xl);
  color: var(--color-green-dark);
  margin-bottom: var(--space-2);
  font-family: var(--font-sans);
}

/* .ptl-content p wins over .wm-lp p via source order */
.ptl-content p {
  color: var(--color-text-light);
  font-size: var(--text-base);
  margin-bottom: var(--space-4);
  font-family: var(--font-sans);
}

@media (max-width: 768px) {
  /* Hide desktop tab UI — replaced by vertical timeline on mobile */
  .process-interactive {
    display: none;
  }
  /* Show vertical timeline */
  .process-timeline {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
    margin-top: var(--space-8);
  }
  .process-nav {
    flex-direction: row;
    border-right: none;
    border-bottom: 1px solid var(--color-border);
    width: 100%; /* force nav to respect grid column width */
    overflow: hidden; /* clip any internal overflow */
  }
  .process-nav-item {
    border-bottom: none;
    border-right: 1px solid var(--color-border);
    /* Equal-width tabs that always fit on screen — no horizontal scroll needed */
    min-width: 0;
    flex: 1;
    padding: var(--space-3) var(--space-2);
  }
  .process-nav-item:last-child {
    border-right: none;
  }
  .pni-title {
    font-size: 11px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .pni-number {
    font-size: 11px;
  }
  .pni-bar {
    display: none;
  }
  .process-panel {
    padding: var(--space-6);
    min-height: auto;
  }
}

/* ══════════════════════════════════════
   PRICE CARD
   ══════════════════════════════════════ */
.price-card {
  background: var(--color-green-dark);
  border-radius: var(--radius-lg);
  padding: var(--space-12) var(--space-10);
  color: var(--color-white);
  position: sticky;
  top: 100px;
  text-align: center;
  overflow: hidden;
}

/* "Limitiert" ribbon */
.price-card::before {
  content: "Limitiert: 10 Plätze";
  position: absolute;
  top: var(--space-5);
  right: calc(-1 * var(--space-2));
  background: var(--color-gold);
  color: var(--color-white);
  font-size: var(--text-xs);
  font-weight: 700;
  padding: 4px 14px 4px 10px;
  border-radius: 0 0 0 var(--radius);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.price-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-full);
  padding: 7px 18px;
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 700;
  margin-bottom: var(--space-6);
  backdrop-filter: blur(8px);
}

.price-amount {
  font-family: var(--font-serif);
  font-size: 64px;
  font-weight: 700;
  line-height: 1;
}

.price-amount sup {
  font-family: var(--font-serif);
  font-size: 26px;
  vertical-align: super;
}

.price-period {
  font-family: var(--font-sans);
  font-size: 14px;
  opacity: 0.8;
  margin-top: 4px;
}

.price-was {
  font-family: var(--font-sans);
  font-size: 14px;
  opacity: 0.6;
  text-decoration: line-through;
  margin-top: 6px;
}

.price-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin: var(--space-8) 0;
  text-align: left;
}

.pf {
  display: flex;
  gap: var(--space-3);
  align-items: center;
  font-family: var(--font-sans);
  font-size: var(--text-base);
}

.pf-check {
  width: 22px;
  height: 22px;
  min-width: 22px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

.price-note {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  opacity: 0.6;
  margin-top: var(--space-4);
}

@media (max-width: 1024px) {
  .price-card {
    position: static;
  }
}

/* ══════════════════════════════════════
   OFFER STACK (Value breakdown)
   ══════════════════════════════════════ */
.offer-stack {
  background: var(--color-cream);
  border-radius: var(--radius-lg);
  padding: var(--space-10); /* fixed: was 2.5rem */
  border: 1px solid var(--color-border);
}

.offer-stack h3 {
  margin-bottom: var(--space-8); /* fixed: was 2rem */
  font-style: italic;
  font-weight: 400;
}

.offer-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: var(--space-4) var(--space-5);
  background: var(--color-white);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  margin-bottom: var(--space-3);
}

.offer-item:last-child {
  margin-bottom: 0;
}

.offer-name {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-base);
  font-weight: 700;
  font-family: var(--font-sans);
}

.offer-val {
  font-size: 14px;
  color: var(--color-text-light);
  text-decoration: line-through;
  font-family: var(--font-sans);
}

.offer-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-5) 0 0;
  border-top: 2px solid var(--color-border);
  margin-top: var(--space-3);
}

.offer-total-label {
  font-weight: 700;
  font-family: var(--font-sans);
}

.offer-total-val {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text-light);
  font-family: var(--font-sans);
  /* text-decoration: line-through removed — animated via ::after in JS reveal */
}

/* ══════════════════════════════════════
   OFFER STACK — Animation + Subtitles
   ══════════════════════════════════════ */

/* Staggered reveal: items start hidden, JS adds .is-visible */
.pricing-item {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.4s ease,
    transform 0.4s ease;
}

.pricing-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Offer item: name + subtitle stacked */
.offer-name-wrap {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  flex: 1;
  min-width: 0;
}

.offer-sub {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  font-family: var(--font-sans);
  line-height: 1.5;
  padding-left: var(--space-8); /* align under name text, past icon */
  font-weight: 400;
}

/* Strikethrough animation — CORRECT: 2 separate selectors */
/* Base state (always present, width 0 = invisible): */
.offer-total-val {
  position: relative;
}

.offer-total-val::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 0;
  height: 2px;
  background: var(--color-terra);
  transition: width 0.5s ease;
}

/* Animated final state (only when JS adds .is-struck): */
.offer-total.is-struck .offer-total-val::after {
  width: 100%;
}

/* Savings badge — revealed by JS in phase 3 */
.offer-savings {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) var(--space-6);
  background: rgba(80, 112, 90, 0.08);
  border-radius: var(--radius);
  border: 1px solid rgba(80, 112, 90, 0.2);
  margin-top: var(--space-4);
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.4s ease 0.2s,
    transform 0.4s ease 0.2s;
}

.offer-savings.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.offer-savings-label {
  font-size: var(--text-sm);
  font-family: var(--font-sans);
  color: var(--color-text-light);
}

.offer-savings-amount {
  font-size: var(--text-lg);
  font-weight: 700;
  font-family: var(--font-sans);
  color: var(--color-green);
}

/* Mobile: strikethrough is always static — no animation (IntersectionObserver unreliable) */
@media (max-width: 768px) {
  .offer-total-val::after {
    width: 100%;
    transition: none;
  }
}

/* CSS safety net: reduced-motion (JS-independent fallback) */
@media (prefers-reduced-motion: reduce) {
  .pricing-item {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .offer-savings {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .offer-total-val::after {
    transition: none;
  }
}

/* ══════════════════════════════════════
   PILOT FEATURES
   ══════════════════════════════════════ */
.pilot-feat {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: var(--space-4) var(--space-5);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.pilot-feat-icon {
  font-size: 22px;
}

.pilot-feat-text {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  font-weight: 700;
}

/* ══════════════════════════════════════
   FOOTER
   ══════════════════════════════════════ */
footer {
  background: var(--color-green-dark);
  color: var(--color-white);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-16);
  margin-bottom: var(--space-12);
}

.footer-brand img {
  height: 48px;
  margin-bottom: var(--space-5);
}

.footer-brand p {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.65);
  max-width: 300px;
}

.footer-social {
  display: flex;
  gap: var(--space-4);
  margin-top: var(--space-5);
}

.soc-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  transition:
    background var(--t),
    transform var(--t-fast);
}

.soc-link:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-2px);
}

.footer-col h4 {
  font-family: var(--font-serif);
  color: var(--color-white);
  font-size: var(--text-base);
  margin-bottom: var(--space-5);
  font-weight: 600;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-col a {
  font-family: var(--font-sans);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--t);
}

.footer-col a:hover {
  color: var(--color-white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-8);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.4);
  flex-wrap: wrap;
  gap: var(--space-4);
}

@media (max-width: 768px) {
  footer {
    padding: var(--space-10) 0 var(--space-6);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-6);
  }
  /* Brand spans full width; two nav columns sit side by side */
  .footer-brand {
    grid-column: 1 / -1;
  }
  .footer-brand p {
    max-width: 100%;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
