/* Umsatz-Bausteine: Weiter-Karte auf der Ergebnisseite, Eltern-Link, Beispiel, Gespraechsblatt, Schulen-Seite.
   Baut auf den Farben von zukunft.css (--zk-*) auf; Rueckfallwerte, falls die Optik aus ist. */

.res-nextstep {
  display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center;
  margin: 0 0 18px; padding: 18px 20px; border-radius: 16px;
  background: var(--zk-glass, rgba(13, 19, 34, .74)); border: 1px solid var(--zk-line-strong, rgba(164, 146, 255, .34));
}
.res-nextstep-text { flex: 1 1 260px; min-width: 0; }
.res-nextstep-text strong { display: block; font-size: 1.12rem; color: var(--zk-text, #e9edf9); margin-bottom: 4px; }
.res-nextstep-text p, .res-nextstep-parent { margin: 0; color: var(--zk-muted, #aab4cf); font-size: .95rem; }
.res-nextstep-actions { display: flex; flex-wrap: wrap; gap: 10px; flex: 0 1 auto; }
.res-nextstep-parent { flex: 1 1 100%; }
.res-nextstep-parent a { font-weight: 600; }

.upgrade-parent { margin: 14px 0 6px; padding: 14px; border-radius: 14px; border: 1px dashed var(--zk-line-strong, rgba(164, 146, 255, .34)); }
.upgrade-parent .form-control { margin: 8px 0; }
.upgrade-parent-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0; }
.upgrade-more summary { cursor: pointer; margin: 6px 0 10px; color: var(--zk-cyan, #69e1f5); font-weight: 600; }
.upgrade-sample { margin: 6px 0 12px; }

/* Beispielauswertung und Gespraechsblatt */
.bsp-wrap, .gb-wrap { max-width: 880px; margin: 0 auto; }
.bsp-badge { display: inline-block; padding: 4px 10px; border-radius: 999px; background: rgba(245, 196, 81, .14); color: var(--zk-amber, #f5c451); font-weight: 600; font-size: .85rem; }
.bsp-list { list-style: none; margin: 14px 0; padding: 0; display: grid; gap: 10px; }
.bsp-list li { display: grid; grid-template-columns: 34px 1fr auto; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 12px; background: var(--zk-surface-2, #121b2d); border: 1px solid var(--zk-line, rgba(255, 255, 255, .1)); }
.bsp-rank { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; background: var(--zk-grad, linear-gradient(105deg, #a492ff, #69e1f5)); color: #04070e; }
.bsp-score { font-weight: 700; color: var(--zk-mint, #9af5d4); }
.bsp-cta { margin: 22px 0; display: flex; flex-wrap: wrap; gap: 10px; }
.gb-section { margin: 0 0 22px; padding: 16px 18px; border-radius: 14px; background: var(--zk-glass, rgba(13, 19, 34, .74)); border: 1px solid var(--zk-line, rgba(255, 255, 255, .1)); }
.gb-section h2 { margin-top: 0; font-size: 1.15rem; }
.gb-section ul, .gb-section ol { margin: 8px 0 0; padding-left: 20px; }
.gb-section li { margin: 6px 0; }
.gb-write { border-bottom: 1px solid var(--zk-line, rgba(255, 255, 255, .25)); min-height: 1.8em; margin: 6px 0; }
.gb-cols { display: grid; gap: 14px; }
@media (min-width: 720px) { .gb-cols { grid-template-columns: repeat(3, 1fr); } }
@media print {
  body { background: #fff !important; color: #000 !important; }
  .gb-section { background: #fff !important; border-color: #999 !important; box-shadow: none !important; }
  .gb-section *, .gb-wrap * { color: #000 !important; }
  .zk-netz, .zk-pause, header, footer, .no-print { display: none !important; }
}

/* Schulen und Anbieter */
.sch-pakete { display: grid; gap: 14px; margin: 18px 0; }
@media (min-width: 760px) { .sch-pakete { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .sch-pakete { grid-template-columns: repeat(4, 1fr); } }
.sch-paket { padding: 18px; border-radius: 16px; background: var(--zk-glass, rgba(13, 19, 34, .74)); border: 1px solid var(--zk-line, rgba(255, 255, 255, .1)); }
.sch-paket h3 { margin: 0 0 6px; }
.sch-preis { font-size: 1.7rem; font-weight: 700; color: var(--zk-text, #e9edf9); }
.sch-preis small { font-size: .85rem; font-weight: 400; color: var(--zk-muted, #aab4cf); }
.sch-paket ul { padding-left: 18px; margin: 10px 0 0; color: var(--zk-muted, #aab4cf); }
.sch-form { display: grid; gap: 12px; max-width: 620px; }
.sch-form label { display: grid; gap: 4px; font-weight: 600; }
.sch-form .hp { position: absolute; left: -9999px; }

/* Admin: Trichter */
.fn-tab { width: 100%; border-collapse: collapse; margin: 10px 0 24px; }
.fn-tab th, .fn-tab td { padding: 8px 10px; border-bottom: 1px solid #e2e8f0; text-align: right; }
.fn-tab th:first-child, .fn-tab td:first-child { text-align: left; }
.fn-bar { display: inline-block; height: 8px; background: #6550db; border-radius: 4px; vertical-align: middle; }

.bw-vorlage { white-space: pre-wrap; word-break: break-word; font-family: inherit; font-size: .95rem; line-height: 1.55; margin: 8px 0 0; padding: 14px 16px; border: 1px dashed var(--zk-line-strong, rgba(164, 146, 255, .34)); border-radius: 10px; background: rgba(255, 255, 255, .03); }
.bw-liste { list-style: none; padding-left: 0; }
.upgrade-parent-mail { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--zk-line, rgba(255, 255, 255, .15)); }
.upgrade-parent-mail label { display: block; margin-bottom: 6px; font-weight: 600; }

/* Frage «Was haelt dich ab?» auf der Gratis-Auswertung */
.exit-frage { margin: 22px 0; padding: 16px 18px; border-radius: 14px; background: var(--zk-glass, rgba(13, 19, 34, .74)); border: 1px solid var(--zk-line, rgba(255, 255, 255, .1)); }
.exit-frage p { margin: 4px 0 12px; color: var(--zk-muted, #aab4cf); }
.exit-frage-liste { display: flex; flex-wrap: wrap; gap: 8px; }
.exit-frage-danke { margin: 0; font-weight: 600; }

/* Kaufseite: Nutzen vor dem Preis, Gutschein entfernen als Formular, Eltern-Einstieg */
.upgrade-preview { margin: 6px 0 14px; font-weight: 600; line-height: 1.5; }
.upgrade-inline-form { display: inline; margin: 0; }
.upgrade-link-btn { background: none; border: 0; padding: 0 4px; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; }
.upgrade-parent-lead { margin: 0 0 8px; }

/* Feste Kaufleiste im Ergebnis (nur ohne Pro); verschwindet, solange die Weiter-Karte sichtbar ist */
.kaufleiste { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--zk-surface, #14213d); border-top: 1px solid rgba(255,255,255,.15); box-shadow: 0 -4px 16px rgba(0,0,0,.25); }
.kaufleiste[hidden] { display: none; }
.kaufleiste-text { color: var(--zk-text, #fff); font-weight: 600; font-size: .95rem; }
.kaufleiste .btn { white-space: nowrap; }
@media (max-width: 480px) { .kaufleiste { justify-content: space-between; } .kaufleiste-text { flex: 1 1 100%; font-size: .85rem; } .kaufleiste .btn { flex: 1 1 100%; text-align: center; } }
@media print { .kaufleiste { display: none !important; } }
body.hat-kaufleiste { padding-bottom: 128px; }
@media print { body.hat-kaufleiste { padding-bottom: 0; } }

/* Preisseite: Gratis und Pro nebeneinander, Vergleichstabelle */
.pr-plans { display: grid; gap: 14px; margin: 18px 0; }
@media (min-width: 760px) { .pr-plans { grid-template-columns: repeat(2, 1fr); } }
.pr-pro { border-color: var(--zk-line-strong, rgba(164, 146, 255, .34)); }
.pr-tab { width: 100%; border-collapse: collapse; margin: 10px 0 0; }
.pr-tab th, .pr-tab td { padding: 8px 10px; border-bottom: 1px solid var(--zk-line, rgba(255, 255, 255, .12)); text-align: left; vertical-align: top; }
.pr-tab thead th { font-size: .9rem; color: var(--zk-muted, #aab4cf); }
.pr-tab tbody th { font-weight: 400; }
.pr-tab td { white-space: nowrap; }
.gb-section h3 { font-size: 1.02rem; margin: 14px 0 4px; }
@media print { .pr-tab th, .pr-tab td { border-color: #999 !important; } }
.pr-alt { color: var(--zk-muted, #aab4cf); font-size: .62em; font-weight: 400; margin-right: 6px; text-decoration: line-through; }
