:root {
  --ink: #171717;
  --muted: #626262;
  --navy: #171717;
  --navy-deep: #080808;
  --teal: #1687a5;
  --orange: #e6503c;
  --orange-dark: #c5342c;
  --pride-red: #e9343f;
  --pride-orange: #f0812b;
  --pride-yellow: #f2c83e;
  --pride-green: #2ca65a;
  --pride-blue: #2998d3;
  --pride-purple: #704cac;
  --trans-blue: #62c4ea;
  --trans-pink: #f39ac1;
  --progress-brown: #8a5a3b;
  --sun: #f3c64f;
  --sky: #bfe5ec;
  --rose: #f4c7cf;
  --lilac: #d8d3f2;
  --mint: #cce4d5;
  --cream: #f5efe6;
  --paper: #fffdf9;
  --sage: #dce6e1;
  --line: #d8d8d2;
  --white: #fff;
  --shadow: 0 24px 70px rgba(9, 41, 52, 0.13);
  --radius: 24px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  transform: translateY(-160%);
  border-radius: 8px;
  background: var(--white);
  padding: 10px 14px;
  color: var(--navy);
  font-weight: 800;
}

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

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid rgba(11, 52, 69, 0.1);
  background: rgba(255, 253, 249, 0.93);
  backdrop-filter: blur(18px);
}

.site-header::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--trans-blue), var(--trans-pink), var(--white), var(--trans-pink), var(--trans-blue), var(--progress-brown), #111, var(--pride-red), var(--pride-orange), var(--pride-yellow), var(--pride-green), var(--pride-blue), var(--pride-purple));
  content: "";
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 36px;
  align-items: center;
  width: min(calc(100% - 40px), var(--max));
  min-height: 96px;
  margin: 0 auto;
}

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

.brand-logo {
  display: block;
  width: 245px;
  height: 80px;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
}

.brand-logo img {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  filter: none;
  object-fit: cover;
  object-position: center 54%;
}

.nav {
  display: flex;
  gap: 30px;
  justify-content: center;
}

.nav a {
  position: relative;
  padding: 29px 0 25px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}

.nav a::after {
  position: absolute;
  right: 0;
  bottom: 20px;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--pride-red), var(--pride-yellow), var(--pride-green), var(--pride-blue), var(--pride-purple));
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.nav a:hover::after,
.nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-phone {
  display: grid;
  padding: 10px 16px;
  border: 1px solid rgba(11, 52, 69, 0.2);
  border-radius: 12px;
  text-align: right;
  text-decoration: none;
  transition: border-color 180ms ease, background 180ms ease;
}

.header-phone:hover,
.header-phone:focus-visible {
  border-color: var(--orange);
  background: var(--cream);
}

.header-phone span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.header-phone strong {
  color: var(--navy);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.contact-list a[href^="tel:"] strong,
.legal-block a[href^="tel:"] {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.nav-button {
  display: none;
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(460px, 1.1fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
  width: min(calc(100% - 40px), var(--max));
  min-height: 720px;
  margin: 0 auto;
  padding: 76px 0 94px;
}

.hero::before {
  position: absolute;
  z-index: -2;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  background:
    radial-gradient(circle at 5% 18%, rgba(243, 154, 193, 0.2), transparent 24%),
    radial-gradient(circle at 94% 18%, rgba(98, 196, 234, 0.26), transparent 27%),
    radial-gradient(circle at 82% 88%, rgba(242, 200, 62, 0.19), transparent 22%),
    linear-gradient(135deg, #ffffff 24%, #fffaf3 100%);
  content: "";
  transform: translateX(-50%);
}

.eyebrow {
  display: flex;
  gap: 11px;
  align-items: center;
  margin: 0 0 18px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow > span {
  width: 46px;
  height: 2px;
  background: linear-gradient(90deg, var(--pride-red), var(--pride-orange), var(--pride-yellow), var(--pride-green), var(--pride-blue), var(--pride-purple));
}

.hero h1,
.section h2,
.company h2,
.contact h2 {
  margin: 0;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.04;
}

.hero h1 {
  max-width: 650px;
  font-size: clamp(48px, 5vw, 76px);
}

.hero h1 em {
  display: inline;
  background: linear-gradient(90deg, var(--pride-red), var(--pride-orange) 20%, #c49b13 38%, var(--pride-green) 56%, var(--pride-blue) 76%, var(--pride-purple));
  background-clip: text;
  color: transparent;
  font-style: italic;
  font-weight: 500;
}

.hero-intro {
  max-width: 610px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  gap: 24px;
  align-items: center;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border: 0;
  border-radius: 10px;
  padding: 13px 22px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button-primary {
  background: #151515;
  box-shadow: 0 12px 28px rgba(18, 18, 18, 0.22), 0 4px 0 var(--pride-purple);
  color: var(--white);
  transition: background 180ms ease, transform 180ms ease;
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #303030;
  transform: translateY(-2px);
}

.text-link {
  color: var(--navy);
  font-weight: 800;
  text-underline-offset: 5px;
}

.text-link span {
  color: var(--orange);
}

.hero-note {
  display: inline-block;
  margin: 23px 0 0;
  color: var(--teal);
  font-size: 13px;
  font-weight: 750;
}

.pride-message {
  width: fit-content;
  margin: 18px 0 0;
  border: 2px solid #181818;
  border-radius: 999px;
  background: linear-gradient(90deg, #ffe0e5, #fff0c0 31%, #d6f0df 61%, #dceeff 78%, #e7dcfa);
  padding: 7px 13px;
  box-shadow: 5px 5px 0 var(--pride-yellow);
  color: #111;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
  font-style: italic;
  font-weight: 700;
}

.pride-message span {
  margin-left: 4px;
  color: #d83242;
  font-size: 18px;
}

.hero-visual {
  position: relative;
  padding: 0 0 28px 26px;
}

.hero-visual::before {
  position: absolute;
  z-index: -1;
  right: -18px;
  bottom: 0;
  width: 72%;
  height: 68%;
  border-radius: var(--radius);
  background: linear-gradient(145deg, var(--trans-blue), var(--trans-pink) 16%, var(--progress-brown) 30%, #111 39%, var(--pride-red) 48%, var(--pride-orange) 58%, var(--pride-yellow) 68%, var(--pride-green) 78%, var(--pride-blue) 88%, var(--pride-purple));
  content: "";
}

.image-frame {
  overflow: hidden;
  border: 6px solid var(--white);
  border-radius: 160px 24px 24px 24px;
  box-shadow: var(--shadow);
  background: #ece9e3;
}

.image-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.experience-card {
  position: absolute;
  bottom: 0;
  left: 0;
  display: grid;
  max-width: 230px;
  border: 3px solid transparent;
  border-radius: 16px;
  background:
    linear-gradient(135deg, #101010, #2d2d2d) padding-box,
    linear-gradient(90deg, var(--pride-red), var(--pride-orange), var(--pride-yellow), var(--pride-green), var(--pride-blue), var(--pride-purple)) border-box;
  box-shadow: 0 16px 38px rgba(7, 39, 51, 0.24);
  padding: 20px 24px;
  color: var(--white);
}

.experience-card strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 27px;
}

.experience-card span {
  color: #c8dde2;
  font-size: 12px;
}

.service-strip {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  border-radius: 18px;
  background: #111;
  box-shadow: 0 18px 50px rgba(7, 39, 51, 0.17);
  color: var(--white);
}

.service-strip::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 7px;
  background: linear-gradient(90deg, var(--pride-red), var(--pride-orange), var(--pride-yellow), var(--pride-green), var(--pride-blue), var(--pride-purple));
  content: "";
}

.service-strip div {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0 15px;
  padding: 25px 30px;
}

.service-strip div + div {
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.service-strip span {
  grid-row: 1 / 3;
  color: var(--pride-yellow);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
}

.service-strip strong {
  font-size: 15px;
}

.service-strip small {
  color: #b9cdd2;
}

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

.section h2,
.company h2,
.contact h2 {
  font-size: clamp(40px, 4.6vw, 64px);
}

.services {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: clamp(50px, 8vw, 110px);
}

.section-intro > p:not(.eyebrow) {
  max-width: 420px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 17px;
}

.clean-note {
  margin-top: 42px;
  border-left: 3px solid var(--orange);
  background: linear-gradient(135deg, #fff1bd, #f9d8d5);
  padding: 20px 22px;
}

.clean-note strong {
  color: var(--navy);
}

.clean-note p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 14px;
}

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

.service-card {
  position: relative;
  overflow: hidden;
  min-height: 205px;
  border: 1px solid transparent;
  border-radius: 18px;
  background: var(--white);
  padding: 26px;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.service-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 8px;
  background: var(--pride-red);
  content: "";
}

.service-card:nth-child(2)::before {
  background: var(--pride-orange);
}

.service-card:nth-child(3)::before {
  background: var(--pride-green);
}

.service-card:nth-child(4)::before {
  background: var(--pride-blue);
}

.service-card:nth-child(5)::before {
  background: linear-gradient(90deg, var(--trans-blue), var(--trans-pink), var(--progress-brown), #111, var(--pride-purple));
}

.service-card:nth-child(1) {
  background: #fff0b9;
}

.service-card:nth-child(2) {
  background: var(--sky);
}

.service-card:nth-child(3) {
  background: var(--rose);
}

.service-card:nth-child(4) {
  background: var(--lilac);
}

.service-card:nth-child(5) {
  background: var(--mint);
}

.service-card:hover {
  border-color: rgba(11, 52, 69, 0.24);
  box-shadow: 0 20px 50px rgba(9, 41, 52, 0.14);
  transform: translateY(-4px);
}

.service-card > span {
  color: var(--orange);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
  font-style: italic;
}

.service-card h3 {
  margin: 35px 0 6px;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.service-card-wide {
  grid-column: 1 / -1;
  min-height: 165px;
}

.service-card-wide h3 {
  margin-top: 20px;
}

.company {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  min-height: 620px;
  background:
    radial-gradient(circle at 92% 18%, rgba(112, 76, 172, 0.34), transparent 30%),
    radial-gradient(circle at 72% 88%, rgba(41, 152, 211, 0.22), transparent 28%),
    #101010;
  color: var(--white);
}

.company::before {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  left: 0;
  height: 9px;
  background: linear-gradient(90deg, var(--trans-blue), var(--trans-pink), var(--progress-brown), #111 31%, var(--pride-red) 42%, var(--pride-orange) 53%, var(--pride-yellow) 64%, var(--pride-green) 76%, var(--pride-blue) 88%, var(--pride-purple));
  content: "";
}

.company-image {
  position: relative;
  display: flex;
  min-height: 0;
  align-items: center;
  background: #0b3445;
}

.company-image::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(11, 52, 69, 0.08), rgba(223, 98, 66, 0.18));
  content: "";
  pointer-events: none;
}

.company-image img {
  display: block;
  width: 100%;
  height: auto;
}

.company-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 590px;
  padding: 80px clamp(40px, 7vw, 110px);
}

.eyebrow-light {
  color: #b8d5da;
}

.company h2,
.contact h2 {
  color: var(--white);
}

.company-copy > p:not(.eyebrow) {
  margin: 25px 0 0;
  color: #c4d4d7;
}

.company-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 38px;
}

.company-facts div {
  display: grid;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  padding-top: 16px;
}

.company-facts div:first-child strong {
  color: #ffd96f;
}

.company-facts div:last-child strong {
  color: #f5b9c5;
}

.company-facts strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
}

.company-facts span {
  color: #a9c2c7;
  font-size: 12px;
}

.projects {
  position: relative;
  isolation: isolate;
}

.projects::before {
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  background:
    radial-gradient(circle at 88% 12%, rgba(216, 211, 242, 0.7), transparent 26%),
    radial-gradient(circle at 8% 82%, rgba(204, 228, 213, 0.72), transparent 28%),
    #fffaf2;
  content: "";
  transform: translateX(-50%);
}

.projects-heading {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 70px;
  align-items: end;
  margin-bottom: 55px;
}

.projects-heading > p {
  max-width: 430px;
  margin: 0 0 7px;
  color: var(--muted);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}

.project-subheading {
  margin: 0 0 24px;
  color: #f5f5f5;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(25px, 3vw, 34px);
}

.project-subheading-more {
  margin-top: 68px;
}

.project-grid-real {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.project-grid-real .project-card:nth-child(4) figcaption {
  border-top: 5px solid var(--pride-orange);
  background: #35291f;
}

.project-card {
  overflow: hidden;
  margin: 0;
  border-radius: 18px;
  border: 1px solid rgba(11, 52, 69, 0.08);
  background: var(--white);
  box-shadow: 0 14px 45px rgba(9, 41, 52, 0.1);
}

.project-card:nth-child(1) figcaption {
  border-top: 5px solid var(--sun);
  background: #fff8da;
}

.project-card:nth-child(2) figcaption {
  border-top: 5px solid #7269b5;
  background: #efedff;
}

.project-card:nth-child(3) figcaption {
  border-top: 5px solid var(--teal);
  background: #e5f3ef;
}

.project-card-offset {
  margin-top: 34px;
}

.project-card img {
  display: block;
  width: 100%;
  height: auto;
  transition: filter 220ms ease;
}

.project-card:hover img {
  filter: saturate(1.04);
}

.project-card figcaption {
  display: grid;
  padding: 20px 22px 23px;
}

.project-card figcaption span {
  color: var(--orange);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project-card figcaption strong {
  margin-top: 3px;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
}

.contact {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(50px, 8vw, 110px);
  padding: 115px max(20px, calc((100vw - var(--max)) / 2));
  background:
    radial-gradient(circle at 8% 12%, rgba(242, 200, 62, 0.18), transparent 22%),
    radial-gradient(circle at 92% 82%, rgba(243, 154, 193, 0.2), transparent 25%),
    radial-gradient(circle at 75% 12%, rgba(41, 152, 211, 0.16), transparent 24%),
    #090909;
  color: var(--white);
}

.contact-copy > p:not(.eyebrow) {
  max-width: 510px;
  margin: 25px 0 0;
  color: #b9cdd2;
  font-size: 17px;
}

.contact-office {
  overflow: hidden;
  max-width: 510px;
  margin: 32px 0 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  background: #111;
}

.contact-office img {
  display: block;
  width: 100%;
  height: auto;
}

.contact-office figcaption {
  padding: 12px 16px 14px;
  color: #c8d9dc;
  font-size: 12px;
  font-weight: 750;
}

.contact-office + .contact-list {
  margin-top: 28px;
}

.contact-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 45px;
}

.contact-list > * {
  display: grid;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 13px;
  text-decoration: none;
}

.contact-list small {
  color: #87a8af;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-list strong {
  margin-top: 5px;
  font-size: 14px;
}

.contact-form {
  position: relative;
  scroll-margin-top: 100px;
  overflow: hidden;
  border-radius: 22px;
  background: linear-gradient(155deg, #fffdf9, #fff4e2);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
  padding: clamp(28px, 4vw, 48px);
  color: var(--ink);
}

.contact-form::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 7px;
  background: linear-gradient(90deg, var(--trans-blue), var(--trans-pink), var(--progress-brown), #111, var(--pride-red), var(--pride-orange), var(--pride-yellow), var(--pride-green), var(--pride-blue), var(--pride-purple));
  content: "";
}

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

.field {
  display: grid;
  margin-bottom: 17px;
}

.field label {
  margin-bottom: 7px;
  color: var(--navy);
  font-size: 12px;
  font-weight: 800;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid #c8cecc;
  border-radius: 9px;
  background: var(--white);
  padding: 12px 13px;
  color: var(--ink);
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(23, 103, 119, 0.13);
}

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

.check {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.check input {
  width: 17px;
  height: 17px;
  margin: 2px 0 0;
  accent-color: var(--orange);
}

.error {
  min-height: 18px;
  color: var(--orange-dark);
  font-size: 11px;
  font-weight: 750;
}

.contact-form .button {
  width: 100%;
  margin-top: 18px;
}

.form-status {
  min-height: 24px;
  margin: 12px 0 0;
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.legal-main {
  min-height: calc(100vh - 190px);
  background:
    radial-gradient(circle at 92% 12%, rgba(98, 196, 234, 0.2), transparent 24%),
    radial-gradient(circle at 8% 84%, rgba(243, 154, 193, 0.16), transparent 25%),
    var(--paper);
}

.legal-heading,
.legal-content {
  width: min(calc(100% - 40px), 820px);
  margin: 0 auto;
}

.legal-heading {
  padding: 95px 0 50px;
  border-bottom: 1px solid rgba(23, 23, 23, 0.14);
}

.legal-heading h1 {
  margin: 0;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(48px, 7vw, 76px);
  letter-spacing: -0.04em;
  line-height: 1;
}

.legal-heading > p:last-child {
  margin: 20px 0 0;
  color: var(--muted);
}

.legal-content {
  padding: 55px 0 110px;
}

.legal-block + .legal-block {
  margin-top: 42px;
}

.legal-block h2 {
  margin: 0 0 12px;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
}

.legal-block p {
  max-width: 680px;
  margin: 0;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.65;
}

.legal-block p + p {
  margin-top: 14px;
}

.legal-block ul {
  max-width: 680px;
  margin: 14px 0 0;
  padding-left: 22px;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.65;
}

.legal-block li + li {
  margin-top: 5px;
}

.legal-block a {
  color: var(--ink);
  text-underline-offset: 4px;
}

.imprint-address-image {
  display: block;
  width: 214px;
  max-width: 100%;
  height: auto;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  filter: none;
}

.legal-block p + .imprint-address-image,
.legal-block .imprint-address-image + p {
  margin-top: 14px;
}

.footer {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 30px;
  align-items: center;
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: 34px 0;
}

.footer::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--trans-blue), var(--trans-pink), var(--progress-brown), #111, var(--pride-red), var(--pride-orange), var(--pride-yellow), var(--pride-green), var(--pride-blue), var(--pride-purple));
  content: "";
}

.footer::after {
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  background: #fff;
  content: "";
  transform: translateX(-50%);
}

.footer-brand .brand-logo {
  width: 205px;
  height: 67px;
}

.footer p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.footer > div {
  display: flex;
  gap: 18px;
  justify-content: flex-end;
}

.footer > div a {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-underline-offset: 4px;
}

:focus-visible {
  outline: 3px solid rgba(223, 98, 66, 0.55);
  outline-offset: 3px;
}

@media (max-width: 980px) {
  .header-inner {
    grid-template-columns: auto 1fr auto;
  }

  .header-phone {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .hero h1 {
    font-size: clamp(44px, 6vw, 60px);
  }

  .services {
    gap: 45px;
  }

  .company-copy {
    padding: 70px 45px;
  }

  .contact {
    gap: 45px;
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 78px;
  }

  .header-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    width: min(calc(100% - 28px), var(--max));
    min-height: 74px;
  }

  .brand-logo {
    width: 178px;
    height: 58px;
  }

  .js .nav-button {
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 2px solid var(--pride-purple);
    border-radius: 12px;
    background: #151515;
    color: var(--white);
    cursor: pointer;
  }

  .nav-icon {
    display: grid;
    gap: 4px;
    width: 21px;
  }

  .nav-icon span {
    display: block;
    width: 100%;
    height: 2px;
    border-radius: 10px;
    background: currentColor;
    transition: transform 180ms ease, opacity 180ms ease;
  }

  .nav-label {
    font-size: 9px;
    font-weight: 850;
    line-height: 1;
  }

  .nav-button[aria-expanded="true"] .nav-icon span:first-child {
    transform: translateY(6px) rotate(45deg);
  }

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

  .nav-button[aria-expanded="true"] .nav-icon span:last-child {
    transform: translateY(-6px) rotate(-45deg);
  }

  .nav {
    grid-column: 1 / -1;
    display: grid;
    gap: 0;
    padding: 0 0 12px;
  }

  .js .nav {
    display: none;
  }

  .js .nav.is-visible {
    display: grid;
  }

  .nav a {
    border-top: 1px solid rgba(11, 52, 69, 0.12);
    padding: 14px 4px;
  }

  .nav a::after {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    width: min(calc(100% - 28px), var(--max));
    min-height: 0;
    padding: 62px 0 70px;
  }

  .hero-copy {
    order: 2;
  }

  .hero-visual {
    order: 1;
    padding-left: 14px;
  }

  .hero h1 {
    font-size: clamp(43px, 13vw, 58px);
  }

  .hero-intro {
    font-size: 16px;
  }

  .hero-actions {
    align-items: flex-start;
  }

  .image-frame {
    border-radius: 100px 18px 18px 18px;
  }

  .experience-card {
    max-width: 200px;
    padding: 16px 18px;
  }

  .experience-card strong {
    font-size: 23px;
  }

  .service-strip {
    grid-template-columns: 1fr;
    width: min(calc(100% - 28px), var(--max));
  }

  .service-strip div {
    padding: 20px 24px;
  }

  .service-strip div + div {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    border-left: 0;
  }

  .section {
    width: min(calc(100% - 28px), var(--max));
    padding: 90px 0;
  }

  .legal-heading,
  .legal-content {
    width: min(calc(100% - 28px), 820px);
  }

  .legal-heading {
    padding: 70px 0 38px;
  }

  .legal-content {
    padding: 42px 0 80px;
  }

  .services,
  .company,
  .contact {
    grid-template-columns: 1fr;
  }

  .service-grid {
    margin-top: 0;
  }

  .company {
    min-height: 0;
  }

  .company-copy {
    max-width: none;
    padding: 75px 28px;
  }

  .projects-heading {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .project-card-offset {
    margin-top: 0;
  }

  .contact {
    padding: 85px 28px;
  }

  .footer {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .footer > div {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .brand-logo {
    width: 158px;
    height: 52px;
  }

  .hero-actions,
  .form-row,
  .company-facts,
  .contact-list {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    display: grid;
    gap: 17px;
  }

  .button {
    width: 100%;
  }

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

  .service-card-wide {
    grid-column: auto;
  }

  .contact {
    padding-right: 14px;
    padding-left: 14px;
  }

  .contact-copy {
    padding: 0 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Durchgängige Anthrazit-Flächen mit den fünf Leistungsfarben aus dem Logo. */
body {
  background: #1d1d1f;
  color: #f3f3f3;
}

.site-header {
  border-bottom-color: rgba(255, 255, 255, 0.1);
  background: rgba(27, 27, 29, 0.94);
}

.nav a,
.header-phone strong {
  color: #f5f5f5;
}

.header-phone {
  border-color: rgba(255, 255, 255, 0.22);
}

.header-phone:hover,
.header-phone:focus-visible {
  background: #2b2b2e;
}

.header-phone span,
.footer p,
.footer > div a {
  color: #bcbcc1;
}

.hero::before {
  background:
    radial-gradient(circle at 5% 18%, rgba(243, 154, 193, 0.13), transparent 24%),
    radial-gradient(circle at 94% 18%, rgba(98, 196, 234, 0.15), transparent 27%),
    radial-gradient(circle at 82% 88%, rgba(242, 200, 62, 0.1), transparent 22%),
    linear-gradient(135deg, #242426 24%, #19191b 100%);
}

.hero h1,
.section h2,
.legal-heading h1,
.legal-block h2 {
  color: #f7f7f7;
}

.hero-intro,
.section-intro > p:not(.eyebrow),
.projects-heading > p,
.legal-heading > p:last-child,
.legal-block p,
.legal-block ul {
  color: #c7c7cc;
}

.text-link,
.legal-block a {
  color: #f3f3f3;
}

.hero-note,
.eyebrow {
  color: #76cbe3;
}

.image-frame {
  border-color: #343438;
  background: #262628;
}

.clean-note {
  border-left-color: var(--pride-orange);
  background: linear-gradient(135deg, #303034, #27272a);
}

.clean-note strong {
  color: #f7f7f7;
}

.clean-note p {
  color: #c4c4c9;
}

.service-card:nth-child(1) {
  background: var(--pride-red);
}

.service-card:nth-child(2) {
  background: var(--pride-orange);
}

.service-card:nth-child(3) {
  background: var(--pride-yellow);
}

.service-card:nth-child(4) {
  background: var(--pride-green);
}

.service-card:nth-child(5) {
  background: var(--pride-blue);
}

.service-card:nth-child(1)::before,
.service-card:nth-child(2)::before,
.service-card:nth-child(3)::before,
.service-card:nth-child(4)::before,
.service-card:nth-child(5)::before {
  background: rgba(255, 255, 255, 0.3);
}

.service-card h3,
.service-card p,
.service-card > span {
  color: #161616;
}

.service-card:nth-child(1) h3,
.service-card:nth-child(1) p,
.service-card:nth-child(1) > span {
  color: #fff;
}

.service-card:hover {
  border-color: rgba(255, 255, 255, 0.48);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
}

.projects::before {
  background:
    radial-gradient(circle at 88% 12%, rgba(112, 76, 172, 0.16), transparent 26%),
    radial-gradient(circle at 8% 82%, rgba(44, 166, 90, 0.12), transparent 28%),
    #222225;
}

.project-card {
  border-color: rgba(255, 255, 255, 0.1);
  background: #29292c;
  box-shadow: 0 14px 45px rgba(0, 0, 0, 0.22);
}

.project-card:nth-child(1) figcaption {
  background: #332e1f;
}

.project-card:nth-child(2) figcaption {
  background: #29263a;
}

.project-card:nth-child(3) figcaption {
  background: #1f322d;
}

.project-card figcaption strong {
  color: #f5f5f5;
}

.contact-form {
  background: linear-gradient(155deg, #2c2c2f, #232326);
  color: #f4f4f4;
}

.field label,
.check {
  color: #ededf0;
}

.field input,
.field select,
.field textarea {
  border-color: #58585e;
  background: #36363a;
  color: #fff;
  color-scheme: dark;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: #62c4ea;
  box-shadow: 0 0 0 3px rgba(98, 196, 234, 0.18);
}

.error {
  color: #ff9d78;
}

.form-status {
  color: #7ed5ec;
}

.legal-main {
  background:
    radial-gradient(circle at 92% 12%, rgba(98, 196, 234, 0.1), transparent 24%),
    radial-gradient(circle at 8% 84%, rgba(243, 154, 193, 0.08), transparent 25%),
    #1d1d1f;
}

.legal-heading {
  border-bottom-color: rgba(255, 255, 255, 0.16);
}

.imprint-address-image {
  filter: invert(1);
}

.skip-link {
  background: #303034;
  color: #fff;
}

@media (max-width: 760px) {
  .nav a {
    border-top-color: rgba(255, 255, 255, 0.14);
  }
}

.site-header {
  border-bottom-color: rgba(23, 23, 23, 0.12);
  background: rgba(255, 255, 255, 0.96);
}

.nav a,
.header-phone strong {
  color: #171717;
}

.header-phone {
  border-color: rgba(23, 23, 23, 0.22);
}

.header-phone:hover,
.header-phone:focus-visible {
  background: #f1f1f1;
}

.header-phone span {
  color: #626262;
}

.footer-brand .brand-logo img {
  filter: none;
}

.footer p,
.footer > div a {
  color: #626262;
}

.whatsapp-button {
  position: fixed;
  left: 22px;
  bottom: 22px;
  z-index: 100;
  display: grid;
  width: 60px;
  height: 60px;
  place-items: center;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.3);
  transition: transform 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.whatsapp-button img {
  display: block;
  width: 34px;
  height: 34px;
}

.whatsapp-button:hover {
  transform: translateY(-3px) scale(1.04);
  background: #20bd5a;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.36);
}

.whatsapp-button:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

@media (max-width: 760px) {
  .nav a {
    border-top-color: rgba(23, 23, 23, 0.14);
  }

  .whatsapp-button {
    left: 16px;
    bottom: max(16px, env(safe-area-inset-bottom));
    width: 56px;
    height: 56px;
  }

  .whatsapp-button img {
    width: 31px;
    height: 31px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .whatsapp-button {
    transition: none;
  }
}
