*, *::before, *::after { box-sizing: border-box; }

:root {
  --ink: #14272f;
  --ink-soft: #536a72;
  --mist: #eef4f1;
  --sage: #d7e7df;
  --copper: #c7683f;
  --copper-dark: #9d4e30;
  --white: #ffffff;
  --surface-soft: #f7faf8;
  --line: rgba(20, 39, 47, .16);
  --line-strong: rgba(20, 39, 47, .28);
  --green-bg: #e5f1e9;
  --green-fg: #205b38;
  --green-line: rgba(32, 91, 56, .32);
  --yellow-bg: #f7efd9;
  --yellow-fg: #6e5514;
  --yellow-line: rgba(110, 85, 20, .34);
  --red-bg: #f8e6e2;
  --red-fg: #87352c;
  --red-line: rgba(135, 53, 44, .34);
  --radius: 16px;
  --radius-small: 12px;
  --content: 1120px;
}

html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--mist);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.6;
}

[hidden] { display: none !important; }
a { color: var(--copper-dark); text-underline-offset: .18em; }
a:hover { color: var(--ink); }
button, input, select { font: inherit; }
button, label, select { -webkit-tap-highlight-color: transparent; }

:focus-visible {
  outline: 3px solid rgba(199, 104, 63, .48);
  outline-offset: 3px;
}

.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;
}

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 300;
  transform: translateY(-180%);
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  padding: .7rem 1rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 180ms cubic-bezier(.22, 1, .36, 1);
}
.skip-link:focus { transform: translateY(0); color: var(--white); }

.ht-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--line);
}
.ht-nav__inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  width: min(100%, 1280px);
  min-height: 96px;
  margin: 0 auto;
  padding: .75rem 1.75rem;
}
.ht-nav__logo,
.ht-footer__logo {
  display: inline-flex;
  flex: none;
  border-radius: 14px;
  background: var(--ink);
  padding: .5rem .65rem;
}
.ht-nav__logo img { display: block; width: auto; height: 52px; }
.ht-nav__links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  margin-left: auto;
}
.ht-nav__links a {
  color: var(--ink-soft);
  font-size: .9rem;
  font-weight: 600;
  text-decoration: none;
}
.ht-nav__links a:hover { color: var(--ink); }
.ht-nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 0;
  border-radius: 999px;
  background: var(--sage);
  cursor: pointer;
}
.ht-nav__toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  border-radius: 2px;
  background: var(--ink);
}
.ht-nav__mobile {
  padding: .5rem 1.25rem 1.25rem;
  border-top: 1px solid var(--line);
  background: var(--white);
}
.ht-nav__mobile > a {
  display: block;
  padding: .75rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}
.ht-nav__mobile .ht-btn { margin-top: .75rem; text-align: center; color: var(--white); }

.ki-subbrand {
  padding: .6rem 1rem;
  border-bottom: 1px solid var(--line);
  background: var(--sage);
  color: var(--ink-soft);
  font-size: .82rem;
  text-align: center;
}
.ki-subbrand strong { color: var(--ink); }

.container {
  width: min(100%, var(--content));
  margin: 0 auto;
  padding: 4.5rem 1.5rem 5rem;
}
.hero {
  max-width: 880px;
  margin: 0 auto 3rem;
  text-align: center;
}
.hero--compact { margin-bottom: 2.25rem; }
.hero-badge {
  display: inline-flex;
  margin: 0 0 1.2rem;
  padding: .45rem .9rem;
  border: 1px solid rgba(199, 104, 63, .3);
  border-radius: 999px;
  background: rgba(255, 255, 255, .78);
  color: var(--copper-dark);
  font-size: .8rem;
  font-weight: 700;
}
.hero h1 {
  max-width: 860px;
  margin: 0 auto 1rem;
  color: var(--ink);
  font-size: 3.35rem;
  font-weight: 600;
  letter-spacing: -.035em;
  line-height: 1.05;
  text-wrap: balance;
}
.hero-sub {
  max-width: 720px;
  margin: 0 auto;
  color: var(--ink-soft);
  font-size: 1.08rem;
  line-height: 1.65;
  text-wrap: pretty;
}
.hero-disclaimer {
  max-width: 760px;
  margin: 1.2rem auto 0;
  padding: .85rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  background: rgba(255, 255, 255, .7);
  color: var(--ink-soft);
  font-size: .8rem;
  line-height: 1.55;
  text-align: left;
}
.hero-disclaimer strong { color: var(--ink); }

.info-boxes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .8rem;
  margin-bottom: 1.5rem;
}
.info-box {
  min-width: 0;
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .92);
}
.info-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 1rem;
  border-radius: 10px;
  background: var(--ink);
  color: var(--white);
  font-size: .78rem;
  font-weight: 700;
}
.info-box-title { margin: 0 0 .35rem; font-size: 1rem; line-height: 1.3; }
.info-box p { margin: 0; color: var(--ink-soft); font-size: .85rem; }

.legal-note,
.logic-note {
  margin: 0 0 1.5rem;
  padding: 1.1rem 1.25rem;
  border: 1px solid rgba(199, 104, 63, .28);
  border-radius: var(--radius-small);
  background: rgba(199, 104, 63, .07);
  color: var(--ink-soft);
}
.legal-note h2 { margin: 0 0 .35rem; color: var(--ink); font-size: .95rem; }
.legal-note p,
.logic-note { font-size: .84rem; line-height: 1.6; }
.legal-note p { margin: 0; }
.logic-note strong { color: var(--ink); }

.alert {
  margin: 0 0 1.5rem;
  padding: 1rem 1.15rem;
  border-radius: var(--radius-small);
  font-size: .9rem;
}
.alert-error { border: 1px solid var(--red-line); background: var(--red-bg); color: var(--red-fg); }

.card,
.module-card,
.submit-section {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .96);
}
.card { padding: 2.3rem; }
.card-title {
  margin: 0 0 .55rem;
  color: var(--ink);
  font-size: 1.8rem;
  letter-spacing: -.025em;
  line-height: 1.2;
  text-wrap: balance;
}
.card-desc { max-width: 68ch; margin: 0 0 1.6rem; color: var(--ink-soft); }

.lead-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.form-group { min-width: 0; margin: 0; padding: 0; border: 0; }
.form-group--compact { max-width: calc(50% - .5rem); }
.form-group label,
.form-group legend { display: block; margin-bottom: .38rem; color: var(--ink); font-size: .84rem; font-weight: 650; }
.req { color: var(--copper-dark); }
.optional { color: var(--ink-soft); font-weight: 500; }
input[type="text"],
input[type="email"],
select {
  width: 100%;
  min-height: 50px;
  padding: .7rem .85rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-small);
  background: var(--surface-soft);
  color: var(--ink);
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}
input[type="text"]:focus,
input[type="email"]:focus,
select:focus {
  border-color: var(--copper);
  outline: none;
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(199, 104, 63, .17);
}
.industry-other { margin-top: .75rem; }
.field-context { max-width: 72ch; margin: 0 0 .65rem; color: var(--ink-soft); font-size: .8rem; }
.ki-tools-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem; }
.ki-tool-option {
  display: flex !important;
  align-items: center;
  gap: .65rem;
  min-height: 46px;
  margin: 0 !important;
  padding: .65rem .8rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  background: var(--surface-soft);
  cursor: pointer;
  font-weight: 550 !important;
}
.ki-tool-option:has(input:checked) { border-color: var(--copper); background: rgba(199, 104, 63, .09); }
.ki-tool-option input { width: 18px; height: 18px; accent-color: var(--copper); }
.dsgvo-box { padding: 1.1rem 1.2rem; border: 1px solid rgba(199, 104, 63, .27); border-radius: var(--radius-small); background: var(--surface-soft); }
.dsgvo-label { display: flex !important; align-items: flex-start; gap: .8rem; margin: 0 !important; font-size: .82rem !important; font-weight: 450 !important; line-height: 1.58; cursor: pointer; }
.dsgvo-label input { width: 19px; height: 19px; margin-top: .15rem; flex: none; accent-color: var(--copper); }
.dsgvo-note { margin: .8rem 0 0 1.8rem; color: var(--ink-soft); font-size: .75rem; }

.btn,
.ht-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: .7rem 1.25rem;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-size: .88rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background 180ms ease, transform 180ms cubic-bezier(.22, 1, .36, 1);
}
.btn:hover,
.ht-btn:hover { background: #203b46; color: var(--white); transform: translateY(-1px); }
.btn-large { width: 100%; min-height: 52px; font-size: 1rem; }
.btn-secondary { border: 1px solid var(--line-strong); background: var(--sage); color: var(--ink); }
.btn-secondary:hover { background: #c9ddd3; color: var(--ink); }
.btn:disabled { background: #dfe8e4; color: rgba(20, 39, 47, .55); cursor: not-allowed; transform: none; }
.btn-ready { background: var(--ink); }

.progress-bar-wrap {
  position: sticky;
  top: 96px;
  z-index: 80;
  margin-bottom: 1rem;
  padding: .85rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  background: rgba(255, 255, 255, .97);
}
.progress-label { margin-bottom: .45rem; color: var(--ink-soft); font-size: .82rem; }
.progress-track { height: 7px; overflow: hidden; border-radius: 999px; background: var(--sage); }
.progress-fill { width: 0; height: 100%; border-radius: inherit; background: var(--copper); transition: width 220ms cubic-bezier(.22, 1, .36, 1); }

.module-card { margin-bottom: 1.25rem; overflow: clip; }
.module-header { display: flex; align-items: center; gap: 1rem; padding: 1.35rem 1.5rem; border-bottom: 1px solid var(--line); background: var(--sage); }
.module-number { min-width: 2.6rem; color: var(--copper-dark); font-size: 1.65rem; font-weight: 700; line-height: 1; }
.module-title { margin: 0 0 .2rem; font-size: 1.18rem; line-height: 1.25; }
.module-focus { margin: 0; color: var(--ink-soft); font-size: .76rem; font-weight: 600; }
.module-desc { margin: 0; padding: 1rem 1.5rem; border-bottom: 1px solid var(--line); background: var(--surface-soft); color: var(--ink-soft); font-size: .82rem; }
.question-list { display: block; }
.question-row {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr) minmax(280px, auto);
  gap: .8rem;
  align-items: center;
  min-width: 0;
  margin: 0;
  padding: 1rem 1.35rem;
  border: 0;
  border-bottom: 1px solid var(--line);
  transition: background 160ms ease;
}
.question-row:last-child { border-bottom: 0; }
.question-row:nth-child(even) { background: rgba(215, 231, 223, .23); }
.question-row.answered { background: rgba(199, 104, 63, .055); }
.question-nr { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--sage); color: var(--ink); font-size: .72rem; font-weight: 700; }
.question-copy { min-width: 0; }
.question-text { max-width: 72ch; margin: 0; color: var(--ink); font-size: .84rem; line-height: 1.48; text-wrap: pretty; }
.question-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .55rem; margin-top: .45rem; }
.basis-badge,
.type-badge {
  display: inline-flex;
  padding: .18rem .42rem;
  border-radius: 999px;
  font-size: .66rem;
  font-weight: 650;
  line-height: 1.35;
}
.basis-badge--legal_requirement { background: rgba(199, 104, 63, .12); color: var(--copper-dark); }
.basis-badge--best_practice { background: var(--sage); color: var(--ink-soft); }
.type-badge { border: 1px solid var(--line); color: var(--ink-soft); }
.legal-reference { color: var(--ink-soft); font-size: .68rem; }
.question-help { margin: .4rem 0 0; color: var(--ink-soft); font-size: .72rem; }
.question-answers { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .35rem; }
.answer-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin: 0;
  padding: .55rem .68rem;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: var(--white);
  color: var(--ink-soft);
  font-size: .72rem;
  font-weight: 650;
  line-height: 1.25;
  white-space: nowrap;
  cursor: pointer;
  transition: border-color 150ms ease, background 150ms ease, color 150ms ease;
}
.answer-btn input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.answer-btn:focus-within { outline: 3px solid rgba(199, 104, 63, .34); outline-offset: 2px; }
.answer-green:hover, .answer-green.selected { border-color: var(--green-line); background: var(--green-bg); color: var(--green-fg); }
.answer-yellow:hover, .answer-yellow.selected { border-color: var(--yellow-line); background: var(--yellow-bg); color: var(--yellow-fg); }
.answer-red:hover, .answer-red.selected { border-color: var(--red-line); background: var(--red-bg); color: var(--red-fg); }
.answer-neutral:hover, .answer-neutral.selected { border-color: var(--copper); background: rgba(199, 104, 63, .09); color: var(--ink); }
.answer-unclear:hover, .answer-unclear.selected { border-color: var(--yellow-line); background: var(--yellow-bg); color: var(--yellow-fg); }
.submit-section { padding: 1.5rem; text-align: center; }
.submit-note { max-width: 70ch; margin: 0 auto 1rem; color: var(--ink-soft); font-size: .82rem; }

.result-summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .7rem; margin-bottom: 1rem; }
.result-box { padding: 1.2rem .8rem; border: 1px solid var(--line); border-radius: var(--radius-small); text-align: center; }
.result-green { border-color: var(--green-line); background: var(--green-bg); color: var(--green-fg); }
.result-yellow { border-color: var(--yellow-line); background: var(--yellow-bg); color: var(--yellow-fg); }
.result-red { border-color: var(--red-line); background: var(--red-bg); color: var(--red-fg); }
.result-neutral { background: var(--sage); color: var(--ink); }
.result-number { font-size: 2.35rem; font-weight: 700; line-height: 1; }
.result-label { margin-top: .35rem; font-size: .75rem; font-weight: 600; }
.rating-banner { margin-bottom: 1rem; padding: 1.1rem 1.25rem; border: 1px solid; border-radius: var(--radius-small); }
.rating-banner h2 { margin: 0 0 .25rem; font-size: 1.1rem; }
.rating-banner p { margin: .15rem 0 0; font-size: .84rem; }
.rating-green { border-color: var(--green-line); background: var(--green-bg); color: var(--green-fg); }
.rating-yellow { border-color: var(--yellow-line); background: var(--yellow-bg); color: var(--yellow-fg); }
.rating-red { border-color: var(--red-line); background: var(--red-bg); color: var(--red-fg); }
.result-card { margin-bottom: 1rem; padding: 1.5rem; }
.result-card .card-title { font-size: 1.25rem; }
.result-card h3 { margin: .7rem 0 .35rem; font-size: 1rem; }
.result-card p { max-width: 74ch; margin: 0; color: var(--ink-soft); }
.finding-list { display: grid; gap: .6rem; margin: 1rem 0 0; padding: 0; list-style: none; }
.finding-list li { padding: .8rem .9rem; border: 1px solid var(--red-line); border-radius: 10px; background: var(--red-bg); }
.finding-list strong,
.finding-list span { display: block; }
.finding-list strong { margin-bottom: .2rem; color: var(--red-fg); font-size: .83rem; }
.finding-list span { color: var(--ink-soft); font-size: .8rem; }
.cta-card { margin-top: 1rem; text-align: center; }
.cta-card h2 { margin: 0 0 .6rem; font-size: 1.5rem; }
.cta-card p { max-width: 70ch; margin: 0 auto 1rem; color: var(--ink-soft); }
.cta-list { max-width: 680px; margin: 0 auto 1.25rem; padding: 0; list-style: none; text-align: left; }
.cta-list li { position: relative; padding: .35rem 0 .35rem 1.4rem; }
.cta-list li::before { content: "✓"; position: absolute; left: 0; color: var(--green-fg); font-weight: 700; }
.restart-wrap { padding: 1.25rem 0; text-align: center; }

.ht-footer { margin-top: 3rem; padding: 3rem 1.5rem 1.4rem; border-top: 1px solid var(--line); background: var(--white); color: var(--ink-soft); }
.ht-footer__inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; width: min(100%, 1280px); margin: 0 auto; padding-bottom: 2rem; border-bottom: 1px solid var(--line); }
.ht-footer__logo img { display: block; width: auto; height: 44px; }
.ht-footer__desc { max-width: 54ch; margin: .8rem 0; }
.ht-footer__contact { margin: 0; }
.ht-footer__contact strong,
.ht-footer__contact a,
.ht-footer__contact span { display: block; }
.ht-footer__contact strong { margin-bottom: .2rem; color: var(--ink); font-size: .8rem; }
.ht-footer h2 { margin: 0 0 .75rem; color: var(--ink); font-size: .86rem; }
.ht-footer ul { margin: 0; padding: 0; list-style: none; }
.ht-footer li { margin-bottom: .45rem; }
.ht-footer li a { color: var(--ink-soft); text-decoration: none; }
.ht-footer li a:hover { color: var(--ink); }
.ht-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1rem; width: min(100%, 1280px); margin: 1.2rem auto 0; font-size: .75rem; }

@media (max-width: 980px) {
  .ht-nav__links,
  .ht-nav__btn-desktop { display: none; }
  .ht-nav__toggle { display: block; }
  .question-row { grid-template-columns: 2rem minmax(0, 1fr); }
  .question-answers { grid-column: 2; justify-content: flex-start; }
  .result-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .ht-nav__inner { min-height: 82px; padding: .65rem 1.1rem; }
  .ht-nav__logo img { height: 42px; }
  .container { padding: 2.8rem 1rem 3.5rem; }
  .hero { margin-bottom: 2rem; }
  .hero h1 { font-size: 2.25rem; letter-spacing: -.025em; }
  .hero-sub { font-size: 1rem; }
  .info-boxes,
  .form-row,
  .ki-tools-grid,
  .ht-footer__inner { grid-template-columns: 1fr; }
  .form-group--compact { max-width: none; }
  .card { padding: 1.5rem 1.1rem; }
  .progress-bar-wrap { top: 82px; }
  .module-header { align-items: flex-start; padding: 1.1rem; }
  .module-desc { padding: .9rem 1.1rem; }
  .question-row { grid-template-columns: 1.75rem minmax(0, 1fr); padding: 1rem; }
  .question-answers { grid-column: 1 / -1; }
  .answer-btn { flex: 1 1 8rem; white-space: normal; }
  .result-summary { grid-template-columns: 1fr 1fr; }
  .ht-footer__inner { gap: 1.8rem; }
  .ht-footer__bottom { flex-direction: column; }
}

@media (max-width: 390px) {
  .hero h1 { font-size: 2rem; }
  .result-summary { grid-template-columns: 1fr; }
  .question-answers { flex-direction: column; }
  .answer-btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}
