html, body,div{
  border:0;
	outline:0;
	padding:0;
  margin:0;
  font-family: 'Open Sans', sans-serif;
  scroll-behavior: smooth;
}
 html, body{
    overflow-x: clip;
 }
/*---Farben-------------------------------*/
:root {
  --primary-color: rgb(255, 255, 255);
  --secondary-color: rgb(230, 230, 230);
  --third-color:rgb(198, 198, 198);
  --main-bg-color: rgb(226, 226, 226);
  --header-bg-color: rgba(255, 255, 255, 0.8);
  --main-font-color:rgb(0, 0, 0);


  --mlt-red-color:#DD0714;
}
.darkmode {
  --primary-color: rgb(18, 18, 18);
  --secondary-color: rgb(36, 36, 36);
  --third-color:rgb(73, 73, 73);
  --main-bg-color: rgb(19, 19, 19);
  --header-bg-color: rgba(0, 0, 0, 0.7);
  --main-font-color:rgb(232, 232, 232);
}

/* Dark Mode*/

html.lightmode {
  transition: 0.2s;
  color-scheme: light;
  background-color:  none;
}
html.darkmode {
  transition: 0.2s;
  color-scheme: dark;
  background-color:  var(--primary-color);
}


html.darkmode .header-logo{
  filter:   hue-rotate(-180deg) brightness(2) invert(1);
  transition: 0.2s;
}

html.darkmode .img-invert img{
  filter:   hue-rotate(-180deg) brightness(3) invert(1);
  transition: 0.2s;
}




/*Font*/
a, i, b, p, h1, h2, h3, h4, h5, h6 {
  color: var(--main-font-color);
  transition: 0.2s;
}
a{
  text-decoration: none;
  font-size: 16px;
}
p a{
  text-decoration: underline;
}
p:hover a{
  opacity: 0.8;
}
p{
  font-size: 16px;
  line-height: 28px;
  font-weight: normal;
  margin: 0px;
}
.red-font{
  color: var(--mlt-red-color);
  display: inline;
}

b{
  font-weight: 900;
}
h1{
  margin-bottom: 5px;
  text-transform: uppercase;
  text-align: center;
  font-size: 3em;
}
h2{
  text-align: center;
  margin-bottom: 5px;
  font-size: 2.5em;
}
.subheading{
  font-size: 1.5rem;
  font-weight: 400;
  color: #666;
  margin-top: 5px;
  margin-bottom: 20px;
  text-align: center;
}
h3{
  margin-bottom: 5px;
  font-size: 2em;
}
h3.section-title {
  font-size: 1.5em; 
}

img.fa{
  height: 1em !important;
  vertical-align: middle;
  position: relative;
  filter: brightness(0) saturate(100%) invert(16%) sepia(69%) saturate(4127%) hue-rotate(345deg) brightness(96%) contrast(117%);
  user-drag: none;  
  user-select: none;
  -moz-user-select: none;
  -webkit-user-drag: none;
  -webkit-user-select: none;
  -ms-user-select: none;
}
hr {
}
hr.red {
  border-color: var(--mlt-red-color);
}


a img.fa {
  margin-bottom: 3px;
}
h3 img.fa {
  margin-bottom: 6.5px;
}

footer img.fa, img.fa.white{
  filter: none;
}
html.darkmode footer img.fa, html.darkmode img.fa.white{
  filter: invert(1);
}
.bg-secondary{
  background-color: var(--secondary-color);
  padding: 20px;
  border-radius: 10px;
}
@media (max-width: 1024px) {
  p{
    font-size: 16px;
  }
  h1{
    font-size: 2.5em;
  }
  h2{
    font-size: 2em;
  }
  .subheading{
    font-size: 1.25rem;
  }
  h3{
    font-size: 1.75em;
  }
  h3.section-title {
    font-size: 1.3125em; /* 75% von 1.75em */
  }
}
@media (max-width: 768px) {
  p{
    font-size: 16px;
  }
  h1{
    font-size: 2em;
  }
  h2{
    font-size: 1.75em;
  }
  .subheading{
    font-size: 1.0rem;
  }
  h3{
    font-size: 1.5em;
  }
  h3.section-title {
    font-size: 1.125em; /* 75% von 1.5em */
  }
}
@media (max-width: 425px) {
  p{
    font-size: 15px;
  }
  h1{
    font-size: 1.75em;
  }
  h2{
    font-size: 1.5em;
  }
  h3{
    font-size: 1.25em;
  }
  h3.section-title {
    font-size: 0.9375em; /* 75% von 1.25em */
  }
}

.visually-hidden {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}


/* ==== HEADER ==============================================*/
.header{
  background-color: var(--header-bg-color);
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  box-shadow: 0px 1px 15px 5px light-dark(rgba(0, 0, 0, 0.2),rgba(50, 50, 50, 0.8));  
  z-index: 200;
  -webkit-backdrop-filter: blur(15px);
  backdrop-filter: blur(15px);
}
.header-container{
  display: flex;
  justify-content: space-between;
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 2rem;
  padding-right: 2rem;
  padding-top: 0px;
  padding-bottom: 0px; 
}
/* Header */

.header-logo{
  height: 70x;
  margin-top: 5px;
  width: auto;
  display: flex;
  opacity: 1;
  z-index: 201;
}
.header-elements{
  margin-left: 0;
  margin-right: 0;
  width: 100%;
}
.header-container-inside{
  display: flex;
  justify-content: flex-end;
  flex-direction: row;
  flex-wrap: inherit;
  height: 40px;
}


/*Obere Reihe*/
.header-search{
  margin-top: auto;
  margin-bottom: 0;
  flex-wrap: nowrap;
}
.header-konto{
  display: flex;
  flex-wrap: nowrap;
  margin-top: auto;
  margin-bottom: 5px;
  margin-left: 25px; 
  margin-right: 25px;
  padding: 0;
}
.header-contact{
  flex-wrap: nowrap;
  margin-top: auto;
  margin-bottom: 5px;
  margin-left: 15px; 
  padding: 0;
  font-style: normal;
}
  .nav-contact a{
    opacity: 80%;
  }
  .nav-contact a:hover{
    opacity: 100%;
  }

/* Desktop Navigation*/
/* ========== Basis Styles ========== */

/* Basis Einstellungen */
ul, li {
  list-style: none;
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
  color: var(--main-color);
}


/* Hamburger */
.hamburger-button {
  position: fixed;
  top: 40px;
  right: 20px;
  z-index: 999; /* über Mobile-Navbar (z-index 100/90) */
  display: none; /* wird nur auf Mobile eingeblendet */
}

.hamburg {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  height: 24px;
  width: 30px;
  cursor: pointer;
}

.line {
  background: var(--main-font-color);
  height: 3px;
  width: 100%;
  border-radius: 3px;
  transition: all 0.4s ease;
}

/* Desktop Navigation */
.navigation {
  transform: translateZ(0);
  will-change: transform;
}

.navigation ul {
  display: flex;
  gap: 1.5rem;
}

.navigation li {
  position: relative;
}

.navigation ul li a {
  position: relative;
  display: block;
  font-size: 16px;
  font-weight: bold;
  color: var(--main-color);
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 5px;
  padding-right: 5px;
  text-decoration: none;
}


/* Hover Underline Effekt */
/* Underline Effekt */
.navigation ul li a::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 3px;
  background-color: var(--mlt-red-color);
  left: 0;
  bottom: 0;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 250ms ease-in-out;
}

.navigation ul li a:hover::after {
  transform: scaleX(1);
}
/* Dropdown */
/* Dropdown-Menüs versteckt */
.has-dropdown > .dropdown {
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* <- NEU */
  gap: 0; /* <- NEU: entfernt zusätzlichen Abstand */
  padding: 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--header-bg-color);
  -webkit-backdrop-filter: blur(15px);
  backdrop-filter: blur(15px);
  min-width: 240px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  white-space: nowrap;
}

/* Wenn man über das Hauptmenü hovert */
.has-dropdown:hover > .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown li {
  position: relative;
}

/* Sub-Sub-Dropdown (2. Ebene: z.B. L-Acoustics) */
.has-subdropdown > .subdropdown {
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  position: absolute;
  top: 0;
  left: 100%;
  background: var(--header-bg-color);
  min-width: 220px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.has-subdropdown:hover > .subdropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Mobile Navigation */

#mobile-navbar li a, #mobile-navbar label {
  position: relative;
  display: block;
  font-size: 16px;
  font-weight: bold;
  color: var(--main-color);
  padding: 15px 15px;
  text-decoration: none;
}
.expand-toggle {
  display: none;
}

.expand-content {
  display: none; /* Start: versteckt */
  overflow: hidden; /* verhindert Scroll-Fehler */
  padding-left: 20px;
  margin: 0;
}

#mobile-navbar label {
  display: flex;
  justify-content: space-between; 
  align-items: center; 
  font-weight: bold;
  font-size: 16px;
  color: var(--main-font-color);
  cursor: pointer;
} 
#mobile-navbar {
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  width: 300px;
  height: 100vh;
  background: var(--primary-color);
  overflow-y: auto;
  z-index: 100;
  right: -300px;
  transition: right 0.3s ease;
  padding-top: 80px;
}
#mobile-navbar.active {
  right: 0;
  transition: right 0.3s ease;
}
/* Chevron normal */
#mobile-navbar label .chevron {
  display: inline-block; 
  width: 16px;
  height: auto;
  transition: transform 0.3s ease;
}

/* Chevron drehen wenn Menü geöffnet */
.expand-toggle:checked + label .chevron {
  transform: rotate(180deg);
}

/* Sichtbarkeit Hamburger & Mobile Navbar */
@media (max-width: 1024px) {
  .navigation {
    display: none;
  }
  .hamburger-button {
    display: block;
  }
  .header-contact, .header-konto {
    display: none;
  }
}

/* Hamburger Animation */
input#hamburg:checked + label .line:nth-child(1) {
  transform: rotate(45deg) translate(6.5px, 5px);
}

input#hamburg:checked + label .line:nth-child(2) {
  opacity: 0;
}

input#hamburg:checked + label .line:nth-child(3) {
  transform: rotate(-45deg) translate(6.5px, -5px);
}
input#hamburg {
  display: none;
}



/*Main Page-------------------------------------------------------------------------------------------------------------------------*/

.main{
  width: 100%;
  margin-top: 0;
  background-color: var(--main-bg-color);
  padding-bottom: 15px;
  min-height: 80vh;
}
/* Container -------------------------------------------------------------------------------------------------------------------------*/

.container{
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 2rem;
  padding-right: 2rem;
  padding-top: 20px;
  padding-bottom: 20px;
}
@media (max-width: 425px) {
  .container{
    padding-left: 1rem;
    padding-right: 1rem;
  }
}
.container.fullwidth{
  padding-top: 0;
  padding-bottom: 0;
  margin-top: 30px;
  margin-bottom: 30px;
  padding-left: 0;
  padding-right: 0;
  max-width: none;
  background-color: var(--secondary-color);
  box-shadow: 2px 3px 10px 7px light-dark(rgba(145, 145, 145, 0.2),rgba(48, 48, 48, 0.2));
  background-image: none; 
  background-blend-mode: none; 
}
.main>.container.fullwidth{
  padding-top: 0px;
}


.container.fullwidth.gradient-grey{
  background-color: none;
  box-shadow: none;
  background-image: linear-gradient(to top,
    rgb(235, 235, 235) 0%,
    rgb(212, 212, 212) 50%, 
    rgb(235, 235, 235) 100%);
  box-shadow: 0px 0px 30px 8px light-dark(rgb(226, 226, 226),rgb(29, 29, 29));
  background-blend-mode: color-burn; 
  box-shadow: inset;
}
html.darkmode .container.fullwidth.gradient-grey{
  background-image: linear-gradient(to top,
  rgb(20, 20, 20) 0%,
  rgb(43, 43, 43) 50%, 
  rgb(20, 20, 20) 100%); 
  transition: 0.2s;
}

.spacer{
  margin: 0;
  height: 30px;
}


.feature {
  text-align: center;
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-top: 0;
  margin-bottom: 0;
  height: 100%;
  box-sizing: border-box;
}
.feature:hover.card-secondary{
  opacity: 0.8;
  transition: 0.2s;
}
.feature img{
  max-height: 80px;
}
.feature h3{
  margin-top: 10px;
}



.card-primary{
  background-color: var(--primary-color);
  /*box-shadow: 4px 4px 5px 1px light-dark(rgba(100, 100, 100, 0.253), rgba(0, 0, 0, 0.197));*/
  border-radius: 10px;
}
.card-secondary{
  background-color: var(--secondary-color);
  border-radius: 10px;
}

.border-red{
  border-style: double;
  border-color: var(--mlt-red-color);
  border-width: 1px;
  border-radius: 15px;
  margin-left: 1px;
  margin-right: 1px;
}



/*Grid & Flex*/
.grid-wrapper{
  display: grid;
  padding-top: 1rem;
  padding-bottom: 1rem;
  justify-content: center;
  align-content: center;
  grid-template-columns: repeat(1, 1fr);
}
.column2{
  grid-template-columns: repeat(2, 1fr);
  grid-auto-columns: minmax(150px, auto);
}
.column3{
  grid-template-columns: repeat(3, 1fr);
  grid-auto-columns: minmax(150px, auto);
}
.column4{
  grid-template-columns: repeat(4, 1fr);
  grid-auto-columns: minmax(150px, auto);
}
.column6{
  grid-template-columns: repeat(6, 1fr);
}

.column3-wrap{
  grid-template-columns: repeat(3, 1fr);
  grid-auto-columns: minmax(150px, auto);
}

.row-gap20px{
  row-gap: 20px;
}
.row-gap30px{
  row-gap: 30px;
}


.col-gap20px{
  column-gap: 20px;
}
.col-gap30px{
  column-gap: 30px;
}


.grid-item{
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.flex{
  display: flex;
  justify-content: center;
}
.flex-column{
  flex-direction: column;
}
.nowrap{
  flex-wrap: nowrap;
}

@media (max-width: 1024px) {
  .column2{
    grid-template-columns: repeat(1, 1fr);
  }
  .column3{
    grid-template-columns: repeat(1, 1fr);
  }
  .column4{
    grid-template-columns: repeat(2, 1fr);
  }
  .column6{
    grid-template-columns: repeat(3, 1fr);
  }
  .column3-wrap{
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .column4{
    grid-template-columns: repeat(1, 1fr);
  }
  .column6{
    grid-template-columns: repeat(2, 1fr);
  }
  .column3-wrap{
    grid-template-columns: repeat(1, 1fr);
  }
}
@media (max-width: 425px) {
  .column4{
    grid-template-columns: repeat(1, 1fr);
  }
  .column6{
    grid-template-columns: repeat(1, 1fr);
  }

}
/*Leistungs ICON MENU*/
.leistungs-grid{
  grid-template-columns: repeat(5, 1fr);
  grid-auto-columns: minmax(150px, auto);
}
.leistungs-icon{
  flex-direction: column;
  justify-content: center;
  text-align: center;
}
.leistungs-icon h3{
  font-size: 20px;
}
.leistungs-icon:hover h3{
  color: #ff0000;
}
.leistungs-icon:hover .leistungs-icon-img{
  background-color: rgb(255, 0, 0, 0.6);
  transition: 0.2s;
}
.leistungs-icon-img{
  background-color: var(--mlt-red-color);
  box-shadow: 0px 0px 5px 5px rgba(105, 0, 0, 0.1);
  border-radius: 50%;
  width: 33.3%;
  height: auto;
  margin: auto;
  box-sizing: border-box;
}
.leistungs-icon-img picture{
      display: block;       /* verhindert Zeilenfluss */
      margin: 0;            /* explizit kein Außenabstand */
      padding: 0;
      line-height: 0;       /* kein Textfluss oder Zeilenabstand */
      height: auto;         /* Höhe ergibt sich aus Inhalt (img) */ 
}
.leistungs-icon img{
  width: 70%;
  margin: 15%;
  padding: 0px;
  aspect-ratio: 1/1;
  height: auto;
  vertical-align: center;
}
@media (max-width: 1024px) {

}
/* Statisticss Counter */
.counter h3{
  color:red; 
 }
 .counter h3::before{
   content: "+ ";
   font-size: 16px;
   vertical-align: calc(50% - 4px);
 }

/* ======================== HERO Image ========================*/
.hero {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  max-height: 90vh;
  overflow: hidden;
}
.hero::before {
  content: "";
  display: block;
  padding-top: 56.25%; /* 16:9 */
}
.hero picture.hero-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero picture.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-text{
  position: absolute;
  left: 0;
  right: 0;
  bottom:0;
  top:0;
  z-index: 55;
  user-select: none;
  padding-bottom: 0px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-content: center;
  align-items: center;
  vertical-align: center;
  padding: 0px;
}
.hero-text-backround{
  background-color: rgba(0, 0, 0, 0.4);
  box-shadow: 0px 0px 100px 100px rgba(0, 0, 0, 0.4);
  border-radius: 7px;
  width: max-content;
  padding: 25px;
  top:0;
  bottom:0;
  left: 0;
  right: 0;
}
.hero-text h1{
  font-size: 70px;
  color: white;
  margin-bottom: 0px;
  margin-top: 0px;
}
.hero-text h2{
  font-size: 55px;
  color: white;
  margin-bottom: 0px;
  margin-top: 0px;
}
.hero-text h3{
  font-size: 40px;
  color: white;
  margin-bottom: 0px;
  margin-top: 0px;
}
.item-text a{
  font-size: 35px;
  color: white;
}
@media (max-width: 1024px) {
  .hero-text h1{
    font-size: 50px;
  }
  .hero-text h2{
    font-size: 35px;
  }
  .hero-text h3{
    font-size: 25px;
  }
  .hero-text a{
    font-size: 25px;
  }
}
@media (max-width: 768px) {
  .hero {
    aspect-ratio: 4 / 3;
  }
  .hero::before {
    padding-top: 75%; /* 16:9 */
  }
  .hero-text h1{
    font-size: 40px;
  }
  .hero-text h2{
    font-size: 30px;
  }
  .hero-text h3{
    font-size: 20px;
  }
  .hero-text a{
    font-size: 20px;
  }
  .owl-nav{
    display: none;
  }
  .hero-text-backround{
    box-shadow: 0px 0px 20px 20px rgba(0, 0, 0, 0.4);
    padding: 10px;
  }
}
@media (max-width: 425px) {
  .hero-text h1{
    font-size: 30px;
  }
  .hero-text h2{
    font-size: 25px;
  }
  .hero-text h3{
    font-size: 20px;
  }
  .hero-text a{
    font-size: 20px;
  }
  .owl-nav{
    display: none;
  }
  .hero-text-backround{
    box-shadow: 0px 0px 20px 20px rgba(0, 0, 0, 0.4);
    padding: 10px;
  }
}


/*table*/
table.table{
  width: 100%;
  padding: 20px;
  background-color: var(--primary-color);
}
table.table td, table.table th{
  padding-left: 10px;
  padding-right: 10px;
  margin: 2px;
}
table.table th{
  background-color: var(--third-color);
  padding-bottom: 5px;
  padding-top: 5px;
}
table.table td{
  background-color: var(--secondary-color);
}
.table.table td .red-button{
  display: flex;
}
.table-item input{
  display: flex;
}
.overflow-x{
  overflow-x: auto;
}

.notselectable img{
  user-drag: none;  
  user-select: none;
  -moz-user-select: none;
  -webkit-user-drag: none;
  -webkit-user-select: none;
  -ms-user-select: none;
}
.text-center{
  text-align: center;
}
.text-left{
  text-align: left;
}
.no-margin{
  margin: 0 !important;
}
.no-padding{
  padding: 0 !important;
}



/* Page Produkte------------------------------------------------------------------------------------------------------------------------*/
.page-produkt-image{
  display: flex;
  align-content: flex-end;
}
.page-produkt-image picture{
  width: 40%;
  margin-left: auto;
  min-width: 300px;
}
.page-produkt-image.big-produkt-image picture{
  width: 60%;
}
.page-produkt-image img{
  width: 100%;
}
@media (max-width: 1024px) {
  .page-produkt-image{
    align-content: center;
  }
  .page-produkt-image picture{
    width: 40%;
    margin-left: auto;
    margin-right: auto;
    min-width: 250px;
  }
  .page-produkt-image.big-produkt-image picture{
    width: 60%;
    min-width: 300px;
  }
}


/* */
/*Error 404*/
.blank{
  width: 100%;
  height: 80vh;
  text-align: center;
  align-items: center;
  justify-content: center;
  }
.blank h1{
  padding-top: 35vh;
  padding-bottom: 20px;
  font-size: 60px;
}
.blank a{
  font-size: 26px;
  font-weight: bold;
}
/* Visualisierung --------------------------------------------------------------------------------------------------------------------------*/
.vergleich img{
  width: 100%;
}
/* Konto -------------------------------------*/

.login{
  max-width: 475px;
}

/* Button  --------------------------------------------------------------------------------------------------------------------------*/
.red-button{
  background-color: rgba(255, 2, 2, 0.8);
  padding: 10px;
  box-shadow: 0px 0px 10px 5px rgba(255, 0, 0, 0.2);
  border-radius: 5px;
  margin: 10px;
  display: inline-block;
  text-transform: uppercase;
  font-weight: bold;
  font-size: 16px;
}
p a.red-button{
  text-decoration: none;
  color: #000;
  font-size: 16px;
}

.red-button:hover{
  background-color: rgba(255, 0, 0, 0.6);
}


/* ================== Mainpage FORMATE caroussel =========================*/

.formate-carousel .owl-carousel{
  width: 100%;
  position: relative;
  display: block !important;
}

.formate-carousel .owl-stage-outer, .formate-carousel .owl-stage{
  height: 100%;
}

#formate-carousel .owl-nav{
  font-size: 50px;
  font-weight: bold;
  color: var(--mlt-red-color);
}

#formate-carousel .owl-prev {
  position: absolute;
  top:0;
  bottom:0;
  left:20px;
}
#formate-carousel .owl-next {
  position: absolute;
  top:0;
  bottom:0;
  right:20px;
}

#formate-carousel .owl-next:hover, #formate-carousel .owl-prev:hover{
  background:none !important;
}
#formate-carousel .owl-next:hover,#formate-carousel .owl-prev:hover{
  color: rgba(255, 0, 0, 0.503);
}


.formate-carousel .owl-item {
}

.formate-carousel .format-card {
  display: block;
  /*border: 1px solid var(--mlt-red-color);*/
  border-radius: 10px;
  box-shadow: 0 2px 10px light-dark(rgba(0, 0, 0, 0.15), rgba(255, 255, 255, 0.1));
  height: 100%;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease;
}

.format-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px light-dark(rgba(0, 0, 0, 0.15), rgba(255, 255, 255, 0.15));
}

.format-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.format-card h3 {
  margin: 0;
  padding: 11px;
  font-size: 1rem;
  background: var(--mlt-red-color);
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  text-align: center;
}


/* ================== Format Page =========================*/
.format-block {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 0px;
  align-items: stretch;
}
.format-block h3{
  margin-top: 15px;
  margin-bottom: 0px;
}
.format-accent-line {
  width: 50px;
  height: 2px;
  background: var(--mlt-red-color);
  margin-bottom: 0.5rem;
  border-radius: 1px;
}
.format-block > .text{
  background: var(--secondary-color);
  padding: 1rem;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.format-block > .text, 
.format-block > .image {
  flex: 1 1 100%; /* mobile: volle Breite */
  max-width: 100%;
  box-sizing: border-box;
}

@media (min-width: 769px) {
  .format-block {
    flex-wrap: nowrap; /* nebeneinander */
  }

  .format-block > .text,
  .format-block > .image {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

.format-block  .format-item img{
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 10px;
}

.owl-format-page-carousel .owl-nav{
  font-size: 50px;
  font-weight: bold;
  color: var(--mlt-red-color);
  margin-top: 0px !important;
  height: 0;
}
.owl-format-page-carousel .owl-prev {
  position: absolute;
  top:0;
  bottom:0;
  left:20px;
}
.owl-format-page-carousel .owl-next {
  position: absolute;
  top:0;
  bottom:0;
  right:20px;
}

.owl-format-page-carousel .owl-next:hover, .owl-format-page-carousel .owl-prev:hover{
  background:none !important;
}
.owl-format-page-carousel .owl-next:hover,.owl-format-page-carousel .owl-prev:hover{
  color: rgba(255, 0, 0, 0.503);
}
.format-page-carousel .format-item {
  display: block;
  /*border: 1px solid var(--mlt-red-color);*/
  border-radius: 10px;
  box-shadow: 0 2px 10px light-dark(rgba(0, 0, 0, 0.15), rgba(255, 255, 255, 0.1));
  height: 100%;
  text-decoration: none;
  color: inherit;
}
.owl-format-page-carousel .owl-dots {
  position: absolute;
  bottom: 15px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
  color: var(--mlt-red-color);
}

.owl-format-page-carousel .owl-dot span {
  display: block;
  width: 10px;
  height: 10px;
  background-color:  var(--mlt-red-color) !important;
  border-radius: 50%;
  opacity: 1;
  transition: background-color 0.3s ease, opacity 0.3s ease;
}

.owl-format-page-carousel .owl-dot.active span {
  background-color: white !important;
  opacity: 0.7;
}

/* ========================================== Timeline ======================================== */
.timeline {
  position: relative;
  width: 100%;
}

/* 🔴 Vertikale Linie */
.timeline-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background: var(--mlt-red-color);
  transform: translateX(-50%);
  z-index: 0;
}

/* ░░░ Standard-Zeile mit Text/Bild links/rechts ░░░ */
.timeline-row {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 60px 0;
  position: relative;
  z-index: 1;
}

.timeline-text,
.timeline-img {
  flex: 1;
  border-radius: 10px;
  font-size: 1rem;
  box-sizing: border-box;
}


.timeline-text-inside {
  padding: 20px;
  background: var(--secondary-color);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.timeline-img img,.timeline-img video {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
  aspect-ratio: 16/9;
}

/* Zentrum (mit vertikaler Linie & Icon) */
.timeline-center {
  position: relative;
  width: 60px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 8px;
  z-index: 2;
}

/* 🔴 Icon für normale Timeline-Zeilen */
.timeline-icon {
  width: 40px;
  height: 40px;
  background: var(--mlt-red-color);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 0 0 4px var(--secondary-color);
  z-index: 2;
}

.timeline-icon img {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
}

.timeline-year {
  font-weight: 600;
  display: inline;
  color: var(--mlt-red-color);
}
.timeline-year::after {
  content: " ";
}


/* ░░░ VOLLFLÄCHIGE ZEILEN (z. B. Start / End) ░░░ */
.timeline-row.full {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: 100px 0;
}

.timeline-row.full.start {
  margin-top: 0;
}

.timeline-full-content {
  position: relative;
  background: var(--secondary-color);
  color: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  width: 100%;
  max-width: 800px;
}

/* 🔴 Icon für .full.start / .full.end – innerhalb der Box */
.timeline-icon.icon-in-box {
  position: absolute;
  left: 50%;
  width: 50px;
  height: 50px;
  background: var(--mlt-red-color);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 0 0 4px var(--secondary-color);
  transform: translateX(-50%);
  z-index: 2;
}

.timeline-icon.icon-in-box img {
  width: 24px;
  height: 24px;
}

/* Positionierung für Startpunkt-Icon */
.timeline-row.full.start .timeline-icon.icon-in-box {
  bottom: 0;
  transform: translate(-50%, 50%);
}

/* Positionierung für Endpunkt-Icon */
.timeline-row.full.end .timeline-icon.icon-in-box {
  top: 0;
  transform: translate(-50%, -50%);
}

/* ░░░ RESPONSIVE ░░░ */
@media (max-width: 768px) {
  .timeline-line {
    left: 28px;
  }

  .timeline-row {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin: 0;
  }

  .timeline-text,
  .timeline-img {
    width: calc(100% - 60px);
    margin-left: 60px;
    padding: 20px;
    box-sizing: border-box;
  }
  .timeline-img img, .timeline-img video{
    aspect-ratio: 16/10;
  }
  .timeline-center {
    position: relative;
    width: 100%;
    height: 0;
    margin: 0;
  }

  .timeline-icon {
    position: absolute;
    left: 28px;
    transform: translateX(-50%);
  }

  .timeline-full-content {
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
  }

  .timeline-icon.icon-in-box {
    width: 42px;
    height: 42px;
    box-shadow: 0 0 0 3px var(--secondary-color);
  }

  .timeline-row.full.start .timeline-icon.icon-in-box {
    bottom: 0;
    left: 28px;
    transform: translate(-50%, 50%);
  }

  .timeline-row.full.end .timeline-icon.icon-in-box {
    top: 0;
    left: 28px;
    transform: translate(-50%, -50%);
  }
}


/* ====== Über UNS =======================*/

picture.team-image img{
  border-radius: 50%;
  width: 50%;
  aspect-ratio: 1/1;
}
picture.team-image img.fa.white{
  height: auto !important;
}
.mlt-quote {
  position: relative;
  font-style: italic;
  max-width: fit-content;
  color: white;
  margin: auto;
  padding: 20px;
  padding-top: 30px;
  border-radius: 8px;
  align-self: center;
}

.mlt-quote::before {
  content: '“';
  position: absolute;
  top: -10px;
  left: 15px;
  font-size: 5rem;
  color: var(--mlt-red-color);
  opacity: 1;
}

.mlt-quote cite {
  margin-top: 1.5em;
  font-style: normal;
  font-weight: 600;
  color: var(--mlt-red-color);
}

/* ====== CHECKLIST =======================*/
.checklist {
  list-style: none;
  padding: 0;
  margin: 1.5em 0;
}
.checklist li {
  display: flex;
  align-items: center;
  margin-bottom: 1em;
  font-size: 1.1em;
}
.checklist li .checkIcon{
  width: 18px;
  height: 18px;
  background-color: var(--mlt-red-color);
  padding: 10px;
  border-radius: 50%;
  margin-right: 12px;
  display: inline-block;
}

/* Footer--------------------------------------------------------------------------------------------------------------------------*/

footer{
  height: auto;
  background-color: var(--primary-color);
  box-shadow: 2px 4px 7px 5px light-dark(rgba(0, 0, 0, 0.2),rgba(255, 255, 255, 0.2) );
  padding-bottom: 2px;
  padding-top: 2px;
}
html.darkmode footer{
  background-color: var(--mlt-red-color);
}
.contact{
  text-align: center;
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
  padding-bottom: 10px;
  display: flex;
  justify-content: space-evenly;
}
footer .copy{
  width: 100%;
}
footer .copyright p{
  font-size: 14px;
  text-align: center;
}
.social-icons{
  text-align: center;
}
.social-icons img{
  font-size: 36px;
  padding-left: 10px;
  padding-right: 10px;
}
.social-icons img:hover{
  opacity: 70%;
}
.footer-links{
  text-align: center;
  margin-top: 10px;
}
.footer-links a{
  font-size: 14px;
  text-decoration: underline;
  padding-left: 10px;
  padding-right: 10px;
}
.footer-links a:hover{
  opacity: 70%;
}
.contact-onehalf{
  padding: 10px;
  display: inline-block; 
}
.contact-onehalf p{
  font-weight: normal;
  line-height: normal;
}
.mitgliedschaften{
  width: 250px;
  margin: auto;
}
@media (max-width: 768px) {
  .contact{
    flex-direction: column;
    justify-content: center;
  }

}

/* -----News --------------------------------------------------------------------------------------------------------------------------*/
.news-container{
  text-align: center;
  align-items: center;
  justify-content: center;
  margin-top: 25px;
  padding-top: 25px;
}
.news{
  max-width: 500px;
  margin-top: 25px;
  margin-bottom: 25px;
  background-color: var(--primary-color);
  box-shadow: 0px 0px 5px 5px light-dark(rgba(0, 0, 0, 0.1), rgba(255, 255, 255, 0.05));
  padding: 20px;
  border-radius: 2px;
  margin-left: auto;
  margin-right: auto;
}
.news-text{
  margin-top: 10px;
}
.news-date{
  text-align: right;
  width: 100%;
}
.news-date p{
  font-size: 14px;
}
.news-img{
  width: 100%;
  margin-top: 25px;
}
.news-img img{
  width: 100%;
}
.news-img:hover {
  opacity: 0.9;
  transition: 0.3s;
}
.news-img.single{
  width: 100%; 
}
.news-img.single img{
  height: 70vh;
  width: fit-content;
}
.more-link {
  text-decoration: none;
  font-weight: bold;
  margin-left: 0.3rem;
}
.more-link:hover {
  text-decoration: underline;
}

.news-mainpage{
  margin-left: auto;
  margin-right: auto;
  max-width: 300px;
}
.news-mainpage img{
  width: 100%;
  text-align: left;
  box-shadow: 2px 2px 5px 5px rgba(0, 0, 0, 0.15);
}
.news-mainpage:not(#news-detail-container) img:hover{
  opacity: 0.9;
  transition: 0.3s;
  cursor: pointer;
}
.news-mainpage .news-title {
  font-weight: bold;
  font-size: 1rem;
  margin-top: 0.5rem;
}


body.no-scroll {
  overflow: clip;
}

#news-detail {
  position: fixed;
  top: 80px; /* ← Höhe deines Headers */
  left: 0;
  right: 0;
  padding: 0;
  margin: 0;
  height: calc(100% - 80px); /* passt sich automatisch an */
  overflow-y: auto;
  z-index: 60;
  display: none;
}
#news-detail.main{
  margin-top: 0px !important;
  padding-top: 0px !important;
}

.page-detailnews picture{
  width: 100%;
}
.page-detailnews img{
  width: 100%;
}

/* Kontaktformular--------------------------------------------------------------------------------------------------------------------*/

.formular{
  width: 100%;
}

.page-kontakt p{
  font-size: 20px;
  font-weight: bold;
}
.page-kontakt a p{
  text-decoration: none;
}
.page-kontakt a:hover p{
  text-decoration: underline;
}

.CookieDeclaration{
  display: none;;
}


/* Input Styling*/
.input-item {
  display: flex;
  flex-direction: column;
}
.input-item input{
  width: auto;
}
.input-item label {
  font-size: 14px;
  opacity: 0.7;
}


.formular input, .formular textarea{
  font-size: 18px;
  font-family: 'Open Sans', sans-serif;
}

input[type="text"], input[type="email"], input[type="name"], input[type="date"], input[type="password"]{
  border: none;
  background-color: light-dark(var(--secondary-color), var(--secondary-color));
  padding: 15px;
  border-radius: 5px;
}

textarea{
  padding: 15px;
  resize: vertical;
  border: none;
  width: calc(100% - 30px);
  background-color: light-dark(var(--secondary-color), var(--secondary-color));
  min-height: 200px;
  height: auto;
  -webkit-appearance: none;
  border-radius: 5px;
}
input[type="submit"]{
  border: none;
  background-color: rgba(255, 2, 2, 0.8);
  box-shadow: 0px 0px 10px 5px rgba(255, 0, 0, 0.2);
  padding: 15px;
  margin-left: auto;
  font-weight: bold;
  border-radius: 5px;
  -webkit-appearance: none;
  width: fit-content;
}
input[type="submit"]:hover{
  cursor: pointer;
  background-color: rgba(255, 0, 0, 0.6);
}

input:focus, textarea:focus {
  outline: none;
  background-color: light-dark(rgba(128, 128, 128, 0.25), rgba(255, 255, 255, 0.15));;
}

.meldung{
  background-color: light-dark(white, black );
  box-shadow: 0px 0px 5px 5px light-dark(rgba(0, 0, 0, 0.1), rgba(255, 255, 255, 0.1) );
  padding: 30px;
  margin: 10px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 25px;

}
.meldung h3{
  color: red;
}


/* Buttons --------------------------------------------------------------------------------------------------------------------------*/


/*Scroll to top Button*/
#srollToTop {
  display: none; 
  position: fixed; 
  bottom: 85px; 
  right: 30px; 
  z-index: 99; 
  border: none; 
  outline: none; 
  background-color: red; 
  font-weight: bolder;
  cursor: pointer; 
  border-radius: 50%; /* Rounded corners */
  width: 50px;
  aspect-ratio: 1;
  box-shadow: 0px 0px 2px 2px rgba(105, 0, 0, 0.1);
  transition: 0.2s;
}
#srollToTop img{
  margin-top: 25%;
  height: 50%;
  margin-bottom: 25%;
  user-drag: none;  
  user-select: none;
  -moz-user-select: none;
  -webkit-user-drag: none;
  -webkit-user-select: none;
  -ms-user-select: none;
}

#srollToTop:hover {
  background-color: rgba(255, 0, 0, 0.644); /* Add a dark-grey background on hover */
}

/*Toggle Theme Button*/
#toggle-theme {
  position: fixed; 
  bottom: 25px; 
  right: 30px; 
  z-index: 99; 
  border: none; 
  outline: none; 
  background-color: var(--main-color);  
  font-weight: bolder;
  cursor: pointer; 
  border-radius: 50%; /* Rounded corners */
  width: 50px;
  aspect-ratio: 1;
  box-shadow: 0px 0px 2px 2px var(--third-color);
}
#toggle-theme img{
  margin-top: 25%;
  height: 50%;
  margin-bottom: 25%;
  user-drag: none;  
  user-select: none;
  -moz-user-select: none;
  -webkit-user-drag: none;
  -webkit-user-select: none;
  -ms-user-select: none;
}
html.darkmode #toggle-theme img{
  filter: invert(1);
}

#toggle-theme:hover {
  filter: invert(1);
  background-color: var(--secondary-color);  
  transition: 0.2s;
}

@media (max-width: 769px) {
  #srollToTop{
    bottom: 70px; 
    right: 20px; 
    width: 40px;
  }
  #toggle-theme {
    bottom: 20px; 
    right: 20px; 
    width: 40px;
  }
}

/* Mobile Modifier */

.reverse-on-mobile {
  flex-direction: column-reverse;
}

@media (min-width: 769px) {
  .reverse-on-mobile {
    flex-direction: row;
  }
}


/*---------------------------------------------Kundenservice---------------------------------------------------*/

/* DGUV V3+*/

.seriennummer .grid-wrapper{
  background-color: var(--primary-color);
  border-radius: 5px;
  padding-left: 20px;
  padding-right: 20px;
}

#pruefung_ok > input{
  background-color: rgba(0, 255, 0, 0.7);
  background-image: url("/assets/fontawesome/plug-circle-check-solid.svg");
  background-repeat: no-repeat;
  background-size: auto 65%;
  background-position: right;
  background-position-x: 90%;
}
#pruefung_NOTok > input{
  background-color: rgba(255, 51, 0, 0.8);
  background-image: url("/assets/fontawesome/triangle-exclamation-solid.svg");
  background-repeat: no-repeat;
  background-size: auto 65%;
  background-position: right;
}







/*---------------------------------------------Backend---------------------------------------------------*/

/* backend*/
.backend-formular .grid-wrapper{
  background-color: var(--primary-color);
  border-radius: 5px;
  padding-left: 20px;
  padding-right: 20px;
}
.drop-area {
  border: 2px dashed #ccc;
  padding: 20px;
  text-align: center;
  cursor: pointer;
  margin-bottom: 1rem;
}

.drop-area.hover {
  border-color: #333;
}

.preview-area img {
  max-height: 100px;
  margin: 0.5rem;
  border-radius: 4px;
}
#sortable-images .image-item{
  width: 25%;
}
#sortable-images .image-item img{
  width: 80%;
}
.tox {
  border-radius: 1px;
  border: 1px solid light-dark(rgb(255, 255, 255), rgb(0, 0, 0)) !important;
  box-shadow: 0 0 3px light-dark(rgba(0, 0, 0, 0.1), rgba(255, 255, 255, 0.1) ) !important;
}

.tox .tox-toolbar {
  background-color: light-dark(rgb(255, 255, 255), rgb(0, 0, 0)) !important;
}

.tox .tox-editor-header {
  border-bottom: 1px solid #ddd !important;
}