/* Lernpfad / Modulübersicht — mobile-first */

.lp-main {
  width: 100%;
  padding: 24px 16px 80px;
  box-sizing: border-box;
  background: #fafafa;
  min-height: 60vh;
}

.lp-width {
  max-width: 720px;
  margin: 0 auto;
}

.lp-intro h1 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 26px;
  margin: 0 0 6px;
  color: #0b1f24;
}

.lp-subtitle {
  color: #5b6b6e;
  margin: 0 0 20px;
  font-size: 14.5px;
  line-height: 1.4;
}

.lp-login-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #eaf6f6;
  border: 1px solid #b9e0e0;
  border-radius: 10px;
  padding: 10px 14px;
  margin-bottom: 20px;
  font-size: 13.5px;
  color: #00565a;
}

.lp-login-btn {
  background: #006970;
  color: #fff;
  padding: 6px 14px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 13px;
  white-space: nowrap;
  flex: 0 0 auto;
}
.lp-login-btn:hover { background: #00454a; }

.lp-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 24px;
  -webkit-overflow-scrolling: touch;
}

.lp-tab {
  flex: 0 0 auto;
  padding: 8px 16px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #ddd;
  color: #2c3a3d;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  transition: background .15s, color .15s, border-color .15s;
}
.lp-tab.active { background: #006970; border-color: #006970; color: #fff; }
.lp-tab:hover:not(.active) { background: #f0f0f0; }

.lp-empty {
  background: #fff;
  border: 1px dashed #ccc;
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  color: #5b6b6e;
  font-size: 14px;
}
.lp-empty a { color: #006970; font-weight: 600; }

/* Path */
.lp-path {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

/* Verbindungslinie hinter den Modul-Knoten */
.lp-path::before {
  content: "";
  position: absolute;
  left: 27px;
  top: 28px;
  bottom: 28px;
  width: 2px;
  background: #d8e2e3;
  z-index: 0;
}

.lp-step {
  position: relative;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding-bottom: 24px;
}
.lp-step:last-child { padding-bottom: 0; }

.lp-node {
  position: relative;
  z-index: 1;
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: conic-gradient(#006970 calc(var(--pct, 0) * 1%), #e1e8e9 0);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 4px #fafafa;
}

.lp-node-inner {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12.5px;
  font-weight: 700;
  color: #0b1f24;
}

.lp-not-started .lp-node,
.lp-no-data .lp-node {
  background: #e1e8e9;
}
.lp-no-data .lp-node-inner { color: #8a9598; }

.lp-complete .lp-node { background: #1aab6b; }
.lp-complete .lp-node-inner { color: #1aab6b; }

.lp-card {
  flex: 1 1 auto;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 12px;
  padding: 14px 16px;
  min-width: 0;
}

.lp-card-title {
  font-size: 16px;
  margin: 0 0 4px;
  color: #0b1f24;
}

.lp-card-meta {
  font-size: 12.5px;
  color: #6b7a7d;
  margin: 0 0 10px;
}

.lp-card-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.lp-btn {
  font-size: 12.5px;
  padding: 6px 12px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
}
.lp-btn-primary { background: #006970; color: #fff; }
.lp-btn-primary:hover { background: #00454a; }
.lp-btn-secondary { background: #f0f3f3; color: #2c3a3d; }
.lp-btn-secondary:hover { background: #e2e8e8; }

@media (min-width: 600px) {
  .lp-intro h1 { font-size: 32px; }
  .lp-subtitle { font-size: 15px; }
}
