:root {
  --bg: #f7fbff;
  --bg-soft: #eef5fb;
  --surface: #ffffff;
  --surface-alt: #f3f8fd;
  --text: #10263d;
  --muted: #5d7287;
  --line: #d4e1ed;
  --navy: #0f2d4a;
  --navy-2: #173d63;
  --navy-3: #244d79;
  --accent: #f28a2b;
  --success: #2e9469;
  --shadow: 0 24px 60px rgba(20, 47, 77, 0.09);
  --shadow-soft: 0 14px 30px rgba(20, 47, 77, 0.08);
  --radius: 24px;
  --radius-lg: 34px;
  --container: 1180px;
  --font-display: "Gill Sans", "Trebuchet MS", sans-serif;
  --font-body: "Segoe UI", Tahoma, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  line-height: 1.65;
  background:
    radial-gradient(circle at top left, rgba(66, 116, 180, 0.08), transparent 28%),
    radial-gradient(circle at 88% 12%, rgba(242, 138, 43, 0.12), transparent 16%),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 42%, #f5faff 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
}

.site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(212, 225, 237, 0.9);
}

.site-header__inner,
.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand__logo {
  display: block;
  width: auto;
  max-width: min(320px, 42vw);
  max-height: 78px;
  height: auto;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: flex-end;
}

.site-header__nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.nav a {
  padding: 0.75rem 1rem;
  border-radius: 999px;
  color: var(--muted);
  transition: 160ms ease;
}

.nav a:hover,
.nav a:focus-visible,
.nav a.is-active {
  color: var(--navy);
  background: rgba(23, 61, 99, 0.08);
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
}

.language-switcher a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 36px;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.language-switcher a:hover,
.language-switcher a:focus-visible,
.language-switcher a.is-active {
  color: #fff;
  background: var(--navy);
}

main {
  flex: 1;
}

.hero,
.page-hero {
  padding: 4.8rem 0 2.6rem;
}

.hero__grid,
.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.2rem;
  align-items: center;
}

.hero__stack {
  display: grid;
  gap: 2rem;
}

.hero__intro {
  max-width: 880px;
}

.hero-video {
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  background: #0b2035;
  border: 1px solid rgba(212, 225, 237, 0.95);
  box-shadow: var(--shadow);
}

.hero-video iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1rem;
  padding: 0.48rem 0.95rem;
  border-radius: 999px;
  background: rgba(23, 61, 99, 0.08);
  color: var(--navy-2);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.8rem, 5vw, 5.3rem);
}

h2 {
  font-size: clamp(2rem, 3.2vw, 3.3rem);
}

h3 {
  font-size: 1.34rem;
}

.lead {
  max-width: 64ch;
  font-size: 1.1rem;
  color: var(--muted);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.75rem;
}

.button,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 54px;
  padding: 0.95rem 1.4rem;
  border-radius: 999px;
  border: 0;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.button:hover,
button:hover {
  transform: translateY(-1px);
}

.button--primary,
button {
  color: #fff;
  background: linear-gradient(135deg, var(--navy), var(--navy-3));
  box-shadow: 0 16px 28px rgba(23, 61, 99, 0.24);
}

.button--secondary {
  color: var(--navy);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.5rem;
}

.hero-chips span {
  padding: 0.65rem 0.9rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 700;
  box-shadow: var(--shadow-soft);
}

.hero-machine,
.page-visual {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #f6fbff 0%, #edf5fc 100%);
  border: 1px solid rgba(212, 225, 237, 0.95);
  box-shadow: var(--shadow);
}

.hero-machine {
  min-height: 500px;
  padding: 2rem;
}

.hero-machine::before,
.page-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 12%, rgba(255, 255, 255, 0.9), transparent 28%),
    radial-gradient(circle at 85% 18%, rgba(242, 138, 43, 0.16), transparent 18%);
  pointer-events: none;
}

.machine-idea {
  position: absolute;
  top: 1.4rem;
  left: 1.4rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.85rem 1rem;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  z-index: 1;
}

.machine-idea__bulb {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffd06a, var(--accent));
  color: #7a420b;
  font-size: 1.3rem;
}

.machine-idea strong,
.machine-box strong,
.service-card strong {
  display: block;
  margin-bottom: 0.2rem;
}

.machine-conveyor {
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 2rem;
  height: 132px;
  border-radius: 999px;
  background: linear-gradient(180deg, #dbe8f3, #c8d9e8);
  box-shadow: inset 0 5px 18px rgba(16, 38, 61, 0.14);
}

.machine-conveyor::before {
  content: "";
  position: absolute;
  left: 5%;
  right: 5%;
  top: 48px;
  height: 34px;
  border-radius: 999px;
  background: repeating-linear-gradient(90deg, #8ea6bc 0 34px, #c3d3e1 34px 62px);
  animation: beltmove 12s linear infinite;
}

.machine-conveyor::after {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: 18px;
  height: 12px;
  border-radius: 999px;
  background: rgba(15, 45, 74, 0.14);
}

.machine-block {
  position: absolute;
  z-index: 1;
  min-width: 132px;
  padding: 1rem;
  border-radius: 24px;
  color: #fff;
  background: linear-gradient(180deg, var(--navy), #1f4972);
  box-shadow: 0 18px 35px rgba(15, 45, 74, 0.28);
}

.machine-block span {
  display: inline-block;
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.machine-block--mvp {
  left: 17%;
  bottom: 8.6rem;
}

.machine-block--ict {
  left: 39%;
  bottom: 10rem;
}

.machine-block--logistics {
  left: 60%;
  bottom: 8.8rem;
}

.machine-block--business {
  right: 7%;
  bottom: 10.2rem;
}

.machine-box {
  position: absolute;
  right: 10%;
  bottom: 6.9rem;
  z-index: 1;
  width: 140px;
  padding: 1rem;
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  transform: rotate(-5deg);
}

.machine-box__tag {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  background: rgba(242, 138, 43, 0.14);
  color: #9a540f;
  font-size: 0.8rem;
  font-weight: 700;
}

.operator {
  position: absolute;
  left: 6%;
  bottom: 5.7rem;
  z-index: 2;
  width: 88px;
  height: 158px;
}

.operator__head {
  position: absolute;
  top: 0;
  left: 22px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #ffb564;
}

.operator__body {
  position: absolute;
  top: 36px;
  left: 15px;
  width: 54px;
  height: 74px;
  border-radius: 28px 28px 18px 18px;
  background: linear-gradient(180deg, var(--accent), #dc741d);
}

.operator__arm {
  position: absolute;
  top: 52px;
  width: 18px;
  height: 60px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffb564, #f28a2b);
}

.operator__arm--left {
  left: 0;
  transform: rotate(18deg);
}

.operator__arm--right {
  right: 0;
  transform: rotate(-30deg);
}

.operator__leg {
  position: absolute;
  bottom: 0;
  width: 18px;
  height: 56px;
  border-radius: 999px;
  background: var(--navy);
}

.operator__leg--left {
  left: 22px;
}

.operator__leg--right {
  right: 22px;
}

.section {
  padding: 2rem 0 4rem;
}

.section__head {
  margin-bottom: 1.6rem;
  max-width: 68ch;
}

.service-grid,
.card-grid,
.three-up,
.stat-grid,
.process-grid {
  display: grid;
  gap: 1.2rem;
}

.service-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card-grid,
.three-up,
.stat-grid,
.process-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card,
.card {
  position: relative;
  overflow: hidden;
  min-height: 220px;
  padding: 1.5rem;
  border-radius: 28px;
  color: #fff;
  background: linear-gradient(180deg, var(--navy), #19456f);
  box-shadow: 0 24px 40px rgba(15, 45, 74, 0.2);
}

.service-card::after,
.card::after {
  content: "";
  position: absolute;
  right: -18px;
  bottom: -18px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
}

.service-card__icon,
.card__icon {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 1rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 1.4rem;
}

.service-card p,
.card p {
  color: rgba(255, 255, 255, 0.82);
}

.service-card .button,
.card .button {
  margin-top: 1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  box-shadow: none;
}

.panel,
.stat,
.form-shell,
.quote,
.cta-banner,
.page-visual,
.process-card {
  background: var(--surface);
  border: 1px solid rgba(212, 225, 237, 0.95);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.panel,
.stat,
.quote,
.cta-banner,
.process-card {
  padding: 1.5rem;
}

.stat {
  background: linear-gradient(180deg, #ffffff, #f7fbff);
}

.stat h3 {
  color: var(--navy);
}

.stat p,
.panel p,
.quote,
.helper,
.meta,
.list {
  color: var(--muted);
}

.process-card {
  background: linear-gradient(180deg, #ffffff, #f2f8fd);
}

.process-card__step {
  display: inline-block;
  margin-bottom: 0.8rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(23, 61, 99, 0.08);
  color: var(--navy-2);
  font-size: 0.8rem;
  font-weight: 700;
}

.page-visual {
  min-height: 320px;
  padding: 1.8rem;
}

.page-visual__stack {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1rem;
}

.page-visual__card {
  padding: 1rem 1.1rem;
  border-radius: 20px;
  background: linear-gradient(180deg, var(--navy), #1b4772);
  color: #fff;
  box-shadow: 0 16px 28px rgba(15, 45, 74, 0.2);
}

.page-visual__card p {
  margin: 0.35rem 0 0;
  color: rgba(255, 255, 255, 0.82);
}

.page-visual__mascot {
  position: absolute;
  left: auto;
  right: 1.6rem;
  bottom: 1.2rem;
  width: 94px;
  height: 154px;
  z-index: 1;
  filter: drop-shadow(0 16px 22px rgba(242, 138, 43, 0.24));
}

.page-visual__mascot .operator__body {
  background: linear-gradient(180deg, #f59a3d, #e47716);
}

.list {
  padding-left: 1.2rem;
}

.list li + li {
  margin-top: 0.5rem;
}

.quote {
  font-size: 1.08rem;
}

.quote strong {
  display: block;
  margin-top: 1rem;
  color: var(--navy);
}

.cta-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: linear-gradient(135deg, rgba(23, 61, 99, 0.04), rgba(242, 138, 43, 0.08)), #fff;
}

form {
  display: grid;
  gap: 1rem;
}

.form-shell {
  padding: 1.5rem;
  background: linear-gradient(180deg, #ffffff, #f7fbff);
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

label {
  display: grid;
  gap: 0.45rem;
  font-weight: 700;
  color: var(--navy);
}

input,
select,
textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #fff;
  font: inherit;
  color: var(--text);
}

textarea {
  min-height: 160px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(36, 77, 121, 0.18);
  border-color: rgba(36, 77, 121, 0.38);
}

.message {
  margin-bottom: 1rem;
  padding: 1rem 1.1rem;
  border-radius: 16px;
  font-weight: 700;
}

.message--success {
  color: #15593c;
  background: rgba(46, 148, 105, 0.12);
}

.message--error {
  color: #94511d;
  background: rgba(242, 138, 43, 0.16);
}

.site-footer {
  margin-top: 3rem;
  background: #f9fcff;
  border-top: 1px solid rgba(212, 225, 237, 0.95);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links a {
  color: var(--muted);
}

@keyframes beltmove {
  from {
    background-position: 0 0;
  }

  to {
    background-position: 420px 0;
  }
}

@media (max-width: 1100px) {
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .hero__grid,
  .split,
  .card-grid,
  .three-up,
  .stat-grid,
  .field-grid,
  .process-grid,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .site-header__inner,
  .site-footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav {
    justify-content: flex-start;
  }

  .site-header__nav {
    justify-content: flex-start;
  }

  .hero,
  .page-hero {
    padding-top: 3rem;
  }

  .hero-machine {
    min-height: 640px;
  }

  .machine-block--mvp {
    left: 12%;
    bottom: 18rem;
  }

  .machine-block--ict {
    left: 46%;
    bottom: 22rem;
  }

  .machine-block--logistics {
    left: 16%;
    bottom: 9.7rem;
  }

  .machine-block--business {
    right: 10%;
    bottom: 14rem;
  }

  .machine-box {
    right: 8%;
    bottom: 4.6rem;
  }
}

@media (max-width: 620px) {
  .brand__logo {
    max-width: 240px;
    max-height: 68px;
  }

  h1 {
    font-size: 2.45rem;
  }

  .hero-machine {
    min-height: 700px;
    padding: 1.3rem;
  }

  .machine-idea {
    left: 1rem;
    right: 1rem;
  }

  .machine-conveyor {
    left: 4%;
    right: 4%;
    bottom: 1.2rem;
  }

  .machine-block {
    min-width: 116px;
  }

  .machine-block--mvp {
    left: 6%;
    bottom: 20rem;
  }

  .machine-block--ict {
    left: 47%;
    bottom: 24rem;
  }

  .machine-block--logistics {
    left: 6%;
    bottom: 11rem;
  }

  .machine-block--business {
    right: 6%;
    bottom: 15rem;
  }

  .operator {
    left: 3%;
  }
}

/* ── Cases: overzicht, filter en detail ── */
.muted {
  color: var(--muted);
  font-size: 0.9rem;
}

.case-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2rem;
}

.case-filter {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.case-filter:hover {
  border-color: var(--navy-3);
}

.case-filter.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.case-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.75rem;
  background: var(--surface);
  border: 1px solid rgba(212, 225, 237, 0.95);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  text-decoration: none;
  color: var(--text);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.case-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.case-card h2,
.case-card h3 {
  font-size: 1.25rem;
  color: var(--navy);
  margin: 0;
}

.case-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.case-breadcrumb a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
}

.case-breadcrumb a:hover {
  color: var(--navy);
}

.case-breadcrumb span:last-child {
  color: var(--text);
}

.case-related {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.case-related h2 {
  color: var(--navy);
  margin-bottom: 1.25rem;
}

.case-card p {
  color: var(--muted);
  margin: 0;
  flex: 1;
}

.case-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.case-tag {
  display: inline-flex;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--navy-2);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.case-card__link {
  font-weight: 700;
  color: var(--accent);
}

.case-back {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
}

.case-back:hover {
  color: var(--navy);
}

.case-story {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 760px;
}

.case-story__block .eyebrow {
  display: block;
  margin-bottom: 0.6rem;
}

.case-story__block--result {
  background: linear-gradient(180deg, #ffffff, #f7fbff);
  border-color: var(--accent);
}

.case-story__block--followup {
  background: linear-gradient(180deg, #ffffff, #f4fbf7);
  border-color: var(--success);
}

.case-card__image {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  border-radius: calc(var(--radius) - 10px);
  margin: -0.5rem -0.5rem 0.25rem;
  width: calc(100% + 1rem);
}

.case-hero-image {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-top: 1.5rem;
}

.case-tech {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  padding-top: 0.5rem;
}

.case-tech__label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.case-tech__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.case-tech__badge {
  padding: 0.3rem 0.75rem;
  border-radius: 8px;
  background: var(--navy);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
}

.case-cta {
  margin-top: 1rem;
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: var(--navy);
  color: #fff;
  text-align: center;
}

.case-cta h2 {
  color: #fff;
  margin-bottom: 0.5rem;
}

.case-cta p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.25rem;
}

.case-cta .button-row {
  justify-content: center;
}
