:root {
  --navy-950: #071d2d;
  --navy-900: #0a2941;
  --navy-800: #0b3557;
  --blue-700: #125b91;
  --blue-600: #176fae;
  --blue-100: #dfeef7;
  --blue-50: #eff6fa;
  --ink: #17232c;
  --muted: #62717c;
  --line: #dce4e9;
  --surface: #f6f8f9;
  --white: #ffffff;
  --brick: #a85f43;
  --shadow-sm: 0 10px 28px rgba(7, 29, 45, 0.07);
  --shadow-md: 0 24px 60px rgba(7, 29, 45, 0.13);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --container: 1220px;
  --gutter: clamp(22px, 4vw, 54px);
  --section: clamp(86px, 10vw, 142px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--white);
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

svg {
  display: block;
}

::selection {
  color: var(--white);
  background: var(--blue-600);
}

:focus-visible {
  outline: 3px solid #58a9dc;
  outline-offset: 4px;
}

.container {
  width: calc(100% - (var(--gutter) * 2));
  max-width: var(--container);
  margin-inline: auto;
}

.section {
  padding-block: var(--section);
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 11px 16px;
  color: var(--white);
  border-radius: 6px;
  background: var(--blue-700);
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

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

h1,
h2,
h3 {
  text-wrap: balance;
}

h1,
h2 {
  margin-bottom: 0;
  font-weight: 760;
  line-height: 1.02;
  letter-spacing: -0.045em;
}

h1 em,
h2 em {
  color: inherit;
  font-style: normal;
  font-weight: 350;
}

h2 {
  font-size: clamp(2.8rem, 5.3vw, 5rem);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  color: var(--blue-700);
  font-size: 0.72rem;
  font-weight: 750;
  line-height: 1.2;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow > span {
  width: 34px;
  height: 2px;
  flex: 0 0 auto;
  background: currentColor;
}

.eyebrow--light {
  color: #9bd0ef;
}

.button {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 15px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 750;
  line-height: 1;
  letter-spacing: 0.055em;
  transition: color 220ms ease, background 220ms ease, border-color 220ms ease, transform 220ms var(--ease), box-shadow 220ms ease;
}

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

.button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button--light {
  color: var(--navy-900);
  background: var(--white);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.16);
}

.button--light:hover {
  background: var(--blue-50);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

.button--outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.04);
}

.button--outline:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

/* Header */
.site-header {
  position: sticky;
  z-index: 70;
  top: -34px;
}

.topbar {
  min-height: 34px;
  color: rgba(255, 255, 255, 0.78);
  background: var(--navy-950);
}

.topbar__inner {
  display: flex;
  min-height: 34px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  font-size: 0.68rem;
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: 0.07em;
}

.topbar p {
  margin: 0;
}

.topbar__contact {
  display: flex;
  align-items: center;
  gap: 24px;
}

.topbar__contact a {
  color: var(--white);
  font-weight: 750;
}

.topbar__contact a:hover {
  color: #9bd0ef;
}

.nav-wrap {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 8px 22px rgba(7, 29, 45, 0.04);
  backdrop-filter: blur(14px);
}

.nav-row {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: clamp(24px, 4vw, 54px);
}

.wordmark {
  position: relative;
  z-index: 3;
  display: inline-grid;
  gap: 1px;
  flex: 0 0 auto;
  color: var(--navy-900);
  line-height: 0.94;
  text-transform: uppercase;
}

.wordmark::before {
  position: absolute;
  content: "";
  top: 0;
  bottom: 0;
  left: -14px;
  width: 4px;
  border-radius: 2px;
  background: var(--blue-600);
}

.wordmark__kicker {
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.wordmark__name {
  font-size: 1.52rem;
  font-weight: 800;
  letter-spacing: 0.095em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2vw, 30px);
}

.main-nav > a:not(.nav-cta) {
  position: relative;
  padding-block: 12px;
  color: #2d3c46;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.045em;
}

.main-nav > a:not(.nav-cta)::after {
  position: absolute;
  content: "";
  right: 0;
  bottom: 5px;
  left: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--blue-600);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms var(--ease);
}

.main-nav > a:not(.nav-cta):hover::after,
.main-nav > a:not(.nav-cta).is-active::after {
  transform: scaleX(1);
}

.nav-cta {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 9px;
  padding: 10px 15px;
  color: var(--white);
  border-radius: 8px;
  background: var(--blue-700);
  font-size: 0.72rem;
  font-weight: 750;
  transition: background 180ms ease, transform 180ms ease;
}

.nav-cta:hover {
  background: var(--navy-800);
  transform: translateY(-1px);
}

.nav-cta svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.menu-toggle {
  position: relative;
  z-index: 3;
  display: none;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  padding: 10px 0 10px 10px;
  color: var(--navy-900);
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle__text {
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.menu-toggle__icon {
  display: grid;
  width: 25px;
  gap: 6px;
}

.menu-toggle__icon i {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 220ms ease;
}

.nav-wrap.menu-open .menu-toggle__icon i:first-child {
  transform: translateY(4px) rotate(45deg);
}

.nav-wrap.menu-open .menu-toggle__icon i:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

/* Hero */
.hero {
  display: grid;
  min-height: 690px;
  grid-template-columns: minmax(0, 0.98fr) minmax(0, 1.02fr);
  color: var(--white);
  background: var(--navy-900);
}

.hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 8vw, 118px) max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter))) 50px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.035), transparent 38%),
    var(--navy-800);
}

.hero__content::after {
  position: absolute;
  content: "";
  right: -28px;
  bottom: 80px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--blue-600);
  box-shadow: 0 0 0 16px rgba(23, 111, 174, 0.15);
}

.hero__copy {
  width: min(100%, 660px);
}

.hero .eyebrow {
  margin-bottom: 25px;
}

.hero h1 {
  font-size: clamp(3.5rem, 6.2vw, 6.4rem);
}

.hero h1 em {
  color: #a7d7f2;
}

.hero__lead {
  max-width: 580px;
  margin: 30px 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: clamp(1.02rem, 1.5vw, 1.22rem);
  line-height: 1.62;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 35px;
}

.hero__services {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: auto;
  padding-top: 54px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero__services span {
  position: relative;
}

.hero__services span:not(:last-child)::after {
  position: absolute;
  content: "";
  top: 50%;
  right: -14px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #88c4e7;
}

.hero__image {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  background: #cbd5dc;
}

.hero__image::after {
  position: absolute;
  content: "";
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(10, 41, 65, 0.35), transparent 32%);
}

.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 57% center;
}

.hero__image figcaption,
.about__image figcaption {
  position: absolute;
  z-index: 2;
  right: 17px;
  bottom: 14px;
  padding: 5px 8px;
  color: rgba(255, 255, 255, 0.78);
  border-radius: 5px;
  background: rgba(7, 29, 45, 0.62);
  font-size: 0.59rem;
  font-weight: 650;
  letter-spacing: 0.06em;
}

.section-jump {
  display: flex;
  min-height: 62px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--navy-800);
  border-bottom: 1px solid var(--line);
  background: var(--white);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 180ms ease, background 180ms ease;
}

.section-jump:hover {
  color: var(--blue-700);
  background: var(--blue-50);
}

.section-jump svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Section heads */
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(270px, 0.6fr);
  gap: clamp(52px, 9vw, 130px);
  align-items: end;
  margin-bottom: clamp(50px, 7vw, 84px);
}

.section-head > * {
  min-width: 0;
}

.section-head .eyebrow {
  margin-bottom: 23px;
}

.section-head__copy {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 1.03rem;
}

.section-head--compact {
  margin-bottom: 56px;
}

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

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

.service-card {
  display: flex;
  min-height: 320px;
  min-width: 0;
  flex-direction: column;
  padding: clamp(27px, 3vw, 38px);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: 0 2px 0 rgba(7, 29, 45, 0.015);
  transition: border-color 240ms ease, box-shadow 240ms ease, transform 240ms var(--ease);
}

.service-card:hover {
  border-color: #b9cfdd;
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}

.service-card--wide {
  background: var(--blue-50);
}

.service-card__icon {
  display: grid;
  width: 56px;
  height: 56px;
  flex: 0 0 auto;
  place-items: center;
  margin-bottom: auto;
  color: var(--blue-700);
  border-radius: 14px;
  background: var(--blue-100);
}

.service-card__icon svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card--wide .service-card__icon {
  margin-bottom: auto;
}

.service-card h3 {
  margin: 32px 0 14px;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  line-height: 1.14;
  letter-spacing: -0.025em;
}

.service-card--wide h3 {
  margin: 32px 0 14px;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.68;
}

/* About */
.about {
  background: var(--white);
}

.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(58px, 9vw, 128px);
  align-items: center;
}

.about__grid > * {
  min-width: 0;
}

.about__image {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-md);
}

.about__image::before {
  position: absolute;
  z-index: 2;
  content: "";
  inset: 0;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: inherit;
}

.about__image img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.about__content .eyebrow {
  margin-bottom: 24px;
}

.about__content h2 {
  max-width: 740px;
}

.about__content h2 em {
  color: var(--blue-700);
}

.about__lead {
  margin: 34px 0 18px;
  color: var(--ink);
  font-size: clamp(1.16rem, 1.8vw, 1.42rem);
  line-height: 1.55;
}

.about__content > p:not(.eyebrow):not(.about__lead) {
  color: var(--muted);
}

.facts {
  display: grid;
  margin: 36px 0;
  border-top: 1px solid var(--line);
}

.facts div {
  display: grid;
  grid-template-columns: 135px 1fr;
  gap: 20px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}

.facts dt {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.facts dd {
  margin: 0;
  font-weight: 680;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 6px;
  color: var(--blue-700);
  border-bottom: 2px solid var(--blue-600);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.04em;
}

.text-link svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 180ms ease;
}

.text-link:hover svg {
  transform: translateX(4px);
}

/* Review */
.review {
  color: var(--white);
  background:
    radial-gradient(circle at 14% 12%, rgba(53, 142, 198, 0.22), transparent 33%),
    var(--navy-900);
}

.review__inner {
  display: grid;
  grid-template-columns: minmax(210px, 0.36fr) minmax(0, 1.64fr);
  gap: clamp(54px, 9vw, 124px);
  align-items: center;
}

.review__inner > * {
  min-width: 0;
}

.review__score {
  display: grid;
  align-content: center;
  min-height: 310px;
  padding: 36px;
  color: var(--navy-900);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.stars {
  color: #d79a36;
  font-size: 1.15rem;
  line-height: 1;
  letter-spacing: 0.1em;
}

.review__score strong {
  margin-top: 26px;
  font-size: clamp(4rem, 7vw, 6.5rem);
  font-weight: 770;
  line-height: 0.9;
  letter-spacing: -0.07em;
}

.review__score > span {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 650;
}

.review__score small {
  margin-top: 22px;
  padding-top: 18px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.review__quote {
  margin: 0;
}

.review__quote .eyebrow {
  margin-bottom: 28px;
}

.review__quote > p:not(.eyebrow) {
  max-width: 900px;
  margin-bottom: 38px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.05rem, 4vw, 4.05rem);
  font-style: italic;
  line-height: 1.22;
  letter-spacing: -0.028em;
}

.review__quote footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.72rem;
}

.review__quote footer a {
  color: #a7d7f2;
  border-bottom: 1px solid rgba(167, 215, 242, 0.45);
}

.review__quote footer a:hover {
  border-color: #a7d7f2;
}

/* Request */
.request {
  background: var(--blue-50);
}

.request h2 em {
  color: var(--blue-700);
}

.request-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border-top: 1px solid #c8d9e4;
  list-style: none;
}

.request-steps li {
  display: grid;
  grid-template-columns: 45px 1fr;
  gap: 18px;
  min-width: 0;
  padding: 32px clamp(18px, 3vw, 36px) 30px 0;
  border-bottom: 1px solid #c8d9e4;
}

.request-steps li:not(:first-child) {
  padding-left: clamp(18px, 3vw, 36px);
  border-left: 1px solid #c8d9e4;
}

.request-steps > li > span {
  color: var(--blue-600);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.request-steps h3 {
  margin: 0 0 8px;
  font-size: 1.18rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.request-steps p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

/* Contact */
.contact {
  color: var(--white);
  background: var(--navy-950);
}

.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.68fr) minmax(0, 1.32fr);
  gap: clamp(56px, 10vw, 138px);
  align-items: start;
}

.contact__grid > * {
  min-width: 0;
}

.contact__intro .eyebrow {
  margin-bottom: 25px;
}

.contact__intro h2 {
  font-size: clamp(3rem, 5.5vw, 5.4rem);
}

.contact__intro h2 em {
  color: #9bd0ef;
}

.contact__intro > p:last-child {
  max-width: 500px;
  margin: 32px 0 0;
  color: rgba(255, 255, 255, 0.62);
}

.contact-list {
  display: grid;
  margin: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-style: normal;
}

.contact-item {
  position: relative;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 24px;
  gap: 18px;
  align-items: center;
  min-height: 104px;
  padding: 20px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  transition: padding-left 220ms var(--ease), background 220ms ease;
}

.contact-item:hover {
  padding-left: 15px;
  background: rgba(255, 255, 255, 0.045);
}

.contact-item__icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: #9bd0ef;
  border-radius: 13px;
  background: rgba(155, 208, 239, 0.11);
}

.contact-item__icon svg,
.contact-item__arrow {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-item > span:nth-child(2) {
  display: grid;
  min-width: 0;
}

.contact-item small {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.65rem;
  font-weight: 750;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.contact-item strong {
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: clamp(1.08rem, 2vw, 1.4rem);
  font-weight: 650;
  line-height: 1.38;
}

.contact-item__arrow {
  color: #8cc6e8;
  transition: transform 180ms ease;
}

.contact-item:hover .contact-item__arrow {
  transform: translateX(4px);
}

/* Footer */
.site-footer {
  color: rgba(255, 255, 255, 0.66);
  background: #051620;
}

.site-footer__top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 34px;
  align-items: center;
  padding-block: 52px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
}

.wordmark--footer {
  justify-self: start;
  color: var(--white);
}

.site-footer__contact {
  display: flex;
  flex-wrap: wrap;
  gap: 11px 25px;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
}

.site-footer__contact a:hover {
  color: #9bd0ef;
}

.back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-self: end;
  font-size: 0.72rem;
  font-weight: 700;
}

.back-to-top:hover {
  color: #9bd0ef;
}

.back-to-top svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-footer__bottom {
  display: flex;
  min-height: 67px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.66rem;
}

.site-footer__bottom p {
  margin: 0;
}

.site-footer__bottom .projekt-von {
  color: rgba(255, 255, 255, 0.3);
  text-align: center;
}

.site-footer__bottom .projekt-von a {
  color: rgba(255, 255, 255, 0.58);
}

.site-footer__bottom nav {
  display: flex;
  gap: 24px;
}

.site-footer__bottom a:hover {
  color: var(--white);
}

.mobile-contact {
  display: none;
}

/* Legal pages */
.legal-main {
  min-height: 62vh;
  padding-block: clamp(68px, 9vw, 120px);
  background: var(--surface);
}

.legal-shell {
  width: min(100%, 860px);
  padding: clamp(30px, 6vw, 64px);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.legal-shell .eyebrow {
  margin-bottom: 22px;
}

.legal-shell h1 {
  margin-bottom: 42px;
  color: var(--navy-900);
  font-size: clamp(2.7rem, 6vw, 4.7rem);
}

.legal-shell h2 {
  margin: 38px 0 12px;
  color: var(--navy-900);
  font-size: 1.35rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.legal-shell h3 {
  margin: 28px 0 8px;
  font-size: 1.05rem;
}

.legal-shell p,
.legal-shell li {
  color: var(--muted);
}

.legal-shell ul {
  padding-left: 20px;
}

.legal-shell a:not(.text-link) {
  color: var(--blue-700);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-back {
  margin-top: 42px;
}

/* Motion */
.js-enabled .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 620ms var(--ease), transform 620ms var(--ease);
}

.js-enabled .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.js-enabled .service-card.reveal.is-visible:hover {
  transform: translateY(-3px);
}

/* Medium desktop */
@media (max-width: 1180px) {
  .nav-row {
    gap: 24px;
  }

  .main-nav {
    gap: 17px;
  }

  .main-nav > a:not(.nav-cta) {
    font-size: 0.68rem;
  }

  .hero {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  }

  .hero__content {
    padding-right: 46px;
  }
}

@media (max-width: 1024px) {
  :root {
    --gutter: 34px;
  }

  .wordmark__name {
    font-size: 1.35rem;
  }

  .hero {
    min-height: 640px;
  }

  .hero__content {
    padding-left: var(--gutter);
    padding-right: 42px;
  }

  .hero h1 {
    font-size: clamp(3.2rem, 6.2vw, 5.2rem);
  }

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

  .review__inner {
    grid-template-columns: minmax(210px, 0.45fr) minmax(0, 1.55fr);
  }

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

  .site-footer__contact {
    display: none;
  }
}

/* Tablet and mobile navigation */
@media (max-width: 860px) {
  html {
    scroll-padding-top: 74px;
  }

  .site-header {
    top: -32px;
  }

  .topbar,
  .topbar__inner {
    min-height: 32px;
  }

  .topbar__contact span,
  .topbar__contact a:last-child {
    display: none;
  }

  .nav-row {
    min-height: 72px;
  }

  .menu-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    z-index: 2;
    top: 0;
    left: 0;
    display: flex;
    visibility: hidden;
    width: 100vw;
    height: 100dvh;
    overflow-y: auto;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    padding: 112px var(--gutter) 88px;
    opacity: 0;
    background: var(--white);
    transform: translateY(-14px);
    transition: visibility 0s linear 260ms, opacity 260ms ease, transform 260ms var(--ease);
  }

  .nav-wrap.menu-open .main-nav {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0s;
  }

  .main-nav > a:not(.nav-cta) {
    display: block;
    width: 100%;
    padding: 15px 0;
    border-bottom: 1px solid var(--line);
    font-size: clamp(1.25rem, 4.2vw, 1.8rem);
    font-weight: 650;
    letter-spacing: -0.02em;
  }

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

  .main-nav .nav-cta {
    min-height: 50px;
    margin-top: 26px;
    padding-inline: 20px;
    font-size: 0.78rem;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .hero__content {
    min-height: 565px;
    padding: 78px var(--gutter) 42px;
  }

  .hero__content::after {
    right: 30px;
    bottom: -24px;
  }

  .hero h1 {
    font-size: clamp(3.5rem, 10.2vw, 5.4rem);
  }

  .hero__image {
    height: 390px;
  }

  .hero__image::after {
    background: linear-gradient(180deg, rgba(10, 41, 65, 0.22), transparent 35%);
  }

  .hero__image img {
    object-position: 58% center;
  }

  .section-head,
  .about__grid,
  .contact__grid {
    grid-template-columns: 1fr;
  }

  .section-head {
    gap: 34px;
  }

  .section-head__copy {
    max-width: 650px;
  }

  .about__grid {
    gap: 66px;
  }

  .about__image {
    width: min(82%, 550px);
  }

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

  .review__score {
    min-height: auto;
    grid-template-columns: auto 1fr;
    gap: 4px 24px;
    align-items: center;
  }

  .review__score .stars,
  .review__score small {
    grid-column: 1 / -1;
  }

  .review__score strong {
    grid-row: 2 / span 2;
    margin-top: 16px;
  }

  .review__score > span {
    align-self: end;
  }

  .review__score small {
    margin-top: 16px;
  }

  .request-steps {
    grid-template-columns: 1fr;
  }

  .request-steps li,
  .request-steps li:not(:first-child) {
    padding: 25px 0;
    border-left: 0;
  }

  .contact__grid {
    gap: 58px;
  }
}

@media (max-width: 700px) {
  :root {
    --gutter: 22px;
    --section: 82px;
  }

  body {
    padding-bottom: calc(68px + env(safe-area-inset-bottom));
  }

  body.menu-open .mobile-contact {
    visibility: hidden;
    opacity: 0;
    transform: translateY(100%);
  }

  .topbar__inner {
    justify-content: center;
    font-size: 0.64rem;
  }

  .topbar__contact {
    display: none;
  }

  .hero__content {
    min-height: 545px;
    padding-top: 70px;
  }

  .hero h1 {
    font-size: clamp(3.15rem, 13.2vw, 4.35rem);
  }

  .hero__actions .button {
    width: 100%;
  }

  .hero__services {
    gap: 8px 20px;
    padding-top: 42px;
    font-size: 0.61rem;
  }

  .hero__image {
    height: 300px;
  }

  .section-jump {
    min-height: 56px;
  }

  h2 {
    font-size: clamp(2.65rem, 11.7vw, 3.75rem);
  }

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

  .service-card {
    min-height: 275px;
  }

  .about__image {
    width: calc(100% - 14px);
    margin-left: 14px;
  }

  .review__score {
    padding: 28px;
  }

  .review__quote > p:not(.eyebrow) {
    font-size: clamp(1.8rem, 8.5vw, 2.75rem);
  }

  .facts div {
    grid-template-columns: 108px 1fr;
  }

  .contact__intro h2 {
    font-size: clamp(2.8rem, 12.3vw, 3.85rem);
  }

  .contact-item {
    grid-template-columns: 46px minmax(0, 1fr) 20px;
    gap: 13px;
    min-height: 94px;
  }

  .contact-item__icon {
    width: 42px;
    height: 42px;
  }

  .contact-item strong {
    font-size: 1rem;
  }

  .site-footer {
    padding-bottom: 0;
  }

  .site-footer__top {
    grid-template-columns: 1fr auto;
    padding-block: 42px;
  }

  .site-footer__bottom {
    display: grid;
    gap: 8px;
    padding-block: 20px;
  }

  .mobile-contact {
    position: fixed;
    z-index: 80;
    inset: auto 0 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: calc(68px + env(safe-area-inset-bottom));
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(7, 29, 45, 0.97);
    box-shadow: 0 -12px 30px rgba(7, 29, 45, 0.18);
    backdrop-filter: blur(12px);
    transition: visibility 180ms ease, opacity 180ms ease, transform 180ms ease;
  }

  .mobile-contact a {
    display: flex;
    min-height: 51px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    color: var(--white);
    border-radius: 8px;
    font-size: 0.76rem;
    font-weight: 750;
  }

  .mobile-contact a:first-child {
    background: var(--blue-600);
  }

  .mobile-contact a:last-child {
    color: #b8dff6;
  }

  .mobile-contact svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
}

@media (max-width: 430px) {
  :root {
    --gutter: 19px;
  }

  .wordmark::before {
    left: -10px;
    width: 3px;
  }

  .wordmark__kicker {
    font-size: 0.49rem;
  }

  .wordmark__name {
    font-size: 1.19rem;
  }

  .menu-toggle__text {
    display: none;
  }

  .hero__content {
    min-height: 520px;
    padding-top: 62px;
  }

  .hero h1 {
    font-size: clamp(3rem, 13.4vw, 3.65rem);
  }

  .hero__lead {
    margin-top: 24px;
    font-size: 0.97rem;
  }

  .hero__actions {
    margin-top: 28px;
  }

  .hero__services {
    display: none;
  }

  .hero__image {
    height: 260px;
  }

  .service-card {
    padding: 27px;
  }

  .service-card h3 {
    font-size: 1.42rem;
  }

  .facts div {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .review__score {
    grid-template-columns: 92px 1fr;
  }

  .review__score strong {
    font-size: 4.25rem;
  }

  .request-steps li {
    grid-template-columns: 38px 1fr;
    gap: 12px;
  }

  .contact-item {
    grid-template-columns: 42px minmax(0, 1fr) 18px;
    gap: 10px;
  }

  .contact-item__arrow {
    width: 18px;
    height: 18px;
  }

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

  .back-to-top {
    justify-self: start;
  }
}

@media (max-width: 360px) {
  .hero h1 {
    font-size: 2.9rem;
  }

  .hero__content {
    min-height: 505px;
  }

  .button {
    padding-inline: 17px;
  }

  .contact-item__icon {
    display: none;
  }

  .contact-item {
    grid-template-columns: minmax(0, 1fr) 18px;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

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