/*!
Theme Name:        Lebensquell Akademie — Kurse
Theme URI:         https://kurse.lebensquell-akademie.com
Author:            Martin Paulfeuerborn
Author URI:        https://life-change-management.de
Description:       Kurs-Portal Theme für die Lebensquell Akademie. Gleiche Brand wie lqa, optimiert als Member-Portal mit Kurs-Hub.
Version:           1.0.0
Requires at least: 6.0
Requires PHP:      7.4
License:           GPL v2 or later
Text Domain:       lqa-kurse
*/

/* ══════════════════════════════════════════════════════════════════
   LQA-KURSE THEME — Stylesheet
   ─────────────────────────────────────────────────────────────────
   1. Design Tokens
   2. Reset & Basis-Typografie
   3. Layout
   4. Buttons
   5. Header / Navigation
   6. Footer
   7. Kurs-Hub Homepage
   8. Member-Bereich (OptimizeMentor-Seiten)
   9. Login-Seite
  10. Responsive
   ══════════════════════════════════════════════════════════════════ */


/* ─── 1. DESIGN TOKENS ─────────────────────────────────────────── */
:root {
  --lqa-primary:       #1b68fb;
  --lqa-primary-dark:  #1450c9;
  --lqa-primary-soft:  rgba(27, 104, 251, 0.08);

  --lqa-warm:          #f5efe6;
  --lqa-warm-dark:     #e8dcc7;
  --lqa-earth:         #8b6f47;
  --lqa-sand:          #d4b896;

  --lqa-text-dark:     #191919;
  --lqa-text-mid:      #6b6b6b;
  --lqa-text-light:    #9b9b9b;
  --lqa-bg:            #fcfcfc;
  --lqa-surface:       #ffffff;
  --lqa-border:        #e5e5e5;

  --lqa-shadow-sm:     0 2px 8px rgba(0,0,0,0.04);
  --lqa-shadow-md:     0 6px 24px rgba(0,0,0,0.06);
  --lqa-shadow-lg:     0 14px 50px rgba(0,0,0,0.08);

  --lqa-radius:        10px;
  --lqa-radius-lg:     16px;

  --lqa-font-head:     'Poppins', sans-serif;
  --lqa-font-body:     'Karla', sans-serif;

  --lqa-max-width:     1140px;
  --lqa-header-h:      68px;
}


/* ─── 2. RESET & BASIS ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--lqa-font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--lqa-text-dark);
  background: var(--lqa-bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--lqa-primary); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4, h5 {
  font-family: var(--lqa-font-head);
  font-weight: 600;
  line-height: 1.2;
  color: var(--lqa-text-dark);
}

ul { list-style: none; }


/* ─── 3. LAYOUT ────────────────────────────────────────────────── */
.container {
  max-width: var(--lqa-max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.site-content {
  min-height: calc(100vh - var(--lqa-header-h) - 300px);
}

#page { display: flex; flex-direction: column; min-height: 100vh; }
#colophon { margin-top: auto; }


/* ─── 4. BUTTONS ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--lqa-radius);
  font-family: var(--lqa-font-head);
  font-weight: 600;
  font-size: 0.9375rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none !important;
  line-height: 1;
}

.btn--primary {
  background: var(--lqa-primary);
  color: #fff;
  border-color: var(--lqa-primary);
}
.btn--primary:hover {
  background: var(--lqa-primary-dark);
  border-color: var(--lqa-primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(27,104,251,0.25);
  color: #fff;
}

.btn--outline {
  background: transparent;
  color: var(--lqa-primary);
  border-color: var(--lqa-primary);
}
.btn--outline:hover {
  background: var(--lqa-primary);
  color: #fff;
  transform: translateY(-1px);
}

.btn--ghost-light {
  background: rgba(255,255,255,0.15);
  color: #fff;
  border-color: rgba(255,255,255,0.4);
  backdrop-filter: blur(4px);
}
.btn--ghost-light:hover {
  background: rgba(255,255,255,0.25);
  color: #fff;
}

.btn--sm { padding: 9px 20px; font-size: 0.875rem; }
.btn--lg { padding: 15px 36px; font-size: 1.0625rem; }


/* ─── 5. HEADER / NAVIGATION ───────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--lqa-header-h);
  background: rgba(252,252,252,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--lqa-border);
  box-shadow: var(--lqa-shadow-sm);
}

.site-header__inner {
  max-width: var(--lqa-max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-header__logo img,
.site-header__logo svg {
  height: 42px;
  width: auto;
}

.site-header__logo a { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.site-header__logo .site-name {
  font-family: var(--lqa-font-head);
  font-size: 1rem;
  font-weight: 600;
  color: var(--lqa-text-dark);
  line-height: 1.2;
}
.site-header__logo .site-name span {
  display: block;
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--lqa-text-mid);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Haupt-Nav */
.main-nav__list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav__list a {
  font-family: var(--lqa-font-head);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--lqa-text-dark);
  padding: 6px 12px;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
  text-decoration: none;
}

.main-nav__list a:hover,
.main-nav__list .current-menu-item > a {
  background: var(--lqa-primary-soft);
  color: var(--lqa-primary);
}

/* Login-Bereich im Header */
.header-auth {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.header-auth__greeting {
  font-size: 0.875rem;
  color: var(--lqa-text-mid);
}

/* Mobile Burger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--lqa-text-dark);
  border-radius: 2px;
  transition: all 0.25s ease;
}


/* ─── 6. FOOTER ────────────────────────────────────────────────── */
.site-footer {
  background: var(--lqa-text-dark);
  color: rgba(255,255,255,0.75);
  padding: 52px 0 28px;
  margin-top: 80px;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.site-footer__brand-name {
  display: block;
  font-family: var(--lqa-font-head);
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 12px;
}

.site-footer__brand p {
  font-size: 0.875rem;
  line-height: 1.7;
  margin-bottom: 10px;
}

.site-footer__brand a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
}
.site-footer__brand a:hover { color: #fff; }

.site-footer__heading {
  font-family: var(--lqa-font-head);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 16px;
}

.footer-nav__list li { margin-bottom: 8px; }
.footer-nav__list a {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.15s;
}
.footer-nav__list a:hover { color: #fff; }

.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  flex-wrap: wrap;
  gap: 12px;
}

.site-footer__copyright { font-size: 0.8rem; }

.footer-legal__list {
  display: flex;
  gap: 20px;
}
.footer-legal__list a {
  color: rgba(255,255,255,0.5);
  font-size: 0.8rem;
  text-decoration: none;
  transition: color 0.15s;
}
.footer-legal__list a:hover { color: rgba(255,255,255,0.9); }

.site-footer__back-link {
  font-size: 0.85rem;
}
.site-footer__back-link a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
}
.site-footer__back-link a:hover { color: #fff; }


/* ─── 7. KURS-HUB HOMEPAGE ─────────────────────────────────────── */

/* Hero */
.hub-hero {
  background: linear-gradient(135deg, #0f1f4a 0%, #1b3a8c 50%, #1b68fb 100%);
  color: #fff;
  padding: 100px 24px 90px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hub-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(255,255,255,0.04) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(139,111,71,0.12) 0%, transparent 50%);
  pointer-events: none;
}

.hub-hero__inner { position: relative; max-width: 720px; margin: 0 auto; }

.hub-hero__eyebrow {
  display: inline-block;
  font-family: var(--lqa-font-head);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.6);
  margin-bottom: 20px;
}

.hub-hero__title {
  font-family: var(--lqa-font-head);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 22px;
}

.hub-hero__sub {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.8);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.hub-hero__actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Kurs-Grid */
.hub-kurse {
  padding: 80px 24px;
  background: var(--lqa-bg);
}

.hub-kurse__header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 52px;
}

.hub-kurse__header h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.25rem);
  margin-bottom: 14px;
}

.hub-kurse__header p {
  color: var(--lqa-text-mid);
  font-size: 1.0625rem;
}

.hub-kurse__grid {
  max-width: var(--lqa-max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

/* Kurs-Card */
.kurs-card {
  background: var(--lqa-surface);
  border-radius: var(--lqa-radius-lg);
  overflow: hidden;
  box-shadow: var(--lqa-shadow-md);
  border: 1px solid var(--lqa-border);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

.kurs-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--lqa-shadow-lg);
}

.kurs-card__image {
  height: 200px;
  background: linear-gradient(135deg, var(--lqa-warm) 0%, var(--lqa-warm-dark) 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.kurs-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.kurs-card__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  font-family: var(--lqa-font-head);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 20px;
}

.kurs-card__badge--online {
  background: var(--lqa-primary);
  color: #fff;
}

.kurs-card__badge--praesenz {
  background: var(--lqa-earth);
  color: #fff;
}

.kurs-card__badge--bald {
  background: rgba(0,0,0,0.5);
  color: rgba(255,255,255,0.9);
  backdrop-filter: blur(4px);
}

.kurs-card__body {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.kurs-card__category {
  font-family: var(--lqa-font-head);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--lqa-primary);
  margin-bottom: 8px;
}

.kurs-card__title {
  font-family: var(--lqa-font-head);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--lqa-text-dark);
  margin-bottom: 10px;
  line-height: 1.3;
}

.kurs-card__desc {
  color: var(--lqa-text-mid);
  font-size: 0.9375rem;
  line-height: 1.65;
  flex: 1;
  margin-bottom: 20px;
}

.kurs-card__meta {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.kurs-card__meta-item {
  font-size: 0.8rem;
  color: var(--lqa-text-light);
  display: flex;
  align-items: center;
  gap: 5px;
}

.kurs-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--lqa-border);
}

.kurs-card__price {
  font-family: var(--lqa-font-head);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--lqa-text-dark);
}

.kurs-card__price span {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--lqa-text-mid);
}

/* Login-Bereich auf Hub */
.hub-login {
  background: linear-gradient(135deg, var(--lqa-warm) 0%, var(--lqa-warm-dark) 100%);
  padding: 72px 24px;
  text-align: center;
}

.hub-login__inner {
  max-width: 560px;
  margin: 0 auto;
}

.hub-login__icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
  display: block;
}

.hub-login h2 {
  font-size: 1.875rem;
  margin-bottom: 12px;
}

.hub-login p {
  color: var(--lqa-text-mid);
  margin-bottom: 28px;
  font-size: 1rem;
}

/* Über die Akademie Strip */
.hub-about {
  background: var(--lqa-surface);
  padding: 80px 24px;
}

.hub-about__inner {
  max-width: var(--lqa-max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hub-about__img {
  border-radius: var(--lqa-radius-lg);
  overflow: hidden;
  box-shadow: var(--lqa-shadow-lg);
  aspect-ratio: 4/3;
  background: var(--lqa-warm);
}

.hub-about__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hub-about__text .eyebrow {
  display: inline-block;
  font-family: var(--lqa-font-head);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--lqa-primary);
  margin-bottom: 14px;
}

.hub-about__text h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 16px;
}

.hub-about__text p {
  color: var(--lqa-text-mid);
  margin-bottom: 14px;
  line-height: 1.75;
}

/* Member Willkommen (eingeloggt) */
.hub-member-welcome {
  background: linear-gradient(135deg, var(--lqa-primary) 0%, #1450c9 100%);
  color: #fff;
  padding: 52px 24px;
  text-align: center;
}

.hub-member-welcome h2 {
  color: #fff;
  font-size: 1.75rem;
  margin-bottom: 10px;
}

.hub-member-welcome p {
  color: rgba(255,255,255,0.8);
  margin-bottom: 24px;
}


/* ─── 8. OPTIMIZEMENTOR-SEITEN ──────────────────────────────────── */
.page-template-default .site-content,
.opm-page .site-content {
  padding: 60px 24px;
}

.entry-content {
  max-width: 760px;
  margin: 0 auto;
}


/* ─── 9. WP LOGIN OVERRIDE (wp-login.php) ───────────────────────── */
body.login {
  background: var(--lqa-warm);
  font-family: var(--lqa-font-body);
}

body.login #login h1 a {
  background-image: none;
  width: auto;
  text-indent: 0;
  font-family: var(--lqa-font-head);
  font-size: 1.125rem;
  color: var(--lqa-text-dark);
  height: auto;
  text-decoration: none;
}

body.login .login-action-login #login_error,
body.login .message {
  border-left-color: var(--lqa-primary);
}

body.login input[type=text],
body.login input[type=password],
body.login input[type=email] {
  border-radius: var(--lqa-radius);
  border-color: var(--lqa-border);
  box-shadow: none;
}

body.login input[type=text]:focus,
body.login input[type=password]:focus {
  border-color: var(--lqa-primary);
  box-shadow: 0 0 0 3px rgba(27,104,251,0.15);
  outline: none;
}

body.login .wp-core-ui .button-primary {
  background: var(--lqa-primary);
  border-color: var(--lqa-primary-dark);
  border-radius: var(--lqa-radius);
  box-shadow: none;
  font-family: var(--lqa-font-head);
  font-weight: 600;
  padding: 10px 24px;
  height: auto;
  font-size: 0.9375rem;
}

body.login .wp-core-ui .button-primary:hover {
  background: var(--lqa-primary-dark);
  border-color: var(--lqa-primary-dark);
}

body.login #nav a,
body.login #backtoblog a {
  color: var(--lqa-primary);
}


/* ─── 10. RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 900px) {
  .hub-about__inner { grid-template-columns: 1fr; gap: 36px; }
  .hub-about__img { aspect-ratio: 16/9; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 680px) {
  .main-nav { display: none; }
  .main-nav.is-open { display: block; position: absolute; top: var(--lqa-header-h); left: 0; right: 0; background: var(--lqa-surface); border-top: 1px solid var(--lqa-border); padding: 16px 24px; box-shadow: var(--lqa-shadow-md); }
  .main-nav.is-open .main-nav__list { flex-direction: column; align-items: stretch; }
  .nav-toggle { display: flex; }

  .hub-hero { padding: 70px 20px 60px; }
  .hub-kurse__grid { grid-template-columns: 1fr; }

  .hub-hero__actions { flex-direction: column; align-items: center; }
  .hub-hero__actions .btn { width: 100%; max-width: 320px; justify-content: center; }

  .site-footer__grid { grid-template-columns: 1fr; }
  .site-footer__bottom { flex-direction: column; align-items: flex-start; }
  .footer-legal__list { flex-wrap: wrap; gap: 12px; }
}


/* ─── 11. LEKTION / MODUL TEMPLATE ─────────────────────────────── */

/* Fortschrittsbalken oben */
.lesson-progress-bar {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: rgba(0,0,0,.08);
    z-index: 9999;
}
.lesson-progress-bar__fill {
    height: 100%;
    background: var(--lqa-primary);
    transition: width .4s ease;
}

/* Wrapper */
.lesson-wrap {
    max-width: 820px;
    margin: 0 auto;
    padding: 40px 24px 80px;
}

/* Breadcrumb */
.lesson-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    font-size: .85rem;
    color: var(--lqa-text-mid);
    margin-bottom: 32px;
}
.lesson-breadcrumb a {
    color: var(--lqa-primary);
    text-decoration: none;
    font-weight: 500;
}
.lesson-breadcrumb a:hover { text-decoration: underline; }
.lesson-breadcrumb__current {
    color: var(--lqa-text-dark);
    font-weight: 600;
}

/* Lektion Header */
.lesson-header {
    margin-bottom: 40px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--lqa-border, #e8e8e8);
}
.lesson-header__module {
    font-family: var(--lqa-font-head);
    font-size: .8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--lqa-primary);
    margin: 0 0 10px;
}
.lesson-header__title {
    font-family: var(--lqa-font-head);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
    color: var(--lqa-text-dark);
    margin: 0 0 12px;
    line-height: 1.25;
}
.lesson-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: .78rem;
    font-weight: 600;
}
.lesson-badge--done {
    background: #d1fae5;
    color: #065f46;
}

/* Inhalt */
.lesson-content {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--lqa-text-dark);
}
.lesson-content h2 {
    font-family: var(--lqa-font-head);
    font-size: 1.4rem;
    font-weight: 700;
    margin: 2.2em 0 .7em;
    color: var(--lqa-text-dark);
}
.lesson-content h3 {
    font-family: var(--lqa-font-head);
    font-size: 1.1rem;
    font-weight: 700;
    margin: 1.8em 0 .5em;
    color: var(--lqa-primary);
}
.lesson-content p { margin: 0 0 1.2em; }
.lesson-content ul, .lesson-content ol {
    padding-left: 1.4em;
    margin: 0 0 1.2em;
}
.lesson-content li { margin-bottom: .4em; }
.lesson-content strong { font-weight: 700; }
.lesson-content em { font-style: italic; }
.lesson-content blockquote {
    border-left: 3px solid var(--lqa-primary);
    padding: 12px 20px;
    margin: 1.5em 0;
    background: #f0f5ff;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: #444;
}

/* Aktions-Leiste */
.lesson-actions {
    margin: 48px 0 24px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}
.lesson-actions__complete-only {
    font-size: .85rem;
    color: var(--lqa-text-mid);
    text-decoration: underline;
    cursor: pointer;
}
.lesson-actions__complete-only:hover { color: var(--lqa-primary); }

/* Vor/Zurück Navigation */
.lesson-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-top: 40px;
    padding-top: 28px;
    border-top: 1px solid var(--lqa-border, #e8e8e8);
    flex-wrap: wrap;
}
.lesson-nav__btn {
    padding: 10px 20px;
    border-radius: 8px;
    font-size: .9rem;
    font-weight: 500;
    text-decoration: none;
    background: var(--lqa-bg-alt, #f5f5f5);
    color: var(--lqa-text-dark);
    transition: background .2s, color .2s;
    border: 1px solid var(--lqa-border, #e8e8e8);
}
.lesson-nav__btn:hover {
    background: var(--lqa-primary);
    color: #fff;
    border-color: var(--lqa-primary);
}
.lesson-nav__btn--home {
    font-size: .8rem;
    color: var(--lqa-text-mid);
    background: transparent;
    border-color: transparent;
}
.lesson-nav__btn--home:hover {
    background: transparent;
    color: var(--lqa-primary);
    border-color: transparent;
}

@media (max-width: 640px) {
    .lesson-wrap { padding: 28px 16px 60px; }
    .lesson-nav { flex-direction: column; align-items: stretch; }
    .lesson-nav__btn { text-align: center; }
    .lesson-header__title { font-size: 1.5rem; }
}

/* ── 12. Kursübersicht ───────────────────────────────────────────── */

.kurs-wrap {
    max-width: 820px;
    margin: 0 auto;
    padding: 2rem 1.5rem 4rem;
}

.kurs-header {
    padding: 2rem 0 1.5rem;
    border-bottom: 2px solid #e8eaf0;
    margin-bottom: 2.5rem;
}

.kurs-header__title {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #191919;
    margin: 0 0 .25rem;
}

.kurs-header__sub {
    font-size: .9rem;
    color: #6b6b6b;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin: 0;
}

.kurs-modul {
    margin-bottom: 2.5rem;
    border: 1px solid #e8eaf0;
    border-radius: 10px;
    overflow: hidden;
}

.kurs-modul__header {
    background: #f5f7ff;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #e8eaf0;
}

.kurs-modul__title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 .35rem;
}

.kurs-modul__title a {
    color: #191919;
    text-decoration: none;
}

.kurs-modul__title a:hover { color: #1b68fb; }

.kurs-modul__desc {
    font-size: .875rem;
    color: #6b6b6b;
    margin: 0;
}

.kurs-lektionen {
    list-style: none;
    margin: 0;
    padding: 0;
}

.kurs-lektion {
    border-bottom: 1px solid #f0f2f7;
}

.kurs-lektion:last-child { border-bottom: none; }

.kurs-lektion__link {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .9rem 1.5rem;
    color: #191919;
    text-decoration: none;
    transition: background .15s;
}

.kurs-lektion__link:hover { background: #f9faff; }

.kurs-lektion--done .kurs-lektion__link { color: #6b6b6b; }

.kurs-lektion__check {
    width: 1.4rem;
    height: 1.4rem;
    background: #1b68fb;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .75rem;
    font-weight: 700;
    flex-shrink: 0;
}

.kurs-lektion__icon {
    color: #1b68fb;
    font-size: .7rem;
    flex-shrink: 0;
    margin-left: .2rem;
}

.kurs-lektion__name {
    font-size: .95rem;
}
