﻿/* ============================================================
   URHEBER-IMPULS - salespage.css
   Premium-Klaerungssession specific sections and refinements.
   Loaded only on /premium-klaerungssession/.
   ============================================================ */

/* ============================================================
   URHEBER-IMPULS — Pricing Card Override
   Premium-Klärungssession im Stil der Danke-Seite
   ============================================================ */

body.elementor-page .pricing-card {
  position: relative;
  overflow: hidden;
  max-width: 780px;
  margin: 0 auto;
  padding: clamp(2rem, 4vw, 4rem);
  background: #EEF7F0 !important;
  border: 1px solid rgba(18, 60, 47, 0.16) !important;
  border-radius: 1.5rem !important;
  box-shadow: 0 18px 45px rgba(18, 60, 47, 0.08) !important;
  color: #123C2F !important;
}

/* grün-goldene Linie oben wie bei der Danke-Seite */
body.elementor-page .pricing-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 8px;
  background: linear-gradient(90deg, #123C2F 0%, #123C2F 58%, #C8A24A 100%);
}

/* kleiner visueller Marker */
body.elementor-page .pricing-card::after {
  content: "Premium-Angebot";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 2rem;
  right: 2rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: rgba(18, 60, 47, 0.08);
  color: #123C2F;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

/* Titel */
body.elementor-page .pricing-card__title {
  max-width: 580px;
  margin: 0 0 1rem;
  font-family: 'Playfair Display', Georgia, serif !important;
  font-size: clamp(2rem, 4vw, 3.25rem) !important;
  font-weight: 700 !important;
  line-height: 1.08 !important;
  letter-spacing: -0.035em;
  color: #123C2F !important;
}

/* Beschreibung */
body.elementor-page .pricing-card__sub {
  max-width: 62ch;
  margin: 0 0 2.25rem;
  font-size: 1.0625rem !important;
  line-height: 1.75 !important;
  color: #4F5C55 !important;
}

/* Preisoptionen */
body.elementor-page .pricing-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin: 0 0 2rem;
}

/* einzelne Preisbox */
body.elementor-page .pricing-option {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 220px;
  padding: 1.75rem;
  background: rgba(255, 255, 255, 0.78) !important;
  border: 1px solid rgba(18, 60, 47, 0.14) !important;
  border-radius: 1.25rem !important;
  box-shadow: 0 10px 30px rgba(18, 60, 47, 0.06);
  transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
}

body.elementor-page .pricing-option:hover {
  transform: translateY(-2px);
  border-color: rgba(200, 162, 74, 0.65) !important;
  box-shadow: 0 14px 34px rgba(18, 60, 47, 0.1);
}

/* dezente goldene Ecke */
body.elementor-page .pricing-option::before {
  content: "";
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 2.25rem;
  height: 2px;
  background: #C8A24A;
  border-radius: 999px;
}

body.elementor-page .pricing-option__label {
  margin: 0 0 2rem;
  font-family: 'Inter', system-ui, sans-serif !important;
  font-size: 0.875rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #4F5C55 !important;
}

body.elementor-page .pricing-option__price {
  margin: auto 0 1.75rem;
  font-family: 'Playfair Display', Georgia, serif !important;
  font-size: clamp(2.5rem, 4vw, 3.5rem) !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  color: #C8A24A !important;
  letter-spacing: -0.03em;
}

body.elementor-page .pricing-option__note {
  margin: 0;
  font-size: 0.9375rem !important;
  line-height: 1.5 !important;
  color: #4F5C55 !important;
}

/* Hinweistext unter Preisboxen */
body.elementor-page .pricing-card__note {
  position: relative;
  margin: 2rem 0 1.75rem;
  padding: 1.25rem 1.5rem 1.25rem 3rem;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(18, 60, 47, 0.12);
  border-radius: 1rem;
  font-size: 1rem !important;
  line-height: 1.65 !important;
  color: #4F5C55 !important;
}

body.elementor-page .pricing-card__note::before {
  content: "i";
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 999px;
  background: #0F5D21;
  color: #FFFFFF;
  font-size: 0.8125rem;
  font-weight: 700;
  font-family: 'Inter', system-ui, sans-serif;
}

/* CTA in der Pricing-Card nicht mehr outline-light, sondern klarer Primärbutton */
body.elementor-page .pricing-card a.btn.btn--outline-light {
  background-color: #123C2F !important;
  color: #FAF7F1 !important;
  border: none !important;
  box-shadow: 0 4px 14px rgba(18, 60, 47, 0.18);
}

body.elementor-page .pricing-card a.btn.btn--outline-light:hover {
  background-color: #0d2e24 !important;
  color: #FAF7F1 !important;
  box-shadow: 0 6px 18px rgba(18, 60, 47, 0.24);
  text-decoration: none !important;
}

/* Mobile */
@media (max-width: 760px) {
  body.elementor-page .pricing-card {
    padding: 2.25rem 1.25rem;
    border-radius: 1.25rem !important;
  }

  body.elementor-page .pricing-card::after {
    position: static;
    margin-bottom: 1.25rem;
  }

  body.elementor-page .pricing-options {
    grid-template-columns: 1fr;
  }

  body.elementor-page .pricing-option {
    min-height: auto;
  }

  body.elementor-page .pricing-card a.btn.btn--outline-light {
    width: 100%;
  }
}


/* Salespage mobile fixes moved out of the former components.css. */
@media (max-width: 640px) {
  .elementor-page .hero,
  .elementor-page .home-hero {
    overflow-x: clip;
  }

  .elementor-page .hero__price-anchor {
    font-size: 0.875rem;
    padding: 0.375rem 0.75rem;
    white-space: normal;
    text-align: center;
  }

  .elementor-page .hero__ctas {
    flex-direction: column;
    align-items: stretch;
  }

  .elementor-page .hero__ctas .btn {
    text-align: center;
    white-space: normal;
  }
}

/* ============================================================
   QA Mobile Overrides - Premium-Klaerungssession
   Live-erprobte Mobile-Fixes aus dem Customizer.
   ============================================================ */

@media (max-width: 640px) {
  body.elementor-page .dual-card__list {
    margin-left: 0 !important;
    padding-left: 0 !important;
  }

  body.elementor-page .dual-card__list li {
    display: block !important;
    margin-left: 0 !important;
    padding-left: 0 !important;
    text-indent: 0 !important;
    line-height: 1.55 !important;
  }

  body.elementor-page .dual-card__list li svg {
    display: inline-block !important;
    width: 0.9rem !important;
    height: 0.9rem !important;
    margin: 0 0.5rem 0 0 !important;
    vertical-align: -0.12em !important;
  }

  body.elementor-page .dual-card__item {
    padding: 1.5rem 1.25rem !important;
  }

  body.elementor-page .process-steps {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 1rem !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 2rem !important;
  }

  body.elementor-page .process-step {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 1rem !important;
    padding: 1.35rem 1.25rem !important;
    overflow: hidden !important;
  }

  body.elementor-page .process-step__number {
    margin: 0 auto !important;
  }

  body.elementor-page .process-step__content {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  body.elementor-page .process-step__content h4 {
    text-align: left !important;
    margin-bottom: 0.35rem !important;
  }

  body.elementor-page .process-step__content p {
    margin: 0 !important;
    text-align: left !important;
    line-height: 1.6 !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
  }

  body.elementor-page .feature-list {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 1rem !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  body.elementor-page .feature-item {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 0.875rem !important;
    padding: 1.35rem 1.25rem !important;
    text-align: center !important;
    overflow: hidden !important;
  }

  body.elementor-page .feature-item__icon {
    width: 2rem !important;
    height: 2rem !important;
    margin: 0 auto !important;
  }

  body.elementor-page .feature-item__text {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  body.elementor-page .feature-item__text h4 {
    text-align: center !important;
    line-height: 1.25 !important;
    margin-bottom: 0.45rem !important;
    overflow-wrap: anywhere !important;
  }

  body.elementor-page .feature-item__text p {
    text-align: center !important;
    line-height: 1.6 !important;
    margin: 0 !important;
  }

  body.elementor-page .transformation-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 2rem !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  body.elementor-page .transformation-points {
    width: 100% !important;
    max-width: 100% !important;
  }

  body.elementor-page .transformation-point {
    display: grid !important;
    grid-template-columns: 1.35rem minmax(0, 1fr) !important;
    gap: 0.875rem !important;
    align-items: flex-start !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  body.elementor-page .transformation-point svg {
    width: 1.2rem !important;
    height: 1.2rem !important;
    margin-top: 0.25rem !important;
    flex-shrink: 0 !important;
  }

  body.elementor-page .transformation-point p {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    line-height: 1.65 !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
  }

  body.elementor-page .transformation-point strong {
    overflow-wrap: anywhere !important;
  }

  body.elementor-page .transformation-grid .btn {
    width: 100% !important;
    white-space: normal !important;
    text-align: center !important;
    line-height: 1.25 !important;
  }

  body.elementor-page .pricing-card {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    padding: 2rem 1.25rem 1.5rem !important;
    border-radius: 1.25rem !important;
    overflow: hidden !important;
  }

  body.elementor-page .pricing-card::after {
    position: static !important;
    order: -1 !important;
    align-self: center !important;
    width: fit-content !important;
    max-width: 100% !important;
    margin: 0 0 1.35rem 0 !important;
    font-size: 0.68rem !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }

  body.elementor-page .pricing-card__title {
    max-width: 100% !important;
    margin-bottom: 1rem !important;
    font-size: clamp(2rem, 9vw, 2.45rem) !important;
    line-height: 1.05 !important;
    letter-spacing: -0.03em !important;
    overflow-wrap: anywhere !important;
    hyphens: auto !important;
  }

  body.elementor-page .pricing-card__sub {
    max-width: 100% !important;
    margin-bottom: 1.75rem !important;
    font-size: 1rem !important;
    line-height: 1.65 !important;
    overflow-wrap: anywhere !important;
  }

  body.elementor-page .pricing-options {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 1rem !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-bottom: 1.5rem !important;
  }

  body.elementor-page .pricing-option {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    min-height: auto !important;
    padding: 1.4rem 1.25rem !important;
  }

  body.elementor-page .pricing-option__label {
    margin-bottom: 1.4rem !important;
    font-size: 0.78rem !important;
    line-height: 1.2 !important;
    overflow-wrap: anywhere !important;
  }

  body.elementor-page .pricing-option__price {
    margin: 0 0 1rem !important;
    font-size: clamp(2.75rem, 15vw, 3.35rem) !important;
  }

  body.elementor-page .pricing-option__note {
    font-size: 0.9rem !important;
    line-height: 1.45 !important;
  }

  body.elementor-page .pricing-card__note {
    max-width: 100% !important;
    margin: 1.25rem 0 1.5rem !important;
    padding: 1.2rem 1.15rem !important;
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
    overflow-wrap: anywhere !important;
  }

  body.elementor-page .pricing-card__note::before {
    position: static !important;
    display: inline-flex !important;
    margin: 0 0.55rem 0.15rem 0 !important;
    vertical-align: middle !important;
  }

  body.elementor-page .pricing-card a.btn,
  body.elementor-page .pricing-card a.btn.btn--outline-light {
    width: 100% !important;
    max-width: 100% !important;
    justify-content: center !important;
    white-space: normal !important;
    text-align: center !important;
    line-height: 1.25 !important;
    padding: 0.95rem 1rem !important;
  }

  body.elementor-page .testimonials-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 1rem !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  body.elementor-page .testimonial-card {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    padding: 1.5rem 1.25rem !important;
    overflow: hidden !important;
  }

  body.elementor-page .testimonial-card__quote-mark {
    position: static !important;
    display: block !important;
    margin-bottom: 0.25rem !important;
    font-size: 2.25rem !important;
    line-height: 1 !important;
  }

  body.elementor-page .testimonial-card__text {
    margin-top: 0 !important;
    font-size: 0.95rem !important;
    line-height: 1.7 !important;
    max-width: 100% !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
  }

  body.elementor-page .testimonial-card__name {
    font-size: 0.9rem !important;
    line-height: 1.45 !important;
    overflow-wrap: anywhere !important;
  }

  body.elementor-page a.btn[href="#einordnung"],
  body.elementor-page a.btn.btn--primary[href="#einordnung"],
  body.elementor-page a.btn.btn--primary.btn--lg[href="#einordnung"] {
    width: 15.75rem !important;
    max-width: 100% !important;
    min-height: 4.25rem !important;
    white-space: normal !important;
    text-align: center !important;
    line-height: 1.15 !important;
    padding: 0.95rem 1rem !important;
    font-size: 0.98rem !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  body.elementor-page .hero__ctas,
  body.elementor-page .closing-cta__buttons {
    justify-content: center !important;
    align-items: center !important;
  }

  body.elementor-page .closing-cta__buttons a.btn[href="#einordnung"] {
    width: 15.75rem !important;
  }
}
