:root {
  --bg: #f6f8f5;
  --paper: #ffffff;
  --ink: #17231f;
  --muted: #5f6f68;
  --line: #dbe3dd;
  --soft: #edf2ee;
  --blue: #006da8;
  --blue-dark: #004c78;
  --green: #4a9f38;
  --amber: #c58a24;
  --red: #b94b3e;
  --steel: #71847c;
  --shadow: 0 22px 58px rgba(23, 35, 31, 0.14);
  --page-pad: 40px;
  --max: 1180px;
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 4px;
}

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

h1,
h2,
h3 {
  letter-spacing: 0;
  line-height: 1.05;
  overflow-wrap: anywhere;
}

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  color: #ffffff;
  font-size: 5.4rem;
  font-weight: 900;
}

h2 {
  margin-bottom: 18px;
  font-size: 3rem;
  font-weight: 880;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
  font-weight: 840;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 72px;
  padding: 10px var(--page-pad);
  border-bottom: 1px solid rgba(219, 227, 221, 0.92);
  background: rgba(246, 248, 245, 0.93);
  backdrop-filter: blur(18px);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: max-content;
  color: var(--ink);
  font-weight: 860;
  text-decoration: none;
}

.brand img {
  width: 138px;
  height: auto;
}

.brand span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding-left: 14px;
  border-left: 2px solid var(--line);
  color: var(--blue-dark);
  font-weight: 900;
}

.nav-links,
.footer-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.8vw, 26px);
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 760;
}

.nav-links {
  flex-wrap: wrap;
  row-gap: 8px;
}

.site-header .nav-links {
  justify-content: center;
}

.nav-links a,
.footer-links a {
  text-decoration: none;
}

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

.header-action,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  max-width: 100%;
  padding: 0.72rem 1rem;
  border: 1px solid transparent;
  border-radius: 7px;
  font-weight: 820;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  overflow-wrap: anywhere;
  white-space: normal;
}

.header-action {
  border-color: var(--blue);
  color: var(--blue-dark);
}

.header-action:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.button.primary {
  background: var(--blue);
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(0, 77, 120, 0.28);
}

.button.primary:hover {
  background: var(--blue-dark);
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.46);
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  backdrop-filter: blur(12px);
}

.button.secondary:hover {
  background: rgba(255, 255, 255, 0.22);
}

.button.dark {
  margin-top: 8px;
  background: var(--ink);
  color: #ffffff;
}

.button.light {
  background: #ffffff;
  color: var(--blue-dark);
  box-shadow: none;
}

.button.light-border {
  border-color: rgba(255, 255, 255, 0.42);
  background: transparent;
  color: #ffffff;
}

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: min(640px, calc(100svh - 116px));
  padding: 76px var(--page-pad) 64px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(14, 23, 20, 0.9) 0%, rgba(14, 23, 20, 0.78) 42%, rgba(14, 23, 20, 0.24) 78%, rgba(14, 23, 20, 0.08) 100%),
    url("./assets/infrastruktur-hero-photo.jpg");
  background-position: center;
  background-size: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 6px;
  background: linear-gradient(90deg, var(--blue), var(--green), var(--amber));
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  color: #ffffff;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 0.84rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #bfe4f7;
}

.hero-lead {
  max-width: 690px;
  margin-bottom: 28px;
  color: #eef6f0;
  font-size: 1.35rem;
  font-weight: 620;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-actions {
  margin-bottom: 40px;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  width: fit-content;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(12, 19, 17, 0.36);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(14px);
}

.hero-facts div {
  min-width: 172px;
  padding: 14px 18px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-facts div:last-child {
  border-right: 0;
}

.hero-facts span {
  display: block;
  color: #c7d1cc;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-facts strong {
  display: block;
  margin-top: 2px;
  color: #ffffff;
  font-weight: 840;
}

.signal-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.signal-strip div {
  min-height: 128px;
  padding: 26px 30px;
  border-right: 1px solid var(--line);
}

.signal-strip div:last-child {
  border-right: 0;
}

.signal-strip strong,
.signal-strip span {
  display: block;
}

.signal-strip strong {
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 1.02rem;
  font-weight: 860;
}

.signal-strip span {
  color: var(--muted);
}

.section {
  padding: 92px 0;
}

.section-inner {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.two-column,
.check-layout,
.architecture-layout,
.fit-grid,
.product-layout,
.process-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 64px;
  align-items: start;
}

.intro-section,
.product-section {
  background: var(--paper);
}

.large-copy p,
.check-copy p,
.architecture-layout > div > p,
.closing p {
  color: var(--muted);
  font-size: 1.1rem;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 42px;
}

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

.service-grid article,
.practice-grid article {
  display: flex;
  min-height: 330px;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.service-grid article:nth-child(2) {
  border-color: rgba(0, 109, 168, 0.42);
  box-shadow: var(--shadow);
}

.practice-section {
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.practice-grid article {
  min-height: 210px;
  background: var(--bg);
}

.practice-grid strong {
  display: block;
  margin-bottom: 12px;
  font-size: 1.14rem;
}

.service-number {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  border-radius: 7px;
  background: var(--soft);
  color: var(--blue-dark);
  font-weight: 900;
}

.service-grid p {
  color: var(--muted);
}

.practice-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.text-link {
  display: inline-flex;
  width: fit-content;
  min-height: 40px;
  align-items: center;
  margin-top: auto;
  color: var(--ink);
  font-weight: 880;
  text-decoration: none;
  border-bottom: 2px solid var(--green);
}

.check-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #e9eeea;
}

.check-layout {
  align-items: center;
}

.photo-panel {
  position: relative;
  min-height: 520px;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #0f1715;
  box-shadow: var(--shadow);
}

.photo-panel img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.photo-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(9, 15, 13, 0.64), rgba(9, 15, 13, 0.04) 58%);
}

.photo-panel figcaption {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 1;
  margin: 0;
  color: #ffffff;
  font-weight: 820;
}

.check-list,
.plain-list {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li,
.plain-list li {
  position: relative;
  margin-bottom: 11px;
  padding-left: 25px;
  color: var(--muted);
}

.check-list li::before,
.plain-list li::before {
  content: "";
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
}

.negative li::before {
  background: var(--red);
}

.architecture-band {
  background: #18231f;
  color: #ffffff;
}

.architecture-band .section-kicker {
  color: #bfe4f7;
}

.architecture-layout > div > p {
  color: #dbe6df;
}

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

.architecture-grid article {
  min-height: 174px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.architecture-grid span,
.architecture-grid strong {
  display: block;
}

.architecture-grid span {
  margin-bottom: 8px;
  color: #b8c9c0;
  font-size: 0.84rem;
  font-weight: 780;
}

.architecture-grid strong {
  margin-bottom: 10px;
  color: #ffffff;
  font-size: 1.18rem;
}

.architecture-grid p {
  margin-bottom: 0;
  color: #dbe6df;
}

.fit-section {
  background: var(--bg);
}

.fit-grid > div {
  padding-top: 4px;
}

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

.product-layout {
  align-items: center;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  min-height: 70px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--muted);
  font-weight: 800;
}

.process-list span {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: var(--ink);
  color: #ffffff;
}

.closing {
  padding: 92px 0;
  background: var(--ink);
  color: #ffffff;
}

.closing-inner {
  max-width: 920px;
}

.closing .section-kicker,
.closing p {
  color: #d7e1db;
}

.closing address {
  margin-top: 26px;
  color: #b8c9c0;
  font-style: normal;
  font-weight: 720;
}

.contact-actions {
  margin-top: 22px;
}

.support-note {
  margin: 18px 0 0;
  color: #b8c9c0;
  font-size: 0.96rem;
}

.support-note a {
  color: #ffffff;
  font-weight: 800;
}

.contact-page {
  background: var(--bg);
}

.contact-main {
  min-height: 72vh;
}

.contact-intro {
  min-height: calc(100vh - 170px);
  padding: clamp(72px, 9vw, 118px) 0;
  background:
    linear-gradient(90deg, rgba(246, 248, 245, 0.98), rgba(246, 248, 245, 0.92) 48%, rgba(246, 248, 245, 0.72)),
    url("./assets/infrastruktur-report-photo.jpg");
  background-position: center;
  background-size: cover;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(380px, 0.95fr);
  gap: clamp(36px, 6vw, 72px);
  align-items: start;
}

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

.contact-copy h1 {
  max-width: 640px;
  margin-bottom: 22px;
  color: var(--ink);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 0.98;
}

.contact-lead {
  max-width: 590px;
  color: var(--muted);
  font-size: 1.15rem;
  font-weight: 620;
}

.contact-direct {
  display: grid;
  gap: 14px;
  margin-top: 30px;
}

.contact-direct-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
}

.contact-direct-row span {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  background: var(--soft);
  color: var(--blue-dark);
  font-weight: 900;
}

.contact-direct-row strong,
.contact-direct-row a {
  display: block;
}

.contact-direct-row strong {
  color: var(--ink);
  font-weight: 860;
}

.contact-direct-row a {
  color: var(--blue-dark);
  font-weight: 820;
}

.contact-panel {
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.contact-form {
  display: grid;
  gap: 18px;
}

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

.form-field {
  display: grid;
  gap: 7px;
}

.form-field label,
.form-check {
  color: var(--ink);
  font-weight: 820;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 46px;
  padding: 0.78rem 0.86rem;
  border: 1px solid #c8d2cc;
  border-radius: 7px;
  background: #ffffff;
  color: var(--ink);
  font: inherit;
  letter-spacing: 0;
}

.form-field textarea {
  min-height: 170px;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--blue);
  outline: 3px solid rgba(0, 109, 168, 0.18);
}

.form-check {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  align-items: start;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 650;
}

.form-check input {
  width: 18px;
  height: 18px;
  margin-top: 0.2rem;
  accent-color: var(--blue);
}

.form-check a {
  color: var(--blue-dark);
  font-weight: 820;
}

.form-submit {
  width: fit-content;
  min-width: 180px;
  border: 0;
  cursor: pointer;
  font: inherit;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.form-message {
  margin-bottom: 18px;
  padding: 14px 16px;
  border-radius: 8px;
  font-weight: 720;
}

.form-message ul {
  margin: 8px 0 0;
  padding-left: 1.2rem;
}

.form-message li {
  margin-bottom: 4px;
}

.form-message.success {
  border: 1px solid rgba(74, 159, 56, 0.36);
  background: rgba(74, 159, 56, 0.12);
  color: #255f1c;
}

.form-message.error {
  border: 1px solid rgba(185, 75, 62, 0.34);
  background: rgba(185, 75, 62, 0.1);
  color: #7e2d25;
}

.form-trap {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.site-footer {
  padding: 30px var(--page-pad) 36px;
  background: var(--paper);
  border-top: 1px solid var(--line);
}

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

.footer-brand img {
  width: 118px;
  height: auto;
}

.footer-note {
  width: min(var(--max), 100%);
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
}

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

.legal-main {
  padding: 78px 0 96px;
}

.legal-shell {
  width: min(900px, calc(100% - 48px));
  margin: 0 auto;
}

.legal-shell h1 {
  color: var(--ink);
  font-size: 4.2rem;
}

.legal-card {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.legal-card h2 {
  margin: 34px 0 10px;
  font-size: 1.35rem;
}

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

.legal-card h3 {
  margin: 28px 0 10px;
  color: var(--ink);
  font-size: 1.08rem;
  line-height: 1.2;
}

.legal-card h4 {
  margin: 20px 0 8px;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.25;
}

.legal-card p {
  color: var(--muted);
}

.legal-card ul {
  margin: 14px 0 20px;
  padding-left: 1.25rem;
  color: var(--muted);
}

.legal-card li {
  margin-bottom: 8px;
}

.legal-card a {
  color: var(--blue-dark);
  font-weight: 760;
}

@media (max-width: 980px) {
  :root {
    --page-pad: 24px;
  }

  h1 {
    font-size: 4.2rem;
  }

  h2 {
    font-size: 2.35rem;
  }

  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-header .nav-links {
    display: none;
  }

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

  .signal-strip div:nth-child(2) {
    border-right: 0;
  }

  .signal-strip div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .two-column,
  .check-layout,
  .architecture-layout,
  .fit-grid,
  .product-layout,
  .process-layout,
  .contact-layout,
  .service-grid,
  .practice-grid {
    grid-template-columns: 1fr;
  }

  .service-grid article,
  .practice-grid article {
    min-height: 0;
  }

  .check-layout,
  .architecture-layout,
  .process-layout {
    gap: 36px;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 15px;
  }

  h1,
  .legal-shell h1 {
    font-size: 3.15rem;
  }

  h2 {
    font-size: 2rem;
  }

  .brand img {
    width: 124px;
  }

  .brand span {
    display: none;
  }

  .header-action {
    min-height: 40px;
    padding: 0.6rem 0.78rem;
  }

  .hero {
    min-height: min(610px, calc(100svh - 98px));
    padding: 58px var(--page-pad) 48px;
    background-position: 64% center;
    background-image:
      linear-gradient(0deg, rgba(12, 19, 17, 0.92) 0%, rgba(12, 19, 17, 0.72) 62%, rgba(12, 19, 17, 0.2) 100%),
      url("./assets/infrastruktur-hero-photo.jpg");
  }

  .hero-lead {
    font-size: 1.08rem;
  }

  .hero-actions,
  .button,
  .contact-actions,
  .form-submit {
    width: 100%;
  }

  .hero-facts {
    display: none;
  }

  .signal-strip,
  .architecture-grid,
  .process-list {
    grid-template-columns: 1fr;
  }

  .signal-strip div,
  .signal-strip div:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .signal-strip div:last-child {
    border-bottom: 0;
  }

  .section,
  .closing {
    padding: 68px 0;
  }

  .photo-panel,
  .photo-panel img {
    min-height: 340px;
  }

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

  .footer-links {
    flex-wrap: wrap;
    gap: 16px;
  }

  .contact-layout h1 {
    font-size: 3.15rem;
  }

  .contact-panel {
    padding: 22px;
  }

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

  .legal-card {
    padding: 24px;
  }
}
