:root {
  --blue: #002D5A;
  --ink: #25328A;
}

@font-face {
    font-family: Lato;
    font-style: normal;
    font-weight: normal;
    src: url(../font/Lato-Regular.ttf);
}

@font-face {
    font-family: Lato;
    font-style: normal;
    font-weight: bold;
    src: url(../font/Lato-Bold.ttf);
}


* {
  box-sizing: border-box;
  font-size: 16px;
  font-family: Lato, Arial;
}

html,
body,
p {
  margin: 0;
  padding: 0
}



body {
  font-family: Lato, Arial;
  color: var(--ink);
  line-height: 1.6
}

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

.spacer {
  height: 10px;
}

.spacer_subpage {
  height: 70px;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px
}

.centered {
  text-align: left;
}

.mobile_only {
  display: none;
}

.topbar {
  background: #fff;
  position: fixed;
  width: 100%;
  z-index: 9996;
}

.topbar hr {
  border: 0;
  border-bottom: 1px solid rgba(37, 50, 138, .05);
  margin: 0 0 20px 0;
}

.topbar .container div,
.topbar .container nav {
  display: inline-block;
  vertical-align: middle;
  margin-right: 20px;
}


.brand img {
  height: 60px;
  width: auto
}

.nav ul {
  display: flex;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0
}

.nav a {
  text-decoration: none;
  color: var(--ink);
  font-size: 20px;
  border-bottom: 3px solid transparent;
  line-height: 65px;
  padding-bottom: 18px;

}

.nav a:hover,
.is-active {
  border-bottom: 3px solid var(--blue) !important;
}

.nav-toggle {
  display: none
}

.hero img {
  padding-top:85px;
  width: 100%;
  height: auto
}

.intro {
  background: var(--blue);
  color: #fff;
  padding: 48px 0;
  margin-bottom: 48px
}

.intro .breadcrumb {
  opacity: .8;
  font-size: 16px;
  font-weight: bold;
}

.intro h1, .section h1 {
  margin: .2em 0;
  font-size: 2.5rem
}

.section {
  margin: 48px 0;

}

.section h2 {
  font-size: 1.8rem;
  margin: 0 0 .4em
}

.two-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px
}

.two-cols-contact {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 0;
}

.hl_w_logo {
  display: flex;
  align-items: center;
  column-gap: 1.5rem;
  row-gap: 0;
}

.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  margin: 28px 0
}

.feature.reverse .text {
  order: 2
}

.feature.reverse .image {
  order: 1
}

.feature .text h3 {
  margin-top: 0;
  font-size: 20px;
}

.contact .tile {
  background-image: url(../img/contact_back.png);
  background-size: cover;
  height: 225px;

}

.contact .card {
  background: #f6f8fb;
  border: 1px solid #e1e6ef;
  height: 225px;
  padding: 25px 40px 25px 40px;

}

.contact .card h3 {
  font-size: 20px;
  margin: 0;
}

.contact .card a {
  color: #002d5a;
  font-weight: bold;
}

.contact .card a:hover {
  color: #0a58ca;
  font-weight: bold;
}

#datenschutz strong {
  display:inline-block;
  margin:10px 0 5px 0;
}

#datenschutz li {
 margin-left:20px;
}

hr {
  border: 0;
  margin-bottom: 5px;
}

.thin {
  color: rgba(37, 50, 138, 0.71);
}

.footer {
  background: var(--blue);
  color: #fff;
  padding: 36px 0;
  margin-top: 64px
}

.footer-nav {
  display: inline-flex;
  gap: 28px
}

.footer-nav a {
  color: #fff;
  text-decoration: none
}

.footer-nav a:hover {
  opacity: .8
}

@media (max-width: 900px) {

  .two-cols,
  .feature {
    grid-template-columns: 1fr
  }

  .feature .text,
  .feature.reverse .text {
    order: 2
  }

  .feature .image,
  .feature.reverse .image {
    order: 1;
  }

  .image img {
    width: 100%;
  }

}

@media (max-width: 640px) {

  .centered {
    text-align: center;
  }

  .mobile_only {
  display: inline-block;
}

.space_line {
  margin-top: 20px;
  padding-top:20px;
  border-top: 1px solid rgba(37, 50, 138, .05);
}


  .nav ul {
    display: none
  }

  .nav-toggle {
    cursor: pointer;
    position: absolute;
    left: 20px;
    top: 10px;
    display: inline-block;
    border: none;
    background: transparent;
    padding: 8px 10px;
    border-radius: 4px
  }

  .nav ul.open {
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 0;
    position: absolute;
    top: 80px;
    left: 0;
    background-color: rgba(255, 255, 255, 0.96);
    width: 100%;
    padding: 0 20px 20px 20px;
    border-bottom: 1px solid rgba(37, 50, 138, .05);

  }

  .intro {
    padding: 36px 0
  }

  .two-cols-contact {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contact .tile {
    background-image: url(../img/contact_back.png);
    height: 225px;
    width: 100%;
    min-width: 100%;

  }

}


.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9997;
}

.modal-overlay.active {
  display: flex;
}


.modal {
  background: #fff;
  color: #000;
  padding: 0;
  width: 90%;
  max-height: 90%;
  overflow: overlay;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
  animation: modalFadeIn 0.2s ease-out;
  z-index: 9998;
  border: 1.5vw solid white;

}

.modal-close {
  background: rgba(245, 245, 245, 1);
  color: black;
  cursor: pointer;
  font-size: 20px;
  position: absolute;
  right: 5%;
  top: calc(5% - 35px);
  width: 26px;
  z-index: 9999;
  border: 1px solid silver;
  animation: modalFadeIn 0.2s ease-out;
}


@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}