/* ==========================================================================
   OWL EYE® TERMINAL — Landing Page
   Mirrors the existing sachtleben-technology.com voice and visual rhythm:
   light section → dark section → light → dark, with the brand yellow as
   accent throughout. Hero is dark to match the (dark, industrial) video.
   ========================================================================== */

:root {
  --yellow:    #fbbc1c;
  --yellow-2:  #fdd84e;
  --dark:      #1a2030;
  --dark-2:    #0e1420;
  --dark-3:    #06090f;
  --cream:     #f8f5f0;
  --cream-2:   #f1e8e8;
  --paper:     #ffffff;
  --ink:       #1c2230;
  --ink-2:     #444b5a;
  --ink-3:     #6a7282;
  --rule:      #e3dfd8;
  --cyan:      #06b6d4;
  --magenta:   #d946ef;
  --orange:    #f97316;
  --purple:    #a855f7;
  --green:     #22c55e;

  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, 'Menlo', monospace;

  --radius: 10px;
  --section-px: clamp(20px, 5vw, 80px);
  --max-w: 1200px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  /* `overflow-x: clip` blocks sideways scroll without breaking sticky-positioned
     children (the modern, sticky-safe alternative to `overflow-x: hidden`). */
  overflow-x: clip;
}

img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ============== Top nav (modern, with dropdowns) ============== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--rule);
}
.nav__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 14px var(--section-px);
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav__logo { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 14px; letter-spacing: 0.18em; text-transform: uppercase; }
.nav__logo img { height: 22px; width: auto; }

.nav__links {
  margin-left: auto;
  display: flex;
  gap: 30px;
  font-size: 14px;
  color: var(--ink-2);
  font-weight: 500;
  align-items: center;
}
.nav__links > a,
.nav__item > .nav__item-trigger {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--ink-2);
  padding: 6px 0;
  transition: color 0.15s ease;
  cursor: pointer;
}
.nav__links > a:hover,
.nav__item:hover > .nav__item-trigger {
  color: var(--ink);
}
.nav__links a.nav__link--active,
.nav__item.nav__item--active > .nav__item-trigger {
  color: var(--ink);
  position: relative;
}
.nav__links a.nav__link--active::after,
.nav__item.nav__item--active > .nav__item-trigger::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -18px;
  height: 2px;
  background: var(--yellow);
}
.nav__item-trigger::after-arrow,
.nav__item-trigger .caret {
  margin-left: 2px;
  font-size: 10px;
  color: var(--ink-3);
  transition: transform 0.2s ease;
}
.nav__item:hover .nav__item-trigger .caret { transform: rotate(180deg); }

/* Dropdown panel */
.nav__item { position: relative; }
.nav__dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: -14px;
  min-width: 260px;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.1), 0 0 0 1px rgba(0,0,0,0.02);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  z-index: 60;
}
.nav__item:hover .nav__dropdown,
.nav__item:focus-within .nav__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav__dropdown a,
.nav__dropdown span.soon {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  border-radius: 8px;
  transition: background 0.15s ease, color 0.15s ease;
}
.nav__dropdown a:hover {
  background: var(--cream);
  color: var(--ink);
}
.nav__dropdown a strong {
  display: block;
  color: var(--ink);
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 2px;
}
.nav__dropdown a small {
  display: block;
  font-weight: 400;
  font-size: 12px;
  color: var(--ink-3);
  margin-top: 2px;
}
.nav__dropdown .tag-new {
  display: inline-block;
  padding: 2px 7px;
  background: var(--yellow);
  color: var(--ink);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.nav__dropdown .tag-soon {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-3);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
}
.nav__dropdown span.soon {
  cursor: default;
  opacity: 0.6;
}
.nav__dropdown span.soon:hover {
  background: transparent;
}
.nav__dropdown__divider {
  height: 1px;
  background: var(--rule);
  margin: 6px 8px;
}

.nav__cta {
  padding: 10px 20px;
  background: var(--yellow);
  color: var(--ink);
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.05em;
  transition: background 0.15s ease, transform 0.12s ease;
}
.nav__cta:hover {
  background: var(--yellow-2);
  transform: translateY(-1px);
}

/* Hide nav links on small screens — add mobile menu later */
@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__inner { gap: 12px; }
}

/* ============== Section primitives ============== */
.section {
  padding: clamp(48px, 7vw, 96px) var(--section-px);
}
.section--dark {
  background: var(--dark);
  color: var(--cream);
}
.section--cream {
  background: var(--cream);
}
.section__inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.eyebrow {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 14px;
}
.section--cream .eyebrow,
.section:not(.section--dark) .eyebrow {
  color: var(--ink-3);
}
.section--cream .eyebrow strong,
.section:not(.section--dark) .eyebrow strong {
  color: var(--yellow);
}
.h1 {
  font-size: clamp(40px, 6vw, 76px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 0 0 18px;
}
.h2 {
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
}
.h3 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.005em;
  margin: 0 0 8px;
}
.lead {
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0;
  max-width: 70ch;
}
.section--dark .lead { color: rgba(241,232,232,0.78); }
.accent { color: var(--yellow); }

/* ============== HERO ============== */
.hero {
  position: relative;
  background: var(--dark-3);
  color: var(--cream);
  overflow: hidden;
  isolation: isolate;
}
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  /* Default exposure for the brighter source clips (stockpile, mobile-
     mapping). Darker source clips get individually lifted below. */
  filter: brightness(0.7) saturate(0.92);
  z-index: 0;
}

/* Per-video brightness overrides — the original source clips have very
   different exposure. The brighter ones (stockpile, mobile-mapping) stay
   at the default 0.7; these three need extra lift to read on the dark
   overlay. Tuned by eye on the actual MP4 frames. */
.hero__video[src*="hero-volume-flow"]    { filter: brightness(0.95) saturate(1.05) contrast(1.05); }
.hero__video[src*="hero-truck-terminal"] { filter: brightness(0.95) saturate(1.05) contrast(1.05); }
.hero__video[src*="hero-bunkers-feeders"] { filter: brightness(1.0) saturate(1.05) contrast(1.05); }
/* Homepage hero (hero-portfolio.mp4) — darker source clip, lift to match
   the brighter solution-page videos. */
.hero__video[src*="hero-portfolio"]      { filter: brightness(0.95) saturate(1.05) contrast(1.05); }
.hero__overlay {
  position: absolute;
  inset: 0;
  /* Top is now lighter (0.30 from 0.45) so the upper half of the video
     remains visible behind the brand-pill area; bottom stays dark (0.78
     from 0.85) for headline + sub copy readability. */
  background:
    linear-gradient(180deg, rgba(6,9,15,0.30) 0%, rgba(6,9,15,0.78) 100%),
    radial-gradient(ellipse at 30% 50%, rgba(0,0,0,0) 0%, rgba(6,9,15,0.42) 100%);
  z-index: 1;
}
.hero__inner {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: clamp(120px, 16vw, 200px) var(--section-px) clamp(80px, 10vw, 140px);
}
.hero__brand-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border: 1px solid rgba(251,188,28,0.55);
  background: rgba(251,188,28,0.12);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  font-weight: 500;
  color: var(--yellow);
  margin-bottom: 24px;
}
.hero__brand-pill .live-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
  animation: pulse 1.2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(0.85); }
}
.hero h1 {
  font-size: clamp(44px, 7.5vw, 96px);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.03em;
  margin: 0 0 22px;
  max-width: 18ch;
}
.hero h1 br { display: block; }
.hero__sub {
  font-size: clamp(19px, 1.7vw, 26px);
  font-weight: 500;
  color: rgba(241,232,232,0.78);
  max-width: 62ch;
  margin: 0 0 42px;
  line-height: 1.4;
}
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.12s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary {
  background: var(--yellow);
  color: var(--ink);
}
.btn--primary:hover { background: var(--yellow-2); }
.btn--ghost {
  background: transparent;
  color: var(--cream);
  border-color: rgba(241,232,232,0.4);
}
.btn--ghost:hover {
  background: rgba(241,232,232,0.08);
  border-color: rgba(241,232,232,0.7);
}
.btn__arrow { transition: transform 0.12s ease; }
.btn:hover .btn__arrow { transform: translateX(3px); }

/* Tagline strip below hero */
.tagline-strip {
  background: var(--dark-2);
  color: rgba(241,232,232,0.6);
  border-top: 1px solid rgba(251,188,28,0.18);
  border-bottom: 1px solid rgba(251,188,28,0.18);
  padding: 18px var(--section-px);
}
.tagline-strip__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
  gap: 20px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.tagline-strip__item { display: inline-flex; align-items: center; gap: 12px; }
.tagline-strip__item .num {
  color: var(--yellow);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0;
}

/* ============== Lead section ============== */
.lead-section { background: var(--paper); }
.lead-section .h2 strong { color: var(--yellow); font-weight: 800; }
.lead-section .columns {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  margin-top: 32px;
  align-items: start;
}
.lead-section .columns p { margin: 0 0 16px; }
.lead-section .columns p:last-child { margin-bottom: 0; }
@media (max-width: 800px) {
  .lead-section .columns { grid-template-columns: 1fr; }
}
.lead-section .quote {
  border-left: 3px solid var(--yellow);
  padding: 8px 0 8px 22px;
  font-size: 19px;
  font-weight: 600;
  color: var(--ink);
  font-style: italic;
}

/* ============== Card grids (Kernfunktionen / Funktionen) ============== */
.cards {
  display: grid;
  gap: 22px;
  margin-top: 36px;
}
.cards--2 { grid-template-columns: repeat(2, 1fr); }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.cards--5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 980px) {
  .cards--3, .cards--4, .cards--5 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .cards--2, .cards--3, .cards--4, .cards--5 { grid-template-columns: 1fr; }
}

.card {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 30px 28px 28px;
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.card:hover {
  border-color: var(--yellow);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(28, 34, 48, 0.07);
}
.card__icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(251,188,28,0.18) 0%, rgba(251,188,28,0.08) 100%);
  border: 1px solid rgba(251,188,28,0.25);
  color: var(--yellow);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}
.card__icon svg { width: 28px; height: 28px; stroke-width: 1.6; }

/* Product photo banner inside .card — shown by Handelswaren when an image
   field is set on the card. Negative side margins pull the image edge-to-edge
   inside the card padding so it reads as a top photo banner. */
.card__image {
  display: block;
  margin: -28px -26px 18px;
  background: linear-gradient(180deg, #f6f3ee 0%, #ecebe7 100%);
  border-bottom: 1px solid var(--rule);
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.card__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  padding: 14px;
}

/* Per-card "Request a quote" CTA — yellow pill button at the bottom of the
   card. Uses margin-top:auto when the card grid is in a flex container so it
   docks to the bottom of taller cards. */
.card { display: flex; flex-direction: column; }
.card__cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 18px;
  align-self: flex-start;
  padding: 9px 18px;
  background: var(--yellow);
  color: var(--ink);
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: background 0.15s ease, transform 0.12s ease;
}
.card__cta:hover { background: var(--yellow-2); transform: translateY(-1px); }
.section--dark .card__cta { background: var(--yellow); color: var(--ink); }

.card__title {
  font-size: 20px;
  font-weight: 800;
  margin: 0 0 14px;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.25;
}

/* Industry / KPI cards: turn inline `<strong>Label:</strong>` markers in
   the body into proper labelled mini-sections — mono uppercase, on its
   own line, with subtle separator. Makes the wall-of-text bodies in
   /industries/ and /handelswaren/ scannable. */
.card__body strong {
  display: block;
  margin-top: 10px;
  margin-bottom: -2px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.card__body strong:first-child { margin-top: 0; }
/* But: when <strong> is used purely for emphasis inside a sentence
   (no trailing colon, mid-paragraph), revert to inline style. We can't
   detect that with CSS alone — keep the mono treatment as the default
   since 90 % of strong-tags in card bodies ARE labels. Authors who want
   inline emphasis can use <em> instead. */

.card__body {
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.6;
  margin: 0;
  /* Push the CTA to the bottom even when bodies have wildly different
     lengths — equal-height cards in the same row read as a clean grid. */
  flex: 1 1 auto;
}
.card__body p { margin: 0 0 12px; }
.card__body p:last-child { margin-bottom: 0; }

/* Dark variant */
.section--dark .card {
  background: var(--dark-2);
  border-color: rgba(251,188,28,0.18);
  color: var(--cream);
}
.section--dark .card:hover { border-color: var(--yellow); }
.section--dark .card__title { color: var(--cream); }
.section--dark .card__body { color: rgba(241,232,232,0.7); }

/* ============== Animation embed ============== */
.anim-embed {
  margin-top: 36px;
  background: var(--dark-3);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(251,188,28,0.2);
  position: relative;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
}
.anim-embed iframe {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 2 / 1;
  border: 0;
}

/* ============== Tech specs (icon grid) ============== */
.specs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 36px;
}
@media (max-width: 980px) { .specs { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .specs { grid-template-columns: 1fr; } }
.spec {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 18px 18px 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(251,188,28,0.18);
  border-radius: var(--radius);
}
.spec__icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: rgba(251,188,28,0.14);
  color: var(--yellow);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.spec__icon svg { width: 26px; height: 26px; }
.spec__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(241,232,232,0.55);
  margin-bottom: 2px;
}
.spec__value {
  font-size: 22px;
  font-weight: 700;
  color: var(--cream);
  letter-spacing: -0.01em;
  font-family: var(--font-mono);
}

/* ============== Portfolio video showcase (homepage) ============== */
.showcase {
  background: var(--dark-3);
  color: var(--cream);
  padding: clamp(60px, 8vw, 110px) var(--section-px);
  overflow: hidden;
  position: relative;
}
.showcase::before {
  content: "";
  position: absolute;
  top: -100px;
  left: -10%;
  right: -10%;
  height: 100px;
  background: linear-gradient(180deg, transparent 0%, var(--dark-3) 100%);
  pointer-events: none;
}
.showcase__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
@media (max-width: 900px) { .showcase__inner { grid-template-columns: 1fr; } }
.showcase .eyebrow { color: var(--yellow); }
.showcase h2 { color: var(--cream); margin-bottom: 18px; }
.showcase p { color: rgba(241,232,232,0.75); max-width: 38ch; margin: 0 0 24px; }
.showcase__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--yellow);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
}
.showcase__video {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow:
    0 0 0 2px rgba(251, 188, 28, 0.35),
    0 40px 120px rgba(0, 0, 0, 0.85),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}
.showcase__video video {
  display: block;
  width: 100%;
  height: auto;
}
.showcase__video::after {
  content: "● LIVE";
  position: absolute;
  top: 18px;
  right: 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--yellow);
  background: rgba(14,20,32,0.85);
  padding: 6px 12px;
  border: 1px solid rgba(251,188,28,0.45);
  border-radius: 4px;
  backdrop-filter: blur(4px);
}

/* ============== Reference logos marquee ============== */
.logos-section {
  padding: clamp(60px, 8vw, 100px) 0 clamp(60px, 8vw, 100px);
  background: var(--paper);
  text-align: center;
  overflow: hidden;
}
.logos-section__head {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--section-px) 48px;
}
.logos-marquee {
  position: relative;
  overflow: hidden;
  padding: 24px 0;
  mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}
.logos-marquee__track {
  display: flex;
  gap: 72px;
  width: max-content;
  align-items: center;
  animation: marquee 60s linear infinite;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.logos-marquee img {
  height: 54px;
  width: auto;
  max-width: 170px;
  object-fit: contain;
  /* Logos are now transparent PNGs — no background, clean on any surface.
     Grayscale + reduced opacity keeps them quiet; hover restores colour. */
  filter: grayscale(1);
  opacity: 0.55;
  transition: filter 0.3s ease, opacity 0.3s ease;
  flex-shrink: 0;
}
.logos-marquee img:hover {
  filter: grayscale(0);
  opacity: 1;
}
.logos-marquee:hover .logos-marquee__track {
  animation-play-state: paused;
}

/* ============== Solutions grid (homepage / solutions page) ============== */
.solution-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 36px;
}
@media (max-width: 980px) { .solution-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .solution-grid { grid-template-columns: 1fr; } }

.solution-card {
  position: relative;
  display: block;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 32px 30px 28px;
  color: var(--ink);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.solution-card:hover {
  border-color: var(--yellow);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}
.solution-card--highlight {
  border-color: var(--yellow);
  background: linear-gradient(180deg, rgba(251,188,28,0.05) 0%, var(--paper) 50%);
}
.solution-card__num {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-3);
  letter-spacing: 0.32em;
  margin-bottom: 16px;
}
.solution-card__title {
  font-size: 24px;
  font-weight: 800;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.solution-card__body {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0 0 18px;
  min-height: 70px;
}
.solution-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 700;
  font-size: 14px;
  color: var(--yellow);
  letter-spacing: 0.02em;
}
.solution-card__cta--soon {
  color: var(--ink-3);
  font-weight: 500;
  font-style: italic;
}
.solution-card:hover .solution-card__cta { color: var(--ink); }
.solution-card__badge {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 4px 10px;
  background: var(--yellow);
  color: var(--ink);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

/* ============== Solution card mini animations ==============
   Minimal, looping SVG illustrations shown at the top of each
   solution card on the Solutions page. Pure CSS keyframes, no JS. */
.solution-card__anim {
  display: block;
  position: relative;
  height: 130px;
  margin: -32px -30px 22px;
  background: linear-gradient(180deg, #0e1420 0%, #161d2e 100%);
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden;
  border-bottom: 1px solid rgba(251,188,28,0.18);
}
.solution-card__anim svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* --- Volume Flow: conveyor with material flowing + scan beam --- */
@keyframes anim-vf-flow {
  from { transform: translateX(0); }
  to   { transform: translateX(40px); }
}
@keyframes anim-vf-pulse {
  0%, 100% { opacity: 0.45; }
  50%      { opacity: 0.9; }
}
.anim-vf .flow-mat { animation: anim-vf-flow 1.3s linear infinite; }
.anim-vf .scan-cone { animation: anim-vf-pulse 1.6s ease-in-out infinite; transform-origin: 120px 36px; }

/* --- Stockpile: aerial sensor + expanding scan ring over the pile --- */
@keyframes anim-sp-ring {
  0%   { transform: scaleX(0.2); opacity: 0.9; }
  100% { transform: scaleX(1);   opacity: 0; }
}
.anim-sp .scan-ring { animation: anim-sp-ring 2.4s ease-out infinite; transform-origin: 120px 92px; }
.anim-sp .scan-ring-2 { animation: anim-sp-ring 2.4s ease-out infinite 0.8s; transform-origin: 120px 92px; }
.anim-sp .scan-ring-3 { animation: anim-sp-ring 2.4s ease-out infinite 1.6s; transform-origin: 120px 92px; }

/* --- Truck Terminal: truck drives through gantry + scan pulse --- */
@keyframes anim-tt-drive {
  0%   { transform: translateX(-50px); }
  100% { transform: translateX(240px); }
}
@keyframes anim-tt-scan-blink {
  0%, 40%, 80%, 100% { opacity: 0.25; }
  20%, 60%          { opacity: 0.85; }
}
.anim-tt .truck { animation: anim-tt-drive 4.5s linear infinite; }
.anim-tt .scan-beam { animation: anim-tt-scan-blink 0.9s ease-in-out infinite; transform-origin: 120px 30px; }

/* --- Bunker: fill level rising/falling + overhead sensor --- */
@keyframes anim-bk-fill {
  0%, 100% { transform: translateY(30px); }
  50%      { transform: translateY(0px); }
}
@keyframes anim-bk-gauge {
  0%, 100% { height: 30px; y: 65px; }
  50%      { height: 55px; y: 40px; }
}
.anim-bk .fill-block { animation: anim-bk-fill 3.5s ease-in-out infinite; }
.anim-bk .gauge-bar { animation: anim-bk-gauge 3.5s ease-in-out infinite; }

/* --- Mobile Mapping: wheel loader drives left-to-right painting scan dots --- */
@keyframes anim-mm-drive {
  0%   { transform: translateX(-20px); }
  100% { transform: translateX(180px); }
}
@keyframes anim-mm-dots-reveal {
  0%   { stroke-dashoffset: 200; opacity: 0; }
  10%  { opacity: 0.8; }
  100% { stroke-dashoffset: 0; opacity: 0.8; }
}
.anim-mm .loader { animation: anim-mm-drive 4s linear infinite; }
.anim-mm .scan-trail { animation: anim-mm-dots-reveal 4s linear infinite; stroke-dasharray: 200; }

/* ============== Partners grid (about page) ============== */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}
@media (max-width: 720px) { .partners-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .partners-grid { grid-template-columns: 1fr; } }
.partner {
  padding: 20px 22px;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--yellow);
  border-radius: 8px;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.partner:hover {
  transform: translateY(-2px);
  border-color: var(--yellow);
}
.partner__country {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 6px;
}
.partner__name {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.005em;
}

/* ============== Language switcher ============== */
.lang-switch {
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  background: var(--cream);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--ink-2);
  transition: background 0.15s ease;
}
.lang-switch__btn {
  padding: 5px 10px;
  border-radius: 999px;
  transition: all 0.15s ease;
  cursor: pointer;
  color: var(--ink-3);
  user-select: none;
}
.lang-switch__btn:hover {
  color: var(--ink);
}
.lang-switch__btn--active {
  background: var(--ink);
  color: var(--cream);
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

/* Language visibility — toggled by html[lang] attribute */
html[lang="en"] [data-lang="de"] { display: none; }
html[lang="de"] [data-lang="en"] { display: none; }

/* ============== Contact page ============== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  margin-top: 40px;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-form {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: clamp(28px, 4vw, 48px);
}
.contact-form label {
  display: block;
  margin-bottom: 18px;
}
.contact-form label > span {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 6px;
}

/* DSGVO consent checkbox — opt out of the form-label uppercase/mono treatment
   above so the long sentence reads as normal body text next to the box. */
.contact-form__consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 4px;
  margin-bottom: 18px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink-2);
  line-height: 1.5;
}
.contact-form__consent > input[type="checkbox"] {
  width: auto;
  margin: 4px 0 0;
  padding: 0;
  flex-shrink: 0;
  accent-color: var(--yellow);
}
.contact-form__consent .contact-form__consent-text {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink-2);
  margin-bottom: 0;
}
.contact-form__consent .contact-form__consent-text > span[data-lang] {
  display: inline;
}
.contact-form__consent a { color: var(--yellow); text-decoration: underline; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  background: var(--cream);
  border: 1.5px solid var(--rule);
  border-radius: 8px;
  transition: border-color 0.15s ease;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--yellow);
  background: var(--paper);
}
.contact-form textarea {
  min-height: 110px;
  resize: vertical;
}
.contact-form__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: var(--ink);
  color: var(--cream);
  border: none;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.15s ease;
}
.contact-form__btn:hover { background: #2a3142; }
.contact-info { display: flex; flex-direction: column; gap: 28px; }
.contact-block {
  padding: 24px 26px;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--yellow);
  border-radius: 10px;
}
.contact-block__label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 10px;
}
.contact-block__value {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.005em;
  margin-bottom: 4px;
}
.contact-block__value a { color: var(--ink); }
.contact-block__value a:hover { color: var(--yellow); }
.contact-block__sub {
  font-size: 14px;
  color: var(--ink-2);
}

/* ============== Solutions-page simple hero ============== */
.simple-hero {
  background: var(--dark);
  color: var(--cream);
  padding: clamp(90px, 12vw, 160px) var(--section-px) clamp(60px, 8vw, 100px);
  text-align: center;
}
.simple-hero .eyebrow { color: var(--yellow); }
.simple-hero h1 {
  font-size: clamp(42px, 6vw, 76px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 0 auto 18px;
  max-width: 18ch;
}
.simple-hero p {
  font-size: clamp(17px, 1.4vw, 21px);
  color: rgba(241,232,232,0.75);
  max-width: 60ch;
  margin: 0 auto 0;
}

/* ============== Use-case chips (Anwendungen) ============== */
.usecase-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.usecase-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  background: var(--paper);
  border: 1.5px solid var(--rule);
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.usecase-chip:hover {
  border-color: var(--yellow);
  background: rgba(251,188,28,0.05);
}
.usecase-chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); }

/* ============== USPs (Why OWL EYE) ============== */
.usps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 36px;
}
@media (max-width: 800px) { .usps { grid-template-columns: 1fr; } }
.usp {
  padding: 30px 28px;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  border-left: 4px solid var(--yellow);
}
.usp__title {
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}
.usp__body { margin: 0; color: var(--ink-2); font-size: 15px; }

/* ============== Software / Dashboard preview ============== */
.dashboard-preview {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
  margin-top: 36px;
}
@media (max-width: 800px) { .dashboard-preview { grid-template-columns: 1fr; } }
.dashboard-preview ul {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
}
.dashboard-preview li {
  padding: 10px 0 10px 28px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  position: relative;
  font-size: 15px;
  color: rgba(241,232,232,0.85);
}
.dashboard-preview li:last-child { border-bottom: 0; }
.dashboard-preview li::before {
  content: "▸";
  position: absolute;
  left: 0; top: 10px;
  color: var(--yellow);
  font-weight: 700;
}
.dashboard-preview .visual {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(251,188,28,0.2);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

/* ============== Implementation strip (Schlüsselfertige Umsetzung) ============== */
.impl-strip {
  background: var(--dark-2);
  color: var(--cream);
  border-top: 1px solid rgba(251,188,28,0.2);
}
.impl-strip .h2 { color: var(--cream); }
.impl-strip .lead { color: rgba(241,232,232,0.78); }
.impl-strip .triplet {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 36px;
}
@media (max-width: 800px) { .impl-strip .triplet { grid-template-columns: 1fr; } }
.impl-strip .triplet__item .num {
  font-family: var(--font-mono);
  font-size: 36px;
  font-weight: 700;
  color: var(--yellow);
  display: block;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.impl-strip .triplet__item h4 { font-size: 18px; margin: 0 0 6px; }
.impl-strip .triplet__item p { margin: 0; color: rgba(241,232,232,0.7); font-size: 14px; }

/* ============== CTA banner ============== */
.cta-banner {
  background: var(--yellow);
  color: var(--ink);
  text-align: center;
  padding: clamp(48px, 7vw, 88px) var(--section-px);
}
.cta-banner h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  margin: 0 0 14px;
  letter-spacing: -0.02em;
}
.cta-banner p { margin: 0 0 28px; font-size: 18px; max-width: 60ch; margin-inline: auto; }
.cta-banner .btn--primary {
  background: var(--ink);
  color: var(--cream);
}
.cta-banner .btn--primary:hover { background: #2a3142; }

/* ============== Footer ============== */
.footer {
  background: var(--dark-3);
  color: rgba(241,232,232,0.6);
  padding: 52px var(--section-px) 28px;
}
.footer__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
}
@media (max-width: 800px) { .footer__inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer__inner { grid-template-columns: 1fr; } }
.footer h5 {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--yellow);
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-weight: 500;
}
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { padding: 4px 0; font-size: 14px; }
.footer a:hover { color: var(--cream); }
.footer__brand svg { height: 26px; }
.footer__brand svg path { fill: var(--yellow); }
.footer__brand p { margin: 14px 0 0; font-size: 14px; max-width: 32ch; }
.footer__legal {
  max-width: var(--max-w);
  margin: 36px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(241,232,232,0.1);
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(241,232,232,0.4);
  font-family: var(--font-mono);
  letter-spacing: 0.1em;
}
@media (max-width: 600px) {
  .footer__legal { flex-direction: column; gap: 8px; }
}

/* ==========================================================================
   MOBILE OPTIMISATIONS — Hamburger nav + responsive primitives
   Desktop nav hides under 900px. lang.js injects a hamburger button + drawer
   that mirrors the desktop nav links + lang switcher + CTA.
   ========================================================================== */

/* Hamburger button (injected by lang.js, hidden on desktop) */
.nav__hamburger {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  margin-left: auto;
  cursor: pointer;
  padding: 0;
  position: relative;
  -webkit-tap-highlight-color: transparent;
}
.nav__hamburger span {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease, top 0.25s ease;
}
.nav__hamburger span:nth-child(1) { top: 14px; }
.nav__hamburger span:nth-child(2) { top: 21px; }
.nav__hamburger span:nth-child(3) { top: 28px; }
body.nav-open .nav__hamburger span:nth-child(1) { top: 21px; transform: rotate(45deg); }
body.nav-open .nav__hamburger span:nth-child(2) { opacity: 0; }
body.nav-open .nav__hamburger span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* Mobile drawer */
.nav__drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(86vw, 360px);
  background: var(--paper);
  z-index: 200;
  padding: 78px 28px 32px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -20px 0 48px rgba(0, 0, 0, 0.18);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
body.nav-open .nav__drawer { transform: translateX(0); }
.nav__drawer a,
.nav__drawer .nav__drawer-group-trigger {
  display: block;
  padding: 14px 4px;
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid var(--rule);
  text-decoration: none;
  letter-spacing: -0.005em;
}
.nav__drawer .nav__drawer-group-trigger {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding: 22px 4px 8px;
  border-bottom: 0;
  font-weight: 500;
}
.nav__drawer a small {
  display: block;
  font-size: 13px;
  color: var(--ink-3);
  font-weight: 400;
  letter-spacing: 0;
  margin-top: 2px;
}
.nav__drawer a .tag-new,
.nav__drawer a .tag-soon {
  margin-left: 8px;
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 999px;
  vertical-align: middle;
  letter-spacing: 0.08em;
}
.nav__drawer a:hover { color: var(--yellow); }
.nav__drawer-cta {
  margin-top: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--yellow);
  color: var(--ink) !important;
  padding: 14px 22px !important;
  border-radius: 999px;
  font-weight: 600 !important;
  font-size: 15px !important;
  border-bottom: 0 !important;
  text-align: center;
}
/* Mobile drawer lang switcher — minimal text-only "EN · DE" at the very top
   of the drawer. No border, no pill, just two letters with the active
   language inked and the inactive one muted. */
.nav__drawer-lang {
  display: flex;
  align-items: center;
  align-self: flex-start;
  gap: 0;
  margin: -8px 0 18px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
/* Override the heavy default .nav__drawer a styling for the lang links. */
.nav__drawer .nav__drawer-lang a {
  display: inline-flex;
  align-items: center;
  padding: 6px 0;
  min-height: 0;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--ink-3);
  border-bottom: 0;
  border-radius: 0;
  background: transparent;
  text-decoration: none;
  transition: color 0.15s ease;
}
.nav__drawer .nav__drawer-lang a:hover {
  color: var(--ink);
}
.nav__drawer .nav__drawer-lang a + a {
  margin-left: 14px;
  position: relative;
}
.nav__drawer .nav__drawer-lang a + a::before {
  content: "";
  position: absolute;
  left: -8px;
  top: 50%;
  width: 1px;
  height: 10px;
  background: var(--ink-3);
  transform: translateY(-50%);
  opacity: 0.4;
}
.nav__drawer .nav__drawer-lang a.lang-switch__btn--active {
  color: var(--ink);
}

/* Drawer backdrop */
.nav__drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(6, 9, 15, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 150;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
body.nav-open .nav__drawer-backdrop {
  opacity: 1;
  pointer-events: auto;
}
body.nav-open { overflow: hidden; }

@media (max-width: 900px) {
  .nav__hamburger { display: block; }
  .nav__cta { display: none; }
  .lang-switch { display: none; }
  .nav__inner { padding: 12px 18px; }
  .nav__logo img { height: 20px; }
}

/* ============== Responsive content tweaks ============== */
@media (max-width: 720px) {
  /* Tighter section padding */
  .section { padding: clamp(36px, 8vw, 64px) 18px; }
  .nav__inner { padding: 12px 18px; gap: 10px; }

  /* Hero: less top padding, more breathing room */
  .hero__inner { padding: 92px 22px 60px; }
  .hero h1 { font-size: clamp(36px, 8.5vw, 56px); max-width: 100%; }
  .hero__sub { font-size: 17px; max-width: 100%; }
  .hero__brand-pill { font-size: 11px; letter-spacing: 0.18em; padding: 6px 12px; }
  .hero__ctas { flex-direction: column; align-items: stretch; gap: 10px; }
  .hero__ctas .btn { justify-content: center; width: 100%; }

  /* Tagline strip wraps gracefully */
  .tagline-strip__inner {
    flex-direction: column;
    gap: 14px !important;
    text-align: left;
    align-items: flex-start;
  }
  .tagline-strip__item {
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding-bottom: 10px;
  }
  .tagline-strip__item:last-child { border-bottom: 0; padding-bottom: 0; }

  /* Headline scaling */
  .h1 { font-size: clamp(32px, 8vw, 44px); }
  .h2 { font-size: clamp(26px, 6.5vw, 36px); }

  /* Two-column layout collapses */
  .columns { grid-template-columns: 1fr !important; gap: 24px; }
  .quote { font-size: 19px; }

  /* Cards single-column */
  .cards { grid-template-columns: 1fr !important; }

  /* Iframe (animations) responsive */
  .anim-embed { aspect-ratio: 16 / 9; height: auto; }
  .anim-embed iframe { width: 100%; height: 100%; }

  /* Dashboard preview — stack vertically */
  .dashboard-preview { grid-template-columns: 1fr !important; }

  /* Triplet (turn-key) stacks */
  .triplet { grid-template-columns: 1fr !important; gap: 20px; }

  /* CTA banner */
  .cta-banner h2 { font-size: clamp(28px, 7vw, 40px); }
  .cta-banner .btn { width: 100%; justify-content: center; }

  /* USP chips wrap */
  .usecase-chips { gap: 8px; }
  .usecase-chip { font-size: 13px; padding: 6px 12px; }

  /* Footer */
  .footer { padding: 40px 18px 24px; }
  .footer__inner { gap: 28px; }

  /* Tap target floor: every <a> in body must reach 44px */
  .nav__drawer a, .nav__drawer .nav__drawer-cta { min-height: 44px; display: flex; align-items: center; }
}

@media (max-width: 480px) {
  body { font-size: 16px; }
  .hero__inner { padding: 78px 18px 48px; }
  .hero h1 { font-size: clamp(30px, 9vw, 44px); }
  .h1 { font-size: clamp(28px, 9vw, 36px); }
  .h2 { font-size: clamp(22px, 7vw, 30px); }
  .section { padding: 32px 16px; }
}

/* Generic columns helper for mobile (used in lead-section) */
.columns { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; }
@media (max-width: 800px) { .columns { grid-template-columns: 1fr; } }

/* Specs grid mobile */
@media (max-width: 720px) {
  .spec { padding: 16px; gap: 12px; }
  .spec__icon { width: 40px; height: 40px; }
  .spec__value { font-size: 18px !important; }
}

/* Solution-card touch feedback */
@media (hover: none) {
  .solution-card:active { transform: scale(0.985); }
}

/* Anim embed default sizing (used by iframe widgets) */
.anim-embed { width: 100%; aspect-ratio: 16 / 9; position: relative; border-radius: var(--radius); overflow: hidden; }
.anim-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ==========================================================================
   NEWS & EVENTS — page-specific components
   ========================================================================== */

/* Upcoming-events grid (3 columns desktop → 1 column mobile) */
.event-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
@media (max-width: 980px) { .event-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) { .event-grid { grid-template-columns: 1fr; } }

.event-card {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.event-card:hover {
  border-color: rgba(251, 188, 28, 0.6);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(28, 34, 48, 0.08);
}
.event-card--featured {
  border-color: var(--yellow);
  background: linear-gradient(180deg, rgba(251, 188, 28, 0.06), var(--paper) 60%);
}
.event-card__date {
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 12px;
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}
.event-card__day {
  font-size: 30px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.05;
}
.event-card__month {
  font-size: 13px;
  letter-spacing: 0.22em;
  color: var(--yellow);
  text-transform: uppercase;
  margin-top: 4px;
}
.event-card__year {
  font-size: 12px;
  color: var(--ink-3);
  margin-top: 2px;
  letter-spacing: 0.2em;
}
.event-card__body { display: flex; flex-direction: column; gap: 8px; }
.event-card__type {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--ink-3);
  text-transform: uppercase;
  font-weight: 500;
}
.event-card__type--featured { color: var(--yellow); }
.event-card__title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--ink);
}
.event-card__where {
  margin: 0;
  font-size: 14px;
  color: var(--ink-3);
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}
.event-card__desc {
  margin: 4px 0 0;
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.55;
}
.event-card__cta {
  margin-top: auto;
  padding-top: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.005em;
  border-top: 1px solid var(--rule);
}
.event-card__cta:hover { color: var(--yellow); }

/* News grid */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
@media (max-width: 980px) { .news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) { .news-grid { grid-template-columns: 1fr; } }

.news-card {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.news-card:hover {
  border-color: rgba(251, 188, 28, 0.6);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(28, 34, 48, 0.06);
}
.news-card__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
}
.news-card__date {
  color: var(--ink-3);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.news-card__tag {
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  background: rgba(28, 34, 48, 0.06);
  color: var(--ink-2);
}
.news-card__tag--award       { background: rgba(251, 188, 28, 0.15); color: #8a6500; }
.news-card__tag--product     { background: rgba(6, 182, 212, 0.13);  color: #045d6f; }
.news-card__tag--partnership { background: rgba(168, 85, 247, 0.13); color: #5d2aa3; }
.news-card__tag--customer    { background: rgba(34, 197, 94, 0.14);  color: #1f6c3c; }
.news-card__title {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: var(--ink);
}
.news-card__excerpt {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-2);
}
.news-card__cta {
  margin-top: auto;
  padding-top: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  border-top: 1px solid var(--rule);
}
.news-card__cta:hover { color: var(--yellow); }

/* Past-events archive (clean list) */
.event-archive {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
}
.event-archive li {
  display: grid;
  grid-template-columns: 220px 1fr 220px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid rgba(241, 232, 232, 0.1);
  font-size: 16px;
}
.event-archive li:first-child { border-top: 1px solid rgba(241, 232, 232, 0.1); }
.event-archive__date {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.15em;
  color: var(--yellow);
  text-transform: uppercase;
}
.event-archive__name {
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--cream);
}
.event-archive__where {
  font-family: var(--font-mono);
  font-size: 13px;
  color: rgba(241, 232, 232, 0.6);
  text-align: right;
  letter-spacing: 0.05em;
}
@media (max-width: 720px) {
  .event-archive li { grid-template-columns: 1fr; gap: 4px; padding: 16px 0; }
  .event-archive__where { text-align: left; }
}

/* Press list (clean list of trade-press references with PDF links) */
.press-list {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
}
.press-list__item {
  padding: 24px 0;
  border-bottom: 1px solid var(--rule);
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}
.press-list__item:first-child { border-top: 1px solid var(--rule); }
.press-list__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.press-list__date {
  color: var(--yellow);
}
.press-list__publication {
  color: var(--ink);
  letter-spacing: 0.05em;
  text-transform: none;
  font-size: 13px;
  font-weight: 600;
}
.press-list__lang {
  display: inline-block;
  padding: 2px 8px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: rgba(0, 0, 0, 0.55);
  background: rgba(0, 0, 0, 0.02);
}
.press-list__title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 4px 0 0;
  color: var(--ink);
  line-height: 1.3;
}
.press-list__excerpt {
  margin: 4px 0 0;
  color: rgba(0, 0, 0, 0.7);
  font-size: 15px;
  line-height: 1.55;
  max-width: 78ch;
}
.press-list__cta {
  margin-top: 6px;
  align-self: start;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.05em;
  text-decoration: none;
  color: var(--ink);
  border-bottom: 1px solid var(--rule);
  padding-bottom: 2px;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.press-list__cta:hover {
  color: var(--yellow);
  border-color: var(--yellow);
}
@media (max-width: 720px) {
  .press-list__item { padding: 18px 0; gap: 6px; }
  .press-list__meta { gap: 10px; flex-direction: column; align-items: flex-start; }
  .press-list__title { font-size: 18px; }
  .press-list__excerpt { font-size: 14px; }
}

/* ==========================================================================
   LINKEDIN POSTS SLIDER (homepage)
   ========================================================================== */

.linkedin-section {
  background: var(--cream);
  padding: clamp(48px, 7vw, 88px) 0 clamp(40px, 6vw, 72px);
  overflow: hidden;
}
.linkedin-section__head {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--section-px);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
}
.linkedin-section__title { max-width: 50ch; }
.linkedin-section__title h2 { margin: 0; }
.linkedin-section__controls {
  display: flex;
  gap: 8px;
  align-items: center;
}
.linkedin-arrow {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--rule);
  background: var(--paper);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--ink);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.linkedin-arrow:hover {
  border-color: var(--yellow);
  color: var(--yellow);
}
.linkedin-arrow:disabled { opacity: 0.35; cursor: default; }
.linkedin-track {
  display: flex;
  gap: 20px;
  padding: 0 var(--section-px) 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-left: var(--section-px);
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
}
.linkedin-track::-webkit-scrollbar { display: none; }
.linkedin-card {
  flex: 0 0 360px;
  scroll-snap-align: start;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.25s ease, border-color 0.2s ease, box-shadow 0.25s ease;
}
.linkedin-card:hover {
  transform: translateY(-3px);
  border-color: rgba(251, 188, 28, 0.55);
  box-shadow: 0 10px 28px rgba(28, 34, 48, 0.1);
}
.linkedin-card__head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.linkedin-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--yellow);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: var(--ink);
  font-size: 16px;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}
.linkedin-card__author {
  display: flex;
  flex-direction: column;
  font-size: 13px;
  line-height: 1.3;
}
.linkedin-card__name { font-weight: 700; color: var(--ink); }
.linkedin-card__role { color: var(--ink-3); font-size: 12px; }
.linkedin-card__time { color: var(--ink-3); font-size: 11px; margin-top: 1px; font-family: var(--font-mono); letter-spacing: 0.06em; }
.linkedin-card__logo {
  margin-left: auto;
  width: 22px;
  height: 22px;
  border-radius: 4px;
  background: #0a66c2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  font-size: 12px;
  font-family: 'Inter', sans-serif;
  letter-spacing: -0.04em;
}
.linkedin-card__body {
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-2);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.linkedin-card__media {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 6px;
  overflow: hidden;
  background: var(--cream-2);
  display: flex;
  align-items: center;
  justify-content: center;
}
.linkedin-card__media svg { width: 100%; height: 100%; display: block; }
.linkedin-card__stats {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--rule);
  display: flex;
  gap: 18px;
  font-size: 12px;
  color: var(--ink-3);
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
}
.linkedin-card__stats span { display: inline-flex; align-items: center; gap: 4px; }

@media (max-width: 720px) {
  .linkedin-section__head { flex-direction: column; align-items: flex-start; }
  .linkedin-card { flex: 0 0 280px; }
}
@media (max-width: 480px) {
  .linkedin-card { flex: 0 0 calc(100vw - 64px); max-width: 320px; }
}


/* ==========================================================================
   HERO mobile fixes — ensure video is visible on small screens
   - Add explicit min-height so the absolutely-positioned video has a box to fill
   - Reduce overlay opacity at the bottom so video shows through
   ========================================================================== */
@media (max-width: 720px) {
  .hero {
    min-height: 70vh;
  }
  .hero__video {
    /* On mobile: lighter brightness filter so video is clearer */
    filter: brightness(0.7) saturate(0.9);
  }
  .hero__overlay {
    /* Less aggressive gradient so the video isn't washed out */
    background:
      linear-gradient(180deg, rgba(6,9,15,0.30) 0%, rgba(6,9,15,0.78) 100%);
  }
}

/* ==========================================================================
   MOBILE OVERFLOW GUARD — keep content inside the viewport on narrow screens.
   - Tighter section padding under 480px so cards aren't cramped
   - Long unbroken strings (emails, URLs, hashes) wrap instead of forcing scroll
   - Defensive max-width on common offenders (tables, code blocks, iframes)
   ========================================================================== */
@media (max-width: 480px) {
  :root { --section-px: 16px; }
  .nav__inner { padding-inline: 14px; gap: 12px; }
  .h2 { font-size: clamp(26px, 7vw, 36px); word-break: break-word; }
  .lead { font-size: 16px; }
}
table, pre, code, iframe { max-width: 100%; }
pre, code { overflow-x: auto; }
.lead, .h2, h1, h2, h3, p { overflow-wrap: anywhere; }

/* ==========================================================================
   Lead-section CTA — pill-style link used inside body_columns to drive
   visitors to a related page (e.g. homepage promo → /handelswaren/).
   ========================================================================== */
.lead-section .lead-cta,
.lead-section a.lead-cta {
  display: inline-block;
  margin-top: 8px;
  padding: 10px 22px;
  background: var(--yellow);
  color: var(--ink);
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: background 0.15s ease, transform 0.12s ease;
}
.lead-section .lead-cta:hover { background: var(--yellow-2); transform: translateY(-1px); }

/* Default link styling inside lead-section bodies — quieter than the CTA
   pill but visibly tappable (so the datasheet links inside KPI cards stand
   out without needing per-link classes everywhere). */
.lead-section .columns p a:not(.lead-cta),
.card__body a {
  color: var(--ink);
  border-bottom: 1px solid var(--yellow);
  transition: color 0.15s ease, border-color 0.15s ease;
}
.lead-section .columns p a:not(.lead-cta):hover,
.card__body a:hover { color: var(--yellow); border-color: var(--ink); }

/* ==========================================================================
   BLOG body typography — used by /blog/<slug>/ for marked-rendered HTML.
   Matches the site's editorial voice (Inter body, mono accents, yellow
   highlights) and gives tables a clean, scannable look.
   ========================================================================== */
.blog-body {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-2);
}
.blog-body p { margin: 0 0 22px; }
.blog-body h2 {
  font-size: 26px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin: 40px 0 12px;
  line-height: 1.2;
}
.blog-body h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  margin: 32px 0 10px;
  line-height: 1.3;
}
.blog-body h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 28px 0 8px;
}
.blog-body ul, .blog-body ol {
  margin: 0 0 22px;
  padding-left: 24px;
}
.blog-body li { margin: 6px 0; }
.blog-body li > p { margin: 0 0 8px; }
.blog-body strong { color: var(--ink); }
.blog-body em { font-style: italic; color: var(--ink-2); }
.blog-body a {
  color: var(--ink);
  border-bottom: 1px solid var(--yellow);
  text-decoration: none;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.blog-body a:hover { color: var(--yellow); border-color: var(--ink); }
.blog-body blockquote {
  margin: 28px 0;
  padding: 4px 0 4px 22px;
  border-left: 3px solid var(--yellow);
  color: var(--ink);
  font-style: italic;
  font-size: 19px;
}
.blog-body code {
  background: var(--cream);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.9em;
  color: var(--ink);
}
.blog-body pre {
  background: var(--dark);
  color: var(--cream);
  padding: 18px 22px;
  border-radius: var(--radius);
  overflow-x: auto;
  margin: 22px 0;
  font-size: 14px;
  line-height: 1.5;
}
.blog-body pre code { background: transparent; padding: 0; color: inherit; }
.blog-body hr {
  border: 0;
  border-top: 1px solid var(--rule);
  margin: 36px 0;
}
.blog-body img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  margin: 28px 0;
  display: block;
}

/* Tables — the main fix. Was rendering as raw markdown |---| junk. */
.blog-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 28px 0;
  font-size: 15px;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}
.blog-body table th {
  text-align: left;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding: 14px 14px;
  border-bottom: 1px solid var(--rule);
  background: var(--cream);
  vertical-align: bottom;
}
.blog-body table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--rule);
  color: var(--ink-2);
  vertical-align: top;
}
.blog-body table tr:last-child td { border-bottom: 0; }
.blog-body table tr:hover td { background: rgba(251, 188, 28, 0.06); }
.blog-body table strong { color: var(--ink); }
/* Mobile: scroll wide tables horizontally instead of squashing them */
@media (max-width: 600px) {
  .blog-body table { display: block; overflow-x: auto; white-space: nowrap; }
}
