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

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

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

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
}

html,
body {
  min-height: 100%;
}

body {
  background-color: #ffffff;
  color: #231f1f;
  font-family: "Open Sans", sans-serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 129%;
}

[class*="__container"] {
  max-width: 961px;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: content-box;
}

.wrapper {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
}

.page {
  flex: 1 1 auto;
}

.header {
  background-color: #ffffff;
}

.header__container {
  position: relative;
  display: flex;

  min-height: 72px;
  align-items: center;
  justify-content: space-between;
}

.header__logo {
  display: flex;
  width: 151px;
}

.header__logo-image {
  width: 151px;
  height: 40px;
  object-fit: contain;
}

.header__advertisement {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  color: #929292;
  font-size: 14px;
  line-height: 130%;
}

.benefits {
  padding: 38px 0 100px;
}

.benefits__title {
  margin: 0 0 20px;
  color: #231f1f;
  font-size: 40px;
  font-weight: 700;
  line-height: 120%;
}

.benefits__hero-image {
  width: 100%;
  height: 640px;
  object-fit: cover;
  object-position: center top;
}

.benefits__intro {
  display: flex;
  flex-direction: column;
  gap: 36px;
  padding: 28px 0 24px;
  font-size: 24px;
  line-height: 134%;
}

.benefits__intro h2 {
  margin-bottom: 0;
  font-size: 32px;
  font-weight: 700;
  line-height: 130%;
}

.benefits__item {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 24px;
  border: 1px solid #e8e8e8;
  margin-bottom: 31px;
  background-color: #ffffff;
  box-shadow: 2px 2px 10px rgba(49, 0, 1, 0.25);
}

.benefits__item:last-child {
  margin-bottom: 0;
}

.benefits__item-image {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 1.78;
  object-fit: cover;
}

.benefits__item-title {
  display: flex;
  min-height: 87px;
  margin: 0;
  align-items: center;
  gap: 18px;
  text-align: left;
  font-size: 28px;
  font-weight: 700;
  line-height: 150%;
  text-transform: uppercase;
}

.benefits__item-number {
  flex: 0 0 auto;
  color: #BC0F12;
  font-size: 64px;
  font-weight: 700;
  line-height: 1;
}

.benefits__item-title a {
  color: #2563eb;
  text-decoration: none;
}

.benefits__item-text {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 20px;
  line-height: 130%;
}
.benefits__item-text p {
  line-height: 113%;
}

.benefits__item-text a {
  color: #2563eb;
  font-weight: 700;
  text-decoration: underline;
}

.benefit-card__button {
  display: flex;
  width: 100%;
  min-height: 58px;
  margin: 20px 0 0;
  padding: 16px 40px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 0;
  background-color: #bc0f12;
  color: #ffffff;
  font-size: 16px;
  font-weight: 400;
  line-height: 130%;
  transition: background-color 200ms ease;
}

.benefit-card__button:hover {
  background-color: #990c0f;
}

.legal {
  padding: 70px 0 96px;
}

.legal__title {
  margin-bottom: 12px;
  color: #00184f;
  font-size: 48px;
  font-weight: 700;
  line-height: 130%;
}

.legal__updated {
  margin-bottom: 40px;
  color: #5f6470;
  font-size: 16px;
  line-height: 130%;
}

.legal__content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-size: 20px;
  line-height: 130%;
}

.legal__container > p:not(.legal__updated) {
  margin-bottom: 20px;
  font-size: 20px;
  line-height: 130%;
}

.legal__section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.legal__section-title {
  margin-top: 12px;
  color: #00184f;
  font-size: 32px;
  font-weight: 700;
  line-height: 130%;
}

.legal__subsection-title {
  margin: 16px 0 4px;
  color: #00184f;
  font-size: 24px;
  font-weight: 700;
  line-height: 130%;
}

.legal__contact-details {
  display: flex;
  margin-bottom: 20px;
  flex-direction: column;
  gap: 8px;
  font-size: 20px;
  line-height: 130%;
}

.legal__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-left: 24px;
  font-size: 20px;
  line-height: 130%;
}

.legal__link {
  color: #2563eb;
  font-weight: 700;
}

.footer {
  padding: 40px 0 38px;
  background-color: #000000;
  color: #ffffff;
  font-family: "Roboto", sans-serif;
}



.footer__title {
  margin-bottom: 6px;
  font-size: 16px;
  font-weight: 700;
  line-height: 130%;
}

.footer__text {
  margin-bottom: 7px;
  color: #FFFFFF;
  font-size: 14px;
  line-height: 113%;
  font-weight: 300;
}

.footer__text--last {
  margin-bottom: 20px;
}

.footer__columns {
  display: grid;
  grid-template-columns: repeat(2, 471px);
  align-items: start;
  gap: 22px;
}

.footer__column {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  gap: 10px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 400;
  line-height: 120%;
}

.footer__column h3 {
  margin-bottom: 8px;
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  line-height: 100%;
}

.footer__column a {
  font-size: 14px;
}

.footer__column strong {
  font-size: 14px;
  font-weight: 700;
  line-height: 100%;
}

.footer__links {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
      gap: 6px;
    margin-bottom: 5px;
  text-align: left;
}

.footer__links a {
  line-height: 130%;
  text-decoration: none;
}

.footer__link-button {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  line-height: 130%;
  text-align: left;
  cursor: pointer;
}

.footer__links a:hover,
.footer__link-button:hover,
.footer__links a:focus-visible,
.footer__link-button:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.modal-open {
  overflow: hidden;
}

.impressum-modal[hidden] {
  display: none;
}

.impressum-modal {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  font-family: "Roboto", sans-serif;
}

.impressum-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.68);
}

.impressum-modal__dialog {
  position: relative;
  width: min(100%, 520px);
  padding: 32px;
  border-radius: 4px;
  background: #ffffff;
  color: #1f1f1f;
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.35);
  outline: none;
}

.impressum-modal__close {
  position: absolute;
  top: 10px;
  right: 14px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #1f1f1f;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

.impressum-modal__title {
  margin: 0 36px 22px 0;
  font-size: 26px;
  line-height: 1.2;
}

.impressum-modal__content {
  font-size: 17px;
  line-height: 1.55;
}

.impressum-modal__content p {
  margin: 0 0 18px;
}

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

.impressum-modal__content a {
  color: #c90d12;
  text-underline-offset: 3px;
}

.footer__company {
  gap: 10px;
  line-height: 140%;
}

.footer__company a {
  color: #ffffff;
  text-decoration: none;
  text-underline-offset: 3px;
}

.footer__company a[href^="mailto:"] {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.footer__copyright {
  padding-top: 0;
  border-top: 0;
  margin-top: 29px;
  color: #ABA8A8;
  font-size: 14px;
  line-height: 130%;
  text-align: center;
}

@media (max-width: 1050px) {
  .footer__columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

  [class*="__container"] {
    padding: 0 16px;
  }

  /* .header__container {
    min-height: 64px;
  } */

  /* .header__logo,
  .header__logo-image {
    width: 135px;
    height: 32px;
  } */

  .header__advertisement {
    right: 16px;
    left: auto;
    transform: none;
    font-size: 14px;
  }

  .benefits {
    padding: 26px 0 100px;
  }

  .benefits__title {
    font-size: 32px;
    line-height: 128%;
        margin: 0 0 26px;
  }
.benefits__hero-image {
  height: 300px;
}
  .benefits__intro h2 {
    font-size: 28px;
  }

  .benefits__intro {
    font-size: 18px;
    padding: 22px 0 20px;
    line-height: 140%;
    gap: 25px;
  }

  .benefits__item {
    gap: 24px;
    margin-bottom: 30px;
  }

  .benefits__item-image {
    width: 100%;
    height: 267px;
  }
.benefits__item-text p {
  font-size: 16px;
  line-height: 133%;
}
  .benefits__item-title {
    gap: 20px;
    font-size: 20px;
    line-height: 140%;
  }

  .benefits__item-number {
    font-size: 64px;
  }

  .benefits__item-text {
    gap: 16px;
    font-size: 16px;
  }

  .benefit-card__button {
    padding: 12px 20px;
    margin: 15px 0 0;
  }

  .legal {
    padding: 40px 0 56px;
  }

  .legal__title {
    font-size: 32px;
  }

  .legal__updated {
    margin-bottom: 24px;
    font-size: 14px;
  }

  .legal__content {
    gap: 16px;
    font-size: 14px;
  }

  .legal__container > p:not(.legal__updated) {
    margin-bottom: 16px;
    font-size: 14px;
  }

  .legal__section {
    gap: 12px;
  }

  .legal__list {
    font-size: 14px;
  }

  .legal__section-title {
    margin-top: 8px;
    font-size: 20px;
  }

  .legal__subsection-title {
    font-size: 18px;
  }

  .legal__contact-details {
    margin-bottom: 16px;
    font-size: 14px;
  }

  .footer__columns {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer__column {
    width: 100%;
  }

  .footer__links {
    align-items: flex-start;
    text-align: left;
  }
}
