/* TRADEX — "Fracht"
   Route's freight-document language in the Tradex logo colours: graphite
   (#525050 family) as the ground, logo blue #23618D as the one loud accent,
   light paper sections in between. Condensed display face for headlines,
   monospace for every label. Motion is flat: lines that draw, dots that
   travel, doors that roll up. No 3D. Paths are relative (../fonts) so the
   sheet works in a subfolder and on a domain root. */

@font-face { font-family: "Display"; src: url("../fonts/display.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Body"; src: url("../fonts/body.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Mono"; src: url("../fonts/mono.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }

@layer tokens, base, components;

@layer tokens {
  :root {
    /* brand */
    --blue:    #23618D;              /* logo blue */
    --blue-d:  #1b4d70;
    --blue-l:  #5aa0d6;              /* the same blue lifted for graphite grounds */
    --grey:    #525050;              /* logo grey */
    /* grounds */
    --g1: #1c1b1b; --g2: #242323; --g3: #302e2e; --g4: #3c3a3a;
    --paper: #f2f2ef; --paper-2: #e6e6e2; --white: #fff;

    /* the neutral tokens the showcases read (light by default) */
    --text: #1c1b1b; --mut: #585555; --border: #d3d2ce;
    --surface: #fff; --surface-2: #ebebe7;
    --sky: #7fb6e0; --on-dark: #f4f3f1;
    --shadow: 0 1px 2px rgb(0 0 0 / .05), 0 14px 34px rgb(28 27 27 / .10);
    --r: .35rem;

    --f-d: "Display", "Arial Narrow", sans-serif;
    --f-s: "Body", ui-sans-serif, system-ui, sans-serif;
    --f-m: "Mono", ui-monospace, "Cascadia Mono", monospace;

    --s--1: clamp(.8rem, .78rem + .1vw, .875rem);
    --s-0: clamp(1rem, .96rem + .2vw, 1.125rem);
    --s-1: clamp(1.15rem, 1.07rem + .4vw, 1.4rem);
    --s-2: clamp(1.5rem, 1.25rem + 1.2vw, 2.3rem);
    --s-3: clamp(2rem, 1.5rem + 2.4vw, 3.8rem);
    --s-4: clamp(2.6rem, 1.7rem + 4.4vw, 6rem);
    --mega: clamp(3.3rem, 1rem + 7.4vw, 8.6rem);

    --sp-s: clamp(1rem, .94rem + .31vw, 1.19rem);
    --sp-m: clamp(1.5rem, 1.41rem + .47vw, 1.78rem);
    --sp-xl: clamp(3rem, 2.81rem + .94vw, 3.56rem);
    --sp-2xl: clamp(4rem, 3.75rem + 1.25vw, 4.75rem);

    --gutter: clamp(1rem, .5rem + 2.5vw, 3rem);
    --max: 86rem;
    --ease: cubic-bezier(.2, .7, .2, 1);
    color-scheme: light;
  }
  .dark {
    --text: #f4f3f1; --mut: #b9b5b2; --border: rgb(255 255 255 / .14);
    --surface: var(--g3); --surface-2: var(--g4);
    --blue: var(--blue-l);
    background: var(--g2); color: var(--text);
  }
  .paper { background: var(--paper); color: var(--text); }
}

@layer base {
  *, *::before, *::after { box-sizing: border-box; }
  html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5rem; }
  body { margin: 0; background: var(--paper); color: var(--text); font: 400 var(--s-0)/1.6 var(--f-s);
    -webkit-font-smoothing: antialiased; overflow-x: clip; }
  img { display: block; max-width: 100%; height: auto; }
  a { color: inherit; }
  h1, h2, h3 { font-family: var(--f-d); font-weight: 800; line-height: .92; letter-spacing: -.005em;
    text-transform: uppercase; margin: 0; text-wrap: balance; }
  p { margin: 0; text-wrap: pretty; }
  ul, ol { margin: 0; padding: 0; list-style: none; }
  dl, dd, figure, blockquote { margin: 0; }
  em { font-style: normal; color: var(--blue); }
  .mono { font-family: var(--f-m); font-size: var(--s--1); letter-spacing: .05em; text-transform: uppercase; }
  .wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
  .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .skip { position: absolute; left: -999px; top: 0; z-index: 200; background: var(--blue); color: #fff; padding: .6rem 1rem; font-weight: 700; }
  .skip:focus { left: 1rem; top: 1rem; }
  :where(a, button, summary):focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 2px; }
}

@layer components {
  /* ---------------------------------------------- draft bar + header */
  .draftbar { background: var(--g1); color: #d8d5d2; font-family: var(--f-m); font-size: .72rem; letter-spacing: .03em;
    padding: .45rem var(--gutter); text-align: center; }
  .draftbar b { color: #fff; }
  @media (max-width: 40rem) { .draftbar .long { display: none; } }

  .site-header { position: sticky; top: 0; z-index: 50; background: rgb(255 255 255 / .9);
    backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); border-bottom: 1px solid var(--border); }
  .site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.25rem; }
  .brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; }
  .brand__mark { height: 2.3rem; width: auto; }
  .brand__word { height: 1.05rem; width: auto; }
  .nav { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2.2rem); }
  .nav a:not(.btn) { font-family: var(--f-m); font-size: .76rem; letter-spacing: .08em; text-transform: uppercase;
    text-decoration: none; color: var(--mut); transition: color .2s; }
  .nav a:not(.btn):hover { color: var(--blue); }
  @media (max-width: 52rem) { .nav li:not(:last-child) { display: none; } }

  .btn { display: inline-flex; align-items: center; gap: .7rem; font-family: var(--f-m); font-size: .8rem; font-weight: 700;
    letter-spacing: .08em; text-transform: uppercase; text-decoration: none; padding: .95rem 1.35rem;
    border: 1px solid transparent; background: var(--blue); color: #fff; transition: background .2s, translate .25s var(--ease); }
  .btn:hover { background: var(--blue-d); translate: 0 -2px; }
  .btn .arr, .more .arr { display: inline-block; transition: translate .25s var(--ease); }
  .btn:hover .arr, .more:hover .arr { translate: 4px 0; }
  .btn--sm { padding: .6rem 1rem; font-size: .7rem; }
  .btn--ghost { background: transparent; color: #fff; border-color: rgb(255 255 255 / .28); }
  .btn--ghost:hover { background: rgb(255 255 255 / .07); }

  /* ---------------------------------------------- hero with the flat map */
  .hero { background: var(--g1); color: #f4f3f1; position: relative; overflow: clip;
    padding-block: clamp(3rem, 8vh, 6rem) clamp(2rem, 5vh, 3.5rem); }
  .hero::before { content: ""; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(rgb(255 255 255 / .035) 1px, transparent 1px) 0 0 / 100% 48px,
                linear-gradient(90deg, rgb(255 255 255 / .035) 1px, transparent 1px) 0 0 / 48px 100%; }
  .hero > .wrap { position: relative; }
  .hero__grid { display: grid; gap: clamp(2rem, 4vw, 3rem); align-items: center; }
  @media (min-width: 64rem) { .hero__grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.2fr); }
    .hero h1 { font-size: clamp(3rem, .6rem + 4.2vw, 5rem) !important; } }
  .hero__text { display: grid; gap: clamp(1.1rem, 2.2vw, 1.8rem); }
  .hero__coords { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; color: #b9b5b2; }
  .hero__coords span:first-child::before { content: ""; display: inline-block; width: .55rem; height: .55rem; border-radius: 50%;
    background: var(--blue-l); margin-right: .6rem; vertical-align: .05em; animation: ping 2.4s infinite; }
  @keyframes ping { 0% { box-shadow: 0 0 0 0 rgb(90 160 214 / .6); } 70%, 100% { box-shadow: 0 0 0 .6rem rgb(90 160 214 / 0); } }
  .hero h1 { font-size: var(--mega); font-weight: 900; line-height: .86; }
  .hero h1 .line { display: block; overflow: clip; padding-bottom: .04em; }
  .hero h1 .line > span { display: block; animation: rise 1s var(--ease) both; }
  .hero h1 .line--out > span { color: transparent; -webkit-text-stroke: 2px var(--blue-l); animation-delay: .14s; }
  @supports not (-webkit-text-stroke: 2px red) { .hero h1 .line--out > span { color: var(--blue-l); } }
  @keyframes rise { from { translate: 0 105%; } to { translate: 0 0; } }
  .hero__lede { max-width: 46ch; font-size: var(--s-1); line-height: 1.5; color: #d9d6d3; }
  .hero__cta { display: flex; flex-wrap: wrap; gap: .75rem; }

  .fmap { position: relative; border: 1px solid rgb(255 255 255 / .12); background: rgb(255 255 255 / .02); padding: .6rem; }
  .fmap__svg { --u: 1; display: block; width: 100%; aspect-ratio: 2.1; height: auto; cursor: grab; touch-action: pan-y; user-select: none; }
  .fmap__svg:active { cursor: grabbing; }
  @media (max-width: 40rem) { .fmap__svg { aspect-ratio: 1.35; } }
  .fmap .dots { stroke: #5b5858; stroke-width: calc(3px * var(--u)); stroke-linecap: round; fill: none; }
  .fmap .dots--fine { stroke: #4d4a4a; stroke-width: calc(2.4px * var(--u)); opacity: 0; }
  .fmap .aut { fill: rgb(90 160 214 / .16); stroke: var(--blue-l); stroke-width: calc(1.4px * var(--u)); stroke-linejoin: round; }
  .fmap .rt { fill: none; stroke-width: calc(2px * var(--u)); stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1;
    animation: draw 2.4s var(--ease) both; }
  .fmap .rt--road { stroke: #d9d6d3; stroke-width: calc(1.8px * var(--u)); animation-delay: calc(.3s + var(--i) * .25s); }
  .fmap .rt--sea { stroke: var(--blue-l); animation-delay: calc(1.9s + var(--i) * .35s); animation-duration: 3s; }
  @keyframes draw { to { stroke-dashoffset: 0; } }
  .fmap .mv rect { fill: var(--blue-l); stroke: var(--g1); stroke-width: 1.2; }
  .fmap .mv--road rect { fill: #f4f3f1; }
  .fmap .mvs { animation: fadein .6s 2.4s both; }
  .fmap .pins { animation: fadein .8s .4s both; }
  .fmap .port { fill: var(--g1); stroke: #d9d6d3; stroke-width: 1.4; }
  .fmap text { font: 500 11px/1 var(--f-m); letter-spacing: .06em; fill: #b9b5b2; text-transform: uppercase;
    paint-order: stroke; stroke: var(--g1); stroke-width: 3px; }
  .fmap .linz__dot { fill: var(--blue-l); stroke: #fff; stroke-width: 2; }
  .fmap .linz__pulse { fill: none; stroke: var(--blue-l); stroke-width: 2; transform-box: fill-box; transform-origin: center;
    animation: pulse 2.4s ease-out infinite; }
  .fmap .linz text { fill: #fff; font-weight: 700; font-size: 13px; }
  @keyframes pulse { from { scale: 1; opacity: .9; } to { scale: 4; opacity: 0; } }
  @keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
  .fmap .pin--minor text { transition: opacity .4s; }
  .fmap__svg.far .pin--minor text { opacity: 0; }
  .fmap__ctl { position: absolute; right: 1.1rem; top: 1.1rem; display: grid; gap: .3rem; }
  .fmap__ctl button { width: 2.1rem; height: 2.1rem; border: 1px solid rgb(255 255 255 / .22); background: rgb(28 27 27 / .85);
    color: #f4f3f1; font: 700 1rem/1 var(--f-m); cursor: pointer; }
  .fmap__ctl button:hover { background: var(--blue); border-color: var(--blue); }
  .fmap figcaption { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; padding: .6rem .3rem .1rem; color: #b9b5b2; font-size: .68rem; }
  .fmap__hint { margin-left: auto; opacity: .8; }
  @media (hover: none) { .fmap__hint { display: none; } }
  .k { display: inline-block; width: 1.1rem; height: 2px; vertical-align: .25em; margin-right: .45rem; }
  .k--sea { background: var(--blue-l); } .k--road { background: #d9d6d3; }

  .manifest { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid rgb(255 255 255 / .14);
    margin-top: clamp(1.8rem, 4vh, 3rem); }
  .manifest > div { padding: 1rem 1.1rem; border-left: 1px solid rgb(255 255 255 / .14); display: grid; gap: .35rem; min-width: 0; }
  .manifest > div:first-child { border-left: 0; }
  .manifest dt { color: var(--blue-l); }
  .manifest dd { font-weight: 600; line-height: 1.3; color: #f4f3f1; }
  @media (max-width: 52rem) {
    .manifest { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .manifest > div:nth-child(3) { border-left: 0; }
    .manifest > div:nth-child(n+3) { border-top: 1px solid rgb(255 255 255 / .14); }
  }

  /* ---------------------------------------------- ticker */
  .ticker { background: var(--blue); color: #fff; overflow: clip; }
  .ticker__track { display: flex; width: max-content; animation: tick 42s linear infinite; }
  .ticker__track p { display: flex; gap: 2.2rem; padding: .95rem 1.1rem; white-space: nowrap;
    font-family: var(--f-d); font-weight: 800; font-size: var(--s-2); text-transform: uppercase; line-height: 1; }
  .ticker__track p span::after { content: ""; display: inline-block; width: .5em; height: .5em; margin-left: 2.2rem;
    background: rgb(255 255 255 / .55); vertical-align: .18em; }
  @keyframes tick { to { translate: -50% 0; } }

  /* ---------------------------------------------- section heads */
  .section { padding-block: clamp(4.5rem, 10vw, 8.5rem); position: relative; }
  .label { color: var(--blue); display: flex; align-items: center; gap: .8rem; }
  .label::after { content: ""; flex: 0 1 5rem; height: 1px; background: currentColor; opacity: .55; }
  .head { display: grid; gap: 1.1rem; margin-bottom: clamp(2.5rem, 6vw, 4.5rem); }
  .head h2 { font-size: var(--s-4); }
  .head > p, .head__side > p { max-width: 52ch; color: var(--mut); font-size: var(--s-1); line-height: 1.5; }
  .head__side { display: grid; gap: 1.2rem; }
  @media (min-width: 60rem) {
    .head--split { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: end; column-gap: 4rem; }
    .head--split .label { grid-column: 1 / -1; }
  }

  /* ---------------------------------------------- container doors */
  .doors { display: grid; gap: clamp(1rem, 2vw, 1.6rem); }
  @media (min-width: 48rem) { .doors { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
  .door { --c: var(--blue); background: var(--g1); color: #f4f3f1; display: grid; grid-template-rows: auto 1fr; overflow: clip; position: relative; }
  .door__panel { position: relative; aspect-ratio: 16 / 10; overflow: clip; }
  .door__panel img { width: 100%; height: 100%; object-fit: cover; transition: scale .8s var(--ease); }
  .door__steel { position: absolute; inset: 0 0 auto 0; height: 58%;
    background:
      linear-gradient(90deg, transparent 0 18%, rgb(0 0 0 / .3) 18% calc(18% + 3px), transparent calc(18% + 3px) 82%, rgb(0 0 0 / .3) 82% calc(82% + 3px), transparent calc(82% + 3px)),
      repeating-linear-gradient(90deg, rgb(255 255 255 / .09) 0 3px, transparent 3px 11px, rgb(0 0 0 / .16) 11px 14px, transparent 14px 22px),
      var(--c);
    display: flex; align-items: flex-end; justify-content: space-between; padding: 1rem 1.2rem;
    transition: translate .7s var(--ease); box-shadow: 0 10px 24px rgb(0 0 0 / .3); }
  .door__plate { background: #f4f3f1; color: var(--g1); padding: .3rem .55rem; font-weight: 700; }
  .door__code { color: rgb(255 255 255 / .88); }
  .door:hover .door__steel, .door:focus-within .door__steel { translate: 0 -101%; }
  .door:hover .door__panel img { scale: 1.05; }
  .door__body { padding: clamp(1.3rem, 2.5vw, 2rem); display: grid; gap: .8rem; align-content: start; }
  .door h3 { font-size: var(--s-2); }
  .door p { color: #c4c0bd; }
  .door__meta { color: var(--blue-l) !important; margin-top: .3rem; }
  .door--steel { --c: #3f7aa6; } .door--graphite { --c: var(--grey); } .door--slate { --c: #34495a; }

  /* ---------------------------------------------- route stations */
  .route-sec { background: var(--g2); }
  .route-grid { display: grid; gap: clamp(2rem, 5vw, 5rem); }
  @media (min-width: 60rem) { .route-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); } }
  .route { padding-left: clamp(2.4rem, 5vw, 3.6rem); position: relative; display: grid; gap: clamp(2.5rem, 6vw, 4.5rem); }
  .route::before, .route::after { content: ""; position: absolute; left: .55rem; top: .6rem; bottom: .6rem; width: 2px; }
  .route::before { background: repeating-linear-gradient(to bottom, rgb(255 255 255 / .16) 0 8px, transparent 8px 16px); }
  .route::after { background: var(--blue-l); transform-origin: top; }
  .stop { position: relative; display: grid; gap: .6rem; }
  .stop::before { content: ""; position: absolute; left: calc(-1 * clamp(2.4rem, 5vw, 3.6rem) + .55rem + 1px); top: .5rem;
    width: 1.1rem; height: 1.1rem; translate: -50% 0; border-radius: 50%; background: var(--g2); border: 2px solid var(--blue-l); }
  .stop__top { display: flex; align-items: baseline; gap: 1rem; }
  .stop__n { font-family: var(--f-d); font-weight: 900; font-size: var(--s-3); line-height: .8; color: transparent; -webkit-text-stroke: 1.5px #8d8986; }
  .stop__tag { color: var(--blue-l); }
  .stop h3 { font-size: var(--s-2); }
  .stop p { color: var(--mut); max-width: 44ch; }
  .route-media__frame { position: sticky; top: 6rem; aspect-ratio: 4 / 5; overflow: clip; border: 1px solid var(--border); }
  .route-media__frame img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; filter: saturate(.75); }
  .route-media__frame figcaption { position: absolute; inset: auto 0 0 0; display: flex; justify-content: space-between; gap: 1rem;
    padding: .8rem 1rem; background: linear-gradient(0deg, rgb(28 27 27 / .9), transparent); color: #d9d6d3; }
  @media (max-width: 59.99rem) { .route-media { order: -1; } .route-media__frame { position: relative; top: 0; aspect-ratio: 16 / 9; } }

  /* ---------------------------------------------- service sections */
  .svc__text h2 { font-size: var(--s-3); }
  .svc__text .lead { font-size: var(--s-1); font-weight: 600; line-height: 1.45; }
  .svc__text > p:not(.lead):not(.label) { color: var(--mut); }
  .facts { display: flex; flex-wrap: wrap; gap: .4rem; font-size: .68rem; }
  .facts li { padding: .35rem .55rem; border: 1px solid var(--border); color: var(--mut); }
  .more { justify-self: start; color: var(--blue); text-decoration: none; font-weight: 700; border-bottom: 2px solid currentColor; padding-bottom: .2rem; }
  .svc .seal, .head .seal, .about .seal { border-radius: .2rem; }
  .svc .seal__ico, .head .seal__ico, .about .seal__ico { border-radius: .2rem; background: rgb(35 97 141 / .1); }
  .dark .seal__ico { background: rgb(255 255 255 / .08) !important; }

  /* ---------------------------------------------- stats band */
  .stats-band { background: var(--blue); color: #fff; padding-block: clamp(3rem, 7vw, 5rem); }
  .stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); }
  .stats > div { padding: 0 clamp(1rem, 2vw, 2rem) 1rem 0; display: grid; gap: .7rem; align-content: start; }
  .stats > div + div { border-left: 1px solid rgb(255 255 255 / .28); padding-left: clamp(1rem, 2vw, 2rem); }
  @media (max-width: 40rem) { .stats > div + div { border-left: 0; border-top: 1px solid rgb(255 255 255 / .28); padding: 1.2rem 0 1rem; } }
  .stats dt { font-family: var(--f-d); font-weight: 900; font-size: var(--s-4); line-height: .8; }
  .stats dd { max-width: 28ch; font-weight: 500; }
  .stats small { display: block; font: 500 .62rem/1.3 var(--f-m); letter-spacing: .06em; text-transform: uppercase; opacity: .75; margin-top: .3rem; }

  /* ---------------------------------------------- gallery */
  .gallery { display: grid; gap: clamp(.8rem, 1.6vw, 1.3rem); grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-flow: dense; }
  .work { position: relative; background: var(--white); border: 1px solid var(--border); overflow: clip; display: grid; grid-template-rows: auto 1fr; grid-column: span 2; }
  .work img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: scale .8s var(--ease); }
  .work--xl { grid-column: span 4; } .work--xl img { aspect-ratio: 21 / 9; }
  .work--sq { grid-column: span 1; } .work--sq img { aspect-ratio: 1; }
  .work:hover img { scale: 1.03; }
  .work figcaption { padding: 1rem 1.1rem 1.3rem; display: grid; gap: .4rem; align-content: start; }
  .work figcaption .mono { color: var(--blue); font-size: .66rem; }
  .work b { font-family: var(--f-d); font-weight: 800; text-transform: uppercase; font-size: var(--s-2); line-height: .95; }
  .work figcaption > span:last-child { color: var(--mut); font-size: .92rem; }
  .work__note { position: absolute; top: .6rem; left: .6rem; z-index: 2; background: #f7d64a; color: #3b3000; padding: .25rem .45rem; font-size: .6rem; }
  @media (max-width: 62rem) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } .work, .work--xl { grid-column: span 2; } .work--sq { grid-column: span 1; } }
  @media (max-width: 36rem) { .work--sq { grid-column: span 2; } }

  /* ---------------------------------------------- statement band */
  .band { position: relative; isolation: isolate; overflow: clip; padding-block: clamp(6rem, 15vw, 12rem); color: #fff; }
  .band__img { position: absolute; inset: -12% 0; z-index: -2; }
  .band__img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.6); }
  .band::before { content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(90deg, rgb(28 27 27 / .94) 0%, rgb(28 27 27 / .72) 55%, rgb(35 97 141 / .45)); }
  .band h2 { font-size: var(--s-4); line-height: .92; }
  .band h2 span { display: block; }
  .band h2 .o { color: var(--blue-l); }
  .band p { margin-top: 1.6rem; max-width: 46ch; color: #dedad7; font-size: var(--s-1); line-height: 1.5; }

  /* ---------------------------------------------- steps */
  .steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); border-top: 2px solid var(--text); }
  .steps li { padding: 1.4rem 1.4rem 0 0; display: grid; gap: .7rem; align-content: start; }
  .steps li + li { border-left: 1px solid var(--border); padding-left: 1.4rem; }
  @media (max-width: 34rem) { .steps li + li { border-left: 0; padding-left: 0; border-top: 1px solid var(--border); margin-top: 1.4rem; } }
  .step__n { font-family: var(--f-d); font-weight: 900; font-size: var(--s-3); line-height: .8; color: var(--blue); }
  .steps h3 { font-size: var(--s-2); }
  .steps p { color: var(--mut); }

  /* ---------------------------------------------- voices */
  .voices { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }
  .voice { position: relative; display: grid; gap: 1.2rem; align-content: space-between; padding: 2.4rem 1.4rem 1.4rem;
    border: 1px dashed var(--border); background: rgb(255 255 255 / .03); }
  .voice p { font-size: var(--s-1); line-height: 1.45; }
  .voice footer { color: var(--mut); font-size: .68rem; }
  .voice footer b { color: var(--text); }
  .voice--rating { border-style: solid; background: var(--g3); }
  .voice--rating .mono { color: var(--blue); }
  .voice--rating b { font-family: var(--f-d); font-weight: 900; font-size: var(--s-4); line-height: .8; text-transform: uppercase; }
  .voice--rating p { font-size: .92rem; color: var(--mut); }
  .stack { display: flex; flex-wrap: wrap; gap: .5rem 1.8rem; margin-top: clamp(2rem, 4vw, 3rem); padding-top: 1.4rem;
    border-top: 1px solid var(--border); color: var(--mut); }
  .stack::before { content: "Wir arbeiten mit"; color: var(--blue); }

  /* ---------------------------------------------- about */
  .about { display: grid; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
  @media (min-width: 60rem) { .about { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); } }
  .about__img { aspect-ratio: 4 / 5; overflow: clip; position: relative; }
  .about__img img { width: 100%; height: 100%; object-fit: cover; }
  .about__text { display: grid; gap: 1.2rem; }
  .about__text h2 { font-size: var(--s-4); }
  .about__text p { color: var(--mut); max-width: 58ch; }
  .about__text p.big { color: var(--text); font-size: var(--s-1); line-height: 1.45; }
  .facts-dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--border); }
  .facts-dl div { padding: .9rem 0; border-bottom: 1px solid var(--border); display: grid; gap: .2rem; }
  .facts-dl dt { color: var(--blue); font-size: .66rem; }
  .facts-dl dd { text-transform: none; letter-spacing: 0; font-family: var(--f-s); font-weight: 600; }

  /* ---------------------------------------------- FAQ */
  .faq-grid { display: grid; gap: 2rem; }
  @media (min-width: 60rem) { .faq-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); gap: 5rem; } .faq-grid .head { position: sticky; top: 7rem; align-self: start; } }
  .faq { border-top: 1px solid var(--border); }
  .faq details { border-bottom: 1px solid var(--border); }
  .faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: auto 1fr auto; gap: 1.2rem; align-items: baseline; padding: 1.4rem 0; }
  .faq summary::-webkit-details-marker { display: none; }
  .faq summary .mono { color: var(--blue); }
  .faq summary h3 { font-family: var(--f-s); text-transform: none; font-weight: 600; font-size: var(--s-1); line-height: 1.3; letter-spacing: 0; }
  .faq summary::after { content: "+"; font-family: var(--f-m); font-size: 1.4rem; color: var(--blue); transition: rotate .3s var(--ease); }
  .faq details[open] summary::after { rotate: 45deg; }
  .faq details p { padding: 0 0 1.6rem calc(2ch + 2.4rem); color: var(--mut); max-width: 70ch; }
  @media (max-width: 40rem) { .faq details p { padding-left: 0; } }

  /* ---------------------------------------------- contact + footer */
  .contact { background: var(--blue); color: #fff; }
  .contact__big { display: inline-flex; flex-wrap: wrap; align-items: center; gap: .15em; margin-top: 1rem; text-decoration: none;
    font-family: var(--f-d); font-weight: 900; font-size: var(--mega); line-height: .86; text-transform: uppercase; }
  .contact__big .arr { display: inline-block; transition: translate .35s var(--ease); }
  .contact__big:hover .arr { translate: .12em 0; }
  .contact__grid { display: grid; gap: 2rem; margin-top: clamp(2rem, 5vw, 4rem); border-top: 2px solid #fff; padding-top: 1.6rem; }
  @media (min-width: 52rem) { .contact__grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }
  .contact__grid > p { max-width: 38ch; font-size: var(--s-1); line-height: 1.4; font-weight: 500; }
  .contact dt { opacity: .75; }
  .contact dd { text-transform: none; letter-spacing: 0; font: 600 1rem/1.4 var(--f-s); margin-top: .3rem; overflow-wrap: anywhere; }

  .site-footer { background: var(--g1); color: #b9b5b2; overflow: clip; padding-top: 3rem; }
  .site-footer .bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; }
  .site-footer ul { display: flex; gap: 1.5rem; }
  .site-footer a { text-decoration: none; } .site-footer a:hover { color: #fff; }
  .giant { font-family: var(--f-d); font-weight: 900; font-size: 31vw; line-height: .74; text-align: center;
    margin: 2rem 0 -.08em; color: var(--g3); user-select: none; }
  .giant i { font-style: normal; color: var(--blue-d); }

  .tag { position: absolute; right: .6rem; top: .6rem; z-index: 3; font: 500 .6rem/1 var(--f-m); letter-spacing: .06em;
    text-transform: uppercase; background: rgb(28 27 27 / .7); color: #d9d6d3; padding: .3rem .45rem; }

  /* ---------------------------------------------- legal */
  .legal main { padding-block: clamp(3rem, 8vw, 6rem); }
  .legal h1 { font-size: var(--s-4); margin-bottom: 2rem; }
  .legal h2 { font-size: var(--s-2); margin: 2.5rem 0 .8rem; }
  .legal p, .legal dd { color: var(--mut); max-width: 70ch; }
  .legal dl { display: grid; grid-template-columns: minmax(0, 14rem) minmax(0, 1fr); gap: .6rem 1.5rem; }
  .legal dt { font: 500 var(--s--1) var(--f-m); text-transform: uppercase; color: var(--blue); padding-top: .2rem; }
  @media (max-width: 40rem) { .legal dl { grid-template-columns: 1fr; } }

  /* ---------------------------------------------- scroll-driven motion (flat) */
  @supports (animation-timeline: view()) {
    @media (prefers-reduced-motion: no-preference) {
      .route::after { animation: grow-y linear both; animation-timeline: view(); animation-range: entry 40% exit 45%; }
      @keyframes grow-y { from { scale: 1 0; } to { scale: 1 1; } }
      .stop::before { animation: lit linear both; animation-timeline: view(); animation-range: entry 60% cover 45%; }
      @keyframes lit { to { background: var(--blue-l); box-shadow: 0 0 0 .4rem rgb(90 160 214 / .2); } }
      .band__img img { animation: para linear both; animation-timeline: view(); }
      @keyframes para { from { translate: 0 -8%; } to { translate: 0 8%; } }
      .rv { animation: rv linear both; animation-timeline: view(); animation-range: entry 5% cover 25%; }
      @keyframes rv { from { opacity: 0; translate: 0 2rem; } to { opacity: 1; translate: 0 0; } }
      .label::after { animation: line linear both; animation-timeline: view(); animation-range: entry 10% cover 30%; transform-origin: left; }
      @keyframes line { from { scale: 0 1; } to { scale: 1 1; } }
      .giant { animation: gi linear both; animation-timeline: view(); animation-range: entry 0% cover 60%; }
      @keyframes gi { from { translate: 0 30%; } to { translate: 0 0; } }
    }
  }
  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important;
      transition-duration: .01ms !important; scroll-behavior: auto !important; }
    .ticker__track { animation: none; }
    .fmap .mvs { display: none; }
  }

  /* ---------------------------------------------- round 2: phone, badges, norms, cases, slider */
  .tel { display: inline-flex; align-items: center; gap: .45rem; text-decoration: none; font: 700 .8rem/1 var(--f-m);
    letter-spacing: .04em; color: var(--text) !important; white-space: nowrap; }
  .tel svg { width: 1.05rem; height: 1.05rem; color: var(--blue); }
  .tel:hover span { color: var(--blue); }
  @media (max-width: 52rem) { .nav li.nav__tel { display: list-item !important; } .tel span { display: none; }
    .tel { width: 2.4rem; height: 2.4rem; justify-content: center; border: 1px solid var(--border); } }

  .seal__code { font: 800 .62rem/1 var(--f-m); letter-spacing: .02em; color: #fff !important; background: var(--blue) !important;
    width: 2.3rem !important; height: 2.3rem !important; border-radius: 50% !important; box-shadow: inset 0 0 0 2px rgb(255 255 255 / .35); }
  .dark .seal__code { background: var(--blue-d) !important; }

  .section--norms { padding-block: clamp(4rem, 9vw, 7rem) clamp(1rem, 3vw, 2rem); }
  .norms { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); gap: .8rem; }
  .norm { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: .9rem; align-items: center;
    padding: 1rem 1.1rem; background: var(--white); border: 1px solid var(--border); }
  .norm b { grid-row: 1 / 3; display: grid; place-items: center; width: 3.4rem; height: 3.4rem; border-radius: 50%;
    border: 2px solid var(--blue); color: var(--blue); font: 800 .78rem/1 var(--f-m); letter-spacing: .02em; }
  .norm span { font-family: var(--f-d); font-weight: 800; font-size: 1.3rem; white-space: nowrap; text-transform: uppercase; line-height: 1; }
  .norm small { color: var(--mut); font-size: .8rem; line-height: 1.3; }

  .cases { display: grid; gap: clamp(1rem, 2vw, 1.6rem); margin-bottom: clamp(1rem, 2vw, 1.6rem); }
  @media (min-width: 62rem) { .cases { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
  .case { background: var(--g1); color: #f4f3f1; display: grid; grid-template-rows: auto 1fr; overflow: clip; }
  .case__img { display: block; overflow: clip; }
  .case__img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: scale .8s var(--ease); }
  .case:hover .case__img img { scale: 1.03; }
  .case__body { padding: clamp(1.3rem, 2.5vw, 2rem); display: grid; gap: .8rem; align-content: start; }
  .case__body > .mono { color: var(--blue-l); }
  .case h3 { font-size: var(--s-2); }
  .case p:not(.mono) { color: #c4c0bd; }
  .case .facts li { border-color: rgb(255 255 255 / .18); color: #c4c0bd; }
  .case .more { color: var(--blue-l); }
  .tag--real { background: var(--blue); color: #fff; }

  /* before/after: the auto wipe runs until someone drags, then the range input owns --pos */
  .ba__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; z-index: 3;
    -webkit-appearance: none; appearance: none; touch-action: pan-y; }
  .ba__range::-webkit-slider-thumb { -webkit-appearance: none; width: 3rem; height: 100vh; }
  .ba__range::-moz-range-thumb { width: 3rem; height: 100vh; border: 0; }
  .ba__range:focus-visible ~ .ba__bar, .ba:has(.ba__range:focus-visible) .ba__bar { box-shadow: 0 0 0 3px var(--blue), 0 0 18px rgb(90 160 214 / .8); }
  .ba.manual .ba__done { animation: none !important; clip-path: inset(0 0 0 var(--pos, 50%)); }
  .ba.manual .ba__bar { animation: none !important; left: var(--pos, 50%); }
  .ba__hint { position: absolute; left: 50%; bottom: 3.4rem; translate: -50% 0; z-index: 2; font: 700 .66rem/1 var(--f-m); letter-spacing: .08em;
    text-transform: uppercase; background: var(--blue); color: #fff; padding: .45rem .7rem; pointer-events: none; transition: opacity .3s; }
  .ba.manual .ba__hint { opacity: 0; }
}
