:root {
  --bg: #f3f6f9;
  --bg-alt: #e9eef4;
  --surface: #ffffff;
  --surface-soft: #f8fbff;
  --text: #13273a;
  --muted: #5a6c7d;
  --line: #d2dce8;
  --primary: #12538a;
  --primary-dark: #0c3d67;
  --accent: #e1892d;
  --ok: #1f8f5b;
  --radius: 4px;
  --radius-sm: 3px;
  --shadow: 0 10px 28px rgba(14, 38, 64, 0.1);
  --max-width: 1180px;
  --hero-offset: 0px;
  --hero-target-height: calc(100svh - var(--hero-offset));
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Mulish", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #f5f8fb 0%, #eef3f8 100%);
  line-height: 1.55;
}

.site-noise {
  display: none;
}

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

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

.container {
  width: min(var(--max-width), 92vw);
  margin: 0 auto;
}

.section-space {
  padding: 5rem 0;
}

.kicker {
  margin: 0 0 0.55rem;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
  color: var(--primary);
  text-transform: uppercase;
  font-weight: 800;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.08;
  font-family: "Barlow Condensed", sans-serif;
  color: #102236;
}

h1 {
  font-size: clamp(2rem, 5.1vw, 4rem);
}

h2 {
  font-size: clamp(1.6rem, 3.4vw, 2.7rem);
}

h3 {
  font-size: clamp(1.25rem, 2.2vw, 1.7rem);
}

.section-head {
  max-width: 760px;
  margin-bottom: 2rem;
}

.section-head h2 {
  margin-top: 0.35rem;
}

.services-hint {
  margin: 0.7rem 0 0;
  color: var(--muted);
  max-width: 58ch;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-weight: 800;
  padding: 0.74rem 1.15rem;
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.btn-primary {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
}

.btn-ghost {
  background: #fff;
  border-color: #bac8d8;
  color: #1d3247;
}

.btn-ghost:hover {
  border-color: #8fa8c2;
  background: #f2f6fa;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 4px 14px rgba(16, 37, 58, 0.06);
}

.header-meta {
  background: #0f3c63;
  border-bottom: 1px solid #0b2f4d;
}

.header-meta-inner {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.header-meta-inner a {
  color: #fff;
  font-weight: 800;
  font-size: 0.9rem;
}

.header-meta-inner span {
  color: #d3e4f4;
  font-size: 0.88rem;
  font-weight: 700;
}

.nav-wrap {
  position: relative;
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand-logo {
  width: auto;
  height: clamp(48px, 4.8vw, 64px);
  display: block;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  font-weight: 700;
}

.site-nav a {
  color: #213648;
  transition: color 220ms ease;
}

.site-nav a:not(.nav-cta) {
  position: relative;
  padding: 0.2rem 0;
}

.site-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.18rem;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  opacity: 0;
  transition: transform 260ms ease, opacity 260ms ease;
}

.site-nav a:not(.nav-cta):hover {
  color: var(--primary);
}

.site-nav a:not(.nav-cta):hover::after {
  transform: scaleX(0.55);
  opacity: 0.7;
}

.site-nav a:not(.nav-cta).is-active,
.site-nav a:not(.nav-cta)[aria-current="page"] {
  color: var(--primary);
}

.site-nav a:not(.nav-cta).is-active::after,
.site-nav a:not(.nav-cta)[aria-current="page"]::after {
  transform: scaleX(1);
  opacity: 1;
}

.site-nav .nav-cta {
  background: var(--accent);
  color: #fff;
  border: 1px solid #c67523;
  border-radius: var(--radius-sm);
  padding: 0.52rem 0.84rem;
  font-weight: 800;
}

.site-nav .nav-cta:hover {
  background: #cf7720;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid #b8c6d6;
  border-radius: var(--radius-sm);
  background: #fff;
  padding: 0;
  cursor: pointer;
  transition: transform 240ms ease, border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: #264157;
  transform-origin: center;
  transition: transform 240ms ease, opacity 180ms ease, background-color 180ms ease;
}

.menu-toggle[aria-expanded="true"] {
  transform: rotate(90deg);
  border-color: #9bb5d0;
  background: #f2f8ff;
  box-shadow: 0 12px 24px rgba(13, 34, 56, 0.12);
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: var(--hero-target-height);
  padding: 5.4rem 0 4.8rem;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
}

@supports (height: 100dvh) {
  :root {
    --hero-target-height: calc(100dvh - var(--hero-offset));
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(110deg, rgba(243, 247, 252, 0.97), rgba(233, 241, 249, 0.92));
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 0.95fr;
  gap: 1.2rem;
  align-items: stretch;
}

.hero-copy {
  background: #fff;
  border: 1px solid #cfd9e4;
  border-left: 6px solid var(--accent);
  padding: clamp(1.05rem, 2.4vw, 2rem);
  box-shadow: var(--shadow);
}

.hero-copy h1 {
  margin-top: 0.2rem;
}

.hero-lead {
  color: #46596b;
  max-width: 62ch;
  margin: 0.9rem 0 1.2rem;
  font-size: clamp(1rem, 1.8vw, 1.16rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.15rem;
}

.hero-facts {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.48rem;
}

.hero-facts li {
  position: relative;
  padding-left: 1rem;
  color: #4b5d70;
  font-weight: 600;
}

.hero-facts li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 6px;
  height: 6px;
  background: var(--ok);
}

.hero-panel {
  background: linear-gradient(165deg, var(--primary), var(--primary-dark));
  color: #eff6fc;
  border: 1px solid #0b365a;
  border-top: 4px solid var(--accent);
  padding: clamp(1rem, 2.2vw, 1.55rem);
  box-shadow: var(--shadow);
}

.hero-panel h2 {
  color: #fff;
  margin-bottom: 0.5rem;
}

.hero-panel p {
  margin: 0;
  color: #fff;
}

.panel-grid {
  margin: 1rem 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}

.panel-grid div {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.26);
  padding: 0.66rem 0.7rem;
}

.panel-grid strong {
  display: block;
  font-size: 1.1rem;
  color: #fff;
}

.panel-grid span {
  color: #d6e7f8;
  font-size: 0.87rem;
}

.panel-link {
  display: block;
  font-weight: 800;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
  width: fit-content;
}

.panel-link + .panel-link {
  margin-top: 0.36rem;
}

.trust-bar {
  background: #133a60;
  border-top: 1px solid #0f304f;
  border-bottom: 1px solid #0f304f;
}

.trust-inner {
  padding: 0.95rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.trust-inner span {
  color: #fff;
  font-weight: 800;
}

.trust-inner ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.95rem;
}

.trust-inner li {
  color: #cfe0f1;
  position: relative;
  padding-left: 0.8rem;
  font-size: 0.95rem;
}

.trust-inner li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.47rem;
  width: 4px;
  height: 4px;
  background: var(--accent);
}

.services {
  background: var(--surface);
}

.services .section-head h2 {
  color: #000;
}

.services .services-hint {
  color: #000;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--primary);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.icon-wrap {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  margin-bottom: 0.66rem;
  background: #edf4fb;
  border: 1px solid #c2d4e7;
}

.icon-wrap svg {
  width: 20px;
  height: 20px;
  fill: var(--primary);
}

.service-card h3 {
  margin-bottom: 0.35rem;
  color: #000;
}

.service-card p {
  margin: 0;
  color: #000;
}

.service-link {
  margin-top: 0.8rem;
  align-self: flex-start;
  border: 1px solid #b7c9dc;
  background: #f2f7fd;
  color: #000;
  font-weight: 800;
  padding: 0.38rem 0.72rem;
  border-radius: var(--radius-sm);
}

.service-link:hover {
  background: #e4eef9;
  border-color: #8fabc7;
}

.services-mobile-cta {
  display: none;
}

.projects {
  background: #fff;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.project-card {
  border: 1px solid var(--line);
  background: #fff;
}

.project-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.project-body {
  padding: 0.9rem;
}

.project-body h3 {
  margin-bottom: 0.26rem;
}

.project-body p {
  margin: 0;
  color: var(--muted);
}

.process {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}

.process-step {
  background: #fff;
  border: 1px solid var(--line);
  padding: 0.95rem;
  position: relative;
}

.process-step span {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: #fff;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1rem;
  margin-bottom: 0.65rem;
}

.process-step h3 {
  margin-bottom: 0.3rem;
}

.process-step p {
  margin: 0;
  color: var(--muted);
}

.management {
  padding-top: 0;
}

.management-box {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--accent);
  padding: 1.2rem;
}

.management-box p {
  color: #4f6173;
  max-width: 72ch;
}

.contact {
  background: #fff;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.contact-copy {
  background: #fff;
  border: 1px solid var(--line);
  padding: 1rem;
}

.contact-copy p {
  color: #516374;
}

.contact-list {
  margin-top: 1rem;
  display: grid;
  gap: 0.5rem;
}

.contact-list a {
  color: var(--primary);
  font-weight: 700;
}

.contact-list p {
  margin: 0;
  color: var(--muted);
}

.contact-form {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--primary);
  padding: 1rem;
  display: grid;
  gap: 0.45rem;
}

.contact-form label {
  font-weight: 800;
  color: #1f3448;
  margin-top: 0.15rem;
}

.required-marker {
  color: #d73a3a;
  font-weight: 900;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  border: 1px solid #c3cfdd;
  background: #fff;
  color: #1e3144;
  padding: 0.66rem 0.7rem;
  font: inherit;
  border-radius: var(--radius-sm);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 2px solid #9fbcda;
  outline-offset: 1px;
}

.contact-form select {
  appearance: none;
}

.consent-row {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  margin-top: 0.25rem;
  color: #2f4356;
  font-weight: 700;
}

.consent-row input {
  width: 18px;
  height: 18px;
  margin-top: 0.08rem;
}

.form-status {
  margin: 0.2rem 0 0;
  min-height: 1.2rem;
  font-weight: 700;
  font-size: 0.92rem;
}

.form-status.is-success {
  color: #1f8f5b;
}

.form-status.is-error {
  color: #d73a3a;
}

.form-email-button {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.5rem 1rem;
  background-color: #d73a3a;
  color: white;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  transition: background-color 0.2s;
}

.form-email-button:hover {
  background-color: #b52a2a;
}

.form-status.is-success {
  color: #1f8d58;
}

.form-status.is-error {
  color: #bc3a3a;
}

.form-trap {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.contact-form button[disabled] {
  opacity: 0.75;
  cursor: wait;
}

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

.contact-rough {
  margin-top: 1rem;
}

.contact-rough h2 {
  margin-bottom: 0.75rem;
}

.contact-rough-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}

.contact-rough-card {
  border: 1px solid var(--line);
  border-left: 4px solid var(--primary);
  background: #fff;
  padding: 0.9rem;
}

.contact-rough-card h3 {
  margin-bottom: 0.3rem;
}

.contact-rough-card a {
  color: var(--primary);
  font-weight: 800;
  display: inline-block;
  margin-bottom: 0.2rem;
}

.contact-rough-card p {
  margin: 0.18rem 0 0;
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid #0f395f;
  background: #12385d;
  padding: 2rem 0 0.95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 1rem;
}

.footer-grid h3,
.footer-grid h4 {
  color: #fff;
}

.footer-grid h4 {
  margin-bottom: 0.4rem;
}

.footer-grid p,
.footer-grid a {
  color: #d8e7f5;
  margin: 0.45rem 0 0;
}

.footer-grid a {
  display: block;
}

.quick-call {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  z-index: 45;
  background: var(--accent);
  border: 1px solid #c67523;
  box-shadow: 0 8px 18px rgba(17, 42, 68, 0.25);
}

.quick-call svg {
  width: 24px;
  height: 24px;
  fill: #fff;
}

.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 420ms ease, transform 420ms ease;
}

.js .reveal.in-view {
  opacity: 1;
  transform: none;
}

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

.legal-wrap {
  width: min(900px, 92vw);
  margin: 3.8rem auto 2rem;
  border: 1px solid var(--line);
  border-top: 4px solid var(--primary);
  background: #fff;
  padding: clamp(1rem, 2.8vw, 1.8rem);
}

.legal-wrap h1 {
  margin-bottom: 0.5rem;
}

.legal-wrap h2 {
  font-size: 1.6rem;
  margin: 1.15rem 0 0.45rem;
}

.legal-wrap p,
.legal-wrap li {
  color: #4d5f70;
}

.legal-wrap .hint {
  color: var(--primary);
  font-weight: 700;
}

.legal-back {
  display: inline-flex;
  margin-top: 1rem;
  padding: 0.48rem 0.85rem;
  border: 1px solid #b3c6da;
  background: #f1f6fb;
  color: var(--primary);
  font-weight: 700;
}

@media (max-width: 1050px) {
  .hero-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

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

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

@media (max-width: 760px) {
  :root {
    --radius: 18px;
    --radius-sm: 14px;
  }

  body {
    background: linear-gradient(180deg, #f4f8fc 0%, #eaf1f8 100%);
  }

  .container {
    width: min(var(--max-width), calc(100vw - 1.2rem));
  }

  .section-space {
    padding: 3rem 0;
  }

  .menu-toggle {
    display: block;
    border-radius: 16px;
    border-color: #c7d7e7;
    box-shadow: 0 8px 20px rgba(13, 34, 56, 0.08);
  }

  #top,
  #leistungen,
  #ablauf {
    scroll-margin-top: 124px;
  }

  .site-nav {
    position: absolute;
    left: 0.45rem;
    right: 0.45rem;
    top: calc(100% + 0.45rem);
    width: auto;
    flex-direction: column;
    align-items: stretch;
    padding: 0.78rem;
    border: 1px solid #cfdae7;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 20px 40px rgba(12, 30, 49, 0.16);
    display: flex;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-0.6rem) scale(0.96);
    transform-origin: top right;
    transition: opacity 220ms ease, transform 220ms ease, visibility 0s linear 220ms;
    gap: 0.45rem;
    z-index: 20;
  }

  .site-nav.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
    transition: opacity 220ms ease, transform 220ms ease, visibility 0s linear 0s;
  }

  .site-nav a:not(.nav-cta) {
    padding: 0.82rem 0.9rem;
    border: 1px solid #e0e8f1;
    border-radius: 14px;
    background: #f7fbff;
  }

  .site-nav a:not(.nav-cta)::after {
    display: none;
  }

  .site-nav .nav-cta {
    text-align: center;
    margin-top: 0.12rem;
    padding: 0.82rem 0.9rem;
    border-radius: 14px;
  }

  .nav-wrap {
    min-height: 68px;
    padding-inline: 0.35rem;
  }

  .brand-logo {
    height: clamp(38px, 10vw, 48px);
  }

  .hero {
    min-height: auto;
    padding: 0.78rem 0 0.62rem;
  }

  .hero-overlay {
    background-image: linear-gradient(115deg, rgba(244, 248, 252, 0.98), rgba(232, 241, 249, 0.92));
  }

  .hero-grid {
    gap: 1rem;
    align-content: start;
  }

  .hero-copy {
    box-shadow: 0 16px 36px rgba(14, 38, 64, 0.08);
    border-left-width: 0;
    border-top: 4px solid var(--accent);
    border-radius: var(--radius);
    min-height: calc(var(--hero-target-height) - 1.4rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1.08rem 1rem 1rem;
  }

  .hero-copy .kicker {
    margin-bottom: 0.4rem;
    font-size: 0.72rem;
    line-height: 1.35;
    letter-spacing: 0.12em;
  }

  .hero-copy h1 {
    font-size: clamp(1.58rem, 7.2vw, 2.04rem);
    line-height: 1.05;
  }

  .hero-lead {
    margin: 0.74rem 0 0.98rem;
    font-size: 0.96rem;
    line-height: 1.55;
    color: #405668;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.58rem;
    margin-bottom: 1rem;
  }

  .hero-actions .btn {
    width: 100%;
    padding: 0.8rem 0.82rem;
    font-size: 0.92rem;
  }

  .hero-actions .btn-ghost {
    display: inline-flex;
  }

  .hero-facts {
    grid-template-columns: 1fr;
    gap: 0.54rem;
  }

  .hero-facts li {
    font-size: 0.88rem;
    line-height: 1.45;
  }

  .hero-facts li::before {
    top: 0.48rem;
  }

  .hero-panel {
    display: block;
    border-radius: var(--radius);
    box-shadow: 0 18px 38px rgba(13, 35, 58, 0.12);
    padding: 0.9rem 1rem;
    margin-top: 0.95rem;
  }

  .hero-panel h2 {
    font-size: 1.12rem;
    margin-bottom: 0.35rem;
  }

  .hero-panel p {
    font-size: 0.89rem;
    line-height: 1.4;
  }

  .panel-grid {
    margin: 0.72rem 0;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.36rem;
  }

  .panel-grid div {
    border-radius: 14px;
    padding: 0.42rem 0.25rem;
    text-align: center;
  }

  .panel-grid strong {
    font-size: 0.92rem;
  }

  .panel-grid span {
    font-size: 0.68rem;
    line-height: 1.2;
  }

  .panel-link {
    display: inline-flex;
    font-size: 0.82rem;
    margin-top: 0.28rem;
  }

  .panel-link + .panel-link {
    margin-top: 0.28rem;
    margin-left: 0.55rem;
  }

  .trust-inner {
    padding: 0.95rem 0 1rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
  }

  .trust-inner span {
    font-size: 0.95rem;
  }

  .trust-inner ul {
    width: 100%;
    overflow: visible;
    white-space: normal;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding-bottom: 0;
  }

  .trust-inner li {
    flex: 0 0 auto;
    border: 1px solid rgba(166, 196, 224, 0.34);
    background: rgba(16, 55, 88, 0.6);
    border-radius: 999px;
    padding: 0.38rem 0.68rem 0.38rem 1rem;
    font-size: 0.83rem;
  }

  .trust-inner li::before {
    left: 0.56rem;
    top: 0.64rem;
  }

  .header-meta-inner {
    min-height: auto;
    padding: 0.4rem 0 0.42rem;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    gap: 0.14rem 0.45rem;
  }

  .header-meta-inner a {
    font-size: 0.78rem;
  }

  .header-meta-inner span {
    display: block;
    font-size: 0.72rem;
  }

  .section-head {
    margin-bottom: 1.35rem;
  }

  .services-hint {
    margin-top: 0.5rem;
    font-size: 0.95rem;
  }

  .services-grid,
  .project-grid,
  .process-grid,
  .contact-rough-grid {
    grid-template-columns: 1fr;
  }

  .services-grid {
    gap: 0.78rem;
  }

  .services-mobile-cta {
    display: none;
  }

  .service-card {
    border-left-width: 0;
    border-top: 4px solid var(--primary);
    border-radius: var(--radius);
    padding: 1rem;
    display: grid;
    grid-template-columns: 40px 1fr;
    grid-template-areas:
      "icon title"
      "text text"
      "link link";
    column-gap: 0.8rem;
    row-gap: 0.32rem;
    box-shadow: 0 14px 34px rgba(14, 38, 64, 0.08);
  }

  .icon-wrap {
    grid-area: icon;
    width: 40px;
    height: 40px;
    margin: 0;
    border-radius: 12px;
  }

  .icon-wrap svg {
    width: 18px;
    height: 18px;
  }

  .service-card h3 {
    grid-area: title;
    margin: 0.04rem 0 0.16rem;
    font-size: 1.08rem;
  }

  .service-card p {
    grid-area: text;
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
    display: block;
    overflow: visible;
  }

  .service-link {
    display: inline-flex;
    grid-area: link;
    margin-top: 0.15rem;
  }

  .hero-copy,
  .hero-panel,
  .project-card,
  .process-step,
  .management-box,
  .contact-copy,
  .contact-form,
  .contact-rough-card {
    box-shadow: 0 14px 34px rgba(14, 38, 64, 0.08);
    border-radius: var(--radius);
  }

  .project-grid {
    gap: 0.9rem;
  }

  .project-card {
    display: block;
    overflow: hidden;
  }

  .project-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
  }

  .project-body {
    padding: 0.95rem 1rem 1rem;
  }

  .project-body p {
    font-size: 0.95rem;
  }

  .project-card:nth-child(n+3) {
    display: block;
  }

  .process-grid {
    gap: 0.78rem;
  }

  .process-step {
    border-left: 1px solid var(--line);
    border-top: 4px solid var(--primary);
    padding: 0.95rem 1rem;
  }

  .process-step span {
    width: 32px;
    height: 32px;
    margin-bottom: 0.55rem;
    font-size: 0.95rem;
  }

  .management-box {
    border-top-width: 4px;
    padding: 1rem;
  }

  .management-box p {
    font-size: 0.96rem;
  }

  .contact-copy,
  .contact-form {
    padding: 1.05rem;
  }

  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    padding: 0.82rem 0.85rem;
  }

  .contact-rough {
    margin-top: 1.2rem;
  }

  .contact-rough-grid {
    gap: 0.72rem;
  }

  .contact-rough-card {
    border-left-width: 1px;
    border-top: 4px solid var(--primary);
    padding: 0.95rem 1rem;
  }

  .contact-rough-card p {
    font-size: 0.94rem;
  }

  .quick-call {
    display: grid;
    width: 58px;
    height: 58px;
    right: 0.85rem;
    bottom: 0.85rem;
    border-radius: 18px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

@media (max-width: 760px) and (max-height: 820px) {
  .header-meta-inner {
    padding: 0.34rem 0 0.36rem;
  }

  .header-meta-inner a {
    font-size: 0.74rem;
  }

  .header-meta-inner span {
    font-size: 0.69rem;
  }

  .nav-wrap {
    min-height: 64px;
  }

  .brand-logo {
    height: clamp(34px, 9vw, 42px);
  }

  .hero {
    padding: 0.64rem 0 0.5rem;
  }

  .hero-copy {
    min-height: calc(var(--hero-target-height) - 1.15rem);
    padding: 0.94rem 0.92rem 0.9rem;
  }

  .hero-copy h1 {
    font-size: clamp(1.44rem, 6.6vw, 1.84rem);
  }

  .hero-lead {
    margin: 0.56rem 0 0.78rem;
    font-size: 0.9rem;
  }

  .hero-actions .btn {
    padding: 0.72rem 0.58rem;
    font-size: 0.86rem;
  }

  .hero-facts li {
    font-size: 0.83rem;
  }

  .hero-panel {
    margin-top: 1rem;
    padding: 0.78rem 0.86rem;
  }
}

@media (max-width: 580px) {
  .nav-wrap {
    padding-inline: 0.45rem;
  }

  .section-space {
    padding: 2.7rem 0;
  }

  .container {
    width: min(var(--max-width), calc(100vw - 1rem));
  }

  .hero-copy h1 {
    font-size: clamp(1.58rem, 8.5vw, 2rem);
  }

  .project-card {
    display: block;
  }

  .project-card img {
    height: auto;
    aspect-ratio: 16 / 10;
  }

  .footer-grid {
    gap: 0.72rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .js .reveal,
  .js .reveal.in-view,
  .menu-toggle,
  .menu-toggle span,
  .site-nav,
  .site-nav a,
  .site-nav a::after,
  .btn {
    transition: none;
  }
}
