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

:root {
  --primary-color: #DA2E28;
  --secondary-color: #DA2E28;
  --text-color: #252525;
  --white: #ffffff;
  color-scheme: only light;
}

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

html {
    scroll-behavior: smooth;
}

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

/*--------------------------------------------------------------
# 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;
}
.abstandcol-lg {
  margin-bottom: 30px;
}
.abstand {
    margin-top: 80px;
    margin-bottom: 80px;
}
.abstandpadding {
    padding-top: 80px;
    padding-bottom: 80px;
}
}

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

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

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

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

.hero {
    width: 100%;
    height: 100vh;
    background: url(../dmxDaten/home/background-template.svg) bottom center no-repeat;
    background-attachment: fixed;
    background-size: cover;
    padding-top: 92px;
}

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

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

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

.bg-light {
    background-color: #EEEEEE!important;
}

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

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

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

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

h1 {
  font-size: 50px;
  font-weight: 600;
}

h2 {
  font-size: 40px;
  font-weight: 600;
}

h3 {
  font-size: 24px;
  font-weight: 600;
}

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

@media (max-width: 767px) {
h1 {
  font-size: 32px;
}
h2 {
  font-size: 26px;
}
h3 {
  font-size: 22px;
}
.lead {
    font-size: 18px!important;
}
}

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

.btn {
    padding: 0.5rem 1.55rem 0.4rem 1.55rem;
    border-radius: 0;
    position: relative;
    -webkit-clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
    clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
    font-size: 18px;
    text-transform: uppercase;
    font-weight: 500;
    -webkit-box-shadow: none!important;
            box-shadow: none!important;
}

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

.btn-primary:hover,
.btn-primary:focus {
  color: var(--white);
  background-color: var(--text-color);
  border-color: var(--text-color);
}

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

.btn-white:hover,
.btn-white:focus {
  color: var(--white);
  background-color: var(--text-color);
  border-color: var(--text-color);
}

.btn-grayscale {
  color: var(--text-color)!important;
  background-color: #EEEEEE!important;
  border-color: #EEEEEE!important;
}

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

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

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

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

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

.trennstrich {
  width: 120px;
  height: auto;
}

@media (min-width: 1200px) {
    .mb-xl-5, .my-xl-5 {
        margin-bottom: 2.2rem !important;
    }
}

.card {
  border: none;
  border-radius: 10px;
  -webkit-box-shadow: 0px 2px 20px rgba(2, 104, 115, 0.1);
          box-shadow: 0px 2px 20px rgba(2, 104, 115, 0.1);
}

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

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

.service-bild {
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  height: 340px;
}

.service-bild-1 {
  background-position: center center;
  background-image: url("../dmxDaten/home/services-bild-1.jpg");
}

.service-bild-2 {
  background-position: top right;
  background-image: url("../dmxDaten/home/services-bild-2.jpg");
}

.service-bild-3 {
  background-position: top center;
  background-image: url("../dmxDaten/home/services-bild-3.jpg");
}

.service-bild-4 {
  background-position: center center;
  background-image: url("../dmxDaten/home/services-bild-4.jpg");
}

.service-bild-5 {
  background-position: center center;
  background-image: url("../dmxDaten/home/services-bild-5.jpg");
}

.service-bild-6 {
  background-position: center center;
  background-image: url("../dmxDaten/home/services-bild-6.jpg");
}

.team-bild {
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  height: 100%;
  min-height: 280px;
}

.team-bild-1 {
  background-position: center center;
  background-image: url("../dmxDaten/ueber-uns/team-bild-1.jpg");
}

.team-bild-2 {
  background-position: center center;
  background-image: url("../dmxDaten/ueber-uns/team-bild-2.jpg");
}

.service-box {
  background-color: var(--primary-color);
  position: absolute;
  bottom: 0;
  right: 15px;
  padding: 8px 12px 8px 34px;
  width: 290px;
    -webkit-clip-path: polygon(20px 0, 100% 0, 100% 100%, 0 100%);
    clip-path: polygon(20px 0, 100% 0, 100% 100%, 0 100%);
}

.service-box-black {
  background-color: var(--text-color);
  padding: 8px 12px 8px 34px;
  width: 100%;
    -webkit-clip-path: polygon(20px 0, 100% 0, calc(100% - 20px) 100%, 0 100%);
    clip-path: polygon(20px 0, 100% 0, calc(100% - 20px) 100%, 0 100%);
}

.service-box-rot {
  background-color: var(--primary-color);
  padding: 8px 34px 8px 12px;
  width: 100%;
    -webkit-clip-path: polygon(0 0, 100% 0, calc(100% - 20px) 100%, 0 100%);
    clip-path: polygon(0 0, 100% 0, calc(100% - 20px) 100%, 0 100%);
}

.oeffnungszeiten {
  background-color: var(--primary-color);
  color: #ffffff;
  padding: 50px 80px;
  width: 100%;
    -webkit-clip-path: polygon(40px 0, 100% 0, calc(100% - 40px) 100%, 0 100%);
    clip-path: polygon(40px 0, 100% 0, calc(100% - 40px) 100%, 0 100%);
}

@media (max-width: 991px) {
.service-bild {
  height: 280px;
}
.oeffnungszeiten {
  padding: 20px;
    -webkit-clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}
}

@media (max-width: 350px) {
.service-box {
  padding: 8px 12px 8px 34px;
  width: 200px;
}
}

.service-box p,
.service-box-black p,
.service-box-rot p {
    text-transform: uppercase;
    font-weight: 500;
    margin-bottom: 0!important;
    color: #ffffff;
    font-size: 17px;
}

.service-box a,
.service-box-black a,
.service-box-rot p.small,
.service-box p.small {
    text-transform: uppercase;
    font-weight: 400;
    margin-bottom: 0!important;
    color: #ffffff!important;
    font-size: 16px;
}

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

.wertebox {
  padding-top: 60px;
  padding-bottom: 60px;
}

.wertebox p {
    text-transform: uppercase;
    font-weight: 500;
    font-size: 20px;
    color: var(--primary-color);
}

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

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

@media (max-width: 991px) {
.bg-werte {
  background: none;
  background-color: var(--primary-color);
  width: 100%;
  height: 100%;
  padding-top: 80px;
  padding-bottom: 80px;
}
.wertebox {
  padding-top: 20px;
  padding-bottom: 20px;
  border-top: 2px solid var(--text-color);
}
.wertebox p {
    text-transform: uppercase;
    font-weight: 500;
    font-size: 18px;
    color: var(--text-color);
}
.border-bottom-lg {
  border-bottom: 2px solid var(--text-color);
}
.bg-dienstleistungen {
  background: none;
  background-color: var(--white);
  padding-top: 20px!important;
}
.bg-occasionen {
  background: none;
  background-color: var(--white);
  padding-top: 20px!important;
}
}

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

@media (max-width: 767px) {
.bg-kontakt {
  background: none;
  background-color: var(--text-color);
}
}

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

#navigation {
  z-index: 997;
  padding-top: 12px;
  padding-bottom: 12px;
  background: var(--white);
}

.navbar-logo {
  width: 160px;
}

@media (max-width: 991px) {
.navbar-logo {
  width: 100px;
}
}

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

.navbar-nav .nav-link, .nav-item {
  color: var(--text-color);
  font-size: 18px;
  text-transform: uppercase;
  font-weight: 500;
}

.nav-item {
  margin-left: 2.5rem;
}

@media (max-width: 1599px) {
.nav-item {
  margin-left: 0;
}
}

@media (max-width: 1199px) {
.navbar-collapse .btn-primary {
  margin-left: 0!important;
}
}

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

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

.navbar-toggler {
  color: var(--primary-color);
  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);
}

.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");
}


/*--------------------------------------------------------------
# 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(--primary-color);
}

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

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


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

.footer {
  background-color: var(--white);
}

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

.footer a:hover {
  color: var(--primary-color);
}

.footer a.btn {
  color: var(--white)!important;
}

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

.carousel-indicators li {
    width: 22px;
    height: 12px;
    margin-right: 0;
    margin-left: 0;
    -webkit-clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
            clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
}

/*--------------------------------------------------------------
# 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;
}


.cookie-consent-banner {
  display: none;
  bottom: 20px;
  right: 20px;
  position: fixed;
  padding: 15px 20px 15px 20px;
  width: 300px;
  text-align: left;
  max-height: 85%;
  overflow-y: auto;
  max-width: calc(100% - 40px);
  z-index: 999997;
  opacity: 1;
  font-size: 14px;
  box-shadow: 1px 2px 8px 0 rgba(0, 0, 0, 0.35);
  color: #1D1D1B;
  background-color: #ffffff;
  box-sizing: border-box;
}

.cookie-consent-button {
  border: none;
  padding: 7px 20px 6px 20px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 14px;
  margin: 4px 2px;
  cursor: pointer;
}

.cookie-consent-options label {
  margin: 0 10px;
  font-size: 14px;
}

.cookie-consent-options input {
  margin-right: 5px;
}

@media (max-width: 414px) {
  .cookie-consent-banner {
      bottom: 0;
      left: 0;
      width: 100%;
      padding: 15px;
      border-radius: 0;
      max-width: 100%;
      font-size: 12px;
      background-color: #ffffff;
      text-align: center;
  }
}