/* =========================================================
   Waßmann · Frachtenvermittlung — v2
   Layout: a pinned navy hero (3D harbour drawing) that white
   "sheets" slide over; each band change is a rounded sheet
   edge. Content column 1200px. Technical labels in mono.
   ========================================================= */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin-wdth.woff2") format("woff2-variations"),
       url("../fonts/archivo-latin-wdth.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/ibm-plex-mono-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/ibm-plex-mono-500.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

:root {
  /* Brand */
  --navy: #0F172A;
  --anthracite: #1E293B;
  --white: #FFFFFF;
  --orange: #F97316;
  --orange-ink: #C2410C;
  --petrol: #0F766E;

  /* Neutrals (navy-biased) */
  --mist: #F4F6F9;
  --line: #E2E7EE;
  --line-strong: #CBD3DE;
  --ink: #0F172A;
  --ink-2: #44506A;
  --ink-3: #66728A;
  --on-dark: #E2E8F0;
  --on-dark-2: #94A3B8;
  --on-dark-3: #64748B;

  /* Type */
  --f-sans: "Archivo", "Helvetica Neue", Arial, system-ui, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --wide: 118%;
  --semi: 108%;

  --t-xs: 0.75rem;
  --t-sm: 0.875rem;
  --t-md: 1.0625rem;
  --t-lg: 1.1875rem;
  --t-h3: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem);
  --t-h2: clamp(2.1rem, 1.4rem + 2.6vw, 3.6rem);
  --t-h1: clamp(2.6rem, 1.3rem + 4.8vw, 5.6rem);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --sheet: 28px;
  --maxw: 1240px;
  --header-h: 68px;

  color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--navy);
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: var(--t-md);
  font-stretch: 100%;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 60;
  background: var(--navy);
}
img, svg, canvas { max-width: 100%; }
a { color: inherit; }
h1, h2, h3 {
  margin: 0;
  font-family: var(--f-sans);
  font-stretch: var(--wide);
  font-weight: 600;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
p { margin: 0; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 3px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--orange); color: var(--navy);
  padding: 10px 16px; border-radius: 4px; font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.wrap {
  width: 100%;
  max-width: calc(var(--maxw) + 48px);
  margin-inline: auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
@media (min-width: 768px) {
  .wrap {
    padding-left: max(24px, env(safe-area-inset-left, 0px));
    padding-right: max(24px, env(safe-area-inset-right, 0px));
  }
}

/* ---------- Shared ---------- */
.label {
  font-family: var(--f-mono);
  font-size: var(--t-xs);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font: 500 var(--t-xs)/1.4 var(--f-mono);
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--orange-ink);
}
.eyebrow .ix { color: var(--ink-3); }
.on-dark .eyebrow { color: var(--orange); }
.on-dark .eyebrow .ix { color: var(--on-dark-3); }

.section { position: relative; padding-block: clamp(88px, 11vw, 160px); }
.section-head { display: grid; gap: 22px; }
.section-head h2 { font-size: var(--t-h2); line-height: 1.02; }
.lead { font-size: var(--t-lg); line-height: 1.6; color: var(--ink-2); max-width: 36rem; }
.on-dark .lead { color: var(--on-dark-2); }
@media (min-width: 960px) {
  .section-head.split { grid-template-columns: 7fr 5fr; align-items: end; column-gap: 64px; }
  .section-head.split .eyebrow { grid-column: 1 / -1; }
}

/* Sheets: each band slides over the previous one with a rounded edge */
.sheet {
  position: relative;
  z-index: 2;
  margin-top: calc(var(--sheet) * -1);
  border-radius: var(--sheet) var(--sheet) 0 0;
}
.bg-white { background: var(--white); }
.bg-mist { background: var(--mist); }
.bg-navy { background: var(--navy); color: var(--white); }
.sheet.lift { box-shadow: 0 -40px 80px -40px rgba(2, 6, 23, 0.55); }

.btn {
  --bg: transparent; --fg: inherit; --bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  min-height: 54px; padding: 0 24px;
  border-radius: 4px; border: 1px solid var(--bd);
  background: var(--bg); color: var(--fg);
  font: 600 var(--t-md)/1 var(--f-sans);
  font-stretch: var(--semi);
  text-decoration: none; cursor: pointer;
  transition: background-color .4s var(--ease), border-color .4s var(--ease), color .4s var(--ease);
}
.btn svg { width: 18px; height: 18px; transition: transform .5s var(--ease-out); }
.btn:hover svg { transform: translateX(4px); }
.btn-primary { --bg: var(--orange); --fg: var(--navy); }
.btn-primary:hover { --bg: #FB8B3F; }
.btn-ghost { --bd: rgba(226, 232, 240, 0.28); --fg: var(--white); }
.btn-ghost:hover { --bd: rgba(226, 232, 240, 0.7); }
.btn-dark { --bg: var(--navy); --fg: var(--white); }
.btn-dark:hover { --bg: var(--anthracite); }

[data-placeholder]::after {
  content: "Platzhalter";
  margin-left: 8px; padding: 2px 6px;
  border: 1px dashed var(--orange-ink); border-radius: 3px;
  font: 500 10px/1.4 var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--orange-ink); vertical-align: middle; white-space: nowrap;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 50;
  color: var(--white);
  background: rgba(15, 23, 42, 0.0);
  transition: background-color .6s var(--ease), color .6s var(--ease), box-shadow .6s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.9);
  color: var(--navy);
  box-shadow: 0 1px 0 var(--line);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  backdrop-filter: saturate(160%) blur(16px);
}
.site-header.is-dark { background: rgba(15, 23, 42, 0.86); color: var(--white); box-shadow: 0 1px 0 rgba(148, 163, 184, .14); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; }
.brand-mark { height: 30px; width: auto; aspect-ratio: 938 / 344.5; flex: none; display: block; }
.brand-text { display: grid; gap: 6px; line-height: 1.05; }
.brand-word { display: block; height: 12px; width: auto; aspect-ratio: 1597.5 / 96; }
.brand-name { font: 650 1.25rem/1.05 var(--f-sans); font-stretch: var(--wide); letter-spacing: -0.02em; }
.brand-sub { font: 500 10px/1.3 var(--f-mono); letter-spacing: 0.1em; text-transform: uppercase; opacity: .6; white-space: nowrap; }
.nav { display: flex; align-items: center; gap: 32px; }
.nav-list { display: none; list-style: none; margin: 0; padding: 0; gap: 30px; }
.nav-list a { position: relative; font-size: var(--t-sm); font-weight: 500; text-decoration: none; opacity: .78; transition: opacity .3s var(--ease); }
.nav-list a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease-out); }
.nav-list a:hover { opacity: 1; }
.nav-list a:hover::after { transform: scaleX(1); }
.nav .btn { min-height: 42px; padding: 0 18px; font-size: var(--t-sm); display: none; }
.nav-toggle {
  display: inline-grid; place-items: center; width: 44px; height: 44px;
  border: 1px solid rgba(148, 163, 184, 0.4); border-radius: 4px;
  background: transparent; color: inherit; cursor: pointer;
}
.nav-toggle svg { width: 20px; height: 20px; }
.nav-toggle .x { display: none; }
.nav-open .nav-toggle .x { display: block; }
.nav-open .nav-toggle .bars { display: none; }
.mobile-nav { display: none; padding-bottom: 20px; background: var(--navy); color: var(--white); }
.nav-open { background: var(--navy) !important; color: var(--white) !important; }
.nav-open .mobile-nav { display: block; }
.mobile-nav ul { list-style: none; margin: 0; padding: 8px 0 16px; }
.mobile-nav li a { display: block; padding: 14px 0; font: 600 1.15rem/1.2 var(--f-sans); font-stretch: var(--wide); text-decoration: none; border-bottom: 1px solid rgba(148, 163, 184, 0.14); }
.mobile-nav .btn { width: 100%; }
@media (min-width: 980px) {
  .nav-list { display: flex; }
  .nav .btn { display: inline-flex; }
  .nav-toggle, .mobile-nav, .nav-open .mobile-nav { display: none; }
}
@media (max-width: 420px) { .brand-sub { display: none; } .brand-mark { height: 26px; } .brand-word { height: 10px; } }

/* ---------- Hero ---------- */
.hero-pin { position: relative; z-index: 0; margin-top: calc(var(--header-h) * -1); }
.hero {
  position: sticky;
  top: 0;
  isolation: isolate;
  overflow: hidden;
  min-height: clamp(640px, 94svh, 960px);
  display: grid;
  align-items: end;
  background: var(--navy);
  color: var(--white);
}
.hero-art { position: absolute; inset: 0; z-index: -2; pointer-events: none; }
.hero-art canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 1.2s var(--ease); }
.hero-art canvas.is-ready { transition: none; }
.hero-art .scene-tint { position: absolute; inset: 0; opacity: .62; }
.hero::before {
  content: "";
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(15,23,42,.94) 0%, rgba(15,23,42,.78) 30%, rgba(15,23,42,0) 62%),
    linear-gradient(0deg, rgba(15,23,42,.9) 0%, rgba(15,23,42,0) 32%),
    linear-gradient(180deg, rgba(15,23,42,.8) 0%, rgba(15,23,42,0) 22%);
}
@media (max-width: 760px) {
  .hero::before { background: linear-gradient(180deg, rgba(15,23,42,.92) 0%, rgba(15,23,42,.7) 45%, rgba(15,23,42,.15) 70%, rgba(15,23,42,.85) 100%); }
}
.hero-inner {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(64px, 12vh, 140px));
  padding-bottom: calc(var(--sheet) + clamp(40px, 7vh, 72px));
  display: grid;
  gap: 28px;
  will-change: opacity, transform;
}
.hero h1 { font-size: var(--t-h1); line-height: 0.98; letter-spacing: -0.035em; font-weight: 600; }
.hero h1 .line { display: block; }
.hero h1 .line-2 { color: var(--on-dark-2); font-weight: 500; }
.hero h1 .dot { color: var(--orange); }
.hero .lead { font-size: clamp(1.06rem, 1rem + 0.35vw, 1.25rem); color: var(--on-dark); opacity: .82; max-width: 33rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.hero-meta {
  margin-top: clamp(20px, 5vh, 56px);
  display: grid; gap: 16px;
  padding-top: 20px;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  font: 500 var(--t-xs)/1.4 var(--f-mono);
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-dark-3);
}
@media (min-width: 900px) { .scroll-cue { display: inline-flex; } .hero-meta { grid-template-columns: auto 1fr auto; align-items: center; gap: 32px; } }
.hero-meta ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.hero-meta abbr { text-decoration: none; color: var(--on-dark); }
.hero-meta abbr::before { content: ""; display: inline-block; width: 5px; height: 5px; margin-right: 8px; border-radius: 50%; background: var(--orange); vertical-align: 2px; }
.scroll-cue { display: none; align-items: center; gap: 12px; text-decoration: none; color: var(--on-dark-2); }
.scroll-cue i { position: relative; width: 1px; height: 32px; background: rgba(148,163,184,.3); overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--orange); animation: cue 2.6s var(--ease) infinite; }
@keyframes cue { to { top: 100%; } }
.hero [data-load] { animation: rise 1.2s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 110ms + 150ms); }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } }

/* ---------- Services ---------- */
.services-grid { margin-top: clamp(48px, 7vw, 96px); display: grid; border-top: 1px solid var(--line-strong); }
@media (min-width: 900px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }
.service {
  position: relative;
  display: grid; align-content: start; gap: 18px;
  padding: 36px 0 40px;
  border-bottom: 1px solid var(--line);
  min-width: 0;
}
@media (min-width: 900px) {
  .service { padding: 40px 36px 48px; border-bottom: 0; border-left: 1px solid var(--line); }
  .service:first-child { border-left: 0; padding-left: 0; }
  .service:last-child { padding-right: 0; }
}
.service::before {
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px;
  background: var(--navy); transform: scaleX(0); transform-origin: left;
  transition: transform .9s var(--ease-out);
}
.service:hover::before { transform: scaleX(1); }
.service-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.service-top svg { width: 40px; height: 40px; color: var(--navy); transition: color .5s var(--ease); }
.service:hover .service-top svg { color: var(--orange-ink); }
.service h3 { font-size: var(--t-h3); line-height: 1.15; }
.service .claim { font-size: var(--t-lg); color: var(--ink); line-height: 1.45; max-width: 24ch; }
.service ul { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 10px; color: var(--ink-2); font-size: 0.95rem; }
.service li { display: grid; grid-template-columns: 18px 1fr; gap: 8px; align-items: baseline; }
.service li::before { content: ""; width: 10px; height: 1px; background: var(--petrol); transform: translateY(-4px); }

/* ---------- Why ---------- */
.why-layout { display: grid; gap: clamp(48px, 6vw, 88px); }
@media (min-width: 1000px) {
  .why-layout { grid-template-columns: 5fr 7fr; align-items: start; }
  .why-layout .section-head { position: sticky; top: calc(var(--header-h) + 56px); }
}
.why-grid { display: grid; gap: 1px; background: var(--line-strong); border-block: 1px solid var(--line-strong); }
@media (min-width: 640px) { .why-grid { grid-template-columns: 1fr 1fr; } }
.why-item { display: grid; align-content: start; gap: 14px; padding: 36px 28px 40px 0; background: var(--mist); min-width: 0; }
@media (min-width: 640px) { .why-item:nth-child(even) { padding-left: 32px; padding-right: 0; } }
.why-item svg { width: 34px; height: 34px; color: var(--petrol); margin-bottom: 12px; }
.why-item h3 { font-size: 1.25rem; line-height: 1.2; }
.why-item p { color: var(--ink-2); font-size: 0.98rem; max-width: 34ch; }

/* ---------- Why → Process: one band, sticky heading morphs ---------- */
.flow { padding-bottom: 0; }
.flow-layout { display: grid; gap: 48px; }
.flow-head { display: none; }
.flow-body { display: grid; gap: 48px; min-width: 0; }
.flow-m-head { display: grid; gap: 22px; }
.flow-m-head h2 { font-size: var(--t-h2); line-height: 1.02; }
.flow-process { display: grid; gap: 8px; scroll-margin-top: calc(var(--header-h) + 24px); }
.timeline--v { --dot: 46px; gap: 44px; }
.timeline--v .step-body p { max-width: 44ch; }
@media (min-width: 1000px) {
  .flow-layout { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(48px, 6vw, 96px); align-items: start; }
  .flow-head {
    display: grid; gap: 22px;
    position: sticky; top: calc(var(--header-h) + 56px);
  }
  .flow-head { min-width: 0; }
  .flow-title { overflow-wrap: anywhere; max-width: 100%; font: 600 var(--t-h2)/1.02 var(--f-sans); font-stretch: var(--wide); letter-spacing: -0.025em; color: var(--ink); text-wrap: balance; }
  .flow-title .flap { color: var(--ink-3); }
  .flow-head .eyebrow .flap { color: var(--ink-3); }
  .lead-stack { display: grid; }
  .lead-stack .lead { grid-area: 1 / 1; }
  .lead-stack .lb { opacity: 0; }
  .flow-steps { display: flex; align-items: center; gap: 14px; margin-top: 10px; font: 500 var(--t-xs)/1 var(--f-mono); letter-spacing: .12em; color: var(--ink-3); }
  .flow-steps i { position: relative; width: 120px; height: 1px; background: var(--line-strong); }
  .flow-steps b { position: absolute; inset: 0; background: var(--orange); transform: scaleX(var(--p, 0)); transform-origin: left; }
  .flow-m-head { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .flow-body { gap: 0; }
  .flow-process { margin-top: clamp(160px, 26vh, 300px); }
  .timeline--v { margin-top: 0; gap: 56px; }
}

/* ---------- Process ---------- */
.process { padding-bottom: 0; }
.timeline {
  --dot: 46px;
  position: relative; list-style: none;
  margin: clamp(56px, 7vw, 96px) 0 0; padding: 0;
  display: grid; gap: 40px;
}
.timeline-track { position: absolute; left: calc(var(--dot) / 2); top: calc(var(--dot) / 2); bottom: calc(var(--dot) / 2); width: 1px; background: var(--line-strong); }
.timeline-track span { position: absolute; inset: 0; background: var(--orange); transform: scaleY(0); transform-origin: top; transition: transform 2.6s var(--ease); }
.timeline.is-active .timeline-track span { transform: scaleY(1); }
.step { position: relative; display: grid; grid-template-columns: var(--dot) 1fr; align-content: start; gap: 22px; min-width: 0; }
.step-dot {
  position: relative; z-index: 1; display: grid; place-items: center;
  width: var(--dot); height: var(--dot); border-radius: 50%;
  background: var(--white); border: 1px solid var(--line-strong);
  font: 500 var(--t-xs)/1 var(--f-mono); color: var(--ink-3);
  transition: border-color .7s var(--ease), color .7s var(--ease), background-color .7s var(--ease);
  transition-delay: calc(var(--i) * 520ms + 200ms);
}
.timeline.is-active .step-dot { border-color: var(--orange); color: var(--navy); }
.timeline.is-active .step:last-child .step-dot { background: var(--navy); border-color: var(--navy); color: var(--white); }
.step-body { display: grid; align-content: start; gap: 10px; padding-top: 10px; min-width: 0; }
.step-body h3 { font-size: 1.2rem; line-height: 1.2; }
.step-body p { color: var(--ink-2); font-size: 0.97rem; max-width: 30ch; }
@media (min-width: 900px) {
  .timeline:not(.timeline--v) { grid-template-columns: repeat(4, 1fr); gap: 32px; }
  .timeline:not(.timeline--v) .timeline-track { right: calc((100% - 96px) / 4 - var(--dot) / 2); bottom: auto; width: auto; height: 1px; }
  .timeline:not(.timeline--v) .timeline-track span { transform: scaleX(0); transform-origin: left; }
  .timeline:not(.timeline--v).is-active .timeline-track span { transform: scaleX(1); }
  .timeline:not(.timeline--v) .step { grid-template-columns: 1fr; gap: 26px; }
  .timeline:not(.timeline--v) .step-body { padding-top: 0; }
}
.dock-figure { position: relative; margin: clamp(40px, 6vw, 72px) 0 0; height: clamp(300px, 40vw, 560px); }
.dock-figure canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 1.2s var(--ease); }
.dock-figure canvas.is-ready { opacity: .62; }
.dock-figure::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, var(--mist) 0%, rgba(244,246,249,0) 26%, rgba(244,246,249,0) 80%, var(--mist) 100%);
}
.dock-figure figcaption {
  position: absolute; z-index: 2; left: 0; right: 0; bottom: calc(var(--sheet) + 22px);
  display: flex; flex-wrap: wrap; gap: 8px 28px;
  font: 500 var(--t-xs)/1.4 var(--f-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3);
}
.dock-figure figcaption span::before { content: "— "; color: var(--orange-ink); }

/* ---------- About / network ---------- */
.about { padding-top: clamp(88px, 10vw, 140px); padding-bottom: clamp(64px, 8vw, 120px); overflow: hidden; }
.about-copy { display: grid; gap: 22px; max-width: 30rem; }
.about-copy h2 { font-size: var(--t-h2); line-height: 1.02; }
.about-copy p.body { color: var(--on-dark); opacity: .84; font-size: var(--t-lg); }
.signature { display: flex; align-items: center; gap: 16px; margin-top: 8px; padding-top: 22px; border-top: 1px solid rgba(148, 163, 184, 0.2); }
.signature-mono { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(148, 163, 184, 0.35); font: 600 0.9rem/1 var(--f-sans); font-stretch: var(--wide); }
.signature strong { display: block; font: 600 1rem/1.3 var(--f-sans); font-stretch: var(--semi); }
.signature span { font: 500 var(--t-xs)/1.4 var(--f-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--on-dark-2); }

.network { position: relative; margin: 48px 0 0; }
.map-scroll { overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.map-scroll::-webkit-scrollbar { display: none; }
.map-scroll svg { display: block; width: 100%; min-width: 980px; height: auto; }
.map-hud {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px;
  margin-top: 18px; font: 500 var(--t-xs)/1.4 var(--f-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--on-dark-2);
}
.map-hud .legend { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.map-hud .legend span { display: inline-flex; align-items: center; gap: 8px; }
.map-hud i { display: inline-block; flex: none; }
.map-hud .l-hub { width: 9px; height: 9px; border-radius: 50%; background: var(--white); box-shadow: 0 0 0 3px rgba(255,255,255,.18); }
.map-hud .l-node { width: 6px; height: 6px; border-radius: 50%; background: var(--on-dark-2); }
.map-hud .l-route { width: 22px; height: 1px; background: var(--on-dark-2); position: relative; }
.map-hud .l-route::after { content: ""; position: absolute; right: 4px; top: -2px; width: 5px; height: 5px; border-radius: 50%; background: var(--orange); }
.map-hint { display: none; }
@media (max-width: 979px) { .map-hint { display: inline; } }

@media (min-width: 1100px) {
  .about { padding-top: 0; padding-bottom: 0; }
  .about .wrap.about-grid { position: relative; }
  .network { margin: 0; }
  .map-scroll { -webkit-mask-image: none; mask-image: none; overflow: visible; }
  .map-scroll svg { min-width: 0; }
  .about-copy { position: absolute; z-index: 2; left: max(24px, env(safe-area-inset-left, 0px)); top: clamp(120px, 14vw, 200px); max-width: 24rem; }
  .map-hud { margin-top: 12px; }
  .about { padding-bottom: calc(var(--sheet) + 48px); }
}
@media (min-width: 1360px) { .about-copy { max-width: 27rem; } }

.map .m-grat { fill: none; stroke: #1E293B; stroke-width: 1; }
.map .m-grat-l { fill: #475569; font: 500 11px var(--f-mono); letter-spacing: .08em; }
.map .m-land { fill: #141F36; stroke: #334155; stroke-width: 1; stroke-linejoin: round; }
.map .m-border { fill: none; stroke: #2B3850; stroke-width: 1; stroke-dasharray: 3 3; }
.map .m-route { fill: none; stroke: #64748B; stroke-width: 1; opacity: .55; }
.map .m-route.sea { stroke-dasharray: 2 5; }
.map .m-route.primary { stroke: #CBD5E1; opacity: .6; stroke-width: 1.2; }
.map .m-particle { fill: var(--orange); }
.map .m-hub { fill: var(--white); }
.map .m-ring { fill: none; stroke: var(--white); stroke-width: 1; opacity: .4; }
.map .m-pulse { transform-box: fill-box; transform-origin: center; animation: pulse 3.6s var(--ease) infinite; }
@keyframes pulse { 0% { transform: scale(.6); opacity: .6; } 100% { transform: scale(2.4); opacity: 0; } }
.map .m-node { fill: #94A3B8; }
.map .m-name { fill: #F1F5F9; font: 500 15px var(--f-sans); font-stretch: 108%; letter-spacing: 0; }
.map .m-code { fill: var(--orange); font: 500 11px var(--f-mono); letter-spacing: .12em; }
.map .m-iso { fill: var(--orange); font: 500 9.5px var(--f-mono); letter-spacing: .1em; opacity: .85; }
.map .m-city { fill: #CBD5E1; font: 500 11px var(--f-mono); letter-spacing: .02em; opacity: .78; paint-order: stroke; stroke: #0F172A; stroke-width: 3px; stroke-linejoin: round; transition: opacity .3s var(--ease), fill .3s var(--ease); }
.map .n:hover .m-city { opacity: 1; fill: #FFFFFF; }
.map .n:hover .m-node { fill: var(--orange); }
.map .n { cursor: default; }

/* ---------- Contact ---------- */
.contact-layout { display: grid; gap: clamp(48px, 6vw, 88px); }
@media (min-width: 1000px) { .contact-layout { grid-template-columns: 5fr 7fr; } }
.contact-aside { display: grid; gap: 30px; align-content: start; min-width: 0; }
.contact-list { list-style: none; margin: 6px 0 0; padding: 0; display: grid; border-top: 1px solid var(--line-strong); }
.contact-item { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); min-width: 0; }
.contact-item svg { width: 22px; height: 22px; color: var(--petrol); }
.contact-item .k { display: block; font: 500 var(--t-xs)/1.4 var(--f-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
.contact-item .value { font-weight: 600; font-stretch: var(--semi); font-size: 1.1rem; overflow-wrap: anywhere; text-decoration: none; }
.contact-item a.value:hover { color: var(--orange-ink); }
.location { display: grid; grid-template-columns: 92px 1fr; gap: 20px; align-items: center; }
.location svg { width: 92px; height: auto; }
.location .de { fill: var(--mist); stroke: #94A3B8; stroke-width: 1.2; stroke-linejoin: round; }
.location .pin { fill: var(--orange); }
.location .pin-ring { fill: none; stroke: var(--orange); stroke-width: 1.5; }
.location p { font-size: var(--t-sm); color: var(--ink-2); }
.location strong { display: block; color: var(--ink); font-size: var(--t-md); font-stretch: var(--semi); }
.carrier-note { font-size: var(--t-sm); color: var(--ink-2); padding: 16px 18px; background: var(--mist); border-radius: 4px; }
.carrier-note strong { color: var(--ink); }

.form { display: grid; gap: 20px; padding: clamp(24px, 4vw, 48px); background: var(--mist); border-radius: 6px; min-width: 0; }
.form-row { display: grid; gap: 20px; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 8px; min-width: 0; }
.field > label { font: 500 var(--t-xs)/1.4 var(--f-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2); }
.field .req { color: var(--orange-ink); }
.field input, .field textarea, .field select {
  width: 100%; min-height: 52px; padding: 13px 14px;
  border: 1px solid var(--line-strong); border-radius: 4px;
  background: var(--white); color: var(--ink);
  font: 400 var(--t-md)/1.4 var(--f-sans);
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2344506A' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:hover, .field textarea:hover, .field select:hover { border-color: #9AA7B8; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.22); }
.field [aria-invalid="true"] { border-color: #B91C1C; }
.field .error { font-size: var(--t-xs); color: #B91C1C; }
.field .error:empty { display: none; }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: var(--t-sm); color: var(--ink-2); }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--navy); }
.consent a { color: var(--ink); }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.form-foot small { font: 500 var(--t-xs)/1.4 var(--f-mono); letter-spacing: .06em; color: var(--ink-3); }
.form-status { display: none; padding: 14px 16px; border-radius: 4px; font-size: var(--t-sm); background: #ECFDF5; color: #065F46; border: 1px solid #A7F3D0; }
.form-status.is-visible { display: block; }
.form-status.is-error { background: #FEF2F2; color: #991B1B; border-color: #FECACA; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Footer ---------- */
.site-footer { color: var(--on-dark); padding-top: calc(var(--sheet) + 64px); }
.footer-top { display: grid; gap: 32px; padding-bottom: 48px; }
@media (min-width: 860px) { .footer-top { grid-template-columns: 1fr auto; align-items: end; } }
.footer-logo { display: block; width: clamp(220px, 34vw, 440px); height: auto; color: var(--white); }
.footer-sub { margin-top: 14px; font: 500 var(--t-xs)/1.5 var(--f-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-dark-2); }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 28px; list-style: none; margin: 0; padding: 0; font-size: var(--t-sm); }
.footer-links a { text-decoration: none; opacity: .8; }
.footer-links a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 22px 30px; border-top: 1px solid rgba(148, 163, 184, 0.16); font: 500 var(--t-xs)/1.5 var(--f-mono); letter-spacing: 0.06em; color: var(--on-dark-3); }

/* ---------- Scroll reveal: visible at rest, replays as it enters ---------- */
.reveal-in { animation: reveal 1.1s var(--ease-out) both; animation-delay: var(--d, 0ms); }
@keyframes reveal { from { opacity: 0; transform: translateY(26px); filter: blur(6px); } }
.is-paused, .is-paused * { animation-play-state: paused !important; }

/* ---------- Legal pages ---------- */
.legal-page { background: var(--white); }
.legal-page .site-header { background: var(--white); color: var(--navy); box-shadow: 0 1px 0 var(--line); }
.legal { padding-block: clamp(56px, 8vw, 100px); background: var(--white); }
.legal .wrap { max-width: 56rem; }
.legal h1 { font-size: clamp(2rem, 1.6rem + 2vw, 3rem); margin-bottom: 28px; }
.legal h2 { font-size: 1.2rem; margin: 36px 0 10px; }
.legal p, .legal li { color: var(--ink-2); max-width: 65ch; }
.legal .note { margin-bottom: 28px; padding: 14px 16px; border: 1px dashed var(--orange-ink); border-radius: 4px; color: var(--orange-ink); font-size: var(--t-sm); }
.legal-page .site-footer { padding-top: 0; background: var(--navy); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; transition-delay: 0ms !important; }
  .hero { position: relative; }
}
