/* Engpassanalyse: Angebots- und Landingpage. Ergänzt style.css, nutzt dessen Tokens. */

/* ---- Stufenband unter dem Hero ---- */
.ea-stufen-band { padding: 0 0 clamp(2rem, 5vw, 3.5rem); }
.ea-stufen { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; counter-reset: stufe; }
.ea-stufen li { padding: 1rem 1.15rem; border-top: 2px solid var(--accent); background: var(--surface); border-radius: 0 0 var(--radius-sm) var(--radius-sm); display: flex; flex-direction: column; gap: 0.15rem; }
.ea-stufen li:nth-child(2) { border-top-color: var(--accent-2); }
.ea-stufen li:nth-child(3) { border-top-color: var(--ink); }
.ea-stufe-verb { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); }
.ea-stufen li > span:last-child { color: var(--muted); font-size: 0.93rem; }
@media (max-width: 720px) { .ea-stufen { grid-template-columns: 1fr; } }

.ea-prob-fazit { margin-top: 1.6rem; max-width: 62ch; color: var(--ink-soft); font-size: 1.02rem; }
.hero-note a { color: inherit; text-underline-offset: 2px; }

/* ---- Ablauf mit fünf und vier Schritten ---- */
.steps-grid.ea-fuenf { grid-template-columns: repeat(5, 1fr); gap: 1.4rem; }
.steps-grid.ea-vier { grid-template-columns: repeat(4, 1fr); gap: 1.6rem; }
@media (max-width: 980px) { .steps-grid.ea-fuenf { grid-template-columns: repeat(3, 1fr); } .steps-grid.ea-vier { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .steps-grid.ea-fuenf, .steps-grid.ea-vier { grid-template-columns: 1fr; gap: 1.5rem; } }

/* ---- Angebote ---- */
.ea-angebote { background: var(--bg-2); }
.pricing-grid.ea-drei { grid-template-columns: repeat(3, 1fr); align-items: stretch; gap: 1.4rem; }
@media (max-width: 1020px) { .pricing-grid.ea-drei { grid-template-columns: 1fr; max-width: 560px; } }
.ea-plan { position: relative; display: flex; flex-direction: column; }
.ea-plan .btn { margin-top: auto; }
.ea-plan ul { margin-bottom: 1.5rem; }
.ea-verb { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.5rem; }
.ea-plan.hot { border-width: 2px; }
.ea-plan.hot .ea-verb { color: var(--accent-2-hover); }
.ea-badge { position: absolute; top: -0.75rem; left: 1.75rem; background: var(--accent-2); color: #fff; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; padding: 0.22rem 0.7rem; border-radius: 999px; }
.ea-plan-note { margin: 0.9rem 0 0; font-size: 0.8rem; line-height: 1.5; color: var(--muted); }
.ea-persoenlich { background: linear-gradient(180deg, var(--surface), var(--accent-softer)); border-color: var(--ink); }
.ea-persoenlich .ea-verb { color: var(--ink); }
.ea-bafa-kurz { margin: 0 0 1rem; font-size: 0.93rem; color: var(--ink-soft); line-height: 1.5; }
.ea-bafa-kurz strong { color: var(--accent-hover); }

/* ---- Digitale Analyse ---- */
.ea-analyse-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
@media (max-width: 900px) { .ea-analyse-grid { grid-template-columns: 1fr; } }
.ea-analyse-punkte { display: grid; gap: 1.5rem; }
.ea-analyse-punkte h3 { font-size: 1.05rem; margin: 0 0 0.3rem; }
.ea-analyse-punkte p { margin: 0; color: var(--muted); font-size: 0.98rem; }
.ea-beispiele { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; display: grid; gap: 1rem; }
.ea-beispiele-titel { margin: 0; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.ea-beispiele blockquote { margin: 0; padding: 0 0 0 1rem; border-left: 3px solid var(--accent-soft); font-size: 0.96rem; line-height: 1.55; color: var(--ink-soft); }
.ea-beispiele-hinweis { margin: 0; font-size: 0.78rem; color: var(--muted); }
.ea-tiefen { list-style: none; margin: 2.2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem 1.5rem; }
.ea-tiefen li { padding: 0.7rem 0; border-top: 1px solid var(--line-2); display: flex; flex-direction: column; gap: 0.1rem; font-size: 0.9rem; color: var(--muted); }
.ea-tiefen strong { color: var(--ink); font-size: 0.96rem; }
@media (max-width: 800px) { .ea-tiefen { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .ea-tiefen { grid-template-columns: 1fr; } }

/* ---- Sparring ---- */
.ea-sparring { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ea-selbst-gemeinsam { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin-bottom: 2.4rem; }
@media (max-width: 720px) { .ea-selbst-gemeinsam { grid-template-columns: 1fr; } }
.ea-selbst-gemeinsam > div { padding: 1.4rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); }
.ea-selbst-gemeinsam h3 { margin: 0.3rem 0 0.4rem; font-size: 1.2rem; }
.ea-selbst-gemeinsam p { margin: 0; color: var(--muted); }
.ea-selbst-gemeinsam .tier { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: var(--muted); }
.ea-persoenlich-box { border-color: var(--ink) !important; background: var(--accent-softer) !important; }
.ea-realitaet { max-width: 68ch; margin: 0 0 2.6rem; padding: 1.5rem 1.6rem; border-left: 4px solid var(--accent); background: var(--accent-softer); border-radius: 0 var(--radius) var(--radius) 0; }
.ea-realitaet h3 { margin: 0 0 0.6rem; font-size: 1.35rem; }
.ea-realitaet p { margin: 0 0 0.8rem; color: var(--ink-soft); }
.ea-realitaet p:last-child { margin-bottom: 0; }
.ea-sub { font-size: 1.25rem; margin: 0 0 1.4rem; }

/* ---- Förderung ---- */
.ea-foerderung { padding-bottom: clamp(2rem, 5vw, 3.5rem); }
.ea-foerder-box { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; padding: clamp(1.5rem, 4vw, 2.5rem); border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
@media (max-width: 860px) { .ea-foerder-box { grid-template-columns: 1fr; } }
.ea-foerder-box h2 { font-size: clamp(1.4rem, 3vw, 1.85rem); margin: 0 0 0.9rem; }
.ea-foerder-box p { color: var(--ink-soft); }
.ea-foerder-rechnung { display: grid; gap: 0.8rem; }
.ea-foerder-rechnung > div { padding: 1.1rem 1.2rem; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--bg); display: flex; flex-direction: column; gap: 0.15rem; }
.ea-foerder-rechnung > div:first-child strong { font-size: 1.6rem; letter-spacing: -0.02em; }
.ea-foerder-rechnung > div:last-child { background: var(--accent-softer); border-color: var(--accent-soft); }
.ea-foerder-rechnung > div:last-child strong { font-size: 1.15rem; color: var(--accent-hover); }
.ea-foerder-rechnung span { font-size: 0.85rem; color: var(--muted); }
.ea-jahresende { display: flex; gap: 0.7rem; align-items: flex-start; margin: 1.2rem 0 1.2rem; padding: 0.85rem 1rem; background: var(--accent-3-soft); border-radius: var(--radius-sm); font-size: 0.95rem; line-height: 1.55; color: var(--ink); }
.ea-jahresende-punkt { flex: none; width: 0.6rem; height: 0.6rem; border-radius: 50%; background: var(--accent-3); margin-top: 0.5rem; }
.ea-foerder-cta { margin-top: 0.4rem; }

/* ---- Vergleich ---- */
.ea-tabelle-wrap { overflow-x: auto; }
.ea-tabelle { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 0.95rem; min-width: 640px; }
.ea-tabelle th, .ea-tabelle td { padding: 0.8rem 1rem; text-align: center; border-bottom: 1px solid var(--line); background: var(--surface); }
.ea-tabelle thead th { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.04em; color: var(--ink); background: var(--bg-2); border-bottom: 2px solid var(--line-2); }
.ea-tabelle tbody th { text-align: left; font-weight: 500; color: var(--ink-soft); }
.ea-tabelle .hot { background: var(--accent-2-softer); }
.ea-tabelle thead th.hot { background: var(--accent-2-soft); color: var(--accent-2-hover); }
.ea-tabelle tr.preis th, .ea-tabelle tr.preis td { font-weight: 700; font-size: 1.05rem; color: var(--ink); }
.ea-tabelle .ja { color: var(--accent); font-weight: 700; }
.ea-tabelle .nein { color: var(--line-2); font-weight: 700; }
.ea-tabelle tbody tr:last-child th, .ea-tabelle tbody tr:last-child td { border-bottom: 0; }
.ea-vergleich-karten { display: none; }
@media (max-width: 760px) {
  .ea-tabelle-wrap { display: none; }
  .ea-vergleich-karten { display: grid; gap: 1rem; }
  .ea-vk { padding: 1.3rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
  .ea-vk.hot { border: 2px solid var(--accent-2); }
  .ea-vk h3 { margin: 0 0 0.2rem; font-size: 1.1rem; }
  .ea-vk-preis { margin: 0 0 0.9rem; font-size: 1.6rem; font-weight: 700; letter-spacing: -0.02em; }
  .ea-vk-preis small { font-size: 0.85rem; font-weight: 500; color: var(--muted); }
  .ea-vk ul { list-style: none; margin: 0 0 1.2rem; padding: 0; display: grid; gap: 0.5rem; }
  .ea-vk li { padding-left: 1.5rem; position: relative; color: var(--ink-soft); font-size: 0.95rem; }
  .ea-vk li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
  .ea-vk .btn { width: 100%; }
}

/* ---- Abschluss ---- */
.ea-cta-reihe { display: flex; flex-wrap: wrap; gap: 0.9rem 1.2rem; align-items: center; justify-content: center; }
.btn.on-dark.ghost-dark { background: transparent; border: 1px solid rgba(255, 255, 255, 0.45); color: #fff; }
.btn.on-dark.ghost-dark:hover { background: rgba(255, 255, 255, 0.1); }
.ea-cta-link { color: #fff; text-underline-offset: 3px; font-weight: 600; }
.ea-kontakt { margin: 1.6rem auto 0 !important; font-size: 0.9rem; color: var(--dark-muted); }
.ea-kontakt a { color: #fff; }

/* Bubble im Sparring-Kasten */
.ea-bafa-bubble { position: absolute; top: -0.6rem; right: -2.4rem; width: 10.5rem; margin: 0; padding: 0.6rem 0.8rem; background: var(--accent-2); border: 0; border-radius: 1.1rem; font-size: 0.8rem; font-weight: 700; line-height: 1.35; color: #fff; text-align: left; box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
.ea-plan .ea-extra { position: relative; }
.ea-persoenlich .ea-bafa-kurz { max-width: calc(100% - 8.8rem); }
@media (max-width: 1020px) { .ea-bafa-bubble { position: static; width: fit-content; max-width: 100%; margin-top: 0.7rem; } .ea-persoenlich .ea-bafa-kurz { max-width: none; } }
.ea-bafa-kurz { margin-bottom: 0; }

/* Preise und Checklisten laufen über alle drei Kästen auf gleicher Höhe */
@media (min-width: 1021px) {
  .pricing-grid.ea-drei { grid-template-rows: auto auto auto auto auto 1fr auto auto; }
  .pricing-grid.ea-drei .ea-plan { display: grid; grid-row: span 8; grid-template-rows: subgrid; row-gap: 0; align-content: start; }
  .ea-plan .ea-verb { grid-row: 1; }
  .ea-plan .tier { grid-row: 2; }
  .ea-plan .price { grid-row: 3; }
  .ea-plan .price-sub { grid-row: 4; }
  .ea-plan .ea-extra { grid-row: 5; margin-bottom: 1.1rem; }
  .ea-plan ul { grid-row: 6; align-content: start; }
  .ea-plan .btn { grid-row: 7; align-self: end; margin-top: 0; }
  .ea-plan .ea-plan-note { grid-row: 8; }
}
