:root {
  color-scheme: light;
  --ink: #16202a;
  --muted: #596675;
  --line: #d8dee6;
  --paper: #e3edf5;
  --white: #ffffff;
  --steel: #324252;
  --accent: #c7352e;
  --accent-dark: #9c2621;
  --signal: #f2b84b;
  --shadow: 0 24px 60px rgba(25, 36, 48, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 92px;
  padding: 0 clamp(18px, 4vw, 56px) 0 0;
  background:
    linear-gradient(to bottom, #c9d9e6 0 74.5%, #566371 74.5% 100%);
  border-bottom: 1px solid #3f4c59;
  box-shadow: 0 10px 28px rgba(22, 32, 42, 0.16);
}

.brand {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  min-height: 92px;
  text-decoration: none;
  font-weight: 700;
  color: #233241;
}

.brand img {
  width: 366px;
  height: auto;
  display: block;
  flex: 0 0 auto;
}

.brand span {
  border-left: 1px solid rgba(35, 50, 65, 0.26);
  padding-left: 18px;
  margin-top: 14px;
  font-size: 3.15rem;
  font-weight: 800;
  line-height: 0.95;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  align-self: end;
  gap: clamp(12px, 2vw, 28px);
  min-height: 24px;
  color: #f7fbff;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
}

.site-nav a,
.site-footer a,
.text-link {
  text-decoration: none;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
}

.site-nav a:hover,
.text-link:hover,
.site-footer a:hover {
  color: var(--accent);
}

.site-nav [aria-current="page"] {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.hero,
.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: center;
  gap: clamp(34px, 5vw, 84px);
  padding: clamp(44px, 7vw, 96px) clamp(18px, 5vw, 72px);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(227, 237, 245, 0.9)),
    repeating-linear-gradient(90deg, rgba(50, 66, 82, 0.08) 0 1px, transparent 1px 72px),
    repeating-linear-gradient(0deg, rgba(50, 66, 82, 0.07) 0 1px, transparent 1px 72px);
}

.hero {
  min-height: calc(100vh - 76px);
}

.hero__content {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 13ch;
  margin-bottom: 24px;
  font-size: 5.2rem;
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: 3.55rem;
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.2rem;
}

.lead {
  max-width: 660px;
  color: var(--muted);
  font-size: 1.28rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--steel);
  border-radius: 6px;
  font-weight: 800;
}

.button--primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}

.button--primary:hover {
  background: var(--accent-dark);
}

.button--secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.hero-slideshow {
  position: relative;
  grid-column: 2;
  align-self: start;
  width: 100%;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid rgba(50, 66, 82, 0.28);
  border-radius: 8px;
  background: #dce2ea;
  box-shadow: var(--shadow);
}

.hero-slideshow::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(22, 32, 42, 0) 55%, rgba(22, 32, 42, 0.28) 100%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.18), transparent 32%);
}

.hero-slideshow__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.025);
  transition: opacity 1400ms ease, transform 6200ms ease;
}

.hero-slideshow__image.is-active {
  opacity: 1;
  transform: scale(1);
}

.page-hero .hero-slideshow {
  grid-row: 1 / 4;
}

.project-list span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--steel);
  font-size: 0.88rem;
  font-weight: 800;
}

.section {
  padding: clamp(56px, 8vw, 110px) clamp(18px, 5vw, 72px);
}

.section__intro {
  max-width: 820px;
  margin-bottom: 32px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.service-grid article {
  min-height: 230px;
  padding: 28px;
  background: var(--white);
}

.service-grid p,
.section--split p,
.contact p {
  color: var(--muted);
}

.section--split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 1.05fr);
  gap: clamp(30px, 6vw, 90px);
  align-items: center;
}

.section--muted {
  background: #edf4f9;
}

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

.text-link {
  display: inline-flex;
  margin-top: 12px;
  color: var(--steel);
  font-weight: 800;
}

.specs {
  margin: 0;
  display: grid;
  gap: 12px;
}

.specs div {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.specs dt {
  font-weight: 800;
}

.specs dd {
  margin: 0;
  color: var(--muted);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.7fr);
  gap: 32px;
  align-items: end;
  background: var(--steel);
  color: var(--white);
}

.contact .eyebrow {
  color: var(--signal);
}

.contact p {
  color: rgba(255, 255, 255, 0.78);
}

.contact__actions {
  display: grid;
  gap: 10px;
}

.contact__actions a {
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  font-weight: 800;
  text-decoration: none;
}

.contact__actions a:hover {
  background: rgba(255, 255, 255, 0.15);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  justify-content: space-between;
  padding: 24px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer a {
  font-weight: 800;
}

.page-hero {
  min-height: 650px;
}

.page-hero > :not(.hero-slideshow) {
  grid-column: 1;
}

.page-hero h1 {
  max-width: 12ch;
  margin-bottom: 22px;
  font-size: 5.2rem;
}

.page-section {
  padding-top: 52px;
}

.feature-list,
.reference-grid,
.project-showcase,
.link-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.feature-list article,
.reference-grid article,
.project-showcase article,
.link-grid a,
.contact-card,
.contact-methods a,
.contact-methods div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 34px rgba(25, 36, 48, 0.08);
}

.feature-list article,
.reference-grid article,
.project-showcase article {
  padding: 28px;
}

.feature-list h2,
.reference-grid h2,
.project-showcase h2,
.contact-card h2,
.contact-strip h2 {
  font-size: 2rem;
  line-height: 1.1;
}

.project-showcase span {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.project-showcase p {
  color: var(--muted);
}

.reference-grid ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.reference-grid li + li {
  margin-top: 8px;
}

.contact-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--steel);
  color: var(--white);
}

.contact-strip .eyebrow {
  color: var(--signal);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(320px, 1fr);
  gap: 18px;
  align-items: stretch;
}

.imprint-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(320px, 1fr);
  gap: 18px;
  align-items: start;
}

.contact-card {
  padding: 32px;
}

.contact-card p {
  color: var(--muted);
}

.contact-methods {
  display: grid;
  gap: 12px;
}

.imprint-list {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 14px 34px rgba(25, 36, 48, 0.08);
}

.imprint-list div {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 16px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}

.imprint-list div:last-child {
  border-bottom: 0;
}

.imprint-list dt {
  color: var(--steel);
  font-weight: 800;
}

.imprint-list dd {
  margin: 0;
  color: var(--muted);
}

.imprint-list a {
  color: var(--steel);
  font-weight: 800;
}

.contact-methods a,
.contact-methods div,
.link-grid a {
  display: grid;
  gap: 6px;
  padding: 20px;
  text-decoration: none;
}

.contact-methods span,
.link-grid span {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-methods strong,
.link-grid strong {
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.25;
}

.contact-methods a:hover,
.link-grid a:hover {
  border-color: var(--accent);
}

@media (max-width: 1400px) {
  .brand img {
    width: 326px;
  }

  .brand span {
    font-size: clamp(2.15rem, 3.4vw, 2.7rem);
  }
}

@media (max-width: 1180px) {
  .site-header {
    display: grid;
    gap: 0;
    padding: 0 clamp(16px, 4vw, 28px) 0 0;
    background:
      linear-gradient(to bottom, #c9d9e6 0 68%, #566371 68% 100%);
  }

  .brand {
    min-height: 82px;
  }

  .brand img {
    width: 326px;
  }

  .brand span {
    margin-top: 12px;
    font-size: clamp(2rem, 3.6vw, 2.35rem);
  }

  .site-nav {
    overflow-x: auto;
    min-height: 32px;
    padding: 0 0 0 clamp(16px, 4vw, 28px);
  }

  .site-nav a {
    min-height: 32px;
  }
}

@media (max-width: 980px) {
  .hero,
  .section--split,
  .contact,
  .page-hero {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    align-items: start;
  }

  .hero .hero-slideshow,
  .page-hero > :not(.hero-slideshow),
  .page-hero .hero-slideshow {
    grid-column: 1;
  }

  .page-hero .hero-slideshow {
    grid-row: auto;
  }

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

  .hero-slideshow {
    min-height: 430px;
  }

  h1 {
    font-size: 4rem;
  }

  h2 {
    font-size: 2.8rem;
  }

  .page-hero h1 {
    font-size: 4rem;
  }

  .feature-list,
  .reference-grid,
  .project-showcase,
  .link-grid,
  .contact-layout,
  .imprint-layout {
    grid-template-columns: 1fr;
  }

  .contact-strip {
    display: grid;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding-right: 16px;
    background:
      linear-gradient(to bottom, #c9d9e6 0 62%, #566371 62% 100%);
  }

  .brand {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
    min-height: 96px;
  }

  .brand img {
    width: min(326px, 100vw - 32px);
  }

  .brand span {
    border-left: 0;
    padding-left: 16px;
    margin-top: 0;
    font-size: clamp(1.6rem, 8vw, 1.85rem);
  }

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

  .hero-slideshow {
    min-height: 380px;
  }

  .specs div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .imprint-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  h1 {
    font-size: 2.75rem;
  }

  h2 {
    font-size: 2.05rem;
  }

  .page-hero h1 {
    font-size: 2.75rem;
  }

  .feature-list h2,
  .reference-grid h2,
  .project-showcase h2,
  .contact-card h2,
  .contact-strip h2 {
    font-size: 1.55rem;
  }

  .lead {
    font-size: 1.1rem;
  }
}
