.aktuellemeldung {
    padding-top: 5px;
    padding-bottom: 7px;
    margin-top: 100px;
    margin-bottom: 5px;
    padding-left: 30px; 
    padding-right: 30px; 
    background-color: #D31126; 
    color: #FFF; 
    font-size: 14px; 
    text-align: center;
} 

.aktuellemeldung::after {
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.fahrzeugfehler {
	margin-top: 100px;
	padding-bottom: 20px;
	padding-top: 50px;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
	color: #FFF;
	background: #D31126; 
	font-weight: bold;
}

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  font-family: Arial, sans-serif;
  font-weight: 600;
  font-size: 16px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  line-height: 1;
  flex: 0 0 auto;
  margin-top: 1.5em;
}
	
.button:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}	

/* Primary Button Style */
.button-primary {
  color: white;
  background: linear-gradient(to left, #2563eb 0%, #1e3a8a 50%, #2563eb 100%);
  background-size: 200% 100%;
  background-position: 100% 0;
  transition: background-position 0.5s ease;
}

.button-primary:hover {
    background-position: 0 0;
    color: #f3f4f6;
}

/* Secondary Button Style */
.button-secondary {
  color: #374151;
  background: linear-gradient(to right, #f3f4f6 0%, white 50%, #f3f4f6 100%);
  background-size: 200% 100%;
  background-position: 100% 0;
  transition: background-position 0.5s ease;
  border: 2px solid #0055A0;
}

.button-secondary:hover {
  background-position: 0 0;
}

/* Button Sizes */
.button-small {
  padding: 8px 16px;
  font-size: 14px;
}

.button-large {
  padding: 16px 32px;
  font-size: 18px;
}

/* Disabled State */
.button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  background: #9ca3af;
}

/* Icon Style */
.button-icon {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}
	
	
.button-tooltip {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 8px;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  border-radius: 4px;
  font-size: 12px;
  opacity: 0;
  transition: opacity 0.2s;
  pointer-events: none;
}

.button:hover .button-tooltip {
  opacity: 1;
}	
	
/* Animation für den Senden-Button */
.button-send:hover .button-icon {
  transform: translateX(4px);
  transition: transform 0.2s;
}

/* Wenn Sie eine "gesendet" Bestätigung wollen */
.button-send.sent {
  background: linear-gradient(to right, #059669, #065f46); /* Grüner Farbverlauf */
}	

.buttoncontainer {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
	
.gallery-main {
    margin-top: 100px;
    padding-top: 20px;
    margin-bottom: 1em !important;
}

.large-thumbnail {
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.large-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.small-thumbnails {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.thumbnail-wrapper {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
}

.thumbnail-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.thumbnail-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9em;
    cursor: pointer;
}

:root {
    --font-size-base: 1rem;
    --spacing-base: 1rem;
}

.news-container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    box-sizing: border-box;
    gap: 4em; /* Abstand zwischen Beiträgen */
}

/* Allgemeines Styling für News-Beiträge */
.news-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.news-item {
    background-color: #FFF;
    overflow: hidden;
	box-shadow:  0 4px 12px rgba(0, 0, 0, 0.25);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    text-align: center;
    padding-bottom: 20px;
}

.news-item:hover {
     box-shadow: 0 10px 20px rgba(0, 0, 0, 0.7);
}

/* Oberster Beitrag - Volle Breite */
.news-full {
    flex: 1 1 100%; /* Nimmt 100% der Breite */
	display: flex;
	text-align: left;
	padding-bottom: 0;
}

.news-link-full {
	width: 75%
}

.news-content-full {
	width: 25%;
	padding-left: 30px;
}

.news-content-full h2 {
	padding-left: 0;
}

.news-link-full:hover, .news-link-full p:hover {
	color: black !important;
}

/* Halbe Breite für nachfolgende Beiträge */
.news-half {
    flex: 1 1 calc(50% - 2em); /* Jeweils 50% der Breite mit Abstand */
}

/* Bild-Styling */
.news-image {
    width: 100%;
    height: auto;
    display: block;
}

.news-image-full {
	width: 75%;
}

/* Titel-Styling */
.news-title {
    font-size: 1.5em;
    font-weight: 600;
    color: #333;
    margin: 1em 0 0.5em;
    padding: 0 20px;
}

.car-cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    max-width: 1170px;
    gap: 30px;
    place-items: center; /* Zentriert die Elemente im Container */
    margin-left: auto;
    margin-right: 0;
}

.car-cards-container-start {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    max-width: 1500px;
    gap: 30px;
    place-items: center; /* Zentriert die Elemente im Container */
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1em;
}


@media only screen and (max-width: 1250px) {
    
     .car-cards-container {
    max-width: 950px;
    }
}

.fahrzeugliste {
   display: flex;
    flex-wrap: wrap;
    max-width: calc(100% - 270px);
	align-content: flex-start;
	flex-grow: 1;
}

.fahrzeugliste .car-cards-container > * {
    max-width: 360px; /* Begrenzung der Breite jedes Items */
    width: 100%; /* Sorgt dafür, dass die Elemente responsive bleiben */
}

/* Card Link */
.car-card-link {
  text-decoration: none;
  color: #000;
}

/* Card Styles */
.car-card {
  border: none;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  background-color: #FFF;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.car-card-link:hover .car-card {
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.7);
}

/* Image Container */
.car-image-container {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  padding: 10px;
}

.car-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.car-tag {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background-color: black;
  color: #FFF;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.8rem;
}

.car-tag:empty {
    display: none;
}

/* Card Details */
.car-details {
  padding: 16px 16px 0 16px;
}

.car-brand {
  font-size: 1.2rem;
  margin: 0 0 4px;
  color: #003366;
}

.brand-header {
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    cursor: default;
    pointer-events: none; /* Deaktiviert Hover und andere Mausinteraktionen */
    height: 18px;
}

.car-model {
  font-size: 1rem;
  line-height: 1.2;
  margin: 0 0 12px;
  color: #0055A0;
  white-space: nowrap;
  overflow: hidden;
}

.car-info {
  display: flex;
  justify-content: space-between;
  margin-bottom: 3px;
}

.car-year, 
.car-kilometers, .car-fuel, .car-gear {
  font-size: 0.9rem;
  color: #555; /* Verbesserter Kontrast */
}

.car-price {
  font-size: 1.3rem;
  font-weight: bold;
  color: #0055A0;
  margin: 5px 0 12px;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.line-1 {
	font-weight: bold;
    width: 15em;
	margin-top: 16px;
    border-right: 2px solid #000;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    transform: translateY(-50%);  
	display: inline-flex
}

.typewriter {
	width: 100%;
	margin-top: 1.5em;
	margin-bottom: 2.5em;
}

.anim-typewriter {
  animation: typewriter 4s steps(44) 1s 1 both,
             blinkTextCursor 650ms steps(44) infinite normal;
}

@keyframes cssAnimation {	
    0% {opacity: 1;}
	75% {opacity: 1}
	100% {opacity: 0;}
}

@keyframes typewriter {
  from{width: 0;}
  to{width: 15em;}
}

@keyframes blinkTextCursor {
  from{border-right-color: #000;}
  to{border-right-color: transparent;}
}


html {
	font-family: Arial, sans-serif;
	scroll-behavior: smooth;
	font-size: 14pt;
    background-color: #003366;
}

body {
	margin:0;
	line-height: 1.0;
    background-color: #FFF;
}

img {
	display: block;
	border: 0;
	max-width: 100%;
}

/*Ausgewählter Text erscheint grau mit orangem Hintergrund */
::-moz-selection { color: #333; background-color: #ffaa5f}
::selection { color: #333; background-color: #ffaa5f}



h1 {
	line-height: 1.1;
	font-size: 2.6em;
	margin-top: 1.5em;
	color: #003366;
	letter-spacing: -0.01em;
	width: 100%;
}

h2 {
	line-height: 1.5;
	font-size: 1.9em;
	color: #003366;
	padding-bottom: 0;
	padding-top: 0;
	margin-bottom: 1em;
	margin-top: 2em;
	letter-spacing: -0.01em;
	font-weight: normal;
}

p, span {
	line-height: 1.5;
	margin: 0;
	padding: 0;
}


.briefkopf {
	display: none;
}

a {
	color: #0055A0;
	text-decoration: none;
	cursor: pointer;
	white-space: normal
}

a:hover{
	color: #d31126
}

p {
	width: 100%;
}

#main-header {
    box-sizing: border-box;
    padding-left: 50px;
    padding-right: 50px;
    position: fixed;
    top:0;
    right:0;
    left:0;
    z-index: 2000;
	background-color: transparent;
	color: #FFF;	
	transition: color 0.3s ease, transform .15s .1s ease-in-out;
}

#main-header.nav-visible {
    background-color: #FFF;
}

#main-header a {
	color: #FFF;
	display: block;
}

#main-header.scrolled {
  background-color: white;
  color: black;
  border-bottom: 1px solid #DDD;
}

#main-header.scrolled a{
  color: black;
}

.down #main-header {
	transform: translate3d(0, -100px, 0);
}
	
.headercenter {
    width: 100%;
    height: 100px;
	display: flex;
	flex-wrap: nowrap;
	justify-content: flex-start;
	align-items: center;
    max-width: 1500px;
    margin-left: auto;
    margin-right: auto;
	font-weight: bold;
}

.headernavigation {
	flex-grow: 1;
}

.headernavigation ul {
	list-style: none;
	display: flex;
	flex-wrap: nowrap;
	justify-content: flex-end;
	margin-right: 28px;
}

.headernavigation li {
	margin-left: 15px;
	margin-right: 15px;
}

.headernavigation a {
	margin-top: 29px;
	margin-bottom: 23px;
	padding-bottom: 4px;
    white-space: nowrap;
	border-bottom: 2px solid #d31126;

}

.headernavigation a:hover {
	border-bottom: 2px solid #003366;
}


.headernavigation a:valid {
	color: green;
}

.garagereichlinlogo {
	width: 220px;
	box-sizing: border-box;
	margin-left: 0;
	margin-bottom: 10px;
	margin-top: 10px;
}

.garagereichlinlogo a img {
       height: 100%;
}


.footernavicontainer {
	display: flex;
	justify-content: flex-start;
}

.footernavicontainer div {
	flex-grow: 0;
	line-height: 1.4;
	margin-right: 4em;
}

.footernavicontainer div:last-of-type {
	flex-grow: 1;
}

.footernavistandort {
	padding-bottom: 80px;
}


.footernavi {
	background-color: #0055A0;
	padding-top: 80px;
	padding-left: 50px;
	padding-right: 50px;
	margin-top: 30px;	
	color: #FFF;
}

.footernavi a {
	color: #FFF;
    text-decoration: underline;
}

.footernavi a:hover {
	color: #C1C1C1;
}

.footertelefon {
	padding-top: 30px;
	padding-bottom: 10px;
}

.footercopyright {
	padding-top: 35px;
	padding-left: 50px;
	padding-right: 50px;
	color: #FFF;
	background: linear-gradient(to bottom, #0055A0, #003366);
}

.footercopyrighcontainer {
    justify-content: flex-start;
    max-width: 1500px;
    margin: auto;
}

.footercopyright a {
	color: #FFF
}

.footercopyright a:hover {
	color: #C1C1C1
}

.impressum {
    padding-bottom: 30px;
}

#navigationswrapper  {
    position: absolute;
    overflow: scroll;
	color: #000;
    height: 100vh;
    top: 100px;
    width: 100vw;
	left: 0;
    display: none;
	z-index: 1050;
	background: #FFF;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 10vh;
	justify-content: center;
} 

.navigationmarkenlogowrapper {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;    
}

.navigationmarkenlogo {
    width: 70px;
    height: auto;
    padding-bottom: 10px !important;
    padding-top: 12px !important;
    align-items: center;
}

.navigationmarkenlogo span {
    padding-left: 30px;
}

.navigationswrappercenter {	
	background-color: #FFF;
    display: flex;
    flex-wrap: nowrap;
    flex-direction: column;
    height: fit-content;
    padding-bottom: 2em;
    flex-grow: 0;
}

#navigationswrapper label {
	font-size: 1.7rem;
}

#navigationswrapper div a {
	color: #000;
    font-size: 1.2em;
    line-height: 1.4;
}

#navigationswrapper input([type="radio"]) {
	border: 0;
	display: none
}

.navigationswrapperclickanywhere {
	cursor: default;
	position: fixed;
	z-index: -1;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0
}

.navititel {
	display: block;
	padding-top: 25px;
	padding-bottom: 10px;
	cursor: pointer;
	font-weight: 600;
	background-color: #FFF;
}

.navititel:hover {
	color: #0055A0;
}

.inputnavifahrzeuge, .inputnaviwerkstatt, .inputnavistandorte, .inputnavinews , .inputnaviueberuns, .inputnavivermietung {
	display: inline-block;
	visibility: hidden;
	display: none;
}

.filter-item {
    margin-bottom: 16px;
    border: 1px solid #003366;
    overflow: hidden;
    width: 100%;
	border-radius: 5px;
}

.filter-title {
    display: block;
    padding: 10px 15px;
    background-color: #003366;
    cursor: pointer;
    position: relative;
	color: #FFF;
}

.filter-title::after {
    content: '\23F7'; /* Pfeil nach unten */
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s;
}

.firstmainmargin {
    margin-top: 100px;
}

.filter-checkbox {
    display: none; /* Verstecke die Checkbox */
}

/* Standardmäßig ist der Inhalt versteckt */
.filter-content {
    display: none;
    padding: 10px 0px;
}

.filter-content-modell {
    display: grid;
    padding: 10px 0px;
}

.filter-content span, .filter-content-modell span {
	color: #000;
    cursor: pointer;
    -webkit-user-select: None;
	box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    padding-left: 10px;
}

.filter-content span:hover, .filter-content-modell span:hover {
	background-color: #edf2f8;
}

/* Zeige den Inhalt, wenn die Checkbox aktiviert ist */
.filter-checkbox:checked ~ .filter-content {
    display: grid;
	overflow-y: scroll;
	overflow-x: hidden;
    position: absolute;
    z-index: 999;
    background-color: white;
    width: 100%;
    left: 0;
    border-left: 1px solid #003366;
    border-right: 1px solid #003366;
    border-bottom: 1px solid #003366;
    max-height: calc(99vh - 300px);
}

.filter-content-marke {
}

.filter-content-preis {
	max-height: 10vh;
}

.filter-checkbox:checked ~ .filter-content-modell {
    display: none;
}

.filterbuttonscontainer {
    margin: 0 auto;
    width: 100%;
    text-align: center;
}

.fahrzeuglistefilterschliessen {
    display: none;
}

.filtersvg {
    display: none;
}

/* Drehe den Pfeil nach oben, wenn der Inhalt angezeigt wird */
.filter-checkbox:checked + .filter-title::after {
    transform: translateY(-50%) rotate(180deg);
}

.filternavifahrzeugliste a {
	color: #000
}

.mobilemenubutton {
	align-items: flex-end;
	width: 30px;
	height: 40px;
}

.mobilemenubutton a {
	color: #000;
}

.mobilemenubutton a:hover {
	color: #d31126 !important;
}

.mobilemenubutton a i {
	padding-bottom: 4px;
	font-size: 21px;
}

.mobilenavihomelink {
	color: #000;
	padding-bottom: 12px;
	padding-top: 12px;
	display: flex;
	font-weight: 600;
	width: 100%;
	padding-left: 35px;
	background-color: #FFF;
}

#filternavifahrzeuge_expand, #filternaviwerkstatt_expand, #filternavistandorte_expand, #filternavinews_expand, #filternaviueberuns_expand, #filternavivermietung_expand {
	height: 0px;
	overflow: hidden;
}

#filternavifahrzeuge_expand a, #filternaviwerkstatt_expand a, #filternavistandorte_expand a, #filternavinews_expand a, #filternaviueberuns_expand a, #filternavivermietung_expand a {
	display: flex;
	padding-top: 5px;
	padding-bottom: 5px;
	cursor: pointer;
	background-color: #FFF;
}

#filternavifahrzeuge_expand a:hover, #filternaviwerkstatt_expand a:hover, #filternavistandorte_expand a:hover, #filternavinews_expand a:hover, #filternaviueberuns_expand a:hover, #filternavivermietung_expand a:hover {
	color: #0055A0;
}


#togglenavifahrzeuge:checked ~ #filternavifahrzeuge_expand {height: auto;}

.filternavifahrzeuge:after {
	content: '\f107';
	font-family: FontAwesome;
	display: inline-block;
	width: 20px;
	padding-left: 7px
}

#togglenavifahrzeuge:checked ~ .filternavifahrzeuge:after {
	content: '\f106';
	font-family: FontAwesome;
	display: inline-block;
	width: 20px;
}
	
#togglenavifahrzeuge:checked ~ #filternavifahrzeugliste_expand {
	height: auto;
}

.filternavifahrzeuge:after {
	content: '\f107';
	font-family: FontAwesome;
	display: inline-block;
	width: 20px;
	padding-left: 7px;
}

#togglenavifahrzeuge:checked ~ .filternavifahrzeugliste:before {
	content: '\f106';
	font-family: FontAwesome;
	display: inline-block;
	width: 20px;
}
	
#togglenavistandorte:checked ~ #filternavistandorte_expand {
	height: 100%;
}

.filternavistandorte:after {
	content: '\f107';
	font-family: FontAwesome;
	display: inline-block;
	width: 20px;
	padding-left: 7px;
}

#togglenavistandorte:checked ~ .filternavistandorte:after {
	content: '\f106';
	font-family: FontAwesome;
	display: inline-block;
	width: 20px;
}
	
#togglenaviwerkstatt:checked ~ #filternaviwerkstatt_expand {
	height: auto;
}

.filternaviwerkstatt:after {
	content: '\f107';
	font-family: FontAwesome;
	display: inline-block;
	width: 20px;
	padding-left: 7px;
}

#togglenaviwerkstatt:checked ~ .filternaviwerkstatt:after {
	content: '\f106';
	font-family: FontAwesome;
	display: inline-block;
	width: 20px
}

#togglenavinews:checked ~ #filternavinews_expand {
	height: auto;
}

#togglenavinews:checked ~ .filternavinews {
	border-bottom: 0;
}

.filternavinews:after {
	content: '\f107';
	font-family: FontAwesome;
	display: inline-block;
	width: 20px;
	padding-left: 7px;
}

#togglenavinews:checked ~ .filternavinews:after {
	content: '\f106';
	font-family: FontAwesome;
	display: inline-block;
	width: 20px;
}


#togglenaviueberuns:checked ~ #filternaviueberuns_expand {
	height: auto;
}

#togglenaviueberuns:checked ~ .filternaviueberuns {
	border-bottom: 0;
}

.filternaviueberuns:after {
	content: '\f107';
	font-family: FontAwesome;
	display: inline-block;
	width: 20px;
	padding-left: 7px;
}

#togglenaviueberuns:checked ~ .filternaviueberuns:after {
	content: '\f106';
	font-family: FontAwesome;
	display: inline-block;
	width: 20px;
}

#togglenavivermietung:checked ~ #filternavivermietung_expand {
	height: auto;
}

#togglenavivermietung:checked ~ .filternaviueberuns {
	border-bottom: 0;
}

.filternavivermietung:after {
	content: '\f107';
	font-family: FontAwesome;
	display: inline-block;
	width: 20px;
	padding-left: 7px;
}

#togglenavivermietung:checked ~ .filternavivermietung:after {
	content: '\f106';
	font-family: FontAwesome;
	display: inline-block;
	width: 20px;
}

.inputnavisubwrapper {
	display: flex;
	flex-wrap: wrap;
	flex-direction: column;
	margin-top: 2em;
	font-size: 0.85rem;
    height: 300px;
}

.inputnavisub {
	font-family: Arial, sans-serif;
	font-weight: 800;
	margin-bottom: 3px;
	margin-top: 3px;
}

.inputnavisubwrapper a:hover {
	color: #0055A0 !important;
}

#ButFilter {
	margin-top: 5px !important;
    margin-bottom: 5px !important;
    margin-right: 5px !important;
}

.main {
	box-sizing: border-box; 
	padding-left: 50px; 
	padding-right: 50px;
	padding-bottom: 2em;
}

.addmarginbottom {
    margin-bottom: 2em !important;
}

.jumbo {
 	width: 100%;
	padding: 0;
	margin: 0;
	height: 75vh;
	display: flex;
	align-items: center;
	justify-content: center;
	background-size: cover;
	background-position: center;
	position: relative;
	margin-bottom: 1em;
	text-align: center;
}

.jumbo::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 37, 73, 0.25);
	z-index: 1;
}

.jumbo-content {
	position: relative;
	z-index: 2;
	margin-bottom: 6em
}

.jumbo h1 {
	color: #FFF;
	font-weight: bold;
}

.carousel-container {
	position: relative;
}

.carousel-container h1 {
	position: absolute;
	bottom: 20px;
	left: 0;
	right: 0;
	text-align: center;
	color: #FFF;
	z-index: 10;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.carousel-wrapper {
	position: relative;
	height: 400px;
	overflow: hidden;
	margin-bottom: 2em;
}

.carousel-wrapper-startseite {
    height: 64vh
}

.carousel-content {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.content-container {
	display: flex;
	width: 400%; /* 4 Elemente je 100% */
	height: 100%;
	transition: transform 0.5s ease;
}

.content-container img,
.content-container video {
	width: 25%; /* 25% der Breite */
	height: 100%;
	object-fit: cover;
}

.content-container::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 100px, rgba(0, 0, 0, 0) 100%);
	z-index: 1;
	pointer-events: none;
}

.progress-container {
	position: relative;
	bottom: 35px;
	left: auto;
	width: 60%;
	height: 12px;
	display: flex;
	right: auto;
	margin-left: auto;
	margin-right: auto;
}

.progress-bar {
	width: 25%;
	height: 100%;
	background: rgba(255, 255, 255, 0.15);
	transition: background-color 0.2s ease;
	cursor: pointer;
    margin-right: 1px;
    margin-left: 1px;
}

.progress-bar:first-of-type {
    border-bottom-left-radius: 6px;
    border-top-left-radius: 6px;
}

.progress-bar:last-of-type {
    border-bottom-right-radius: 6px;
    border-top-right-radius: 6px;
}

.progress-bar-fill {
	height: 100%;
	width: 0;
    background: linear-gradient(to left, #2563eb 0%, #1e3a8a 100%) !important;
	transition: width 0.3s ease-out;
	border-radius: 7px;
}

.container {
	max-width: 1500px; 
	position: relative; 
	margin: 0 auto; 
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
}

.element12 {
	display: flex;
	flex-wrap: wrap;
	align-content: flex-start;
	box-sizing: border-box;	
}

.element12small {
	display: flex;
	flex-wrap: wrap;
	align-content: space-around;
	width: 25%;
	padding-left: 2.5em;
	box-sizing: border-box;	
	padding-bottom: 1em;
}

.element12smallleft {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	width: 33%;
	box-sizing: border-box;	
	margin-right: 2.5em;
}

.element13, .teammember {
	display: flex;
	flex-wrap: wrap;
	align-content: flex-start;
	width: calc(93% / 3);
	margin-bottom: 2em;	
}

.probefahrt {
    align-items: flex-start;
    width: 40%;
    margin-bottom: 2em;
}

.teamliste {
	justify-content: flex-start !important
}

.element13 {
	border-radius: 8px;
	overflow: hidden;
	background-color: #003366;
	padding-bottom: 1.5em;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.element13:hover  {
	background-color: #0055A0;
}

.element13:hover > .fahrzeuglistepreis {
	border-top: 1px solid #FFF;
}

.element13:hover > .element13pic img {
	transform: scale(1.03);
	transition: 0.3s;
}

.element13:hover {
	box-shadow: rgba(100, 100, 111, 0.4) 0px 7px 29px 0px;
}

.element13pic {
	overflow: hidden;
}

.element13pic img {
	width: 100%;
	height: auto;
}

.element13text {
	color: #FFF;
	line-height: 1.5;
	display: flex;
	width: 100%;
	flex-wrap: wrap;
	justify-content: center;
}

.element13text a {
	color: #FFF;
}

.element13text h2 {
	margin-top: 1.5em;
	margin-bottom: 1.5em;
	color: #FFF;
	width: 100%;
	text-align: center;
}

.element13text .tagoben {
	padding-top: 1.5em;
	color: #FFF;
	font-size: 0.85em;
}

.element13text .fahrzeugtag {
	color: #FFF;
	background: linear-gradient(to top, #0055A0, #003366);
	padding-left: 15px;
	padding-right: 15px;
	font-size: 0.8em;
	display: flex;
	flex-grow: 0;
	position: relative;
	height: 26px;
	top: -26px;
	box-sizing: border-box;
	align-items: center;
}

.element13text .fahrzeugtag:empty {
	display: none
}

.fahrzeuglisteletztelink::after {
    content: "";
    width: calc(93% / 3)
}

.fahrzeuglistetext {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	padding-top: 0; 
	padding-right: 1.4em;
	padding-bottom: 1em;
	padding-left: 1.4em;
}

.fahrzeuglistetext h2 {
	text-align: left;
	margin-top: 0em;
	margin-bottom: 0.5em;
	height: 35px;
	padding: 0;
	overflow: hidden;
}

.fahrzeuglistemodell {
	color: #edf2f8;
	display: flex;
	flex-wrap: wrap;
	flex-direction: row;
}

.fahrzeuglistemarke {
	display: flex;
	flex-grow: 1;
	margin-top: 1em;
}

.fahrzeuglisteinv {
	width: 35%;
}

.fahrzeuglistekm {
}

.fahrzeuglistepreis {
	display: flex;
	justify-content: center;
	color: #FFF;
	width: 100%;
	border-top: 1px solid #0055A0;
	margin-bottom: 0.4em;
}

.fahrzeuglistepreis h2 {
	color: #FFF;
	margin-top: 0.7em;
	width: auto!important
}

.fahrzeuglistepic {
}

.fahrzeuglistepic img {
	width: 100%;
}

.hellblauerhintergrund, .hellblauerhintergrundtitel  {
	background-color: #edf2f8;
}

.textlink {
    color: #0055A0
}

.textlink:hover {
	text-decoration: underline;
	text-decoration-color: #d31126;
	text-decoration-thickness: 2px;
	text-underline-offset: 5px;	
    color: #000;
}

.markenlogo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 45px;
    width: 100%;
    padding-bottom: 3em;
    margin-top: 2em;
}

.markenlogo-element {
	display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.markenlogo-mitbutton {
     display: flex;
    justify-content: center;
    align-items: center;
    height: 120px;
}


.markenlogo:hover > img {
  filter: invert(0.3);                                  
}

.kialogo {
	width: 185px;
}

.opellogo {
	width: 125px;
}

.lexuslogo {
	width: 155px;
}

.toyotalogo {
	width: 150px;
}

.grossestitelbild {
	width: 100%;
}

.titelbild {
	width: 50%;
	box-sizing: border-box;
	align-content: center;
}

.titelbildtext {
	width: 50%;
	padding-right: 3em;
	box-sizing: border-box;
    margin-bottom: 2em !important;
}

.quicklinkboxwrapper {
	width: 100%;
	justify-content: center;
	margin-top: 6em;
}

.quicklinkbox {
	border: 3px solid #0055A0;
	width: 46%;
	box-sizing: border-box;
	padding-top: 15px;
	padding-left: 30px;
	padding-right: 25px;
	padding-bottom: 0px;
	display: flex;
	flex-wrap: wrap;
	align-content: flex-start;
	height: fit-content;
}

.textleft {
	width: 45%;
	justify-content: left;
	text-align: justify;
	line-height: 1.5;
    box-sizing: border-box;
}

.centertext {
	width: 45%;
    margin-left: auto;
    margin-right: auto;
	justify-content: center;
	text-align: justify;
	line-height: 1.5;
    box-sizing: border-box;
}

.centertext h2, .centertext h3 {
	text-align: left;
	width: 100%;
}

.video {
	margin-top: 2.5em;
	margin-bottom: 2.5em;
}

.quicklinkbox a {
	width: 100%;
	margin-top: 5px;
	margin-bottom: 25px;
}

.quicklinkbox a:hover {
	color: #0055A0;
}

.nohover a:hover {
    cursor: default;
}

.quicklinkmodellpalette:before {
	content: '\f518';
	font-family: FontAwesome;
	display: inline-block;
	width: 22px;
	font-size: 0.85em;
	vertical-align: 1px	
}

.quicklinkonfigurator:before {
	content: '\f1de';
	font-family: FontAwesome;
	display: inline-block;
	width: 22px;
	font-size: 0.85em;
	vertical-align: 1px	
}

.quicklinkprospekt:before {
	content: '\f1c1';
	font-family: FontAwesome;
	display: inline-block;
	width: 22px;
	font-size: 0.85em;
	vertical-align: 2px	
}

.quicklinkprobefahrt:before {
	content: '\f1b9';
	font-family: FontAwesome;
	display: inline-block;
	width: 22px;
	font-size: 0.85em;
	vertical-align: 1px	
}

.quicklinkcheck:before {
	content: '\f00c';
	font-family: FontAwesome;
	display: inline-block;
	width: 22px;
	font-size: 0.85em;
}

.quicklinkcheck {
    display: flex;
    margin-top: 5px;
}

.quicklinkboxtitel {
	position: relative;
    top: -24px;
    left: 0px;
	margin-left: -5px;
    text-align: left;
    background-color: #FFFFFF;
    font-weight: bold;
    color: #0055A0;
    padding-left: 15px;
    padding-right: 15px;
}

.titelleistefahrzeugsuche {
	justify-content: space-between;
    align-content: flex-start;
    display: flex;
    flex-wrap: nowrap;
    margin-bottom: 1.5em;
	width: 100%;
}

.anzahlfahrzeuge {
	margin-top: -5px;
	margin-bottom: 0;
}

.fahrzeuglistewrapper {
    display: flex;
    max-width: 1500px;
    margin-top: 100px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 3em;
    padding-left: 10px;
	padding-right: 10px;
    padding-top: 20px;
    flex-wrap: wrap;
}

.fahrzeuglistefilterwrapper {
    display: flex;
	width: 250px; /* Gleiche Breite wie eine Fahrzeugkarte */
    max-width: 392px;
    position: sticky;
    top: 20px;
    height: 100%;
	margin-right: 20px;
    flex-wrap: wrap;
	flex-grow: 1;
}

.filter-container {
    display: flex;
    flex-wrap: wrap;
}
 
.scrolled {
    top: 120px;
}

.FilterSelectedPos {
	background-color: #c2cbd8;
}

.FilterSelectedPos:hover {
	background-color: #edf2f8 !important;
}

.FilterSelectedPos:hover:after {
	content: "X";
    padding-right: 5px;
}

.linkfilterreset {
    width: 100%;
    margin: 0 auto;
	color: #0055A0;
	padding-right: 15px;
    padding-top: 0.75em;
	margin-bottom: 3em;
	font-size: 1em;
    text-align: center;
}

.linkfilterreset:after {
	content: '\f122';
	font-family: FontAwesome;
	display: inline-block;
	width: 19px;
	font-size: 0.85em;
    margin-left: 6px;
}

select {
  	-moz-appearance: none;
  	-webkit-appearance: none;
	appearance: none;
	cursor: pointer;
	height: 42px;
	background-color: #FFF;
	box-sizing: border-box;
	padding: 4px 0px 4px 10px;
	font-size: 1em;
	line-height: 1.7em;
	vertical-align: middle;
	border: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); /* Pfeil */
    background-position: 100% center; /*Positioning*/
    background-repeat: no-repeat; /*Prevent showing multiple background images*/
	background-size: 16px;
	align-self: flex-end;
	align-items: center;
	flex-grow: 0;
    color: black;
}

select:active, select:focus, select:focus-visible {
    outline: none;
}

select::-ms-expand {
	display: none;
}

.fahrzeugsortierung {
   
}

#CarListLoader  {
	height: 35vh;
	width: 100vw;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	margin-bottom: 15vh;
}

.loadwrapper {
	position: fixed;
	height: 100%;
	width: 100%;
	top: 0;
	right: 0;
	background-color: rgba(255,255,255,0.76);
	z-index: 999;
	height: 100%;
	overflow: hidden;

}

.loadwrapperinhalt {
	position: absolute;
	left: auto;
	right: auto;
	top: 20%;
	font-size: 3em;
	color: black;
}

.loadwrapperbackground {
	color: #000000
}

/** ANIMATION AUTO im LOADER **/
.car__body {
	animation: shake 0.2s ease-in-out infinite alternate;
    stroke: #000000;
}
.car__wheel--left, .car__wheel--right {
	stroke: #000000;
    fill: #0055A000;
}
.car__line {
	stroke: #000000;
  	transform-origin: center right;
  	stroke-dasharray: 22;
  	animation: line 0.8s ease-in-out infinite;
  	animation-fill-mode: both;
}
.car__line--top {
  	animation-delay: 0s;
}
.car__line--middle {
	animation-delay: 0.2s;
}
.car__line--bottom {
  	animation-delay: 0.4s;
}

/*** FAHRZEUGDETAIL ***/
.fzdetailbildundtitel {
	margin-bottom: 4em;
}

.fzdetailbildgross {
    display: block;
    width: 55%;
    margin-bottom: 2.5em;
}

.fahrzeugbildweitere {
    display: block;
    width: 100%;
    margin-top: 2.5em;
    margin-left: auto;
    margin-right: auto;
}

.fahrzeugbildweitere li {
    list-style: none;
    padding-bottom: 0.5em;
	width: 80%;
	margin-left: auto;
	margin-right: auto;
}


.fzdetailtiteldatawrapper {	
	display: flex;
	align-content: space-between;
	flex-wrap: wrap;
}

.fzdetailtitel {
    display: flex;
	width: 35%;
	flex-wrap: nowrap;
	flex-direction: column;
	flex-grow: 1;
    padding-left: 25px;
    box-sizing: border-box
}

.tagwrapper {
	display: flex;
	width: 100%;
	justify-content: flex-end;
}

.fzdetailhead {
	width: 30%;
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
    align-content: flex-start;
    flex-grow: 1;
}

.fzdetailtag {	
	flex-grow: 1;
    padding-top: 5px;
}

.fzdetailtag:empty {
	display: none
}

.fzdetailtag span {
	background-color: #0055A0;
    color: #FFF;
    font-size: 1em;
    width: max-content;
	padding-top: 8px;
	padding-bottom: 7px;
	padding-left: 16px;
	padding-right: 16px;
	box-sizing: border-box;
}

.fzdetailtag span:empty {
	display: none;
}

.fahrzeugmarke h1 {
	margin-top: 0em;
	margin-bottom: 0em;
    font-size: 2em;
    font-weight: normal;
}

.fahrzeugmodell h1 {
	margin-top: 0em;
	margin-bottom: 0em;
    text-transform: none !important;
    line-height: 1.3;
    font-size: 2em;
}

.buttonprint {
	position: absolute;
	top: 10px;
	right: 0;
}

.buttonprint:before {
  content: "\f02f";
  font-family: FontAwesome;
  color: #0055A0;
  padding-right: 7px;
  font-size: 14px;
  display: inline-block;
}

.fzdetailpreis {
    flex-grow: 0;
	margin-bottom: 0;
	padding-bottom: 0;
}

.fzdetailpreis h1 {
	color: #000000;
	margin-top: 0.5em;
	margin-bottom: 0;
    text-transform: none !important;
    font-size: 2em;
}

.fzdetailuntertitel {
	margin-top: 0.5em;
    line-height: 1.2;
}

.fzdetailuntertitel:empty {
	display: none;
}

.fzdetaildaten {
	width: 100%;
}

.fzdetaildatenwrapper {
  display: grid;
  grid-template-columns: 45.6% 54.4%;
  margin-top: -0.5em;
  width: 100%;
}

.fzdetaildatenwrapper ul {
  display: flex;
  margin-bottom: 0;
  padding: 0.25rem;
  border-bottom: 1px solid #e5e7eb;
}

.fzdetaildatenlabel {
    width: 30%;
    color: #4b5563;	
}

.fzdetaildatenwert {
	flex-grow: 2;
	width: 65%;	
}

.fzdetailbemerkung {
	width: 80%;
	flex-direction: row; 
	display: flex;
	flex-wrap: nowrap; 
	align-content: flex-start;
	justify-content: flex-start;
}

.fzdetailsonderausstattung {
	width: 100%;
	flex-direction: column; 
	display: flex;
	flex-wrap: nowrap; 
	align-content: flex-start;
	justify-content: flex-start;
}

.fzdetailsonderausstattung ul  {
	display: flex; 
	width: 100%; 
	list-style: none; 
	flex-wrap: wrap;
	margin: 0;
	box-sizing: border-box;
	line-height: 1.5;
	padding: 0; 
	padding-bottom: 7px;
	display: inline-block;	
	width: 100%;
}

.fzdetailsonderausstattung ul:before {
	content: "\f00c"; 
	font-family: FontAwesome;
	color: #5f6368; 
	padding-right: 7px;
	font-size: 15px; 
}

.fzdetailsonderausstattung ul li {
	padding-top: 4px; 
	margin-left: 23px; 
	line-height: 1.5
}

.fzdetailsonderausstattung ul li:before {
	content: "–";
	color: #5f6368; 
	padding-right: 7px;
	font-size: 14px;
}

.fzdetailsonderausstattung p {
	color: #5f6368;
	padding-top: 10px;
}

.fzdetailserienausstattung {
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	flex-direction: column-reverse
}

.fzdetailserienausstattungwrapper {
	width: 91.2%;
	display: table-column;
	column-count: 2;
	height: 10.5em;
	overflow: hidden;
	column-gap: 0;	
}

.fzdetailserienausstattung ul {
	list-style: none;	 
	flex-wrap: wrap;
	margin: 0;
	box-sizing: border-box;
	line-height: 1.5;
	padding: 0;
	padding-bottom: 9px;	
	display: inline-block;	
	width: 100%;

}

.fzdetailserienausstattung ul:before {
	content: '\f061';
	font-family: FontAwesome;
	padding-right: 7px;
	font-size: 14px;
	color: #5f6368;
	padding-top: 2px;
}

.fzdetailserienausstattung ul li {
	display: flex;
	width: 100%; margin: 0;
	padding-left: 20px;
	padding-bottom: 2px;
	box-sizing: border-box;
	flex-grow: 1;
	line-height: 1.5
}


.fzdetailserienausstattung ul li:before {
	content: '–';
	padding-right: 7px;
	font-size: 14px;
	color: #5f6368
}

.fzdetailserienausstattung p {
	color: #5f6368;
	padding-top: 10px;
	margin-top: 1em;
}

.fzdetailservicewrapper {
	display: grid;
    grid-template-columns: repeat(2, 1fr);
	width: 100%; 
	box-sizing: border-box; 
    gap: 50px;
}

.fzdetailservicewrapper div {
	line-height: 1.5;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    background-color: #FFF;
    padding: 30px;
}

.fzdetailservicewrapper div span:before {
	content: "\f00c";
	font-family: FontAwesome;
	color: #0055A0; 
	padding-right: 7px; 
	font-size: 14px;
	padding-bottom: 7px; 
	display: inline-block
}

.fzdetailansprechpartner {
	flex-direction: row;
	display: flex; 
	flex-wrap: nowrap; 
	align-content: flex-start; 
	justify-content: flex-start;
	width: 100%;
}

.fzdetailansprechpartnerwrapper {
	flex-wrap: nowrap;
	display: flex; 
	width: 35%;
	box-sizing: border-box;
}

.fzdetailansprechparterndetail {
	display: flex;
	align-items: flex-end;
	font-size: 1em;
	width: 100%;
}

.fzdetailansprechparternname {
	display: flex;
	flex-wrap: wrap;
	align-content: flex-end;
	justify-content: flex-start;
	width: 55%;
	box-sizing: border-box;
}

.fzdetailansprechparternname h3 {
	margin-top: 1.5em;
	margin-bottom: 0.3em;
	width: 100%;
}

.fzdetailansprechpartnerwrapper img {
	display: inline-block;
	display: flex;
	margin-right: 20px;
	overflow: hidden;
}
.funktion {
	line-height: 1.5;
	margin-bottom: 1em;
	color: #5f6368;
	width: 100%;
}

.telefon {
	font-size: 1em;
	margin-bottom: 0.5em;
	color: #5f6368;
	width: 100%;
}

.telefon:before {
	content: '\f87b';
	font-family: FontAwesome;
	display: inline-block;
	width: 23px;
	color: #8d8d8d;
}

.teammemberdetail {
	width: 100%;
}

.teamkontakt {
}

.teamkontakt a:first-child:before {
	content: '\f199';
	font-family: FontAwesome;
	display: inline-block;
	width: 23px;
	color: #8d8d8d;
}

.teamkontakt a {
	margin-right: 10px;
	font-size: 1em
}

#ButToCarQue {
	margin-top: 4em;
    margin-bottom: 2em;
}

.mehrAnzeigen {
	color: #0055A0;
	margin-top: 1em
}

.mehrAnzeigen:before {
	content: '\f063';
	font-family: FontAwesome;
	display: inline-block;
	width: 23px;
}

.mehrAnzeigen:after {
	content: "mehr anzeigen"
}

.mehrAnzeigen:hover {
	text-decoration: underline;
	text-decoration-color: #d31126;
	text-decoration-thickness: 2px;
	text-underline-offset: 5px;	
}

.mehranzeigenbox {
	display: none;
}

.mehranzeigenbox:checked ~ .mehrAnzeigenSerienausstattung {
	height: auto;
}

.mehranzeigenbox:checked ~ label:after {
	content: "weniger anzeigen"
}

.mehranzeigenbox:checked ~ .mehrAnzeigen:before {
	content: '\f062';
}

.neuwagenbestseller {
	display: flex;
	flex-wrap: wrap;
	width: 100%;
	justify-content: flex-start;
}

.neuwagenbestseller a {
	width: calc(100% / 4);
	box-sizing: border-box;
	padding: 25px;
	margin-bottom: 0.5em;
}
   
.newsmain {
    margin-top: 2em !important
    }

.newshauptbild {
    margin: auto;
}

.newsdatum {
    font-size: 1em;
    width: 100%;
    color: #5f6368;
}

.newsartikel h1 {
    width: 100%;
    margin-top: 0.5em;
    margin-bottom: 0;
    text-align: left;
}

.newsartikel h2 {
    width: 100%;
    margin-top: 0;
    margin-bottom: 2em;
}

.newseinleitung {
    font-weight: bold;
    width: 100%;
    margin-bottom: 2em;
    line-height: 1.5;
    border-left: 3px solid #0055A0;
    padding-left: 20px;
    font-size: 1.15em;
}

.newstext {
    width: 100%;
    line-height: 1.5;
    text-align: justify;
    margin-bottom: 0.5em;
}

.newstext:empty {
    display: none;
}

.newstext li {
	text-align: left;
}

.newsbild {
    padding-top: 3em;
    padding-bottom: 3em;
    margin-top: 2.5em;
    margin-bottom: 3em;
    max-width: 100%;
}

.newsbild:empty {
    display: none;
}

.newsbildtag {
    margin-bottom: 3em;
    border-left: 3px solid #0055A0;
    margin-right: 25px;
    padding-left: 10px;
    margin-top: 0.5em;
    max-width: 970px;
}

/*  #Formular ================================================== */

.date-field-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
	margin-bottom: 2em;
}

.checkbox-wrapper {
    display: flex;
    padding-top: 1em;
    justify-content: center;
}

#BoxFormCarQuestSuccess {
    background-color: #edf2f8;
    padding-top: 2em;
    padding-bottom: 3em;
    padding-left: 8em;
    padding-right: 8em;
    box-sizing: border-box;
    display: none;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin-bottom: 3em;
}


#CarListLoader  {
    display: none;
    height: 35vh;
    width: 100vw;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin-bottom: 15vh;
}

element:hover, element:active {
	-webkit-user-select: none;
	-webkit-touch-callout: none
}

.fortschritt {
	display: flex;
	justify-content: center;
	margin-bottom: 40px;
	justify-content:  space-between;
	width: 700px;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
	margin-top: 1.5em;
}

.schritt {
	width: 90px;
	text-align: center;
	background-color: #FFF;
	border: 2px solid #0055A0;
	color: #000;
	padding: 0px 20px 6px 20px;
	font-size: 1em;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}

.schrittaktiv {
	background-color: #0055A0;
	color: #FFF;
}

.schritterledigt {
	background-color: rgba(0,85,160,0.42);
	color: #636363;
}

.nummer {
	font-size: 1.6em;
	font-weight: bold;
	padding-bottom: 5px;
	margin-top: 5px;
	width: 100%;
}

form {
	background-color: #edf2f8;
    padding-bottom: 3em;
    padding-left: 8em;
    padding-right: 8em;
	box-sizing: border-box;
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
    width: 60%;
	margin-left: auto;
	margin-right: auto;
}

form h1 {
    margin-top: 1em;
}

form h2 {
	width: 100%;
	margin-bottom: 0;
}

form p {
    text-align: justify;
}

form label {
	width: 100%;
	padding-bottom: 0px;
	padding-top: 12px;
}

.labelbold {
	font-weight: bold;
	margin-top: 1.5em;
}

form div {
	width: 100%;
}

form textarea {
	width: 100%;
	padding: 8px;
	height: 120px;
	box-sizing: border-box;
	margin-top: 10px;
    border-radius: 3px;
}

input, textarea {
	width: 100%;
	font-family: Arial, sans-serif;
	font-weight: 400;
	font-size: 16px;
    border-radius: 3px;
    border: 1px solid #86868b;
	background-color: #ffffff;
	-webkit-appearance: none;
}

form input[type="text"], form input[type="email"], form input[type="date"] {
	width: 100%;
	padding: 8px;
	margin-top: 10px;
	height: 35px;
	box-sizing: border-box;
	background-color: #ffffff;
	-webkit-appearance: none;
}


form select {
	width: 100%;
	padding-left: 8px;
	padding-top: 2px;
	padding-bottom: 2px;
	margin-top: 10px;
	height: 32px;
	box-sizing: border-box;    
    -moz-appearance: none;
  	-webkit-appearance: none;
	appearance: none;
	cursor: pointer;
	background-color: #FFF;
	color: #000;
	margin-bottom: 10px;
	font-size: 16px;
	line-height: 1.7em;
	text-overflow: ellipsis;
	vertical-align: middle;
    background-image: url("/layout/arrow_down.png");
    background-position: 98% center; /*Positioning*/
    background-repeat: no-repeat; /*Prevent showing multiple background images*/
	background-size: 15px;
	align-self: flex-end;
	align-items: center;
	flex-grow: 0;
    border-radius: 3px;
    border: 1px solid #86868b;
}

form input[type="checkbox"] {
	display: inline-block;
	margin-right: 15px;
	margin-left: 0;
	width: 20px;
	height: 20px;
    margin-top: 12px;
}

.tooltip [data-tip] {
	position:relative; 
	cursor:help; 
}

.tooltip [data-tip]:before {
	content:'';
	display:none; 
	border-top-color:transparent; 
	border-right-color:transparent;
	border-bottom-color:transparent;
	border-left-color:transparent;
	position:absolute;
	top:-7px;
	left:3px;
	z-index:8; 
	font-size:0; 
	line-height:0;
	width:0; 
	height:0; 
}
.tooltip [data-tip]:hover:before, .tooltip [data-tip]:hover:after {
	display:block;
}

.tip-above[data-tip]:after {
	top: -108px;
	left: -101px; 
	height: auto;
	width: 300px;
}

.tip-below[data-tip]:after {
	top: 22px; 
	left: -101px;
	height: auto;
	width: 210px;
}

.tip-below[data-tip]:before {
	border-top-color:transparent;
	border-right-color:transparent;
	border-bottom-color:transparent;
	border-left-color:transparent;
	top:13px;
	left:5px;
}

.icon-question-sign:before {
	content: "\f05a"; 
	font-family: FontAwesome;
	font-style: normal;
	color: #636363
}

.tooltip [data-tip]:after {
	display:none;
	content:attr(data-tip);
	position:absolute;
	top:-35px;
	left:-0px; 
	padding:5px 8px;
	background:#FEF1B6;
	color:#000;
	border-left: 3px solid #E1C542;
	z-index:9; font-size: .9em;
	line-height:18px;
	white-space:normal;
	word-wrap:normal; 
	text-align:center; 
	text-decoration:none;
}

.probefahrtmodell-grid {
	background-color: #edf2f8;
	padding-top: 3em;
	padding-bottom: 6em;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}

.probefahrtmodell-grid a {
	background-color: #FFF;
	padding: 10px;
	margin: 10px;
	box-sizing: border-box;
	color: #000;
	font-weight: bold;
}

.probefahrtmodell-grid a:hover {
	box-shadow: 3px 4px 6px 0 rgba(0,0,0,.2);
	opacity: 0.8;
	color: #1967d2;
	transform: scale(1.05);
	transition: 0.3s;
}

.formelement {
	margin-bottom: 1.2em;
	box-sizing: border-box;
	position: relative;
}

.formelement input[type="radio"] {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	opacity: 0;
	box-sizing: border-box;
	cursor: pointer;
	appearance: none;
	margin: 0;
	padding: 0;
    border-radius: 3px;
    border: 0;
}

.formelementlabel {
	display: flex;
	align-content: center;
	justify-content: center;
	width: 100%;
	text-align: center;
	box-sizing: border-box;
	background-color: #FFF;
	height: 100%;
	width: 100%;
	display: flex;
	cursor: pointer;
	border: 1px solid #d6d6d6;;
	outline: none;
	margin-top: 2px;
	margin-bottom: 2px;
}

.formelementlabel label {
	padding: 8px 0px;
	cursor: pointer;
	line-height: 1.3;
}

input[type="radio"]:hover + .formelementlabel {
    border: 1px solid #333;
}

input[type="radio"]:checked + .formelementlabel {
    border: 3px solid #0055A0;
	margin-top: 0px;
	margin-bottom: 0px;
}

input[type="radio"]:focus + .formelementlabel {
    border: 3px solid #0055A0;
	margin-top: 0px;
	margin-bottom: 0px;
}

.wettbewerbsfrage {
	margin-top: 1.5em;
	margin-bottom: 1.5em;
}

.checkboxnutzungderdaten {
	width: 80%;
	display: flex;
	align-items: flex-start;
	justify-content: flex-start;
	margin-top: 1.5em
}

.checkboxnutzungderdaten label {
	margin-left: 0.5em;
	padding-top: 0;
	font-size: 16px;
}

.teilnahmebedingungen {
	font-size: 16px;
	color: rgba(142,142,142,1.00);
	margin-top: 1.5em;
}

.error {
	color: #d31126;
	padding-top: 5px;
}
	
#StartTime, #InpPhone {
	margin-bottom: 2.5em;
}	

#FbMessage:empty, #FbName:empty, #FbMail:empty, #FbPhone:empty, #FbMsgStep1:empty, #FbMsgStep2:empty, #FbMsgStep3:empty, #FbMsgStep4:empty, #FbMessage_Step1:empty, #FbMessage_Step2:empty,  #FbCarQuestMessage:empty, #FbCarQuestName:empty, #FbCarQuestMail:empty, #FbCarQuestPhone:empty, #FbCarDriveDate:empty, #FbCarDriveTime:empty, #FbCarDriveName:empty, #FbCarDrivePhone:empty, FbCarDriveMail:empty {
	display: none
}

#FbMessage, #FbName, #FbMail, #FbPhone, #FbMsgStep1, #FbMsgStep2, #FbMsgStep3, #FbMsgStep4, #FbMessage_Step1, #FbMessage_Step2, #FbCarQuestMessage, #FbCarQuestName, #FbCarQuestMail, #FbCarQuestPhone, #FbCarDriveDate, #FbCarDriveTime, #FbCarDriveName, #FbCarDrivePhone, FbCarDriveMail {
	background-color: #d31126;
    padding-top: 0.75em;
    padding-bottom: 0.75em;
    color: #FFF;
    padding-left: 0.7em;
	box-sizing: border-box;
	font-size: 0.8em;
}

/* MEILENSTEINE */
.image-grid-meilensteine {
	display: -ms-grid;
	display: grid;
	width: 80%;
	-ms-grid-columns: 3fr 1fr 3fr;
	grid-template-columns: 3fr 0.7fr 3fr;
	margin-bottom: 3em;	
	margin-left: 10%;
	margin-right: 10%;
}

.image-grid-meilensteine-1 {
    -ms-grid-column: 0;
    -ms-grid-column-span: 1;
    -ms-grid-row: 1;
    -ms-grid-row-span: 4;
    grid-column: 1/2;
    grid-row: 1/4;
}

.image-grid-meilensteine-2 {
    -ms-grid-column: 3;
    -ms-grid-column-span: 1;
    -ms-grid-row: 3;
    -ms-grid-row-span: 4;
    grid-column: 3/4;
    grid-row: 2/5;
}

.image-grid-meilensteine-3 {
    -ms-grid-column: 0;
    -ms-grid-column-span: 1;
    -ms-grid-row: 8;
    -ms-grid-row-span: 4;
    grid-column: 1/2;
    grid-row: 5/8;
}

.image-grid-meilensteine-4 {
    -ms-grid-column: 3;
    -ms-grid-column-span: 1;
    -ms-grid-row: 9;
    -ms-grid-row-span: 4;
    grid-column: 3/4;
    grid-row: 6/9;
}

.image-grid-meilensteine-5 {
    -ms-grid-column: 0;
    -ms-grid-column-span: 1;
    -ms-grid-row: 14;
    -ms-grid-row-span: 4;
    grid-column: 1/2;
    grid-row: 9/12;
}

.image-grid-meilensteine-6 {
    -ms-grid-column: 3;
    -ms-grid-column-span: 1;
    -ms-grid-row: 15;
    -ms-grid-row-span: 4;
    grid-column: 3/4;
    grid-row: 10/13;
}

.image-grid-meilensteine-7 {
    -ms-grid-column: 0;
    -ms-grid-column-span: 1;
    -ms-grid-row: 20;
    -ms-grid-row-span: 4;
    grid-column: 1/2;
    grid-row: 13/16;
}

.image-grid-meilensteine-8 {
    -ms-grid-column: 3;
    -ms-grid-column-span: 1;
    -ms-grid-row: 21;
    -ms-grid-row-span: 4;
    grid-column: 3/4;
    grid-row: 14/17;
}

.image-grid-meilensteine-9 {
    -ms-grid-column: 0;
    -ms-grid-column-span: 1;
    -ms-grid-row: 26;
    -ms-grid-row-span: 4;
    grid-column: 1/2;
    grid-row: 17/20;
}

.image-grid-meilensteine-10 {
    -ms-grid-column: 3;
    -ms-grid-column-span: 1;
    -ms-grid-row: 27;
    -ms-grid-row-span: 4;
    grid-column: 3/4;
    grid-row: 18/21;
}

.image-grid-meilensteine-11 {
    -ms-grid-column: 0;
    -ms-grid-column-span: 1;
    -ms-grid-row: 32;
    -ms-grid-row-span: 4;
    grid-column: 1/2;
    grid-row: 21/24;
}

.image-grid-meilensteine-12 {
    -ms-grid-column: 3;
    -ms-grid-column-span: 1;
    -ms-grid-row: 33;
    -ms-grid-row-span: 4;
    grid-column: 3/4;
    grid-row: 22/25;
}

.image-grid-meilensteine-13 {
    -ms-grid-column: 0;
    -ms-grid-column-span: 1;
    -ms-grid-row: 38;
    -ms-grid-row-span: 4;
    grid-column: 1/2;
    grid-row: 25/28;
}

.image-grid-meilensteine-14 {
    -ms-grid-column: 3;
    -ms-grid-column-span: 1;
    -ms-grid-row: 39;
    -ms-grid-row-span: 4;
    grid-column: 3/4;
    grid-row: 26/29;
}

.image-grid-meilensteine-15 {
    -ms-grid-column: 1;
    -ms-grid-column-span: 1;
    -ms-grid-row: 40;
    -ms-grid-row-span: 4;
    grid-column: 1/2;
    grid-row: 29/32;
}

.image-grid-meilensteine-16 {
    -ms-grid-column: 3;
    -ms-grid-column-span: 1;
    -ms-grid-row: 41;
    -ms-grid-row-span: 4;
    grid-column: 3/4;
    grid-row: 30/33;
}

.meilensteinetag {
	font-size: 0.9em;
    margin-top: 10px;
    margin-left: 2em;
    padding-top: 3px;
    padding-bottom: 3px;
    padding-left: 5px;
    border-left: 3px solid #0055A0;
    box-sizing: border-box;
	line-height: 1.5
}

.bildergallerie {
	width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    box-sizing: border-box;
    justify-content: space-between;
    align-items: center;
}

.bildergallerie a {
	width: 22%;
	margin-bottom: 2.5em;
}

.lageplan iframe {
    width: 100%;
    height: 400px;
    margin-top: 2.5em;
    margin-bottom: 2.5em;
 
    
    
    box-sizing: border-box;
}


/* Gallery Layout Fahrzeugdetail*/
.gallery-container {
    display: flex;
    width: 65%;
    position: relative;
    flex-direction: row;
}

/* Main Image */
.main-image {
    flex: 10;
    position: relative;
    aspect-ratio: 4/3;
}

.carousel {
    width: 100%;
    height: 100%;
    position: relative;
    cursor: pointer;
	background-color: #003366;
}

.carousel img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    transition: opacity 0.3s ease;
    display: block !important;

}

.carousel img.active {
    opacity: 1;
}

/* Navigation */
.carousel-nav {
    position: absolute;
    bottom: 5px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px 14px 10px 14px;
    font-size: 24px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    cursor: pointer;
    z-index: 2;
    opacity: 1 !important; /* Force visibility */
}

.carousel-nav:hover {
    background: rgba(0, 0, 0, 0.9);
}

.carousel-nav.prev {
    left: 5px;
}

.carousel-nav.next {
    right: 5px;
}

.main-image:hover .carousel-nav {
    opacity: 1;
}

/* Thumbnails */
.thumbnail-slider {
    flex: 4.2;
    display: flex;
    flex-direction: column;
    padding-left: 10px;
	justify-content: space-between;
}

.large-thumbnail {
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.large-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s ease;
}
    
.large-thumbnail:hover img {
    transform: scale(1.05);
}

.small-thumbnails {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.thumbnail-wrapper {
    aspect-ratio: 1;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.thumbnail-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.thumbnail-wrapper:hover img {
    transform: scale(1.05);
}

/* Overlay */
.thumbnail-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9em;
    transition: background-color 0.3s;
}

.thumbnail-overlay:hover {
    background: rgba(0, 0, 0, 0.8);
}

.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 1);
    z-index: 2500;
}

.lightbox-header {
    position: relative; /* Changed from absolute */
    width: 100%;
    padding: 15px 20px;
    margin-bottom: 10px;
}

.lightbox.active {
    display: flex;
    justify-content: center;
    align-items: center;
}


/* Content wrapper */
.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding-top: 40px; /* Space for title */
}

.lightbox-title {
    color: #fff;
    margin: 0;
    padding: 0;
    font-size: 1.2em;
    font-weight: bold;
    text-align: center;
}

/* Main image container */
.lightbox-main-image {
    max-height: calc(75vh - 50px); /* Adjusted to account for title */
    max-width: 100%;
    object-fit: contain;
	transform: translateZ(0);
    backface-visibility: hidden;
    will-change: transform;
    position: relative;
}

/* Close button */
.lightbox-close {
    position: fixed;
    top: 12px;
    right: 12px;
    color: #000;
    font-size: 40px;
    cursor: pointer;
    background: #FFF;
    border: none;
    z-index: 1002;
    padding: 5px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.5);
}



/* Navigation buttons */
.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    padding: 10px 15px;
    cursor: pointer;
    border: none;
    font-size: 24px;
    transition: background-color 0.3s ease;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lightbox-nav.prev {
    left: 10px;
}

.lightbox-nav.next {
    right: 10px;
}

.lightbox-thumbnails {
    display: flex;
    gap: 10px;
    padding: 10px;
    background: rgba(0, 0, 0, 0.5);
    margin-top: auto;
}

.lightbox-thumbnails img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s ease;
	box-sizing: border-box !important;
}

.lightbox-thumbnails img:hover,
.lightbox-thumbnails img.active {
    opacity: 1;
}

/* Main gallery styles */
.carousel img {
    display: none;
}

.carousel img.active {
    display: block;
}

@keyframes fadeOut {
    to { opacity: 0; }
}

/* Add touch feedback */
@media (hover: none) {
    .lightbox-nav:active,
    .lightbox-close:active {
        background: rgba(255, 255, 255, 0.3);
    }



@keyframes shake {
  0% {
    transform: translateY(-1%);
  }
  100% {
    transform: translateY(3%);
  }
}
@keyframes line {
  0% {
    stroke-dashoffset: 22;
  }
  25% {
    stroke-dashoffset: 22;
  }
  50% {
    stroke-dashoffset: 0;
  }
  51% {
    stroke-dashoffset: 0;
  }
  80% {
    stroke-dashoffset: -22;
  }
  100% {
    stroke-dashoffset: -22;
  }
}