/* ==========================================================================
   Gemeinsames Design der Kursseiten (nur innerhalb .kp)
   ========================================================================== */
.kp .kp-hero { background: linear-gradient(135deg, var(--el-dark) 0%, #4a6350 100%); color: #fff; padding: clamp(2.5rem, 6vw, 4.5rem) 0; position: relative; overflow: hidden; }
.kp .kp-hero::before { content: ''; position: absolute; top: -80px; right: -80px; width: 320px; height: 320px; border-radius: 50%; background: rgba(174,186,175,0.1); pointer-events: none; }
.kp .kp-hero .inner { position: relative; }
.kp .kp-hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.kp .kp-hero-img img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 14px; box-shadow: 0 12px 34px rgba(0,0,0,0.22); }
.kp .kp-eyebrow { display: inline-block; background: rgba(200,169,110,0.18); color: var(--el-orange); border: 1px solid rgba(200,169,110,0.4); border-radius: 20px; padding: 5px 14px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; margin: 0 0 1.1rem; }
.kp .kp-hero h1 { color: #fff; font-size: clamp(1.7rem, 1.2rem + 2.3vw, 2.7rem); }
.kp .kp-hero h1 em { font-style: normal; color: var(--el-orange); }
.kp .kp-lead { color: rgba(255,255,255,0.88); font-size: clamp(1rem, 0.95rem + 0.3vw, 1.12rem); max-width: 600px; }
.kp .kp-checks { list-style: none; padding: 1.25rem 0 0; margin: 1.75rem 0 0; border-top: 1px solid rgba(255,255,255,0.18); display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
.kp .kp-checks li { color: rgba(255,255,255,0.88); font-size: 0.92rem; display: flex; gap: 0.45rem; align-items: center; }
.kp .kp-checks li::before { content: '✓'; color: var(--el-orange); font-weight: 700; }

.kp .kp-trust { background: #fff; border-bottom: 1px solid var(--el-border); padding: 1rem 0; }
.kp .kp-trust ul { list-style: none; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem clamp(1.2rem, 4vw, 2.5rem); }
.kp .kp-trust li { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: clamp(0.85rem, 1.8vw, 0.95rem); color: var(--el-dark); }
.kp .kp-trust li::before { content: '✓'; width: 22px; height: 22px; border-radius: 50%; background: var(--el-dark); color: #fff; font-size: 0.72rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

.kp .kp-label { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--el-dark); margin: 0 0 0.5rem; }
.kp .section-dark .kp-label { color: var(--el-orange); }
.kp .kp-head { margin-bottom: clamp(1.5rem, 4vw, 2.25rem); }
.kp .kp-head.is-center { text-align: center; }
.kp .kp-head.is-center .kp-intro { margin-left: auto; margin-right: auto; }
.kp .kp-intro { color: var(--el-mid-text); max-width: 620px; margin-bottom: 0; }
.kp .section-dark .kp-intro { color: rgba(255,255,255,0.85); }

.kp .kp-grid2, .kp .kp-grid3, .kp .kp-grid4 { display: grid; gap: clamp(0.9rem, 2vw, 1.25rem); }
.kp .kp-grid2 { grid-template-columns: repeat(2, 1fr); }
.kp .kp-grid3 { grid-template-columns: repeat(3, 1fr); }
.kp .kp-grid4 { grid-template-columns: repeat(4, 1fr); }
.kp .kp-card { background: #fff; border: 1px solid var(--el-border); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; transition: box-shadow 0.2s, transform 0.2s; min-width: 0; }
.kp .kp-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.kp .kp-card.is-soft { background: var(--el-bg); }
.kp .kp-card.is-featured { border-color: var(--el-dark); }
.kp .kp-card-img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: var(--el-bg); }
.kp .kp-card-body { padding: clamp(1.2rem, 3vw, 1.5rem); display: flex; flex-direction: column; flex: 1; }
.kp .kp-card h3 { font-size: 1.1rem; margin-bottom: 0.45rem; }
.kp .kp-card p { color: var(--el-mid-text); font-size: 0.95rem; }
.kp .kp-card-body > p:last-of-type { flex: 1; }
.kp .kp-card .btn-primary, .kp .kp-card .btn-ghost-light { align-self: flex-start; margin-top: auto; }
.kp .kp-card-band { display: flex; align-items: center; gap: 12px; padding: 1.1rem 1.3rem; background: var(--el-dark); }
.kp .kp-card-band h3 { color: #fff; margin: 0; font-size: 1.02rem; }
.kp .kp-card-band .kp-icon { background: rgba(255,255,255,0.18); }
.kp .kp-tone-2 { background: #4a6b55; } .kp .kp-tone-3 { background: #3d5241; } .kp .kp-tone-4 { background: #637d67; } .kp .kp-tone-5 { background: #6f8f74; } .kp .kp-tone-6 { background: #8a7342; }
.kp .kp-icon { width: 44px; height: 44px; border-radius: 10px; background: #eef2ef; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; flex-shrink: 0; margin-bottom: 0.8rem; }
.kp .kp-card-band .kp-icon { margin: 0; }
.kp .kp-icon svg { width: 24px; height: 24px; fill: none; stroke: var(--el-dark); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.kp .kp-icon.is-dark { background: var(--el-dark); }
.kp .kp-icon.is-dark svg { stroke: #fff; }
.kp .kp-badges { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 0.7rem; }
.kp .kp-badge { background: rgba(200,169,110,0.18); color: #7a5c22; font-size: 0.75rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.kp .kp-tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.35rem; }
.kp .kp-tags li { background: rgba(91,117,96,0.1); color: var(--el-dark); border-radius: 999px; padding: 3px 10px; font-size: 0.78rem; font-weight: 700; }
.kp .kp-list { list-style: none; padding: 0; margin: 0 0 1.2rem; }
.kp .kp-list li { position: relative; padding: 3px 0 3px 1.1rem; font-size: 0.93rem; color: var(--el-dark-text); }
.kp .kp-list li::before { content: ''; position: absolute; left: 0; top: 0.75em; width: 6px; height: 6px; border-radius: 50%; background: var(--el-orange); }
.kp .kp-more { font-weight: 700; margin-top: auto; padding-top: 0.75rem; border-top: 1px solid var(--el-border); text-decoration: none; }

.kp .kp-levels { display: grid; gap: 0.6rem; }
.kp .kp-level { background: #fff; border: 1px solid var(--el-border); border-radius: 10px; }
.kp .kp-level[open] { border-color: var(--el-dark); }
.kp .kp-level summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 0.8rem; padding: 0.9rem 1.1rem; min-height: 52px; font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 0.95rem; }
.kp .kp-level summary::-webkit-details-marker { display: none; }
.kp .kp-level summary::after { content: '+'; margin-left: auto; font-size: 1.3rem; color: var(--el-dark); font-weight: 400; }
.kp .kp-level[open] summary::after { content: '–'; }
.kp .kp-level-badge { background: var(--el-dark); color: #fff; border-radius: 6px; padding: 3px 9px; font-size: 0.78rem; min-width: 38px; text-align: center; flex-shrink: 0; }
.kp .kp-level p { padding: 0 1.1rem 1rem; margin: 0; color: var(--el-mid-text); font-size: 0.95rem; }

.kp .kp-steps { list-style: none; counter-reset: kp; padding: 0; margin: 0; display: grid; gap: clamp(0.9rem, 2vw, 1.25rem); }
.kp .kp-steps.is-4 { grid-template-columns: repeat(4, 1fr); }
.kp .kp-steps.is-3 { grid-template-columns: repeat(3, 1fr); }
.kp .kp-steps li { counter-increment: kp; background: #fff; border: 1px solid var(--el-border); border-radius: 12px; padding: 1.3rem; }
.kp .kp-steps li::before { content: counter(kp); display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: var(--el-orange); color: var(--el-ink); font-family: 'Montserrat', sans-serif; font-weight: 700; margin-bottom: 0.8rem; }
.kp .kp-steps strong { display: block; font-family: 'Montserrat', sans-serif; margin-bottom: 0.3rem; }
.kp .kp-steps span { color: var(--el-mid-text); font-size: 0.93rem; }

.kp .kp-usps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.9rem; }
.kp .kp-usp { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.16); border-radius: 12px; padding: 1.2rem; }
.kp .kp-usp span { font-size: 1.5rem; display: block; margin-bottom: 0.4rem; }
.kp .kp-usp h3 { color: #fff; font-size: 1rem; margin-bottom: 0.3rem; }
.kp .kp-usp p { color: rgba(255,255,255,0.8); font-size: 0.92rem; margin: 0; }

.kp .kp-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.8rem; margin: 0; }
.kp .kp-stats div { background: #fff; border: 1px solid var(--el-border); border-radius: 12px; padding: 1rem 1.2rem; }
.kp .kp-stats dt { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--el-mid-text); }
.kp .kp-stats dd { margin: 0.2rem 0 0; font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 1.1rem; color: var(--el-dark); }
.kp .kp-stats .is-wide { grid-column: 1 / -1; }

.kp .kp-chips { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.7rem; }
.kp .kp-chips li { background: #fff; border: 1px solid var(--el-border); border-radius: 10px; text-align: center; font-weight: 700; }
.kp .kp-chips li > * { display: block; padding: 0.85rem 0.5rem; color: var(--el-dark-text); text-decoration: none; }
.kp .kp-chips a { color: var(--el-dark) !important; }
.kp .kp-chips a::after { content: ' →'; }
.kp .kp-chips li:has(a):hover { border-color: var(--el-mid); box-shadow: var(--shadow); }

.kp .kp-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(0.75rem, 2vw, 1.25rem); }
.kp .kp-gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; background: var(--el-bg); }

.kp .kp-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.kp .kp-box { background: var(--el-bg); border: 1px solid var(--el-border); border-radius: 12px; padding: clamp(1.3rem, 3vw, 1.8rem); }
.kp .kp-box h3 { color: var(--el-dark); font-size: 1.05rem; }

.kp .kp-band { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.kp .kp-band h2 { color: #fff; font-size: clamp(1.2rem, 1rem + 1vw, 1.5rem); }
.kp .kp-band p { color: rgba(255,255,255,0.85); margin: 0; max-width: 560px; }
.kp .kp-band .btn-primary { flex-shrink: 0; }

.kp .kp-cta { text-align: center; }
.kp .kp-cta > p { color: rgba(255,255,255,0.85); max-width: 520px; margin-left: auto; margin-right: auto; }
.kp .kp-cta .hero-cta { justify-content: center; }
.kp .kp-cta-note { font-size: 0.92rem; margin-top: 1.25rem !important; }
.kp .kp-cta-note a { color: #fff; font-weight: 700; }
.kp .kp-center { text-align: center; margin-top: 1.5rem; }

@media (max-width: 900px) {
  .kp .kp-grid3, .kp .kp-usps { grid-template-columns: repeat(2, 1fr); }
  .kp .kp-grid4, .kp .kp-steps.is-4 { grid-template-columns: repeat(2, 1fr); }
  .kp .kp-chips { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 767px) {
  .kp .kp-hero-grid, .kp .kp-split { grid-template-columns: 1fr; }
  .kp .kp-hero-img { max-width: 340px; }
  .kp .kp-steps.is-3 { grid-template-columns: 1fr; }
  .kp .kp-band { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  .kp .kp-grid2, .kp .kp-grid3, .kp .kp-grid4, .kp .kp-usps, .kp .kp-steps.is-4 { grid-template-columns: 1fr; }
  .kp .kp-chips { grid-template-columns: repeat(2, 1fr); }
  .kp .kp-gallery { grid-template-columns: repeat(2, 1fr); }
  .kp .hero-cta { flex-direction: column; }
  .kp .hero-cta a, .kp .kp-band .btn-primary { display: block; text-align: center; width: 100%; }
  .kp .kp-card .btn-primary, .kp .kp-card .btn-ghost-light { align-self: stretch; text-align: center; }
  .kp .kp-head.is-center { text-align: left; }
}
