/* KI-Regler je Abteilung (2026-10-16): Testseite, AI Solutions, Startseite. JS: js/ki-regler.js */
section.kir { padding: clamp(48px, 6vw, 88px) 0; background: #fff; }
.kir h2 { color: #0b1c3d; font-size: clamp(24px, 20px + 1vw, 34px); letter-spacing: -.015em; margin: 0 0 10px; }
.kir .lead { color: #4a5768; max-width: 760px; margin: 0; font-size: 17px; line-height: 1.55; }
.kir-list { display: grid; gap: 14px; margin-top: 32px; }
.kir-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px 24px; align-items: center; padding: 20px 22px; border: 1px solid #e3e9f2; border-radius: 18px; }
.kir-row h3 { margin: 0; font-size: 17px; color: #0b1c3d; }
.kir-seg { display: inline-grid; grid-template-columns: repeat(4, auto); border: 1px solid #d4dce8; border-radius: 12px; overflow: hidden; margin: 0; padding: 0; min-width: 0; }
.kir-seg legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.kir-seg input { position: absolute; opacity: 0; pointer-events: none; }
.kir-seg label { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 14px; font-size: 14px; color: #0b1c3d; cursor: pointer; border-left: 1px solid #d4dce8; user-select: none; }
.kir-seg label:first-of-type { border-left: 0; }
.kir-seg input:checked + label { background: #0b1c3d; color: #fff; }
.kir-seg input:focus-visible + label { outline: 2px solid #0071e3; outline-offset: -3px; }
.kir-seg input:disabled + label { color: #a3adbb; cursor: not-allowed; background: repeating-linear-gradient(135deg, #fff 0 6px, #f3f5f9 6px 12px); }
@media (hover: hover) { .kir-seg input:not(:checked):not(:disabled) + label:hover { background: #eef3fa; } }
.kir-out { grid-column: 1 / -1; margin: 0; font-size: 15.5px; line-height: 1.55; color: #4a5768; }
.kir-out b { color: #0b1c3d; font-weight: 600; }
.kir-out .kir-warn { display: block; margin-top: 6px; font-size: 14px; color: #8a5a00; }
.kir-sum { margin-top: 28px; padding: 26px 26px; border-radius: 18px; background: #0b1c3d; color: #fff; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px 28px; align-items: center; }
.kir-sum p { margin: 0; font-size: 17px; line-height: 1.5; color: rgba(231,238,247,.9); }
.kir-sum p b { color: #fff; }
.kir-sum small { display: block; margin-top: 8px; font-size: 13.5px; color: rgba(231,238,247,.7); }
html body section.kir .kir-sum a.btn.btn-primary, html body section.kir .kir-sum a.btn.btn-primary:hover { background: #fff !important; border-color: #fff !important; color: #0b1c3d !important; min-height: 52px; display: inline-flex; align-items: center; }
@media (max-width: 900px) {
  .kir-row { grid-template-columns: 1fr; }
  .kir-seg { grid-template-columns: repeat(2, 1fr); width: 100%; }
  .kir-seg label:nth-of-type(3) { border-left: 0; }
  .kir-seg label:nth-of-type(n+3) { border-top: 1px solid #d4dce8; }
  .kir-sum { grid-template-columns: 1fr; }
}
.kir-head .eyebrow { margin-bottom: 14px; }
.kir-more { margin-top: 14px; font-size: 15px; }
.kir-more a { color: #0071e3; text-decoration: none; font-weight: 600; }
@media (hover: hover) { .kir-more a:hover { text-decoration: underline; } }
