/* Kesru, Einrichtung im Kasten (09.10.2026): links Stimme und Etappen, rechts immer genau eine Frage. Baut auf kopf.css und einstieg.css auf. */
/* ---------- Einrichtung im selben Kasten: links Stimme und Etappen, rechts immer nur eine Frage ---------- */

.kv-setup { display: grid; grid-template-columns: minmax(220px, .62fr) minmax(0, 1.38fr); gap: clamp(28px, 4vw, 64px); min-height: 470px; animation: einstieg-rein .42s ease both; }
.kv-setup[hidden] { display: none; }
.kv-schiene { display: flex; flex-direction: column; gap: 26px; padding: 6px clamp(20px, 3vw, 44px) 6px 4px; border-right: 1px solid rgba(255, 255, 255, .07); }
.kv-schiene-stimme { display: flex; align-items: center; gap: 14px; }
.kv-schiene-stimme .kv-mini-kugel { width: 64px; height: 64px; flex: none; }
.kv-schiene-stimme .kv-name { font-size: 1.5rem; font-weight: 740; letter-spacing: -.03em; line-height: 1.1; }
.kv-schiene-stimme .kv-charakter { margin-top: 2px; color: var(--kv-leise); font-size: .88rem; }
.kv-etappen { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; counter-reset: etappe; }
.kv-etappen li { position: relative; display: flex; align-items: center; gap: 12px; min-height: 40px; color: #7F8BA3; font-size: .95rem; font-weight: 560; }
.kv-etappen li:not(:last-child)::after { content: ""; position: absolute; left: 11px; top: 32px; width: 2px; height: 16px; border-radius: 2px; background: rgba(255, 255, 255, .08); }
.kv-etappen i { position: relative; display: grid; place-items: center; width: 24px; height: 24px; flex: none; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .18); }
.kv-etappen li[data-stand="jetzt"] { color: #fff; }
.kv-etappen li[data-stand="jetzt"] i { border-color: var(--kv-signal); box-shadow: 0 0 0 5px rgba(61, 220, 132, .14); }
.kv-etappen li[data-stand="jetzt"] i::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--kv-signal); }
.kv-etappen li[data-stand="fertig"] { color: #C9D1E0; }
.kv-etappen li[data-stand="fertig"] i { border-color: transparent;
  background: var(--kv-signal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='m5 9.3 2.6 2.6 5.4-5.6' fill='none' stroke='%230B1220' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }
.kv-etappen li[data-stand="fertig"]:not(:last-child)::after { background: rgba(61, 220, 132, .5); }
.kv-schiene > .einstieg-text { margin-top: auto; align-self: flex-start; }

.kv-schritte { position: relative; display: flex; flex-direction: column; min-width: 0; }
.kv-schritte > .einstieg-balken { max-width: 600px; margin: 4px 0 30px; }
.kv-handykopf { display: none; }
.kv-schritt { animation: einstieg-rein .42s ease both; max-width: 600px; }
.kv-schritt[hidden], .kv-schritt [hidden] { display: none !important; }
.kv-schritt .einstieg-aktionen { margin-top: 26px; padding-top: 0; }

/* Firma: erst liest Clara, dann stehen die Fakten zum Prüfen da */
.kv-lesen { display: grid; justify-items: start; gap: 16px; padding-top: 8px; }
.kv-lesen-kugel { position: relative; width: 92px; height: 92px; }
@media (prefers-reduced-motion: no-preference) { .kv-lesen-kugel { animation: kv-puls 1.6s ease-in-out infinite; } }
@keyframes kv-puls { 50% { transform: scale(1.06); } }
.kv-lesen-liste { display: grid; gap: 10px; margin: 6px 0 0; padding: 0; list-style: none; }
.kv-lesen-liste li { display: flex; align-items: center; gap: 10px; color: #7F8BA3; font-size: 1rem; transition: color .3s ease; }
.kv-lesen-liste li::before { content: ""; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .2); }
.kv-lesen-liste li[data-fertig] { color: #fff; }
.kv-lesen-liste li[data-fertig]::before { border-color: transparent; background: rgba(61, 220, 132, .16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='m5 9.3 2.6 2.6 5.4-5.6' fill='none' stroke='%233DDC84' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat; }
.kv-fakten { display: grid; margin-top: 22px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 18px; overflow: hidden; }
.kv-fakten label { display: grid; grid-template-columns: 9.5em minmax(0, 1fr); align-items: center; gap: 12px; padding: 4px 6px 4px 18px; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.kv-fakten label:last-child { border-bottom: 0; }
.kv-fakten span { color: #8D98AE; font-size: .88rem; font-weight: 560; }
.kv-fakten input { min-width: 0; height: 48px; padding: 0 12px; border: 1px solid transparent; border-radius: 12px; background: transparent; color: #fff; font: inherit; font-size: 1rem; outline: none; }
.kv-fakten input:hover { background: rgba(255, 255, 255, .04); }
.kv-fakten input:focus { border-color: var(--kv-signal); background: rgba(255, 255, 255, .06); }
.kv-fakten input::placeholder { color: #5E6A82; }
.kv-fakten input[aria-invalid="true"] { border-color: #FF8A8A; }

/* Tarif: drei ruhige Karten, eine ist vorgewählt */
.kv-tarife { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 22px; }
.kv-tarif { position: relative; display: grid; gap: 4px; padding: 18px 18px 16px; border-radius: 18px; border: 1px solid rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .03); cursor: pointer;
  transition: border-color .2s ease, background-color .2s ease; }
.kv-tarif:hover { border-color: rgba(255, 255, 255, .26); }
.kv-tarif input { position: absolute; opacity: 0; pointer-events: none; }
.kv-tarif:has(input:checked) { border-color: rgba(61, 220, 132, .8); background: rgba(61, 220, 132, .08); box-shadow: inset 0 0 0 1px rgba(61, 220, 132, .3); }
.kv-tarif:has(input:focus-visible) { outline: 3px solid #7CF0B2; outline-offset: 3px; }
.kv-tarif b { font-size: 1.02rem; }
.kv-preis { font-size: 1.7rem; font-weight: 740; letter-spacing: -.03em; }
.kv-preis small { margin-left: 2px; color: #8D98AE; font-size: .82rem; font-weight: 520; letter-spacing: 0; }
.kv-tarif-info { color: var(--kv-leise); font-size: .88rem; }
.kv-tarif em { position: absolute; top: -10px; right: 14px; padding: 3px 10px; border-radius: 999px; background: var(--kv-signal); color: #0B1220; font-size: .72rem; font-style: normal; font-weight: 700; }

/* Karte: hier sitzt später Stripes eingebettete Kasse, im Entwurf nur die Form */
.kv-kasse-mount { margin-top: 18px; padding: 8px; border-radius: 18px; background: #fff; color: #0B1220; min-height: 120px; }
.kv-schloss { flex: none; margin-right: 8px; vertical-align: -2px; }
.kv-bestellung { display: grid; gap: 10px; margin-top: 18px; padding: 16px 18px; border-radius: 18px; background: #fff; color: #0B1220; }
.kv-bestellung-titel { margin: 0; font-size: 1.05rem; }
.kv-bestellung dl { display: grid; gap: 6px; margin: 0; }
.kv-bestellung dl > div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid #E6E9F0; }
.kv-bestellung dt { color: #5B6475; font-size: .86rem; }
.kv-bestellung dd { margin: 0; font-weight: 600; text-align: right; }
.kv-bestellung-neu { margin: 0; padding: 10px 12px; border-radius: 10px; background: #FFF3E0; color: #7A3E00; font-size: .88rem; }
.kv-bestellung-hinweis { margin: 0; color: #2A3347; font-size: .86rem; }
.kv-kleingedruckt { margin: 6px 0 0; color: #8E99AE; font-size: .8rem; line-height: 1.5; }
.kv-bestellung .kv-kleingedruckt { color: #5B6475; }
.kv-vorschlag-titel { margin: 14px 0 6px; color: #A9B3C7; font-size: .86rem; }
.kv-vorschlag-reihe { display: flex; flex-wrap: wrap; gap: 8px; }
.kv-schritte .startform { display: contents; }
.kv-setup { padding-bottom: 96px; }

/* Telefon */
.kv-zweier { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: end; margin-top: 14px; }
.kv-wahlfeld { display: grid; gap: 6px; }
.kv-wahlfeld span { color: #8D98AE; font-size: .84rem; font-weight: 560; }
.kv-wahlfeld select { height: 54px; padding: 0 16px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .045); color: #fff; font: inherit; font-size: 1rem; }
.kv-wahlfeld select option { color: #0B1220; }
.kv-umschalter { display: inline-flex; gap: 4px; padding: 4px; border-radius: 16px; background: rgba(255, 255, 255, .045); border: 1px solid rgba(255, 255, 255, .1); }
.kv-umschalter label { position: relative; cursor: pointer; }
.kv-umschalter input { position: absolute; opacity: 0; pointer-events: none; }
.kv-umschalter span { display: grid; place-items: center; min-height: 44px; padding: 0 18px; border-radius: 12px; color: #A9B3C7; font-size: .92rem; font-weight: 600; }
.kv-umschalter input:checked + span { background: rgba(255, 255, 255, .12); color: #fff; }
.kv-umschalter input:focus-visible + span { outline: 3px solid #7CF0B2; }

.kv-nummer { margin: 14px 0 0; font-size: clamp(2.1rem, 1.6rem + 1.4vw, 2.9rem); font-weight: 740; letter-spacing: -.02em; font-variant-numeric: tabular-nums; color: #fff; }
.kv-anleitung { margin-top: 18px; padding: 18px 20px; border-radius: 18px; border: 1px solid rgba(61, 220, 132, .28); background: rgba(61, 220, 132, .06); }
.kv-anleitung-titel { margin: 0; color: #C9D1E0; font-size: .95rem; font-weight: 600; }
.kv-code { margin: 8px 0 0; font-size: 1.7rem; font-weight: 740; letter-spacing: .04em; color: var(--kv-signal); font-variant-numeric: tabular-nums; }
.kv-anleitung-text { margin: 8px 0 0; color: var(--kv-leise); font-size: .9rem; line-height: 1.5; }
.kv-bestaetigung { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: start; margin-top: 18px; color: #A9B3C7; font-size: .88rem; line-height: 1.5; cursor: pointer; }
.kv-bestaetigung input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--kv-signal); }
.kv-bestaetigung a { color: #DDE3EE; text-underline-offset: 3px; }
.kv-bestaetigung[data-fehlt] span { color: #FFB1B1; }

/* Testanruf */
.kv-test { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 18px; margin-top: 22px; padding: 18px 20px; border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .03); }
.kv-test-kugel { position: relative; width: 56px; height: 56px; }
.kv-test-text { margin: 0; color: #DDE3EE; font-size: 1rem; font-weight: 560; }
.kv-test-text [data-test-text] { display: none; }
.kv-test[data-test="bereit"] [data-test-text="bereit"], .kv-test[data-test="warten"] [data-test-text="warten"], .kv-test[data-test="ok"] [data-test-text="ok"] { display: inline; }
.kv-test[data-test="warten"] .kv-test-kugel { animation: kv-puls 1.2s ease-in-out infinite; }
.kv-test[data-test="ok"] { border-color: rgba(61, 220, 132, .5); background: rgba(61, 220, 132, .08); }
.kv-test[data-test="ok"] .kv-test-text { color: #fff; }
.kv-test[data-test="warten"] [data-test-start], .kv-test[data-test="ok"] [data-test-start] { display: none; }
.kv-test .einstieg-chat { min-height: 48px; }

.kv-zusammenfassung { display: grid; margin: 22px 0 0; border: 1px solid rgba(255, 255, 255, .1); border-radius: 18px; overflow: hidden; }
.kv-zusammenfassung div { display: grid; grid-template-columns: 12em minmax(0, 1fr); gap: 12px; padding: 14px 18px; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.kv-zusammenfassung div:last-child { border-bottom: 0; }
.kv-zusammenfassung dt { color: #8D98AE; font-size: .9rem; }
.kv-zusammenfassung dd { margin: 0; color: #fff; font-weight: 600; }

.kv-fertig { display: grid; justify-items: start; gap: 6px; padding-top: 6px; }
.kv-fertig-kugel { position: relative; width: 120px; height: 120px; margin-bottom: 10px; }
@media (prefers-reduced-motion: no-preference) { .kv-fertig-kugel { animation: kv-puls 2.4s ease-in-out infinite; } }
.kv-fertig .einstieg-frage { font-size: clamp(2rem, 1.6rem + 1.2vw, 2.7rem); }
.kv-fertig-wege { width: min(100%, 360px); margin-top: 18px; }
.kv-fertig-wege .einstieg-weiter { margin-top: 0; }
.kv-mini-kugel .kv-kugel-farbe, .kv-lesen-kugel .kv-kugel-farbe, .kv-test-kugel .kv-kugel-farbe, .kv-fertig-kugel .kv-kugel-farbe, .kv-abschluss-kugel .kv-kugel-farbe { position: absolute; inset: 0; }

/* Meldungen im Kasten: nie eine nackte Fehlermeldung, immer mit Ausweg */
.kv-meldung { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px 18px; margin-top: 18px; padding: 14px 16px 14px 18px;
  border-radius: 16px; border: 1px solid rgba(255, 138, 138, .35); background: rgba(255, 138, 138, .08); }
.kv-meldung[hidden] { display: none; }
.kv-meldung p { margin: 0; color: #F3D6D6; font-size: .92rem; line-height: 1.5; }
.kv-meldung b { color: #fff; font-weight: 650; }
.kv-meldung-ruhig { border-color: rgba(143, 160, 188, .32); background: rgba(255, 255, 255, .04); }
.kv-meldung-ruhig p { color: #C9D1E0; }
.kv-meldung .einstieg-chat { min-height: 44px; padding: 0 18px; white-space: nowrap; }
.kv-meldung .kv-meldung-ok { grid-column: 1 / -1; color: #9EF0C4; font-weight: 600; }

/* Nummer wartet auf Freigabe: ruhiger Ablauf statt Sackgasse */
.kv-ablauf { display: grid; gap: 14px; margin: 24px 0 0; padding: 0; list-style: none; }
.kv-ablauf li { display: flex; align-items: center; gap: 12px; color: #7F8BA3; font-size: 1rem; }
.kv-ablauf li::before { content: ""; width: 22px; height: 22px; flex: none; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .2); }
.kv-ablauf li[data-stand="fertig"] { color: #C9D1E0; }
.kv-ablauf li[data-stand="fertig"]::before { border-color: transparent;
  background: var(--kv-signal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='m5 9.3 2.6 2.6 5.4-5.6' fill='none' stroke='%230B1220' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 15px no-repeat; }
.kv-ablauf li[data-stand="jetzt"] { color: #fff; font-weight: 600; }
.kv-ablauf li[data-stand="jetzt"]::before { border-color: var(--kv-signal); box-shadow: 0 0 0 5px rgba(61, 220, 132, .14); }
@media (prefers-reduced-motion: no-preference) { .kv-ablauf li[data-stand="jetzt"]::before { animation: kv-puls 1.6s ease-in-out infinite; } }

.kv-willkommen { display: inline-flex; align-self: flex-start; align-items: center; gap: 10px; margin: 0 0 14px; padding: 8px 16px 8px 12px; border-radius: 999px;
  background: rgba(61, 220, 132, .1); color: #CFF5DF; font-size: .9rem; font-weight: 600; }
.kv-willkommen::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--kv-signal); box-shadow: 0 0 0 4px rgba(61, 220, 132, .2); }
.kv-willkommen[hidden] { display: none; }

/* Abschluss unten: kein zweites Formular, nur der Weg zurück zum Kasten */
.kv-abschluss { padding: clamp(84px, 9vw, 144px) 0; text-align: center; }
.kv-abschluss-innen { display: grid; justify-items: center; gap: 16px; }
.kv-abschluss-kugel { position: relative; width: 132px; height: 132px; margin-bottom: 8px; }
@media (prefers-reduced-motion: no-preference) { .kv-abschluss-kugel { animation: kv-puls 4.8s ease-in-out infinite; } }
.kv-abschluss h2 { margin: 0; color: #fff; font-size: clamp(2rem, 1.5rem + 2vw, 3.4rem); line-height: 1.04; letter-spacing: -.04em; max-width: 16ch; text-wrap: balance; }
.kv-abschluss p { margin: 0; color: #A9B3C7; font-size: 1.08rem; line-height: 1.6; max-width: 34em; }
.kv-abschluss-knopf { width: min(100%, 360px); margin-top: 14px !important; }
@media (max-width: 760px) { .kv-meldung { grid-template-columns: minmax(0, 1fr); } .kv-abschluss-kugel { width: 104px; height: 104px; } }

@media (max-width: 980px) {
  .kv-setup { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .kv-schiene { display: none; }
  .kv-handykopf { display: flex; align-items: center; gap: 12px; color: #A9B3C7; font-size: .88rem; font-weight: 600; }
  .kv-handykopf .kv-mini-kugel { width: 34px; height: 34px; }
  .kv-schritte > .einstieg-balken { margin: 12px 0 22px; }
}
@media (max-width: 760px) {
  .kv-tarife { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .kv-tarif { grid-template-columns: auto minmax(0, 1fr) auto; align-items: baseline; column-gap: 12px; padding: 14px 16px; }
  .kv-tarif .kv-tarif-info { grid-column: 2; grid-row: 1; }
  .kv-tarif em { top: -9px; }
  .kv-fakten label { grid-template-columns: minmax(0, 1fr); gap: 0; padding: 10px 6px 4px 14px; }
  .kv-fakten input { height: 40px; padding: 0 8px; margin-left: -8px; }
  .kv-zweier { grid-template-columns: minmax(0, 1fr); }
  .kv-test { grid-template-columns: auto minmax(0, 1fr); }
  .kv-test .einstieg-chat { grid-column: 1 / -1; }
  .kv-zusammenfassung div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .kv-code { font-size: 1.45rem; }
}

/* ---------- Firma als drei ruhige Karten zum Antippen (statt Tabellenzeilen) ---------- */
.kv-schritt[data-schritt-panel="3"] { max-width: 680px; }
.kv-karten { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; margin-top: 22px; }
.kv-karte { display: grid; align-content: start; gap: 14px; min-width: 0; padding: 18px 20px 20px; border-radius: 20px;
  background: rgba(255, 255, 255, .035); border: 1px solid rgba(255, 255, 255, .09); transition: border-color .2s ease; }
.kv-karte-breit { grid-column: 1 / -1; }
.kv-karte[data-fehlt] { border-color: rgba(255, 138, 138, .6); box-shadow: 0 0 0 4px rgba(255, 138, 138, .1); }
.kv-karte-titel { display: flex; align-items: center; gap: 10px; margin: 0; color: #DDE3EE; font-size: .95rem; font-weight: 650; }
.kv-karte-titel label { cursor: pointer; }
.kv-symbol { display: inline-block; width: 30px; height: 30px; flex: none; border-radius: 50%; background: rgba(61, 220, 132, .12) center / 16px no-repeat; }
.kv-symbol-werkzeug { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233DDC84' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.7 6.3a4 4 0 0 0-5.4 5.4L4 17v3h3l5.3-5.3a4 4 0 0 0 5.4-5.4l-2.6 2.6-2.4-.6-.6-2.4z'/%3E%3C/svg%3E"); }
.kv-symbol-ort { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233DDC84' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-6-5.3-6-10a6 6 0 0 1 12 0c0 4.7-6 10-6 10z'/%3E%3Ccircle cx='12' cy='11' r='2.2'/%3E%3C/svg%3E"); }
.kv-symbol-uhr { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233DDC84' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8'/%3E%3Cpath d='M12 8v4.2l2.8 1.8'/%3E%3C/svg%3E"); }
.kv-symbol-ordner { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233DDC84' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 7.5a2 2 0 0 1 2-2h4l2 2h7a2 2 0 0 1 2 2v7.5a2 2 0 0 1-2 2h-13a2 2 0 0 1-2-2z'/%3E%3C/svg%3E"); }
.kv-symbol-brief { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233DDC84' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='5.5' width='17' height='13' rx='2'/%3E%3Cpath d='m4.5 7 7.5 6 7.5-6'/%3E%3C/svg%3E"); }
.kv-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.kv-chip { display: inline-flex; align-items: center; gap: 2px; min-height: 40px; padding: 0 4px 0 15px; border-radius: 999px; background: rgba(255, 255, 255, .09); color: #fff; font-size: .95rem; font-weight: 560; }
.kv-chip-weg { display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 50%; background: transparent; cursor: pointer; }
.kv-chip-weg::before { content: ""; width: 12px; height: 12px; opacity: .6;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='m2.5 2.5 7 7M9.5 2.5l-7 7'/%3E%3C/svg%3E") center / 12px no-repeat; }
.kv-chip-weg:hover { background: rgba(255, 255, 255, .12); }
.kv-chip-weg:hover::before { opacity: 1; }
.kv-chip-neu, .kv-vorschlag, .kv-chip-wahl { min-height: 40px; padding: 0 15px; border-radius: 999px; font: inherit; font-size: .93rem; font-weight: 560; cursor: pointer;
  transition: border-color .2s ease, background-color .2s ease, color .2s ease; }
.kv-chip-neu { border: 1px dashed rgba(255, 255, 255, .3); background: transparent; color: #DDE3EE; }
.kv-chip-neu:hover { border-color: var(--kv-signal); color: #fff; }
.kv-vorschlaege { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.kv-vorschlaege:empty { display: none; }
.kv-vorschlaege-titel { margin-right: 2px; color: #7F8BA3; font-size: .82rem; font-weight: 600; }
.kv-vorschlag { border: 1px solid rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .02); color: #A9B3C7; }
.kv-vorschlag:hover { border-color: rgba(61, 220, 132, .6); color: #fff; }
.kv-chip-wahl { border: 1px solid rgba(255, 255, 255, .16); background: transparent; color: #C9D1E0; }
.kv-chip-wahl:hover { border-color: rgba(255, 255, 255, .32); }
.kv-chip-wahl[aria-pressed="true"] { border-color: rgba(61, 220, 132, .8); background: rgba(61, 220, 132, .12); color: #fff; }
.kv-chip-wahl[aria-pressed="true"]::before { content: ""; display: inline-block; width: 14px; height: 14px; margin: 0 7px -2px -2px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='m4 9.3 3 3 7-7' fill='none' stroke='%233DDC84' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.kv-chip-neu:focus-visible, .kv-vorschlag:focus-visible, .kv-chip-wahl:focus-visible, .kv-chip-weg:focus-visible { outline: 3px solid #7CF0B2; outline-offset: 2px; }
.kv-chip-eingabe { min-height: 40px; width: 15em; max-width: 100%; padding: 0 15px; border-radius: 999px; border: 1px solid var(--kv-signal); background: rgba(255, 255, 255, .06);
  color: #fff; font: inherit; font-size: .95rem; outline: none; box-shadow: 0 0 0 4px rgba(61, 220, 132, .16); }
.kv-chip-eingabe::placeholder { color: #66728A; }
.kv-karte-feld { width: 100%; min-height: 48px; padding: 0 15px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .04);
  color: #fff; font: inherit; font-size: 1rem; outline: none; transition: border-color .2s ease, box-shadow .2s ease; }
.kv-karte-feld::placeholder { color: #66728A; }
.kv-karte-feld:focus { border-color: var(--kv-signal); box-shadow: 0 0 0 4px rgba(61, 220, 132, .16); }
.kv-karte-feld[aria-invalid="true"] { border-color: #FF8A8A; }
.kv-portal { display: flex; align-items: center; gap: 12px; margin: 16px 0 0; color: #8D98AE; font-size: .88rem; line-height: 1.5; }
/* Nach dem Lesen: drei ruhige Zeilen zum Abnicken, nichts zum Ausfüllen */
.kv-profilkopf { display: flex; justify-content: flex-end; margin: 12px 0 6px; color: #8D98AE; font-size: .8rem; font-weight: 600; }
.kv-profilkopf[hidden], .kv-profil[hidden], .kv-preishinweis[hidden], .kv-bearbeiten[hidden] { display: none; }
.kv-profil { display: grid; margin: 0; padding: 2px 16px; list-style: none; border-radius: 16px; background: rgba(255, 255, 255, .035); border: 1px solid rgba(255, 255, 255, .08); }
.kv-profil li { display: flex; align-items: flex-start; gap: 12px; padding: 9px 0; color: #fff; font-size: .95rem; line-height: 1.4; }
.kv-profil li + li { border-top: 1px solid rgba(255, 255, 255, .06); }
.kv-profil li > div { display: grid; gap: 2px; min-width: 0; }
.kv-profil b { color: #8D98AE; font-size: .78rem; font-weight: 700; letter-spacing: .02em; }
.kv-profil-wert { overflow-wrap: anywhere; }
.kv-profil-fehlt { color: #8D98AE; font-size: .88rem; }
.kv-profil-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.kv-chip-still { min-height: 28px; padding: 0 11px; font-size: .86rem; }
.kv-chip-mehr { min-height: 28px; padding: 0 11px; border: 1px dashed rgba(255, 255, 255, .3); background: transparent; font: inherit; font-size: .86rem; cursor: pointer; }
.kv-chip-mehr:hover { border-color: rgba(255, 255, 255, .5); }
.kv-chip-mehr:focus-visible { outline: 3px solid #7CF0B2; outline-offset: 2px; }
.kv-status { flex: none; width: 20px; height: 20px; margin-top: 1px; border-radius: 50%; }
.kv-status-ok { background: rgba(61, 220, 132, .16) center / 12px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233DDC84' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.kv-status-fehlt { border: 2px solid rgba(255, 255, 255, .22); }
.kv-preishinweis { display: flex; align-items: center; gap: 10px; margin: 10px 0 0; color: #8D98AE; font-size: .85rem; line-height: 1.4; }
.kv-symbol-info { width: 22px; height: 22px; background-size: 13px; background-color: rgba(255, 255, 255, .06); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238D98AE' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 11v6M12 7.2v.1'/%3E%3C/svg%3E"); }
.kv-bearbeiten { display: grid; gap: 12px; }
@media (min-width: 700px) { .kv-wissen .einstieg-aktionen { margin-top: 14px; } }
.kv-angebot { display: grid; gap: 14px; margin-top: 22px; padding: 18px; border-radius: 20px; background: rgba(255, 255, 255, .035); border: 1px solid rgba(255, 255, 255, .09); }
.kv-angebot[hidden] { display: none; }
.kv-angebot[data-fehlt] { border-color: rgba(255, 138, 138, .6); box-shadow: 0 0 0 4px rgba(255, 138, 138, .1); }
.kv-portal .kv-symbol { background-color: rgba(255, 255, 255, .06); }

/* Letzter Schritt: Zugang direkt im Kasten, Passwort freiwillig */
.kv-zugang { display: grid; gap: 10px; width: min(100%, 520px); margin-top: 18px; padding: 18px 20px; border-radius: 18px; border: 1px solid rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .03); }
.kv-zugang-titel { display: flex; align-items: center; gap: 10px; margin: 0; color: #fff; font-weight: 650; }
.kv-zugang-text { margin: 0; color: var(--kv-leise); font-size: .92rem; line-height: 1.5; }
.kv-zugang-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; margin-top: 4px; }
.kv-zugang-form[hidden] { display: none; }
.kv-zugang-form .einstieg-chat { min-height: 48px; }
.kv-zugang .kv-meldung-ok { margin: 0; color: #9EF0C4; font-size: .9rem; font-weight: 600; }
@media (max-width: 760px) {
  .kv-karten { grid-template-columns: minmax(0, 1fr); }
  .kv-karte { padding: 16px; }
  .kv-zugang-form { grid-template-columns: minmax(0, 1fr); }
}

.kv-schrittform { display: flex; flex-direction: column; justify-content: center; max-width: 560px; }
.kv-schrittform .einstieg-balken { margin: 14px 0 26px; }
.kv-karussell-studio .kv-schrittform .einstieg-aktionen, .kv-studio .kv-schrittform .einstieg-aktionen { margin-top: 22px; padding-top: 0; }
.kv-mini-kugel { position: relative; width: 118px; height: 118px; }
.kv-mini-kugel .kv-kugel-farbe { box-shadow: 0 30px 60px -30px var(--k-a), inset 0 0 0 1px rgba(255, 255, 255, .08); }

/* Aktionszeile in allen Schritten gleich: Zurück links, Hauptknopf rechts (auch wenn Zurück fehlt) */
.kv-schritt .einstieg-aktionen > .einstieg-los { margin-left: auto; }
@media (max-width: 560px) { .kv-schritt .einstieg-aktionen > .einstieg-los { margin-left: 0; } }
/* Fokus: Überschrift fokussierbar, aber ohne Ring; Ringe nur bei Tastaturbedienung */
.kv-schritt [tabindex="-1"]:focus, .kv-schritt [tabindex="-1"]:focus-visible { outline: none; }
.kv-schritt button:focus:not(:focus-visible), .kv-schritt .einstieg-los:focus:not(:focus-visible) { outline: none; box-shadow: none; }
/* „+ Eigene ergänzen“ neutral */
.kv-chip-neu:hover { border-color: rgba(255, 255, 255, .5); }
.kv-chip-neu:focus:not(:focus-visible) { outline: none; border-color: rgba(255, 255, 255, .3); }
/* Schritt 6: Auswahl nie breiter als ihre Spalte */
.kv-wahlfeld { min-width: 0; }
.kv-wahlfeld select { width: 100%; min-width: 0; max-width: 100%; }
@media (max-width: 560px) { .kv-zweier .kv-umschalter { display: flex; } .kv-zweier .kv-umschalter label { flex: 1; } }
/* Schritt 7: Wählcode groß, Satz darunter, Anbieter-Hinweise zugeklappt */
.kv-anleitung .kv-schritt-karte { display: grid; gap: 6px; justify-items: start; margin-top: 10px; }
.kv-anleitung .kv-schritt-karte > b { color: #fff; font-size: 1rem; }
.kv-anleitung .kv-code { display: block; margin: 2px 0 0; font-size: clamp(1.7rem, 1.4rem + 1vw, 2.2rem); font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; overflow-wrap: anywhere; }
.kv-anleitung .kv-schritt-karte > span:not(.kv-code) { color: var(--kv-leise); font-size: .9rem; line-height: 1.5; }
.kv-hinweise { margin-top: 12px; }
.kv-hinweise summary { cursor: pointer; color: #A9B3C7; font-size: .9rem; font-weight: 560; }
.kv-hinweise summary:hover { color: #fff; }
.kv-hinweise[open] summary { margin-bottom: 6px; }
.kv-schritt-karte .einstieg-chat { min-height: 0; padding: 8px 16px; display: inline-flex; flex-wrap: nowrap; align-items: center; width: auto; max-width: 100%; gap: 8px; }
.kv-schritt-karte .einstieg-chat span { position: static; width: auto; height: auto; overflow: visible; clip: auto; white-space: normal; }
@media (max-width: 560px) { .kv-test .einstieg-chat { grid-column: 1 / -1; width: 100%; } }
.kv-meldung[data-angemeldet] { grid-template-columns: minmax(0, 1fr); margin: 0 0 16px; }
.kv-meldung[data-angemeldet] .einstieg-chat { justify-self: start; white-space: normal; text-align: left; }
