/* ==========================================================================
   Bombelli Analytics, englische Fassung. Gestaltungssystem «Beweismappe» (12.10.2026)
   These: Jeder Abschnitt beginnt mit einem Beweisstück aus der eigenen Messung,
   die Aussage folgt danach. Eine Schrift (Archivo, wie der Mainz-Foliensatz),
   zu 95 % unbunt, Textmarker-Gelb nur für den Anteil der eigenen Website und für Fehlstellen
   (Entscheid Tsari 12.10.2026: keine KI-typische Signalfarbe, kein Orange, kein Türkis).
   Schrift: Archivo von Omnibus-Type, SIL Open Font License 1.1.
   ========================================================================== */

@font-face {
  font-family: "Archivo";
  src: url("/en/assets/archivo-vf.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  --paper: #ffffff;
  --paper-2: #f3f1ef;
  --ink: #1b1816;
  --ink-2: #4f4a46;   /* Fliesstext zweiter Ordnung, 8.6:1 auf Weiss */
  --ink-3: #6d6762;   /* Bildunterschriften, 5.5:1 auf Weiss, 5.0:1 auf --paper-2 */
  --rule: #e2deda;
  --stage: #151210;   /* Bühne der Beweisstücke, wie die Folien */
  --stage-2: #211d1a;
  --stage-fg: #f4f1ee;
  --stage-fg-2: #b3aca6;  /* 8.3:1 auf --stage */
  --stage-rule: #3a3430;
  --mark: #ffe14d;    /* Textmarker: immer als Hinterlegung hinter Tinte, auf der Bühne auch als Schrift (13:1) */
  --mark-soft: #fff2a6;
  --focus: #1b1816;
  --wrap: 1240px;
  --col: 700px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --gap: clamp(20px, 3vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: "Archivo", system-ui, sans-serif; font-stretch: 100%; font-weight: 400;
  font-size: 1.125rem; line-height: 1.6; font-feature-settings: "kern", "liga";
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
.stage :focus-visible, .on-stage :focus-visible { outline-color: var(--stage-fg); }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 800; font-stretch: 74%; letter-spacing: -0.01em; line-height: 0.98; text-wrap: balance; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: var(--paper); padding: 10px 14px; z-index: 100; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gap); }
.col { max-width: var(--col); }

/* ---------- Kopf ---------- */
.top { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.94); backdrop-filter: saturate(1.2) blur(6px); border-bottom: 1px solid transparent; transition: border-color .3s var(--ease); }
.top.scrolled { border-bottom-color: var(--rule); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-stretch: 88%; font-size: 1.0625rem; letter-spacing: -0.005em; white-space: nowrap; }
.brand img { width: 38px; height: 20px; }
.brand span { color: var(--ink-3); font-weight: 500; }
.menu { display: flex; align-items: center; gap: 26px; font-size: 0.9375rem; }
.menu a { text-decoration: none; }
.menu a:hover, .menu a[aria-current="page"] { text-decoration: underline; }
.menu .lang { color: var(--ink-3); }
.menu .call { background: var(--ink); color: var(--paper); padding: 9px 16px; border-radius: 999px; font-weight: 600; }
.menu .call:hover { text-decoration: none; background: #000; }
.burger { display: none; width: 44px; height: 44px; border: 0; background: none; padding: 0; cursor: pointer; color: var(--ink); }
.burger svg { width: 26px; height: 26px; margin: 0 auto; }
@media (max-width: 860px) {
  .burger { display: block; }
  .menu { position: fixed; inset: 64px 0 auto 0; background: var(--paper); flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gap) 28px; border-bottom: 1px solid var(--rule); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s .25s; }
  .menu.open { transform: none; opacity: 1; visibility: visible; transition: opacity .25s var(--ease), transform .25s var(--ease); }
  .menu a { font-size: 1.75rem; font-weight: 700; font-stretch: 76%; padding: 10px 0; border-bottom: 1px solid var(--rule); }
  .menu .lang { font-size: 1.125rem; font-weight: 500; font-stretch: 100%; border-bottom: 0; }
  .menu .call { margin-top: 16px; text-align: center; font-size: 1.125rem; font-stretch: 100%; padding: 14px; border: 0; }
}

/* ---------- Typo-Rollen ---------- */
.display { font-size: clamp(3rem, 8.4vw, 7.25rem); }
.h2 { font-size: clamp(2.125rem, 5vw, 4rem); }
.h3 { font-size: clamp(1.375rem, 2.2vw, 1.75rem); line-height: 1.1; }
.lead { font-size: clamp(1.1875rem, 1.7vw, 1.4375rem); line-height: 1.5; color: var(--ink-2); max-width: 36em; }
.small { font-size: 0.9375rem; line-height: 1.55; color: var(--ink-3); }
.num { font-weight: 800; font-stretch: 70%; font-variant-numeric: tabular-nums lining-nums; letter-spacing: -0.02em; line-height: 0.9; }
.mark, mark { background: linear-gradient(104deg, transparent 0.12em, var(--mark) 0.12em, var(--mark) calc(100% - 0.12em), transparent calc(100% - 0.12em)); color: var(--ink); padding: 0 0.22em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.prose p + p { margin-top: 1em; }
.prose a { text-decoration: underline; }

/* ---------- Abschnitte ---------- */
.sec { padding: clamp(72px, 11vw, 152px) 0; }
.sec + .sec { border-top: 1px solid var(--rule); }
.sec-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--gap); align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.sec-head .lead { justify-self: start; }
@media (max-width: 900px) { .sec-head { grid-template-columns: 1fr; } }

/* ---------- Hero ---------- */
.hero { padding: clamp(48px, 8vw, 112px) 0 clamp(56px, 8vw, 112px); }
.hero h1 { max-width: 13ch; }
.hero .lead { margin-top: clamp(20px, 2.5vw, 32px); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: clamp(28px, 3vw, 40px); }
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 999px; background: var(--ink); color: var(--paper); font: inherit; font-size: 1rem; font-weight: 600; text-decoration: none; border: 1.5px solid var(--ink); cursor: pointer; transition: transform .2s var(--ease), background .2s var(--ease); }
.btn:hover { transform: translateY(-1px); background: #000; text-decoration: none; }
.btn svg { width: 18px; height: 18px; flex: 0 0 auto; }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--paper-2); }
.on-stage .btn { background: var(--stage-fg); color: var(--stage); border-color: var(--stage-fg); }
.on-stage .btn.ghost { background: transparent; color: var(--stage-fg); border-color: var(--stage-rule); }
.textlink { font-weight: 600; text-decoration: none; border-bottom: 1.5px solid currentColor; padding-bottom: 1px; }
.textlink:hover { border-bottom-width: 3px; }

/* ---------- Beweisstück (Bühne wie im Foliensatz) ---------- */
.exhibit { margin: 0; }
.stage { background: var(--stage); color: var(--stage-fg); border-radius: 6px; padding: clamp(22px, 3.4vw, 48px); }
.exhibit figcaption { margin-top: 14px; font-size: 0.9375rem; line-height: 1.5; color: var(--ink-3); max-width: 60em; }
.exhibit figcaption b { color: var(--ink); font-weight: 600; }
.stage-q { font-weight: 700; font-stretch: 86%; font-size: clamp(1.125rem, 2vw, 1.5rem); line-height: 1.25; max-width: 40em; }
.stage-meta { margin-top: 6px; color: var(--stage-fg-2); font-size: 0.9375rem; }

/* Antworttabelle: sechs Systeme, erste genannte Marke */
.answers { margin-top: clamp(20px, 3vw, 36px); border-top: 1px solid var(--stage-rule); }
.answers li { list-style: none; display: grid; grid-template-columns: minmax(96px, 1.1fr) minmax(0, 4fr) auto; align-items: baseline; gap: 6px 20px; padding: clamp(10px, 1.4vw, 15px) 0; border-bottom: 1px solid var(--stage-rule); }
.answers ol, ol.answers { padding: 0; margin: 0; }
.answers .sys { color: var(--stage-fg-2); font-size: 0.9375rem; font-weight: 500; }
.answers .brandname { font-weight: 800; font-stretch: 72%; font-size: clamp(1.625rem, 3.4vw, 2.75rem); line-height: 1; letter-spacing: -0.01em; }
.answers .quote { display: block; margin-top: 6px; font-size: 0.9375rem; color: var(--stage-fg-2); font-weight: 400; font-stretch: 100%; line-height: 1.4; }
.answers .src { color: var(--stage-fg-2); font-size: 0.9375rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (max-width: 560px) {
  .answers li { grid-template-columns: 1fr auto; }
  .answers .sys { grid-column: 1 / -1; }
}
.js .answers li { opacity: 0; transform: translateY(10px); }
.js .answers.in li { opacity: 1; transform: none; transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .answers.in li:nth-child(2) { transition-delay: .12s; } .js .answers.in li:nth-child(3) { transition-delay: .24s; }
.js .answers.in li:nth-child(4) { transition-delay: .36s; } .js .answers.in li:nth-child(5) { transition-delay: .48s; }
.js .answers.in li:nth-child(6) { transition-delay: .60s; }

/* Skala: Anteil der eigenen Websites */
.scale { position: relative; margin-top: clamp(28px, 4vw, 48px); }
.scale-track { position: relative; height: 2px; background: var(--stage-rule); }
.scale-mark { position: absolute; top: 50%; transform: translate(-50%, -50%); }
.scale-band { position: absolute; top: 50%; height: 16px; transform: translateY(-50%); border-radius: 8px; }
.scale-band.own { background: var(--mark); }
.scale-band.b2b { background: repeating-linear-gradient(135deg, var(--stage-fg-2) 0 2px, transparent 2px 6px); border: 1px solid var(--stage-fg-2); }
.scale-dot { width: 16px; height: 16px; border-radius: 50%; background: var(--mark); }
.scale-ticks { position: relative; height: 22px; margin-top: 14px; color: var(--stage-fg-2); font-size: 0.8125rem; font-variant-numeric: tabular-nums; }
.scale-ticks span { position: absolute; transform: translateX(-50%); }
.scale-ticks span:first-child { transform: none; } .scale-ticks span:last-child { transform: translateX(-100%); }
.scale-labels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); margin-top: clamp(24px, 3vw, 36px); }
.scale-labels .num { font-size: clamp(2.5rem, 5.5vw, 4.5rem); }
.scale-labels .own .num { color: var(--mark); }
.scale-labels p { margin-top: 8px; color: var(--stage-fg-2); font-size: 0.9375rem; line-height: 1.45; }
@media (max-width: 700px) { .scale-labels { grid-template-columns: 1fr; } }

/* Zahlenreihe */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.facts div { padding: 18px 16px 0 0; }
.facts .num { font-size: clamp(2.5rem, 4.4vw, 4.25rem); display: block; white-space: nowrap; }
.facts span:last-child { display: block; margin-top: 8px; font-size: 0.9375rem; color: var(--ink-3); line-height: 1.4; }
@media (max-width: 700px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 24px; } }

/* Index-Liste (statt Kartenraster) */
.index { border-top: 1px solid var(--ink); }
.index a, .index .row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr) 32px; gap: 8px var(--gap); align-items: baseline; padding: clamp(22px, 2.6vw, 32px) 0; border-bottom: 1px solid var(--rule); text-decoration: none; }
.index .name { font-weight: 800; font-stretch: 74%; font-size: clamp(1.75rem, 3.6vw, 3rem); line-height: 1; letter-spacing: -0.01em; }
.index .what { color: var(--ink-2); line-height: 1.5; }
.index .arrow { justify-self: end; width: 26px; height: 26px; transition: transform .3s var(--ease); }
.index a:hover .arrow { transform: translateX(6px); }
.index a:hover .name { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 0.12em; }
@media (max-width: 760px) { .index a, .index .row { grid-template-columns: 1fr 26px; } .index .what { grid-column: 1 / 2; } .index .arrow { grid-row: 1; grid-column: 2; } }

/* Lieferumfang mit Rohdaten-Auszug */
.deliver { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.deliver ol { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--ink); counter-reset: d; }
.deliver li { counter-increment: d; display: grid; grid-template-columns: 2.2em 1fr; gap: 4px 12px; padding: 20px 0; border-bottom: 1px solid var(--rule); }
.deliver li::before { content: counter(d); font-weight: 800; font-stretch: 70%; font-size: 1.5rem; line-height: 1.1; color: var(--ink-3); }
.deliver li b { display: block; font-weight: 700; }
.deliver li span { color: var(--ink-2); }
@media (max-width: 900px) { .deliver { grid-template-columns: 1fr; } }
.rawtable { width: 100%; border-collapse: collapse; font-size: 0.9375rem; font-variant-numeric: tabular-nums; }
.rawtable caption { text-align: left; color: var(--stage-fg-2); font-size: 0.875rem; padding-bottom: 12px; }
.rawtable th { text-align: left; font-weight: 500; color: var(--stage-fg-2); padding: 0 12px 10px 0; border-bottom: 1px solid var(--stage-rule); white-space: nowrap; }
.rawtable td { padding: 11px 12px 11px 0; border-bottom: 1px solid var(--stage-rule); vertical-align: top; }
.rawtable td.dom { font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; font-size: 0.8125rem; color: var(--stage-fg); line-height: 1.6; }
.rawtable .own { background: var(--mark); color: var(--ink); padding: 1px 4px; border-radius: 2px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* Personen */
.people { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.people img { width: 100%; max-width: 360px; aspect-ratio: 1; object-fit: cover; border-radius: 6px; background: var(--paper-2); filter: grayscale(1) contrast(1.04); }
.people .who { font-weight: 800; font-stretch: 74%; font-size: clamp(2rem, 4vw, 3rem); line-height: 1; }
.people .role { margin-top: 8px; color: var(--ink-3); }
.people .prose { margin-top: 20px; max-width: 34em; }
.advisors { margin-top: 28px; border-top: 1px solid var(--rule); }
.advisors li { list-style: none; padding: 14px 0; border-bottom: 1px solid var(--rule); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 20px; }
.advisors ul, ul.advisors { padding: 0; margin-left: 0; }
.advisors b { font-weight: 700; }
.advisors span { color: var(--ink-3); }
@media (max-width: 760px) { .people { grid-template-columns: 1fr; } .people img { max-width: 240px; } }

/* Fragen */
.qa { border-top: 1px solid var(--ink); }
.qa details { border-bottom: 1px solid var(--rule); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: baseline; padding: 22px 0; font-weight: 700; font-stretch: 88%; font-size: clamp(1.1875rem, 1.8vw, 1.4375rem); line-height: 1.25; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; font-weight: 400; font-size: 1.75rem; line-height: 1; color: var(--ink-3); transition: transform .3s var(--ease); }
.qa details[open] summary::after { transform: rotate(45deg); }
.qa .answer { padding: 0 0 26px; max-width: 42em; color: var(--ink-2); }
.qa .answer p + p { margin-top: .8em; }

/* Schluss */
.closer { background: var(--stage); color: var(--stage-fg); }
.closer .h2 { max-width: 16ch; }
.closer .lead { color: var(--stage-fg-2); }

/* Fuss */
.foot { padding: 48px 0 40px; font-size: 0.9375rem; color: var(--ink-3); }
.foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px 40px; border-top: 1px solid var(--rule); padding-top: 28px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot a { text-decoration: none; }
.foot a:hover { text-decoration: underline; color: var(--ink); }
.foot h2 { font: inherit; font-weight: 600; color: var(--ink); margin: 0 0 8px; letter-spacing: 0; line-height: 1.4; }

/* Einblenden beim Scrollen */
.js .rv { opacity: 0; transform: translateY(16px); }
.js .rv.in { opacity: 1; transform: none; transition: opacity .8s var(--ease), transform .8s var(--ease); }
@media (prefers-reduced-motion: reduce) {
  .js .rv, .js .answers li { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* Cookie-Banner aus tracking.js an das System angleichen */
.consent-banner { font-family: "Archivo", system-ui, sans-serif !important; }

/* Rohdaten auf schmalen Schirmen gestapelt statt abgeschnitten */
@media (max-width: 760px) {
  .rawtable thead { display: none; }
  .rawtable, .rawtable tbody, .rawtable tr, .rawtable td { display: block; width: 100%; }
  .rawtable tr { padding: 14px 0; border-bottom: 1px solid var(--stage-rule); }
  .rawtable td { border: 0; padding: 0; }
  .rawtable td:first-child { font-weight: 700; display: inline; }
  .rawtable td:nth-child(2) { display: inline; color: var(--stage-fg-2); }
  .rawtable td:nth-child(2)::before { content: " · named first: "; }
  .rawtable td.dom { margin-top: 6px; overflow-wrap: anywhere; }
}
.rawtable td.dom { overflow-wrap: anywhere; }
.sec.flush { padding-top: 0; }

/* ---------- Vergleichsregler (Shop-Check) ---------- */
.compare { position: relative; overflow: hidden; border-radius: 6px; background: var(--stage); aspect-ratio: 16 / 10; touch-action: pan-y; }
.compare img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.compare .cmp-a { position: absolute; inset: 0; }
.compare .cmp-b { position: absolute; inset: 0; background: #fff; clip-path: inset(0 0 0 var(--pos)); }
.compare .cmp-b img { position: absolute; top: 0; bottom: 0; left: var(--pos); right: 0; width: auto; height: 100%; max-width: none; object-fit: contain; object-position: center; padding: 8% 6%; }
.compare .cmp-b img { width: calc(100% - var(--pos)); }
.cmp-line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 4px; margin-left: -2px; background: var(--mark); box-shadow: 0 0 0 1px rgba(27,24,22,.35); pointer-events: none; }
.cmp-line::after { content: ""; position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; background: var(--mark); box-shadow: 0 0 0 2px var(--ink); }
.cmp-tag { position: absolute; top: 16px; padding: 6px 12px; border-radius: 999px; font-size: 0.875rem; font-weight: 600; background: var(--ink); color: #fff; pointer-events: none; }
.cmp-tag-a { left: 16px; } .cmp-tag-b { right: 16px; background: var(--mark); color: var(--ink); }
.cmp-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; }
.cmp-range:focus-visible + .cmp-line, .compare:focus-within .cmp-line::after { box-shadow: 0 0 0 4px #fff, 0 0 0 7px var(--ink); }
@media (max-width: 600px) { .compare { aspect-ratio: 1 / 1; } .compare .cmp-a { object-position: 46% 28%; } .compare .cmp-b img { padding: 10% 3%; } .cmp-tag { top: auto; bottom: 14px; font-size: 0.8125rem; } }

/* ---------- Formular ---------- */
.check-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
@media (max-width: 900px) { .check-grid { grid-template-columns: 1fr; } }
.shop-form { display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; font-weight: 600; font-size: 0.9375rem; }
.field input { font: inherit; font-weight: 400; font-size: 1.0625rem; padding: 15px 16px; border: 1.5px solid #bdb6b0; border-radius: 6px; background: #fff; color: var(--ink); width: 100%; }
.field input::placeholder { color: #8a837d; }
.field input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(27,24,22,.12); }
.consent { display: grid; grid-template-columns: 24px 1fr; gap: 10px; font-size: 0.9375rem; line-height: 1.5; color: var(--ink-2); cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--ink); }
.consent a { text-decoration: underline; }
.shop-form .btn { align-self: flex-start; }
.form-error { font-weight: 600; } .form-error::before { content: ""; display: inline-block; width: .6em; height: .6em; margin-right: .5em; background: var(--mark); box-shadow: 0 0 0 1px var(--ink); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.loading { margin-top: 48px; }
.loading-msg { font-weight: 600; }
.loading-track { margin-top: 14px; height: 3px; background: var(--rule); border-radius: 3px; overflow: hidden; }
.loading-fill { height: 100%; width: 0; background: var(--ink); transition: width .5s var(--ease); }

/* ---------- Ergebnis ---------- */
.result { margin-top: clamp(56px, 8vw, 96px); padding-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--ink); }
.result-url { font-family: ui-monospace, Menlo, monospace; font-size: 0.875rem; color: var(--ink-3); overflow-wrap: anywhere; margin-bottom: 14px; }
.result .lead { margin-top: 14px; }
.seen { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 56px); }
@media (max-width: 800px) { .seen { grid-template-columns: 1fr; } }
.seen-k { font-size: 0.875rem; color: var(--stage-fg-2); margin-bottom: 12px; }
.seen-text { font-family: ui-monospace, Menlo, monospace; font-size: 0.875rem; line-height: 1.7; overflow-wrap: anywhere; }
.seen-meta { margin-top: 16px; font-size: 0.875rem; color: var(--stage-fg-2); }
.seen-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--stage-rule); }
.seen-item { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 12px 0; border-bottom: 1px solid var(--stage-rule); }
.seen-item-k { font-weight: 700; }
.seen-item-s { font-size: 0.875rem; }
.seen-item-v { grid-column: 1 / -1; font-size: 0.875rem; color: var(--stage-fg-2); overflow-wrap: anywhere; }
.is-found .seen-item-s { color: var(--stage-fg); }
.is-missing .seen-item-s { background: var(--mark); color: var(--ink); font-weight: 700; padding: 0 6px; border-radius: 2px; }
.is-unknown .seen-item-s { color: var(--stage-fg-2); }
.checks { margin-top: 40px; border-top: 1px solid var(--ink); }
.chk { border-bottom: 1px solid var(--rule); }
.chk summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 9.5em 1fr; gap: 6px 20px; padding: 20px 0; align-items: baseline; }
.chk summary::-webkit-details-marker { display: none; }
.chk-status { font-weight: 700; font-size: 0.9375rem; }
.st-fail .chk-status { background: var(--mark); color: var(--ink); padding: 0 6px; justify-self: start; border-radius: 2px; }
.st-warn .chk-status { color: var(--ink); }
.st-pass .chk-status, .st-info .chk-status { color: var(--ink-3); }
.chk-label { display: block; font-weight: 800; font-stretch: 80%; font-size: 1.25rem; line-height: 1.2; }
.chk-verdict { display: block; margin-top: 4px; color: var(--ink-2); }
.chk-body { padding: 0 0 22px calc(9.5em + 20px); max-width: 60em; color: var(--ink-2); }
.chk-body p + p { margin-top: .7em; }
.chk-fix b { color: var(--ink); }
.chk-src { font-size: 0.9375rem; }
.chk-src a { text-decoration: underline; }
@media (max-width: 640px) { .chk summary { grid-template-columns: 1fr; } .chk-body { padding-left: 0; } }

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.contact-grid h1 { font-size: clamp(2.75rem, 6vw, 5.5rem); }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }
.promises { list-style: none; padding: 0; margin: 32px 0 0; border-top: 1px solid var(--ink); max-width: 34em; }
.promises li { padding: 14px 0; border-bottom: 1px solid var(--rule); color: var(--ink-2); }
.promises b { color: var(--ink); }
.details { margin: 28px 0 0; display: grid; gap: 10px; }
.details div { display: grid; grid-template-columns: 6.5em 1fr; gap: 12px; }
.details dt { color: var(--ink-3); }
.details dd { margin: 0; }
.details a { text-decoration: underline; }
.contact-form { display: flex; flex-direction: column; gap: 14px; padding: clamp(24px, 3vw, 36px); border: 1.5px solid var(--ink); border-radius: 6px; background: #fff; }
.contact-form .h3 { margin-bottom: 4px; }
.field i { font-style: normal; font-weight: 400; color: var(--ink-3); }
.field textarea { font: inherit; font-weight: 400; font-size: 1.0625rem; padding: 14px 16px; border: 1.5px solid #bdb6b0; border-radius: 6px; background: #fff; color: var(--ink); width: 100%; resize: vertical; min-height: 140px; }
.field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(27,24,22,.12); }
.field-error { font-size: 0.875rem; font-weight: 600; margin-top: -6px; }
.field-error:empty { display: none; }
.form-ok { font-weight: 600; } .form-ok::before { content: ""; display: inline-block; width: .6em; height: .6em; margin-right: .5em; background: var(--mark); box-shadow: 0 0 0 1px var(--ink); }
.contact-form .btn { align-self: flex-start; }
.contact-form .small a { text-decoration: underline; }
.book { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
@media (max-width: 960px) { .book { grid-template-columns: 1fr; } }
.book-iframe { width: 100%; height: 760px; border: 1px solid var(--rule); border-radius: 6px; background: #fff; display: block; }
@media (max-width: 760px) { .book-iframe { height: 920px; } }
.book-iframe-fallback { margin-top: 10px; } .book-iframe-fallback a { text-decoration: underline; }
.book-ersatz { display: none; padding: 28px; border: 1.5px solid var(--ink); border-radius: 6px; }
.book-pruefen .book-iframe, .book-pruefen .book-iframe-fallback { visibility: hidden; }
.book-aus .book-iframe, .book-aus .book-iframe-fallback { display: none; }
.book-aus .book-ersatz { display: block; }

/* ---------- Fragenliste und Passung (Services) ---------- */
.qlist { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gap); border-top: 1px solid var(--ink); counter-reset: q; }
.qlist li { counter-increment: q; padding: 22px 0 22px 2.6em; position: relative; border-bottom: 1px solid var(--rule); }
.qlist li::before { content: counter(q); position: absolute; left: 0; top: 18px; font-weight: 800; font-stretch: 70%; font-size: 1.75rem; line-height: 1; color: var(--ink-3); }
.qlist b { display: block; font-weight: 700; font-stretch: 88%; font-size: 1.1875rem; line-height: 1.3; }
.qlist span { display: block; margin-top: 6px; color: var(--ink-2); }
@media (max-width: 760px) { .qlist { grid-template-columns: 1fr; } }
.fit { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.fit > div { border-top: 1px solid var(--ink); padding-top: 18px; }
.fit ul { list-style: none; padding: 0; margin: 14px 0 0; }
.fit li { padding: 12px 0; border-bottom: 1px solid var(--rule); color: var(--ink-2); }
@media (max-width: 760px) { .fit { grid-template-columns: 1fr; } }

/* ---------- Professoren (Team) ---------- */
.profs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.profs article { border-top: 1px solid var(--ink); padding-top: 22px; display: grid; grid-template-columns: 1fr; gap: 6px; align-content: start; }
.profs img { width: 100%; max-width: 280px; aspect-ratio: 1; height: auto; object-fit: cover; border-radius: 6px; filter: grayscale(1) contrast(1.04); background: var(--paper-2); margin-bottom: 14px; }
.profs .role { color: var(--ink-3); }
.profs p { color: var(--ink-2); }
.profs .links { display: flex; gap: 18px; margin-top: 6px; }
.profs .links a { text-decoration: underline; color: var(--ink); }
@media (max-width: 800px) { .profs { grid-template-columns: 1fr; } }


/* ==========================================================================
   Tool-Seiten: KI-Sichtbarkeits-Check (geo-check) und Agent Readiness Check (12.10.2026)
   Formular direkt im Hero, Gesamtwert als Beweisstück auf der Bühne, Kategorien als Zeilen,
   Prüfpunkte als .chk-Zeilen wie im Shop-Check. Status nur über Wort, «Missing» mit Textmarker.
   Nur ergänzt, keine bestehende Regel verändert.
   ========================================================================== */
.scan { margin-top: clamp(32px, 4vw, 48px); max-width: 780px; }
.scan-row { display: flex; gap: 12px; }
.scan-row input { flex: 1 1 auto; min-width: 0; height: 64px; padding: 0 20px; font: inherit; font-size: clamp(1.125rem, 1.6vw, 1.3125rem); color: var(--ink); background: #fff; border: 1.5px solid #bdb6b0; border-radius: 6px; }
.scan-row input::placeholder { color: #8a837d; }
.scan-row input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(27,24,22,.12); }
.scan-row .btn { min-height: 64px; padding: 0 30px; font-size: 1.0625rem; white-space: nowrap; }
.scan-row .btn:disabled { opacity: .55; cursor: progress; transform: none; }
.scan .form-error { margin-top: 14px; }
.scan-help { margin-top: 14px; }
.cross { margin-top: clamp(28px, 3vw, 40px); max-width: 44em; color: var(--ink-2); }
@media (max-width: 560px) { .scan-row { flex-direction: column; } .scan-row .btn { justify-content: center; } }
.tool-run { padding: 0 0 clamp(72px, 10vw, 140px); }
.tool-run + .sec { border-top: 1px solid var(--rule); }
.tool-run .loading { margin-top: 0; max-width: 780px; }
.tool-result .lead { margin-top: 14px; }
/* Beweisstück: Gesamtwert und Kategorien */
.score-num { font-size: clamp(6rem, 17vw, 13.5rem); color: var(--stage-fg); }
.score-of { margin-top: 10px; font-weight: 700; font-stretch: 86%; font-size: clamp(1.125rem, 2vw, 1.5rem); }
.score-meta { margin-top: 6px; color: var(--stage-fg-2); font-size: 0.9375rem; max-width: 34em; }
.cats { list-style: none; padding: 0; margin: clamp(28px, 4vw, 48px) 0 0; border-top: 1px solid var(--stage-rule); }
.cats li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 24px; align-items: baseline; padding: clamp(14px, 1.6vw, 18px) 0; border-bottom: 1px solid var(--stage-rule); }
.cat-name { font-weight: 800; font-stretch: 78%; font-size: clamp(1.25rem, 2.2vw, 1.75rem); line-height: 1.1; }
.cat-gloss { display: block; margin-top: 4px; color: var(--stage-fg-2); font-size: 0.9375rem; line-height: 1.45; }
.cat-sub { display: block; margin-top: 6px; color: var(--stage-fg-2); font-size: 0.875rem; font-variant-numeric: tabular-nums; }
.cat-sub .is-miss { color: var(--mark); font-weight: 700; }
.cat-val { font-size: clamp(2.25rem, 4.4vw, 3.5rem); grid-column: 2; grid-row: 1; }
.cat-val.info { font-size: 1rem; font-weight: 600; font-stretch: 100%; letter-spacing: 0; color: var(--stage-fg-2); }
/* Prüfpunkte nach Kategorie */
.grp { margin-top: clamp(48px, 6vw, 80px); }
.grp-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 24px; align-items: end; }
.grp-gloss { grid-column: 1; margin-top: 6px; color: var(--ink-3); font-size: 0.9375rem; }
.grp-val { grid-column: 2; grid-row: 1 / span 2; font-size: clamp(2.25rem, 4vw, 3.25rem); }
.grp-val small { font-size: 0.4em; font-weight: 600; color: var(--ink-3); letter-spacing: 0; }
.grp-val.info { font-size: 1rem; font-weight: 600; font-stretch: 100%; letter-spacing: 0; color: var(--ink-3); }
.grp .checks { margin-top: 20px; }
.chk.has-body summary { grid-template-columns: 9.5em 1fr 24px; }
.chk.has-body summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--ink-3); justify-self: end; transition: transform .3s var(--ease); }
.chk.has-body[open] summary::after { transform: rotate(45deg); }
@media (max-width: 640px) { .chk.has-body summary { grid-template-columns: 1fr 24px; } .chk.has-body .chk-status { grid-column: 1; } .chk.has-body .chk-main { grid-column: 1; } .chk.has-body summary::after { grid-column: 2; grid-row: 1; } }
.chk-body ol { margin: .7em 0 0; padding-left: 1.3em; }
.chk-body li + li { margin-top: .3em; }
.snip { margin-top: 1em; }
.snip-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-weight: 600; color: var(--ink); font-size: 0.9375rem; }
.snip-copy { font: inherit; font-size: 0.875rem; font-weight: 600; color: var(--ink); background: none; border: 1.5px solid var(--rule); border-radius: 999px; padding: 4px 14px; cursor: pointer; }
.snip-copy:hover { border-color: var(--ink); }
.snip pre { margin: 8px 0 0; background: var(--stage); color: var(--stage-fg); border-radius: 6px; padding: 16px 18px; overflow-x: auto; font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; font-size: 0.8125rem; line-height: 1.6; white-space: pre; max-width: 100%; }
.chk-spec { margin-top: 1em; font-size: 0.9375rem; }
/* Sperre für den vollständigen Befund */
.gate { margin-top: clamp(48px, 6vw, 80px); padding-top: clamp(32px, 4vw, 48px); border-top: 1px solid var(--ink); display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.gate .lead { margin-top: 16px; }
@media (max-width: 900px) { .gate { grid-template-columns: 1fr; } }
.gate-done { margin-top: clamp(32px, 4vw, 48px); font-weight: 600; }
.after-index { margin-top: clamp(28px, 3vw, 40px); color: var(--ink-2); }
.tool-result { scroll-margin-top: 88px; }
.tool-run .loading { scroll-margin-top: 88px; }
@media (min-width: 1000px) {
  .score { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
  .score .cats { margin-top: 0; }
}
@media (max-width: 640px) { .snip pre { white-space: pre-wrap; overflow-wrap: anywhere; } }
