:root {
  --navy: #04316a;
  --navy-900: #021f45;
  --blue: #0062ae;
  --blue-600: #00569a;
  --sky: #3fa9f5;
  --red: #d6312b;
  --green: #2e9b4f;
  --text: #333333;
  --muted: #6f6f6f;
  --line: #e2e2e2;
  --gray-50: #f7f7f7;
  --gray-100: #efefef;
  --white: #ffffff;
  --max: 1240px;
  --font: "Roboto Condensed", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  color: var(--muted);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { color: var(--text); font-weight: 400; line-height: 1.15; margin: 0; }
p { margin: 0; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---------- Utility bar ---------- */
.utility {
  background: var(--gray-50);
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.utility .container { display: flex; justify-content: flex-end; gap: 24px; height: 36px; align-items: center; }
.utility a { color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.utility a:hover { color: var(--blue); text-decoration: none; }
.utility svg { width: 15px; height: 15px; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.header .container { display: flex; align-items: center; gap: 40px; height: 84px; }
.brand img { height: 50px; width: auto; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a {
  color: var(--text); font-size: 18px; padding: 8px 14px; position: relative;
}
.nav a:hover { color: var(--blue); text-decoration: none; }
.nav a.active { color: var(--blue); }
.nav a.active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: -22px; height: 3px; background: var(--blue);
}
.menu-btn { display: none; margin-left: auto; background: none; border: 0; padding: 8px; color: var(--text); cursor: pointer; }
.menu-btn svg { width: 28px; height: 28px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--blue); color: var(--white);
  padding: 11px 20px; font-size: 17px; border: 0; border-radius: 0;
  transition: background .15s;
  white-space: nowrap;
}
.btn:hover { background: var(--blue-600); text-decoration: none; }
.btn svg { width: 18px; height: 18px; }
.btn.ghost { background: transparent; color: var(--white); box-shadow: inset 0 0 0 1px rgba(255,255,255,.55); }
.btn.ghost:hover { background: rgba(255,255,255,.1); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #d7e3f4; padding: 0;
  background: var(--navy-900);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(2,22,52,.94) 0%, rgba(2,26,60,.82) 32%, rgba(2,31,69,.3) 48%, rgba(2,31,69,0) 58%);
}
.hero { min-height: calc(100vw / 2.51); display: flex; align-items: center; }
.hero > .container { flex: 1; }
.hero .container { position: relative; display: block; padding-top: 56px; padding-bottom: 56px; }
.hero-stage { position: absolute; inset: 0; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right top; }
.hero::before { z-index: 1; }
.hero > .container { z-index: 2; }
.hmi {
  position: absolute; left: 0; top: 0; width: 1600px; height: 900px; transform-origin: 0 0;
  background: #fbfcfd; color: #6f6f6f; font-family: var(--font); display: flex; flex-direction: column; overflow: hidden;
  filter: saturate(.95) brightness(.97);
}
.hmi-head { display: flex; justify-content: space-between; align-items: center; padding: 44px 60px 36px; border-bottom: 3px solid #e2e5e9; }
.hmi-title { font-size: 72px; font-weight: 700; color: var(--navy); line-height: 1; }
.hmi-live { margin-top: 16px; font-size: 38px; display: flex; align-items: center; gap: 16px; }
.hmi-live i { width: 22px; height: 22px; border-radius: 50%; background: var(--green); }
.hmi-ok { background: var(--green); color: #fff; font-weight: 700; font-size: 80px; padding: 22px 52px; display: flex; align-items: center; gap: 24px; line-height: 1; }
.hmi-ok svg { width: 70px; height: 70px; }
.hmi-body { flex: 1; display: grid; grid-template-columns: 1fr 520px; min-height: 0; }
.hmi-chart { padding: 26px 20px 10px 18px; border-right: 3px solid #e2e5e9; display: flex; flex-direction: column; min-height: 0; }
.hmi-chart img { width: 100%; height: auto; flex: 1; min-height: 0; object-fit: contain; }
.hmi-legend { display: flex; gap: 48px; font-size: 34px; padding-left: 90px; }
.hmi-legend span { display: inline-flex; align-items: center; gap: 16px; }
.hmi-legend i { display: inline-block; width: 56px; border-top: 5px solid #3b8fd9; }
.hmi-legend i.t { border-top-style: dashed; border-color: var(--red); }
.hmi-kpis { padding: 44px 50px; display: flex; flex-direction: column; gap: 44px; font-size: 40px; }
.hmi-kpis b { display: block; color: var(--navy); font-size: 92px; line-height: 1.05; font-weight: 700; }
.hmi-kpis .s b { font-size: 58px; white-space: nowrap; }
.hmi-glare { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, rgba(255,255,255,.35) 0%, rgba(255,255,255,0) 30%), linear-gradient(0deg, rgba(20,30,45,.06), rgba(20,30,45,0)); }
.hmi-label {
  position: absolute; transform-origin: 0 0; white-space: nowrap;
  background: rgba(255,255,255,.96); color: var(--navy); font-size: 25px; line-height: 1.25; text-align: center;
  padding: 11px 22px; border-radius: 7px; box-shadow: 0 10px 26px -6px rgba(0,0,0,.55);
}
.hero .container > div { max-width: 540px; }
.hero h1 { color: var(--white); font-size: clamp(36px, 4.2vw, 56px); font-weight: 700; letter-spacing: -0.01em; }
.hero h1 span { color: var(--sky); }
.hero .lead { margin-top: 22px; font-size: 19px; max-width: 520px; color: #c9d7ea; }
.hero .lead strong { color: var(--white); font-weight: 700; }
.hero .actions { margin-top: 32px; display: flex; gap: 14px; flex-wrap: wrap; }

.steps-mini { margin-top: 40px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.steps-mini .s { display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--white); font-size: 15px; }
.steps-mini .ic {
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  border: 1.5px solid rgba(255,255,255,.6);
}
.steps-mini .ic svg { width: 26px; height: 26px; }
.steps-mini .arrow { color: rgba(255,255,255,.55); margin-bottom: 26px; }
.steps-mini .arrow svg { width: 22px; height: 22px; }

.dash-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.dash-head h3 { font-size: 20px; font-weight: 700; color: var(--navy); }
.badge-ok { display: inline-flex; align-items: center; gap: 8px; background: var(--green); color: #fff; padding: 6px 14px; font-weight: 700; font-size: 20px; }
.badge-ok svg { width: 20px; height: 20px; }
.dash-body { display: grid; grid-template-columns: 1fr 150px; }
.dash-chart { padding: 10px 4px 4px; border-right: 1px solid var(--line); }
.dash-kpis { padding: 16px; display: flex; flex-direction: column; gap: 16px; font-size: 14px; }
.dash-kpis b { display: block; font-size: 26px; color: var(--navy); font-weight: 700; line-height: 1.1; }
.dash-kpis .small b { font-size: 17px; }
.live { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.live i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); animation: pulse 1.6s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(46,155,79,.6); } 70% { box-shadow: 0 0 0 8px rgba(46,155,79,0); } 100% { box-shadow: 0 0 0 0 rgba(46,155,79,0); } }

/* ---------- Sections ---------- */
section { padding: 88px 0; }
section.gray { background: var(--gray-50); }
.eyebrow { color: var(--blue); font-size: 15px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 10px; }
.section-title { font-size: clamp(30px, 3.2vw, 40px); color: var(--navy); font-weight: 700; }
.section-sub { margin-top: 10px; color: var(--blue); font-size: 19px; }

.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.split p.body { margin-top: 22px; }
.highlight {
  margin-top: 28px; padding: 16px 20px; background: #e9f2fb; border-left: 4px solid var(--blue);
  color: var(--navy); font-weight: 700; font-size: 18px;
}

.chart-card { background: var(--white); border: 1px solid var(--line); padding: 24px; }
.chart-card h3 { color: var(--blue); font-size: 19px; margin-bottom: 12px; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 14px; margin-top: 8px; }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.legend i { display: inline-block; width: 22px; height: 0; border-top: 2px solid; }
.legend .l-many { border-color: rgba(59,143,217,.5); }
.legend .l-mean { border-top-width: 3px; border-color: var(--navy); }
.legend .l-tol { border-top-style: dashed; border-color: var(--red); }
.chart-note { margin-top: 14px; font-size: 15px; color: var(--blue); }

/* Leistungen */
.services { margin-top: 40px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service { background: var(--white); border: 1px solid var(--line); padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.service .ic { width: 48px; height: 48px; border-radius: 50%; background: #e9f2fb; color: var(--blue); display: grid; place-items: center; margin-bottom: 4px; }
.service .ic svg { width: 24px; height: 24px; }
.service h3 { color: var(--navy); font-weight: 700; font-size: 20px; }
.service p { font-size: 16px; }
.service-cta { background: var(--blue); border-color: var(--blue); color: #e6f0fa; }
.service-cta:hover { background: var(--blue-600); text-decoration: none; }
.service-cta h3 { color: #fff; }
.service-cta .more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 700; }
.service-cta .more svg { width: 18px; height: 18px; }

/* Messgrössen */
.messbar { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.messbar p.body { margin-top: 18px; }
.messbar-card { background: var(--white); border: 1px solid var(--line); padding: 28px; }
.messbar-card .sensor-list { gap: 16px 24px; }

/* Nutzen */
.benefits { margin-top: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.benefit { background: var(--white); border: 1px solid var(--line); padding: 24px; display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; }
.benefit .ic { width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; }
.benefit .ic svg { width: 22px; height: 22px; }
.benefit h3 { color: var(--navy); font-weight: 700; font-size: 19px; margin-bottom: 6px; }
.benefit p { font-size: 15px; }
.cols2 { margin-top: 56px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.cols2 h2 { font-size: 26px; color: var(--navy); font-weight: 700; }
.cols2 p.body { margin-top: 18px; }
.cols2 .btn { margin-top: 26px; }

/* Process */
.process { margin-top: 48px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.process .step { display: flex; flex-direction: column; }
.process .chev {
  background: var(--navy); color: #fff; font-weight: 700; font-size: 17px; line-height: 1.25;
  padding: 16px 34px 16px 18px; min-height: 76px; display: flex; align-items: center;
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 50%, calc(100% - 18px) 100%, 0 100%);
}
.process .step:nth-child(2) .chev { background: #0a4486; }
.process .step:nth-child(3) .chev { background: #0d56a3; }
.process .step:nth-child(4) .chev { background: var(--blue); }
.process .step:nth-child(5) .chev { background: #0a74c4; }
.process .ic { margin: 26px 0 14px; color: var(--navy); }
.process .ic svg { width: 40px; height: 40px; stroke-width: 1.6; }
.process p { font-size: 16px; }

/* Teasers */
.teasers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.teaser { background: var(--white); border: 1px solid var(--line); display: flex; flex-direction: column; }
.teaser .visual { border-bottom: 1px solid var(--line); background: var(--white); aspect-ratio: 4 / 3; padding: 16px; display: flex; align-items: center; justify-content: center; }
.teaser .visual > img { width: 100%; }
.teaser .content { padding: 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.teaser h3 { font-size: 23px; color: var(--navy); font-weight: 700; }
.teaser .sub { color: var(--blue); font-size: 16px; margin-top: -6px; }
.teaser .content p { font-size: 16px; }
.teaser .more { margin-top: auto; align-self: flex-start; }

.sensor-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; width: 100%; }
.sensor-list li { display: flex; align-items: center; gap: 10px; color: var(--text); font-size: 16px; }
.sensor-list .dot { width: 34px; height: 34px; border-radius: 50%; background: #e9f2fb; color: var(--blue); display: grid; place-items: center; flex: none; }
.sensor-list svg { width: 18px; height: 18px; }

.teaser .visual.photo { padding: 0; min-height: 0; aspect-ratio: 4 / 3; overflow: hidden; position: relative; }
.teaser .visual.photo img { width: 100%; height: 100%; object-fit: cover; }
.cm-wrap .cm { position: absolute; right: 12px; top: 12px; bottom: 12px; width: 52%; align-content: space-between; }
.cm-wrap .cm .sig { background: rgba(2,31,69,.88); border: 1px solid rgba(63,169,245,.35); }
.cm { width: 100%; display: grid; gap: 10px; }
.cm .sig { background: var(--navy-900); color: #cfe0f5; padding: 8px 12px 4px; }
.cm .sig span { font-size: 13px; }
.cm svg { width: 100%; height: 38px; }

/* Benefits row */
.cols3 { display: grid; grid-template-columns: 1fr 1.15fr 1fr; gap: 48px; align-items: start; }
.checks { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; color: var(--text); }
.checks .ck { width: 24px; height: 24px; flex: none; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; margin-top: 1px; }
.checks .ck svg { width: 14px; height: 14px; stroke-width: 3; }
.cols3 h2 { font-size: 26px; color: var(--navy); font-weight: 700; }
.cols3 p.body { margin-top: 18px; }
.cols3 .btn { margin-top: 26px; }
.infobox { background: #e9f2fb; padding: 28px; display: grid; grid-template-columns: 52px 1fr; gap: 18px; }
.infobox .ic { width: 52px; height: 52px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; }
.infobox .ic svg { width: 26px; height: 26px; }
.infobox h3 { color: var(--navy); font-weight: 700; font-size: 19px; margin-bottom: 8px; }
.infobox p { font-size: 15px; }

/* About */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.about p.body { margin-top: 18px; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.facts div { background: var(--white); padding: 26px; }
.facts b { display: block; color: var(--navy); font-size: 22px; margin-bottom: 6px; }
.facts span { font-size: 15px; }

/* Contact band */
.cta-band { background: var(--blue); color: #e6f0fa; padding: 64px 0; }
.cta-band .container { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; font-size: clamp(26px, 3vw, 36px); font-weight: 700; }
.cta-band p { margin-top: 8px; font-size: 18px; }
.cta-band .btn { background: #fff; color: var(--blue); font-weight: 700; }
.cta-band .btn:hover { background: #e9f2fb; }

/* Footer */
.footer { background: var(--navy-900); color: #b9c8de; font-size: 15px; }
.footer .top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-top: 56px; padding-bottom: 48px; }
.footer img { height: 46px; width: auto; }
.footer .claim { margin-top: 18px; color: #fff; font-size: 18px; }
.footer h4 { color: #fff; font-size: 16px; font-weight: 700; margin-bottom: 14px; text-transform: uppercase; letter-spacing: .06em; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer a { color: #b9c8de; display: inline-flex; gap: 8px; align-items: center; }
.footer a:hover { color: #fff; text-decoration: none; }
.footer a svg { width: 16px; height: 16px; }
.footer .bottom { border-top: 1px solid rgba(255,255,255,.1); }
.footer .bottom .container { display: flex; justify-content: space-between; gap: 16px; padding-top: 18px; padding-bottom: 18px; flex-wrap: wrap; font-size: 14px; }
.footer .bottom nav { display: flex; gap: 20px; }

/* Legal pages */
.legal { padding: 64px 0 96px; }
.legal h1 { color: var(--navy); font-weight: 700; font-size: 40px; margin-bottom: 28px; }
.legal h2 { color: var(--navy); font-weight: 700; font-size: 22px; margin: 32px 0 10px; }
.legal p { max-width: 760px; margin-bottom: 10px; }
.placeholder { background: #fff6d6; padding: 0 4px; color: #7a5b00; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .hero { display: flex; flex-direction: column; min-height: 0; background: linear-gradient(115deg, var(--navy-900) 0%, var(--navy) 60%, #0a4a93 100%); }
  .hero::before { display: none; }
  .hero .container > div { max-width: 640px; }
  .hero-stage { position: relative; order: 2; aspect-ratio: 2048 / 816; width: 100%; }
}
@media (max-width: 1080px) {
  .nav, .header .btn { display: none; }
  .menu-btn { display: block; }
  .header.open .nav {
    display: flex; flex-direction: column; position: absolute; top: 84px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px 24px 20px;
  }
  .header.open .nav a { padding: 12px 0; border-bottom: 1px solid var(--gray-100); }
  .header.open .nav a.active::after { display: none; }
  .split, .about, .messbar, .cols2 { grid-template-columns: 1fr; gap: 48px; }

  .services { grid-template-columns: 1fr 1fr; }
  .benefits { grid-template-columns: 1fr 1fr; }
  .process { grid-template-columns: 1fr 1fr; }
  .teasers { grid-template-columns: 1fr 1fr; }
  .cols3 { grid-template-columns: 1fr 1fr; }
  .cols3 .infobox { grid-column: 1 / -1; }
  .footer .top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  section { padding: 64px 0; }
  .container { padding: 0 16px; }
  .utility .hide-sm { display: none; }
  .header .container { height: 72px; }
  .header.open .nav { top: 72px; }
  .brand img { height: 40px; }
  .hero .container { padding-top: 56px; padding-bottom: 56px; }
  .steps-mini { gap: 8px; }
  .steps-mini .ic { width: 48px; height: 48px; }
  .steps-mini .s { font-size: 13px; }
  .dash-body { grid-template-columns: 1fr; }
  .dash-chart { border-right: 0; border-bottom: 1px solid var(--line); }
  .dash-kpis { flex-direction: row; flex-wrap: wrap; justify-content: space-between; }

  .process, .teasers, .cols3, .facts, .services, .benefits { grid-template-columns: 1fr; }
  .process .chev { clip-path: none; }
  .footer .top { grid-template-columns: 1fr; }
  .sensor-list { grid-template-columns: 1fr 1fr; }
}

/* Änderungen 2 */
.process.four { grid-template-columns: repeat(4, 1fr); gap: 18px; }
.process.four .step:nth-child(3) .chev { background: #0d62b5; }
.process.four .step:nth-child(4) .chev { background: #0a74c4; }
.sensor-list li { font-weight: 700; color: #1d2733; }
.service-cta p + p { margin-top: 10px; }
.cols2.single { grid-template-columns: 1fr; max-width: 760px; }
@media (max-width: 1080px) { .process.four { grid-template-columns: 1fr 1fr; } }
@media (max-width: 680px) { .process.four { grid-template-columns: 1fr; } }

/* CTA banner below services */
.cta-banner { margin-top: 20px; background: var(--blue); color: #e6f0fa; padding: 28px 32px; display: flex; align-items: center; gap: 28px; }
.cta-banner:hover { background: var(--blue-600); text-decoration: none; }
.cta-banner h3 { color: #fff; font-weight: 700; font-size: 26px; white-space: nowrap; padding-right: 28px; border-right: 2px solid rgba(255,255,255,.55); }
.cta-banner .cta-text { flex: 1; font-size: 16px; }
.cta-banner .cta-btn { background: #fff; color: var(--blue); font-weight: 700; padding: 12px 22px; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.cta-banner .cta-btn svg { width: 18px; height: 18px; }
@media (max-width: 900px) {
  .cta-banner { flex-direction: column; align-items: flex-start; gap: 14px; padding: 24px; }
  .cta-banner h3 { border-right: 0; padding-right: 0; }
}
