/* ============================================
   NISG 2026 Quickcheck - SaltSec Design
   Matching www.saltsec.at
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  /* SaltSec CI Primary */
  --salt-black: #0A0A0A;
  --graphite: #22262B;
  --white: #FFFFFF;

  /* SaltSec CI Secondary */
  --steel-gray: #66707A;
  --light-gray: #D9DEE3;

  /* SaltSec CI Accent */
  --cyber-blue: #0066E8;
  --signal-cyan: #1BB7D8;

  /* Semantic */
  --bg-dark: #0A0A0A;
  --bg-light: #FAFBFC;
  --surface: #FFFFFF;
  --surface-dark: #22262B;
  --border-light: rgba(34, 38, 43, 0.08);
  --border-dark: rgba(255, 255, 255, 0.08);
  --text-on-dark: #FFFFFF;
  --text-on-dark-muted: rgba(255, 255, 255, 0.5);
  --text-on-light: #0A0A0A;
  --text-on-light-muted: #66707A;

  /* Layout */
  --max-width: 860px;
  --nav-height: 72px;
  --radius: 12px;
  --radius-sm: 8px;

  /* Typography */
  --font-body: 'Plus Jakarta Sans', 'Inter', Arial, sans-serif;
  --font-mono: 'JetBrains Mono', Consolas, monospace;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
  --shadow-glow: 0 8px 30px rgba(0, 102, 232, 0.25);

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 3rem;
  --space-xl: 5rem;

  /* Borders & Backgrounds (for dropdown/nav consistency) */
  --border-subtle: rgba(34, 38, 43, 0.08);
  --bg-section: #F4F6F8;
}

/* ============================================
   Reset
   ============================================ */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-on-light);
  background: var(--bg-light);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: var(--cyber-blue);
  color: var(--white);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

/* ============================================
   Layout
   ============================================ */

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================
   Navigation (SaltSec)
   ============================================ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  z-index: 1000;
  transition: all 0.3s ease;
}

.nav.scrolled {
  box-shadow: 0 1px 20px rgba(10, 10, 10, 0.06);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
}

.nav-logo img {
  height: 36px;
  width: auto;
}

.nav-logo-text {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--salt-black);
}

.nav-links {
  display: flex;
  gap: var(--space-lg);
  list-style: none;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--steel-gray);
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
  position: relative;
  text-decoration: none;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--cyber-blue);
  transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--salt-black);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* Tools Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--steel-gray);
  letter-spacing: 0.02em;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0;
  transition: color 0.2s ease;
  position: relative;
}

.nav-dropdown-toggle::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--cyber-blue);
  transition: width 0.3s ease;
}

.nav-dropdown-toggle:hover,
.nav-dropdown.open .nav-dropdown-toggle {
  color: var(--salt-black);
}

.nav-dropdown-toggle:hover::after,
.nav-dropdown.open .nav-dropdown-toggle::after {
  width: 100%;
}

.nav-dropdown-chevron {
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.nav-dropdown.open .nav-dropdown-chevron {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 0.5rem 0;
  min-width: 220px;
  box-shadow: 0 12px 40px rgba(10, 10, 10, 0.1);
  list-style: none;
  z-index: 1001;
}

.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -16px;
  left: 0;
  right: 0;
  height: 16px;
}

.nav-dropdown.open .nav-dropdown-menu {
  display: block;
  animation: dropdownReveal 0.2s ease forwards;
}

@keyframes dropdownReveal {
  from { opacity: 0; transform: translateX(-50%) translateY(-8px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.nav-dropdown-menu li {
  list-style: none;
}

.nav-dropdown-menu a {
  display: block;
  padding: 0.6rem 1.25rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--steel-gray);
  text-decoration: none;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.nav-dropdown-menu a:hover {
  color: var(--salt-black);
  background: var(--bg-section);
}

.nav-dropdown-menu a::after {
  display: none;
}

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 32px;
  height: 32px;
  position: relative;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--salt-black);
  position: absolute;
  left: 6px;
  transition: all 0.3s ease;
}

.nav-toggle span:nth-child(1) { top: 10px; }
.nav-toggle span:nth-child(2) { top: 16px; }
.nav-toggle span:nth-child(3) { top: 22px; }

.nav-toggle.open span:nth-child(1) {
  transform: rotate(45deg);
  top: 16px;
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: rotate(-45deg);
  top: 16px;
}

/* ============================================
   Hero Header (Dark)
   ============================================ */

.hero {
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-height);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 50%, rgba(0, 102, 232, 0.12) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(27, 183, 216, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
                     linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-xl) 24px;
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero-logo {
  width: 80px;
  height: auto;
  margin: 0 auto var(--space-md);
  opacity: 0;
  animation: fadeUp 0.6s ease forwards;
  filter: drop-shadow(0 0 20px rgba(27, 183, 216, 0.15));
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--signal-cyan);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--space-lg);
  opacity: 0;
  animation: fadeUp 0.6s ease forwards;
}

.hero-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--signal-cyan);
  animation: pulse 2s ease-in-out infinite;
}

.hero h1 {
  font-family: var(--font-body);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--white);
  max-width: 700px;
  margin: 0 auto var(--space-sm);
  letter-spacing: -0.02em;
  opacity: 0;
  animation: fadeUp 0.6s ease 0.15s forwards;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--cyber-blue), var(--signal-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.0625rem;
  color: var(--steel-gray);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.8;
  opacity: 0;
  animation: fadeUp 0.6s ease 0.3s forwards;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* ============================================
   Navigation / Progress Bar (Sticky, Glass)
   ============================================ */

.progress-wrap {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 251, 252, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 16px 0;
  border-bottom: 1px solid var(--border-light);
  transition: box-shadow 0.3s ease;
}

.progress-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.progress-count {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--steel-gray);
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.progress-track {
  flex: 1;
  height: 4px;
  background: var(--light-gray);
  border-radius: 2px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: 0%;
  background: var(--cyber-blue);
  border-radius: 2px;
  transition: width 0.5s ease, background 0.3s ease;
}

.progress-fill.complete {
  background: linear-gradient(90deg, var(--cyber-blue), var(--signal-cyan));
}

/* ============================================
   Buttons (SaltSec Style)
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  white-space: nowrap;
  text-decoration: none;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--cyber-blue);
  color: var(--white);
}

.btn-primary:hover {
  box-shadow: var(--shadow-glow);
}

.btn-outline {
  background: transparent;
  color: var(--text-on-light);
  border: 1px solid var(--light-gray);
}

.btn-outline:hover {
  border-color: var(--steel-gray);
}

.btn-outline-cyber {
  border-color: rgba(0, 102, 232, 0.3);
  color: var(--cyber-blue);
}

.btn-outline-cyber:hover {
  border-color: var(--cyber-blue);
  background: rgba(0, 102, 232, 0.06);
}

.btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.78rem;
}

.btn-evaluate {
  display: none;
}

.btn-evaluate.visible {
  display: inline-flex;
}

/* ============================================
   Main Content Area
   ============================================ */

.main-content {
  padding: var(--space-lg) 0 var(--space-xl);
}

/* ============================================
   Question Cards
   ============================================ */

.question-card {
  margin-bottom: 14px;
  padding: 24px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  background: var(--surface);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.question-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--cyber-blue), var(--signal-cyan));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.question-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.question-card:hover::before {
  opacity: 1;
}

.question-card.answered {
  background: var(--bg-light);
  border-color: rgba(34, 38, 43, 0.12);
}

.question-card.answered::before {
  opacity: 1;
}

.question-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}

.question-body {
  margin-bottom: 0;
}

.question-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.question-category {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--cyber-blue);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.question-ref {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-on-light-muted);
  letter-spacing: 0.02em;
}

.question-text {
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.6;
  color: var(--text-on-light);
}

.question-number {
  color: var(--light-gray);
  font-weight: 800;
  margin-right: 8px;
  font-variant-numeric: tabular-nums;
  font-size: 0.85rem;
}

/* ============================================
   Rating Buttons
   ============================================ */

.rating-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.rating-btn {
  padding: 7px 16px;
  border-radius: 100px;
  border: 1px solid var(--light-gray);
  background: var(--surface);
  color: var(--steel-gray);
  font-family: var(--font-body);
  font-size: 0.73rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
  min-height: 34px;
}

.rating-btn:hover {
  border-color: var(--steel-gray);
  color: var(--text-on-light);
  transform: translateY(-1px);
}

.rating-btn.active {
  font-weight: 700;
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

/* Yes/No variant */
.rating-group--yesno {
  gap: 10px;
}

.rating-group--yesno .rating-btn {
  padding: 9px 28px;
  font-size: 0.82rem;
  font-weight: 600;
  min-width: 80px;
}

.help-toggle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--light-gray);
  background: var(--surface);
  color: var(--text-on-light-muted);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 1;
}

.help-toggle:hover {
  background: var(--bg-light);
  color: var(--cyber-blue);
  border-color: var(--cyber-blue);
}

.help-toggle.open {
  background: var(--cyber-blue);
  color: var(--white);
  border-color: var(--cyber-blue);
}

.rating-separator {
  height: 1px;
  background: var(--border-light);
  margin: 16px 0;
}

/* ============================================
   Help Text
   ============================================ */

.help-text {
  margin-top: 16px;
  padding: 16px 20px;
  background: var(--bg-light);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  color: var(--steel-gray);
  line-height: 1.7;
  border-left: 3px solid var(--cyber-blue);
  display: none;
  animation: fadeUp 0.3s ease;
}

.help-text.open {
  display: block;
}

/* ============================================
   Results Panel
   ============================================ */

.results-panel {
  display: none;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  padding: 0;
  margin-bottom: var(--space-lg);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.results-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--cyber-blue), var(--signal-cyan));
}

.results-panel.visible {
  display: block;
  animation: fadeUp 0.5s ease;
}

/* Results Header */
.results-header {
  background: var(--bg-dark);
  padding: 36px 36px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.results-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse 60% 50% at 30% 20%, rgba(0, 102, 232, 0.1) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 80% 80%, rgba(27, 183, 216, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

.results-header::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
                     linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.results-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--signal-cyan);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.results-title {
  font-size: clamp(1.25rem, 3vw, 1.6rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  margin: 0 0 8px;
  position: relative;
  z-index: 1;
}

.results-subtitle {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-on-dark-muted);
  letter-spacing: 0.02em;
  margin: 0;
  position: relative;
  z-index: 1;
}

/* Results Layout */
.results-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
  padding: 36px;
}

.results-gauge {
  text-align: center;
  flex-shrink: 0;
}

.gauge-wrap {
  background: var(--bg-dark);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
  overflow: hidden;
}

.gauge-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(0, 102, 232, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.results-categories {
  flex: 1;
  min-width: 260px;
}

.results-categories h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0 0 20px;
  color: var(--text-on-light);
  letter-spacing: -0.01em;
}

/* Category Bars */
.category-bar-row {
  margin-bottom: 14px;
}

.category-bar-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.76rem;
  margin-bottom: 6px;
  font-weight: 500;
  color: var(--text-on-light-muted);
}

.category-bar-name {
  max-width: 72%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.category-bar-pct {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.72rem;
}

.category-bar-track {
  height: 6px;
  background: var(--light-gray);
  border-radius: 3px;
  overflow: hidden;
}

.category-bar-fill {
  height: 100%;
  border-radius: 3px;
  transition: width 0.8s ease, background 0.5s ease;
}

/* Weak Areas */
.weak-areas {
  margin: 0 36px;
  padding: 24px;
  background: #fef8f8;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(220, 38, 38, 0.1);
}

.weak-areas-title {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  color: #dc2626;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.weak-areas-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.weak-areas-list li {
  padding: 12px 16px;
  background: var(--surface);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  font-size: 0.84rem;
  line-height: 1.6;
  color: var(--text-on-light);
}

.weak-areas-list strong {
  color: var(--text-on-light);
  font-weight: 600;
}

.weak-areas-avg {
  color: var(--text-on-light-muted);
  font-size: 0.78rem;
}

.weak-areas-badge {
  display: inline-block;
  font-weight: 600;
  font-size: 0.68rem;
  font-family: var(--font-mono);
  padding: 2px 10px;
  border-radius: 100px;
  letter-spacing: 0.02em;
  margin-left: 4px;
}

/* Results Back Button */
.results-back {
  padding: 24px 36px 32px;
}

.results-back .btn-outline {
  color: var(--text-on-light-muted);
  border-color: var(--light-gray);
}

.results-back .btn-outline:hover {
  color: var(--text-on-light);
  border-color: var(--steel-gray);
}

/* ============================================
   Bottom CTA
   ============================================ */

.bottom-cta {
  text-align: center;
  margin-top: var(--space-lg);
  display: none;
}

.bottom-cta.visible {
  display: block;
}

/* ============================================
   Footer (SaltSec)
   ============================================ */

.footer {
  background: var(--graphite);
  padding: var(--space-lg) 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: var(--space-xl);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-brand-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-logo {
  width: 36px;
  height: auto;
}

.footer-brand {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--white);
}

.footer-brand p {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  color: var(--steel-gray);
  margin-top: 0.25rem;
  letter-spacing: normal;
  font-weight: 400;
}

.footer-columns {
  display: flex;
  gap: var(--space-xl);
}

.footer-col-title {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--light-gray);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-xs);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer-links a {
  font-size: 0.8125rem;
  color: var(--steel-gray);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-legal {
  padding-top: var(--space-md);
}

.footer-legal-toggle {
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  color: var(--steel-gray);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.2s;
}

.footer-legal-toggle:hover {
  color: var(--white);
}

.footer-legal-toggle .chevron {
  transition: transform 0.3s ease;
  font-size: 0.625rem;
}

.footer-legal-toggle.open .chevron {
  transform: rotate(180deg);
}

.footer-impressum {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.footer-impressum.open {
  max-height: 600px;
}

.impressum-content {
  padding-top: var(--space-md);
}

.impressum-grid {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 0.5rem var(--space-md);
  font-size: 0.8125rem;
}

.impressum-grid dt {
  color: var(--steel-gray);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.05em;
  padding-top: 2px;
}

.impressum-grid dd {
  color: var(--light-gray);
}

.impressum-grid dd a {
  color: var(--cyber-blue);
  text-decoration: none;
  transition: color 0.2s;
}

.impressum-grid dd a:hover {
  color: var(--signal-cyan);
}

.impressum-note {
  margin-top: var(--space-md);
  font-size: 0.75rem;
  color: var(--steel-gray);
  line-height: 1.7;
}

.impressum-note a {
  color: var(--cyber-blue);
  text-decoration: none;
  transition: color 0.2s;
}

.impressum-note a:hover {
  color: var(--signal-cyan);
}

.footer-bottom {
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copyright {
  font-size: 0.75rem;
  color: var(--steel-gray);
  line-height: 1.6;
}

.footer-static-badge {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  color: var(--steel-gray);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.footer-static-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ADE80;
}

/* ============================================
   Intro Banner
   ============================================ */

.intro-banner {
  padding: 20px 0;
  border-bottom: 1px solid var(--border-light);
}

.intro-text {
  font-size: 0.82rem;
  color: var(--text-on-light-muted);
  line-height: 1.7;
  margin: 0 0 12px;
}

.intro-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: var(--text-on-light-muted);
}

.intro-disclaimer {
  margin: 12px 0 0;
  font-size: 0.72rem;
  color: var(--steel-gray);
  font-style: italic;
}

/* ============================================
   Category Divider
   ============================================ */

.category-divider {
  margin: 28px 0 14px;
  padding: 0;
  position: relative;
  text-align: left;
}

.category-divider span {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--cyber-blue);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--bg-light);
  padding-right: 12px;
  position: relative;
  z-index: 1;
}

.category-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--border-light);
}

/* ============================================
   Weight & Critical Badges
   ============================================ */

.weight-badge,
.weight-pill {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 100px;
}

.weight-3 { background: #fef2f2; color: #dc2626; }
.weight-2 { background: #fffbeb; color: #d97706; }
.weight-1 { background: var(--bg-light); color: var(--steel-gray); }

.critical-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 100px;
  background: #dc2626;
  color: #fff;
}

.question-card--critical {
  border-left: 3px solid #dc2626;
}

/* ============================================
   Evidence Row
   ============================================ */

.evidence-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
}

.evidence-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-on-light-muted);
  white-space: nowrap;
}

.evidence-btn {
  padding: 5px 16px;
  border-radius: 100px;
  border: 1px solid var(--light-gray);
  background: var(--surface);
  color: var(--steel-gray);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.evidence-btn:hover {
  border-color: var(--steel-gray);
}

.evidence-btn.active {
  font-weight: 700;
}

/* ============================================
   Metadata Section
   ============================================ */

.meta-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  padding: 0;
  border: none;
  background: none;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-on-light-muted);
  cursor: pointer;
  transition: color 0.2s;
}

.meta-toggle:hover { color: var(--cyber-blue); }

.meta-chevron {
  font-size: 0.55rem;
  transition: transform 0.2s;
}

.meta-toggle.open .meta-chevron {
  transform: rotate(90deg);
}

.meta-fields {
  display: none;
  margin-top: 12px;
  padding: 16px;
  background: var(--bg-light);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
}

.meta-fields.open { display: block; }

.meta-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.meta-field label {
  display: block;
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--text-on-light-muted);
  margin-bottom: 4px;
  letter-spacing: 0.02em;
}

.meta-field--full { margin-top: 12px; }

.meta-input,
.meta-textarea {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--text-on-light);
  background: var(--surface);
  transition: border-color 0.2s;
}

.meta-input:focus,
.meta-textarea:focus {
  outline: none;
  border-color: var(--cyber-blue);
}

.meta-textarea {
  resize: vertical;
  min-height: 48px;
}

/* ============================================
   Results: Overview & Metrics
   ============================================ */

.results-overview {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: center;
  padding: 32px 36px;
}

.results-metrics {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  min-width: 200px;
}

.metric-card {
  flex: 1;
  min-width: 120px;
  padding: 20px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  background: var(--surface);
  text-align: center;
}

.metric-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-on-light);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.metric-label {
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--text-on-light-muted);
  margin-top: 4px;
  letter-spacing: 0.02em;
}

.mc-green .metric-value { color: #16a34a; }
.mc-yellow .metric-value { color: #d97706; }
.mc-red .metric-value { color: #dc2626; }

.mc-green { border-color: rgba(22,163,74,0.2); }
.mc-yellow { border-color: rgba(217,119,6,0.2); }
.mc-red { border-color: rgba(220,38,38,0.2); }

/* ============================================
   Results: Alerts
   ============================================ */

.results-alerts {
  display: flex;
  gap: 16px;
  margin: 0 36px 24px;
  padding: 20px 24px;
  background: #fef2f2;
  border: 1px solid rgba(220,38,38,0.15);
  border-radius: var(--radius-sm);
}

.alert-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #dc2626;
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.alert-body { flex: 1; }

.alert-title {
  font-weight: 700;
  font-size: 0.85rem;
  color: #dc2626;
  margin-bottom: 8px;
}

.alert-list {
  margin: 0;
  padding: 0 0 0 18px;
  font-size: 0.78rem;
  line-height: 1.7;
  color: var(--text-on-light);
}

.alert-list strong { color: #dc2626; }

/* ============================================
   Results: Category Table
   ============================================ */

.results-section {
  padding: 0 36px 24px;
}

.results-section-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-on-light);
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}

.cat-table {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.cat-table-head {
  display: grid;
  grid-template-columns: 1fr 90px 70px 120px 80px;
  gap: 0;
  padding: 10px 16px;
  background: var(--bg-light);
  border-bottom: 1px solid var(--border-light);
  font-size: 0.65rem;
  font-weight: 600;
  font-family: var(--font-mono);
  color: var(--text-on-light-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.cat-table-row {
  display: grid;
  grid-template-columns: 1fr 90px 70px 120px 80px;
  gap: 0;
  padding: 10px 16px;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.78rem;
  align-items: center;
  transition: background 0.15s;
}

.cat-table-row:last-child { border-bottom: none; }
.cat-table-row:hover { background: var(--bg-light); }

.cat-col-name {
  font-weight: 500;
  color: var(--text-on-light);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cat-col-score,
.cat-col-ev {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
}

.cat-col-light {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 500;
}

/* ============================================
   Traffic Lights
   ============================================ */

.tl-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.tl-red    { background: #dc2626; box-shadow: 0 0 6px rgba(220,38,38,0.4); }
.tl-yellow { background: #d97706; box-shadow: 0 0 6px rgba(217,119,6,0.3); }
.tl-green  { background: #16a34a; box-shadow: 0 0 6px rgba(22,163,74,0.3); }

/* ============================================
   Results: Actions List
   ============================================ */

.actions-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.action-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
}

.action-rank {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-light);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-on-light-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.action-body { flex: 1; }

.action-name {
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--text-on-light);
}

.action-detail {
  font-size: 0.72rem;
  color: var(--text-on-light-muted);
  margin-top: 2px;
}

/* ============================================
   Results: Steps Timeline
   ============================================ */

.steps-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-left: 20px;
  border-left: 2px solid var(--light-gray);
}

.step-item {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  position: relative;
}

.step-marker {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--cyber-blue);
  border: 2px solid var(--surface);
  position: absolute;
  left: -27px;
  top: 20px;
  flex-shrink: 0;
}

.step-body { flex: 1; }

.step-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--cyber-blue);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.step-text {
  font-size: 0.82rem;
  line-height: 1.7;
  color: var(--text-on-light-muted);
}

/* ============================================
   Animations
   ============================================ */

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-up {
  animation: fadeUp 0.5s ease forwards;
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 768px) {
  /* Mobile Navigation */
  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: var(--space-md);
    gap: 0;
    border-bottom: 1px solid var(--border-light);
    box-shadow: 0 12px 40px rgba(10, 10, 10, 0.08);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--border-light);
  }

  .nav-links a::after {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  /* Mobile: Tools dropdown inline */
  .nav-dropdown {
    position: static;
  }

  .nav-dropdown-toggle {
    display: flex;
    width: 100%;
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--border-subtle);
    justify-content: space-between;
    font-size: 0.875rem;
  }

  .nav-dropdown-toggle::after {
    display: none;
  }

  .nav-dropdown-menu {
    position: static;
    transform: none;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    min-width: 0;
    z-index: auto;
  }

  .nav-dropdown.open .nav-dropdown-menu {
    animation: none;
    transform: none;
  }

  .nav-dropdown-menu::before {
    display: none;
  }

  .nav-dropdown-menu a {
    padding: 0.75rem 0 0.75rem 1.5rem;
    border-bottom: 1px solid var(--border-subtle);
    font-size: 0.875rem;
  }

  .nav-dropdown-menu a:hover {
    background: transparent;
    color: var(--cyber-blue);
  }

  /* Hero */
  .hero-inner {
    padding: var(--space-lg) 18px;
  }

  .hero h1 {
    font-size: clamp(1.6rem, 8vw, 2.2rem);
  }

  .hero-logo {
    width: 60px;
  }

  /* Content */
  .container {
    padding: 0 18px;
  }

  .progress-inner {
    padding: 0 18px;
  }

  .question-card {
    padding: 20px 18px;
  }

  .question-card:hover {
    transform: none;
  }

  .rating-group {
    gap: 6px;
  }

  .rating-btn {
    padding: 8px 14px;
    font-size: 0.7rem;
    min-height: 40px;
  }

  .rating-btn:hover {
    transform: none;
  }

  .results-panel {
    padding: 0;
  }

  .results-header {
    padding: 24px 18px 20px;
  }

  .results-overview {
    flex-direction: column;
    padding: 24px 18px;
  }

  .results-metrics {
    min-width: 100%;
  }

  .results-alerts {
    margin: 0 18px 20px;
  }

  .results-section {
    padding: 0 18px 20px;
  }

  .cat-table-head,
  .cat-table-row {
    grid-template-columns: 1fr 70px 55px 90px;
  }

  .cat-col-ev { display: none; }

  .meta-row {
    grid-template-columns: 1fr;
  }

  .results-back {
    padding: 20px 18px 24px;
  }

  .intro-legend {
    flex-direction: column;
    gap: 8px;
  }

  /* Footer */
  .footer {
    padding: var(--space-lg) 18px;
  }

  .footer-top {
    flex-direction: column;
    gap: var(--space-md);
  }

  .footer-columns {
    flex-direction: column;
    gap: var(--space-md);
  }

  .footer-links {
    flex-wrap: wrap;
    gap: var(--space-sm) var(--space-md);
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-sm);
    text-align: center;
  }

  .impressum-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .rating-btn {
    flex: 1 1 calc(50% - 4px);
    text-align: center;
    justify-content: center;
  }

  .cat-table-head,
  .cat-table-row {
    grid-template-columns: 1fr 55px 90px;
  }

  .cat-col-w { display: none; }

  .metric-card { min-width: 90px; }
  .metric-value { font-size: 1.1rem; }

  .steps-timeline { padding-left: 16px; }
  .step-marker { left: -23px; }
}

/* ============================================
   Betroffenheit Hint (Quickcheck Q1)
   ============================================ */

.betroffenheit-hint {
  display: none;
  margin: -6px 0 14px;
  padding: 14px 20px;
  background: #eff6ff;
  border-left: 3px solid var(--cyber-blue);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  color: var(--text-on-light);
  line-height: 1.6;
  animation: fadeUp 0.3s ease;
}

.betroffenheit-hint.visible { display: block; }

.betroffenheit-hint a {
  color: var(--cyber-blue);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.betroffenheit-hint a:hover { text-decoration: underline; }

/* ============================================
   Wizard (Betroffenheitsprüfung)
   ============================================ */

.wizard-container {
  max-width: 700px;
  margin: 0 auto;
}

.wizard-step-info {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.wizard-step-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-on-light-muted);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.wizard-progress {
  flex: 1;
  height: 4px;
  background: var(--light-gray);
  border-radius: 2px;
  overflow: hidden;
}

.wizard-progress-fill {
  height: 100%;
  background: var(--cyber-blue);
  border-radius: 2px;
  transition: width 0.4s ease;
}

.wizard-card {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
  overflow: hidden;
}

.wizard-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--cyber-blue), var(--signal-cyan));
}

.wizard-card-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-on-light);
  margin: 0 0 8px;
}

.wizard-card-question {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-on-light);
  line-height: 1.6;
  margin: 0 0 8px;
}

.wizard-card-help {
  font-size: 0.78rem;
  color: var(--text-on-light-muted);
  line-height: 1.6;
  margin: 0 0 24px;
}

/* Wizard Options (radio-like buttons) */
.wizard-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.wizard-options-group-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--cyber-blue);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 12px 0 4px;
}

.wizard-options-group-label:first-child { margin-top: 0; }

.wizard-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-sm);
  background: var(--surface);
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-on-light);
  line-height: 1.4;
}

.wizard-option:hover {
  border-color: var(--steel-gray);
  transform: translateY(-1px);
}

.wizard-option.selected {
  border-color: var(--cyber-blue);
  border-width: 2px;
  background: #eff6ff;
  color: var(--cyber-blue);
  padding: 11px 15px;
}

.wizard-option-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--light-gray);
  flex-shrink: 0;
  position: relative;
  transition: border-color 0.2s;
}

.wizard-option.selected .wizard-option-dot {
  border-color: var(--cyber-blue);
}

.wizard-option.selected .wizard-option-dot::after {
  content: '';
  position: absolute;
  top: 3px; left: 3px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--cyber-blue);
}

/* Checkbox variant for multiselect */
.wizard-option-check {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 2px solid var(--light-gray);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  font-size: 0.65rem;
  color: transparent;
}

.wizard-option.selected .wizard-option-check {
  border-color: var(--cyber-blue);
  background: var(--cyber-blue);
  color: #fff;
}

/* Wizard Navigation */
.wizard-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 24px;
}

.wizard-nav-spacer { flex: 1; }

/* ============================================
   Wizard Result
   ============================================ */

.wizard-result {
  display: none;
  max-width: 700px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.wizard-result.visible { display: block; animation: fadeUp 0.5s ease; }

.wizard-result-header {
  padding: 40px 36px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.wizard-result-header::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.wizard-result-header::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
                     linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.wizard-result--wesentlich .wizard-result-header {
  background: var(--bg-dark);
}

.wizard-result--wesentlich .wizard-result-header::before {
  background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(220,38,38,0.12) 0%, transparent 70%);
}

.wizard-result--wichtig .wizard-result-header {
  background: var(--bg-dark);
}

.wizard-result--wichtig .wizard-result-header::before {
  background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(217,119,6,0.12) 0%, transparent 70%);
}

.wizard-result--nicht .wizard-result-header {
  background: var(--bg-dark);
}

.wizard-result--nicht .wizard-result-header::before {
  background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(22,163,74,0.12) 0%, transparent 70%);
}

.wizard-result-icon {
  font-size: 3rem;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.wizard-result-classification {
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  font-weight: 700;
  margin: 0 0 8px;
  position: relative;
  z-index: 1;
}

.wizard-result--wesentlich .wizard-result-classification { color: #fca5a5; }
.wizard-result--wichtig .wizard-result-classification { color: #fcd34d; }
.wizard-result--nicht .wizard-result-classification { color: #86efac; }

.wizard-result-subtitle {
  font-size: 0.85rem;
  color: var(--text-on-dark-muted);
  margin: 0;
  position: relative;
  z-index: 1;
  line-height: 1.6;
}

.wizard-result-body {
  padding: 32px 36px;
}

.wizard-result-section {
  margin-bottom: 24px;
}

.wizard-result-section-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-on-light);
  margin: 0 0 12px;
}

.wizard-result-summary {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8rem;
}

.wizard-result-summary th,
.wizard-result-summary td {
  text-align: left;
  padding: 8px 12px;
  border-bottom: 1px solid var(--border-light);
}

.wizard-result-summary th {
  font-weight: 500;
  color: var(--text-on-light-muted);
  width: 40%;
}

.wizard-result-summary td {
  font-weight: 500;
  color: var(--text-on-light);
}

.wizard-result-cta {
  text-align: center;
  padding: 24px 36px 32px;
  border-top: 1px solid var(--border-light);
}

.wizard-result-disclaimer {
  font-size: 0.72rem;
  color: var(--steel-gray);
  font-style: italic;
  margin-top: 12px;
}

/* ============================================
   Timeline / Gantt Chart
   ============================================ */

.tl-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0 -4px;
}

.tl-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 16px;
  font-size: 0.72rem;
  color: var(--steel-gray);
}

.tl-legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.tl-legend-swatch {
  width: 14px;
  height: 10px;
  border-radius: 2px;
  flex-shrink: 0;
}

.tl-color-prep { background: #C4B5FD; }
.tl-color-impl { background: #6D5ACD; }
.tl-color-ongoing { background: #6EE7B7; }
.tl-color-deadline { background: #EF4444; }

.tl-grid {
  display: grid;
  min-width: 700px;
  gap: 0;
}

.tl-header-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2px 0 6px;
  font-size: 0.62rem;
  color: var(--steel-gray);
  border-bottom: 1px solid var(--border-light);
}

.tl-header-cell.tl-year-start {
  border-left: 1px solid var(--border-light);
}

.tl-year-label {
  font-weight: 700;
  font-size: 0.7rem;
  color: var(--salt-black);
}

.tl-q-label {
  opacity: 0.6;
}

.tl-header-label {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--steel-gray);
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 6px;
  display: flex;
  align-items: flex-end;
}

.tl-label {
  font-size: 0.72rem;
  line-height: 1.3;
  padding: 10px 12px 10px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  border-bottom: 1px solid var(--border-light);
}

.tl-label strong {
  color: var(--salt-black);
  font-weight: 600;
}

.tl-label-ref {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--steel-gray);
}

.tl-label-note {
  font-size: 0.62rem;
  color: var(--cyber-blue);
  font-weight: 600;
}

.tl-cell {
  position: relative;
  min-height: 36px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  padding: 4px 1px;
}

.tl-cell.tl-year-start {
  border-left: 1px solid var(--border-light);
}

.tl-bar {
  position: absolute;
  top: 50%;
  left: 1px;
  right: 1px;
  height: 10px;
  transform: translateY(-50%);
  border-radius: 2px;
}

.tl-deadline {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 3px;
  background: #EF4444;
  border-radius: 1px;
  z-index: 2;
}

.tl-deadline-label {
  position: absolute;
  top: -2px;
  left: 6px;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 700;
  color: #EF4444;
  white-space: nowrap;
}

/* Responsive Wizard */
@media (max-width: 768px) {
  .wizard-card { padding: 24px 18px; }
  .wizard-result-header { padding: 28px 18px; }
  .wizard-result-body { padding: 24px 18px; }
  .wizard-result-cta { padding: 20px 18px 24px; }
  .wizard-option:hover { transform: none; }

  .tl-grid {
    min-width: 600px;
  }

  .tl-label {
    font-size: 0.65rem;
    padding-right: 6px;
  }
}

/* ============================================
   Print
   ============================================ */

@media print {
  .progress-wrap,
  .btn,
  .help-toggle,
  .bottom-cta,
  .rating-group,
  .hero::before,
  .hero::after {
    display: none !important;
  }

  .hero {
    background: #000 !important;
    padding: 24px 0;
  }

  .question-card {
    break-inside: avoid;
    border: 1px solid #ccc;
    margin-bottom: 10px;
    box-shadow: none !important;
    transform: none !important;
  }

  .question-card::before {
    display: none;
  }

  .results-panel {
    border: 2px solid #000;
  }

  body {
    font-size: 11pt;
  }
}
