:root {
  --ink: #101820;
  --muted: #5c6873;
  --line: #dfe5ea;
  --paper: #f7f9fb;
  --white: #ffffff;
  --navy: #0d2233;
  --blue: #1677b8;
  --teal: #1a9c9b;
  --steel: #8aa0b3;
  --shadow: 0 24px 70px rgba(16, 24, 32, 0.14);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 12%, rgba(26, 156, 155, 0.05), transparent 28%),
    radial-gradient(circle at 88% 22%, rgba(22, 119, 184, 0.06), transparent 30%);
}

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

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

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 78px;
  padding: 14px clamp(20px, 4vw, 54px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(223, 229, 234, 0.9);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: max-content;
}

.brand img {
  width: clamp(190px, 16vw, 245px);
  height: 58px;
  object-fit: contain;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 2vw, 28px);
  color: #263846;
  font-size: 0.94rem;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  place-items: center;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 3px 0;
  border-radius: 999px;
  background: var(--navy);
  transition: transform 180ms ease, opacity 180ms ease;
}

.main-nav a,
.site-footer a {
  transition: color 180ms ease;
}

.main-nav a:hover,
.site-footer a:hover {
  color: var(--blue);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 6px;
  font-weight: 720;
  white-space: nowrap;
}

.header-cta {
  color: var(--white);
  background: var(--navy);
}

.button-primary {
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 16px 40px rgba(22, 119, 184, 0.26);
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.button-secondary {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.12);
  transition: transform 180ms ease, background-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary:hover {
  background: #0f6ea8;
  box-shadow: 0 20px 46px rgba(22, 119, 184, 0.32);
}

.hero {
  position: relative;
  min-height: calc(100vh - 78px);
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--navy);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(10, 20, 30, 0.92) 0%, rgba(10, 20, 30, 0.72) 38%, rgba(10, 20, 30, 0.28) 78%),
    linear-gradient(0deg, rgba(10, 20, 30, 0.72) 0%, rgba(10, 20, 30, 0) 48%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(70px, 13vh, 140px) 0 54px;
  color: var(--white);
  animation: heroRise 900ms ease-out both;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1,
.section h2,
.process-section h2,
.contact-section h2 {
  margin: 0;
  letter-spacing: 0;
  line-height: 1.02;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(3rem, 8vw, 6.8rem);
}

.hero-copy {
  max-width: 760px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(720px, 100%);
  margin: 58px 0 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.14);
}

.hero-facts div {
  padding: 20px;
  background: rgba(7, 19, 31, 0.58);
}

.hero-facts dt {
  font-size: 1.15rem;
  font-weight: 820;
}

.hero-facts dd {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.section {
  padding: clamp(74px, 9vw, 116px) 0;
}

.section:not(.trust-strip),
.process-section,
.contact-section {
  content-visibility: auto;
  contain-intrinsic-size: 1px 900px;
}

.trust-strip {
  padding: clamp(46px, 6vw, 72px) 0;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #ffffff 0%, #f5f8fa 100%);
}

.homepage-check-section {
  background: linear-gradient(135deg, var(--navy), #17384f);
  color: var(--white);
}

.security-check-widget,
.quality-check-widget {
  color: var(--white);
}

.quality-check-section {
  color: var(--white);
  background:
    linear-gradient(180deg, #f5f8fa 0%, #ffffff 20%, #ffffff 100%);
}

.quality-check-frame {
  position: relative;
  overflow: hidden;
  padding: clamp(20px, 4vw, 30px);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 90% 0%, rgba(26, 156, 155, 0.2), transparent 28%),
    linear-gradient(135deg, #07131f, #102d43 58%, #07131f);
  box-shadow: 0 30px 90px rgba(7, 19, 31, 0.18);
}

.quality-check-intro {
  max-width: 760px;
  margin-bottom: clamp(18px, 3vw, 28px);
}

.quality-check-intro h2,
.quality-check-intro p {
  margin-top: 0;
}

.quality-check-intro h2 {
  margin-bottom: 14px;
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.04;
}

.quality-check-intro p {
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.04rem;
}

.check-shell {
  padding: clamp(22px, 4vw, 36px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 90% 10%, rgba(26, 156, 155, 0.18), transparent 28%),
    rgba(255, 255, 255, 0.06);
  box-shadow: 0 24px 70px rgba(7, 19, 31, 0.24);
}

.check-start,
.check-result-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.42fr);
  gap: clamp(24px, 5vw, 58px);
  align-items: center;
}

.check-shell h2,
.check-shell h3,
.check-shell h4,
.check-shell p {
  margin-top: 0;
}

.check-shell h2 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(2.1rem, 5vw, 4.4rem);
  line-height: 1.02;
}

.check-shell h3 {
  margin-bottom: 18px;
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  line-height: 1.1;
}

.check-shell p {
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.04rem;
}

.check-side-card,
.check-question-card,
.check-category-card,
.check-recommendation-card,
.check-lead-form {
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
}

.check-side-card {
  display: grid;
  gap: 10px;
  padding: 24px;
}

.check-side-card span,
.check-recommendation-card span,
.check-category-card span {
  color: rgba(255, 255, 255, 0.68);
}

.check-side-card strong {
  font-size: 1.55rem;
}

.check-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, opacity 180ms ease, background-color 180ms ease;
}

.check-button:hover:not(:disabled) {
  transform: translateY(-2px);
}

.check-button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.check-button-primary {
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 18px 44px rgba(22, 119, 184, 0.28);
}

.check-button-ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.07);
}

.check-progress {
  display: grid;
  gap: 12px;
  margin-bottom: 22px;
}

.check-progress > div:first-child,
.check-category-card > div:first-child {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.check-bar,
.check-mini-bar {
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.check-bar span,
.check-mini-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--teal), var(--blue));
}

.check-question-card {
  padding: clamp(20px, 4vw, 32px);
}

.check-question-card h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
}

.check-options,
.check-category-grid,
.check-recommendation-grid,
.check-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.check-option {
  display: grid;
  gap: 8px;
  min-height: 96px;
  padding: 16px;
  color: var(--white);
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
}

.check-option:hover,
.check-option.is-selected {
  border-color: rgba(26, 156, 155, 0.78);
  background: rgba(26, 156, 155, 0.13);
}

.check-option span {
  font-weight: 780;
}

.check-option small {
  color: rgba(255, 255, 255, 0.64);
}

.check-nav {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 20px;
}

.check-score {
  display: grid;
  place-items: center;
  width: 168px;
  height: 168px;
  justify-self: end;
  border: 7px solid #24b47e;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
}

.check-score strong {
  font-size: 3.3rem;
  line-height: 0.85;
}

.check-score span,
.check-score small {
  color: rgba(255, 255, 255, 0.68);
}

.check-score-medium {
  border-color: #f59e0b;
}

.check-score-elevated,
.check-score-critical {
  border-color: #e5484d;
}

.check-category-grid,
.check-recommendations,
.check-lead-form {
  margin-top: 26px;
}

.check-category-card,
.check-recommendation-card,
.check-lead-form {
  padding: 18px;
}

.check-category-card strong {
  font-size: 1.35rem;
}

.check-recommendation-card h4 {
  margin: 8px 0 10px;
  color: var(--white);
}

.check-lead-form label {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 680;
}

.check-lead-form input,
.check-lead-form textarea,
.check-lead-form select {
  width: 100%;
  min-height: 46px;
  padding: 12px 14px;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  font: inherit;
}

.check-lead-form textarea {
  resize: vertical;
}

.check-lead-form option {
  color: var(--navy);
}

.check-form-grid .wide {
  grid-column: 1 / -1;
}

.check-consent {
  display: grid !important;
  grid-template-columns: 18px 1fr;
  align-items: start;
  margin: 16px 0;
}

.check-consent input {
  min-height: 18px;
  margin-top: 3px;
  accent-color: var(--teal);
}

.check-submit-message {
  margin: 14px 0 0;
  font-weight: 720;
}

.check-submit-message.success {
  color: #24b47e;
}

.check-submit-message.error {
  color: #ff777b;
}

.floating-tools {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  display: grid;
  gap: 9px;
  justify-items: end;
}

.floating-tool {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 42px;
  padding: 0 13px 0 10px;
  color: var(--white);
  border-radius: 999px;
  background: var(--blue);
  box-shadow: 0 18px 44px rgba(16, 24, 32, 0.24);
  font-weight: 820;
  font-size: 0.92rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(14px);
}

.floating-tool svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

.floating-tool-security {
  background: var(--blue);
}

.floating-tool-quality {
  color: var(--navy);
  border: 1px solid rgba(7, 19, 31, 0.12);
  background: var(--white);
}

.floating-tool-map {
  background: var(--teal);
}

.object-map-section {
  color: var(--white);
  background:
    radial-gradient(circle at 12% 20%, rgba(26, 156, 155, 0.16), transparent 30%),
    linear-gradient(135deg, #07131f, #10283d 62%, #07131f);
}

.object-map-heading {
  max-width: 920px;
  margin-bottom: clamp(24px, 4vw, 42px);
}

.object-map-heading h2,
.object-map-heading p {
  margin-top: 0;
}

.object-map-heading h2 {
  max-width: 820px;
  margin-bottom: 16px;
  color: var(--white);
  font-size: clamp(2rem, 4.2vw, 4rem);
  line-height: 1.04;
}

.object-map-heading p {
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.08rem;
}

.object-tool {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: clamp(22px, 4vw, 36px);
  align-items: stretch;
}

.object-tool__visual,
.object-detail-card,
.object-map-cta {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 24px 70px rgba(7, 19, 31, 0.2);
}

.object-tool__visual {
  display: grid;
  gap: 16px;
  padding: clamp(16px, 3vw, 24px);
}

.object-tool__typebar,
.object-chip-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
}

.object-tool__typebar::-webkit-scrollbar,
.object-chip-row::-webkit-scrollbar {
  display: none;
}

.object-tool__typebar button,
.object-chip-row button {
  flex: 0 0 auto;
  min-height: 36px;
  padding: 0 13px;
  color: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  font: inherit;
  font-weight: 760;
  cursor: pointer;
}

.object-tool__typebar button.is-active,
.object-chip-row button.is-active {
  color: var(--navy);
  border-color: rgba(255, 255, 255, 0.8);
  background: var(--white);
}

.object-map-canvas {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    linear-gradient(135deg, rgba(22, 119, 184, 0.18), rgba(7, 19, 31, 0.1));
}

.object-map-canvas__skyline {
  position: absolute;
  inset: 10% 14% auto 14%;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr 1fr 0.9fr;
  align-items: end;
  gap: 12px;
  height: 48%;
  opacity: 0.24;
}

.object-map-canvas__skyline span {
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-bottom: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.02));
}

.object-map-canvas__skyline span:nth-child(1) { height: 62%; }
.object-map-canvas__skyline span:nth-child(2) { height: 100%; }
.object-map-canvas__skyline span:nth-child(3) { height: 82%; }
.object-map-canvas__skyline span:nth-child(4) { height: 54%; }

.object-map-canvas__building {
  position: absolute;
  left: 26%;
  top: 19%;
  width: 48%;
  height: 52%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.05));
  box-shadow: inset 0 0 0 999px rgba(255, 255, 255, 0.02);
}

.object-map-canvas__building span {
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.14);
}

.object-map-canvas__ground {
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 14%;
  height: 16%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(26, 156, 155, 0.08);
}

.object-hotspot {
  position: absolute;
  z-index: 2;
  transform: translate(-50%, -50%);
  display: grid;
  justify-items: center;
  gap: 6px;
  min-width: 72px;
  color: var(--white);
  border: 0;
  background: transparent;
  font: inherit;
  font-weight: 780;
  cursor: pointer;
}

.object-hotspot span {
  width: 22px;
  height: 22px;
  border: 3px solid #f59e0b;
  border-radius: 999px;
  background: #07131f;
  box-shadow: 0 0 0 7px rgba(245, 158, 11, 0.17), 0 14px 34px rgba(0, 0, 0, 0.25);
}

.object-hotspot small {
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(7, 19, 31, 0.74);
  white-space: nowrap;
}

.object-hotspot--niedrig span {
  border-color: #24b47e;
  box-shadow: 0 0 0 7px rgba(36, 180, 126, 0.17), 0 14px 34px rgba(0, 0, 0, 0.25);
}

.object-hotspot--hoch span {
  border-color: #f97316;
  box-shadow: 0 0 0 7px rgba(249, 115, 22, 0.18), 0 14px 34px rgba(0, 0, 0, 0.25);
}

.object-hotspot--kritisch span {
  border-color: #e5484d;
  box-shadow: 0 0 0 7px rgba(229, 72, 77, 0.2), 0 14px 34px rgba(0, 0, 0, 0.25);
}

.object-hotspot.is-active span,
.object-hotspot.is-highlighted span {
  outline: 2px solid rgba(255, 255, 255, 0.85);
  outline-offset: 4px;
}

.object-detail-card {
  padding: clamp(20px, 3vw, 28px);
}

.object-detail-card h3 {
  margin: 10px 0 12px;
  color: var(--white);
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  line-height: 1.05;
}

.object-detail-card p,
.object-detail-card li {
  color: rgba(255, 255, 255, 0.76);
}

.object-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 22px 0;
}

.object-detail-grid strong,
.object-services strong {
  display: block;
  margin-bottom: 10px;
  color: var(--white);
}

.object-detail-grid ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
}

.risk-badge {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--navy);
  background: #f5c542;
  font-weight: 840;
  text-transform: uppercase;
}

.risk-badge--niedrig {
  background: #24b47e;
}

.risk-badge--hoch {
  background: #f97316;
}

.risk-badge--kritisch {
  color: var(--white);
  background: #e5484d;
}

.object-services {
  margin-bottom: 22px;
}

.object-services div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.object-services span {
  padding: 7px 10px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.84);
  background: rgba(255, 255, 255, 0.09);
}

.object-map-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-top: 18px;
  padding: 18px;
}

.object-map-cta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 760;
}

.trust-grid,
.row-heading,
.quality-grid,
.academy-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(34px, 6vw, 86px);
  align-items: start;
}

.trust-copy h2,
.section-heading h2,
.split-copy h2,
.academy-grid h2,
.quality-grid h2,
.contact-grid h2,
.process-section h2 {
  font-size: clamp(2rem, 4.2vw, 4rem);
}

.trust-copy p,
.row-heading > p,
.split-copy p,
.academy-grid p,
.contact-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 1.06rem;
}

.trust-copy h2 {
  max-width: 620px;
  font-size: clamp(2.1rem, 3.2vw, 3.35rem);
  overflow-wrap: anywhere;
}

.trust-panel {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(138, 160, 179, 0.28);
  border-radius: var(--radius);
  background: rgba(138, 160, 179, 0.28);
  box-shadow: 0 18px 48px rgba(16, 24, 32, 0.08);
}

.trust-panel div {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 22px;
  align-items: center;
  min-height: 96px;
  padding: 20px 24px;
  background: rgba(255, 255, 255, 0.84);
}

.trust-panel strong {
  color: var(--navy);
  font-size: 1.05rem;
}

.trust-panel span {
  color: var(--muted);
}

.section-heading {
  margin-bottom: 34px;
}

.section-heading h2 {
  max-width: 820px;
}

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

.service-card {
  min-height: 280px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

a.service-card:hover,
.industry-grid a:hover,
.related-grid a:hover {
  transform: translateY(-4px);
  border-color: rgba(22, 119, 184, 0.28);
  box-shadow: 0 20px 52px rgba(16, 24, 32, 0.12);
}

.service-card-image {
  grid-row: span 2;
  display: grid;
  gap: 22px;
  padding: 0;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.service-card-image img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.service-card-image div {
  padding: 0 28px 28px;
}

.service-card-dark {
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(13, 34, 51, 0.9), rgba(13, 34, 51, 0.94)),
    url("assets/cyber-command.jpeg") center / cover;
  border-color: var(--navy);
}

.service-icon {
  display: inline-flex;
  margin-bottom: 34px;
  color: var(--blue);
  font-weight: 820;
}

.service-card-dark .service-icon {
  color: var(--teal);
}

.service-card h3,
.industry-grid h3,
.process-grid h3 {
  margin: 0 0 12px;
  font-size: 1.2rem;
  line-height: 1.18;
}

.service-card p,
.industry-grid p,
.process-grid p {
  margin: 0;
  color: var(--muted);
}

.service-card-dark p {
  color: rgba(255, 255, 255, 0.72);
}

.academy-inline {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: center;
  margin-top: 18px;
  padding: 22px 26px;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), #17384f);
  border-radius: var(--radius);
}

.academy-inline span {
  color: rgba(255, 255, 255, 0.76);
}

.academy-inline a,
.text-link {
  color: var(--blue);
  font-weight: 780;
}

.split-section {
  background: var(--paper);
}

.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 86px);
  align-items: center;
}

.image-stack {
  position: relative;
  min-height: 540px;
}

.image-main,
.image-offset {
  position: absolute;
  width: 82%;
  height: 380px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.image-main {
  top: 0;
  left: 0;
}

.image-offset {
  right: 0;
  bottom: 0;
  width: 62%;
  height: 300px;
  border: 8px solid var(--paper);
}

.benefit-list {
  display: grid;
  gap: 12px;
  margin: 30px 0;
}

.split-copy p + p {
  margin-top: 16px;
}

.benefit-list span {
  padding: 14px 0 14px 22px;
  border-left: 3px solid var(--blue);
  color: #2a3b48;
  background: rgba(255, 255, 255, 0.7);
}

.muted {
  background: #eef3f6;
}

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

.industry-grid article {
  min-height: 174px;
  padding: 24px;
  border: 1px solid rgba(138, 160, 179, 0.32);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
}

.industry-grid a {
  display: block;
  min-height: 174px;
  padding: 24px;
  border: 1px solid rgba(138, 160, 179, 0.32);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.industry-grid a h3 {
  margin: 0 0 12px;
  font-size: 1.2rem;
  line-height: 1.18;
}

.industry-grid a p {
  margin: 0;
  color: var(--muted);
}

.process-section {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--navy);
}

.process-section > img,
.process-overlay {
  position: absolute;
  inset: 0;
}

.process-section > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.process-overlay {
  background: linear-gradient(90deg, rgba(8, 23, 36, 0.94), rgba(8, 23, 36, 0.6));
}

.process-content {
  position: relative;
  padding: clamp(80px, 11vw, 132px) 0;
}

.process-content h2 {
  max-width: 800px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 42px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.16);
}

.process-grid article {
  min-height: 230px;
  padding: 28px;
  background: rgba(7, 19, 31, 0.64);
}

.process-grid span {
  display: inline-flex;
  margin-bottom: 48px;
  color: var(--teal);
  font-weight: 820;
}

.process-grid p {
  color: rgba(255, 255, 255, 0.72);
}

.academy-section {
  border-bottom: 1px solid var(--line);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.tag-list span {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #2a3b48;
  background: var(--white);
  font-weight: 650;
}

.tag-list a {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #2a3b48;
  background: var(--white);
  font-weight: 650;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.tag-list a:hover {
  transform: translateY(-2px);
  border-color: rgba(22, 119, 184, 0.3);
  box-shadow: 0 14px 34px rgba(16, 24, 32, 0.1);
}

.quality-section {
  background: var(--paper);
}

.quality-copy p {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.06rem;
}

.qualification-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.qualification-list li {
  position: relative;
  padding: 14px 16px 14px 44px;
  border: 1px solid rgba(138, 160, 179, 0.26);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  color: #263846;
  font-weight: 640;
}

.qualification-list li::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 18px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 5px rgba(26, 156, 155, 0.12);
}

.quality-note {
  margin: 24px 0 0;
  color: var(--muted);
}

.certificate-section {
  margin-top: clamp(42px, 6vw, 76px);
}

.certificate-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.certificate-heading h3 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.55rem, 3vw, 2.4rem);
}

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

.certificate-card {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(138, 160, 179, 0.28);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 16px 44px rgba(16, 24, 32, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.certificate-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 54px rgba(16, 24, 32, 0.13);
}

.certificate-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}

.certificate-card span {
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 820;
  text-transform: uppercase;
}

.certificate-card strong {
  color: var(--navy);
  line-height: 1.22;
}

.contact-section {
  padding: clamp(70px, 9vw, 120px) 0;
  color: var(--white);
  background: var(--navy);
}

.contact-grid p {
  color: rgba(255, 255, 255, 0.72);
}

.company-details {
  display: grid;
  gap: 12px;
  margin-top: 34px;
  color: rgba(255, 255, 255, 0.78);
}

.company-details span,
.company-details a {
  display: block;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
}

.form-row {
  display: grid;
  gap: 8px;
}

.split-fields {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.split-fields > div {
  display: grid;
  gap: 8px;
}

.contact-form label,
.privacy-check {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
  font-weight: 650;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px 14px;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.09);
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form select {
  appearance: none;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(26, 156, 155, 0.7);
  outline-offset: 2px;
}

.privacy-check {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 12px;
  align-items: start;
  font-weight: 520;
}

.privacy-check input {
  min-height: 18px;
  margin: 3px 0 0;
  accent-color: var(--teal);
}

.spam-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.site-footer {
  padding: 28px 0;
  color: rgba(255, 255, 255, 0.74);
  background: #07131f;
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-footer strong {
  color: var(--white);
}

.site-footer p {
  margin: 4px 0 0;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.legal-page {
  background: var(--paper);
}

.legal-hero {
  padding: clamp(70px, 10vw, 120px) 0 clamp(34px, 5vw, 56px);
  background: linear-gradient(135deg, var(--navy), #17384f);
  color: var(--white);
}

.legal-hero h1 {
  margin: 0;
  font-size: clamp(2.6rem, 6vw, 5.4rem);
  line-height: 1.02;
}

.legal-content {
  padding: clamp(50px, 7vw, 86px) 0;
}

.legal-grid {
  display: grid;
  grid-template-columns: minmax(0, 820px);
}

.legal-grid article {
  padding: clamp(24px, 5vw, 48px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 18px 48px rgba(16, 24, 32, 0.08);
}

.legal-grid h2 {
  margin: 34px 0 10px;
  color: var(--navy);
  font-size: 1.22rem;
}

.legal-grid h2:first-child {
  margin-top: 0;
}

.legal-grid p {
  margin: 0 0 10px;
  color: #334653;
}

.legal-updated {
  color: var(--muted);
  font-weight: 700;
}

.detail-hero {
  position: relative;
  min-height: 620px;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: var(--navy);
}

.detail-hero > img,
.detail-hero-overlay {
  position: absolute;
  inset: 0;
}

.detail-hero > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-hero-overlay {
  background:
    linear-gradient(90deg, rgba(7, 19, 31, 0.93), rgba(7, 19, 31, 0.54), rgba(7, 19, 31, 0.24)),
    linear-gradient(0deg, rgba(7, 19, 31, 0.8), transparent 52%);
}

.detail-hero-content {
  position: relative;
  z-index: 1;
  padding: clamp(86px, 13vw, 150px) 0 clamp(54px, 8vw, 86px);
  animation: heroRise 900ms ease-out both;
}

.detail-hero h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(3rem, 7vw, 6.6rem);
  line-height: 1;
}

.detail-hero p:not(.eyebrow) {
  max-width: 720px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.detail-grid,
.detail-cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(34px, 6vw, 86px);
}

.detail-copy h2,
.detail-cta h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1.04;
}

.detail-copy p,
.detail-cta p {
  color: var(--muted);
  font-size: 1.06rem;
}

.detail-list {
  display: grid;
  gap: 10px;
}

.detail-list article {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 14px;
  align-items: start;
  padding: 18px 20px;
  border: 1px solid rgba(138, 160, 179, 0.26);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 14px 34px rgba(16, 24, 32, 0.05);
}

.detail-list span {
  width: 9px;
  height: 9px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 5px rgba(26, 156, 155, 0.12);
}

.detail-list p {
  margin: 0;
  color: #263846;
  font-weight: 650;
}

.detail-cta {
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), #17384f);
}

.detail-cta h2,
.detail-cta p {
  color: var(--white);
}

.detail-cta p {
  margin-top: 0;
  color: rgba(255, 255, 255, 0.76);
}

.related-section {
  background: var(--paper);
}

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

.related-grid a {
  display: grid;
  gap: 12px;
  min-height: 150px;
  padding: 24px;
  border: 1px solid rgba(138, 160, 179, 0.28);
  border-radius: var(--radius);
  background: var(--white);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.related-grid span {
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 820;
  text-transform: uppercase;
}

.related-grid strong {
  color: var(--navy);
  font-size: 1.25rem;
  line-height: 1.18;
}

.references-section {
  background: var(--white);
  border-top: 1px solid rgba(223, 229, 234, 0.8);
  border-bottom: 1px solid rgba(223, 229, 234, 0.8);
}

.references-heading {
  max-width: 880px;
  text-align: center;
}

.references-heading h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2rem, 4.2vw, 4rem);
  line-height: 1.04;
}

.references-heading p:last-child {
  margin: 22px auto 0;
  max-width: 760px;
  color: var(--muted);
  font-size: 1.08rem;
}

.references-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: clamp(34px, 5vw, 58px);
}

.reference-card {
  display: grid;
  place-items: center;
  min-height: 150px;
  padding: 24px;
  border: 1px solid rgba(138, 160, 179, 0.24);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #ffffff, #f7f9fb);
  box-shadow: 0 18px 48px rgba(16, 24, 32, 0.07);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.reference-card:hover {
  transform: translateY(-4px);
  border-color: rgba(22, 119, 184, 0.26);
  box-shadow: 0 24px 58px rgba(16, 24, 32, 0.12);
}

.reference-card img {
  width: 100%;
  max-height: 82px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.animations-ready .reveal {
  opacity: 0;
  transform: translateY(22px);
}

.animations-ready .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 700ms ease, transform 700ms ease;
}

.animations-ready .reveal:nth-child(2) {
  transition-delay: 80ms;
}

.animations-ready .reveal:nth-child(3) {
  transition-delay: 140ms;
}

@keyframes heroRise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

  .animations-ready .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-toggle {
    display: grid;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 16px;
    right: 16px;
    display: grid;
    gap: 4px;
    padding: 12px;
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 24px 70px rgba(16, 24, 32, 0.16);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .main-nav a {
    padding: 13px 14px;
    border-radius: 6px;
    font-weight: 700;
  }

  .main-nav a:hover {
    background: var(--paper);
  }

  .nav-open .main-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  .nav-open .nav-toggle span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .trust-grid,
  .row-heading,
  .quality-grid,
  .academy-grid,
  .contact-grid,
  .check-start,
  .check-result-hero,
  .object-tool,
  .split-grid,
  .detail-grid,
  .detail-cta-grid {
    grid-template-columns: 1fr;
  }

  .object-map-canvas {
    min-height: 460px;
  }

  .object-detail-grid {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .industry-grid,
  .check-options,
  .check-category-grid,
  .check-recommendation-grid,
  .check-form-grid,
  .certificate-grid,
  .related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .references-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 700px) {
  .container,
  .hero-content {
    width: min(100% - 28px, 1160px);
  }

  .site-header {
    min-height: auto;
    gap: 10px;
    padding: 10px 14px;
  }

  .header-cta {
    display: none;
  }

  .brand img {
    width: 132px;
    height: 38px;
  }

  .main-nav {
    left: 14px;
    right: 14px;
    font-size: 0.96rem;
  }

  .nav-toggle {
    width: 38px;
    height: 38px;
    border-color: rgba(13, 34, 51, 0.22);
  }

  .nav-toggle span {
    width: 17px;
    height: 2px;
    margin: 2px 0;
  }

  .nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .nav-open .nav-toggle span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .hero {
    min-height: 720px;
  }

  .hero-media img {
    object-position: 66% center;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(8, 20, 31, 0.9) 0%, rgba(8, 20, 31, 0.62) 56%, rgba(8, 20, 31, 0.28) 100%),
      linear-gradient(0deg, rgba(8, 20, 31, 0.82), rgba(8, 20, 31, 0.18));
  }

  .hero h1 {
    max-width: 340px;
    font-size: clamp(2.75rem, 13vw, 3.65rem);
  }

  .hero-content {
    padding: 72px 0 34px;
  }

  .hero-copy {
    max-width: 390px;
    font-size: 1.08rem;
    line-height: 1.42;
  }

  .hero-actions {
    gap: 10px;
    margin-top: 28px;
  }

  .hero-actions .button {
    width: fit-content;
    max-width: 100%;
    min-height: 46px;
    padding: 0 18px;
  }

  .check-score {
    justify-self: start;
    width: 144px;
    height: 144px;
  }

  .check-nav {
    flex-direction: column-reverse;
  }

  .check-button {
    width: 100%;
  }

  .floating-tools {
    right: 12px;
    bottom: 12px;
    gap: 8px;
  }

  .floating-tool {
    width: 44px;
    height: 44px;
    min-height: 44px;
    padding: 0;
    border-radius: 14px;
  }

  .floating-tool span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .object-map-canvas {
    min-height: 390px;
  }

  .object-map-canvas__building {
    left: 18%;
    width: 64%;
  }

  .object-hotspot {
    min-width: 54px;
  }

  .object-hotspot span {
    width: 18px;
    height: 18px;
    border-width: 2px;
  }

  .object-hotspot small {
    display: none;
  }

  .object-map-cta {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-facts,
  .service-grid,
  .industry-grid,
  .check-options,
  .check-category-grid,
  .check-recommendation-grid,
  .check-form-grid,
  .certificate-grid,
  .related-grid,
  .process-grid,
  .academy-inline,
  .split-fields,
  .trust-panel div {
    grid-template-columns: 1fr;
  }

  .hero-facts div {
    padding: 16px;
  }

  .service-card,
  .service-card-image {
    min-height: auto;
  }

  .image-stack {
    min-height: auto;
  }

  .image-main,
  .image-offset {
    position: static;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    border: 0;
  }

  .image-offset {
    margin-top: 14px;
  }

  .footer-grid {
    align-items: flex-start;
    flex-direction: column;
  }

  .certificate-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .detail-hero {
    min-height: 620px;
  }

  .detail-hero > img {
    object-position: 62% center;
  }

  .detail-hero h1 {
    font-size: clamp(2.7rem, 12vw, 4rem);
  }

  .references-heading {
    text-align: left;
  }

  .reference-card {
    min-height: 124px;
  }
}
