@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --blue: #1769e0;
  --blue-dark: #0a397f;
  --cyan: #00c2d7;
  --accent: #d7a83e;
  --ink: #171b26;
  --muted: #687083;
  --line: #e5eaf1;
  --soft: #f4f7fb;
  --panel: #fff;
  --white: #fff;
  --dark: #101725;
  --shadow: 0 24px 64px rgba(17, 31, 58, 0.13);
  --radius: 2px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Manrope", sans-serif;
  font-size: 16px;
  line-height: 1.75;
}
img { display: block; max-width: 100%; }
main { overflow: clip; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
.wrap { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

svg {
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

h1, h2, h3, h4 {
  margin: 0;
  color: var(--ink);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
}
h1, h2 { text-transform: uppercase; }
.section h2 { margin-bottom: 24px; font-size: clamp(34px, 4.2vw, 58px); }
.kicker, .hero-kicker {
  margin: 0 0 13px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.lead { color: var(--muted); font-size: 18px; line-height: 1.8; }

.topbar {
  min-height: 54px;
  color: rgba(255,255,255,.8);
  background: var(--dark);
  font-size: 12px;
}
.topbar-grid {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 32px;
  min-height: 54px;
}
.top-contact { display: inline-flex; align-items: center; gap: 10px; }
.top-contact small, .top-contact strong { display: block; line-height: 1.25; }
.top-contact small { color: rgba(255,255,255,.45); font-size: 9px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.top-contact strong { margin-top: 2px; color: var(--white); font-size: 12px; }
.top-icon {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  color: var(--cyan);
  border: 1px solid rgba(0,194,215,.45);
}
.top-icon svg { width: 14px; height: 14px; }
.top-consult {
  display: inline-flex;
  align-items: center;
  align-self: stretch;
  padding: 0 24px;
  color: var(--white);
  background: var(--blue);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: background .2s ease;
}
.top-consult:hover { background: var(--cyan); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid rgba(229,234,241,.8);
  box-shadow: 0 8px 32px rgba(18,28,47,.07);
  backdrop-filter: blur(16px);
}
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 84px; }
.logo img { width: 182px; height: auto; }
.menu, .submenu { margin: 0; padding: 0; list-style: none; }
.menu { display: flex; align-items: center; gap: 10px; }
.menu a, .menu button {
  display: block;
  padding: 34px 10px;
  border: 0;
  color: #2b3140;
  background: transparent;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color .18s ease;
}
.menu a:hover, .menu button:hover, .menu .active { color: var(--blue); }
.menu > li > a,
.menu > li > button {
  position: relative;
}
.menu > li > a::after,
.menu > li > button::after {
  content: "";
  position: absolute;
  right: 4px;
  bottom: 25px;
  left: 4px;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}
.menu > li > a:hover::after,
.menu > li > button:hover::after,
.menu > li > .active::after {
  transform: scaleX(1);
}
.has-submenu { position: relative; }
.submenu {
  position: absolute;
  top: calc(100% + 1px);
  left: -16px;
  min-width: 240px;
  padding: 12px 0;
  background: var(--white);
  border-top: 3px solid var(--cyan);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: .2s ease;
}
.has-submenu:hover .submenu, .has-submenu:focus-within .submenu { opacity: 1; transform: translateY(0); pointer-events: auto; }
.submenu a { padding: 13px 22px; }
.menu-toggle {
  display: none;
  width: 44px;
  height: 42px;
  color: var(--white);
  background: var(--blue);
  border: 0;
  cursor: pointer;
}

.hero, .page-hero { position: relative; overflow: hidden; background: var(--dark); }
.hero, .hero-content { min-height: 710px; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transform: scale(1.025); transition: opacity .8s ease, transform 6s ease; }
.hero-slide.active { opacity: 1; transform: scale(1); }
.hero-slide img, .page-hero img { width: 100%; height: 100%; object-fit: cover; }
.hero-slide::after, .page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10,18,34,.94) 0%, rgba(10,18,34,.77) 45%, rgba(10,18,34,.2) 78%, rgba(10,18,34,.42) 100%);
}
.hero-content { position: relative; z-index: 2; display: flex; align-items: center; color: var(--white); }
.hero-copy { max-width: 790px; padding: 40px 0 90px; }
.hero .hero-kicker, .page-hero .hero-kicker { color: var(--cyan); }
.hero h1 {
  max-width: 800px;
  color: var(--white);
  font-size: clamp(52px, 8vw, 108px);
  letter-spacing: -.055em;
}
.hero h1::after {
  content: "";
  display: block;
  width: 78px;
  height: 5px;
  margin-top: 24px;
  background: var(--cyan);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 25px;
  color: var(--white);
  background: var(--blue);
  border: 2px solid var(--blue);
  border-radius: var(--radius);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.btn:hover { background: var(--cyan); border-color: var(--cyan); transform: translateY(-2px); }
.btn svg { width: 16px; height: 16px; }
.btn.light { color: var(--white); background: transparent; border-color: rgba(255,255,255,.65); }
.btn.light:hover { background: var(--white); border-color: var(--white); color: var(--dark); }
.hero-tabs {
  position: absolute;
  right: max(20px, calc((100vw - 1180px) / 2));
  bottom: 36px;
  z-index: 3;
  display: flex;
}
.hero-tabs button {
  width: 62px;
  height: 50px;
  color: rgba(255,255,255,.4);
  background: rgba(16,23,37,.7);
  border: 1px solid rgba(255,255,255,.12);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}
.hero-tabs button.active, .hero-tabs button:hover { color: var(--white); background: var(--blue); border-color: var(--blue); }

.solution-strip { position: relative; z-index: 4; margin-top: -54px; }
.strip-grid { display: grid; grid-template-columns: repeat(4,1fr); background: var(--panel); box-shadow: var(--shadow); }
.strip-grid article {
  position: relative;
  min-height: 196px;
  padding: 34px 28px;
  border-right: 1px solid var(--line);
  overflow: hidden;
  transition: color .25s ease, background .25s ease, transform .25s ease;
}
.strip-grid article::after {
  content: "";
  position: absolute;
  right: -25px;
  bottom: -25px;
  width: 80px;
  height: 80px;
  border: 14px solid rgba(23,105,224,.06);
  transform: rotate(45deg);
}
.strip-grid article:hover { z-index: 1; color: var(--white); background: var(--blue); transform: translateY(-8px); }
.strip-grid article:last-child { border-right: 0; }
.strip-grid span {
  display: grid;
  place-items: center;
  width: 45px;
  height: 45px;
  margin-bottom: 17px;
  color: var(--blue);
  border: 2px solid currentColor;
}
.strip-grid svg { width: 21px; height: 21px; }
.strip-grid h3 { margin-bottom: 9px; font-size: 20px; text-transform: uppercase; }
.strip-grid p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.strip-grid article:hover h3, .strip-grid article:hover p { color: var(--white); }
.strip-grid article:hover span { color: var(--cyan); }

.section { padding: 112px 0; }
.section,
.project-cta,
.quote {
  content-visibility: auto;
  contain-intrinsic-size: auto 700px;
}
.section.soft { background: var(--soft); }
.split { display: grid; grid-template-columns: minmax(0,1fr) minmax(350px,.88fr); gap: 76px; align-items: center; }
.split.reverse { grid-template-columns: minmax(350px,.88fr) minmax(0,1fr); }
.split.reverse .media { order: -1; }
/* Textabschnitt ohne Bild: Zeilen nicht über die volle Breite laufen lassen. */
.prose { max-width: 62ch; }
.media { position: relative; overflow: visible; }
.media::before {
  content: "";
  position: absolute;
  inset: 24px -24px -24px 24px;
  z-index: -1;
  background: var(--blue);
}
.media::after {
  content: "";
  position: absolute;
  top: -12px;
  right: -12px;
  width: 72px;
  height: 72px;
  border-top: 5px solid var(--cyan);
  border-right: 5px solid var(--cyan);
}
.media img { width: 100%; height: 455px; object-fit: cover; box-shadow: var(--shadow); }
.play { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(16,23,37,.15); }
.play span {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  color: var(--white);
  background: var(--blue);
  border: 8px solid rgba(255,255,255,.25);
  border-radius: 50%;
}
.play svg { width: 24px; height: 24px; margin-left: 3px; fill: currentColor; stroke: none; }
.stats { display: grid; grid-template-columns: repeat(3,1fr); margin-top: 82px; background: var(--dark); box-shadow: var(--shadow); }
.stat { padding: 35px 22px; text-align: center; border-right: 1px solid rgba(255,255,255,.1); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; color: var(--cyan); font-size: 44px; font-weight: 800; line-height: 1; letter-spacing: -.05em; }
.stat span { display: block; margin-top: 10px; color: rgba(255,255,255,.7); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }

.cards { display: grid; grid-template-columns: repeat(2,1fr); gap: 22px; margin-top: 42px; }
.card, .feature {
  position: relative;
  padding: 34px;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: 0 14px 36px rgba(20,32,58,.06);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.card { display: grid; grid-template-columns: 58px minmax(0,1fr); gap: 18px; min-height: 190px; }
.card:hover, .feature:hover { transform: translateY(-7px); border-color: transparent; box-shadow: var(--shadow); }
.card-icon { display: grid; place-items: center; width: 52px; height: 52px; color: var(--white); background: var(--blue); }
.card-icon svg { width: 25px; height: 25px; }
.card h3, .feature h3 { margin-bottom: 10px; color: var(--ink); font-size: 21px; text-transform: uppercase; }
.card p { grid-column: 2; }
.card p, .feature p { margin: 0; color: var(--muted); font-size: 15px; }

.why { background: linear-gradient(135deg,#f4f7fb 0%,#fff 72%); }
.mini-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1px; margin-top: 38px; background: var(--line); border: 1px solid var(--line); }
.mini-grid div { padding: 24px; background: var(--white); }
.mini-grid strong { display: block; margin-bottom: 7px; color: var(--blue); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.mini-grid span { display: block; color: var(--muted); font-size: 14px; line-height: 1.6; }
.layered { overflow: visible; box-shadow: none; }

.quote {
  padding: 92px 0;
  color: var(--white);
  background: var(--soft);
}
.quote blockquote { position: relative; margin: 0; max-width: 980px; color: var(--white); font-size: clamp(29px,4.5vw,55px); font-weight: 800; line-height: 1.2; letter-spacing: -.04em; text-transform: uppercase; }
.quote blockquote::before { content: ""; display: block; width: 70px; height: 5px; margin-bottom: 25px; background: var(--cyan); }
.quote cite { display: block; margin-top: 26px; color: rgba(255,255,255,.7); font-size: 12px; font-style: normal; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }

.contact-band { color: var(--white); background: var(--dark); }
.contact-band h2 { color: var(--white); }
.contact-band {
  padding-top: 96px;
  padding-bottom: 96px;
}
.contact-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 74px; }
.contact-list { margin: 30px 0 0; padding: 0; list-style: none; }
.contact-list li { display: flex; align-items: flex-start; gap: 13px; margin-bottom: 15px; color: rgba(255,255,255,.7); }
.contact-list svg { width: 18px; height: 18px; margin-top: 5px; color: var(--cyan); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form input, .form textarea {
  width: 100%;
  padding: 15px 17px;
  color: var(--white);
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 0;
}
.form input:focus, .form textarea:focus { outline: 2px solid var(--cyan); border-color: var(--cyan); }
.form textarea { grid-column: 1/-1; min-height: 150px; resize: vertical; }
.form .btn, .form-note { grid-column: 1/-1; }
.form-note { display: none; padding: 12px 14px; color: #b9ffd3; background: rgba(52,190,98,.15); }

.page-hero, .page-hero .wrap { min-height: 440px; }
.page-hero > img { position: absolute; inset: 0; }
.page-hero .wrap { position: relative; z-index: 2; display: flex; align-items: center; color: var(--white); }
.page-hero-copy { max-width: 880px; }
.page-hero h1 { color: var(--white); font-size: clamp(47px,7vw,86px); }
.page-hero h1::after { content: ""; display: block; width: 65px; height: 5px; margin-top: 20px; background: var(--cyan); }
.page-strip { margin-top: 0; }
.strip-grid.compact { grid-template-columns: repeat(3,1fr); }
.strip-grid.compact article { min-height: 180px; }
.feature-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-top: 40px; }
.feature { border-top: 4px solid var(--blue); }
.contact-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.contact-card { padding: 34px; background: var(--white); border-top: 4px solid var(--blue); box-shadow: 0 14px 36px rgba(20,32,58,.07); }
.contact-card h2 { margin-bottom: 18px; color: var(--ink); font-size: 30px; }
.contact-card strong { color: var(--blue); }
.partner-logo { display: inline-block; max-width: 184px; margin: 0 6px; vertical-align: middle; }

.footer { padding: 26px 0; color: rgba(255,255,255,.55); background: #0a101b; border-top: 1px solid rgba(255,255,255,.08); font-size: 12px; }
.footer .wrap { display: flex; justify-content: space-between; gap: 18px; align-items: center; }
.floating { position: fixed; right: 18px; bottom: 18px; z-index: 15; display: grid; gap: 8px; }
.floating a { display: grid; place-items: center; width: 44px; height: 44px; color: var(--white); background: var(--blue); box-shadow: 0 12px 25px rgba(13,49,103,.25); transition: background .2s ease, transform .2s ease; }
.floating a:hover { background: var(--cyan); transform: translateY(-2px); }
.floating svg { width: 18px; height: 18px; }

@media (max-width: 980px) {
  .topbar-grid { justify-content: space-between; gap: 14px; }
  .top-consult { display: none; }
  .menu-toggle { display: block; }
  .nav { min-height: 72px; }
  .menu { position: absolute; top: 100%; left: 0; right: 0; display: none; max-height: calc(100vh - 72px); overflow-y: auto; background: var(--white); box-shadow: var(--shadow); }
  .menu.open { display: block; }
  .menu a, .menu button { width: 100%; padding: 16px 20px; text-align: left; }
  .menu > li > a::after,
  .menu > li > button::after {
    top: 10px;
    right: auto;
    bottom: 10px;
    left: 0;
    width: 3px;
    height: auto;
    transform: scaleY(0);
  }
  .menu > li > a:hover::after,
  .menu > li > button:hover::after,
  .menu > li > .active::after {
    transform: scaleY(1);
  }
  .submenu { position: static; display: none; opacity: 1; transform: none; pointer-events: auto; box-shadow: none; background: var(--soft); }
  .has-submenu.open .submenu { display: block; }
  .hero, .hero-content { min-height: 620px; }
  .solution-strip { margin-top: 0; }
  .strip-grid { grid-template-columns: repeat(2,1fr); }
  .strip-grid.compact { grid-template-columns: 1fr; }
  .strip-grid article:nth-child(2) { border-right: 0; }
  .split, .split.reverse, .contact-grid { grid-template-columns: 1fr; }
  .split.reverse .media { order: initial; }
  .contact-band { padding-top: 84px; padding-bottom: 84px; }
  .contact-cards, .feature-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .wrap { width: min(100% - 28px,1180px); }
  .topbar-grid { justify-content: center; flex-wrap: wrap; min-height: auto; padding: 9px 0; }
  .top-contact:nth-child(2) { display: none; }
  .logo img { width: 150px; }
  .section { padding: 72px 0; }
  .section h2 { font-size: 34px; }
  .hero, .hero-content { min-height: 570px; }
  .hero-copy { padding-bottom: 100px; }
  .hero h1 { font-size: 50px; overflow-wrap: anywhere; }
  .hero-tabs { right: 14px; bottom: 20px; }
  .hero-tabs button { width: 43px; height: 43px; }
  .hero-actions, .btn { width: 100%; }
  .strip-grid, .cards, .stats, .mini-grid, .form { grid-template-columns: 1fr; }
  .strip-grid article { border-right: 0; border-bottom: 1px solid var(--line); }
  .card { grid-template-columns: 1fr; }
  .card p { grid-column: auto; }
  .stat { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.1); }
  .media::before { inset: 14px -10px -14px 10px; }
  .media img { height: 320px; }
  .page-hero, .page-hero .wrap { min-height: 350px; }
  .page-hero h1 { font-size: 45px; overflow-wrap: anywhere; }
  .form textarea, .form .btn, .form-note { grid-column: auto; }
  .footer .wrap { display: block; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 1ms !important; animation-duration: 1ms !important; animation-iteration-count: 1 !important; }
}

/* Clean industrial refinement inspired by precision-manufacturing websites. */
:root {
  --blue: #1763c6;
  --cyan: #1763c6;
  --ink: #20242b;
  --muted: #69717c;
  --line: #dfe3e8;
  --soft: #f3f4f5;
  --dark: #20242b;
  --shadow: none;
}

body { line-height: 1.65; }
h1, h2, h3, h4 {
  font-weight: 650;
  line-height: 1.12;
  letter-spacing: -.025em;
}
h1, h2 { text-transform: none; }
.section h2 { max-width: 850px; margin-bottom: 28px; font-size: clamp(36px, 4.6vw, 64px); }
.kicker, .hero-kicker {
  margin-bottom: 18px;
  color: var(--blue);
  font-size: 11px;
  letter-spacing: .16em;
}
.lead { max-width: 850px; font-size: 19px; line-height: 1.75; }
.section { padding: 128px 0; }
.section.soft { background: var(--soft); }

.topbar {
  min-height: 42px;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.topbar-grid { min-height: 42px; }
.top-contact { color: var(--muted); }
.top-contact small, .top-contact strong { display: inline; color: var(--muted); font-size: 10px; }
.top-contact small { margin-right: 5px; }
.top-icon { display: none; }
.top-consult {
  align-self: center;
  min-height: 42px;
  margin-left: 6px;
  color: var(--white);
  background: var(--ink);
}
.top-consult:hover { background: var(--blue); }
.site-header { box-shadow: none; }
.nav { min-height: 88px; }
.logo img { width: 175px; }
.menu { gap: 18px; }
.menu a, .menu button {
  padding: 37px 4px;
  font-size: 10px;
  letter-spacing: .1em;
}
.submenu { border-top-color: var(--blue); box-shadow: 0 15px 40px rgba(25,30,38,.1); }

.submenu {
  left: 50%;
  width: min(620px, calc(100vw - 36px));
  padding: 14px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--blue);
  background: rgba(255,255,255,.98);
  transform: translate(-50%, 12px);
}
.has-submenu:hover .submenu,
.has-submenu:focus-within .submenu {
  transform: translate(-50%, 0);
}
.submenu li + li { border-top: 1px solid var(--line); }
.submenu a {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 18px;
  gap: 15px;
  align-items: center;
  padding: 15px 14px;
  color: var(--ink);
  text-transform: none;
  transition: color .18s ease, background .18s ease;
}
.submenu a:hover,
.submenu a.active {
  color: var(--blue);
  background: #f6f4fc;
}
.submenu a::after { display: none; }
.submenu-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: var(--blue);
  background: #f4f3fb;
  border-radius: 50%;
}
.submenu-icon svg { width: 19px; height: 19px; }
.submenu a > span:nth-child(2) { min-width: 0; }
.submenu strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
}
.submenu small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0;
}
.submenu a > svg { width: 16px; height: 16px; color: #aaa5b8; transition: transform .18s ease; }
.submenu a:hover > svg { color: var(--blue); transform: translateX(3px); }

.hero, .hero-content { min-height: 650px; }
.hero-slide { transform: none; }
.hero-slide.active { transform: none; }
.hero-slide::after, .page-hero::after {
  background: linear-gradient(90deg, rgba(20,24,30,.8) 0%, rgba(20,24,30,.55) 45%, rgba(20,24,30,.08) 78%);
}
.hero-copy { max-width: 760px; padding-bottom: 78px; }
.hero h1 {
  max-width: 760px;
  font-size: clamp(54px, 7.5vw, 100px);
  font-weight: 600;
  letter-spacing: -.055em;
}
.hero h1::after, .page-hero h1::after { display: none; }
.hero .hero-kicker, .page-hero .hero-kicker { color: var(--white); }
.hero-tabs { bottom: 0; }
.hero-tabs button {
  width: 66px;
  height: 48px;
  background: rgba(255,255,255,.92);
  border-color: rgba(0,0,0,.08);
  color: var(--muted);
}
.hero-tabs button.active, .hero-tabs button:hover { color: var(--white); background: var(--blue); border-color: var(--blue); }
.btn {
  min-height: 48px;
  padding: 12px 22px;
  border-width: 1px;
  font-size: 10px;
  letter-spacing: .1em;
}
.btn:hover { background: var(--ink); border-color: var(--ink); transform: none; }

.solution-strip { margin-top: 0; }
.strip-grid { box-shadow: none; border-bottom: 1px solid var(--line); }
.strip-grid article {
  min-height: 178px;
  padding: 38px 28px;
  transition: background .2s ease;
}
body[data-page="home"] .solution-strip .strip-grid article {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 12px;
  min-height: 220px;
  padding-left: 34px;
  padding-right: 26px;
}
body[data-page="home"] .solution-strip .strip-grid article span {
  margin: 0 0 4px;
  width: 44px;
  height: 44px;
  align-self: flex-start;
}
body[data-page="home"] .solution-strip .strip-grid h3 {
  font-size: 19px;
  line-height: 1.12;
}
body[data-page="home"] .solution-strip .strip-grid p {
  font-size: 15px;
  line-height: 1.7;
}
.strip-grid article::after { display: none; }
.strip-grid article:hover { color: inherit; background: var(--soft); transform: none; }
.strip-grid span {
  width: 36px;
  height: 36px;
  margin-bottom: 20px;
  border: 0;
}
.strip-grid svg { width: 27px; height: 27px; }
.strip-grid h3, .card h3, .feature h3 {
  color: var(--ink);
  font-size: 18px;
  font-weight: 650;
  text-transform: none;
}
.strip-grid article:hover h3 { color: var(--ink); }
.strip-grid article:hover p { color: var(--muted); }
.strip-grid article:hover span { color: var(--blue); }
.strip-grid p a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 3px;
  transition: color .18s ease, text-decoration-color .18s ease;
}
.strip-grid p a:hover {
  color: var(--blue);
  text-decoration-color: currentColor;
}
.strip-grid > .contact-overview-link {
  position: relative;
  display: block;
  min-height: 166px;
  padding: 38px 54px 38px 28px;
  border-right: 1px solid var(--line);
  background: var(--white);
  transition: color .2s ease, background .2s ease;
}
.strip-grid > .contact-overview-link:last-child { border-right: 0; }
.contact-overview-link > span {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 20px;
  color: var(--blue);
}
.contact-overview-link > span svg { width: 27px; height: 27px; }
.contact-overview-link h3 { margin-bottom: 9px; font-size: 18px; }
.contact-overview-link p { margin: 0; color: var(--muted); font-size: 14px; }
.contact-overview-link > svg {
  position: absolute;
  right: 24px;
  bottom: 28px;
  width: 18px;
  height: 18px;
  color: #aaa5b8;
  transition: color .2s ease, transform .2s ease;
}
.contact-overview-link:hover { color: var(--blue); background: var(--soft); }
.contact-overview-link:hover > svg { color: var(--blue); transform: translateX(4px); }

.split { gap: 92px; }
.media { overflow: hidden; }
.media::before, .media::after { display: none; }
.media { aspect-ratio: 16 / 10; }
.media img { width: 100%; height: 100%; object-fit: cover; box-shadow: none; transition: transform .5s ease; }
.media:hover img { transform: scale(1.015); }
.play { background: transparent; }
.play span {
  width: 68px;
  height: 68px;
  background: var(--white);
  border: 0;
  color: var(--blue);
}

.stats {
  margin-top: 100px;
  background: transparent;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  box-shadow: none;
}
.stat { padding: 42px 20px; border-right-color: var(--line); }
.stat strong { color: var(--ink); font-size: 58px; font-weight: 500; letter-spacing: -.06em; }
.stat span { color: var(--muted); font-size: 10px; }

.cards { gap: 1px; background: var(--line); border: 1px solid var(--line); }
.card, .feature {
  background: var(--white);
  border: 0;
  box-shadow: none;
}
.card { min-height: 210px; padding: 38px; }
.card:hover, .feature:hover { transform: none; box-shadow: none; }
.card-icon {
  width: 42px;
  height: 42px;
  color: var(--blue);
  background: transparent;
}
.card-icon svg { width: 29px; height: 29px; }
.card p, .feature p { font-size: 14px; }
.card > strong {
  grid-column: 2;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 5px;
  color: var(--blue);
  font-size: 10px;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.card > strong svg { width: 14px; height: 14px; }
.mini-grid { margin-top: 42px; }
.mini-grid div { padding: 28px; }

.quote {
  padding: 120px 0;
  color: var(--ink);
  background: var(--soft);
}
.quote blockquote {
  max-width: 1040px;
  color: var(--ink);
  font-size: clamp(31px, 4.5vw, 58px);
  font-weight: 500;
  line-height: 1.25;
  text-transform: none;
}
.quote blockquote::before { display: none; }
.quote cite { color: var(--muted); }

.contact-band { background: var(--ink); }
.contact-grid { gap: 100px; }
.form input, .form textarea { background: transparent; border-color: rgba(255,255,255,.25); }
.page-hero, .page-hero .wrap { min-height: 400px; }
.page-hero h1 { font-size: clamp(48px, 7vw, 82px); font-weight: 600; }
.strip-grid.compact article { min-height: 166px; }
.feature-grid { gap: 1px; background: var(--line); border: 1px solid var(--line); }
.feature { border-top: 0; padding: 38px; }
.contact-cards { gap: 1px; background: var(--line); border: 1px solid var(--line); }
.contact-card { border-top: 0; box-shadow: none; }
.footer { background: #171b20; }
.floating a { box-shadow: none; }

@media (max-width: 980px) {
  .section { padding: 96px 0; }
  .split { gap: 60px; }
}

@media (max-width: 640px) {
  .topbar { display: none; }
  .section { padding: 76px 0; }
  .section h2 { font-size: 36px; }
  .hero, .hero-content { min-height: 540px; }
  .hero h1 { font-size: 49px; }
  .strip-grid article { min-height: auto; padding: 30px 24px; }
  .media img { height: 350px; }
  .stats { margin-top: 70px; }
  .stat strong { font-size: 48px; }
}

/* Header legibility and utility-bar refinement. */
.topbar {
  min-height: 50px;
  color: var(--muted);
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.topbar-grid { min-height: 50px; gap: 30px; }
.top-contact { gap: 10px; color: var(--muted); }
.top-contact small,
.top-contact strong { display: block; line-height: 1.25; }
.top-contact small {
  margin: 0 0 2px;
  color: #9aa1aa;
  font-size: 8px;
  letter-spacing: .14em;
}
.top-contact strong { color: var(--ink); font-size: 11px; font-weight: 600; }
.top-icon {
  display: grid;
  width: 29px;
  height: 29px;
  color: var(--blue);
  background: #f4f7fb;
  border: 1px solid var(--line);
  border-radius: 50%;
}
.top-icon svg { width: 13px; height: 13px; }
.top-consult {
  align-self: stretch;
  min-height: 50px;
  margin-left: 4px;
  background: var(--blue);
}
.top-consult:hover { background: #0f51a7; }
.nav { min-height: 94px; }
.logo img { width: 184px; }
.menu { gap: 22px; }
.menu a,
.menu button {
  padding: 39px 4px;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: .035em;
}
.menu > li > a::after,
.menu > li > button::after { bottom: 27px; }

@media (max-width: 980px) {
  .nav { min-height: 76px; }
  .menu a,
  .menu button { padding: 17px 22px; font-size: 13px; }
  .submenu {
    width: auto;
    padding: 6px 14px 14px;
    border: 0;
    border-top: 1px solid var(--line);
    transform: none;
    background: var(--soft);
  }
  .has-submenu:hover .submenu,
  .has-submenu:focus-within .submenu { transform: none; }
  .submenu a { padding: 13px 8px; }
}

@media (max-width: 640px) {
  .topbar { display: block; }
  .topbar-grid { justify-content: space-between; flex-wrap: nowrap; padding: 8px 0; }
  .top-contact:nth-child(2),
  .top-consult { display: none; }
  .top-contact strong { font-size: 10px; }
}

/* Premium UX, conversion, and accessibility layer. */
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--white);
  background: var(--blue);
  transform: translateY(-160%);
  transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid rgba(23,99,198,.45); outline-offset: 4px; }
.hero-description {
  max-width: 650px;
  margin: 25px 0 0;
  color: rgba(255,255,255,.82);
  font-size: clamp(16px, 1.7vw, 20px);
  line-height: 1.65;
}
.hero-actions { margin-top: 30px; }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
}
.text-link svg { width: 17px; height: 17px; }

.process { background: var(--white); }
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 56px;
  border-top: 1px solid var(--line);
}
.process-grid article { position: relative; padding: 36px 30px 0 0; }
.process-grid article::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 0;
  width: 8px;
  height: 8px;
  background: var(--blue);
  border-radius: 50%;
}
.process-grid span { display: block; margin-bottom: 34px; color: var(--blue); font-size: 12px; font-weight: 750; letter-spacing: .12em; }
.process-grid h3 { margin-bottom: 13px; font-size: 20px; font-weight: 650; }
.process-grid p { margin: 0; color: var(--muted); font-size: 14px; }

.project-cta { padding: 74px 0; background: var(--soft); border-top: 1px solid var(--line); }
.project-cta-grid { display: grid; grid-template-columns: 1fr auto; gap: 50px; align-items: center; }
.project-cta h2 { max-width: 760px; font-size: clamp(32px, 4vw, 52px); }
.project-cta p:not(.kicker) { margin-bottom: 0; color: var(--muted); }
.project-cta-actions { display: grid; justify-items: start; gap: 18px; min-width: 220px; }

.projects { background: var(--white); }
.projects-heading {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 54px;
}
.projects-heading h2 { margin-bottom: 0; }
.projects-heading > p { margin: 0 0 8px; color: var(--muted); }
.project-gallery {
  display: grid;
  grid-template-columns: 1.4fr .8fr .8fr;
  grid-template-rows: 310px 310px;
  gap: 14px;
}
.project-gallery figure { position: relative; margin: 0; overflow: hidden; background: var(--soft); }
.project-gallery .project-large:first-child { grid-row: 1 / 3; }
.project-gallery .project-large:last-child { grid-column: 2 / 4; }
.gallery-trigger {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}
.gallery-trigger img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.gallery-trigger:hover img,
.gallery-trigger:focus-visible img { transform: scale(1.02); }
.gallery-trigger:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: -2px;
}
.gallery-zoom {
  position: absolute;
  right: 12px;
  top: 12px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--white);
  background: rgba(10,18,34,.76);
  backdrop-filter: blur(8px);
}
.gallery-zoom svg { width: 18px; height: 18px; }
.project-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.project-gallery figure:hover img { transform: scale(1.02); }
.project-gallery figcaption {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  padding: 11px 13px;
  color: var(--ink);
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(8px);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.faq-section { background: var(--soft); }
.faq-list { max-width: 900px; margin-top: 44px; border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  position: relative;
  padding: 24px 46px 24px 0;
  color: var(--ink);
  font-size: 17px;
  font-weight: 650;
  cursor: pointer;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; top: 20px; right: 4px; color: var(--blue); font-size: 25px; font-weight: 400; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list p { max-width: 760px; margin: -5px 0 25px; color: var(--muted); }
.related-services { padding: 66px 0; border-top: 1px solid var(--line); }
.related-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 24px; background: var(--line); border: 1px solid var(--line); }
.related-links a { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px; background: var(--white); font-weight: 650; transition: color .2s ease, background .2s ease; }
.related-links a:hover { color: var(--blue); background: #faf9fd; }
.related-links svg { flex: 0 0 auto; width: 17px; height: 17px; }

.lightbox[hidden] { display: none; }
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 24px;
}
.lightbox::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(6, 11, 20, .9);
  backdrop-filter: blur(12px);
}
.lightbox-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: transparent;
  cursor: zoom-out;
}
.lightbox-panel {
  position: relative;
  z-index: 1;
  width: min(1200px, 100%);
  display: grid;
  gap: 14px;
}
.lightbox-panel img {
  width: 100%;
  max-height: calc(100vh - 120px);
  object-fit: contain;
  background: #0a101b;
  box-shadow: 0 24px 70px rgba(0,0,0,.4);
}
.lightbox-panel p {
  margin: 0;
  color: var(--white);
  text-align: center;
  font-size: 14px;
  font-weight: 600;
}
.lightbox-close {
  position: absolute;
  top: -18px;
  right: -18px;
  width: 40px;
  height: 40px;
  color: var(--ink);
  background: var(--white);
  border: 0;
  border-radius: 50%;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 14px 28px rgba(0,0,0,.22);
}
body.lightbox-open { overflow: hidden; }

.form label { display: block; }
.form label > span {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.form label input,
.form label textarea { display: block; }
.form-message { grid-column: 1 / -1; }
.form-subject { grid-column: 1 / -1; }
.form-message textarea { grid-column: auto; }

.footer { padding: 0; background: #f5f6f7; border-top: 1px solid var(--line); color: var(--muted); }
.footer-grid {
  display: grid !important;
  grid-template-columns: 1.5fr .75fr 1fr;
  gap: 80px !important;
  align-items: start !important;
  padding-top: 72px;
  padding-bottom: 64px;
}
.footer-grid > div:not(.footer-brand) { display: grid; align-content: start; gap: 10px; }
.footer-grid strong { margin-bottom: 10px; color: var(--ink); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.footer-grid a { transition: color .2s ease; }
.footer-grid a:hover { color: var(--blue); }
.footer-brand img { width: 230px; }
.footer-brand p { max-width: 390px; margin: 24px 0 0; }
.footer-bottom {
  display: flex !important;
  justify-content: space-between;
  padding-top: 22px;
  padding-bottom: 22px;
  border-top: 1px solid var(--line);
  font-size: 11px;
}
.footer-legal { display: flex; gap: 24px; }
.footer-credit,
.footer-legal a { color: var(--ink); transition: color .2s ease; }
.footer-credit:hover,
.footer-legal a:hover { color: var(--blue); }

.legal-hero {
  padding: 96px 0 88px;
  background: var(--soft);
  border-bottom: 1px solid var(--line);
}
.legal-hero h1, .not-found h1 {
  max-width: 920px;
  font-size: clamp(48px, 7vw, 84px);
  font-weight: 600;
  letter-spacing: -.055em;
}
.legal-hero p:last-child { max-width: 720px; margin: 24px 0 0; color: var(--muted); font-size: 18px; }
.legal-section { padding-top: 88px; }
.legal-content { max-width: 900px; }
.legal-content h2 { margin: 58px 0 18px; font-size: clamp(25px, 3vw, 36px); }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p { color: var(--muted); }
.legal-content a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.not-found { min-height: 62vh; display: grid; align-items: center; padding: 100px 0; background: var(--soft); }
.not-found .lead { margin: 28px 0 0; }
.btn.outline { color: var(--blue); background: transparent; }
.btn.outline:hover { color: var(--white); }

@media (hover: hover) {
  .card { transition: background .2s ease; }
  .card:hover { background: #f8fafc; }
  .card:hover h3 { color: var(--blue); }
}

@media (max-width: 980px) {
  .process-grid { grid-template-columns: repeat(2, 1fr); gap: 42px 0; }
  .project-cta-grid { grid-template-columns: 1fr; }
  .projects-heading { grid-template-columns: 1fr; gap: 20px; }
  .project-gallery { grid-template-columns: repeat(2, 1fr); grid-template-rows: 360px 280px; }
  .project-gallery .project-large:first-child { grid-row: auto; }
  .project-gallery .project-large:last-child { grid-column: 1 / 3; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 35px !important; }
}

@media (max-width: 640px) {
  .hero-description { font-size: 16px; }
  .process-grid { grid-template-columns: 1fr; border-top: 0; margin-top: 38px; }
  .process-grid article { padding: 24px 0 24px 45px; border-top: 1px solid var(--line); }
  .process-grid article::before { top: 30px; }
  .process-grid span { position: absolute; top: 23px; left: 14px; margin: 0; }
  .project-cta { padding: 58px 0; }
  .project-cta-actions, .project-cta-actions .btn { width: 100%; }
  .project-gallery { grid-template-columns: 1fr; grid-template-rows: repeat(4, 280px); }
  .project-gallery .project-large:last-child { grid-column: auto; }
  .related-links { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 38px !important; padding-top: 54px; padding-bottom: 48px; }
  .footer-bottom { display: grid !important; gap: 12px; }
  .footer-legal { gap: 18px; }
  .legal-hero { padding: 64px 0 58px; }
  .legal-hero h1, .not-found h1 { font-size: 48px; }
}

/* Brand color alignment and light contact section. */
:root {
  --blue: #2d0aa3;
  --blue-dark: #200578;
  --cyan: #2d0aa3;
}
.top-consult:hover,
.btn:hover,
.floating a:hover { background: var(--blue-dark); border-color: var(--blue-dark); }
.contact-band {
  color: var(--ink);
  background: #f4f3fb;
  border-top: 1px solid #e3e0f1;
}
.contact-band h2 { color: var(--ink); }
.contact-band > .wrap { position: relative; }
.contact-band > .wrap::before {
  content: "";
  position: absolute;
  top: -128px;
  left: 0;
  width: 74px;
  height: 4px;
  background: var(--blue);
}
.contact-list li { color: var(--muted); }
.contact-list svg { color: var(--blue); }
.form input,
.form textarea {
  color: var(--ink);
  background: var(--white);
  border-color: #d9d5e8;
}
.form input::placeholder,
.form textarea::placeholder { color: #8c8995; }
.form input:focus,
.form textarea:focus {
  outline-color: rgba(45,10,163,.18);
  border-color: var(--blue);
}
.form-note {
  color: #245d37;
  background: #e7f4eb;
}
.form-note.error {
  color: #7d1f1f;
  background: #fdecec;
  border: 1px solid #efb8b8;
}
.form-trap {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}
.form button:disabled { cursor: wait; opacity: .65; }
.contact-list a { transition: color .2s ease; }
.contact-list a:hover { color: var(--blue); }

@media (max-width: 980px) {
  .contact-band > .wrap::before { top: -96px; }
}

@media (max-width: 640px) {
  .contact-band > .wrap::before { top: -76px; }
}

/* Keep media boxes at a declared ratio to prevent layout shifts and distorted images. */
.media img { height: 100%; }

/* Consolidated mobile experience. Keep this last so it resolves earlier responsive layers. */
@media (max-width: 640px) {
  :root { --mobile-gutter: 20px; }

  html { scroll-padding-top: 68px; }
  body {
    font-size: 15px;
    line-height: 1.6;
    -webkit-text-size-adjust: 100%;
  }
  body.menu-open { overflow: hidden; }
  .wrap { width: calc(100% - (var(--mobile-gutter) * 2)); }

  .topbar { display: none; }
  .site-header { background: rgba(255,255,255,.98); }
  .nav { min-height: 66px; }
  .logo img { width: 148px; }
  .menu-toggle {
    position: relative;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    color: var(--blue);
    background: #f4f3fb;
    border: 1px solid #e3e0f1;
    border-radius: 50%;
  }
  .menu-toggle svg { width: 21px; height: 21px; }
  .menu {
    top: 100%;
    max-height: calc(100dvh - 66px);
    padding: 10px var(--mobile-gutter) 20px;
    background: rgba(255,255,255,.99);
    border-top: 1px solid var(--line);
    box-shadow: 0 18px 36px rgba(32,5,120,.12);
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }
  .menu > li { border-bottom: 1px solid var(--line); }
  .menu a,
  .menu button {
    min-height: 52px;
    padding: 16px 4px;
    font-size: 14px;
    letter-spacing: 0;
    text-transform: none;
  }
  .menu > li > a::after,
  .menu > li > button::after { display: none; }
  .has-submenu > button::after {
    content: "+";
    position: static;
    display: block;
    float: right;
    width: auto;
    height: auto;
    color: var(--blue);
    font-size: 21px;
    line-height: 1;
    transform: none;
    background: none;
  }
  .has-submenu.open > button::after { content: "−"; }
  .submenu {
    margin: 0 -4px 10px;
    padding: 4px 10px 8px;
    border-radius: 8px;
  }
  .submenu li + li { border-top-color: #e7e4f0; }
  .submenu a {
    grid-template-columns: 38px minmax(0, 1fr) 16px;
    gap: 11px;
    min-height: 64px;
    padding: 11px 4px;
  }
  .submenu-icon { width: 36px; height: 36px; }
  .submenu strong { font-size: 13px; }
  .submenu small { font-size: 10px; }

  .section { padding: 64px 0; }
  .section h2 {
    margin-bottom: 20px;
    font-size: clamp(31px, 9.2vw, 39px);
    line-height: 1.08;
    letter-spacing: -.04em;
  }
  .kicker,
  .hero-kicker {
    margin-bottom: 12px;
    font-size: 10px;
    letter-spacing: .14em;
  }
  .lead { font-size: 16px; line-height: 1.7; }

  .hero,
  .hero-content { min-height: calc(100svh - 66px); }
  .hero { min-height: 560px; }
  .hero-slide::after,
  .page-hero::after {
    background: linear-gradient(180deg, rgba(20,24,30,.28) 0%, rgba(20,24,30,.68) 52%, rgba(20,24,30,.94) 100%);
  }
  .hero-slide img,
  .page-hero img { object-position: 62% center; }
  .hero-content { align-items: flex-end; }
  .hero-copy {
    width: 100%;
    padding: 112px 0 104px;
  }
  .hero h1 {
    max-width: 100%;
    font-size: clamp(40px, 12vw, 56px);
    line-height: .98;
    overflow-wrap: normal;
  }
  .hero-description {
    max-width: 34rem;
    margin-top: 16px;
    font-size: 15px;
    line-height: 1.55;
  }
  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 22px;
  }
  .hero-actions .btn { width: 100%; }
  .btn {
    min-height: 50px;
    padding: 13px 14px;
    font-size: 10px;
  }
  .hero-tabs {
    right: var(--mobile-gutter);
    bottom: 18px;
    left: var(--mobile-gutter);
    justify-content: flex-end;
    gap: 5px;
  }
  .hero-tabs button {
    width: 42px;
    height: 38px;
    border: 0;
    border-radius: 20px;
    font-size: 11px;
  }

  .page-hero,
  .page-hero .wrap { min-height: 280px; }
  .page-hero .wrap { align-items: flex-end; padding-bottom: 36px; }
  .page-hero h1 {
    max-width: 100%;
    font-size: clamp(38px, 11.5vw, 50px);
    line-height: 1;
    overflow-wrap: normal;
  }

  .strip-grid,
  .strip-grid.compact {
    margin-right: calc(var(--mobile-gutter) * -1);
    margin-left: calc(var(--mobile-gutter) * -1);
  }
  [data-page="kontakt"] .strip-grid.compact {
    margin-right: 0;
    margin-left: 0;
  }
  .strip-grid article {
    display: grid;
    grid-template-columns: 38px minmax(0,1fr);
    gap: 2px 14px;
    padding: 24px var(--mobile-gutter);
  }
  body[data-page="home"] .solution-strip .strip-grid article {
    display: grid;
    min-height: auto;
    align-items: stretch;
    text-align: left;
    gap: 2px 14px;
    padding-left: var(--mobile-gutter);
    padding-right: var(--mobile-gutter);
  }
  .strip-grid article span { grid-row: 1 / 3; margin: 0; }
  .strip-grid article h3 { margin: 0; align-self: end; }
  .strip-grid article p { align-self: start; }
  .strip-grid > .contact-overview-link {
    min-height: auto;
    margin: 0;
    padding: 24px 52px 24px var(--mobile-gutter);
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .contact-overview-link > span { margin-bottom: 12px; }
  .contact-overview-link > svg { right: var(--mobile-gutter); bottom: 32px; }

  .split,
  .split.reverse,
  .contact-grid { gap: 38px; }
  .split .media,
  .split.reverse .media { order: -1; }
  .media { aspect-ratio: 16 / 10; }
  .media img { height: 100%; }
  .play span { width: 58px; height: 58px; }

  .cards {
    gap: 10px;
    margin-top: 30px;
    background: transparent;
    border: 0;
  }
  .card {
    grid-template-columns: 42px minmax(0,1fr);
    gap: 2px 14px;
    min-height: auto;
    padding: 24px 20px;
    border: 1px solid var(--line);
    border-radius: 8px;
  }
  .card p,
  .card > strong { grid-column: 2; }
  .card-icon { grid-row: 1 / 4; align-self: start; }
  .feature-grid,
  .contact-cards {
    gap: 10px;
    margin-top: 28px;
    background: transparent;
    border: 0;
  }
  .feature,
  .contact-card {
    padding: 25px 20px;
    border: 1px solid var(--line);
    border-radius: 8px;
  }
  .mini-grid { gap: 8px; background: transparent; border: 0; }
  .mini-grid div { padding: 22px 20px; border: 1px solid var(--line); border-radius: 8px; }

  .stats {
    grid-template-columns: 1fr;
    margin-top: 48px;
  }
  .stat {
    padding: 24px 16px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .stat:last-child { border-bottom: 0; }
  .stat strong { font-size: clamp(32px, 10vw, 44px); }
  .stat span { font-size: 9px; letter-spacing: .08em; }

  .process-grid { gap: 0; margin-top: 30px; }
  .process-grid article { padding: 22px 0 22px 42px; }
  .process-grid article::before { top: 28px; }
  .process-grid span { top: 21px; left: 12px; }
  .project-cta { padding: 50px 0; }
  .project-cta-grid { gap: 30px; }
  .project-cta h2 { font-size: 32px; }
  .project-gallery { grid-template-rows: repeat(4, 230px); gap: 8px; }
  .project-gallery figcaption { right: 8px; bottom: 8px; left: 8px; }

  .quote { padding: 64px 0; }
  .quote blockquote { font-size: clamp(27px, 8vw, 36px); }
  .quote cite { margin-top: 20px; line-height: 1.6; }
  .faq-list { margin-top: 28px; }
  .faq-list summary { padding: 20px 40px 20px 0; font-size: 15px; line-height: 1.45; }
  .faq-list summary::after { top: 16px; }
  .faq-list p { margin: -2px 0 22px; }
  .related-services { padding: 50px 0; }
  .related-links a { min-height: 64px; padding: 18px; }

  .contact-band > .wrap::before { top: -64px; }
  .contact-band { padding-top: 62px; padding-bottom: 62px; }
  .contact-list { margin-top: 24px; }
  .contact-list li { margin-bottom: 12px; }
  .form { gap: 10px; }
  .form input,
  .form textarea { min-height: 52px; padding: 14px; font-size: 16px; }
  .form textarea { min-height: 130px; }

  .footer-grid { gap: 30px !important; padding-top: 46px; padding-bottom: 38px; }
  .footer-brand img {
    width: min(210px, 68vw);
    height: auto;
    max-width: 100%;
    object-fit: contain;
  }
  .footer-brand p { margin-top: 18px; }
  .footer-grid > div:not(.footer-brand) {
    gap: 8px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
  }
  .footer-bottom { gap: 14px; padding-top: 18px; padding-bottom: 18px; }
  .footer-legal { flex-wrap: wrap; }

  .legal-hero { padding: 58px 0 50px; }
  .legal-hero h1,
  .not-found h1 { font-size: clamp(40px, 12vw, 50px); overflow-wrap: anywhere; }
  .legal-hero p:last-child { font-size: 16px; }
  .legal-section { padding-top: 58px; }
  .legal-content h2 { margin-top: 42px; font-size: 27px; }

  .floating {
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    display: flex;
    padding: 4px;
    gap: 4px;
    background: rgba(255,255,255,.94);
    border: 1px solid var(--line);
    border-radius: 30px;
    box-shadow: 0 10px 28px rgba(32,5,120,.14);
  }
  .floating a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
  }
}

@media (max-width: 380px) {
  :root { --mobile-gutter: 16px; }
  .logo img { width: 138px; }
  .footer-brand img { width: min(178px, 72vw); }
  .hero h1 { font-size: 39px; }
  .hero-copy { padding: 106px 0 98px; }
  .hero-actions { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--line); }
  .contact-band { padding-top: 54px; padding-bottom: 54px; }
}

/* Unified layout rhythm across all page types. */
:root {
  --page-space-y: 104px;
  --page-space-y-md: 84px;
  --page-space-y-sm: 64px;
  --page-hero-height: 420px;
  --page-hero-height-md: 360px;
  --page-hero-height-sm: 300px;
  --box-pad: 32px;
  --box-pad-md: 28px;
  --box-pad-sm: 22px;
}

.section,
.project-cta,
.quote,
.contact-band,
.legal-hero,
.legal-section,
.related-services {
  padding-top: var(--page-space-y);
  padding-bottom: var(--page-space-y);
}

.hero,
.hero-content { min-height: 640px; }
.page-hero,
.page-hero .wrap { min-height: var(--page-hero-height); }
.page-hero .wrap { padding-bottom: 0; }

.contact-band {
  color: var(--white);
  background: var(--dark);
  border-top: 0;
}
.contact-band h2 { color: var(--white); }
.contact-band > .wrap { position: relative; }
.contact-band > .wrap::before { top: -128px; }
.contact-grid { gap: 74px; }
.contact-list li { color: rgba(255,255,255,.7); }
.contact-list svg { color: var(--cyan); }
.form input,
.form textarea {
  color: var(--white);
  background: rgba(255,255,255,.055);
  border-color: rgba(255,255,255,.16);
}

.footer-grid {
  padding-top: 72px;
  padding-bottom: 64px;
}
.footer-bottom {
  padding-top: 22px;
  padding-bottom: 22px;
}

.cards .card,
.feature,
.contact-card {
  padding: var(--box-pad);
}

.mini-grid div {
  padding: 24px;
}

.process-grid article {
  padding: 34px 30px 0 0;
}

.faq-list summary {
  padding: 24px 46px 24px 0;
}

.related-links a {
  padding: 22px 24px;
}

@media (max-width: 980px) {
  :root {
    --page-space-y: 84px;
    --page-hero-height: 360px;
  }

  .section,
  .project-cta,
  .quote,
  .contact-band,
  .legal-hero,
  .legal-section,
  .related-services {
    padding-top: var(--page-space-y-md);
    padding-bottom: var(--page-space-y-md);
  }

  .hero,
  .hero-content { min-height: 620px; }
  .page-hero,
  .page-hero .wrap { min-height: var(--page-hero-height-md); }
  .contact-band > .wrap::before { top: -96px; }

  .cards .card,
  .feature,
  .contact-card {
    padding: var(--box-pad-md);
  }

  .process-grid article {
    padding: 24px 0 24px 40px;
  }

  .faq-list summary {
    padding: 22px 42px 22px 0;
  }

  .related-links a {
    padding: 20px;
  }
}

@media (max-width: 640px) {
  :root {
    --page-space-y: 64px;
    --page-hero-height: 300px;
  }

  .section,
  .project-cta,
  .quote,
  .contact-band,
  .legal-hero,
  .legal-section,
  .related-services {
    padding-top: var(--page-space-y-sm);
    padding-bottom: var(--page-space-y-sm);
  }

  .hero,
  .hero-content { min-height: 540px; }
  .hero-copy { padding-bottom: 88px; }
  .page-hero,
  .page-hero .wrap { min-height: var(--page-hero-height-sm); }
  .page-hero .wrap { padding-bottom: 36px; }

  .contact-band > .wrap::before { top: -64px; }
  .contact-band { padding-top: var(--page-space-y-sm); padding-bottom: var(--page-space-y-sm); }
  .contact-list { margin-top: 24px; }
  .contact-list li { margin-bottom: 12px; }
  .form { gap: 10px; }
  .form input,
  .form textarea { min-height: 52px; padding: 14px; font-size: 16px; }
  .form textarea { min-height: 130px; }

  .cards .card,
  .feature,
  .contact-card {
    padding: var(--box-pad-sm);
    border-radius: 8px;
  }

  .mini-grid div {
    padding: 22px 20px;
    border: 1px solid var(--line);
    border-radius: 8px;
  }

  .process-grid article {
    padding: 22px 0 22px 42px;
  }

  .faq-list summary {
    padding: 20px 40px 20px 0;
    font-size: 15px;
    line-height: 1.45;
  }

  .related-links a {
    min-height: 64px;
    padding: 18px;
  }

  .footer-grid {
    padding-top: 46px;
    padding-bottom: 38px;
  }
  .footer-brand img {
    width: min(210px, 68vw);
    height: auto;
    max-width: 100%;
    object-fit: contain;
  }
  .footer-brand p { margin-top: 18px; }
  .footer-grid > div:not(.footer-brand) {
    gap: 8px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
  }
  .footer-bottom {
    gap: 14px;
    padding-top: 18px;
    padding-bottom: 18px;
  }
}

@media (max-width: 380px) {
  .hero h1 { font-size: 39px; }
  .hero-copy { padding: 100px 0 92px; }
  .footer-brand img { width: min(178px, 72vw); }
  .cards .card,
  .feature,
  .contact-card {
    padding: 20px 18px;
  }
}

/* Final mobile spacing normalization. */
@media (max-width: 640px) {
  :root {
    --mobile-box-pad: 22px;
    --mobile-row-pad: 20px;
  }

  .section,
  .project-cta,
  .quote,
  .contact-band,
  .legal-hero,
  .legal-section,
  .related-services {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .cards .card,
  .feature,
  .contact-card {
    padding: var(--mobile-box-pad);
  }

  .mini-grid div {
    padding: var(--mobile-box-pad);
  }

  .process-grid article {
    padding: 22px 0 22px 42px;
  }

  .faq-list summary {
    padding: var(--mobile-row-pad) 40px;
    line-height: 1.45;
  }

  .related-links a {
    padding: var(--mobile-box-pad);
  }

  .strip-grid article {
    padding: 24px var(--mobile-gutter);
  }
  body[data-page="home"] .solution-strip .strip-grid article {
    padding: 22px var(--mobile-gutter);
  }

  .strip-grid > .contact-overview-link {
    padding: 24px 52px 24px var(--mobile-gutter);
  }

  .contact-band {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .contact-list {
    margin-top: 24px;
  }

  .contact-list li {
    margin-bottom: 12px;
  }

  .form {
    gap: 10px;
  }

  .form input,
  .form textarea {
    padding: 14px;
  }

  .footer-grid {
    padding-top: 46px;
    padding-bottom: 38px;
  }

  .footer-bottom {
    padding-top: 18px;
    padding-bottom: 18px;
  }
}
