/* =====================================================================
   Landingpage „KI im Handwerk: der Praxiskurs zum Einstieg“
   Werbeagentur Hoffmann. Ergänzt css/landingpage-39.css (Grundgerüst .wh39),
   alle Regeln hier sind unter .whkk gekapselt.
   ===================================================================== */

/* ---------- Hero ---------- */
.whkk .whkk-hero { background-image: url("../images/ki/ki-band.jpg?v=20261012b"); }
.whkk .whkk-hero::before { background: linear-gradient(180deg, rgba(0,0,0,.70) 0%, rgba(4,14,32,.86) 100%); }

.whkk-bald { display: inline-flex; align-items: center; gap: 12px; padding: 8px 16px 8px 15px; border: 0;
  font-family: var(--wh-head); font-weight: 600; font-size: 15px; letter-spacing: .08em; text-transform: uppercase; color: var(--wh-weiss); background: var(--wh-blau); }
.whkk-punkt { position: relative; width: 10px; height: 10px; border-radius: 50%; background: #FFFFFF; flex: none; }
.whkk-punkt::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid #FFFFFF; opacity: 0; animation: whkk-puls 2s ease-out infinite; }
@keyframes whkk-puls { 0% { transform: scale(.5); opacity: .9; } 100% { transform: scale(1.6); opacity: 0; } }

.whkk-h1 { display: grid; justify-items: center; gap: 8px; margin-top: 4px; }
.whkk-h1-gross { font-family: var(--wh-head); font-weight: 600; font-size: clamp(42px, 11.5vw, 80px); line-height: 1; text-transform: uppercase; letter-spacing: -.01em; text-wrap: balance; }
.whkk-h1-klein { font-family: var(--wh-head); font-weight: 400; font-size: clamp(19px, 4.8vw, 26px); text-transform: uppercase; letter-spacing: .06em; opacity: .9; }
.whkk-lead { max-width: 30em; font-size: 17px; line-height: 1.65; color: rgba(255,255,255,.9); }

/* Bildschirm-Ansicht des Kurses */
.whkk-screen-wrap { position: relative; justify-self: center; width: min(100%, 460px); }
.whkk-screen { background: #FFFFFF; color: var(--wh-text); box-shadow: 0 40px 80px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.12); overflow: hidden; text-align: left; }
.whkk-screen-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #EEF1F6; border-bottom: 1px solid #E1E5EC; }
.whkk-screen-bar span { width: 10px; height: 10px; border-radius: 50%; background: #C9CFD9; }
.whkk-screen-bar span:first-child { background: #F26B5E; } .whkk-screen-bar span:nth-child(2) { background: #F5BF4F; } .whkk-screen-bar span:nth-child(3) { background: #61C554; }
.whkk-screen-bar b { margin-left: 10px; font-family: var(--wh-head); font-weight: 600; font-size: 13px; color: var(--wh-navy); letter-spacing: .02em; }
.whkk-screen-video { position: relative; aspect-ratio: 16 / 9; background: #F3F5F9; }
.whkk-screen-video img { width: 100%; height: 100%; object-fit: cover; }
.whkk-screen-play { position: absolute; left: 14px; bottom: 14px; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: rgba(12,76,147,.92); color: #FFFFFF; box-shadow: 0 8px 24px rgba(12,76,147,.35); }
.whkk-screen-play svg { width: 22px; height: 22px; margin-left: 3px; }
.whkk-screen-info { display: grid; gap: 8px; padding: 14px 16px 6px; }
.whkk-screen-modul { font-family: var(--wh-head); font-weight: 600; font-size: 13px; letter-spacing: .03em; text-transform: uppercase; color: var(--wh-navy); }
.whkk-fortschritt { display: block; height: 6px; background: #E6EAF0; }
.whkk-fortschritt i { display: block; width: 0; height: 100%; background: var(--wh-blau); transition: width 1.6s cubic-bezier(.2,.8,.2,1) .4s; }
.whkk-screen.whkk-an .whkk-fortschritt i { width: 18%; }
.whkk-screen-liste { padding: 4px 8px 12px; }
.whkk-screen-liste li { display: flex; align-items: center; gap: 10px; padding: 8px; font-size: 13.5px; line-height: 1.3; color: var(--wh-text); border-bottom: 1px solid #EEF0F4; }
.whkk-screen-liste li:last-child { border-bottom: 0; }
.whkk-screen-liste svg { width: 22px; height: 22px; padding: 5px; flex: none; border-radius: 50%; background: #E6EAF0; color: var(--wh-navy); }
.whkk-screen-liste small { margin-left: auto; font-size: 12px; color: var(--wh-grau); }
.whkk-screen-liste .whkk-erledigt svg { background: #1E9E5A; color: #FFFFFF; }
.whkk-screen-liste .whkk-aktiv { background: #EEF4FC; font-weight: 600; }
.whkk-screen-liste .whkk-aktiv svg { background: var(--wh-blau); color: #FFFFFF; }




/* ---------- Worum es geht ---------- */
.whkk-intro { margin: 0 auto 40px; }
.whkk-punkte { display: grid; gap: 18px; }
.whkk-punkte li { padding: 28px 26px; background: var(--wh-weiss); border-top: 3px solid var(--wh-blau); }
.whkk-punkte h3 { font-family: var(--wh-head); font-weight: 700; font-size: 22px; line-height: 1.25; color: var(--wh-schwarz); margin-bottom: 8px; }
.whkk-punkte p { color: var(--wh-grau); text-wrap: wrap; }

/* ---------- Kursinhalte ---------- */
.whkk-kopf { text-align: center; margin-bottom: 30px; }
.whkk-module { display: grid; gap: 24px; }
.whkk-modul { position: relative; display: grid; align-content: start; gap: 10px; padding: 26px 22px; background: var(--wh-weiss); min-width: 0; }
.whkk-modul h3 { font-family: var(--wh-head); font-weight: 700; font-size: 24px; line-height: 1.25; color: var(--wh-schwarz); }
.whkk-modul p { color: var(--wh-grau); }
.whkk-modul-nr { justify-self: start; padding: 3px 10px; background: var(--wh-navy); color: var(--wh-weiss); font-family: var(--wh-head); font-weight: 600; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.whkk-modul-1 { border-top: 3px solid var(--wh-blau); }
.whkk-modul-1 .whkk-modul-nr { background: var(--wh-blau); }
.whkk-modul-kopf { display: grid; gap: 10px; }
.whkk-module-weitere { display: grid; gap: 24px; align-content: start; }
.whkk-tag { justify-self: start; margin-top: 4px; padding: 4px 10px; border: 1px dashed #9AA3B2; font-size: 12.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--wh-grau); }

.whkk-abschnitte { margin-top: 8px; border-top: 1px solid var(--wh-linie); }
.whkk-abschnitte details { border-bottom: 1px solid var(--wh-linie); }
.whkk-abschnitte summary { display: flex; align-items: center; gap: 10px; padding: 14px 0; cursor: pointer; list-style: none;
  font-family: var(--wh-head); font-weight: 600; font-size: 18px; line-height: 1.3; color: var(--wh-schwarz); }
.whkk-abschnitte summary::-webkit-details-marker { display: none; }
.whkk-abschnitte summary svg { width: 16px; height: 16px; flex: none; color: var(--wh-blau); transition: transform .25s; }
.whkk-abschnitte details[open] summary svg { transform: rotate(90deg); }
.whkk-abschnitte summary small { margin-left: auto; font-family: var(--wh-body); font-weight: 400; font-size: 13px; color: var(--wh-grau); white-space: nowrap; }
.whkk-abschnitte ul { display: grid; gap: 2px; padding: 0 0 16px 26px; }
.whkk-abschnitte li { position: relative; padding-left: 18px; color: var(--wh-text); }
.whkk-abschnitte li::before { content: ""; position: absolute; left: 0; top: .72em; width: 7px; height: 7px; border-radius: 50%; background: var(--wh-blau-hell); }

/* ---------- Formular ---------- */
.whkk .wh39-form .wh39-btn { margin-top: 18px; }

/* ---------- Mobile Leiste ---------- */
.whkk-leiste-text b { font-size: 22px; }

/* ---------- Ab Tablet ---------- */
@media (min-width: 600px) {
  .whkk-modul { padding: 32px 30px; }
  .whkk .whkk-schritte { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Ab Desktop ---------- */
@media (min-width: 992px) {
  .whkk .wh39-hero-grid { grid-template-columns: 1.05fr .95fr; }
  .whkk-h1 { justify-items: start; }
  .whkk-punkte { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .whkk .whkk-schritte { grid-template-columns: repeat(3, 1fr); gap: 40px; }
  .whkk-screen-wrap { width: 100%; max-width: 500px; justify-self: end; }
  .whkk-module { grid-template-columns: 1.25fr 1fr; gap: 30px; align-items: start; }
  .whkk-modul-1 { padding: 36px 36px 28px; }
}
