:root {
  --cyan: #3fbfeb;
  --ink: #7a6d6f;
  --heading: #696263;
  --canvas: 1144px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #f5f6f5 url("fileadmin/Images/background.jpg") center top / cover fixed no-repeat;
  color: var(--ink);
  font: 16px Arial, Helvetica, sans-serif;
  line-height: 1.6;
}
.site {
  max-width: var(--canvas);
  margin: 30px auto 0;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 18px rgba(0, 0, 0, 0.32);
}
.header {
  height: 240px;
  padding: 33px 26px 0;
  background: rgba(255, 255, 255, 0.78);
}
.logo { display: block; width: 390px; max-width: 80%; height: auto; }
.navband {
  min-height: 59px;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  background: var(--cyan);
}
.navwrap { max-width: var(--canvas); margin: auto; }
.menu-toggle { display: none; }
.mainnav { display: flex; margin: 0; padding: 0 25px; list-style: none; }
.mainnav a { display: block; padding: 17px 25px; color: #fff; text-decoration: none; }
.mainnav a:hover,
.mainnav a:focus,
.mainnav a[aria-current="page"] { background: rgba(0, 0, 0, 0.08); outline: 0; }
.page { min-height: 470px; padding: 35px 25px 0; }
.home .page { padding-top: 35px; }
.slider {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 10px;
  height: 546px;
  background: url("fileadmin/Images/slider/slider_bg.jpg") right center / 33.333% 100% no-repeat;
}
.slider img { width: 100%; height: 546px; object-fit: cover; }
.slider [hidden] { display: none; }
.dots { position: relative; z-index: 2; margin: -38px 0 20px 270px; }
.dots button {
  width: 11px;
  height: 11px;
  margin: 0 4px;
  padding: 0;
  border: 2px solid #fff;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}
.dots button[aria-current="true"] { background: #fff; }
.home-copy { padding: 6px 0 18px; text-align: center; font-size: 20px; line-height: 1.35; }
.home-copy p { margin: 15px 0; }
.home-copy .large { font-size: 40px; }
.content h1,
.content h2 { color: var(--heading); font-weight: normal; line-height: 1.2; }
.content h1 { margin: 0 0 12px; font-size: 28px; }
.content h2 { margin: 32px 0 8px; font-size: 22px; }
.content p { margin: 0 0 12px; }
.content strong { font-weight: bold; }
.ref { display: flex; align-items: center; gap: 34px; padding: 0 0 30px; }
.ref img { width: 50%; height: auto; }
.offer { display: flex; align-items: flex-start; gap: 34px; }
.offer img { display: block; max-width: 400px; height: auto; }
.legacy-placeholder { margin: 0 0 18px; }
.project-list { margin: 0; padding: 0; list-style: none; }
.project-list li { display: flex; gap: 28px; margin: 0 0 26px; padding: 0 0 26px; border-bottom: 1px solid #ddd; }
.project-list img { width: 48%; height: 230px; object-fit: cover; }
.project-list h2 { margin: 0 0 7px; }
.footer {
  display: flex;
  justify-content: space-between;
  min-height: 198px;
  padding: 24px 25px;
  background: var(--cyan);
  color: #fff;
}
.footer p { margin: 0 0 14px; }
.footer a { color: #fff; text-decoration: none; }
.footer nav a { display: block; margin: 4px 0; text-align: right; }
.top {
  position: fixed;
  right: 18px;
  bottom: 28px;
  width: 50px;
  height: 50px;
  border: 0;
  border-radius: 50%;
  background: #999;
  box-shadow: 0 1px 7px #666;
  color: #fff;
  font-size: 0;
  line-height: 1;
  cursor: pointer;
}
.top::before {
  display: block;
  width: 24px;
  height: 24px;
  margin: auto;
  background: #fff;
  content: "";
  mask: url("icons/angle-up.svg") center / contain no-repeat;
}
.legal .content { font-size: 15px; }
.legal .content h2 { font-size: 20px; }
.legal .content ul { margin-top: 0; }
br.mobile-only { display: none; }

@media (max-width: 767px) {
  body { background-attachment: scroll; }
  .site { margin: 0; box-shadow: none; }
  .header { height: 202px; padding: 60px 20px 17px; }
  .logo { width: 250px; }
  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: calc(100% - 40px);
    min-height: 50px;
    margin: 10px 20px 0;
    padding: 0 20px 0 25px;
    border: 0;
    background: #22b3eb;
    color: #000;
    font-size: 16px;
    text-transform: uppercase;
  }
  .menu-toggle::after {
    width: 20px;
    height: 20px;
    background: url("icons/menu-bars.svg") center / contain no-repeat;
    content: "";
  }
  .navband { min-height: 60px; width: 100%; margin-left: 0; background: #fff; }
  .mainnav { display: none; padding: 0 20px 10px; background: #fff; }
  .mainnav.is-open { display: block; }
  .mainnav a { padding: 10px 20px; }
  .page { padding: 25px 20px 0; }
  .slider { display: block; width: calc(100% - 10px); height: auto; aspect-ratio: 4 / 3; background: none; }
  .slider img { height: 100%; aspect-ratio: 4 / 3; }
  .slider img + img { display: none; }
  .dots { margin: -28px 0 15px 40px; }
  .home-copy { margin: 0 5px; padding: 0 0 20px; font-size: 20px; line-height: 1.6; }
  .home-copy p { margin: 10px 0; }
  .home-copy p:first-child { margin-top: 2px; }
  .home-copy .large { font-size: 40px; }
  br.mobile-only { display: initial; }
  .content h1 { font-size: 25px; }
  .ref,
  .offer,
  .project-list li { display: block; }
  .ref img,
  .offer img,
  .project-list img { width: 100%; height: auto; margin-bottom: 15px; }
  .footer { display: block; min-height: 0; }
  .footer { padding: 21px; }
  .top { width: 42px; height: 42px; font-size: 0; }
}
