/* ============================================================
   Xpreneurs Training Landing Pages — Design-System-Port
   Quelle: Xpreneurs Design System (colors_and_type.css + ui_kits/website/site.css)
   + Seiten-Styles der Coach-Ausbildung v6 (Richtung C, Logo-Übergänge).
   Alle Regeln sind unter .xp-lp gescoped bzw. xp-präfixiert, damit nichts
   in Header/Footer/Bootstrap der bestehenden Site blutet.
   ============================================================ */

/* ---------- Design Tokens ----------
   Moved to the shared brand foundation: xpreneurs_website/static/src/css/
   xp_foundation.css (loaded site-wide via web.assets_frontend). Single
   source of truth for all --xp-* tokens — consumed here and by the event skin.
   ------------------------------------ */

/* ---------- Basis (Scope: .xp-lp) ---------- */
.xp-lp {
  font-family: var(--xp-font-body);
  font-size: 16px;
  line-height: 1.5;
  color: var(--xp-fg-1);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.xp-lp img { max-width: 100%; display: block; }

.xp-lp h1, .xp-lp h2, .xp-lp h3 {
  font-family: var(--xp-font-heading);
  font-weight: 700;
  color: var(--xp-fg-1);
  text-wrap: balance;
}
.xp-lp p { font-family: var(--xp-font-body); color: var(--xp-fg-1); text-wrap: pretty; }

.xp-lp a {
  color: var(--xp-moonstone);
  text-decoration: none;
  border-bottom: 1px solid rgba(47, 177, 189, 0.4);
  transition: color var(--xp-dur) var(--xp-ease),
              border-color var(--xp-dur) var(--xp-ease);
}
.xp-lp a:hover { color: var(--xp-moonstone-dark); border-bottom-color: currentColor; }

.xp-lp .xp-on-dark,
.xp-lp .xp-on-dark h1, .xp-lp .xp-on-dark h2, .xp-lp .xp-on-dark h3,
.xp-lp .xp-on-dark p { color: var(--xp-fg-inverse); }
.xp-lp .xp-on-dark .xp-eyebrow { color: var(--xp-pear); }

.xp-lp .xp-container {
  max-width: var(--xp-page-max);
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- Buttons ---------- */
.xp-lp .xp-btn {
  font-family: var(--xp-font-heading); font-weight: 700; font-size: 15px;
  line-height: 1.5;
  padding: 13px 26px; border-radius: 999px; border: 0; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
  transition: transform 140ms var(--xp-ease), background 220ms var(--xp-ease),
              color 220ms var(--xp-ease), box-shadow 220ms var(--xp-ease);
  text-decoration: none;
}
.xp-lp .xp-btn:active { transform: scale(0.97); }
.xp-lp .xp-btn--primary { background: var(--xp-pear); color: var(--xp-indigo-dye); }
.xp-lp .xp-btn--primary:hover { background: var(--xp-pear-dark); color: var(--xp-indigo-dye); }
.xp-lp .xp-btn--outline { background: transparent; color: var(--xp-indigo-dye); box-shadow: inset 0 0 0 2px var(--xp-indigo-dye); }
.xp-lp .xp-btn--outline:hover { background: var(--xp-indigo-dye); color: #fff; }
.xp-lp .xp-btn--outline-light { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,0.8); }
.xp-lp .xp-btn--outline-light:hover { background: #fff; color: var(--xp-indigo-dye); }
.xp-lp .xp-btn .arrow {
  display: inline-block; width: 10px; height: 10px;
  border-top: 2px solid currentColor; border-right: 2px solid currentColor;
  transform: rotate(45deg); margin-left: 2px;
}

/* ---------- Sektions-Rhythmus (Seiten-Styles v6) ---------- */
.xp-lp section { padding: 88px 0; }
.xp-lp section + section { padding-top: 88px; }

.xp-lp .xp-section-head { display: flex; flex-direction: column; gap: 16px; max-width: 720px; margin-bottom: 56px; }
.xp-lp .xp-eyebrow {
  font-family: var(--xp-font-body); font-weight: 600; font-size: 13px;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--xp-moonstone);
}
.xp-lp .xp-section-head h2 {
  font-size: 40px; line-height: 1.15; letter-spacing: -0.01em;
  color: var(--xp-indigo-dye); margin: 0;
}
.xp-lp .xp-section-head p.xp-lead {
  font-family: var(--xp-font-body); font-size: 19px; font-weight: 400; line-height: 1.5;
  color: var(--xp-fg-1); margin: 0; max-width: 640px;
}

/* ---------- Hero ---------- */
.xp-lp .xp-hero {
  position: relative; min-height: 720px; color: #fff;
  display: flex; align-items: center; padding: 0 0 80px;
  overflow: hidden;
}
.xp-lp .xp-hero__media { position: absolute; inset: 0; z-index: 0; }
.xp-lp .xp-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.xp-lp .xp-hero__media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(45,66,90,0.1) 0%,
    rgba(45,66,90,0.35) 45%,
    rgba(45,66,90,0.85) 100%);
}
.xp-lp .xp-hero__inner { position: relative; z-index: 1; width: 100%; }
.xp-lp .xp-hero__eyebrow {
  font-family: var(--xp-font-body); font-weight: 600; font-size: 14px;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--xp-pear); margin-bottom: 24px;
}
.xp-lp .xp-hero h1 {
  font-size: 50px; line-height: 1.05; letter-spacing: -0.015em;
  margin: 0 0 28px; max-width: 16ch; color: #fff;
  text-shadow: 0 2px 30px rgba(20,30,45,.5);
}
.xp-lp .xp-hero p.xp-lead {
  font-family: var(--xp-font-body); font-size: 19px; font-weight: 400; line-height: 1.4;
  max-width: 620px; margin: 0 0 36px; color: rgba(255,255,255,0.92);
  text-shadow: 0 1px 18px rgba(20,30,45,.55);
}
.xp-lp .xp-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Offer-Karten ---------- */
.xp-lp .xp-offer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.xp-lp .xp-offer {
  background: #fff; border-radius: 20px; padding: 32px;
  display: flex; flex-direction: column; gap: 16px;
  box-shadow: var(--xp-shadow-sm);
  transition: transform var(--xp-dur) var(--xp-ease), box-shadow var(--xp-dur) var(--xp-ease);
  position: relative; overflow: hidden;
}
.xp-lp .xp-offer:hover { transform: translateY(-4px); box-shadow: var(--xp-shadow-lg); }
.xp-lp .xp-offer .icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; }
.xp-lp .xp-offer h3 { font-size: 22px; color: var(--xp-indigo-dye); margin: 0; line-height: 1.2; }
.xp-lp .xp-offer p { font-size: 15px; line-height: 1.55; color: var(--xp-fg-1); margin: 0; flex-grow: 1; }

/* ---------- CTA-Band ---------- */
.xp-lp .xp-cta {
  position: relative; padding: 120px 0; overflow: hidden; color: #fff;
  background: var(--xp-indigo-dye);
}
.xp-lp .xp-cta__media { position: absolute; inset: 0; opacity: 0.35; }
.xp-lp .xp-cta__media img { width: 100%; height: 100%; object-fit: cover; }
.xp-lp .xp-cta__inner { position: relative; text-align: center; max-width: 780px; margin: 0 auto; }
.xp-lp .xp-cta h2 {
  font-size: clamp(36px, 5vw, 64px); line-height: 1.1; color: #fff;
  margin: 0 0 20px; letter-spacing: -0.01em;
}
.xp-lp .xp-cta p { font-size: 19px; line-height: 1.5; color: rgba(255,255,255,0.88); margin: 0 0 32px; }
.xp-lp .xp-cta .xp-actions { justify-content: center; }

/* ---------- FAQ (natives details/summary) ---------- */
.xp-lp details > summary { list-style: none; cursor: pointer; }
.xp-lp details > summary::-webkit-details-marker { display: none; }
.xp-lp details[open] .faq-plus { transform: rotate(45deg); }
.xp-lp .faq-plus { flex: none; transition: transform .22s; color: var(--xp-moonstone); }

/* ---------- In-Card «Details»-Accordion (Progressive Disclosure) ---------- */
/* Wiederverwendet die faq-plus-Affordanz (+ → ×) für Offer-/Wochen-/Bio-Details. */
.xp-lp .xp-acc { border-top: 1px solid var(--xp-border); margin-top: 14px; }
.xp-lp .xp-acc > summary {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 12px 0 2px;
  font-family: var(--xp-font-body); font-weight: 600; font-size: 14px;
  letter-spacing: 0.02em; color: var(--xp-moonstone);
}
.xp-lp .xp-acc > summary:hover { color: var(--xp-moonstone-dark); }
.xp-lp .xp-acc__body {
  font-family: var(--xp-font-body); font-size: 14.5px; line-height: 1.6;
  color: var(--xp-indigo-dye-70); margin: 0; padding: 8px 0 12px;
}
.xp-lp .xp-acc__body ul { margin: 6px 0 0; padding-left: 18px; }
.xp-lp .xp-acc__body li { margin-bottom: 6px; }

/* ---------- Social-Proof: Teilnehmer-Firmen ---------- */
.xp-lp .xp-proof-companies {
  display: flex; flex-wrap: wrap; gap: 12px 26px; align-items: center;
}
.xp-lp .xp-proof-companies span {
  font-family: var(--xp-font-heading); font-weight: 700; font-size: 16px;
  color: rgba(255, 255, 255, 0.86);
}

/* ---------- Trainer-Karten (kompaktes Foto links, Text rechts) ---------- */
@media (max-width: 700px) {
  .xp-lp .xp-trainer { grid-template-columns: 1fr !important; }
  .xp-lp .xp-trainer > div:first-child { min-height: 230px; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .xp-lp .xp-grid-2,
  .xp-lp .xp-grid-3,
  .xp-lp .xp-grid-format,
  .xp-lp .xp-grid-invest { grid-template-columns: 1fr !important; }
  .xp-lp .xp-offer-grid { grid-template-columns: 1fr; }
  .xp-lp section { padding: 64px 0; }
  .xp-lp section + section { padding-top: 64px; }
}
@media (max-width: 768px) {
  .xp-lp .xp-hero h1 { font-size: 36px; }
  .xp-lp .xp-section-head h2 { font-size: 30px; }
  .xp-lp .xp-container { padding: 0 20px; }
}
