@font-face {
  font-family: "Encode Sans Expanded";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/encode-sans-expanded-subset-400.woff2") format("woff2");
}
@font-face {
  font-family: "Encode Sans Expanded";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/encode-sans-expanded-subset-700.woff2") format("woff2");
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #cecfd0;
  color: #5c6065;
  font-family: "Encode Sans Expanded", sans-serif;
  font-size: 14pt;
  font-weight: 400;
  line-height: 1.75em;
  min-width: 320px;
}

h1,
h2,
h3 {
  margin: 0;
  color: #2f261d;
  font-weight: 400;
  line-height: 1.25em;
}

h2 {
  font-size: 2.85em;
}

h3 {
  font-size: 1.25em;
}

strong {
  color: #2f261d;
  font-weight: 700;
}

p {
  margin: 0 0 1em;
  text-align: left;
}

a {
  color: #416b9d;
  text-decoration: none;
  border-bottom: solid 1px rgba(65, 107, 175, 0.25);
  transition: color 0.35s ease-in-out, background-color 0.35s ease-in-out, border-bottom-color 0.35s ease-in-out;
}

a:hover {
  color: #8da6c4;
  border-bottom-color: transparent;
}

hr {
  position: relative;
  display: block;
  border: 0;
  top: 1.5em;
  height: 6px;
  margin: 0 0 3em;
  border-top: solid 1px rgba(192, 192, 192, 0.35);
  border-bottom: solid 1px rgba(192, 192, 192, 0.35);
  box-shadow: inset 0 1px 0 0 rgba(192, 192, 192, 0.35);
}

hr::before,
hr::after {
  content: "";
  position: absolute;
  top: -8px;
  display: block;
  width: 1px;
  height: 21px;
  background: rgba(192, 192, 192, 0.35);
}

hr::before {
  left: -1px;
}

hr::after {
  right: -1px;
}

.strich {
  display: none;
}

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

.byline {
  display: block;
  margin-top: 1em;
  font-size: 1.5em;
  line-height: 1.5em;
}

.button {
  position: relative;
  display: inline-block;
  min-height: 48px;
  padding: 0.72em 1.25em;
  border: 1px solid #416b9d;
  border-radius: 6px;
  background: #416b9d;
  color: #fff;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(65, 107, 157, 0.18);
}

.button:hover {
  background: #2f5d91;
  border-color: #2f5d91;
  color: #fff;
  transform: translateY(-1px);
}

.button.ghost {
  background: #fff;
  color: #416b9d;
  box-shadow: none;
}

.button.ghost:hover {
  background: #416b9d;
  color: #fff;
}

.image {
  position: relative;
  display: block;
  border: 0;
}

.image img,
img.image {
  display: block;
  width: 100%;
}

.image.featured {
  width: 100%;
  margin: 0 0 3em;
}

a.image::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  background: #fff;
  opacity: 0;
  transition: opacity 0.35s ease-in-out;
}

a.image:hover::before {
  opacity: 0.5;
}

#header {
  position: relative;
  min-height: 722px;
  padding: 125px 0;
  background: #2b252c;
  color: #fff;
  text-align: center;
  overflow: hidden;
}

#header::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(28, 9, 32, 0.03);
  pointer-events: none;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

#header .inner {
  position: relative;
  z-index: 1;
  width: min(322px, calc(100% - 40px));
  margin: 73px auto 0;
  color: #fff;
}

#header h1 {
  color: #fff;
  font-size: 4em;
  line-height: 1em;
}

#logo {
  border: 0;
}

#header .byline {
  margin: 0;
  color: #fff;
  font-size: 1.25em;
}

#header footer {
  margin: 1em 0 0;
}

#header .button {
  width: 4.5em;
  height: 4.5em;
  padding: 0;
  border-radius: 100%;
  font-size: 1.25em;
  line-height: 4.5em;
}

#nav {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  width: 100%;
  padding: 1.5em 0;
  overflow: hidden;
  text-align: center;
}

.nav-toggle {
  display: none;
}

#nav ul {
  position: relative;
  display: inline-block;
  height: 21px;
  margin: 0;
  padding: 0;
  border-left: solid 1px rgba(192, 192, 192, 0.35);
  border-right: solid 1px rgba(192, 192, 192, 0.35);
  line-height: 0;
  list-style: none;
}

#nav ul::before,
#nav ul::after {
  content: "";
  position: absolute;
  top: 50%;
  display: block;
  width: 300%;
  height: 5px;
  margin-top: -2px;
  border-top: solid 1px rgba(192, 192, 192, 0.35);
  border-bottom: solid 1px rgba(192, 192, 192, 0.35);
}

#nav ul::before {
  left: 100%;
  margin-left: 1px;
}

#nav ul::after {
  right: 100%;
  margin-right: 1px;
}

#nav li {
  display: inline-block;
  margin: -9px 0.5em 0;
  padding: 0.85em;
  border: solid 1px transparent;
  border-radius: 0.5em;
  color: #fff;
  white-space: nowrap;
}

#nav a {
  display: block;
  color: inherit;
  border: 0;
}

#banner {
  padding: 4.5em 2em;
  background: #fff;
  text-align: center;
}

#banner .byline {
  color: #5c6065;
}

#banner p {
  margin-bottom: 0;
  text-align: center;
}

.carousel {
  position: relative;
  overflow: hidden;
  padding: 1.5em 0;
  background: #cecfd0;
}

.carousel .reel {
  display: flex;
  gap: 0;
  width: max-content;
  padding: 0 1.5em;
  white-space: nowrap;
}

.carousel article {
  position: relative;
  width: 18em;
  margin: 0 1.25em 0 0;
  padding: 0 1em 3em;
  background: #fff;
  text-align: center;
  white-space: normal;
}

.carousel article .image {
  left: -1em;
  width: calc(100% + 2em);
  margin: 0 0 3em;
}

.carousel h3 a {
  color: #2f261d;
  border: 0;
}

.service-gallery article::after {
  content: var(--item);
  display: none;
}

.carousel .forward,
.carousel .backward {
  position: absolute;
  top: 50%;
  width: 6em;
  height: 12em;
  margin-top: -6em;
  cursor: default;
}

.carousel .forward {
  right: 0;
}

.carousel .backward {
  left: 0;
}

.carousel .forward::before,
.carousel .backward::before {
  content: "";
  position: absolute;
  top: 50%;
  display: block;
  width: 6em;
  height: 6em;
  margin-top: -3em;
  border-radius: 100%;
  background-color: rgba(65, 107, 157, 0.5);
}

.carousel .forward::before {
  right: -3em;
}

.carousel .backward::before {
  left: -3em;
}

.carousel .forward::after,
.carousel .backward::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 1.6em;
  height: 1.6em;
  margin-top: -0.8em;
  border-top: 4px solid #fff;
  border-right: 4px solid #fff;
}

.carousel .forward::after {
  right: 0.95em;
  transform: rotate(45deg);
}

.carousel .backward::after {
  left: 0.95em;
  transform: rotate(-135deg);
}

.section-head {
  width: min(1040px, calc(100% - 48px));
  margin: 0 auto 2.5em;
  text-align: center;
}

.section-head h2 {
  color: #2f261d;
}

.section-head p:last-child {
  max-width: 760px;
  margin: 1em auto 0;
  text-align: center;
}

.eyebrow {
  margin: 0 0 0.8em;
  color: #416b9d;
  font-size: 0.72em;
  font-weight: 700;
  letter-spacing: 0;
  text-align: inherit;
  text-transform: uppercase;
}

.service-index {
  padding: 5em 0 4.5em;
  background: #fff;
}

.service-grid {
  display: grid;
  width: min(1205px, calc(100% - 56px));
  margin: 0 auto;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.service-card {
  position: relative;
  display: block;
  min-height: 260px;
  overflow: hidden;
  border: 0;
  background: #2b252c;
  color: #fff;
}

.service-card.featured {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 534px;
}

.service-card img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(22, 19, 24, 0.78), rgba(22, 19, 24, 0.18) 58%, rgba(22, 19, 24, 0.02));
}

.service-card::after {
  content: var(--item);
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: #416b9d;
  font-size: 0.72em;
  font-weight: 700;
}

.service-card span {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  z-index: 2;
  color: #fff;
  font-size: 1.05em;
  font-weight: 700;
  line-height: 1.18;
}

.service-card.featured span {
  font-size: 1.65em;
}

.service-card:hover {
  color: #fff;
}

.service-card:hover img {
  transform: scale(1.045);
}

.service-details {
  padding: 5.5em 0;
  background: #f7f8f9;
}

.service-detail {
  display: grid;
  width: min(1080px, calc(100% - 56px));
  margin: 0 auto;
  padding: 2em 0;
  grid-template-columns: minmax(280px, 0.92fr) minmax(0, 1.08fr);
  gap: 56px;
  border-top: 1px solid rgba(65, 107, 157, 0.18);
  scroll-margin-top: 24px;
}

.service-detail:first-child {
  border-top: 0;
  padding-top: 0;
}

.service-detail h2 {
  font-size: 1.7em;
}

.service-detail p {
  margin: 0;
  line-height: 1.55em;
}

.service-cta {
  display: flex;
  width: min(1080px, calc(100% - 56px));
  margin: 2.5em auto 0;
  padding: 2em;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: #fff;
  border: 1px solid rgba(65, 107, 157, 0.16);
}

.service-cta p {
  margin: 0;
  color: #2f261d;
  font-weight: 700;
}

.proof-section {
  padding: 5em 0;
  background: #fff;
}

.proof-grid {
  display: grid;
  width: min(1205px, calc(100% - 56px));
  margin: 0 auto;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.proof-grid p {
  margin: 0;
  padding-top: 1.2em;
  border-top: 4px solid #8da6c4;
  line-height: 1.55em;
}

.wrapper {
  margin: 0 0 2em;
  padding: 6em 2em;
  background: #fff;
}

.wrapper.style2 {
  padding-top: 0;
}

#main {
  width: 100%;
  max-width: 1205px;
  margin: 0 auto;
  text-align: center;
}

#main .image.featured {
  margin-bottom: 3em;
}

#main header {
  margin: 0 0 1em;
  text-align: center;
}

#main header .byline {
  margin-bottom: 2em;
  text-align: center;
}

#main p {
  line-height: 1.4em;
}

#main footer {
  margin: 2.5em 0 0;
  text-align: center;
}

#footer {
  position: relative;
  overflow: hidden;
  padding: 6em 2em;
  background: #f7f8f9;
  color: #5c6065;
}

#kontakt {
  width: min(1205px, calc(100% - 74px));
  margin: 0 auto 2.45em;
  text-align: center;
}

#kontakt h3,
#footer h2,
#footer h3 {
  color: #2f261d;
}

#kontakt .byline {
  margin-top: 0;
  color: #2f261d;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  text-align: center;
}

.contact-panel {
  display: grid;
  width: min(1080px, calc(100% - 56px));
  margin: 0 auto 4em;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 42px;
  text-align: left;
}

.contact-copy h2 {
  color: #2f261d;
  font-size: 1.7em;
}

.contact-copy p {
  color: #5c6065;
}

.contact-copy .eyebrow {
  color: #8da6c4;
}

.whatsapp-button {
  display: inline-flex;
  margin-top: 1em;
  min-height: 48px;
  align-items: center;
  gap: 0.75em;
  padding: 0.62em 1em 0.62em 0.62em;
  border: 1px solid rgba(37, 211, 102, 0.38);
  border-radius: 6px;
  background: #fff;
  color: #174f2c;
  font-weight: 700;
  box-shadow: 0 10px 22px rgba(37, 211, 102, 0.1);
}

.whatsapp-button:hover {
  background: #f1fbf5;
  color: #174f2c;
  transform: translateY(-1px);
}

#footer .whatsapp-button {
  color: #174f2c;
}

#footer .whatsapp-button:hover {
  color: #174f2c;
}

.wa-mark {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 5px;
  background: #25d366;
  color: #102018;
  font-size: 0.72em;
  font-weight: 700;
  line-height: 1;
}

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

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.contact-form label {
  display: grid;
  gap: 0.45em;
  color: #2f261d;
  font-size: 0.78em;
  font-weight: 700;
  line-height: 1.35;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(65, 107, 157, 0.2);
  border-radius: 6px;
  background: #fff;
  color: #2f261d;
  font: inherit;
  font-size: 1rem;
  line-height: 1.45;
  outline: 0;
  padding: 0.78em 0.9em;
  box-shadow: 0 1px 0 rgba(47, 38, 29, 0.03);
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #8da6c4;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(141, 166, 196, 0.16);
}

.contact-form ::placeholder {
  color: rgba(92, 96, 101, 0.58);
}

.form-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.contact-grid section {
  text-align: left;
}

.contact-grid p {
  margin: 0;
}

.contact-method {
  min-height: 148px;
  padding: 1.25em;
  background: #fff;
  border: 1px solid rgba(65, 107, 157, 0.14);
  border-radius: 6px;
  box-shadow: 0 12px 28px rgba(47, 38, 29, 0.06);
}

.contact-method h3 {
  margin-top: 0.55em;
  font-size: 1em;
  line-height: 1.45;
}

.contact-method h3 a {
  color: #2f261d;
}

.method-kicker {
  color: #416b9d;
  font-size: 0.72em;
  font-weight: 700;
  text-transform: uppercase;
}

#footer a {
  color: #416b9d;
  border-bottom: hidden;
}

#footer a:hover {
  color: #8da6c4;
}

.icon {
  position: relative;
  display: inline-grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 6px;
  background: #416b9d;
  color: #fff;
  font-size: 1em;
  line-height: 1;
  text-indent: 0;
}

.icon::before {
  font-size: 1.55em;
  line-height: 1;
}

.icon.map::before {
  content: "\1F4CD";
}

.icon.phone::before {
  content: "\260E";
}

.icon.mail::before {
  content: "\2709";
}

.icon.up {
  border: 0;
  color: transparent !important;
  box-shadow: 0 10px 22px rgba(65, 107, 157, 0.16);
}

.icon.up::before {
  content: "\2303";
  color: #fff;
}

.footer-rule {
  width: min(1205px, calc(100% - 74px));
  height: 1px;
  margin: 5.9em auto 4.1em;
  background: rgba(128, 128, 128, 0.35);
}

#footer .contact {
  text-align: center;
}

#footer .copyright {
  margin-top: 2.3em;
  color: rgba(128, 128, 128, 0.75);
  font-size: 0.8em;
  text-align: center;
}

.menu {
  margin: 0;
  padding: 0;
  list-style: none;
}

.menu li {
  display: inline-block;
  margin-left: 1.25em;
  padding-left: 1.25em;
  border-left: solid 1px rgba(128, 128, 128, 0.2);
  line-height: 1em;
}

.menu li:first-child {
  margin-left: 0;
  padding-left: 0;
  border-left: 0;
}

#footer .copyright a {
  color: rgba(128, 128, 128, 0.75);
}

.placeholder-page {
  min-height: 100vh;
}

.placeholder-page #header {
  min-height: 360px;
}

.placeholder-page #header .inner {
  margin-top: 30px;
}

.placeholder-page .wrapper {
  margin-bottom: 0;
}

.placeholder-content {
  width: min(900px, calc(100% - 48px));
  margin: 0 auto;
  text-align: center;
}

.placeholder-content p {
  text-align: center;
}

.subpage #header {
  min-height: 420px;
  padding: 80px 0;
}

.subpage #header .inner {
  margin-top: 55px;
}

.subpage #header h1 {
  font-size: 3.2em;
}

.content-section {
  width: min(1205px, calc(100% - 74px));
  margin: 0 auto;
  text-align: center;
}

.content-section > header {
  margin-bottom: 3em;
}

.content-section > header p {
  text-align: center;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  text-align: left;
}

.feature-grid article {
  min-width: 0;
}

.feature-grid h3,
.text-rein h3 {
  margin: 0 0 0.35em;
  text-align: left;
}

.feature-grid p {
  line-height: 1.55em;
}

.content-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 54px;
  text-align: left;
}

.content-layout h2,
.legal-page h1 {
  text-align: center;
}

.content-layout h3 {
  margin-top: 1.4em;
}

.mini-list {
  display: grid;
  gap: 18px;
}

.mini-item {
  display: grid;
  grid-template-columns: 33.333% 1fr;
  gap: 18px;
  align-items: start;
}

.mini-item img {
  display: block;
  width: 100%;
}

.mini-item h4 {
  margin: 0 0 0.25em;
  color: #2f261d;
  font-size: 1em;
  font-weight: 400;
}

.mini-item p {
  margin: 0;
}

.qualification-list {
  width: min(850px, 100%);
  margin: 0 auto;
  text-align: center;
}

.qualification-list p {
  text-align: center;
}

.legal-page {
  width: min(980px, calc(100% - 48px));
  margin: 0 auto;
}

.legal-page h1 {
  margin-bottom: 1em;
}

.legal-page h2 {
  margin: 1.6em 0 0.6em;
  padding-top: 0.4em;
  border-top: 1px solid rgba(128, 128, 128, 0.25);
  font-size: 1.5em;
}

.legal-page ul {
  padding-left: 1.25em;
}

@media (max-width: 900px) {
  body {
    font-size: 13pt;
  }

  #header {
    min-height: 620px;
    background-attachment: scroll;
  }

  #nav {
    position: fixed;
    z-index: 20;
    padding: 14px 16px;
    overflow: visible;
    text-align: right;
  }

  .nav-toggle {
    position: relative;
    z-index: 22;
    display: inline-grid;
    width: 46px;
    height: 46px;
    margin-left: auto;
    padding: 12px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 12px 26px rgba(47, 38, 29, 0.16);
    cursor: pointer;
  }

  .nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    grid-area: 1 / 1;
    background: #2f261d;
    transition: transform 0.18s ease, opacity 0.18s ease;
  }

  .nav-toggle span:nth-child(1) {
    transform: translateY(-7px);
  }

  .nav-toggle span:nth-child(3) {
    transform: translateY(7px);
  }

  #nav.is-open .nav-toggle span:nth-child(1) {
    transform: rotate(45deg);
  }

  #nav.is-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  #nav.is-open .nav-toggle span:nth-child(3) {
    transform: rotate(-45deg);
  }

  #nav ul {
    position: absolute;
    top: 68px;
    right: 16px;
    display: grid;
    width: min(278px, calc(100vw - 32px));
    height: auto;
    margin: 0;
    padding: 10px;
    justify-content: stretch;
    border: 1px solid rgba(65, 107, 157, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 18px 42px rgba(47, 38, 29, 0.18);
    line-height: 1;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.18s ease, transform 0.18s ease;
  }

  #nav.is-open ul {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  #nav ul::before,
  #nav ul::after {
    display: none;
  }

  #nav li {
    display: block;
    margin: 0;
    padding: 0;
    background: transparent;
    color: #2f261d;
    text-align: left;
  }

  #nav a {
    padding: 0.82em 0.85em;
    border-radius: 6px;
    color: #2f261d;
    font-size: 0.78em;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
  }

  #nav a:hover,
  #nav a:focus-visible {
    background: #f2f6fa;
    color: #416b9d;
  }

  #header .inner {
    margin-top: 95px;
  }

  #header h1 {
    font-size: 3.2em;
  }

  #banner {
    padding: 3.6em 1.4em;
  }

  h2 {
    font-size: 2.25em;
  }

  .byline {
    font-size: 1.25em;
  }

  .section-head {
    width: min(100%, calc(100% - 36px));
    margin-bottom: 1.6em;
    text-align: left;
  }

  .section-head p:last-child {
    margin-left: 0;
    text-align: left;
  }

  .service-index {
    padding: 3.4em 0 3.2em;
  }

  .service-grid {
    width: min(100%, calc(100% - 24px));
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .service-card,
  .service-card.featured {
    min-height: auto;
  }

  .service-card {
    aspect-ratio: 1 / 1;
  }

  .service-card.featured {
    grid-column: 1 / -1;
    grid-row: auto;
    aspect-ratio: 16 / 9;
  }

  .service-card img {
    min-height: 0;
  }

  .service-card::after {
    top: 10px;
    left: 10px;
    width: 34px;
    height: 34px;
    font-size: 0.66em;
  }

  .service-card span {
    right: 12px;
    bottom: 12px;
    left: 12px;
    font-size: 0.78em;
  }

  .service-card.featured span {
    font-size: 1.05em;
  }

  .service-details {
    padding: 3.5em 0;
  }

  .service-detail {
    width: min(100%, calc(100% - 36px));
    padding: 1.7em 0;
    grid-template-columns: 1fr;
    gap: 0.8em;
  }

  .service-detail h2 {
    font-size: 1.35em;
  }

  .service-cta {
    width: min(100%, calc(100% - 36px));
    flex-direction: column;
    align-items: flex-start;
  }

  .proof-grid {
    width: min(100%, calc(100% - 36px));
    grid-template-columns: 1fr;
  }

  .carousel {
    overflow: visible;
    padding: 2.4em 18px 2.8em;
    background: #fff;
  }

  .carousel .reel {
    display: grid;
    width: min(100%, 680px);
    margin: 0 auto;
    padding: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    white-space: normal;
  }

  .carousel article {
    display: flex;
    min-height: 100%;
    width: auto;
    margin: 0;
    padding: 0;
    overflow: hidden;
    flex-direction: column;
    background: #fff;
    border: 1px solid rgba(65, 107, 157, 0.14);
    box-shadow: 0 10px 28px rgba(47, 38, 29, 0.08);
  }

  .carousel article .image {
    left: 0;
    width: 100%;
    margin: 0;
    aspect-ratio: 1 / 1;
    overflow: hidden;
  }

  .carousel article .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .carousel article .image::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.4) 48%, rgba(255, 255, 255, 0.02));
  }

  .carousel h3 {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 3;
    margin: 0;
    padding: 0.9em 0.78em 0.85em;
    color: #2f261d;
    font-size: 0.78em;
    line-height: 1.18;
    text-align: left;
  }

  .carousel h3 a {
    color: #2f261d;
  }

  .carousel article:first-child {
    grid-column: 1 / -1;
  }

  .carousel article:first-child .image {
    aspect-ratio: 16 / 9;
  }

  .carousel article:first-child h3 {
    padding: 1.15em 1em 1em;
    font-size: 1.12em;
  }

  .service-gallery article::after {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 4;
    display: inline-flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    background: #416b9d;
    color: #fff;
    font-size: 0.72em;
    font-weight: 700;
    line-height: 1;
    box-shadow: 0 8px 18px rgba(65, 107, 157, 0.24);
  }

  .carousel .forward,
  .carousel .backward {
    display: none;
  }

  #main,
  .container,
  #kontakt,
  .footer-rule {
    width: min(100%, calc(100% - 36px));
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3em;
  }

  .contact-panel {
    width: min(100%, calc(100% - 36px));
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .field-row {
    grid-template-columns: 1fr;
  }

  .contact-copy h2 {
    font-size: 1.45em;
  }

  .feature-grid,
  .content-layout {
    grid-template-columns: 1fr;
  }

  .content-section {
    width: min(100%, calc(100% - 36px));
  }

  .menu li {
    display: block;
    margin: 0.75em 0 0;
    padding: 0;
    border: 0;
  }
}

@media (max-width: 520px) {
  body {
    font-size: 12pt;
  }

  #header {
    min-height: 560px;
    padding: 95px 0;
  }

  #header .inner {
    margin-top: 80px;
  }

  #header h1 {
    font-size: 2.8em;
  }

  #header .button {
    font-size: 1em;
  }

  h2 {
    font-size: 1.9em;
  }

  .carousel {
    padding: 1.5em 12px 2em;
  }

  .carousel .reel {
    gap: 10px;
  }

  .carousel h3 {
    padding: 0.78em 0.68em 0.72em;
    font-size: 0.68em;
  }

  .carousel article:first-child h3 {
    font-size: 0.95em;
  }

  .wrapper,
  #footer {
    padding-left: 1em;
    padding-right: 1em;
  }
}
