
:root {
  --ink: #07162c;
  --blue: #1252e8;
  --blue-dark: #0b3db6;
  --cream: #f8f5ef;
  --paper: #fffdfa;
  --muted: #536071;
  --line: #dfe5ec;
  --green: #16945a;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; overflow-x: hidden; background: var(--paper); color: var(--ink); font-family: Arial, Helvetica, sans-serif; }
a { color: inherit; text-decoration: none; }

.editable-text {
  outline: 2px dashed rgba(18,82,232,.5);
  outline-offset: 5px;
  border-radius: 3px;
  cursor: text;
  transition: background .16s ease, outline-color .16s ease;
}
.editable-text:hover, .editable-text:focus {
  background: rgba(18,82,232,.09);
  outline-color: var(--blue);
}
[hidden] { display: none !important; }

.editor-bar {
  position: fixed; z-index: 100; right: 24px; bottom: 24px; display: flex; align-items: center; gap: 10px;
  padding: 8px; border: 1px solid rgba(7,22,44,.14); border-radius: 14px; background: rgba(255,255,255,.96);
  box-shadow: 0 18px 48px rgba(7,22,44,.2); backdrop-filter: blur(12px);
}
.editor-bar button { border: 0; border-radius: 9px; padding: 13px 18px; font: inherit; font-weight: 750; cursor: pointer; }
.edit-button, .save-button { background: var(--blue); color: white; }
.cancel-button { background: #edf1f5; color: var(--ink); }
.save-button:disabled { opacity: .65; cursor: wait; }
.editor-hint { color: var(--muted); font-size: 14px; padding: 0 8px; }
.save-message { font-weight: 700; font-size: 14px; padding: 0 8px; }
.save-message.success { color: var(--green); }
.save-message.error { color: #bb1d2c; max-width: 230px; }

.site-header {
  height: 88px; padding: 0 clamp(24px, 6vw, 92px); display: flex; align-items: center;
  justify-content: space-between; background: rgba(255,253,250,.94); position: relative; z-index: 10;
}
.brand { font-size: clamp(22px, 2.2vw, 34px); font-weight: 800; letter-spacing: -.04em; }
nav { display: flex; align-items: center; gap: clamp(24px, 4vw, 54px); font-size: 17px; }
nav a { padding: 10px 0; border-bottom: 2px solid transparent; }
nav a:hover, nav a:focus-visible { border-color: var(--blue); }
.nav-contact { color: var(--blue); font-weight: 700; }
.menu-toggle { display: block; width: 44px; height: 44px; margin-left: auto; padding: 10px; border: 0; border-radius: 6px; background: transparent; cursor: pointer; }
.menu-toggle span { display: block; height: 2px; margin: 5px 0; border-radius: 2px; background: var(--ink); transition: transform .2s ease, opacity .2s ease; }
.site-header.menu-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.site-header.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.site-header nav { position: absolute; z-index: 20; top: calc(100% - 8px); right: clamp(24px, 6vw, 92px); width: min(340px, calc(100vw - 48px)); display: none; padding: 10px 22px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,253,250,.98); box-shadow: 0 18px 38px rgba(7,22,44,.15); font-size: 16px; }
.site-header.menu-open nav { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
.site-header nav a { display: block; padding: 15px 2px; border: 0; border-bottom: 1px solid var(--line); text-align: left; }
.site-header nav a:last-child { border-bottom: 0; }
.site-header nav a:hover, .site-header nav a:focus-visible { color: var(--blue); border-bottom-color: var(--line); }

.hero {
  min-height: 790px; position: relative; display: grid; grid-template-columns: 52% 48%;
  background: linear-gradient(90deg, var(--cream) 0%, #fbf8f2 50%, #edf3f7 100%); overflow: hidden;
}
.hero-copy { padding: 82px 6vw 210px; position: relative; z-index: 2; }
.eyebrow { color: var(--blue); letter-spacing: .14em; font-size: 14px; font-weight: 800; margin: 0 0 24px; }
h1 { font-size: clamp(48px, 5.1vw, 78px); line-height: .99; letter-spacing: -.055em; font-weight: 800; margin: 0; max-width: 790px; }
.hero-lead { font-size: clamp(19px, 1.65vw, 27px); line-height: 1.45; color: #3e4856; max-width: 610px; margin: 30px 0 32px; }
.button-primary, .button-light {
  width: fit-content; display: flex; align-items: center; gap: 32px; padding: 19px 28px;
  border-radius: 8px; background: linear-gradient(135deg, var(--blue), #174ee0);
  color: white; font-size: 18px; font-weight: 700; box-shadow: 0 10px 30px rgba(18,82,232,.18); transition: .2s ease;
}
.button-primary:hover, .button-light:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(18,82,232,.28); }
.hero-image {
  min-height: 680px; background: linear-gradient(90deg, rgba(248,245,239,.85) 0%, transparent 22%), url("hero-production.png") center/cover no-repeat;
  position: relative;
}
.hero-image:after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7,22,44,.18), transparent 35%); }
.data-chip {
  position: absolute; z-index: 2; left: 10%; bottom: 22%; width: 160px; padding: 16px;
  border: 1px solid rgba(255,255,255,.55); border-radius: 12px; color: white;
  background: rgba(7,22,44,.68); backdrop-filter: blur(9px);
}
.data-chip span { font-size: 9px; letter-spacing: .12em; opacity: .75; display: block; }
.data-chip strong { font-size: 20px; display: block; margin: 6px 0 10px; }
.data-chip i { display: block; height: 3px; border-radius: 2px; background: linear-gradient(90deg, #2f74ff 65%, rgba(255,255,255,.2) 65%); }
.hero-facts {
  position: absolute; z-index: 4; bottom: 42px; left: 6vw; right: 6vw; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.hero-facts article {
  min-height: 136px; display: flex; gap: 22px; align-items: center; padding: 24px;
  border: 1px solid rgba(224,229,236,.8); background: rgba(255,255,255,.94); border-radius: 12px;
  box-shadow: 0 14px 35px rgba(7,22,44,.08); backdrop-filter: blur(10px);
}
.fact-icon { width: 72px; height: 72px; flex: 0 0 72px; display: grid; place-items: center; border-radius: 12px; background: #edf3ff; color: var(--blue); font-size: 28px; font-weight: 800; }
.fact-icon.green { color: var(--green); background: #edf8f1; }
.hero-facts strong { display: block; font-size: 23px; letter-spacing: -.02em; }
.hero-facts small { display: block; margin-top: 7px; color: var(--muted); font-size: 14px; }

.section { padding: 110px 6vw; }
.intro { display: grid; grid-template-columns: 1.15fr .85fr; gap: 10vw; align-items: end; }
h2 { font-size: clamp(39px, 4.2vw, 64px); line-height: 1.04; letter-spacing: -.045em; margin: 0; }
.section-lead { font-size: 22px; line-height: 1.55; color: var(--muted); margin: 0 0 5px; max-width: 650px; }
.service-grid { padding-top: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; }
.service-card { padding: 34px 30px 38px; border-top: 3px solid var(--line); background: #fff; transition: .2s ease; }
.service-card:hover { border-color: var(--blue); transform: translateY(-4px); box-shadow: 0 18px 40px rgba(7,22,44,.07); }
.service-card > span { color: var(--blue); font-weight: 800; font-size: 13px; }
.service-card h3 { margin: 34px 0 15px; font-size: 24px; }
.service-card p, .project-card p, .about p { color: var(--muted); line-height: 1.65; margin: 0; }
.service-card-link { cursor: pointer; }
.service-card-link:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.service-more { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-top: 24px; color: var(--blue); font-size: 14px; }
.product-service-card { position: relative; overflow: hidden; border-top-color: var(--blue); background: linear-gradient(145deg, #fff 60%, #edf3ff); }
.product-service-card::after { content: "SOFTWAREPRODUKT"; position: absolute; top: 30px; right: 28px; color: #174aaf; font-size: 10px; font-weight: 900; letter-spacing: .12em; }

.applications { color: white; background: linear-gradient(145deg, #07162c, #0a2b55); }
.applications .eyebrow { color: #78a2ff; }
.applications .section-heading > p { color: #b9c5d5; }
.application-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.application-cloud > span { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 10px 15px; border: 1px solid #3a506d; border-radius: 999px; color: #e1e8f2; background: rgba(8,31,61,.58); }
.application-cloud small { color: #91a6c2; font-size: 9px; font-weight: 850; letter-spacing: .12em; }
.dot { width: 10px; height: 10px; flex: 0 0 10px; border: 2px solid #2d91ff; border-radius: 50%; }
.dot.production { background: #2498ff; }
.dot.time { background: #24c5a4; border-color: #24c5a4; }
.dot.mes { background: #8e7cff; border-color: #8e7cff; }
.dot.data { background: #ffb348; border-color: #ffb348; }
.dot.automation { border-style: dashed; border-color: #52b8ff; }
.dot.interface { background: #f16f9a; border-color: #f16f9a; }
.dot.web { border-color: #63a9ff; }
.application-legend { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 30px; color: #9eb0c6; font-size: 11px; text-transform: uppercase; letter-spacing: .09em; }
.application-legend span { display: inline-flex; align-items: center; gap: 7px; }

.project-process { background: #071a34; color: white; }
.project-process .eyebrow { color: #78a2ff; }
.project-process .section-heading > p { color: #b9c5d5; }
.project-timeline { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; margin: 0; padding: 44px 0 0; list-style: none; }
.project-timeline::before { content: ""; position: absolute; top: 18px; left: 2%; right: 2%; height: 2px; background: linear-gradient(90deg, #1d74ea, #49a3ff); }
.project-timeline li { position: relative; min-height: 260px; padding: 28px 20px; border: 1px solid #2c4260; border-radius: 14px; background: #0c2342; }
.project-timeline li::before { content: ""; position: absolute; top: -32px; left: 22px; width: 12px; height: 12px; border: 4px solid #071a34; border-radius: 50%; background: #3197ff; box-shadow: 0 0 0 2px #3197ff; }
.project-timeline li > span { color: #4ba2ff; font-size: 13px; font-weight: 900; }
.project-timeline li > small { display: block; margin-top: 8px; color: #8297b2; font-size: 9px; font-weight: 850; letter-spacing: .14em; }
.project-timeline h3 { margin: 38px 0 14px; font-size: 21px; }
.project-timeline p { margin: 0; color: #b9c5d5; line-height: 1.6; }
.process-promise { display: grid; grid-template-columns: .6fr 1.4fr; gap: 36px; align-items: center; margin-top: 24px; padding: 26px 30px; border-left: 4px solid #3197ff; background: #0c2342; }
.process-promise strong { font-size: 22px; }
.process-promise p { margin: 0; color: #b9c5d5; line-height: 1.6; }

.trust { background: #edf2f7; }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.trust-grid article { min-height: 220px; padding: 30px; border: 1px solid #dbe3ec; border-radius: 14px; background: white; }
.trust-grid span { color: var(--blue); font-size: 12px; font-weight: 900; }
.trust-grid h3 { margin: 34px 0 13px; font-size: 22px; }
.trust-grid p { margin: 0; color: var(--muted); line-height: 1.65; }

.project-check-page { min-height: 100vh; background: #eef3f8; }
.detail-header .back-link { margin-bottom: 0; }
.project-check-main { max-width: 1180px; margin: 0 auto; padding: 68px 24px 100px; }
.private-badge { display: inline-flex; margin-bottom: 20px; padding: 8px 12px; border-radius: 999px; background: #fff0d8; color: #855000; font-size: 11px; font-weight: 900; letter-spacing: .1em; }
.project-check-lead { max-width: 760px; margin: 24px 0 44px; color: var(--muted); font-size: 19px; line-height: 1.65; }
.project-check-layout { display: grid; grid-template-columns: 1.25fr .75fr; gap: 22px; align-items: start; }
.project-check-form, .project-check-result { padding: 34px; border: 1px solid var(--line); border-radius: 17px; background: white; }
.project-check-group + .project-check-group { margin-top: 34px; padding-top: 30px; border-top: 1px solid var(--line); }
.project-check-group h2 { margin: 0 0 18px; font-size: 23px; }
.choice-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.choice { display: flex; align-items: center; gap: 11px; min-height: 52px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 9px; cursor: pointer; }
.choice:has(input:checked) { border-color: var(--blue); background: #edf3ff; }
.choice input { accent-color: var(--blue); }
.project-check-result { position: sticky; top: 24px; color: white; background: var(--ink); }
.project-check-result > span { color: #78a2ff; font-size: 11px; font-weight: 900; letter-spacing: .12em; }
.project-check-result h2 { margin: 20px 0 6px; font-size: 38px; }
.project-check-result h3 { margin: 30px 0 10px; font-size: 18px; }
.project-check-result p { color: #c0cbda; line-height: 1.65; }
.project-check-result ul { padding-left: 20px; color: #d7dfeb; line-height: 1.75; }
.project-check-notice { margin-top: 24px; padding-top: 20px; border-top: 1px solid #30415a; color: #91a2b9 !important; font-size: 13px; }

.demo-page { min-height: 100vh; background: #edf2f7; }
.demo-header { height: auto; min-height: 78px; gap: 22px; }
.demo-header-actions { display: flex; align-items: center; gap: 12px; }
.demo-badge { padding: 7px 10px; border-radius: 999px; background: #e8f7ee; color: #08703f; font-size: 11px; font-weight: 900; letter-spacing: .08em; }
.demo-main { max-width: 1500px; margin: 0 auto; padding: 34px clamp(18px, 4vw, 60px) 80px; }
.demo-title-row { display: flex; justify-content: space-between; gap: 30px; align-items: end; margin-bottom: 26px; }
.demo-title-row h1 { font-size: clamp(38px, 5vw, 68px); }
.demo-title-row p:not(.eyebrow) { max-width: 580px; margin: 0; color: var(--muted); line-height: 1.6; }
.demo-controls { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.demo-controls label { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 9px; background: white; color: var(--muted); font-size: 13px; font-weight: 800; }
.demo-controls select { border: 0; outline: 0; background: transparent; color: var(--ink); font: inherit; font-weight: 800; }
.demo-refresh { border: 0; border-radius: 9px; padding: 13px 18px; background: var(--blue); color: white; font: inherit; font-weight: 850; cursor: pointer; }
.demo-refresh:hover { background: var(--blue-dark); }
.demo-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.demo-kpi { padding: 22px; border: 1px solid var(--line); border-radius: 13px; background: white; }
.demo-kpi > span { display: block; color: var(--muted); font-size: 11px; font-weight: 850; letter-spacing: .08em; }
.demo-kpi strong { display: block; margin-top: 14px; font-size: 34px; letter-spacing: -.04em; }
.demo-kpi small { display: block; margin-top: 6px; color: var(--muted); }
.demo-kpi.good { border-top: 4px solid var(--green); }
.demo-kpi.warning { border-top: 4px solid #dc8a1b; }
.demo-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 14px; margin-top: 14px; }
.demo-panel { border: 1px solid var(--line); border-radius: 14px; background: white; overflow: hidden; }
.demo-panel-header { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.demo-panel-header h2 { font-size: 23px; }
.demo-panel-header span { color: var(--muted); font-size: 12px; }
.demo-orders { width: 100%; border-collapse: collapse; }
.demo-orders th { padding: 13px 16px; color: var(--muted); background: #f5f7fa; font-size: 10px; letter-spacing: .08em; text-align: left; }
.demo-orders td { padding: 16px; border-top: 1px solid var(--line); font-size: 14px; }
.demo-orders tbody tr { cursor: pointer; transition: background .15s ease; }
.demo-orders tbody tr:hover, .demo-orders tbody tr.active { background: #edf3ff; }
.status-pill { display: inline-flex; padding: 6px 9px; border-radius: 999px; font-size: 10px; font-weight: 900; }
.status-running { color: #07583c; background: #dff4e9; }
.status-waiting { color: #855000; background: #fff0d8; }
.status-done { color: #174aaf; background: #e3ecff; }
.deviation-positive { color: var(--green); font-weight: 850; }
.deviation-negative { color: #b82b37; font-weight: 850; }
.demo-detail { padding: 24px; }
.demo-detail-top { display: flex; justify-content: space-between; gap: 16px; align-items: start; }
.demo-detail-top h3 { margin: 6px 0 0; font-size: 27px; }
.demo-detail-top small { color: var(--muted); }
.demo-progress { margin-top: 26px; }
.demo-progress div { height: 12px; border-radius: 999px; background: #e7ebf0; overflow: hidden; }
.demo-progress i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--blue), #45a1ff); }
.demo-progress p { display: flex; justify-content: space-between; margin: 9px 0 0; color: var(--muted); font-size: 12px; }
.demo-time-chart { margin-top: 28px; }
.demo-time-row { display: grid; grid-template-columns: 42px 1fr 56px; gap: 10px; align-items: center; margin-top: 11px; font-size: 12px; }
.demo-time-row div { height: 16px; border-radius: 4px; background: #e9edf2; overflow: hidden; }
.demo-time-row i { display: block; height: 100%; background: #99aec7; }
.demo-time-row.ist i { background: var(--blue); }
.demo-time-row strong { text-align: right; }
.demo-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 28px; }
.demo-meta div { padding: 14px; border-radius: 9px; background: #f4f6f8; }
.demo-meta span { display: block; color: var(--muted); font-size: 10px; font-weight: 850; }
.demo-meta strong { display: block; margin-top: 6px; }
.demo-lower-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 14px; }
.demo-messages { margin: 0; padding: 0; list-style: none; }
.demo-messages li { display: grid; grid-template-columns: 12px 1fr auto; gap: 12px; align-items: start; padding: 17px 22px; border-top: 1px solid var(--line); }
.demo-messages li:first-child { border-top: 0; }
.message-dot { width: 10px; height: 10px; margin-top: 4px; border-radius: 50%; background: var(--green); }
.message-dot.warn { background: #dc8a1b; }
.message-dot.info { background: var(--blue); }
.demo-messages p { margin: 0; color: var(--ink); line-height: 1.45; }
.demo-messages small { color: var(--muted); white-space: nowrap; }
.demo-quantity-chart { display: flex; align-items: end; gap: 18px; height: 230px; padding: 28px 28px 20px; }
.quantity-bar { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: end; height: 100%; }
.quantity-bar i { width: min(52px, 70%); min-height: 5px; border-radius: 7px 7px 0 0; background: linear-gradient(0deg, #1554df, #4ea2ff); }
.quantity-bar strong { margin-top: 8px; font-size: 12px; }
.quantity-bar span { margin-top: 4px; color: var(--muted); font-size: 10px; }
.demo-notice { margin: 18px 0 0; color: var(--muted); font-size: 12px; line-height: 1.6; }

.process-comparison { background: #eef3f8; }
.comparison-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.comparison-card { min-height: 440px; padding: clamp(28px, 4vw, 48px); border: 1px solid var(--line); border-radius: 18px; background: white; }
.comparison-before { border-top: 5px solid #d88b24; }
.comparison-after { border-top: 5px solid var(--green); box-shadow: 0 24px 60px rgba(7,22,44,.08); }
.comparison-label { display: inline-flex; padding: 8px 11px; border-radius: 999px; background: #fff1dc; color: #8b550a; font-size: 11px; font-weight: 900; letter-spacing: .12em; }
.comparison-after .comparison-label { background: #e8f7ee; color: #08703f; }
.comparison-card h3 { margin: 32px 0 26px; font-size: clamp(25px, 2.3vw, 34px); letter-spacing: -.035em; }
.comparison-card ol { margin: 0; padding: 0; list-style: none; counter-reset: comparison; }
.comparison-card li { position: relative; min-height: 58px; margin: 0; padding: 0 0 18px 46px; color: var(--muted); line-height: 1.55; counter-increment: comparison; }
.comparison-card li::before { content: counter(comparison); position: absolute; left: 0; top: -3px; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: #f0f3f6; color: var(--ink); font-size: 12px; font-weight: 900; }
.comparison-after li::before { background: #e8f7ee; color: #08703f; }
.comparison-result { margin: 14px 0 0; padding-top: 20px; border-top: 1px solid var(--line); color: var(--ink); font-weight: 850; line-height: 1.5; }
.comparison-note { max-width: 920px; margin: 26px 0 0; color: var(--muted); font-size: 14px; line-height: 1.6; }

.calculator-section { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(44px, 8vw, 110px); align-items: start; background: var(--paper); }
.calculator-intro { position: sticky; top: 35px; }
.calculator-intro > p:last-child { max-width: 570px; margin: 28px 0 0; color: var(--muted); font-size: 19px; line-height: 1.65; }
.calculator-panel { padding: clamp(28px, 4vw, 48px); border-radius: 20px; background: var(--ink); color: white; box-shadow: 0 28px 70px rgba(7,22,44,.18); }
.calculator-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.calculator-fields label > span:first-child { display: block; margin-bottom: 9px; color: #c8d2e1; font-size: 13px; font-weight: 800; }
.calculator-fields input[type="number"] { width: 100%; height: 58px; padding: 0 16px; border: 1px solid #40516a; border-radius: 9px; outline: none; background: #10233e; color: white; font: inherit; font-size: 20px; font-weight: 800; }
.calculator-fields input[type="number"]:focus { border-color: #78a2ff; box-shadow: 0 0 0 3px rgba(120,162,255,.16); }
.input-suffix { position: relative; }
.input-suffix input { padding-right: 45px !important; }
.input-suffix > span { position: absolute; right: 17px; top: 17px; color: #9fb0c7; font-weight: 800; }
.calculator-result { display: grid; grid-template-columns: 1fr auto; gap: 8px 24px; margin-top: 30px; padding: 27px; border-radius: 13px; background: linear-gradient(135deg, #1040a7, #1764eb); }
.calculator-result > span { grid-column: 1 / -1; margin-bottom: 7px; color: #bdd0ff; font-size: 11px; font-weight: 900; letter-spacing: .1em; }
.calculator-result strong { font-size: clamp(28px, 3.2vw, 44px); letter-spacing: -.045em; }
.calculator-result strong:nth-of-type(2) { text-align: right; }
.calculator-result small { grid-column: 1 / -1; color: #dbe5ff; font-size: 14px; }
.calculator-assumption { margin-top: 28px; padding: 25px; border: 1px solid #30415a; border-radius: 13px; background: #0b1c34; }
.calculator-assumption label { display: block; margin-bottom: 16px; font-size: 15px; font-weight: 800; }
.calculator-assumption input[type="range"] { width: 100%; accent-color: #4d83ff; }
.calculator-assumption > div { display: flex; justify-content: space-between; margin-top: 5px; color: #91a2b9; font-size: 12px; }
.calculator-assumption > div strong { color: white; font-size: 15px; }
.calculator-assumption p { margin: 20px 0 0; color: #d7dfeb; line-height: 1.55; }
.calculator-disclaimer { margin: 20px 0 0; color: #91a2b9; font-size: 13px; line-height: 1.6; }
.calculator-cta { margin-top: 25px; box-shadow: none; }

.solutions { background: var(--ink); color: white; }
.solutions .section-heading > p { color: #b9c5d5; }
.solutions .eyebrow { color: #78a2ff; }
.solution-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.solution-card { min-height: 330px; display: flex; flex-direction: column; align-items: flex-start; padding: clamp(30px, 4vw, 48px); border: 1px solid #30415a; border-radius: 16px; background: #0d203b; transition: transform .2s ease, border-color .2s ease, background .2s ease; }
.solution-card:hover, .solution-card:focus-visible { transform: translateY(-5px); border-color: #78a2ff; background: #112949; }
.solution-card-primary { background: linear-gradient(145deg, #0c2d69, #114fc9); border-color: #346ed4; }
.demo-solution-card { background: linear-gradient(145deg, #0d203b 38%, #0b523f); border-color: #24775f; }
.solution-label { color: #8eb1ff; font-size: 12px; font-weight: 900; letter-spacing: .12em; }
.solution-card h3 { margin: 44px 0 16px; color: white; font-size: clamp(30px, 3vw, 43px); letter-spacing: -.035em; }
.solution-card p { max-width: 590px; margin: 0 0 34px; color: #c8d2e1; font-size: 18px; line-height: 1.65; }
.solution-card strong { width: 100%; display: flex; justify-content: space-between; gap: 20px; margin-top: auto; color: white; }

.detail-page { min-height: 100vh; background: #f3f6f9; }
.detail-header { height: 88px; padding: 0 clamp(24px, 6vw, 92px); display: flex; align-items: center; justify-content: space-between; background: white; border-bottom: 1px solid var(--line); }
.detail-main { max-width: 1120px; margin: 0 auto; padding: 80px 24px 110px; }
.back-link { display: inline-flex; align-items: center; gap: 8px; color: var(--blue); font-weight: 800; margin-bottom: 44px; }
.detail-hero { max-width: 880px; }
.detail-hero h1 { font-size: clamp(46px, 6vw, 76px); }
.detail-lead { color: var(--muted); font-size: clamp(20px, 2vw, 25px); line-height: 1.55; margin: 28px 0 0; }
.detail-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 62px; }
.detail-card { background: white; border: 1px solid var(--line); border-radius: 14px; padding: 32px; }
.detail-card h2 { font-size: 27px; letter-spacing: -.025em; margin-bottom: 18px; }
.detail-card p, .detail-card li { color: var(--muted); line-height: 1.7; }
.detail-card ul { margin: 0; padding-left: 20px; }
.detail-cta { margin-top: 28px; }
.detail-section { margin-top: 100px; }
.detail-section > h2 { max-width: 820px; }
.detail-section-lead { max-width: 780px; color: var(--muted); font-size: 20px; line-height: 1.65; margin: 24px 0 0; }
.benefit-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-top: 42px; background: var(--line); border: 1px solid var(--line); }
.benefit-list article { display: grid; grid-template-columns: 42px 1fr; gap: 16px; background: white; padding: 28px; }
.benefit-list article > span { color: var(--blue); font-weight: 900; font-size: 13px; }
.benefit-list h3, .compact-grid h3 { margin: 0 0 10px; font-size: 21px; }
.benefit-list p, .process-list p { color: var(--muted); line-height: 1.65; margin: 0; }
.detail-section-tinted { margin-left: -24px; margin-right: -24px; padding: 60px 24px; border-radius: 18px; background: #eaf0f7; }
.process-list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 42px; }
.process-list article { background: white; border-radius: 12px; padding: 24px 20px; }
.process-list strong { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: #edf3ff; color: var(--blue); }
.process-list h3 { margin: 28px 0 10px; font-size: 19px; }
.compact-grid { margin-top: 42px; }
.compact-grid .detail-card { padding: 28px; }
.faq-section { max-width: 900px; }
.faq-section details { border-top: 1px solid var(--line); background: white; }
.faq-section details:last-of-type { border-bottom: 1px solid var(--line); }
.faq-section summary { cursor: pointer; padding: 22px 8px; font-size: 18px; font-weight: 800; }
.faq-section details p { color: var(--muted); line-height: 1.7; margin: 0; padding: 0 8px 22px; }
.detail-contact { display: grid; grid-template-columns: 1.3fr .7fr; gap: 50px; align-items: center; margin-top: 100px; padding: 54px; border-radius: 18px; background: var(--ink); color: white; }
.detail-contact h2 { font-size: clamp(34px, 4vw, 52px); }
.detail-contact p:not(.eyebrow) { color: #b9c5d5; line-height: 1.6; }
.detail-contact-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.detail-contact-actions .button-light { margin: 0; }
.detail-contact-actions > a:last-child { color: #9bb8ff; font-weight: 800; }
.detail-footer { max-width: none; min-height: 96px; padding: 28px clamp(24px, 6vw, 92px); }
.detail-footer nav { margin-left: auto; }
.detail-footer nav a { color: #d7dfeb; }
.detail-footer nav a:hover, .detail-footer nav a:focus-visible { color: white; border-color: #78a2ff; }
.product-hero { position: relative; padding: clamp(34px, 6vw, 64px); border-radius: 20px; overflow: hidden; color: white; background: linear-gradient(135deg, #06162f 0%, #0c42b8 72%, #2670ff 100%); }
.product-hero::after { content: "SQ"; position: absolute; right: clamp(20px, 5vw, 60px); bottom: -30px; color: rgba(255,255,255,.08); font-size: clamp(130px, 24vw, 270px); font-weight: 900; line-height: .8; letter-spacing: -.09em; pointer-events: none; }
.assistant-hero { background: linear-gradient(135deg, #06162f 0%, #0b3d88 66%, #1677ff 100%); }
.assistant-hero::after { content: "KI"; }
.assistant-flow { grid-template-columns: repeat(4, 1fr); }
.assistant-flow article:nth-child(4)::after { display: none; }
.assistant-offer { display: grid; grid-template-columns: .85fr 1.15fr; gap: 38px; margin-top: 42px; padding: clamp(28px, 5vw, 48px); border-radius: 16px; background: var(--ink); color: white; }
.assistant-price { font-size: clamp(42px, 6vw, 66px); font-weight: 900; letter-spacing: -.055em; }
.assistant-price-note { display: block; margin-top: 4px; color: #b9c5d5; }
.assistant-monthly { margin-top: 28px; font-size: 27px; font-weight: 850; }
.assistant-offer h3 { margin: 0 0 18px; font-size: 25px; }
.assistant-offer ul { margin: 0; padding-left: 22px; color: #d7dfeb; line-height: 1.75; }
.assistant-disclaimer { grid-column: 1 / -1; margin: 0; padding-top: 22px; border-top: 1px solid #30415a; color: #aeb9c8; font-size: 14px; line-height: 1.6; }
.product-hero > * { position: relative; z-index: 1; }
.product-hero .eyebrow { color: #9bb8ff; }
.product-hero .detail-lead { color: #d4deed; max-width: 820px; }
.product-badge { display: inline-flex; margin: 0 0 24px; padding: 8px 12px; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; color: white; font-size: 12px; font-weight: 850; letter-spacing: .08em; }
.product-function-grid { grid-template-columns: repeat(3, 1fr); }
.product-function-grid .detail-card { min-height: 180px; }
.product-function-grid .detail-card:last-child { background: #edf3ff; border-color: #c8d8fa; }
.product-cta-actions { align-items: stretch; }
.product-cta-actions a { justify-content: space-between; width: 100%; margin: 0; }
.button-outline-light { display: inline-flex; align-items: center; gap: 30px; padding: 16px 22px; border: 1px solid #6f87aa; border-radius: 8px; color: white !important; font-weight: 800; transition: .2s ease; }
.button-outline-light:hover { border-color: white; background: rgba(255,255,255,.08); }
.product-process-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 42px; }
.product-process-list article { position: relative; min-height: 230px; padding: 28px 22px; border: 1px solid var(--line); border-radius: 14px; background: white; }
.product-process-list article:not(:last-child)::after { content: "→"; position: absolute; z-index: 2; top: 50%; right: -23px; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--blue); color: white; font-weight: 900; transform: translateY(-50%); }
.product-process-list article:nth-child(4)::after { display: none; }
.product-process-list strong { display: block; color: var(--blue); font-size: 13px; }
.product-process-list span { display: block; margin: 34px 0 13px; color: var(--ink); font-size: 20px; font-weight: 850; }
.product-process-list p { margin: 0; color: var(--muted); line-height: 1.6; }

.projects { background: #f2f5f8; }
.section-heading { display: grid; grid-template-columns: 1fr 420px; gap: 40px; align-items: end; margin-bottom: 50px; }
.section-heading > p { color: var(--muted); line-height: 1.6; font-size: 18px; margin: 0; }
.project-list { display: grid; gap: 14px; }
.project-card {
  position: relative; display: grid; grid-template-columns: 90px 1fr 60px; gap: 25px; align-items: start;
  background: white; border-radius: 14px; padding: 38px 34px; border: 1px solid #e5eaf0; transition: .2s ease;
}
.project-card:hover { transform: translateX(7px); border-color: #b9c9ea; box-shadow: 0 14px 35px rgba(7,22,44,.07); }
.project-number { font-size: 14px; color: var(--blue); font-weight: 800; }
.project-tag { color: var(--blue) !important; font-size: 12px; font-weight: 800; letter-spacing: .12em; }
.project-card h3 { font-size: 27px; margin: 10px 0; letter-spacing: -.025em; }
.project-card ul { display: flex; gap: 8px; padding: 0; margin: 20px 0 0; list-style: none; flex-wrap: wrap; }
.project-card li { padding: 7px 10px; border-radius: 5px; background: #edf3ff; color: #174aaf; font-size: 12px; font-weight: 700; }
.project-arrow { font-size: 29px; color: var(--blue); justify-self: end; }

.about { display: grid; grid-template-columns: .7fr 1.3fr; gap: 8vw; align-items: center; }
.about-mark {
  aspect-ratio: 1; max-width: 450px; display: grid; place-items: center; border-radius: 50%;
  color: white; font-size: clamp(80px, 12vw, 170px); font-weight: 900; letter-spacing: -.08em;
  background: radial-gradient(circle at 34% 30%, #3877ff, #0c42b8 68%, #072e83);
  box-shadow: 0 35px 80px rgba(18,82,232,.23);
}
.about p { font-size: 20px; margin-top: 25px; }
.quote { border-left: 4px solid var(--blue); padding: 12px 0 12px 22px; margin-top: 32px; font-size: 21px; font-weight: 700; }
.downloads { background: #fffdfa; }
.download-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.download-card { min-height: 190px; padding: 28px; border: 1px solid var(--line); border-radius: 14px; background: white; display: flex; flex-direction: column; align-items: flex-start; transition: .2s ease; }
.download-card:hover { transform: translateY(-4px); border-color: #b9c9ea; box-shadow: 0 16px 36px rgba(7,22,44,.08); }
.download-icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 10px; background: #edf3ff; color: var(--blue); font-size: 14px; font-weight: 900; }
.download-card strong { font-size: 22px; margin: 24px 0 8px; }
.download-card small { color: var(--muted); line-height: 1.5; font-size: 14px; }

.contact { background: var(--ink); color: white; text-align: center; display: flex; flex-direction: column; align-items: center; }
.contact .eyebrow { color: #78a2ff; }
.contact p:not(.eyebrow) { color: #b9c5d5; font-size: 20px; max-width: 650px; line-height: 1.55; }
.button-light { background: white; color: var(--ink); margin-top: 18px; box-shadow: none; }
.flyer-link { margin-top: 22px; color: #9bb8ff; text-decoration: underline; text-underline-offset: 4px; }
footer { background: #041024; color: #aeb9c8; min-height: 90px; padding: 28px 6vw; display: flex; align-items: center; gap: 32px; }
footer strong { color: white; margin-right: auto; }
.footer-links { display: flex; gap: 18px; font-size: 14px; }
.footer-links a:hover { color: white; }
.legal-main { max-width: 980px; }
.legal-intro { max-width: 820px; }
.legal-notice { margin: 42px 0; padding: 20px 22px; border-left: 4px solid #d48600; background: #fff4d8; color: #684400; line-height: 1.6; }
.legal-actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 32px 0 48px; }
.legal-actions .button-primary { font-size: 16px; padding: 15px 21px; }
.legal-document { background: white; border: 1px solid var(--line); border-radius: 16px; padding: clamp(26px, 6vw, 62px); }
.legal-document h2 { margin: 48px 0 16px; font-size: 28px; letter-spacing: -.025em; }
.legal-document h2:first-child { margin-top: 0; }
.legal-document h3 { margin: 25px 0 8px; font-size: 19px; }
.legal-document p, .legal-document li { color: var(--muted); line-height: 1.72; }
.legal-document ol, .legal-document ul { padding-left: 24px; }
.legal-document a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.legal-placeholder { color: #9b3a00; font-weight: 800; }
.legal-version { margin-top: 52px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 14px; }

@media (max-width: 900px) {
  .site-header { height: 72px; }
  footer .footer-links a, .detail-footer nav a { display: block; }
  .hero { display: block; min-height: 0; padding-bottom: 22px; }
  .hero-copy { padding: 58px 24px 36px; }
  h1 { font-size: clamp(43px, 11vw, 64px); }
  .hero-lead { font-size: 19px; margin: 24px 0; }
  .hero-image { min-height: 460px; margin-left: 24px; border-radius: 18px 0 0 18px; background-position: 57% center; }
  .data-chip { left: 18px; bottom: 18px; }
  .hero-facts { position: relative; left: auto; right: auto; bottom: auto; margin: -34px 16px 0; display: flex; overflow-x: auto; padding: 0 8px 18px; scroll-snap-type: x mandatory; }
  .hero-facts article { min-width: 78vw; min-height: 112px; scroll-snap-align: center; }
  .section { padding: 78px 24px; }
  .intro, .about, .section-heading { grid-template-columns: 1fr; gap: 32px; }
  .download-grid { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr 1fr; padding-top: 0; }
  .project-card { grid-template-columns: 42px 1fr; padding: 28px 20px; gap: 10px; }
  .project-arrow { display: none; }
  .about-mark { max-width: 280px; justify-self: center; }
  .detail-grid { grid-template-columns: 1fr; }
  .product-function-grid { grid-template-columns: 1fr 1fr; }
  .benefit-list { grid-template-columns: 1fr; }
  .process-list { grid-template-columns: 1fr 1fr; }
  .product-process-list { grid-template-columns: 1fr 1fr; }
  .product-process-list article:not(:last-child)::after { display: none; }
  .detail-contact { grid-template-columns: 1fr; padding: 36px 28px; }
  .solution-grid { grid-template-columns: 1fr; }
  .assistant-offer { grid-template-columns: 1fr; }
  .calculator-section { grid-template-columns: 1fr; }
  .calculator-intro { position: static; }
  .project-timeline { grid-template-columns: repeat(2, 1fr); }
  .project-timeline::before, .project-timeline li::before { display: none; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .project-check-layout { grid-template-columns: 1fr; }
  .project-check-result { position: static; }
  .demo-kpis { grid-template-columns: 1fr 1fr; }
  .demo-grid, .demo-lower-grid { grid-template-columns: 1fr; }
  .demo-title-row { align-items: start; flex-direction: column; }
}

@media (max-width: 560px) {
  .site-header { height: 72px; padding: 0 18px; flex-direction: row; align-items: center; }
  .site-header .brand { align-self: auto; }
  .menu-toggle { display: block; margin-left: auto; }
  .site-header.menu-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .site-header.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
  .site-header.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .site-header nav { position: absolute; z-index: 20; top: 100%; left: 0; right: 0; width: auto; display: none; padding: 4px 18px 14px; border-top: 1px solid var(--line); background: rgba(255,253,250,.98); box-shadow: 0 18px 30px rgba(7,22,44,.12); font-size: 16px; }
  .site-header.menu-open nav { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .site-header nav a { display: block !important; min-height: auto; padding: 14px 2px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; text-align: left; }
  .site-header nav a:last-child { border-bottom: 0; }
  .site-header nav a:hover, .site-header nav a:focus-visible { color: var(--blue); border-bottom-color: var(--line); }
  .brand { font-size: 20px; }
  .nav-contact { font-size: 14px; }
  .detail-header { height: 72px; padding: 0 20px; }
  .detail-main { padding: 42px 16px 76px; }
  .back-link { margin-bottom: 28px; font-size: 15px; }
  .product-hero { padding: 28px 22px 34px; border-radius: 16px; }
  .product-hero h1 { font-size: clamp(34px, 10vw, 40px); line-height: 1.04; letter-spacing: -.045em; -webkit-hyphens: auto; hyphens: auto; overflow-wrap: break-word; }
  .product-hero .detail-lead { margin-top: 22px; font-size: 18px; line-height: 1.55; }
  .product-badge { max-width: 100%; margin-bottom: 22px; font-size: 10px; line-height: 1.35; white-space: normal; }
  .detail-section { margin-top: 72px; }
  .detail-footer { align-items: flex-start; flex-direction: column; gap: 18px; padding: 28px 20px; }
  .detail-footer strong { margin-right: 0; }
  .detail-footer nav { width: 100%; margin-left: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 8px; }
  .detail-footer nav a { padding: 12px 8px; border: 1px solid #263953; border-radius: 7px; text-align: center; }
  .hero-copy { padding-top: 42px; }
  .eyebrow { font-size: 11px; margin-bottom: 18px; }
  h1 { font-size: 38px; line-height: 1.04; }
  .button-primary, .button-light { width: 100%; justify-content: space-between; }
  .hero-image { min-height: 370px; }
  .service-grid { grid-template-columns: 1fr; }
  .product-function-grid { grid-template-columns: 1fr; }
  .product-process-list { grid-template-columns: 1fr; }
  .solution-card { min-height: 290px; }
  .product-service-card::after { top: 28px; right: 20px; }
  .section-heading > p { font-size: 16px; }
  .project-card { grid-template-columns: 1fr; }
  .project-number { margin-bottom: 8px; }
  .project-card h3 { font-size: 23px; }
  footer { align-items: flex-start; flex-direction: column; gap: 8px; }
  footer strong { margin-right: 0; }
  .footer-links { order: 3; }
  .editor-bar { left: 12px; right: 12px; bottom: 12px; flex-wrap: wrap; justify-content: flex-end; }
  .editor-bar.active .editor-hint { width: 100%; }
  .editor-bar button { padding: 12px 14px; }
  .process-list { grid-template-columns: 1fr; }
  .comparison-grid, .calculator-fields { grid-template-columns: 1fr; }
  .comparison-card { min-height: 0; }
  .calculator-panel { padding: 24px 18px; }
  .calculator-result { grid-template-columns: 1fr; }
  .calculator-result strong:nth-of-type(2) { text-align: left; }
  .application-cloud { display: grid; grid-template-columns: 1fr; }
  .application-cloud > span { border-radius: 12px; }
  .project-timeline, .trust-grid, .choice-list { grid-template-columns: 1fr; }
  .project-timeline li { min-height: 0; }
  .process-promise { grid-template-columns: 1fr; gap: 12px; }
  .project-check-form, .project-check-result { padding: 24px 18px; }
  .demo-header { align-items: flex-start; flex-direction: column; padding-top: 18px; padding-bottom: 18px; }
  .demo-header-actions { width: 100%; justify-content: space-between; }
  .demo-kpis { grid-template-columns: 1fr; }
  .demo-panel { overflow-x: auto; }
  .demo-orders { min-width: 690px; }
  .demo-meta { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
