@font-face {
  font-display: fallback;
  font-family: "DKBEuclid";
  font-style: normal;
  font-weight: 300;
  src: url("../fonts/DKBEuclid-Light-WebXL.woff2") format("woff2"),
    url("../fonts/DKBEuclid-Light-WebXL.woff") format("woff");
}
@font-face {
  font-display: fallback;
  font-family: "DKBEuclid";
  font-style: italic;
  font-weight: 300;
  src: url("../fonts/DKBEuclid-LightItalic-WebXL.woff2") format("woff2"),
    url("../fonts/DKBEuclid-LightItalic-WebXL.woff") format("woff");
}
@font-face {
  font-display: fallback;
  font-family: "DKBEuclid";
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/DKBEuclid-Regular-WebXL.woff2") format("woff2"),
    url("../fonts/DKBEuclid-Regular-WebXL.woff") format("woff");
}
@font-face {
  font-display: fallback;
  font-family: "DKBEuclid";
  font-style: normal;
  font-weight: 500;
  src: url("../fonts/DKBEuclid-Medium-WebXL.woff2") format("woff2"),
    url("../fonts/DKBEuclid-Medium-WebXL.woff") format("woff");
}
@font-face {
  font-display: fallback;
  font-family: "DKBEuclid";
  font-style: italic;
  font-weight: 500;
  src: url("../fonts/DKBEuclid-MediumItalic-WebXL.woff2") format("woff2"),
    url("../fonts/DKBEuclid-MediumItalic-WebXL.woff") format("woff");
}
@font-face {
  font-display: fallback;
  font-family: "DKBEuclid";
  font-style: normal;
  font-weight: 600;
  src: url("../fonts/DKBEuclid-Semibold-WebXL.woff2") format("woff2"),
    url("../fonts/DKBEuclid-Semibold-WebXL.woff") format("woff");
}
@font-face {
  font-display: fallback;
  font-family: "DKBEuclid";
  font-style: italic;
  font-weight: 600;
  src: url("../fonts/DKBEuclid-SemiboldItalic-WebXL.woff2") format("woff2"),
    url("../fonts/DKBEuclid-SemiboldItalic-WebXL.woff") format("woff");
}
@font-face {
  font-display: fallback;
  font-family: "DKBEuclid";
  font-style: normal;
  font-weight: 700;
  src: url("../fonts/DKBEuclid-Bold-WebXL.woff2") format("woff2"),
    url("../fonts/DKBEuclid-Bold-WebXL.woff") format("woff");
}
@font-face {
  font-display: fallback;
  font-family: "DKBEuclid";
  font-style: italic;
  font-weight: 700;
  src: url("../fonts/DKBEuclid-BoldItalic-WebXL.woff2") format("woff2"),
    url("../fonts/DKBEuclid-BoldItalic-WebXL.woff") format("woff");
}

/* Base */
body,
html {
  height: 100%;
}

body,
select,
input {
  font-family: "DKBEuclid",Arial,Helvetica,sans-serif;
  font-size: 100%;
  scroll-behavior: smooth;
}

/* apply a natural box layout model to all elements, but allowing components to change */
html {
  box-sizing: border-box;
}

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

/* Links */


/* Grid */
.grid {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  grid-template-columns: repeat(12, 1fr);
  column-gap: 20px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}

/* Buttons */
.button {
  display: inline-block;
  text-decoration: none;
  border: none;
  border-radius: 6px;
  padding: 12px 18px 12px 18px;
}

.button--primary {
  background-color: rgba(9, 118, 214, 1);
  color: white;
}

.button--secondary {
  background-color: rgba(0, 144, 255, 0.09);
  color: #006ac7;
}

/* Page */
.page-container {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.page-container__content {
  flex: 1 0 auto;
  display: flex;
  align-items: center;
  margin-top: 24px;
}

/* Page Header */
.page-header {
  padding: 20px;
}

.page-header a {
  border: none;
  text-decoration: none;
}

/* Page Footer */
.page-footer {
  flex-shrink: 0;
  background-color: #002e5c;
  border-top: 1px solid #002e5c;
  color: #ffffff;
  margin-top: 4.1667vw;
  padding: 24px 0 73px 0;
  position: relative;
  width: 100%;

  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
}

.page-footer::before {
  background-size: 100% 4.1667vw;
  border: 0;
  content: "";
  display: block;
  height: 4.1667vw;
  left: 0;
  position: absolute;
  width: 100%;
  background-image: url("data:image/svg+xml, %3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' fill='%23002e5c' stroke='%23002e5c' preserveAspectRatio='none'%3E%3Cpolygon points='100,0 100,100 0,100' /%3E%3C/svg%3E");
  bottom: 99.9%;
  box-shadow: 0px 1px 0 0 #002e5c;
  z-index: -1;
}

.page-footer__container.grid {
  display: grid;
  grid-template-columns: 1fr auto;
  position: relative;
  z-index: 1;
}

.footer-navlist {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.footer-navlist__item {
  margin-bottom: 32px;
}

.footer-navlist__item:last-child {
  margin-bottom: 0;
}

.footer-anchor {
  color: #ffffff;
  text-decoration: none;
  border: 1px solid transparent;

  transition: color 0.3s;
}

.footer-anchor:hover,
.footer-anchor:visited:hover {
  color: #cfeaff;
  border-bottom: 1px solid #cfeaff;
}

.footer-anchor:visited {
  color: #ffffff;
  text-decoration: none;
  border: none;
}

.footer-anchor:hover,
.footer-anchor:visited:hover {
  color: color(from blue srgb r g b / 0.2);
  border-bottom: 1px solid color(from blue srgb r g b / 0.2);
}

.footer-anchor:active {
  background-color: color(from blue srgb r g b / 0.8);
  border-bottom: 1px solid color(from blue srgb r g b / 0.2);
}

.footer-anchor:focus {
  outline: none;
  text-decoration-color: color(from blue srgb r g b / 0.4);
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  border-radius: 2px;
  border: 2px solid color(from blue srgb r g b / 0.6);
}

.footer-links,
.footer-logo {
  align-self: end;
}

.footer-logo {
  height: 39.27px;
  width: 77px;
}

/* Error */
.error__content {
  grid-column: span 12;
}

.error__overline {
  margin-bottom: 8px;
  font-weight: 500;
  font-size: 24px;
  line-height: 1.41;
  color: rgba(15, 47, 71, 0.66);
}

.error__headline {
  margin-bottom: 24px;
  font-weight: 700;
  font-size: 48px;
  line-height: 1.16;
  color: rgba(13, 14, 15, 0.95);
}

.error__text {
  margin-bottom: 32px;
  font-size: 20px;
  line-height: 1.5;
  color: rgba(27, 43, 56, 0.84);
}

.error__buttons {
  display: flex;
}

.error__buttons .button {
  margin-right: 8px;
}

.error__buttons .button:last-of-type {
  margin-right: 0;
}

.error__illustration {
  grid-column: span 12;
  display: grid;
  justify-content: start;
}

/* Media Queries */
/* M */
@media only screen and (min-width: 740px) {
  .grid {
    padding: 0 30px;
    column-gap: 30px;
  }

  /* Page Header */
  .page-header {
    padding: 30px;
  }

  /* Error */
  .error__content {
    grid-column: 2 / span 6;
  }

  .error__illustration {
    grid-column: span 5;
  }

  /* Page Footer */
  .page-footer {
    padding: 24px 0 32px 0;
  }

  .footer-navlist__item {
    display: inline-block;
    margin-bottom: 0;
    margin-right: 20px;
  }
}

/* L */
@media only screen and (min-width: 1050px) {
  .grid {
    padding: 0 30px;
    column-gap: 30px;
    max-width: calc(990px + (2 * 30px));
  }

  /* Page Header */
  .page-header {
    padding: 30px;
  }

  /* Page Footer */
  .page-footer {
    padding: 0 0 32px 0;
  }

  .footer-navlist {
    display: inline-block;
    margin-right: 40px;
  }

  .footer-logo {
    height: 55px;
    width: 106px;
  }
}

/* XL */
@media only screen and (min-width: 1440px) {
  .grid {
    padding: 0 30px;
    column-gap: 30px;
    max-width: calc(990px + (2 * 30px));
  }

  /* Page Header */
  .page-header {
    padding: 30px;
  }
}

/* Footer */
.footer_inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #F3F4F4; /* Graue Hintergrundfarbe für den Container */
  padding: 10px; /* Optional: Fügen Sie Padding zum Container hinzu */
}

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

.footer_logo img {
  margin-right: 10px; /* Optional: Fügen Sie einen Abstand zwischen dem Logo und den Navigationselementen hinzu */
  margin-left: 10px; /* Optional: Fügen Sie einen Abstand links vom Logo hinzu */
  text-decoration: none; /* Entfernt die Unterstreichung für das Bild */
}

.footer_logo ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}

.footer_logo li {
  margin-right: 10px; /* Optional: Fügen Sie einen Abstand zwischen den Navigationselementen hinzu */
}

.footer_logo a {
  text-decoration: none; /* Entfernt die Unterstreichung für die Links */
  color: gray; /* Standardfarbe */
  font-size: 16px; /* Standard-Schriftgröße */
  transition: color 0.3s ease; /* Sanfte Farbübergänge */
}

.footer_logo a:hover {
  color: rgb(3, 162, 215); /* Farbe bei Hover */
  text-decoration: underline; /* Unterstreichung bei Hover */
}