/* AI Marketing Excellence – Lernplattform
   Hell, ruhig, hochwertig. Farben aus binderbettina.com:
   Dunkelblau #12172B, Türkis #52BEC0, Pink #D61077 (nur als Akzent).
   Schriften: DM Serif Display (Überschriften), Instrument Serif kursiv (Akzent), Manrope (Text). */

:root {
  --bg: #FAFAF7;
  --panel: #FFFFFF;
  --soft: #F4F3EF;
  --soft-2: #EEEDE7;
  --ink: #12172B;
  --text: #3B4053;
  --muted: #7C808E;
  --line: #E8E6E0;
  --teal: #52BEC0;
  --teal-ink: #1F8486;
  --teal-soft: #E9F6F6;
  --pink: #D61077;
  --pink-soft: #FBEAF3;
  --code-bg: #12172B;
  --code-ink: #E7EAF3;
  --shadow-sm: 0 1px 2px rgba(18,23,43,.04);
  --shadow: 0 1px 2px rgba(18,23,43,.04), 0 8px 24px -12px rgba(18,23,43,.10);
  --shadow-lg: 0 24px 60px -20px rgba(18,23,43,.28);
  --r: 18px;
  --side: 280px;
  --top: 72px;
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "DM Serif Display", Georgia, serif;
  --serif: "Instrument Serif", Georgia, serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: light;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
html { scroll-padding-top: calc(var(--top) + 16px); }
body {
  background: var(--bg); color: var(--text); font-family: var(--font);
  font-size: 15.5px; line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.18; margin: 0; font-weight: 700; letter-spacing: -.01em; }
h1, .display { font-family: var(--display); font-weight: 400; letter-spacing: -.005em; }
h1 em, h2 em, .display em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--teal-ink); }
p { margin: 0 0 .9em; }
p:last-child { margin-bottom: 0; }
strong { color: var(--ink); font-weight: 700; }
ul, ol { margin: 0 0 .9em; padding-left: 1.2rem; }
li { margin: .25em 0; }
::selection { background: var(--teal-soft); color: var(--ink); }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; border-radius: 8px; }
svg { flex: none; }
[hidden] { display: none !important; }

/* ============ Rahmen: Seitenleiste fix, Topbar fix ============ */
.side {
  position: fixed; inset: 0 auto 0 0; width: var(--side); z-index: 40;
  background: var(--panel); border-right: 1px solid var(--line);
  display: flex; flex-direction: column; transition: transform .35s var(--ease);
}
.side__brand { display: flex; align-items: center; gap: .75rem; height: var(--top); padding: 0 1.4rem; flex: none; }
.logo-mark {
  width: 36px; height: 36px; border-radius: 11px; background: var(--ink); color: #fff; flex: none;
  display: grid; place-items: center; font-family: var(--serif); font-style: italic; font-size: 1.25rem; position: relative;
}
.logo-mark::after { content: ""; position: absolute; right: 5px; top: 5px; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }
.side__brand b { display: block; color: var(--ink); font-size: .92rem; line-height: 1.1; letter-spacing: .01em; }
.side__brand i { display: block; font-family: var(--serif); color: var(--teal-ink); font-size: 1.1rem; line-height: 1.1; }

.side__nav { flex: 1; overflow-y: auto; padding: .3rem .8rem 1rem; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.nav-group { font-size: .66rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding: 1.1rem .7rem .4rem; }
.nav-link {
  display: flex; align-items: center; gap: .7rem; padding: .5rem .65rem; border-radius: 11px;
  font-weight: 600; font-size: .87rem; color: var(--text); position: relative; transition: background .2s, color .2s;
}
.nav-link:hover { background: var(--soft); color: var(--ink); }
.nav-link.is-active { background: var(--teal-soft); color: var(--ink); font-weight: 700; }
.nav-link.is-active::before { content: ""; position: absolute; left: -.8rem; top: 8px; bottom: 8px; width: 3px; border-radius: 0 3px 3px 0; background: var(--teal); }
.nav-link svg { width: 18px; height: 18px; color: var(--muted); }
.nav-link.is-active svg { color: var(--teal-ink); }
.nav-num {
  width: 26px; height: 26px; border-radius: 8px; background: var(--soft); color: var(--ink);
  display: grid; place-items: center; font-size: .66rem; font-weight: 800; flex: none; transition: background .3s, color .3s;
}
.nav-link.is-active .nav-num { background: #fff; box-shadow: var(--shadow-sm); }
.nav-num.is-done { background: var(--teal); color: #fff; }
.nav-num svg { width: 13px; height: 13px; color: #fff !important; }
.nav-label { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nav-pct { font-size: .68rem; color: var(--teal-ink); font-weight: 800; }

.side__progress { flex: none; padding: 1rem 1.3rem; border-top: 1px solid var(--line); display: flex; align-items: center; gap: .8rem; }
.side__progress b { display: block; color: var(--ink); font-size: .84rem; line-height: 1.2; }
.side__progress small { color: var(--muted); font-size: .74rem; }
.side__foot { flex: none; padding: 0 1.3rem 1rem; font-size: .7rem; color: var(--muted); }
.side__foot a { margin-right: .7rem; }
.side__foot a:hover { color: var(--ink); }

.main { margin-left: var(--side); min-width: 0; }
.topbar {
  position: fixed; top: 0; left: var(--side); right: 0; height: var(--top); z-index: 30;
  display: flex; align-items: center; gap: .8rem; padding: 0 clamp(1rem, 3vw, 2.4rem);
  background: rgba(250,250,247,.82); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
body.is-scrolled .topbar { border-color: var(--line); }
.readbar { position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; transform-origin: left; transform: scaleX(0); background: var(--teal); }
.icon-btn {
  width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line); background: var(--panel);
  display: grid; place-items: center; cursor: pointer; color: var(--ink); flex: none;
}
.icon-btn svg { width: 19px; height: 19px; }
.menu-btn { display: none; }
.search-trigger {
  flex: 1; max-width: 440px; height: 42px; border-radius: 12px; border: 1px solid var(--line); background: var(--panel);
  display: flex; align-items: center; gap: .6rem; padding: 0 .8rem 0 1rem; color: var(--muted); cursor: pointer; font-size: .87rem; text-align: left;
  transition: border-color .2s, box-shadow .2s;
}
.search-trigger:hover { border-color: var(--teal); box-shadow: 0 0 0 4px var(--teal-soft); }
.search-trigger svg { width: 17px; height: 17px; }
.search-trigger kbd { margin-left: auto; }
kbd { font-family: var(--font); font-size: .66rem; font-weight: 800; border: 1px solid var(--line); border-radius: 6px; padding: .12rem .42rem; background: var(--soft); color: var(--muted); }
.topbar__right { margin-left: auto; display: flex; gap: .6rem; align-items: center; }

.page { padding: calc(var(--top) + 1rem) clamp(1rem, 3vw, 2.4rem) 6rem; max-width: 1400px; animation: pageIn .5s var(--ease) both; }
@keyframes pageIn { from { opacity: 0; transform: translateY(8px); } }

/* ============ Bausteine ============ */
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); }
.pad { padding: 1.4rem 1.5rem; }
.eyebrow { font-size: .68rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.eyebrow--teal { color: var(--teal-ink); }
.section-title { display: flex; align-items: baseline; gap: .8rem; margin: 2.4rem 0 1rem; font-family: var(--display); font-weight: 400; font-size: 1.5rem; }
.section-title small { margin-left: auto; font-family: var(--font); font-size: .78rem; font-weight: 600; color: var(--muted); }
.phase-title { display: flex; align-items: center; gap: .8rem; margin: 1.6rem 0 .6rem; font-size: .7rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--teal-ink); }
.phase-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.phase-title:first-child { margin-top: 0; }
.muted { color: var(--muted); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem; height: 46px; padding: 0 1.25rem; border-radius: 12px;
  font-weight: 700; font-size: .9rem; border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .2s var(--ease), background .2s, box-shadow .2s, border-color .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: scale(.98); }
.btn svg { width: 17px; height: 17px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { background: var(--ink); color: #fff; box-shadow: 0 8px 20px -10px rgba(18,23,43,.6); }
.btn--primary:hover { background: #1E2542; }
.btn--teal { background: var(--teal); color: #08292A; box-shadow: 0 8px 20px -10px rgba(82,190,192,.9); }
.btn--teal:hover { background: #5FCACC; }
.btn--ghost { background: var(--panel); border-color: var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--ghost:hover svg { transform: translateX(-3px); }
.btn--sm { height: 38px; padding: 0 .95rem; font-size: .82rem; border-radius: 10px; }

.chip { display: inline-flex; align-items: center; gap: .35rem; font-size: .74rem; font-weight: 700; padding: .28rem .7rem; border-radius: 999px; background: var(--soft); color: var(--text); }
.chip svg { width: 13px; height: 13px; }
.chip--teal { background: var(--teal-soft); color: var(--teal-ink); }

.ring { display: block; transform: rotate(-90deg); }
.ring circle { fill: none; }
.ring .bg { stroke: var(--soft-2); }
.ring .fg { stroke: var(--teal); stroke-linecap: round; transition: stroke-dashoffset 1.1s var(--ease); }
.ring-wrap { position: relative; display: grid; place-items: center; flex: none; }
.ring-wrap > span { position: absolute; font-weight: 800; color: var(--ink); }
.ring-wrap > span svg { color: var(--teal-ink); }

.bar { height: 6px; border-radius: 6px; background: var(--soft-2); overflow: hidden; }
.bar > i { display: block; height: 100%; width: 0; background: var(--teal); border-radius: 6px; transition: width 1s var(--ease); }

/* Einblenden beim Scrollen */
.rv { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
.rv.in { opacity: 1; transform: none; }

/* ============ Dashboard ============ */
.welcome {
  position: relative; overflow: hidden; border-radius: 26px; background: var(--panel); border: 1px solid var(--line); box-shadow: var(--shadow);
  display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 2rem; padding: clamp(1.5rem, 3.4vw, 2.6rem); align-items: center;
}
.welcome::before {
  content: ""; position: absolute; right: -120px; top: -160px; width: 460px; height: 460px; border-radius: 50%;
  background: radial-gradient(circle, rgba(82,190,192,.22), rgba(82,190,192,0) 65%); pointer-events: none;
}
.welcome > * { position: relative; }
.welcome h1 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.05; margin: .55rem 0 .8rem; }
.welcome p.lead { font-size: 1.02rem; max-width: 56ch; color: var(--text); }
.welcome__cta { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.4rem; align-items: center; }
.welcome__stat { display: grid; justify-items: center; text-align: center; gap: .7rem; padding: 1.4rem; border-radius: 20px; background: var(--soft); }
.welcome__stat b { display: block; color: var(--ink); font-size: .95rem; }
.welcome__stat small { color: var(--muted); font-size: .8rem; }

.next {
  display: flex; align-items: center; gap: 1.1rem; margin-top: 1.4rem; padding: .8rem; padding-right: 1.2rem; border-radius: 18px;
  background: var(--soft); border: 1px solid var(--line); transition: border-color .25s, background .25s;
}
.next:hover { border-color: var(--teal); background: var(--teal-soft); }
.next__img { width: 96px; height: 64px; border-radius: 12px; background: var(--ink) center/cover; flex: none; }
.next__txt { flex: 1; min-width: 0; }
.next__txt b { display: block; color: var(--ink); font-size: 1.02rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.next__txt small { color: var(--muted); font-size: .8rem; }
.next__go { width: 42px; height: 42px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; flex: none; transition: transform .3s var(--ease); }
.next__go svg { width: 18px; height: 18px; }
.next:hover .next__go { transform: translateX(3px); }

.dash { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 1.8rem; margin-top: 1.8rem; align-items: start; }
.dash__side { display: grid; gap: 1rem; position: sticky; top: calc(var(--top) + 1rem); }

.week { padding: 1.2rem 1.3rem; }
.week__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .9rem; }
.week__track { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: .5rem; }
.week__seg { position: relative; padding: .75rem .8rem .7rem; border-radius: 12px; background: var(--soft); min-width: 0; display: block; transition: background .2s; }
.week__seg:hover { background: var(--soft-2); }
.week__seg small { display: block; font-size: .66rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.week__seg span { display: block; font-size: .82rem; font-weight: 600; color: var(--ink); line-height: 1.35; margin-top: .15rem; }
.week__seg.is-now { background: var(--ink); }
.week__seg.is-now small { color: var(--teal); }
.week__seg.is-now span { color: #fff; }
.week__seg.is-now::after { content: ""; position: absolute; right: .75rem; top: .8rem; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 0 rgba(82,190,192,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(82,190,192,0); } 100% { box-shadow: 0 0 0 0 rgba(82,190,192,0); } }
.week__seg.is-past span { color: var(--muted); }

.mods { display: grid; gap: .8rem; }
.mod {
  display: grid; grid-template-columns: 150px minmax(0, 1fr) auto; gap: 1.3rem; align-items: center;
  padding: .7rem; padding-right: 1.4rem; border-radius: var(--r); background: var(--panel); border: 1px solid var(--line);
  box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.mod:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #D9E9E9; }
.mod__img { position: relative; height: 96px; border-radius: 12px; background: var(--ink) center/cover; overflow: hidden; }
.mod__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18,23,43,0) 40%, rgba(18,23,43,.7)); }
.mod__img.is-plain { background: linear-gradient(135deg, #12172B, #26304F); }
.mod__img.is-plain::before { content: attr(data-mono); position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--serif); font-style: italic; font-size: 2.4rem; color: var(--teal); z-index: 1; }
.mod__kenn { position: absolute; left: .7rem; bottom: .5rem; z-index: 2; color: #fff; font-size: .62rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.mod__body { min-width: 0; }
.mod__body h3 { font-size: 1.08rem; margin-bottom: .2rem; }
.mod__body p { font-size: .86rem; color: var(--muted); margin: 0 0 .45rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mod__meta { font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.mod__go { width: 64px; height: 64px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; color: var(--ink); transition: background .3s, border-color .3s, color .3s; }
.mod__go svg { width: 20px; height: 20px; margin-left: 2px; }
.mod:hover .mod__go { background: var(--ink); border-color: var(--ink); color: #fff; }
.mod.is-locked { opacity: .5; pointer-events: none; }

.side-card h3 { font-size: .98rem; display: flex; align-items: center; gap: .5rem; margin-bottom: .8rem; }
.side-card h3 svg { width: 18px; height: 18px; color: var(--teal-ink); }
.side-card p { font-size: .87rem; }
.list-rows { display: grid; gap: .1rem; margin: 0 -.5rem; }
.list-row { display: flex; align-items: center; gap: .75rem; padding: .55rem .5rem; border-radius: 11px; font-size: .86rem; transition: background .2s; }
a.list-row:hover { background: var(--soft); }
.list-row__ic { width: 36px; height: 36px; border-radius: 11px; background: var(--soft); display: grid; place-items: center; flex: none; color: var(--ink); }
.list-row__ic svg { width: 16px; height: 16px; }
.list-row b { display: block; color: var(--ink); font-size: .86rem; line-height: 1.3; }
.list-row small { display: block; color: var(--muted); font-size: .76rem; line-height: 1.35; }

/* Startbereich mit Team-Foto */
.hero2 {
  position: relative; overflow: hidden; border-radius: 28px; background: var(--panel); border: 1px solid var(--line); box-shadow: var(--shadow);
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: stretch; min-height: 440px;
}
.hero2__txt { padding: clamp(1.6rem, 3.6vw, 2.8rem); display: flex; flex-direction: column; justify-content: center; position: relative; z-index: 1; }
.hero2 h1 { font-size: clamp(2.1rem, 4.2vw, 3.3rem); line-height: 1.04; margin: .6rem 0 .8rem; }
.hero2 .lead { font-size: 1.04rem; max-width: 48ch; }
.hero2__sign { font-family: var(--serif); font-style: italic; font-size: 1.35rem; color: var(--teal-ink); margin: .4rem 0 0; }
.hero2__next {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 1.2rem; align-items: center; margin-top: 1.5rem;
  padding: 1.1rem 1.1rem 1.1rem 1.3rem; border-radius: 18px; background: var(--teal-soft); border: 1px solid #CDEBEB;
}
.hero2__step { grid-column: 1; font-size: .66rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--teal-ink); }
.hero2__next b { grid-column: 1; color: var(--ink); font-size: 1.12rem; line-height: 1.3; margin-top: .2rem; }
.hero2__next small { grid-column: 1; color: var(--text); font-size: .82rem; }
.hero2__next .btn { grid-column: 2; grid-row: 1 / span 3; }
.btn--lg { height: 54px; padding: 0 1.5rem; font-size: .98rem; border-radius: 14px; }
.btn--lg { animation: nudge 2.8s var(--ease) 1.4s 2; }
@keyframes nudge { 0%, 100% { transform: none; } 15% { transform: translateX(4px); } 30% { transform: none; } }
.hero2__meta { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem 1.2rem; margin-top: 1.1rem; font-size: .8rem; color: var(--muted); font-weight: 600; }
.hero2__prog { display: inline-flex; align-items: center; gap: .6rem; }
.hero2__prog .bar { width: 120px; }
.hero2__img { position: relative; display: flex; align-items: flex-end; justify-content: center; min-width: 0; }
.hero2__img::before {
  content: ""; position: absolute; left: 50%; bottom: -18%; width: 112%; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, #DDF2F2 0%, #EEF8F8 45%, rgba(238,248,248,0) 70%);
}
.hero2__img img { position: relative; width: 100%; max-width: 520px; height: auto; display: block; margin-top: 1.5rem; animation: rise .9s var(--ease) .1s both; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }
.overlay__team { width: 210px; height: auto; margin: -.6rem auto .4rem; display: block; -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent); mask-image: linear-gradient(180deg, #000 72%, transparent); }
@media (max-width: 1100px) { .hero2 { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); } }
@media (max-width: 760px) {
  .hero2 { grid-template-columns: minmax(0, 1fr); min-height: 0; border-radius: 22px; }
  .hero2__img { order: -1; height: 210px; overflow: hidden; align-items: flex-start; }
  .hero2__img img { width: 300px; margin-top: 1rem; }
  .hero2__txt { padding: 1.2rem 1.2rem 1.4rem; }
  .hero2__next { grid-template-columns: minmax(0, 1fr); row-gap: .1rem; }
  .hero2__next .btn { grid-column: 1; grid-row: auto; margin-top: .8rem; width: 100%; }
}

/* Reise-Karte */
.journey { margin-top: 1.4rem; padding: 1.5rem 1.6rem 1.3rem; overflow: hidden; }
.journey__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 1.3rem; }
.journey__head h2 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); font-weight: 400; margin-top: .35rem; }
.journey__scroll { overflow-x: auto; margin: 0 -1.6rem; padding: 0 1.6rem .4rem; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.journey__track { display: grid; grid-template-rows: auto auto; min-width: 640px; position: relative; row-gap: .9rem; }
.journey__week { grid-row: 1; margin: 0 4px; padding: .35rem .6rem; border-radius: 9px; background: var(--soft); font-size: .66rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); text-align: center; }
.journey__week.is-now { background: var(--ink); color: #fff; }
.journey__line { grid-row: 1; position: relative; height: 0; align-self: start; margin-top: 27px; z-index: 0; }
.journey__line::before, .journey__line > i { content: ""; position: absolute; left: var(--inset); height: 3px; border-radius: 3px; top: -1.5px; }
.journey__line::before { right: var(--inset); background: var(--soft-2); }
.journey__line > i { display: block; width: 0; max-width: calc(100% - 2 * var(--inset)); background: linear-gradient(90deg, var(--teal), #8FD6D7); transition: width 1.4s var(--ease) .2s; }
.journey__line > i[data-w] { width: 0; }
.jn { grid-row: 1; position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; gap: .55rem; padding: 0 .3rem; }
.jn__dot { width: 54px; height: 54px; border-radius: 50%; background: var(--panel); border: 2px solid var(--line); display: grid; place-items: center; font-weight: 800; font-size: .8rem; color: var(--ink); transition: transform .35s var(--ease), border-color .3s, box-shadow .3s; }
.jn__dot .ring-wrap > span { font-size: .78rem !important; }
.jn__dot svg { width: 22px; height: 22px; }
.jn:hover .jn__dot { transform: translateY(-3px) scale(1.05); border-color: var(--teal); }
.jn.is-done .jn__dot { background: var(--teal); border-color: var(--teal); color: #fff; }
.jn.is-current .jn__dot { background: var(--ink); border-color: var(--ink); color: #fff; box-shadow: 0 0 0 6px var(--teal-soft), 0 10px 24px -8px rgba(18,23,43,.5); animation: bob 3s ease-in-out infinite; }
.jn.is-current .jn__dot .ring .bg { stroke: rgba(255,255,255,.18); }
.jn.is-current .jn__dot .ring-wrap > span { color: #fff; }
@keyframes bob { 50% { transform: translateY(-4px); } }
.jn__name { font-size: .76rem; font-weight: 700; color: var(--text); line-height: 1.3; max-width: 120px; }
.jn.is-current .jn__name { color: var(--ink); }
.jn__here { position: absolute; top: -1.9rem; left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: .62rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #fff; background: var(--teal-ink); padding: .2rem .5rem; border-radius: 6px; }
.jn__here::after { content: ""; position: absolute; left: 50%; bottom: -4px; margin-left: -4px; border: 4px solid transparent; border-bottom: 0; border-top-color: var(--teal-ink); }
.journey .journey__week + .journey__week { }

/* Persönlicher Bereich oben rechts */
.me { position: relative; }
.me__btn { display: flex; align-items: center; gap: .55rem; height: 42px; padding: 0 .9rem 0 .3rem; border-radius: 999px; border: 1px solid var(--line); background: var(--panel); cursor: pointer; transition: border-color .2s, box-shadow .2s; }
.me__btn:hover { border-color: var(--teal); box-shadow: 0 0 0 4px var(--teal-soft); }
.me__avatar { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, var(--teal), #3AA5A7); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: .9rem; flex: none; }
.me__avatar svg { width: 16px; height: 16px; }
.me__name { font-size: .84rem; font-weight: 700; color: var(--ink); white-space: nowrap; max-width: 160px; overflow: hidden; text-overflow: ellipsis; }
.me__menu { position: absolute; right: 0; top: calc(100% + 8px); width: 280px; padding: 1rem; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); box-shadow: var(--shadow-lg); z-index: 50; animation: pageIn .25s var(--ease); }
.me__field { display: block; margin-bottom: .7rem; text-align: left; }
.me__field span { display: block; font-size: .78rem; font-weight: 700; color: var(--ink); margin-bottom: .35rem; }
.me__field input { width: 100%; height: 44px; border-radius: 11px; border: 1.5px solid var(--line); padding: 0 .9rem; font: inherit; font-size: .95rem; color: var(--ink); background: #fff; }
.me__field input:focus { outline: 0; border-color: var(--teal); box-shadow: 0 0 0 4px var(--teal-soft); }
.me__menu .btn { width: 100%; }
.me__links { display: grid; gap: .1rem; margin-top: .8rem; padding-top: .7rem; border-top: 1px solid var(--line); }
.me__links a { padding: .45rem .5rem; border-radius: 8px; font-size: .85rem; font-weight: 600; color: var(--text); }
.me__links a:hover { background: var(--soft); color: var(--ink); }
.overlay__name { max-width: 320px; margin: 1.2rem auto 0; }
@media (max-width: 760px) {
  .me__name { display: none; }
  .me__btn { padding: 0 .3rem; }
  .me__menu { position: fixed; left: 16px; right: 16px; top: calc(var(--top) + 4px); width: auto; }
}

/* Dein Weg (ohne Wochen) */
.journey__track { padding-top: 2rem; }
.journey__side { display: flex; flex-direction: column; align-items: flex-end; gap: .4rem; flex: none; }
.journey__ziel { font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: var(--teal-ink); margin: .35rem 0 0; }
.journey__note { margin: 1rem 0 0; font-size: .82rem; color: var(--muted); }
.jn__tag { font-size: .6rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: -.25rem; }
.nav-link.is-focus::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); flex: none; }

/* Fokus-Auswahl */
.fokus { margin-top: 1.4rem; padding: 1.6rem 1.7rem 1.5rem; }
.fokus__head h2 { font-size: clamp(1.35rem, 2.4vw, 1.8rem); font-weight: 400; margin: .35rem 0 .5rem; }
.fokus__head p { max-width: 70ch; font-size: .92rem; }
.fokus__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .65rem; margin-top: 1.2rem; }
.fokus__opt {
  position: relative; text-align: left; cursor: pointer; padding: 1rem 2.6rem 1rem 1.05rem; border-radius: 15px; border: 1.5px solid var(--line);
  background: var(--panel); display: flex; flex-direction: column; gap: .2rem; transition: border-color .2s, background .2s, transform .25s var(--ease), box-shadow .25s;
}
.fokus__opt:hover { border-color: var(--teal); transform: translateY(-2px); box-shadow: var(--shadow); }
.fokus__opt b { color: var(--ink); font-size: .95rem; line-height: 1.3; }
.fokus__opt small { color: var(--muted); font-size: .8rem; line-height: 1.4; }
.fokus__check { position: absolute; right: .9rem; top: .95rem; width: 22px; height: 22px; border-radius: 50%; border: 2px solid #D5D3CC; display: grid; place-items: center; color: transparent; transition: background .2s, border-color .2s; }
.fokus__check svg { width: 12px; height: 12px; }
.fokus__opt.is-on { border-color: var(--teal); background: var(--teal-soft); }
.fokus__opt.is-on .fokus__check { background: var(--teal); border-color: var(--teal); color: #fff; animation: pop .35s var(--ease); }
.fokus__ziel { display: block; margin-top: 1.1rem; }
.fokus__ziel span { display: block; font-size: .8rem; font-weight: 700; color: var(--ink); margin-bottom: .35rem; }
.fokus__ziel em { font-style: normal; font-weight: 500; color: var(--muted); }
.fokus__ziel input { width: 100%; height: 48px; border-radius: 12px; border: 1.5px solid var(--line); padding: 0 1rem; font: inherit; font-size: .95rem; color: var(--ink); background: #fff; transition: border-color .2s, box-shadow .2s; }
.fokus__ziel input:focus { outline: 0; border-color: var(--teal); box-shadow: 0 0 0 4px var(--teal-soft); }
.fokus__btns { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem; margin-top: 1.1rem; }
.fokus__hint { font-size: .8rem; }
.btn[disabled] { opacity: .45; pointer-events: none; }
@media (max-width: 1100px) { .fokus__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .fokus { padding: 1.2rem; }
  .fokus__grid { grid-template-columns: minmax(0, 1fr); }
  .fokus__btns .btn--primary { width: 100%; }
  .journey__head { flex-direction: column; }
  .journey__side { flex-direction: row; align-items: center; }
}

/* Kompakte Kacheln für Brand Coach und Bonus */
.mods--grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.mods--grid .mod { grid-template-columns: minmax(0, 1fr); gap: .8rem; padding: .6rem .6rem 1rem; }
.mods--grid .mod__img { height: 130px; }
.mods--grid .mod__body { padding: 0 .4rem; }
.mods--grid .mod__go, .mods--grid .mod > .ring-wrap { display: none; }

/* Einheitliche Bildwirkung, bis neue Fotos da sind */
.mod__img, .area-head__img, .next__img { filter: saturate(.82) contrast(1.03); }
.area-head__img::after, .next__img { position: relative; }
.area-head__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(82,190,192,.12), rgba(18,23,43,.18)); }
.area-head__img.is-plain::after { display: none; }

/* Overlays: Willkommen, Feier */
.overlay { position: fixed; inset: 0; z-index: 85; display: grid; place-items: center; padding: 1rem; background: rgba(18,23,43,.32); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity .3s; }
.overlay.is-open { opacity: 1; }
.overlay__box { width: min(520px, 100%); background: var(--panel); border-radius: 24px; padding: 2rem 2rem 1.7rem; box-shadow: var(--shadow-lg); text-align: center; transform: translateY(16px) scale(.97); transition: transform .45s var(--ease); }
.overlay.is-open .overlay__box { transform: none; }
.overlay__box h2 { font-size: 2rem; font-weight: 400; margin: .5rem 0 .6rem; }
.overlay__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin-top: 1.5rem; }
.howto { list-style: none; counter-reset: h; padding: 0; margin: 1.3rem 0 0; display: grid; gap: .5rem; text-align: left; }
.howto li { counter-increment: h; display: grid; grid-template-columns: 36px 1fr; column-gap: .8rem; align-items: center; padding: .75rem .9rem; border-radius: 14px; background: var(--soft); margin: 0; }
.howto li::before { content: counter(h); grid-row: span 2; width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: .85rem; }
.howto b { color: var(--ink); font-size: .92rem; }
.howto span { color: var(--muted); font-size: .82rem; }
.celebrate__badge { width: 76px; height: 76px; margin: 0 auto .8rem; border-radius: 50%; background: var(--teal); color: #fff; display: grid; place-items: center; box-shadow: 0 0 0 10px var(--teal-soft); animation: pop .6s var(--ease) .1s both; }
.celebrate__badge svg { width: 36px; height: 36px; }
.confetti { position: fixed; inset: 0; z-index: 95; pointer-events: none; }
.list-row__ic.is-done { background: var(--teal-soft); color: var(--teal-ink); }

.live-next { display: flex; flex-direction: column; align-items: flex-start; gap: .1rem; padding: 1rem 1.1rem; margin-bottom: .6rem; border-radius: 14px; background: var(--teal-soft); border: 1px solid #CDEBEB; }
.live-next b { color: var(--ink); font-size: 1rem; margin-top: .2rem; }
.live-next small { color: var(--text); font-size: .82rem; }
.list-row.is-past { opacity: .5; }
.list-row.is-past.has-rec { opacity: 1; }
.list-row.has-rec small { color: var(--teal-ink); }
.list-row.is-past .list-row__ic { color: var(--teal-ink); }

/* ============ Bereich ============ */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; font-size: .78rem; color: var(--muted); margin: 0 0 1rem; font-weight: 600; }
.crumbs a:hover { color: var(--ink); }
.crumbs svg { width: 13px; height: 13px; }

.area-head { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 2rem; align-items: center; padding: 1.2rem; border-radius: 26px; }
.area-head__img { aspect-ratio: 4/3; border-radius: 18px; background: var(--ink) center/cover; position: relative; overflow: hidden; }
.area-head__img.is-plain { background: linear-gradient(135deg, #12172B, #26304F); display: grid; place-items: center; font-family: var(--serif); font-style: italic; font-size: 4.4rem; color: var(--teal); }
.area-head__txt { padding-right: 1rem; min-width: 0; }
.area-head h1 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); margin: .45rem 0 .7rem; }
.area-head .lead { font-size: .96rem; max-width: 70ch; }
.area-head .lead.is-clamped { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.more-btn { background: none; border: 0; padding: 0; color: var(--teal-ink); font-weight: 700; font-size: .82rem; cursor: pointer; margin-top: .3rem; }
.area-head__row { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-top: 1.1rem; }
.area-head__row .btn { margin-left: auto; }

.lessons { display: grid; gap: .5rem; }
.lesson-row {
  display: flex; align-items: center; gap: 1rem; padding: .95rem 1.1rem; border-radius: 15px; background: var(--panel);
  border: 1px solid var(--line); transition: border-color .25s, transform .3s var(--ease), box-shadow .3s;
}
.lesson-row:hover { border-color: var(--teal); transform: translateX(3px); box-shadow: var(--shadow); }
.lesson-row__num { width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; font-weight: 800; font-size: .76rem; color: var(--ink); flex: none; }
.lesson-row.is-done .lesson-row__num { background: var(--teal); border-color: var(--teal); color: #fff; }
.lesson-row.is-next .lesson-row__num { border-color: var(--teal); color: var(--teal-ink); box-shadow: 0 0 0 4px var(--teal-soft); }
.lesson-row__num svg { width: 16px; height: 16px; }
.lesson-row__body { flex: 1; min-width: 0; }
.lesson-row__body b { display: block; color: var(--ink); font-size: .95rem; line-height: 1.35; }
.lesson-row__body small { display: block; color: var(--muted); font-size: .8rem; margin-top: .12rem; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.lesson-row__time { font-size: .75rem; color: var(--muted); font-weight: 700; white-space: nowrap; }
.lesson-row__chev svg { width: 18px; height: 18px; color: var(--muted); }

.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { position: relative; padding-left: 1.6rem; margin: .5rem 0; font-size: .88rem; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 16px; height: 16px; border-radius: 50%;
  background: var(--teal-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F8486' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/10px no-repeat;
}
.callout { display: flex; gap: .8rem; padding: 1rem 1.1rem; border-radius: 14px; background: var(--teal-soft); font-size: .9rem; }
.inline-link { color: var(--teal-ink); font-weight: 700; text-decoration: underline; text-decoration-color: rgba(31,132,134,.35); text-underline-offset: 3px; }
.inline-link:hover { text-decoration-color: var(--teal-ink); }
.callout svg { width: 20px; height: 20px; color: var(--teal-ink); margin-top: .12rem; }

/* ============ Lektion ============ */
.lesson { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 1.8rem; align-items: start; }
.lesson__main { min-width: 0; max-width: 820px; }
.lesson__head { padding: 1.9rem 2rem 1.7rem; }
.lesson__head h1 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin: .5rem 0 .8rem; line-height: 1.1; }
.lesson__head .lead { font-size: 1.04rem; color: var(--text); }
.lead-label { display: block; font-size: .66rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--teal-ink); margin-bottom: .25rem; }
.lead--quote { font-family: var(--serif); font-style: italic; font-size: 1.45rem !important; line-height: 1.3; color: var(--ink) !important; }
.lesson__chips { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1.1rem; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; margin-top: 1.3rem; }
.fact { padding: .95rem 1.05rem; border-radius: 14px; background: var(--soft); font-size: .87rem; }
.fact b { display: flex; align-items: center; gap: .4rem; font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: .3rem; }
.fact b svg { width: 14px; height: 14px; color: var(--teal-ink); }
.fact--wide { grid-column: 1 / -1; }

.prose { font-size: .95rem; }
.prose ul { padding-left: 1.1rem; }
.prose li::marker { color: var(--teal); }
.block { padding: 1.4rem 1.5rem; margin-bottom: .9rem; }
.block h3 { font-size: 1.05rem; margin-bottom: .6rem; }
.block-bild, .step-bild { border-radius: 12px; border: 1px solid var(--line); margin: .5rem 0 1rem; width: 100%; height: auto; }

.steps { list-style: none; padding: 0; margin: 0; counter-reset: s; position: relative; }
.steps::before { content: ""; position: absolute; left: 19px; top: 24px; bottom: 24px; width: 2px; background: var(--line); }
.steps > li { counter-increment: s; position: relative; padding: .2rem 0 1.4rem 3.6rem; margin: 0; }
.steps > li:last-child { padding-bottom: .2rem; }
.steps > li::before {
  content: counter(s); position: absolute; left: 0; top: 0; width: 40px; height: 40px; border-radius: 50%;
  background: var(--panel); border: 1.5px solid var(--line); color: var(--ink); display: grid; place-items: center; font-weight: 800; font-size: .84rem;
}
.steps h4 { font-size: 1.02rem; margin: .45rem 0 .35rem; }

.prompt { border-radius: 16px; background: var(--code-bg); margin-bottom: 1rem; box-shadow: var(--shadow); }
.prompt__bar {
  position: sticky; top: var(--top); z-index: 5; display: flex; align-items: center; gap: .8rem; padding: .7rem .8rem .7rem 1.1rem;
  background: var(--code-bg); border-radius: 16px 16px 0 0; border-bottom: 1px solid rgba(255,255,255,.08);
}
.prompt__bar span { flex: 1; color: #fff; font-weight: 700; font-size: .87rem; display: flex; align-items: center; gap: .5rem; min-width: 0; }
.prompt__bar span svg { width: 16px; height: 16px; color: var(--teal); }
.prompt__copy { background: var(--teal); color: #08292A; border: 0; border-radius: 10px; height: 36px; padding: 0 1rem; font-weight: 800; font-size: .8rem; cursor: pointer; display: inline-flex; align-items: center; gap: .4rem; transition: transform .2s var(--ease), background .2s; }
.prompt__copy:hover { transform: translateY(-1px); }
.prompt__copy svg { width: 14px; height: 14px; }
.prompt__copy.is-done { background: #fff; animation: pop .4s var(--ease); }
.prompt pre {
  margin: 0; padding: 1.1rem 1.2rem 1.3rem; color: var(--code-ink); font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-size: .8rem; line-height: 1.65; white-space: pre-wrap; word-break: break-word; max-height: 320px; overflow: hidden; position: relative;
  -webkit-mask-image: linear-gradient(180deg, #000 75%, transparent); mask-image: linear-gradient(180deg, #000 75%, transparent);
}
.prompt.is-open pre, .prompt.is-short pre { max-height: none; -webkit-mask-image: none; mask-image: none; }
.prompt__more { width: 100%; border: 0; background: transparent; color: rgba(255,255,255,.7); padding: .2rem .5rem .9rem; font-weight: 700; font-size: .78rem; cursor: pointer; border-radius: 0 0 16px 16px; }
.prompt__more:hover { color: #fff; }
.ph { color: var(--teal); }

.toggle { border-radius: 14px; background: var(--panel); border: 1px solid var(--line); margin-bottom: .5rem; transition: border-color .2s; }
.toggle:hover { border-color: #D7D5CE; }
.toggle summary { list-style: none; cursor: pointer; padding: .95rem 1.15rem; font-weight: 700; color: var(--ink); display: flex; align-items: center; gap: .6rem; font-size: .92rem; }
.toggle summary::-webkit-details-marker { display: none; }
.toggle summary::after { content: ""; margin-left: auto; width: 9px; height: 9px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg) translateY(-3px); transition: transform .3s var(--ease); }
.toggle[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.toggle > div { padding: 0 1.15rem 1.05rem; animation: pageIn .4s var(--ease); }

.ex { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.ex__row { padding: 1.05rem 1.15rem; border-radius: 14px; font-size: .88rem; border: 1px solid var(--line); background: var(--panel); }
.ex__tag { display: inline-block; font-size: .64rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; padding: .15rem .5rem; border-radius: 6px; margin-bottom: .5rem; }
.ex__row.bad .ex__tag { background: var(--pink-soft); color: var(--pink); }
.ex__row.good { border-color: var(--teal); }
.ex__row.good .ex__tag { background: var(--teal-soft); color: var(--teal-ink); }

.ratetable-wrap { overflow-x: auto; border-radius: 14px; border: 1px solid var(--line); background: var(--panel); }
.ratetable { border-collapse: collapse; width: 100%; font-size: .84rem; }
.ratetable th, .ratetable td { padding: .6rem .85rem; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
.ratetable thead th { font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.ratetable__group th { background: var(--soft); color: var(--ink); }
.pips { display: inline-flex; gap: 3px; }
.pips i { width: 9px; height: 9px; border-radius: 50%; background: var(--soft-2); }
.pips i.on { background: var(--teal); }

.links-list { display: grid; gap: .5rem; }
.link-card { display: flex; align-items: center; gap: .7rem; padding: .85rem 1.05rem; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); font-weight: 700; color: var(--ink); font-size: .9rem; transition: border-color .2s; }
.link-card:hover { border-color: var(--teal); }
.link-card svg { width: 17px; height: 17px; color: var(--teal-ink); }

.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.checklist li { margin: 0; }
.checklist label { display: flex; gap: .8rem; align-items: flex-start; padding: .8rem .95rem; border-radius: 13px; background: var(--panel); border: 1px solid var(--line); cursor: pointer; font-size: .9rem; transition: border-color .2s, background .2s; }
.checklist label:hover { border-color: var(--teal); }
.checklist input { appearance: none; -webkit-appearance: none; width: 22px; height: 22px; border-radius: 7px; border: 2px solid #D5D3CC; flex: none; margin: 0; cursor: pointer; display: grid; place-items: center; background: #fff; transition: background .2s, border-color .2s; }
.checklist input:checked { background: var(--teal); border-color: var(--teal); animation: pop .35s var(--ease); }
.checklist input:checked::after { content: ""; width: 10px; height: 6px; border: 2.5px solid #fff; border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }
.checklist input:checked + span { color: var(--muted); }
@keyframes pop { 40% { transform: scale(1.18); } }

/* Fixierte Aktionsleiste in der Lektion */
.actionbar {
  position: fixed; left: var(--side); right: 0; bottom: 0; z-index: 25; padding: .8rem clamp(1rem, 3vw, 2.4rem);
  background: rgba(255,255,255,.9); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-top: 1px solid var(--line); display: flex; align-items: center; gap: 1rem; animation: barIn .6s var(--ease) both .15s;
}
@keyframes barIn { from { transform: translateY(100%); } }
.actionbar__info { display: flex; align-items: center; gap: .8rem; min-width: 0; flex: 1; }
.actionbar__info b { display: block; color: var(--ink); font-size: .84rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.actionbar__info small { display: block; color: var(--muted); font-size: .74rem; }
.actionbar__info .bar { width: 140px; margin-top: .3rem; }
.actionbar__btns { display: flex; gap: .5rem; }
.actionbar.is-done .btn--teal { background: var(--ink); color: #fff; box-shadow: none; }
.done-flag { display: none; align-items: center; gap: .35rem; color: var(--teal-ink); font-weight: 800; font-size: .82rem; }
.done-flag svg { width: 16px; height: 16px; }
.actionbar.is-done .done-flag { display: inline-flex; animation: pop .4s var(--ease); }

.curri { position: sticky; top: calc(var(--top) + 1rem); max-height: calc(100vh - var(--top) - 6.5rem); display: flex; flex-direction: column; overflow: hidden; }
.curri__head { padding: 1.15rem 1.2rem 1rem; border-bottom: 1px solid var(--line); }
.curri__head b { display: block; color: var(--ink); font-size: .96rem; margin: .3rem 0 .7rem; }
.curri__head .row { display: flex; justify-content: space-between; font-size: .74rem; color: var(--muted); font-weight: 700; margin-bottom: .45rem; }
.curri__list { overflow-y: auto; padding: .5rem; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.curri__group { font-size: .64rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-ink); padding: .9rem .6rem .3rem; }
.curri__item { display: flex; gap: .65rem; align-items: flex-start; padding: .55rem .6rem; border-radius: 11px; font-size: .84rem; line-height: 1.35; color: var(--text); transition: background .2s; }
.curri__item:hover { background: var(--soft); }
.curri__item.is-current { background: var(--teal-soft); color: var(--ink); font-weight: 700; }
.curri__dot { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; font-size: .62rem; font-weight: 800; flex: none; color: var(--muted); background: #fff; }
.curri__item.is-done .curri__dot { background: var(--teal); border-color: var(--teal); color: #fff; }
.curri__item.is-current .curri__dot { border-color: var(--teal); color: var(--teal-ink); }
.curri__dot svg { width: 12px; height: 12px; }

.badge-draft { display: inline-block; font-family: var(--font); font-size: .62rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--pink); background: var(--pink-soft); border-radius: 6px; padding: .12rem .45rem; vertical-align: middle; margin-left: .4rem; }

.finale { margin-top: 1.4rem; padding: 1.8rem; text-align: center; border-color: var(--teal); }
.finale h3 { font-family: var(--display); font-weight: 400; font-size: 1.6rem; margin: .8rem 0 .5rem; }

/* ============ Suche ============ */
.search { position: fixed; inset: 0; z-index: 80; display: none; align-items: flex-start; justify-content: center; padding: 12vh 1rem 1rem; background: rgba(18,23,43,.28); backdrop-filter: blur(6px); }
.search.is-open { display: flex; animation: fade .2s ease; }
@keyframes fade { from { opacity: 0; } }
.search__box { width: min(620px, 100%); background: var(--panel); border-radius: 20px; box-shadow: var(--shadow-lg); overflow: hidden; border: 1px solid var(--line); animation: pageIn .35s var(--ease); }
.search__field { display: flex; align-items: center; gap: .7rem; padding: 0 1.2rem; border-bottom: 1px solid var(--line); }
.search__field svg { width: 20px; height: 20px; color: var(--muted); }
.search__field input { flex: 1; height: 60px; border: 0; outline: 0; background: transparent; font: inherit; font-size: 1.02rem; color: var(--ink); }
.search__results { max-height: 54vh; overflow-y: auto; padding: .5rem; }
.search__item { display: flex; gap: .8rem; align-items: center; padding: .65rem .75rem; border-radius: 12px; cursor: pointer; }
.search__item.is-sel { background: var(--soft); }
.search__item b { display: block; color: var(--ink); font-size: .9rem; }
.search__item small { display: block; color: var(--muted); font-size: .77rem; }
.search__item mark { background: var(--teal-soft); color: inherit; border-radius: 3px; }
.search__empty { padding: 1.5rem; text-align: center; color: var(--muted); font-size: .9rem; }
.search__foot { display: flex; gap: 1rem; padding: .6rem 1.2rem; border-top: 1px solid var(--line); font-size: .74rem; color: var(--muted); }

.toast { position: fixed; left: 50%; bottom: 6.5rem; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; background: var(--ink); color: #fff; padding: .75rem 1.15rem; border-radius: 13px; font-weight: 700; font-size: .87rem; z-index: 90; transition: transform .35s var(--ease), opacity .35s; display: flex; align-items: center; gap: .5rem; box-shadow: var(--shadow-lg); }
.toast svg { width: 18px; height: 18px; color: var(--teal); }
.toast.show { transform: translate(-50%, 0); opacity: 1; }
.scrim { display: none; }

/* ============ Responsive ============ */
@media (max-width: 1240px) {
  .dash { grid-template-columns: minmax(0, 1fr); }
  .dash__side { position: static; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
  .lesson { grid-template-columns: minmax(0, 1fr); }
  .lesson__main { max-width: none; }
  .curri { position: static; max-height: none; }
  .curri__list { max-height: 420px; }
}
@media (max-width: 1024px) {
  .side { transform: translateX(-100%); box-shadow: var(--shadow-lg); }
  body.nav-open .side { transform: none; }
  body.nav-open .scrim { display: block; position: fixed; inset: 0; background: rgba(18,23,43,.3); z-index: 35; animation: fade .2s; }
  .main { margin-left: 0; }
  .topbar, .actionbar { left: 0; }
  .menu-btn { display: grid; }
}
@media (max-width: 760px) {
  :root { --top: 64px; }
  body { font-size: 15px; }
  .page { padding: calc(var(--top) + .6rem) 16px 7rem; }
  .topbar { padding: 0 16px; gap: .5rem; }
  .search-trigger kbd, .search-trigger .st-label, .top-next .tn-label { display: none; }
  .search-trigger { flex: 0 0 42px; width: 42px; padding: 0; justify-content: center; }
  .top-next { width: 42px; padding: 0; }
  .welcome { grid-template-columns: minmax(0, 1fr); gap: 1.2rem; border-radius: 22px; }
  .welcome__stat { grid-auto-flow: column; justify-content: start; text-align: left; padding: 1rem; }
  .next { padding-right: .8rem; }
  .next__img { width: 64px; height: 50px; }
  .week__track { grid-auto-flow: row; }
  .mod { grid-template-columns: 88px minmax(0, 1fr); gap: .9rem; padding: .6rem; }
  .mod__img { height: 80px; }
  .mod__kenn { left: .5rem; bottom: .35rem; font-size: .56rem; }
  .mod__go { display: none; }
  .mod__body h3 { font-size: .98rem; }
  .mod__body p { font-size: .8rem; }
  .area-head { grid-template-columns: minmax(0, 1fr); gap: 1rem; padding: .8rem; border-radius: 22px; }
  .area-head__img { aspect-ratio: 16/9; }
  .area-head__txt { padding: 0 .4rem .4rem; }
  .area-head__row .btn { margin-left: 0; width: 100%; }
  .lesson-row__time { display: none; }
  .facts, .ex { grid-template-columns: minmax(0, 1fr); }
  .lesson__head { padding: 1.3rem; }
  .lead--quote { font-size: 1.25rem !important; }
  .actionbar { padding: .7rem 16px calc(.7rem + env(safe-area-inset-bottom, 0px)); }
  .actionbar__info { display: none; }
  .actionbar__btns { width: 100%; }
  .actionbar__btns .btn--teal { flex: 1; }
  .actionbar .done-flag { display: none !important; }
  .prompt__bar span { font-size: .8rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rv { opacity: 1; transform: none; }
}

/* ============ Kompaktes Dashboard: das Wichtige auf einem Bildschirm ============ */
.hero2 { min-height: 0; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); }
.hero2__txt { padding: clamp(1.4rem, 2.6vw, 2.2rem) clamp(1.4rem, 3vw, 2.4rem); }
.hero2 h1 { font-size: clamp(1.9rem, 3.1vw, 2.65rem); margin: .45rem 0 .6rem; }
.hero2 .lead { font-size: .98rem; }
.hero2__next { margin-top: 1.1rem; padding: .95rem .95rem .95rem 1.2rem; }
.hero2__meta { margin-top: .85rem; }
.hero2__img img { max-height: 360px; width: auto; max-width: 100%; margin-top: 1rem; }

.fokus { margin-top: 1rem; padding: 1.3rem 1.5rem 1.3rem; }
.fokus__head h2 { margin: .25rem 0 .2rem; font-size: clamp(1.3rem, 2.1vw, 1.6rem); }
.fokus__head p { font-size: .88rem; }
.fokus__grid { margin-top: .9rem; gap: .5rem; }
.fokus__opt { padding: .75rem 2.4rem .75rem .95rem; border-radius: 13px; }
.fokus__opt b { font-size: .9rem; }
.fokus__opt small { font-size: .76rem; }
.fokus__check { top: .75rem; right: .8rem; }
.fokus__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .8rem; align-items: end; margin-top: .9rem; }
.fokus__row .fokus__ziel { margin: 0; }
.fokus__row .fokus__btns { margin: 0; flex-wrap: nowrap; }
.fokus__row .fokus__hint { display: none; }

.journey { margin-top: 1rem; padding: 1.2rem 1.5rem 1.1rem; }
.journey__head { margin-bottom: .4rem; }
.journey__head h2 { margin-top: .2rem; }
.journey__track { padding-top: 1.8rem; }

.all-areas { margin-top: 1.6rem; border-radius: var(--r); background: var(--panel); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.all-areas summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 1rem; padding: 1.05rem 1.3rem; }
.all-areas summary::-webkit-details-marker { display: none; }
.all-areas summary span { flex: 1; }
.all-areas summary b { display: block; color: var(--ink); font-size: 1rem; }
.all-areas summary small { color: var(--muted); font-size: .8rem; }
.all-areas summary svg { width: 20px; height: 20px; color: var(--muted); transition: transform .3s var(--ease); }
.all-areas[open] summary svg { transform: rotate(90deg); }
.all-areas:hover { border-color: #D9E9E9; }
.all-areas > .mods { padding: 0 1rem 1rem; }
.mod__path { position: absolute; right: .55rem; top: .55rem; z-index: 2; font-size: .58rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #08292A; background: var(--teal); padding: .2rem .45rem; border-radius: 6px; }

.home-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 1rem; align-items: start; }

@media (max-width: 1100px) { .hero2 { grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr); } }
@media (max-width: 900px) { .fokus__row { grid-template-columns: minmax(0, 1fr); } .home-row { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 760px) {
  .hero2 { grid-template-columns: minmax(0, 1fr); }
  .hero2__img img { max-height: none; width: 300px; }
  .fokus__row .fokus__btns .btn--primary { width: 100%; }
}
.fokus__opt { padding: .8rem 2.4rem .8rem 1rem; min-height: 0; justify-content: center; }
.hero2__img img { max-height: 330px; }

/* Bereichsseite: So arbeitest du und Ergebnis vor den Lektionen */
.area-intro { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 1rem; margin-top: 1rem; align-items: start; }
.area-intro__how { border-color: #CDEBEB; background: linear-gradient(180deg, var(--teal-soft), var(--panel) 70%); }
.area-intro__key { margin: .9rem 0 0; padding: .75rem .9rem; border-radius: 12px; background: var(--panel); border: 1px solid #CDEBEB; font-size: .88rem; }
@media (max-width: 900px) { .area-intro { grid-template-columns: minmax(0, 1fr); } }
.fokus__soon { display: inline-block; margin-top: .25rem; font-size: .66rem !important; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--pink) !important; }

/* Fundament-Check */
.fcheck { margin-top: 1rem; padding: 1.3rem 1.5rem 1.2rem; }
.fcheck__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.fcheck__head h2 { font-size: clamp(1.3rem, 2.1vw, 1.6rem); font-weight: 400; margin: .25rem 0 .25rem; }
.fcheck__head p { font-size: .88rem; max-width: 72ch; }
.fcheck__head .chip { flex: none; }
.fcheck__list { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
.fcheck__row { display: flex; align-items: center; gap: .75rem; margin: 0; padding: .6rem .75rem; border-radius: 13px; border: 1px solid var(--line); background: var(--panel); transition: border-color .2s, background .2s; }
.fcheck__row:hover { border-color: #D7D5CE; }
.fcheck__row.is-done { background: var(--teal-soft); border-color: #CDEBEB; }
.fcheck__tick { position: relative; cursor: pointer; flex: none; }
.fcheck__tick input { position: absolute; opacity: 0; width: 0; height: 0; }
.fcheck__box { width: 26px; height: 26px; border-radius: 8px; border: 2px solid #D5D3CC; background: #fff; display: grid; place-items: center; color: transparent; transition: background .2s, border-color .2s; }
.fcheck__box svg { width: 14px; height: 14px; }
.fcheck__tick input:checked + .fcheck__box { background: var(--teal); border-color: var(--teal); color: #fff; animation: pop .35s var(--ease); }
.fcheck__tick input:focus-visible + .fcheck__box { outline: 2px solid var(--teal); outline-offset: 2px; }
.fcheck__txt { flex: 1; min-width: 0; }
.fcheck__txt b { display: block; color: var(--ink); font-size: .88rem; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fcheck__txt small { color: var(--muted); font-size: .72rem; font-weight: 700; letter-spacing: .04em; }
.fcheck__row.is-done .fcheck__txt small { color: var(--teal-ink); }
.fcheck__go { flex: none; display: inline-flex; align-items: center; gap: .3rem; font-size: .78rem; font-weight: 800; color: var(--ink); padding: .4rem .65rem; border-radius: 9px; background: var(--soft); transition: background .2s; }
.fcheck__go:hover { background: var(--ink); color: #fff; }
.fcheck__go svg { width: 14px; height: 14px; }
.fcheck__note { margin: .8rem 0 0; font-size: .78rem; color: var(--muted); }
@media (max-width: 760px) {
  .fcheck { padding: 1.1rem; }
  .fcheck__head { flex-direction: column; }
  .fcheck__list { grid-template-columns: minmax(0, 1fr); }
}
.fcheck { padding: 1.15rem 1.5rem 1.1rem; }
.fcheck__list { margin-top: .8rem; gap: .45rem; }
.fcheck__row { padding: .5rem .7rem; }
.fcheck__row { padding: .42rem .7rem; }
.fcheck__list { gap: .4rem; }
.fcheck__head h2 { margin: .2rem 0 .15rem; }
.fcheck__ok { flex: none; font-size: .72rem; font-weight: 800; color: var(--teal-ink); padding: .4rem .2rem; }
.fcheck__row { min-height: 46px; }
@media (max-width: 760px) {
  .fcheck__txt b { white-space: normal; }
  .fcheck__golabel { display: none; }
  .fcheck__go { padding: .45rem; }
}

/* Ein Ordner fürs Fundament: Hinweis in der Lektion und Ordner-Vorschau */
.folder-note { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: .9rem; margin-top: 1rem; padding: 1rem 1.15rem; border-radius: 16px; background: var(--ink); color: #fff; box-shadow: var(--shadow); }
.folder-note > svg { width: 26px; height: 26px; color: var(--teal); margin-top: .1rem; }
.folder-note b { display: block; color: #fff; font-size: .98rem; }
.folder-note span { display: block; color: rgba(255,255,255,.8); font-size: .88rem; margin-top: .15rem; }
.folder-note em { font-style: normal; font-weight: 800; color: var(--teal); }
.folder-note__tree { grid-column: 2; margin-top: .6rem; }
.folder-note__tree summary { cursor: pointer; font-size: .8rem; font-weight: 700; color: var(--teal); list-style: none; }
.folder-note__tree summary::-webkit-details-marker { display: none; }
.folder-note__tree .ftree { margin-top: .6rem; background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); }
.folder-note__tree .ftree__root b, .folder-note__tree .ftree li span { color: #fff; }
.folder-note__tree .ftree li { color: rgba(255,255,255,.75); }
.folder-note__tree .ftree li.is-here { background: rgba(82,190,192,.22); }
.ftree__label { margin: .9rem 0 .4rem; font-size: .78rem; font-weight: 700; color: var(--ink); }
.ftree { border-radius: 12px; border: 1px solid #CDEBEB; background: var(--panel); padding: .7rem .8rem; }
.ftree__root { display: flex; align-items: center; gap: .5rem; padding-bottom: .4rem; margin-bottom: .3rem; border-bottom: 1px dashed var(--line); }
.ftree__root svg { width: 20px; height: 20px; color: var(--teal-ink); }
.ftree__root b { color: var(--ink); font-size: .92rem; }
.ftree__root small { margin-left: auto; color: var(--muted); font-size: .72rem; font-weight: 700; }
.ftree ul { list-style: none; margin: 0; padding: 0 0 0 .9rem; border-left: 1px solid var(--line); }
.ftree li { display: flex; align-items: center; gap: .45rem; margin: 0; padding: .22rem .4rem; border-radius: 7px; font-size: .84rem; color: var(--text); }
.ftree li svg { width: 15px; height: 15px; color: var(--muted); }
.ftree li.is-sub { padding-left: 1.6rem; }
.ftree li.is-sub svg { color: var(--teal-ink); }
.ftree li.is-here { background: var(--teal-soft); font-weight: 700; }
.fcheck__side { display: flex; flex-direction: column; align-items: flex-end; gap: .45rem; flex: none; }
.fcheck__bc { display: inline-flex; align-items: center; gap: .3rem; font-size: .76rem; font-weight: 700; color: var(--teal-ink); }
.fcheck__bc svg { width: 13px; height: 13px; }
.fcheck__bc:hover { text-decoration: underline; }
@media (max-width: 760px) { .fcheck__side { flex-direction: row; align-items: center; flex-wrap: wrap; } }

/* ---------- Die 5 Schritte: animierte Grafik ---------- */
.steps5 { margin-top: 1rem; padding: 1.3rem 1.6rem 1.4rem; overflow: hidden; position: relative; }
.steps5::before { content: ""; position: absolute; inset: -40% -10% auto auto; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(82,190,192,.13), transparent 65%); pointer-events: none; }
.steps5__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: .4rem; position: relative; }
.steps5__head h2 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); font-weight: 400; margin-top: .2rem; }
.steps5__track { list-style: none; margin: 0; padding: 2.1rem 0 0; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); position: relative; }
.steps5__line { position: absolute; top: calc(2.1rem + 32px); left: calc(100% / var(--n) / 2); right: calc(100% / var(--n) / 2); height: 3px; margin-top: -1.5px; border-radius: 3px; background: var(--soft-2); }
.steps5__line > i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--teal-ink), var(--teal) 70%, #8FD6D7); transition: width 1.6s var(--ease) .45s; position: relative; }
.steps5__line > i::after { content: ""; position: absolute; right: -2px; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 5px rgba(82,190,192,.22); opacity: 0; transition: opacity .3s 1.9s; }
.steps5.in .steps5__line > i::after { opacity: 1; }
.s5 { position: relative; z-index: 1; opacity: 0; transform: translateY(14px) scale(.96); transition: opacity .55s var(--ease), transform .55s var(--ease); transition-delay: calc(.15s + var(--i) * .13s); }
.steps5.in .s5 { opacity: 1; transform: none; }
.s5 > a { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .6rem; padding: 0 .4rem; color: inherit; text-decoration: none; }
.s5__dot { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--panel); border: 2px solid var(--line); color: var(--ink); font-family: var(--display); font-size: 1.55rem; line-height: 1; transition: transform .35s var(--ease), border-color .3s, box-shadow .3s, background .3s; }
.s5__dot svg { width: 26px; height: 26px; }
.s5__dot .ring-wrap > span { font-size: 1.3rem !important; font-family: var(--display); }
.s5 > a:hover .s5__dot { transform: translateY(-4px) scale(1.06); border-color: var(--teal); box-shadow: 0 12px 26px -12px rgba(31,132,134,.55); }
.s5.is-done .s5__dot { background: var(--teal); border-color: var(--teal); color: #fff; }
.steps5.in .s5.is-done .s5__dot svg { animation: s5pop .5s var(--ease) both; animation-delay: calc(.5s + var(--i) * .13s); }
.s5.is-current .s5__dot { background: var(--ink); border-color: var(--ink); color: #fff; position: relative; box-shadow: 0 0 0 6px var(--teal-soft), 0 14px 30px -10px rgba(18,23,43,.55); }
.s5.is-current .s5__dot::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid var(--teal); opacity: 0; animation: s5pulse 2.4s ease-out infinite 1.6s; }
.s5.is-current .s5__dot .ring .bg { stroke: rgba(255,255,255,.18); }
.s5.is-current .s5__dot .ring-wrap > span { color: #fff; }
.s5__txt { display: flex; flex-direction: column; align-items: center; gap: .15rem; }
.s5__txt b { font-size: .86rem; font-weight: 700; color: var(--ink); line-height: 1.25; }
.s5__txt small { font-size: .74rem; color: var(--muted); line-height: 1.35; max-width: 170px; }
.s5__state { margin-top: .3rem; font-size: .6rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.s5.is-done .s5__state { color: var(--teal-ink); }
.s5.is-current .s5__state { color: var(--pink); }
.s5__here { position: absolute; top: -1.85rem; left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: .62rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #fff; background: var(--teal-ink); padding: .22rem .55rem; border-radius: 6px; animation: s5bob 3s ease-in-out infinite; }
.s5__here::after { content: ""; position: absolute; left: 50%; bottom: -4px; margin-left: -4px; border: 4px solid transparent; border-bottom: 0; border-top-color: var(--teal-ink); }
@keyframes s5pulse { 0% { transform: scale(.9); opacity: .9; } 100% { transform: scale(1.35); opacity: 0; } }
@keyframes s5pop { 0% { transform: scale(0) rotate(-20deg); } 70% { transform: scale(1.2); } 100% { transform: scale(1); } }
@keyframes s5bob { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, -3px); } }
@media (max-width: 760px) {
  .steps5 { padding: 1.1rem 1.1rem 1.2rem; }
  .steps5__head { flex-direction: column; gap: .5rem; }
  .steps5__track { grid-template-columns: 1fr; padding: .6rem 0 0; row-gap: .9rem; }
  .steps5__line { top: calc(.6rem + 26px); bottom: 26px; left: 25px; right: auto; width: 3px; height: auto; margin: 0 0 0 -1.5px; }
  .steps5__line > i { width: 100% !important; height: 0; transition: height 1.6s var(--ease) .45s; }
  .steps5.in .steps5__line > i { height: var(--fill, 0%); }
  .steps5__line > i::after { display: none; }
  .s5 > a { flex-direction: row; text-align: left; align-items: center; gap: .9rem; padding: 0; }
  .s5__dot { width: 52px; height: 52px; flex: none; font-size: 1.3rem; }
  .s5__txt { align-items: flex-start; }
  .s5__txt small { max-width: none; }
  .s5__state { margin-top: .15rem; }
  .s5__here { position: static; transform: none; order: 3; margin-left: auto; animation: none; }
  .s5__here::after { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .s5, .steps5__line > i { transition: none; }
  .s5 { opacity: 1; transform: none; }
  .s5__here, .s5.is-current .s5__dot::after { animation: none; }
}

/* Fortschritt auf anderem Gerät */
.me__sync { margin-top: .8rem; padding-top: .7rem; border-top: 1px solid var(--line); }
.me__sync summary { cursor: pointer; list-style: none; font-size: .85rem; font-weight: 700; color: var(--ink); padding: .2rem .5rem; border-radius: 8px; }
.me__sync summary::-webkit-details-marker { display: none; }
.me__sync summary::after { content: "+"; float: right; color: var(--teal-ink); font-weight: 800; }
.me__sync[open] summary::after { content: "–"; }
.me__sync summary:hover { background: var(--soft); }
.me__sync p { font-size: .78rem; color: var(--muted); line-height: 1.45; margin: .5rem 0 .6rem; }
.me__sync .me__field { margin-top: .8rem; }
#meCodeOut { width: 100%; margin-top: .5rem; height: 38px; border-radius: 10px; border: 1.5px dashed var(--teal); padding: 0 .7rem; font: 600 .75rem/1 ui-monospace, Consolas, monospace; color: var(--teal-ink); background: var(--teal-soft); }

/* ---------- Namen: Bettina Binder & Andrea Kutilin gehören zur Marke ---------- */
figure.hero2__img { margin: 0; }
.names { display: flex; align-items: baseline; justify-content: center; flex-wrap: wrap; gap: .1rem .45rem; margin: 0; }
.names b { font-family: var(--display); font-weight: 400; font-size: 1.05rem; color: var(--ink); letter-spacing: 0; white-space: nowrap; }
.names__amp { font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: var(--teal-ink); }
.hero2__img .names {
  position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 2; white-space: nowrap; flex-wrap: nowrap;
  padding: .45rem 1rem; border-radius: 999px; background: rgba(255,255,255,.88); border: 1px solid rgba(255,255,255,.9);
  box-shadow: 0 10px 28px -12px rgba(18,23,43,.35); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  animation: namesIn .9s var(--ease) .45s both;
}
@keyframes namesIn { from { opacity: 0; transform: translate(-50%, 16px); } to { opacity: 1; transform: translate(-50%, 0); } }
.names--plain { margin: -.2rem 0 .9rem; }
.side__by { flex: none; display: flex; align-items: center; gap: .65rem; padding: .75rem 1.3rem .2rem; font-size: .74rem; line-height: 1.35; color: var(--muted); }
.side__by img { width: 44px; height: 36px; object-fit: cover; object-position: top; border-radius: 10px; background: var(--teal-soft); flex: none; }
.side__by b { color: var(--ink); font-weight: 700; white-space: nowrap; }
@media (max-width: 760px) {
  .hero2__img .names { bottom: 10px; padding: .35rem .8rem; }
  .names b { font-size: .95rem; }
}

/* ---------- Boxed: ab 1470px Bildschirmbreite mittig ---------- */
:root { --off: 0px; }
@media (min-width: 1471px) {
  :root { --off: calc((100vw - 1470px) / 2); }
  html { background: #EFEFEA; }
  body { background: transparent; }
  body::before { content: ""; position: fixed; top: 0; bottom: 0; left: var(--off); width: 1470px; background: var(--bg); box-shadow: 0 0 0 1px var(--line), 0 30px 80px -40px rgba(18,23,43,.18); z-index: -1; }
  .side { left: var(--off); }
  .main { margin-left: calc(var(--off) + var(--side)); margin-right: var(--off); }
  .topbar, .actionbar { left: calc(var(--off) + var(--side)); right: var(--off); }
  .page { max-width: none; }
}

/* ---------- Handy: Marke oben, Navigation unten in Daumenreichweite ---------- */
.top-brand { display: none; align-items: center; gap: .55rem; min-width: 0; }
.top-brand .logo-mark { width: 32px; height: 32px; border-radius: 10px; font-size: 1.1rem; }
.top-brand b { display: block; color: var(--ink); font-size: .82rem; line-height: 1.05; }
.top-brand i { display: block; font-family: var(--serif); color: var(--teal-ink); font-size: 1rem; line-height: 1.05; }
.tabbar { display: none; }
@media (max-width: 1024px) { .top-brand { display: flex; } }
@media (max-width: 760px) {
  .topbar .menu-btn, .topbar .search-trigger, .topbar .top-next { display: none !important; }
  .me__name { display: none; }
  .me__btn { padding: 3px; }
  .tabbar {
    display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); position: fixed; left: 0; right: 0; bottom: 0; z-index: 28;
    padding: .35rem .4rem calc(.35rem + env(safe-area-inset-bottom, 0px));
    background: rgba(255,255,255,.94); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
    border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -18px rgba(18,23,43,.25);
  }
  .tabbar > a, .tabbar > button {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .15rem; min-height: 54px;
    border: 0; background: none; padding: 0; border-radius: 12px; cursor: pointer;
    font-size: .66rem; font-weight: 700; color: var(--muted); -webkit-tap-highlight-color: transparent;
  }
  .tabbar__ic { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; transition: background .2s, color .2s, transform .2s var(--ease); }
  .tabbar__ic svg { width: 20px; height: 20px; }
  .tabbar > :active .tabbar__ic { transform: scale(.92); }
  .tabbar .is-on { color: var(--ink); }
  .tabbar .is-on .tabbar__ic { background: var(--teal-soft); color: var(--teal-ink); }
  .tabbar [data-tab="next"] { color: var(--ink); }
  .tabbar [data-tab="next"] .tabbar__ic { width: 44px; height: 44px; margin-top: -18px; border-radius: 14px; background: var(--ink); color: #fff; box-shadow: 0 0 0 4px #fff, 0 10px 22px -8px rgba(18,23,43,.55); }
  body.in-lesson .tabbar { display: none; }
  .toast { bottom: calc(5.6rem + env(safe-area-inset-bottom, 0px)); }
  .page { padding-bottom: calc(6.5rem + env(safe-area-inset-bottom, 0px)); }
  .crumbs a, .crumb a, nav[aria-label="Brotkrumen"] a { padding: .35rem 0; display: inline-block; }
  .hero2 h1 { font-size: 1.85rem; }
  .hero2__img { height: 200px; }
}
.search-trigger .st-label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
@media (max-width: 1024px) { .search-trigger kbd { display: none; } .top-brand + .search-trigger { margin-left: .4rem; } }

/* Erklärvideo in Lektionen (Datei im Artefakt) */
.video-card { margin-top: 1rem; padding: 1.1rem 1.3rem 1.3rem; }
.video-card__head { display: flex; align-items: center; gap: .55rem; margin-bottom: .8rem; font-size: 1.05rem; }
.video-card__head svg { width: 22px; height: 22px; color: var(--teal-ink); flex: 0 0 auto; }
.video-card__head .chip { margin-left: auto; }
.video-player { display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 14px; background: #000; }
.block-bilder { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; margin: .6rem 0 .4rem; }
.block-bilder figure { margin: 0; }
.block-bilder .block-bild { margin: 0; }
.block-bilder figcaption { font-size: .82rem; opacity: .7; margin-top: .35rem; text-align: center; }
@media (max-width: 640px) { .video-card { padding: .9rem; } .block-bilder { grid-template-columns: 1fr; } }

/* ============ Feinschliff 2026-11: ruhiger, editorialer Auftritt ============
   Vorbild für die Gestaltungsmuster: leichte Groteske mit kursiver Serif-Betonung,
   Pillen statt Großbuchstaben-Labels, Haarlinien statt Schatten, Listen mit Trennlinien,
   Kennzahl-Kästen mit Eckmarken, dunkles Band für Abschlüsse. Farben bleiben die der Marke. */
:root {
  --bg: #FBFBFA;
  --soft: #F3F4F2;
  --soft-2: #E9EBE8;
  --line: #E6E8E4;
  --display: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --shadow-sm: none;
  --shadow: 0 1px 0 rgba(18,23,43,.03);
  --r: 20px;
  --tight: -.035em;
}

/* Überschriften: leichte Groteske, eng gesetzt, Betonung kursiv in Türkis */
h1, .display { font-weight: 500; letter-spacing: var(--tight); line-height: 1.06; text-wrap: balance; }
h1 em, h2 em, .display em, .section-title em { font-size: 1.08em; letter-spacing: -.01em; line-height: 1; }
.section-title { font-weight: 500; letter-spacing: -.03em; font-size: 1.7rem; margin: 2.8rem 0 1.1rem; }
.finale h3, .s5__dot, .names b { font-weight: 500; letter-spacing: -.02em; }
.lesson__head h1 { font-size: clamp(1.85rem, 3.4vw, 2.75rem); }
.area-head h1 { font-size: clamp(2rem, 3.6vw, 2.9rem); }
.block h3, .steps h4 { letter-spacing: -.015em; }

/* Labels als Pillen */
.eyebrow {
  display: inline-flex; align-items: center; gap: .4rem; width: fit-content;
  font-size: .76rem; font-weight: 600; letter-spacing: -.005em; text-transform: none; line-height: 1.3;
  padding: .3rem .8rem; border-radius: 999px; background: var(--soft); color: var(--text); border: 1px solid var(--line);
}
.eyebrow--teal { background: var(--panel); color: var(--teal-ink); border-color: #CDE9EA; }
.eyebrow--teal::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); flex: none; }

/* Karten: Haarlinie statt Schatten */
.card { box-shadow: none; }
.card:hover { box-shadow: none; }

/* Knöpfe: Hauptaktion mit feinem Verlauf, Pfeil gleitet */
.btn { letter-spacing: -.005em; }
.btn--primary { background: linear-gradient(180deg, #232B47 0%, var(--ink) 100%); box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 10px 24px -14px rgba(18,23,43,.7); }
.btn--primary:hover { background: linear-gradient(180deg, #2B3556 0%, #1A2038 100%); }
.btn--teal { background: linear-gradient(180deg, #67CACC 0%, var(--teal) 100%); box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 10px 24px -14px rgba(31,132,134,.8); }
.btn--teal:hover { background: linear-gradient(180deg, #74D1D3 0%, #5CC4C6 100%); }

/* Lektionslisten: eine Liste mit Trennlinien statt einzelner Kästen */
.lessons { gap: 0; }
.lesson-row {
  background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0;
  padding: 1.05rem .5rem; transition: background .25s, padding .3s var(--ease);
}
.lesson-row:hover { transform: none; box-shadow: none; background: var(--panel); padding-left: .9rem; border-radius: 14px; border-bottom-color: transparent; }
.lessons > .lesson-row:first-child, .phase-title + .lesson-row { border-top: 1px solid var(--line); }
.lessons > .lesson-row:first-child:hover, .phase-title + .lesson-row:hover { border-top-color: transparent; }
.lesson-row__num { width: 34px; height: 34px; border-width: 1px; font-size: .72rem; font-variant-numeric: tabular-nums; }
.lesson-row__body b { font-weight: 600; font-size: .98rem; letter-spacing: -.01em; }
.lesson-row__time { font-weight: 600; font-variant-numeric: tabular-nums; }
.phase-title { margin: 2rem 0 .7rem; }

/* Aufklapper: Fragenliste mit Trennlinien */
.toggle { background: transparent; border: 0; border-top: 1px solid var(--line); border-radius: 0; margin: 0; }
.toggle:last-of-type { border-bottom: 1px solid var(--line); }
.toggle:hover { border-color: var(--line); }
.toggle summary { padding: 1.1rem .3rem; font-weight: 600; font-size: .97rem; letter-spacing: -.01em; }
.toggle summary:hover { color: var(--teal-ink); }
.toggle summary::after { width: 22px; height: 22px; border: 0; border-radius: 50%; transform: none; flex: none;
  background: var(--soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2312172B' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center/12px no-repeat;
  transition: transform .35s var(--ease), background-color .2s; }
.toggle[open] summary::after { transform: rotate(45deg); background-color: var(--teal-soft); }
.toggle > div { padding: 0 .3rem 1.2rem; color: var(--text); }

/* Kennzahl-Kästen mit Eckmarken */
.fact {
  background: var(--panel); border: 1px solid var(--line); border-radius: 4px; position: relative;
  --c: var(--teal-ink); --l: 10px;
  background-image:
    linear-gradient(var(--c), var(--c)), linear-gradient(var(--c), var(--c)),
    linear-gradient(var(--c), var(--c)), linear-gradient(var(--c), var(--c)),
    linear-gradient(var(--c), var(--c)), linear-gradient(var(--c), var(--c)),
    linear-gradient(var(--c), var(--c)), linear-gradient(var(--c), var(--c));
  background-repeat: no-repeat;
  background-size: var(--l) 1.5px, 1.5px var(--l), var(--l) 1.5px, 1.5px var(--l), var(--l) 1.5px, 1.5px var(--l), var(--l) 1.5px, 1.5px var(--l);
  background-position: 0 0, 0 0, 100% 0, 100% 0, 0 100%, 0 100%, 100% 100%, 100% 100%;
}
.fact b { letter-spacing: .12em; }

/* Schritte: feine Zeitleiste mit Türkis */
.steps::before { width: 1px; left: 17px; background: linear-gradient(180deg, var(--teal) 0%, #CDE9EA 60%, transparent 100%); }
.steps > li::before { width: 36px; height: 36px; border-width: 1px; border-color: #CDE9EA; color: var(--teal-ink); font-size: .8rem; box-shadow: 0 0 0 4px var(--bg); }
.steps > li { padding-left: 3.3rem; }

/* Beispiel schwach/stark: Schwaches durchgestrichen wie ein verworfener Entwurf */
.ex__row { border-radius: 4px; }
.ex__row.bad { background: transparent; color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(214,16,119,.55); text-decoration-thickness: 1.5px; }
.ex__row.bad .ex__tag { text-decoration: none; display: inline-block; }
.ex__row.good { background: var(--panel); }

/* Abschluss eines Bereichs: dunkles Band */
.finale { background: var(--ink); border-color: var(--ink); color: rgba(255,255,255,.72); padding: 2.6rem 1.8rem; border-radius: 24px; position: relative; overflow: hidden; }
.finale::before { content: ""; position: absolute; inset: auto -20% -60% -20%; height: 120%; background: radial-gradient(closest-side, rgba(82,190,192,.22), transparent); pointer-events: none; }
.finale > * { position: relative; }
.finale h3 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.1rem); }
.finale p, .finale strong { color: rgba(255,255,255,.72); }
.finale .chip--teal { background: rgba(82,190,192,.16); color: #9FE0E1; }
.finale a:not(.btn) { color: #9FE0E1; }
.finale .btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.25); }

/* Beruhigte Details */
.prompt { box-shadow: none; }
.callout { border-radius: 4px; border: 1px solid #CDE9EA; }
.chip { font-weight: 600; }
.curri__item.is-current { background: var(--soft); box-shadow: inset 2px 0 0 var(--teal); border-radius: 4px 11px 11px 4px; }

@media (prefers-reduced-motion: reduce) {
  .lesson-row, .toggle summary::after { transition: none; }
}

/* ============ Feinschliff 2: Verläufe, Grafiken, Bewegung, weniger Text ============
   Nur Markenfarben: Dunkelblau, Türkis, Pink (sparsam). */
:root { --grad-soft: linear-gradient(135deg, #EAF7F7 0%, #FFFFFF 45%, #FDF1F7 100%); }

/* Seiten-Hintergrund: zwei ruhige Farbschleier, die langsam atmen */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(42vw 38vw at 92% -6%, rgba(82,190,192,.16), transparent 70%),
    radial-gradient(36vw 32vw at 18% 108%, rgba(214,16,119,.07), transparent 70%);
  animation: veil 18s ease-in-out infinite alternate;
}
@keyframes veil { to { transform: translate3d(-2%, 1.5%, 0) scale(1.04); } }
body { background: var(--bg); }
.main, .page { background: transparent; }

/* Hero: Verlauf hinter dem Text, feiner Glanzkreis */
.hero2 { background: var(--grad-soft); }
.hero2::before {
  content: ""; position: absolute; width: 520px; height: 520px; left: -160px; top: -260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(82,190,192,.22), transparent 62%); pointer-events: none; animation: drift 14s ease-in-out infinite alternate;
}
@keyframes drift { to { transform: translate3d(60px, 40px, 0); } }
.hero2 h1 { margin-top: 0; }

/* Claude Basics: eine kompakte Zeile */
.basics2 { margin-top: 1rem; display: flex; align-items: center; gap: 1.1rem; padding: 1rem 1.3rem; }
.basics2__play { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; flex: none; color: #fff;
  background: linear-gradient(135deg, var(--teal), var(--teal-ink)); box-shadow: 0 0 0 6px var(--teal-soft); animation: pulse 2.8s var(--ease) infinite; }
.basics2__play svg { width: 20px; height: 20px; margin-left: 2px; }
@keyframes pulse { 50% { box-shadow: 0 0 0 11px rgba(82,190,192,.08); } }
.basics2__txt { flex: 1; min-width: 0; }
.basics2__txt h2 { font-size: clamp(1.15rem, 1.8vw, 1.4rem); margin: 0; }
.basics2__txt small { display: inline-flex; align-items: center; gap: .35rem; color: var(--muted); font-size: .8rem; font-weight: 600; margin-top: .15rem; }
.basics2__txt small svg { width: 14px; height: 14px; }
.basics2__btns { display: flex; gap: .5rem; flex-wrap: wrap; }
@media (max-width: 640px) { .basics2 { flex-wrap: wrap; } .basics2__btns { width: 100%; } .basics2__btns .btn { flex: 1; } }

/* Ergebnisse leer: kleine Platzhalter-Grafik */
.empty-res { display: flex; gap: .4rem; margin: .2rem 0 .7rem; }
.empty-res i { flex: 1; height: 38px; border-radius: 10px; border: 1.5px dashed #CDE9EA; background: linear-gradient(180deg, var(--teal-soft), transparent); }
.empty-res i:nth-child(2) { animation: shimmer 2.4s ease-in-out infinite; }
@keyframes shimmer { 50% { opacity: .45; } }

/* Bereich: Kopf mit Verlauf */
.area-head { background: var(--grad-soft); }

/* Das hast du am Ende: Kacheln statt Liste */
.goals .section-title { margin-top: 2rem; }
.goals .section-title small { display: inline-flex; align-items: center; gap: .35rem; }
.goals .section-title small svg { width: 14px; height: 14px; }
.goals__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: .7rem; }
.goals__grid li { margin: 0; display: flex; flex-direction: column; gap: .7rem; padding: 1rem 1.05rem 1.1rem; border-radius: 16px; background: var(--panel);
  border: 1px solid var(--line); font-size: .88rem; line-height: 1.45; color: var(--ink); font-weight: 500;
  animation: rise .7s var(--ease) both; animation-delay: calc(var(--i) * 70ms); transition: transform .3s var(--ease), border-color .25s; }
.goals__grid li:hover { transform: translateY(-3px); border-color: #CDE9EA; }
.goals__n { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; font-weight: 800; font-size: .78rem; color: #fff;
  background: linear-gradient(135deg, var(--teal), var(--teal-ink)); }
.goals__grid li:last-child .goals__n { background: linear-gradient(135deg, #E0458F, var(--pink)); }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }

/* So arbeitest du: eingeklappt */
.toggle.how { margin-top: 1rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.toggle.how summary svg { width: 18px; height: 18px; color: var(--teal-ink); }

/* Lektionsliste: nur die nächste Lektion mit Beschreibung, hervorgehoben */
.lesson-row.is-next { background: linear-gradient(90deg, var(--teal-soft), transparent 75%); border-radius: 14px; border-bottom-color: transparent; padding-left: .9rem; }
.lesson-row.is-next .lesson-row__num { animation: pulse 2.8s var(--ease) infinite; }
.lesson-row.is-next .lesson-row__body small { -webkit-line-clamp: 2; }

/* Lektion: Kopf mit Verlauf, Warum eingeklappt */
.lesson__head { background: var(--grad-soft); position: relative; overflow: hidden; }
.why { margin-top: .8rem; }
.why summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: .4rem; font-size: .82rem; font-weight: 700; color: var(--teal-ink); }
.why summary::-webkit-details-marker { display: none; }
.why summary svg { width: 15px; height: 15px; }
.why summary::after { content: "+"; font-weight: 800; margin-left: .1rem; transition: transform .3s var(--ease); }
.why[open] summary::after { transform: rotate(45deg); }
.why p { margin: .5rem 0 0; font-size: .92rem; max-width: 68ch; animation: pageIn .4s var(--ease); }

/* Ordner-Hinweis: eine Zeile, Anleitung eingeklappt */
.folder-note { background: linear-gradient(135deg, #1A2140 0%, var(--ink) 60%); }
.folder-note b em { color: var(--teal); font-style: normal; }
.folder-note__how p { color: rgba(255,255,255,.8); font-size: .86rem; margin: .5rem 0; }
.folder-note__how b { display: inline; }

/* Hauptknopf: Glanz beim Darüberfahren */
.btn--primary, .btn--teal { position: relative; overflow: hidden; }
.btn--primary::after, .btn--teal::after {
  content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.28) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .8s var(--ease); pointer-events: none;
}
.btn--primary:hover::after, .btn--teal:hover::after { transform: translateX(120%); }

/* Abschluss-Band: langsam wandernder Verlauf */
.finale { background: linear-gradient(120deg, #12172B 0%, #172447 45%, #12172B 100%); background-size: 200% 100%; animation: band 12s ease-in-out infinite alternate; }
@keyframes band { to { background-position: 100% 0; } }

@media (prefers-reduced-motion: reduce) {
  body::before, .hero2::before, .basics2__play, .empty-res i, .goals__grid li, .lesson-row.is-next .lesson-row__num, .finale { animation: none !important; }
  .btn--primary::after, .btn--teal::after { display: none; }
}
.goals__grid { grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); }
@media (max-width: 900px) { .goals__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .goals__grid { grid-template-columns: minmax(0, 1fr); } .goals__grid li { flex-direction: row; align-items: flex-start; } .goals__n { flex: none; } }

/* Menü-Icons statt Abkürzungen */
.nav-num.nav-ic { background: var(--teal-soft); color: var(--teal-ink); }
.nav-num.nav-ic svg { width: 15px; height: 15px; color: var(--teal-ink) !important; transition: transform .35s var(--ease); }
.nav-link:hover .nav-num.nav-ic svg { transform: scale(1.12) rotate(-6deg); }
.nav-link.is-active .nav-num.nav-ic { background: linear-gradient(135deg, var(--teal), var(--teal-ink)); }
.nav-link.is-active .nav-num.nav-ic svg { color: #fff !important; }
