:root {
  color-scheme: dark;
  --bg: #03070c;
  --bg-soft: #06111c;
  --panel: rgba(8, 18, 30, 0.64);
  --panel-strong: rgba(8, 20, 34, 0.86);
  --line: rgba(104, 145, 200, 0.22);
  --line-strong: rgba(35, 132, 255, 0.6);
  --text: #f4f8ff;
  --muted: #a4afbf;
  --dim: #68758a;
  --blue: #1178ff;
  --blue-2: #46a2ff;
  --max: 1130px;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at 48% 0%, rgba(17, 120, 255, 0.18), transparent 34rem),
    linear-gradient(180deg, #010509 0%, #040910 58%, #010509 100%);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(65, 145, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(65, 145, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, transparent, black 20%, black 76%, transparent);
}

body.modal-open {
  overflow: hidden;
}

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

section[id] {
  scroll-margin-top: 96px;
}

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  width: 100%;
  height: 88px;
  padding-inline: max(24px, calc((100vw - var(--max)) / 2));
}

.site-header.is-scrolled {
  width: 100%;
  margin-inline: 0;
  background: rgba(2, 6, 11, 0.78);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

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

.brand-logo {
  width: 150px;
  height: auto;
  object-fit: contain;
}

.main-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 38px;
  color: #f4f7fb;
  font-size: 14px;
  font-weight: 700;
}

.main-nav a,
.footer-grid a,
.footer-bottom a {
  transition: color 160ms ease;
}

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

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 42px;
  border: 0;
  border-radius: 4px;
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease;
  will-change: transform;
}

.header-cta {
  padding: 0 22px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  color: var(--text);
  background: rgba(4, 15, 28, 0.46);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.btn {
  min-height: 44px;
  padding: 0 28px;
}

.btn-primary {
  background: linear-gradient(135deg, #1686ff, #0b61ff);
  box-shadow: 0 0 30px rgba(17, 120, 255, 0.28);
}

.btn-primary:hover,
.header-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 34px rgba(17, 120, 255, 0.42);
}

.btn-secondary {
  border: 1px solid var(--line-strong);
  background: rgba(4, 14, 25, 0.58);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  border-color: rgba(70, 162, 255, 0.95);
  background: rgba(17, 120, 255, 0.12);
  box-shadow: 0 0 24px rgba(17, 120, 255, 0.2);
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 645px;
  display: grid;
  align-items: center;
  overflow: hidden;
  border-bottom: 0;
  background: #010509;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(1, 5, 9, 0) 0%, rgba(1, 5, 9, 0.2) 40%, rgba(1, 5, 9, 0.38) 54%, rgba(1, 5, 9, 0) 75%),
    linear-gradient(180deg, rgba(1, 5, 9, 0) 0%, rgba(1, 5, 9, 0) 76%, rgba(1, 5, 9, 0.92) 100%),
    radial-gradient(ellipse at 52% 48%, rgba(1, 5, 9, 0.34), transparent 23rem);
}

.hero-bg,
.cta-band > img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-bg {
  inset: 72px 0 auto auto;
  width: 70%;
  height: calc(100% - 8px);
  left: auto;
  object-fit: cover;
  object-position: right center;
  z-index: 0;
  opacity: 1;
  filter: brightness(1.42) contrast(1.12) saturate(1.18) drop-shadow(0 0 34px rgba(17, 120, 255, 0.28));
  image-rendering: auto;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.45) 16%, #000 34%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.45) 16%, #000 34%, #000 100%);
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 87% 58%, rgba(17, 120, 255, 0.34), transparent 23rem),
    linear-gradient(90deg, #010509 0%, rgba(1, 5, 9, 0.96) 31%, rgba(1, 5, 9, 0.58) 50%, rgba(1, 5, 9, 0.12) 74%, rgba(1, 5, 9, 0.02) 100%),
    linear-gradient(180deg, rgba(1, 5, 9, 0.04) 0%, rgba(1, 5, 9, 0.1) 70%, #010509 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 90px;
}

.eyebrow {
  margin: 0 0 16px;
  color: #a8b2c2;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow span,
.eyebrow.centered,
.case-copy .eyebrow,
.cta-content .eyebrow {
  color: var(--blue-2);
}

.hero h1 {
  max-width: 740px;
  margin: 0;
  font-size: clamp(40px, 4.3vw, 52px);
  line-height: 1.05;
  font-weight: 700;
}

.hero h1 span {
  color: var(--blue);
}

.hero-copy {
  max-width: 455px;
  margin: 24px 0 0;
  color: #bdc6d3;
  font-size: 17px;
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 26px;
}

.trust {
  position: relative;
  padding: 30px 24px 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background:
    linear-gradient(180deg, rgba(1, 5, 9, 0.96), rgba(4, 10, 20, 0.98) 28%, rgba(4, 10, 20, 0.98) 72%, rgba(1, 5, 9, 0.96)),
    #040a14;
}

.trust::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
}

.trust p {
  transform: translateY(-12px);
  margin: 0 auto 3px;
  color: var(--blue-2);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-align: center;
  text-transform: uppercase;
}

.logo-row {
  width: min(100%, var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  gap: 28px;
  color: rgba(244, 248, 255, 0.84);
}

.logo-row a {
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.logo-row a:hover {
  background: transparent;
  opacity: 1;
}

.logo-row a:hover img {
  opacity: 1;
  filter: grayscale(0.25) saturate(0.9) brightness(1.16);
}

.logo-row img {
  width: 100%;
  max-width: 165px;
  max-height: 58px;
  margin: 0 auto;
  object-fit: contain;
  opacity: 0.72;
  filter: grayscale(0.75) saturate(0.65) brightness(1.08);
  transition: all 0.3s ease;
}

.logo-row a:nth-child(4) img {
  max-width: 112px;
  max-height: 34px;
}

.section {
  padding: 54px 0 30px;
}

.section-heading {
  text-align: center;
}

.section-heading h2,
.case-copy h2,
.cta-content h2 {
  margin: 0;
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.12;
  font-weight: 700;
}

.section-heading.compact h2 {
  font-size: clamp(26px, 2.7vw, 32px);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.service-card {
  display: flex;
  flex-direction: column;
  min-height: 235px;
  padding: 28px 25px 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(16, 37, 59, 0.48), rgba(5, 12, 20, 0.62)),
    rgba(4, 10, 17, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.service-card:hover {
  border-color: rgba(29, 120, 255, 0.66);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 0 0 1px rgba(29, 120, 255, 0.12),
    0 0 24px rgba(29, 120, 255, 0.16);
}

.service-card h3,
.reason h3 {
  margin: 20px 0 13px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.service-card h3 {
  min-height: 38px;
  transition: color 180ms ease, text-shadow 180ms ease;
}

.service-card:hover h3 {
  color: #eef6ff;
  text-shadow:
    0 0 8px rgba(29, 120, 255, 0.72),
    0 0 18px rgba(29, 120, 255, 0.34);
}

.service-card p,
.case-copy p,
.reason p,
.cta-content p,
.site-footer p {
  color: #b4bfcc;
  line-height: 1.7;
}

.service-card p {
  margin: 0;
}

.service-icon-img {
  width: 48px;
  height: 48px;
  display: block;
  flex: 0 0 48px;
  object-fit: contain;
  transition: filter 180ms ease, transform 180ms ease;
  filter: invert(41%) sepia(98%) saturate(2688%) hue-rotate(202deg) brightness(104%) contrast(101%);
}

.service-card:hover .service-icon-img {
  transform: translateY(-2px);
  filter:
    invert(41%) sepia(98%) saturate(2688%) hue-rotate(202deg) brightness(120%) contrast(108%)
    drop-shadow(0 0 8px rgba(29, 120, 255, 0.72))
    drop-shadow(0 0 18px rgba(29, 120, 255, 0.38));
}

.service-icon-webseite {
  width: 48px;
  height: 48px;
  padding: 4px;
  transform: translateY(2px);
}

.service-card:hover .service-icon-webseite {
  transform: translateY(0);
}

.david-section {
  padding: 24px 0 34px;
}

.david-card {
  position: relative;
  min-height: 520px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px minmax(440px, 1.02fr);
  align-items: end;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(5, 13, 23, 0.98) 0%, rgba(5, 13, 23, 0.94) 31%, rgba(5, 13, 23, 0.72) 49%, rgba(5, 13, 23, 0.18) 68%, rgba(5, 13, 23, 0.08) 100%),
    linear-gradient(145deg, rgba(16, 37, 59, 0.52), rgba(4, 10, 18, 0.78));
}

.david-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(5, 13, 23, 0) 0%, rgba(5, 13, 23, 0.14) 37%, rgba(5, 13, 23, 0.24) 49%, rgba(5, 13, 23, 0) 58%, rgba(5, 13, 23, 0) 100%);
}

.david-copy {
  position: relative;
  z-index: 2;
  padding: 34px 30px 30px;
  align-self: stretch;
}

.david-copy .eyebrow {
  color: var(--blue-2);
}

.david-copy h2 {
  max-width: 540px;
  margin: 0;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.16;
}

.david-copy > p:not(.eyebrow) {
  max-width: 520px;
  margin: 18px 0 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(104, 145, 200, 0.16);
  color: #c2ccd8;
  line-height: 1.65;
}

.david-profile h3 {
  margin: 0 0 4px;
  font-size: 28px;
}

.david-profile > p {
  margin: 0 0 18px;
  color: var(--blue-2);
  font-size: 18px;
}

.david-profile ul,
.david-cert ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.david-profile li,
.david-cert li {
  position: relative;
  padding-left: 28px;
  color: #d1d8e3;
  line-height: 1.45;
}

.david-profile li::before,
.david-cert li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--blue-2);
  font-weight: 800;
}

.david-profile li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 14px;
  align-items: start;
  padding-left: 0;
}

.david-profile li::before {
  content: none;
}

.profile-icon-img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  filter: invert(41%) sepia(98%) saturate(2688%) hue-rotate(202deg) brightness(104%) contrast(101%);
}

.david-profile li:nth-child(1) .profile-icon-img {
  transform: scale(0.94);
}

.david-profile li:nth-child(2) .profile-icon-img {
  transform: scale(0.94);
}

.david-actions {
  display: flex;
  align-items: center;
  margin-top: 22px;
}

.david-actions .btn {
  min-width: 218px;
}

.david-about-linkedin {
  gap: 18px;
}

.david-about-linkedin svg {
  width: 19px;
  height: 19px;
  padding-left: 16px;
  border-left: 1px solid rgba(70, 162, 255, 0.32);
  box-sizing: content-box;
  color: var(--blue-2);
  fill: currentColor;
}

.david-cert {
  position: relative;
  z-index: 2;
  margin: 0 0 24px;
  padding: 21px 22px 20px;
  border: 1px solid rgba(70, 162, 255, 0.34);
  border-radius: 8px;
  background: rgba(8, 24, 42, 0.88);
  backdrop-filter: blur(12px);
  box-shadow: 0 16px 46px rgba(0, 0, 0, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.ihk-badge {
  display: inline-flex;
  max-width: 218px;
  margin-bottom: 14px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: transparent;
}

.ihk-badge img {
  width: 210px;
  height: auto;
  object-fit: contain;
  filter: none;
  opacity: 1;
}

.david-cert h3 {
  margin: 0 0 6px;
  font-size: 18px;
}

.david-cert p {
  margin: 0 0 15px;
  color: #c5ceda;
  font-size: 14px;
  line-height: 1.45;
}

.david-cert li {
  font-size: 13px;
}

.david-photo {
  position: absolute;
  inset: 0 0 0 auto;
  z-index: 0;
  width: 53%;
  height: 100%;
  object-fit: cover;
  object-position: 52% center;
  filter: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.18) 8%, #000 23%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.18) 8%, #000 23%, #000 100%);
}

.icon {
  position: relative;
  width: 48px;
  height: 48px;
  color: var(--blue);
}

.icon::before,
.icon::after {
  content: "";
  position: absolute;
  border-color: currentColor;
}

.target-icon::before {
  inset: 9px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.target-icon::after {
  left: 22px;
  top: 3px;
  width: 2px;
  height: 42px;
  background: currentColor;
  box-shadow: -19px 19px 0 -1px currentColor, 19px 19px 0 -1px currentColor;
}

.gear-icon::before {
  inset: 8px;
  border: 2px solid currentColor;
  border-radius: 50%;
  box-shadow: 0 -7px 0 -4px currentColor, 0 7px 0 -4px currentColor, 7px 0 0 -4px currentColor, -7px 0 0 -4px currentColor;
}

.gear-icon::after {
  inset: 19px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.brain-icon::before {
  inset: 6px 12px;
  border: 2px solid currentColor;
  border-radius: 50% 50% 38% 38%;
}

.brain-icon::after {
  left: 23px;
  top: 10px;
  height: 29px;
  border-left: 2px solid currentColor;
}

.chart-icon::before {
  inset: 7px;
  border: 2px solid currentColor;
}

.chart-icon::after {
  left: 16px;
  bottom: 13px;
  width: 5px;
  height: 13px;
  background: currentColor;
  box-shadow: 10px -9px 0 currentColor, 20px -18px 0 currentColor;
}

.case-section {
  padding: 0 0 34px;
}

.case-card {
  display: grid;
  grid-template-columns: 1.35fr 0.58fr 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(9, 22, 37, 0.86), rgba(3, 7, 12, 0.86));
}

.practice-card {
  grid-template-columns: 1.25fr 0.72fr 1fr;
}

.case-copy {
  padding: 46px 34px;
}

.case-copy p:not(.eyebrow) {
  max-width: 440px;
}

.case-stats {
  padding: 38px 26px;
  border-left: 1px solid rgba(104, 145, 200, 0.12);
  background: linear-gradient(180deg, rgba(10, 24, 39, 0.82), rgba(3, 8, 15, 0.82));
}

.practice-stats {
  display: grid;
  align-content: center;
  gap: 20px;
}

.case-logo {
  margin-bottom: 50px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.case-logo span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0;
}

.case-stats p {
  margin: 0 0 14px;
}

.practice-stats p {
  margin: 0;
}

.case-stats strong {
  display: block;
  color: var(--blue);
  font-size: 39px;
  line-height: 0.96;
}

.case-stats span {
  color: #bbc4d0;
  font-size: 14px;
}

.case-card img {
  width: 100%;
  height: 100%;
  min-height: 315px;
  object-fit: cover;
}

.practice-visual {
  position: relative;
  min-height: 315px;
  overflow: hidden;
  background:
    radial-gradient(circle at 48% 48%, rgba(17, 120, 255, 0.34), transparent 16rem),
    linear-gradient(145deg, rgba(6, 19, 34, 0.94), rgba(1, 5, 9, 0.96));
}

.practice-visual::before,
.practice-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.practice-visual::before {
  background-image:
    linear-gradient(rgba(70, 162, 255, 0.11) 1px, transparent 1px),
    linear-gradient(90deg, rgba(70, 162, 255, 0.11) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at 50% 50%, black, transparent 72%);
}

.practice-visual::after {
  background:
    linear-gradient(90deg, rgba(1, 5, 9, 0.38), transparent 42%),
    linear-gradient(180deg, transparent 55%, rgba(1, 5, 9, 0.76));
}

.practice-visual img {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 92%;
  height: 92%;
  min-height: 0;
  object-fit: contain;
  transform: translate(-50%, -50%);
  opacity: 0.74;
  filter: brightness(1.12) contrast(1.08) saturate(1.08);
}

.pricing-section {
  padding: 0 0 54px;
}

.pricing-heading {
  max-width: 780px;
  margin: 0 auto;
}

.pricing-heading p:not(.eyebrow) {
  max-width: 760px;
  margin: 16px auto 0;
  color: #b8c3d0;
  font-size: 16px;
  line-height: 1.7;
}

.pricing-heading .pricing-note {
  max-width: 720px;
  color: var(--blue-2);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.55;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 34px;
}

.pricing-card {
  position: relative;
  display: grid;
  grid-template-rows: 238px 1fr auto;
  min-height: 455px;
  padding: 28px 22px 22px;
  overflow: hidden;
  border: 1px solid rgba(104, 145, 200, 0.2);
  border-radius: 8px;
  background:
    radial-gradient(circle at 18% 0%, rgba(17, 120, 255, 0.14), transparent 18rem),
    linear-gradient(180deg, rgba(8, 20, 34, 0.78), rgba(3, 8, 15, 0.78));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.pricing-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(70, 162, 255, 0.58), transparent);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.pricing-card:hover {
  transform: translateY(-4px);
  border-color: rgba(70, 162, 255, 0.46);
  background:
    radial-gradient(circle at 20% 0%, rgba(17, 120, 255, 0.19), transparent 18rem),
    linear-gradient(180deg, rgba(10, 25, 42, 0.88), rgba(3, 8, 15, 0.86));
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28), 0 0 24px rgba(17, 120, 255, 0.1);
}

.pricing-card:hover::before {
  opacity: 1;
}

.pricing-card-featured {
  border-color: rgba(70, 162, 255, 0.62);
  background:
    radial-gradient(circle at 50% 0%, rgba(17, 120, 255, 0.25), transparent 18rem),
    linear-gradient(180deg, rgba(10, 30, 52, 0.95), rgba(4, 12, 22, 0.92));
  box-shadow: 0 0 34px rgba(17, 120, 255, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.pricing-badge {
  position: absolute;
  top: 28px;
  left: 22px;
  align-self: flex-start;
  margin: 0;
  padding: 7px 10px;
  border: 1px solid rgba(70, 162, 255, 0.5);
  border-radius: 999px;
  color: var(--blue-2);
  background: rgba(17, 120, 255, 0.1);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pricing-card-featured > div {
  padding-top: 52px;
}

.pricing-card h3 {
  margin: 0 0 16px;
  font-size: 18px;
  line-height: 1.28;
}

.pricing-price {
  margin: 0;
  color: var(--text);
  font-size: clamp(30px, 3vw, 40px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
}

.pricing-copy {
  min-height: 78px;
  margin: 18px 0 22px;
  color: #b9c4d1;
  font-size: 14px;
  line-height: 1.6;
}

.pricing-list {
  display: grid;
  gap: 12px;
  margin: 0 0 24px;
  padding: 22px 0 0;
  border-top: 1px solid rgba(104, 145, 200, 0.14);
  color: #d7dee8;
  font-size: 14px;
  line-height: 1.35;
  list-style: none;
}

.pricing-list li {
  position: relative;
  padding-left: 24px;
}

.pricing-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--blue-2);
  font-weight: 800;
}

.pricing-button {
  width: 100%;
  justify-content: center;
  text-align: center;
}

.pricing-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-top: 22px;
  padding: 22px 24px;
  border: 1px solid rgba(104, 145, 200, 0.16);
  border-radius: 8px;
  background: rgba(4, 13, 23, 0.52);
}

.pricing-footer p {
  max-width: 600px;
  margin: 0;
  color: #c0cad7;
  line-height: 1.55;
}

.pricing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.reasons {
  padding-top: 0;
  padding-bottom: 44px;
}

.projects-section {
  padding-top: 14px;
  padding-bottom: 54px;
}

.projects-section .section-heading p:not(.eyebrow) {
  max-width: 680px;
  margin: 14px auto 0;
  color: #b8c3d0;
  line-height: 1.65;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 30px;
}

.project-card {
  overflow: hidden;
  border: 1px solid rgba(104, 145, 200, 0.2);
  border-radius: 8px;
  background:
    radial-gradient(circle at 20% 0%, rgba(17, 120, 255, 0.12), transparent 18rem),
    linear-gradient(180deg, rgba(8, 20, 34, 0.78), rgba(3, 8, 15, 0.82));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.project-card:hover {
  transform: translateY(-4px);
  border-color: rgba(70, 162, 255, 0.42);
  background:
    radial-gradient(circle at 20% 0%, rgba(17, 120, 255, 0.17), transparent 18rem),
    linear-gradient(180deg, rgba(10, 25, 42, 0.86), rgba(3, 8, 15, 0.86));
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
}

.project-preview {
  position: relative;
  min-height: 185px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(104, 145, 200, 0.16);
  background:
    linear-gradient(rgba(70, 162, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(70, 162, 255, 0.08) 1px, transparent 1px),
    radial-gradient(circle at 50% 30%, rgba(17, 120, 255, 0.2), transparent 14rem),
    linear-gradient(145deg, rgba(6, 18, 32, 0.95), rgba(1, 5, 9, 0.96));
  background-size: 34px 34px, 34px 34px, auto, auto;
}

.project-preview::before {
  content: "";
  position: absolute;
  inset: 22px;
  border: 1px solid rgba(104, 145, 200, 0.18);
  border-radius: 6px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 18px),
    rgba(1, 5, 9, 0.2);
}

.project-preview span {
  position: relative;
  z-index: 1;
  color: rgba(244, 248, 255, 0.88);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project-preview-dyn4mic {
  background-color: rgba(8, 22, 38, 0.95);
}

.project-preview-aivo {
  background-color: rgba(4, 13, 24, 0.98);
}

.project-preview-fortyfour {
  background-color: rgba(4, 13, 24, 0.98);
}

.project-preview-fource {
  background-color: rgba(5, 16, 30, 0.98);
}

.project-preview-rwm {
  background-color: rgba(6, 18, 30, 0.98);
}

.project-preview-upranked {
  background-color: rgba(7, 20, 34, 0.98);
}

.project-preview-image {
  padding: 0;
  background: #010509;
}

.project-preview-image::before {
  display: none;
}

.project-preview-image img {
  width: 100%;
  height: 100%;
  min-height: 185px;
  object-fit: cover;
  object-position: top center;
  filter: saturate(0.95) brightness(0.9);
  transition: transform 0.3s ease, filter 0.3s ease;
}

.project-card:hover .project-preview-image img {
  transform: scale(1.025);
  filter: saturate(1) brightness(0.98);
}

.project-body {
  padding: 24px 22px 22px;
}

.project-body h3 {
  margin: 0 0 10px;
  font-size: 18px;
}

.project-body p {
  min-height: 70px;
  margin: 0 0 22px;
  color: #b4bfcc;
  line-height: 1.65;
}

.project-button {
  width: 100%;
}

.project-button:disabled {
  opacity: 0.62;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.reason-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px;
  margin-top: 30px;
}

.reason {
  display: grid;
  grid-template-columns: 52px 1fr;
  column-gap: 18px;
}

.reason h3 {
  grid-column: 2;
  margin: 0 0 6px;
  font-size: 13px;
  letter-spacing: 0;
  text-transform: none;
}

.reason p {
  grid-column: 2;
  margin: 0;
  font-size: 14px;
}

.reason-icon-img {
  grid-row: 1 / span 2;
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: invert(41%) sepia(98%) saturate(2688%) hue-rotate(202deg) brightness(104%) contrast(101%);
}

.reason:nth-child(1) .reason-icon-img {
  transform: scale(0.86);
}

.reason:nth-child(2) .reason-icon-img {
  transform: scale(0.9);
}

.reason:nth-child(3) .reason-icon-img {
  transform: scale(1.12);
}

.reason:nth-child(4) .reason-icon-img {
  transform: scale(0.88);
}

.cta-band {
  position: relative;
  min-height: 270px;
  display: grid;
  align-items: center;
  overflow: hidden;
  border-top: 1px solid rgba(104, 145, 200, 0.14);
  border-bottom: 1px solid rgba(104, 145, 200, 0.16);
}

.cta-band > img {
  width: 164%;
  height: 164%;
  left: auto;
  right: 0;
  top: 50%;
  transform: translateY(-50%) scale(0.6);
  transform-origin: right center;
  object-position: right center;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.12) 18%, rgba(0, 0, 0, 0.58) 38%, #000 52%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.12) 18%, rgba(0, 0, 0, 0.58) 38%, #000 52%, #000 100%);
}

.cta-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(3, 8, 14, 1) 0%, rgba(4, 13, 25, 0.98) 30%, rgba(5, 18, 34, 0.84) 44%, rgba(3, 8, 14, 0.34) 64%, rgba(3, 8, 14, 0.04) 100%),
    radial-gradient(circle at 24% 50%, rgba(17, 120, 255, 0.42), transparent 28rem);
}

.cta-content {
  max-width: 510px;
  margin-left: max(24px, calc((100vw - var(--max)) / 2));
}

.cta-content p:not(.eyebrow) {
  max-width: 430px;
  margin-bottom: 24px;
}

.cta-details {
  display: grid;
  gap: 8px;
  margin: 0 0 26px;
  padding: 0;
  color: #d8e2ee;
  font-size: 14px;
  line-height: 1.45;
  list-style: none;
}

.cta-details li {
  position: relative;
  padding-left: 24px;
}

.cta-details li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--blue-2);
  font-weight: 800;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.contact-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.contact-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(1, 5, 9, 0.72);
  backdrop-filter: blur(18px);
}

.contact-dialog {
  position: relative;
  width: min(100%, 720px);
  max-height: min(92vh, 860px);
  overflow: auto;
  padding: 32px;
  border: 1px solid rgba(70, 162, 255, 0.28);
  border-radius: 8px;
  background:
    radial-gradient(circle at 18% 0%, rgba(17, 120, 255, 0.16), transparent 18rem),
    linear-gradient(145deg, rgba(8, 22, 38, 0.98), rgba(2, 7, 13, 0.98));
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.58), 0 0 34px rgba(17, 120, 255, 0.12);
  transform: translateY(16px) scale(0.98);
  transition: transform 0.22s ease;
}

.contact-modal.is-open .contact-dialog {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(104, 145, 200, 0.22);
  border-radius: 6px;
  color: var(--text);
  background: rgba(4, 14, 25, 0.72);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.modal-close:hover {
  border-color: rgba(70, 162, 255, 0.7);
  color: var(--blue-2);
  background: rgba(17, 120, 255, 0.12);
}

.contact-dialog-heading {
  max-width: 560px;
  margin-bottom: 24px;
}

.contact-dialog-heading .eyebrow {
  color: var(--blue-2);
}

.contact-dialog-heading h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.12;
}

.contact-dialog-heading p:not(.eyebrow) {
  margin: 14px 0 0;
  color: #b8c3d0;
  line-height: 1.65;
}

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

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

.contact-form label {
  display: grid;
  gap: 8px;
  color: #dbe5f0;
  font-size: 13px;
  font-weight: 700;
}

.form-full {
  grid-column: 1 / -1;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(104, 145, 200, 0.24);
  border-radius: 6px;
  color: var(--text);
  background: rgba(3, 10, 18, 0.72);
  font: inherit;
  font-size: 15px;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.contact-form input,
.contact-form select {
  height: 46px;
  padding: 0 14px;
}

.contact-form select {
  appearance: none;
  background:
    linear-gradient(45deg, transparent 50%, var(--blue-2) 50%) calc(100% - 18px) 19px / 7px 7px no-repeat,
    linear-gradient(135deg, var(--blue-2) 50%, transparent 50%) calc(100% - 13px) 19px / 7px 7px no-repeat,
    rgba(3, 10, 18, 0.72);
}

.contact-form textarea {
  min-height: 130px;
  resize: vertical;
  padding: 13px 14px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: rgba(70, 162, 255, 0.72);
  background: rgba(5, 16, 28, 0.9);
  box-shadow: 0 0 0 3px rgba(17, 120, 255, 0.12);
}

.privacy-check {
  display: flex !important;
  grid-template-columns: none;
  align-items: flex-start;
  gap: 10px !important;
  color: #b9c4d1 !important;
  font-weight: 500 !important;
  line-height: 1.5;
}

.privacy-check input {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  margin-top: 2px;
  accent-color: var(--blue);
}

.privacy-check a {
  color: var(--blue-2);
  text-decoration: underline;
  text-decoration-color: rgba(70, 162, 255, 0.45);
}

.form-status {
  min-height: 20px;
  margin: -4px 0 0;
  color: var(--blue-2);
  font-size: 14px;
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
  padding-top: 2px;
}

.site-footer {
  background: #03070c;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr repeat(4, 1fr);
  gap: 42px;
  padding: 28px 0 32px;
}

.footer-logo {
  width: 135px;
}

.site-footer p {
  color: #7f8a99;
  font-size: 13px;
}

.footer-grid h4 {
  margin: 0 0 12px;
  font-size: 12px;
}

.footer-grid a {
  display: block;
  margin-bottom: 8px;
  color: #aeb8c6;
  font-size: 12px;
}

.socials {
  display: flex;
  gap: 12px;
}

.socials a {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(104, 145, 200, 0.22);
  border-radius: 6px;
  color: #f4f8ff;
  background: rgba(6, 16, 28, 0.52);
  transition: border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.socials a:hover {
  color: var(--blue-2);
  border-color: var(--line-strong);
  transform: translateY(-2px);
}

.socials svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0 22px;
  border-top: 1px solid rgba(104, 145, 200, 0.13);
  color: #8d98a8;
  font-size: 12px;
}

.footer-bottom div {
  display: flex;
  gap: 38px;
}

.legal-header {
  position: fixed;
  inset: 0 0 auto;
  top: 0;
  background: rgba(2, 6, 11, 0.82);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.legal-main {
  min-height: 70vh;
}

.legal-hero {
  position: relative;
  overflow: hidden;
  padding: 118px 0 46px;
  border-bottom: 1px solid rgba(104, 145, 200, 0.14);
  background:
    radial-gradient(circle at 74% 25%, rgba(17, 120, 255, 0.22), transparent 24rem),
    linear-gradient(135deg, rgba(5, 18, 32, 0.96), rgba(2, 6, 11, 0.98));
}

.legal-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(70, 162, 255, 0.78), transparent);
}

.legal-hero h1 {
  margin: 0;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1;
}

.legal-hero p:not(.eyebrow) {
  max-width: 620px;
  margin: 20px 0 0;
  color: #b7c1cf;
  font-size: 18px;
  line-height: 1.6;
}

.legal-content {
  padding: 48px 0 72px;
}

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

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

.legal-panel {
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(16, 37, 59, 0.42), rgba(5, 12, 20, 0.68));
}

.legal-intro-card {
  position: relative;
  overflow: hidden;
  max-width: 880px;
}

.legal-intro-card::after {
  content: "";
  position: absolute;
  top: -40%;
  right: -8%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(17, 120, 255, 0.24), transparent 68%);
}

.legal-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 880px;
}

.legal-info-card {
  min-height: 190px;
  padding: 26px;
  border: 1px solid rgba(104, 145, 200, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(9, 24, 39, 0.86), rgba(4, 10, 18, 0.78)),
    rgba(4, 10, 17, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.legal-info-card span {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--blue-2);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.legal-info-card h3 {
  margin: 0 0 12px;
  color: var(--text);
  font-size: 21px;
}

.legal-info-card p {
  margin: 0;
  color: #b8c3d0;
  font-size: 15px;
  line-height: 1.75;
}

.legal-info-card strong {
  color: var(--text);
}

.legal-note-card {
  max-width: 880px;
}

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

.legal-panel h2,
.legal-panel h3 {
  color: var(--text);
}

.legal-panel h2 {
  margin: 34px 0 12px;
  font-size: 25px;
}

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

.legal-panel h3 {
  margin: 30px 0 10px;
  font-size: 18px;
}

.legal-panel p,
.legal-panel li {
  color: #b8c3d0;
  font-size: 16px;
  line-height: 1.75;
}

.legal-panel a {
  color: var(--blue-2);
}

.legal-panel ul {
  margin: 10px 0 0;
  padding-left: 22px;
}

.legal-footer-bottom {
  border-top: 0;
}

.coming-soon-main {
  min-height: 100vh;
  background:
    radial-gradient(circle at 50% 38%, rgba(17, 120, 255, 0.28), transparent 26rem),
    linear-gradient(180deg, #02050a 0%, #06111c 100%);
}

.coming-soon-hero {
  min-height: 100vh;
  display: grid;
  align-items: center;
  padding: 110px 0 70px;
}

.coming-soon-content {
  max-width: 760px;
  text-align: center;
}

.coming-soon-logo {
  width: min(280px, 72vw);
  margin: 0 auto 34px;
}

.coming-soon-content h1 {
  margin: 0;
  font-size: clamp(44px, 7vw, 82px);
  line-height: 0.98;
}

.coming-soon-content p:not(.eyebrow) {
  max-width: 620px;
  margin: 24px auto 0;
  color: #b8c3d0;
  font-size: 18px;
  line-height: 1.7;
}

.coming-soon-actions {
  justify-content: center;
}

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

  .site-header.is-scrolled {
    width: 100%;
    margin-inline: 0;
  }

  .menu-toggle {
    justify-self: end;
    display: grid;
    gap: 7px;
    width: 44px;
    height: 44px;
    padding: 13px 10px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: rgba(5, 15, 26, 0.8);
  }

  .menu-toggle span {
    display: block;
    height: 2px;
    background: var(--text);
  }

  .main-nav,
  .header-cta {
    display: none;
  }

  .site-header.nav-open .main-nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    width: 100%;
    display: grid;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(3, 8, 14, 0.96);
    backdrop-filter: blur(18px);
  }

  .site-header.nav-open .main-nav a {
    padding: 15px;
  }

  .hero {
    min-height: 630px;
  }

  .hero-bg {
    inset: 54px 0 auto auto;
    width: 84%;
    height: calc(100% + 20px);
    object-position: right center;
  }

  .logo-row,
  .service-grid,
  .pricing-grid,
  .project-grid,
  .reason-grid,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-card {
    min-height: 410px;
  }

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

  .pricing-actions {
    justify-content: flex-start;
  }

  .case-card {
    grid-template-columns: 1fr;
  }

  .david-card {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .david-photo {
    position: relative;
    width: 100%;
    height: 460px;
    order: 1;
    object-position: center top;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .david-copy {
    order: 2;
  }

  .david-cert {
    order: 3;
    margin: 0 28px 28px;
    max-width: 520px;
  }

  .legal-card-grid,
  .legal-note-grid {
    grid-template-columns: 1fr;
  }

  .case-stats {
    border-top: 1px solid rgba(104, 145, 200, 0.12);
    border-left: 0;
  }

  .case-logo {
    margin-bottom: 26px;
  }
}

@media (max-width: 640px) {
  .container,
  .site-header {
    width: min(calc(100% - 32px), var(--max));
  }

  .site-header {
    width: 100%;
    padding-inline: 16px;
  }

  .site-header.is-scrolled {
    width: 100%;
    margin-inline: 0;
  }

  .brand-logo {
    width: 132px;
  }

  .hero {
    min-height: 720px;
    align-items: end;
  }

  .hero-bg {
    inset: 0;
    width: 100%;
    height: 100%;
    object-position: 70% top;
    opacity: 0.72;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(2, 5, 9, 0.38), rgba(2, 5, 9, 0.72) 42%, rgba(2, 5, 9, 0.98)),
      linear-gradient(90deg, rgba(2, 5, 9, 0.88), rgba(2, 5, 9, 0.36));
  }

  .hero-content {
    padding: 110px 0 52px;
  }

  .hero h1 {
    font-size: 40px;
  }

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

  .pricing-section {
    padding-bottom: 42px;
  }

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

  .pricing-heading .eyebrow {
    text-align: left;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 26px;
  }

  .pricing-card {
    display: flex;
    min-height: 0;
    flex-direction: column;
    justify-content: space-between;
    padding: 24px 20px 20px;
  }

  .pricing-badge {
    position: static;
    margin-bottom: 18px;
  }

  .pricing-card-featured > div {
    padding-top: 0;
  }

  .pricing-copy {
    min-height: 0;
  }

  .pricing-footer {
    padding: 20px;
  }

  .pricing-actions {
    width: 100%;
  }

  .logo-row,
  .service-grid,
  .project-grid,
  .reason-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .trust {
    padding-bottom: 18px;
  }

  .logo-row {
    gap: 12px;
  }

  .logo-row a {
    min-height: 56px;
  }

  .logo-row img {
    width: 150px;
    height: 42px;
    max-width: 150px;
    max-height: 42px;
  }

  .logo-row a:nth-child(4) img {
    width: 105px;
    height: 32px;
    max-width: 105px;
    max-height: 32px;
  }

  .section {
    padding-top: 42px;
  }

  .service-card {
    min-height: 0;
  }

  .service-card p {
    min-height: 0;
  }

  .projects-section {
    padding-top: 4px;
    padding-bottom: 42px;
  }

  .project-preview {
    min-height: 170px;
  }

  .project-body p {
    min-height: 0;
  }

  .case-copy,
  .case-stats {
    padding: 28px 22px;
  }

  .david-section {
    padding-top: 10px;
  }

  .david-copy {
    padding: 28px 22px 24px;
  }

  .david-copy h2 {
    font-size: 30px;
  }

  .david-profile h3 {
    font-size: 24px;
  }

  .david-cert {
    margin: 0 22px 22px;
    padding: 18px;
  }

  .david-photo {
    height: 380px;
  }

  .reason {
    grid-template-columns: 46px 1fr;
    gap: 14px;
  }

  .cta-band {
    min-height: 430px;
    align-items: end;
  }

  .cta-band > img {
    width: 182%;
    height: 182%;
    left: auto;
    right: 0;
    transform: translateY(-50%) scale(0.54);
    transform-origin: right center;
    object-position: right center;
  }

  .cta-content {
    width: min(calc(100% - 32px), var(--max));
    margin: 0 auto;
    padding-bottom: 34px;
  }

  .cta-actions,
  .modal-actions {
    width: 100%;
  }

  .contact-modal {
    padding: 14px;
  }

  .contact-dialog {
    max-height: calc(100vh - 28px);
    padding: 28px 18px 20px;
  }

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

  .modal-actions {
    justify-content: stretch;
  }

  .footer-bottom,
  .footer-bottom div {
    flex-direction: column;
    gap: 12px;
  }
}
