/* One stylesheet, one self-hosted display face, no third-party requests for fonts or styles.
   Look "Papier und Leitung": warm paper, ink text, one ember action per view, cobalt links,
   thin grid lines with junctions as the only decoration. Light only, like the reference.
   Every text colour pair passes WCAG AA. */

@font-face {
  font-family: "Installflow Display";
  src: url("/assets/fonts/Geist-Variable.a369fcf562.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --bg: #fefdfc;
  --surface: #fefdfc;
  --sunk: #fbfaf8;
  --cream: #fff6f0;
  --cream-rule: #efdccd;
  --mint: #f0f6df;
  --sky: #dceaff;
  --ink: #25221e;
  --ink-2: #4a4744;
  --muted: #6f6c69;
  --faint: #94928f;
  --rule: #e6e4e1;
  --rule-strong: #d7d6d4;
  --accent: #0f66ae;
  --accent-hover: #0b4f8a;
  --accent-soft: #eaf2fb;
  --on-accent: #fefdfc;
  --action: #cf3520;
  --action-hover: #b52d1a;
  --ember: #e34432;
  --teal: #497d7e;
  --forest: #446c3d;
  --yes: #3b5d35;
  --yes-bg: #f0f6df;
  --no: #4a4744;
  --no-bg: #f1f0ee;
  --unk: #6f5a4d;
  --unk-bg: #fff6f0;
  --warn: #5c4300;
  --warn-bg: #fff1c7;
  --warn-rule: #e0c263;
  --focus: #0f66ae;
  --row-hover: #fbf6f1;
  --radius: 8px;
  --radius-img: 15px;
  --shadow-card: rgba(37, 34, 30, 0.04) 0 1px 0 0;
  --shadow-float: rgba(37, 34, 30, 0.07) 0 24px 48px -24px, rgba(37, 34, 30, 0.04) 0 1px 0 0;
  --shadow-action: rgba(37, 34, 30, 0.07) 0 14px 19px -9px, rgba(37, 34, 30, 0.18) 0 10px 48px 0;
  --w: 46rem;
  --w-page: 75rem;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif;
  --display: "Installflow Display", var(--font);
}

.w-wide { --w: 80rem; }
.w-operator { --w: 75rem; }
.w-landing { --w: 75rem; }

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

html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 1rem;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.55;
  letter-spacing: 0.005em;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}

[hidden] { display: none !important; }

::selection { background: var(--ink); color: var(--bg); }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: 3px;
}

a {
  color: var(--accent);
  text-decoration-thickness: 0.07em;
  text-underline-offset: 0.2em;
}
a:hover { color: var(--accent-hover); text-decoration-thickness: 0.12em; }

h1, h2, h3 {
  font-family: var(--display);
  line-height: 1.15;
  text-wrap: balance;
  color: var(--ink);
}
h1 {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin: 0.25rem 0 0.75rem;
}
h2 {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 3rem 0 1rem;
}
h3 { font-size: 1.1875rem; font-weight: 650; letter-spacing: -0.005em; margin: 0 0 0.5rem; }
p { margin: 0 0 0.75rem; }
strong { font-weight: 650; }

.vh {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.wrap {
  max-width: var(--w);
  margin: 0 auto;
  padding: 0 1rem;
}

.eyebrow {
  margin: 0 0 0.625rem;
  font-family: var(--font);
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--action);
}

/* Notice bar and header --------------------------------------------------- */

.skip {
  position: absolute;
  left: 0.5rem;
  top: -4rem;
  z-index: 10;
  padding: 0.5rem 0.875rem;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--bg);
  font-weight: 650;
}
.skip:focus { top: 0.5rem; }
.skip:hover { color: var(--bg); }

.notice {
  background: var(--cream);
  border-bottom: 1px solid var(--rule-strong);
  font-size: 0.9375rem;
  line-height: 1.45;
}
.notice p {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.125rem 0.75rem;
  margin: 0;
  padding: 0.6875rem 0;
  text-align: center;
}
.notice a { color: var(--action); font-weight: 600; }
.notice a:hover { color: var(--action-hover); }

.site-header {
  position: relative;
  z-index: 3;
  background: var(--bg);
  border-bottom: 1px solid var(--rule);
}
.site-header .wrap,
.site-footer .wrap { max-width: var(--w-page); }
.bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0 0.75rem;
  min-height: 4rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  min-height: 2.75rem;
  color: var(--ink);
  font-family: var(--display);
  font-size: 1.1875rem;
  font-weight: 800;
  letter-spacing: -0.015em;
  text-decoration: none;
}
.brand:hover { color: var(--ink); }
.mark { width: 1.75rem; height: 1.75rem; flex: none; }
.main-nav ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.125rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.main-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0 0.5rem;
  border-radius: var(--radius);
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 550;
  text-decoration: none;
}
.main-nav a:hover { color: var(--action); }
.main-nav a[aria-current="page"] { color: var(--action); box-shadow: inset 0 -2px 0 var(--action); border-radius: 0; }
.main-nav .nav-cta a {
  margin-left: 0.25rem;
  padding: 0 0.875rem;
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius);
}
.main-nav .nav-cta a:hover { border-color: var(--ink); color: var(--ink); }

.sample-banner {
  background: var(--warn-bg);
  color: var(--warn);
  border-bottom: 1px solid var(--warn-rule);
  padding: 0.5rem 0;
  font-size: 0.9375rem;
  line-height: 1.45;
}

/* Grid lines: the one decoration. Thin strokes with junctions, drawn once, never over text. */

.lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
}
.lines path {
  fill: none;
  stroke-linecap: round;
  stroke-dasharray: 2400;
  stroke-dashoffset: 0;
  animation: draw 2.6s cubic-bezier(0.33, 0, 0.2, 1) both;
}
.lines path:nth-of-type(2) { animation-delay: 0.25s; }
.lines path:nth-of-type(3) { animation-delay: 0.5s; }
.lines path:nth-of-type(4) { animation-delay: 0.75s; }
.lines circle { animation: node 0.6s ease-out 1.6s both; }
.lines .l-teal { stroke: var(--teal); stroke-width: 1.5; }
.lines .l-forest { stroke: var(--forest); stroke-width: 1.5; stroke-opacity: 0.75; }
.lines .l-ember { stroke: var(--ember); stroke-width: 1.2; stroke-opacity: 0.55; }
.lines .l-faint { stroke: var(--teal); stroke-width: 1; stroke-opacity: 0.45; }
.lines circle { fill: var(--bg); stroke-width: 1.5; }
.lines .n-teal { stroke: var(--teal); }
.lines .n-forest { stroke: var(--forest); }
.lines .n-ember { stroke: var(--ember); }
.band--cream .lines circle { fill: var(--cream); }
@keyframes draw { from { stroke-dashoffset: 2400; } to { stroke-dashoffset: 0; } }
@keyframes node { from { opacity: 0; transform: scale(0.4); } to { opacity: 1; transform: none; } }
.lines circle { transform-box: fill-box; transform-origin: center; }

/* Page head: a cream band with the page title. */

.page-head {
  position: relative;
  overflow: hidden;
  background: var(--cream);
  border-bottom: 1px solid var(--cream-rule);
}
.page-head .wrap { position: relative; padding-top: 1.25rem; padding-bottom: 2.25rem; }
.page-head h1 { margin-bottom: 0.625rem; }
.page-head .lede { margin-bottom: 0; }
.page-head .status-line { margin-top: 0.75rem; }
.page-head .lines { left: 38%; width: 62%; }

.page { padding: 1.75rem 0 4rem; }

.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
  font-size: 0.875rem;
  color: var(--muted);
}
.crumbs li + li::before {
  content: "/";
  margin: 0 0.5rem;
  color: var(--faint);
}
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--action); text-decoration: underline; }
.crumbs a[aria-current="page"] { color: var(--ink); }

.lede {
  font-size: 1.125rem;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 40em;
}

.prov {
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.prov > span {
  display: inline-block;
  max-width: 100%;
  overflow-wrap: anywhere;
}
.small { font-size: 0.875rem; color: var(--muted); }

.i-ext {
  width: 0.8em;
  height: 0.8em;
  margin-left: 0.2em;
  vertical-align: -0.05em;
  opacity: 0.8;
}

/* Buttons and badges ----------------------------------------------------- */

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  margin: 1.25rem 0 0.75rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  min-height: 3rem;
  padding: 0 1.5rem;
  border: 0;
  border-radius: var(--radius);
  background: var(--action);
  color: var(--on-accent);
  font: inherit;
  font-weight: 650;
  letter-spacing: 0.01em;
  text-decoration: none;
  box-shadow: var(--shadow-action);
  cursor: pointer;
  transition: background-color 150ms ease-out, transform 150ms ease-out;
}
.btn:hover { background: var(--action-hover); color: var(--on-accent); transform: translateY(-1px); }
.btn:active { transform: none; }
.btn--quiet {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--rule-strong);
}
.btn--quiet:hover { background: transparent; color: var(--action); box-shadow: inset 0 0 0 1px var(--ink); }
.go {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  min-height: 2.75rem;
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}
.go::after {
  content: "";
  width: 0.45em;
  height: 0.45em;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 150ms ease-out;
}
.go:hover { color: var(--action); }
.go:hover::after { transform: translateX(3px) rotate(45deg); }

.tag,
.status {
  display: inline-flex;
  align-items: center;
  min-height: 1.5rem;
  padding: 0 0.625rem;
  border-radius: var(--radius);
  font-size: 0.8125rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  line-height: 1.5;
  white-space: nowrap;
}
.tag--yes, .status--complete { background: var(--yes-bg); color: var(--yes); }
.tag--no { background: var(--no-bg); color: var(--no); }
.tag--unk, .status--not-found { background: var(--unk-bg); color: var(--unk); }
.status--partial { background: var(--warn-bg); color: var(--warn); }

.nf {
  display: inline-block;
  padding: 0 0.5625rem;
  border: 1px dashed var(--faint);
  border-radius: var(--radius);
  color: var(--ink-2);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.6;
}

.card {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

.quote {
  margin: 0.375rem 0 0.5rem;
  padding: 0.625rem 0.875rem;
  border-radius: var(--radius);
  background: var(--sunk);
  color: var(--ink);
  font-size: 0.9375rem;
  line-height: 1.6;
}
.values { font-weight: 600; font-variant-numeric: tabular-nums; }
.checked { color: var(--forest); font-size: 0.8125rem; font-weight: 650; }

/* Landing ---------------------------------------------------------------- */

.w-landing .page { padding: 0; }
.w-landing .page > .wrap { max-width: none; padding: 0; }

.hero {
  position: relative;
  overflow: hidden;
  padding: 2.5rem 0 3.5rem;
}
.hero::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 13rem;
  bottom: 2rem;
  background: var(--cream);
}
.hero .lines { display: none; }
.hero::before { display: none; }
.hero-card {
  position: relative;
  margin: 0 -1rem;
  padding: 2rem 1rem;
  background: var(--cream);
}
.hero-grid {
  position: relative;
  display: grid;
  gap: 2.5rem;
  max-width: var(--w-page);
  margin: 0 auto;
  padding: 0 1rem;
}
.hero h1 {
  font-size: 2.375rem;
  line-height: 1.04;
  letter-spacing: -0.03em;
  margin: 0 0 1.25rem;
}
.hero .lede { margin-bottom: 1.5rem; }
.search { display: grid; gap: 0.5rem; margin: 0 0 1rem; }
.search label { font-size: 0.875rem; font-weight: 650; }
.search-row { display: flex; gap: 0.625rem; }
.search input {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 3rem;
  padding: 0 1rem;
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
}
.search input::placeholder { color: var(--faint); }
.search input:focus { outline: none; border-color: var(--action); }
.search input:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; }
.hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 1.25rem; font-size: 0.9375rem; color: var(--muted); }
.hero-meta p { margin: 0; }

.product {
  position: relative;
  align-self: start;
  overflow: hidden;
  border: 1px solid var(--rule);
  border-radius: var(--radius-img);
  background: var(--surface);
  box-shadow: var(--shadow-float);
}
.product-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.5rem 1rem;
  padding: 1.125rem 1.25rem;
  border-bottom: 1px solid var(--rule);
}
.product-name {
  display: block;
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--ink);
  text-decoration: none;
}
.product-name:hover { color: var(--action); }
.product-rows { margin: 0; padding: 1.125rem 1.25rem 0.5rem; }
.product-row { margin: 0 0 0.875rem; }
.product-row dt {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9375rem;
  font-weight: 600;
}
.product-row dd { margin: 0; }
.product-row .quote { margin-bottom: 0.25rem; font-size: 0.875rem; }
.product-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.25rem 1rem;
  padding: 0.75rem 1.25rem;
  border-top: 1px solid var(--rule);
  background: var(--sunk);
  font-size: 0.875rem;
}

.stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem 1rem;
  max-width: var(--w-page);
  margin: 0 auto;
  padding: 1.5rem 1rem 3.5rem;
  list-style: none;
}
.stats li {
  display: grid;
  gap: 0.5rem;
  align-content: start;
  padding-top: 1rem;
  border-top: 1px solid var(--rule-strong);
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--muted);
}
.stats strong {
  font-family: var(--display);
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.feature {
  display: grid;
  gap: 2rem;
  align-items: center;
  max-width: var(--w-page);
  margin: 0 auto;
  padding: 3.5rem 1rem;
}
.feature h2,
.method h2,
.pro-band h2 { margin: 0 0 1rem; font-size: 1.875rem; line-height: 1.15; letter-spacing: -0.02em; }
.feature p { color: var(--ink-2); }
.stage {
  position: relative;
  overflow: hidden;
  padding: 1.5rem;
  border-radius: var(--radius-img);
}
.stage--mint { background: var(--mint); }
.stage--sky { background: var(--sky); }
.stage .lines circle { fill: var(--mint); }
.stage--sky .lines circle { fill: var(--sky); }
.stage > .card { position: relative; }
.mini {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  margin: 0;
  padding: 0.375rem 1.125rem;
  font-size: 0.875rem;
}
.mini > * { padding: 0.5625rem 0; border-bottom: 1px solid var(--rule); }
.mini > :nth-last-child(-n + 2) { border-bottom: 0; }
.mini dd { margin: 0; justify-self: end; padding-left: 0.75rem; }
.preview-wrap { overflow-x: auto; }
.preview {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8125rem;
}
.preview th,
.preview td { padding: 0.5rem 0.5rem; border-bottom: 1px solid var(--rule); text-align: left; white-space: nowrap; }
.preview tbody th { white-space: normal; min-width: 7rem; line-height: 1.35; }
.preview thead th { white-space: normal; hyphens: manual; vertical-align: bottom; }
@media (max-width: 47.99em) {
  .stage { padding: 1rem; }
  .preview th, .preview td { padding: 0.5rem 0.375rem; }
}
.preview thead th { background: var(--sunk); font-weight: 650; color: var(--ink-2); }
.preview tbody tr:last-child > * { border-bottom: 0; }
.preview tbody th { font-weight: 600; }

.method {
  max-width: var(--w-page);
  margin: 0 auto;
  padding: 3.5rem 1rem 4rem;
}
.method-cards {
  display: grid;
  gap: 1rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.method-cards li {
  padding: 1.375rem 1.5rem;
  counter-increment: step;
}
.method-cards li::before {
  content: "0" counter(step);
  display: block;
  margin-bottom: 0.625rem;
  font-family: var(--display);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--action);
}
.method-cards p { margin: 0; color: var(--ink-2); font-size: 0.9375rem; }
.coverage { margin-top: 2rem; }
.coverage summary {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  font-weight: 650;
  cursor: pointer;
}
.cov {
  width: 100%;
  max-width: 40rem;
  margin-top: 0.75rem;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}
.cov caption { padding: 0 0 0.5rem; text-align: left; font-weight: 650; }
.cov th, .cov td { padding: 0.5rem 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.cov th { padding-right: 1rem; text-align: left; font-weight: 500; color: var(--ink-2); }
.cov td { text-align: right; font-weight: 650; white-space: nowrap; }
.prov-line {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.25rem 1rem;
  max-width: 40rem;
  margin: 0.5rem 0 1rem;
}
.measure {
  max-width: 40rem;
  margin-top: 1rem;
  padding: 0.875rem 1rem;
  border-radius: var(--radius);
  background: var(--sunk);
  color: var(--ink);
  font-size: 0.9375rem;
}

.pro-band {
  position: relative;
  overflow: hidden;
  background: var(--cream);
  border-top: 1px solid var(--cream-rule);
}
.pro-band-grid {
  position: relative;
  display: grid;
  gap: 2rem;
  align-items: center;
  max-width: var(--w-page);
  margin: 0 auto;
  padding: 4rem 1rem;
}
.pro-band p { color: var(--ink-2); }
.price-card { padding: 1.5rem; }
.price {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin: 0 0 0.75rem;
}
.price strong {
  font-family: var(--display);
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}
.price-card .btn { width: 100%; }

/* Operator page ---------------------------------------------------------- */

.status-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.375rem 0.875rem;
  margin: 0.25rem 0 0;
  font-size: 0.875rem;
  color: var(--muted);
}

.op-grid { display: grid; gap: 2.5rem; }
.op-main { min-width: 0; }
.op-main > section:first-child h2,
.op-main > .glance:first-child h2 { margin-top: 0.5rem; }
.op-side { display: grid; gap: 1rem; align-content: start; }
.side-card { padding: 1.25rem 1.375rem; }
.side-card h2 { margin: 0 0 0.625rem; font-size: 1.1875rem; }
.side-card .eyebrow { color: var(--muted); }
.side-card p:last-child { margin-bottom: 0; }
.side-card .btn { width: 100%; }

.tiles {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.625rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.tiles li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  min-height: 3.25rem;
  padding: 0.625rem 0.875rem;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--surface);
  font-size: 0.9375rem;
  font-weight: 550;
  line-height: 1.35;
}
.tiles a { color: var(--ink); text-decoration: none; }
.tiles a:hover { color: var(--action); text-decoration: underline; }
.tiles-sum { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 0.25rem 1rem; }
.tiles-sum h2 { margin: 0.5rem 0 1rem; }

.glance { margin-top: 2.5rem; }
.facts { margin: 0; display: grid; gap: 0.75rem; }
.fact {
  padding: 1rem 1.125rem;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}
.fact > dt {
  margin: 0 0 0.375rem;
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.fact > dd { margin: 0; }

.line { margin: 0 0 0.375rem; }
.line:last-child { margin-bottom: 0; }
.line.strong { font-weight: 650; }
.sub {
  margin: 0.875rem 0 0.25rem;
  font-size: 0.875rem;
  font-weight: 650;
  color: var(--ink-2);
}
.inline-label { font-weight: 600; margin-right: 0.25rem; }

a.doc { font-weight: 600; }

.docs { margin: 0; padding: 0; list-style: none; }
.docs li { padding: 0.3125rem 0; }
.docs--compact li { padding: 0.25rem 0; }
.group-date { margin-top: 0.5rem; }
.docs .prov,
.doclist .prov,
.dir .prov { display: block; margin-top: 0.0625rem; }
.docs--compact .prov { display: inline; margin: 0; }

/* Typed facts: the Ja answers read as cards, Nein and Nicht erkennbar as quiet rows. */
.typed { margin: 0; display: grid; gap: 0.625rem; }
.typed-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.375rem;
  padding: 0.875rem 1.125rem;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--surface);
}
.typed-row:has(.tag--yes) { box-shadow: var(--shadow-card); padding: 1.125rem 1.25rem; }
.typed-row:has(.tag--no),
.typed-row:has(.tag--unk) { background: var(--sunk); }
.typed-row dt { font-weight: 650; }
.typed-row dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.typed-row .tag { margin-bottom: 0.25rem; }
.legend-note { max-width: 46rem; font-size: 0.9375rem; color: var(--muted); }

.kinds { margin: 0; }
.kinds > div {
  display: grid;
  grid-template-columns: 7rem minmax(0, 1fr);
  gap: 0.75rem;
  padding: 0.375rem 0;
  border-top: 1px solid var(--rule);
}
.kinds dt { font-size: 0.9375rem; font-weight: 600; padding-top: 0.25rem; }
.kinds dd { margin: 0; min-width: 0; overflow-wrap: anywhere; hyphens: auto; }
.kinds dd > .nf { margin-top: 0.25rem; }

.contact {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.contact a {
  display: inline-block;
  padding: 0.5rem 0;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.more { margin: 0.25rem 0 0; }

.doclist { margin: 0; padding-left: 1.75rem; }
.doclist li { padding: 0.5rem 0; border-bottom: 1px solid var(--rule); }
.doclist li::marker { color: var(--muted); font-variant-numeric: tabular-nums; }

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.steps li {
  position: relative;
  padding: 0.875rem 0 0.875rem 3rem;
  border-bottom: 1px solid var(--rule);
  counter-increment: step;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0.875rem;
  display: grid;
  place-items: center;
  width: 1.875rem;
  height: 1.875rem;
  border-radius: var(--radius);
  background: var(--cream);
  color: var(--action);
  font-family: var(--display);
  font-size: 0.9375rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.pro-box {
  padding: 1.375rem 1.375rem 1.5rem;
  border: 1px solid var(--cream-rule);
  border-radius: var(--radius);
  background: var(--cream);
}
.pro-box h2 { margin: 0 0 0.5rem; font-size: 1.1875rem; }
.pro-box p { color: var(--ink-2); font-size: 0.9375rem; }
.pro-box p:last-child { margin-bottom: 0; }
.pro-box .actions { margin: 1rem 0 0.5rem; }
.pro-box .btn { width: 100%; }

.fix { margin-top: 0.5rem; font-size: 0.875rem; color: var(--muted); }
.m-cta { display: none; }

/* Directory ------------------------------------------------------------- */

.dir-tools { display: grid; gap: 1rem; margin: 0 0 1.5rem; }
.dir-filter { display: grid; gap: 0.5rem; max-width: 26rem; }
.dir-filter label { font-size: 0.875rem; font-weight: 650; }
.dir-filter input {
  min-height: 3rem;
  padding: 0 1rem;
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  font: inherit;
}
.dir-filter input:focus { outline: none; border-color: var(--action); }
.dir-filter input:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; }
.dir-empty { color: var(--muted); }
.az ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.az a {
  display: inline-grid;
  place-items: center;
  min-width: 2.75rem;
  min-height: 2.75rem;
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius);
  color: var(--ink);
  font-weight: 650;
  text-decoration: none;
}
.az a:hover { border-color: var(--ink); color: var(--action); }
.dir {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--rule-strong);
}
.dir li { padding: 0.875rem 0; border-bottom: 1px solid var(--rule); }
.dir a { font-weight: 650; }
.dir .land { margin-left: 0.5rem; font-size: 0.875rem; color: var(--muted); }

ul.plain { padding-left: 1.25rem; }
ul.plain li { margin-bottom: 0.5rem; }

/* Comparison ------------------------------------------------------------- */

.legend { max-width: 46rem; font-size: 0.9375rem; color: var(--muted); }

.cmp {
  display: flex;
  flex-direction: column;
  margin-top: 0.5rem;
  counter-reset: shown;
}
.filter-groups {
  order: 1;
  display: flex;
  flex-wrap: wrap;
  column-gap: 2rem;
}
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1rem;
  padding: 0;
  border: 0;
  min-width: 0;
}
.filters legend {
  float: left;
  width: 100%;
  margin: 0 0 0.5rem;
  padding: 0;
  font-size: 0.875rem;
  font-weight: 650;
  color: var(--ink-2);
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0 0.875rem 0 0.75rem;
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius);
  background: var(--surface);
  font-size: 0.9375rem;
  font-weight: 550;
  cursor: pointer;
  user-select: none;
}
.chip input {
  width: 1.125rem;
  height: 1.125rem;
  margin: 0;
  accent-color: var(--ink);
}
.chip:has(input:checked) { border-color: var(--ink); background: var(--ink); color: var(--bg); }
.chip:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
@supports not selector(:has(*)) {
  .filter-groups { display: none; }
}

.sortbar {
  order: 2;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.75rem;
  font-weight: 650;
  font-size: 0.875rem;
  color: var(--ink-2);
}
.sortbar select {
  min-height: 2.75rem;
  padding: 0 0.75rem;
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-weight: 500;
  font-size: 1rem;
}
.count {
  order: 3;
  margin: 0 0 0.75rem;
  font-size: 0.875rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.count-n::after { content: counter(shown); }
.table-wrap { order: 4; }

/* Filters work without JavaScript: checked chips hide rows through :has(). */
.cmp:has(#f-portal:checked) tbody tr:not([data-portal="ja"]),
.cmp:has(#f-tab:checked) tbody tr:not([data-tab="ja"]),
.cmp:has(#f-erg:checked) tbody tr:not([data-erg="ja"]),
.cmp:has(#f-wallbox:checked) tbody tr:not([data-wallbox="ja"]),
.cmp:has(#f-waermepumpe:checked) tbody tr:not([data-waermepumpe="ja"]),
.cmp:has(#f-pv:checked) tbody tr:not([data-pv="ja"]),
.cmp:has(#f-speicher:checked) tbody tr:not([data-speicher="ja"]),
.cmp:has(#f-eigen:checked) tbody tr:not([data-eigen="ja"]) {
  display: none;
}
.t-no {
  display: inline-flex;
  align-items: center;
  min-height: 1.5rem;
  padding: 0 0.625rem;
  border-radius: var(--radius);
  background: var(--no-bg);
  color: var(--no);
  font-size: 0.8125rem;
  font-weight: 650;
}

.cmp-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-variant-numeric: tabular-nums;
}
.cmp-table tbody tr { counter-increment: shown; }
.cmp-table tbody th a {
  font-weight: 650;
  overflow-wrap: anywhere;
}
.cmp-table tbody th a::after {
  content: "";
  display: inline-block;
  width: 0.45em;
  height: 0.45em;
  margin-left: 0.35em;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  vertical-align: 0.12em;
}
.row-note {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--muted);
}

button.sort {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  margin: 0;
  padding: 0.25rem 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
button.sort::after {
  content: "";
  flex: none;
  width: 0.4rem;
  height: 0.4rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-0.1rem) rotate(45deg);
  opacity: 0.35;
}
th[aria-sort="ascending"] button.sort::after { opacity: 1; transform: translateY(0.1rem) rotate(-135deg); }
th[aria-sort="descending"] button.sort::after { opacity: 1; }
th[aria-sort] button.sort { color: var(--action); }

/* Phones and tablets: every operator becomes a card. */
@media (max-width: 63.99em) {
  .cmp-table,
  .cmp-table tbody { display: block; }
  .cmp-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .cmp-table tbody tr {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas:
      "name name"
      "portal tab"
      "erg checked"
      "forms forms"
      "typed typed";
    gap: 0.625rem 1rem;
    margin: 0 0 0.75rem;
    padding: 0.875rem 1rem 1rem;
    border: 1px solid var(--rule);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow-card);
  }
  .cmp-table tbody th,
  .cmp-table tbody td {
    display: block;
    min-width: 0;
    padding: 0;
    text-align: left;
  }
  .cmp-table tbody th {
    grid-area: name;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--rule);
    font-size: 1.0625rem;
  }
  .cmp-table td[data-col="portal"] { grid-area: portal; }
  .cmp-table td[data-col="tab"] { grid-area: tab; }
  .cmp-table td[data-col="erg"] { grid-area: erg; }
  .cmp-table td[data-col="checked"] { grid-area: checked; }
  .cmp-table td[data-col="forms"] { grid-area: forms; }
  .cmp-table td[data-col="typed"] { grid-area: typed; }
  .cmp-table td[data-col="vorg"],
  .cmp-table td.t { display: none; }
  .typed-mini ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 0.375rem;
    margin: 0.125rem 0 0;
    padding: 0;
    list-style: none;
  }
  .typed-mini li {
    padding: 0.0625rem 0.5rem;
    border-radius: var(--radius);
    background: var(--yes-bg);
    color: var(--yes);
    font-size: 0.8125rem;
    font-weight: 650;
    hyphens: manual;
  }
  .typed-mini .none { color: var(--muted); font-weight: 500; }
  .cmp-table td[data-col="wallbox"],
  .cmp-table td[data-col="waermepumpe"],
  .cmp-table td[data-col="pv"],
  .cmp-table td[data-col="speicher"] { display: none; }
  .forms-mini ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.125rem 1rem;
    margin: 0;
    padding: 0;
    list-style: none;
    font-weight: 500;
  }
  .forms-mini .none { color: var(--muted); }
  .cmp-table td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 0.0625rem;
    font-size: 0.75rem;
    font-weight: 650;
    letter-spacing: 0.04em;
    line-height: 1.3;
    color: var(--muted);
    hyphens: manual;
  }
  .cmp-table td { font-size: 1rem; font-weight: 600; }
  .cmp-table td[data-col="checked"] { font-weight: 500; }
}
@media (min-width: 40em) and (max-width: 63.99em) {
  .cmp-table tbody {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }
  .cmp-table tbody tr { margin: 0; }
}

/* Wide screens: a real table with a sticky header. */
@media (min-width: 64em) {
  .sortbar,
  .cmp-table td.forms-mini,
  .cmp-table td.typed-mini { display: none; }
  /* Fifteen typed columns make the table wider than the page: it scrolls sideways inside its frame,
     the operator name stays in view. */
  .table-wrap {
    overflow-x: auto;
    border: 1px solid var(--rule);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow-card);
  }
  .cmp-table { min-width: 118rem; }
  .cmp-table tbody th,
  .cmp-table thead tr:first-child th:first-child {
    position: sticky;
    left: 0;
    z-index: 2;
    background: var(--surface);
  }
  .cmp-table tbody th { width: 16rem; }
  .cmp-table td.t,
  .cmp-table td[data-col="vorg"] { text-align: center; font-size: 0.875rem; font-weight: 600; }
  .cmp-table thead th.t { text-align: center; font-size: 0.8125rem; min-width: 4.5rem; }
  .cmp-table thead { position: sticky; top: 0; z-index: 1; }
  .cmp-table th,
  .cmp-table td {
    padding: 0.6875rem 0.75rem;
    border-bottom: 1px solid var(--rule);
    text-align: left;
    vertical-align: top;
  }
  .cmp-table thead th {
    background: var(--sunk);
    color: var(--ink-2);
    font-size: 0.8125rem;
    font-weight: 650;
    line-height: 1.3;
    vertical-align: bottom;
    hyphens: manual;
  }
  .cmp-table thead tr:last-child th,
  .cmp-table thead th[rowspan] { border-bottom: 1px solid var(--rule-strong); }
  .cmp-table thead th.group { text-align: center; border-bottom: 1px solid var(--rule); padding-bottom: 0.375rem; }
  .cmp-table th:first-child,
  .cmp-table td:first-child { padding-left: 1rem; }
  .cmp-table tbody th { font-weight: 600; }
  .cmp-table td[data-col="erg"],
  .cmp-table td[data-col="wallbox"],
  .cmp-table td[data-col="waermepumpe"],
  .cmp-table td[data-col="pv"],
  .cmp-table td[data-col="speicher"] { text-align: center; font-weight: 600; }
  .cmp-table thead th[data-sort-col="3"],
  .cmp-table thead th[data-sort-col="4"],
  .cmp-table thead th[data-sort-col="5"],
  .cmp-table thead th[data-sort-col="6"],
  .cmp-table thead th[data-sort-col="7"] { text-align: center; }
  .cmp-table tbody tr:hover > * { background: var(--row-hover); }
  .cmp-table tbody tr:last-child > * { border-bottom: 0; }
}

/* Footer ---------------------------------------------------------------- */

.site-footer {
  position: relative;
  overflow: hidden;
  padding: 2.25rem 0 2.75rem;
  border-top: 1px solid var(--cream-rule);
  background: var(--cream);
  font-size: 0.9375rem;
  color: var(--ink-2);
}
.site-footer .wrap { position: relative; }
.footer-brand {
  display: block;
  margin: 0 0 0.5rem;
  font-family: var(--display);
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.disclaimer { margin: 0 0 0.5rem; color: var(--ink); font-weight: 600; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.25rem;
  margin: 0 0 0.25rem;
  padding: 0;
  list-style: none;
}
.footer-links a { display: inline-flex; align-items: center; min-height: 2.75rem; }
.owner { margin: 0; color: var(--muted); }

/* Motion: sections rise into view where the browser supports scroll timelines. */
@supports (animation-timeline: view()) {
  .reveal {
    animation: rise linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 45%;
  }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .lines path, .lines circle, .reveal { animation: none !important; }
  .btn, .go::after { transition: none; }
}

/* Larger screens -------------------------------------------------------- */

@media (min-width: 48em) {
  .wrap { padding: 0 1.5rem; }
  h1 { font-size: 2.75rem; }
  h2 { font-size: 1.75rem; }
  .brand { font-size: 1.3125rem; }
  .main-nav a { padding: 0 0.75rem; font-size: 1rem; }
  .page-head .wrap { padding-top: 1.75rem; padding-bottom: 3rem; }
  .hero-grid, .stats, .feature, .method, .pro-band-grid { padding-left: 1.5rem; padding-right: 1.5rem; }
  .hero h1 { font-size: 3.25rem; }
  .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; }
  .stats strong { font-size: 2.75rem; }
  .method-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact--reg { grid-row: span 2; }
  .kinds > div { grid-template-columns: 7.5rem minmax(0, 1fr); }
  .typed-row { grid-template-columns: 17rem minmax(0, 1fr); gap: 1rem; }
  .dir-tools { grid-template-columns: minmax(0, 26rem) minmax(0, 1fr); align-items: end; }
}

@media (min-width: 64em) {
  .hero { padding: 4.5rem 0 5.5rem; }
  .hero::before { display: block; top: 26rem; bottom: 3rem; }
  .hero .lines { display: block; top: 26rem; left: 54%; width: 46%; height: calc(100% - 29rem); }
  .hero-card { margin: 0; padding: 0; background: none; }
  .hero-grid { grid-template-columns: minmax(0, 33rem) minmax(0, 1fr); gap: 5rem; align-items: center; }
  .hero h1 { font-size: 3.625rem; }
  .feature { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5rem; padding-top: 5rem; padding-bottom: 5rem; }
  .feature--flip .stage { order: -1; }
  .feature h2, .method h2, .pro-band h2 { font-size: 2.5rem; }
  .stage { padding: 2.5rem; }
  .stage--sky { padding: 2rem 1.5rem; }
  .pro-band-grid { grid-template-columns: minmax(0, 1fr) 27rem; gap: 5rem; padding-top: 5.5rem; padding-bottom: 5.5rem; }
  .op-grid { grid-template-columns: minmax(0, 1fr) 21rem; gap: 3.5rem; }
  .op-side { position: sticky; top: 1.5rem; }
  .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 47.99em) {
  .crumbs li:last-child { display: none; }
  .main-nav .nav-extra,
  .main-nav .nav-cta { display: none; }
  .m-cta {
    position: sticky;
    bottom: 0;
    z-index: 4;
    display: grid;
    gap: 0.25rem;
    margin: 2rem -1rem 0;
    padding: 0.75rem 1rem 1rem;
    border-top: 1px solid var(--rule);
    background: var(--bg);
    box-shadow: rgba(37, 34, 30, 0.08) 0 -8px 24px -12px;
    text-align: center;
  }
  .m-cta .btn { width: 100%; }
  .bar { padding: 0.25rem 0; }
  .search-row { flex-direction: column; }
  .search-row .btn { width: 100%; }
}

/* Print is always plain black on white. */
@media print {
  :root {
    --bg: #ffffff;
    --surface: #ffffff;
    --sunk: #ffffff;
    --cream: #ffffff;
    --ink: #000000;
    --ink-2: #222222;
    --muted: #444444;
    --rule: #bbbbbb;
    --rule-strong: #666666;
    --accent: #000000;
    --accent-hover: #000000;
    --row-hover: #ffffff;
    --yes: #000000;
    --yes-bg: #ffffff;
    --no: #000000;
    --no-bg: #ffffff;
    --unk: #000000;
    --unk-bg: #ffffff;
    --warn: #000000;
    --warn-bg: #ffffff;
  }
  .site-header, .notice, .skip, .pro-box, .pro-band, .filter-groups, .sortbar, .fix, .lines, .op-side, .search { display: none !important; }
  body { font-size: 11pt; }
  a.doc::after, .steps a[href^="http"]::after {
    content: " (" attr(href) ")";
    font-size: 0.85em;
    font-weight: 400;
    word-break: break-all;
  }
}
