@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500;600&family=Space+Grotesk:wght@500;700&display=swap');

:root {
  --blue:         #1a56e8;
  --blue-light:   #e8f0fe;
  --blue-mid:     #4f7df8;
  --green:        #0f9e6e;
  --green-light:  #e4f7f1;
  --amber:        #d97706;
  --amber-light:  #fef3c7;
  --purple:       #7c3aed;
  --purple-light: #ede9fe;
  --red:          #dc2626;
  --red-light:    #fee2e2;
  --text:         #111827;
  --muted:        #6b7280;
  --border:       #e5e7eb;
  --surface:      #f9fafb;
  --white:        #ffffff;
  --radius:       12px;
  --radius-sm:    8px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'DM Sans', sans-serif; color: var(--text); background: var(--white); line-height: 1.6; font-size: 16px; }
h1, h2, h3 { font-family: 'Space Grotesk', sans-serif; line-height: 1.2; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── NAV ── */
.nav {
  position: sticky; top: 0; z-index: 200;
  background: rgba(255,255,255,0.95); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 1.5rem; display: flex; align-items: center;
  justify-content: space-between; height: 56px; gap: 1rem;
}
.nav-brand {
  display: flex; align-items: center;
  text-decoration: none; white-space: nowrap; flex-shrink: 0;
}
.nav-brand:hover { text-decoration: none; opacity: .88; }
.nav-logo { height: 44px; width: auto; display: block; }
/* Fallback-Text falls Bild nicht lädt */
.nav-brand span { color: var(--blue); }
.nav-brand-text {
  font-family: 'Space Grotesk', sans-serif; font-weight: 700;
  font-size: 1.05rem; color: var(--text);
}

.nav-links { display: flex; gap: 0.1rem; align-items: center; }

/* top-level items */
.nav-links > a,
.nav-links > .nav-dropdown > .nav-dropbtn {
  font-size: 0.85rem; font-weight: 500; padding: 6px 11px;
  border-radius: 6px; color: var(--muted);
  transition: background 0.15s, color 0.15s;
  cursor: pointer; border: none; background: none;
  font-family: 'DM Sans', sans-serif; white-space: nowrap;
  display: flex; align-items: center; gap: 4px;
}
.nav-links > a:hover,
.nav-links > .nav-dropdown:hover > .nav-dropbtn,
.nav-links > a.active,
.nav-links > .nav-dropdown.active > .nav-dropbtn {
  background: var(--blue-light); color: var(--blue); text-decoration: none;
}
.nav-links > .nav-dropdown.bio > .nav-dropbtn:hover,
.nav-links > .nav-dropdown.bio.active > .nav-dropbtn { background: var(--green-light); color: var(--green); }
.nav-links > .nav-dropdown.chem > .nav-dropbtn:hover,
.nav-links > .nav-dropdown.chem.active > .nav-dropbtn { background: var(--amber-light); color: var(--amber); }

.nav-dropbtn svg { width: 12px; height: 12px; opacity: .6; }

/* dropdown menu */
.nav-dropdown { position: relative; }
.nav-dropmenu {
  display: none; position: absolute; top: calc(100% + 6px); left: 0;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: 0 8px 30px rgba(0,0,0,0.1);
  min-width: 210px; padding: 0.4rem 0; z-index: 300;
}
.nav-dropdown:hover .nav-dropmenu,
.nav-dropdown.open .nav-dropmenu { display: block; }

.nav-dropmenu a {
  display: block; padding: 7px 16px; font-size: 0.85rem;
  color: var(--text); font-weight: 400;
}
.nav-dropmenu a:hover { background: var(--surface); text-decoration: none; }
.nav-dropmenu .drop-section {
  font-size: 0.7rem; font-weight: 600; letter-spacing: .07em;
  text-transform: uppercase; color: var(--muted);
  padding: 8px 16px 4px;
}
.nav-dropmenu hr { border: none; border-top: 1px solid var(--border); margin: 4px 0; }

/* fragenkasten accent */
.nav-links > a.fragen { color: var(--red); }
.nav-links > a.fragen:hover { background: var(--red-light); color: var(--red); }

/* hamburger */
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 4px; background: none; border: none;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: .2s; }

/* ── HERO ── */
.hero {
  background: #f8f9fb;
  border-bottom: 1px solid var(--border);
  color: var(--text); padding: 0.5rem 1.5rem;
  text-align: center; position: relative;
}
.hero::before { display: none; }
.hero-inner { position: relative; max-width: 700px; margin: 0 auto; }

/* Logo im Hero */
.hero-logo { height: 100px; width: auto; margin-bottom: 0; display: block; margin-left: auto; margin-right: auto; }

.hero-badge {
  display: inline-block; background: var(--surface);
  border: 1px solid var(--border);
  padding: 3px 12px; border-radius: 20px; font-size: 0.72rem;
  font-weight: 600; margin-bottom: 0.75rem; letter-spacing: 0.05em;
  text-transform: uppercase; color: var(--muted);
}
.hero h1 { font-size: clamp(1.3rem, 3vw, 1.8rem); font-weight: 700; margin-bottom: 0.5rem; letter-spacing: -0.01em; color: var(--text); }
.hero p { font-size: 1rem; color: var(--muted); max-width: 480px; margin: 0 auto 0.5rem; }
.hero-meta { display: flex; justify-content: center; gap: 1.5rem; flex-wrap: wrap; }
.hero-meta-item { font-size: 0.8rem; color: var(--muted); }

/* ── FACHSPEZIFISCHE HEROES (Biologie, Chemie, Informatik) ── */
.hero.bio  { background: #f0fdf4; border-bottom-color: #bbf7d0; }
.hero.chem { background: #fffbeb; border-bottom-color: #fde68a; }
.hero.info { background: #eff6ff; border-bottom-color: #bfdbfe; }
.hero.bio h1  { color: #065f46; }
.hero.chem h1 { color: #92400e; }
.hero.info h1 { color: #1e3a8a; }
.hero.bio .hero-badge  { background: var(--green-light); border-color: #6ee7b7; color: var(--green); }
.hero.chem .hero-badge { background: var(--amber-light); border-color: #fcd34d; color: var(--amber); }
.hero.info .hero-badge { background: var(--blue-light);  border-color: #93c5fd; color: var(--blue); }
.hero.bio .hero-meta-item  { color: #065f46; }
.hero.chem .hero-meta-item { color: #92400e; }
.hero.info .hero-meta-item { color: #1e3a8a; }

/* ── SUBJECT HERO (Fach-spezifisch) ── */
.hero.bio { background: linear-gradient(135deg, #052e16 0%, #065f46 60%, #0f9e6e 100%); }
.hero.bio::before { background: radial-gradient(circle at 70% 50%, rgba(16,185,129,0.3) 0%, transparent 60%); }
.hero.chem { background: linear-gradient(135deg, #451a03 0%, #92400e 60%, #d97706 100%); }
.hero.chem::before { background: radial-gradient(circle at 70% 50%, rgba(245,158,11,0.3) 0%, transparent 60%); }
.hero.info { background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 60%, #1a56e8 100%); }

/* ── LAYOUT ── */
.container { max-width: 960px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 3rem 0; }
.section-title { font-size: 1.5rem; font-weight: 700; margin-bottom: 0.25rem; letter-spacing: -0.01em; }
.section-sub { color: var(--muted); margin-bottom: 2rem; font-size: 0.95rem; }

/* ── SUBJECT CARDS (Hauptseite) ── */
.subject-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem;
}
@media (max-width: 720px) { .subject-grid { grid-template-columns: 1fr; } }

.subject-card {
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.75rem 1.5rem; background: var(--white);
  transition: box-shadow .2s, transform .2s; display: block; color: inherit;
}
.subject-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,0.09); transform: translateY(-3px); text-decoration: none; }
.subject-card-icon {
  width: 48px; height: 48px; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 1rem;
}
.subject-card.bio .subject-card-icon { background: var(--green-light); }
.subject-card.chem .subject-card-icon { background: var(--amber-light); }
.subject-card.info .subject-card-icon { background: var(--blue-light); }
.subject-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.4rem; }
.subject-card p { font-size: 0.85rem; color: var(--muted); margin-bottom: 1rem; line-height: 1.5; }
.subject-card-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.subject-card .tag {
  font-size: 0.72rem; padding: 2px 9px; border-radius: 20px;
  background: var(--surface); border: 1px solid var(--border); color: var(--muted);
}
.subject-card.bio h3 { color: #065f46; }
.subject-card.chem h3 { color: #92400e; }
.subject-card.info h3 { color: #1e3a8a; }
.subject-card-arrow {
  font-size: 0.8rem; font-weight: 500; margin-top: 0.75rem;
  display: flex; align-items: center; gap: 4px;
}
.subject-card.bio .subject-card-arrow { color: var(--green); }
.subject-card.chem .subject-card-arrow { color: var(--amber); }
.subject-card.info .subject-card-arrow { color: var(--blue); }

/* ── PROJECT GRID ── */
.project-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 600px) { .project-grid { grid-template-columns: 1fr; } }

.project-card { border-radius: var(--radius); padding: 1.5rem; border: 1px solid var(--border); }
.project-card.blue { background: var(--blue-light); border-color: #c7d9fb; }
.project-card.green { background: var(--green-light); border-color: #a7e8d5; }
.project-card-label { font-size: 0.75rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; margin-bottom: .5rem; }
.project-card.blue .project-card-label { color: var(--blue); }
.project-card.green .project-card-label { color: var(--green); }
.project-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: .4rem; }
.project-card.blue h3 { color: #1e3a8a; }
.project-card.green h3 { color: #065f46; }
.project-card p { font-size: .88rem; color: var(--muted); }

/* ── DAY CARDS ── */
.days-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (max-width: 600px) { .days-grid { grid-template-columns: 1fr; } }

.day-card {
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.25rem 1.5rem; background: var(--white);
  transition: box-shadow .2s, transform .2s; display: block; color: inherit;
}
.day-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.08); transform: translateY(-2px); text-decoration: none; }
.day-card-header { display: flex; align-items: center; gap: 10px; margin-bottom: .75rem; }
.day-num { width: 32px; height: 32px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-family: 'Space Grotesk', sans-serif; font-size: .9rem; font-weight: 700; }
.day-num.d12 { background: var(--blue-light); color: var(--blue); }
.day-num.d34 { background: var(--green-light); color: var(--green); }
.day-card h3 { font-size: 1rem; font-weight: 600; margin-bottom: .35rem; }
.day-card p { font-size: .85rem; color: var(--muted); margin-bottom: .75rem; }
.day-card-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.tag { font-size: .75rem; padding: 2px 9px; border-radius: 20px; background: var(--surface); border: 1px solid var(--border); color: var(--muted); }

/* ── PAGE HEADER ── */
.page-header { background: var(--surface); border-bottom: 1px solid var(--border); padding: 2.5rem 1.5rem 2rem; }
.page-header .container { display: flex; align-items: flex-start; gap: 1.25rem; }
.page-num-large { width: 56px; height: 56px; border-radius: var(--radius); flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-family: 'Space Grotesk', sans-serif; font-size: 1.4rem; font-weight: 700; }
.page-num-large.blue { background: var(--blue); color: white; }
.page-num-large.green { background: var(--green); color: white; }
.page-header-text .breadcrumb { font-size: .8rem; color: var(--muted); margin-bottom: 4px; }
.page-header-text h1 { font-size: 1.6rem; font-weight: 700; letter-spacing: -.01em; }
.page-header-text .subtitle { color: var(--muted); margin-top: 4px; font-size: .95rem; }

/* ── NOTES & TIPS ── */
.ai-note { display: flex; gap: 10px; align-items: flex-start; background: var(--purple-light); border: 1px solid #c4b5fd; border-radius: var(--radius-sm); padding: .75rem 1rem; margin-bottom: 1.25rem; }
.ai-note-icon { font-size: 1rem; flex-shrink: 0; margin-top: 2px; }
.ai-note-text { font-size: .85rem; color: #4c1d95; line-height: 1.5; }
.ai-note-text strong { font-weight: 600; }

.ki-tip { display: flex; gap: 10px; align-items: flex-start; background: #fffbeb; border: 1px solid #fde68a; border-radius: var(--radius-sm); padding: .75rem 1rem; margin-top: .75rem; }
.ki-tip-icon { font-size: 1.1rem; flex-shrink: 0; margin-top: 1px; }
.ki-tip-text { font-size: .85rem; color: #78350f; }
.ki-tip-text strong { font-weight: 600; }

/* ── HOURS LIST ── */
.stunden-list { display: flex; flex-direction: column; gap: 1px; background: var(--border); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.stunde-item { background: var(--white); padding: 1.25rem 1.5rem; display: grid; grid-template-columns: 56px 1fr; gap: 1rem; align-items: start; }
.stunde-item:hover { background: var(--surface); }
.stunde-num { text-align: center; }
.stunde-num .num { font-family: 'Space Grotesk', sans-serif; font-size: 1.1rem; font-weight: 700; color: var(--text); }
.stunde-num .label { font-size: .7rem; color: var(--muted); }
.stunde-badge { display: inline-block; font-size: .72rem; font-weight: 600; padding: 2px 9px; border-radius: 20px; margin-bottom: 6px; text-transform: uppercase; letter-spacing: .05em; }
.badge-intro  { background: #ede9fe; color: #5b21b6; }
.badge-build  { background: var(--blue-light); color: #1e40af; }
.badge-build2 { background: var(--green-light); color: #065f46; }
.badge-reflect{ background: var(--amber-light); color: #92400e; }
.badge-present{ background: #fce7f3; color: #9d174d; }
.stunde-title { font-weight: 600; font-size: 1rem; margin-bottom: 4px; }
.stunde-detail { font-size: .88rem; color: var(--muted); line-height: 1.6; }

/* ── STEPS ── */
.steps { display: flex; flex-direction: column; gap: .75rem; margin-top: 1rem; }
.step { display: flex; gap: 1rem; align-items: flex-start; background: var(--surface); border-radius: var(--radius-sm); padding: 1rem 1.25rem; border: 1px solid var(--border); }
.step-num { width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: .8rem; font-weight: 700; background: var(--blue); color: white; }
.step.green .step-num { background: var(--green); }
.step-content { flex: 1; }
.step-title { font-weight: 600; font-size: .95rem; margin-bottom: 2px; }
.step-desc { font-size: .85rem; color: var(--muted); }
.step-desc code { background: var(--border); padding: 1px 5px; border-radius: 4px; font-size: .82rem; color: var(--text); }

/* ── ZIEL BOX ── */
.ziel-box { background: var(--blue); color: white; border-radius: var(--radius); padding: 1.25rem 1.5rem; margin-bottom: 2rem; display: flex; gap: 1rem; align-items: center; }
.ziel-box.green { background: var(--green); }
.ziel-icon { font-size: 1.8rem; flex-shrink: 0; }
.ziel-label { font-size: .75rem; font-weight: 600; opacity: .75; text-transform: uppercase; letter-spacing: .07em; margin-bottom: 2px; }
.ziel-title { font-family: 'Space Grotesk', sans-serif; font-size: 1.05rem; font-weight: 700; }

.komponente { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: .6rem .9rem; font-size: .82rem; display: inline-block; margin: 3px; font-family: monospace; color: var(--text); }
.komponenten-row { margin: .5rem 0; }

.nav-bottom { display: flex; gap: 1rem; margin-top: 2rem; justify-content: space-between; flex-wrap: wrap; }

/* ── COMING SOON ── */
.coming-soon {
  text-align: center; padding: 4rem 2rem; color: var(--muted);
}
.coming-soon-icon { font-size: 3rem; margin-bottom: 1rem; }
.coming-soon h2 { font-size: 1.3rem; color: var(--text); margin-bottom: .5rem; }
.coming-soon p { font-size: .9rem; }

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 1.5rem 1.5rem 1.25rem;
  margin-top: 4rem;
  color: var(--muted);
  font-size: .85rem;
}
.footer-inner {
  max-width: 960px; margin: 0 auto;
  display: flex; align-items: center;
  justify-content: space-between; gap: 1.5rem;
  flex-wrap: wrap;
}
.footer-brand {
  display: flex; align-items: center; gap: 0.6rem;
  text-decoration: none; color: var(--text);
}
.footer-brand:hover { text-decoration: none; opacity: .8; }
.footer-icon { height: 32px; width: auto; }
.footer-name { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: .95rem; }
.footer-name span { color: var(--blue); }
.footer-links {
  display: flex; gap: 1.25rem; flex-wrap: wrap; align-items: center;
}
.footer-links a {
  color: var(--muted); font-size: .82rem;
  text-decoration: none; transition: color .15s;
}
.footer-links a:hover { color: var(--text); }
.footer-copy {
  width: 100%; font-size: .75rem; color: var(--muted);
  text-align: center; padding-top: .75rem;
  border-top: 1px solid var(--border); margin-top: .75rem;
}

/* ── RESPONSIVE ── */
@media (max-width: 760px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 56px; left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--border); padding: .75rem 1rem; gap: .25rem; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .nav-dropmenu { position: static; border: none; box-shadow: none; padding: 0; background: var(--surface); border-radius: var(--radius-sm); margin: 2px 0; }
  .nav-dropdown { width: 100%; }
  .nav-links > .nav-dropdown > .nav-dropbtn { width: 100%; }
  .hero { padding: 3rem 1rem 2.5rem; }
  .stunde-item { grid-template-columns: 44px 1fr; }
  .page-header .container { flex-direction: column; }
  .subject-grid { grid-template-columns: 1fr; }
}

/* ── SUBNAV (Projektwoche-Tagesleiste) ── */
.subnav {
  background: var(--surface); border-bottom: 1px solid var(--border);
  padding: 0 1.5rem;
}
.subnav .container {
  display: flex; gap: 0.1rem; align-items: center; height: 42px; padding: 0;
}
.subnav a {
  font-size: 0.82rem; font-weight: 500; padding: 5px 12px;
  border-radius: 6px; color: var(--muted);
  transition: background 0.15s, color 0.15s;
}
.subnav a:hover { background: var(--border); color: var(--text); text-decoration: none; }
.subnav a.active { background: var(--blue-light); color: var(--blue); }

/* ── KURS-FORTSCHRITT (Schritt-Leiste innerhalb eines Tages) ── */
.day-progress {
  background: var(--white); border-bottom: 1px solid var(--border);
  padding: 0.75rem 1.5rem; overflow-x: auto;
}
.day-progress .container {
  display: flex; align-items: center; gap: 0; padding: 0;
}
.dp-step {
  display: flex; align-items: center; gap: 0; flex: 1; min-width: 0;
}
.dp-dot {
  width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: 700; border: 2px solid var(--border);
  background: var(--white); color: var(--muted); transition: all .2s;
  font-family: 'Space Grotesk', sans-serif; cursor: default;
}
.dp-dot.done   { background: var(--green); border-color: var(--green); color: white; }
.dp-dot.active { background: var(--blue);  border-color: var(--blue);  color: white; }
.dp-label {
  font-size: 0.72rem; color: var(--muted); white-space: nowrap;
  margin-left: 6px; display: none;
}
@media (min-width: 600px) { .dp-label { display: block; } }
.dp-line {
  flex: 1; height: 2px; background: var(--border); min-width: 12px;
  transition: background .2s;
}
.dp-line.done { background: var(--green); }

/* ── KURS-ABSCHNITTE ── */
.kurs-section {
  border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; margin-bottom: 1.5rem;
}
.kurs-section-header {
  display: flex; align-items: center; gap: 1rem;
  padding: 1rem 1.25rem; background: var(--surface);
  border-bottom: 1px solid var(--border); cursor: pointer;
  user-select: none;
}
.kurs-section-header:hover { background: #f1f3f5; }
.kurs-num {
  width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 1rem;
  background: var(--blue-light); color: var(--blue);
}
.kurs-num.green { background: var(--green-light); color: var(--green); }
.kurs-section-header h3 { font-size: 1rem; font-weight: 600; flex: 1; }
.kurs-section-header .kurs-badge { font-size: .72rem; color: var(--muted); }
.kurs-toggle { font-size: 1.2rem; color: var(--muted); transition: transform .2s; }
.kurs-section.open .kurs-toggle { transform: rotate(180deg); }
.kurs-body { padding: 1.5rem; display: none; }
.kurs-section.open .kurs-body { display: block; }
.kurs-section.done .kurs-section-header { background: #f0fdf4; border-bottom-color: #bbf7d0; }
.kurs-section.done .kurs-num { background: var(--green); color: white; }

/* ── SCREENSHOT-PLATZHALTER ── */
.screenshot {
  border: 2px dashed var(--border); border-radius: var(--radius);
  background: var(--surface); padding: 1rem 1.25rem;
  margin: 1rem 0; text-align: center;
}
.screenshot-inner {
  display: inline-flex; flex-direction: column; align-items: center; gap: 0.5rem;
}
.screenshot-icon { font-size: 2rem; opacity: .4; }
.screenshot-label { font-size: .8rem; color: var(--muted); font-style: italic; }
.screenshot-desc { font-size: .85rem; color: var(--text); font-weight: 500; }

/* Echter Screenshot-Frame (wenn Bild vorhanden) */
.screenshot-frame {
  border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; margin: 1rem auto;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
  max-width: 380px;
  cursor: zoom-in;
  transition: box-shadow .2s, transform .2s;
}
.screenshot-frame:hover {
  box-shadow: 0 4px 18px rgba(0,0,0,.15);
  transform: translateY(-1px);
}
.screenshot-frame img { width: 100%; display: block; }
.screenshot-caption {
  font-size: .78rem; color: var(--muted); padding: 6px 12px;
  background: var(--surface); border-top: 1px solid var(--border);
  text-align: center;
}

/* ── LIGHTBOX ── */
.lb-overlay {
  display: none; position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,.88);
  align-items: center; justify-content: center;
  cursor: zoom-out; padding: 1rem;
}
.lb-overlay.open { display: flex; }
.lb-overlay img {
  max-width: 92vw; max-height: 90vh;
  border-radius: var(--radius);
  box-shadow: 0 12px 48px rgba(0,0,0,.6);
  object-fit: contain;
}
.lb-close {
  position: fixed; top: 1rem; right: 1.25rem;
  font-size: 2rem; color: white; cursor: pointer;
  line-height: 1; opacity: .8;
}
.lb-close:hover { opacity: 1; }
.lb-caption {
  position: fixed; bottom: 1rem; left: 0; right: 0;
  text-align: center; color: rgba(255,255,255,.8);
  font-size: .85rem; padding: 0 2rem;
}

/* ── JETZT DU! (Aufgaben-Box) ── */
.jetzt-du {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border: 2px solid #93c5fd; border-radius: var(--radius);
  padding: 1.25rem 1.5rem; margin: 1.5rem 0;
}
.jetzt-du-header {
  display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.75rem;
}
.jetzt-du-icon {
  width: 36px; height: 36px; background: var(--blue); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
}
.jetzt-du-title { font-family: 'Space Grotesk', sans-serif; font-weight: 700; color: #1e3a8a; font-size: 1rem; }
.jetzt-du p { font-size: .9rem; color: #1e40af; line-height: 1.6; }
.jetzt-du ul { font-size: .9rem; color: #1e40af; padding-left: 1.25rem; line-height: 1.8; }

/* ── ACHTUNG / HINWEIS-BOX ── */
.achtung {
  display: flex; gap: 10px; align-items: flex-start;
  background: #fff7ed; border: 1px solid #fed7aa;
  border-radius: var(--radius-sm); padding: .75rem 1rem; margin: 1rem 0;
}
.achtung-icon { font-size: 1.1rem; flex-shrink: 0; }
.achtung-text { font-size: .85rem; color: #7c2d12; line-height: 1.5; }
.achtung-text strong { font-weight: 600; color: #9a3412; }

.hinweis {
  display: flex; gap: 10px; align-items: flex-start;
  background: var(--green-light); border: 1px solid #6ee7b7;
  border-radius: var(--radius-sm); padding: .75rem 1rem; margin: 1rem 0;
}
.hinweis-icon { font-size: 1.1rem; flex-shrink: 0; }
.hinweis-text { font-size: .85rem; color: #065f46; line-height: 1.5; }
.hinweis-text strong { font-weight: 600; }

/* ── GLOSSAR-BOX ── */
.glossar {
  background: var(--purple-light); border: 1px solid #c4b5fd;
  border-radius: var(--radius-sm); padding: .75rem 1rem; margin: .75rem 0;
  font-size: .85rem; color: #4c1d95;
}
.glossar strong { font-weight: 700; }

/* ── CHECKLISTE ── */
.checklist {
  list-style: none; padding: 0; margin: 1rem 0;
  border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
}
.checklist li {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.75rem 1rem; border-bottom: 1px solid var(--border);
  font-size: .9rem; background: var(--white); transition: background .15s;
  cursor: pointer;
}
.checklist li:last-child { border-bottom: none; }
.checklist li:hover { background: var(--surface); }
.checklist li.checked { background: #f0fdf4; color: var(--muted); }
.check-box {
  width: 22px; height: 22px; border-radius: 6px; border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: .8rem; flex-shrink: 0; transition: all .15s;
}
.checklist li.checked .check-box {
  background: var(--green); border-color: var(--green); color: white;
}
.check-label { flex: 1; line-height: 1.4; }
.checklist li.checked .check-label { text-decoration: line-through; }

/* Fortschritt-Zusammenfassung der Checkliste */
.checklist-progress {
  font-size: .78rem; color: var(--muted); text-align: right;
  margin-bottom: 4px;
}

/* ── SCHRITT-NUMMER (neu, kompakter) ── */
.schritt {
  display: flex; gap: 1rem; align-items: flex-start;
  margin: 1rem 0; padding: 1rem 1.25rem;
  background: var(--surface); border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}
.schritt-num {
  width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem; font-weight: 700; background: var(--blue); color: white;
  font-family: 'Space Grotesk', sans-serif;
}
.schritt.green .schritt-num { background: var(--green); }
.schritt-body { flex: 1; }
.schritt-title { font-weight: 600; font-size: .95rem; margin-bottom: 3px; }
.schritt-desc { font-size: .85rem; color: var(--muted); line-height: 1.6; }
.schritt-desc code { background: var(--border); padding: 1px 5px; border-radius: 4px; font-size: .82rem; }

/* Benötigt-Box (Voraussetzungen) */
.benoetigt {
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.25rem 1.5rem; margin: 1.25rem 0; background: var(--surface);
}
.benoetigt h4 { font-size: .9rem; font-weight: 700; margin-bottom: .75rem; color: var(--text); }
.benoetigt ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: .5rem; }
.benoetigt li {
  display: flex; align-items: center; gap: .6rem;
  font-size: .88rem; color: var(--text);
}
.benoetigt li::before {
  content: ''; width: 8px; height: 8px; border-radius: 50%;
  background: var(--blue); flex-shrink: 0;
}

/* ── MATOMO: kein Layout-Einfluss ── */
