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

:root {
  --primary-color: #E20613;
  --text-color: #1D1D1B;
  --white: #ffffff;
  --light-grey: #F5F5F5;
  color-scheme: light;
}

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

html {
    scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  position: relative;
  width: 100%;
  height: 100%;
  color: var(--text-color);
  font-size: 20px;
}

@media (max-width: 1599px) {
body {
  font-size: 18px;
}
}

.card-text-projekte {
  font-size: 18px;
}

@media (max-width: 991px) {
body {
  font-size: 17px;
}
.card-text-projekte {
  font-size: 16px;
}
}

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

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

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

.section-padding,
.abstandpadding {
    padding-top: 160px;
    padding-bottom: 160px;
}

.section-padding-small {
    padding-top: 80px;
    padding-bottom: 80px;
}

.section-padding-hero {
    padding-top: calc(160px + 101px);
    padding-bottom: 160px;
}

.slidescroller {
    height: 0px;
    margin-top: -101px;
    padding-top: 101px;
}

@media (min-width: 1200px) {
.slidescroller-cad {
    height: 0px;
    margin-top: -155px;
    padding-top: 155px;
}
.padding-hero-csd {
  padding-top: 50px;
}
}

.mb-normal {
    margin-bottom: 40px;
}

.mb-col {
    margin-bottom: 30px;
}

.mb-small {
    margin-bottom: 40px;
}

@media (max-width: 1999px) {
.section-padding,
.abstandpadding {
    padding-top: 140px;
    padding-bottom: 140px;
}
.section-padding-hero {
    padding-top: calc(140px + 101px);
    padding-bottom: 140px;
}
}

@media (max-width: 1599px) {
.section-padding,
.abstandpadding {
    padding-top: 120px;
    padding-bottom: 120px;
}
.section-padding-small {
    padding-top: 60px;
    padding-bottom: 60px;
}
.section-padding-hero {
    padding-top: calc(120px + 101px);
    padding-bottom: 120px;
}
}

@media (max-width: 1199px) {
.section-padding,
.abstandpadding {
    padding-top: 100px;
    padding-bottom: 100px;
}
.section-padding-small {
    padding-top: 50px;
    padding-bottom: 50px;
}
.section-padding-hero {
    padding-top: calc(100px + 101px);
    padding-bottom: 100px;
}
}

@media (max-width: 1199px) {
.mb-xl-normal {
    margin-bottom: 40px;
}
.mb-xl-small {
    margin-bottom: 20px;
}
.mb-xl-col {
    margin-bottom: 30px;
}
}

@media (max-width: 991px) {
.section-padding,
.abstandpadding {
    padding-top: 80px;
    padding-bottom: 80px;
}
.mb-lg-normal {
    margin-bottom: 40px;
}
.mb-lg-small {
    margin-bottom: 20px;
}
.mb-small {
    margin-bottom: 20px;
}
.mb-col-lg {
    margin-bottom: 30px;
}
.section-padding-hero {
    padding-top: calc(80px + 80px);
    padding-bottom: 80px;
}
.slidescroller {
    margin-top: -80px;
    padding-top: 80px;
}
.section-padding-small {
    padding-top: 30px;
    padding-bottom: 30px;
}
}

@media (max-width: 767px) {
.mb-md-col {
    margin-bottom: 30px;
}
}

.video {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    border: 0;
    aspect-ratio: 16 / 9;
}

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

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

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

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

.bg-balken {
    background: url(../dmxDaten/home/Balken-BG.webp) center right no-repeat;
    background-size: cover;
}

@media (max-width: 991px) {
.bg-balken {
    background: var(--light-grey);
}
}

.hr-csd {
  margin-top: 30px;
  margin-bottom: 30px;
  border-color: white;
}

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

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

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

a.link-white {
  color: var(--white)!important;
  opacity: 1;
}

a.link-white:focus, a.link-white:hover {
  opacity: 0.8;
}

h1 {
  font-size: 42px;
  font-weight: 500;
}

h2 {
  font-size: 42px;
  font-weight: 500;
}

h3,
.faq-question {
  font-size: 28px;
  font-weight: 500;
}

.lead {
  font-size: 24px;
  font-weight: 400!important;
}

.text-small {
  font-size: 18px;
}

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

strong,.strong,b {
  font-weight: 500;
}

@media (max-width: 991px) {
h1 {
  font-size: 30px;
}
h2 {
  font-size: 28px;
}
h3,
.faq-question {
  font-size: 20px;
}
.lead {
  font-size: 18px;
}
.text-small {
  font-size: 16px;
}
}

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

.btn {
    padding: 8px 24px;
    border-radius: 0;
    font-size: 20px;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
    outline: none!important;
    -webkit-box-shadow: none!important;
            box-shadow: none!important;
}

.btn-sm {
  padding: 6px 16px;
  font-size: 16px;
}

@media (max-width: 991px) {
.btn {
  font-size: 18px;
}
}

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

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

.bg-dark .btn-main:hover,
.hero-csd .btn-main:hover {
  color: var(--primary-color);
  background-color: var(--white);
  border-color: var(--white);
}

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

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

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

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

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

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

#navigation {
  z-index: 1030;
  background: white;
  padding: 30px 0;
}

#fullscreen-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--text-color);
  color: white;
  padding-top: 101px;
  display: none;
  overflow-y: auto;
  z-index: 1029;
}

#fullscreen-menu.active {
  display: block;
}

.navbar.scrolled {
  background: var(--text-color) !important;
}

.navbar-logo {
  width: 300px;
  margin-bottom: -10px;
}

.hamburger {
  width: 30px;
  height: 26px;
  position: relative;
  margin-left: 50px;
  cursor: pointer;
}

.hamburger span {
  background: var(--text-color);
  height: 3px;
  width: 100%;
  position: absolute;
  left: 0;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}

.navbar.scrolled .hamburger span {
  color: white!important;
  background: white!important;
}

.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 10px; }
.hamburger span:nth-child(3) { top: 20px; }

.hamburger.active span:nth-child(1) { -webkit-transform: translateY(10px) rotate(45deg); transform: translateY(10px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { -webkit-transform: translateY(-10px) rotate(-45deg); transform: translateY(-10px) rotate(-45deg); }

.navbar .language-switcher a {
  color: var(--text-color);
  cursor: pointer;
}

.navbar.scrolled .language-switcher a,
.navbar.scrolled .language-switcher {
  color: var(--white);
}

.navbar .logo-st0 {
  fill: var(--text-color);
}

.navbar.scrolled .logo-st0 {
  fill: var(--white);
}

.navbar .logo-st1 {
  fill: var(--primary-color);
}

.navbar .language-switcher a:hover {
  color: var(--primary-color);
}

.navbar .language-switcher a.active {
  color: var(--primary-color);
}

#fullscreen-menu h2 {
  font-size: 38px;
  font-weight: 500;
  margin-bottom: 30px;
}

#fullscreen-menu .row-menu a {
  text-decoration: none;
  display: block;
}

#fullscreen-menu a {
  color: white;
  cursor: pointer;
}

#fullscreen-menu a.active {
  color: var(--primary-color);
}

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

.language-switcher {
  margin-top: -4px;
}

@media (max-width: 1599px) {
#fullscreen-menu h2 {
  font-size: 28px;
}
}

@media (max-width: 1199px) {
#fullscreen-menu h2 {
  margin-bottom: 0;
}
#fullscreen-menu h2 a {
  border-bottom: 1px solid #ffffff40;
  padding-bottom: 20px;
  padding-top: 20px;
}
.submenu {
  border-bottom: 1px solid #ffffff40;
  padding-bottom: 20px;
  padding-top: 20px;
}
.submenu h2 {
  margin-bottom: 10px!important;
}
.language-switcher {
  margin-top: 0;
}
}

@media (max-width: 991px) {
#fullscreen-menu h2 {
  font-size: 22px;
}
#fullscreen-menu h2 a {
  padding-bottom: 10px;
  padding-top: 10px;
}
.submenu {
  padding-bottom: 10px;
  padding-top: 10px;
}
.submenu h2 {
  margin-bottom: 6px!important;
}

#navigation {
  padding: 20px 15px;
}
#fullscreen-menu {
  padding-top: 80px;
}
.hamburger {
  margin-left: 20px;
}
.navbar-logo {
  width: 180px;
  margin-bottom: 0;
}
}

@media (max-width: 575px) {
.row-menu {
  margin: 0;
}
}

.navbar .subnav {
  display: block;
}
.navbar.scrolled .subnav {
  display: none;
}
@media (max-width: 1199px) {
.navbar .subnav {
  display: none;
}
}
.subnav {
  margin-bottom: -31px;
  margin-top: 30px;
}
.subnav .nav-link {
  color: white!important;
  padding: 0!important;
  margin: 10px 10px;
  font-size: 18px;
}
.subnav .navbar-nav .show > .nav-link,
.subnav .navbar-nav .active > .nav-link,
.subnav .navbar-nav .nav-link.show,
.subnav .navbar-nav .nav-link.active {
  border-bottom: 1px solid var(--white);
}

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

ul.list-lines {
    -webkit-padding-start: 15px;
    padding-inline-start: 15px;
}

ul.list-lines li {
    list-style-type: "– ";
    padding-left: 10px;
}

ul.text-small li {
  margin-bottom: 8px;
}

.img-icon {
  height: 55px;
  width: auto;
}

@media (max-width: 991px) {
.img-icon {
  height: 45px;
  width: auto;
}
}

.card {
  border-radius: 0;
  border-color: var(--light-grey);
}

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

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

.csd-surfaces {
  position: relative;
  display: inline-block;
}

.csd-surfaces::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40%; /* Adjust as needed */
  background: -webkit-gradient(linear, left bottom, left top, from(rgba(0, 0, 0, 0.6)), to(transparent));
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
  z-index: 1;
}

.csd-surfaces img {
  display: block;
  width: 100%;
  height: auto;
}

.csd-surfaces h4 {
  position: absolute;
  font-size: 20px;
  bottom: 14px;
  left: 26px;
  right: 26px;
  color: white;
  z-index: 2; /* Make sure it's above the gradient */
}

.card.csd-sectors {
  aspect-ratio: 1/1;
}

.card.csd-sectors img {
  width: 30px;
  height: 30px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.timeline {
  position: relative;
  padding-left: 40px;
  border-left: 2px solid var(--primary-color);
  margin-left: 6px;
  padding-top: 60px;
  padding-bottom: 10px;
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
}

.timeline-date {
  color: var(--primary-color);
  margin-top: -10px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -48px;
  top: 7px;
  width: 14px;
  height: 14px;
  background-color: var(--primary-color);
  border-radius: 50%;
}

@media (max-width: 991px) {
.timeline-item {
  margin-bottom: 2rem;
}
.timeline {
  padding-left: 30px;
  padding-top: 50px;
  padding-bottom: 10px;
}
.timeline-item::before {
  left: -38px;
  top: 3.5px;
}
}


/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/


.hero {
    width: 100%;
    height: 100vh;
    background: #600701!important;
    background: linear-gradient(45deg,rgba(96, 7, 1, 1) 0%, rgba(29, 29, 27, 1) 20%)!important;
}

.hero-csd {
    width: 100%;
    background: #600701!important;
    background: linear-gradient(45deg,rgba(96, 7, 1, 1) 0%, rgba(29, 29, 27, 1) 20%)!important;
}

@media (min-width: 992px) {
.hero {
    padding-top: 101px;
}
}

#homecarousel {
    height: 100vh;
    width: 50vw;
    position: absolute;
    right: 0;
    top: 0;
}

.img-carousel {
   -o-object-fit: cover;
      object-fit: cover;
   -o-object-position: center center;
      object-position: center center;
   width: 50vw;
   height: 100vh;
   position: absolute;
}

.img-carousel-sm {
   -o-object-fit: cover;
      object-fit: cover;
   -o-object-position: center center;
      object-position: center center;
   height: 40vh;
   width: 100vw;
   position: absolute;
}

#homecarouselmobile {
    height: 40vh;
    width: 100vw;
    position: relative;
    right: 0;
}

#homecarousel .carousel-item {
    height: 100vh;
}

#homecarouselmobile .carousel-item {
    height: 40vh;
}

.carousel-control-next {
    top: auto;
    bottom: 40px;
    right: 40px;
    left: auto;
    width: 40px;
}

.carousel-control-prev {
    top: auto;
    bottom: 40px;
    right: 80px;
    left: auto;
    width: 40px;
}

.carousel-control-prev-icon {
    background-image: url(../dmxDaten/icons/carousel-slide-prev.svg);
}

.carousel-control-next-icon {
    background-image: url(../dmxDaten/icons/carousel-slide-next.svg);
}

@media (max-height: 710px) {
.hero {
    height: 750px;
}
.hero .container-fluid {
    padding-top: 160px;
    padding-bottom: 80px;
}
#homecarousel {
    height: 750px;
}
#homecarousel .carousel-item {
    height: 750px;
}
.img-carousel {
    height: 750px;
}
}

@media (max-width: 991px) {
.hero {
    height: 100%;
}
.hero .container-fluid {
    padding-top: 80px;
    padding-bottom: 80px;
    height: 100%;
}
.herotitle {
    font-size: 30px;
}
.herosubtitle {
    font-size: 18px;
    font-weight: 300;
}
.hero-produkte {
  padding-top: 80px;
}
}

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


.footer-white .bg-primary {
    background: white!important;
}

.container-content-box.text-white .job-card h3,
.container-content-box.text-white .job-card p {
    color: var(--text-color);
}

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

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

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

.footer-white .job-card a {
  color: var(--white)!important;
  opacity: 1;
}

.footer-white .job-card a:focus, .footer-white .job-card a:hover {
  opacity: 0.8;
}

.footer-white .content-box-footer {
    border-radius: 15px;
}


#kontaktformular .form-control {
    display: block;
    width: 100%;
    height: calc(1.5em + .75rem + 2px);
    padding: 0 15px;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--text-color) !important;
    background: white !important;
    border: none;
    border-radius: 0;
    opacity: 1;
    -webkit-box-shadow: none !important;
            box-shadow: none !important;
}

#kontaktformular textarea.form-control {
    display: block;
    width: 100%;
    height: calc(3.5em + .75rem + 2px);
    padding: 8px 15px;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--text-color) !important;
    background: white !important;
    border: none;
    border-radius: 0;
    opacity: 1;
    -webkit-box-shadow: none !important;
            box-shadow: none !important;
}

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