/* =====================================================================
   Christian Bischoff Akademie — Kursplattform
   Ästhetik: editorial · premium · dunkles Petrol mit Gold
   Fonts: Fraunces (Display-Serif) + Hanken Grotesk (Body)
   ===================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300..900;1,9..144,300..700&family=Hanken+Grotesk:wght@300..800&display=swap');

:root {
  --bg: #0a1416; --bg-2: #0d1c1f; --surface: #112528; --surface-2: #16302f;
  --line: rgba(216,200,150,0.14); --line-soft: rgba(255,255,255,0.07);
  --teal: #3aa893; --teal-deep: #1d6b5f; --teal-glow: rgba(58,168,147,0.22);
  --gold: #cda456; --gold-soft: #e6cd8d; --gold-deep: #a9823a;
  --cream: #f3ede1; --text: #e7e2d6; --muted: #9aaaa6; --faint: #6f817d;
  --ok: #5fc9a3; --maxw: 1180px;
  --ease: cubic-bezier(0.22,1,0.36,1);
  --serif: 'Fraunces', Georgia, serif; --sans: 'Hanken Grotesk', system-ui, sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans); background: var(--bg); color: var(--text);
  line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; position: relative; min-height: 100vh;
}
body::before {
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(60vw 60vw at 78% -8%, var(--teal-glow), transparent 60%),
    radial-gradient(48vw 48vw at 8% 102%, rgba(205,164,86,0.10), transparent 60%);
}
body::after {
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 1; opacity: 0.035; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.wrap { position: relative; z-index: 2; }
.container { width: min(100% - 2.6rem, var(--maxw)); margin-inline: auto; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
::selection { background: var(--gold); color: #1a1205; }
.serif { font-family: var(--serif); }
.eyebrow { font-size: 0.72rem; letter-spacing: 0.42em; text-transform: uppercase; font-weight: 600; color: var(--teal); }

/* ---------- NAV ---------- */
.nav { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(14px); background: rgba(10,20,22,0.72); border-bottom: 1px solid var(--line-soft); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: flex; align-items: center; gap: 0.85rem; }
.brand__mono { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--gold); border-radius: 50%; font-family: var(--serif); font-weight: 500; font-size: 1.05rem; color: var(--gold-soft); letter-spacing: -0.04em; }
.brand__txt { line-height: 1.15; }
.brand__txt b { font-weight: 600; font-size: 0.92rem; letter-spacing: 0.01em; color: var(--cream); }
.brand__txt span { display: block; font-size: 0.68rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--faint); }
.nav__right { display: flex; align-items: center; gap: 1.4rem; }
.nav__link { font-size: 0.82rem; color: var(--muted); display: inline-flex; align-items: center; gap: 0.5rem; transition: color 0.3s var(--ease); }
.nav__link:hover { color: var(--gold-soft); }
.nav__link svg { width: 15px; height: 15px; }
.nav__user { font-size: 0.8rem; color: var(--muted); display: flex; align-items: center; gap: 0.6rem; }
.nav__user b { color: var(--cream); font-weight: 600; text-transform: capitalize; }
.nav__avatar { width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, var(--teal-deep), var(--gold-deep)); display: grid; place-items: center; color: #08110f; font-weight: 700; font-size: 0.85rem; text-transform: uppercase; }

/* ---------- BUTTONS ---------- */
.btn { display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.8rem 1.5rem; border-radius: 100px; font-size: 0.9rem; font-weight: 600; cursor: pointer; border: 1px solid transparent; transition: all 0.3s var(--ease); font-family: var(--sans); }
.btn svg { width: 17px; height: 17px; }
.btn--gold { background: var(--gold); color: #1a1205; }
.btn--gold:hover { background: var(--gold-soft); transform: translateY(-1px); box-shadow: 0 10px 30px -12px rgba(205,164,86,0.6); }
.btn--ghost { border-color: var(--line); color: var(--gold-soft); background: rgba(255,255,255,0.02); }
.btn--ghost:hover { border-color: var(--gold); background: rgba(205,164,86,0.06); }
.btn--block { width: 100%; justify-content: center; }
.btn:disabled { opacity: 0.5; cursor: default; transform: none; box-shadow: none; }

/* ---------- LOGIN ---------- */
.login-wrap { min-height: 100vh; display: grid; place-items: center; padding: 2rem; position: relative; z-index: 2; }
.login-card { width: min(100%, 420px); border: 1px solid var(--line-soft); border-radius: 22px; background: linear-gradient(180deg, var(--surface) 0%, var(--bg-2) 100%); padding: clamp(2rem, 5vw, 3rem); box-shadow: 0 40px 120px -50px rgba(0,0,0,0.9); }
.login-card .brand { justify-content: center; margin-bottom: 1.8rem; }
.login-card h1 { font-family: var(--serif); font-weight: 350; font-size: 1.9rem; color: var(--cream); text-align: center; letter-spacing: -0.02em; }
.login-card .sub { text-align: center; color: var(--muted); font-size: 0.92rem; margin-top: 0.5rem; margin-bottom: 2rem; }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--faint); margin-bottom: 0.5rem; }
.field input { width: 100%; padding: 0.85rem 1rem; border-radius: 12px; border: 1px solid var(--line); background: rgba(0,0,0,0.25); color: var(--cream); font-size: 1rem; font-family: var(--sans); transition: border-color 0.25s var(--ease); }
.field input:focus { outline: none; border-color: var(--gold); }
.login-err { color: #ec8a7a; font-size: 0.85rem; min-height: 1.2rem; margin-bottom: 0.6rem; text-align: center; }
.login-quote { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line-soft); text-align: center; font-family: var(--serif); font-style: italic; font-size: 1rem; color: var(--gold-soft); line-height: 1.4; }

/* ---------- HERO (Dashboard / Course) ---------- */
.hero { padding: clamp(3rem, 8vw, 6rem) 0 clamp(2rem, 4vw, 3.5rem); }
.hero__badge { display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.4rem 0.95rem; border: 1px solid var(--line); border-radius: 100px; font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 1.6rem; }
.hero__badge::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 12px var(--teal); }
.hero h1 { font-family: var(--serif); font-weight: 350; font-size: clamp(2.4rem, 6vw, 4.6rem); line-height: 1.04; letter-spacing: -0.025em; color: var(--cream); max-width: 18ch; }
.hero h1 em { font-style: italic; color: var(--gold-soft); }
.hero__tagline { font-family: var(--serif); font-style: italic; font-size: clamp(1.1rem, 2.4vw, 1.55rem); color: var(--teal); margin-top: 1.2rem; }
.hero__intro { max-width: 60ch; margin-top: 1.4rem; font-size: 1.05rem; color: var(--muted); }
.hero__meta { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 2rem; }
.chip { font-size: 0.8rem; padding: 0.5rem 1rem; border: 1px solid var(--line-soft); border-radius: 100px; color: var(--text); background: rgba(255,255,255,0.02); }
.chip b { color: var(--gold-soft); font-weight: 600; }

/* ---------- SECTION HEAD ---------- */
.sec-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin: clamp(2.5rem,5vw,4rem) 0 1.8rem; padding-bottom: 1.2rem; border-bottom: 1px solid var(--line-soft); }
.sec-head h2 { font-family: var(--serif); font-weight: 350; font-size: clamp(1.6rem, 3.5vw, 2.4rem); color: var(--cream); letter-spacing: -0.02em; }
.sec-head p { color: var(--muted); font-size: 0.9rem; }

/* ---------- COURSE GRID ---------- */
.course-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: 1.5rem; }
.ccard { position: relative; border: 1px solid var(--line-soft); border-radius: 18px; background: linear-gradient(180deg, var(--surface) 0%, var(--bg-2) 100%); padding: 1.8rem; overflow: hidden; transition: transform 0.4s var(--ease), border-color 0.4s var(--ease); display: flex; flex-direction: column; min-height: 280px; }
.ccard:hover { transform: translateY(-4px); border-color: var(--line); }
.ccard__glow { position: absolute; inset: 0; opacity: 0; pointer-events: none; background: radial-gradient(40vw 30vw at 80% -10%, var(--teal-glow), transparent 60%); transition: opacity 0.5s var(--ease); }
.ccard:hover .ccard__glow { opacity: 1; }
.ccard--featured { border-color: var(--line); }
.ccard__tag { align-self: flex-start; font-size: 0.64rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--teal); border: 1px solid var(--line); border-radius: 100px; padding: 0.32rem 0.8rem; }
.ccard--featured .ccard__tag { color: #1a1205; background: var(--gold); border-color: var(--gold); }
.ccard__title { font-family: var(--serif); font-weight: 350; font-size: 1.55rem; line-height: 1.08; color: var(--cream); margin-top: 1.1rem; letter-spacing: -0.01em; }
.ccard__line { font-size: 0.92rem; color: var(--muted); margin-top: 0.8rem; flex-grow: 1; }
.ccard__foot { display: flex; align-items: center; justify-content: space-between; margin-top: 1.4rem; padding-top: 1.1rem; border-top: 1px solid var(--line-soft); }
.ccard__stat { font-size: 0.78rem; color: var(--faint); }
.ccard__stat b { color: var(--gold-soft); font-family: var(--serif); font-size: 1.05rem; }
.ccard__cta { font-size: 0.85rem; color: var(--gold-soft); font-weight: 600; display: inline-flex; align-items: center; gap: 0.5rem; }
.ccard__cta svg { width: 15px; height: 15px; transition: transform 0.3s var(--ease); }
.ccard:hover .ccard__cta svg { transform: translateX(4px); }
/* mini progress bar on card */
.ccard__prog { height: 4px; border-radius: 4px; background: rgba(255,255,255,0.07); margin-top: 1rem; overflow: hidden; }
.ccard__prog i { display: block; height: 100%; background: linear-gradient(90deg, var(--teal), var(--gold)); border-radius: 4px; transition: width 0.6s var(--ease); }

/* ---------- PROGRESS RING ---------- */
.ring { --p: 0; width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--gold) calc(var(--p) * 1%), rgba(255,255,255,0.08) 0); position: relative; }
.ring::before { content: ''; position: absolute; inset: 8px; border-radius: 50%; background: var(--bg-2); }
.ring span { position: relative; font-family: var(--serif); font-size: 1.4rem; color: var(--gold-soft); }
.statline { display: flex; gap: 2.5rem; align-items: center; flex-wrap: wrap; }
.statline .s b { font-family: var(--serif); font-size: 2rem; color: var(--gold-soft); display: block; line-height: 1; }
.statline .s span { font-size: 0.78rem; color: var(--muted); }

/* ---------- LEARNING PATHS ---------- */
.paths { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.2rem; }
.path { border: 1px solid var(--line-soft); border-left: 2px solid var(--teal); border-radius: 0 14px 14px 0; padding: 1.4rem 1.5rem; background: rgba(58,168,147,0.04); }
.path h3 { font-family: var(--serif); font-weight: 400; font-size: 1.25rem; color: var(--cream); }
.path p { font-size: 0.86rem; color: var(--muted); margin: 0.6rem 0 1rem; }
.path ol { list-style: none; counter-reset: p; }
.path li { counter-increment: p; position: relative; padding: 0.4rem 0 0.4rem 1.8rem; font-size: 0.9rem; color: var(--text); }
.path li::before { content: counter(p); position: absolute; left: 0; top: 0.4rem; width: 1.2rem; height: 1.2rem; border-radius: 50%; background: rgba(205,164,86,0.15); color: var(--gold-soft); font-size: 0.7rem; display: grid; place-items: center; font-family: var(--serif); }
.path a:hover { color: var(--gold-soft); }

/* ---------- COURSE PAGE: PHASE RAIL ---------- */
.arc { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); border-radius: 14px; overflow: hidden; margin: clamp(2rem,5vw,3.5rem) 0; }
.arc__step { background: var(--bg-2); padding: 1.3rem 1.2rem; }
.arc__num { font-family: var(--serif); font-size: 0.8rem; color: var(--teal); letter-spacing: 0.1em; }
.arc__txt { font-size: 0.86rem; color: var(--muted); margin-top: 0.4rem; }

/* ---------- COURSE PAGE: MODULES ---------- */
.module { border: 1px solid var(--line-soft); border-radius: 16px; background: linear-gradient(180deg, var(--surface) 0%, var(--bg-2) 100%); margin-bottom: 1.4rem; overflow: hidden; }
.module__head { padding: 1.5rem 1.8rem; display: flex; gap: 1rem; align-items: flex-start; }
.module__idx { font-family: var(--serif); font-size: 1.6rem; color: rgba(205,164,86,0.4); line-height: 1; }
.module__t { font-family: var(--serif); font-weight: 400; font-size: 1.3rem; color: var(--cream); letter-spacing: -0.01em; }
.module__o { font-size: 0.9rem; color: var(--muted); margin-top: 0.4rem; max-width: 70ch; }
.lessons { border-top: 1px solid var(--line-soft); }
.lrow { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.8rem; border-bottom: 1px solid var(--line-soft); transition: background 0.25s var(--ease); }
.lrow:last-child { border-bottom: none; }
.lrow:hover { background: rgba(255,255,255,0.02); }
.lrow__check { width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; flex-shrink: 0; color: transparent; }
.lrow--done .lrow__check { background: var(--ok); border-color: var(--ok); color: #08110f; }
.lrow__check svg { width: 14px; height: 14px; }
.lrow__body { flex-grow: 1; min-width: 0; }
.lrow__t { color: var(--cream); font-weight: 500; font-size: 1rem; }
.lrow--done .lrow__t { color: var(--muted); }
.lrow__m { font-size: 0.76rem; color: var(--faint); margin-top: 0.15rem; }
.lrow__go { color: var(--gold-soft); flex-shrink: 0; }
.lrow__go svg { width: 18px; height: 18px; }

/* progress header bar (course) */
.pbar { height: 8px; border-radius: 8px; background: rgba(255,255,255,0.07); overflow: hidden; margin-top: 1rem; max-width: 460px; }
.pbar i { display: block; height: 100%; background: linear-gradient(90deg, var(--teal), var(--gold)); border-radius: 8px; transition: width 0.6s var(--ease); }

/* ---------- LESSON PAGE ---------- */
.breadcrumb { font-size: 0.78rem; color: var(--faint); padding: 1.4rem 0 0.4rem; display: flex; gap: 0.5rem; align-items: center; flex-wrap: wrap; }
.breadcrumb a:hover { color: var(--gold-soft); }
.lesson-head { padding: 0.6rem 0 1.6rem; }
.lesson-kicker { display: flex; align-items: center; gap: 0.8rem; font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--teal); margin-bottom: 0.7rem; }
.lesson-kicker .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--faint); }
.lesson-title { font-family: var(--serif); font-weight: 350; font-size: clamp(1.8rem, 4vw, 2.8rem); line-height: 1.06; color: var(--cream); letter-spacing: -0.02em; max-width: 24ch; }
.player { position: relative; z-index: 2; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: #000; aspect-ratio: 16/9; box-shadow: 0 30px 80px -40px rgba(0,0,0,0.9); margin: 1.6rem 0 2rem; }
.player iframe { width: 100%; height: 100%; border: 0; display: block; }
.lesson-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.block { margin-bottom: 1.8rem; }
.block__label { font-size: 0.7rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--faint); margin-bottom: 0.7rem; display: flex; align-items: center; gap: 0.6rem; }
.block__label::before { content: ''; width: 16px; height: 1px; background: var(--gold); opacity: 0.7; }
.block p { color: var(--text); font-size: 1rem; line-height: 1.7; }
.exercise { border: 1px solid var(--line); border-left: 2px solid var(--gold); border-radius: 0 14px 14px 0; padding: 1.4rem 1.6rem; background: rgba(205,164,86,0.05); }
.exercise .block__label { color: var(--gold-soft); }
.exercise p { color: var(--cream); }
/* workbook / notes panel */
.panel { border: 1px solid var(--line-soft); border-radius: 16px; background: var(--bg-2); padding: 1.6rem; position: sticky; top: 88px; }
.panel h3 { font-family: var(--serif); font-weight: 400; font-size: 1.2rem; color: var(--cream); margin-bottom: 0.3rem; }
.panel .hint { font-size: 0.8rem; color: var(--faint); margin-bottom: 1rem; }
.panel textarea { width: 100%; min-height: 150px; resize: vertical; padding: 0.9rem 1rem; border-radius: 12px; border: 1px solid var(--line); background: rgba(0,0,0,0.25); color: var(--cream); font-family: var(--sans); font-size: 0.95rem; line-height: 1.6; }
.panel textarea:focus { outline: none; border-color: var(--gold); }
.save-state { font-size: 0.78rem; color: var(--faint); margin-top: 0.6rem; min-height: 1rem; transition: color 0.3s; }
.save-state.saved { color: var(--ok); }
.lesson-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin: 2.5rem 0; padding-top: 1.6rem; border-top: 1px solid var(--line-soft); }

/* ---------- FOOTER ---------- */
.footer { border-top: 1px solid var(--line-soft); padding: 3rem 0 4rem; margin-top: 4rem; }
.footer__inner { display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: space-between; align-items: center; }
.footer p { font-size: 0.78rem; color: var(--faint); max-width: 50ch; }

/* ---------- reveal + toast ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.toast { position: fixed; bottom: 1.5rem; left: 50%; transform: translateX(-50%) translateY(120%); background: var(--surface-2); border: 1px solid var(--gold); color: var(--cream); padding: 0.8rem 1.4rem; border-radius: 100px; font-size: 0.9rem; z-index: 100; transition: transform 0.4s var(--ease); box-shadow: 0 20px 50px -20px rgba(0,0,0,0.8); }
.toast.show { transform: translateX(-50%) translateY(0); }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 860px) { .lesson-grid { grid-template-columns: 1fr; } .panel { position: static; } }
@media (max-width: 560px) { .brand__txt span { display: none; } .statline { gap: 1.4rem; } }
.center-pad { padding: 5rem 0; text-align: center; color: var(--muted); }
.spin { width: 34px; height: 34px; border: 3px solid var(--line); border-top-color: var(--gold); border-radius: 50%; margin: 0 auto 1rem; animation: sp 0.8s linear infinite; }
@keyframes sp { to { transform: rotate(360deg); } }

/* =====================================================================
   VEREDELUNG — Lektion (hook, Kernerkenntnis, Zitat-Hero, Übung,
   Affirmationen, Tipp, Mikro-Aktion, Reflexion, Abschluss)
   ===================================================================== */
.lesson-hook { font-family: var(--serif); font-style: italic; font-size: clamp(1.05rem, 2.2vw, 1.3rem); line-height: 1.5; color: var(--gold-soft); margin-top: 1.1rem; max-width: 60ch; }

/* Kernerkenntnis */
.block.insight { border: 1px solid var(--line); border-left: 2px solid var(--teal); border-radius: 0 14px 14px 0; padding: 1.3rem 1.5rem; background: rgba(58,168,147,0.06); margin-bottom: 1.8rem; }
.block.insight .block__label { color: var(--teal); }
.block.insight .block__label::before { background: var(--teal); }
.insight__txt { font-size: 1.06rem; line-height: 1.7; color: var(--cream); }

/* Zitat-Hero */
.quote-hero { position: relative; margin: clamp(2rem,5vw,3.2rem) auto; max-width: 64ch; text-align: center; padding: 1rem 1.5rem; }
.quote-hero__mark { font-family: var(--serif); font-size: 5rem; line-height: 0.7; color: var(--gold); opacity: 0.35; height: 2.2rem; }
.quote-hero blockquote { font-family: var(--serif); font-weight: 350; font-style: italic; font-size: clamp(1.4rem, 3.4vw, 2.1rem); line-height: 1.3; color: var(--cream); letter-spacing: -0.01em; }
.quote-hero figcaption { margin-top: 1.1rem; font-size: 0.74rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--teal); }
.quote-hero figcaption::before { content: '— '; color: var(--gold-soft); }

/* Übung mit Schritten */
.block__label .dur { color: var(--teal); letter-spacing: 0.1em; }
.exercise__intro { color: var(--cream); margin-bottom: 0.9rem; }
ol.steps { list-style: none; counter-reset: st; display: grid; gap: 0.7rem; }
ol.steps li { counter-increment: st; position: relative; padding: 0.2rem 0 0.2rem 2.6rem; color: var(--cream); line-height: 1.6; }
ol.steps li::before { content: counter(st); position: absolute; left: 0; top: 0.05rem; width: 1.7rem; height: 1.7rem; border-radius: 50%; background: rgba(205,164,86,0.14); border: 1px solid var(--gold-deep); color: var(--gold-soft); font-family: var(--serif); font-size: 0.85rem; display: grid; place-items: center; }

/* Affirmationen */
.block.affirmations { border: 1px solid var(--line-soft); border-radius: 14px; background: linear-gradient(180deg, rgba(58,168,147,0.05), rgba(205,164,86,0.04)); padding: 1.4rem 1.6rem; margin-bottom: 1.8rem; }
.aff-list { list-style: none; display: grid; gap: 0.7rem; }
.aff-list li { position: relative; padding-left: 1.8rem; font-family: var(--serif); font-style: italic; font-size: 1.12rem; color: var(--gold-soft); line-height: 1.4; }
.aff-list li::before { content: ''; position: absolute; left: 0; top: 0.6em; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold); }

/* Tipp + Mikro-Aktion nebeneinander */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin-bottom: 1.8rem; }
.duo .block { margin-bottom: 0; height: 100%; }
.block.tip, .block.micro { border: 1px solid var(--line-soft); border-radius: 14px; padding: 1.3rem 1.5rem; background: var(--bg-2); }
.block.tip .block__label { color: var(--gold-soft); }
.block.micro { border-left: 2px solid var(--teal); }
.block.micro .block__label { color: var(--teal); }
.block.micro .block__label::before { background: var(--teal); }
.block.tip p, .block.micro p { color: var(--text); }

/* Reflexion */
.reflect { border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(180deg, var(--surface) 0%, var(--bg-2) 100%); padding: clamp(1.4rem,3vw,2rem); margin-bottom: 1.8rem; }
.reflect__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.reflect .hint { font-size: 0.86rem; color: var(--muted); margin: 0.3rem 0 1.4rem; }
.qa { margin-bottom: 1.3rem; }
.qa label { display: block; font-family: var(--serif); font-size: 1.08rem; color: var(--cream); line-height: 1.4; margin-bottom: 0.6rem; }
.qa textarea { width: 100%; min-height: 72px; resize: vertical; padding: 0.8rem 1rem; border-radius: 12px; border: 1px solid var(--line); background: rgba(0,0,0,0.25); color: var(--cream); font-family: var(--sans); font-size: 0.98rem; line-height: 1.6; transition: border-color 0.25s var(--ease); }
.qa textarea:focus { outline: none; border-color: var(--gold); }

/* Abschluss-Band (Takeaway + Ausblick) */
.close-band { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin: 2rem 0; }
.close-band > div { border-radius: 14px; padding: 1.4rem 1.6rem; }
.close-band__take { background: rgba(205,164,86,0.07); border: 1px solid var(--line); }
.close-band__take p { font-family: var(--serif); font-size: 1.12rem; color: var(--cream); line-height: 1.5; margin-top: 0.5rem; }
.close-band__next { background: rgba(58,168,147,0.05); border: 1px solid var(--line-soft); }
.close-band__next p { color: var(--muted); margin-top: 0.5rem; line-height: 1.6; }
.close-band .block__label { color: var(--gold-soft); }
.close-band__next .block__label { color: var(--teal); }

/* Workbook-Link im Panel */
.panel__wb { display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 1rem; font-size: 0.82rem; color: var(--teal); }
.panel__wb svg { width: 15px; height: 15px; }
.panel__wb:hover { color: var(--gold-soft); }

/* =====================================================================
   VEREDELUNG — Kurs-Seite (Willkommen + Abschluss)
   ===================================================================== */
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.welcome { border: 1px solid var(--line); border-left: 2px solid var(--gold); border-radius: 0 16px 16px 0; background: linear-gradient(180deg, rgba(205,164,86,0.06), rgba(58,168,147,0.03)); padding: clamp(1.4rem,3vw,2rem); margin: 1rem 0 0; }
.welcome__label { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-soft); }
.welcome__label svg { width: 16px; height: 16px; }
.welcome__body { font-family: var(--serif); font-size: clamp(1.05rem,2.2vw,1.28rem); font-style: italic; line-height: 1.5; color: var(--cream); margin-top: 0.8rem; max-width: 68ch; }
.welcome__how { list-style: none; display: grid; gap: 0.5rem; margin-top: 1.2rem; }
.welcome__how li { position: relative; padding-left: 1.6rem; font-size: 0.92rem; color: var(--muted); }
.welcome__how li::before { content: ''; position: absolute; left: 0; top: 0.55em; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); }

.completion { position: relative; text-align: center; border: 1px solid var(--line); border-radius: 20px; background: linear-gradient(180deg, var(--surface) 0%, var(--bg-2) 100%); padding: clamp(2rem,5vw,3.2rem); margin: 2.5rem 0 1rem; overflow: hidden; }
.completion::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(50% 60% at 50% -10%, var(--teal-glow), transparent 70%); opacity: 0.6; }
.completion__badge { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 1.2rem; background: rgba(255,255,255,0.05); border: 1px solid var(--line); color: var(--faint); transition: all 0.4s var(--ease); position: relative; }
.completion__badge svg { width: 30px; height: 30px; }
.completion--unlocked .completion__badge { background: var(--gold); border-color: var(--gold); color: #1a1205; box-shadow: 0 0 40px -6px var(--gold); }
.completion h3 { font-family: var(--serif); font-weight: 350; font-size: clamp(1.5rem,3.4vw,2.2rem); color: var(--cream); position: relative; }
.completion > p { max-width: 60ch; margin: 0.8rem auto 0; color: var(--muted); position: relative; }
.ritual { list-style: none; counter-reset: r; max-width: 52ch; margin: 1.6rem auto 0; text-align: left; display: grid; gap: 0.7rem; position: relative; }
.ritual li { counter-increment: r; position: relative; padding: 0.2rem 0 0.2rem 2.6rem; color: var(--cream); line-height: 1.6; }
.ritual li::before { content: counter(r); position: absolute; left: 0; top: 0; width: 1.8rem; height: 1.8rem; border-radius: 50%; background: rgba(205,164,86,0.14); border: 1px solid var(--gold-deep); color: var(--gold-soft); font-family: var(--serif); display: grid; place-items: center; font-size: 0.85rem; }
.completion__hint { display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 1.6rem; font-size: 0.8rem; color: var(--faint); position: relative; }
.completion__hint svg { width: 14px; height: 14px; }

@media (max-width: 720px) { .duo, .close-band { grid-template-columns: 1fr; } }

/* =====================================================================
   WORKBOOK (Bildschirm + Druck -> "Als PDF speichern")
   ===================================================================== */
.wb-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.4rem 0; flex-wrap: wrap; }
.wb { max-width: 820px; margin: 0 auto 3rem; }
.wb-cover { padding: 2rem 0 2.2rem; border-bottom: 2px solid var(--line); margin-bottom: 2rem; }
.wb-cover__kicker { font-size: 0.72rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--teal); }
.wb-cover__title { font-family: var(--serif); font-weight: 350; font-size: clamp(2rem,5vw,3rem); line-height: 1.05; color: var(--cream); margin-top: 0.8rem; }
.wb-cover__sub { font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: var(--gold-soft); margin-top: 0.8rem; }
.wb-cover__promise { color: var(--muted); margin-top: 1rem; line-height: 1.6; }
.wb-cover__meta { font-size: 0.8rem; color: var(--faint); margin-top: 1.2rem; letter-spacing: 0.04em; }
.wb-how { margin-top: 1.6rem; border: 1px solid var(--line-soft); border-radius: 12px; padding: 1.2rem 1.4rem; background: rgba(255,255,255,0.02); }
.wb-how h4 { font-family: var(--serif); font-weight: 400; font-size: 1rem; color: var(--cream); margin-bottom: 0.6rem; }
.wb-how ul { margin: 0; padding-left: 1.1rem; color: var(--muted); font-size: 0.9rem; display: grid; gap: 0.3rem; }
.wb-module { margin: 2.4rem 0; }
.wb-module__t { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; color: var(--cream); border-bottom: 1px solid var(--line-soft); padding-bottom: 0.6rem; display: flex; align-items: baseline; gap: 0.7rem; }
.wb-module__t span { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--teal); }
.wb-module__o { color: var(--muted); font-size: 0.9rem; margin-top: 0.5rem; }
.wb-lesson { margin: 1.8rem 0; padding: 1.4rem 0; border-bottom: 1px dashed var(--line-soft); page-break-inside: avoid; break-inside: avoid; }
.wb-lesson__t { font-family: var(--serif); font-weight: 400; font-size: 1.2rem; color: var(--cream); display: flex; align-items: baseline; gap: 0.7rem; }
.wb-num { font-size: 0.85rem; color: var(--gold-soft); font-family: var(--serif); }
.wb-insight { color: var(--text); margin-top: 0.5rem; line-height: 1.6; }
.wb-quote { font-family: var(--serif); font-style: italic; color: var(--gold-soft); border-left: 2px solid var(--gold); padding-left: 1rem; margin: 0.9rem 0; }
.wb-part { margin-top: 1.1rem; }
.wb-part h4 { font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--teal); margin-bottom: 0.6rem; }
.wb-ex-intro { color: var(--text); margin-bottom: 0.5rem; }
ol.wb-steps { padding-left: 1.3rem; display: grid; gap: 0.4rem; color: var(--text); }
.wb-dur { font-size: 0.82rem; color: var(--faint); margin-top: 0.4rem; }
.wb-q { color: var(--cream); font-weight: 500; margin-top: 0.7rem; }
.wb-lines { display: grid; gap: 0.9rem; margin: 0.6rem 0 0.4rem; }
.wb-lines span { display: block; height: 0; border-bottom: 1px solid var(--line); }
.wb-affs { padding-left: 1.2rem; color: var(--gold-soft); font-style: italic; display: grid; gap: 0.3rem; }
.wb-micro p { color: var(--text); }
.wb-completion { margin-top: 2.6rem; padding-top: 1.6rem; border-top: 2px solid var(--line); page-break-inside: avoid; }
.wb-completion h2 { font-family: var(--serif); font-weight: 400; font-size: 1.6rem; color: var(--cream); }
.wb-completion > p { color: var(--muted); margin-top: 0.6rem; line-height: 1.6; }
.wb-foot { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--line-soft); font-size: 0.74rem; color: var(--faint); text-align: center; }
.wb-muted { color: var(--faint); }

@media print {
  @page { margin: 16mm 14mm; }
  body, .wb-body { background: #fff !important; color: #1a1a1a !important; }
  body::before, body::after { display: none !important; }
  .no-print, .nav, .footer, .toast { display: none !important; }
  .wrap, .container { width: 100% !important; max-width: none !important; }
  .wb { max-width: none; margin: 0; }
  .wb-cover__title, .wb-module__t, .wb-lesson__t, .wb-completion h2, .wb-cover__sub { color: #111 !important; }
  .wb-cover__kicker, .wb-cover__meta, .wb-part h4, .wb-module__t span { color: #8a6d2f !important; }
  .wb-cover__promise, .wb-module__o, .wb-completion > p, .wb-how ul, .wb-dur { color: #444 !important; }
  .wb-insight, .wb-q, ol.wb-steps, .wb-ex-intro, .wb-micro p, .wb-lesson__t { color: #1a1a1a !important; }
  .wb-quote, .wb-affs, .wb-num { color: #7a5c1e !important; }
  .wb-lines span { border-bottom: 1px solid #bbb !important; }
  .wb-cover, .wb-completion { border-color: #999 !important; }
  .wb-lesson { border-bottom: 1px solid #ddd !important; }
  .wb-how { border: 1px solid #ccc !important; background: #fafafa !important; }
  ol.wb-steps li::marker { color: #8a6d2f; }
  a[href]::after { content: ''; }
}
