.nav-section {
  display: block;
  margin: 15px 12px 2px;
  color: var(--muted-2);
  font-size: .62rem;
  font-weight: 850;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.mobile-version { margin-left: auto; color: var(--muted-2); font-size: .72rem; }
.button-small { min-height: 34px; padding: 0 11px; font-size: .75rem; }
.bottom-gap { margin-bottom: 20px; }
.alert-success { color: #a7f3d0; background: rgba(16, 185, 129, .1); border: 1px solid rgba(16, 185, 129, .24); }
.text-warning { color: #fcd34d; }
.text-danger { color: #fda4af; }
.form-hint { margin: 11px 0 0; color: var(--muted-2); font-size: .76rem; line-height: 1.5; }

.filter-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-items: end;
}
.filter-grid-wide { grid-template-columns: minmax(220px, 1.5fr) repeat(2, minmax(150px, .8fr)) auto auto auto; }
.filter-grid label > span { display: block; margin: 0 0 7px; color: #cbd5e1; font-size: .8rem; font-weight: 720; }
.filter-checkbox { min-height: 43px; padding: 0 5px; }
.filter-actions { display: flex; align-items: center; gap: 8px; }
.split-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

.action-stack { display: grid; gap: 12px; }
.action-card {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(148, 163, 184, .025);
  color: var(--text);
}
.action-card strong { display: block; margin-bottom: 5px; }
.action-card p { margin: 0; color: var(--muted); line-height: 1.55; font-size: .84rem; }
.action-card-link { grid-template-columns: minmax(0, 1fr) auto; align-items: center; transition: border-color .16s ease, background .16s ease, transform .16s ease; }
.action-card-link:hover { color: var(--text); border-color: rgba(96, 165, 250, .32); background: rgba(79, 140, 255, .06); transform: translateY(-1px); }
.action-card-link > span { color: #93c5fd; font-size: .82rem; font-weight: 750; }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.card-grid .action-card { align-content: space-between; }
.action-card h3 { margin: 5px 0 10px; font-size: 1rem; line-height: 1.4; }
.score-main { border-color: rgba(45, 212, 191, .34); background: linear-gradient(145deg, rgba(13, 58, 65, .72), rgba(11, 18, 31, .95)); }
.score-main::after { background: rgba(45, 212, 191, .14); }
.finding { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; padding: 15px; border: 1px solid var(--border); border-left: 3px solid var(--info); border-radius: 13px; background: rgba(148, 163, 184, .025); }
.finding.severity-high { border-left-color: var(--high); }
.finding.severity-medium { border-left-color: var(--medium); }
.finding.severity-low { border-left-color: var(--low); }
.finding h3 { margin: 5px 0 7px; font-size: .98rem; }
.finding p { margin: 5px 0; color: var(--muted); font-size: .83rem; line-height: 1.55; }
.finding p strong { color: var(--text); }
.finding-category { color: #93c5fd; font-size: .68rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.weight { display: grid; place-items: center; min-width: 38px; min-height: 38px; border-radius: 50%; color: #dbeafe; background: rgba(79, 140, 255, .12); border: 1px solid rgba(96, 165, 250, .22); font-size: .76rem; font-weight: 800; }
.scope-list { display: grid; gap: 10px; margin: 0; padding-left: 22px; color: var(--muted); line-height: 1.55; }
.scope-list strong { color: var(--text); }
.copy-card label > span { display: block; margin: 0 0 7px; color: #cbd5e1; font-size: .8rem; font-weight: 720; }
.copy-card textarea { margin-top: 12px; }
.objection-list { display: grid; gap: 9px; }
.objection-list details { margin: 0; padding: 13px 15px; border: 1px solid var(--border); border-radius: 11px; background: rgba(148, 163, 184, .025); }
.objection-list p { color: var(--muted); line-height: 1.55; }
.warning-card { border-color: rgba(245, 158, 11, .3); background: linear-gradient(135deg, rgba(120, 53, 15, .14), rgba(13, 20, 34, .95)); }
.warning-card h2 { margin: 5px 0 7px; }
.warning-card p { color: var(--muted); line-height: 1.6; }
.checkbox-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.checkbox-grid .checkbox-row { align-items: flex-start; padding: 11px; border: 1px solid var(--border); border-radius: 11px; background: rgba(148, 163, 184, .025); }
.checkbox-grid .checkbox-row small, .stack-form > .checkbox-row small { display: block; margin-top: 4px; color: var(--muted-2); font-size: .72rem; line-height: 1.4; }
.pagination { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 18px; color: var(--muted); }
.danger-zone { display: flex; align-items: center; justify-content: space-between; gap: 24px; border-color: rgba(244, 63, 94, .22); }
.danger-zone h2 { margin: 5px 0 7px; }
.danger-zone p { margin: 0; color: var(--muted); line-height: 1.55; }

.modal {
  width: min(620px, calc(100% - 28px));
  max-height: calc(100vh - 28px);
  padding: 0;
  border: 1px solid var(--border-strong);
  border-radius: 20px;
  color: var(--text);
  background: #0b1321;
  box-shadow: 0 40px 120px rgba(0, 0, 0, .65);
}
.modal::backdrop { background: rgba(2, 6, 23, .78); backdrop-filter: blur(6px); }
.modal-card { padding: 24px; }
.modal-head, .modal-actions { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.modal-head h2 { margin: 4px 0 0; }
.modal-actions { justify-content: flex-end; padding-top: 8px; }

.screenshot-frame {
  display: block;
  max-height: 720px;
  overflow: auto;
  border: 1px solid var(--border);
  border-radius: 15px;
  background: #020617;
}
.screenshot-frame img { display: block; width: 100%; height: auto; }

.dossier-nav { position: sticky; top: 0; z-index: 8; display: flex; gap: .45rem; overflow-x: auto; padding: .7rem; margin-bottom: 1rem; border: 1px solid var(--border); border-radius: 16px; background: color-mix(in srgb, var(--surface) 94%, transparent); backdrop-filter: blur(14px); }
.dossier-nav a { white-space: nowrap; padding: .5rem .75rem; border-radius: 999px; background: var(--surface-2); color: var(--text); font-size: .84rem; font-weight: 700; text-decoration: none; }
.dossier-nav a:hover { background: var(--primary); color: #fff; }
.sales-briefing { border-color: color-mix(in srgb, var(--primary) 45%, var(--border)); background: linear-gradient(145deg, color-mix(in srgb, var(--primary) 8%, var(--surface)), var(--surface)); }
.sales-command { border-width: 2px; background: linear-gradient(145deg, color-mix(in srgb, var(--primary) 6%, var(--surface)), var(--surface)); }
.sales-tone-success { border-color: color-mix(in srgb, var(--success) 65%, var(--border)); }
.sales-tone-warning { border-color: color-mix(in srgb, var(--warning) 65%, var(--border)); }
.sales-tone-danger { border-color: color-mix(in srgb, var(--danger) 65%, var(--border)); }
.sales-tone-neutral { border-color: var(--border); }
.sales-signal { display: inline-grid; place-items: center; min-width: 92px; padding: .7rem .9rem; border-radius: 13px; background: var(--surface-2); font-size: 1rem; font-weight: 900; }
.sales-command-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 1rem; }
.sales-command-grid > article { padding: 1rem; border: 1px solid var(--border); border-radius: 14px; background: var(--surface-2); }
.sales-command-grid h3 { margin: .35rem 0 .7rem; line-height: 1.4; }
.sales-checklist { margin-top: 1rem; padding-top: .8rem; border-top: 1px solid var(--border); }
.sales-checklist summary { margin-bottom: .8rem; font-size: .95rem; }
.checklist-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
.sales-check { display: flex; align-items: flex-start; gap: .7rem; padding: .8rem; border: 1px solid var(--border); border-radius: 12px; background: var(--surface-2); cursor: pointer; }
.sales-check input { width: 18px; min-height: 18px; margin-top: .15rem; accent-color: var(--success); }
.sales-check span, .sales-check small { display: block; }
.sales-check small { margin-top: .25rem; color: var(--muted); line-height: 1.4; }
.sales-check:has(input:checked) { border-color: color-mix(in srgb, var(--success) 55%, var(--border)); opacity: .72; }
.sales-check:has(input:checked) strong { text-decoration: line-through; }
.lead-copy { max-width: 76ch; font-size: 1.08rem; line-height: 1.65; }
.points-panel { scroll-margin-top: 5rem; }
.score-detail { border-top: 1px solid var(--border); padding: .75rem 0; }
.score-detail summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; cursor: pointer; }
.score-detail summary span { color: var(--muted); font-size: .86rem; }
.score-table-wrap { overflow-x: auto; margin-top: .8rem; }
.score-table { min-width: 860px; }
.score-table td:first-child { width: 27%; }
.score-table td:nth-child(2) { width: 48%; }
.score-table small { display: block; margin-top: .3rem; color: var(--muted); }
.score-deduction { color: var(--danger); font-weight: 800; }
.technology-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: .75rem; }
.technology-card { display: grid; gap: .3rem; padding: .9rem; border: 1px solid var(--border); border-radius: 14px; background: var(--surface-2); }
.technology-card span, .technology-card small { color: var(--muted); }
.security-grade { display: inline-grid; place-items: center; min-width: 92px; padding: .65rem .8rem; border-radius: 13px; background: var(--surface-2); font-weight: 900; }
.grade-a, .grade-b { color: var(--success); }
.grade-c { color: var(--warning); }
.grade-d, .grade-e { color: var(--danger); }
.security-check-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: .8rem; }
.security-check { display: grid; align-content: space-between; gap: .7rem; min-height: 220px; padding: 1rem; border: 1px solid var(--border); border-left: 4px solid var(--muted); border-radius: 14px; background: var(--surface-2); }
.security-gut { border-left-color: var(--success); }
.security-hinweis { border-left-color: var(--warning); }
.security-schwach { border-left-color: var(--danger); }
.security-check details { border-top: 1px solid var(--border); padding-top: .6rem; }
.plain-finding-summary { margin: .8rem 0; padding: .9rem 1rem; border-radius: 13px; background: color-mix(in srgb, var(--primary) 7%, var(--surface-2)); }
.plain-finding-summary h4 { margin: .2rem 0 .45rem; }
.metric-price { font-size: clamp(1.1rem, 2.4vw, 1.8rem) !important; }
.offer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; align-items: stretch; }
.offer-card { display: flex; flex-direction: column; gap: .65rem; padding: 1rem; border: 1px solid var(--border); border-radius: 15px; background: var(--surface-2); }
.offer-card h3 { margin: .2rem 0; }
.offer-card p { margin: 0; color: var(--muted); line-height: 1.5; }
.offer-card .scope-list { flex: 1; }
.offer-recommended { border: 2px solid color-mix(in srgb, var(--primary) 70%, var(--border)); background: linear-gradient(155deg, color-mix(in srgb, var(--primary) 9%, var(--surface-2)), var(--surface-2)); }
.offer-price { color: var(--text); font-size: 1.35rem; }
.offer-maintenance { padding: .55rem .65rem; border-radius: 10px; background: color-mix(in srgb, var(--primary) 8%, transparent); font-weight: 750; }
.call-agenda { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .65rem; }
.call-agenda article { display: grid; align-content: start; gap: .55rem; padding: .85rem; border: 1px solid var(--border); border-radius: 13px; background: var(--surface-2); }
.call-agenda article > strong { color: #93c5fd; }
.call-agenda h3 { margin: 0; font-size: .96rem; }
.call-agenda p { margin: 0; color: var(--muted); font-size: .82rem; line-height: 1.5; }
.copy-subheading { display: flex; align-items: center; justify-content: space-between; gap: .7rem; margin-bottom: .45rem; }
.copy-success { border-color: var(--success) !important; color: var(--success) !important; }
.option-fieldset { display: grid; gap: .55rem; margin: 0; padding: .85rem; border: 1px solid var(--border); border-radius: 14px; }
.option-fieldset legend { padding: 0 .35rem; font-weight: 800; }
.checkbox-line { display: flex !important; flex-direction: row !important; align-items: center; gap: .6rem; }
.checkbox-line input { width: auto !important; margin: 0; }
.screenshot-comparison { display: grid; grid-template-columns: minmax(0, 2fr) minmax(250px, .8fr); gap: 1rem; align-items: start; }
.screenshot-title { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: .55rem; }
.screenshot-scroll { display: block; max-height: 720px; overflow: auto; }
.mobile-shot { max-width: 440px; width: 100%; justify-self: center; }
section[id] { scroll-margin-top: 5rem; }

@media (max-width: 850px) {
  .screenshot-comparison { grid-template-columns: 1fr; }
  .mobile-shot { max-width: none; }
  .score-detail summary { align-items: flex-start; flex-direction: column; gap: .25rem; }
  .sales-command-grid, .checklist-grid, .offer-grid { grid-template-columns: 1fr; }
  .call-agenda { grid-template-columns: 1fr; }
}
.tag-row-large .tag { padding: 8px 11px; font-size: .78rem !important; }
.live-pulse { display: inline-flex; align-items: center; gap: 7px; color: #99f6e4; font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.live-pulse::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 0 rgba(45, 212, 191, .4); animation: live-pulse 1.6s infinite; }
@keyframes live-pulse { 70% { box-shadow: 0 0 0 10px rgba(45, 212, 191, 0); } 100% { box-shadow: 0 0 0 0 rgba(45, 212, 191, 0); } }

.health-list { display: grid; }
.health-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 13px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.health-row:last-child { border-bottom: 0; }
.health-row p { margin: 4px 0 0; color: var(--muted); font-size: .8rem; line-height: 1.45; }
.health-indicator { width: 11px; height: 11px; border-radius: 50%; }
.health-indicator.ready { background: var(--success); box-shadow: 0 0 0 5px rgba(45, 212, 191, .08); }
.health-indicator.pending { background: var(--warning); box-shadow: 0 0 0 5px rgba(245, 158, 11, .08); }

.timeline { display: grid; }
.timeline-item { position: relative; display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 12px; }
.timeline-item:not(:last-child)::before { content: ""; position: absolute; left: 5px; top: 20px; bottom: -2px; width: 1px; background: var(--border); }
.timeline-marker { position: relative; z-index: 1; width: 11px; height: 11px; margin-top: 18px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 5px rgba(79, 140, 255, .09); }
.timeline-content { padding: 13px 0 17px; border-bottom: 1px solid var(--border); }
.timeline-item:last-child .timeline-content { border-bottom: 0; }
.timeline-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; }
.timeline-head strong, .timeline-head span { display: block; }
.timeline-head span { margin-top: 4px; color: var(--muted-2); font-size: .76rem; }
.timeline-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 9px; }
.timeline-meta span { padding: 5px 8px; border-radius: 8px; background: rgba(148, 163, 184, .05); color: var(--muted); font-size: .7rem; }

.error-page { min-height: 60vh; display: grid; place-content: center; justify-items: start; max-width: 720px; }
.error-page h1, .error-card h1 { margin: 5px 0 10px; font-size: clamp(2rem, 5vw, 3.5rem); letter-spacing: -.05em; }
.error-page p { max-width: 640px; color: var(--muted); line-height: 1.7; }
.error-code { color: rgba(96, 165, 250, .18); font-size: clamp(5rem, 16vw, 10rem); font-weight: 900; line-height: .8; letter-spacing: -.08em; }
.error-card { text-align: left; }

@media (max-width: 1180px) {
  .filter-grid-wide { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .filter-actions { align-self: end; }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .filter-grid, .filter-grid-wide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .danger-zone { align-items: flex-start; flex-direction: column; }
  .checkbox-grid { grid-template-columns: 1fr; }
}

@media (max-width: 580px) {
  .filter-grid, .filter-grid-wide { grid-template-columns: 1fr; }
  .filter-actions, .modal-actions { align-items: stretch; flex-direction: column; }
  .filter-actions .button, .modal-actions .button { width: 100%; }
  .action-card-link { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: 1fr; }
  .finding { flex-direction: column; }
  .pagination { align-items: stretch; flex-direction: column; text-align: center; }
  .health-row { grid-template-columns: auto minmax(0, 1fr); }
  .health-row .badge { grid-column: 2; }
  .timeline-head { flex-direction: column; }
}
