:root {
  --red: #ed1c24;
  --red-dark: #da1a21;
  --blue: #0074bd;
  --blue-dark: #0070b4;
  --header-yellow: #f5e54e;
  --yellow: #f8e549;
  --text: #333333;
  --muted: #777777;
  --light: #f5f5f5;
  --border: #eeeeee;
  --footer: #1d1d1d;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  background: #ffffff;
}

body.lightbox-open {
  overflow: hidden;
}

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

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

.container {
  width: min(1170px, calc(100% - 30px));
  margin: 0 auto;
}

.top-contact {
  height: 34px;
  color: #f8e549;
  background: #1f1f1f;
  box-shadow: inset 0 2px 8px rgba(255, 255, 255, 0.04);
}

.top-contact-inner {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 18px;
  height: 34px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

.top-contact a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #f8e549;
}

.top-contact span {
  color: #ffffff;
  font-size: 13px;
}

.site-header {
  position: relative;
  z-index: 40;
  height: 92px;
  background: var(--header-yellow);
  box-shadow: none;
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  height: 92px;
  padding: 0;
}

.logo {
  grid-column: 1;
  display: flex;
  align-items: center;
  height: 92px;
  margin-left: 0;
}

.logo img {
  width: auto;
  height: 78px;
  max-width: min(590px, 54vw);
  object-fit: contain;
}

.main-menu {
  position: sticky;
  top: 0;
  z-index: 60;
  width: 100%;
  height: 88px;
  padding: 0;
  background: #ffffff;
  border-bottom: 1px solid #d9d9d9;
  box-shadow: none;
  transition: height 180ms ease, box-shadow 180ms ease;
}

.main-menu-inner {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 22px;
  height: 100%;
  min-width: 0;
}

.main-menu a {
  display: inline-flex;
  align-items: center;
  min-height: 88px;
  padding: 0 8px;
  color: #111111;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  transition: min-height 180ms ease, color 160ms ease, background 160ms ease, font-size 180ms ease;
}

body.is-scrolled .main-menu {
  height: 46px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.14);
}

body.is-scrolled .main-menu a {
  min-height: 46px;
  font-size: 13px;
}

.main-menu a:hover,
.main-menu a.active {
  color: var(--red);
}

.menu-button {
  grid-column: 3;
  display: none;
  justify-self: end;
  width: 25px;
  height: 23px;
  padding: 2px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 15px;
  height: 3px;
  margin: 2px auto;
  background: #000000;
  border-radius: 2px;
}

.hero-slider {
  position: relative;
  height: 700px;
  overflow: hidden;
  background: #000000;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  background-position: center center;
  background-size: cover;
  transition: opacity 650ms ease;
}

.slide:nth-child(2) {
  background-position: center bottom;
}

.slide:nth-child(3) {
  background-position: 0% 20%;
}

.slide.active {
  opacity: 1;
}

.slide-copy {
  position: absolute;
  width: min(700px, calc(100% - 40px));
  height: 240px;
  top: 50%;
  transform: translateY(-50%);
}

.slide-left {
  left: max(8vw, 120px);
}

.slide-right {
  right: max(6vw, 90px);
  text-align: left;
}

.slide-copy.high {
  top: 36%;
}

.caption-bg {
  position: absolute;
  left: 0;
  width: min(574px, 100%);
  height: 70px;
  object-fit: fill;
}

.caption-bg.top {
  top: 0;
}

.caption-bg.bottom {
  top: 169px;
}

.caption-bg.wide {
  width: min(696px, 100%);
}

.headline,
.subline {
  position: absolute;
  z-index: 2;
  margin: 0;
  white-space: nowrap;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.35);
}

.headline {
  top: 68px;
  left: 0;
  font-size: clamp(42px, 5.2vw, 72px);
  font-weight: 800;
  line-height: 1;
}

.headline.yellow {
  color: var(--yellow);
}

.headline.blue {
  color: var(--blue);
}

.headline.red {
  color: var(--red);
}

.subline {
  top: 169px;
  left: 18px;
  right: 18px;
  max-width: calc(min(574px, 100%) - 36px);
  overflow: visible;
  color: #ffffff;
  font-size: clamp(16px, 1.2vw, 21px);
  font-weight: 700;
  line-height: 70px;
}

.caption-bg.wide + .subline {
  max-width: calc(min(696px, 100%) - 36px);
}

.slider-arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  display: grid;
  place-items: center;
  width: 44px;
  height: 72px;
  border: 0;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.35);
  font-size: 46px;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
}

.slider-arrow:hover {
  background: rgba(0, 0, 0, 0.55);
}

.slider-arrow.prev {
  left: 0;
}

.slider-arrow.next {
  right: 0;
}

.section {
  padding: 72px 0;
}

.two-col,
.team-grid,
.news-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 45px;
  align-items: center;
}

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

h1 {
  margin-bottom: 24px;
  color: var(--blue);
  font-size: 40px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 20px;
  font-size: 32px;
  line-height: 1.25;
}

h3 {
  margin-bottom: 16px;
  font-size: 26px;
  line-height: 1.3;
}

h4 {
  font-size: 18px;
  line-height: 1.25;
}

h5 {
  font-size: 16px;
  line-height: 1.3;
}

h6 {
  font-size: 15px;
  line-height: 1.35;
}

h1 span {
  color: var(--red);
}

h1 small {
  color: var(--blue);
  font-size: 27px;
}

.center-title {
  text-align: center;
}

.about {
  padding: 58px 0 74px;
  background: #ffffff;
}

.about .container {
  width: min(1170px, calc(100% - 30px));
}

.about.two-col,
.about .two-col {
  grid-template-columns: minmax(0, 1fr) 570px;
  gap: 72px;
  align-items: start;
}

.about .section-copy {
  max-width: 100%;
  padding-top: 0;
}

.about h1 {
  margin-bottom: 34px;
  color: var(--blue);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 40px;
  font-weight: 800;
  line-height: 0.78;
  text-transform: uppercase;
}

.about h1 span {
  display: block;
  color: var(--red);
}

.about p {
  margin-bottom: 0;
  color: #333333;
  line-height: 1.7;
}

.welcome-title {
  max-width: 560px;
}

.image-link img {
  width: 100%;
  border: 0;
}

.about .image-link {
  display: block;
  border-top: 6px solid var(--blue);
  border-bottom: 6px solid var(--red);
}

.about .image-link img {
  width: 100%;
  height: auto;
}

.partner-links {
  display: grid;
  grid-template-columns: 233px 227px;
  gap: 72px;
  align-items: center;
  margin: 58px 0 48px;
}

.partner-links a {
  display: inline-flex;
  align-items: center;
}

.partner-links img {
  width: 100%;
  height: auto;
}

.welcome-action {
  text-align: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 24px;
  border: 0;
  color: #ffffff;
  background: var(--blue);
  font-weight: 700;
  text-transform: lowercase;
  transition: background 160ms ease;
}

.button:hover {
  background: var(--red);
}

.button1 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  min-height: 44px;
  padding: 12px 30px;
  border: 2px solid var(--red);
  color: var(--red);
  background: #ffffff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  transition: color 160ms ease, background 160ms ease;
}

.button1:hover {
  color: #ffffff;
  background: var(--red);
}

.services {
  padding: 50px 0 53px;
  background: #ffec3d;
  font-family: Arial, Helvetica, sans-serif;
}

.services .center-title {
  margin-bottom: 29px;
  color: var(--blue);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 31px;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.services .center-title span {
  color: var(--red);
}

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

.service-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 178px;
  padding: 31px 28px 28px;
  background: #ffffff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.16);
  min-width: 0;
  text-align: center;
}

.service-card img {
  width: 30px;
  height: auto;
  margin: 0 auto 18px;
  object-fit: contain;
}

.service-card h4 {
  margin-bottom: 18px;
  color: var(--red);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.1;
  white-space: nowrap;
  text-transform: uppercase;
}

.service-card p {
  max-width: 260px;
  margin-bottom: 0;
  color: #222222;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 1.55;
}

.center {
  margin-top: 42px;
  text-align: center;
}

.service-action {
  margin-top: 48px;
}

.team {
  background: #ffffff;
}

.team-grid {
  align-items: start;
}

.team-copy {
  padding-right: 25px;
}

.news {
  background: #ffec3d;
}

.news-grid {
  grid-template-columns: minmax(0, 660px) minmax(0, 1fr);
  gap: 60px;
}

.news h1 {
  white-space: nowrap;
}

.news-icon {
  justify-self: end;
  width: 100%;
  max-width: 360px;
}

.references {
  padding: 78px 0 76px;
  background: url("assets/original/painter-225396_1920_schwarzweiss.jpg") center center / cover no-repeat;
}

.references .center-title {
  margin-bottom: 38px;
  color: var(--blue);
  font-size: 37px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.references .center-title span {
  color: var(--red);
}

.reference-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 36px 30px;
  align-items: center;
  margin-top: 0;
}

.reference-strip a {
  display: block;
  overflow: hidden;
  aspect-ratio: 1;
  border-radius: 50%;
}

.reference-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.references .center {
  margin-top: 48px;
}

.contact {
  position: relative;
  min-height: 512px;
  padding: 43px 0 40px;
  overflow: hidden;
  color: #ffffff;
  background:
    linear-gradient(rgba(10, 0, 0, 0.6), rgba(10, 0, 0, 0.6)),
    url("assets/original/brush-1034901.jpg") center center / cover no-repeat;
  font-family: Arial, Helvetica, sans-serif;
}

.contact .container {
  position: relative;
  z-index: 1;
}

.contact h1 {
  margin: 0 0 26px;
  color: var(--blue-dark);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 36px;
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
}

.contact h1 span {
  color: var(--red);
}

.contact .contact-lead {
  margin-bottom: 42px;
  color: #ffffff;
  font-size: 19px;
  line-height: 1.4;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
  max-width: 330px;
}

.contact-item {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 13px;
  align-items: start;
}

.contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 28px;
  color: #ffffff;
  font-size: 22px;
  line-height: 1;
}

.contact-item:first-child .contact-icon {
  font-size: 0;
}

.address-icon {
  position: relative;
  width: 24px;
  height: 28px;
  margin-top: 0;
}

.address-icon::before {
  position: absolute;
  top: 1px;
  left: 3px;
  width: 15px;
  height: 15px;
  border: 3px solid #ffffff;
  border-radius: 50% 50% 50% 0;
  content: "";
  transform: rotate(-45deg);
}

.address-icon::after {
  position: absolute;
  top: 8px;
  left: 10px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #ffffff;
  content: "";
}

.contact h4 {
  margin-bottom: 8px;
  color: #ffffff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.contact p {
  margin-bottom: 11px;
  color: #ffffff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  line-height: 1.35;
}

.contact a {
  color: #ffffff;
}

body[data-page="kontakt"] .site-footer {
  margin-top: 0;
}

body[data-page="kontakt"] > .contact {
  display: none;
}

.contact-page-hero {
  min-height: 0;
  padding: 78px 0 64px;
}

.contact-page-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
  margin-top: 38px;
}

.contact-map-section {
  padding: 72px 0 82px;
  background: #f8e549;
}

.contact-map-title {
  margin: 0;
  padding-top: 0;
  color: var(--blue);
  font-size: 42px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
}

.contact-map-title span {
  color: var(--red);
}

.map-consent {
  width: 100%;
  margin: 30px auto 0;
}

.map-canvas {
  width: 100%;
  height: 450px;
  overflow: hidden;
  background: #f3f1de;
}

.map-canvas img {
  width: 100%;
  height: 450px;
  object-fit: cover;
}

.map-copy {
  max-width: 900px;
  margin: 18px 0 0;
  color: #333333;
  font-size: 15px;
  line-height: 1.6;
}

.map-consent-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin: 24px 0 0;
  padding: 10px 24px;
  border: 2px solid var(--red);
  border-radius: 0;
  color: var(--red);
  background: #ffffff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  cursor: pointer;
}

.map-consent-button:hover {
  color: #ffffff;
  background: var(--red);
  border-color: var(--red);
}

.site-footer {
  min-height: 98px;
  padding: 20px 0 18px;
  color: #ffffff;
  background: var(--red);
  border: 0;
  text-align: center;
}

.site-footer .container {
  display: block;
}

.site-footer p {
  margin: 0 0 13px;
  color: #ffffff;
  font-size: 16px;
  line-height: 1.35;
}

.site-footer p:last-child {
  margin-bottom: 0;
}

.site-footer a {
  color: #ffffff;
}

.page-content {
  padding: 78px 0 82px;
  background: #ffffff;
}

.page-content h1,
.page-content h2,
.page-content h3 {
  color: var(--blue);
}

.page-content h1 span,
.page-content h2 span,
.page-content h3 span {
  color: var(--red);
}

.content-narrow {
  max-width: 920px;
}

.lead-text {
  line-height: 1.85;
}

.content-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 430px);
  gap: 52px;
  align-items: start;
}

.archive-image-frame {
  border-top: 6px solid var(--blue);
  border-bottom: 6px solid var(--red);
}

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

.lightbox-trigger {
  cursor: zoom-in;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  place-items: center;
  padding: 40px;
  background: rgba(0, 0, 0, 0.84);
}

.lightbox.open {
  display: grid;
}

.lightbox-image {
  max-width: min(1120px, 92vw);
  max-height: 86vh;
  width: auto;
  height: auto;
  background: #ffffff;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.45);
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 24px;
  width: 44px;
  height: 44px;
  border: 2px solid #ffffff;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.2);
  font-size: 34px;
  line-height: 36px;
  cursor: pointer;
}

.lightbox-close:hover,
.lightbox-close:focus-visible {
  color: var(--red);
  background: #ffffff;
  outline: none;
}

.location-grid,
.reference-page-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 34px;
}

.location-card,
.reference-page-grid figure {
  margin: 0;
  background: #f8f8f8;
}

.location-card img,
.reference-page-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.reference-page-grid a {
  display: block;
}

.location-card h4,
.reference-page-grid figcaption {
  margin: 0;
  padding: 13px 15px;
  color: var(--red);
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 34px;
  margin: 22px 0 42px;
  padding: 0;
  list-style: none;
}

.service-list li {
  position: relative;
  padding-left: 24px;
  line-height: 1.6;
}

.service-list li::before {
  position: absolute;
  top: 0.45em;
  left: 0;
  width: 9px;
  height: 9px;
  background: var(--blue);
  content: "";
}

.info-box {
  padding: 28px;
  color: #ffffff;
  background: var(--blue);
}

.info-box h2,
.info-box h3,
.info-box p {
  color: #ffffff;
}

.news-article p {
  max-width: 920px;
}

.news-article ul {
  margin-top: 22px;
  padding-left: 22px;
}

.map-placeholder {
  margin-top: 42px;
  padding: 34px;
  border-top: 5px solid var(--blue);
  border-bottom: 5px solid var(--red);
  background: #f4f4f4;
}

.map-placeholder h2 {
  margin-bottom: 14px;
  font-size: 32px;
}

.company-intro {
  padding: 72px 0 78px;
  background: #ffffff;
}

.company-intro-grid,
.company-team-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 570px);
  gap: 64px;
  align-items: start;
}

.company-copy h1 {
  margin-bottom: 30px;
  color: var(--blue);
  font-size: 40px;
  font-weight: 800;
  line-height: 1.15;
  text-transform: uppercase;
}

.company-copy h1 span {
  color: var(--red);
}

.company-copy p {
  margin-bottom: 18px;
  color: #333333;
  line-height: 1.75;
}

.company-intro-media {
  min-width: 0;
}

.company-partner-links {
  display: grid;
  grid-template-columns: 233px 227px;
  gap: 36px;
  align-items: center;
  margin-top: 34px;
}

.company-partner-links a {
  display: inline-flex;
  align-items: center;
}

.company-partner-links img {
  width: 100%;
  height: auto;
}

.company-gallery-section {
  padding: 56px 0 50px;
  background: #f8e549;
}

.company-center-title {
  margin: 0 0 30px;
  color: var(--blue);
  font-size: 39px;
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
  text-transform: uppercase;
}

.company-center-title span {
  color: var(--red);
}

.company-center-title small {
  color: var(--blue);
  font-size: 19px;
  font-weight: 800;
}

.company-gallery {
  display: grid;
  gap: 30px;
  margin-bottom: 42px;
}

.company-gallery-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.company-gallery a {
  display: block;
}

.company-gallery img {
  width: 100%;
  height: auto;
}

.company-team-section {
  padding: 72px 0 78px;
  background: #ffffff;
}

.company-team-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 62px;
}

.company-color-love {
  margin-top: 24px;
  font-size: 28px;
  line-height: 1.2;
}

.company-copy h1.company-color-love {
  font-size: 28px;
  line-height: 1.2;
}

.company-color-love span {
  color: #f8e549;
}

.company-color-love strong {
  color: var(--blue);
}

.company-team-gallery-section {
  padding: 56px 0 62px;
  background: #f8e549;
}

.company-team-gallery-section .company-gallery {
  margin-bottom: 0;
}

.services-page {
  padding: 82px 0 78px;
  background: #ffffff;
}

.services-page-title {
  margin-bottom: 36px;
  color: var(--blue);
  font-size: 42px;
  font-weight: 800;
  line-height: 1.15;
  text-transform: uppercase;
}

.services-page-title span {
  color: var(--red);
}

.services-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
  gap: 52px;
  align-items: start;
  padding-top: 24px;
}

.services-page-extra {
  padding-top: 46px;
}

.services-page-lead,
.services-page-sublead {
  margin-bottom: 14px;
  color: var(--blue);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.35;
}

.services-page-sublead {
  margin-top: 26px;
  font-size: 16px;
}

.services-archive-list {
  margin: 0;
  padding-left: 24px;
  color: #333333;
  line-height: 1.75;
}

.services-archive-list li {
  margin-bottom: 3px;
}

.services-check-image {
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.services-check-image img {
  width: min(100%, 315px);
  height: auto;
}

.services-news {
  padding: 78px 0 82px;
  background: #f8e549;
}

.services-news h1 {
  color: var(--blue);
  white-space: nowrap;
}

.services-news h1 span {
  color: var(--red);
}

.references-page {
  padding: 86px 0 58px;
  background: #ffffff;
}

.references-page-followup {
  padding-top: 46px;
}

.references-page-head {
  max-width: 920px;
}

.references-page-head h1 {
  margin-bottom: 45px;
  color: var(--blue);
  font-size: 42px;
  font-weight: 800;
  line-height: 1.15;
  text-transform: uppercase;
}

.references-page-head h1 span {
  color: var(--red);
}

.references-page-head p {
  margin-bottom: 72px;
  color: #333333;
  line-height: 1.75;
}

.references-section-title {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 40px;
  font-weight: 800;
  line-height: 1.15;
  text-transform: uppercase;
}

.references-archive-columns {
  display: grid;
  gap: 0 30px;
  padding-top: 34px;
}

.references-archive-columns-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.references-archive-column a {
  display: block;
  margin-bottom: 30px;
}

.references-archive-column img {
  width: 100%;
  height: auto;
}

.news-page {
  padding: 82px 0 76px;
  background: #ffffff;
}

.news-page-hero {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
  gap: 56px;
  align-items: center;
}

.news-page-hero h1 {
  margin-bottom: 34px;
  color: var(--blue);
  font-size: 42px;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

.news-page-hero h1 span {
  color: var(--red);
}

.news-page-hero h1 small {
  color: var(--blue);
  font-size: 32px;
  font-weight: 800;
}

.news-page-hero p {
  margin-bottom: 0;
  color: #333333;
  line-height: 1.75;
}

.news-page-icon {
  justify-self: center;
  width: min(100%, 315px);
  height: auto;
}

.news-page-text {
  margin-top: 48px;
  margin-left: 2px;
}

.news-page-text p {
  margin-bottom: 25px;
  color: #333333;
  line-height: 1.75;
}

.news-page-text strong {
  color: var(--blue);
  font-size: 19px;
  line-height: 1.4;
}

.news-page-benefits {
  margin-bottom: 45px;
}

.legal-page {
  padding: 82px 0 88px;
  background: #ffffff;
}

.legal-content {
  max-width: 980px;
}

.legal-content h1 {
  margin-bottom: 46px;
  color: var(--blue);
  font-size: 42px;
  font-weight: 800;
  line-height: 1.15;
  text-transform: uppercase;
}

.legal-content h1 span,
.legal-content h2 {
  color: var(--red);
}

.legal-content h2 {
  margin: 34px 0 14px;
  font-size: 25px;
  line-height: 1.25;
}

.legal-content p {
  margin-bottom: 18px;
  line-height: 1.75;
}

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

@media (max-width: 992px) {
  .site-header {
    position: sticky;
    top: 0;
    z-index: 50;
  }

  .header-inner {
    width: calc(100% - 30px);
  }

  .menu-button {
    display: block;
  }

  .main-menu {
    position: absolute;
    top: 126px;
    right: 0;
    left: 0;
    z-index: 45;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    height: auto;
    min-width: 0;
    padding: 8px 0;
    background: #ffffff;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.16);
    transition: none;
  }

  body.is-scrolled .main-menu {
    height: auto;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.16);
  }

  .main-menu.open {
    display: flex;
  }

  .main-menu-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
  }

  .main-menu a {
    justify-content: flex-start;
    min-height: 44px;
    padding: 0 24px;
    border-bottom: 1px solid var(--border);
    font-size: 13px;
  }

  body.is-scrolled .main-menu a {
    min-height: 44px;
    font-size: 13px;
  }

  .main-menu a:last-child {
    border-bottom: 0;
  }

  .slide-left,
  .slide-right {
    right: auto;
    left: 70px;
  }

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

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

  .content-columns,
  .location-grid,
  .reference-page-grid,
  .company-intro-grid,
  .company-team-grid {
    grid-template-columns: 1fr;
  }

  .company-partner-links {
    grid-template-columns: 233px 227px;
    gap: 36px;
  }

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

  .services-page-grid {
    grid-template-columns: 1fr;
  }

  .services-check-image {
    justify-content: flex-start;
  }

  .news-page-hero {
    grid-template-columns: 1fr;
  }

  .news-page-icon {
    justify-self: flex-start;
  }

  .contact-page-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 768px) {
  .header-inner {
    grid-template-columns: auto 1fr auto;
    width: calc(100% - 24px);
  }

  .logo {
    grid-column: 1;
  }

  .logo img {
    max-width: min(360px, 76vw);
  }

  .menu-button {
    grid-column: 3;
  }

  .main-menu {
    top: 126px;
    right: 0;
    left: 0;
  }

  .hero-slider {
    height: 470px;
  }

  .slide-copy {
    left: 26px;
    width: calc(100% - 52px);
  }

  .headline {
    top: 74px;
    max-width: 100%;
    white-space: normal;
  }

  .subline {
    top: 178px;
    left: 12px;
    right: 12px;
    max-width: calc(100% - 24px);
    overflow: visible;
    overflow-wrap: break-word;
    line-height: 1.2;
    white-space: normal;
  }

  .caption-bg.bottom {
    top: 160px;
  }

  .two-col,
  .team-grid,
  .news-grid {
    grid-template-columns: 1fr;
  }

  .news h1 {
    white-space: normal;
  }

  .about .two-col {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .about .section-copy {
    max-width: 100%;
  }

  .partner-links {
    grid-template-columns: 1fr;
    gap: 28px;
    justify-items: start;
  }

  .partner-links a {
    max-width: 260px;
  }

  .about .image-link img {
    width: 100%;
    height: auto;
  }

  .section {
    padding: 54px 0;
  }

  h1 {
    font-size: 34px;
  }

  h1 small {
    font-size: 23px;
  }

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

  .company-intro,
  .company-team-section {
    padding: 58px 0;
  }

  .company-gallery-section,
  .company-team-gallery-section {
    padding: 44px 0;
  }

  .company-center-title,
  .company-copy h1 {
    font-size: 34px;
  }

  .company-copy h1.company-color-love {
    font-size: 25px;
  }

  .company-gallery-two,
  .company-gallery-three {
    grid-template-columns: 1fr;
  }

  .company-gallery {
    margin-bottom: 34px;
  }

  .company-partner-links {
    grid-template-columns: 1fr;
    gap: 28px;
    justify-items: start;
  }

  .company-partner-links a {
    max-width: 260px;
  }

  .services-page,
  .services-news {
    padding: 58px 0;
  }

  .services-page-title {
    font-size: 34px;
  }

  .services-news h1 {
    white-space: normal;
  }

  .references-page {
    padding: 58px 0 42px;
  }

  .references-page-head h1,
  .references-section-title {
    font-size: 34px;
  }

  .references-page-head p {
    margin-bottom: 48px;
  }

  .references-archive-columns-three,
  .references-archive-columns-two {
    grid-template-columns: 1fr;
  }

  .news-page {
    padding: 58px 0 50px;
  }

  .news-page-hero h1 {
    font-size: 34px;
  }

  .news-page-hero h1 small {
    font-size: 24px;
  }

  .contact-page-hero {
    padding: 56px 0 48px;
  }

  .contact-page-grid {
    margin-top: 30px;
  }

  .contact-map-section {
    padding: 54px 0 60px;
  }

  .contact-map-title {
    font-size: 34px;
  }

  .map-consent {
    margin-top: 24px;
  }

  .map-canvas,
  .map-canvas img {
    height: 360px;
  }

  .map-copy {
    margin-top: 16px;
    font-size: 14px;
  }

  .legal-page,
  .page-content {
    padding: 58px 0 64px;
  }

}

@media (max-width: 520px) {
  .logo img {
    max-width: min(300px, 76vw);
  }

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

  .service-card h4 {
    white-space: normal;
  }

  .hero-slider {
    height: 410px;
  }

  .slider-arrow {
    width: 34px;
    height: 56px;
    font-size: 34px;
  }

  .headline {
    font-size: 36px;
  }

  .subline {
    font-size: 20px;
  }

  .reference-strip {
    grid-template-columns: 1fr;
  }
}
