/* Kesru, geführter Einstieg im Held: Clara-Karte, dann zwei Schritte im selben Kasten.
   Eine Sache je Schritt, nichts springt, nichts öffnet sich darüber (Mirwan, 08.10.2026). */

.held-raster:has(.einstieg) { grid-template-columns: minmax(0, 1fr) minmax(0, 560px); gap: clamp(40px, 6vw, 112px); }

/* Unter dem Einleitungssatz nur noch drei belegte Zusagen statt Knopf und Kleingedrucktem */
.held-zusagen { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 34px 0 0; padding: 0; list-style: none; color: #C9D1E0; font-size: .95rem; font-weight: 520; }
.held-zusagen li { display: inline-flex; align-items: center; gap: 9px; }
.held-zusagen li::before { content: ""; width: 18px; height: 18px; flex: none; border-radius: 50%;
  background: rgba(61, 220, 132, .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='m5.2 9.3 2.5 2.5 5.1-5.3' fill='none' stroke='%233DDC84' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat; }

/* Die Karte */
.einstieg { position: relative; isolation: isolate; display: flex; flex-direction: column; min-height: 432px; padding: 30px; border-radius: 30px; color: #fff;
  background: linear-gradient(180deg, rgba(28, 39, 64, .78), rgba(16, 24, 40, .86));
  border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 50px 120px -50px rgba(0, 0, 0, .75), 0 0 0 1px rgba(0, 0, 0, .25), inset 0 1px 0 rgba(255, 255, 255, .07);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.einstieg::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background: radial-gradient(70% 55% at 22% 0%, rgba(61, 220, 132, .16), transparent 70%); }
.einstieg [hidden] { display: none !important; }
.einstieg-panel { display: flex; flex-direction: column; flex: 1; animation: einstieg-rein .42s var(--weich, ease) both; }
.einstieg-panel:not([data-schritt-panel="0"]) .einstieg-aktionen { margin-top: auto; padding-top: 24px; }
.einstieg-panel:not([data-schritt-panel="0"]) .einstieg-feld + .einstieg-captcha:empty + .einstieg-aktionen { margin-top: auto; }
.einstieg-unsichtbar { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@keyframes einstieg-rein { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.einstieg-marke { margin: 0 0 22px; color: #8FA0BC; font-size: .78rem; font-weight: 640; letter-spacing: .14em; text-transform: uppercase; }

/* Schritt 0: Clara */
.einstieg-person { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 22px; }
.einstieg-orbit { position: relative; width: 112px; height: 112px; flex: none; --audio-level: 0; }
.einstieg-orbit i { position: absolute; border-radius: 50%; border: 1px solid; transition: transform .12s linear, border-color .3s ease; }
.einstieg-orbit i:nth-child(1) { inset: 26px; border-color: rgba(61, 220, 132, .42); transform: scale(calc(1 + var(--audio-level) * .18)); }
.einstieg-orbit i:nth-child(2) { inset: 13px; border-color: rgba(61, 220, 132, .2); transform: scale(calc(1 + var(--audio-level) * .3)); }
.einstieg-orbit i:nth-child(3) { inset: 0; border-color: rgba(61, 220, 132, .1); transform: scale(calc(1 + var(--audio-level) * .42)); }
.einstieg-orbit span { position: absolute; inset: 36px; border-radius: 50%; background: radial-gradient(circle at 50% 38%, #24364F, #0E1826 72%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .06), 0 0 40px -6px rgba(61, 220, 132, .45); }
.einstieg-orbit.spricht i:nth-child(1) { border-color: rgba(61, 220, 132, .85); }
.einstieg-orbit.spricht i:nth-child(2) { border-color: rgba(61, 220, 132, .5); }
.einstieg-orbit.spricht i:nth-child(3) { border-color: rgba(61, 220, 132, .25); }
@media (prefers-reduced-motion: no-preference) {
  .einstieg-orbit:not(.spricht) i:nth-child(3) { animation: einstieg-atem 4.8s ease-in-out infinite; }
  .einstieg-orbit:not(.spricht) i:nth-child(2) { animation: einstieg-atem 4.8s ease-in-out .6s infinite; }
}
@keyframes einstieg-atem { 50% { transform: scale(1.045); opacity: .7; } }

.einstieg-identitaet { min-width: 0; display: grid; gap: 2px; }
.einstieg-name { font-size: clamp(2.3rem, 1.7rem + 1.4vw, 3rem); line-height: 1; font-weight: 740; letter-spacing: -.045em; }
.einstieg-charakter { color: #A9B3C7; font-size: .98rem; }
.einstieg-wechsel { justify-self: start; margin-top: 8px; padding: 0; border: 0; background: none; color: #DDE3EE; font: inherit; font-size: .9rem; font-weight: 560;
  text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .3); text-underline-offset: 4px; cursor: pointer; }
.einstieg-wechsel:hover { color: #fff; text-decoration-color: #3DDC84; }
.einstieg-wechsel::after { content: " ▾"; font-size: .8em; text-decoration: none; display: inline-block; margin-left: 2px; transition: transform .2s ease; }
.einstieg-wechsel[aria-expanded="true"]::after { transform: rotate(180deg); }

.einstieg-hoeren { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 18px 0 8px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .04); color: #fff; font: inherit; font-size: .95rem; font-weight: 600; cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease; }
.einstieg-hoeren::before { content: ""; width: 34px; height: 34px; flex: none; border-radius: 50%;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 34'%3E%3Cpath d='M14 11.5v11l9-5.5z' fill='%230B1220'/%3E%3C/svg%3E") center / 34px no-repeat; }
.einstieg-hoeren[aria-pressed="true"]::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 34'%3E%3Cpath d='M13 11.5h3v11h-3zM18 11.5h3v11h-3z' fill='%230B1220'/%3E%3C/svg%3E"); }
.einstieg-hoeren:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .28); }

.einstieg-finder { margin-top: 24px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .08); }

.einstieg-wege { display: flex; gap: 10px; margin-top: 30px; }
.einstieg-sprechen { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 11px; min-height: 60px; padding: 0 24px; border: 0; border-radius: 999px;
  background: #3DDC84; color: #0B1220; font: inherit; font-size: 1.05rem; font-weight: 700; cursor: pointer;
  box-shadow: 0 14px 36px -14px rgba(61, 220, 132, .75), inset 0 1px 0 rgba(255, 255, 255, .4); transition: background-color .2s ease, transform .2s ease; }
.einstieg-sprechen::before { content: ""; width: 20px; height: 20px; flex: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%230B1220' stroke-width='1.8' stroke-linecap='round'%3E%3Crect x='7' y='2.5' width='6' height='10' rx='3'/%3E%3Cpath d='M4.5 9.5a5.5 5.5 0 0 0 11 0M10 15v2.5'/%3E%3C/svg%3E") center / 20px no-repeat; }
.einstieg-sprechen:hover { background: #5BE59A; transform: translateY(-1px); }
.einstieg-chat { min-height: 60px; padding: 0 24px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .16); background: transparent; color: #fff;
  font: inherit; font-size: 1rem; font-weight: 620; cursor: pointer; transition: background-color .2s ease, border-color .2s ease; }
.einstieg-chat:hover { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .3); }
.einstieg-info { margin: 12px 0 0; color: #8D98AE; font-size: .84rem; }

.einstieg-weiter { position: relative; display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 64px; margin-top: 26px;
  padding: 0 12px 0 26px; border: 0; border-radius: 999px; background: #fff; color: #0B1220; font: inherit; font-size: 1.06rem; font-weight: 700;
  text-decoration: none; cursor: pointer; transition: background-color .2s ease, transform .2s ease; }
.einstieg-weiter::after { content: ""; width: 42px; height: 42px; flex: none; border-radius: 50%;
  background: #0B1220 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 42 42' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 21h14M22.5 15.5 28 21l-5.5 5.5'/%3E%3C/svg%3E") center / 42px no-repeat;
  transition: transform .25s ease; }
.einstieg-weiter:hover { background: #3DDC84; transform: translateY(-1px); }
.einstieg-weiter:hover::after { transform: translateX(3px); }

/* Schritte 1 und 2 */
.einstieg-kopf { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.einstieg-zurueck { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin-left: -6px; padding: 0 14px 0 6px; border: 0; border-radius: 999px;
  background: transparent; color: #DDE3EE; font: inherit; font-size: .92rem; font-weight: 600; cursor: pointer; }
.einstieg-zurueck:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.einstieg-zurueck::before { content: ""; width: 16px; height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23DDE3EE' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 3.5 5.5 8l4.5 4.5'/%3E%3C/svg%3E") center / 16px no-repeat; }
.einstieg-mini { position: relative; width: 26px; height: 26px; border-radius: 50%; flex: none;
  background: radial-gradient(circle at 50% 38%, #24364F, #0E1826 72%); box-shadow: 0 0 0 1px rgba(61, 220, 132, .45), 0 0 0 5px rgba(61, 220, 132, .08); }
.einstieg-stand { color: #8D98AE; font-size: .84rem; font-weight: 560; font-variant-numeric: tabular-nums; }
.einstieg-balken { height: 3px; margin: 14px 0 30px; border-radius: 3px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.einstieg-balken i { display: block; height: 100%; width: calc(var(--anteil, .5) * 100%); border-radius: inherit; background: #3DDC84; transition: width .5s var(--weich, ease); }

.einstieg-frage { display: block; margin: 0; font-size: clamp(1.7rem, 1.35rem + .9vw, 2.1rem); line-height: 1.08; font-weight: 720; letter-spacing: -.035em; color: #fff; }
.einstieg-hilfe { margin: 10px 0 0; color: #A9B3C7; font-size: .98rem; line-height: 1.5; }
.einstieg-feld { display: block; width: 100%; min-height: 62px; margin-top: 22px; padding: 0 20px; border-radius: 18px; border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .045); color: #fff; font: inherit; font-size: 1.12rem; font-weight: 520; outline: none;
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease; }
.einstieg-feld::placeholder { color: #66728A; font-weight: 450; }
.einstieg-feld:focus { border-color: #3DDC84; background: rgba(255, 255, 255, .065); box-shadow: 0 0 0 4px rgba(61, 220, 132, .2); }
.einstieg-feld[aria-invalid="true"] { border-color: #FF8A8A; box-shadow: 0 0 0 4px rgba(255, 138, 138, .16); }
.einstieg-fehler { margin: 10px 0 0; color: #FFB1B1; font-size: .9rem; }

.einstieg-aktionen { display: flex; align-items: center; justify-content: space-between; gap: 14px 18px; flex-wrap: wrap; margin-top: 22px; }
.einstieg-los { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 58px; padding: 0 28px; border: 0; border-radius: 999px;
  background: #3DDC84; color: #0B1220; font: inherit; font-size: 1.04rem; font-weight: 700; cursor: pointer;
  box-shadow: 0 14px 36px -14px rgba(61, 220, 132, .75), inset 0 1px 0 rgba(255, 255, 255, .4); transition: background-color .2s ease, transform .2s ease; }
.einstieg-los:hover { background: #5BE59A; transform: translateY(-1px); }
.einstieg-pfeil::after { content: ""; width: 18px; height: 18px; flex: none; transition: transform .25s ease;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='none' stroke='%230B1220' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 9h11M10 4.5 14.5 9 10 13.5'/%3E%3C/svg%3E") center / 18px no-repeat; }
.einstieg-pfeil:hover::after { transform: translateX(3px); }
.einstieg-los[aria-busy="true"] { opacity: .8; cursor: progress; }
.einstieg-text { padding: 6px 0; border: 0; background: none; color: #A9B3C7; font: inherit; font-size: .92rem; font-weight: 560; cursor: pointer;
  text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .22); text-underline-offset: 4px; }
.einstieg-text:hover { color: #fff; text-decoration-color: #3DDC84; }
.einstieg-recht { margin: 18px 0 0; color: #7F8BA3; font-size: .82rem; line-height: 1.5; }
.einstieg-recht a { color: #C9D1E0; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .25); text-underline-offset: 3px; }
.einstieg-recht a:hover { color: #fff; }
.einstieg-captcha:empty { display: none; }
.einstieg-captcha { margin-top: 16px; }

.einstieg :focus-visible { outline: 3px solid #7CF0B2; outline-offset: 3px; }
.einstieg .einstieg-feld:focus-visible { outline: none; }

/* Handy */
@media (max-width: 760px) {
  .held-raster:has(.einstieg) { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .held-raster:has(.einstieg) .held-text { display: contents; }
  .held-raster:has(.einstieg) .einstieg { order: 4; margin-top: 26px; }
  .held-zusagen { order: 5; margin-top: 22px; gap: 8px 16px; font-size: .88rem; }
  .einstieg { min-height: 0; padding: 22px 20px 20px; border-radius: 26px; }
  .einstieg-marke { margin-bottom: 14px; }
  .einstieg-person { grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; }
  .einstieg-orbit { width: 84px; height: 84px; }
  .einstieg-orbit i:nth-child(1) { inset: 20px; } .einstieg-orbit i:nth-child(2) { inset: 10px; } .einstieg-orbit span { inset: 28px; }
  .einstieg-hoeren { padding: 6px; border-color: transparent; background: transparent; }
  .einstieg-hoeren::before { width: 44px; height: 44px; background-size: 44px; }
  .einstieg-hoeren span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .einstieg-wege { margin-top: 22px; }
  .einstieg-chat { width: 60px; padding: 0; flex: none; display: inline-grid; place-items: center; }
  .einstieg-chat span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .einstieg-chat::before { content: ""; width: 22px; height: 22px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22' fill='none' stroke='%23fff' stroke-width='1.7' stroke-linejoin='round'%3E%3Cpath d='M4 5.5A2.5 2.5 0 0 1 6.5 3h9A2.5 2.5 0 0 1 18 5.5v6a2.5 2.5 0 0 1-2.5 2.5H9.5L5.5 17.5V14A2.5 2.5 0 0 1 4 11.5z'/%3E%3C/svg%3E") center / 22px no-repeat; }
  .einstieg-sprechen { white-space: nowrap; padding: 0 18px; }
  .einstieg-weiter { margin-top: 20px; min-height: 60px; }
  .einstieg-balken { margin-bottom: 24px; }
  .einstieg-aktionen { flex-direction: column-reverse; align-items: stretch; }
  .einstieg-los { width: 100%; }
  .einstieg-text { align-self: center; }
}
@media (prefers-reduced-motion: reduce) {
  .einstieg-panel { animation: none; }
  .einstieg *, .einstieg *::before, .einstieg *::after { transition: none !important; }
}
