/* ==========================================================================
   Indumont GmbH: "Nachtschicht im Hüttenwerk"
   Hochofen-Nacht · Kobalt-Flutlicht · Abstich-Orange · verzinkte Tagschicht
   ========================================================================== */

:root {
  --night: #0a0d12;
  --night-2: #10151d;
  --night-3: #171d28;
  --night-4: #222a38;
  --night-line: rgba(214, 222, 235, .13);
  --night-line-2: rgba(214, 222, 235, .24);

  --zinc: #e3e5e1;
  --zinc-2: #d6d9d4;
  --zinc-3: #c4c8c2;
  --zinc-line: rgba(10, 13, 18, .14);
  --zinc-line-2: rgba(10, 13, 18, .28);

  --ink: #0a0d12;
  --ink-2: #394150;
  --white: #f4f5f2;
  --fog: #aeb6c4;
  --fog-2: #858e9e;

  --cobalt: #2f55ff;
  --cobalt-lt: #93a6ff;
  --molten: #ff5a1f;
  --molten-2: #ff7d45;
  --glow: #ffb35c;
  --rust: #8a4a2a;
  --rust-lt: #c47a4f;

  --straw: #d9b65e;
  --bronze: #a8672f;
  --violet: #6b4f9a;
  --temper: #3c5cc4;

  --ff: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --ff-mono: "Martian Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --ease-snap: cubic-bezier(.2, .9, .1, 1);

  --gutter: clamp(20px, 4.2vw, 72px);
  --maxw: 1480px;
  --header-h: 78px;
  --radius: 2px;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  background: var(--night);
  color: var(--white);
  font-family: var(--ff);
  font-size: clamp(16px, .25vw + 15px, 18px);
  line-height: 1.62;
  font-weight: 400;
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, figure, dl, dd, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
table { border-collapse: collapse; }

::selection { background: var(--molten); color: var(--night); }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--molten); outline-offset: 3px; border-radius: 1px; }
html { scrollbar-color: var(--night-4) var(--night); scrollbar-width: thin; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--night); }
::-webkit-scrollbar-thumb { background: var(--night-4); border: 2px solid var(--night); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--molten); }

.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 1000;
  background: var(--molten); color: var(--night); padding: 10px 16px; font-weight: 700; text-decoration: none;
  transition: top .2s var(--ease-out);
}
.skip-link:focus { top: 16px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.mono { font-family: var(--ff-mono); font-stretch: 87.5%; font-variant-numeric: tabular-nums; letter-spacing: 0; }

/* ---------- Typography ---------- */
.display, .h1, .h2, .h3 {
  font-family: var(--ff);
  font-weight: 800;
  font-stretch: 68%;
  text-transform: uppercase;
  letter-spacing: -.005em;
  line-height: .9;
  text-wrap: balance;
}
.h1 { font-size: clamp(2.9rem, 7.4vw, 6.6rem); }
.h2 { font-size: clamp(2.3rem, 5.2vw, 5rem); }
.h3 { font-size: clamp(1.6rem, 2.4vw, 2.3rem); line-height: .95; }
.h4 { font-size: 1.15rem; font-weight: 700; font-stretch: 85%; line-height: 1.2; letter-spacing: .005em; }
.lead { font-size: clamp(1.1rem, .6vw + 1rem, 1.38rem); line-height: 1.52; max-width: 58ch; font-stretch: 96%; }
.prose p + p { margin-top: 1.05em; }
.prose { max-width: 68ch; }
.prose strong { font-weight: 700; }
.accent { color: var(--molten); }
.cobalt { color: var(--cobalt-lt); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--molten); --fg: var(--night); --bd: var(--molten);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .7em;
  min-height: 54px; padding: 0 1.55em;
  background: var(--bg); color: var(--fg); border: 1px solid var(--bd);
  font-family: var(--ff); font-weight: 700; font-stretch: 88%; font-size: 1rem; letter-spacing: .02em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap; border-radius: var(--radius);
  overflow: hidden; isolation: isolate;
  transition: color .35s var(--ease-out), border-color .35s var(--ease-out), transform .35s var(--ease-out), box-shadow .35s var(--ease-out);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--white);
  clip-path: inset(0 100% 0 0);
  transition: clip-path .5s var(--ease-out);
}
.btn:hover::before, .btn:focus-visible::before { clip-path: inset(0 0 0 0); }
.btn:hover { box-shadow: 0 10px 34px -10px rgba(255, 90, 31, .65); }
.btn:active { transform: translateY(1px) scale(.985); }
.btn .ph-bold { font-size: 1.15em; transition: transform .35s var(--ease-out); }
.btn:hover .ph-bold-arrow { transform: translateX(4px); }
.btn--ghost { --bg: transparent; --fg: var(--white); --bd: var(--night-line-2); }
.btn--ghost::before { background: var(--white); }
.btn--ghost:hover { --fg: var(--night); border-color: var(--white); box-shadow: none; }
.btn--ink { --bg: var(--ink); --fg: var(--white); --bd: var(--ink); }
.btn--ink::before { background: var(--molten); }
.btn--ink:hover { --fg: var(--night); }
.btn--line { --bg: transparent; --fg: var(--ink); --bd: var(--zinc-line-2); }
.btn--line::before { background: var(--ink); }
.btn--line:hover { --fg: var(--white); border-color: var(--ink); box-shadow: none; }
.btn--sm { min-height: 44px; padding: 0 1.1em; font-size: .9rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .55em; font-weight: 700; font-stretch: 88%; text-transform: uppercase; letter-spacing: .03em;
  text-decoration: none; font-size: .95rem; padding-block: .3em;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size .45s var(--ease-out), color .3s;
}
.link-arrow:hover { background-size: 100% 1px; color: var(--molten); }
.link-arrow .ph-bold { transition: transform .35s var(--ease-out); }
.link-arrow:hover .ph-bold { transform: translateX(4px); }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--white); }
.logo__mark { width: 38px; height: 38px; flex: none; }
.logo__mark .ring { fill: none; stroke: currentColor; stroke-width: 5; }
.logo__mark .beam { fill: var(--molten); }
.logo__word { display: flex; flex-direction: column; line-height: 1; }
.logo__name { font-weight: 800; font-stretch: 118%; font-size: 1.22rem; letter-spacing: .06em; }
.logo__sub { font-family: var(--ff-mono); font-size: .58rem; letter-spacing: .14em; color: var(--fog); margin-top: 5px; text-transform: uppercase; font-stretch: 87.5%; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 90; height: var(--header-h);
  transition: transform .5s var(--ease-out), background-color .4s, border-color .4s, backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(10, 13, 18, .82);
  -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3);
  border-color: var(--night-line);
}
.site-header.is-hidden { transform: translateY(-100%); }
.site-header__inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.site-header .logo { margin-right: auto; }
.nav { display: flex; align-items: center; gap: 4px; height: 100%; }
.nav__item { height: 100%; display: flex; align-items: center; }
.nav__link {
  position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px;
  text-decoration: none; font-weight: 600; font-stretch: 90%; font-size: .98rem; color: var(--white);
  background: none; border: 0;
}
.nav__link::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; background: var(--molten);
  transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease-out);
}
.nav__link:hover::after, .nav__link[aria-current="page"]::after, .nav__item--mega:hover .nav__link::after, .nav__item--mega.is-open .nav__link::after { transform: scaleX(1); transform-origin: left; }
.nav__link .ph-bold { font-size: .75em; transition: transform .35s var(--ease-out); }
.nav__item--mega:hover .nav__link .ph-bold, .nav__item--mega.is-open .nav__link .ph-bold { transform: rotate(180deg); }

.header-hotline {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none; padding: 8px 4px;
  font-family: var(--ff-mono); font-size: .8rem; font-stretch: 87.5%; color: var(--white); white-space: nowrap;
}
.header-hotline small { display: block; font-family: var(--ff); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--fog); font-weight: 600; }
.led { width: 8px; height: 8px; border-radius: 50%; background: #3dff8b; box-shadow: 0 0 0 0 rgba(61, 255, 139, .6); animation: led 2s infinite; flex: none; }
@keyframes led { 0% { box-shadow: 0 0 0 0 rgba(61, 255, 139, .55); } 70% { box-shadow: 0 0 0 9px rgba(61, 255, 139, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 255, 139, 0); } }

/* Mega menu */
.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: rgba(12, 16, 22, .97);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  border-top: 1px solid var(--night-line); border-bottom: 1px solid var(--night-line);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .35s var(--ease-out), transform .45s var(--ease-out), visibility 0s .35s;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7);
}
.nav__item--mega:hover .mega, .nav__item--mega.is-open .mega, .nav__item--mega:focus-within .mega {
  opacity: 1; visibility: visible; transform: none; transition-delay: 0s;
}
.mega__grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 48px; padding-block: 36px 40px; }
.mega__groups { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 36px; }
.mega__group-title { grid-column: 1 / -1; font-family: var(--ff-mono); font-size: .68rem; color: var(--fog-2); letter-spacing: .1em; text-transform: uppercase; padding: 0 12px 8px; border-bottom: 1px solid var(--night-line); margin-bottom: 6px; }
.mega__link { display: flex; gap: 14px; padding: 14px 12px; text-decoration: none; border-radius: var(--radius); transition: background .25s; }
.mega__link:hover, .mega__link:focus-visible { background: var(--night-3); }
.mega__link .ph-bold { font-size: 1.45rem; color: var(--molten); margin-top: 2px; }
.mega__link strong { display: block; font-weight: 700; font-stretch: 90%; font-size: 1.05rem; }
.mega__link span span { display: block; color: var(--fog); font-size: .88rem; line-height: 1.4; margin-top: 3px; }
.mega__preview { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 300px; background: var(--night-3); }
.mega__preview img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity .5s var(--ease-out), transform 1.2s var(--ease-out); }
.mega__preview img.is-active { opacity: .9; transform: none; }
.mega__preview::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(10, 13, 18, .9)); }
.mega__preview-cta { position: absolute; z-index: 2; left: 22px; bottom: 20px; right: 22px; }

/* Burger + mobile menu */
.burger { flex: none; display: none; width: 48px; height: 48px; background: none; border: 1px solid var(--night-line-2); border-radius: var(--radius); position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--white); transition: transform .45s var(--ease-out), opacity .3s; }
.burger span:nth-child(1) { top: 16px; } .burger span:nth-child(2) { top: 23px; } .burger span:nth-child(3) { top: 30px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 85; background: var(--night);
  padding: calc(var(--header-h) + 20px) var(--gutter) 32px;
  display: flex; flex-direction: column; overflow-y: auto;
  clip-path: inset(0 0 100% 0); visibility: hidden;
  transition: clip-path .7s var(--ease-io), visibility 0s .7s;
}
.mobile-menu.is-open { clip-path: inset(0 0 0 0); visibility: visible; transition-delay: 0s; }
.mobile-menu__list > li { border-bottom: 1px solid var(--night-line); }
.mobile-menu__list > li > a, .mobile-menu__toggle {
  display: flex; width: 100%; align-items: center; justify-content: space-between; padding: 16px 0;
  font-weight: 800; font-stretch: 70%; text-transform: uppercase; font-size: 2rem; line-height: 1; text-decoration: none; background: none; border: 0; text-align: left;
}
.mobile-menu__toggle .ph-bold { font-size: 1.1rem; transition: transform .35s; }
.mobile-menu__toggle[aria-expanded="true"] .ph-bold { transform: rotate(180deg); }
.mobile-menu__sub { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease-out); }
.mobile-menu__sub > div { overflow: hidden; }
.mobile-menu__sub.is-open { grid-template-rows: 1fr; }
.mobile-menu__sub a { display: flex; align-items: center; gap: 12px; padding: 10px 0; text-decoration: none; color: var(--fog); font-weight: 600; }
.mobile-menu__sub a:last-child { padding-bottom: 18px; }
.mobile-menu__sub .ph-bold { color: var(--molten); }
.mobile-menu__foot { margin-top: auto; padding-top: 28px; display: grid; gap: 12px; }
.mobile-menu__foot .btn { width: 100%; }

/* ---------- Intro: Lichtbogen-Zündung ---------- */
.intro { position: fixed; inset: 0; z-index: 200; background: var(--night); display: grid; place-items: center; pointer-events: none; }
html:not(.js) .intro, html.intro-done .intro { display: none; }
.intro__arc { position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: #fff; box-shadow: 0 0 30px 12px #cfe0ff, 0 0 90px 40px rgba(47, 85, 255, .55), 0 0 200px 80px rgba(255, 140, 60, .25); opacity: 0; }
.intro__line { position: absolute; left: 50%; top: 50%; height: 2px; width: 0; transform: translateX(-50%); background: linear-gradient(90deg, transparent, var(--glow), #fff, var(--glow), transparent); }
.intro__word { position: relative; font-weight: 800; font-stretch: 125%; letter-spacing: .32em; font-size: clamp(1rem, 2.4vw, 1.5rem); color: var(--white); opacity: 0; margin-top: 70px; padding-left: .32em; }

/* ---------- Page transition ---------- */
.pt { position: fixed; inset: 0; z-index: 180; pointer-events: none; }
.pt__panel { position: absolute; inset: 0; background: var(--night); transform: scaleY(0); transform-origin: bottom; }
.pt__seam { position: absolute; left: 0; top: 50%; height: 2px; width: 100%; transform: scaleX(0); transform-origin: left; background: linear-gradient(90deg, var(--temper), var(--violet), var(--bronze), var(--straw), #fff); box-shadow: 0 0 22px 2px rgba(255, 179, 92, .75); }
html.pt-enter .pt__panel { transform: scaleY(1); }

/* ---------- Scroll ruler (Bemaßung) ---------- */
.ruler { position: fixed; z-index: 70; left: 14px; top: 50%; transform: translateY(-50%); height: 42vh; width: 14px; pointer-events: none; mix-blend-mode: difference; }
.ruler__ticks { position: absolute; inset: 0; background: repeating-linear-gradient(180deg, rgba(255, 255, 255, .55) 0 1px, transparent 1px 10px); width: 6px; }
.ruler__ticks::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(180deg, rgba(255, 255, 255, .8) 0 1px, transparent 1px 50px); width: 12px; }
.ruler__fill { position: absolute; left: 0; top: 0; width: 2px; height: 100%; background: #fff; transform-origin: top; transform: scaleY(var(--p, 0)); }
@media (max-width: 1100px) { .ruler { display: none; } }

/* ---------- Grain ---------- */
.grain { position: fixed; inset: -50%; z-index: 150; pointer-events: none; opacity: .055; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); animation: grain 1.2s steps(6) infinite; }
@keyframes grain { 0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); } 60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); } }

/* ==========================================================================
   HOME HERO
   ========================================================================== */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; overflow: hidden; background: var(--night); isolation: isolate; }
.hero__media { position: absolute; inset: -4% -3%; z-index: -3; will-change: transform; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 66% 38%; transform-origin: 70% 40%; animation: heroDrift 26s var(--ease-io) infinite alternate; }
@keyframes heroDrift { from { transform: scale(1.04); } to { transform: scale(1.13) translate(-1.2%, .6%); } }
.hero__shade { position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(10, 13, 18, .94) 0%, rgba(10, 13, 18, .82) 30%, rgba(10, 13, 18, .25) 62%, rgba(10, 13, 18, .1) 100%),
    linear-gradient(180deg, rgba(10, 13, 18, .6) 0%, transparent 24%, transparent 62%, rgba(10, 13, 18, .96) 100%);
}
.hero__light { position: absolute; z-index: -1; width: 70vmax; height: 70vmax; left: 0; top: 0; pointer-events: none; border-radius: 50%;
  background: radial-gradient(circle, rgba(170, 195, 255, .28) 0%, rgba(47, 85, 255, .12) 22%, rgba(255, 140, 60, .05) 42%, transparent 62%);
  transform: translate(-50%, -50%); opacity: 0; mix-blend-mode: screen; will-change: transform, opacity; }
.hero__embers { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }
.hero__inner { position: relative; z-index: 3; flex: 1; display: flex; flex-direction: column; justify-content: center; padding-top: calc(var(--header-h) + 5vh); padding-bottom: 20vh; }
.hero__title { position: relative; font-size: clamp(3.3rem, 10.4vw, 9.4rem); line-height: .84; letter-spacing: -.012em; max-width: 100%; }
.hero__title .line { display: block; overflow: hidden; padding-top: .14em; margin-top: -.14em; padding-bottom: .04em; margin-bottom: -.04em; }
.hero__title .line > span { display: inline-block; will-change: transform; }
.hero__title .line--outline > span { color: transparent; -webkit-text-stroke: 1.5px rgba(244, 245, 242, .85); }
.hero__title .line--molten > span { color: var(--molten); }
.weld { position: relative; width: min(100%, 980px); height: 64px; margin-top: 14px; margin-left: -10px; }
.weld canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__lead { margin-top: 10px; max-width: 46ch; color: #d9dee6; }
.hero__lead strong { color: var(--white); font-weight: 700; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero__actions .btn--ghost { font-family: var(--ff-mono); font-stretch: 87.5%; text-transform: none; letter-spacing: 0; font-weight: 500; font-size: .92rem; }
.hero__actions .btn--ghost small { font-family: var(--ff); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: .78rem; color: var(--fog); }

.readout {
  position: absolute; right: var(--gutter); bottom: 190px; z-index: 3;
  width: min(360px, 40vw); padding: 18px 20px 16px;
  background: rgba(10, 13, 18, .58); border: 1px solid var(--night-line-2); border-radius: var(--radius);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font-family: var(--ff-mono); font-stretch: 87.5%; font-size: .74rem; color: var(--fog);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8);
}
.readout__row { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px dashed var(--night-line); }
.readout__row:last-child { border-bottom: 0; }
.readout__row b { font-weight: 500; color: var(--white); text-align: right; }
.readout__clock { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 8px; }
.readout__time { font-size: 2.15rem; color: var(--white); letter-spacing: -.02em; line-height: 1; font-weight: 400; }
.readout__time .sec { color: var(--molten); }
.readout__shift { display: inline-flex; align-items: center; gap: 8px; color: var(--white); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; }
.readout__label { font-family: var(--ff); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--fog-2); margin-bottom: 6px; display: block; }

.hero__truss { position: absolute; left: 0; right: 0; bottom: -2px; z-index: 2; height: clamp(90px, 12vw, 170px); pointer-events: none; color: #06080c; }
.hero__truss svg { width: 100%; height: 100%; }
.hero__scroll { position: absolute; z-index: 4; left: var(--gutter); bottom: 26px; display: flex; align-items: center; gap: 14px; font-family: var(--ff-mono); font-size: .68rem; color: var(--fog); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; }
.hero__scroll i { position: relative; width: 1px; height: 46px; background: var(--night-line-2); overflow: hidden; display: block; }
.hero__scroll i::after { content: ""; position: absolute; left: 0; top: 0; width: 1px; height: 40%; background: var(--molten); animation: scrollcue 2.2s var(--ease-io) infinite; }
@keyframes scrollcue { from { transform: translateY(-100%); } to { transform: translateY(260%); } }
.hero__coords { position: absolute; z-index: 4; right: var(--gutter); bottom: 30px; font-family: var(--ff-mono); font-size: .66rem; color: var(--fog-2); letter-spacing: .06em; }

/* ==========================================================================
   SECTIONS
   ========================================================================== */
.sec { position: relative; padding-block: clamp(88px, 12vw, 180px); }
.sec--tight { padding-block: clamp(64px, 8vw, 120px); }
.sec--night { background: var(--night); color: var(--white); }
.sec--deep { background: var(--night-2); color: var(--white); }
.sec--zinc { background: var(--zinc); color: var(--ink); }
.sec--zinc ::selection { background: var(--ink); color: var(--zinc); }
.sec--zinc .lead, .sec--zinc .prose { color: var(--ink-2); }
.sec--zinc .lead strong, .sec--zinc .prose strong { color: var(--ink); }
.sec-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px 64px; align-items: end; margin-bottom: clamp(48px, 6vw, 88px); }
.sec-head .lead { justify-self: start; }
.sec--night .lead, .sec--deep .lead { color: #c9cfd8; }

/* Metal edge between sections: a rolled-steel seam */
.seam-edge { position: relative; height: 0; z-index: 3; }
.seam-edge::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: linear-gradient(90deg, transparent, var(--rust-lt) 20%, var(--glow) 50%, var(--rust-lt) 80%, transparent); opacity: .6; }

/* ---------- Statement (word fill) ---------- */
.statement { display: grid; grid-template-columns: minmax(0, 1fr); gap: 56px; }
.statement__text { font-size: clamp(1.75rem, 3.5vw, 3.35rem); line-height: 1.08; font-weight: 700; font-stretch: 80%; letter-spacing: -.012em; max-width: 26ch; text-wrap: pretty; }
.statement__text .w { color: rgba(10, 13, 18, .16); transition: color .2s; }
.statement__text .w.is-on { color: var(--ink); }
.statement__text .w.hl.is-on { color: var(--molten); }
html:not(.js) .statement__text .w { color: var(--ink); }

/* ---------- Datasheet ---------- */
.spec { width: 100%; font-size: .95rem; }
.spec caption { text-align: left; font-weight: 800; font-stretch: 75%; text-transform: uppercase; font-size: 1.3rem; padding-bottom: 14px; letter-spacing: .01em; }
.spec th, .spec td { text-align: left; padding: 15px 0; border-top: 1px solid var(--zinc-line-2); vertical-align: top; }
.spec tr:last-child th, .spec tr:last-child td { border-bottom: 1px solid var(--zinc-line-2); }
.spec th { font-weight: 600; width: 46%; padding-right: 20px; color: var(--ink-2); }
.spec td { font-family: var(--ff-mono); font-stretch: 87.5%; font-size: .84rem; font-variant-numeric: tabular-nums; color: var(--ink); }
.sec--night .spec th, .sec--deep .spec th { color: var(--fog); }
.sec--night .spec td, .sec--deep .spec td { color: var(--white); }
.sec--night .spec th, .sec--night .spec td, .sec--deep .spec th, .sec--deep .spec td { border-color: var(--night-line-2); }
.statement__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 110px); align-items: end; }

/* ---------- Trades index (Gewerke) ---------- */
.trades { border-top: 1px solid var(--night-line-2); }
.trade { position: relative; border-bottom: 1px solid var(--night-line-2); }
.trade__link { display: grid; grid-template-columns: 90px minmax(0, 1fr) minmax(0, 34ch) 64px; align-items: center; gap: 28px; padding: clamp(22px, 2.6vw, 36px) 0; text-decoration: none; position: relative; z-index: 1; }
.trade__code { font-family: var(--ff-mono); font-size: .72rem; color: var(--fog-2); letter-spacing: .06em; }
.trade__name { font-weight: 800; font-stretch: 66%; text-transform: uppercase; font-size: clamp(2.2rem, 5.6vw, 5.2rem); line-height: .9; transition: transform .6s var(--ease-out), color .4s; transform-origin: left; }
.trade__desc { color: var(--fog); font-size: .98rem; line-height: 1.5; transition: color .4s; }
.trade__go { width: 64px; height: 64px; border-radius: 50%; border: 1px solid var(--night-line-2); display: grid; place-items: center; font-size: 1.4rem; transition: background .4s var(--ease-out), border-color .4s, transform .5s var(--ease-out), color .4s; }
.trade::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255, 90, 31, .1), rgba(47, 85, 255, .06)); transform: scaleY(0); transform-origin: bottom; transition: transform .55s var(--ease-out); }
.trade:hover::before, .trade:focus-within::before { transform: scaleY(1); }
.trade:hover .trade__name, .trade:focus-within .trade__name { transform: translateX(14px); color: var(--molten); }
.trade:hover .trade__desc { color: var(--white); }
.trade:hover .trade__go, .trade:focus-within .trade__go { background: var(--molten); border-color: var(--molten); color: var(--night); transform: rotate(-45deg); }
.trade__thumb { display: none; }
.trade-cursor { position: fixed; left: 0; top: 0; z-index: 60; width: 340px; height: 230px; pointer-events: none; border-radius: var(--radius); overflow: hidden; opacity: 0; transform: translate(-50%, -50%) scale(.85); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9); }
.trade-cursor img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .35s; }
.trade-cursor img.is-active { opacity: 1; }
.trade-cursor::after { content: ""; position: absolute; inset: 0; border: 1px solid rgba(255, 255, 255, .25); }

/* ---------- Fields: Neubau / Service split ---------- */
.fields { display: flex; gap: 2px; min-height: 78vh; background: var(--night); }
.field { position: relative; flex: 1; min-width: 0; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(28px, 4vw, 60px); color: var(--white); text-decoration: none; transition: flex-grow .9s var(--ease-out); isolation: isolate; }
.field:hover, .field:focus-within { flex-grow: 1.55; }
.field__bg { position: absolute; inset: 0; z-index: -2; }
.field__bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.4s var(--ease-out), filter .8s; filter: saturate(.8) brightness(.8); }
.field:hover .field__bg img { transform: scale(1); filter: saturate(1.05) brightness(.95); }
.field::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 13, 18, .1) 0%, rgba(10, 13, 18, .35) 40%, rgba(10, 13, 18, .94) 100%); }
.field--day::before { background: linear-gradient(180deg, rgba(227, 229, 225, 0) 0%, rgba(10, 13, 18, .3) 45%, rgba(10, 13, 18, .94) 100%); }
.field__shift { position: absolute; top: clamp(28px, 4vw, 60px); left: clamp(28px, 4vw, 60px); right: clamp(28px, 4vw, 60px); display: flex; justify-content: space-between; align-items: center; font-family: var(--ff-mono); font-size: .72rem; letter-spacing: .06em; color: var(--white); }
.field__shift > span:first-child { display: inline-flex; align-items: center; gap: 10px; padding: 7px 12px; background: rgba(10, 13, 18, .55); border: 1px solid var(--night-line-2); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.field__title { font-size: clamp(2.6rem, 5.4vw, 5.4rem); }
.field__text { margin-top: 16px; max-width: 44ch; color: #d4d9e1; }
.field__more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .7s var(--ease-out); }
.field__more > div { overflow: hidden; }
.field:hover .field__more, .field:focus-within .field__more { grid-template-rows: 1fr; }
.field__list { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 22px; }
.field__list li { font-family: var(--ff-mono); font-size: .72rem; padding: 7px 11px; border: 1px solid var(--night-line-2); background: rgba(10, 13, 18, .45); }
.field__cta { margin-top: 26px; }

/* ---------- Process: Vom Plan zur Inbetriebnahme ---------- */
.process { position: relative; overflow: hidden; background: var(--night-2); }
.process__head { padding-top: clamp(88px, 10vw, 150px); }
.process__pin { position: relative; height: 100vh; height: 100svh; display: flex; align-items: center; }
.process__track { display: flex; gap: 0; padding-left: var(--gutter); will-change: transform; position: relative; }
.process__pipe { position: absolute; left: 0; top: 150px; height: 60px; pointer-events: none; overflow: visible; }
.process__pipe .p-shell { fill: none; stroke: #2a3242; stroke-width: 30; stroke-linecap: butt; }
.process__pipe .p-hi { fill: none; stroke: rgba(255, 255, 255, .07); stroke-width: 4; }
.process__pipe .p-flow { fill: none; stroke: url(#flowGrad); stroke-width: 30; }
.process__pipe .p-flange { fill: #313a4c; }
.process__pipe .p-flange.is-lit { fill: var(--molten); filter: drop-shadow(0 0 12px rgba(255, 90, 31, .9)); }
.step { position: relative; flex: none; width: min(78vw, 470px); padding-right: clamp(36px, 5vw, 90px); }
.step__no { font-family: var(--ff-mono); font-size: .75rem; color: var(--fog-2); display: flex; align-items: center; gap: 12px; height: 40px; }
.step__no b { color: var(--molten); font-weight: 500; }
.step__spacer { height: 140px; }
.step__title { font-size: clamp(2.4rem, 4.2vw, 4rem); }
.step__text { margin-top: 18px; color: #c9cfd8; max-width: 38ch; }
.step__meta { margin-top: 22px; font-family: var(--ff-mono); font-size: .72rem; color: var(--fog); display: flex; flex-direction: column; gap: 6px; }
.step__meta span::before { content: "— "; color: var(--molten); }
.step--end { width: min(86vw, 560px); align-self: stretch; display: flex; flex-direction: column; justify-content: center; }

/* ---------- Bases map (Stützpunkte) ---------- */
.bases { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr); gap: clamp(36px, 5vw, 90px); align-items: center; }
.bases__list { display: grid; gap: 0; margin-top: 34px; border-top: 1px solid var(--night-line-2); }
.base-item { display: grid; grid-template-columns: 30px 1fr auto; gap: 16px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--night-line-2); cursor: default; transition: background .3s; }
.base-item:hover, .base-item.is-active { background: linear-gradient(90deg, rgba(47, 85, 255, .14), transparent); }
.base-item__dot { width: 12px; height: 12px; border-radius: 50%; background: var(--cobalt); box-shadow: 0 0 0 4px rgba(47, 85, 255, .25); align-self: center; }
.base-item--hq .base-item__dot { background: var(--molten); box-shadow: 0 0 0 4px rgba(255, 90, 31, .25); border-radius: 2px; }
.base-item strong { font-weight: 700; font-stretch: 88%; font-size: 1.1rem; display: block; }
.base-item small { color: var(--fog); font-size: .88rem; }
.base-item .mono { font-size: .74rem; color: var(--fog); white-space: nowrap; }
.map { position: relative; aspect-ratio: 10 / 6; background: radial-gradient(ellipse at 50% 55%, #121a2a 0%, var(--night-2) 70%); border: 1px solid var(--night-line); border-radius: var(--radius); overflow: hidden; }
.map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map .grat { stroke: rgba(214, 222, 235, .08); stroke-width: 1; }
.map .grat-label { fill: var(--fog-2); font-family: var(--ff-mono); font-size: 15px; }
.map .river { fill: none; stroke: rgba(80, 120, 255, .4); stroke-width: 3.5; stroke-linecap: round; }
.map .river-label { fill: rgba(147, 166, 255, .7); font-family: var(--ff-mono); font-size: 15px; letter-spacing: .1em; }
.map .city { fill: rgba(214, 222, 235, .45); }
.map .city-label { fill: rgba(214, 222, 235, .6); font-family: var(--ff); font-size: 17px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.map .link { fill: none; stroke: var(--molten); stroke-width: 2.4; stroke-dasharray: 5 6; opacity: .75; }
.map .ring { fill: none; stroke: var(--cobalt-lt); stroke-width: 1.2; transform-box: fill-box; transform-origin: center; animation: ring 3.2s var(--ease-out) infinite; }
.map .ring--2 { animation-delay: 1.06s; } .map .ring--3 { animation-delay: 2.12s; }
@keyframes ring { 0% { transform: scale(.2); opacity: .9; } 100% { transform: scale(3.4); opacity: 0; } }
.map .base { fill: var(--cobalt); stroke: #fff; stroke-width: 2; }
.map .hq { fill: var(--molten); stroke: #fff; stroke-width: 2; }
.map .base-label { fill: var(--white); font-family: var(--ff); font-size: 25px; font-weight: 800; font-stretch: 80%; }
.map .base-sub { fill: var(--fog); font-family: var(--ff); font-weight: 600; font-size: 17px; letter-spacing: .04em; }
.map .km { fill: var(--glow); font-family: var(--ff-mono); font-size: 16px; }
.map__legend { position: absolute; left: 16px; bottom: 14px; display: flex; gap: 18px; font-family: var(--ff-mono); font-size: .66rem; color: var(--fog); }
.map__legend span { display: inline-flex; align-items: center; gap: 8px; }
.map__legend i { width: 10px; height: 10px; border-radius: 50%; background: var(--cobalt); display: inline-block; }
.map__legend i.sq { border-radius: 2px; background: var(--molten); }
.map__note { position: absolute; right: 14px; bottom: 14px; font-family: var(--ff-mono); font-size: .62rem; color: var(--fog-2); }

/* ---------- Plates (Zertifikate als Typenschilder) ---------- */
.plates { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 24px); perspective: 1200px; }
.plate {
  position: relative; padding: 26px 24px 22px; min-height: 220px; display: flex; flex-direction: column;
  color: var(--ink); background: #eceeea; border: 1px solid var(--zinc-line-2); border-radius: 2px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset, 0 18px 34px -24px rgba(10, 13, 18, .45);
  transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out), background .4s;
}
.plate::before { content: ""; position: absolute; inset: 8px; border: 1px solid var(--zinc-line); border-radius: 1px; pointer-events: none; }
.plate__norm { font-weight: 800; font-stretch: 70%; text-transform: uppercase; font-size: clamp(1.7rem, 2.4vw, 2.3rem); line-height: .92; color: var(--ink); margin-top: 6px; letter-spacing: .005em; }
.plate__what { margin-top: 12px; font-size: .9rem; line-height: 1.45; color: var(--ink-2); }
.plate__foot { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--zinc-line); display: flex; justify-content: space-between; gap: 10px; font-family: var(--ff); font-weight: 700; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.plate--molten { background: var(--molten); border-color: var(--molten); color: var(--night); }
.plate--molten .plate__norm { color: var(--night); }
.plate--molten .plate__what, .plate--molten .plate__foot { color: #2a1206; }
.plate--molten::before, .plate--molten .plate__foot { border-color: rgba(10, 13, 18, .3); }
.plate:hover { background: #f4f5f2; box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset, 0 30px 50px -26px rgba(10, 13, 18, .55); }
.plate--molten:hover { background: var(--molten-2); }
.plate:hover .plate__norm { color: var(--molten); }
.plate--molten:hover .plate__norm { color: var(--night); }

/* ---------- Gallery strip (real projects) ---------- */
.strip { position: relative; overflow: hidden; padding-block: 8px; cursor: grab; }
.strip:active { cursor: grabbing; }
.strip__track { display: flex; gap: 14px; width: max-content; will-change: transform; }
.strip__item { position: relative; flex: none; width: clamp(420px, 48vw, 780px); aspect-ratio: 3 / 1; overflow: hidden; border-radius: var(--radius); background: var(--night-3); margin: 0; }
.strip__item img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1s var(--ease-out), filter .6s; filter: saturate(.85); user-select: none; -webkit-user-drag: none; }
.strip__item:hover img { transform: scale(1); filter: saturate(1.05); }
.strip__item figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 18px 12px; font-size: .84rem; color: var(--white); background: linear-gradient(180deg, transparent, rgba(10, 13, 18, .88)); font-weight: 600; }
.strip__item figcaption .mono { display: block; font-size: .64rem; color: var(--glow); font-weight: 400; margin-bottom: 3px; }

/* ---------- CTA band ---------- */
.cta { position: relative; overflow: hidden; isolation: isolate; padding-block: clamp(110px, 14vw, 210px); }
.cta__bg { position: absolute; inset: -10% 0; z-index: -2; }
.cta__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10, 13, 18, .95) 0%, rgba(10, 13, 18, .78) 45%, rgba(10, 13, 18, .42) 100%); }
.cta__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px 80px; align-items: end; }
.cta__phone { display: block; margin-top: 30px; font-family: var(--ff-mono); font-stretch: 80%; font-size: clamp(1.6rem, 3.6vw, 3.3rem); line-height: 1; letter-spacing: -.03em; text-decoration: none; color: var(--white); transition: color .3s; }
.cta__phone:hover { color: var(--molten); }
.cta__phone-label { display: flex; align-items: center; gap: 10px; margin-top: 30px; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--fog); }
.cta__phone-label + .cta__phone { margin-top: 10px; }
.cta__card { background: rgba(10, 13, 18, .66); border: 1px solid var(--night-line-2); padding: clamp(24px, 3vw, 40px); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-radius: var(--radius); }
.cta__card .btn { width: 100%; margin-top: 22px; }
.contact-lines { display: grid; gap: 14px; }
.contact-lines li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; }
.contact-lines .ph-bold { color: var(--molten); font-size: 1.15rem; margin-top: 3px; }
.contact-lines a { text-decoration: none; }
.contact-lines a:hover { color: var(--molten); }
.contact-lines .mono { font-size: .86rem; }

/* ---------- Footer ---------- */
.footer { background: #06080b; color: var(--fog); padding-top: clamp(70px, 8vw, 120px); overflow: hidden; position: relative; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 60px; }
.footer h3 { font-family: var(--ff-mono); font-size: .7rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--fog-2); margin-bottom: 18px; }
.footer ul { display: grid; gap: 10px; }
.footer a { text-decoration: none; color: var(--white); transition: color .25s; }
.footer a:hover { color: var(--molten); }
.footer__about p { margin-top: 20px; max-width: 36ch; font-size: .95rem; }
.footer__contact li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: .95rem; }
.footer__contact .ph-bold { color: var(--molten); margin-top: 4px; }
.footer__contact .mono { font-size: .82rem; }
.footer__giant { font-weight: 800; font-stretch: 125%; font-size: clamp(3.4rem, 13.4vw, 13.6rem); line-height: .78; letter-spacing: -.02em; color: transparent; -webkit-text-stroke: 1px rgba(214, 222, 235, .16); white-space: nowrap; text-transform: uppercase; user-select: none; margin-left: -.04em; transform: translateY(.08em); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; padding-block: 26px; border-top: 1px solid var(--night-line); font-size: .78rem; color: var(--fog-2); }
.footer__credits { max-width: 980px; line-height: 1.55; }
.footer__credits a { color: var(--fog); text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .25); }

/* ---------- Demo bar ---------- */
.demo-bar { background: var(--molten); color: var(--night); position: relative; z-index: 5; }
.demo-bar__inner { display: flex; align-items: center; gap: 22px; padding-block: 20px; }
.demo-bar__icon { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border: 1.5px solid var(--night); border-radius: 50%; font-size: 1.3rem; }
.demo-bar__text { flex: 1; font-size: .95rem; line-height: 1.5; }
.demo-bar__text strong { font-weight: 800; margin-right: .4em; text-transform: uppercase; font-stretch: 85%; letter-spacing: .02em; }
.demo-bar .btn { --bg: var(--night); --fg: var(--white); --bd: var(--night); flex: none; }
.demo-bar .btn::before { background: var(--white); }
.demo-bar .btn:hover { --fg: var(--night); box-shadow: none; }

/* ==========================================================================
   SUBPAGES
   ========================================================================== */
.phero { position: relative; min-height: 84vh; min-height: 84svh; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; padding-top: calc(var(--header-h) + 60px); padding-bottom: clamp(48px, 7vw, 96px); }
.phero--short { min-height: 64vh; min-height: 64svh; }
.phero__media { position: absolute; inset: -6% 0; z-index: -3; will-change: transform; }
.phero__media img { width: 100%; height: 100%; object-fit: cover; }
.phero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, rgba(10, 13, 18, .93) 0%, rgba(10, 13, 18, .7) 45%, rgba(10, 13, 18, .25) 100%), linear-gradient(180deg, rgba(10, 13, 18, .55) 0%, transparent 30%, transparent 55%, rgba(10, 13, 18, .92) 100%); }
.phero__embers { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }
.phero__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 40px 72px; align-items: end; width: 100%; }
.phero__title { font-size: clamp(2.4rem, 6vw, 5.8rem); line-height: .88; }
.phero__title .line { display: block; overflow: hidden; padding-top: .14em; margin-top: -.14em; padding-bottom: .04em; margin-bottom: -.04em; }
.phero__title .line > span { display: inline-block; }
.phero .weld { height: 52px; width: min(100%, 760px); margin-top: 10px; }
.phero__lead { color: #d6dbe3; margin-top: 6px; }
.phero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.phero__aside { padding: 22px 24px; border: 1px solid var(--night-line-2); background: rgba(10, 13, 18, .55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-radius: var(--radius); }
.phero__aside .spec td, .phero__aside .spec th { padding: 10px 0; font-size: .8rem; }
.phero__aside .spec th { font-size: .86rem; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-family: var(--ff-mono); font-size: .7rem; color: var(--fog); margin-bottom: 26px; letter-spacing: .03em; }
.crumbs a { text-decoration: none; color: var(--fog); }
.crumbs a:hover { color: var(--molten); }
.crumbs .ph-bold { font-size: .7rem; color: var(--fog-2); }
.crumbs [aria-current] { color: var(--white); }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 110px); align-items: start; }
.split--wide { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
.split__sticky { position: sticky; top: calc(var(--header-h) + 40px); }
.figure { position: relative; overflow: hidden; border-radius: var(--radius); margin: 0; background: var(--night-3); }
.figure img { width: 100%; height: 100%; object-fit: cover; }
.figure--tall { aspect-ratio: 4 / 5; }
.figure--wide { aspect-ratio: 16 / 10; }
.figure figcaption { position: absolute; left: 14px; bottom: 12px; font-family: var(--ff-mono); font-size: .64rem; color: var(--white); background: rgba(10, 13, 18, .6); padding: 6px 9px; }
.figure .dim { position: absolute; top: 14px; right: 14px; left: 14px; height: 12px; border-left: 1px solid rgba(255, 255, 255, .7); border-right: 1px solid rgba(255, 255, 255, .7); }
.figure .dim::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 1px solid rgba(255, 255, 255, .7); }

/* Scope list (Leistungsumfang) */
.scope { border-top: 1px solid var(--zinc-line-2); counter-reset: scope; }
.scope li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--zinc-line-2); }
.scope .ph-bold { font-size: 1.55rem; color: var(--molten); margin-top: 2px; }
.scope strong { display: block; font-weight: 700; font-stretch: 88%; font-size: 1.12rem; color: var(--ink); }
.scope p { color: var(--ink-2); margin-top: 4px; font-size: .97rem; }
.sec--night .scope, .sec--deep .scope, .sec--night .scope li, .sec--deep .scope li { border-color: var(--night-line-2); }
.sec--night .scope strong, .sec--deep .scope strong { color: var(--white); }
.sec--night .scope p, .sec--deep .scope p { color: var(--fog); }

/* Steps (subpage process) */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; position: relative; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 23px; height: 14px; background: #262e3d; border-radius: 7px; }
.steps__flow { position: absolute; left: 0; top: 23px; height: 14px; width: 100%; border-radius: 7px; background: linear-gradient(90deg, var(--temper), var(--violet), var(--bronze), var(--straw), var(--glow)); transform-origin: left; transform: scaleX(var(--flow, 0)); box-shadow: 0 0 22px rgba(255, 179, 92, .35); }
.steps .st { position: relative; padding-right: 28px; padding-top: 78px; }
.steps__node { position: absolute; top: 12px; left: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--night-2); border: 2px solid #3a4457; display: grid; place-items: center; font-family: var(--ff-mono); font-size: .68rem; color: var(--fog); transition: border-color .4s, color .4s, box-shadow .4s, background .4s; }
.steps .st.is-on .steps__node { border-color: var(--molten); background: var(--molten); color: var(--night); box-shadow: 0 0 22px rgba(255, 90, 31, .7); }
.steps h3 { font-weight: 800; font-stretch: 72%; text-transform: uppercase; font-size: 1.7rem; line-height: .95; }
.steps p { margin-top: 10px; color: var(--fog); font-size: .96rem; }

/* Mosaic */
.mosaic { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: clamp(120px, 13vw, 210px); gap: 12px; }
.mosaic .figure { height: 100%; }
.mosaic .m-a { grid-column: span 7; grid-row: span 2; }
.mosaic .m-b { grid-column: span 5; grid-row: span 1; }
.mosaic .m-c { grid-column: span 5; grid-row: span 1; }
.mosaic .m-d { grid-column: span 12; grid-row: span 1; }

/* Industries */
.industries { border-top: 1px solid var(--zinc-line-2); }
.industry { display: grid; grid-template-columns: 56px minmax(0, 1fr) minmax(0, 1.25fr); gap: 24px; align-items: baseline; padding: 26px 0; border-bottom: 1px solid var(--zinc-line-2); }
.industry .ph-bold { font-size: 1.7rem; color: var(--molten); align-self: center; }
.industry h3 { font-weight: 800; font-stretch: 72%; text-transform: uppercase; font-size: clamp(1.4rem, 2.1vw, 2rem); overflow-wrap: anywhere; hyphens: auto; line-height: .95; transition: color .35s, transform .5s var(--ease-out); }
.industry p { font-size: .97rem; color: var(--ink-2); max-width: 60ch; }
.industry:hover h3 { transform: translateX(12px); }
.industry:hover h3 { color: var(--molten); }

/* FAQ */
.faq { border-top: 1px solid var(--night-line-2); }
.faq details { border-bottom: 1px solid var(--night-line-2); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 24px 0; font-weight: 700; font-stretch: 88%; font-size: clamp(1.08rem, 1.3vw, 1.3rem); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ph-bold { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--night-line-2); display: grid; place-items: center; transition: transform .45s var(--ease-out), background .3s, color .3s; }
.faq details[open] summary .ph-bold { transform: rotate(45deg); background: var(--molten); color: var(--night); border-color: var(--molten); }
.faq summary:hover { color: var(--molten); }
.faq__body { padding: 0 64px 26px 0; color: var(--fog); max-width: 76ch; }
.sec--zinc .faq, .sec--zinc .faq details { border-color: var(--zinc-line-2); }
.sec--zinc .faq__body { color: var(--ink-2); }
.sec--zinc .faq summary .ph-bold { border-color: var(--zinc-line-2); }

/* Related services */
.related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.rel { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 300px; padding: 26px; text-decoration: none; overflow: hidden; isolation: isolate; border-radius: var(--radius); color: var(--white); }
.rel img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.rel::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 13, 18, .15), rgba(10, 13, 18, .92)); transition: background .5s; }
.rel:hover img { transform: scale(1.07); }
.rel:hover::before { background: linear-gradient(180deg, rgba(255, 90, 31, .2), rgba(10, 13, 18, .94)); }
.rel h3 { font-weight: 800; font-stretch: 70%; text-transform: uppercase; font-size: 2rem; line-height: .92; }
.rel span { margin-top: 12px; display: inline-flex; gap: 8px; align-items: center; font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .04em; color: var(--glow); }

/* Overview grid on leistungen.html */
.svc-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 14px; }
.svc { position: relative; grid-column: span 4; min-height: 460px; display: flex; flex-direction: column; justify-content: flex-end; padding: 30px; overflow: hidden; isolation: isolate; text-decoration: none; color: var(--white); border-radius: var(--radius); }
.svc--wide { grid-column: span 8; }
.svc--half { grid-column: span 6; }
.svc img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out), filter .6s; filter: saturate(.85); }
.svc::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 13, 18, 0) 20%, rgba(10, 13, 18, .94) 100%); }
.svc:hover img { transform: scale(1.06); filter: saturate(1.05); }
.svc__tag { position: absolute; top: 24px; left: 30px; font-family: var(--ff-mono); font-size: .68rem; padding: 6px 10px; background: rgba(10, 13, 18, .6); border: 1px solid var(--night-line-2); }
.svc h2 { font-weight: 800; font-stretch: 68%; text-transform: uppercase; font-size: clamp(2.2rem, 3.4vw, 3.4rem); line-height: .9; }
.svc p { margin-top: 12px; color: #d1d6de; max-width: 48ch; font-size: .97rem; }
.svc .link-arrow { margin-top: 18px; color: var(--glow); align-self: flex-start; }

/* Reference gallery page */
.refs { columns: 2; column-gap: 14px; }
.ref { break-inside: avoid; margin: 0 0 14px; position: relative; overflow: hidden; border-radius: var(--radius); background: var(--night-3); cursor: zoom-in; display: block; width: 100%; padding: 0; border: 0; text-align: left; color: var(--white); }
.ref img { width: 100%; aspect-ratio: 3 / 1; object-fit: cover; transition: transform 1s var(--ease-out); }
.ref:hover img { transform: scale(1.04); }
.ref__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 16px 12px; background: linear-gradient(180deg, transparent, rgba(10, 13, 18, .9)); font-size: .86rem; font-weight: 600; }
.ref__cap .mono { display: block; font-size: .64rem; color: var(--glow); font-weight: 400; }
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(6, 8, 11, .96); display: grid; place-items: center; padding: 70px var(--gutter); opacity: 0; visibility: hidden; transition: opacity .4s, visibility 0s .4s; }
.lightbox.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }
.lightbox img { max-height: 76vh; width: auto; max-width: 100%; border-radius: var(--radius); box-shadow: 0 40px 100px rgba(0, 0, 0, .7); }
.lightbox__cap { margin-top: 16px; color: var(--fog); text-align: center; font-size: .9rem; }
.lightbox__btn { position: absolute; width: 54px; height: 54px; border-radius: 50%; border: 1px solid var(--night-line-2); background: rgba(10, 13, 18, .7); color: var(--white); display: grid; place-items: center; font-size: 1.3rem; transition: background .3s, color .3s; }
.lightbox__btn:hover { background: var(--molten); color: var(--night); }
.lightbox__close { top: 18px; right: 18px; }
.lightbox__prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 18px; top: 50%; transform: translateY(-50%); }

/* Values / facility list on Unternehmen */
.facility { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--night-line-2); }
.facility > div { padding: 30px 28px 34px 0; border-bottom: 1px solid var(--night-line-2); }
.facility > div + div { padding-left: 28px; border-left: 1px solid var(--night-line-2); }
.facility h3 { font-weight: 800; font-stretch: 72%; text-transform: uppercase; font-size: 1.55rem; line-height: .95; margin-top: 18px; }
.facility .ph-bold { font-size: 1.8rem; color: var(--molten); }
.facility ul { margin-top: 14px; display: grid; gap: 8px; color: var(--fog); font-size: .95rem; }
.facility li { display: flex; gap: 10px; }
.facility li::before { content: ""; flex: none; width: 10px; height: 2px; background: var(--molten); margin-top: .78em; }

/* Quote */
.quote { font-weight: 700; font-stretch: 80%; font-size: clamp(1.7rem, 3.2vw, 3rem); line-height: 1.1; letter-spacing: -.01em; max-width: 30ch; text-wrap: balance; }
.quote__by { margin-top: 24px; font-family: var(--ff-mono); font-size: .76rem; color: var(--fog); }
.sec--zinc .quote__by { color: var(--ink-2); }

/* Forms */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 18px; }
.form .full { grid-column: 1 / -1; }
.field-i { display: flex; flex-direction: column; gap: 8px; }
.field-i label { font-size: .82rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--fog); }
.field-i input, .field-i select, .field-i textarea {
  width: 100%; min-height: 54px; padding: 14px 16px; background: rgba(255, 255, 255, .03); border: 1px solid var(--night-line-2); border-radius: var(--radius);
  color: var(--white); transition: border-color .3s, background .3s, box-shadow .3s; caret-color: var(--molten);
}
.field-i select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--fog) 50%), linear-gradient(135deg, var(--fog) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
.field-i select option { background: var(--night-2); color: var(--white); }
.field-i textarea { min-height: 150px; resize: vertical; }
.field-i input::placeholder, .field-i textarea::placeholder { color: #8b94a4; }
.field-i input:hover, .field-i select:hover, .field-i textarea:hover { border-color: rgba(214, 222, 235, .38); }
.field-i input:focus, .field-i select:focus, .field-i textarea:focus { border-color: var(--molten); background: rgba(255, 90, 31, .05); box-shadow: 0 0 0 3px rgba(255, 90, 31, .18); outline: none; }
.field-i.has-error input, .field-i.has-error textarea, .field-i.has-error select { border-color: #ff6b6b; }
.field-i__err { font-size: .82rem; color: #ff8f8f; min-height: 0; display: none; }
.field-i.has-error .field-i__err { display: block; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 12px; font-size: .9rem; color: var(--fog); align-items: start; }
.check input { width: 20px; height: 20px; accent-color: var(--molten); margin-top: 2px; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: inline-flex; align-items: center; gap: 8px; padding: 11px 16px; border: 1px solid var(--night-line-2); border-radius: var(--radius); font-size: .92rem; font-weight: 600; cursor: pointer; transition: background .3s, color .3s, border-color .3s; }
.seg span:hover { border-color: var(--fog); }
.seg input:checked + span { background: var(--molten); color: var(--night); border-color: var(--molten); }
.seg input:focus-visible + span { outline: 2px solid var(--molten); outline-offset: 3px; }
.form__status { grid-column: 1 / -1; display: none; padding: 16px 18px; border: 1px solid rgba(61, 255, 139, .4); background: rgba(61, 255, 139, .08); color: #c9ffe0; border-radius: var(--radius); font-size: .95rem; }
.form__status.is-visible { display: block; }
.map-consent { position: relative; aspect-ratio: 4 / 3; border: 1px solid var(--night-line-2); border-radius: var(--radius); overflow: hidden; background: var(--night-2); display: grid; place-items: center; text-align: center; padding: 30px; }
.map-consent iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.6) invert(.92) hue-rotate(180deg) contrast(.9); }
.map-consent p { color: var(--fog); font-size: .9rem; max-width: 40ch; margin: 12px auto 18px; }

/* Jobs (Karriere) */
.jobs { border-top: 1px solid var(--zinc-line-2); }
.job { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) auto; gap: 28px; align-items: center; padding: 28px 0; border-bottom: 1px solid var(--zinc-line-2); }
.job h3 { font-weight: 800; font-stretch: 70%; text-transform: uppercase; font-size: clamp(1.6rem, 2.6vw, 2.4rem); line-height: .92; }
.job p { color: var(--ink-2); font-size: .97rem; }
.perks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--night-line-2); }
.perks > div { padding: 30px 26px 30px 0; border-bottom: 1px solid var(--night-line-2); }
.perks > div + div { padding-left: 26px; border-left: 1px solid var(--night-line-2); }
.perks .ph-bold { color: var(--molten); font-size: 1.8rem; }
.perks h3 { font-weight: 700; font-stretch: 85%; font-size: 1.12rem; margin-top: 16px; }
.perks p { color: var(--fog); font-size: .93rem; margin-top: 6px; }

/* ---------- Reveal defaults (content visible without JS) ---------- */
html.js [data-reveal] { opacity: 0; transform: translateY(28px); }
html.js [data-reveal="clip"] { opacity: 1; transform: none; clip-path: inset(0 0 100% 0); }
html.js [data-reveal="scale"] { transform: scale(.94); }
html.js.no-gsap [data-reveal] { opacity: 1; transform: none; clip-path: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1240px) {
  .nav, .header-hotline { display: none; }
  .burger { display: block; }
  .plates { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .perks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .perks > div:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 1000px) {
  :root { --header-h: 68px; }
  .readout { position: relative; right: auto; bottom: auto; width: 100%; max-width: 420px; margin-top: 36px; }
  .hero__inner { padding-bottom: 150px; }
  .hero__shade { background: linear-gradient(180deg, rgba(10, 13, 18, .7) 0%, rgba(10, 13, 18, .55) 40%, rgba(10, 13, 18, .92) 100%); }
  .sec-head, .statement__grid, .bases, .cta__grid, .phero__grid, .split, .split--wide { grid-template-columns: minmax(0, 1fr); }
  .split__sticky { position: static; }
  .trade__link { grid-template-columns: minmax(0, 1fr) 52px; gap: 8px 18px; }
  .trade__code { grid-column: 1 / -1; }
  .trade__desc { grid-column: 1 / 2; grid-row: 3; }
  .trade__go { grid-row: 2; grid-column: 2; width: 52px; height: 52px; }
  .trade__thumb { display: block; grid-column: 1 / -1; grid-row: 4; aspect-ratio: 16 / 7; overflow: hidden; border-radius: var(--radius); margin-top: 8px; }
  .trade__thumb img { width: 100%; height: 100%; object-fit: cover; }
  .trade-cursor { display: none; }
  .fields { flex-direction: column; min-height: 0; }
  .field { min-height: 72vh; }
  .field__more { grid-template-rows: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps::before, .steps__flow { left: 17px; right: auto; top: 0; bottom: 0; width: 4px; height: auto; transform-origin: top; transform: scaleY(var(--flow, 0)); }
  .steps__flow { height: 100%; }
  .steps .st { padding: 0 0 36px 64px; }
  .steps__node { top: 0; }
  .facility { grid-template-columns: 1fr; }
  .facility > div + div { padding-left: 0; border-left: 0; }
  .related { grid-template-columns: 1fr; }
  .svc, .svc--wide, .svc--half { grid-column: 1 / -1; min-height: 400px; }
  .job { grid-template-columns: 1fr; gap: 12px; }
  .mosaic { grid-auto-rows: clamp(140px, 30vw, 240px); }
  .mosaic .m-a { grid-column: span 12; grid-row: span 2; }
  .mosaic .m-b, .mosaic .m-c { grid-column: span 6; }
  .phero__aside { max-width: 520px; }
}
@media (max-width: 700px) {
  .hero__title { font-size: clamp(2.2rem, 12.6vw, 4.6rem); }
  .header-cta { display: none; }
  .hero__actions .btn { width: 100%; }
  .hero__coords { display: none; }
  .weld { height: 46px; }
  .plates { grid-template-columns: minmax(0, 1fr); }
  .footer__grid { grid-template-columns: 1fr; }
  .industry { grid-template-columns: 40px minmax(0, 1fr); gap: 6px 16px; }
  .industry p { grid-column: 2; }
  .perks { grid-template-columns: 1fr; }
  .perks > div + div { padding-left: 0; border-left: 0; }
  .form { grid-template-columns: 1fr; }
  .refs { columns: 1; }
  .strip__item { width: 86vw; }
  .demo-bar__inner { flex-direction: column; align-items: flex-start; gap: 14px; }
  .demo-bar .btn { width: 100%; }
  .faq__body { padding-right: 0; }
  .map__legend { flex-direction: column; gap: 6px; }
  .mosaic .m-b, .mosaic .m-c { grid-column: span 12; }
  .field { min-height: 80vh; }
  .phero__actions .btn { width: 100%; }
  .base-item { grid-template-columns: 22px 1fr; }
  .base-item .mono { grid-column: 2; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  html.js [data-reveal] { opacity: 1; transform: none; clip-path: none; }
  .grain { display: none; }
  .hero__media img { animation: none; }
}

/* ---------- Process: state + small screens ---------- */
.step .step__title { transition: color .5s var(--ease-out); }
.step.is-lit .step__title { color: var(--white); }
.step:not(.is-lit) .step__title { color: #5d6678; }
html.no-gsap .step .step__title, .process--static .step .step__title { color: var(--white); }
@media (max-width: 1000px), (prefers-reduced-motion: reduce) {
  .process__pin { height: auto; display: block; padding-bottom: clamp(70px, 10vw, 120px); }
  .process__track { flex-direction: column; padding-right: var(--gutter); transform: none !important; }
  .process__pipe { display: none; }
  .step { width: auto; padding: 0 0 38px 34px; background: linear-gradient(var(--night-4), var(--night-4)) 0 0 / 2px 100% no-repeat; margin-left: 6px; }
  .step::before { content: ""; position: absolute; left: -9px; top: 10px; width: 16px; height: 16px; border-radius: 2px; background: var(--molten); box-shadow: 0 0 16px rgba(255, 90, 31, .7); }
  .step .step__title, .step:not(.is-lit) .step__title { color: var(--white); }
  .step__spacer { height: 10px; }
  .step--end { width: auto; background: none; }
  .step--end::before { display: none; }
}

/* ---------- Map highlight ---------- */
.map g[id^="map-"] { transition: opacity .3s; }
.map g.is-hot .base { fill: var(--molten); }
.map g.is-hot .base-label { fill: var(--molten); }
.map g.is-hot .ring { stroke: var(--molten); }
@media (max-width: 700px) {
  .phero__title { font-size: clamp(2.1rem, 10.2vw, 3.4rem); }
  .field__shift > span.mono { display: none; }
  .phero { min-height: 92svh; }
}

/* split heading lines (all headings) */
.line { display: block; overflow: hidden; padding-top: .14em; margin-top: -.14em; padding-bottom: .06em; margin-bottom: -.06em; }
.line > span { display: inline-block; }
.phero__aside .spec th { color: var(--fog); }
.phero__aside .spec td { color: var(--white); }
.phero__aside .spec th, .phero__aside .spec td { border-color: var(--night-line-2); }
.cta__bg img { object-position: 60% 30%; }
.phero__title--long { font-size: clamp(2rem, 4.9vw, 4.8rem); }
@media (min-width: 1001px) {
  .step--end { justify-content: flex-start; padding-top: 220px; }
}
@media (max-width: 700px) {
  .phero__title--long { font-size: clamp(1.9rem, 9.2vw, 3rem); }
}

/* Martian Mono only for numbers, norms, times, distances */
.step__meta, .field__list li, .crumbs, .figure figcaption, .hero__scroll, .logo__sub, .strip__item figcaption .mono, .ref__cap .mono, .mega__group-title, .footer h3, .field__shift > span:last-child, .map__legend, .map__note {
  font-family: var(--ff); font-stretch: 92%; letter-spacing: .08em; text-transform: uppercase; font-weight: 600;
}
.step__meta, .field__list li { font-size: .74rem; }
.crumbs { font-size: .74rem; }
.figure figcaption { font-size: .7rem; }
.logo__sub { font-size: .62rem; letter-spacing: .2em; }
.map__legend, .map__note { font-size: .68rem; }
/* map on small screens */
@media (max-width: 700px) {
  .map .city-label, .map .river-label, .map .grat-label, .map .base-sub, .map .city { display: none; }
  .map .base-label { font-size: 40px; }
  .map .km { font-size: 32px; }
  .map__legend { position: absolute; top: 12px; left: 12px; bottom: auto; flex-direction: row; }
  .map__note { left: 12px; right: auto; }
}
/* reduced-motion process on wide screens: a grid, not a lone column */
@media (prefers-reduced-motion: reduce) and (min-width: 1001px) {
  .process__track { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 48px; }
  .step--end { padding-top: 0; }
}

.field__shift > span:first-child, .base-item__tag { font-family: var(--ff); font-weight: 700; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; }
.base-item__tag { color: var(--fog); white-space: nowrap; }
@media (max-width: 700px) {
  .map .km { transform: translateY(20px); }
  .base-item__tag { grid-column: 2; }
}
@media (max-width: 700px) {
  #map-hq .base-label { display: none; }
}
