
/* === Allgemeine Grundstruktur === */
:root {
    --color_primary: #4361ee;
    --color_secondary: #3f37c9;
    --color_accent: #4895ef;
    --color_dark: #1b263b;
    --color_light: #f8f9fa;
	--color_wgrey: #eeeeee;
    --color_danger: #ef233c;
    --color_success: #4cc9f0;
}
	
body {															 
	margin: 0;
	font-family: 'Segoe UI', sans-serif;
  	background: var(--color_wgrey);                       
}
.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 1em;
}
/* === Headerbereich (Top + Navigation) === */
header { 
	top: 0;									
	position: sticky; 						
	z-index: 1000;
}
.header-top {
	width: 100%;                            
	height: 65px;                 			
	background: var(--color_wgrey);                       
	display: flex;                          
	align-items: center;                    
	justify-content: center;       			
}
.header-top .container {					
	max-width: 1200px;						
	margin: 0 auto;							
	display: flex;							
	flex: 1;								
	justify-content: space-between;			
	padding: 0 1em;							
	height: 65px;							
}
.header-left {								
	display: flex;
	align-items: center;
	gap: 1em;
}
.header-left img.logo {						
	height: 35px;							
	margin-right: 20px;						
}
.logo-container {							
	flex-shrink: 0;              			
	transition: opacity 0.3s ease;			
}
@media (max-width: 960px) {					
  .logo-container {
    display: none;              			
  }
}
.search-language-login {
	display: flex;              			
	align-items: center;        			
    flex: 2;                    			
	gap: 1em;                   			
	min-width: 0;							
}
.search-area {								
	flex: 1;                    			
	flex-grow: 1;           			    
	flex-shrink: 1; 			            
	flex-basis: 0;       			        
	display: flex;
	align-items: center;
}
.search-area input[type="text"] {			
	width: 100%;							
	padding: 0.4em;							
	border: 1px solid #aaa;					
	border-radius: 4px 0 0 4px;				
}
.search-area button {
	padding: 0.42em 0.75em;
	background: #ccc;
	border: none;
	border-radius: 0 4px 4px 0;
	cursor: pointer;
}
.language-switcher {
	display: flex;
	align-items: center;
	margin-left: 1em;						
	position: relative;						
	z-index: 1001;             				
}
.language-switcher span {
	margin-right: 10px;						
	font-weight: 500;						
}
.language-switcher .dropdown {
	display: inline-block;
}
.language-switcher .dropdown img {			
	width: 32px;
	height: 21px;
	border: 1px solid #ccc;
	cursor: pointer;
	vertical-align: middle;
}
.language-switcher .dropdown-content {
	display: none;
	position: absolute;
	right: 0;
	background-color: #fff;
	border: 1px solid #ccc;
	z-index: 1002;             				
}
.language-switcher .dropdown-content a img {
  display: block;
  width: 32px;
  height: 21px;
  margin: 5px;
}
.language-switcher .dropdown:hover .dropdown-content {
  display: block;
}
.language-switcher,
.login-icon {
  flex: 0 0 auto;              				
  margin-left: 0.2em;
}
.login-icon img {
  height: 22px;
  vertical-align: middle;
  transition: opacity 0.3s;
  }
  
.login-icon:hover img {
    opacity: 0.8;
}

.header-nav {								
	background: #444;						 
	background: url('../images/heather.png') center top; 
	position: sticky; 	
	justify-content: center;				
	display: flex;							
	z-index: 999;
}
.nav {
	display: flex;                          
	justify-content: center;                
	list-style: none;                       
	margin: 0 auto;                         
	padding: 0;                             
}
.header-nav > nav > ul.nav > li + li {
  border-left: 1px solid #333;
}
.nav li:first-child {						
   border-left: none;						
}
/* === Dropdown-Menü === */
.nav li.dropdown {
  position: relative;
}
.nav .dropdown-content {
  list-style: none;
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #eeeeee;
  box-shadow: 0 8px 16px rgba(0,0,0,0.5);
  min-width: 200px;
  z-index: 1000;
  padding-left: 0;
  margin: 0;
}
.nav .dropdown-content li {
  list-style: none;
  padding-left: 0;
  margin: 0;
}
.nav .dropdown-content a {
  display: block;
  padding: 10px 15px;
  color: #333; /* Standardfarbe */
  text-decoration: none;
  background-color: #fff; /* wichtig: initial sichtbar! */
}
.nav .dropdown-content li::before,
.nav .dropdown-content a::before {
  display: none !important;
}

.nav .dropdown-content a:hover {
  background-color: #f0f0f0; /* sanftes Grau beim drüberfahren */
  color: #000;
}
.nav li.dropdown:hover .dropdown-content {
  display: block;
}
/* === Navigationslinks === */
.nav a {									
	display: block;							
	padding: 14px 1.2em;					
	text-decoration: none;					
	color: #fff;							
	font-weight: 600;						
}
.nav a:hover {								
	background: #444;						
}

main.page-content {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
    padding: 20px;
}

/* === Startseitenbild und Textblöcke === */
.image-promo {
	position: relative;
	z-index: 1;
	max-width: 1200px;
	width: 100%; 							
	height: 2200px; 						
	margin: 0 auto;
	aspect-ratio: 16 / 9; 					
}
.image-banner {
	background-image: url('../images/de_background_index.jpg');
	background-size: cover; 
	background-position: center; 
	background-repeat: no-repeat;
	width: 100%;
	height: 100%;							
	position: relative;
}
.textblock-main {
	position: absolute;						
	color: #3a3a3a;							
	font-family: 'Segoe UI', sans-serif;	
	font-size: 1.1em;						
	font-weight: 500;						
	line-height: 1.5;						
	max-width: 500px;						
  	z-index: 2;								
}
.textblock-main h2 {
	font-size: 1.4em;						
	font-weight: bold;						
	margin-bottom: 0.5em;										
}
.textblock-main p,
.textblock-main ul {
  font-size: 1em;							
  margin: 0.5em 0;							
}
.textblock-main ul {
  list-style: disc inside;					
  text-align: left;							
}
/* === Textblock-Positionierung === */
.textblock-top-left { top: 18%; left: 6%; max-width: 520px; } 
.textblock-mid-right { top: 41%; right: 6%; text-align: right; max-width: 400px; }
.textblock-bottom-left { bottom: 25%; left: 6%; text-align: left; max-width: 400px; }
.textblock-bottom-center { bottom: 8%; left: 50%; transform: translateX(-50%); text-align: center; }
/* === Footerbereich === */
footer {
  background: url('../images/footer_bg.png') repeat;
  color: #fff;
  text-align: center;
  padding: 2em 0;
}
footer .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1em;
}
footer a {
  color: #fff;
  text-decoration: none;
  margin: 0 0.5em;
}
footer a:hover {
  text-decoration: underline;
}


/* === Seite: Unternehmen (About Us / Company) === */
.page-company {
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
  font-family: 'Segoe UI', sans-serif;
}

.page-company .section-title h1 {
  font-size: 32px;
  margin-bottom: 10px;
}

.page-company .section-intro {
  font-size: 18px;
  color: #555;
  margin-bottom: 40px;
}

.page-company .section-box {
  background: #f9f9f9;
  padding: 25px;
  margin-bottom: 30px;
  border-left: 4px solid #007BFF;
  border-radius: 8px;
}

.page-company .section-box.highlight {
  background: #e8f0ff;
  border-color: #0056b3;
}
.page-contact {
  max-width: 800px;
  margin: 0 auto;
  padding: 50px 20px;
  font-family: 'Segoe UI', sans-serif;
}

.contact-wrapper h1 {
  font-size: 32px;
  color: #003366;
  margin-bottom: 10px;
}

.section-intro {
  font-size: 18px;
  color: #666;
  margin-bottom: 30px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.contact-form {
  max-width: 800px;
  margin: 50px auto;
  padding: 40px;
  background: #f9f9f9;
  border-radius: 12px;
  font-family: 'Segoe UI', sans-serif;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

.contact-form h1 {
  font-size: 32px;
  margin-bottom: 20px;
}

.contact-form .form-group {
  margin-bottom: 25px;
}

.contact-form label {
  font-size: 18px;
  margin-bottom: 5px;
  display: block;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  font-size: 16px;
  border-radius: 6px;
  border: 1px solid #ccc;
  background: #fff;
  margin-top: 8px;
  box-sizing: border-box;
}

.contact-form textarea {
  height: 150px;
}

.contact-form button {
  background-color: #007BFF;
  color: white;
  font-size: 18px;
  padding: 12px 25px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.contact-form button:hover {
  background-color: #0056b3;
}

.contact-form .form-success,
.contact-form .form-error {
  max-width: 700px;
  margin: 20px auto;
  padding: 20px 25px;
  border-radius: 10px;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  box-shadow: 0 0 15px rgba(0,0,0,0.1);
}

.contact-form .form-success {
  background-color: #e6ffe6;
  border: 2px solid #3fa03f;
  color: #1e5d1e;
}

.contact-form .form-error {
  background-color: #ffe6e6;
  border: 2px solid #cc0000;
  color: #900;
}
.contact-form input,
.contact-form textarea {
  padding: 12px 15px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #007BFF;
  box-shadow: 0 0 5px rgba(0,123,255,0.4);
  outline: none;
}

.contact-submit {
  padding: 14px 25px;
  background: #007BFF;
  color: white;
  border: none;
  border-radius: 30px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact-submit:hover {
  background: #0056b3;
}
.form-hinweis {
  font-size: 14px;
  color: #555;
  margin-top: -10px;
  margin-bottom: 20px;
  font-style: italic;
}
.form-success,
.form-error {
  max-width: 700px;
  margin: 30px auto;
  padding: 20px 25px;
  border-radius: 10px;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  box-shadow: 0 0 15px rgba(0,0,0,0.1);
}

.form-success {
  background-color: #e6ffe6;
  border: 2px solid #3fa03f;
  color: #1e5d1e;
}

.form-error {
  background-color: #ffe6e6;
  border: 2px solid #cc0000;
  color: #900;
}

.impressum-content {
  max-width: 900px;
  margin: 40px auto;
  padding: 40px 30px;
  background: #ffffff;
  color: #222;
  font-family: 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.7;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
  border-radius: 10px;
}

.impressum-content h1,
.impressum-content h2 {
  font-size: 26px;
  color: #003366;
  margin-bottom: 20px;
  border-bottom: 2px solid #eee;
  padding-bottom: 10px;
}

.impressum-content p {
  margin: 15px 0;
}

.impressum-content strong {
  font-weight: 600;
  color: #111;
}

.impressum-content a {
  color: #0066cc;
  text-decoration: underline;
}

.impressum-content a:hover {
  text-decoration: none;
  color: #004499;
}

.faq-content {
  max-width: 800px;
  margin: 50px auto;
  padding: 40px;
  background: #f9f9f9;
  border-radius: 12px;
  font-family: 'Segoe UI', sans-serif;
}

.faq-content h1 {
  font-size: 30px;
  color: #003366;
  margin-bottom: 25px;
}

.faq-item {
  margin-bottom: 30px;
}

.faq-item h2 {
  font-size: 20px;
  color: #222;
  margin-bottom: 10px;
}

.faq-item p {
  margin: 0;
  font-size: 16px;
  color: #444;
  line-height: 1.6;
}

.downloads-content {
  max-width: 800px;
  margin: 50px auto;
  padding: 40px;
  background: #f9f9f9;
  border-radius: 12px;
  font-family: 'Segoe UI', sans-serif;
}

.downloads-content h1 {
  font-size: 30px;
  color: #003366;
  margin-bottom: 25px;
}

.download-item {
  background: #fff;
  border-radius: 10px;
  padding: 20px 25px;
  margin-bottom: 25px;
  box-shadow: 0 0 8px rgba(0,0,0,0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.file-info h2 {
  margin: 0 0 10px;
  font-size: 20px;
  color: #222;
}

.file-info p {
  margin: 0;
  color: #555;
  font-size: 16px;
}

.download-button {
  padding: 10px 20px;
  background: #007BFF;
  color: white;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
  white-space: nowrap;
}

.download-button:hover {
  background: #0056b3;
}

/* --- Vorschau-Bild in Download-Elementen --- */
.download-thumb {
  display: block;
  flex: 0 0 180px;
  border-radius: 8px;
  overflow: hidden;
}
.download-thumb img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  transition: transform .25s ease, box-shadow .25s ease;
}
.download-thumb:hover img {
  transform: scale(1.04);
  box-shadow: 0 6px 16px rgba(0,0,0,.15);
}

.guarantee-content {
  max-width: 900px;
  margin: 50px auto;
  padding: 40px;
  background: #f9f9f9;
  border-radius: 12px;
  font-family: 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: #333;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}
.guarantee-content h1 {
  font-size: 30px;
  color: #003366;
  margin-bottom: 25px;
}
.guarantee-content h2 {
  font-size: 22px;
  margin-top: 30px;
  color: #222;
  border-bottom: 2px solid #ddd;
  padding-bottom: 8px;
}
.guarantee-content p {
  margin: 15px 0;
}
.guarantee-content ul {
  margin: 15px 0;
  padding-left: 20px;
}
.guarantee-content ul li {
  margin-bottom: 8px;
  line-height: 1.6;
  list-style: disc;
}

.page-product {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px;
  font-family: 'Segoe UI', sans-serif;
  color: #222;
}
.product-header h1 {
  font-size: 32px;
  color: #003366;
  margin-bottom: 10px;
}
.section-intro {
  font-size: 18px;
  margin-bottom: 30px;
}
.product-gallery img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0,0,0,0.08);
  margin-bottom: 40px;
}
.product-highlights h2,
.product-specs h2,
.product-downloads h2 {
  font-size: 24px;
  margin-top: 40px;
  margin-bottom: 15px;
  color: #003366;
}
.product-highlights ul {
  list-style: disc;
  padding-left: 20px;
}
.product-specs table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  box-shadow: 0 0 8px rgba(0,0,0,0.04);
}
.product-specs th,
.product-specs td {
  text-align: left;
  padding: 12px 15px;
  border-bottom: 1px solid #eee;
}
.product-downloads ul {
  list-style: none;
  padding: 0;
}
.product-downloads li {
  margin-bottom: 10px;
}
.product-cta {
  text-align: center;
  margin-top: 50px;
}
.cta-button {
  background: #007BFF;
  color: white;
  padding: 12px 25px;
  border-radius: 6px;
  font-size: 16px;
  text-decoration: none;
}
.cta-button:hover {
  background: #0056b3;
}

.company-content {
  max-width: 900px;
  margin: 50px auto;
  padding: 40px;
  background: #fdfdfd;
  border-radius: 12px;
  box-shadow: 0 0 12px rgba(0,0,0,0.06);
  font-family: 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.75;
  color: #222;
}
.company-content h1 {
  font-size: 32px;
  color: #003366;
  margin-bottom: 15px;
}
.company-content h2 {
  font-size: 24px;
  color: #003366;
  margin-top: 40px;
  margin-bottom: 10px;
}
.company-content p {
  margin: 15px 0;
}
.company-content .motto {
  font-style: italic;
  font-weight: bold;
  font-size: 20px;
  margin: 20px 0;
  color: #555;
  border-left: 4px solid #ccc;
  padding-left: 15px;
}
.page-support {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px;
  font-family: 'Segoe UI', sans-serif;
  color: #222;
}


.support-content h1 {
  font-size: 32px;
  color: #003366;
  margin-bottom: 10px;
}
.section-intro {
  font-size: 18px;
  margin-bottom: 30px;
}
.support-content h2 {
  font-size: 26px;
  color: #003366;
  margin-top: 40px;
  margin-bottom: 15px;
}
.support-content p {
  font-size: 17px;
  line-height: 1.6;
}
.support-content ul {
  list-style: none;
  padding: 0;
}
.support-content li {
  margin-bottom: 10px;
}
.support-content a {
  color: #007BFF;
  text-decoration: none;
}
.support-content a:hover {
  text-decoration: underline;
}

.page-privacy {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px;
  font-family: 'Segoe UI', sans-serif;
  color: #222;
}
.privacy-content h1 {
  font-size: 32px;
  color: #003366;
  margin-bottom: 15px;
}
.section-intro {
  font-size: 18px;
  margin-bottom: 30px;
}
.privacy-content h2 {
  font-size: 26px;
  color: #003366;
  margin-top: 40px;
  margin-bottom: 15px;
}
.privacy-content p {
  font-size: 17px;
  line-height: 1.6;
}
.privacy-content ul {
  list-style: none;
  padding: 0;
}
.privacy-content li {
  margin-bottom: 10px;
}
.privacy-content a {
  color: #007BFF;
  text-decoration: none;
}
.privacy-content a:hover {
  text-decoration: underline;
}

.page-agb {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px;
  font-family: 'Segoe UI', sans-serif;
  color: #222;
}
.agb-content h1 {
  font-size: 32px;
  color: #003366;
  margin-bottom: 15px;
}
.agb-content h2 {
  font-size: 26px;
  margin-top: 40px;
  margin-bottom: 15px;
  color: #003366;
}
.agb-content p {
  font-size: 17px;
  line-height: 1.6;
  margin: 10px 0;
}
.agb-content ul {
  padding-left: 20px;
}
.agb-content li {
  list-style: disc;
  margin-bottom: 10px;
}

.page-anfahrt {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px;
  font-family: 'Segoe UI', sans-serif;
  color: #222;
}
.anfahrt-content h1 {
  font-size: 32px;
  color: #003366;
  margin-bottom: 15px;
}
.section-intro {
  font-size: 18px;
  margin-bottom: 30px;
}
.map-container iframe {
  width: 100%;
  height: 450px;
  border: 0;
  margin-bottom: 30px;
}
.address-info {
  font-size: 17px;
}
.opening-hours {
  font-size: 17px;
  margin-top: 30px;
}
.opening-hours h3 {
  font-size: 20px;
  margin-bottom: 10px;
}
.page-career {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px;
  font-family: 'Segoe UI', sans-serif;
  color: #222;
}

.career-content h1 {
  font-size: 32px;
  color: #003366;
  margin-bottom: 15px;
}
.section-intro {
  font-size: 18px;
  margin-bottom: 30px;
}
.career-content h2 {
  font-size: 26px;
  color: #003366;
  margin-top: 40px;
  margin-bottom: 15px;
}
.career-content p {
  font-size: 17px;
  line-height: 1.7;
}

.page-service {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px;
  font-family: 'Segoe UI', sans-serif;
  color: #222;
}
.service-content h1 {
  font-size: 32px;
  color: #003366;
  margin-bottom: 20px;
}
.service-content h2 {
  font-size: 26px;
  color: #003366;
  margin-top: 30px;
  margin-bottom: 15px;
}
.service-content p {
  font-size: 17px;
  line-height: 1.7;
}
.service-block {
  margin-bottom: 40px;
  padding: 20px;
  background: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}
.service-block h2 {
  font-size: 24px;
  color: #003366;
}
.service-block p {
  font-size: 16px;
  color: #444;
  line-height: 1.6;
}

.page-aktuelles {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px;
  font-family: 'Segoe UI', sans-serif;
  color: #222;
}

.aktuelles-content h1 {
  font-size: 32px;
  color: #003366;
  margin-bottom: 20px;
}

.section-intro {
  font-size: 18px;
  margin-bottom: 30px;
}

.aktuelles-content h2 {
  font-size: 26px;
  color: #003366;
  margin-top: 40px;
  margin-bottom: 15px;
}

.aktuelles-content p {
  font-size: 17px;
  line-height: 1.7;
}

.aktuelles-content ul {
  padding-left: 20px;
}

.aktuelles-content li {
  list-style: disc;
  margin-bottom: 10px;
}


/* === Suchbereich (search) === */
/* === Allgemeines Layout === */
.search {
    display: flex;
    justify-content: space-between;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* === Linke Box (Suchfilter) === */
.search-left {
    width: 25%;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.form-select {
  width: 100%;
  padding: 8px;
  border-radius: 5px;
  border: 1px solid #ccc;
}
.search-box {
    display: flex;
    margin-bottom: 20px;
    gap: 10px;
}

.search-box input {
    flex: 1;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ddd;
}

.search-box button {
    padding: 10px;
    background-color: #003366;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.search-box button:hover {
    background-color: #00509E;
}

.search-filters {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.price-filter, .cri-filter {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.price-filter label, .cri-filter label {
    font-size: 14px;
    font-weight: bold;
}

.price-filter input[type="range"], .cri-filter input[type="range"] {
    width: 100%;
    margin-top: 5px;
    padding: 8px;
    border-radius: 5px;
    border: 1px solid #ddd;
}

.price-filter output, .cri-filter output {
    font-weight: bold;
    font-size: 14px;
    margin-top: 5px;
}

.price-filter input[type="range"]:focus, .cri-filter input[type="range"]:focus {
    outline: none;
}

.price-filter-js-label {
    font-size: 14px;
    font-weight: 500;
}

.slider-range {
  font-size: 0.85em;
  color: #555;
  display: block;
  margin-top: 2px;
}

select {
    padding: 8px;
    font-size: 14px;
    border-radius: 5px;
    border: 1px solid #ddd;
}

/* === Rechte Box (Suchergebnisse) === */
.search-right {
    width: 70%;
    padding: 20px;
}

.search-results-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.table-header, .table-row {
    display: grid;
    grid-template-columns: 1fr 2fr 3fr 2fr 1fr;
    gap: 20px;
    padding: 10px;
    text-align: left;
}

.table-header {
    background-color: #003366;
    color: white;
    font-weight: bold;
}

.table-row {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    padding: 10px;
}

.table-row:hover {
    background-color: #c1c1c1;
}

.table-cell {
    padding: 10px;
    word-wrap: break-word;
}

/* Bildzellen */
.table-cell img {
    width: 100%;
    max-height: 120px;
    height: auto;
    margin: 0 auto;
}

/* Scrollbarer Textbereich (Beschreibung) */
.table-cell.description {
    max-height: 80px;
    overflow-y: auto;
}

/* === Button für Produktdetails === */
.view-product {
    display: inline-block;
    background-color: #003366;
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    text-align: center;
}

.view-product:hover {
    background-color: #00509E;
}

input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  background: #ccc;
  border-radius: 5px;
  margin: 10px 0;
  outline: none;
}

/* Track Farbe (Hintergrund der Schiene) */
input[type="range"]::-webkit-slider-runnable-track {
  width: 100%;
  height: 6px;
  background: #ccc;
  border-radius: 5px;
}

/* Griff Design (der Knopf) */
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #003366;
  cursor: pointer;
  margin-top: -6px; /* damit der Thumb mittig auf der Schiene sitzt */
}

/* Für Firefox */
input[type="range"]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #003366;
  cursor: pointer;
}

/* Für Firefox Track */
input[type="range"]::-moz-range-track {
  background: #ccc;
  height: 6px;
  border-radius: 5px;
}

/* Fokus Effekte beim Klicken */
input[type="range"]:focus::-webkit-slider-runnable-track {
  background: #aaa;
}
/* Checkboxen */
.filter-application {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.filter-application label {
   font-size: 14px;
}
.filter-application label[for="application"] {
  font-size: 14px;
  margin-bottom: 10px;
  display: block;
}

.filter-checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.filter-checkbox-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  cursor: pointer;
}

.logout-overlay {
    position: absolute;
    top: 20px; /* oder z.B. 20% */
    left: 50%;
    transform: translateX(-50%);
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    padding: 10px 20px;
    border-radius: 6px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    z-index: 9999;
    font-size: 1rem;
    text-align: center;
    transition: opacity 1.2s ease;
    opacity: 1;
}
.logout-overlay.fade-out {
    opacity: 0;
}

/* === Login-Formular === */
/* MODAL OVERLAY */
/* === Login Modal === */
#login-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
}

.modal-bg {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.login-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 380px;
    background: linear-gradient(135deg, var(--color_dark), #2a3a5a);
    border-radius: 12px;
    padding: 30px 1px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.1);
    z-index: 10000;
    animation: slideDown 0.4s ease-out;
}
.login-container form {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 320px;
/* margin: 0 auto; */    
    width: 100%;
}
#login-modal .login-container {
    margin: 0 auto;
}

.close-button {
    position: absolute;
    top: 15px;
    right: 15px;
    color: rgba(255,255,255,0.6);
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s;
}

.close-button:hover {
    color: var(--color_success);
}

.login-header {
    text-align: center;
    margin-bottom: 25px;
}

.login-icon-modal {
    font-size: 2.2rem;
    color: var(--color_accent);
    margin-bottom: 0.8rem;
}

.login-header h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: white;
    background: linear-gradient(to right, var(--color_accent), var(--color_success));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.login-header p {
    color: rgba(255,255,255,0.7);
    font-size: 0.85rem;
}

.form-group-modal {
    width: 100%;
    margin-bottom: 1.2rem;
}

.form-group-modal label {
    display: block;
    margin-bottom: 0.5rem;
    color: white;
    font-size: 0.85rem;
}

.form-row .form-group-modal {
    flex: 1;
    min-width: 250px;
    margin: 0;
}

.input-with-icon {
    position: relative;
    width: 100%;
}

.input-with-icon i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255,255,255,0.7);
}

.password-toggle {
    position: absolute;
	right: 36px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255,255,255,0.5);
    cursor: pointer;
}

.password-toggle:hover {
    color: white;
}

.btn-login {
    width: auto; /* Nicht mehr 100% Breite */
    min-width: 200px;
    padding: 12px 24px;
    margin: 20px 0 0 0; /* Nur oben und unten Margin */
    background: linear-gradient(to right, var(--color_primary), var(--color_accent));
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-login:hover {
    background: linear-gradient(to right, var(--color_secondary), var(--color_primary));
    transform: translateY(-2px);
}

.btn-register {
    width: 100%;
    max-width: 260px;
    margin: 10px auto 0 auto;
    padding: 12px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid var(--color_accent);
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}
.btn-login, .btn-register {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
}
.btn-register:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--color_success);
    transform: translateY(-1px);
}


.login-error-message {
    max-width: 300px;
    margin: 0 auto 1.5rem auto;
    text-align: left;
	background: rgba(239, 35, 60, 0.2);
    color: white;
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 1.5rem;
    border-left: 3px solid var(--color_danger);
    font-size: 0.85rem;
}

@keyframes slideDown {
    from { opacity: 0; transform: translate(-50%, -60%); }
    to { opacity: 1; transform: translate(-50%, -50%); }
}
.login-container form,
.form-group-modal,
.form-control,
.btn-login {
    margin-left: auto;
    margin-right: auto;
}

.logout-icon-link {
    margin-left: 1px;
    font-size: 22px;
    color: #245c88;
    cursor: pointer;
    display: inline-block;
}

.logout-icon-link:hover {
    color: #ff6666;
}

.register-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    min-height: 80vh;
    background: #f0f0f0;
}

.register-container {
    background: linear-gradient(135deg, var(--color_dark), #2a3a5a);
    color: white;
    padding: 40px;
    border-radius: 15px;
    max-width: 800px; /* Etwas schmaler */
    width: 100%;
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
    margin: 0 auto; /* Zentriert den Container selbst */
}

.register-container form {
    max-width: 100%; /* Volle Breite des Containers nutzen */
    margin: 0; /* Kein Auto-Margin mehr */
    padding: 0;
}

.register-container h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    text-align: center;
    background: linear-gradient(to right, var(--color_accent), var(--color_success));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.register-subtext {
    text-align: center;
    color: rgba(255,255,255,0.7);
    margin-bottom: 30px;
}

.register-container form .form-group-modal {
    margin-bottom: 18px;
}

select.form-control {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    padding: 10px 12px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

select.form-control option {
    background-color: #1b263b; /* dunkler Hintergrund für Dropdown */
    color: white;
}

.form-row {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    width: 100%;
    margin-bottom: 1.2rem;
    justify-content: flex-start; /* Links ausrichten */
}

.form-row .form-group-modal {
    flex: 1 1 calc(50% - 8px);
    min-width: 250px;
    margin: 0;
}


.form-group-modal {
    width: 100%;
    margin-bottom: 1.2rem;
    text-align: left; /* Text links ausrichten */
}

.form-control {
    width: 100%;
    padding: 10px 15px 10px 40px;
    margin: 0;
    box-sizing: border-box;
	background: rgba(255, 255, 255, 0.1); /* Heller blauer/transparenter Hintergrund */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: white; /* Weiße Schrift */
    font-size: 0.9rem;
}

.form-control:focus {
    outline: none;
    border-color: var(--color_accent);
    box-shadow: 0 0 0 2px rgba(72, 149, 239, 0.3);
    background: rgba(255, 255, 255, 0.15); /* Etwas heller beim Fokus */
}

.radio-group {
    display: flex;
    gap: 15px;
    margin-top: 8px;
    justify-content: flex-start; /* Links ausrichten */
}

.radio-group label {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.9rem;
}

@media (max-width: 600px) {
    .form-row {
        flex-direction: column;
    }
}
