/* ==========================================================================
   Pricing Page – Google Ads Pakete
   Scoped styles for page-pricing.php (Template: Preisplan).
   Loaded conditionally via functions.php – no impact on other pages.
   ========================================================================== */


/* ==========================================================================
   Shared: Section Header
   ========================================================================== */

.section-header {
  text-align: center;
  max-width: 46rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 2rem;
  letter-spacing: -0.03em;
  margin-bottom: 0.875rem;
}

@media (min-width: 768px) {
  .section-header h2 {
    font-size: 2.625rem;
  }
}

.section-header p {
  font-size: 1.0625rem;
  color: var(--color-muted-foreground);
  line-height: 1.75;
  max-width: 38rem;
  margin: 0 auto;
}

/* Eyebrow label */
.eyebrow {
  display: inline-block;
  background: var(--color-accent);
  padding: 0.25rem 0.75rem;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-black);
  margin-bottom: 1.5rem;
}


/* ==========================================================================
   1. Hero
   ========================================================================== */

.pricing-hero {
  padding: 6rem 0 7rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--color-gray-200);
}

/* Subtle decorative skewed accent fill – top-right corner */
.pricing-hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 35%;
  height: 100%;
  background: rgba(255, 249, 50, 0.07);
  transform: skewX(-8deg) translateX(6rem);
  pointer-events: none;
  z-index: 0;
}

.pricing-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 54rem;
  margin: 0 auto;
}

.pricing-hero h1 {
  font-size: 2.75rem;
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin-bottom: 1.5rem;
  max-width: none;
}

@media (min-width: 768px) {
  .pricing-hero h1 {
    font-size: 3.75rem;
  }
}

@media (min-width: 1024px) {
  .pricing-hero h1 {
    font-size: 4.5rem;
  }
}

.pricing-hero-lead {
  font-size: 1.1875rem;
  color: var(--color-muted-foreground);
  line-height: 1.75;
  max-width: 38rem;
  margin: 0 auto 2.5rem;
}

.pricing-hero-ctas {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.875rem;
  margin-top: 2.5rem;
}

@media (min-width: 480px) {
  .pricing-hero-ctas {
    flex-direction: row;
    justify-content: center;
  }
}

.pricing-hero-ctas .btn {
  min-width: 11rem;
}


/* ==========================================================================
   2. Problem Section
   ========================================================================== */

.pricing-problem .section-header {
  margin-bottom: 3rem;
}

.problem-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  max-width: 54rem;
  margin: 0 auto;
  list-style: none;
}

@media (min-width: 600px) {
  .problem-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

.problem-list li {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  background: var(--color-white);
  padding: 1.625rem 1.5rem;
  border: 1px solid var(--color-gray-200);
  border-left: 4px solid var(--color-black);
}

.problem-list li svg {
  flex-shrink: 0;
  color: var(--color-black);
  margin-top: 0.1rem;
  width: 20px;
  height: 20px;
}

.problem-list li div {
  display: flex;
  flex-direction: column;
  gap: 0.3125rem;
}

.problem-list li strong {
  display: block;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-black);
  line-height: 1.35;
}

.problem-list li span {
  font-size: 0.875rem;
  color: var(--color-muted-foreground);
  line-height: 1.6;
}


/* ==========================================================================
   3. Zwei-Lösungen-Section
   ========================================================================== */

.solutions-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 54rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .solutions-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

.solution-card {
  background: var(--color-white);
  padding: 2.25rem 2rem;
  border: 1px solid var(--color-gray-200);
  border-top: 4px solid var(--color-gray-300);
}

.solution-card:first-child {
  border-top-color: var(--color-accent);
}

.solution-card:last-child {
  border-top-color: var(--color-black);
}

.solution-label {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.25rem 0.625rem;
  margin-bottom: 1.125rem;
}

.solution-label--essential {
  background: var(--color-accent);
  color: var(--color-black);
}

.solution-label--pro {
  background: var(--color-black);
  color: var(--color-white);
}

.solution-card h3 {
  font-size: 1.3125rem;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.solution-card p {
  font-size: 0.9375rem;
  color: var(--color-muted-foreground);
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.solution-ideal {
  font-size: 0.8125rem !important;
  font-weight: 700;
  color: var(--color-black) !important;
  padding: 0.75rem 1rem;
  background: var(--color-gray-50);
  border-left: 3px solid var(--color-gray-300);
  margin-top: 1.25rem;
  line-height: 1.5;
}


/* ==========================================================================
   4. Pricing / Produkt-Section
   ========================================================================== */

.pricing-cards-section {
  padding-top: 7rem;
  padding-bottom: 7rem;
}

/* Narrower container for pricing cards – better focus */
.pricing-cards-section > .container {
  max-width: 64rem;
}

/* Grid */
.pricing-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: stretch;
}

@media (min-width: 768px) {
  .pricing-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
}

/* ── Essential Card ── */
.pricing-card {
  background: var(--color-white);
  border: 2px solid var(--color-black);
  overflow: hidden;
  /* Accent brutalist shadow → signals "this is the recommended path" */
  box-shadow: 6px 6px 0px 0px var(--color-accent);
  transition: box-shadow 0.2s;
  /* Equal-height layout */
  display: flex;
  flex-direction: column;
}

.pricing-card:hover {
  box-shadow: 8px 8px 0px 0px var(--color-accent);
}

/* ── Pro Card (featured = custom/premium inquiry) ── */
.pricing-card--featured {
  background: var(--color-white);
  border: 2px solid var(--color-black);
  box-shadow: 6px 6px 0px 0px var(--color-black);
  transition: box-shadow 0.2s;
}

.pricing-card--featured:hover {
  box-shadow: 8px 8px 0px 0px var(--color-black);
}

/* ── Card Header ── */
.pricing-card-header {
  padding: 1.75rem 2rem 1.5rem;
  border-bottom: 2px solid var(--color-black);
}

/* Essential: accent yellow header */
.pricing-card:not(.pricing-card--featured) .pricing-card-header {
  background: var(--color-accent);
}

/* Pro: black header */
.pricing-card--featured .pricing-card-header {
  background: var(--color-black);
  color: var(--color-white);
}

.pricing-card--featured .pricing-card-header h3 {
  color: var(--color-white);
}

/* Badge */
.pricing-card-badge {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.25rem 0.625rem;
  margin-bottom: 0.875rem;
  background: var(--color-black);
  color: var(--color-white);
}

.pricing-card--featured .pricing-card-badge {
  background: var(--color-accent);
  color: var(--color-black);
}

/* Card Title */
.pricing-card-header h3 {
  font-size: 1.5rem;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.pricing-card-header h3 span {
  display: block;
  font-size: 2rem;
  letter-spacing: -0.04em;
}

/* ── Card Body ── */
.pricing-card-body {
  padding: 2.25rem 2rem 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Actions area – CTA + legal, pushed to bottom of card */
.pricing-card-actions {
  margin-top: auto;
  padding-top: 0.25rem;
}

/* Price Area */
.pricing-card-price {
  margin-bottom: 1.75rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--color-gray-200);
}

.pricing-amount {
  font-size: 2.625rem;
  font-weight: 700;
  color: var(--color-black);
  line-height: 1;
  letter-spacing: -0.04em;
}

.pricing-period {
  font-size: 1.125rem;
  font-weight: 400;
  color: var(--color-muted-foreground);
  letter-spacing: 0;
}

.pricing-amount--custom {
  font-size: 1.5rem;
  letter-spacing: -0.025em;
}

.pricing-setup {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-foreground);
  margin-top: 0.5rem;
  line-height: 1.5;
}

/* Description */
.pricing-card-desc {
  font-size: 0.9375rem;
  color: var(--color-muted-foreground);
  line-height: 1.7;
  margin-bottom: 1.75rem;
}

/* Features List – override old .pricing-features styles */
.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 0.6875rem;
  margin-bottom: 1.75rem;
  list-style: none;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--color-black);
  line-height: 1.5;
}

/* Remove old bullet pseudo-element */
.pricing-features li::before {
  content: none;
}

.pricing-features li svg {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  color: var(--color-black);
  margin-top: 0.15rem;
  stroke-width: 2.5;
}

/* Ideal-für Block */
.pricing-ideal {
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--color-muted-foreground);
  background: var(--color-gray-50);
  border-left: 3px solid var(--color-accent);
  padding: 0.875rem 1rem;
  margin-bottom: 2rem;
}

.pricing-ideal strong {
  color: var(--color-black);
}

/* CTA Button – full width, uppercase, slightly larger */
.pricing-cta.btn {
  font-size: 0.875rem;
  padding: 0.9375rem 2rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Legal text */
.pricing-legal {
  font-size: 0.75rem;
  color: var(--color-muted-foreground);
  line-height: 1.65;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--color-gray-100);
}

.pricing-legal a {
  text-decoration: underline;
  color: var(--color-muted-foreground);
  transition: color 0.15s;
}

.pricing-legal a:hover {
  color: var(--color-black);
}


/* ==========================================================================
   Pricing Cards – Desktop Action Block Alignment (WCE-1-pricing-layout-a2)
   Why: Essential's legal note wraps to several lines, Pro's legal is one
   line, and the cards have different content stacks. With the default flow
   the CTA buttons, detail-link triggers and legal notes land on different
   Y lines. A previous attempt flex-grew the middle info-box, which left
   the Pro context box visually empty inside and did not actually align the
   CTAs. This version aligns purely via the action block.

   Strategy (desktop only — mobile keeps its natural single-column flow):
   - The base .pricing-card-actions { margin-top: auto } still pushes the
     action block to the card bottom.
   - The action block becomes a flex column with a min-height that fits
     Essential's wrapped legal at narrow desktop widths, and the legal note
     is pinned to its bottom with margin-top: auto.
   Result: equal action-block height ⇒ CTA buttons share the same Y line,
   detail links sit one fixed gap below, and the legal notes share the card
   bottom. The info-boxes keep their natural heights — any leftover vertical
   space lands as neutral whitespace inside the action block above the
   legal note, never as a stretched colored box.
   ========================================================================== */
@media (min-width: 768px) {
  .pricing-card-actions {
    display: flex;
    flex-direction: column;
    min-height: 16rem;
  }

  .pricing-card-actions > .pricing-legal {
    margin-top: auto;
  }
}


/* ==========================================================================
   5. Paketwahl-Hilfe
   ========================================================================== */

.selector-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 54rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .selector-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

.selector-column {
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  padding: 2.25rem 2rem;
}

.selector-heading {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--color-gray-200);
  line-height: 1.4;
}

.selector-heading--essential {
  border-bottom-color: var(--color-accent);
}

.selector-heading--pro {
  border-bottom-color: var(--color-black);
}

.selector-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  list-style: none;
}

.selector-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: var(--color-black);
  line-height: 1.5;
}

.selector-list li svg {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  color: var(--color-black);
  margin-top: 0.2rem;
  stroke-width: 2.5;
}


/* ==========================================================================
   6. Prozess-Section
   ========================================================================== */

/* Override old .process-steps grid (was 3-col) */
.pricing-process .process-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 72rem;
  margin: 0 auto;
  list-style: none;
  counter-reset: none;
}

@media (min-width: 640px) {
  .pricing-process .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .pricing-process .process-steps {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Override old yellow .process-step */
.pricing-process .process-step {
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  padding: 2rem 1.75rem 1.875rem;
  display: flex;
  flex-direction: column;
  gap: 0;
  /* Reset old accent-background styles */
  color: var(--color-black);
}

.process-step-number {
  font-size: 3.75rem;
  font-weight: 700;
  line-height: 1;
  color: var(--color-accent);
  letter-spacing: -0.04em;
  font-family: var(--font-heading);
  margin-bottom: 1.25rem;
  /* Yellow on white is legible but subtle – marks the step visually */
  -webkit-text-stroke: 1px var(--color-black);
}

.process-step-content h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 0.625rem;
  line-height: 1.3;
  /* Remove old .process-step h3 sizing via specificity */
}

.process-step-content p {
  font-size: 0.875rem;
  color: var(--color-muted-foreground);
  line-height: 1.65;
  margin: 0;
}


/* ==========================================================================
   7. Trust-Section
   ========================================================================== */

.trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  max-width: 72rem;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .trust-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.trust-item {
  background: var(--color-white);
  border: 1px solid var(--color-gray-100);
  padding: 2rem 1.75rem;
  transition: border-color 0.2s;
}

.trust-item:hover {
  border-color: var(--color-accent);
}

/* Icon wrapper – accent background block */
.trust-item > svg {
  display: block;
  width: 28px;
  height: 28px;
  color: var(--color-black);
  padding: 0.5rem;
  background: rgba(255, 249, 50, 0.4);
  box-sizing: content-box;
  margin-bottom: 1.375rem;
}

.trust-item h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 0.5625rem;
  line-height: 1.3;
}

.trust-item p {
  font-size: 0.875rem;
  color: var(--color-muted-foreground);
  line-height: 1.65;
}


/* ==========================================================================
   8. FAQ – details/summary Accordion
   ========================================================================== */

.pricing-faq .section-header {
  margin-bottom: 3rem;
}

.faq-list {
  max-width: 46rem;
  margin: 0 auto;
}

/* Each question as a <details> element */
.faq-item {
  border-bottom: 1px solid var(--color-gray-200);
}

.faq-item:first-child {
  border-top: 1px solid var(--color-gray-200);
}

.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding: 1.375rem 0;
  font-weight: 700;
  font-size: 0.9375rem;
  line-height: 1.45;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-heading);
  color: var(--color-black);
  transition: color 0.15s;
  user-select: none;
}

/* Remove native marker */
.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::marker {
  content: none;
}

/* Plus/minus indicator */
.faq-item summary::after {
  content: '+';
  font-size: 1.375rem;
  font-weight: 300;
  flex-shrink: 0;
  color: var(--color-muted-foreground);
  line-height: 1;
  font-family: Georgia, serif;
  transition: color 0.15s;
  min-width: 1rem;
  text-align: center;
}

.faq-item[open] summary::after {
  content: '\2212'; /* minus sign */
  color: var(--color-black);
}

.faq-item[open] summary {
  color: var(--color-black);
}

/* Answer */
.faq-answer {
  padding-bottom: 1.5rem;
  font-size: 0.9375rem;
  color: var(--color-muted-foreground);
  line-height: 1.8;
}


/* ==========================================================================
   9. Final CTA
   ========================================================================== */

/* Override the .section padding for the CTA – needs more impact */
.pricing-final-cta.section {
  padding-top: 8rem;
  padding-bottom: 8rem;
}

.final-cta-inner {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto;
}

.final-cta-inner h2 {
  font-size: 2.25rem;
  color: var(--color-white);
  margin-bottom: 1rem;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

@media (min-width: 768px) {
  .final-cta-inner h2 {
    font-size: 3rem;
  }
}

.final-cta-inner p {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
}

.final-cta-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.875rem;
  margin-top: 2.75rem;
}

@media (min-width: 480px) {
  .final-cta-buttons {
    flex-direction: row;
    justify-content: center;
  }
}

.final-cta-buttons .btn {
  min-width: 12rem;
}

/* Essential CTA on black background */
.pricing-final-cta .btn-accent {
  background: var(--color-accent);
  color: var(--color-black);
  border-color: transparent;
}

.pricing-final-cta .btn-accent:hover {
  background: var(--color-accent-hover);
  border-color: var(--color-black);
}

/* Pro CTA: ghost button on dark */
.pricing-final-cta .btn-black {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.35);
}

.pricing-final-cta .btn-black:hover {
  background: var(--color-white);
  color: var(--color-black);
  border-color: var(--color-white);
}


/* ==========================================================================
   Essential – Voraussetzungs-Block (Pre-Checkout)
   Card-native prereq hint with standalone modal-trigger CTA.
   ========================================================================== */

.onlinery-prereq-block {
  background: var(--color-gray-50);
  border: 1px solid var(--color-gray-200);
  border-left: 3px solid var(--color-black);
  padding: 1.25rem 1.25rem 1rem;
  margin-bottom: 1.5rem;
}

.onlinery-prereq-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-black);
  margin: 0 0 0.625rem;
  line-height: 1.4;
}

.onlinery-prereq-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  list-style: none;
  margin: 0 0 0.875rem;
  padding: 0;
}

.onlinery-prereq-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--color-black);
  line-height: 1.5;
}

.onlinery-prereq-list li svg {
  flex-shrink: 0;
  width: 13px;
  height: 13px;
  color: var(--color-black);
  margin-top: 0.19rem;
  stroke-width: 2.5;
}

.onlinery-prereq-secondary {
  font-size: 0.8125rem;
  color: var(--color-muted-foreground);
  line-height: 1.6;
  margin: 0 0 0.75rem;
}

/* Tertiary link – opens the enquiry modal.
   Deliberately understated so it doesn't compete with the primary CTA. */
.onlinery-prereq-cta {
  display: inline;
  background: none;
  border: none;
  padding: 0;
  font-size: 0.8125rem;
  font-family: inherit;
  font-weight: 400;
  color: var(--color-muted-foreground);
  text-decoration: underline;
  text-underline-offset: 0.18em;
  cursor: pointer;
  letter-spacing: normal;
  transition: color 0.15s;
}

.onlinery-prereq-cta:hover {
  color: var(--color-black);
  background: none;
}

/* ==========================================================================
   Pro – Kontextblock (Geeignet für komplexere Setups)
   Parallel structure to Essential prereq block, accent-bordered.
   ========================================================================== */

.onlinery-pro-context-block {
  background: var(--color-gray-50);
  border: 1px solid var(--color-gray-200);
  border-left: 3px solid var(--color-accent);
  padding: 1.25rem 1.25rem 1rem;
  margin-bottom: 1.5rem;
}

.onlinery-pro-context-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-black);
  margin: 0 0 0.625rem;
  line-height: 1.4;
}

.onlinery-pro-context-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.onlinery-pro-context-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--color-black);
  line-height: 1.5;
}

.onlinery-pro-context-list li svg {
  flex-shrink: 0;
  width: 13px;
  height: 13px;
  color: var(--color-black);
  margin-top: 0.19rem;
  stroke-width: 2.5;
}


/* ==========================================================================
   Essential Details Modal – Trigger-Button
   Sekundärer CTA innerhalb der Essential-Karte.
   Visuell deutlich unterhalb des primären „Jetzt buchen"-Button.
   ========================================================================== */

.essential-details-trigger {
  display: block;
  width: 100%;
  margin-top: 0.75rem;
  background: none;
  border: none;
  padding: 0.375rem 0;
  font-size: 0.8125rem;
  font-family: inherit;
  font-weight: 500;
  color: var(--color-muted-foreground);
  text-align: center;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(0, 0, 0, 0.25);
  transition: color 0.15s, text-decoration-color 0.15s;
}

.essential-details-trigger:hover {
  color: var(--color-black);
  text-decoration-color: var(--color-black);
}


/* ==========================================================================
   Essential Details Modal – Overlay & Box
   Paralleles Muster zum .anfrage-modal – eigene ID/Klassen, kein Konflikt.
   ========================================================================== */

.essential-details-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9000;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.essential-details-modal.is-open {
  display: flex;
}

.essential-details-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(2px);
}

.essential-details-box {
  position: relative;
  background: var(--color-white);
  border: 2px solid var(--color-black);
  box-shadow: var(--shadow-brutalist);
  width: 100%;
  max-width: 40rem;
  max-height: 90vh;
  overflow-y: auto;
  z-index: 1;
}

/* Close button */
.essential-details-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
  color: var(--color-black);
  line-height: 1;
  z-index: 2;
}

.essential-details-close:hover {
  color: var(--color-accent-hover);
}

/* Header */
.essential-details-header {
  padding: 1.75rem 2rem 1.5rem;
  background: var(--color-accent);
  border-bottom: 2px solid var(--color-black);
}

.essential-details-badge {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.2rem 0.5rem;
  margin-bottom: 0.75rem;
  background: var(--color-black);
  color: var(--color-white);
}

.essential-details-header h2 {
  font-size: 1.5rem;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 0.375rem;
}

.essential-details-header p {
  font-size: 0.875rem;
  color: rgba(0, 0, 0, 0.6);
  margin: 0;
  line-height: 1.5;
}

/* Body – scrollable content area */
.essential-details-body {
  padding: 0 2rem;
}

/* Individual sections */
.edm-section {
  padding: 1.375rem 0;
  border-bottom: 1px solid var(--color-gray-100);
}

.edm-section:last-child {
  border-bottom: none;
}

/* Alternate section (Wann Pro) */
.edm-section--alt {
  background: none;
}

.edm-section--alt .edm-section-title {
  color: var(--color-muted-foreground);
}

.edm-section-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-black);
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.edm-section-text {
  font-size: 0.9375rem;
  color: var(--color-muted-foreground);
  line-height: 1.7;
  margin: 0;
}

/* Lists */
.edm-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.edm-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--color-black);
}

/* Yes-list: green-tinted check icon via ::before */
.edm-list--yes li::before {
  content: '✓';
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-black);
  background: rgba(255, 249, 50, 0.55);
  min-width: 1.125rem;
  height: 1.125rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

/* No-list: strikethrough / muted */
.edm-list--no li {
  color: var(--color-muted-foreground);
}

.edm-list--no li::before {
  content: '×';
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-muted-foreground);
  min-width: 1.125rem;
  height: 1.125rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

/* Arrow-list: neutral arrows for "wann Pro" */
.edm-list--arrow li {
  color: var(--color-muted-foreground);
}

.edm-list--arrow li::before {
  content: '→';
  font-size: 0.8125rem;
  color: var(--color-black);
  min-width: 1.125rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

/* Steps (Ablauf) */
.edm-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  counter-reset: edm-step;
}

.edm-steps li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--color-black);
  counter-increment: edm-step;
}

.edm-steps li::before {
  content: counter(edm-step);
  font-size: 0.6875rem;
  font-weight: 700;
  background: var(--color-black);
  color: var(--color-white);
  min-width: 1.375rem;
  height: 1.375rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.075rem;
}

.edm-steps li strong {
  font-weight: 700;
}

/* CTAs at bottom */
.essential-details-actions {
  padding: 1.5rem 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* Ghost button variant (used for secondary CTA in details modal) */
.essential-details-actions .btn-ghost {
  background: none;
  border: 1px solid var(--color-black);
  color: var(--color-black);
  font-size: 0.875rem;
  padding: 0.8125rem 2rem;
  letter-spacing: 0.04em;
  transition: background 0.15s, color 0.15s;
  cursor: pointer;
  font-family: inherit;
  font-weight: 700;
  text-align: center;
}

.essential-details-actions .btn-ghost:hover {
  background: var(--color-black);
  color: var(--color-white);
}

/* Price note */
.essential-details-price-note {
  font-size: 0.75rem;
  color: var(--color-muted-foreground);
  text-align: center;
  padding: 1rem 2rem 1.5rem;
  margin: 0;
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 640px) {
  .essential-details-box {
    max-height: 95vh;
  }

  .essential-details-header,
  .essential-details-body,
  .essential-details-actions,
  .essential-details-price-note {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
}


/* ==========================================================================
   Pro Details Modal – Trigger-Button
   Sekundärer CTA innerhalb der Pro-Karte.
   Visuell analog zum .essential-details-trigger, weiße Variante (Pro: schwarzer Header).
   ========================================================================== */

.pro-details-trigger {
  display: block;
  width: 100%;
  margin-top: 0.75rem;
  background: none;
  border: none;
  padding: 0.375rem 0;
  font-size: 0.8125rem;
  font-family: inherit;
  font-weight: 500;
  color: var(--color-muted-foreground);
  text-align: center;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(0, 0, 0, 0.25);
  transition: color 0.15s, text-decoration-color 0.15s;
}

.pro-details-trigger:hover {
  color: var(--color-black);
  text-decoration-color: var(--color-black);
}


/* ==========================================================================
   Pro Details Modal – Overlay & Box
   Paralleles Muster zum Essential Details Modal – eigene ID/Klassen, kein Konflikt.
   Unterschied: schwarzer Header statt gelbem.
   ========================================================================== */

.pro-details-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9000;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.pro-details-modal.is-open {
  display: flex;
}

.pro-details-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(2px);
}

.pro-details-box {
  position: relative;
  background: var(--color-white);
  border: 2px solid var(--color-black);
  box-shadow: var(--shadow-brutalist);
  width: 100%;
  max-width: 40rem;
  max-height: 90vh;
  overflow-y: auto;
  z-index: 1;
}

/* Close button */
.pro-details-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
  color: var(--color-white);
  line-height: 1;
  z-index: 2;
}

.pro-details-close:hover {
  color: var(--color-accent);
}

/* Header – schwarz, analog zur Pro-Karte */
.pro-details-header {
  padding: 1.75rem 2rem 1.5rem;
  background: var(--color-black);
  border-bottom: 2px solid var(--color-black);
}

.pro-details-badge {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.2rem 0.5rem;
  margin-bottom: 0.75rem;
  background: var(--color-accent);
  color: var(--color-black);
}

.pro-details-header h2 {
  font-size: 1.5rem;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 0.375rem;
  color: var(--color-white);
}

.pro-details-header p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
  line-height: 1.5;
}

/* Body – identische Struktur wie Essential */
.pro-details-body {
  padding: 0 2rem;
}

/* CTAs am Ende */
.pro-details-actions {
  padding: 1.5rem 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* Price note */
.pro-details-price-note {
  font-size: 0.75rem;
  color: var(--color-muted-foreground);
  text-align: center;
  padding: 1rem 2rem 1.5rem;
  margin: 0;
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 640px) {
  .pro-details-box {
    max-height: 95vh;
  }

  .pro-details-header,
  .pro-details-body,
  .pro-details-actions,
  .pro-details-price-note {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
}


/* ==========================================================================
   Bewertungshinweis-Block (unterhalb Paketkarten)
   Dezenter Kasten, vertrauenswürdig, kein Warncharakter.
   ========================================================================== */

.pricing-eval-note-section {
  padding-top: 0;
  padding-bottom: 0;
}

/* Direkter Übergang von der Pricing-Section (section-gray) zu section-white:
   Etwas weniger vertikalen Abstand, damit der Hinweis eng angebunden wirkt. */
.pricing-cards-section + .pricing-eval-note-section {
  padding-top: 0;
}

.pricing-eval-note {
  border: 1px solid var(--color-gray-100);
  background: var(--color-white);
  padding: 1.5rem 2rem;
  max-width: 42rem;
  margin: 0 auto;
  position: relative;
}

.eval-note-eyebrow {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-muted-foreground);
  margin-bottom: 0.375rem;
  line-height: 1.4;
}

.eval-note-title {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.625rem;
  line-height: 1.25;
}

.eval-note-text {
  font-size: 0.9375rem;
  color: var(--color-muted-foreground);
  line-height: 1.65;
  margin-bottom: 0.875rem;
}

/* Modal-Trigger – inline textlicher Link, kein Button-Look */
.eval-modal-trigger {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-black);
  text-decoration: underline;
  text-underline-offset: 3px;
  line-height: 1.4;
}

.eval-modal-trigger:hover {
  color: var(--color-accent-hover);
}

@media (max-width: 640px) {
  .pricing-eval-note {
    padding: 1.25rem 1.25rem;
  }
}


/* ==========================================================================
   Eval Modal – Bewertungsdauer Google Ads (Vertiefung)
   Strukturell identisch zum .essential-details-modal, eigene Klassen/IDs.
   ========================================================================== */

.eval-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9000;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.eval-modal.is-open {
  display: flex;
}

.eval-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(2px);
}

.eval-modal-box {
  position: relative;
  background: var(--color-white);
  border: 2px solid var(--color-black);
  box-shadow: var(--shadow-brutalist);
  width: 100%;
  max-width: 40rem;
  max-height: 90vh;
  overflow-y: auto;
  z-index: 1;
}

/* Close button */
.eval-modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
  color: var(--color-black);
  line-height: 1;
  z-index: 2;
}

.eval-modal-close:hover {
  color: var(--color-accent-hover);
}

/* Header */
.eval-modal-header {
  padding: 1.75rem 2rem 1.5rem;
  border-bottom: 2px solid var(--color-black);
}

.eval-modal-header h2 {
  font-size: 1.375rem;
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin-bottom: 0.75rem;
}

.eval-modal-header p {
  font-size: 0.9375rem;
  color: var(--color-muted-foreground);
  margin: 0;
  line-height: 1.6;
}

/* Body */
.eval-modal-body {
  padding: 0 2rem;
}

/* Sections */
.eval-modal-section {
  padding: 1.375rem 0;
  border-bottom: 1px solid var(--color-gray-100);
}

.eval-modal-section:last-child {
  border-bottom: none;
}

.eval-modal-section--outro {
  background: none;
}

.eval-modal-section-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-black);
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.eval-modal-section-text {
  font-size: 0.9375rem;
  color: var(--color-muted-foreground);
  line-height: 1.65;
  margin: 0;
}

/* Bullet-Liste */
.eval-modal-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.eval-modal-list li {
  font-size: 0.9375rem;
  color: var(--color-muted-foreground);
  line-height: 1.55;
  padding-left: 1.25rem;
  position: relative;
}

.eval-modal-list li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--color-muted-foreground);
}

/* Outro */
.eval-modal-outro {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-black);
  line-height: 1.6;
  margin: 0;
}

/* Responsive */
@media (max-width: 640px) {
  .eval-modal-box {
    max-height: 95vh;
  }

  .eval-modal-header,
  .eval-modal-body {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
}
