/* swiss-pdfa.ch v3.0 — Swiss International Style & Strict CSP (0 inline styles) */
:root {
  --bg: #f5f7fa;
  --surface: #ffffff;
  --paper: #fbf9f3;
  --paper-line: #e5dec9;
  --ink: #0f172a;
  --ink-2: #1e293b;
  --muted: #475569;
  --line: #dbe2ea;
  --swiss: #d8232a;
  --swiss-dark: #b31920;
  --swiss-soft: #fef2f2;
  --ok: #15803d;
  --ok-bg: #dcfce7;
  --amber: #b45309;
  --code-bg: #0f172a;
  --code-ink: #e2e8f0;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.modal-open { overflow: hidden; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.hidden { display: none !important; }

/* Top sovereign strip */
.topbar {
  background: var(--ink);
  color: #cbd5e1;
  font-size: 11.8px;
  padding: 6px 0;
  border-bottom: 1px solid #1e293b;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.topbar-left { display: flex; align-items: center; gap: 8px; font-weight: 600; letter-spacing: 0.02em; }
.dot-ok {
  width: 8px; height: 8px; border-radius: 50%;
  background: #22c55e; display: inline-block; flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(34,197,94,0.22);
}
.topbar-right { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.top-mail {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 4px;
  background: rgba(255,255,255,0.09);
}
.top-mail:hover { background: rgba(255,255,255,0.18); }
.copy-mini {
  background: transparent;
  border: 1px solid #475569;
  color: #e2e8f0;
  font-size: 11.5px;
  padding: 3px 9px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
}
.copy-mini:hover { border-color: #94a3b8; color: #fff; }
.copy-mini.light { color: var(--ink); border-color: #cbd5e1; background: #fff; }
.copy-mini.light:hover { border-color: var(--ink); background: #f1f5f9; }

/* Sticky Swiss Grid Header (Single horizontal line on desktop >=1040px) */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  padding: 11px 0;
}
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 13px;
  flex-wrap: nowrap;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}
.cross {
  width: 34px; height: 34px;
  background: var(--swiss);
  color: #fff;
  border-radius: 6px;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 21px;
  line-height: 1;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(216,35,42,0.25);
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
}
.brand-text { min-width: 0; }
.firm-title {
  font-weight: 800;
  font-size: 14.8px;
  letter-spacing: -0.015em;
  color: var(--ink);
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.firm-sub {
  color: var(--muted);
  font-weight: 500;
  font-size: 11.5px;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 13px;
  flex-shrink: 0;
}
.nav-links a.sec-link {
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.nav-links a.sec-link:hover { color: var(--swiss); }
.nav-actions {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-shrink: 0;
}
.langs {
  display: inline-flex;
  background: #f1f5f9;
  padding: 3px;
  border-radius: 7px;
  border: 1px solid var(--line);
}
.langs button,
.langs a {
  background: transparent;
  border: 0;
  color: var(--muted);
  padding: 6px 8px;
  min-height: 32px;
  min-width: 34px;
  border-radius: 5px;
  font-weight: 700;
  font-size: 12px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.langs button.active,
.langs a.active { background: var(--ink); color: #fff; }
.langs a:hover:not(.active) { color: var(--ink); background: rgba(15,23,42,0.06); }
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: var(--swiss);
  color: #fff;
  text-decoration: none;
  padding: 8px 14px;
  min-height: 38px;
  border-radius: 7px;
  font-weight: 700;
  font-size: 13px;
  border: 1px solid var(--swiss);
  transition: background 0.15s ease;
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary:hover { background: var(--swiss-dark); border-color: var(--swiss-dark); text-decoration: none; }
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  padding: 8px 14px;
  min-height: 38px;
  border-radius: 7px;
  font-weight: 700;
  font-size: 13px;
  border: 1px solid #cbd5e1;
  transition: all 0.15s ease;
  cursor: pointer;
}
.btn-secondary:hover { border-color: var(--ink); background: #f8fafc; text-decoration: none; }

/* Mobile quick-jump strip (hidden on desktop) */
.mob-jump {
  display: none;
  overflow-x: auto;
  gap: 8px;
  padding: 7px 0 2px;
  margin-top: 7px;
  border-top: 1px solid #eef2f6;
  scrollbar-width: none;
}
.mob-jump::-webkit-scrollbar { display: none; }
.mob-jump a {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 11px;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

@media (max-width: 1140px) {
  .nav-links { display: none; }
  .mob-jump { display: flex; }
}
@media (max-width: 680px) {
  html, body { overflow-x: clip; }
  .wrap { padding: 0 15px; }
  .topbar { font-size: 11px; padding: 5px 0; }
  .topbar-left span#tb-sovereign { font-size: 10.5px; }
  .top-mail, .copy-mini, .sha-btn { min-height: 36px; min-width: 40px; padding: 5px 10px; display: inline-flex; align-items: center; justify-content: center; }
  header { padding: 7px 0; }
  .nav { flex-wrap: wrap; gap: 7px; }
  .brand { min-height: 36px; }
  .firm-sub { display: none; }
  .firm-title { font-size: 13.2px; white-space: normal; line-height: 1.2; }
  .langs button, .langs a { min-height: 38px; min-width: 40px; padding: 6px 10px; }
  #nav-cta { padding: 7px 11px; font-size: 12px; min-height: 38px; }
  .mob-jump a { min-height: 36px; min-width: 44px; justify-content: center; padding: 6px 12px; }
  .cta-row .btn-primary, .cta-row .btn-secondary { white-space: normal; text-align: center; width: 100%; }
  .qc-list li { flex-wrap: wrap; }
  footer a { display: inline-flex; align-items: center; min-height: 36px; }
}

/* Hero */
.hero {
  padding: 44px 0 38px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 88% 12%, rgba(216,35,42,0.045), transparent 38%),
    linear-gradient(180deg, #ffffff 0%, #f5f7fa 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.22fr 0.98fr;
  gap: 32px;
  align-items: start;
}
@media (max-width: 920px) { .hero-grid { grid-template-columns: 1fr; } }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--swiss-soft);
  color: #991b1b;
  border: 1px solid #fecaca;
  font-size: 11.5px;
  font-weight: 800;
  padding: 4px 11px;
  border-radius: 999px;
  margin-bottom: 14px;
  letter-spacing: 0.03em;
}
h1 {
  font-size: 31px;
  line-height: 1.22;
  margin: 0 0 15px;
  letter-spacing: -0.024em;
  color: var(--ink);
}
@media (max-width: 640px) { h1 { font-size: 24px; } }
.lead {
  font-size: 15.8px;
  color: var(--muted);
  margin: 0 0 22px;
  max-width: 640px;
}
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
.cta-row .btn-primary, .cta-row .btn-secondary { padding: 10px 16px; min-height: 42px; font-size: 13.5px; }
.kpi-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
@media (max-width: 640px) { .kpi-row { grid-template-columns: repeat(2, 1fr); } }
.kpi {
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 2px solid var(--ink);
  border-radius: 8px;
  padding: 10px 12px;
}
.kpi strong { display: block; font-size: 14px; color: var(--ink); letter-spacing: -0.01em; }
.kpi span { font-size: 12px; color: var(--muted); display: block; line-height: 1.35; margin-top: 2px; }

/* Passport QC Card in Hero */
.qc-card {
  background: var(--code-bg);
  color: var(--code-ink);
  border-radius: 12px;
  padding: 20px 22px;
  border: 1px solid #334155;
  box-shadow: 0 16px 36px rgba(15,23,42,0.14);
}
.qc-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #334155;
  padding-bottom: 11px;
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  gap: 8px;
}
.pass-pill {
  background: rgba(34,197,94,0.18);
  color: #4ade80;
  border: 1px solid rgba(74,222,128,0.35);
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}
.qc-list { list-style: none; padding: 0; margin: 0 0 8px; font-size: 13px; }
.qc-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 6.5px 0;
  border-bottom: 1px dashed #1e293b;
}
.qc-list li span.k { color: #94a3b8; flex-shrink: 0; }
.qc-list li span.v {
  color: #f8fafc;
  font-weight: 600;
  text-align: right;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 11.8px;
}
.sha-row-actions {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.sha-btn {
  background: #1e293b;
  border: 1px solid #475569;
  color: #e2e8f0;
  border-radius: 4px;
  padding: 3px 7px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}
.sha-btn:hover { background: #334155; border-color: #94a3b8; color: #fff; }
.sha-drawer {
  background: #090e1a;
  border: 1px solid #334155;
  border-radius: 7px;
  padding: 10px 12px;
  margin: 8px 0 10px;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 11px;
  color: #cbd5e1;
  line-height: 1.55;
  overflow-x: auto;
}
.sha-drawer strong { color: #4ade80; display: block; margin-bottom: 4px; word-break: break-all; }
.sha-case-note { margin-top: 4px; color: #94a3b8; font-size: 10.5px; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; }
.qc-note {
  font-size: 11.5px;
  color: #94a3b8;
  line-height: 1.45;
  margin: 8px 0 12px;
}
.qc-downloads {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
@media (max-width: 480px) { .qc-downloads { grid-template-columns: 1fr; } }
.dl-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  text-align: center;
  background: #1e293b;
  color: #f8fafc;
  border: 1px solid #475569;
  border-radius: 6px;
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}
.dl-chip:hover { background: #334155; border-color: #94a3b8; }
.dl-chip.span-2 {
  grid-column: 1 / -1;
  background: rgba(216, 35, 42, 0.16);
  border-color: rgba(248, 113, 113, 0.45);
  color: #ffffff;
}
.dl-chip.span-2:hover {
  background: rgba(216, 35, 42, 0.28);
  border-color: #fca5a5;
}

/* Section layout */
section.block { padding: 48px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 96px; }
.sec-kicker {
  color: var(--swiss);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}
h2.sec-title {
  font-size: 24px;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
  color: var(--ink);
}
p.sec-desc {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 15px;
  max-width: 820px;
}

/* Interactive Workbench with Live SVG ALTO Overlay & 1:1 Pixel Loupe */
.wb-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(15,23,42,0.045);
}
.wb-tabs {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  background: #f1f5f9;
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
}
.wb-tab-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.wb-tab-btns button, .wb-tool-btn {
  background: #fff;
  border: 1px solid #cbd5e1;
  color: var(--ink);
  padding: 7px 13px;
  min-height: 36px;
  border-radius: 7px;
  font-size: 12.8px;
  font-weight: 700;
  cursor: pointer;
}
.wb-tab-btns button.active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.wb-tools {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.wb-tool-btn {
  font-size: 12px;
  padding: 5px 11px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.wb-tool-btn.active {
  background: var(--ok-bg);
  border-color: #22c55e;
  color: var(--ok);
}
.wb-meta-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 8px 18px;
  background: #f8fafc;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}
.wb-meta-tag {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
}
.wb-legend {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11.5px;
  font-weight: 600;
}
.leg-dot {
  width: 10px; height: 10px; border-radius: 2px; display: inline-block; margin-right: 4px; vertical-align: -1px;
}
.leg-dot.hyp { background: rgba(22,163,74,0.28); border: 1.5px solid #16a34a; }
.leg-dot.ent { background: rgba(217,119,6,0.22); border: 1.5px solid #d97706; }

.wb-scan-frame {
  background: var(--paper);
  border-bottom: 1px solid var(--paper-line);
  padding: 18px 22px;
  text-align: center;
  overflow-x: auto;
}
.wb-scan-caption {
  font-size: 12px;
  font-weight: 700;
  color: #78716c;
  margin-bottom: 10px;
}
.scan-stage {
  position: relative;
  display: inline-block;
  max-width: 100%;
  line-height: 0;
  border: 1px solid #d6d3d1;
  border-radius: 4px;
  box-shadow: 0 3px 12px rgba(0,0,0,0.08);
}
.scan-stage.zoom-1to1 {
  max-width: none;
}
.scan-stage img {
  display: block;
  max-width: 100%;
  height: auto;
}
.scan-stage.zoom-1to1 img {
  max-width: none;
}
.alto-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: auto;
}
.alto-svg.off { display: none; }
.box-hyp {
  fill: rgba(22, 163, 74, 0.19);
  stroke: #15803d;
  stroke-width: 3;
  cursor: help;
}
.box-hyp:hover { fill: rgba(22, 163, 74, 0.34); }
.box-ent {
  fill: rgba(217, 119, 6, 0.16);
  stroke: #b45309;
  stroke-width: 2.5;
  cursor: help;
}
.box-ent:hover { fill: rgba(217, 119, 6, 0.30); }
.hyp-arc {
  fill: none;
  stroke: #15803d;
  stroke-width: 2.5;
  stroke-dasharray: 7 5;
  opacity: 0.8;
  pointer-events: none;
}

.wb-outputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
@media (max-width: 860px) { .wb-outputs { grid-template-columns: 1fr; } }
.wb-col { padding: 18px 22px; min-width: 0; }
.wb-col + .wb-col { border-left: 1px solid var(--line); }
@media (max-width: 860px) { .wb-col + .wb-col { border-left: 0; border-top: 1px solid var(--line); } }
.wb-col h4 {
  margin: 0 0 10px;
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.ocr-text-preview {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ink);
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 13px 15px;
}
.src-prov {
  display: block;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 11.5px;
  color: var(--muted);
  margin-bottom: 7px;
  border-bottom: 1px dashed var(--line);
  padding-bottom: 5px;
}
.hyp-badge {
  background: var(--ok-bg);
  color: var(--ok);
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 4px;
  border: 1px solid #86efac;
  cursor: help;
}
.alto-code {
  margin: 0;
  background: var(--code-bg);
  color: #e2e8f0;
  border-radius: 7px;
  padding: 13px 15px;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 11.4px;
  line-height: 1.5;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

/* 5-step process with Swiss engineering connectors */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
@media (max-width: 980px) { .steps-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .steps-grid { grid-template-columns: 1fr; } }
.step-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid var(--ink);
  border-radius: 10px;
  padding: 16px 16px 18px;
  position: relative;
}
.step-card.highlight-step { border-top-color: var(--swiss); }
.step-num {
  display: inline-block;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 11.5px;
  font-weight: 800;
  color: var(--swiss);
  background: var(--swiss-soft);
  padding: 2px 8px;
  border-radius: 5px;
  margin-bottom: 8px;
}
.step-card h3 { margin: 0 0 6px; font-size: 15px; line-height: 1.3; }
.step-card p { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.5; }

/* Systems Compatibility Table */
.table-wrap {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow-x: auto;
}
table.sys-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  text-align: left;
}
table.sys-table th {
  background: #f1f5f9;
  color: var(--ink);
  font-weight: 700;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
}
table.sys-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  vertical-align: top;
}
table.sys-table tr:last-child td { border-bottom: 0; }
table.sys-table td strong { color: var(--ink); }
.std-pill {
  display: inline-block;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 11.5px;
  background: #f1f5f9;
  color: var(--ink-2);
  border: 1px solid #cbd5e1;
  padding: 2px 7px;
  border-radius: 4px;
  font-weight: 600;
}

/* Packages */
.vat-banner {
  display: inline-block;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 600;
  padding: 7px 13px;
  border-radius: 7px;
  margin-bottom: 22px;
}
.grid3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
}
@media (max-width: 880px) { .grid3 { grid-template-columns: 1fr; } }
.pkg-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 22px 22px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}
.pkg-card.featured {
  border: 2px solid var(--ink);
  border-top: 4px solid var(--swiss);
  box-shadow: 0 10px 26px rgba(15,23,42,0.08);
}
.feat-pill {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--swiss);
  background: var(--swiss-soft);
  border: 1px solid #fecaca;
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 8px;
}
.pkg-card h3 { margin: 0 0 8px; font-size: 17px; }
.pkg-card p { margin: 0 0 16px; font-size: 13.8px; color: var(--muted); }
.pkg-foot { width: 100%; }
.price-box {
  background: var(--ok-bg);
  color: var(--ok);
  font-weight: 800;
  font-size: 12.8px;
  padding: 7px 11px;
  border-radius: 6px;
  margin-bottom: 10px;
  display: block;
  text-align: center;
}
.pkg-mail-link {
  display: flex;
  width: 100%;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 12px;
  border-radius: 6px;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  color: var(--ink);
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
}
.pkg-card.featured .pkg-mail-link {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.pkg-mail-link:hover { background: var(--swiss); color: #fff; border-color: var(--swiss); }

/* B2B Partner Banner */
.b2b-banner {
  margin-top: 24px;
  background: var(--ink);
  color: #f8fafc;
  border-radius: 12px;
  padding: 24px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.b2b-text { max-width: 740px; }
.b2b-text h3 { margin: 0 0 6px; font-size: 18px; color: #fff; }
.b2b-text p { margin: 0; font-size: 14px; color: #cbd5e1; }

/* FAQ Accordion */
.faq-list { display: grid; gap: 10px; max-width: 920px; }
details.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 14px 18px;
}
details.faq-item summary {
  font-weight: 700;
  font-size: 14.5px;
  cursor: pointer;
  color: var(--ink);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-height: 32px;
}
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::after { content: "+"; font-size: 18px; color: var(--swiss); font-weight: 800; }
details.faq-item[open] summary::after { content: "−"; }
details.faq-item p { margin: 10px 0 2px; font-size: 13.8px; color: var(--muted); }

/* Direct Mail CTA Strip */
.contact-cta {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 5px solid var(--swiss);
  border-radius: 10px;
  padding: 24px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}
.contact-cta h3 { margin: 0 0 4px; font-size: 19px; }
.contact-cta p { margin: 0; font-size: 14px; color: var(--muted); max-width: 620px; }
.print-only-mail { display: none; font-weight: 700; margin-top: 6px; }
.mail-action-group { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

/* Footer */
footer {
  background: #ffffff;
  padding: 34px 0 44px;
  font-size: 13px;
  color: var(--muted);
}
.impressum {
  display: grid;
  grid-template-columns: 1.1fr 1.2fr;
  gap: 28px;
}
@media (max-width: 720px) { .impressum { grid-template-columns: 1fr; } }
footer strong { color: var(--ink); }
footer a { color: var(--swiss); text-decoration: none; font-weight: 600; display: inline-block; padding: 3px 0; }
footer a:hover { text-decoration: underline; }

/* Universal Smart-Mail Modal + Quick Parameter Chips */
.mm-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(3px);
  overflow-y: auto;
  align-items: flex-start;
  justify-content: center;
  padding: 20px 16px;
}
.mm-backdrop.open { display: flex; }
.mm-dialog {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 12px;
  width: 100%;
  max-width: 640px;
  margin: auto;
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.24);
  overflow: hidden;
}
.mm-head {
  background: var(--ink);
  color: #fff;
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.mm-head h3 { margin: 0; font-size: 16px; font-weight: 700; }
.mm-close {
  background: rgba(255,255,255,0.14);
  border: 0;
  color: #fff;
  width: 36px; height: 36px;
  border-radius: 6px;
  font-size: 20px;
  cursor: pointer;
  line-height: 1;
}
.mm-close:hover { background: rgba(255,255,255,0.26); }
.mm-body { padding: 16px 20px 20px; }
.mm-field { margin-bottom: 11px; }
.mm-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 5px;
}
.mm-to-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 7px 12px;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
}
.chip-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}
.q-chip {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  color: var(--ink-2);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 11.8px;
  font-weight: 600;
  cursor: pointer;
  min-height: 30px;
}
.q-chip:hover { border-color: var(--ink); }
.q-chip.active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.q-chip.call-chip {
  border-color: #fca5a5;
  background: var(--swiss-soft);
  color: #991b1b;
}
.q-chip.call-chip.active {
  background: var(--swiss);
  border-color: var(--swiss);
  color: #fff;
}

/* Leistungsblatt Dossier Strip under Security Steps */
.dossier-strip {
  margin-top: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--ink);
  border-radius: 10px;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}
.dossier-strip-txt { max-width: 720px; }
.dossier-strip-txt strong { display: block; font-size: 14.5px; color: var(--ink); margin-bottom: 2px; }
.dossier-strip-txt span { font-size: 13px; color: var(--muted); }

/* Interactive Batch Volume & Turnaround Calculator */
.calc-box {
  margin-top: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid var(--ink);
  border-radius: 12px;
  padding: 22px 24px;
  box-shadow: 0 6px 18px rgba(15,23,42,0.04);
}
.calc-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.calc-head h3 { margin: 0; font-size: 17.5px; color: var(--ink); }
.calc-head span { font-size: 12px; font-weight: 700; color: var(--ok); background: var(--ok-bg); padding: 2px 9px; border-radius: 999px; }
.calc-controls {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: 16px;
  margin-bottom: 18px;
}
@media (max-width: 900px) { .calc-controls { grid-template-columns: 1fr; } }
.calc-field label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-2);
  margin-bottom: 6px;
}
.calc-range-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.calc-range {
  flex: 1;
  accent-color: var(--swiss);
  cursor: pointer;
  min-height: 36px;
}
.calc-num, .calc-select {
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 7px;
  padding: 7px 10px;
  min-height: 38px;
}
.calc-num { width: 106px; text-align: right; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; }
.calc-select { width: 100%; }
.calc-results {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
}
@media (max-width: 820px) { .calc-results { grid-template-columns: 1fr; } }
.calc-res-card {
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 14px;
}
.calc-res-lbl { font-size: 11.5px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.03em; display: block; }
.calc-res-val { font-size: 15.5px; font-weight: 800; color: var(--ink); display: block; margin: 3px 0 2px; }
.calc-res-sub { font-size: 12px; color: var(--muted); display: block; line-height: 1.4; }
.calc-foot {
  margin-top: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.calc-disclaimer { font-size: 12px; color: var(--muted); max-width: 680px; margin: 0; }

/* Engineering Practice Notes (SEO Knowledge Cards) */
.notes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (max-width: 820px) { .notes-grid { grid-template-columns: 1fr; } }
.note-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--swiss);
  border-radius: 10px;
  padding: 18px 20px;
}
.note-tag {
  display: inline-block;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 11px;
  font-weight: 700;
  color: var(--swiss);
  background: var(--swiss-soft);
  border: 1px solid #fecaca;
  padding: 2px 7px;
  border-radius: 4px;
  margin-bottom: 7px;
}
.note-card h3 { margin: 0 0 7px; font-size: 15.5px; color: var(--ink); line-height: 1.35; }
.note-card p { margin: 0; font-size: 13.4px; color: var(--muted); line-height: 1.55; }
.mm-input, .mm-textarea {
  width: 100%;
  font-family: inherit;
  font-size: 13.5px;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 7px;
  padding: 8px 11px;
}
.mm-textarea { resize: vertical; min-height: 108px; line-height: 1.5; }
.mm-hint { font-size: 12px; color: var(--muted); margin: 0 0 10px; }
.mm-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}
@media (max-width: 560px) { .mm-actions { grid-template-columns: 1fr; } }
.mm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 12px;
  min-height: 42px;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  color: var(--ink);
  text-align: center;
}
.mm-btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); text-decoration: none; }
.mm-btn.primary { background: var(--swiss); border-color: var(--swiss); color: #fff; }
.mm-btn.primary:hover { background: var(--swiss-dark); border-color: var(--swiss-dark); }
.mm-webmail-opt {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
  font-size: 12px;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.mm-webmail-opt a { color: var(--ink-2); font-weight: 600; text-decoration: underline; }
.mm-webmail-opt a:hover { color: var(--swiss); }


.footer-copy {
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
}
.zero-cookie-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--ok-bg);
  color: var(--ok);
  border: 1px solid #bbf7d0;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
}
.priv-updated {
  font-size: 12.5px;
  color: var(--muted);
  margin: -8px 0 14px;
  font-weight: 600;
}
.priv-foot-copy {
  margin-top: 18px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

/* Privacy page layout (datenschutz.html) */
.priv-body { padding: 32px 20px 48px; }
.priv-box {
  max-width: 900px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 28px 36px 34px;
  box-shadow: 0 4px 16px rgba(15,23,42,0.04);
}
@media (max-width: 640px) { .priv-box { padding: 20px 18px 24px; } }
.priv-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
}
.priv-back { color: var(--swiss); font-weight: 700; text-decoration: none; font-size: 14px; }
.priv-back:hover { text-decoration: underline; }
.priv-h1 {
  font-size: 22.5px;
  margin: 8px 0 16px;
  border-bottom: 2px solid var(--swiss);
  padding-bottom: 10px;
  letter-spacing: -0.015em;
}
.priv-meta {
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 13.5px;
  margin-bottom: 18px;
}
.priv-sec h2 { font-size: 16.5px; margin-top: 22px; color: var(--ink); }
.priv-sec p { font-size: 14px; color: var(--muted); }
.priv-sec a, .priv-meta a { color: var(--swiss); font-weight: 700; text-decoration: none; }
.priv-sec a:hover, .priv-meta a:hover { text-decoration: underline; }
.priv-all-bar {
  margin-top: 24px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
}

/* Executive Print Stylesheet (Ctrl+P / PDF Dossier) */
@media print {
  @page { margin: 14mm 14mm; }
  body { background: #ffffff !important; color: #000000 !important; font-size: 10pt; line-height: 1.45; }
  .topbar, header .langs, header #nav-cta, .mob-jump, .cta-row, .wb-tabs, .wb-meta-bar .wb-legend,
  .sha-btn, .pkg-mail-link, #b2b-btn, .mail-action-group, .mm-backdrop, .priv-all-bar, #calc-to-mail, .calc-range {
    display: none !important;
  }
  header { position: static !important; border-bottom: 2px solid #000 !important; padding: 6px 0 10px !important; margin-bottom: 10px !important; }
  .hero-grid, .wb-outputs, .steps-grid, .grid3, .impressum { display: block !important; }
  .qc-card, .step-card, .pkg-card { margin-top: 12px !important; }
  .wb-col + .wb-col { border-left: 0 !important; border-top: 1px solid #cbd5e1 !important; }
  .cross {
    background: #d8232a !important;
    color: #ffffff !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }
  section.block, .hero { padding: 12px 0 !important; background: #fff !important; }
  .qc-card, .b2b-banner, .alto-code, .pkg-card, .step-card, details.faq-item, .contact-cta, .note-card, .calc-box, .dossier-strip {
    break-inside: avoid !important;
    page-break-inside: avoid !important;
  }
  .qc-card, .b2b-banner, .alto-code {
    background: #ffffff !important;
    color: #000000 !important;
    border: 1.5px solid #0f172a !important;
    box-shadow: none !important;
  }
  .qc-card *, .b2b-banner *, .alto-code { color: #000000 !important; }
  .qc-list li { border-bottom: 1px dotted #94a3b8 !important; }
  .dl-chip { background: #f8fafc !important; border: 1px solid #000 !important; }
  .alto-code { white-space: pre-wrap !important; font-size: 9pt !important; }
  a[download]::after { content: " (" attr(href) ")"; font-size: 8.5pt; }
  details.faq-item summary::after { display: none !important; }
  .print-only-mail { display: block !important; color: #000 !important; }
}

.sr-clip { position: fixed; top: -9999px; left: -9999px; opacity: 0; pointer-events: none; }
