:root {
  --ink: #0b1219;
  --surface: #ffffff;
  --surface-soft: #f8fbfd;
  --paper: #f3f6f8;
  --line: #d7e0e7;
  --muted: #62707d;
  --blue: #1288c9;
  --blue-dark: #0c5f91;
  --green: #66c633;
  --shadow: 0 20px 48px rgba(8, 11, 16, 0.08);
  --radius-md: 8px;
  --font-label-size: 12px;
  --font-label-weight: 820;
  --font-body-size: 15px;
  --font-body-line: 1.6;
  --font-body-sm-size: 14px;
  --font-body-sm-line: 1.55;
  --font-note-size: 13px;
  --font-note-line: 1.5;
  --font-card-title-size: 18px;
  --font-card-title-line: 1.22;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 108px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Helvetica Neue", Arial, "Segoe UI", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto auto 1fr auto auto;
  align-items: center;
  gap: 16px;
  min-height: 76px;
  padding: 12px clamp(18px, 4vw, 52px);
  background: rgba(243, 246, 248, 0.9);
  border-bottom: 1px solid rgba(215, 224, 231, 0.85);
  backdrop-filter: blur(14px);
}

.brand img {
  height: 56px;
  width: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}


.main-nav {
  display: flex;
  justify-content: center;
  gap: 24px;
  color: #33404d;
  font-size: 14px;
  font-weight: 720;
}

.area-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(18, 136, 201, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 10px 24px rgba(8, 11, 16, 0.06);
}

.area-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  color: #4d5a67;
  font-size: 13px;
  font-weight: 720;
  white-space: nowrap;
}

.area-switch a[aria-current="page"] {
  background: rgba(18, 136, 201, 0.12);
  color: var(--blue-dark);
}

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue-dark);
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.header-phone-icon {
  display: inline-flex;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.header-phone-icon svg {
  width: 100%;
  height: 100%;
}

.header-phone-text {
  white-space: nowrap;
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 8px;
  font-weight: 780;
  white-space: nowrap;
}

.header-cta,
.button.primary {
  color: #08161f;
  background: var(--green);
}

.button.secondary {
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
}

.button.solution-link {
  color: #fff;
  background: var(--green);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.76fr);
  gap: 32px;
  align-items: center;
  padding: clamp(40px, 7vw, 84px) clamp(18px, 4vw, 52px);
  background: linear-gradient(135deg, #0d151d, #122233 56%, #183449);
  color: #fff;
}

.hero-visual {
  justify-self: end;
  width: min(100%, 440px);
}

.hero-robot-stack {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 300px;
  padding: 18px 12px 6px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.24);
  perspective: 1200px;
  overflow: hidden;
}

.hero-robot {
  position: relative;
  width: auto;
  max-width: 34%;
  max-height: 248px;
  object-fit: contain;
  filter: drop-shadow(0 18px 32px rgba(0, 0, 0, 0.24));
  transition: transform 260ms ease, filter 260ms ease;
  transform-origin: bottom center;
}

.hero-robot-left {
  transform: translateX(18px);
  z-index: 1;
}

.hero-robot-center {
  max-width: 38%;
  max-height: 270px;
  z-index: 3;
}

.hero-robot-right {
  transform: translateX(-18px);
  z-index: 2;
}

.hero-robot-stack::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 22%, rgba(255, 255, 255, 0.16) 48%, transparent 72%);
  transform: translateX(-130%);
  opacity: 0;
  pointer-events: none;
  transition: transform 520ms ease, opacity 260ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .hero-robot-stack:hover::after {
    opacity: 1;
    transform: translateX(130%);
  }

  .hero-robot-stack:hover .hero-robot-left {
    transform: translateX(10px) rotate(-4deg) translateY(-4px);
    filter: drop-shadow(0 22px 36px rgba(0, 0, 0, 0.26));
  }

  .hero-robot-stack:hover .hero-robot-center {
    transform: translateY(-10px) scale(1.03);
    filter: drop-shadow(0 26px 40px rgba(0, 0, 0, 0.28));
  }

  .hero-robot-stack:hover .hero-robot-right {
    transform: translateX(-10px) rotate(4deg) translateY(-4px);
    filter: drop-shadow(0 22px 36px rgba(0, 0, 0, 0.26));
  }
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: var(--font-label-size);
  font-weight: var(--font-label-weight);
  text-transform: uppercase;
}

h1,
h2,
strong,
p,
span {
  overflow-wrap: break-word;
  word-break: normal;
}

h1,
h2 {
  margin: 0;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1.02;
  max-width: 18ch;
  text-wrap: balance;
}

h2 {
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1.06;
  max-width: 20ch;
  text-wrap: balance;
}

.hero-copy p:not(.eyebrow),
.section-heading p,
.solution-body p,
.value-card p,
.contact-panel p {
  margin: 0;
  color: var(--muted);
  font-size: var(--font-body-size);
  line-height: var(--font-body-line);
}

.hero-copy p:not(.eyebrow) {
  max-width: 660px;
  margin-top: 22px;
  color: #c4ccd5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 520px;
  margin-top: 26px;
}

.hero-metrics div {
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.hero-metrics strong {
  display: block;
  font-size: 18px;
}

.hero-metrics span {
  display: block;
  margin-top: 4px;
  color: #b9c2cc;
  font-size: 12px;
}

.section {
  padding: clamp(38px, 6vw, 72px) clamp(18px, 4vw, 52px);
}

.section.alt {
  background: #eef3f6;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 24px;
}

.section-note {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: var(--font-note-size);
  line-height: var(--font-note-line);
}

.compact-note {
  max-width: none;
  white-space: nowrap;
  font-size: 12px;
}

.application-overview-section {
  padding-top: clamp(30px, 4vw, 44px);
}

.application-overview-heading {
  margin-bottom: 18px;
}

.application-chip-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.application-chip-card {
  display: grid;
  gap: 8px;
  min-height: 138px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.application-chip-card strong {
  font-size: var(--font-card-title-size);
  line-height: var(--font-card-title-line);
  text-wrap: balance;
}

.application-chip-card p {
  margin: 0;
  color: var(--muted);
  font-size: var(--font-body-sm-size);
  line-height: var(--font-body-sm-line);
}

.system-family-section {
  padding-top: clamp(30px, 4vw, 44px);
}

.system-family-section .section-heading {
  max-width: 680px;
  margin-bottom: 18px;
}

.system-family-section .eyebrow {
  margin-bottom: 8px;
}

.system-family-section h2 {
  font-size: clamp(22px, 2.7vw, 31px);
  line-height: 1.08;
  max-width: 18ch;
}

.system-family-section .section-heading p:not(.eyebrow) {
  font-size: 15px;
  line-height: 1.55;
}

.system-overview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.system-overview-card {
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface-soft);
}

.system-overview-card strong {
  font-size: var(--font-card-title-size);
  line-height: var(--font-card-title-line);
}

.system-overview-card p {
  margin: 0;
  color: var(--muted);
  font-size: var(--font-body-sm-size);
  line-height: var(--font-body-sm-line);
}

.references-section {
  padding-top: clamp(28px, 4vw, 48px);
  padding-bottom: clamp(28px, 4vw, 44px);
}

.references-heading {
  margin-bottom: 18px;
}

.reference-logo-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 12px;
  align-items: center;
}

.reference-logo-strip img {
    width: 100%;
    height: 46px;
    padding: 8px 12px;
    object-fit: contain;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: var(--shadow);
}

.reference-logo-strip img.logo-rittal {
    height: 56px;
    padding: 6px 12px;
}

.reference-name-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.reference-name-strip img {
  display: block;
  width: 100%;
  height: 54px;
  min-height: 46px;
  padding: 6px 10px;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.reference-name-strip img.logo-gueldenkron {
  padding: 4px 10px;
}

.value-grid,
.solution-grid,
.steps-grid,
.video-grid {
  display: grid;
  gap: 12px;
}

.value-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.quick-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.quick-proof div {
  padding: 14px 16px;
  color: #33404d;
  background: #f8fbfd;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 760;
  line-height: 1.4;
  text-align: center;
}

.value-card,
.solution-card,
.step-card,
.contact-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.value-card {
  padding: 20px;
}

.value-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: var(--font-card-title-size);
  line-height: var(--font-card-title-line);
}

.solution-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.video-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.solution-card {
  display: grid;
  grid-template-rows: 190px 1fr;
  overflow: hidden;
  height: 100%;
}

.video-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.video-card video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #0d151d;
}

.video-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #0d151d;
}

.video-card-body {
  display: grid;
  gap: 8px;
  padding: 18px;
}

.video-card-body span {
  color: var(--blue-dark);
  font-size: var(--font-label-size);
  font-weight: var(--font-label-weight);
  text-transform: uppercase;
}

.video-card-body strong {
  font-size: var(--font-card-title-size);
  line-height: 1.28;
  max-width: 22ch;
  text-wrap: balance;
}

.video-card-body p {
  margin: 0;
  color: var(--muted);
  font-size: var(--font-body-sm-size);
  line-height: var(--font-body-sm-line);
}

.video-open-link {
  color: var(--blue-dark);
  font-size: 13px;
  font-weight: 780;
}

.solution-card img {
  width: 100%;
  height: 190px;
  object-fit: contain;
  background: #f6f8fa;
  padding: 10px;
}

.robot-selector-section {
  background: #edf3f7;
}

.selector-panel {
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) minmax(260px, 1.1fr) minmax(220px, 0.7fr);
  gap: 14px;
  align-items: stretch;
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.selector-controls,
.selector-actions,
.selector-result {
  display: grid;
  align-content: start;
  gap: 8px;
}

.selector-controls {
  grid-template-columns: 1fr;
}

.selector-controls label {
  display: grid;
  gap: 6px;
}

.selector-controls span {
  color: #33404d;
  font-size: var(--font-label-size);
  font-weight: var(--font-label-weight);
  text-transform: uppercase;
}

.selector-controls select {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  color: var(--ink);
  background: #f8fbfd;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  font-weight: 720;
}

.selector-actions p,
.selector-gripper-card p,
.selector-gripper-card small,
.selector-result p,
.selector-result small {
  margin: 0;
  color: var(--muted);
  font-size: var(--font-body-sm-size);
  line-height: var(--font-body-sm-line);
}

.selector-result {
  padding: 16px;
  background: #f8fbfd;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.selector-result-list {
  display: grid;
  gap: 8px;
  max-height: 420px;
  overflow: auto;
  padding-right: 4px;
}

.selector-robot-card {
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 8px;
  align-items: start;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.selector-robot-card.primary-match {
  border-color: rgba(18, 136, 201, 0.55);
  box-shadow: 0 10px 26px rgba(18, 136, 201, 0.08);
}

.selector-robot-card img {
  width: 68px;
  height: 62px;
  object-fit: contain;
  padding: 5px;
  background: #f8fbfd;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.selector-robot-card > div {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.selector-pick-button {
  justify-self: start;
  min-height: 30px;
  padding: 0 10px;
  color: var(--blue-dark);
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  background: #eaf4fb;
  border: 1px solid rgba(18, 136, 201, 0.35);
  border-radius: 7px;
  cursor: pointer;
}

.selector-robot-card.primary-match .selector-pick-button {
  color: #fff;
  background: var(--blue);
  border-color: var(--blue);
}

.selector-result span {
  color: var(--blue-dark);
  font-size: var(--font-label-size);
  font-weight: var(--font-label-weight);
  text-transform: uppercase;
}

.selector-result strong {
  font-size: 16px;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.selector-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px;
}

.selector-specs div {
  display: grid;
  gap: 3px;
  padding: 6px 7px;
  background: #f8fbfd;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.selector-specs b {
  color: #33404d;
  font-size: 10px;
  text-transform: uppercase;
}

.selector-specs small {
  color: var(--ink);
  font-size: 12px;
  font-weight: 760;
}

.selector-actions {
  justify-items: start;
}

.selector-gripper-card {
  display: grid;
  gap: 7px;
  padding: 12px;
  background: #f8fbfd;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.selector-gripper-card span {
  color: var(--blue-dark);
  font-size: var(--font-label-size);
  font-weight: var(--font-label-weight);
  text-transform: uppercase;
}

.selector-gripper-card strong {
  font-size: 16px;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.selector-gripper-list {
  display: grid;
  gap: 8px;
  max-height: 260px;
  overflow: auto;
  padding-right: 4px;
}

.selector-gripper-option {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 8px;
  align-items: start;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.selector-gripper-option.primary-match {
  border-color: rgba(18, 136, 201, 0.55);
  box-shadow: 0 10px 22px rgba(18, 136, 201, 0.08);
}

.selector-gripper-option img {
  width: 58px;
  height: 50px;
  object-fit: contain;
  padding: 4px;
  background: #f8fbfd;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.selector-gripper-option > div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.selector-gripper-option strong {
  font-size: 14px;
  overflow-wrap: anywhere;
}

.selector-gripper-option span {
  color: var(--blue-dark);
  font-size: 10px;
  font-weight: 850;
  text-transform: uppercase;
}

.selector-gripper-option p,
.selector-gripper-option small {
  font-size: 12px;
  line-height: 1.35;
}

.selector-gripper-option button {
  justify-self: start;
  min-height: 30px;
  padding: 0 10px;
  color: var(--blue-dark);
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  background: #eaf4fb;
  border: 1px solid rgba(18, 136, 201, 0.35);
  border-radius: 7px;
  cursor: pointer;
}

.selector-gripper-option.primary-match button {
  color: #fff;
  background: var(--blue);
  border-color: var(--blue);
}

.solution-body {
  display: grid;
  grid-template-areas:
    "eyebrow"
    "title"
    "desc"
    "specs"
    "points"
    "actions";
  grid-template-rows: 18px 74px 110px auto 1fr auto;
  gap: 8px;
  height: 100%;
  padding: 18px;
  align-content: start;
}

.solution-body strong,
.contact-panel strong,
.contact-rail-card strong,
.section-heading h2 {
  text-wrap: balance;
}

.solution-actions {
  grid-area: actions;
  margin-top: 6px;
  align-self: end;
}

.solution-specs {
  grid-area: specs;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-content: start;
}

.solution-specs span {
  padding: 6px 9px;
  color: #33404d;
  background: #f4f8fb;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 760;
}

.solution-body span {
  grid-area: eyebrow;
  color: var(--blue-dark);
  font-size: var(--font-label-size);
  font-weight: var(--font-label-weight);
  text-transform: uppercase;
}

.solution-body strong {
  grid-area: title;
  display: block;
  font-size: var(--font-card-title-size);
  line-height: 1.28;
  max-width: none;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.solution-body > p {
  grid-area: desc;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
}

.solution-points {
  grid-area: points;
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.solution-points li {
  position: relative;
  padding-left: 16px;
  color: #445260;
  font-size: 13px;
  line-height: 1.45;
}

.solution-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.48em;
  width: 7px;
  height: 7px;
  background: var(--green);
  border-radius: 50%;
}

.steps-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.step-card {
  display: grid;
  gap: 10px;
  min-height: 140px;
  padding: 20px;
}

.step-card strong {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: #fff;
  background: var(--blue-dark);
  border-radius: 50%;
  font-size: 14px;
}

.step-card p {
  margin: 0;
  color: #33404d;
  font-size: var(--font-body-size);
  line-height: var(--font-body-line);
}

.contact-section {
  background: linear-gradient(135deg, #0d151d, #13273a);
  color: #fff;
}

.contact-section .section-heading p {
  color: #c4ccd5;
}

.contact-stack {
  display: grid;
  gap: 14px;
  max-width: 1120px;
  margin: 0 auto;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.8fr);
  gap: 22px;
  align-items: stretch;
  padding: 24px;
}

.contact-copy,
.contact-rail {
  display: grid;
  gap: 16px;
}

.contact-panel strong {
  display: block;
  margin: 0;
  color: var(--ink);
  font-size: 21px;
  line-height: 1.18;
}

.contact-panel p {
  color: #445260;
}

.contact-kicker {
  display: inline-flex;
  width: fit-content;
  min-height: 28px;
  align-items: center;
  padding: 0 10px;
  color: var(--blue-dark);
  background: #eef6fb;
  border: 1px solid rgba(18, 136, 201, 0.16);
  border-radius: 999px;
  font-size: var(--font-label-size);
  font-weight: var(--font-label-weight);
  text-transform: uppercase;
}

.contact-lines {
  display: grid;
  gap: 6px;
}

.contact-direct-note {
  display: grid;
  gap: 6px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbfd;
}

.contact-direct-note b {
  color: var(--ink);
  font-size: var(--font-note-size);
}

.contact-direct-note span {
  color: var(--muted);
  font-size: var(--font-note-size);
  line-height: var(--font-note-line);
}

.contact-person-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.contact-person-card {
  display: grid;
  gap: 6px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbfd;
}

.contact-person-name-image {
  display: block;
  width: 100%;
  max-width: 260px;
  height: auto;
  margin: 0 0 6px;
  object-fit: contain;
}

.contact-person-card p {
  margin: 0;
  color: var(--muted);
  font-size: var(--font-note-size);
  line-height: var(--font-note-line);
}

.contact-person-card a {
  color: var(--blue-dark);
  font-size: var(--font-note-size);
  font-weight: 700;
  text-decoration: none;
}

.contact-person-card a:hover {
  text-decoration: underline;
}

.contact-actions {
  display: grid;
  gap: 10px;
}

.contact-rail-card {
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbfd;
}

.contact-rail-card span {
  color: var(--blue-dark);
  font-size: var(--font-label-size);
  font-weight: var(--font-label-weight);
  text-transform: uppercase;
}

.contact-rail-card strong {
  color: var(--ink);
  font-size: var(--font-card-title-size);
  line-height: 1.3;
  max-width: 22ch;
}

.contact-rail-list {
  display: grid;
  gap: 10px;
}

.contact-rail-list div {
  position: relative;
  padding-left: 18px;
  color: #445260;
  font-size: var(--font-note-size);
  line-height: var(--font-note-line);
}

.contact-rail-list div::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.48em;
  width: 7px;
  height: 7px;
  background: var(--green);
  border-radius: 50%;
}

.contact-notes {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-notes div {
  display: grid;
  gap: 6px;
  min-height: 92px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbfd;
}

.contact-notes b {
  color: var(--ink);
  font-size: var(--font-note-size);
}

.contact-notes span {
  color: var(--muted);
  font-size: var(--font-note-size);
  line-height: var(--font-note-line);
}

.contact-form-compact {
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.form-hidden {
  display: none;
}

.contact-form-head {
  display: grid;
  gap: 8px;
}

.contact-form-head strong {
  max-width: 24ch;
  font-size: 22px;
  line-height: 1.2;
}

.contact-form-head p {
  margin: 0;
  color: var(--muted);
  font-size: var(--font-body-size);
  line-height: var(--font-body-line);
}

.contact-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.contact-form-compact label {
  display: grid;
  gap: 6px;
}

.contact-form-compact label span {
  color: var(--muted);
  font-size: var(--font-label-size);
  font-weight: var(--font-label-weight);
  text-transform: uppercase;
}

.contact-form-compact input,
.contact-form-compact select,
.contact-form-compact textarea {
  width: 100%;
  min-height: 46px;
  padding: 0 12px;
  color: var(--ink);
  background: #f8fafb;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.contact-form-compact textarea {
  min-height: 120px;
  padding: 12px;
  resize: vertical;
}

.contact-form-check label {
  grid-template-columns: 18px 1fr;
  align-items: start;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbfd;
}

.contact-form-check input {
  width: 16px;
  height: 16px;
  min-height: 16px;
  margin-top: 2px;
  accent-color: var(--blue);
}

.contact-form-check label span {
  font-size: 13px;
  font-weight: 600;
  text-transform: none;
  line-height: 1.5;
}

.contact-form-actions {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
  min-width: 0;
}

.contact-form-actions span {
  color: var(--muted);
  font-size: var(--font-note-size);
  line-height: var(--font-note-line);
}

.contact-form-confirmation {
  display: grid;
  gap: 6px;
  padding: 14px;
  color: #163253;
  background: #eef9ff;
  border: 1px solid #c8e5f5;
  border-radius: 8px;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
  justify-content: space-between;
  padding: 22px clamp(18px, 4vw, 52px);
  color: #5d6a76;
  font-size: var(--font-note-size);
  border-top: 1px solid var(--line);
  background: #f8fbfd;
}

.site-footer address {
  font-style: normal;
  line-height: 1.72;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.site-footer a {
  color: var(--blue-dark);
  font-weight: 760;
}

.site-footer address a {
  color: inherit;
}

.legal-page {
  background: #f8fbfd;
}

.legal-content {
  display: grid;
  gap: 18px;
  max-width: 920px;
  margin: 0 auto;
  padding: clamp(34px, 6vw, 70px) clamp(18px, 4vw, 52px);
}

.legal-content article {
  display: grid;
  gap: 14px;
  padding: clamp(18px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.legal-content h1,
.legal-content h2 {
  margin: 0;
}

.legal-content h1 {
  font-size: clamp(30px, 5vw, 48px);
}

.legal-content h2 {
  margin-top: 10px;
  font-size: 20px;
}

.legal-content p,
.legal-content li {
  color: #445260;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.legal-content ul {
  margin: 0;
  padding-left: 20px;
}

.contact-form-confirmation[hidden] {
  display: none;
}

.subpage-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.85fr);
  gap: 28px;
  align-items: center;
  padding: clamp(34px, 6vw, 70px) clamp(18px, 4vw, 52px);
  background: linear-gradient(135deg, #0d151d, #122233 56%, #183449);
  color: #fff;
}

.subpage-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.subpage-copy p:not(.eyebrow) {
  max-width: 640px;
  margin: 20px 0 0;
  color: #c4ccd5;
  font-size: var(--font-body-size);
  line-height: var(--font-body-line);
}

.subpage-visual img {
  width: min(100%, 480px);
  height: auto;
  max-height: 300px;
  object-fit: contain;
  object-position: center;
  padding: 10px;
  background: #f8fbfd;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.24);
}

.back-link {
  display: inline-flex;
  margin-bottom: 18px;
  color: #b9c2cc;
  font-size: 14px;
  font-weight: 700;
}

.spec-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0 clamp(18px, 4vw, 52px);
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 8px 8px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.spec-strip div {
  display: grid;
  gap: 4px;
  padding: 16px 18px;
  border-right: 1px solid var(--line);
}

.spec-strip div:last-child {
  border-right: 0;
}

.spec-strip span {
  color: var(--muted);
  font-size: var(--font-label-size);
  font-weight: var(--font-label-weight);
  text-transform: uppercase;
}

.spec-strip strong {
  font-size: var(--font-card-title-size);
  line-height: 1.28;
}

.spec-note {
  margin: 12px clamp(18px, 4vw, 52px) 0;
  color: var(--muted);
  font-size: var(--font-note-size);
  line-height: var(--font-note-line);
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.detail-card {
  display: grid;
  gap: 8px;
  min-height: 170px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.detail-card strong {
  font-size: var(--font-card-title-size);
  line-height: var(--font-card-title-line);
}

.detail-card p {
  margin: 0;
  color: var(--muted);
  font-size: var(--font-body-sm-size);
  line-height: var(--font-body-sm-line);
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto auto;
  }

  .main-nav {
    display: none;
  }

  .header-phone {
    justify-self: start;
    grid-column: 2;
    grid-row: 1;
    font-size: 13px;
  }

  .hero,
  .subpage-hero,
  .spec-strip,
  .value-grid,
  .quick-proof,
  .application-chip-grid,
  .detail-grid,
  .solution-grid,
  .video-grid,
  .reference-logo-strip,
  .steps-grid,
  .contact-panel,
  .contact-person-grid,
  .contact-notes,
  .contact-form-grid,
  .contact-form-actions,
  .selector-panel {
    grid-template-columns: 1fr;
  }

  .hero-robot-stack,
  .subpage-visual img {
    height: 270px;
  }

  .hero-robot-stack {
    min-height: 270px;
    padding: 16px 10px 4px;
  }

  .hero-robot {
    max-height: 220px;
  }

  .hero-robot-center {
    max-height: 238px;
  }

  .hero-visual {
    justify-self: stretch;
    width: 100%;
  }

  .selector-panel {
    gap: 12px;
  }

  .selector-result-list {
    max-height: 360px;
  }

  .selector-gripper-list {
    max-height: 240px;
  }

  .application-chip-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .application-chip-card {
    min-height: 0;
  }

  .contact-person-grid {
    grid-template-columns: 1fr;
  }

  .reference-logo-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .reference-name-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1100px) {
  .site-header {
    grid-template-columns: auto auto 1fr auto;
  }

  .main-nav,
  .header-cta {
    display: none;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 10px 16px;
    gap: 8px;
    grid-template-columns: minmax(0, 1fr) auto auto;
  }

  .area-switch {
    grid-column: 1 / -1;
    justify-self: start;
    margin-top: 2px;
  }

  .area-switch a {
    min-height: 32px;
    padding: 0 12px;
    font-size: 12px;
  }

  .header-cta {
    min-height: 38px;
    padding: 0 10px;
    font-size: 12px;
    white-space: nowrap;
  }

  .selector-panel {
    padding: 12px;
    gap: 10px;
  }

  .contact-form-actions .button {
    width: 100%;
  }

  .selector-controls {
    gap: 8px;
  }

  .selector-controls select {
    min-height: 40px;
    padding: 0 10px;
    font-size: 14px;
  }

  .selector-robot-card {
    grid-template-columns: 60px 1fr;
    padding: 7px;
  }

  .selector-robot-card img {
    width: 60px;
    height: 58px;
  }

  .selector-result {
    padding: 10px;
  }

  .selector-result-list {
    max-height: 330px;
  }

  .selector-result p,
  .selector-result small,
  .selector-actions p,
  .selector-gripper-card p,
  .selector-gripper-card small {
    font-size: 12px;
    line-height: 1.4;
  }

  .selector-specs {
    grid-template-columns: 1fr;
  }

  .selector-gripper-card {
    padding: 10px;
  }

  .selector-gripper-list {
    max-height: 220px;
  }

  .selector-gripper-option {
    grid-template-columns: 52px 1fr;
    padding: 7px;
  }

  .selector-gripper-option img {
    width: 52px;
    height: 46px;
  }

  .brand img {
    height: 46px;
  }

  .brand {
    gap: 8px;
  }

  .header-phone {
    font-size: 12px;
    gap: 6px;
  }

  .header-phone-icon {
    width: 16px;
    height: 16px;
    flex-basis: 16px;
  }

  .header-phone-text {
    display: none;
  }

  .hero {
    padding: 30px 16px;
  }

  .subpage-hero {
    padding: 30px 16px;
  }

  .section {
    padding: 34px 16px;
  }

  .spec-strip {
    margin: 0 16px;
  }

  .spec-note {
    margin: 12px 16px 0;
  }

  .video-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(82vw, 1fr);
    gap: 12px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    padding-bottom: 6px;
  }

  .video-grid > * {
    scroll-snap-align: start;
  }

  .application-chip-grid,
  .reference-logo-strip,
  .reference-name-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .system-overview-grid {
    grid-template-columns: 1fr;
  }

  .compact-note {
    white-space: normal;
  }

    .reference-logo-strip img {
        height: 42px;
        padding: 8px 10px;
    }

    .reference-logo-strip img.logo-rittal {
        height: 54px;
    }

  .contact-panel {
    padding: 18px;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .hero-robot-stack,
  .subpage-visual img {
    height: 220px;
  }

  .hero-robot-stack {
    min-height: 220px;
    padding: 12px 8px 2px;
  }

  .hero-robot {
    max-width: 35%;
    max-height: 180px;
  }

  .hero-robot-center {
    max-width: 40%;
    max-height: 196px;
  }

  .solution-card img {
    height: 170px;
    padding: 8px;
  }

  .video-card video {
    aspect-ratio: 16 / 11;
  }
}
