/* Kurs-Master-Seite: Bausteine, die das Template (main.css) nicht mitbringt.
   Farben kommen aus den Template-Variablen in main.css (:root). */

/* German copy: switch off the template's "capitalize every word" (main.css),
   which turned "Dein Einstieg in die Welt" into "Dein Einstieg In Die Welt". */
.courses-details-section * {
  text-transform: none !important;
}
.courses-details-section .sub-title,
.owd-dive-stage > span {
  text-transform: uppercase !important;
}

.courses-details-content .nav {
  gap: 8px;
  flex-wrap: wrap;
}

/* Kursinfo: "Ist der Kurs der richtige für dich?" */
.owd-info-card {
  height: 100%;
  padding: 24px;
  border-radius: 12px;
  background: var(--bg);
  border-left: 4px solid var(--theme);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.owd-info-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--box-shadow);
}
.owd-info-card h4 {
  font-size: 20px;
  margin-bottom: 8px;
  color: var(--header);
}
.owd-info-card p {
  margin-bottom: 0;
}

/* Kursablauf */
.owd-curriculum-body > strong {
  display: block;
  margin: 16px 0 8px;
  color: var(--header);
}
.owd-curriculum-list {
  margin: 0 0 16px;
  padding-left: 20px;
  list-style: disc;
}
.owd-curriculum-list li {
  margin-bottom: 6px;
  list-style: disc;
}
.owd-curriculum-goal {
  margin-top: 16px;
  padding: 16px 20px;
  border-radius: 10px;
  background: rgba(15, 185, 177, 0.1);
  color: var(--header);
}
.owd-skill-title {
  margin: 32px 0 16px;
  font-size: 22px;
}
.owd-skill-mini {
  display: flex;
  gap: 16px;
  height: 100%;
  padding: 18px;
  border-radius: 10px;
  background: var(--white);
  border: 1px solid rgba(10, 37, 64, 0.1);
}
.owd-skill-number {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--theme);
  color: var(--white);
  font-weight: 700;
  font-size: 15px;
}
.owd-skill-mini h5 {
  font-size: 17px;
  margin-bottom: 6px;
  color: var(--header);
}
.owd-skill-mini p {
  margin-bottom: 0;
  font-size: 15px;
}
.owd-dive-stage {
  margin-top: 20px;
  padding: 20px 24px;
  border-radius: 12px;
  background: var(--bg);
}
.owd-dive-stage > span {
  display: inline-block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--theme);
}
.owd-dive-stage h4 {
  font-size: 20px;
  margin-bottom: 10px;
}
.owd-dive-stage ul {
  margin: 0;
  padding-left: 20px;
}
.owd-dive-stage li {
  list-style: disc;
  margin-bottom: 4px;
}

/* Vorbereitung & Downloads */
.owd-download-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  margin-top: 24px;
  padding: 28px;
  border-radius: 14px;
  background: var(--bg);
  border: 1px solid rgba(15, 185, 177, 0.3);
}
.owd-download-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 12px;
  background: var(--theme);
  color: var(--white);
  font-size: 28px;
}
.owd-download-content {
  flex: 1 1 280px;
}
.owd-download-content .sub-title {
  display: block;
  margin-bottom: 4px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--theme);
}
.owd-download-content h3 {
  font-size: 22px;
  margin-bottom: 10px;
}
.owd-download-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.owd-download-action small {
  color: var(--text);
}
/* Platzhalter, solange die PDF noch nicht hochgeladen ist */
.owd-download-pending {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px dashed rgba(10, 37, 64, 0.3);
  background: var(--white);
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}
.owd-download-help {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 40px;
  padding: 28px;
  border-radius: 14px;
  background: rgba(15, 185, 177, 0.1);
}
.owd-download-help-text {
  flex: 1 1 320px;
}
.owd-download-help h3 {
  font-size: 22px;
  margin-bottom: 8px;
}

/* Sidebar */
.owd-sidebar-document {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid var(--theme);
  color: var(--header);
  font-weight: 600;
  transition: background 0.25s ease, color 0.25s ease;
}
.owd-sidebar-document:hover {
  background: var(--theme);
  color: var(--white);
}
.owd-sidebar-note {
  margin-top: 20px;
  padding: 18px;
  border-radius: 10px;
  background: rgba(15, 185, 177, 0.1);
}
.owd-sidebar-note strong {
  display: block;
  margin-bottom: 6px;
  color: var(--header);
}
.owd-sidebar-note p {
  margin-bottom: 0;
  font-size: 15px;
}

/* Abschluss-Aufruf unter dem Kurs */
.owd-bottom-cta {
  margin-top: 60px;
  padding: 40px;
  border-radius: 16px;
  background: var(--header);
  color: rgba(255, 255, 255, 0.85);
}
.owd-bottom-cta .sub-title {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--theme);
}
.owd-bottom-cta h2 {
  color: var(--white);
  margin-bottom: 12px;
}
.owd-bottom-cta p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.85);
}

/* ===== PADI eLearning Seite ===== */
.el-page .el-block { margin-bottom: 96px; }
.el-page .el-kicker { display: inline-block; margin-bottom: 10px; font-size: 13px; font-weight: 700; letter-spacing: 1px; color: var(--theme); }
.el-page h2 { margin-bottom: 20px; }
.el-page .el-lead { font-size: 20px; color: var(--header); font-weight: 500; }
.el-page .el-head { max-width: 820px; margin: 0 auto 40px; }
.el-img-placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  width: 100%; aspect-ratio: 4 / 3; border-radius: 16px; padding: 24px; text-align: center;
  border: 2px dashed rgba(15, 185, 177, 0.5); color: var(--text); font-size: 15px; font-weight: 600;
  background: linear-gradient(135deg, rgba(15, 185, 177, 0.08), rgba(10, 37, 64, 0.06));
}
.el-img-placeholder i { font-size: 40px; color: var(--theme); }
.el-img-placeholder.el-ratio-portrait { aspect-ratio: 4 / 5; }
.el-img-placeholder.el-ratio-wide { aspect-ratio: 16 / 7; margin-bottom: 20px; }
.el-img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 16px; box-shadow: var(--box-shadow); }
.el-img-top { object-position: center 25%; }
.el-img-wide { aspect-ratio: 16 / 7; margin-bottom: 20px; box-shadow: none; }
.el-img-contain { aspect-ratio: auto; object-fit: contain; box-shadow: none; border-radius: 0; }
.el-img-framed { padding: 10px; background: var(--white); border-radius: 16px; box-shadow: var(--box-shadow); }
.el-num { display: block; font-size: 28px; font-weight: 700; color: var(--theme); margin-bottom: 8px; }
.el-sticky { position: sticky; top: 120px; }
.el-steps { position: relative; }
.el-step { display: flex; gap: 20px; padding: 0 0 32px; position: relative; }
.el-step:not(:last-child)::before { content: ""; position: absolute; left: 19px; top: 44px; bottom: 4px; width: 2px; background: rgba(15, 185, 177, 0.3); }
.el-step h4 { font-size: 20px; margin: 6px 0 10px; }
.el-course-group { height: 100%; padding: 28px; border-radius: 14px; background: var(--bg); }
.el-course-group h4 { font-size: 19px; margin: 16px 0 6px; }
.el-course-group h4 a { color: var(--header); transition: color .25s ease; }
.el-course-group h4 a:hover, .el-specialties a:hover { color: var(--theme); }
.el-specialties { columns: 2; column-gap: 40px; margin: 0 0 20px; padding-left: 20px; }
.el-specialties li { list-style: disc; margin-bottom: 8px; break-inside: avoid; }
.el-specialties a { color: var(--header); }
.el-table-wrap { max-width: 820px; margin: 0 auto; overflow-x: auto; border-radius: 14px; box-shadow: var(--box-shadow); }
.el-table { width: 100%; border-collapse: collapse; background: var(--white); }
.el-table th { background: var(--header); color: var(--white); padding: 16px 24px; text-align: left; }
.el-table td { padding: 14px 24px; border-top: 1px solid rgba(10, 37, 64, 0.08); }
.el-table tbody tr:nth-child(even) td { background: var(--bg); }
.el-table td a { color: var(--theme); font-weight: 600; }
.el-panel { height: 100%; padding: 32px; border-radius: 14px; background: var(--bg); }
.el-panel .owd-download-icon { margin-bottom: 20px; }
.el-panel h3 { font-size: 24px; margin-bottom: 14px; }
.el-free-cta { padding: 56px; border-radius: 20px; color: rgba(255,255,255,.85);
  background: radial-gradient(circle at 85% 20%, rgba(15,185,177,.35), transparent 55%), var(--header); }
.el-free-cta .sub-title { display: block; margin-bottom: 10px; font-size: 13px; font-weight: 700; letter-spacing: 1px; color: var(--theme); }
.el-free-cta h2, .el-free-cta h3 { color: var(--white); }
.el-free-cta h3 { font-size: 22px; margin-bottom: 10px; }
.el-free-cta p { color: rgba(255,255,255,.85); margin-bottom: 0; }
.el-free-badge { display: inline-block; padding: 2px 14px; border-radius: 999px; background: var(--theme); color: var(--white); text-transform: uppercase !important; font-size: .7em; vertical-align: middle; }
.el-free-card { padding: 32px; border-radius: 16px; background: var(--white); color: var(--text); text-align: center; }
.el-free-card h4 { color: var(--header); font-size: 22px; margin-bottom: 20px; }
.el-free-steps { margin: 0 0 24px; padding: 0; text-align: left; }
.el-free-steps li { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 14px; list-style: none; }
.el-free-steps p { color: var(--text) !important; }
.el-free-card small { display: block; margin-top: 12px; color: var(--text); }
.el-cta-link { color: var(--white); font-weight: 600; }
.el-cta-link:hover { color: var(--theme); }
.el-faq { max-width: 900px; margin: 0 auto; }
@media (max-width: 991px) { .el-sticky { position: static; } .el-page .el-block { margin-bottom: 64px; } }
@media (max-width: 767px) { .el-specialties { columns: 1; } .el-free-cta { padding: 28px; } }

@media (max-width: 575px) {
  .owd-bottom-cta,
  .owd-download-card {
    padding: 24px;
  }
}
