:root {
  --black: #05070a;
  --graphite: #0d1218;
  --graphite-2: #151d26;
  --panel: #101923;
  --line: rgba(255, 255, 255, 0.12);
  --white: #ffffff;
  --soft: #e8edf2;
  --muted: #9ba9b7;
  --light: #f4f7fa;
  --text: #17202a;
  --blue: #1095ff;
  --blue-2: #58bdff;
  --blue-dark: #006ac1;
  --steel: #263342;
  --max: 1280px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

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

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

code {
  font-family: Consolas, Monaco, monospace;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px max(20px, calc((100vw - var(--max)) / 2));
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(5, 7, 10, 0.98), rgba(8, 18, 30, 0.94)),
    rgba(5, 7, 10, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.25);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 170px;
}

.brand-logo,
.footer-logo {
  width: 206px;
  height: auto;
  max-height: 62px;
  object-fit: contain;
}

.brand-fallback {
  display: none;
  color: var(--white);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.optional-image.is-missing {
  display: none;
}

.optional-image.is-missing + .brand-fallback,
.footer-brand .optional-image.is-missing ~ .brand-fallback {
  display: inline-block;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.92rem;
  font-weight: 800;
}

.main-nav a {
  color: rgba(255, 255, 255, 0.82);
}

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

.nav-cta {
  padding: 10px 15px;
  color: var(--white) !important;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  box-shadow: 0 0 26px rgba(16, 149, 255, 0.28);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 6px 0;
  background: var(--white);
}

.section-dark {
  color: var(--white);
  background: var(--black);
}

.hero {
  position: relative;
  min-height: min(660px, calc(100vh - 78px));
  isolation: isolate;
  display: grid;
  align-items: stretch;
  overflow: hidden;
  padding: 42px max(22px, calc((100vw - var(--max)) / 2)) 0;
  background:
    linear-gradient(105deg, rgba(5, 7, 10, 1) 0%, rgba(5, 7, 10, 0.92) 42%, rgba(6, 18, 30, 0.8) 100%),
    radial-gradient(circle at 78% 30%, rgba(16, 149, 255, 0.42), transparent 34%),
    radial-gradient(circle at 4% 92%, rgba(16, 149, 255, 0.22), transparent 24%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.028) 0 1px, transparent 1px 92px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.022) 0 1px, transparent 1px 92px),
    var(--black);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(16, 149, 255, 0.18), transparent 1px) 0 0 / 120px 120px,
    linear-gradient(0deg, rgba(16, 149, 255, 0.08), transparent 1px) 0 0 / 120px 120px;
  mask-image: linear-gradient(90deg, transparent, #000 18%, #000 84%, transparent);
  opacity: 0.7;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -10% 0;
  z-index: -1;
  height: 240px;
  background: linear-gradient(0deg, var(--black), transparent);
  pointer-events: none;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0.48;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
  filter: grayscale(0.12) contrast(1.15) brightness(0.72);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 7, 10, 0.98) 0%, rgba(5, 7, 10, 0.8) 48%, rgba(5, 7, 10, 0.26) 100%),
    radial-gradient(circle at 72% 36%, rgba(16, 149, 255, 0.32), transparent 32%);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(400px, 0.78fr);
  gap: clamp(32px, 5vw, 76px);
  align-items: center;
  width: 100%;
  min-height: min(510px, calc(100vh - 150px));
}

.hero-inner {
  position: relative;
  max-width: 720px;
  padding: 34px 0 52px;
}

.hero-inner::before {
  content: "";
  display: block;
  width: 96px;
  height: 5px;
  margin-bottom: 20px;
  background: linear-gradient(90deg, var(--blue), transparent);
  box-shadow: 0 0 30px rgba(16, 149, 255, 0.7);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue-2);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.hero h1 {
  margin: 0;
  max-width: 10.8ch;
  font-size: clamp(2.55rem, 4.4vw, 4.45rem);
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
  text-wrap: balance;
}

.hero-region {
  margin: 16px 0 0;
  color: var(--white);
  font-size: clamp(1.05rem, 1.7vw, 1.42rem);
  font-weight: 900;
  letter-spacing: 0;
  text-wrap: balance;
}

.hero-claim {
  margin: 18px 0 8px;
  color: var(--blue-2);
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  font-weight: 900;
}

.hero-text {
  max-width: 620px;
  margin: 0;
  color: var(--soft);
  font-size: clamp(1rem, 1.35vw, 1.12rem);
}

.hero-visual {
  position: relative;
  min-height: 420px;
  align-self: stretch;
  display: grid;
  align-items: center;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 11% -16% 8% 22%;
  background: radial-gradient(circle, rgba(16, 149, 255, 0.48), transparent 62%);
  filter: blur(12px);
}

.hero-visual-frame {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  border: 1px solid rgba(88, 189, 255, 0.28);
  background:
    linear-gradient(145deg, rgba(16, 149, 255, 0.18), rgba(255, 255, 255, 0.04)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0 2px, transparent 2px 18px),
    var(--graphite);
  box-shadow:
    0 42px 120px rgba(0, 0, 0, 0.56),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  transform: skewX(-3deg);
}

.hero-visual-frame::before,
.hero-visual-frame::after {
  content: "";
  position: absolute;
  z-index: 2;
  pointer-events: none;
}

.hero-visual-frame::before {
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 7, 10, 0.08), rgba(5, 7, 10, 0.7)),
    linear-gradient(90deg, rgba(5, 7, 10, 0.7), transparent 52%);
}

.hero-visual-frame::after {
  right: 24px;
  bottom: 24px;
  width: 148px;
  height: 148px;
  border-right: 3px solid var(--blue);
  border-bottom: 3px solid var(--blue);
  box-shadow: 18px 18px 42px rgba(16, 149, 255, 0.24);
}

.hero-visual-frame img {
  width: 112%;
  height: 100%;
  min-height: 390px;
  object-fit: cover;
  object-position: center;
  filter: grayscale(0.08) contrast(1.18) brightness(0.82);
  transform: skewX(3deg) scale(1.08);
}

.hero-visual-placeholder {
  position: absolute;
  inset: 0;
  display: none;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 60% 38%, rgba(16, 149, 255, 0.38), transparent 28%),
    radial-gradient(circle at 34% 72%, rgba(88, 189, 255, 0.16), transparent 24%),
    linear-gradient(115deg, rgba(16, 149, 255, 0.24), transparent 42%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.055) 0 1px, transparent 1px 28px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 28px),
    var(--graphite);
}

.hero-visual-frame img.is-missing + .hero-visual-placeholder {
  display: grid;
}

.hero-visual-placeholder::before,
.hero-visual-placeholder::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.hero-visual-placeholder::before {
  inset: 9%;
  border: 1px solid rgba(88, 189, 255, 0.18);
  box-shadow:
    inset 0 0 45px rgba(16, 149, 255, 0.08),
    0 0 70px rgba(16, 149, 255, 0.18);
}

.hero-visual-placeholder::after {
  left: 0;
  right: 0;
  bottom: 27%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(88, 189, 255, 0.72), transparent);
  box-shadow: 0 0 24px rgba(16, 149, 255, 0.65);
}

.fallback-mark {
  position: relative;
  z-index: 1;
  color: rgba(88, 189, 255, 0.16);
  font-size: clamp(12rem, 24vw, 20rem);
  font-weight: 900;
  line-height: 0.78;
  text-shadow:
    0 0 42px rgba(16, 149, 255, 0.28),
    0 0 110px rgba(16, 149, 255, 0.24);
}

.fallback-crack {
  position: absolute;
  z-index: 2;
  width: 3px;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.8), var(--blue), transparent);
  box-shadow: 0 0 16px rgba(88, 189, 255, 0.72);
  transform-origin: center;
}

.fallback-crack-one {
  height: 48%;
  top: 20%;
  left: 51%;
  transform: rotate(21deg);
}

.fallback-crack-two {
  height: 31%;
  top: 36%;
  left: 57%;
  transform: rotate(-27deg);
}

.hero-visual-placeholder strong {
  position: absolute;
  z-index: 3;
  left: 32px;
  right: 32px;
  bottom: 32px;
  color: var(--white);
  font-size: clamp(1.2rem, 2.2vw, 2rem);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-align: center;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.72);
}

.hero-visual-line {
  position: absolute;
  left: -42px;
  top: 16%;
  width: 4px;
  height: 68%;
  background: linear-gradient(180deg, transparent, var(--blue), transparent);
  box-shadow: 0 0 30px rgba(16, 149, 255, 0.85);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 22px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 20px;
  border: 1px solid transparent;
  font-weight: 900;
  cursor: pointer;
}

.button-primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: var(--white);
  box-shadow: 0 0 34px rgba(16, 149, 255, 0.25);
}

.button-primary:hover,
.button-primary:focus {
  background: var(--blue-2);
  color: var(--black);
}

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

.button-outline:hover,
.button-outline:focus {
  border-color: var(--blue-2);
  color: var(--blue-2);
}

.hero-strip {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--line);
  background: rgba(8, 14, 20, 0.88);
  box-shadow: 0 -24px 80px rgba(0, 0, 0, 0.25);
}

.hero-strip span {
  min-height: 54px;
  display: grid;
  place-items: center;
  padding: 14px;
  border-right: 1px solid var(--line);
  color: var(--soft);
  font-weight: 800;
  text-align: center;
}

.positioning,
.section,
.feature-section,
.split-section,
.about-section,
.contact-section {
  padding: 92px max(20px, calc((100vw - var(--max)) / 2));
}

.positioning {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 44px;
  align-items: end;
  color: var(--white);
  background: linear-gradient(135deg, var(--graphite), var(--black));
}

.positioning h2,
.section-heading h2,
.feature-copy h2,
.info-panel h2,
.about-copy h2,
.contact-copy h2,
.legal-content h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.45rem);
  line-height: 1.08;
  letter-spacing: 0;
  text-wrap: balance;
}

.positioning p:last-child {
  margin: 0;
  color: var(--soft);
  font-size: 1.18rem;
  font-weight: 800;
}

.section-heading {
  max-width: 800px;
  margin-bottom: 40px;
}

.section-heading p:not(.eyebrow) {
  color: #566371;
  font-size: 1.06rem;
}

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

.service-card,
.target-card,
.work-card {
  border: 1px solid #dfe6ed;
  background: var(--white);
}

.service-card {
  min-height: 270px;
  padding: 26px;
  border-top: 4px solid var(--blue);
}

.service-card span {
  color: var(--blue-dark);
  font-weight: 900;
}

.service-card h3,
.target-card h3,
.work-card h3,
.process-step h3 {
  margin: 14px 0 8px;
  color: var(--text);
  line-height: 1.22;
}

.service-card p,
.target-card p,
.work-card p,
.process-step p,
.info-panel p {
  margin: 0;
  color: #5a6674;
}

.feature-section {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: 54px;
  background:
    linear-gradient(140deg, rgba(5, 7, 10, 0.98), rgba(13, 18, 24, 0.94)),
    radial-gradient(circle at 100% 0%, rgba(16, 149, 255, 0.32), transparent 36%);
}

.feature-copy p {
  color: var(--soft);
}

.strength-list {
  display: grid;
  gap: 12px;
  align-content: center;
}

.strength-list span {
  padding: 18px 20px;
  border-left: 4px solid var(--blue);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-weight: 900;
}

.target-section,
.process-section {
  background: var(--light);
}

.work-section {
  color: var(--white);
  background:
    linear-gradient(145deg, rgba(5, 7, 10, 0.96), rgba(13, 18, 24, 0.94)),
    radial-gradient(circle at 88% 10%, rgba(16, 149, 255, 0.24), transparent 30%),
    var(--black);
}

.work-section .section-heading p:not(.eyebrow) {
  color: var(--soft);
}

.work-section .section-heading h2 {
  color: var(--white);
}

.target-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.target-card {
  min-height: 230px;
  padding: 22px;
}

.target-card h3 {
  color: var(--blue-dark);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-flow: dense;
  gap: 16px;
}

.work-card {
  position: relative;
  grid-column: span 3;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--graphite);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.25);
}

.work-card:nth-child(1),
.work-card:nth-child(4) {
  grid-column: span 6;
}

.work-card:nth-child(5),
.work-card:nth-child(6),
.work-card:nth-child(7),
.work-card:nth-child(8) {
  grid-column: span 4;
}

.work-card figure {
  margin: 0;
}

.work-image {
  position: relative;
  min-height: 300px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 28%, rgba(16, 149, 255, 0.32), transparent 30%),
    radial-gradient(circle at 18% 82%, rgba(88, 189, 255, 0.12), transparent 24%),
    linear-gradient(135deg, rgba(16, 149, 255, 0.2), rgba(5, 7, 10, 0.96)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0 2px, transparent 2px 16px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 34px),
    var(--graphite);
}

.work-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.08) contrast(1.08) brightness(0.86);
  transition: transform 0.35s ease, filter 0.35s ease;
}

.work-card:hover .work-image img:not(.is-missing) {
  transform: scale(1.045);
  filter: grayscale(0) contrast(1.12) brightness(0.92);
}

.work-image img.is-missing {
  display: none;
}

.work-image::after {
  content: "Arbeitsfoto einfügen";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.74);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-align: center;
  padding: 20px;
  z-index: 2;
}

.work-image::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, transparent 36%, rgba(5, 7, 10, 0.92)),
    linear-gradient(90deg, rgba(16, 149, 255, 0.26), transparent 48%);
  pointer-events: none;
}

.work-card::before,
.work-card::after {
  content: "";
  position: absolute;
  z-index: 2;
  pointer-events: none;
}

.work-card::before {
  top: 18px;
  left: 18px;
  width: 64px;
  height: 3px;
  background: var(--blue);
  box-shadow: 0 0 20px rgba(16, 149, 255, 0.62);
}

.work-card::after {
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border-top: 2px solid rgba(88, 189, 255, 0.55);
  border-right: 2px solid rgba(88, 189, 255, 0.55);
}

.work-image:has(img:not(.is-missing))::after {
  display: none;
}

.work-card figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  padding: 18px;
  color: var(--white);
  font-weight: 800;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.6);
}

.asset-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
}

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

.process-step {
  position: relative;
  min-height: 240px;
  padding: 28px;
  color: var(--white);
  background: var(--graphite);
  overflow: hidden;
}

.process-step::after {
  content: attr(data-step);
  position: absolute;
  right: 16px;
  bottom: -26px;
  color: rgba(16, 149, 255, 0.16);
  font-size: 8rem;
  font-weight: 900;
  line-height: 1;
}

.process-step h3,
.process-step p {
  position: relative;
  z-index: 2;
}

.process-step h3 {
  color: var(--white);
}

.process-step p {
  color: var(--soft);
}

.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  background: var(--white);
}

.info-panel {
  padding: 34px;
  background: var(--light);
  border: 1px solid #dfe6ed;
}

.info-panel-blue {
  color: var(--white);
  background: linear-gradient(145deg, var(--graphite), #061a2d);
  border-color: transparent;
}

.info-panel-blue p {
  color: var(--soft);
}

.info-panel ul {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.info-panel li {
  padding: 10px 0;
  border-top: 1px solid rgba(15, 31, 45, 0.14);
  font-weight: 800;
}

.info-panel-blue li {
  border-top-color: rgba(255, 255, 255, 0.14);
}

.about-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: 52px;
  align-items: center;
  background:
    radial-gradient(circle at 8% 16%, rgba(16, 149, 255, 0.3), transparent 30%),
    var(--black);
}

.about-image {
  min-height: 430px;
  background:
    linear-gradient(145deg, rgba(16, 149, 255, 0.28), rgba(255, 255, 255, 0.04)),
    var(--graphite);
  border: 1px solid var(--line);
}

.about-image img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
}

.about-copy p {
  color: var(--soft);
}

.about-copy strong {
  display: block;
  margin-top: 24px;
  padding: 20px;
  background: var(--blue);
  color: var(--white);
  font-size: 1.1rem;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(330px, 1.18fr);
  gap: 48px;
  background: var(--light);
}

.contact-copy address {
  margin-top: 28px;
  padding: 24px;
  color: var(--white);
  background: var(--graphite);
  font-style: normal;
}

.contact-copy a {
  color: var(--blue-2);
  font-weight: 800;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 30px;
  background: var(--white);
  border: 1px solid #dfe6ed;
  box-shadow: 0 24px 70px rgba(13, 18, 24, 0.1);
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--text);
  font-weight: 900;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid #c7d1dc;
  padding: 13px 14px;
  color: var(--text);
  background: var(--white);
  font: inherit;
}

.contact-form textarea {
  min-height: 96px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(16, 149, 255, 0.26);
  border-color: var(--blue);
}

.fallback-contact {
  margin: 0;
  padding: 16px;
  background: #eaf6ff;
  color: var(--text);
  font-size: 0.96rem;
}

.fallback-contact a {
  color: var(--blue-dark);
  font-weight: 900;
}

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

.form-status {
  display: block;
  margin: 0;
  padding: 15px 16px;
  border-left: 4px solid var(--blue);
  background: #eaf6ff;
  color: var(--text);
  font-weight: 800;
}

.form-status[hidden] {
  display: none;
}

.form-status-error {
  border-left-color: #6f7b86;
  background: #eef2f5;
}

.privacy-note {
  margin: 0;
  color: #5a6674;
  font-size: 0.9rem;
}

.privacy-note a {
  color: var(--blue-dark);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 28px;
  align-items: end;
  padding: 44px max(20px, calc((100vw - var(--max)) / 2));
  color: var(--white);
  background: var(--black);
  border-top: 1px solid var(--line);
}

.footer-brand p,
.copyright {
  margin: 6px 0 0;
  color: var(--muted);
}

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

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

.legal-page {
  padding: 76px max(20px, calc((100vw - 880px) / 2));
  background: var(--light);
}

.legal-content {
  padding: 42px;
  background: var(--white);
  border-top: 5px solid var(--blue);
}

.legal-content h2 {
  margin: 32px 0 8px;
  color: var(--text);
  font-size: 1.28rem;
}

.legal-content p {
  margin: 0;
}

@media (max-width: 1080px) {
  .main-nav {
    gap: 12px;
    font-size: 0.86rem;
  }

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

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

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

  .work-card,
  .work-card:nth-child(1),
  .work-card:nth-child(4),
  .work-card:nth-child(5),
  .work-card:nth-child(6),
  .work-card:nth-child(7),
  .work-card:nth-child(8) {
    grid-column: auto;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
    gap: 28px;
    min-height: min(530px, calc(100vh - 138px));
  }

  .hero h1 {
    font-size: clamp(2.5rem, 4.8vw, 4rem);
  }
}

@media (max-width: 820px) {
  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding: 14px 0 8px;
  }

  .main-nav.is-open {
    display: flex;
  }

  .legal-nav {
    display: flex;
    width: auto;
    flex-direction: row;
    align-items: center;
    padding: 0;
  }

  .main-nav a {
    padding: 12px 0;
    border-top: 1px solid var(--line);
  }

  .nav-cta {
    text-align: center;
  }

  .hero {
    min-height: auto;
    padding-top: 54px;
  }

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

  .hero-inner {
    padding: 38px 0 12px;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(2.25rem, 10vw, 3.25rem);
    line-height: 1.02;
  }

  .hero-region {
    font-size: 1rem;
  }

  .hero-visual {
    min-height: 300px;
  }

  .hero-visual-frame,
  .hero-visual-frame img {
    min-height: 280px;
  }

  .hero-visual-line {
    left: 0;
    top: -20px;
    width: 70%;
    height: 4px;
    background: linear-gradient(90deg, var(--blue), transparent);
  }

  .hero-strip,
  .positioning,
  .feature-section,
  .split-section,
  .about-section,
  .contact-section,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .hero-strip span {
    min-height: 54px;
    border-right: 0;
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 620px) {
  .brand-logo,
  .footer-logo {
    width: 150px;
  }

  .hero h1 {
    font-size: clamp(2rem, 10.5vw, 2.7rem);
  }

  .hero-region,
  .hero-claim,
  .hero-text {
    overflow-wrap: normal;
    word-break: keep-all;
  }

  .button,
  .button-row {
    width: 100%;
  }

  .positioning,
  .section,
  .feature-section,
  .split-section,
  .about-section,
  .contact-section,
  .legal-page {
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .service-grid,
  .target-grid,
  .work-grid,
  .process-timeline {
    grid-template-columns: 1fr;
  }

  .work-image {
    min-height: 260px;
  }

  .contact-form,
  .info-panel,
  .legal-content {
    padding: 22px;
  }
}
