/* SwissiCheck – Website (Entwurf 18.11.2026)
   Schriften: nur Systemschriften (Bahnschrift / Segoe UI sind in Windows enthalten) – keine externen Schriften, keine Cookies. */
:root {
  --ink: #2d2d32;
  --ink-soft: #5c5c66;
  --line: #d9d9de;
  --surface: #eeeef0;
  --paper: #ffffff;
  --red: #c81e1e;
  --pass-bg: #c6efce; --pass: #006100;
  --fail-bg: #ffc7ce; --fail: #9c0006;
  --na-bg: #e8e8e8;
  --display: "Bahnschrift", "DIN Alternate", "Arial Narrow", system-ui, sans-serif;
  --text: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --measure: 66ch;
  --wrap: 1120px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 1.0625rem/1.6 var(--text); color: var(--ink); background: var(--paper); }
img { max-width: 100%; display: block; }
a { color: inherit; text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 2px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; background: var(--paper); padding: 8px 12px; z-index: 10; }

/* Kopf */
.site-head { border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; gap: 32px; min-height: 68px; }
.wordmark { font: 700 1.55rem/1 var(--display); font-stretch: 87.5%; letter-spacing: .01em; text-decoration: none; color: #7a7a82; }
.wordmark b { color: var(--red); font-weight: 700; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; }
.wordmark img { width: 36px; height: 36px; }
.nav { display: flex; gap: 22px; margin-left: auto; font-size: .95rem; }
.nav a { text-decoration: none; padding: 22px 0 19px; border-bottom: 3px solid transparent; }
.nav a:hover { border-bottom-color: var(--line); }
.nav a[aria-current="page"] { border-bottom-color: var(--red); font-weight: 600; }
.lang { display: flex; gap: 2px; font-size: .85rem; }
.lang a { text-decoration: none; padding: 4px 7px; color: var(--ink-soft); }
.lang a[aria-current="true"] { color: var(--ink); font-weight: 700; }

/* Knöpfe – wie im Programm: Hauptknopf Anthrazit gefüllt, sonst weiss mit Rahmen */
.btn { display: inline-block; font: 600 1rem/1 var(--text); padding: 15px 22px; border-radius: 3px; text-decoration: none; border: 1px solid var(--ink); }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #4b4b52; }
.btn-secondary { background: var(--paper); color: var(--ink); border-color: #a0a0a6; }
.btn-secondary:hover { background: #f4f4f6; }
.small { font-size: .88rem; color: var(--ink-soft); }

/* Einstieg */
.hero { padding: 72px 0 80px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.hero h1 { font: 700 clamp(2.4rem, 5vw, 3.9rem)/1.02 var(--display); font-stretch: 87.5%; letter-spacing: -.005em; margin: 0 0 22px; max-width: 14ch; }
.hero .lead { font-size: 1.18rem; color: var(--ink-soft); max-width: 40ch; margin: 0 0 30px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero .small { margin-top: 16px; }

/* Prüfliste (Nachbildung des Registers «Richtlinien») */
.sheet { border: 1px solid #b9b9c0; background: var(--paper); font-size: .86rem; box-shadow: 0 1px 0 rgba(45,45,50,.04); }
.sheet-bar { display: flex; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--line); background: #fafafa; flex-wrap: wrap; }
.chip { font-weight: 700; padding: 4px 10px; border: 1px solid transparent; font-size: .8rem; }
.chip.fail { background: var(--fail-bg); color: var(--fail); border-color: #e9a3ad; }
.chip.pass { background: var(--pass-bg); color: var(--pass); border-color: #9fd3aa; }
.chip.na { background: var(--na-bg); color: #6e6e76; border-color: #cfcfd4; }
.sheet table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.sheet th { text-align: left; font-weight: 600; color: var(--ink-soft); padding: 7px 10px; border-bottom: 1px solid var(--line); background: #f6f6f7; }
.sheet td { padding: 7px 10px; border-bottom: 1px solid #e4e4e8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sheet .id { width: 64px; } .sheet .st { width: 158px; } .sheet .val { width: 56px; text-align: right; }
.sheet tr.fail td { background: var(--fail-bg); } .sheet tr.fail .st { color: var(--fail); font-weight: 700; }
.sheet tr.pass td { background: var(--pass-bg); } .sheet tr.pass .st { color: var(--pass); font-weight: 700; }
.sheet tr.pending td { background: var(--paper); } .sheet tr.pending .st { color: #9a9aa2; font-weight: 400; }
.sheet-foot { padding: 9px 12px; color: var(--ink-soft); font-size: .8rem; }
@media (prefers-reduced-motion: no-preference) {
  .sheet tr td { transition: background-color .35s ease; }
}

/* Abschnitte */
section { padding: 72px 0; }
section.alt { background: var(--surface); }
h2 { font: 700 clamp(1.8rem, 3.2vw, 2.4rem)/1.1 var(--display); font-stretch: 87.5%; margin: 0 0 14px; }
h3 { font: 700 1.2rem/1.25 var(--display); margin: 0 0 6px; }
.intro { max-width: var(--measure); color: var(--ink-soft); margin: 0 0 36px; }

/* Bereiche: Registerleiste wie im Programm */
.tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.tabs > div { padding: 22px 24px 24px 0; border-bottom: 1px solid var(--line); }
.tabs > div:nth-child(3n+2), .tabs > div:nth-child(3n+3) { padding-left: 24px; border-left: 1px solid var(--line); }
.tabs h3 { display: inline-block; padding-bottom: 6px; border-bottom: 2px solid var(--red); }
.tabs p { margin: 8px 0 0; color: var(--ink-soft); font-size: .98rem; max-width: 34ch; }

/* Free / Pro */
.compare { width: 100%; max-width: 860px; border-collapse: collapse; background: var(--paper); border: 1px solid var(--line); }
.compare th, .compare td { padding: 12px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.compare thead th { font: 700 1.25rem/1.2 var(--display); background: var(--paper); }
.compare thead th small { display: block; font: 400 .92rem/1.4 var(--text); color: var(--ink-soft); margin-top: 4px; }
.compare td:nth-child(2), .compare td:nth-child(3), .compare th:nth-child(2), .compare th:nth-child(3) { width: 22%; }
.yes { color: var(--pass); font-weight: 700; } .no { color: #9a9aa2; }
.compare tfoot td { border-bottom: 0; padding-top: 18px; padding-bottom: 18px; }
.price { font: 700 2rem/1 var(--display); }

/* Schritte (echter Ablauf → nummeriert) */
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; }
.steps li { counter-increment: s; }
.steps li::before { content: counter(s); display: block; font: 700 2.6rem/1 var(--display); color: var(--red); margin-bottom: 10px; }
.steps p { margin: 6px 0 0; color: var(--ink-soft); }

/* Vertrauen */
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 48px; max-width: 920px; }
.facts p { margin: 6px 0 0; color: var(--ink-soft); }

/* FAQ */
.faq { max-width: 820px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 1.4rem/1 var(--display); color: var(--ink-soft); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 18px; color: var(--ink-soft); max-width: var(--measure); }

/* Fuss */
.site-foot { border-top: 1px solid var(--line); padding: 32px 0 44px; font-size: .9rem; color: var(--ink-soft); }
.site-foot .wrap { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: baseline; }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-left: auto; }

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
  .tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tabs > div:nth-child(n) { padding-left: 0; border-left: 0; }
  .tabs > div:nth-child(2n) { padding-left: 20px; border-left: 1px solid var(--line); }
  .steps { grid-template-columns: 1fr; gap: 24px; }
  .nav { display: none; }
  .lang { margin-left: auto; }
}
@media (max-width: 560px) {
  .tabs { grid-template-columns: 1fr; }
  .tabs > div:nth-child(n) { padding-left: 0; border-left: 0; }
  .facts { grid-template-columns: 1fr; }
  .sheet .val, .sheet .id { display: none; }
  .sheet .st { width: 136px; }
  .compare { font-size: .92rem; }
  .compare th, .compare td { padding: 9px 8px; }
  .compare td:nth-child(2), .compare td:nth-child(3), .compare th:nth-child(2), .compare th:nth-child(3) { width: 26%; }
  .compare .btn { padding: 12px 10px; font-size: .9rem; }
  .price { font-size: 1.5rem; }
}
.sr-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
/* Einstellung in der Beispiel-Prüfung umbrechen statt abschneiden */
.sheet td:nth-child(3) { white-space: normal; }

/* Produktname auf der Produktseite */
.product-name { font: 700 1.05rem/1.3 var(--display); margin: 0 0 14px; }
.product-name span { font-weight: 400; color: var(--ink-soft); margin-left: 6px; }

/* Markenseite */
.brand-hero { padding: 80px 0 64px; }
.brand-hero h1 { font: 700 clamp(2.4rem, 5vw, 3.9rem)/1.02 var(--display); font-stretch: 87.5%; margin: 0 0 20px; max-width: 18ch; }
.brand-hero .lead { font-size: 1.18rem; color: var(--ink-soft); max-width: 52ch; margin: 0; }
.products { border-top: 2px solid var(--ink); }
.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto; gap: 32px; align-items: center; padding: 30px 0; border-bottom: 1px solid var(--line); }
.product h3 { font-size: 1.7rem; margin: 0; }
.product h3 span { display: block; font: 400 1rem/1.4 var(--text); color: var(--ink-soft); margin-top: 4px; }
.product p { margin: 0; color: var(--ink-soft); }
.product .actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 900px) {
  .product { grid-template-columns: 1fr; gap: 14px; }
  .product .actions { justify-content: flex-start; }
}

/* Rechtsseiten (Impressum, Datenschutz, Lizenz, Rückerstattung) */
.legal { padding: 56px 0 80px; }
.legal .wrap > * { max-width: 720px; }
.legal h1 { font: 700 clamp(2rem, 4vw, 2.8rem)/1.08 var(--display); font-stretch: 87.5%; margin: 0 0 18px; }
.legal h2 { font-size: 1.35rem; line-height: 1.25; margin: 40px 0 10px; padding-top: 18px; border-top: 1px solid var(--line); }
.legal p, .legal li { margin: 0 0 12px; }
.legal ul { padding-left: 1.2em; margin: 0 0 14px; }
.legal .addr { line-height: 1.5; }
.legal a { color: var(--ink); }
.draft { background: #fff4cc; border-left: 4px solid #d9a400; padding: 10px 14px; font-size: .92rem; }
mark.todo { background: #ffe58a; color: var(--ink); padding: 0 3px; }
.site-foot nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }

/* Download-Seite */
.download-hero .actions { display: flex; flex-wrap: wrap; gap: 14px 18px; align-items: center; margin-top: 28px; }
.download-hero .product-name { margin-bottom: 10px; }
#vertrauen .faq { max-width: 820px; }


/* Markenseite: Bild neben dem Einstieg (21.11., Variante A – zum Ausprobieren; Variante B = diesen Block und das <img class="brand-visual"> entfernen) */
.brand-hero:not(.download-hero) .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.brand-visual { width: 100%; height: auto; border-radius: 6px; }
@media (max-width: 900px) {
  .brand-hero:not(.download-hero) .wrap { grid-template-columns: 1fr; gap: 32px; }
  .brand-visual { max-width: 520px; }
}
