:root {
  --bg: #e9f0f9;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-strong: #ffffff;
  --text: #0f2848;
  --muted: #4d6789;
  --accent: #47ccff;
  --accent-strong: #007fb6;
  --line: rgba(19, 56, 101, 0.18);
  --shadow: 0 22px 62px rgba(13, 42, 84, 0.15);
  --signal: #00aac7;
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --content-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "IBM Plex Sans", "Source Sans 3", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    linear-gradient(rgba(14, 52, 100, 0.05) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(90deg, rgba(14, 52, 100, 0.05) 1px, transparent 1px) 0 0 / 40px 40px,
    radial-gradient(circle at 14% -8%, rgba(70, 144, 255, 0.3), transparent 36%),
    radial-gradient(circle at 96% 2%, rgba(0, 181, 202, 0.2), transparent 34%),
    linear-gradient(180deg, #f8fbff 0%, var(--bg) 100%);
}

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

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

.page-shell {
  width: min(calc(100% - 32px), var(--content-width));
  margin: 0 auto;
  padding: 20px 0 56px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 14px 20px;
  border: 1px solid rgba(16, 56, 103, 0.22);
  border-radius: 28px;
  background: linear-gradient(140deg, rgba(241, 248, 255, 0.92), rgba(225, 239, 255, 0.9));
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 28px rgba(18, 53, 99, 0.18);
  position: sticky;
  top: 16px;
  z-index: 10;
  transition:
    padding 220ms ease,
    border-radius 220ms ease,
    top 220ms ease,
    box-shadow 220ms ease,
    background 220ms ease;
}

.brand {
  max-width: 188px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.92rem;
  color: var(--muted);
  transition: transform 220ms ease, gap 220ms ease, font-size 220ms ease;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  background: linear-gradient(140deg, rgba(0, 127, 182, 0.12), rgba(71, 204, 255, 0.2));
  color: var(--text);
  font-weight: 700;
  transition: min-height 220ms ease, padding 220ms ease, font-size 220ms ease;
}

.site-header.is-compact {
  top: 4px;
  padding: 6px 12px;
  border-radius: 16px;
  box-shadow: 0 8px 18px rgba(18, 53, 99, 0.24);
  background: linear-gradient(140deg, rgba(228, 240, 253, 0.96), rgba(214, 232, 250, 0.94));
  justify-content: flex-start;
  gap: 10px;
}

.site-header.is-compact .brand {
  max-width: 136px;
}

.site-header.is-compact .site-nav {
  font-size: 0.8rem;
  gap: 11px;
  margin-left: auto;
  margin-right: 2px;
  transform: none;
}

.site-header.is-compact .header-cta {
  min-height: 32px;
  padding: 0 12px;
  font-size: 0.84rem;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
}

.form-success-banner {
  margin: 12px 0 10px;
  padding: 12px 14px;
  border: 1px solid rgba(0, 127, 182, 0.28);
  border-radius: 12px;
  background: linear-gradient(140deg, rgba(220, 245, 255, 0.88), rgba(232, 250, 255, 0.9));
  color: #0d4f7d;
  font-size: 0.93rem;
  font-weight: 700;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 24px;
  padding: 36px 0 12px;
  align-items: start;
}

.hero-copy,
.profile-card,
.service-card,
.contact-panel,
.site-footer {
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: 34px;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(243, 250, 255, 0.86)),
    linear-gradient(135deg, rgba(71, 204, 255, 0.1), rgba(15, 40, 72, 0.03));
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-strong);
  font-family: "IBM Plex Mono", "Consolas", monospace;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.76rem;
  font-weight: 700;
}

h1,
h2,
h3,
p,
ul {
  margin-top: 0;
}

h1 {
  max-width: 16ch;
  margin-bottom: 18px;
  font-size: clamp(2.5rem, 4.4vw, 3.9rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

h1 span {
  display: block;
}

h1 span + span {
  margin-top: 0.17em;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.3rem;
}

p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-text {
  max-width: 56ch;
  font-size: 1rem;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin: 24px 0 28px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  color: #ffffff;
  background: linear-gradient(135deg, #0e355f, #0b6aa0);
  box-shadow: 0 18px 40px rgba(12, 56, 106, 0.3);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  border: 1px solid var(--line);
}

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

.hero-facts-row {
  padding: 2px 0 20px;
}

.hero-facts article {
  padding: 16px;
  border-radius: var(--radius-md);
  background: linear-gradient(140deg, rgba(233, 244, 255, 0.85), rgba(245, 251, 255, 0.8));
}

.hero-facts strong {
  display: block;
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.hero-facts p {
  margin-bottom: 0;
  font-size: 0.92rem;
  line-height: 1.6;
}

.profile-card {
  padding: 18px;
  border-radius: var(--radius-xl);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.92), rgba(239, 248, 255, 0.84));
  align-self: start;
  display: flex;
  flex-direction: column;
}

.profile-frame {
  overflow: hidden;
  border-radius: calc(var(--radius-xl) - 8px);
  background: linear-gradient(180deg, #e3effa 0%, #ffffff 100%);
  aspect-ratio: 4 / 4.45;
}

.profile-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.profile-copy {
  padding: 18px 8px 6px;
}

.profile-label {
  margin-bottom: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-strong);
}

.profile-list {
  padding-left: 18px;
  margin-bottom: 0;
  color: var(--muted);
}

.profile-list li + li {
  margin-top: 8px;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 6px 0 24px;
}

.trust-item {
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow);
}

.trust-item span,
.process-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  margin-bottom: 16px;
  background: linear-gradient(135deg, rgba(0, 127, 182, 0.2), rgba(71, 204, 255, 0.22));
  color: var(--text);
  font-weight: 800;
}

.trust-item p,
.process-card p,
.value-card p,
.service-card p {
  margin-bottom: 0;
}

.engineering-band {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 22px;
  padding: 10px 0 28px;
}

.engineering-copy,
.engineering-visual {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  background: rgba(255, 255, 255, 0.88);
}

.engineering-copy {
  padding: 28px;
}

.engineering-copy h2 {
  margin-bottom: 16px;
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
}

.engineering-points {
  margin: 18px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.engineering-points li + li {
  margin-top: 10px;
}

.engineering-visual {
  padding: 22px;
  display: grid;
  gap: 14px;
}

.visual-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.controls-label {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.slicer-group {
  display: inline-flex;
  gap: 8px;
  padding: 4px;
  border-radius: 999px;
  border: 1px solid rgba(13, 70, 126, 0.2);
  background: rgba(15, 77, 139, 0.08);
}

.slicer-button {
  border: 0;
  border-radius: 999px;
  padding: 7px 12px;
  background: transparent;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.slicer-button:hover,
.slicer-button:focus-visible {
  color: var(--text);
  background: rgba(255, 255, 255, 0.75);
}

.slicer-button.is-active {
  color: #ffffff;
  background: linear-gradient(135deg, #12436f, #078db5);
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.metric-chip {
  position: relative;
  padding: 12px;
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(230, 243, 255, 0.8), rgba(243, 250, 255, 0.84));
  border: 1px solid rgba(17, 67, 119, 0.16);
  cursor: help;
}

.metric-chip:focus-visible {
  outline: 2px solid rgba(25, 49, 95, 0.4);
  outline-offset: 2px;
}

.metric-chip p {
  margin: 0 0 6px;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.metric-chip strong {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  letter-spacing: -0.02em;
}

.metric-tooltip {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: calc(100% + 10px);
  padding: 10px 11px;
  border-radius: 10px;
  border: 1px solid rgba(25, 49, 95, 0.2);
  background: rgba(12, 38, 73, 0.97);
  color: #ffffff;
  font-size: 0.8rem;
  line-height: 1.45;
  box-shadow: 0 10px 20px rgba(10, 16, 30, 0.24);
  opacity: 0;
  transform: translateY(5px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
  z-index: 4;
}

.metric-chip:hover .metric-tooltip,
.metric-chip:focus .metric-tooltip,
.metric-chip:focus-within .metric-tooltip {
  opacity: 1;
  transform: translateY(0);
}

.chart-switcher {
  position: relative;
  min-height: 258px;
}

.chart-panel {
  display: none;
  border: 1px solid rgba(25, 49, 95, 0.14);
  border-radius: 16px;
  background:
    radial-gradient(circle at 12% 20%, rgba(71, 204, 255, 0.24), transparent 42%),
    linear-gradient(180deg, rgba(15, 58, 107, 0.05), rgba(15, 58, 107, 0.1));
  padding: 12px 12px 10px;
}

.chart-panel.is-active {
  display: block;
}

.chart-title {
  margin: 0 0 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.chart-panel svg {
  width: 100%;
  height: 210px;
  display: block;
}

.chart-note {
  margin: 8px 0 0;
  font-size: 0.78rem;
  color: var(--muted);
}

.chart-context {
  margin: 6px 0 0;
  font-size: 0.75rem;
  line-height: 1.45;
  color: var(--muted);
}

.chart-context strong {
  color: var(--text);
}

.chart-panel .axis {
  stroke: rgba(25, 49, 95, 0.68);
  stroke-width: 2;
}

.chart-panel .grid {
  stroke: rgba(25, 49, 95, 0.16);
  stroke-width: 1;
}

.chart-panel .tick {
  fill: rgba(25, 49, 95, 0.75);
  font-size: 11px;
  font-weight: 700;
}

.chart-panel .curve {
  fill: none;
  stroke: #0a7dab;
  stroke-width: 4;
  stroke-linecap: round;
}

.chart-panel .extrema-guide {
  stroke: rgba(20, 95, 152, 0.28);
  stroke-width: 1.4;
  stroke-dasharray: 4 4;
}

.chart-panel .extrema-point {
  fill: #0f2848;
  stroke: #d4f4ff;
  stroke-width: 1.8;
}

.chart-panel .extrema-label {
  fill: #0f2848;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.chart-panel .scatter-line {
  fill: none;
  stroke: #2f73b8;
  stroke-width: 2.5;
  stroke-dasharray: 6 5;
}

.chart-panel .hyperplane-band {
  fill: rgba(198, 40, 40, 0.1);
}

.chart-panel .hyperplane {
  fill: none;
  stroke: #c62828;
  stroke-width: 2.8;
}

.chart-panel .point {
  fill: #146fb5;
  stroke: #ffffff;
  stroke-width: 1.2;
}

.chart-panel .point-soft {
  fill: #2b8bcf;
  stroke: #ffffff;
  stroke-width: 1.1;
  opacity: 0.9;
}

.chart-panel .global-bar {
  fill: rgba(30, 126, 177, 0.45);
}

.chart-panel .global-line {
  fill: none;
  stroke: #145f98;
  stroke-width: 3;
}

.chart-panel .global-point {
  fill: #145f98;
  stroke: #d4f4ff;
  stroke-width: 2;
}

.insight-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 10px;
}

.geo-card,
.matrix-card {
  border: 1px solid rgba(25, 49, 95, 0.14);
  border-radius: 14px;
  background: rgba(12, 62, 114, 0.06);
  padding: 14px;
}

.geo-card h3,
.matrix-card h3 {
  margin-bottom: 12px;
  font-size: 1rem;
}

.geo-row {
  margin-bottom: 12px;
}

.geo-row:last-child {
  margin-bottom: 0;
}

.geo-row p {
  margin: 0;
  font-size: 0.84rem;
}

.geo-row p + p {
  margin-top: 3px;
}

.geo-bar {
  margin-top: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(25, 49, 95, 0.12);
  overflow: hidden;
}

.geo-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #09a8c0, #2465aa);
  transition: width 380ms ease;
}

.matrix-card table {
  width: 100%;
  border-collapse: collapse;
}

.matrix-card th,
.matrix-card td {
  text-align: left;
  padding: 8px 6px;
  font-size: 0.8rem;
}

.matrix-card th {
  color: var(--muted);
  font-weight: 700;
  letter-spacing: 0.03em;
}

.matrix-card td {
  border-top: 1px solid rgba(25, 49, 95, 0.12);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 28px;
}

.section-heading.narrow {
  max-width: 620px;
}

.services {
  padding: 24px 0 28px;
}

.service-gallery {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
}

.service-track {
  display: flex;
  gap: 0;
  overflow-x: auto;
  padding: 4px 2px 10px;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  border-radius: var(--radius-lg);
}

.service-track::-webkit-scrollbar {
  display: none;
}

.gallery-nav {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(17, 62, 113, 0.28);
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(16, 58, 107, 0.16);
  transition: transform 160ms ease, background-color 160ms ease, opacity 160ms ease;
}

.gallery-nav:hover,
.gallery-nav:focus-visible {
  transform: translateY(-1px);
  background: #ffffff;
}

.gallery-nav:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}

.gallery-hint {
  margin-top: 8px;
  font-size: 0.84rem;
}

.gallery-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}

.gallery-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: rgba(17, 62, 113, 0.28);
  cursor: pointer;
  transition: transform 160ms ease, background-color 160ms ease;
}

.gallery-dot.is-active {
  background: #0b80b7;
  transform: scale(1.25);
}

.service-card {
  flex: 0 0 100%;
  min-width: 100%;
  scroll-snap-align: start;
  margin-right: 0;
  padding: 26px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.9);
}

.service-card ul {
  padding-left: 18px;
  margin: 18px 0 0;
  color: var(--muted);
}

.service-card li + li {
  margin-top: 8px;
}

.value-section {
  padding: 16px 0 28px;
}

.process-grid,
.value-grid {
  display: grid;
  gap: 20px;
}

.process-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 20px;
}

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

.process-card,
.value-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
}

.contact {
  padding: 20px 0 24px;
}

.contact-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 28px 30px;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(135deg, rgba(12, 44, 82, 0.98), rgba(9, 121, 160, 0.94));
}

.contact-copy {
  max-width: 720px;
}

.contact-panel h2,
.contact-panel p,
.contact-panel a {
  color: #ffffff;
}

.contact-panel .eyebrow {
  color: rgba(255, 255, 255, 0.72);
}

.contact-panel .button-primary {
  white-space: nowrap;
  background: #ffffff;
  color: var(--text);
  box-shadow: none;
}

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

.contact-form {
  min-width: min(100%, 360px);
  flex: 1 1 360px;
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
}

.contact-form h3 {
  margin: 0 0 2px;
  font-size: 1.05rem;
  color: #ffffff;
}

.contact-form label {
  font-size: 0.84rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.88);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
  color: #ffffff;
  background: rgba(6, 28, 50, 0.32);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.66);
}

.contact-form textarea {
  resize: vertical;
  min-height: 110px;
}

.consent-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
  margin-top: 4px;
}

.consent-row input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin-top: 3px;
}

.consent-row span {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.84rem;
  line-height: 1.45;
}

.consent-row a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.contact-form .button {
  margin-top: 4px;
}

.contact-note {
  margin-bottom: 0;
  max-width: 28ch;
  font-size: 0.92rem;
  line-height: 1.5;
}

.site-footer {
  display: grid;
  gap: 24px;
  margin-top: 24px;
  padding: 24px 28px;
  border-radius: var(--radius-xl);
  background: transparent;
  border: 0;
  box-shadow: none;
}

.footer-main,
.footer-legal,
.footer-links {
  display: flex;
  gap: 18px;
}

.footer-main,
.footer-legal {
  align-items: flex-start;
  justify-content: space-between;
}

.footer-main {
  justify-content: flex-end;
  background: transparent;
}

.footer-links {
  flex-wrap: wrap;
  color: var(--muted);
}

.footer-claim {
  max-width: 42ch;
  margin-bottom: 0;
}

.footer-impressum-link {
  margin: 0;
  width: 100%;
  text-align: right;
  font-size: 0.84rem;
  color: var(--muted);
}

.footer-impressum-link a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-signoff {
  margin: 2px 0 0;
  width: 100%;
  text-align: center;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: rgba(77, 103, 137, 0.88);
}

.impressum-note,
.contact-note {
  font-size: 0.94rem;
}

.legal-page {
  padding: 34px 0 24px;
}

.legal-card {
  max-width: 860px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.legal-card h2 {
  margin-bottom: 18px;
  font-size: clamp(1.4rem, 2.8vw, 2rem);
}

.legal-grid {
  display: grid;
  grid-template-columns: minmax(180px, 0.34fr) 1fr;
  gap: 10px 16px;
  margin: 0;
}

.legal-grid dt {
  font-weight: 700;
  color: var(--text);
}

.legal-grid dd {
  margin: 0;
  color: var(--muted);
}

.legal-note {
  margin: 18px 0 0;
  font-size: 0.88rem;
}

@media (max-width: 960px) {
  .site-header,
  .contact-panel,
  .site-footer,
  .hero {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    gap: 24px;
    padding-top: 28px;
    padding-bottom: 8px;
  }

  .header-cta,
  .profile-card {
    width: 100%;
  }

  .contact-panel .button-primary {
    width: 100%;
  }

  .hero-facts,
  .trust-strip,
  .engineering-band,
  .metric-row,
  .insight-grid,
  .process-grid,
  .value-grid,
  .legal-grid {
    grid-template-columns: 1fr;
  }

  .site-header.is-compact .site-nav {
    transform: none;
  }

  .chart-switcher {
    min-height: 244px;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(calc(100% - 20px), var(--content-width));
    padding-top: 12px;
  }

  .site-header {
    gap: 16px;
    padding: 16px;
    border-radius: 24px;
    position: static;
  }

  .brand {
    max-width: 160px;
  }

  .site-nav {
    width: 100%;
    justify-content: flex-start;
    gap: 12px;
    font-size: 0.88rem;
    flex-wrap: wrap;
  }

  .header-cta {
    width: 100%;
  }

  .hero-copy,
  .service-card,
  .process-card,
  .value-card,
  .engineering-copy,
  .engineering-visual,
  .contact-panel,
  .site-footer,
  .trust-item {
    padding: 22px;
  }

  .profile-card {
    padding: 16px;
  }

  .hero {
    padding: 22px 0 8px;
  }

  .hero-facts-row {
    padding: 4px 0 16px;
  }

  .gallery-nav {
    display: none;
  }

  .service-track {
    gap: 0;
    padding-bottom: 8px;
  }

  .service-card {
    flex-basis: 100%;
    min-width: 100%;
  }

  h1 {
    max-width: none;
    font-size: clamp(2rem, 8.8vw, 2.8rem);
  }

  .hero-text,
  p {
    font-size: 0.98rem;
  }

  .hero-actions,
  .contact-panel {
    width: 100%;
  }

  .button,
  .contact-panel .button-primary {
    width: 100%;
  }

  .profile-frame {
    aspect-ratio: 4 / 4.5;
  }

  .site-footer {
    align-items: flex-start;
  }

  .footer-main,
  .footer-legal {
    flex-direction: column;
  }

  .chart-panel svg {
    height: 178px;
  }

  .slicer-group {
    width: 100%;
    justify-content: space-between;
  }

  .slicer-button {
    flex: 1;
  }

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

  .matrix-card th,
  .matrix-card td {
    font-size: 0.74rem;
    padding: 7px 5px;
  }

  .map-label {
    font-size: 0.64rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .chart-panel {
    animation: none;
  }
}