/* Customized CSS */
/* cairo-200 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Cairo';
  font-style: normal;
  font-weight: 200;
  src: url('../fonts/cairo-v28-latin-200.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* cairo-300 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Cairo';
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/cairo-v28-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* cairo-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Cairo';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/cairo-v28-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* cairo-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Cairo';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/cairo-v28-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* cairo-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Cairo';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/cairo-v28-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* cairo-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Cairo';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/cairo-v28-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* cairo-800 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Cairo';
  font-style: normal;
  font-weight: 800;
  src: url('../fonts/cairo-v28-latin-800.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* cairo-900 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Cairo';
  font-style: normal;
  font-weight: 900;
  src: url('../fonts/cairo-v28-latin-900.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* SUBSCRIBER-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'SUBSCRIBER';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/SUBSCRIBER-Regular.otf') format('opentype'); 
}


html, body *, h1, h2, h3, h4, h5, h6 {
  font-family: 'Cairo' !important; 
}
body {
    background-color: white !important;
    color: #1a171b !important;
}
.container-fluid {
    padding: 0 !important;
}

.container {
  max-width: 992px !important;
}

.bg-rosa {
  background: #961b3b;
}
.text-rosa {
  color: #961b3b;
}
.text-subscriber {
  font-family: 'SUBSCRIBER' !important;
}
.logo {
  max-height: 22vw !important;
  margin: 0 19px 17px 0 !important;
}
.kontakt_info img {
  max-width: 24px;
}
.kontakt_info span {
  line-height: 34px;
}
.link_unten_rounded {
  border-bottom-left-radius: 5rem;
}
.nav-item {
  background: radial-gradient(#004285 25%, #00183F);
  background-size: contain;
  min-width: 130px;
}
.nav-item:hover {
  background: radial-gradient(#64a3e2 25%, #00183F);
}
a.nav-link {
  line-height: 1.1rem !important;
  font-size: 1.1rem;
  font-weight: lighter !important;
  color: white !important;
}
a.nav-link:hover, .nav-item.active a.nav-link {
  font-weight: 500 !important;
}
a.nav-link:hover {
  color: #707173  !important;
}
button.navbar-toggler {
  background: radial-gradient(#004285 25%, #00183F);
  background-size: contain;
}
.navbar-toggler-icon, .offcanvas-header .btn-close {
  filter: invert(100%);
}

/* ----- Taste scroll-Top ----- */
.scrollup {
    position: fixed;
    bottom: 20px;
    right: 10px;
    background: rgba(0, 0, 0, .5) !important;
    color: rgb(255, 255, 255);
    cursor: pointer;
    z-index: 1540;
}
#ds_blok {
  background: rgba(0,0,0, .5);
}
.modal-body p, .modal-body ul li {
  font-size: .9rem !important;
  margin-bottom: .4rem !important;
}
.card {
  border: 0 !important;
  border-radius: 0 !important;
  --bs-card-inner-border-radius: 0 !important;
}
.bg-lightgray {
  background-color: #ececed !important;
}
.bg-verlauf {
  background: linear-gradient(to bottom, #004285, #00183F);
}
.bg-verlauf-right {
  background: linear-gradient(to left, #004285, #00183F);
}
.table-sm {
  font-size: .87rem !important;
}
th, td {
  padding: 2px .25rem !important;
}
hr.bg-darkblue {
  border-top: 3px solid #004b7c !important;
  opacity: 1 !important;
}
.referenzen .row .col {
  max-width: 320px;
}

.flipper .icon_link {
  max-width: 40px;
}


.movi {  
  min-height: 350px;
  max-width: 300px;
  transform: perspective(1200px);
  -webkit-perspective: 1200;
  perspective: 1200;
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
}
.flipper {
  position: relative;
  width: 100%;
  height: 100%;
  width: 275px;
  min-height: 367px;
  transform-style: preserve-3d;
  transition: .7s linear;  
}
.front, .back {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.front {
  z-index: 2;
  transform: rotateY(0deg);
}
.back {
  transform: rotateY(-180deg);
}
.movi:hover .flipper {
  transform: rotateY(180deg);
}



.footer-top {
  background: linear-gradient(to right, #004285 40%, #00183F);
}
.footer-bottom {
  background: linear-gradient(to left, #004285 55%, #00183F);
}
.footer-top .nav-item {
  background: transparent;
  min-width: auto !important;
}
.footer-top .nav-link {
  padding: 0 .75rem !important;
  font-size: .9rem !important;
  line-height: .5rem;
}
.footer-bottom-text {
  font-size: 1.8rem;
  font-weight: 300;
  line-height: 1.6rem;
}
.footer-bottom-text strong {
  font-weight: 500;
}
footer img {
  max-width: 130px !important;
}


@media screen and (max-width: 992px){
  #offcanvasDarkNavbar {
    background: radial-gradient(#004285 25%, #00183F) !important;
  }
  #offcanvasDarkNavbar .nav-link {
    padding: 1.0rem !important;
    border: none !important;
  }
  .top-img {
    margin-bottom: -54.0px !important;
  }
  .nav-item {
    background: transparent !important;
    background-size: contain;
    width: 100%;
  }
  .nav-item a {
    text-align: left !important;
  }
  .footer-bottom-text div {
    border: 0 !important;
  } 
}

@media screen and (max-width: 780px){
  .logo {
    max-height: 27vw !important;
  }
  .footer-bottom-text {
    font-size: 1.4rem;
    line-height: 1.3rem;
  } 
}

@media screen and (max-width: 580px){
  header p.fs-5 {
    font-size: 1.0rem !important;
    text-align: center;
  }
}

@media screen and (max-width: 420px) {
  .logo {
    max-height: 32vw !important;
  }
  .top-img {
    margin-bottom: -53.0px !important;
  }
  .footer-top .nav {
    justify-content: space-around !important;
  }
}
