/* ============================================================
   STRIDO LANDINGPAGE v2 — equestrian focus
   Extends landing/landing.css. Adds: free band, two-ways flow,
   sports strip, roadmap, testimonials, hero photo composition.
   ============================================================ */

/* ---- Hero photo composition ---- */
.lp-hero-visual { position: relative; }
.lp-hero-photo {
  display: block;
  width: 100%;
  height: 440px;
  aspect-ratio: auto;
  box-shadow: var(--z-shadow-pop);
  border-radius: var(--z-radius-lg);
}
.lp-hero-float {
  position: absolute;
  left: -20px;
  bottom: -22px;
  width: min(330px, 82%);
  background: var(--z-surface);
  border: 1px solid var(--z-border);
  border-radius: var(--z-radius-md);
  box-shadow: var(--z-shadow-drawer);
  padding: 14px 16px;
}
.lp-hero-float .lp-mock-comment { padding: 0; }
.lp-hero-float .lp-mock-comment + .lp-mock-comment { border-top: 0; }
.lp-free-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: var(--z-weight-semibold);
  color: var(--z-success);
  background: var(--z-success-soft);
  border: 1px solid var(--z-success-border);
  border-radius: var(--z-radius-full);
  padding: 6px 14px;
}
.lp-free-pill svg { width: 14px; height: 14px; }
body[data-hero="zentriert"] .lp-hero-visual { max-width: 720px; width: 100%; }

@media (max-width: 920px) {
  .lp-hero-float { position: static; width: 100%; margin-top: 16px; left: 0; bottom: 0; }
  .lp-hero-photo { height: 340px; }
}

/* ---- Free band ---- */
.lp-free-band {
  margin-top: 88px;
  background: var(--z-surface-warm);
  border-top: 1px solid var(--z-border);
  border-bottom: 1px solid var(--z-border);
  padding: 48px 0;
}
.lp-free-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}
.lp-free-headline { flex: 1 1 380px; }
.lp-free-headline h2 {
  font-size: clamp(26px, 3.2vw, 34px);
  font-weight: var(--z-weight-bold);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 8px;
}
.lp-free-headline h2 em {
  font-style: normal;
  color: var(--z-primary-text);
}
.lp-free-headline p { color: var(--z-muted); font-size: var(--lp-lead); text-wrap: pretty; }
.lp-free-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.lp-free-points li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  font-weight: var(--z-weight-medium);
}
.lp-free-points svg { width: 20px; height: 20px; color: var(--z-success); flex: none; }

/* ---- Two ways ---- */
.lp-ways {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.lp-way {
  background: var(--z-surface);
  border: 1px solid var(--z-border);
  border-radius: var(--z-radius-lg);
  box-shadow: var(--z-shadow-sm);
  padding: 32px;
  display: flex;
  flex-direction: column;
}
.lp-way-head { display: flex; align-items: center; gap: 14px; margin-bottom: 8px; }
.lp-way-icon {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: var(--z-radius-md);
  background: var(--z-surface-warm);
  border: 1px solid var(--z-primary-soft);
  color: var(--z-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}
.lp-way-icon svg { width: 24px; height: 24px; }
.lp-way-head .lp-kicker { margin-bottom: 2px; }
.lp-way h3 {
  font-size: 22px;
  font-weight: var(--z-weight-semibold);
  letter-spacing: -0.01em;
}
.lp-way > p { color: var(--z-muted); font-size: 15.5px; line-height: 1.6; margin: 6px 0 8px; text-wrap: pretty; }

.lp-flow { margin-top: 18px; }
.lp-flow-step { position: relative; display: flex; gap: 14px; align-items: flex-start; padding: 11px 0; }
.lp-flow-step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 15px;
  top: 43px;
  bottom: -11px;
  width: 2px;
  background: var(--z-border);
}
.lp-flow-dot {
  position: relative;
  z-index: 1;
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: var(--z-radius-full);
  background: var(--z-surface-warm);
  border: 1px solid var(--z-primary-soft);
  color: var(--z-primary-text);
  font-size: 13px;
  font-weight: var(--z-weight-semibold);
  display: flex;
  align-items: center;
  justify-content: center;
}
.lp-flow-step strong {
  display: block;
  font-size: 15px;
  font-weight: var(--z-weight-semibold);
  margin-top: 5px;
}
.lp-flow-step p { font-size: 13.5px; line-height: 1.55; color: var(--z-muted); margin-top: 2px; text-wrap: pretty; }
@media (max-width: 820px) { .lp-ways { grid-template-columns: minmax(0, 1fr); } }

/* ---- Audience photos ---- */
.lp-audience-card { padding: 0; overflow: hidden; }
.lp-audience-photo { display: block; width: 100%; height: 240px; }
.lp-audience-body { padding: 32px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }

/* ---- Reports mini-mockup ---- */
.lp-mock-report { padding: 18px; }
.lp-report-rows { display: flex; flex-direction: column; gap: 16px; margin-top: 6px; }
.lp-report-row { display: grid; grid-template-columns: 96px 1fr auto; align-items: center; gap: 12px; }
.lp-report-row span.lp-report-label { font-size: 13px; color: var(--z-muted); }
.lp-report-bar { height: 10px; border-radius: var(--z-radius-full); background: var(--z-surface-warm); overflow: hidden; }
.lp-report-bar i { display: block; height: 100%; border-radius: inherit; background: var(--z-primary); }
.lp-report-row strong { font-size: 14px; font-weight: var(--z-weight-semibold); }
.lp-report-foot { display: flex; align-items: baseline; gap: 10px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--z-border); }
.lp-report-foot .lp-stat { font-size: 30px; font-weight: var(--z-weight-semibold); letter-spacing: -0.02em; line-height: 1; }
.lp-report-foot .lp-stat-label { font-size: 13px; color: var(--z-muted); }

/* ---- Sports / disciplines ---- */
.lp-sports-group + .lp-sports-group { margin-top: 28px; }
.lp-sports-label {
  font-size: 13px;
  font-weight: var(--z-weight-semibold);
  color: var(--z-muted);
  margin-bottom: 14px;
}
.lp-sports { display: flex; flex-wrap: wrap; gap: 10px; }
.lp-sport-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: var(--z-weight-medium);
  background: var(--z-surface);
  border: 1px solid var(--z-border);
  border-radius: var(--z-radius-full);
  padding: 9px 16px;
  box-shadow: var(--z-shadow-sm);
}
.lp-sport-chip svg { width: 16px; height: 16px; color: var(--z-primary); }
.lp-sport-chip.lp-sport-primary {
  background: var(--z-surface-warm);
  border-color: var(--z-primary-soft);
  color: var(--z-text);
}

/* ---- Roadmap / outlook ---- */
.lp-roadmap-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.lp-roadmap-card {
  background: var(--z-surface);
  border: 1px dashed var(--z-border);
  border-radius: var(--z-radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}
.lp-roadmap-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  margin-bottom: 4px;
}
.lp-roadmap-card .lp-li-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--z-radius-md);
  background: var(--z-surface-warm);
  border: 1px solid var(--z-primary-soft);
  color: var(--z-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}
.lp-roadmap-card .lp-li-icon svg { width: 22px; height: 22px; }
.lp-roadmap-card h3 { font-size: 17px; font-weight: var(--z-weight-semibold); letter-spacing: -0.01em; }
.lp-roadmap-card p { font-size: 14px; line-height: 1.6; color: var(--z-muted); text-wrap: pretty; }
.lp-soon {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: var(--z-weight-semibold);
  border-radius: var(--z-radius-full);
  padding: 4px 11px;
  color: var(--z-primary-text);
  background: var(--z-surface-warm);
  border: 1px solid var(--z-primary-soft);
}
.lp-soon svg { width: 12px; height: 12px; }
.lp-soon.lp-soon-planned { color: var(--z-muted); background: transparent; border-color: var(--z-border); }
@media (max-width: 820px) { .lp-roadmap-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---- Testimonials ---- */
.lp-quotes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.lp-quote {
  background: var(--z-surface);
  border: 1px solid var(--z-border);
  border-radius: var(--z-radius-lg);
  box-shadow: var(--z-shadow-sm);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.lp-quote-stars { display: flex; gap: 3px; color: var(--z-accent); }
.lp-quote-stars svg { width: 16px; height: 16px; fill: currentColor; }
.lp-quote p { font-size: 15.5px; line-height: 1.6; text-wrap: pretty; }
.lp-quote-author { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.lp-quote-author .lp-avatar { width: 40px; height: 40px; font-size: 14px; }
.lp-quote-author .lp-qa-name { font-size: 14px; font-weight: var(--z-weight-semibold); }
.lp-quote-author .lp-qa-role { font-size: 13px; color: var(--z-muted); }
@media (max-width: 900px) { .lp-quotes { grid-template-columns: minmax(0, 1fr); } }

/* placeholder note */
.lp-placeholder-note {
  font-size: 12px;
  color: var(--z-muted);
  text-align: center;
  margin-top: 24px;
  font-style: italic;
}

/* ============================================================
   BACKGROUND RHYTHM — warm bands break the cream monotony
   after the dark live section. Toggle via body[data-bg-rhythm].
   ============================================================ */
:root { --lp-band: #f8e8d1; }

.lp-section[data-bg="warm"] {
  background: var(--lp-band);
  padding-top: var(--lp-section-pad);
  padding-bottom: var(--lp-section-pad);
}
/* give the cream section directly above a warm band breathing room,
   so the colour boundary sits centred in the gap */
.lp-section:has(+ .lp-section[data-bg="warm"]) {
  padding-bottom: var(--lp-section-pad);
}
/* "ruhig" — all cream, original look */
body[data-bg-rhythm="ruhig"] .lp-section[data-bg="warm"] {
  background: transparent;
  padding-bottom: 0;
}
body[data-bg-rhythm="ruhig"] .lp-section:has(+ .lp-section[data-bg="warm"]) {
  padding-bottom: 0;
}

/* ============================================================
   LANGUAGE SWITCHER
   ============================================================ */
.lp-lang { position: relative; flex: none; }
.lp-lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--z-font-sans);
  font-size: 14px;
  font-weight: var(--z-weight-medium);
  color: var(--z-text);
  background: var(--z-surface);
  border: 1px solid var(--z-border);
  border-radius: var(--z-radius-sm);
  padding: 8px 10px;
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--z-dur-base) ease;
}
.lp-lang-btn:hover { background: var(--z-surface-warm); }
.lp-lang-btn:focus-visible { outline: 2px solid var(--z-primary); outline-offset: 2px; }
.lp-lang-btn .lp-lang-globe { width: 16px; height: 16px; color: var(--z-muted); display: inline-flex; }
.lp-lang-btn .lp-lang-globe svg { width: 16px; height: 16px; }
.lp-lang-code { font-variant-numeric: tabular-nums; letter-spacing: 0.02em; }
.lp-lang-flag-wrap { display: inline-flex; align-items: center; }
.lp-lang-flag { width: 18px; height: 13px; border-radius: 2px; object-fit: cover; box-shadow: 0 0 0 1px rgb(0 0 0 / 0.12); flex: none; display: block; }
.lp-lang-caret { width: 14px; height: 14px; color: var(--z-muted); display: inline-flex; }
.lp-lang-caret svg { width: 14px; height: 14px; }
.lp-lang.open .lp-lang-caret { transform: rotate(180deg); }

.lp-lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 184px;
  background: var(--z-surface);
  border: 1px solid var(--z-border);
  border-radius: var(--z-radius-md);
  box-shadow: var(--z-shadow-pop);
  padding: 6px;
  display: none;
  z-index: 70;
}
.lp-lang.open .lp-lang-menu { display: block; }
.lp-lang-option {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  font-family: var(--z-font-sans);
  font-size: 14px;
  color: var(--z-text);
  text-align: left;
  background: transparent;
  border: 0;
  border-radius: var(--z-radius-sm);
  padding: 9px 10px;
  cursor: pointer;
}
.lp-lang-option:hover { background: var(--z-surface-warm); }
.lp-lang-short {
  flex: none;
  width: 30px;
  font-size: 11px;
  font-weight: var(--z-weight-semibold);
  color: var(--z-muted);
  letter-spacing: 0.04em;
}
.lp-lang-option[aria-selected="true"] { color: var(--z-primary-text); font-weight: var(--z-weight-semibold); }
.lp-lang-option[aria-selected="true"] .lp-lang-short { color: var(--z-primary-text); }
.lp-lang-check { margin-left: auto; width: 16px; height: 16px; color: var(--z-primary); opacity: 0; display: inline-flex; }
.lp-lang-check svg { width: 16px; height: 16px; }
.lp-lang-option[aria-selected="true"] .lp-lang-check { opacity: 1; }

/* ============================================================
   MOBILE POLISH (v2 specifics)
   ============================================================ */
.lp-soon,
.lp-reply-tag,
.lp-bk-slot,
.lp-bk-daylabel { white-space: nowrap; }

@media (max-width: 560px) {
  .lp-free-band { margin-top: 56px; padding: 36px 0; }
  .lp-free-inner { gap: 28px; }
  /* lang switcher compact: keep globe + code, drop nothing else needed */
  .lp-lang-btn { padding: 8px 9px; }
}

/* ---- Threaded reply inside the feedback mockup ---- */
.lp-mock-comment.lp-mock-reply {
  border-top: 0;
  margin-left: 44px;
  padding-top: 2px;
  position: relative;
}
.lp-mock-comment.lp-mock-reply::before {
  content: "";
  position: absolute;
  left: -28px;
  top: -6px;
  width: 16px;
  height: 22px;
  border-left: 2px solid var(--z-border);
  border-bottom: 2px solid var(--z-border);
  border-bottom-left-radius: 8px;
}
.lp-mock-reply .lp-avatar { width: 26px; height: 26px; font-size: 11px; }
.lp-reply-tag {
  font-size: 11px;
  font-weight: var(--z-weight-semibold);
  color: var(--z-muted);
  border: 1px solid var(--z-border);
  border-radius: var(--z-radius-full);
  padding: 1px 8px;
}

/* ---- "Distinkter Rahmen" tweak ---- */
body[data-rahmen="distinkt"] .lp-mock-card,
body[data-rahmen="distinkt"] .lp-mock-call,
body[data-rahmen="distinkt"] .lp-way,
body[data-rahmen="distinkt"] .lp-audience-card,
body[data-rahmen="distinkt"] .lp-roadmap-card,
body[data-rahmen="distinkt"] .lp-quote,
body[data-rahmen="distinkt"] .lp-booking-card,
body[data-rahmen="distinkt"] .lp-step,
body[data-rahmen="distinkt"] .lp-cta-card,
body[data-rahmen="distinkt"] .lp-sport-chip {
  border-color: #c49a5f;
}
body[data-rahmen="distinkt"] .lp-roadmap-card { border-style: solid; }
body[data-rahmen="distinkt"] .lp-mock-call { border-color: rgba(255, 255, 255, 0.32); }

/* ---- Sports marquee (SOTA presentation of the long sport list) ---- */
.lp-marquee-wrap { display: flex; align-items: center; gap: 8px; }
.lp-marquee {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.lp-marquee-track {
  display: flex;
  gap: 10px;
  width: max-content;
  animation: lp-marquee-scroll 32s linear infinite;
}
.lp-marquee:hover .lp-marquee-track { animation-play-state: paused; }
@keyframes lp-marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
/* prev/next buttons — shown only in the reduced-motion (manual-scroll) fallback, via JS when scrollable */
.lp-marquee-nav {
  display: none;
  flex: none;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: var(--z-radius-full);
  background: var(--z-surface);
  border: 1px solid var(--z-border);
  box-shadow: var(--z-shadow-sm);
  color: var(--z-text);
  cursor: pointer;
}
.lp-marquee-nav:hover { background: var(--z-surface-warm); }
.lp-marquee-nav:focus-visible { outline: 2px solid var(--z-primary); outline-offset: 2px; }
.lp-marquee-nav:disabled { opacity: 0.35; cursor: default; }
.lp-marquee-nav svg { width: 18px; height: 18px; }
@media (prefers-reduced-motion: reduce) {
  .lp-marquee { overflow-x: auto; scroll-behavior: smooth; scrollbar-width: none; }
  .lp-marquee::-webkit-scrollbar { display: none; }
  .lp-marquee-track { animation: none; }                                 /* one row, scrolled on demand */
  .lp-marquee-track [aria-hidden="true"] { display: none !important; }   /* manual scroll needs no loop-duplicates */
  .lp-marquee-nav { display: inline-flex; }
}

/* ---- Booking section ---- */
.lp-mock-booking { padding-bottom: 16px; }
.lp-booking-grid { padding: 4px 16px 0; display: flex; gap: 10px; }
.lp-booking-day { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.lp-bk-daylabel {
  font-size: 12px;
  font-weight: var(--z-weight-semibold);
  color: var(--z-muted);
  text-align: center;
  padding-bottom: 2px;
}
.lp-bk-slot {
  font-size: 13px;
  font-weight: var(--z-weight-medium);
  text-align: center;
  padding: 9px 4px;
  border: 1px solid var(--z-border);
  border-radius: var(--z-radius-sm);
  background: var(--z-surface);
  color: var(--z-text);
}
.lp-bk-slot.lp-bk-muted { color: var(--z-muted); opacity: 0.5; }
.lp-bk-slot.lp-bk-selected {
  background: var(--z-primary);
  border-color: var(--z-primary);
  color: #ffffff;
}
.lp-booking-confirm {
  margin: 16px 16px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--z-border);
  border-radius: var(--z-radius-md);
  background: var(--z-surface-warm);
}
.lp-booking-confirm .lp-bk-summary { min-width: 0; }
.lp-booking-confirm .lp-bk-summary strong { display: block; font-size: 14px; font-weight: var(--z-weight-semibold); }
.lp-booking-confirm .lp-bk-summary span { font-size: 12px; color: var(--z-muted); }
.lp-mock-confirm-btn {
  margin-left: auto;
  flex: none;
  font-size: 13px;
  font-weight: var(--z-weight-semibold);
  color: #ffffff;
  background: var(--z-primary);
  border-radius: var(--z-radius-sm);
  padding: 9px 16px;
}
