/* CURSIVUM Anmelde- und Einrichtungsseiten (login, reset, registrieren, tarif, onboarding) im hellen Marketing-Design.
   Versionierter Dateiname, bei Änderungen hochzählen und alle fünf Seiten anpassen. Seit auth-3 (auth-4: Custom-Design-Kacheln, Schrittanzeige nach der Zahlung): Einrichtungs-Assistent (onboarding.html). */
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 400 800; font-display: swap; src: url('fonts/PlusJakartaSans-latin.woff2') format('woff2'); }
:root { --paper: #F6F2E9; --paper-2: #EFE9DC; --white: #FFFFFF; --ink: #0B2A21; --ink-2: #3F5149; --muted: #66756F; --line: rgba(11,42,33,0.14); --green: #0B3328; --gold: #F5E0A3; --gold-d: #8E6F22; --sage: #D9E1D2; --pad: clamp(18px, 5vw, 56px); --sans: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--paper); -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.6; overflow-x: clip; opacity: 0; transition: opacity 0.25s ease; }
body.loaded { opacity: 1; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Kopf und Fuß */
.atop { position: sticky; top: 0; z-index: 50; background: rgba(246,242,233,0.86); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); border-bottom: 1px solid var(--line); padding-top: env(safe-area-inset-top, 0px); }
.atop .awrap { max-width: 1160px; margin: 0 auto; padding: 0 var(--pad); height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.alogo { display: block; width: 104px; flex: none; }
.alogo svg { display: block; width: 100%; height: auto; }
.aback { text-decoration: none; font-size: 14.5px; font-weight: 600; color: var(--ink-2); }
.aback:hover { color: var(--ink); text-decoration: underline; }
.abar { background: #08271E; color: rgba(255,255,255,0.7); padding: 28px 0 calc(28px + env(safe-area-inset-bottom, 0px)); font-size: 14px; }
.abar .awrap { max-width: 1160px; margin: 0 auto; padding: 0 var(--pad); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; }
.abar .alogo { --la: var(--gold); --lb: #fff; opacity: 0.85; }
.abar nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.abar a { text-decoration: none; color: rgba(255,255,255,0.72); }
.abar a:hover { color: var(--gold); }

/* Inhalt */
main { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: clamp(24px, 5vw, 56px) var(--pad) clamp(36px, 6vw, 72px); }
.card { width: 100%; max-width: 440px; background: var(--white); border: 1px solid var(--line); border-radius: 28px; padding: clamp(24px, 4vw, 40px); box-shadow: 0 28px 50px -32px rgba(11,42,33,0.3); animation: aIn 0.6s cubic-bezier(.22,1,.36,1) both; }
@keyframes aIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
h1 { font: 700 clamp(26px, 4vw, 32px)/1.12 var(--sans); letter-spacing: -0.022em; margin: 0 0 20px; }
h2, h3 { font-family: var(--sans); font-weight: 700; letter-spacing: -0.022em; }
label { display: block; margin: 18px 0 6px; font-size: 14px; font-weight: 700; color: var(--ink); text-align: left; }
form > label:first-child, form > label:first-of-type { margin-top: 0; }
input:not([type="checkbox"]):not([type="radio"]):not([type="color"]), select, textarea { width: 100%; border: 1.5px solid var(--line); border-radius: 14px; background: var(--paper); padding: 13px 15px; font: 500 16px var(--sans); color: var(--ink); transition: border-color 0.2s ease, background 0.2s ease; min-height: 50px; }
textarea { min-height: 100px; resize: vertical; line-height: 1.55; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--green); background: #fff; }
input[type="color"] { width: 64px; height: 46px; padding: 3px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--paper); cursor: pointer; }
button { font-family: var(--sans); }
button[type="submit"], .book-btn, .btn-solid { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 52px; margin-top: 24px; padding: 0 24px; border: 0; border-radius: 999px; background: var(--green); color: var(--gold); font: 700 16px var(--sans); cursor: pointer; transition: background 0.2s ease, transform 0.25s cubic-bezier(.22,1,.36,1), opacity 0.2s ease; }
button[type="submit"]:hover:not(:disabled), .book-btn:hover:not(:disabled) { background: #0e4234; transform: translateY(-2px); }
button:disabled { opacity: 0.45; cursor: not-allowed; }
.error { display: none; margin-top: 14px; padding: 11px 14px; border-radius: 12px; background: #FBE9E7; color: #8c2b21; font-size: 14px; line-height: 1.5; }
.info { display: none; margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: #FBF3D9; color: var(--ink-2); font-size: 14.5px; line-height: 1.55; }
.text-link { display: block; margin-top: 18px; text-align: center; color: var(--ink-2); font-size: 14.5px; font-weight: 600; text-decoration: none; }
.text-link:hover { color: var(--ink); text-decoration: underline; }
.hint { color: var(--muted); font-size: 13.5px; line-height: 1.55; margin: 16px 0 0; text-align: left; }
.field-hint { color: var(--muted); font-size: 13px; margin: 6px 0 0; }
.check { display: flex; gap: 11px; align-items: flex-start; margin: 18px 0 0; cursor: pointer; color: var(--ink-2); font-size: 14px; line-height: 1.55; font-weight: 500; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--green); cursor: pointer; }
.check a { color: var(--gold-d); font-weight: 700; }
.btn-spinner { display: inline-block; width: 14px; height: 14px; border: 2px solid currentColor; border-top-color: transparent; border-radius: 50%; animation: aSpin 0.6s linear infinite; vertical-align: -2px; margin-right: 8px; }
@keyframes aSpin { to { transform: rotate(360deg); } }

/* Registrieren: Werbeteil neben dem Formular */
.reg-grid { width: 100%; max-width: 1040px; display: grid; gap: 28px 72px; align-items: center; grid-template-columns: minmax(0, 1fr) 440px; grid-template-areas: "top card" "more card"; }
.reg-top { grid-area: top; align-self: end; }
.reg-more { grid-area: more; align-self: start; }
.reg-card { grid-area: card; justify-self: center; }
.reg-eyebrow { display: inline-block; margin: 0 0 14px; font-size: 12.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-d); }
.reg-top h2 { margin: 0 0 14px; font-size: clamp(28px, 3.8vw, 44px); line-height: 1.1; font-weight: 700; letter-spacing: -0.022em; }
.reg-top h2 span { color: var(--gold-d); }
.reg-top p { margin: 0; color: var(--ink-2); font-size: 17px; line-height: 1.7; max-width: 520px; }
.reg-more { align-self: start; margin-top: 8px; max-width: 520px; }
.reg-sub { margin: -8px 0 22px; color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.reg-card label { margin-top: 20px; }
.reg-card form > label:first-child { margin-top: 0; }
.reg-next-h { margin: 0 0 14px; font-size: 12.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-d); }
.reg-next { margin: 0; padding: 0; list-style: none; display: grid; gap: 0; counter-reset: s; border-top: 1px solid var(--line); }
.reg-next li { counter-increment: s; display: flex; gap: 16px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 16px; font-weight: 600; line-height: 1.45; }
.reg-next li::before { content: counter(s); flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: var(--gold); font-size: 14px; font-weight: 800; }

/* Tarifwahl */
.wide { width: 100%; max-width: 920px; }
.wide h1 { text-align: center; font-size: clamp(28px, 4.4vw, 40px); margin-bottom: 10px; }
.lead { text-align: center; color: var(--ink-2); font-size: 16.5px; line-height: 1.65; max-width: 560px; margin: 0 auto 32px; }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: 28px; overflow: hidden; background: var(--white); }
.plan { position: relative; display: flex; flex-direction: column; padding: clamp(26px, 4vw, 42px); text-align: left; }
.plan + .plan { border-left: 1px solid var(--line); background: linear-gradient(180deg, #FBF6E6, #FFFFFF 72%); }
.plan-badge { position: static; display: inline-block; align-self: flex-start; margin: 0 0 12px; padding: 3px 11px; border-radius: 999px; background: var(--green); color: var(--gold); font-size: 11px; font-weight: 800; letter-spacing: 0.08em; }
.plan h2 { margin: 0 0 4px; font-size: 26px; }
.plan .sub { color: var(--muted); font-size: 15px; margin: 0 0 18px; }
.price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.price .old { color: var(--muted); text-decoration: line-through; font-size: 17px; order: 2; }
.price .now { font-size: clamp(38px, 5vw, 50px); font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.price .per { color: var(--muted); font-size: 14.5px; order: 3; }
.price-note { color: var(--muted); font-size: 13px; margin: 8px 0 22px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 11px; flex: 1; }
.plan li { position: relative; padding-left: 27px; color: var(--ink-2); font-size: 15.5px; line-height: 1.5; }
.plan li::before { content: ""; position: absolute; left: 0; top: 7px; width: 13px; height: 7px; border-left: 2px solid var(--gold-d); border-bottom: 2px solid var(--gold-d); transform: rotate(-45deg); }
.plan .book-btn { margin-top: auto; }
.plan:not(.featured) .book-btn { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.plan:not(.featured) .book-btn:hover:not(:disabled) { background: var(--ink); color: var(--paper); }
.wide .hint { text-align: center; }

/* Marke einrichten */
main.ob { justify-content: flex-start; }
.card.ob-card { max-width: 660px; text-align: left; }
.ob-card h1 { text-align: left; }
p.desc { color: var(--ink-2); font-size: 15.5px; line-height: 1.65; margin: 0 0 8px; }
.ob-card .plan-badge { align-self: auto; margin-bottom: 18px; background: #FBF3D9; color: var(--gold-d); border: 1px solid rgba(142,111,34,0.3); font-size: 12px; text-transform: uppercase; }
.section-label { margin: 34px 0 4px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--gold-d); font-size: 12.5px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.section-label.first { margin-top: 22px; padding-top: 0; border-top: 0; }
.ob-card label .hint { display: block; margin: 2px 0 0; font-weight: 500; font-size: 13px; color: var(--muted); }
.wait { text-align: center; color: var(--ink-2); font-size: 15px; line-height: 1.6; padding: 16px 0; }
.list-spinner-ring { width: 30px; height: 30px; margin: 0 auto 14px; border: 3px solid rgba(11,51,40,0.15); border-top-color: var(--green); border-radius: 50%; animation: aSpin 0.8s linear infinite; }

@media (max-width: 900px) {
  .reg-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "top" "card" "more"; max-width: 480px; gap: 24px; }
  .reg-top { text-align: left; }
  .plans { grid-template-columns: minmax(0, 1fr); }
  .plan + .plan { border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 720px) {
  main { justify-content: flex-start; padding-top: 22px; }
  .card { border-radius: 24px; }
  .atop .awrap { height: 58px; }
  .alogo { width: 92px; }
  .abar .awrap { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) { .card { animation: none; } body { transition: none; } }

/* Einrichtungs-Assistent (onboarding.html) */
.card.wiz-card { max-width: 560px; text-align: left; }
.wiz-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 10px; font-size: 12.5px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-d); }
.wiz-bar { height: 6px; border-radius: 999px; background: var(--paper-2); overflow: hidden; margin: 0 0 26px; }
.wiz-bar i { display: block; height: 100%; width: 0; background: var(--green); border-radius: 999px; transition: width 0.5s cubic-bezier(.22,1,.36,1); }
.wiz-step { display: none; }
.wiz-step.on { display: block; animation: wIn 0.45s cubic-bezier(.22,1,.36,1) both; }
.wiz-step.on.back { animation-name: wInBack; }
@keyframes wIn { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
@keyframes wInBack { from { opacity: 0; transform: translateX(-24px); } to { opacity: 1; transform: none; } }
.wiz-step h1 { margin: 0 0 8px; }
.wiz-lead { margin: 0 0 22px; color: var(--ink-2); font-size: 15.5px; line-height: 1.6; }
.wiz-card label .hint { display: block; margin: 2px 0 0; font-weight: 500; font-size: 13px; color: var(--muted); }
.at-wrap { position: relative; }
.at-wrap > span { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--muted); font-weight: 600; pointer-events: none; }
.at-wrap input { padding-left: 33px !important; }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.sw { width: 40px; height: 40px; padding: 0; border-radius: 50%; border: 2px solid var(--white); box-shadow: 0 0 0 1.5px var(--line); cursor: pointer; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.sw:hover { transform: scale(1.08); }
.sw[aria-pressed="true"] { box-shadow: 0 0 0 3px var(--ink); }
.sw-own { display: inline-flex; align-items: center; gap: 8px; margin-left: 4px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.sw-own input[type="color"] { width: 40px; height: 40px; padding: 2px; border-radius: 50%; }
.logo-row { display: flex; align-items: center; gap: 16px; }
.logo-box { width: 84px; height: 84px; flex: none; display: grid; place-items: center; border: 1.5px dashed var(--line); border-radius: 16px; background: var(--paper); color: var(--muted); font-size: 12.5px; text-align: center; overflow: hidden; }
.logo-box img { max-width: 100%; max-height: 100%; object-fit: contain; }
.btn-ghost { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 22px; border: 1.5px solid var(--ink); border-radius: 999px; background: transparent; color: var(--ink); font: 700 15px var(--sans); cursor: pointer; transition: background 0.2s ease, color 0.2s ease; }
.btn-ghost:hover:not(:disabled) { background: var(--ink); color: var(--paper); }
.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.choices label { position: relative; margin: 0; padding: 16px 16px 14px; border: 1.5px solid var(--line); border-radius: 16px; background: var(--paper); cursor: pointer; transition: border-color 0.2s ease, background 0.2s ease; }
.choices label strong { display: block; font-size: 17px; }
.choices label span { display: block; margin-top: 2px; font-size: 13px; font-weight: 500; color: var(--muted); line-height: 1.45; }
.choices input { position: absolute; opacity: 0; pointer-events: none; }
.choices label:has(input:checked) { border-color: var(--green); background: #fff; box-shadow: 0 0 0 1.5px var(--green); }
.choices label:has(input:focus-visible) { outline: 2px solid var(--green); outline-offset: 2px; }
.wiz-actions { display: flex; flex-direction: row-reverse; gap: 12px; margin-top: 28px; }
.wiz-actions .btn-solid { margin-top: 0; width: auto; flex: 1; }
.pv-frame { position: relative; width: 100%; max-width: 330px; margin: 0 auto; aspect-ratio: 3 / 4; border-radius: 18px; overflow: hidden; background: var(--paper-2); box-shadow: 0 24px 44px -26px rgba(11,42,33,0.45); display: grid; place-items: center; }
.pv-frame img { width: 100%; height: 100%; object-fit: cover; animation: aIn 0.6s cubic-bezier(.22,1,.36,1) both; }
.pv-wait { text-align: center; color: var(--ink-2); font-size: 14.5px; padding: 20px; }
.pv-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 18px 0 4px; }
.chip { min-height: 38px; padding: 0 16px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--white); color: var(--ink-2); font: 600 14px var(--sans); cursor: pointer; transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease; }
.chip:hover:not(:disabled) { border-color: var(--green); }
.chip[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: var(--gold); }
.pv-note { margin: 14px 0 0; text-align: center; color: var(--muted); font-size: 13px; line-height: 1.55; }
.pay-brand { margin: 0 0 14px; padding: 12px 14px; border-radius: 14px; background: #FBF3D9; color: var(--ink-2); font-size: 14.5px; }
.tarif-pv { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 0 auto 26px; }
.tarif-pv img { width: 84px; border-radius: 10px; box-shadow: 0 10px 22px -12px rgba(11,42,33,0.5); }
.tarif-pv a { font-size: 14.5px; font-weight: 600; color: var(--ink-2); }
@media (max-width: 560px) { .choices { grid-template-columns: 1fr; } .wiz-actions { flex-direction: column-reverse; } .wiz-actions .btn-ghost { width: 100%; } }
@media (prefers-reduced-motion: reduce) { .wiz-step.on, .pv-frame img { animation: none; } .wiz-bar i { transition: none; } }

/* Custom-Design-Hinweis rechts neben der Vorschau (Schritt 3), auf dem Handy darunter */
.card.wiz-card { transition: max-width 0.45s cubic-bezier(.22,1,.36,1); }
.card.wiz-card.wide3 { max-width: 920px; }
.pv-layout { display: grid; grid-template-columns: minmax(0, 330px) minmax(0, 1fr); gap: 40px; align-items: start; }
.pv-main { min-width: 0; }
.cust { min-width: 0; padding: 22px; border: 1px solid var(--line); border-radius: 20px; background: linear-gradient(180deg, #FBF6E6, #FFFFFF 70%); text-align: left; }
.cust-k { margin: 0 0 6px; font-size: 12.5px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-d); }
.cust h2 { margin: 0 0 6px; font-size: 20px; line-height: 1.25; }
.cust p { margin: 0 0 14px; color: var(--ink-2); font-size: 14.5px; line-height: 1.6; }
.cust-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0 0 14px; }
.cust-grid img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 10px; background: var(--paper-2); box-shadow: 0 8px 18px -12px rgba(11,42,33,0.5); }
.cust a { font-size: 14.5px; font-weight: 700; color: var(--gold-d); }
@media (max-width: 800px) { .pv-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; } .cust-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 560px) { .cust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (prefers-reduced-motion: reduce) { .card.wiz-card { transition: none; } }

/* Prüfen-Schritt nach der Zahlung */
.sum { margin: 0 0 6px; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.sum li { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.sum b { display: block; font-size: 13px; color: var(--muted); font-weight: 700; }
.sum span { display: block; margin-top: 2px; font-size: 15px; line-height: 1.5; color: var(--ink); overflow-wrap: anywhere; }
.sum button { flex: none; border: 0; background: none; padding: 2px 0; color: var(--gold-d); font: 700 14px var(--sans); cursor: pointer; text-decoration: underline; }

/* ---------- auth-5: positive Rückmeldung im Einrichtungsweg (14.11.2026) ---------- */
/* Weg-Leiste über alle Einrichtungsseiten: <ol class="weg" data-at="N"> mit fünf <li> (Konto, Marke, Vorschau, Tarif, Los geht's).
   data-at = aktueller Schritt (1–5), 6 = alles erledigt. Erledigte Punkte bekommen einen Haken, der aktuelle einen goldenen Ring. */
.weg { list-style: none; display: flex; width: 100%; max-width: 560px; margin: 0 auto 22px; padding: 0; counter-reset: w; }
.weg li { flex: 1; counter-increment: w; position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 700; line-height: 1.2; color: var(--muted); text-align: center; }
.weg li::before { content: counter(w); position: relative; z-index: 1; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--paper-2); border: 1.5px solid var(--line); color: var(--muted); font-size: 12px; font-weight: 800; transition: background 0.4s ease, color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease; }
.weg li::after { content: ""; position: absolute; top: 12px; left: calc(50% + 15px); right: calc(-50% + 15px); height: 2px; border-radius: 2px; background: var(--line); transition: background 0.5s ease; }
.weg li:last-child::after { display: none; }
.weg[data-at="2"] li:nth-child(-n+1), .weg[data-at="3"] li:nth-child(-n+2), .weg[data-at="4"] li:nth-child(-n+3), .weg[data-at="5"] li:nth-child(-n+4), .weg[data-at="6"] li { color: var(--ink-2); }
.weg[data-at="2"] li:nth-child(-n+1)::before, .weg[data-at="3"] li:nth-child(-n+2)::before, .weg[data-at="4"] li:nth-child(-n+3)::before, .weg[data-at="5"] li:nth-child(-n+4)::before, .weg[data-at="6"] li::before { content: "✓"; background: var(--green); border-color: var(--green); color: var(--gold); }
.weg[data-at="2"] li:nth-child(-n+1)::after, .weg[data-at="3"] li:nth-child(-n+2)::after, .weg[data-at="4"] li:nth-child(-n+3)::after, .weg[data-at="5"] li:nth-child(-n+4)::after, .weg[data-at="6"] li::after { background: var(--green); }
.weg[data-at="1"] li:nth-child(1), .weg[data-at="2"] li:nth-child(2), .weg[data-at="3"] li:nth-child(3), .weg[data-at="4"] li:nth-child(4), .weg[data-at="5"] li:nth-child(5) { color: var(--ink); }
.weg[data-at="1"] li:nth-child(1)::before, .weg[data-at="2"] li:nth-child(2)::before, .weg[data-at="3"] li:nth-child(3)::before, .weg[data-at="4"] li:nth-child(4)::before, .weg[data-at="5"] li:nth-child(5)::before { background: var(--gold); border-color: var(--gold-d); color: var(--green); box-shadow: 0 0 0 4px rgba(245,224,163,0.5); }
@media (max-width: 520px) {
  .weg li { font-size: 0; gap: 0; }
  .weg[data-at="1"] li:nth-child(1), .weg[data-at="2"] li:nth-child(2), .weg[data-at="3"] li:nth-child(3), .weg[data-at="4"] li:nth-child(4), .weg[data-at="5"] li:nth-child(5) { font-size: 11px; gap: 5px; }
}
.weg-k { display: block; margin: -12px auto 18px; text-align: center; font-size: 12px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-d); }

/* Kurze Bestätigung zwischen zwei Schritten („Schön, … Jetzt Ihr Look.“) */
.yay { position: fixed; left: 50%; top: 84px; z-index: 80; display: flex; align-items: center; gap: 10px; max-width: calc(100vw - 32px); padding: 11px 18px 11px 12px; border-radius: 999px; background: var(--green); color: #fff; font-size: 14.5px; font-weight: 700; box-shadow: 0 18px 36px rgba(11,42,33,0.3); transform: translate(-50%, -14px); opacity: 0; pointer-events: none; transition: opacity 0.3s ease, transform 0.4s cubic-bezier(.22,1,.36,1); }
.yay.on { opacity: 1; transform: translate(-50%, 0); }
.yay i { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--green); font-style: normal; font-weight: 900; font-size: 13px; }
.ok-banner { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; padding: 11px 14px; border-radius: 14px; background: #EAF2E6; border: 1px solid rgba(11,51,40,0.18); color: var(--green); font-size: 14.5px; font-weight: 600; line-height: 1.45; animation: aIn 0.5s cubic-bezier(.22,1,.36,1) both; }
.ok-banner i { flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: var(--gold); font-style: normal; font-weight: 900; font-size: 12px; }

/* Checkliste während der Einrichtung nach der Zahlung */
.setup-list { list-style: none; margin: 18px auto 0; padding: 0; max-width: 340px; text-align: left; display: grid; gap: 12px; }
.setup-list li { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 15px; font-weight: 600; transition: color 0.3s ease; }
.setup-list li::before { content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line); box-sizing: border-box; transition: all 0.3s ease; }
.setup-list li.run { color: var(--ink); }
.setup-list li.run::before { border-color: var(--green); border-top-color: transparent; animation: spinS 0.8s linear infinite; }
.setup-list li.ok { color: var(--ink); }
.setup-list li.ok::before { content: "✓"; display: grid; place-items: center; border: 0; background: var(--green); color: var(--gold); font-size: 12px; font-weight: 900; animation: popS 0.35s cubic-bezier(.22,1,.36,1); }
@keyframes spinS { to { transform: rotate(360deg); } }
@keyframes popS { from { transform: scale(0.4); } to { transform: none; } }

/* Feiermoment: kurzes Konfetti (nur CSS, einmalig) und Glanz auf dem Haken */
.konfetti { position: fixed; inset: 0; pointer-events: none; z-index: 70; overflow: hidden; }
.konfetti i { position: absolute; top: -12px; width: 8px; height: 13px; border-radius: 2px; opacity: 0; animation: fall 2.6s cubic-bezier(.25,.7,.5,1) forwards; }
.konfetti i:nth-child(4n+1) { background: var(--gold); } .konfetti i:nth-child(4n+2) { background: var(--green); } .konfetti i:nth-child(4n+3) { background: #C9A64A; } .konfetti i:nth-child(4n) { background: #D9E1D2; }
@keyframes fall { 0% { opacity: 1; transform: translate(0, 0) rotate(0); } 85% { opacity: 1; } 100% { opacity: 0; transform: translate(var(--dx, 0px), 92vh) rotate(var(--r, 540deg)); } }
.ob-check.feier { animation: glanz 1.4s ease 0.2s both; }
@keyframes glanz { 0% { transform: scale(0.5); opacity: 0; } 45% { transform: scale(1.15); opacity: 1; box-shadow: 0 0 0 0 rgba(245,224,163,0.9); } 100% { transform: none; box-shadow: 0 0 0 22px rgba(245,224,163,0); } }
.pv-frame img.neu { animation: pvIn 0.7s cubic-bezier(.22,1,.36,1) both; }
@keyframes pvIn { from { opacity: 0; transform: translateY(14px) scale(0.97); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .konfetti { display: none; }
  .ob-check.feier, .pv-frame img.neu, .ok-banner, .setup-list li.ok::before { animation: none; }
  .setup-list li.run::before { animation-duration: 2.4s; }
  .yay { transition: none; }
}
.ob-check { width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #f6edd0; color: #8E6F22; }
.ob-check svg { width: 30px; height: 30px; }
.tarif-pv-t { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; text-align: left; }
.tarif-pv-t b { font-size: 15px; color: var(--ink); }
.tarif-pv-t b::before { content: "✓ "; color: var(--green); }
.tarif-sicher { margin: 18px 0 0; text-align: center; font-size: 13.5px; font-weight: 600; color: var(--muted); }
.resend { margin-top: 14px; text-align: center; }
.resend .btn-ghost { width: 100%; }
.resend .field-hint { margin: 8px 0 0; }
