/* ==========================================================================
   Kahoot Alternative (/kahoot-alternative/) — page-specific styles only.
   Reuses the shared "lt" design system from style.css; nothing here is
   global, so this file must not redefine any .lt/.section-lt/.cards-lt base
   rule without scoping it to a ka- class.
   ========================================================================== */

.ka-sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ----- trust bar stats on white background (hero-stats/stat-label default to
   the light hero colors, unreadable outside the dark hero section) ----- */
.ka-trustbar .stat-label { color: #56657f; }

/* ----- jump nav (hero) ----- */
.ka-jumpnav { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 30px; }
.ka-jumpnav a {
  font-family: 'Montserrat', sans-serif; font-size: 13.5px; font-weight: 600;
  color: #4F98CA; text-decoration: none; border-bottom: 1px solid transparent;
  transition: border-color .2s, color .2s;
}
.ka-jumpnav a:hover, .ka-jumpnav a:focus-visible { color: #23395B; border-color: #F4B400; }

/* ----- hero flow caption ----- */
.ka-flow {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  margin: 14px 0 0; padding: 10px 14px; font-family: 'Orbitron', sans-serif;
  font-size: 11px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase;
  color: #23395B;
}
.ka-flow-arrow { color: #F4B400; font-weight: 400; }

/* ----- four-card grid (Positionierung) ----- */
.cards-lt.ka-cards-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1080px) {
  .cards-lt.ka-cards-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .cards-lt.ka-cards-4 { grid-template-columns: 1fr; }
}

/* ----- comparison table ----- */
.ka-compare-wrap {
  overflow-x: auto; border-radius: 18px; border: 1px solid #e3e7ef;
  box-shadow: 0 10px 30px rgba(35,57,91,.06); background: #fff; margin-bottom: 40px;
  -webkit-overflow-scrolling: touch;
}
.ka-compare-table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 14.5px; }
.ka-compare-table th, .ka-compare-table td { padding: 16px 20px; text-align: left; }
.ka-compare-table thead th {
  font-family: 'Orbitron', sans-serif; font-size: 11px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase; color: #23395B;
  background: #F1F2F5; border-bottom: 1px solid #e3e7ef;
}
.ka-compare-table thead th:not(:first-child) { text-align: center; }
.ka-compare-table tbody th { font-weight: 600; color: #23395B; }
.ka-compare-table tbody td { text-align: center; color: #3c4d68; }
.ka-compare-table tbody td:first-of-type { font-weight: 700; color: #F4B400; }
.ka-compare-table tbody tr:not(:last-child) th,
.ka-compare-table tbody tr:not(:last-child) td { border-bottom: 1px solid #eef0f4; }

.ka-compare-notes { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-bottom: 28px; }
.ka-compare-note {
  background: #F1F2F5; border-radius: 16px; padding: 24px 26px;
}
.ka-compare-note h3 { font-size: 16px; font-weight: 700; margin: 0 0 8px; color: #23395B; }
.ka-compare-note p { font-size: 14px; line-height: 1.6; margin: 0; color: #56657f; }
.ka-compare-note-gold { background: rgba(244,180,0,.1); }

.ka-brand-note { font-size: 12.5px; line-height: 1.6; color: #8b9bb4; text-align: center; margin: 0; }

@media (max-width: 640px) {
  .ka-compare-notes { grid-template-columns: 1fr; }
}

/* ----- institute dashboard sample stats ----- */
.ka-inst-stats { display: flex; flex-wrap: wrap; gap: 10px; padding: 16px 16px 0; }
.ka-inst-stat {
  flex: 1 1 120px; background: #F1F2F5; border-radius: 12px; padding: 12px 14px; text-align: center;
}
.ka-inst-stat span { display: block; font-family: 'Orbitron', sans-serif; font-weight: 800; font-size: 19px; color: #23395B; }
.ka-inst-stat small { display: block; font-size: 11.5px; color: #56657f; margin-top: 2px; }
.ka-sample-note { font-size: 11.5px; color: #8b9bb4; text-align: center; margin: 10px 0 16px; }

/* ----- related links ----- */
.ka-related-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 16px; }
.ka-related-links a {
  font-family: 'Montserrat', sans-serif; font-size: 14px; font-weight: 600;
  color: #23395B; text-decoration: none; padding: 10px 18px; border-radius: 999px;
  border: 1px solid #e3e7ef; background: #F1F2F5; transition: border-color .2s, color .2s, background .2s;
}
.ka-related-links a:hover, .ka-related-links a:focus-visible {
  border-color: #F4B400; color: #bb8800; background: rgba(244,180,0,.1);
}

@media (prefers-reduced-motion: reduce) {
  .ka-jumpnav a, .ka-related-links a { transition: none; }
}
