@font-face {
  font-family: "IBM Plex Sans";
  src: url("../fonts/IBM_Plex_Sans/IBMPlexSans-Regular.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans";
  src: url("../fonts/IBM_Plex_Sans/IBMPlexSans-Bold.woff2") format("woff2");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans";
  src: url("../fonts/IBM_Plex_Sans/IBMPlexSans-Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
   ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
   ========================================================================== */

/**
 * Remove the margin in all browsers.
 */

body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */

main {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */

hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/* Text-level semantics
   ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */

a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */

abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */

b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */

small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
   ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */

img {
  border-style: none;
}

/* Forms
   ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */

button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */

button,
input {
  /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */

button,
select {
  /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */

button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */

legend {
  box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */

progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */

textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */

[type="checkbox"],
[type="radio"] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */

[type="search"] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */

[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Interactive
   ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */

details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */

summary {
  display: list-item;
}

/* Misc
   ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */

template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */

[hidden] {
  display: none;
}

/* ======================== */
/* ======= General ======== */
/* ======================== */

:root {
  --white: #fff;
  --primary: #064178;
  --secondary: #679abf;
  --tertiary: #1487b7;
  --dark: #323232;
  --darker: #272f38;
  --darkest: #192028;
  --midtone: #666;
  --light: #d7d7d7;
  --lightgray: #ddd;
  --lighter: #e9e9e9;
  --lightest: #f5f5f5;
  --soft: #e5eef5;
}

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

body {
  background-color: var(--white);
  background-image: url(../img/bg.jpg);
  background-attachment: fixed;
  background-position: center center;
  background-repeat: repeat;
  background-size: 100%;
  font-size: 100%;
  line-height: 1.33333;
  font-family: "IBM Plex Sans", sans-serif;
  color: var(--dark);
  font-weight: 300;
}

.container-fluid {
  max-width: 1176px;
}

.header {
  position: sticky;
  top: 0;
  top: var(--wp-admin--admin-bar--height, 0);
  left: 0;
  right: 0;
  z-index: 100;
  background-color: var(--white);
  color: var(--primary);
  border-top: 25px solid var(--secondary);
  border-bottom: 1px solid var(--lighter);
  height: 86px;
  transition: height 0.5s linear;
}

.is-scrolled .header {
  height: 86px;
}

@media (min-width: 1152px) {
  html:not(.is-scrolled) .header {
    height: 106px;
  }
}

.header__inner-container {
  display: flex;
  align-items: stretch;
  gap: 40px;
}

.header .logo__link {
  position: relative;
  display: block;
  height: 100%;
}

.header .logo__img {
  display: block;
  height: 60px;
  width: auto;
  max-width: 100%;
  transition: height 0.5s linear;
}

.is-scrolled .header .logo__img {
  height: 60px;
}

@media (min-width: 1152px) {
  .header .logo__link {
    padding-right: 60px;
  }

  .header .logo__link:after {
    display: block;
    content: "";
    position: absolute;
    z-index: 1;
    pointer-events: none;
    width: 1px;
    right: 0;
    top: 12px;
    bottom: 12px;
    background-color: var(--lightgray);
  }

  html:not(.is-scrolled) .header .logo__img {
    height: 80px;
  }
}

.header__content {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 20px;
  padding-bottom: 6px;
  color: var(--primary);
}

@media (min-width: 1152px) {
  .header__content {
    align-items: end;
  }
}

.header__phone {
  display: flex;
  align-items: center;
}

@media (min-width: 1152px) {
  .header__phone {
    display: none;
  }
}

.header__phone-link {
  color: var(--primary);
  text-decoration: none;
}

.header__phone-link:hover,
.header__phone-link:focus {
  color: var(--primary);
  text-decoration: none;
}

.header__phone-link:active {
  color: var(--primary);
  text-decoration: none;
}

.navigation {
  display: none;
}

.hamburger-navigation {
  display: block;
}

.hamburger-navigation__btn {
  color: var(--primary);
}

@media (min-width: 1152px) {
  .navigation {
    display: block;
  }

  .hamburger-navigation {
    display: none;
  }
}

.hamburger-navigation__btn {
  position: relative;
  border: 0;
  margin: 0;
  padding: 0;
  background: transparent;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hamburger-navigation__btn-line {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary);
  border-radius: 999px;
  transform-origin: 50% 50%;
  transition: all 0.25s ease;
}

.hamburger-navigation__btn[aria-expanded="true"]
  .hamburger-navigation__btn-line--2 {
  opacity: 0;
}

.hamburger-navigation__btn[aria-expanded="true"]
  .hamburger-navigation__btn-line--1 {
  transform: rotate(-45deg) translate(-4px, 7px);
}

.hamburger-navigation__btn[aria-expanded="true"]
  .hamburger-navigation__btn-line--3 {
  transform: rotate(45deg) translate(-4px, -7px);
}

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

.main-menu a {
  padding: 6px 21px;
  display: flex;
  justify-content: start;
  align-items: center;
  text-align: center;
  color: var(--darker);
  text-decoration: none;
  font-size: 15px;
  line-height: 1.86666666667;
  border-top: 2px solid transparent;
  border-bottom: 2px solid transparent;
}

@media (min-width: 1152px) {
  .main-menu a {
    justify-content: center;
  }

  .main-menu a:hover,
  .main-menu a:focus,
  .main-menu a:active,
  .main-menu .current-menu-item > a,
  .main-menu .current-menu-parent > a {
    border-bottom-color: var(--primary);
  }

  .main-menu .current-menu-parent .current-menu-item > a {
    background-color: var(--lightest);
    color: var(--primary);
  }

  .main-menu > .menu-item > a:hover,
  .main-menu > .menu-item > a:hover,
  .main-menu > .menu-item > a:active,
  .main-menu > .menu-item-has-children a:hover,
  .main-menu > .menu-item-has-children a:focus,
  .main-menu > .menu-item-has-children a:active,
  .main-menu > .current-menu-item > a,
  .main-menu > .current-menu-parent > a {
    color: var(--primary);
  }

  .main-menu .current-menu-parent .current-menu-item > a:hover,
  .main-menu .current-menu-parent .current-menu-item > a:focus,
  .main-menu .current-menu-parent .current-menu-item > a:active {
    background-color: var(--lightest);
  }

  .main-menu > .menu-item .sub-menu a {
    font-size: 14px;
  }
}

.main-menu > .menu-item {
  position: relative;
}

.main-menu .sub-menu {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  background-color: var(--white);
}

.main-menu .sub-menu a {
  justify-content: start;
  color: var(--darker);
}

.main-menu .sub-menu li a:hover {
  background-color: var(--lightest);
}

@media (min-width: 1152px) {
  .main-menu .sub-menu {
    position: absolute;
    top: calc(100% - 4px);
    left: 0;
    width: 200px;
    box-shadow: 1px 1px 1px 1px rgba(241, 241, 241, 1);
  }

  .main-menu > li:has(.sub-menu):after {
    position: absolute;
    top: 10px;
    right: -4px;
    z-index: 1;
    display: block;
    content: "";
    width: 24px;
    height: 24px;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="%23272f38"><path d="M7.41 8.59 12 13.17l4.59-4.58L18 10l-6 6-6-6 1.41-1.41z"/></svg>');
  }

  .main-menu .sub-menu li:not(:first-child) {
    border-top: 1px solid var(--light);
  }
}

@media (max-width: 1151.98px) {
  .nav-visible {
    display: block;
    position: absolute;
    z-index: 10;
    top: 100%;
    right: 0;
    left: 0;
    overflow-x: clip;
    overflow-y: auto;
    max-height: calc(100vh - 86px);
    max-height: calc(100vh - 86px - var(--wp-admin--admin-bar--height, 0));
    background-color: var(--white);
  }

  .nav-visible::-webkit-scrollbar {
    display: none;
  }

  .main-menu {
    display: flex;
    flex-direction: column;
  }

  .main-menu > li:has(.sub-menu):before {
    background-color: var(--lightest);
    position: absolute;
    display: block;
    content: "";
    top: 0;
    right: 0;
    width: 50px;
    height: 50px;
    z-index: 1;
  }

  .main-menu > li:has(.sub-menu):after {
    position: absolute;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    top: 0;
    right: 0;
    width: 50px;
    height: 50px;
    cursor: pointer;
    content: "▼";
    color: var(--midtone);
    transition: transform 0.25s ease;
  }

  .main-menu > li.is-expanded:has(.sub-menu):after {
    transform: rotate(180deg);
  }

  .main-menu li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
  }

  .main-menu a {
    padding: 9px 60px 9px 10px;
  }

  .main-menu a:hover,
  .main-menu a:focus,
  .main-menu a:active {
    text-decoration: underline;
  }

  .main-menu .sub-menu a {
    background-color: var(--lightest);
  }

  .main-menu .sub-menu li {
    border-top: 1px solid rgba(0, 0, 0, 0.15);
    border-bottom-width: 0;
  }
}

.footer {
  padding-top: 60px;
  padding-bottom: 30px;
  background-color: var(--darker);
}

.footer__inner-container {
  display: grid;
  gap: 20px 72px;
  grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 992px) {
  .footer__inner-container {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1151.98px) {
  .main-menu .menu-item-has-children.is-expanded .sub-menu {
    display: block;
  }
}

@media (min-width: 1152px) {
  .main-menu > li:hover .sub-menu {
    display: block;
  }
}

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

.footer-menu > *:not(:first-child):before {
  display: inline-block;
  content: "|";
  color: var(--white);
  padding-left: 6px;
  padding-right: 6px;
}

.footer a {
  color: var(--white);
  text-decoration: none;
}

.footer a:hover,
.footer a:focus {
  color: var(--white);
  text-decoration: none;
}

.footer a:active {
  color: var(--white);
  text-decoration: none;
}

.footer .footer-menu a,
.footer .footer__links a {
  font-size: 15px;
  line-height: 1.66666666667;
}

.footer__contat-box {
  order: -1;
}

@media (min-width: 992px) {
  .footer__contat-box {
    order: unset;
  }
}

.footer .contact-box {
  background-color: transparent;
  color: var(--white);
  padding: 0;
}

.footer .contact-box h2 {
  margin-top: 0;
}

@media (min-width: 992px) {
  .footer .contact-box {
    padding: 30px;
    background-color: var(--darkest);
    padding-top: 100px;
    margin-top: -100px;
  }

  .footer .contact-box h2 {
    margin-top: 11px;
  }
}

.footer .contact-box__social {
  margin-top: 4px;
}

/* ======================== */
/* ====== Typography ====== */
/* ======================== */

.main-title {
  margin-top: 0;
  margin-bottom: 60px;
  font-size: 36px;
  font-weight: 400;
  text-align: center;
  color: var(--primary);
  letter-spacing: 1px;
}

/* ======================== */
/* ====== Components ====== */
/* ======================== */

/* Component - Button */
.btn {
  margin: 0;
  padding: 8px 30px;
  font-size: 16px;
  border-radius: 0;
  background: transparent;
  color: var(--primary);
  border: 1px solid transparent;
  font-size: 17px;
}

.btn.btn-primary {
  background-color: var(--white);
  border-color: var(--secondary);
  color: var(--secondary);
}

.btn.btn-primary:hover,
.btn.btn-primary:focus {
  background-color: var(--secondary);
  border-color: var(--secondary);
  color: var(--white);
}

.btn.btn-primary:active {
  background-color: var(--secondary);
  border-color: var(--secondary);
  color: var(--white);
}

/* Component - Contact Box */

.contact-box {
  padding: 30px;
  background-color: var(--secondary);
  color: var(--white);
}

.contact-box > * {
  margin: 0;
  padding: 0;
  font-weight: 300;
}

.contact-box > * + * {
  margin-top: 4px;
}

.contact-box h2 {
  font-size: 24px;
  font-weight: 400;
  margin-top: 11px;
  margin-bottom: 10px;
}

.contact-box p {
  font-size: 17px;
}

.contact-box__opening-hours,
.contact-box__social {
  margin-top: 20px;
}

.contact-box__social a {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--white);
}

.contact-box__social a:hover,
.contact-box__social a:focus,
.contact-box__social a:active {
  text-decoration: none;
  color: var(--white);
}

/* ======================== */
/* ====== Sections ======== */
/* ======================== */

/* Section - Slider */

@keyframes slider-zoom {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.125);
  }
}

.slider .carousel-link {
  position: relative;
  overflow: hidden;
}

.slider .carousel-img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  transition: transform 0.5s ease;
}

.slider .carousel-inner:hover .carousel-img {
  transform: scale(1.1);
}

.slider .carousel-control-prev,
.slider .carousel-control-next {
  transition: opacity 1s ease;
}

.slider:not(:hover) .carousel-control-prev,
.slider:not(:hover) .carousel-control-next {
  opacity: 0;
}

.slider:hover .carousel-control-next {
  opacity: 0.8;
}

.slider:hover .carousel-control-prev {
  opacity: 0.8;
}

.slider:hover .carousel-control-prev:hover,
.slider:hover .carousel-control-next:hover {
  opacity: 1;
}

.slider .carousel-control-prev-icon,
.slider .carousel-control-next-icon {
  width: 30px;
  height: 30px;
  margin: -20px 0 0;
  display: block;
  background: url(../img/slider-nav-btns.png) no-repeat 0 0;
  position: absolute;
  top: 50%;
  z-index: 10;
  cursor: pointer;
  text-indent: -9999px;
}

.slider .carousel-control-next-icon {
  background-position: 100% 0;
  right: 5px;
}

.slider .carousel-control-prev-icon {
  left: 5px;
}

.slider .carousel-indicators {
  position: relative;
  margin: 0;
  padding: 14px 0;
}

.slider .carousel-inner:has(> :only-child) ~ * {
  display: none;
}

.slider .carousel-indicators [data-bs-target] {
  margin: 0 6px;
  background-clip: initial;
  border: 0;
  background-color: rgba(0, 0, 0, 0.5);
  box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
  width: 14px;
  height: 14px;
  border-radius: 999px;
  opacity: 1;
  transition: background-color 0.25s ease;
}

.slider .carousel-indicators [data-bs-target]:hover,
.slider .carousel-indicators [data-bs-target]:focus {
  background-color: rgba(6, 65, 120, 0.5);
  opacity: 1;
}

.slider .carousel-indicators [data-bs-target][aria-current="true"] {
  background-color: var(--primary);
}

/* Section - Intro */
.intro {
  padding-top: 40px;
  padding-bottom: 100px;
}

.intro__content-boxes {
  display: grid;
  gap: 32px 72px;
  grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 768px) {
  .intro__content-boxes {
    grid-template-columns: minmax(0, 1fr) minmax(0, 335px);
  }
}

.intro__title {
  margin-bottom: 60px;
  font-size: 36px;
  font-weight: 400;
  text-align: center;
  color: var(--primary);
  letter-spacing: 1px;
}

.intro__content {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.intro__content h2 {
  margin: 0;
  padding: 0;
  font-size: 24px;
  font-weight: 400;
  color: var(--primary);
}

.intro__content p {
  font-size: 17px;
  line-height: 1.58823529412;
  margin-bottom: 0;
}

/* Section - Nav boxes */

.nav-boxes__list {
  margin-bottom: 60px;
  display: grid;
  gap: 32px 72px;
  grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 768px) and (max-width: 1151.98px) {
  .nav-boxes__list {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

@media (min-width: 1152px) {
  .nav-boxes__list {
    margin-bottom: 120px;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
  }
}

.nav-boxes__item {
  display: flex;
  flex-direction: column;
}

.nav-boxes__title {
  margin-top: 0;
  margin-bottom: 10px;
  padding: 0;
  font-size: 24px;
  font-weight: 400;
  color: var(--primary);
}

.nav-boxes__desc {
  font-size: 17px;
  line-height: 1.58823529412;
  margin-bottom: 1em;
}

.nav-boxes__desc > * {
  margin: 0;
}

.nav-boxes__btn {
  margin-top: auto;
  width: 100%;
}

/* === Pages === */

/* --- Front page --- */

.front-page .carousel-img {
  animation: slider-zoom 5s linear forwards;
}

.front-page .contact-box a {
  text-decoration: none;
  color: var(--white);
}

.front-page .contact-box a:hover,
.front-page .contact-box a:focus,
.front-page .contact-box a:active {
  color: var(--white);
  text-decoration: underline;
}

.front-page .slider .carousel-inner:hover .carousel-img {
  transform: unset;
}

/* --- Uber uns --- */
.uber-uns {
  padding-top: 40px;
  padding-bottom: 40px;
}

@media (min-width: 992px) {
  .uber-uns {
    padding-top: 40px;
    padding-bottom: 86px;
  }
}

.uber-uns__title {
  font-size: 40px;
}

.uber-uns__slider {
  width: 100%;
  height: auto;
}

@media (min-width: 1152px) {
  .uber-uns__slider {
    float: right;
    width: 546px;
    margin-bottom: 60px;
    margin-left: 60px;
  }
}

.uber-uns__content {
  font-size: 16px;
  line-height: 1.5;
}

.uber-uns__content:after {
  display: table;
  content: "";
  clear: both;
}

.uber-uns__content h2 {
  margin: 27px 0 0 0;
  padding: 0;
  font-size: 18px;
  line-height: 1.5;
}

.uber-uns__content .slider + * {
  margin-top: 0;
}

.uber-uns__content .slider .carousel-img {
  display: block;
  width: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}

.uber-uns__content p,
.uber-uns__content p li {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
}

.uber-uns__links {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 27px;
  margin: 27px 0 0 0;
  padding: 0;
  list-style: none;
}

.uber-uns__links-btn[href*=".pdf"]:before {
  position: relative;
  top: 1px;
  display: inline-block;
  vertical-align: baseline;
  content: "";
  width: 16px;
  height: 16px;
  background-image: url(../img/pdf.gif);
  background-repeat: no-repeat;
  background-position: 50% 50%;
}

/* --- Team --- */
.team {
  padding-top: 40px;
  padding-bottom: 40px;
}

@media (min-width: 992px) {
  .team {
    padding-top: 40px;
    padding-bottom: 86px;
  }
}

.team__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 243px), 1fr));
  gap: 40px;
}

.team-card__img-box {
  position: relative;
  overflow: hidden;
}

.team-card__img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  transition: transform 0.5s ease;
}

.team-card__img-box:hover .team-card__img {
  transform: scale(1.1);
}

.team-card__title {
  margin-top: 11px;
  margin-bottom: 11px;
  font-size: 24px;
  line-height: 1.2;
  color: var(--primary);
}

.team-card__desc {
  font-size: 17px;
  line-height: 1.5;
}

/* --- Partner --- */
.partner {
  padding-top: 40px;
  padding-bottom: 40px;
}

@media (min-width: 992px) {
  .partner {
    padding-top: 40px;
    padding-bottom: 86px;
  }
}

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

@media (min-width: 576px) and (max-width: 991.98px) {
  .partner__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 992px) {
  .partner__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.partner__item {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #fff;
}

.partner__link {
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
}

.partner__link:hover,
.partner__link:focus {
  text-decoration: none;
}

.partner__link:active {
  text-decoration: none;
}

.partner__img {
  display: block;
  max-width: 90%;
  height: auto;
  transition: transform 0.5s ease;
}

.partner__link:hover .partner__img {
  transform: scale(1.1);
}

/* --- Archive Metallbau --- */
.archive-metallbau {
  padding-top: 40px;
  padding-bottom: 40px;
}

@media (min-width: 992px) {
  .archive-metallbau {
    padding-top: 40px;
    padding-bottom: 86px;
  }
}

.archive-metallbau__content {
  margin-bottom: 48px;
  font-size: 22px;
  line-height: 1.22727272727;
}

.archive-metallbau__list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(370px, 100%), 1fr));
  justify-content: center;
  gap: 30px 20px;
}

.archive-metallbau__item {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 3;
  gap: 10px;
}

.archive-metallbau__item-title {
  margin: 0 0 10px 0;
  padding: 0;
  font-size: 21px;
  line-height: 1.2;
  color: var(--primary);
  letter-spacing: 1px;
}

.archive-metallbau__item-title-link {
  display: inline-block;
  text-decoration: none;
  color: var(--primary);
}

.archive-metallbau__item-title-link:hover,
.archive-metallbau__item-title-link:focus,
.archive-metallbau__item-title-link:active {
  text-decoration: none;
  color: var(--primary);
}

.archive-metallbau__item-img-link {
  position: relative;
  overflow: hidden;
  display: block;
  text-decoration: none;
  color: var(--primary);
}

.archive-metallbau__item-img-link:hover,
.archive-metallbau__item-img-link:focus,
.archive-metallbau__item-img-link:active {
  text-decoration: none;
  color: var(--primary);
}

.archive-metallbau__item-img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.5s ease;
}

.archive-metallbau__item-img-link:hover .archive-metallbau__item-img {
  transform: scale(1.1);
}

.archive-metallbau__item-btn {
  display: flex;
  justify-content: center;
}

/* --- Single Page Metallbau --- */
.single-page-metallbau {
  padding-top: 40px;
  padding-bottom: 40px;
}

@media (min-width: 992px) {
  .single-page-metallbau {
    padding-top: 40px;
    padding-bottom: 86px;
  }
}

.single-page-metallbau__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 40px;
}

.single-page-metallbau__gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr));
  gap: 24px;
}

.single-page-metallbau__gallery-item-link {
  display: block;
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.single-page-metallbau__gallery-item-link:hover,
.single-page-metallbau__gallery-item-link:focus,
.single-page-metallbau__gallery-item-link:active {
  text-decoration: none;
}

.single-page-metallbau__gallery-item-img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  transition: transform 0.5s ease;
}

.single-page-metallbau__gallery-item-link:hover
  .single-page-metallbau__gallery-item-img {
  transform: scale(1.1);
}

.single-page-metallbau__aside {
  order: 1;
}

@media (min-width: 1152px) {
  .single-page-metallbau__body {
    grid-template-columns: minmax(0, 219px) minmax(0, 1fr);
    gap: 16px;
  }

  .single-page-metallbau__aside {
    order: unset;
  }
}

.single-page-metallbau__nav-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 5px;
}

.single-page-metallbau__aside-bottom-link-box {
  margin-top: 7px;
}

.single-page-metallbau__nav-link,
.single-page-metallbau__aside-bottom-link {
  display: block;
  padding: 11px 10px;
  line-height: 1.125;
  font-weight: 400;
  font-size: 16px;
  text-decoration: none;
  background-color: var(--darker);
  color: var(--white);
}

.single-page-metallbau__nav-link:hover,
.single-page-metallbau__nav-link:focus,
.single-page-metallbau__aside-bottom-link:hover,
.single-page-metallbau__aside-bottom-link:focus {
  text-decoration: none;
  background-color: var(--darker);
  color: var(--tertiary);
}

.single-page-metallbau__aside-bottom-link:active,
.single-page-metallbau__nav-link:active,
.single-page-metallbau__nav-link.active {
  text-decoration: none;
  background-color: var(--darker);
  color: var(--tertiary);
}

@media (min-width: 1152px) {
  .single-page-metallbau__aside-bottom-link-box {
    margin-top: 27px;
  }

  .single-page-metallbau__nav-link,
  .single-page-metallbau__aside-bottom-link {
    padding: 0;
    font-size: 14px;
    line-height: 1.5;
    background-color: transparent;
    color: var(--darker);
  }

  .single-page-metallbau__nav-link:hover,
  .single-page-metallbau__nav-link:focus,
  .single-page-metallbau__aside-bottom-link:hover,
  .single-page-metallbau__aside-bottom-link:focus {
    background-color: transparent;
    color: var(--tertiary);
  }

  .single-page-metallbau__aside-bottom-link:active,
  .single-page-metallbau__nav-link:active,
  .single-page-metallbau__nav-link.active {
    background-color: transparent;
    color: var(--tertiary);
  }
}

/* --- Archive Schliesstechnik --- */
.archive-schliesstechnik {
  padding-top: 40px;
  padding-bottom: 40px;
}

@media (min-width: 992px) {
  .archive-schliesstechnik {
    padding-top: 40px;
    padding-bottom: 86px;
  }
}

.archive-schliesstechnik__content {
  margin-bottom: 48px;
  font-size: 22px;
  line-height: 1.22727272727;
}

.archive-schliesstechnik__list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(370px, 100%), 1fr));
  justify-content: center;
  gap: 30px 20px;
}

.archive-schliesstechnik__item {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 3;
  gap: 10px;
}

.archive-schliesstechnik__item-title {
  margin: 0 0 10px 0;
  padding: 0;
  font-size: 21px;
  line-height: 1.2;
  color: var(--primary);
}

.archive-schliesstechnik__item-title-link {
  display: inline-block;
  text-decoration: none;
  color: var(--primary);
}

.archive-schliesstechnik__item-title-link:hover,
.archive-schliesstechnik__item-title-link:focus,
.archive-schliesstechnik__item-title-link:active {
  text-decoration: none;
  color: var(--primary);
}

.archive-schliesstechnik__item-img-link {
  position: relative;
  overflow: hidden;
  display: block;
  text-decoration: none;
  color: var(--primary);
}

.archive-schliesstechnik__item-img-link:hover,
.archive-schliesstechnik__item-img-link:focus,
.archive-schliesstechnik__item-img-link:active {
  text-decoration: none;
  color: var(--primary);
}

.archive-schliesstechnik__item-img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.5s ease;
}

.archive-schliesstechnik__item-img-link:hover
  .archive-schliesstechnik__item-img {
  transform: scale(1.1);
}

.archive-schliesstechnik__item-btn {
  display: flex;
  justify-content: center;
}

/* --- Single Page Schliesstechnik --- */
.single-page-schliesstechnik {
  padding-top: 40px;
  padding-bottom: 40px;
}

@media (min-width: 992px) {
  .single-page-schliesstechnik {
    padding-top: 40px;
    padding-bottom: 86px;
  }
}

.single-page-schliesstechnik__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 40px;
}

.single-page-schliesstechnik__article .carousel {
  width: 100%;
  max-width: 100%;
  margin-bottom: 40px;
}

.single-page-schliesstechnik__content ul {
  margin: 0;
  padding: 0 0 0 20px;
  font-size: 17px;
  line-height: 1.58823529412;
  color: var(--dark);
}

.single-page-schliesstechnik__content li::marker {
  font-size: 14px;
}

.single-page-schliesstechnik__content a {
  color: var(--primary);
  text-decoration: none;
}

.single-page-schliesstechnik__content a:hover,
.single-page-schliesstechnik__content a:focus,
.single-page-schliesstechnik__content a:active {
  color: var(--primary);
  text-decoration: underline;
}

.single-page-schliesstechnik__aside {
  order: 1;
}

@media (min-width: 1152px) {
  .single-page-metallbau-article {
    padding-left: 29px;
  }

  .single-page-schliesstechnik__article .carousel {
    width: 344px;
    max-width: 100%;
    float: right;
    margin-left: 40px;
    margin-bottom: 40px;
  }

  .single-page-schliesstechnik__body {
    grid-template-columns: minmax(0, 219px) minmax(0, 1fr);
    gap: 16px;
  }

  .single-page-schliesstechnik__aside {
    order: unset;
  }
}

.single-page-schliesstechnik__nav-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 5px;
}

.single-page-schliesstechnik__aside-bottom-link-box {
  margin-top: 7px;
}

.single-page-schliesstechnik__nav-link,
.single-page-schliesstechnik__aside-bottom-link {
  display: block;
  padding: 11px 10px;
  line-height: 1.125;
  font-weight: 400;
  font-size: 16px;
  text-decoration: none;
  background-color: var(--darker);
  color: var(--white);
}

.single-page-schliesstechnik__nav-link:hover,
.single-page-schliesstechnik__nav-link:focus,
.single-page-schliesstechnik__aside-bottom-link:hover,
.single-page-schliesstechnik__aside-bottom-link:focus {
  text-decoration: none;
  background-color: var(--darker);
  color: var(--tertiary);
}

.single-page-schliesstechnik__aside-bottom-link:active,
.single-page-schliesstechnik__nav-link:active,
.single-page-schliesstechnik__nav-link.active {
  text-decoration: none;
  background-color: var(--darker);
  color: var(--tertiary);
}

@media (min-width: 1152px) {
  .single-page-schliesstechnik__aside-bottom-link-box {
    margin-top: 27px;
  }

  .single-page-schliesstechnik__nav-link,
  .single-page-schliesstechnik__aside-bottom-link {
    padding: 0;
    font-size: 14px;
    line-height: 1.5;
    background-color: transparent;
    color: var(--darker);
  }

  .single-page-schliesstechnik__nav-link:hover,
  .single-page-schliesstechnik__nav-link:focus,
  .single-page-schliesstechnik__aside-bottom-link:hover,
  .single-page-schliesstechnik__aside-bottom-link:focus {
    background-color: transparent;
    color: var(--tertiary);
  }

  .single-page-schliesstechnik__aside-bottom-link:active,
  .single-page-schliesstechnik__nav-link:active,
  .single-page-schliesstechnik__nav-link.active {
    background-color: transparent;
    color: var(--tertiary);
  }
}

/* --- Standort --- */
.standort {
  padding-bottom: 40px;
}

@media (min-width: 992px) {
  .standort {
    padding-bottom: 86px;
  }
}

.standort__map {
  display: block;
  width: 100%;
  height: 350px;
  border: 0;
}

.standort__boxes {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  padding-top: 40px;
}

@media (min-width: 768px) {
  .standort__boxes {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

@media (min-width: 992px) {
  .standort__boxes {
    padding-top: 60px;
  }
}

@media (min-width: 1152px) {
  .standort__boxes {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
  }
}

.standort__box {
  padding: 20px;
  background-color: var(--soft);
}

.standort__box-title {
  margin: 11px 0 10px 0;
  padding: 0;
  font-size: 24px;
  color: var(--primary);
}

.standort__box-desc {
  font-size: 17px;
  line-height: 1.58823529412;
}

.standort__box a,
.standort__box a:hover,
.standort__box a:focus,
.standort__box a:active {
  color: var(--primary);
}

.standort__box a {
  text-decoration: none;
}

.standort__box a:hover,
.standort__box a:focus,
.standort__box a:active {
  text-decoration: underline;
}

.standort__box:has(.contact-box) {
  padding: 0;
}

.standort__box .contact-box {
  padding: 20px;
  background-color: var(--soft);
  color: var(--darker);
  line-height: 1.58823529412;
}

.standort__box .contact-box h2 {
  color: var(--primary);
}

.standort__box .contact-box__social img {
  filter: brightness(0) saturate(100%) invert(16%) sepia(85%) saturate(1758%)
    hue-rotate(193deg) brightness(91%) contrast(96%);
}

.standort__box .contact-box__social a,
.standort__box .contact-box__social a:hover,
.standort__box .contact-box__social a:focus,
.standort__box .contact-box__social a:active {
  text-decoration: none;
}

/* Kontaktformular */
.kontaktformular {
  padding-top: 40px;
  padding-bottom: 40px;
}

@media (min-width: 992px) {
  .kontaktformular {
    padding-top: 40px;
    padding-bottom: 86px;
  }
}

.kontaktformular__title {
  margin: 0;
  padding: 0 0 60px 0;
  text-align: center;
}

.kontaktformular form input[type="text"],
.kontaktformular form input[type="password"],
.kontaktformular form input[type="email"],
.kontaktformular form input[type="tel"],
.kontaktformular form input[type="file"],
.kontaktformular form select,
.kontaktformular form textarea {
  display: block;
  width: 100%;
  max-width: 100%;
  padding: 4px 6px;
  background-color: var(--white);
  border: 1px solid var(--lighter);
  color: var(--darker);
  font-size: 14px;
  line-height: 1;
}

.kontaktformular form textarea {
  height: 170px;
}

@media (min-width: 576px) {
  .kontaktformular form input[type="text"],
  .kontaktformular form input[type="password"],
  .kontaktformular form input[type="email"],
  .kontaktformular form input[type="tel"],
  .kontaktformular form input[type="file"],
  .kontaktformular form select,
  .kontaktformular form textarea {
    width: 220px;
  }
}

.kontaktformular form input[type="text"]:focus,
.kontaktformular form input[type="password"]:focus,
.kontaktformular form input[type="email"]:focus,
.kontaktformular form input[type="tel"]:focus,
.kontaktformular form input[type="file"]:focus,
.kontaktformular form select:focus,
.kontaktformular form textarea:focus {
  outline: 0;
  border-color: rgba(82, 168, 236, 0.8);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075),
    0 0 8px rgba(82, 168, 236, 0.6);
}

.kontaktformular form input[type="file"] {
  padding: 0 6px 0 0;
  height: 30px;
}

.kontaktformular form input[type="file"]::file-selector-button {
  margin-right: 8px;
  height: 28px;
  border: none;
  background: var(--secondary);
  padding: 4px 6px;
  color: var(--white);
  cursor: pointer;
  transition: background 0.2s ease-in-out;
}

.kontaktformular form input[type="file"]::file-selector-button:hover,
.kontaktformular form input[type="file"]::file-selector-button:focus,
.kontaktformular form input[type="file"]::file-selector-button:active {
  background: var(--primary);
}

.kontaktformular form > p > label {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0 32px;
  font-size: 17px;
  line-height: 1.58823529412;
  color: var(--darker);
}

@media (min-width: 576px) {
  .kontaktformular form > p > label {
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  }
}

.kontaktformular form > p > label > span > span {
  color: var(--tertiary);
}

.kontaktformular form [type="submit"] {
  margin: 0;
  padding: 8px 30px;
  font-size: 16px;
  border-radius: 0;
  background: transparent;
  border: 1px solid var(--secondary);
  font-size: 17px;
  background-color: var(--white);
  color: var(--secondary);
  max-width: 100%;
  width: 100%;
}

@media (min-width: 576px) {
  .kontaktformular form [type="submit"] {
    width: 220px;
  }
}

.kontaktformular form [type="submit"]:hover,
.kontaktformular form [type="submit"]:focus {
  background-color: var(--secondary);
  border-color: var(--secondary);
  color: var(--white);
}

.kontaktformular form [type="submit"]:active {
  background-color: var(--secondary);
  border-color: var(--secondary);
  color: var(--white);
}

.wpcf7 form.sent .wpcf7-response-output {
  padding: 16px;
  background-color: #46b450;
  color: var(--white);
  border: 0;
}

.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output {
  padding: 16px;
  background-color: #dc3232;
  color: var(--white);
  border: 0;
}

.wpcf7 form.spam .wpcf7-response-output {
  padding: 16px;
  background-color: #f56e28;
  color: var(--white);
  border: 0;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
  padding: 16px;
  background-color: #ffb900;
  color: var(--darker);
  border: 0;
}

.wpcf7-not-valid-tip {
  padding-top: 8px;
  color: var(--primary);
  font-size: 12px;
  line-height: 1;
}

.wpcf7-spinner {
  background-color: var(--primary);
}

.kontaktformular .contact-box {
  padding: 0 0 40px 0;
  background-color: transparent;
  color: var(--darker);
}

.kontaktformular .contact-box h2 {
  color: var(--primary);
}

.kontaktformular .contact-box__social img {
  filter: brightness(0) saturate(100%) invert(16%) sepia(85%) saturate(1758%)
    hue-rotate(193deg) brightness(91%) contrast(96%);
}

.kontaktformular a,
.kontaktformular a:hover,
.kontaktformular a:focus,
.kontaktformular a:active {
  color: var(--primary);
}

/* --- Static Page --- */
.static-page {
  padding-top: 40px;
  padding-bottom: 40px;
  font-size: 17px;
  line-height: 1.58823529412;
  color: var(--darker);
}

@media (min-width: 992px) {
  .static-page {
    padding-top: 40px;
    padding-bottom: 86px;
  }
}

.static-page h1 {
  margin-top: 0;
  margin-bottom: 60px;
  font-size: 36px;
  font-weight: 400;
  text-align: center;
  color: var(--primary);
  letter-spacing: 1px;
}

.static-page h2 {
  font-size: 24px;
  font-weight: 500;
  font-size: 24px;
  margin-top: 40px;
  margin-bottom: 17px;
  padding: 0;
  color: var(--primary);
}

.static-page a[href]:not([class]) {
  color: var(--primary);
  text-decoration: none;
}

.static-page a[href]:not([class]):hover,
.static-page a[href]:not([class]):focus,
.static-page a[href]:not([class]):active {
  color: var(--primary);
  text-decoration: underline;
}

/* --- Page 404 --- */
.page-404 {
  padding-top: 40px;
  padding-bottom: 40px;
  text-align: center;
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

@media (min-width: 992px) {
  .page-404 {
    padding-top: 40px;
    padding-bottom: 86px;
  }
}

.page-404__num {
  margin-bottom: 56px;
  font-size: 200px;
  line-height: 1;
  font-weight: 700;
  color: var(--secondary);
}

.page-404__title {
  margin: 0;
  padding: 0;
}

.page-404__content {
  margin-top: 20px;
}

.page-404__content > *:last-child {
  margin-bottom: 0;
}

.page-404__btn {
  margin-top: 20px;
}
