:root {
  --navy-950: #0b2949;
  --navy-900: #173d6d;
  --navy-800: #245184;
  --orange: #f47b37;
  --orange-dark: #c84a0b;
  --cream: #fff0dc;
  --paper: #fffaf3;
  --white: #ffffff;
  --ink: #102b4a;
  --muted: #536276;
  --line: #d9d6ce;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.5rem;
  left: 0.5rem;
  padding: 0.7rem 1rem;
  transform: translateY(-150%);
  background: var(--white);
  color: var(--ink);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 3rem), var(--max-width));
  min-height: 88px;
  margin: 0 auto;
}

.brand {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  font-size: 1.05rem;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.brand strong {
  color: var(--orange);
}

.brand-mark {
  display: grid;
  width: 2.7rem;
  height: 2.7rem;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50% 50% 50% 0;
  color: var(--white);
  background: var(--navy-900);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
}

.site-header nav,
footer nav {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.site-header nav a,
footer a {
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

.site-header nav a:hover,
footer a:hover {
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-underline-offset: 0.3rem;
}

.site-header .nav-contact {
  padding: 0.65rem 1.1rem;
  border: 1px solid var(--navy-900);
  border-radius: 99px;
}

.hero {
  padding: clamp(3.5rem, 6vw, 5.5rem) 0 clamp(2.5rem, 4vw, 3.5rem);
  background: var(--cream);
}

.hero-inner {
  width: min(calc(100% - 3rem), var(--max-width));
  margin: 0 auto;
}

.hero-intro {
  display: block;
}

.hero-intro > .eyebrow {
  margin-bottom: 1rem;
}

.hero-summary {
  max-width: 780px;
  margin: 2rem auto 0;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--orange-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.045em;
}

h1 {
  max-width: 1050px;
  margin-bottom: 0;
  font-size: clamp(3rem, 6vw, 5.9rem);
}

h1 em,
.business-intro h2 em {
  color: var(--orange);
  font-style: normal;
}

.hero-copy {
  max-width: 620px;
  margin-bottom: 1.75rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.button {
  display: inline-block;
  padding: 0.9rem 1.25rem;
  border: 2px solid var(--navy-900);
  border-radius: 4px;
  font-weight: 800;
  text-decoration: none;
}

.button-primary {
  color: var(--white);
  background: var(--navy-900);
}

.button-primary:hover {
  border-color: var(--navy-800);
  background: var(--navy-800);
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.55);
}

.service-area {
  margin: 2rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-visual {
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
}

.hero-illustration {
  display: block;
  width: min(100%, 680px);
  height: auto;
  margin: 0 auto;
}

.section {
  width: min(calc(100% - 3rem), var(--max-width));
  margin: 0 auto;
  padding: clamp(5rem, 9vw, 8rem) 0;
}

.section-heading {
  display: grid;
  grid-template-columns: 0.75fr 2.75fr;
  gap: 2rem;
  align-items: start;
  margin-bottom: 4rem;
}

.section-heading h2,
.about-copy h2,
.contact h2,
.legal h1,
.process-heading h2,
.scope-heading h2 {
  margin-bottom: 1rem;
  font-size: clamp(2.4rem, 4.5vw, 4.5rem);
}

.services .section-heading h2 {
  font-size: clamp(2.25rem, 3.8vw, 3.8rem);
}

.section-heading-copy > p {
  max-width: 680px;
  margin-bottom: 0;
  color: var(--muted);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.service-grid article {
  position: relative;
  min-height: 340px;
  padding: 2rem;
  border-right: 1px solid var(--line);
}

.service-grid article:first-child {
  padding-left: 0;
}

.service-grid article:last-child {
  border-right: 0;
}

.service-icon {
  display: block;
  width: 4.6rem;
  height: 4.6rem;
  margin: 0 auto 2.25rem;
  object-fit: contain;
  object-position: center;
}

.service-icon-wide {
  width: 6.4rem;
}

.service-grid h3,
.scope-card h3,
.business-grid h3,
.process-grid h3 {
  font-size: 1.35rem;
  line-height: 1.2;
}

.service-grid h3 {
  text-align: center;
}

.service-grid p,
.trade-note {
  color: var(--muted);
  font-size: 0.95rem;
}

.service-question {
  max-width: 820px;
  margin: 2rem 0 0;
  font-size: 1.05rem;
}

.service-question strong {
  color: var(--orange-dark);
}

.trade-note {
  max-width: 820px;
  margin: 1rem 0 0;
}

.scope-section {
  padding: clamp(4rem, 8vw, 7rem) 0;
  color: var(--white);
  background: var(--navy-950);
}

.scope-inner {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 1.25rem;
  width: min(calc(100% - 3rem), var(--max-width));
  margin: 0 auto;
}

.scope-heading {
  align-self: center;
  padding-right: 2rem;
}

.scope-heading .eyebrow {
  color: var(--orange);
}

.scope-heading h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 3.3vw, 3.25rem);
}

.scope-card {
  position: relative;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.scope-card-accent {
  color: var(--white);
  border: 2px solid var(--orange);
  background: rgba(244, 123, 55, 0.04);
}

.scope-icon {
  display: block;
  width: 5.5rem;
  height: 5.5rem;
  margin: 0 auto 2rem;
  padding: 0.8rem;
  border-radius: 0.55rem;
  background: var(--cream);
  filter: none;
  object-fit: contain;
  object-position: center;
}

.scope-card-accent h3 {
  color: var(--orange);
}

.scope-card ul,
.business-grid ul {
  margin: 1.5rem 0 0;
  padding-left: 1.2rem;
}

.scope-card li + li,
.business-grid li + li {
  margin-top: 0.55rem;
}

.business-section {
  padding: clamp(5rem, 9vw, 8rem) 0;
  background: var(--cream);
}

.business-inner {
  width: min(calc(100% - 3rem), var(--max-width));
  margin: 0 auto;
}

.business-intro {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 4rem;
  align-items: end;
  margin-bottom: 4rem;
}

.business-intro .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -2.5rem;
}

.business-intro h2 {
  margin: 0;
  font-size: clamp(3rem, 6vw, 6rem);
}

.business-intro > p:last-child {
  margin-bottom: 0.5rem;
  color: var(--muted);
  font-size: 1.08rem;
}

.business-illustration {
  display: block;
  width: min(100%, 760px);
  height: auto;
  margin: -1rem auto 2.5rem;
}

.business-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 3px solid var(--orange-dark);
  border-radius: 2rem;
}

.business-grid article {
  padding: 2.25rem;
  border-right: 1px solid rgba(200, 74, 11, 0.32);
}

.business-grid article:last-child {
  border-right: 0;
}

.business-claim {
  width: fit-content;
  margin: 2.5rem auto 0;
  padding: 0.75rem 0 0;
  border-top: 2px solid var(--orange);
  color: var(--navy-900);
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  font-weight: 800;
}

.process {
  display: block;
}

.process-heading {
  max-width: 700px;
  margin-bottom: 4rem;
}

.process-heading h2 {
  margin-bottom: 0;
  font-size: clamp(2.25rem, 3.5vw, 3.5rem);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 0;
  padding: 0;
  border-top: 2px solid var(--line);
  list-style: none;
}

.process-grid li {
  position: relative;
  min-height: 0;
  padding: 2.5rem 1.5rem 0 0;
}

.process-grid li + li {
  padding-left: 1.5rem;
}

.process-grid li > span {
  display: grid;
  width: 2.3rem;
  height: 2.3rem;
  margin: -3.7rem 0 2rem;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--orange-dark);
  font-weight: 800;
}

.process-grid li:last-child > span {
  background: var(--navy-900);
}

.process-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.about {
  display: grid;
  grid-template-columns: 1fr 1.9fr;
  gap: 4rem;
  border-top: 1px solid var(--line);
}

.portrait-frame {
  position: relative;
  overflow: hidden;
  width: min(100%, 360px);
  margin-top: 2rem;
  padding: 1.5rem 1.5rem 0;
  background: var(--cream);
}

.portrait-frame::before {
  position: absolute;
  right: -10%;
  bottom: 8%;
  left: -10%;
  height: 22%;
  background: url("assets/decoration/pinselstrich-blau.svg") center / 100% 100% no-repeat;
  content: "";
}

.portrait-frame img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
}

.about-copy h2 {
  max-width: 820px;
}

.about-copy > p {
  max-width: 700px;
  color: var(--muted);
  font-size: 1.1rem;
}

.about-copy ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 3rem 0 0;
  padding: 2rem 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.about-copy li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-weight: 700;
}

.about-copy li::before {
  flex: 0 0 auto;
  color: var(--orange-dark);
  line-height: 1.5;
  content: "✓";
}

.contact {
  padding: clamp(5rem, 9vw, 8rem) max(1.5rem, calc((100vw - var(--max-width)) / 2));
  color: var(--white);
  background: var(--navy-900);
}

.contact .eyebrow {
  color: var(--orange);
}

.contact h2 {
  max-width: 900px;
  margin-bottom: 1.25rem;
  font-size: clamp(2.8rem, 6vw, 6rem);
}

.contact h2 em {
  color: var(--orange);
  font-style: normal;
}

.contact > p:not(.eyebrow, .contact-area) {
  max-width: 720px;
  color: #dce7f2;
  font-size: 1.1rem;
}

.contact-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}

.contact-links a {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 1.35rem 3.25rem 1.35rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.contact-links a::after {
  position: absolute;
  top: 50%;
  right: 1.35rem;
  font-size: 1.3rem;
  content: "→";
  transform: translateY(-50%);
}

.contact-links a:hover {
  border-color: var(--orange);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-3px);
}

.contact-links .contact-primary {
  border-color: var(--orange);
  color: var(--navy-950);
  background: var(--orange);
}

.contact-links .contact-primary:hover {
  border-color: #ff9256;
  background: #ff9256;
}

.contact-links .contact-primary span {
  color: var(--navy-950);
}

.contact-links span {
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-links strong {
  overflow-wrap: anywhere;
  margin-top: 0.5rem;
  font-size: clamp(1rem, 1.6vw, 1.3rem);
}

.contact-area {
  display: inline-flex;
  margin: 2rem 0 0;
  padding: 0.45rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 99px;
  color: #b9cee1;
  font-size: 0.9rem;
}

footer {
  display: flex;
  justify-content: space-between;
  width: min(calc(100% - 3rem), var(--max-width));
  margin: 0 auto;
  padding: 2rem 0;
  font-size: 0.9rem;
}

footer p {
  margin: 0;
}

.legal {
  width: min(calc(100% - 3rem), 760px);
  min-height: calc(100vh - 180px);
  margin: 0 auto;
  padding: 5rem 0 8rem;
}

.legal h1 {
  margin-bottom: 3rem;
  font-size: clamp(3rem, 7vw, 5.5rem);
}

.legal h2 {
  margin-top: 2.5rem;
  font-size: 1.65rem;
}

.legal h3 {
  margin-top: 1.8rem;
  font-size: 1.05rem;
}

.legal-placeholder {
  padding: 1.25rem;
  border-left: 4px solid var(--orange);
  background: var(--cream);
  font-weight: 700;
}

.legal-meta {
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 1000px) {
  .hero-summary {
    max-width: 720px;
  }

  .scope-inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .scope-heading {
    grid-column: 1 / -1;
    max-width: 800px;
    padding-right: 0;
  }

  .business-intro {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .business-intro .eyebrow {
    grid-column: auto;
    margin-bottom: 0;
  }

  .process {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .section-heading {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .business-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-grid article:nth-child(2) {
    border-right: 0;
  }

  .service-grid article:first-child {
    padding-left: 2rem;
  }

  .service-grid article:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .business-grid article:nth-child(2) {
    border-right: 0;
  }

  .business-grid article:last-child {
    grid-column: 1 / -1;
    border-top: 1px solid rgba(200, 74, 11, 0.32);
  }

  .about {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .portrait-frame {
    width: 260px;
    margin-top: 1rem;
  }

  .contact-links {
    grid-template-columns: 1fr;
  }

  .process-heading {
    margin-bottom: 3rem;
  }

  .process-grid {
    grid-template-columns: 1fr;
    margin-left: 1.1rem;
    border-top: 0;
    border-left: 2px solid var(--line);
  }

  .process-grid li,
  .process-grid li + li {
    min-height: 0;
    padding: 0 0 2.75rem 2.75rem;
  }

  .process-grid li:last-child {
    padding-bottom: 0;
  }

  .process-grid li > span {
    position: absolute;
    top: 0;
    left: -1.2rem;
    margin: 0;
  }
}

@media (max-width: 620px) {
  .site-header {
    min-height: 76px;
  }

  .brand {
    font-size: 0.92rem;
  }

  .site-header nav a:not(.nav-contact) {
    display: none;
  }

  .hero-inner {
    width: min(calc(100% - 2rem), var(--max-width));
  }

  .hero-visual {
    margin-top: 3rem;
  }

  .hero-illustration {
    width: min(100%, 560px);
    margin: 0 auto;
  }

  .section,
  .business-inner,
  .scope-inner,
  .legal {
    width: min(calc(100% - 2rem), var(--max-width));
  }

  .service-grid,
  .business-grid,
  .scope-inner,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .service-grid article {
    min-height: auto;
    padding: 2rem 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .service-grid article:first-child {
    padding-left: 0;
  }

  .service-grid article:last-child {
    border-bottom: 0;
  }

  .scope-heading,
  .business-grid article:last-child {
    grid-column: auto;
  }

  .business-grid {
    border-radius: 1.25rem;
  }

  .business-grid article {
    padding: 2rem;
    border-right: 0;
    border-bottom: 1px solid rgba(200, 74, 11, 0.32);
  }

  .business-grid article:last-child {
    border-top: 0;
    border-bottom: 0;
  }

  .about-copy ul {
    grid-template-columns: 1fr;
  }

  footer {
    flex-direction: column;
    gap: 1rem;
    width: min(calc(100% - 2rem), var(--max-width));
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .contact-links a {
    transition: none;
  }
}
