@import url('bootstrap-icons.min.css');
@import url('fonts.css');
@import url('vegas.min.css');
@import url('erv.css');

:root {
  --bs-primary: #bf0000;
  --bs-secondary: #474747;
}

html, body {
  font-family: 'Raleway', sans-serif;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--bs-secondary);
  height: 100%;
}

/* TYPOGRAPHY */
h1, .h1, 
h2, .h2, 
h3, .h3, 
h4, .h4, 
h5, .h5, 
h6, .h6 {
  font-weight: 300;
  margin: 30px 0 30px 0;
  line-height: 1.5;
}
h1, .h1 {
  margin-top: 0;
  font-size: 45px;
  color: var(--bs-primary);
}
h2, .h2 {
  font-size: 40px;
}
h3, .h3 {
  font-size: 35px;
}
h4, .h4 {
  font-size: 30px;
} 
h5, .h5 {
  font-size: 25px;
} 
h6, .h6 {
  font-size: 20px;
}

h1 small, .h1 small, 
h2 small, .h2 small, 
h3 small, .h3 small, 
h4 small, .h4 small, 
h5 small, .h5 small, 
h6 small, .h6 small {
  letter-spacing: 0;
  font-weight: 300;
  margin-left: 30px;
  color: var(--bs-secondary);
}

p {
  margin: 15px 0;
  text-align: justify;
  -moz-hyphens: auto; 
  -o-hyphens: auto; 
  -webkit-hyphens: auto; 
  -ms-hyphens: auto; 
  hyphens: auto;
}

a {
  color: var(--bs-primary);
  text-decoration: none;
  transition: .25s;
}
a:hover {
  color: var(--bs-secondary);
  text-decoration: none;
}

small {
  font-size: 65%;
  display: block;
  font-weight: 300;
}

b,
strong,
.fw-bold {
  font-weight: 600;
}

hr {
  display: block;
  margin: 45px 30px;
}

.special-text {
  background-image: url('../img/special-text.png');
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  padding: 15px 20px;
  color: var(--bs-white);
}

ul:not(.navbar-nav) {
  line-height: 1.8;
  list-style-image: url('../img/ul.png');
}

/* IMAGES */
.img-content {
  border-radius: 5px;
  box-shadow: 5px 5px 5px 0 rgba(0,0,0,.25);
  margin: 15px 0;
}

/* BUTTONS */
.btn {
  border-radius: 5px;
  box-shadow: none !important;
}

.btn-outline-primary {
  border-color: var(--bs-primary) !important;
  color: var(--bs-primary) !important;
}
.btn-outline-primary:hover,
.btn-outline-primary:focus {
  border-color: var(--bs-primary) !important;
  background-color: var(--bs-primary) !important;
  color: var(--bs-white) !important;
}

.btn-outline-secondary {
  border-color: var(--bs-secondary) !important;
  color: var(--bs-secondary) !important;
}
.btn-outline-secondary:hover,
.btn-outline-secondary:focus {
  border-color: var(--bs-secondary) !important;
  background-color: var(--bs-secondary) !important;
  color: var(--bs-white) !important;
}

/* BACKGROUND */
.bg-secondary {
  background-color: var(--bs-secondary) !important;
  color: var(--bs-white);
}

.bg-grey1 {
  background-color: #f8f8f8;
}
.bg-grey2 {
  background-color: #eeeeee;
}

/* NAV */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  background-color: rgba(255,255,255,.75) !important;
  backdrop-filter: blur(5px);
  transition: .5s;
}
.navbar.fixed-top {
  background-color: var(--bs-white) !important;
  box-shadow: 5px 5px 5px 0 rgba(0,0,0,.25);
}
.navbar-brand img {
  width: 100%;
  max-width: 260px;
}
.nav-item .nav-link {
  padding: 10px 15px !important;
  color: var(--bs-secondary);
  font-weight: 400;
}
.nav-item .nav-link:hover,
.nav-item .nav-link:focus,
.nav-item .nav-link.active {
  color: var(--bs-primary);
}
.nav-item .nav-link.nav-btn {
  border: 1px solid var(--bs-primary);
  color: var(--bs-primary);
  border-radius: 5px;
}
.nav-item .nav-link.nav-btn:hover {
  background-color: var(--bs-primary);
  color: var(--bs-white);
}
.nav-item .nav-link i {
  margin-right: 5px;
}
.navbar-toggler {
  border: none;
  padding: 0;
  font-size: 38px;
  box-shadow: none !important;
}

/* SUBNAV */
.subnav {
  display: flex;
  flex-direction: column;
  position: fixed;
  bottom: 45px;
  right: 0;
  z-index: 100;
}
.subnav-item {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 55px;
  height: 55px;
  font-size: 22px;
  background-color: var(--bs-primary);
  color: var(--bs-white);
  margin-top: 5px;
  border-radius: 5px 0 0 5px;
  border: 1px solid #fff;
  border-right: none;
}
.subnav-item:hover {
  background-color: var(--bs-secondary);
  color: var(--bs-white);
}

/* SECTION */
.section {
  display: block;
  position: relative;
  padding: 60px 0;
  border-bottom: 5px solid var(--bs-primary);
}
.section-bg-right {
  background-image: url('../img/content-bg-right.png');
  background-position: right bottom;
  background-repeat: no-repeat;
  background-size: auto;
}
.section-bg-left {
  background-image: url('../img/content-bg-left.png');
  background-position: left bottom;
  background-repeat: no-repeat;
  background-size: auto;
}

#section-start {
  min-height: 100%;
}
#section-start2 {
  min-height: 450px;
}
.section-fader {
  display: block;
  position: absolute !important;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: -1;
  min-height: 100%;
}
.section-text {
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
  font-size: 28px;
  font-weight: 600;
  text-align: center;
  color: var(--bs-secondary);
  width: 100%;
  line-height: 1.8;
  background-color: rgba(255,255,255,.75);
  padding: 30px 15px;
  backdrop-filter: blur(5px);
}
.section-text small {
  font-size: 22px;
}

/* FOOTER */
.footer {
  display: block;
  position: relative;
  color: var(--bs-white);
  font-size: 16px;  
}
.footer a {
  color: var(--bs-white);
}
.footer a:hover {
  color: var(--bs-white);
  opacity: .5;
}
.footer a.btn-outline-light:hover {
  opacity: 1 !important;
  color: var(--bs-secondary) !important;
}
.footer-1 {
  padding: 45px 0;
  background-color: #333333;
  background-image: url('../img/footer-bg.jpg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.footer-2 {
  padding: 30px 0;
  background-color: #252525;
  background-image: url('../img/logo-image-opacity10.png');
  background-repeat: no-repeat;
  background-size: 250px;
  background-position: center;
}

/* CARD */
.card {
  border-radius: 5px;
  border-color: var(--bs-secondary);
  margin-bottom: 15px;
}
.card-title {
  font-size: 20px;
  line-height: 1.5;
  margin: 0;
}
.card-title small {
  font-size: 16px;
}

.card:hover {
  border-color: var(--bs-primary);
}
.card:hover .card-title {
  color: var(--bs-primary);
}

/* MODAL */
.modal-content {
  border-radius: 5px;
}
.modal-header {
  padding: 30px;
}
.modal-title {
  font-size: 25px;
  margin: 0;
}
.modal-body {
  padding: 30px;
}
.modal-footer {
  padding: 15px 30px;
}

#modal-app .card-title {
  font-size: 48px;
}
#modal-app .card-title small {
  margin: 0;
}

/* ACCORDION */
.accordion-header {
  margin: 0;
}
.accordion-button {
  border-radius: 5px !important;
  background-color: var(--bs-white);
  border: 1px solid var(--bs-secondary);
  margin-bottom: 15px;
  box-shadow: none !important;
}
.accordion-button:hover {
  border-color: var(--bs-primary);
  color: var(--bs-primary);
}
.accordion-button:focus {
  border-color: var(--bs-secondary);
}
.accordion-button:not(.collapsed) {
  background-color: var(--bs-primary) !important;
  color: var(--bs-white) !important; 
}
.accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}


/* FORM */
.form-group {
  margin-bottom: 15px;
}
.form-control,
.form-select {
  border-color: var(--bs-secondary);
  border-radius: 5px;
  padding: 10px 15px;
  color: var(--bs-text);
}
.form-control:focus,
.form-select:focus {
  border-color: var(--bs-primary);
  color: var(--bs-primary);
  box-shadow: none;
}

.has-error .form-control,
.has-error .form-select {
  border-color: var(--bs-danger);
}
.has-error .form-label,
.has-error .help-block {
  color: var(--bs-danger);
}

#danke {
  display: none;
}


/* MOBIL */
@media (max-width: 1399.98px) { 
  /* NAV */
  .navbar-brand img {
    max-width: 220px;
  }
  .nav-item .nav-link {
    font-size: 16px;
  }
}
@media (max-width: 1199.98px) { }
@media (max-width: 991.98px) { 
  /* TYPOGRAPHY */
  h1, .h1 {
    font-size: 30px;
    line-height: 1.25;
  }
  h2, .h2 {
    font-size: 25px;
    line-height: 1.25;
  }
  h3, .h3 {
    font-size: 20px;
    line-height: 1.25;
    font-weight: 800;
  }
  h4, .h4 {
    font-size: 18px;
    line-height: 1.25;
    font-weight: 800;
  } 
  h5, .h5 {
    font-size: 18px;
    line-height: 1.25;
    font-weight: 800;
  } 
  h6, .h6 {
    font-size: 18px;
    line-height: 1.25;
    font-weight: 800;
  }
  h1 small, .h1 small, 
  h2 small, .h2 small, 
  h3 small, .h3 small, 
  h4 small, .h4 small, 
  h5 small, .h5 small, 
  h6 small, .h6 small {
    margin-top: 15px;
    line-height: 1.5;
    font-size: 20px;
  }

  /* NAV */
  .nav-item .nav-link {
    padding: 5px 10px !important;
  }

  /* SUBNAV */
  .subnav-item {
    width: 45px;
    height: 45px;
    font-size: 20px;
  }

  /* SECTION */
  #section-start .section-text {
    font-size: 28px;
  }
  #section-start .section-text small {
    font-size: 18px;
  }
}
@media (max-width: 767.98px) { 
  /* SECTION */
  #section-start .section-text {
    font-size: 22px;
  }
  #section-start .section-text small {
    font-size: 16px;
  }
}
@media (max-width: 575.98px) { 
  /* SECTION */
  #section-start .section-text {
    font-size: 17px;
  }
  #section-start .section-text small {
    font-size: 14px;
  }
}