/* ============================================================================
   MEIN WEG NEU – ENTWURF (lino/mein-weg-neu). Nur aktiv mit Schalter (siehe weg-neu.js).
   Der ganze Weg als ruhige Karte im Stellio-Stil: helle Fläche mit feinen Höhenlinien,
   ein Pfad mit gestrichelter Spur, flache runde Stationen mit kräftigem Ring.
   ============================================================================ */
.wn {
  --wn-bg: #F7F3EC; --wn-card: #FBF8F2; --wn-sec: #EDE2D5; --wn-line: #E3D8CA;
  --wn-btn: #8A7765; --wn-btn-d: #6C5C4D; --wn-ink: #302923; --wn-ink2: #756B63;
  --wn-ok: #3F8F60; --wn-ok-l: #DCEDE2; --wn-now: #2563EB; --wn-now-l: #E4ECFD;
  color: var(--wn-ink); padding: 2px 0 40px;
}
body:has(#page-myway.active.wn-on)::before { background-image: none; }
.content-inner:has(#page-myway.active.wn-on) { max-width: 1290px; }
#page-myway.wn-on .myway-layout, #page-myway.wn-on #mwc-root { display: none !important; }

.c-sand { --cc: #B9915F; --cd: #8F6D42; --cc2: #F3E9DA; }
.c-sage { --cc: #5F9070; --cd: #466F54; --cc2: #E3EEE6; }
.c-sky  { --cc: #5D8DBB; --cd: #426E97; --cc2: #E2ECF6; }
.c-clay { --cc: #BF7656; --cd: #995A3E; --cc2: #F5E5DC; }
.c-plum { --cc: #8A75A2; --cd: #6A5781; --cc2: #ECE6F2; }
.c-gold { --cc: #BF8F2E; --cd: #96701F; --cc2: #F6ECD3; }

/* Kapitel-Übersicht oben */
.wn-nav { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; margin-bottom: 18px; }
.wn-nav-i { display: flex; flex-direction: column; gap: 6px; text-align: left; border: 1px solid var(--wn-line); background: var(--wn-card); border-radius: 18px; padding: 12px; font: inherit; color: var(--wn-ink); cursor: pointer; min-height: 112px; transition: border-color .15s, transform .15s, box-shadow .15s; }
.wn-nav-i:hover { border-color: #CDBFAE; transform: translateY(-1px); box-shadow: 0 6px 16px rgba(48, 41, 35, .06); }
.wn-nav-top { display: flex; align-items: center; justify-content: space-between; }
.wn-nav-top small { font-size: 12px; font-weight: 800; color: var(--wn-ink2); }
.wn-nav-ico { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--cc2); color: var(--cd); }
.wn-nav-i b { font-size: 13.5px; line-height: 1.25; flex: 1; }
.wn-nav-bar { height: 5px; border-radius: 5px; background: #EDE5DA; overflow: hidden; }
.wn-nav-bar i { display: block; height: 100%; background: var(--cc); border-radius: inherit; }
.wn-nav-s { font-size: 11.5px; font-weight: 700; color: var(--wn-ink2); }
.wn-nav-i.is-done .wn-nav-ico { background: var(--wn-ok); color: #fff; }
.wn-nav-i.is-done .wn-nav-bar i { background: var(--wn-ok); }
.wn-nav-i.is-current { border: 2px solid var(--wn-now); padding: 11px; background: #fff; }
.wn-nav-i.is-current .wn-nav-ico { background: var(--wn-now); color: #fff; }
.wn-nav-i.is-current .wn-nav-s { color: var(--wn-now); }
.wn-nav-i.is-locked { background: #F5F0E9; }
.wn-nav-i.is-locked .wn-nav-ico { background: #ECE5DB; color: #AA9C8B; }
.wn-nav-i.is-locked b { color: var(--wn-ink2); }
.wn-nav-i.is-skipped { border-style: dashed; }

.wn-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 22px; align-items: start; }
.wn-main { min-width: 0; }

/* Die Karte */
.wn-map { position: relative; border-radius: 28px; overflow: hidden; border: 1px solid var(--wn-line);
  background-color: #FBF8F2;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='520' height='360' viewBox='0 0 520 360'%3E%3Cg fill='none' stroke='%23EFE7DC' stroke-width='1.4'%3E%3Cpath d='M-20 60c80-40 160 30 250 0s170-50 300-10'/%3E%3Cpath d='M-20 92c90-36 170 32 252 4s176-46 298-8'/%3E%3Cpath d='M-20 210c70 30 150-30 240 0s180 60 320 20'/%3E%3Cpath d='M-20 244c78 26 160-26 244 2s172 52 316 16'/%3E%3Cpath d='M60 330c40-30 110-34 150-4s90 24 130-6'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 520px 360px; }
.wn-canvas { position: relative; margin: 0 28px; }
.wn-region { position: absolute; left: -28px; right: -28px; background: radial-gradient(60% 50% at 50% 50%, var(--cc2) 0%, rgba(251, 248, 242, 0) 100%); opacity: .75; pointer-events: none; }
.wn-region.is-locked { opacity: .35; }
.wn-curve { position: absolute; left: 0; top: 0; overflow: visible; pointer-events: none; }
.wn-curve path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.wn-road { stroke: #EEE5D9; stroke-width: 18; }
.wn-road-done { stroke: var(--wn-ok-l); stroke-width: 18; }
.wn-trail { stroke: #C9B9A5; stroke-width: 2.5; stroke-dasharray: 2 9; }
.wn-trail-done { stroke: var(--wn-ok); stroke-width: 3.5; }

/* Stationen */
.wn-node { position: absolute; width: var(--sz); height: var(--sz); transform: translate(-50%, -50%); border: 0; padding: 0; background: none; border-radius: 50%; cursor: pointer; z-index: 2; -webkit-tap-highlight-color: transparent; }
.wn-ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.wn-ring circle { fill: none; stroke: var(--cc); stroke-width: 7; stroke-linecap: round; }
.wn-dot { position: absolute; inset: 9px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--cd); box-shadow: 0 4px 12px rgba(48, 41, 35, .10); transition: transform .15s ease, box-shadow .15s ease; }
.wn-node:hover .wn-dot { transform: scale(1.05); box-shadow: 0 6px 16px rgba(48, 41, 35, .14); }
.wn-node:active .wn-dot { transform: scale(.97); }
.wn-node:focus-visible { outline: 3px solid var(--wn-now); outline-offset: 4px; }
.wn-node.is-done .wn-ring circle { stroke: var(--wn-ok); }
.wn-node.is-done .wn-dot { background: var(--wn-ok); color: #fff; }
.wn-node.is-current .wn-ring circle { stroke: var(--wn-now); }
.wn-node.is-current .wn-dot { background: var(--wn-now); color: #fff; box-shadow: 0 6px 18px rgba(37, 99, 235, .32); }
.wn-node.is-current::before { content: ""; position: absolute; inset: -9px; border-radius: 50%; border: 2px solid rgba(37, 99, 235, .25); animation: wnHalo 2.4s ease-in-out infinite; }
.wn-node.is-locked { cursor: default; }
.wn-node.is-locked .wn-ring circle { stroke: #E4DACD; }
.wn-node.is-locked .wn-dot { background: #F5F0E9; color: #B1A391; box-shadow: none; }
.wn-node.is-locked:hover .wn-dot { transform: none; }
.wn-node.is-skipped .wn-ring circle { stroke: #D6C9B9; stroke-dasharray: 3 6 !important; stroke-width: 4; }
.wn-node.is-skipped .wn-dot { background: #F7F3EC; color: #9C8F81; box-shadow: none; }
.wn-node.is-opt.is-open .wn-ring circle { stroke-dasharray: 5 6 !important; }

.wn-lbl { position: absolute; z-index: 1; transform: translateY(-50%); display: flex; flex-direction: column; gap: 2px; pointer-events: none; }
.wn-lbl.is-l { text-align: right; align-items: flex-end; }
.wn-lbl b { font-size: 15.5px; line-height: 1.25; font-weight: 700; }
.wn-lbl span { font-size: 12.5px; color: var(--wn-ink2); }
.wn-lbl.is-locked b { color: #9C8F81; font-weight: 600; }
.wn-lbl.is-locked span { color: #AFA294; }
.wn-lbl.is-done span { color: var(--wn-ok); font-weight: 600; }
.wn-lbl.is-skipped b { color: var(--wn-ink2); text-decoration: line-through; text-decoration-color: rgba(117, 107, 99, .45); }
.wn-now { align-self: flex-start; font-style: normal; font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: #fff; background: var(--wn-now); padding: 3px 8px; border-radius: 999px; margin-bottom: 2px; }
.wn-lbl.is-l .wn-now { align-self: flex-end; }
.wn-lbl.is-current b { color: var(--wn-now); }

/* Kapitel-Schild auf dem Weg */
.wn-sign { position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 20px; background: #fff; border: 1px solid var(--wn-line); box-shadow: 0 8px 24px rgba(48, 41, 35, .07); scroll-margin-top: 90px; }
.wn-sign-ico { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--cc2); color: var(--cd); flex: none; }
.wn-sign-t { flex: 1; min-width: 0; }
.wn-sign-t small { display: block; font-size: 11.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--cd); }
.wn-sign-t b { display: block; font-size: 17px; line-height: 1.25; margin: 1px 0; }
.wn-sign-t span { display: block; font-size: 13px; color: var(--wn-ink2); line-height: 1.35; }
.wn-sign-p { display: flex; flex-direction: column; align-items: center; gap: 2px; flex: none; }
.wn-sign-pr { position: relative; width: 40px; height: 40px; }
.wn-sign-p small { font-size: 11.5px; font-weight: 800; color: var(--wn-ink2); }
.wn-sign-btn { border: 1px solid var(--wn-line); background: var(--wn-card); border-radius: 12px; padding: 8px 12px; font: inherit; font-size: 13px; font-weight: 700; color: var(--wn-ink); cursor: pointer; flex: none; }
.wn-sign.is-done .wn-sign-ico { background: var(--wn-ok); color: #fff; }
.wn-sign.is-done .wn-sign-t small { color: var(--wn-ok); }
.wn-sign.is-current { border: 2px solid var(--wn-now); }
.wn-sign.is-current .wn-sign-t small { color: var(--wn-now); }
.wn-sign.is-locked { background: #F8F4EE; box-shadow: none; }
.wn-sign.is-locked .wn-sign-ico { background: #EEE7DD; color: #AA9C8B; }
.wn-sign.is-locked .wn-sign-t small { color: #A39584; }
.wn-sign.is-skipped { border-style: dashed; background: #FCFAF6; box-shadow: none; }
.wn-ring.is-prog circle { stroke-width: 10; }
.wn-ring.is-prog .t { stroke: #EEE6DB; }
.wn-ring.is-prog .v { stroke: var(--cc); stroke-linecap: round; }
.wn-sign.is-done .wn-ring.is-prog .v { stroke: var(--wn-ok); }
.wn-sign.is-current .wn-ring.is-prog .v { stroke: var(--wn-now); }

.wn-finish { position: absolute; width: var(--sz); height: var(--sz); transform: translate(-50%, -50%); z-index: 2; }
.wn-finish .wn-dot { inset: 0; background: #fff; color: var(--wn-btn); border: 3px dashed #D6C9B9; box-shadow: none; }
.wn-finish.is-done .wn-dot { background: #D9A93D; color: #fff; border: 0; }
.wn-lbl.is-finish b { font-size: 15px; }

.wn-pop .wn-dot { animation: wnPop .6s ease; }

/* Seitenleiste */
.wn-side { position: sticky; top: 16px; display: grid; gap: 14px; }
.wn-card { background: var(--wn-card); border: 1px solid var(--wn-line); border-radius: 22px; padding: 16px; }
.wn-eyebrow { display: block; font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--wn-ink2); }
.wn-nextc { position: relative; background: #fff; border-color: #D9E3FA; }
.wn-nextc-fig { position: absolute; right: 8px; top: -6px; pointer-events: none; }
.wn-nextc-t { display: block; font-size: 18px; line-height: 1.25; margin: 8px 70px 4px 0; }
.wn-nextc-m { display: block; font-size: 12.5px; color: var(--wn-ink2); }
.wn-nextc p { margin: 10px 0 14px; font-size: 13.5px; line-height: 1.5; color: var(--wn-ink2); }
.wn-nextc-act { display: grid; gap: 6px; }
.wn-primary { width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 14px; background: var(--wn-btn); color: #fff; font: inherit; font-weight: 800; font-size: 15px; padding: 13px 16px; cursor: pointer; min-height: 50px; }
.wn-primary:hover { background: var(--wn-btn-d); }
.wn-primary:focus-visible, .wn-nav-i:focus-visible, .wn-sign-btn:focus-visible { outline: 3px solid var(--wn-now); outline-offset: 2px; }
.wn-tlink { display: inline-flex; align-items: center; justify-content: center; gap: 5px; border: 0; background: none; font: inherit; font-size: 13.5px; font-weight: 700; color: var(--wn-btn); cursor: pointer; padding: 8px 4px; }
.wn-tlink:hover { color: var(--wn-ink); }
.wn-goalc { display: flex; gap: 14px; align-items: center; }
.wn-goalc-top { position: relative; width: 62px; height: 62px; flex: none; display: grid; place-items: center; --cc: var(--wn-ok); }
.wn-goalc-top b { font-size: 14px; }
.wn-goalc > div:last-child b { display: block; font-size: 15.5px; margin: 3px 0 2px; }
.wn-goalc > div:last-child span { font-size: 12px; color: var(--wn-ink2); }
.wn-legend ul { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 8px; font-size: 13px; color: var(--wn-ink2); }
.wn-legend li { display: flex; align-items: center; gap: 10px; }
.wn-ring.mini { position: static; width: 22px; height: 22px; flex: none; }
.wn-ring.mini circle { stroke: var(--wn-btn); stroke-width: 12; }
.wn-mdot { width: 22px; height: 22px; border-radius: 50%; display: inline-grid; place-items: center; color: #fff; background: var(--wn-ok); flex: none; }
.wn-mdot.is-now { background: var(--wn-now); }
.wn-mdot.is-lock { background: #EEE7DD; color: #A99B8A; }
.wn-prefs { display: flex; flex-direction: column; gap: 10px; }
.wn-xp { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: #7A5A12; }
.wn-switch { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; cursor: pointer; }
.wn-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.wn-sw { width: 40px; height: 24px; border-radius: 999px; background: #DED2C5; position: relative; transition: background .2s; flex: none; }
.wn-sw::after { content: ""; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .2s; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); }
.wn-switch input:checked + .wn-sw { background: var(--wn-ok); }
.wn-switch input:checked + .wn-sw::after { transform: translateX(16px); }
.wn-switch input:focus-visible + .wn-sw { outline: 3px solid var(--wn-now); outline-offset: 2px; }

@keyframes wnHalo { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.08); opacity: .35; } }
@keyframes wnPop { 0% { transform: scale(.75); } 60% { transform: scale(1.1); } 100% { transform: scale(1); } }

.wn-foot { margin-top: 22px; text-align: center; font-size: 12.5px; color: var(--wn-ink2); }
.wn-link { border: 0; background: none; padding: 6px 4px; font: inherit; font-weight: 600; color: var(--wn-btn); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; display: inline-flex; align-items: center; gap: 4px; }
.wn-link:hover { color: var(--wn-ink); }

@media (max-width: 1100px) {
  .wn-grid { grid-template-columns: 1fr; }
  .wn-side { position: static; order: -1; grid-template-columns: 1.4fr 1fr; }
  .wn-legend { display: none; }
  .wn-prefs { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; padding: 10px 16px; }
  .wn-nav { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Blatt (geführte Aufgabe) */
.wn-noscroll { overflow: hidden; }
#wn-sheet { position: fixed; inset: 0; z-index: 400; display: grid; place-items: center; }
.wn-sh-bg { position: absolute; inset: 0; background: rgba(48, 41, 35, .38); animation: wnFade .2s ease; }
.wn-sh { position: relative; width: min(560px, calc(100vw - 32px)); max-height: min(760px, calc(100vh - 40px)); overflow: auto; background: #F7F3EC; border-radius: 26px; box-shadow: 0 24px 60px rgba(48, 41, 35, .3); animation: wnUp .25s ease; color: #302923; display: flex; flex-direction: column; }
.wn-sh-head { display: flex; align-items: center; gap: 12px; padding: 18px 18px 10px; }
.wn-sh-ico { width: 46px; height: 46px; border-radius: 14px; background: var(--cc2); color: var(--cc); display: grid; place-items: center; flex: none; }
.wn-sh-head small { font-size: 12px; color: #756B63; font-weight: 600; }
.wn-sh-head h2 { margin: 1px 0 0; font-size: 19px; line-height: 1.2; }
.wn-sh-head > div { flex: 1; min-width: 0; }
.wn-x { width: 40px; height: 40px; border-radius: 50%; border: 0; background: #EDE2D5; color: #302923; cursor: pointer; display: grid; place-items: center; flex: none; }
.wn-x:hover { background: #E5D5C5; }
.wn-dots { display: flex; gap: 6px; padding: 0 18px 4px 76px; }
.wn-dots i { height: 5px; flex: 1; max-width: 60px; border-radius: 5px; background: #E5D5C5; }
.wn-dots i.on { background: var(--cc); }
.wn-sh-body { padding: 8px 18px 14px; flex: 1; }
.wn-q { font-size: 21px; line-height: 1.25; margin: 6px 0 6px; }
.wn-sub { margin: 0 0 14px; color: #756B63; font-size: 14.5px; line-height: 1.45; }
.wn-center { text-align: center; }
.wn-opts { display: grid; gap: 10px; }
.wn-opts.is-multi { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.wn-opt { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; min-height: 56px; padding: 12px 16px; border-radius: 16px; border: 1.5px solid #DED2C5; background: #FBF8F2; font: inherit; font-size: 15.5px; font-weight: 600; color: #302923; cursor: pointer; transition: background .15s, border-color .15s, transform .1s; box-shadow: 0 3px 0 #E5D5C5; }
.wn-opt:hover { background: #fff; border-color: var(--cc); }
.wn-opt:active { transform: translateY(2px); box-shadow: 0 1px 0 #E5D5C5; }
.wn-opt:focus-visible { outline: 3px solid #2563EB; outline-offset: 2px; }
.wn-opt-box { width: 22px; height: 22px; border-radius: 50%; border: 2px solid #DED2C5; display: grid; place-items: center; color: transparent; flex: none; }
.wn-opts.is-multi .wn-opt-box { border-radius: 7px; }
.wn-opt.is-on { border-color: var(--cc); background: var(--cc2); }
.wn-opt.is-on .wn-opt-box { background: var(--cc); border-color: var(--cc); color: #fff; }
.wn-opt.is-primary { background: #8A7765; border-color: #8A7765; color: #fff; justify-content: space-between; box-shadow: 0 3px 0 #6E5E4F; }
.wn-opt.is-primary .wn-opt-box { display: none; }
.wn-opts:not(.is-multi):not([role]) .wn-opt-box { display: none; }
.wn-row { display: flex; justify-content: flex-end; margin-top: 14px; }
.wn-row.is-left { justify-content: flex-start; }
.wn-btn { border: 0; border-radius: 14px; background: #8A7765; color: #fff; font: inherit; font-weight: 700; font-size: 15px; padding: 13px 22px; cursor: pointer; box-shadow: 0 3px 0 #6E5E4F; min-height: 48px; }
.wn-btn:hover { filter: brightness(1.06); }
.wn-btn.is-sm { padding: 9px 14px; min-height: 40px; font-size: 14px; }
.wn-help { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.wn-chipbtn { border: 1px solid #DED2C5; background: transparent; border-radius: 999px; padding: 8px 12px; font: inherit; font-size: 13px; font-weight: 600; color: #756B63; cursor: pointer; }
.wn-chipbtn:hover { background: #EDE2D5; color: #302923; }
.wn-helpbox { margin-top: 12px; padding: 12px 14px; border-radius: 14px; background: #EDE2D5; font-size: 14px; line-height: 1.45; }
.wn-helpbox.is-err { background: #F7E1DA; color: #8A3A22; }
.wn-info { background: #FBF8F2; border: 1px solid #DED2C5; border-radius: 16px; padding: 4px 16px; margin-bottom: 14px; font-size: 14.5px; line-height: 1.5; }
.wn-ul { padding-left: 18px; margin: 12px 0; }
.wn-ul li { margin: 6px 0; }
.wn-inp { display: flex; gap: 8px; margin-top: 12px; }
.wn-inp input { flex: 1; min-width: 0; border: 1.5px solid #DED2C5; border-radius: 14px; padding: 12px 14px; font: inherit; font-size: 15px; background: #fff; }
.wn-inp input:focus { outline: none; border-color: #2563EB; }
.wn-facts { margin: 0 0 14px; display: grid; gap: 0; background: #FBF8F2; border: 1px solid #DED2C5; border-radius: 16px; overflow: hidden; }
.wn-facts div { display: flex; justify-content: space-between; gap: 12px; padding: 11px 14px; border-top: 1px solid #EDE2D5; font-size: 14.5px; }
.wn-facts div:first-child { border-top: 0; }
.wn-facts dt { color: #756B63; }
.wn-facts dd { margin: 0; font-weight: 700; text-align: right; }
.wn-toolcard { display: flex; gap: 12px; align-items: center; padding: 14px; border-radius: 16px; background: var(--cc2); color: #302923; margin-bottom: 14px; }
.wn-toolcard > svg { color: var(--cc); flex: none; }
.wn-toolcard b { display: block; }
.wn-toolcard small { color: #756B63; font-size: 13px; line-height: 1.4; }
.wn-empty { text-align: center; padding: 10px 0 6px; color: #756B63; }
.wn-empty.is-ok > svg { color: #5E9C6E; }
.wn-drop { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 28px 16px; border: 2px dashed #DED2C5; border-radius: 18px; background: #FBF8F2; cursor: pointer; text-align: center; color: #756B63; }
.wn-drop:hover { border-color: var(--cc); background: #fff; }
.wn-drop b { color: #302923; }
.wn-drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.wn-drop:focus-within { outline: 3px solid #2563EB; outline-offset: 2px; }
.wn-scan { position: relative; width: 160px; height: 210px; margin: 6px auto 14px; border-radius: 12px; overflow: hidden; background: #fff; border: 1px solid #DED2C5; display: grid; place-items: center; }
.wn-scan img { width: 100%; height: 100%; object-fit: cover; }
.wn-pdf { display: grid; place-items: center; gap: 4px; color: #C47F5E; }
.wn-scanline { position: absolute; left: 0; right: 0; height: 3px; top: 0; background: #2563EB; box-shadow: 0 0 14px 4px rgba(37, 99, 235, .35); opacity: 0; }
.wn-scan.is-run .wn-scanline { opacity: 1; animation: wnScan 1.2s ease-in-out infinite; }
.wn-sh-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 10px 14px 14px; border-top: 1px solid #EDE2D5; font-size: 13.5px; }
.wn-foot-r { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }

/* Abschluss */
.wn-done { text-align: center; padding: 10px 0 4px; position: relative; }
.wn-done-ring { position: relative; width: 110px; height: 110px; margin: 6px auto 6px; display: grid; place-items: center; color: #fff; }
.wn-done-ring::before { content: ""; position: absolute; inset: 12px; border-radius: 50%; background: #5E9C6E; animation: wnPop .5s ease .5s both; }
.wn-done-ring > svg:last-child { position: relative; animation: wnPop .5s ease .6s both; }
.wn-done-ring svg:first-child { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.wn-done-ring circle { fill: none; stroke: #5E9C6E; stroke-width: 6; stroke-linecap: round; stroke-dasharray: 277; stroke-dashoffset: 277; animation: wnFill .6s ease forwards; }
.wn-xpgain { display: inline-flex; align-items: center; gap: 6px; margin: 2px 0 8px; padding: 6px 12px; border-radius: 999px; background: #F6ECD3; color: #7A5A12; font-weight: 800; animation: wnUp .4s ease .8s both; }
.wn-done .wn-row { justify-content: center; }
.wn-confetti { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.wn-confetti i { position: absolute; top: 40%; left: 50%; width: 8px; height: 8px; border-radius: 2px; background: var(--cc); opacity: 0; animation: wnBurst 1.1s ease-out .55s forwards; }
.wn-confetti i:nth-child(3n) { background: #2563EB; border-radius: 50%; }
.wn-confetti i:nth-child(3n+1) { background: #5E9C6E; }
.wn-confetti i:nth-child(1) { --dx: -150px; --dy: -90px; } .wn-confetti i:nth-child(2) { --dx: 150px; --dy: -80px; }
.wn-confetti i:nth-child(3) { --dx: -110px; --dy: 40px; } .wn-confetti i:nth-child(4) { --dx: 120px; --dy: 50px; }
.wn-confetti i:nth-child(5) { --dx: -60px; --dy: -120px; } .wn-confetti i:nth-child(6) { --dx: 70px; --dy: -125px; }
.wn-confetti i:nth-child(7) { --dx: -180px; --dy: -20px; } .wn-confetti i:nth-child(8) { --dx: 185px; --dy: -10px; }
.wn-confetti i:nth-child(9) { --dx: -30px; --dy: 80px; } .wn-confetti i:nth-child(10) { --dx: 40px; --dy: 85px; }
.wn-confetti i:nth-child(11) { --dx: -130px; --dy: -140px; } .wn-confetti i:nth-child(12) { --dx: 135px; --dy: -145px; }
.wn-confetti i:nth-child(13) { --dx: -200px; --dy: 60px; } .wn-confetti i:nth-child(14) { --dx: 200px; --dy: 70px; }
@keyframes wnFill { to { stroke-dashoffset: 0; } }
@keyframes wnBurst { 0% { opacity: 1; transform: translate(0, 0) rotate(0); } 100% { opacity: 0; transform: translate(var(--dx), var(--dy)) rotate(220deg); } }
@keyframes wnScan { 0% { top: 0; } 50% { top: calc(100% - 3px); } 100% { top: 0; } }
@keyframes wnFade { from { opacity: 0; } }
@keyframes wnUp { from { opacity: 0; transform: translateY(14px); } }

/* Zurück-Balken in den Werkzeugen */
#wn-backbar { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 300; display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 12px; border-radius: 18px; background: #302923; color: #fff; box-shadow: 0 12px 30px rgba(0, 0, 0, .25); max-width: calc(100vw - 24px); animation: wnUp .3s ease; }
.wn-bb-ico { width: 34px; height: 34px; border-radius: 10px; background: rgba(255, 255, 255, .12); display: grid; place-items: center; flex: none; }
.wn-bb-t { min-width: 0; }
.wn-bb-t small { display: block; font-size: 11.5px; color: #CBBFB2; }
.wn-bb-t b { display: block; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#wn-backbar .wn-btn { background: #FBF8F2; color: #302923; box-shadow: none; white-space: nowrap; }
#wn-toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); z-index: 500; background: #302923; color: #fff; padding: 12px 16px; border-radius: 14px; font-size: 14px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; max-width: calc(100vw - 32px); }
#wn-toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* Handy */
@media (max-width: 720px) {
  .wn-nav { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 8px; margin: 0 -16px 14px; padding: 2px 16px 6px; scrollbar-width: none; }
  .wn-nav::-webkit-scrollbar { display: none; }
  .wn-nav-i { flex: 0 0 132px; min-height: 104px; scroll-snap-align: start; }
  .wn-side { grid-template-columns: 1fr; gap: 10px; }
  .wn-prefs, .wn-goalc { display: none; }
  .wn-nextc-fig { display: none; }
  .wn-nextc-t { margin-right: 0; }
  .wn-nextc p { display: none; }
  .wn-nextc-act { grid-template-columns: 1fr auto; align-items: center; }
  .wn-map { border-radius: 22px; margin: 0 -4px; }
  .wn-canvas { margin: 0 12px; }
  .wn-region { left: -12px; right: -12px; }
  .wn-sign { padding: 12px; gap: 10px; border-radius: 18px; }
  .wn-sign-ico { width: 38px; height: 38px; border-radius: 12px; }
  .wn-sign-t b { font-size: 15.5px; }
  .wn-sign-t span { font-size: 12.5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .wn-lbl b { font-size: 14.5px; }
  #wn-sheet { place-items: end stretch; }
  .wn-sh { width: 100%; max-height: calc(100vh - 24px); border-radius: 24px 24px 0 0; animation: wnSlide .28s ease; }
  .wn-dots { padding-left: 18px; }
  .wn-q { font-size: 19px; }
  .wn-opts.is-multi { grid-template-columns: 1fr; }
  #wn-backbar { bottom: 84px; }
  #wn-toast { bottom: 90px; }
}
@keyframes wnSlide { from { transform: translateY(100%); } }

@media (prefers-reduced-motion: reduce) {
  .wn *, .wn *::before, #wn-sheet *, #wn-backbar { animation: none !important; transition: none !important; }
  .wn-done-ring circle { stroke-dashoffset: 0; }
  .wn-confetti { display: none; }
}

/* Dekoration auf der freien Seite des Wegs */
.wn-deco { position: absolute; width: 132px; height: 132px; transform: translate(-50%, -50%); pointer-events: none; z-index: 0; }
.wn-deco > span { position: absolute; inset: 0; display: grid; place-items: center; border-radius: 46% 54% 52% 48% / 52% 46% 54% 48%; background: var(--cc2); color: var(--cc); }
.wn-deco > i { position: absolute; border-radius: 50%; background: var(--cc); opacity: .28; }
.wn-deco > i:nth-of-type(1) { width: 14px; height: 14px; right: -8px; top: 10px; }
.wn-deco > i:nth-of-type(2) { width: 9px; height: 9px; left: -6px; bottom: 16px; opacity: .4; }
.wn-deco.is-locked { opacity: .55; filter: grayscale(.5); }
.wn-deco.is-done > span { background: var(--wn-ok-l); color: var(--wn-ok); }
