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

:root {
  --bg: #0d1528;
  --bg-card: #162040;
  --bg-card2: #1a2850;
  --orange: #f97316;
  --orange-dark: #ea580c;
  --orange-light: #fed7aa;
  --white: #ffffff;
  --text: #e2e8f0;
  --text-muted: #94a3b8;
  --border: rgba(255,255,255,.08);
  --radius: 8px;
  --shadow: 0 4px 24px rgba(0,0,0,.4);
  --green-bg: rgba(34,197,94,.15);
  --green-fg: #4ade80;
  --green-border: rgba(74,222,128,.3);
  --yellow-bg: rgba(234,179,8,.15);
  --yellow-fg: #facc15;
  --yellow-border: rgba(250,204,21,.3);
  --red-bg: rgba(239,68,68,.15);
  --red-fg: #f87171;
  --red-border: rgba(248,113,113,.3);
}

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  font-size: 15px;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  min-height: 100vh;
}

a { color: var(--orange); text-decoration: none; }
a:hover { color: var(--orange-light); }

.ht-nav {
  background: hsl(222,47%,11%);
  border-bottom: 1px solid rgba(255,255,255,.08);
  position: sticky;
  top: 0;
  z-index: 100;
}

.ht-nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.ht-nav__logo img { height: 38px; width: auto; display: block; }
.ht-nav__links { display: flex; gap: 28px; margin-left: auto; }
.ht-nav__link {
  color: rgba(255,255,255,.85);
  text-decoration: none;
  font-size: .9rem;
  font-weight: 500;
  transition: color .2s;
}
.ht-nav__link:hover { color: #fff; }

.ht-btn {
  background: var(--orange);
  color: #fff;
  padding: 9px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-size: .875rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background .2s;
}
.ht-btn:hover { background: var(--orange-dark); color: #fff; }

.ht-nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.ht-nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
}

.ht-nav__mobile {
  display: none;
  flex-direction: column;
  background: hsl(217,33%,17%);
  padding: 12px 24px 16px;
}
.ht-nav__mobile.open { display: flex; }
.ht-nav__mobile a {
  color: rgba(255,255,255,.85);
  text-decoration: none;
  padding: 10px 0;
  font-size: .9rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.ht-nav__mobile a:last-child {
  border-bottom: none;
  margin-top: 12px;
  text-align: center;
}

.nis2-subbrand {
  background: hsl(217,33%,17%);
  text-align: center;
  padding: 7px 16px;
  font-size: .78rem;
  color: rgba(255,255,255,.6);
  letter-spacing: .04em;
}
.nis2-subbrand strong { color: var(--orange); }

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 48px 24px 64px;
}

.hero {
  text-align: center;
  margin-bottom: 40px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(249,115,22,.15);
  border: 1px solid rgba(249,115,22,.3);
  color: var(--orange);
  font-size: 13px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: 40px;
  color: var(--white);
  margin: 0 auto 12px;
  line-height: 1.18;
  font-weight: 800;
  max-width: 780px;
}
.hero-sub {
  color: var(--text-muted);
  font-size: 16px;
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.7;
}
.hero-disclaimer {
  margin: 16px auto 0;
  max-width: 720px;
  font-size: 12px;
  line-height: 1.6;
  color: #94a3b8;
  background: rgba(249,115,22,.07);
  border: 1px solid rgba(249,115,22,.22);
  border-radius: 6px;
  padding: 10px 14px;
  text-align: left;
}
.hero-action { margin-top: 24px; }

.info-boxes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}
.info-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  box-shadow: var(--shadow);
  font-size: 13px;
  color: var(--text-muted);
}
.info-icon {
  width: 44px;
  height: 44px;
  background: var(--orange);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  margin: 0 auto 10px;
}
.info-box-title {
  color: var(--white);
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 4px;
}

.card,
.module-card,
.submit-section,
.progress-bar-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card {
  padding: 32px;
  margin-bottom: 24px;
}
.card-title {
  font-size: 20px;
  color: var(--white);
  margin-bottom: 8px;
  font-weight: 700;
}
.card-desc {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 24px;
}

.progress-bar-wrap {
  padding: 14px 20px;
  margin-bottom: 24px;
  position: sticky;
  top: 69px;
  z-index: 90;
}
.progress-label {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.progress-label strong { color: var(--text); }
.progress-track {
  height: 6px;
  background: rgba(255,255,255,.08);
  border-radius: 3px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  width: 0;
  background: var(--orange);
  border-radius: 3px;
  transition: width .25s ease;
}

.module-card {
  margin-bottom: 24px;
  overflow: hidden;
}
.module-header {
  background: linear-gradient(135deg, rgba(249,115,22,.2), rgba(249,115,22,.05));
  border-bottom: 1px solid rgba(249,115,22,.2);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.module-number {
  font-size: 40px;
  font-weight: 800;
  color: rgba(249,115,22,.3);
  line-height: 1;
  min-width: 54px;
}
.module-title {
  font-size: 17px;
  color: var(--white);
  margin-bottom: 4px;
  font-weight: 700;
}
.module-focus {
  font-size: 12px;
  color: var(--orange);
  font-weight: 600;
}
.module-desc {
  padding: 16px 24px;
  font-size: 13px;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  line-height: 1.7;
  background: rgba(0,0,0,.15);
}

.question-row {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 14px 24px;
  border-bottom: 1px solid var(--border);
  transition: background .15s;
}
.question-row:last-child { border-bottom: none; }
.question-row:nth-child(even) { background: rgba(0,0,0,.1); }
.question-row.answered { background: rgba(249,115,22,.04); }
.question-nr {
  font-size: 12px;
  font-weight: 700;
  color: var(--orange);
  text-align: center;
  background: rgba(249,115,22,.15);
  border: 1px solid rgba(249,115,22,.25);
  border-radius: 50%;
  width: 28px;
  height: 28px;
  line-height: 26px;
  flex-shrink: 0;
}
.question-text {
  font-size: 13px;
  color: var(--text);
  line-height: 1.5;
}
.question-answers {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}
.answer-btn {
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: 6px 11px;
  border-radius: var(--radius);
  border: 1.5px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  transition: all .15s;
  white-space: nowrap;
  user-select: none;
}
.answer-btn input[type=radio] { display: none; }
.answer-zero:hover, .answer-zero.selected {
  background: var(--green-bg);
  color: var(--green-fg);
  border-color: var(--green-border);
}
.answer-one:hover, .answer-one.selected {
  background: rgba(234,179,8,.12);
  color: var(--yellow-fg);
  border-color: rgba(250,204,21,.25);
}
.answer-two:hover, .answer-two.selected {
  background: rgba(249,115,22,.12);
  color: var(--orange-light);
  border-color: rgba(249,115,22,.35);
}
.answer-three:hover, .answer-three.selected {
  background: var(--red-bg);
  color: var(--red-fg);
  border-color: var(--red-border);
}

.submit-section {
  padding: 28px 32px;
  text-align: center;
  margin-bottom: 24px;
}
.submit-note {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.lead-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}
.req { color: var(--orange); }
input[type=text],
input[type=email] {
  padding: 11px 14px;
  border: 1.5px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  font-size: 14px;
  font-family: inherit;
  transition: border-color .2s, box-shadow .2s;
  background: rgba(255,255,255,.05);
  color: var(--white);
}
input::placeholder { color: var(--text-muted); }
input:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(249,115,22,.2);
  background: rgba(255,255,255,.08);
}
input.invalid {
  border-color: var(--red-fg);
  box-shadow: 0 0 0 3px rgba(248,113,113,.12);
}
.field-error {
  min-height: 16px;
  font-size: 12px;
  color: var(--red-fg);
}

.dsgvo-box {
  background: rgba(249,115,22,.08);
  border: 1px solid rgba(249,115,22,.25);
  border-radius: var(--radius);
  padding: 18px 20px;
}
.consent-secondary {
  background: rgba(255,255,255,.03);
  border-color: var(--border);
}
.dsgvo-label {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--text);
  cursor: pointer;
  font-weight: 400;
  line-height: 1.6;
}
.dsgvo-label input[type=checkbox] {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  accent-color: var(--orange);
  cursor: pointer;
}
.dsgvo-note {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,.08);
}

.btn {
  display: inline-block;
  padding: 11px 24px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  font-family: inherit;
  text-decoration: none;
  transition: background .15s, transform .1s, opacity .2s, box-shadow .15s;
}
.btn-primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 4px 14px rgba(249,115,22,.4);
}
.btn-primary:hover:not(:disabled) {
  background: var(--orange-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(249,115,22,.5);
}
.btn-secondary {
  background: rgba(255,255,255,.08);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-secondary:hover { background: rgba(255,255,255,.12); color: var(--white); }
.btn-large {
  padding: 14px 32px;
  font-size: 16px;
  width: 100%;
  text-align: center;
}
.btn:disabled {
  opacity: .35;
  cursor: not-allowed;
  box-shadow: none;
}

.result-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
.result-box {
  text-align: center;
  border-radius: var(--radius);
  padding: 24px 16px;
  box-shadow: var(--shadow);
}
.result-green { background: var(--green-bg); border: 1px solid var(--green-border); }
.result-yellow { background: var(--yellow-bg); border: 1px solid var(--yellow-border); }
.result-red { background: var(--red-bg); border: 1px solid var(--red-border); }
.muted-box {
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
}
.result-number {
  font-size: 52px;
  font-weight: 800;
  line-height: 1;
}
.small-number {
  font-size: 32px;
  color: var(--white);
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.result-green .result-number { color: var(--green-fg); }
.result-yellow .result-number { color: var(--yellow-fg); }
.result-red .result-number { color: var(--red-fg); }
.result-label {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 6px;
}
.rating-banner {
  padding: 18px 22px;
  border-radius: var(--radius);
  margin-bottom: 24px;
  font-size: 14px;
  line-height: 1.7;
}
.rating-green { background: var(--green-bg); color: var(--green-fg); border: 1px solid var(--green-border); }
.rating-yellow { background: var(--yellow-bg); color: var(--yellow-fg); border: 1px solid var(--yellow-border); }
.rating-red { background: var(--red-bg); color: var(--red-fg); border: 1px solid var(--red-border); }
.locked-report {
  color: var(--text-muted);
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  font-size: 13px;
}
.thanks-card { text-align: center; }

.ht-footer {
  background: rgb(2,6,23);
  color: rgba(255,255,255,.7);
  padding: 48px 24px 24px;
  margin-top: 60px;
  font-size: .875rem;
}
.ht-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.ht-footer__logo img { height: 36px; margin-bottom: 14px; }
.ht-footer__desc { line-height: 1.65; margin-bottom: 14px; }
.ht-footer__contact a {
  color: var(--orange);
  text-decoration: none;
  display: block;
  margin-bottom: 4px;
}
.ht-footer h4 {
  color: #fff;
  font-size: .8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin: 0 0 14px;
}
.ht-footer ul { list-style: none; padding: 0; margin: 0; }
.ht-footer ul li { margin-bottom: 8px; }
.ht-footer ul a {
  color: rgba(255,255,255,.65);
  text-decoration: none;
  transition: color .2s;
}
.ht-footer ul a:hover { color: #fff; }
.footer-note {
  margin-top: 16px;
  font-size: .78rem;
  color: rgba(255,255,255,.4);
}
.ht-footer__bottom {
  max-width: 1200px;
  margin: 20px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: .8rem;
  color: rgba(255,255,255,.4);
}

@media (max-width: 900px) {
  .question-row { grid-template-columns: 36px 1fr; }
  .question-answers {
    grid-column: 1 / -1;
    flex-wrap: wrap;
    padding-left: 50px;
  }
}

@media (max-width: 768px) {
  .ht-nav__links,
  .ht-nav__btn-desktop { display: none; }
  .ht-nav__toggle { display: flex; margin-left: auto; }
  .container { padding: 36px 18px 48px; }
  .hero h1 { font-size: 30px; }
  .info-boxes,
  .form-row,
  .result-summary,
  .ht-footer__inner { grid-template-columns: 1fr; }
  .progress-bar-wrap { top: 68px; }
  .question-row { padding: 14px 18px; }
  .question-answers {
    padding-left: 0;
    justify-content: flex-start;
  }
  .answer-btn {
    flex: 1 1 calc(50% - 6px);
    justify-content: center;
    min-height: 38px;
  }
  .card,
  .submit-section { padding: 24px 18px; }
  .ht-footer__bottom { flex-direction: column; text-align: center; }
}
