/* =========================================================================
   Widmann Transporte — Visual System
   ========================================================================= */

:root {
  /* Brand */
  --w-yellow: #FFD300;
  --w-yellow-hi: #FFE45A;
  --w-yellow-lo: #E6B800;
  --w-yellow-dark: #B38C00;
  --w-black: #0A0A0A;
  --w-ink: #161616;
  --w-graphite: #1F1F1F;
  --w-steel: #2A2A2A;
  --w-line: #2F2F2F;
  --w-white: #FFFFFF;
  --w-paper: #F4F4F2;
  --w-paper-2: #EAEAE6;
  --w-mute: #8B8B86;

  /* Tunables (driven by Tweaks) */
  --w-gloss: 1;           /* 0..1.5 — strength of gradient highlights */
  --w-anim: 1;            /* 0..1.5 — animation intensity */
  --w-display: "Archivo Black", "Anton", "Bebas Neue", system-ui, sans-serif;
  --w-mono: "JetBrains Mono", ui-monospace, "SF Mono", monospace;
  --w-body: "Space Grotesk", "Manrope", system-ui, sans-serif;

  /* Tokens */
  --w-radius: 2px;
  --w-radius-md: 4px;
  --w-radius-lg: 8px;
  --w-stripe: repeating-linear-gradient(
      135deg,
      var(--w-yellow) 0 22px,
      var(--w-black) 22px 44px
  );
  --w-stripe-thin: repeating-linear-gradient(
      135deg,
      var(--w-yellow) 0 10px,
      var(--w-black) 10px 20px
  );

  --w-glossy-yellow: linear-gradient(
      180deg,
      color-mix(in oklab, var(--w-yellow) 100%, white calc(var(--w-gloss) * 18%)) 0%,
      var(--w-yellow) 45%,
      color-mix(in oklab, var(--w-yellow) 100%, black calc(var(--w-gloss) * 14%)) 100%
  );

  --w-glossy-black: linear-gradient(
      180deg,
      #1A1A1A 0%,
      #0A0A0A 50%,
      #050505 100%
  );
}

/* ---- Reset / base ---- */
*, *::before, *::after { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0;
  background: var(--w-black);
  color: var(--w-white);
  font-family: var(--w-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  scroll-behavior: auto;
  overflow-x: clip;
}
body { min-height: 100vh; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }

::selection { background: var(--w-yellow); color: var(--w-black); }

/* =========================================================================
   Type system
   ========================================================================= */

.t-eyebrow {
  font-family: var(--w-mono);
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 500;
}
.t-display {
  font-family: var(--w-display);
  font-weight: 400;
  line-height: .86;
  letter-spacing: -0.005em;
  text-transform: uppercase;
}
.t-h1 { font-family: var(--w-display); font-weight: 400; font-size: clamp(44px, 7vw, 140px); line-height: .9; text-transform: uppercase; letter-spacing: -.01em; }
.t-h2 { font-family: var(--w-display); font-weight: 400; font-size: clamp(32px, 4.5vw, 84px); line-height: .9; text-transform: uppercase; letter-spacing: -.005em; }
.t-h3 { font-family: var(--w-display); font-weight: 400; font-size: clamp(22px, 2.6vw, 44px); line-height: .94; text-transform: uppercase; }
.t-lead { font-size: clamp(18px, 1.5vw, 24px); line-height: 1.4; font-weight: 400; max-width: 60ch; }
.t-body { font-size: 16px; line-height: 1.55; }
.t-small { font-size: 13px; line-height: 1.5; color: var(--w-mute); }
.t-mono  { font-family: var(--w-mono); font-feature-settings: "tnum" 1; }
.t-mono-lg { font-family: var(--w-mono); font-size: 14px; letter-spacing: .04em; }

/* =========================================================================
   Layout
   ========================================================================= */

.page { display: block; }
.section { position: relative; }
.section.dark  { background: var(--w-black); color: var(--w-white); }
.section.light { background: var(--w-paper); color: var(--w-black); }
.section.yellow { background: var(--w-yellow); color: var(--w-black); }

.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 64px);
}
.container-wide {
  max-width: 1760px;
  margin: 0 auto;
  padding: 0 clamp(20px, 3vw, 48px);
}

/* Section header (Eyebrow + index + title) */
.sec-head {
  display: grid;
  grid-template-columns: minmax(120px, .25fr) 1fr;
  gap: clamp(24px, 4vw, 80px);
  align-items: start;
  padding-top: clamp(80px, 9vw, 160px);
  padding-bottom: clamp(40px, 4vw, 64px);
  border-top: 1px solid currentColor;
  border-top-color: var(--w-line);
}
.section.light .sec-head { border-top-color: rgba(0,0,0,.12); }
.section.yellow .sec-head { border-top-color: rgba(0,0,0,.2); }
.sec-head .idx {
  font-family: var(--w-mono);
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  opacity: .7;
}
.sec-head .ttl {
  font-family: var(--w-display);
  font-size: clamp(32px, 4.5vw, 80px);
  line-height: .92;
  text-transform: uppercase;
  letter-spacing: -.005em;
  margin: 0;
}

/* =========================================================================
   NAV
   ========================================================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px clamp(20px, 3vw, 48px);
  background: linear-gradient(180deg, rgba(10,10,10,.92), rgba(10,10,10,.65) 70%, rgba(10,10,10,0));
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  color: var(--w-white);
}
.nav-mark {
  width: 36px; height: 36px;
  background: var(--w-glossy-yellow);
  display: grid; place-items: center;
  color: var(--w-black);
  font-family: var(--w-display);
  font-size: 24px; line-height: 1;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,calc(.5 * var(--w-gloss))),
    inset 0 -2px 0 rgba(0,0,0,calc(.18 * var(--w-gloss))),
    0 1px 0 rgba(0,0,0,.6);
}
.nav-name {
  font-family: var(--w-display);
  font-size: 22px; line-height: 1;
  letter-spacing: .04em;
}
.nav-name b { font-weight: 400; }
.nav-name span { opacity: .55; font-size: 12px; letter-spacing: .26em; display: block; margin-top: 4px; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a {
  font-family: var(--w-mono);
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  position: relative;
  padding: 6px 0;
}
.nav-links a:hover { color: var(--w-yellow); }
.nav-cta {
  background: var(--w-glossy-yellow);
  color: var(--w-black);
  padding: 10px 16px 10px 18px;
  font-family: var(--w-mono);
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 600;
  border: none;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,calc(.6 * var(--w-gloss))),
    inset 0 -2px 0 rgba(0,0,0,calc(.18 * var(--w-gloss))),
    0 8px 24px rgba(255,211,0,calc(.15 * var(--w-gloss)));
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%);
}
.nav-cta:hover { filter: brightness(1.04); }
.nav-cta-arrow { font-family: var(--w-display); font-size: 16px; line-height: 1; letter-spacing: 0; }

/* =========================================================================
   HERO + Scroll-driven Bagger sequence
   ========================================================================= */

.hero-wrap {
  position: relative;
  /* drives scroll length of the sequence (24 frames @ ~22vh each) */
  height: calc(520vh + 80px);
  background: var(--w-black);
}
.hero-sticky {
  position: sticky; top: 0;
  height: 100vh;
  overflow: hidden;
  background: var(--w-black);
}

.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(80% 60% at 50% 35%, rgba(255,211,0, calc(.06 * var(--w-gloss))), transparent 70%),
    radial-gradient(50% 40% at 80% 80%, rgba(255,211,0, calc(.04 * var(--w-gloss))), transparent 70%),
    var(--w-black);
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.02) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(to bottom, black 0, black 70%, transparent 100%);
  pointer-events: none;
}

/* Vignette so overlay text stays readable on the fullbleed bagger */
.hero-vignette {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,0) 25%, rgba(0,0,0,0) 55%, rgba(0,0,0,.65) 100%),
    linear-gradient(90deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,0) 70%, rgba(0,0,0,.35) 100%);
  pointer-events: none;
  z-index: 6;
}

/* Bagger frame stack */
.bagger-stage {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.bagger-frame {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity .12s linear;
  pointer-events: none;
}
.bagger-frame.is-active {
  opacity: 1;
  pointer-events: auto;
}
.bagger-frame image-slot {
  width: 100%; height: 100%;
  display: block;
  --is-bg: transparent;
}
/* Make slot's inner image fill the whole viewport at cover */
.bagger-frame image-slot::part(frame) {
  border: 0;
  background: var(--w-black);
}
.bagger-frame > img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  display: block;
  background: var(--w-black);
}

/* Fleet card photo placeholder + image */
.fleet-card .photo .photo-placeholder {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-family: var(--w-mono);
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(0,0,0,.35);
  background: repeating-linear-gradient(
    45deg,
    rgba(0,0,0,.03) 0 12px,
    rgba(0,0,0,.06) 12px 24px
  );
}

/* About photo */
.about-photo .about-photo-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

/* Hero overlay text */
.hero-overlay {
  position: absolute; inset: 0;
  display: grid;
  grid-template-rows: auto 1fr auto;
  pointer-events: none;
  padding: clamp(80px, 8vw, 140px) clamp(20px, 3vw, 48px) clamp(40px, 4vw, 64px);
  z-index: 7;
}

.hero-top {
  display: flex; align-items: flex-end; justify-content: space-between;
}
.hero-tagline {
  font-family: var(--w-mono);
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  max-width: 360px;
}
.hero-tagline b { color: var(--w-yellow); font-weight: 600; }

.hero-title {
  align-self: end;
  position: relative;
  z-index: 2;
}
.hero-title h1 {
  font-family: var(--w-display);
  font-size: clamp(56px, 10vw, 200px);
  line-height: .82;
  letter-spacing: -.015em;
  margin: 0;
  text-transform: uppercase;
  color: var(--w-white);
  text-shadow: 0 4px 32px rgba(0,0,0,.6);
}
.hero-title h1 .y { color: var(--w-yellow); }
.hero-title h1 .outline {
  -webkit-text-stroke: 2px var(--w-yellow);
  color: transparent;
}

.hero-sub {
  display: flex; justify-content: space-between; align-items: end;
  gap: 32px; margin-top: 24px;
}
.hero-sub .lead {
  max-width: 480px;
  font-size: clamp(15px, 1.1vw, 18px);
  line-height: 1.45;
  color: rgba(255,255,255,.78);
}
.hero-sub .lead b { color: var(--w-white); font-weight: 600; }

.hero-meta {
  display: flex; gap: 24px; align-items: end;
  font-family: var(--w-mono);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
}
.hero-meta .meta-num {
  font-family: var(--w-display);
  font-size: 40px;
  line-height: 1;
  color: var(--w-white);
  letter-spacing: -.02em;
  display: block;
  text-shadow: 0 4px 16px rgba(0,0,0,.6);
}

.hero-bottom {
  display: flex; align-items: end; justify-content: space-between;
  gap: 24px;
}
.scroll-cue {
  font-family: var(--w-mono);
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  display: inline-flex; align-items: center; gap: 12px;
}
.scroll-cue::before {
  content: "";
  width: 32px; height: 1px;
  background: rgba(255,255,255,.4);
}
.scroll-cue.right::after {
  content: "";
  width: 32px; height: 1px;
  background: rgba(255,255,255,.4);
}

.frame-indicator {
  font-family: var(--w-mono);
  font-size: 11px;
  letter-spacing: .2em;
  color: rgba(255,255,255,.55);
  display: flex; gap: 24px; align-items: center;
}
.frame-indicator .progress {
  position: relative;
  width: 200px; height: 2px;
  background: rgba(255,255,255,.15);
}
.frame-indicator .progress > i {
  position: absolute; left: 0; top: 0; bottom: 0;
  background: var(--w-yellow);
  width: 0%;
  transition: width .1s linear;
}
.frame-indicator .frame-num {
  color: var(--w-white);
  font-variant-numeric: tabular-nums;
}

/* Warning stripe band */
.stripe-band {
  height: 28px;
  background: var(--w-stripe-thin);
  width: 100%;
}
.stripe-band.short { height: 16px; }

/* =========================================================================
   STATS row (between hero and services)
   ========================================================================= */
.stats {
  background: var(--w-yellow);
  color: var(--w-black);
  padding: clamp(40px, 5vw, 72px) 0;
  position: relative;
  overflow: hidden;
}
.stats::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(255,255,255,calc(.25 * var(--w-gloss))) 0%,
    transparent 30%,
    transparent 70%,
    rgba(0,0,0,calc(.12 * var(--w-gloss))) 100%);
  pointer-events: none;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.stat {
  border-left: 1px solid rgba(0,0,0,.18);
  padding-left: 20px;
}
.stat:first-child { border-left: 0; padding-left: 0; }
.stat .num {
  font-family: var(--w-display);
  font-size: clamp(48px, 6vw, 112px);
  line-height: .88;
  letter-spacing: -.02em;
}
.stat .lbl {
  font-family: var(--w-mono);
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  margin-top: 12px;
  opacity: .75;
}

/* =========================================================================
   LEISTUNGEN
   ========================================================================= */
.services {
  padding-bottom: clamp(80px, 9vw, 160px);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--w-line);
  border: 1px solid var(--w-line);
  margin-top: clamp(24px, 3vw, 40px);
}
.service {
  background: var(--w-black);
  padding: clamp(32px, 4vw, 64px);
  min-height: 380px;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 16px;
  transition: background .3s;
}
.service:hover { background: #131313; }
.service::after {
  content: "";
  position: absolute;
  right: clamp(24px, 3vw, 48px);
  bottom: clamp(24px, 3vw, 48px);
  width: 64px; height: 64px;
  background: var(--w-yellow);
  clip-path: polygon(0 0, 100% 0, 100% 100%);
  opacity: .15;
  transition: opacity .3s, transform .3s;
}
.service:hover::after { opacity: 1; transform: translate(8px, -8px); }

.service .num {
  font-family: var(--w-mono);
  font-size: 12px;
  letter-spacing: .2em;
  color: var(--w-yellow);
}
.service h3 {
  font-family: var(--w-display);
  font-size: clamp(26px, 3vw, 44px);
  line-height: .94;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: -.005em;
}
.service p {
  font-size: 15px;
  line-height: 1.5;
  color: rgba(255,255,255,.65);
  max-width: 44ch;
  margin: 0;
}
.service .tags {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.service .tag {
  font-family: var(--w-mono);
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: 5px 10px;
  border: 1px solid var(--w-line);
  color: rgba(255,255,255,.65);
}

/* =========================================================================
   FUHRPARK
   ========================================================================= */
.fleet {
  background: var(--w-paper);
  color: var(--w-black);
  padding-bottom: clamp(80px, 9vw, 160px);
}
.fleet .sec-head { border-top-color: rgba(0,0,0,.12); }
.fleet-rail {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 16px;
  padding: 0 clamp(20px, 4vw, 64px);
  max-width: 1760px; margin: 0 auto;
}
.fleet-card {
  background: var(--w-white);
  border: 1px solid rgba(0,0,0,.08);
  position: relative;
  overflow: hidden;
}
.fleet-card:nth-child(1) { grid-column: span 3; grid-row: span 2; aspect-ratio: 4/5; }
.fleet-card:nth-child(2) { grid-column: span 3; aspect-ratio: 2/1; }
.fleet-card:nth-child(3) { grid-column: span 2; aspect-ratio: 1/1; }
.fleet-card:nth-child(4) { grid-column: span 1; aspect-ratio: 1/2; }
.fleet-card .photo {
  position: absolute; inset: 0;
}
.fleet-card .photo image-slot {
  width: 100%; height: 100%;
}
.fleet-card .label {
  position: absolute;
  left: 16px; bottom: 16px;
  right: 16px;
  display: flex; align-items: end; justify-content: space-between;
  gap: 12px;
  z-index: 2;
  pointer-events: none;
}
.fleet-card .label .name {
  font-family: var(--w-display);
  font-size: 22px;
  line-height: 1;
  background: var(--w-yellow);
  color: var(--w-black);
  padding: 8px 12px;
  letter-spacing: -.005em;
  text-transform: uppercase;
}
.fleet-card .label .meta {
  font-family: var(--w-mono);
  font-size: 10px;
  letter-spacing: .2em;
  color: var(--w-black);
  background: var(--w-white);
  padding: 5px 8px;
}

/* =========================================================================
   EINSATZGEBIET (region)
   ========================================================================= */
.region {
  background: var(--w-black);
  padding-bottom: clamp(80px, 9vw, 160px);
}
.region-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(32px, 4vw, 80px);
  align-items: stretch;
}
.region-text { display: flex; flex-direction: column; gap: 24px; }
.region-text h3 {
  font-family: var(--w-display);
  font-size: clamp(32px, 3.8vw, 64px);
  text-transform: uppercase;
  line-height: .92;
  margin: 0;
  letter-spacing: -.005em;
}
.region-text p { color: rgba(255,255,255,.75); max-width: 50ch; margin: 0; }
.region-text .pins { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 8px; }
.region-text .pin {
  border: 1px solid var(--w-line);
  padding: 16px;
  display: flex; flex-direction: column; gap: 6px;
}
.region-text .pin .place {
  font-family: var(--w-display);
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: -.005em;
}
.region-text .pin .km {
  font-family: var(--w-mono);
  font-size: 11px;
  letter-spacing: .18em;
  color: var(--w-mute);
}
.region-map {
  position: relative;
  background: var(--w-graphite);
  min-height: 480px;
  overflow: hidden;
}

/* =========================================================================
   REFERENZEN
   ========================================================================= */
.refs {
  background: var(--w-paper);
  color: var(--w-black);
  padding-bottom: clamp(80px, 9vw, 160px);
}
.refs .sec-head { border-top-color: rgba(0,0,0,.12); }
.refs-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: rgba(0,0,0,.12);
  border-top: 1px solid rgba(0,0,0,.12);
  border-bottom: 1px solid rgba(0,0,0,.12);
}
.ref-row {
  background: var(--w-paper);
  display: grid;
  grid-template-columns: 60px 2fr 1.5fr 1fr 100px;
  gap: 24px;
  align-items: center;
  padding: clamp(24px, 2.6vw, 40px) clamp(8px, 1vw, 16px);
  transition: background .25s;
  position: relative;
  cursor: pointer;
}
.ref-row:hover { background: var(--w-yellow); }
.ref-row .ref-idx {
  font-family: var(--w-mono);
  font-size: 12px;
  letter-spacing: .18em;
}
.ref-row .ref-name {
  font-family: var(--w-display);
  font-size: clamp(22px, 2.4vw, 36px);
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: -.005em;
}
.ref-row .ref-meta {
  font-family: var(--w-mono);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(0,0,0,.55);
}
.ref-row:hover .ref-meta { color: rgba(0,0,0,.8); }
.ref-row .ref-year {
  font-family: var(--w-mono);
  font-size: 14px;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.ref-row .ref-arrow {
  text-align: right;
  font-family: var(--w-display);
  font-size: 22px;
  transition: transform .25s;
}
.ref-row:hover .ref-arrow { transform: translateX(6px); }

/* =========================================================================
   ÜBER UNS
   ========================================================================= */
.about {
  background: var(--w-black);
  padding-bottom: clamp(80px, 9vw, 160px);
}
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(32px, 4vw, 80px);
  align-items: stretch;
}
.about-text { display: flex; flex-direction: column; gap: 28px; }
.about-text h3 {
  font-family: var(--w-display);
  font-size: clamp(32px, 4vw, 68px);
  text-transform: uppercase;
  line-height: .94;
  margin: 0;
  letter-spacing: -.005em;
}
.about-text p { color: rgba(255,255,255,.78); max-width: 56ch; margin: 0; font-size: 16px; line-height: 1.6; }
.about-text .quote {
  border-left: 2px solid var(--w-yellow);
  padding: 8px 0 8px 20px;
  font-family: var(--w-display);
  font-size: clamp(22px, 2vw, 32px);
  text-transform: uppercase;
  line-height: 1.05;
  letter-spacing: -.005em;
  max-width: 24ch;
}
.about-text .quote .by {
  display: block;
  font-family: var(--w-mono);
  font-size: 11px;
  letter-spacing: .22em;
  margin-top: 12px;
  text-transform: uppercase;
  color: var(--w-mute);
}
.about-photo {
  position: relative;
  background: var(--w-graphite);
  min-height: 540px;
}
.about-photo image-slot { width: 100%; height: 100%; }
.about-photo .tag {
  position: absolute; left: 16px; top: 16px;
  font-family: var(--w-mono);
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  background: var(--w-yellow);
  color: var(--w-black);
  padding: 6px 10px;
}

/* =========================================================================
   KONTAKT
   ========================================================================= */
.contact {
  background: var(--w-yellow);
  color: var(--w-black);
  padding: clamp(80px, 9vw, 160px) 0 0;
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(255,255,255,calc(.18 * var(--w-gloss))) 0%,
    transparent 30%);
  pointer-events: none;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(40px, 5vw, 96px);
  align-items: end;
  padding-bottom: clamp(60px, 7vw, 120px);
  position: relative;
}
.contact h2 {
  font-family: var(--w-display);
  font-size: clamp(44px, 7vw, 140px);
  line-height: .86;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: -.015em;
}
.contact .info {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
}
.contact .info .block {
  border-top: 1px solid rgba(0,0,0,.25);
  padding-top: 16px;
}
.contact .info .lbl {
  font-family: var(--w-mono);
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  opacity: .65;
  margin-bottom: 6px;
}
.contact .info .val {
  font-family: var(--w-display);
  font-size: clamp(20px, 1.8vw, 30px);
  text-transform: uppercase;
  letter-spacing: -.005em;
  line-height: 1.05;
}
.contact-form {
  background: var(--w-black);
  color: var(--w-white);
  padding: clamp(24px, 3vw, 48px);
  display: flex; flex-direction: column; gap: 14px;
}
.contact-form .lbl {
  font-family: var(--w-mono);
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--w-mute);
  display: block;
  margin-bottom: 6px;
}
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--w-line);
  color: var(--w-white);
  padding: 8px 0;
  font: inherit;
  font-size: 16px;
  outline: none;
  font-family: var(--w-body);
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  border-bottom-color: var(--w-yellow);
}
.contact-form select option { background: var(--w-black); color: var(--w-white); }
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.contact-form .submit {
  background: var(--w-glossy-yellow);
  color: var(--w-black);
  padding: 18px 24px;
  font-family: var(--w-mono);
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 600;
  border: none;
  margin-top: 16px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,calc(.6 * var(--w-gloss))),
    inset 0 -2px 0 rgba(0,0,0,calc(.18 * var(--w-gloss)));
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
  display: flex; align-items: center; justify-content: space-between;
}
.contact-form .submit:hover { filter: brightness(1.05); }
.contact-form .submit .arrow { font-family: var(--w-display); font-size: 24px; }

/* Footer strip inside contact */
.footer {
  background: var(--w-black);
  color: var(--w-mute);
  padding: 32px 0 28px;
}
.footer-grid {
  display: flex; justify-content: space-between; align-items: center;
  gap: 24px; flex-wrap: wrap;
}
.footer .meta {
  font-family: var(--w-mono);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
}

/* =========================================================================
   Frame editor (admin)
   ========================================================================= */
.frame-editor {
  position: fixed;
  left: 16px; bottom: 16px;
  z-index: 2147483645;
  background: rgba(10,10,10,.92);
  border: 1px solid var(--w-yellow);
  padding: 12px;
  max-width: 360px;
  font-family: var(--w-mono);
  font-size: 11px;
  color: var(--w-white);
  letter-spacing: .04em;
  display: flex; flex-direction: column; gap: 10px;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.frame-editor h4 {
  margin: 0;
  font-family: var(--w-display);
  font-size: 20px;
  color: var(--w-yellow);
  text-transform: uppercase;
  letter-spacing: 0;
}
.frame-editor .hint { color: var(--w-mute); line-height: 1.4; }
.frame-editor .grid {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px;
}
.frame-editor .grid button {
  background: transparent;
  border: 1px solid var(--w-line);
  color: var(--w-white);
  padding: 8px 0;
  cursor: pointer;
  font: inherit;
  font-size: 10px;
  letter-spacing: .04em;
}
.frame-editor .grid button.active {
  background: var(--w-yellow);
  color: var(--w-black);
  border-color: var(--w-yellow);
}
.frame-editor .grid button.has-img {
  border-color: var(--w-yellow);
}

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 900px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .fleet-rail { grid-template-columns: 1fr 1fr; grid-auto-rows: minmax(220px, auto); }
  .fleet-card:nth-child(n) { grid-column: span 1; aspect-ratio: 4/3; }
  .region-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .hero-bottom { flex-direction: column; align-items: start; }
  .ref-row { grid-template-columns: 40px 1fr 60px; }
  .ref-row .ref-meta, .ref-row .ref-arrow { display: none; }
}
