@font-face {
  font-family: "Dinot";
  font-weight: 400;
  font-style: normal;
  src: url("../fonts/DINOT-REGULAR.TTF") format("truetype");
}

@font-face {
  font-family: "Dinot";
  font-weight: 700;
  font-style: normal;
  src: url("../fonts/DINOT-BOLD.TTF") format("truetype");
}

:root {
  --op-blue: #0078bf;
  --op-blue-dark: #005388;
  --op-blue-soft: #e8f4fb;
  --op-text: #323f48;
  --op-muted: #66747d;
  --op-border: #d9e4ea;
  --op-section: #f4f7f9;
  --op-white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--op-text);
  font-family: "Dinot", Arial, sans-serif !important;
  font-size: 17px;
  line-height: 1.65;
  background: var(--op-white);
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--op-blue) !important;
  text-decoration: none !important;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

a:hover,
a:focus {
  color: var(--op-blue-dark) !important;
}

ul {
  list-style: none;
  padding: 0 !important;
  margin: 0;
}

ul li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
}

ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--op-blue);
}

.text-blue {
  color: var(--op-blue);
}

.text-big {
  font-size: 20px;
}

.menu {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;
  width: 100%;
  min-height: 96px;
  padding: 18px 0 16px;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(0, 83, 136, 0.12);
  box-shadow: 0 8px 26px rgba(22, 44, 60, 0.08);
  backdrop-filter: blur(10px);
}

.menu .row {
  align-items: center;
}

.logo,
.logo img {
  width: 170px;
  margin-top: 0;
}

.logo img {
  display: block;
}

.menu-links {
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  margin-top: 0;
}

.menu-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 7px 9px;
  color: var(--op-text) !important;
  border-radius: 6px;
  border: 1px solid transparent;
  font-size: 15px;
  line-height: 1.25;
}

.menu-link:hover,
.menu-link:focus {
  color: var(--op-blue) !important;
  background: var(--op-blue-soft);
  border-color: rgba(0, 120, 191, 0.2);
}

.lang {
  min-height: 40px;
  margin-top: 0 !important;
  color: var(--op-blue) !important;
  border: 1px solid rgba(0, 120, 191, 0.32) !important;
  border-radius: 999px !important;
  padding: 7px 13px !important;
  font-weight: 700 !important;
}

.dropdown-menu {
  overflow: hidden;
  min-width: 88px;
  border: 1px solid var(--op-border) !important;
  border-radius: 8px !important;
  box-shadow: 0 12px 30px rgba(22, 44, 60, 0.14);
}

.menu-btn {
  color: var(--op-blue) !important;
  font-size: 32px !important;
}

.menu-icon {
  position: relative;
  display: inline-block;
  width: 24px;
  height: 16px;
  border-top: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
}

.menu-icon::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  border-top: 2px solid currentColor;
  transform: translateY(-50%);
}


.btn.show,
.btn:active {
  border-color: transparent !important;
}

.phone-menu {
  margin-top: 14px;
  border: 1px solid var(--op-border);
  border-radius: 8px;
  overflow: hidden;
  background: var(--op-white);
  box-shadow: 0 12px 28px rgba(22, 44, 60, 0.14);
}

.phone-menu-link {
  min-height: 42px;
  padding: 0;
  background: var(--op-white);
  border-bottom: 1px solid var(--op-border);
}

.phone-menu-link:last-of-type {
  border-bottom: 0;
}

.phone-menu-link a {
  display: block;
  padding: 10px 14px;
  color: var(--op-text) !important;
}

.phone-menu-link a:hover,
.phone-menu-link a:focus {
  color: var(--op-blue) !important;
  background: var(--op-blue-soft);
}

.octapack-image {
  position: relative;
  min-height: 680px;
  padding: 230px 0 120px;
  color: var(--op-white);
  background: url("../images/octapack.jpg") center center / cover no-repeat;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.octapack-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 38, 62, 0.72), rgba(0, 83, 136, 0.28) 52%, rgba(0, 0, 0, 0.08));
}

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

.octapack-image h1 {
  margin: 0 0 18px;
  color: var(--op-white);
  font-size: clamp(52px, 8vw, 96px);
  line-height: 0.95;
}

.blue-div {
  width: min(620px, 100%);
  padding: 22px 26px !important;
  background: rgba(0, 83, 136, 0.86);
  border-left: 6px solid var(--op-blue);
}

.blue-div h2 {
  margin: 0;
  color: var(--op-white);
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.18;
}

.section {
  padding-top: 86px;
  padding-bottom: 86px;
  scroll-margin-top: 120px;
}

.gray-section {
  background: var(--op-section);
  scroll-margin-top: 120px;
}

.white-section {
  background: var(--op-white);
}

.section h2,
.white-section h2,
.gray-section h2 {
  margin-bottom: 28px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.12;
}

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

.icon {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
}

.container.section > .row:first-child + .row a,
.container.section[id="octapack"] a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-weight: 700;
}

.container.section[id="vorteile"] > img,
img-comparison-slider,
.gray-section img,
.container.section img {
  border-radius: 8px;
}

img-comparison-slider {
  display: block;
  width: min(1180px, calc(100% - 32px));
  margin: 10px auto 0;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(22, 44, 60, 0.13);
}

.gray-section .container.section .row.mt-5 p {
  max-width: 900px;
  margin: 0 auto;
  color: var(--op-muted);
  font-size: 20px;
}

.details {
  width: 100%;
  min-height: 680px;
  display: flex;
  flex-direction: row;
  background-size: cover;
  background-position: center;
  transition: background-image 0.45s ease-in-out;
  scroll-margin-top: 120px;
}

.details-1 {
  background-image: url("../images/details_1.jpg");
}

.details-2 {
  background-image: url("../images/details_2.jpg");
}

.details-3 {
  background-image: url("../images/details_3.jpg");
}

.details-4 {
  background-image: url("../images/details.jpg");
}

.details-col {
  position: relative;
  flex: 1 1 33.333%;
  min-height: 680px;
  padding: 34px;
  color: var(--op-white);
  border-right: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(0, 36, 58, 0.2);
  cursor: pointer;
  transition: flex 0.35s ease, background 0.25s ease;
}

.details-col:hover,
.details-col:focus-within {
  background: rgba(0, 83, 136, 0.78);
}

.details-col.clicked {
  flex: 1 1 58%;
  background: rgba(0, 83, 136, 0.86);
}

.details-col h2 {
  max-width: 520px;
  margin-bottom: 18px;
  color: var(--op-white);
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.15;
}

.details-col p,
.details-col ul {
  max-width: 620px;
}

.details-col p.opacity-100,
.details-col ul.opacity-100 {
  opacity: 1 !important;
}

.details-col ul li::before {
  background: var(--op-white);
}

.kontakt-image {
  position: relative;
  min-height: 360px;
  margin-bottom: 72px;
  padding: 130px 0;
  color: var(--op-white);
  background: url("../images/kontakt.jpg") center center / cover no-repeat;
  border-radius: 8px;
  overflow: hidden;
}

.kontakt-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 83, 136, 0.48);
}

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

.kontakt-image h2 {
  margin: 0;
  color: var(--op-white);
  font-size: clamp(38px, 6vw, 72px);
}

.contact-input {
  min-height: 50px;
  border: 1px solid var(--op-border) !important;
  border-radius: 6px !important;
  background: var(--op-white) !important;
  box-shadow: none !important;
}

textarea.contact-input {
  min-height: 150px;
}

.contact-input:focus {
  border-color: var(--op-blue) !important;
  box-shadow: 0 0 0 4px rgba(0, 120, 191, 0.12) !important;
}

.checkbox {
  color: var(--op-muted);
  font-size: 15px;
  line-height: 1.55;
}

.team-contact {
  max-width: 460px;
  margin-top: 42px;
}

.team-contact h3 {
  margin-bottom: 12px;
  color: var(--op-blue);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.25;
}

.team-contact p {
  margin-bottom: 20px;
  color: var(--op-text);
  line-height: 1.65;
}

.team-contact .submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.submit {
  min-height: 48px;
  padding: 10px 34px !important;
  color: var(--op-white) !important;
  border: 2px solid var(--op-blue) !important;
  border-radius: 999px !important;
  background: var(--op-blue) !important;
  font-weight: 700 !important;
}

.submit:hover,
.submit:focus {
  color: var(--op-blue) !important;
  background: var(--op-white) !important;
}

.blue-section {
  color: var(--op-white) !important;
  background: var(--op-blue-dark) !important;
}

.blue-section a {
  color: var(--op-white) !important;
}

.blue-section a:hover,
.blue-section a:focus {
  color: #cfeaf8 !important;
}

.small-logo {
  width: 110px;
  height: auto;
  border-radius: 0 !important;
}

footer .section {
  padding-top: 54px;
  padding-bottom: 54px;
}

@media (max-width: 991px) {
  .menu {
    min-height: 86px;
    padding: 12px 0;
  }

  .logo,
  .logo img {
    width: 148px;
  }

  .octapack-image {
    min-height: 620px;
    padding: 190px 0 86px;
  }

  .section {
    padding-top: 68px;
    padding-bottom: 68px;
  }

  .details {
    min-height: 0;
    flex-direction: column;
    background-image: none !important;
    background: var(--op-blue-dark);
  }

  .details-col {
    min-height: 0;
    padding: 28px 22px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(0, 83, 136, 0.78);
  }

  .details-col.clicked {
    flex: 1 1 auto;
  }

  .details-col p,
  .details-col ul {
    opacity: 1 !important;
  }
}

@media (max-width: 767px) {
  body {
    font-size: 16px;
  }

  .menu > .container > .row > .col-12 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
  }

  .menu > .container > .row > .col-12:first-child {
    justify-content: center;
    margin-bottom: 4px;
  }

  .octapack-image {
    min-height: 540px;
    padding: 170px 0 70px;
  }

  .blue-div {
    padding: 18px !important;
  }

  .section {
    padding-top: 56px;
    padding-bottom: 56px;
    scroll-margin-top: 132px;
  }

  .container.section > .row + .row {
    row-gap: 22px;
  }

  img-comparison-slider {
    width: calc(100% - 24px);
  }

  .kontakt-image {
    min-height: 280px;
    margin-bottom: 48px;
    padding: 94px 0;
  }

  .small-logo {
    width: 96px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}


@media (min-width: 768px) {
  .menu-links {
    display: flex !important;
  }
}
