/*--------------------------------------------------------------
# Variables
--------------------------------------------------------------*/

:root {
  --primary-color: #FFED00;
  --grey-color: #2E2D2D;
  --text-color: #161615;
  --white: #ffffff;
  color-scheme: only light;
}

/*--------------------------------------------------------------
# Body
--------------------------------------------------------------*/

html {
    scroll-behavior: smooth;
}

body {
  font-family: "Raleway", sans-serif;
  position: relative;
  width: 100%;
  height: 100%;
  color: var(--text-color);
  font-size: 17px;
  font-weight: 400;
}

@media (max-width: 991px) {
  body {
    font-size: 16px;
  }
}

/*--------------------------------------------------------------
# Layout
--------------------------------------------------------------*/

@media (min-width: 1600px) {
.container {
    max-width: 1420px!important;
}
}

.abstand {
    margin-top: 120px;
    margin-bottom: 120px;
}

.abstandpadding {
    padding-top: 120px;
    padding-bottom: 120px;
}

.abstandcol {
  margin-bottom: 30px;
}

@media (max-width: 991px) {
.abstandlg {
    margin-bottom: 40px;
}
.abstand {
    margin-top: 80px;
    margin-bottom: 80px;
}
.abstandpadding {
    padding-top: 80px;
    padding-bottom: 80px;
}
}

@media (max-width: 767px) {
.abstandmd {
    margin-bottom: 40px;
}
}

@media (max-width: 575px) {
.abstandsm {
    margin-bottom: 40px;
}
}

.slidescroller {
    margin-top: -94px;
    padding-top: 94px;
}

@media (max-width: 991px) {
.slidescroller {
    margin-top: -86px;
    padding-top: 86px;
}
}

@media (max-width: 575px) {
.slidescroller {
    margin-top: -74px;
    padding-top: 74px;
}
}

/*--------------------------------------------------------------
# Backgrounds
--------------------------------------------------------------*/

.hero {
    width: 100%;
    height: calc(100vh - 94px);
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
}

@media (max-height: 620px) {
.hero {
    padding-top: 120px;
    padding-bottom: 120px;
    height: 100%;
    background-attachment: scroll;
}
}

@media (max-width: 991px) {
.hero {
    padding-top: 0;
    padding-bottom: 80px;
    height: 100%;
    background-image: none!important;
    background-color: var(--grey-color);
    margin-top: -5px;
}
}

.hero-geruestbau {
  background-image: url("../dmxDaten/geruestbau/header-geruestbau-lg.jpg");
}

.hero-ueber-uns {
  background-image: url("../dmxDaten/ueber-uns/header-ueber-uns-lg.jpg");
}

.hero-jobs {
  background-image: url("../dmxDaten/jobs/header-jobs-lg.jpg");
}

.hero-projekte {
  background-image: url("../dmxDaten/projekte/header-projekte-lg.jpg");
}

.bg-primary {
    background-color: var(--primary-color)!important;
}

.bg-grey {
    background-color: var(--grey-color)!important;
}

.bg-dark {
    background-color: var(--text-color)!important;
}

.bg-design {
  background-image: url("../dmxDaten/home/bg-design.png");
  height: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.bg-design-small {
  background-image: url("../dmxDaten/home/bg-design-small.png");
  height: 100%;
  background-position: center right;
  background-repeat: no-repeat;
  background-size: cover;
}

.bg-schwarz {
  background-image: url("../dmxDaten/home/bg-schwarz.jpg");
  height: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.bg-jobs {
  background-image: url("../dmxDaten/home/bg-jobs.jpg");
  height: 100%;
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
}

.bg-geruestbau {
  background-image: url("../dmxDaten/geruestbau/bg-slide.jpg");
  height: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.bg-jobs-sub {
  background-image: url("../dmxDaten/jobs/bg-slide.jpg");
  height: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.bg-ueber-uns {
  background-image: url("../dmxDaten/ueber-uns/bg-ueber-uns-new.jpg");
  height: 100%;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.bg-ueber-uns-2 {
  background-image: url("../dmxDaten/ueber-uns/bg-ueber-uns-new-2.jpg");
  height: 100%;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.bg-half {
  background-image: url("../dmxDaten/home/bg-half.png");
  height: 100%;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.bg-quote {
  background-image: url("../dmxDaten/home/bg-quote.png");
  height: 100%;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

@media (max-width: 1199px) {
.bg-schwarz {
  background-image: url("../dmxDaten/home/bg-schwarz-lg.jpg");
}
.bg-geruestbau {
  background-image: url("../dmxDaten/geruestbau/bg-slide-lg.jpg");
}
.bg-jobs {
  background-image: url("../dmxDaten/home/bg-jobs-lg.jpg");
}
.bg-ueber-uns {
  background-image: url("../dmxDaten/ueber-uns/bg-ueber-uns-lg-new.jpg");
}
.bg-ueber-uns-2 {
  background-image: url("../dmxDaten/ueber-uns/bg-ueber-uns-lg-new-2.jpg");
}
}

@media (max-width: 991px) {
.bg-design {
  background-image: none;
  background-color: var(--text-color);
}
.bg-design-small {
  background-image: none;
  background-color: var(--text-color);
}
.bg-schwarz {
  background-image: none;
  background-color: var(--text-color);
}
.bg-geruestbau {
  background-image: none;
  background-color: var(--text-color);
}
.bg-jobs-sub {
  background-image: none;
  background-color: var(--text-color);
}
.bg-jobs {
  background-image: none;
  background-color: var(--text-color);
}
.bg-ueber-uns {
  background-image: none;
  background-color: var(--text-color);
}
.bg-ueber-uns-2 {
  background-image: none;
  background-color: var(--text-color);
}
}

.bgimg {
    position: relative;
    opacity: 1;
    height: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 60vh;
    background-attachment: fixed;
}

@media only screen and (max-device-width: 1024px) {
    .bgimg {
        background-attachment: scroll;
        min-height: 40vh;
    }
}

/*--------------------------------------------------------------
# Typografie
--------------------------------------------------------------*/

a {
  color: var(--text-color);
}

a:focus, a:hover {
  color: var(--text-color);
}

h1 {
  font-size: 40px;
  font-weight: 700;
}

h2 {
  font-size: 36px;
  font-weight: 700;
}

h3 {
  font-size: 22px;
  font-weight: 700;
}

h4.stat {
  font-size: 80px;
  font-family: "Poetsen One", sans-serif;
  font-weight: 400;
}

h4.stat .stat-beschriftung {
  font-size: 20px;
}

.marked {
  color: var(--primary-color);  
}

.lead {
  font-weight: 400;
}

@media (max-width: 1199px) {
h1 {
  font-size: 36px;
}
h2 {
  font-size: 32px;
}
}

@media (max-width: 767px) {
h1 {
  font-size: 32px;
}
h2 {
  font-size: 24px;
}
h3 {
  font-size: 22px;
}
.lead {
    font-size: 17px!important;
}
h4.stat {
  font-size: 60px;
}
}

/*--------------------------------------------------------------
# Buttons
--------------------------------------------------------------*/

.btn {
    padding: 0.4rem 1.25rem;
    border-radius: 0;
    font-weight: 600;
    border-width: 1.5px;
    -webkit-box-shadow: none!important;
            box-shadow: none!important;
}

.btn-main {
  color: var(--text-color);
  background-color: var(--primary-color);
  border-color: var(--text-color);
}

.btn-main:hover {
  color: var(--primary-color);
  background-color: var(--grey-color);
  border-color: var(--text-color);
}

.btn-outline-main {
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-outline-main:hover {
  color: var(--primary-color);
  background-color: var(--grey-color);
  border-color: var(--text-color);
}

.btn-outline-dark {
  color: var(--text-color);
  border-color: var(--text-color);
}

.btn-outline-dark:hover {
  color: var(--primary-color);
  background-color: var(--text-color);
  border-color: var(--text-color);
}

.btn-outline-dark:disabled {
  color: var(--text-color);
  border-color: var(--text-color);
  background-color: white;
  opacity: 0.4;
}

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

.card {
  border: 1.5px solid var(--text-color);
  border-radius: 0;
}

.card-img-top {
  border-radius: 0;
}

.card-footer {
  background-color: inherit;
  border: none;
  padding: 0 1.25rem 1.25rem 1.25rem;
  border-radius: 0 0 10px 10px!important;
}

.Placeholder_Team {
  fill: var(--primary-color);
}

.datum-box {
  padding: 0.4rem 1.25rem;
  border-radius: 0;
  font-weight: 600;
  border: 1.5px solid var(--primary-color);
  color: var(--primary-color);
  display: inline;
  position: absolute;
  margin-top: -4em;
  background-color: var(--text-color);
    -webkit-box-shadow: none!important;
            box-shadow: none!important;
}

.contact-box {
  display: block;
  position: absolute;
  margin-top: -4em;
}

.contact-box a {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  background-color: var(--primary-color);
  padding: 8px;
  border: 1.5px solid var(--text-color);
  width: 44.5px;
  height: 44.5px;
    -webkit-box-shadow: none!important;
            box-shadow: none!important;
}

.contact-box a:hover {
  background-color: var(--text-color);
}

.contact-box a .contact-icon {
  width: 24px;
}

@media (max-width: 1199px) {
.datum-box {
  margin-top: -3.5em;
}
.contact-box {
  margin-top: -3.5em;
}
}

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/

#navigation {
  z-index: 997;
  padding-top: 12px;
  padding-bottom: 12px;
  background-color: var(--primary-color);
  border-bottom: 1.5px solid var(--text-color);
}

.navbar-logo {
  width: 300px;
}

@media (max-width: 991px) {
#main-menu {
    margin-top: 20px;
    margin-bottom: 6px;
}
#navigation {
  padding-top: 8px;
  padding-bottom: 8px;
}
}

@media (max-width: 575px) {
.navbar-logo {
  width: 200px;
}
}

@media (max-width: 320px) {
.navbar-logo {
  width: 160px;
}
}

.navbar-nav .nav-link, .nav-item {
  color: var(--text-color);
  font-size: 17px;
  font-weight: 400;
}

@media (min-width: 1200px) {
.navbar-expand-lg .navbar-nav .nav-link {
    padding-right: 1.5rem;
    padding-left: 1.5rem;
}
}

@media (max-width: 991px) {
.navbar-nav .nav-link, .nav-item {
  font-size: 16px;
}
.navbar-nav .nav-link {
  padding-top: 5px;
  padding-bottom: 5px;
}
}

.navbar-nav .nav-link:hover, .navbar-nav .nav-link:focus {
  color: var(--text-color);
  text-decoration: underline;
}

.navbar-nav .show > .nav-link,
.navbar-nav .active > .nav-link,
.navbar-nav .nav-link.show,
.navbar-nav .nav-link.active {
  color: var(--text-color);
  text-decoration: underline;
}

.navbar-toggler {
  color: var(--text-color);
  border: none;
  padding: 0;
  outline: none!important;
}

.dropdown-item:hover, .dropdown-item:focus {
  background-color: var(--primary-color);
  color: var(--white);
}

.dropdown-item.active {
  background-color: var(--primary-color);
  color: var(--white);
}

.collapsed .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='rgba(0, 0, 0, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='rgba(0, 0, 0, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M7 4l19 19m0-19L7 23'/%3e%3c/svg%3e");
}


/*--------------------------------------------------------------
# Sidenavigation
--------------------------------------------------------------*/

#collapsesidenav {
	list-style-type: none;
  margin: 0;
  padding: 0;
}

#collapsesidenav ul {
	list-style-type: none;
  margin: 0;
  padding: 0;
}

#collapsesidenav .active a {
  color: var(--white);
  text-decoration: underline;
}

#collapsesidenav a:hover {
  color: var(--white);
}

#collapsesidenav a {
  color: var(--white);
}

@media (max-width: 991px) {
#collapsesidenav .active a {
  color: var(--text-color);
  text-decoration: underline;
}
#collapsesidenav a:hover {
  color: var(--text-color);
}
#collapsesidenav a {
  color: var(--text-color);
}
}


/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/

.footer {
  background-image: url("../dmxDaten/home/bg-footer.png");
  height: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

@media (max-width: 991px) {
.footer {
  background: none;
  background-color: var(--primary-color);
}
}

@media (min-width: 992px) {
.text-lg-white {
  color: #ffffff;
}
}

/*--------------------------------------------------------------
# Carousel
--------------------------------------------------------------*/

.carousel-inner > .carousel-item {
    height: 400px;
    position: relative;
}

@media (max-width: 768px) {
.carousel-inner > .carousel-item {
    height: 250px;
    position: relative;
}
}

.carousel-inner img {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    -webkit-transform: translateY(-50%);
            transform: translateY(-50%);
}

/*--------------------------------------------------------------
# Cookies
--------------------------------------------------------------*/

.cookiealert {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    margin: 0 !important;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    border-radius: 0;
    -webkit-transform: translateY(100%);
            transform: translateY(100%);
    -webkit-transition: all 500ms ease-out;
    transition: all 500ms ease-out;
    color: var(--white);
    background-color: rgba(0, 0, 0, 0.85);
    
}

.cookiealert.show {
    opacity: 1;
    visibility: visible;
    -webkit-transform: translateY(0%);
            transform: translateY(0%);
    -webkit-transition-delay: 1000ms;
            transition-delay: 1000ms;
}

.cookiealert a {
    text-decoration: underline
}

.cookiealert .acceptcookies {
    margin-top: 10px;
    vertical-align: baseline;
}

.disclaimer-footer {
  text-align: right;
}

@media (max-width: 768px) {
.disclaimer-footer {
  text-align: left;
}
}

/*--------------------------------------------------------------
# Tiny MCE
--------------------------------------------------------------*/

.tox-tinymce {
  top: auto!important;
  bottom: 0!important;
  position: fixed!important;
}

.tox-form__group--stretched .tox-label {
  display: none!important;
}

.tox-form__group {
  margin-bottom: 10px!important;
}