/* lesvinciunas.de redesign
   System: IBM Carbon (knowledge/design-md/ibm/DESIGN.md) as the base grammar:
   flat, square corners (0-2px), 1px hairlines instead of shadows, one accent.
   Adapted to a "Schaltplan" world: drafting paper, DIN lettering, schematic
   symbols after DIN EN 60617. Palette is 5 hex values, nothing else is raw. */

@font-face { font-family: "D-DIN"; src: url("../fonts/ddin-bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "D-DIN Condensed"; src: url("../fonts/ddin-cond-bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("../fonts/plex-sans-var.woff2") format("woff2"); font-weight: 400 600; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("../fonts/plex-mono-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

:root {
  /* the five */
  --paper: #F3F2ED;     /* drafting paper */
  --ink: #16181B;       /* pencil ink, text, rules that matter */
  --graphite: #565A60;  /* secondary text, input borders */
  --rule: #CBC7BC;      /* decorative 1px hairlines only */
  --signal: #F2B300;    /* the call button. Nothing else. */

  /* derived, never new hues */
  --paper-deep: color-mix(in srgb, var(--ink) 4%, var(--paper));
  --paper-lift: color-mix(in srgb, #fff 55%, var(--paper));
  --ink-soft: color-mix(in srgb, var(--ink) 8%, transparent);

  --f-display: "D-DIN", "DIN Alternate", "Bahnschrift", "Arial Narrow", sans-serif;
  --f-cond: "D-DIN Condensed", "D-DIN", "Bahnschrift Condensed", "Arial Narrow", sans-serif;
  --f-body: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px; --s10: 128px;
  --gutter: clamp(20px, 4vw, 48px);
  --max: 1240px;
  --header-h: 68px;
  --bar-h: 64px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --z-header: 20; --z-bar: 30; --z-skip: 40;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 1.0625rem/1.6 var(--f-body);
  font-feature-settings: "kern", "liga";
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  hyphens: manual; -webkit-hyphens: manual; overflow-wrap: break-word;
}
p, li, dd, figcaption, blockquote { text-wrap: pretty; }
.nw { white-space: nowrap; }
@media (max-width: 719px) {
  .prose p, .prose li, .dir__desc, .faq details p, .quote-grid p, .refs__item p, .flow__step p, .post p {
    hyphens: auto; -webkit-hyphens: auto; hyphenate-limit-chars: 12 5 5;
  }
}
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
a:hover { text-decoration-thickness: 2px; }
::selection { background: var(--ink); color: var(--paper); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.btn--call:focus-visible { outline-offset: 2px; box-shadow: 0 0 0 2px var(--paper) inset; }
html { scrollbar-color: var(--graphite) var(--paper-deep); }

.skip { position: absolute; left: var(--s4); top: -100px; z-index: var(--z-skip); background: var(--ink); color: var(--paper); padding: var(--s3) var(--s4); text-decoration: none; }
.skip:focus { top: var(--s3); }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- type ---------- */
.h1 { font-family: var(--f-cond); font-weight: 700; text-transform: uppercase; font-size: clamp(3.1rem, 8.4vw, 7.25rem); line-height: 0.9; letter-spacing: -0.01em; text-wrap: balance; hyphens: manual; }
.h2 { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.85rem, 3.4vw, 2.75rem); line-height: 1.06; letter-spacing: -0.02em; text-wrap: balance; hyphens: manual; }
.h3 { font-family: var(--f-display); font-weight: 700; font-size: 1.25rem; line-height: 1.2; letter-spacing: -0.005em; text-wrap: balance; }
.lede { font-size: clamp(1.125rem, 1.5vw, 1.3rem); line-height: 1.5; max-width: 38ch; hyphens: manual; }
.h3, .dir__name, .quote-lead, .rating, .faq summary, .refs__item h4, .spec dd, .contact__facts dd { hyphens: manual; }
.muted { color: var(--graphite); }
.mono { font-family: var(--f-mono); font-weight: 500; font-size: 0.8125rem; letter-spacing: 0.01em; font-variant-numeric: tabular-nums slashed-zero; }
.measure { max-width: 62ch; }

/* ---------- buttons ---------- */
.btn {
  --h: 52px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h); padding: 0 22px; border: 1px solid var(--ink); border-radius: 2px;
  font: 600 1rem/1 var(--f-body); letter-spacing: 0.005em; text-decoration: none; white-space: nowrap;
  cursor: pointer; touch-action: manipulation;
  transition: background-color 160ms var(--ease-out), color 160ms var(--ease-out), transform 120ms var(--ease-out);
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--call { background: var(--signal); color: var(--ink); border-color: var(--signal); }
.btn--call:hover { background: color-mix(in srgb, var(--signal) 86%, var(--ink)); border-color: color-mix(in srgb, var(--signal) 86%, var(--ink)); }
.btn--line { background: transparent; color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--paper); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: color-mix(in srgb, var(--ink) 82%, var(--paper)); }
.btn--sm { --h: 44px; padding: 0 16px; font-size: 0.9375rem; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: var(--z-header); background: color-mix(in srgb, var(--paper) 94%, transparent); border-bottom: 1px solid var(--rule); }
@supports (backdrop-filter: blur(8px)) { .site-header { backdrop-filter: saturate(1.2) blur(10px); -webkit-backdrop-filter: saturate(1.2) blur(10px); } }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: var(--s5); min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: var(--s3); min-height: 44px; text-decoration: none; }
.brand__mark { width: 34px; height: 34px; flex: none; }
.brand__name { display: block; font: 700 1.1875rem/1 var(--f-display); letter-spacing: -0.005em; }
.brand__role { display: block; margin-top: 3px; font-size: 0.8125rem; line-height: 1.2; color: var(--graphite); }
.nav { display: flex; align-items: center; gap: var(--s6); }
.nav__list { display: flex; gap: var(--s5); }
.nav__list a { display: inline-flex; align-items: center; min-height: 44px; font-size: 0.9375rem; font-weight: 500; text-decoration: none; background: linear-gradient(var(--ink), var(--ink)) no-repeat left calc(50% + 0.85em) / 0 1px; transition: background-size 200ms var(--ease-out); }
.nav__list a:hover, .nav__list a:focus-visible { background-size: 100% 1px; }
.nav-toggle { display: none; }

@media (max-width: 959px) {
  :root { --header-h: 60px; }
  .nav { gap: var(--s3); }
  .nav__call { display: none; }
  .nav-toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 1px solid var(--ink); border-radius: 2px; background: transparent; color: var(--ink); font: 600 0.9375rem/1 var(--f-body); cursor: pointer; }
  .nav-toggle__icon { width: 16px; height: 10px; position: relative; }
  .nav-toggle__icon::before, .nav-toggle__icon::after { content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform 200ms var(--ease-out); }
  .nav-toggle__icon::before { top: 1px; } .nav-toggle__icon::after { bottom: 1px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__icon::before { transform: translateY(3.5px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__icon::after { transform: translateY(-3.5px) rotate(-45deg); }
  .nav__list { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; background: var(--paper); border-bottom: 1px solid var(--ink); padding: var(--s2) var(--gutter) var(--s4); }
  .nav__list.is-open { display: flex; }
  .nav__list a { width: 100%; min-height: 52px; border-bottom: 1px solid var(--rule); font-size: 1.0625rem; background: none; }
  .no-js .nav__list { display: flex; position: static; flex-direction: row; flex-wrap: wrap; padding: 0; border: 0; }
  .no-js .nav-toggle { display: none; }
}
@media (max-width: 380px) { .brand__role { display: none; } }

/* ---------- hero ---------- */
.hero { padding-block: clamp(40px, 7vw, 88px) 0; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: end; }
.hero__copy { padding-bottom: var(--s2); }
.hero__copy .lede { margin-top: var(--s6); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s6); }
.hero__byline { display: none; }

.plate { position: relative; margin: 0; }
.plate__frame { position: relative; border: 1px solid var(--ink); padding: 10px; background: var(--paper-lift); }
.plate__frame img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; filter: saturate(0.9) contrast(1.02); }
/* crop marks at the four corners, like a print sheet */
.plate__frame::before, .plate__frame::after { content: ""; position: absolute; width: 18px; height: 18px; pointer-events: none; }
.plate__frame::before { left: -10px; top: -10px; border-left: 1px solid var(--ink); border-top: 1px solid var(--ink); transform: translate(-6px, -6px); }
.plate__frame::after { right: -10px; bottom: -10px; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); transform: translate(6px, 6px); }
.plate figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px var(--s4); margin-top: var(--s3); font-size: 0.875rem; color: var(--graphite); }
.plate figcaption strong, .plate figcaption span { white-space: nowrap; }
.plate figcaption strong { color: var(--ink); font-weight: 600; }

/* the circuit: fuse, switch, lamp. The wire runs, the switch closes, the lamp comes on. Once. */
.circuit { display: flex; align-items: center; margin-top: clamp(32px, 5vw, 56px); color: var(--ink); }
.c-sym { flex: none; height: 56px; overflow: visible; fill: none; stroke: currentColor; stroke-width: 1.5; }
.c-fuse { width: 56px; } .c-switch { width: 76px; } .c-lamp { width: 84px; }
.c-wire { flex: 1 1 auto; height: 1.5px; background: currentColor; transform-origin: left center; }
.c-blade { transform-box: view-box; transform-origin: 20px 28px; }
@media (prefers-reduced-motion: no-preference) {
  .c-wire--1 { transform: scaleX(0); animation: wire 700ms var(--ease-out) 200ms forwards; }
  .c-blade { transform: rotate(-26deg); animation: close 240ms cubic-bezier(0.5, 0, 0.75, 0) 950ms forwards; }
  .c-wire--2 { transform: scaleX(0); animation: wire 700ms var(--ease-out) 1200ms forwards; }
  .c-rays { opacity: 0; animation: on 360ms ease-out 1850ms forwards; }
}
@keyframes wire { to { transform: scaleX(1); } }
@keyframes close { to { transform: rotate(0deg); } }
@keyframes on { to { opacity: 1; } }

/* ---------- rating line ---------- */
.rating { border-block: 1px solid var(--ink); margin-top: 0; }
.rating .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s3) var(--s6); padding-block: var(--s5); }
.rating__score { display: flex; align-items: center; gap: var(--s4); }
.stars { display: inline-flex; gap: 3px; }
.stars svg { width: 18px; height: 18px; fill: var(--ink); }
.rating__num { font: 700 1.75rem/1 var(--f-display); font-variant-numeric: lining-nums; letter-spacing: -0.01em; }
.rating__text { font-size: 1rem; }
.rating__facts { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s6); color: var(--graphite); font-size: 0.9375rem; }
.rating__facts b { color: var(--ink); font-weight: 600; }
.rating a { font-weight: 600; }

/* ---------- sections ---------- */
.section { padding-block: clamp(72px, 9vw, 128px); }
.section + .section { border-top: 1px solid var(--rule); }
.section__head { max-width: 760px; }
.section__head p { margin-top: var(--s5); }

/* ---------- Leistungen: a circuit directory ---------- */
.svc { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.svc__aside { position: sticky; top: calc(var(--header-h) + 32px); }
.svc__aside p { margin-top: var(--s5); }
.svc__photo { margin-top: var(--s7); }
.svc__photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border: 1px solid var(--rule); }
.caption { margin-top: var(--s2); font-size: 0.8125rem; color: var(--graphite); }
.dir + .dir { margin-top: var(--s8); }
.dir__title { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s4); padding-bottom: var(--s3); border-bottom: 1px solid var(--ink); }
.dir__title .mono { color: var(--graphite); }
.dir__row > a {
  display: grid; grid-template-columns: 52px 48px minmax(0, 1fr) 20px; gap: var(--s4); align-items: center;
  padding: var(--s5) 0; border-bottom: 1px solid var(--rule); text-decoration: none;
  transition: background-color 180ms var(--ease-out);
}
.dir__id { display: inline-grid; place-items: center; height: 28px; border: 1px solid var(--ink); font-family: var(--f-mono); font-weight: 500; font-size: 0.8125rem; transition: background-color 180ms var(--ease-out), color 180ms var(--ease-out); }
.dir__sym { width: 44px; height: 44px; color: var(--ink); }
.dir__sym use, .dir__sym * { fill: none; stroke: currentColor; stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.dir__name { display: block; font: 700 1.1875rem/1.2 var(--f-display); }
.dir__desc { display: block; margin-top: 4px; color: var(--graphite); font-size: 0.9688rem; line-height: 1.5; }
.dir__go { width: 20px; height: 20px; stroke: var(--ink); fill: none; stroke-width: 1.5; }
.dir__row > a:hover, .dir__row > a:focus-visible { background: var(--paper-deep); }
.dir__row > a:hover .dir__id, .dir__row > a:focus-visible .dir__id { background: var(--ink); color: var(--paper); }
.inline-cta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3) var(--s4); margin-top: var(--s7); padding: var(--s5); border: 1px solid var(--ink); }
.inline-cta p { flex: 1 1 260px; font-weight: 500; }

/* ---------- Ablauf: one line, four terminals ---------- */
.flow { position: relative; margin-top: var(--s8); }
.flow__steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s6); }
.flow--n3 .flow__steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.flow--n5 .flow__steps { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--s5); }
.flow-sec .flow { margin-top: var(--s7); }
.flow__step--ext .flow__node { border-style: dashed; }
.flow__step--ext .flow__node::after { display: none; }
.flow__step--ext h3, .flow__step--ext p { color: var(--graphite); }
.flow::before { content: ""; position: absolute; left: 0; right: 0; top: 11px; height: 1px; background: var(--rule); }
.flow__line { position: absolute; left: 0; right: 0; top: 11px; height: 2px; margin-top: -0.5px; background: var(--ink); transform-origin: left center; }
.flow__step { position: relative; padding-top: var(--s7); }
.flow__node { position: absolute; top: 0; left: 0; width: 23px; height: 23px; border: 1.5px solid var(--ink); border-radius: 50%; background: var(--paper); }
.flow__node::after { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: var(--ink); }
.flow__step h3 { margin-bottom: var(--s3); }
.flow__step p { color: var(--graphite); font-size: 1rem; max-width: 30ch; }
@media (prefers-reduced-motion: no-preference) {
  .js .flow__line { transform: scaleX(0); transition: transform 1100ms var(--ease-out); }
  .js .flow__node::after { transform: scale(0); transition: transform 260ms var(--ease-out); }
  .js .flow.is-in .flow__line { transform: scaleX(1); }
  .js .flow.is-in .flow__step:nth-child(1) .flow__node::after { transition-delay: 0ms; transform: scale(1); }
  .js .flow.is-in .flow__step:nth-child(2) .flow__node::after { transition-delay: 300ms; transform: scale(1); }
  .js .flow.is-in .flow__step:nth-child(3) .flow__node::after { transition-delay: 600ms; transform: scale(1); }
  .js .flow.is-in .flow__step:nth-child(4) .flow__node::after { transition-delay: 900ms; transform: scale(1); }
  .js .flow.is-in .flow__step:nth-child(5) .flow__node::after { transition-delay: 1200ms; transform: scale(1); }
}

/* ---------- Profil ---------- */
.about { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.about__text p + p { margin-top: var(--s4); }
.about__text .lede { max-width: 40ch; margin-top: var(--s5); }
.about__text .h2 + p { margin-top: var(--s5); }
.spec { margin-top: var(--s7); border-top: 1px solid var(--ink); }
.spec div { display: grid; grid-template-columns: 13ch minmax(0, 1fr); gap: var(--s4); padding: var(--s3) 0; border-bottom: 1px solid var(--rule); }
.spec dt { color: var(--graphite); font-size: 0.9375rem; }
.spec dd { font-weight: 500; }
.about__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 30% 50%; border: 1px solid var(--rule); }
@media (prefers-reduced-motion: no-preference) {
  .js .about__media img { clip-path: inset(0 0 100% 0); transition: clip-path 1200ms var(--ease-out); }
  .js .about__media.is-in img { clip-path: inset(0 0 0 0); }
}
.refs { margin-top: var(--s8); }
.refs__list { margin-top: var(--s5); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.refs__item { padding: var(--s5) var(--s5) var(--s5) 0; }
.refs__item + .refs__item { padding-left: var(--s5); border-left: 1px solid var(--rule); }
.refs__item h4 { font: 700 1.125rem/1.25 var(--f-display); margin: 0 0 var(--s3); }
.refs__item p { color: var(--graphite); font-size: 0.9688rem; }

/* ---------- Bewertungen ---------- */
.reviews { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); margin-top: var(--s8); align-items: start; }
.quote-lead blockquote p { font: 700 clamp(1.5rem, 2.4vw, 2rem)/1.22 var(--f-display); letter-spacing: -0.015em; text-wrap: pretty; }
.quote-lead blockquote p::before { content: "\201E"; }
.quote-lead blockquote p::after { content: "\201C"; }
.quote-lead footer { margin-top: var(--s5); }
.who { display: block; font-weight: 600; }
.who-meta { display: block; font-size: 0.875rem; color: var(--graphite); }
.quote-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.quote-grid li { padding: var(--s5) var(--s5) var(--s5) 0; border-bottom: 1px solid var(--rule); }
.quote-grid li:nth-child(even) { padding-left: var(--s5); border-left: 1px solid var(--rule); }
.quote-grid blockquote p { font-size: 1rem; line-height: 1.55; }
.quote-grid blockquote p::before { content: "\201E"; }
.quote-grid blockquote p::after { content: "\201C"; }
.quote-grid footer { margin-top: var(--s3); }
.quote-grid .stars svg { width: 13px; height: 13px; }
.quote-grid .stars { margin-bottom: var(--s3); }
.reviews__more a { display: inline-flex; min-height: 44px; align-items: center; }
.reviews__more { margin-top: var(--s4); display: flex; flex-wrap: wrap; gap: var(--s3) var(--s5); align-items: center; }

/* ---------- Einsatzgebiet ---------- */
.rail { margin-top: var(--s7); color: var(--ink); }
.rail svg { width: 100%; height: auto; }
.rail .st { fill: none; stroke: currentColor; stroke-width: 1.25; vector-effect: non-scaling-stroke; }
.rail .thin { stroke: var(--graphite); stroke-width: 1; }
.rail .car { fill: var(--paper); stroke: currentColor; stroke-width: 1.25; vector-effect: non-scaling-stroke; }
.rail .lbl { font: 500 13px var(--f-mono); fill: var(--ink); }
.rail .lbl--muted { fill: var(--graphite); }
@media (prefers-reduced-motion: no-preference) {
  .js .rail .train { transform: translateX(-560px); transition: transform 2600ms var(--ease-out); }
  .js .rail.is-in .train { transform: translateX(0); }
}
.area { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); margin-top: var(--s7); }
.area h3 { padding-bottom: var(--s3); border-bottom: 1px solid var(--ink); }
.area ul { margin-top: var(--s3); columns: 3; column-gap: var(--s6); }
.area li { padding: 6px 0; break-inside: avoid; }
.area .wide ul { columns: 3; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.faq__list { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { display: grid; grid-template-columns: minmax(0, 1fr) 24px; gap: var(--s4); align-items: center; min-height: 64px; padding: var(--s4) 0; cursor: pointer; list-style: none; font: 700 1.1875rem/1.3 var(--f-display); text-wrap: balance; }
.faq summary:focus-visible { outline-offset: 2px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
.pm { position: relative; width: 16px; height: 16px; justify-self: end; }
.pm::before, .pm::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; margin-top: -0.75px; background: var(--ink); transition: transform 220ms var(--ease-out); }
.pm::after { transform: rotate(90deg); }
details[open] .pm::after { transform: rotate(0deg); }
.faq__aside p { margin-top: var(--s5); max-width: 32ch; }
.faq details p { padding: 0 var(--s7) var(--s5) 0; color: var(--graphite); max-width: 64ch; }

/* ---------- Kontakt ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.direct { margin-top: var(--s6); display: grid; gap: var(--s3); max-width: 360px; }
.direct .btn { width: 100%; justify-content: flex-start; --h: 56px; }
.direct .btn span.hint { margin-left: auto; font-weight: 400; font-size: 0.875rem; opacity: 0.8; }
.contact__lede { margin-top: var(--s5); }
.contact__facts { margin-top: var(--s7); border-top: 1px solid var(--ink); }
.contact__facts div { display: grid; grid-template-columns: 12ch minmax(0, 1fr); gap: var(--s4); padding: var(--s3) 0; border-bottom: 1px solid var(--rule); }
.contact__facts dt { color: var(--graphite); font-size: 0.9375rem; }
.contact__note { margin-top: var(--s5); color: var(--graphite); font-size: 0.9375rem; max-width: 46ch; }

.form { border: 1px solid var(--ink); background: var(--paper-lift); padding: clamp(24px, 3.5vw, 48px); }
.form__title { margin-bottom: var(--s2); }
.form__intro { color: var(--graphite); font-size: 0.9688rem; margin-bottom: var(--s6); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s5); }
.field { display: grid; gap: 6px; margin-bottom: var(--s5); }
.field label { font-size: 0.9375rem; font-weight: 600; }
.field .opt { font-weight: 400; color: var(--graphite); }
.field input, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border: 0; border-bottom: 1px solid var(--graphite); border-radius: 0;
  background: var(--paper-deep); color: var(--ink); font: 400 1rem/1.5 var(--f-body);
  transition: border-color 150ms, box-shadow 150ms; -webkit-appearance: none; appearance: none;
}
.field textarea { min-height: 132px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--ink); box-shadow: inset 0 -2px 0 var(--ink), 0 0 0 2px var(--ink); }
.field input::placeholder, .field textarea::placeholder { color: var(--graphite); opacity: 1; }
.field[data-invalid] input, .field[data-invalid] textarea { box-shadow: inset 0 -2px 0 var(--ink); }
.field__err { font-size: 0.875rem; font-weight: 600; color: var(--ink); display: flex; gap: 6px; align-items: flex-start; }
.field__err::before { content: ""; flex: none; width: 14px; height: 14px; margin-top: 3px; border: 1.5px solid var(--ink); transform: rotate(45deg) scale(0.8); }
.field__help { font-size: 0.875rem; color: var(--graphite); margin: calc(-1 * var(--s3)) 0 var(--s5); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s4) var(--s5); margin-top: var(--s2); }
.form__legal { flex: 1 1 240px; font-size: 0.8438rem; color: var(--graphite); line-height: 1.5; }
.form__status { margin-top: var(--s5); padding: var(--s4); border: 1px solid var(--ink); font-weight: 500; }
.form__fail { display: none; margin-bottom: var(--s5); padding: var(--s4); border: 1px solid var(--ink); scroll-margin-top: 96px; }
.form__fail:target, .form__fail.is-shown { display: block; }
.form__fail:focus { outline: 2px solid var(--ink); outline-offset: 3px; }
.form__fail p { margin-bottom: var(--s4); }
.form__fail-actions { display: flex; flex-wrap: wrap; gap: var(--s2); }
.btn[aria-busy="true"] { opacity: 0.6; cursor: progress; }

/* ---------- footer: drawing title block (Schriftfeld) ---------- */
.site-footer { padding-block: var(--s9) var(--s7); border-top: 1px solid var(--rule); }
.titleblock { display: grid; grid-template-columns: 1.7fr 1.2fr 1.1fr 1.5fr; border: 1px solid var(--ink); }
.titleblock > div { padding: var(--s4) var(--s5); border-left: 1px solid var(--ink); min-width: 0; }
.titleblock > div:first-child { border-left: 0; }
.tb-label { display: block; font: 500 0.75rem/1.2 var(--f-mono); letter-spacing: 0.02em; color: var(--graphite); margin-bottom: 6px; }
.tb-name { font: 700 1.5rem/1.05 var(--f-display); letter-spacing: -0.01em; }
.titleblock a { display: inline-flex; min-height: 44px; align-items: center; }
.titleblock ul li { line-height: 1.4; }
.tb-cols { display: grid; grid-template-columns: repeat(2, max-content); grid-template-rows: repeat(4, auto); grid-auto-flow: column; column-gap: var(--s6); }
.tb-promise { margin-top: var(--s4); display: inline-block; padding: 3px 10px; border: 1px solid var(--ink); font-size: 0.875rem; font-weight: 600; }
@media (pointer: fine) and (min-width: 720px) { .titleblock a { min-height: 32px; } }
.footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s3); margin-top: var(--s4); font-size: 0.875rem; color: var(--graphite); }

/* ---------- subpages ---------- */
.h1--page { font-size: clamp(2.5rem, 5.6vw, 4.75rem); line-height: 0.95; }
.h4 { font: 700 1.125rem/1.25 var(--f-display); margin: 0 0 var(--s3); }
.more-link { margin-top: var(--s5); display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5); }
.more-link a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
.section--tight { padding-block: clamp(56px, 7vw, 96px); }

.crumbs { margin-bottom: var(--s6); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 0 var(--s2); font-size: 0.875rem; color: var(--graphite); }
.crumbs li { display: inline-flex; align-items: center; gap: var(--s2); }
.crumbs li + li::before { content: "/"; color: var(--rule); }
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; color: var(--graphite); }
.crumbs [aria-current] { color: var(--ink); display: block; align-self: center; }
.crumbs li[aria-current]::before { margin-right: var(--s2); }

.phero { padding-block: clamp(24px, 4vw, 48px) clamp(48px, 6vw, 80px); border-bottom: 1px solid var(--ink); }
.phero__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(32px, 5vw, 80px); align-items: end; }
.phero__grid--single { grid-template-columns: minmax(0, 1fr); }
.phero__grid--about { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); }
.phero .lede { margin-top: var(--s5); max-width: 46ch; }
.phero .hero__actions { margin-top: var(--s6); }

.symplate { margin: 0; border: 1px solid var(--ink); background: var(--paper-lift); }
.symplate__draw { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 10; border-bottom: 1px solid var(--ink); color: var(--ink);
  background-image: linear-gradient(var(--ink-soft) 1px, transparent 1px), linear-gradient(90deg, var(--ink-soft) 1px, transparent 1px); background-size: 16px 16px; background-position: -1px -1px; }
.symplate__draw svg { width: 42%; height: auto; aspect-ratio: 1; fill: none; stroke: currentColor; stroke-width: 0.6; overflow: visible; }
.symplate__id { position: absolute; left: 12px; top: 12px; padding: 2px 8px; border: 1px solid var(--ink); background: var(--paper-lift); font: 500 0.8125rem/1.4 var(--f-mono); }
.symplate__table div { display: grid; grid-template-columns: 9rem minmax(0, 1fr); border-top: 1px solid var(--rule); }
.symplate__table div:first-child { border-top: 0; }
.symplate__table dt { padding: 8px 12px; font: 500 0.75rem/1.4 var(--f-mono); color: var(--graphite); border-right: 1px solid var(--rule); }
.symplate__table dd { padding: 8px 12px; font-size: 0.9375rem; font-weight: 500; }

.article-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.prose { max-width: 68ch; }
.prose h2 { font: 700 clamp(1.4rem, 2.2vw, 1.75rem)/1.15 var(--f-display); letter-spacing: -0.015em; margin: var(--s8) 0 var(--s4); hyphens: manual; text-wrap: balance; }
.prose h2:first-child { margin-top: 0; }
.prose p + p { margin-top: var(--s4); }
.prose ul, .prose ol { margin: var(--s4) 0 0; display: grid; gap: var(--s3); }
.prose p + ul, .prose ul + p, .prose ol + p { margin-top: var(--s4); }
.prose ul li { position: relative; padding-left: 26px; }
.prose ul li::before { content: ""; position: absolute; left: 2px; top: 0.62em; width: 7px; height: 7px; border: 1.5px solid var(--ink); }
.prose ol { counter-reset: n; }
.prose ol li { position: relative; padding-left: 40px; counter-increment: n; }
.prose ol li::before { content: counter(n); position: absolute; left: 0; top: 0.1em; display: inline-grid; place-items: center; width: 26px; height: 26px; border: 1px solid var(--ink); font: 500 0.8125rem/1 var(--f-mono); }
.note { margin-top: var(--s7); padding: var(--s5); border: 1px solid var(--ink); display: grid; gap: 6px; }
.note__label { font: 500 0.75rem/1.2 var(--f-mono); color: var(--graphite); }
.note a { font: 700 1.1875rem/1.25 var(--f-display); }
.note p { color: var(--graphite); font-size: 0.9688rem; }
.side { position: sticky; top: calc(var(--header-h) + 32px); }
.side__box { border: 1px solid var(--ink); padding: var(--s5); background: var(--paper-lift); }
.side__box p { margin-top: var(--s3); color: var(--graphite); font-size: 0.9688rem; }
.side__actions { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s5); }
.side__small { font-size: 0.9375rem; }
.side__small a { display: inline-flex; min-height: 44px; align-items: center; }
.promise { margin-top: var(--s7); padding: var(--s5); border: 1px solid var(--ink); }
.promise p { margin-top: var(--s3); color: var(--graphite); }

/* service page elements: tables, checklist, protocol sheet, split, document index */
.tbl-wrap { margin-top: var(--s5); overflow-x: auto; border-top: 1px solid var(--ink); }
.tbl { width: 100%; border-collapse: collapse; font-size: 0.9688rem; line-height: 1.45; }
.tbl th, .tbl td { padding: 12px 14px 12px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--rule); }
.tbl thead th { font: 500 0.75rem/1.3 var(--f-mono); color: var(--graphite); vertical-align: bottom; border-bottom: 1px solid var(--ink); }
.tbl tbody th { font-weight: 600; }
.tbl--cmp th, .tbl--cmp td { padding-left: 12px; }
.tbl--cmp th:first-child { padding-left: 0; }
.tbl .is-pick { background: var(--paper-deep); }
.tbl thead .is-pick { color: var(--ink); }
.tbl__tag { display: block; margin-top: 4px; font: 500 0.6875rem/1.2 var(--f-mono); color: var(--graphite); }
.tbl__big { font: 700 1.5rem/1 var(--f-display); margin-right: 2px; }
.tbl--fristen td { white-space: nowrap; }
.prose .tbl-wrap + p { margin-top: var(--s4); }
.prose ul.check { gap: 0; border-top: 1px solid var(--rule); }
.prose ul.check li { padding: var(--s3) 0 var(--s3) 36px; border-bottom: 1px solid var(--rule); }
.prose ul.check li::before { left: 0; top: calc(var(--s3) + 0.2em); width: 18px; height: 18px; border: 1.5px solid var(--ink); }
.sheet { margin-top: var(--s5); padding: var(--s5); border: 1px solid var(--ink); background: var(--paper-lift); }
.sheet .tbl-wrap { margin-top: 0; }
.tbl--sheet tbody th { font-weight: 500; }
.tbl__box { width: 6.5rem; text-align: center !important; padding-right: 0 !important; }
.tbl__box span { display: inline-block; width: 18px; height: 18px; border: 1px solid var(--ink); vertical-align: middle; }
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s5); margin-top: var(--s5); }
.split > div { border-top: 2px solid var(--ink); padding-top: var(--s4); }
.split__label { display: block; margin-bottom: var(--s2); font: 500 0.75rem/1.2 var(--f-mono); color: var(--graphite); }
.prose .split ul { margin-top: var(--s3); }
.split p { margin-top: var(--s2); color: var(--graphite); }
.prose ol.docs { counter-reset: none; gap: 0; margin-top: var(--s5); border-top: 1px solid var(--ink); }
.prose ol.docs li { counter-increment: none; display: flex; align-items: baseline; gap: var(--s4); padding: var(--s3) 0; border-bottom: 1px solid var(--rule); font-weight: 500; }
.prose ol.docs li::before { content: none; }
.docs__n { flex: none; width: 2.5rem; font: 500 0.8125rem/1 var(--f-mono); color: var(--graphite); }
.side { display: grid; gap: var(--s4); }
.side__box--prep { background: transparent; }
.prep { margin-top: var(--s3); display: grid; gap: var(--s2); font-size: 0.9688rem; }
.prep li { position: relative; padding-left: 22px; }
.prep li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 9px; height: 9px; border: 1.5px solid var(--ink); }
.phero--404 { border-bottom: 0; padding-top: clamp(48px, 8vw, 112px); }
.danke__lamp--off svg { stroke: var(--graphite); }
.kicker { color: var(--graphite); margin-bottom: var(--s3); }
.legal__dl { margin-top: var(--s4); border-top: 1px solid var(--ink); }
.legal__dl div { display: grid; grid-template-columns: 13rem minmax(0, 1fr); gap: var(--s4); padding: var(--s3) 0; border-bottom: 1px solid var(--rule); }
.legal__dl dt { color: var(--graphite); font-size: 0.9375rem; }

.related { border-top: 1px solid var(--rule); }
.related__list { margin-top: var(--s5); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.related__list a { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: var(--s3); height: 100%; padding: var(--s5) var(--s5) var(--s5) 0; text-decoration: none; transition: background-color 180ms var(--ease-out); }
.related__list li + li a { padding-left: var(--s5); border-left: 1px solid var(--rule); }
.related__list a:hover, .related__list a:focus-visible { background: var(--paper-deep); }
.related__list a:hover .dir__id, .related__list a:focus-visible .dir__id { background: var(--ink); color: var(--paper); }

.band { border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); background: var(--paper-deep); }
.band__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s5); padding-block: var(--s7); }
.band__text { font: 700 clamp(1.3rem, 2.2vw, 1.75rem)/1.2 var(--f-display); max-width: 30ch; hyphens: manual; text-wrap: balance; }
.band__actions { display: flex; flex-wrap: wrap; gap: var(--s3); }

.posts { border-top: 1px solid var(--ink); }
.post { display: grid; grid-template-columns: 11rem minmax(0, 1fr); column-gap: var(--s6); padding: var(--s6) 0; border-bottom: 1px solid var(--rule); }
.post time { grid-row: span 3; font: 500 0.8125rem/1.6 var(--f-mono); color: var(--graphite); }
.post__title { font: 700 clamp(1.35rem, 2.2vw, 1.75rem)/1.15 var(--f-display); letter-spacing: -0.015em; hyphens: manual; text-wrap: balance; }
.post__title a { text-decoration: none; }
.post__title a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.post p { margin-top: var(--s3); color: var(--graphite); max-width: 70ch; }
.post__svc a { font-weight: 600; color: var(--ink); }
.art-head { max-width: 900px; margin-bottom: var(--s8); }
.art-meta { margin-top: var(--s4); font-size: 0.9375rem; color: var(--graphite); }
.art-head .lede { margin-top: var(--s5); max-width: 56ch; }

.legal { margin-top: var(--s7); }
.legal__img { margin: var(--s4) 0 0; }
.legal__img img { border: 1px solid var(--rule); }
.legal__img + p { margin-top: var(--s4); }

.wide-figure { margin-top: var(--s7); }
.wide-figure img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; border: 1px solid var(--rule); }
@media (prefers-reduced-motion: no-preference) {
  .js .wide-figure img { clip-path: inset(0 0 100% 0); transition: clip-path 1200ms var(--ease-out); }
  .js .wide-figure.is-in img { clip-path: inset(0 0 0 0); }
}
.spec--top { margin-top: 0; }

.phero--danke { border-bottom: 0; padding-top: clamp(48px, 8vw, 112px); }
.danke { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: var(--s7); align-items: center; }
.danke__lamp svg { width: 140px; height: 140px; fill: none; stroke: var(--ink); stroke-width: 1.5; overflow: visible; }
@media (prefers-reduced-motion: no-preference) {
  .danke__rays { opacity: 0; animation: on 420ms ease-out 500ms forwards; }
}
.next { margin-top: var(--s8); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.next li { padding: var(--s5) var(--s5) var(--s5) 0; }
.next li + li { padding-left: var(--s5); border-left: 1px solid var(--rule); }
.next__n { display: inline-grid; place-items: center; width: 28px; height: 28px; border: 1px solid var(--ink); margin-bottom: var(--s4); }
.next p { margin-top: var(--s2); color: var(--graphite); }
.danke__more { margin-top: var(--s8); padding-top: var(--s6); border-top: 1px solid var(--rule); }
.danke__more .hero__actions { margin-top: var(--s4); }
.lost { margin-top: var(--s8); }
.lost__list { margin-top: var(--s4); columns: 3; column-gap: var(--s6); border-top: 1px solid var(--ink); padding-top: var(--s3); }
.lost__list a { display: inline-flex; min-height: 44px; align-items: center; }
.nav__list a[aria-current="page"] { background-size: 100% 1px; }

@media (max-width: 1023px) {
  .phero__grid, .phero__grid--about, .article-grid { grid-template-columns: minmax(0, 1fr); }
  .phero__aside { max-width: 480px; }
  .phero__grid--about .plate { max-width: 420px; }
  .side { position: static; }
  .related__list { grid-template-columns: minmax(0, 1fr); }
  .related__list li + li a { padding-left: 0; border-left: 0; }
  .related__list li + li { border-top: 1px solid var(--rule); }
  .lost__list { columns: 2; }
}
@media (max-width: 719px) {
  .phero .hero__actions .btn--call, .phero .hero__actions a[href^="https://wa.me"], .band__actions .btn--call, .band__actions a[href^="https://wa.me"] { display: none; }
  .phero .hero__actions:not(:has(a:not(.btn--call):not([href^="https://wa.me"]))) { display: none; }
  .phero--danke .hero__actions { display: flex; }
  .phero--danke .hero__actions .btn--call, .phero--danke .hero__actions a[href^="https://wa.me"] { display: inline-flex; }
  .phero__aside { display: none; }
  .post { grid-template-columns: minmax(0, 1fr); }
  .post time { grid-row: auto; }
  .band__inner { padding-block: var(--s6); }
  .danke { grid-template-columns: minmax(0, 1fr); gap: var(--s5); }
  .danke__lamp svg { width: 96px; height: 96px; }
  .next { grid-template-columns: minmax(0, 1fr); }
  .next li, .next li + li { padding: var(--s4) 0; border-left: 0; border-bottom: 1px solid var(--rule); }
  .crumbs { margin-bottom: var(--s3); }
  .lost__list { columns: 1; }
}


/* ---------- B2B pages: fact line, single-line diagram, exchange sheet, building section, stages ---------- */
.factline { max-width: 72ch; padding-top: var(--s4); border-top: 1px solid var(--ink); font: 700 clamp(1.15rem, 1.7vw, 1.4rem)/1.4 var(--f-display); letter-spacing: -0.005em; hyphens: manual; text-wrap: pretty; }
.factline__label { display: block; margin-bottom: var(--s3); color: var(--graphite); font-size: 0.75rem; }
.factline + * { margin-top: 0; }
.section--tight:has(> .wrap > .factline) { padding-block: clamp(40px, 5vw, 64px) 0; }
.section--tight:has(> .wrap > .factline) + .section { border-top: 0; }
.kenn__draw { aspect-ratio: 16 / 7; }
.kenn__draw svg { width: 26%; }
.symplate__draw svg * { vector-effect: non-scaling-stroke; }
.kenn .symplate__draw svg { stroke-width: 1.5; }
.section__sub { margin-top: var(--s4); }
.note__title { font: 700 1.1875rem/1.25 var(--f-display); }
.dir__title a { text-decoration: none; background: linear-gradient(var(--ink), var(--ink)) no-repeat left bottom / 100% 1px; }
.dir__title a:hover { background-size: 100% 2px; }

.sld { position: relative; margin-top: var(--s7); }
.sld__feed { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s6); }
.sld__node, .sld__branch a { position: relative; display: grid; align-content: start; gap: 4px; padding: var(--s4); border: 1px solid var(--ink); background: var(--paper-lift); }
.sld__node + .sld__node::before { content: ""; position: absolute; right: 100%; top: 50%; width: var(--s6); height: 2px; margin-top: -1px; background: var(--ink); }
.sld__tag { color: var(--graphite); font-size: 0.75rem; }
.sld__node strong, .sld__branch strong { font: 700 1.125rem/1.2 var(--f-display); }
.sld__node > span:last-child, .sld__branch a > span:not(.sld__tag) { color: var(--graphite); font-size: 0.9375rem; line-height: 1.45; }
.sld__bus { position: relative; display: block; height: 2px; margin-top: var(--s7); background: var(--ink); transform-origin: 84% center; }
.sld__bus::before { content: ""; position: absolute; bottom: 100%; left: calc((100% - 2 * var(--s6)) * 5 / 6 + 2 * var(--s6)); width: 2px; height: var(--s7); margin-left: -1px; background: var(--ink); }
.sld__branches { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--s3); margin-top: var(--s6); }
.sld__branch { position: relative; }
.sld__branch::before { content: ""; position: absolute; bottom: 100%; left: var(--s5); width: 2px; height: var(--s6); background: var(--ink); }
.sld__branch a { height: 100%; padding-bottom: var(--s7); text-decoration: none; background: var(--paper); transition: background-color 180ms var(--ease-out); }
.sld__branch a:hover, .sld__branch a:focus-visible { background: var(--paper-deep); }
.sld__branch .dir__go { position: absolute; right: var(--s4); bottom: var(--s4); }
@media (prefers-reduced-motion: no-preference) {
  .js .sld__bus { transform: scaleX(0); transition: transform 1000ms var(--ease-out) 200ms; }
  .js .sld.is-in .sld__bus { transform: scaleX(1); }
}

.xfer { display: grid; grid-template-columns: minmax(0, 1fr) 72px minmax(0, 1fr); align-items: center; margin-top: var(--s7); }
.xfer__col { align-self: stretch; padding: var(--s5); border: 1px solid var(--ink); }
.xfer__col + .xfer__mid + .xfer__col { background: var(--paper-lift); }
.xfer__label { display: block; margin-bottom: var(--s4); color: var(--graphite); font-size: 0.75rem; }
.xfer__list { counter-reset: x; border-top: 1px solid var(--ink); }
.xfer__list li { counter-increment: x; display: flex; gap: var(--s4); padding: var(--s3) 0; border-bottom: 1px solid var(--rule); font-weight: 500; }
.xfer__list li::before { content: counter(x, decimal-leading-zero); flex: none; width: 2rem; font: 500 0.8125rem/1.7 var(--f-mono); color: var(--graphite); }
.xfer__mid svg { width: 40px; height: 120px; margin-inline: auto; fill: none; stroke: var(--ink); stroke-width: 1.5; }

.sect { margin-top: var(--s7); }
.sect__body { --lvl: 4.5rem; --gap: var(--s5); --pad: 56px; position: relative; }
.sect__floor { display: grid; grid-template-columns: var(--lvl) minmax(0, 1fr) minmax(0, 1.3fr); column-gap: var(--gap); align-items: stretch; }
.sect__lvl { display: grid; place-items: center end; color: var(--graphite); font-size: 0.75rem; }
.sect__units { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2); min-height: 72px; padding: var(--s4) var(--s4) var(--s4) var(--pad); border-inline: 1.5px solid var(--ink); border-bottom: 1px solid var(--rule); }
.sect__floor:first-child .sect__units { border-top: 1.5px solid var(--ink); }
.sect__floor--kg .sect__units { border-top: 2px solid var(--ink); }
.sect__floor--kg .sect__units, .sect__floor--tg .sect__units { background: var(--paper-deep); }
.sect__floor:last-child .sect__units { border-bottom: 1.5px solid var(--ink); }
.sect__unit { display: inline-grid; place-items: center; min-width: 44px; height: 30px; padding: 0 6px; border: 1px solid var(--ink); background: var(--paper-lift); font: 500 0.75rem/1 var(--f-mono); }
.sect__note { align-self: center; padding-block: var(--s3); color: var(--graphite); font-size: 0.9688rem; max-width: 46ch; }
.sect__note strong { color: var(--ink); font-weight: 600; }
.sect__note a { display: inline-flex; min-height: 32px; align-items: center; color: var(--ink); font-weight: 600; }
.sect__riser { position: absolute; top: 0; bottom: 0; left: calc(var(--lvl) + var(--gap) + 26px); width: 2px; background: var(--ink); transform-origin: center bottom; z-index: 1; }
@media (prefers-reduced-motion: no-preference) {
  .js .sect__riser { transform: scaleY(0); transition: transform 1200ms var(--ease-out) 150ms; }
  .js .sect.is-in .sect__riser { transform: scaleY(1); }
}

.stages { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s5); margin-top: var(--s7); }
.stages__draw { border: 1px solid var(--ink); background: var(--paper-lift); padding: var(--s3); margin-bottom: var(--s4); }
.stages__draw svg { width: 100%; height: auto; }
.stages__n { display: block; margin-bottom: var(--s2); color: var(--graphite); font-size: 0.75rem; }
.stages p { margin-top: var(--s2); color: var(--graphite); font-size: 0.9688rem; }
.stages + .caption { margin-top: var(--s4); }
.g-wall { fill: none; stroke: var(--ink); stroke-width: 1.5; }
.g-thin { fill: none; stroke: var(--rule); stroke-width: 1; }
.g-trasse { fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-dasharray: 4 3; }
.g-trasse--on { stroke-dasharray: none; }
.g-box { fill: var(--paper); stroke: var(--ink); stroke-width: 1.25; }
.g-txt { font: 500 10px var(--f-mono); fill: var(--ink); text-anchor: middle; }
.g-feed { fill: none; stroke: var(--ink); stroke-width: 2; }
.g-cp { fill: var(--ink); }
@media (prefers-reduced-motion: no-preference) {
  .js .stages__item { opacity: 0; transform: translateY(12px); transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-out); }
  .js .stages.is-in .stages__item { opacity: 1; transform: none; }
  .js .stages.is-in .stages__item:nth-child(2) { transition-delay: 220ms; }
  .js .stages.is-in .stages__item:nth-child(3) { transition-delay: 440ms; }
}

.sources { border-top: 1px solid var(--rule); }
.sources p { margin-top: var(--s3); font-size: 0.9375rem; }
.sources__list { display: flex; flex-wrap: wrap; gap: 0 var(--s5); margin-top: var(--s3); }
.sources__list a { display: inline-flex; align-items: center; min-height: 44px; font: 500 0.875rem/1 var(--f-mono); }

@media (max-width: 1023px) {
  .sld__feed { grid-template-columns: minmax(0, 1fr); gap: var(--s5); max-width: 560px; }
  .sld__node + .sld__node::before { right: auto; left: var(--s5); top: auto; bottom: 100%; width: 2px; height: var(--s5); margin: 0; }
  .sld__bus { display: none; }
  .sld__branches { grid-template-columns: minmax(0, 1fr); gap: var(--s3); max-width: 560px; margin: 0 0 0 var(--s5); padding: var(--s5) 0 0 var(--s5); border-left: 2px solid var(--ink); }
  .sld__branch::before { bottom: auto; top: 50%; left: calc(-1 * var(--s5)); width: var(--s5); height: 2px; }
  .sld__branch a { padding-bottom: var(--s4); padding-right: var(--s7); }
  .sld__branch .dir__go { top: 50%; bottom: auto; margin-top: -10px; }
  .stages { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
}
@media (max-width: 719px) {
  .xfer { grid-template-columns: minmax(0, 1fr); gap: var(--s3); }
  .xfer__mid svg { width: 120px; height: 40px; transform: none; }
  .xfer__mid { display: none; }
  .sect__body { --lvl: 2.75rem; --gap: var(--s3); --pad: 44px; }
  .sect__floor { grid-template-columns: var(--lvl) minmax(0, 1fr); }
  .sect__lvl { place-items: start end; padding-top: var(--s4); }
  .sect__note { grid-column: 2; padding: var(--s2) 0 var(--s4) var(--pad); font-size: 0.9375rem; }
  .sect__units { min-height: 60px; padding-block: var(--s3); }
  .sect__riser { left: calc(var(--lvl) + var(--gap) + 20px); }
}

/* ---------- mobile call bar ---------- */
.callbar { display: none; }

/* ---------- responsive ---------- */
@media (max-width: 1023px) {
  .svc, .about, .reviews, .faq, .contact, .area { grid-template-columns: minmax(0, 1fr); }
  .svc__aside { position: static; }
  .svc__photo { margin-top: var(--s6); max-width: 560px; }
  .plate figcaption { flex-direction: column; gap: 2px; }
  .about__media { order: -1; }
  .about__media img { aspect-ratio: 16 / 10; }
  .titleblock { grid-template-columns: 1fr 1fr; }
  .titleblock > div:nth-child(3) { border-left: 0; }
  .titleblock > div:nth-child(n+3) { border-top: 1px solid var(--ink); }
  .flow--n5 .flow__steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: var(--s7); }
  .flow--n5 .flow::before, .flow--n5 .flow__line { display: none; }
  .side { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); align-items: start; }
}

@media (max-width: 719px) {
  :root { --gutter: 20px; }
  body { font-size: 1rem; padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom, 0px)); }
  .hero { padding-top: var(--s6); }
  .hero__grid { grid-template-columns: minmax(0, 1fr); gap: var(--s6); }
  .hero__copy { padding: 0; }
  .hero__copy .lede { margin-top: var(--s5); }
  .hero__actions { display: none; }   /* the bottom bar carries both actions in the thumb zone */
  .hero__byline { display: flex; align-items: center; gap: var(--s4); margin-top: var(--s5); }
  .hero__byline img { width: 64px; height: 64px; object-fit: cover; border: 1px solid var(--ink); }
  .hero__byline span { font-size: 0.9375rem; line-height: 1.35; }
  .hero__byline strong { display: block; font-weight: 600; }
  .hero__plate { display: none; }
  .circuit { margin-top: var(--s6); }
  .c-sym { height: 44px; } .c-fuse { width: 44px; } .c-switch { width: 60px; } .c-lamp { width: 66px; }
  .rating .wrap { flex-direction: column; align-items: flex-start; gap: var(--s3); padding-block: var(--s4); }
  .rating__score { flex-wrap: wrap; gap: var(--s2) var(--s4); }
  .rating__text { flex-basis: 100%; }
  .rating__facts { gap: var(--s1) var(--s5); font-size: 0.875rem; }
  .spec div, .contact__facts div { grid-template-columns: 6.5rem minmax(0, 1fr); }
  .legal__dl div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .crumbs li[aria-current]:not(:nth-child(2)) { display: none; }
  .side__actions { display: none; }
  .split { grid-template-columns: minmax(0, 1fr); }
  .flow--n5 .flow__steps, .flow--n3 .flow__steps { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
  .flow--n5 .flow::before, .flow--n5 .flow__line { display: block; }
  .sheet { padding: var(--s4); }
  .tbl { font-size: 0.9375rem; }
  .tbl__box { width: 4.5rem; }
  .section { padding-block: 64px; }
  .dir__row > a { grid-template-columns: 40px minmax(0, 1fr) 18px; gap: var(--s3); padding: var(--s4) 0; }
  .dir__sym { display: none; }
  .dir__id { height: 26px; font-size: 0.75rem; }
  .dir__name { font-size: 1.0625rem; }
  .dir__desc { font-size: 0.9375rem; }
  .flow { margin-top: var(--s6); }
  .flow__steps { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .flow::before, .flow__line { left: 11px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .flow__line { width: 2px; margin: 0 0 0 -0.5px; transform-origin: center top; }
  .js .flow__line { transform: scaleY(0); }
  .js .flow.is-in .flow__line { transform: scaleY(1); }
  .flow__step { padding: 0 0 var(--s6) 48px; }
  .flow__step:last-child { padding-bottom: 0; }
  .refs__list { grid-template-columns: minmax(0, 1fr); }
  .refs__item, .refs__item + .refs__item { padding: var(--s4) 0; border-left: 0; border-bottom: 1px solid var(--rule); }
  .reviews { margin-top: var(--s6); gap: var(--s6); }
  .quote-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); gap: var(--s3); border: 0; margin-inline: calc(-1 * var(--gutter)); padding: 0 var(--gutter) var(--s2); scrollbar-width: none; }
  .quote-grid::-webkit-scrollbar { display: none; }
  .quote-grid li, .quote-grid li:nth-child(even) { flex: 0 0 82%; scroll-snap-align: start; padding: var(--s5); border: 1px solid var(--rule); border-top: 1px solid var(--ink); }
  .swipe-hint { display: block; }
  .rail .lbl { display: none; }
  .area .wide ul { columns: 2; }
  .form__row { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .direct { max-width: none; }
  .titleblock { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .titleblock > div:nth-child(-n+2) { grid-column: 1 / -1; border-left: 0; }
  .titleblock > div:nth-child(3) { border-left: 0; }
  .titleblock > div:nth-child(4) { border-left: 1px solid var(--ink); }
  .titleblock > div + div { border-top: 1px solid var(--ink); }
  .tb-cols { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-auto-flow: row; }
  .site-footer { padding-block: var(--s8) var(--s6); }

  .callbar {
    display: grid; grid-template-columns: 1.35fr 1fr; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-bar);
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px));
    background: var(--paper); border-top: 1px solid var(--ink);
    box-shadow: 0 -6px 18px color-mix(in srgb, var(--ink) 10%, transparent);
  }
  .callbar .btn { --h: 48px; width: 100%; font-size: 1.0625rem; }
}
.swipe-hint { display: none; margin-top: var(--s3); font-size: 0.875rem; color: var(--graphite); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-delay: 0ms !important; transition-duration: 0.001ms !important; transition-delay: 0ms !important; }
}
@media print {
  .site-header, .callbar, .circuit, .rail, .band, .side__actions, .hero__actions, .form, .skip, .swipe-hint, .reviews__more { display: none !important; }
  body { padding: 0; background: #fff; font-size: 11pt; }
  .section, .phero { padding-block: 16pt; }
  .side, .svc__aside { position: static; }
  .prose a[href^="http"]::after, .legal a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 0.85em; color: var(--graphite); }
  details > p { display: block; }
  h2, h3 { break-after: avoid; }
  .flow__step, .tbl tr, .refs__item, .quote-grid li { break-inside: avoid; }
}
