.mainContent {
  position: relative;
  overflow-x: hidden;
  width: 100%;
}

/* Hero Section - 2-Spalten-Layout */
.heroSection {
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  min-height: 80vh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 60px 20px;
  padding-bottom: 100px;
  position: relative;
}

/* Background wird per JavaScript oder inline style gesetzt */

.heroContainer {
  max-width: 1200px;
  width: 100%;
  display: flex;
  align-items: flex-end;
  gap: 60px;
  z-index: 2;
}

/* Linke Spalte - Text und Bild */
.heroLeft {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 40px;
}

.heroTitle {
  font-size: 1.25rem;
  font-weight: bold;
  color: white;
  margin: 0 0 30px 0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  line-height: 1.3;
  text-align: left;
}

.heroImage {
  margin: 0 0 30px 0;
}

.heroSvg {
  width: 400px;
  height: 77px;
  filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
}

.heroQuote {
  font-size: 22px;
  color: white;
  margin: 0 0 20px 0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  line-height: 1.2;
  font-weight: 300;
  font-style: italic;
  text-align: left;
}

.heroAuthor {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  line-height: 1.3;
  text-align: left;
}

/* Rechte Spalte - Suchfunktion */
.heroRight {
  flex: 1;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding-top: 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .heroContainer {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }
  
  .heroLeft {
    align-items: center;
    text-align: center;
  }
  
  .heroRight {
    align-items: center;
    justify-content: center;
  }
  
  .heroTitle {
    text-align: center;
  }
  
  .heroQuote {
    text-align: center;
  }
  
  .heroAuthor {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .heroTitle {
    font-size: 1.125rem;
  }
  
  .heroQuote {
    font-size: 18px;
  }
  
  .heroAuthor {
    font-size: 14px;
  }
  
  .heroSvg {
    width: 300px;
    height: 58px;
  }
  
  .heroSection {
    min-height: 70vh;
    padding: 40px 15px;
  }
}

@media (max-width: 480px) {
  .heroQuote {
    font-size: 16px;
  }
  
  .heroAuthor {
    font-size: 12px;
  }
  
  .heroSvg {
    width: 250px;
    height: 48px;
  }
}

.contentContainer {
  margin: 40px auto;
  max-width: 1200px;
  padding: 20px 40px;
  text-align: left;
}

/* Einheitliche H2-Styles für alle Sektionen */
.sectionTitle {
  margin: 0 0 20px 0 !important;
  max-width: 1200px !important;
  padding: 0 !important;
  width: 100% !important;
  position: relative !important;
  font-size: 40px !important;
  color: #2a2f43 !important;
  font-weight: bold !important;
  text-align: left !important;
}

.sectionTitle::before {
  content: '' !important;
  position: absolute !important;
  left: 0 !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 100% !important;
  height: 2px !important;
  background-color: #E30A1D !important;
  z-index: -1 !important;
}

/* Spezielle Klasse für H2 mit linker Linie */
.leftLineTitle::before {
  content: '' !important;
  position: absolute !important;
  left: calc(-50vw + 50%) !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: calc(50vw - 50% - 40px) !important;
  height: 2px !important;
  background-color: #E30A1D !important;
  z-index: 10 !important;
  display: block !important;
}

/* Text-Image Sektionen */
.textImageSection {
  display: flex;
  align-items: center;
  gap: 50px;
  margin-top: 20px;
}

.textContent {
  flex: 1;
  padding-left: 0;
}

.textContent p {
  margin-bottom: 15px;
  line-height: 1.6;
}

.textContent h3 {
  font-size: 24px;
  color: #2a2f43;
  margin: 20px 0 10px 0;
}

.textContent h4 {
  font-size: 20px;
  color: #2a2f43;
  margin: 15px 0 8px 0;
  font-weight: 600;
}

.imageContent {
  flex: 1;
}

.sectionImage {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

/* Single Image Sektion */
.singleImageSection {
  margin-top: 20px;
  padding-left: 0;
}

.singleImage {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

/* Manufacturer Section */
.manufacturerSection {
  margin: 40px 0;
}

.fullWidthSlider {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-top: 20px;
  padding: 40px 60px;
  background-color: #ffffff;
  overflow: hidden;
  overflow-x: hidden;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  position: relative;
}

.logos-slider {
  display: flex;
  align-items: center;
  gap: 0;
  transition: transform 0.6s ease;
  will-change: transform;
  width: max-content;
}
.logos-slider .logo-container {
  flex-shrink: 0;
  width: calc((100vw - 120px) / 7); /* 7 Logos mit 120px Gesamt-Padding (60px je Seite) */
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 15px;
  box-sizing: border-box;
}

.logos-slider .logo-container img {
  max-width: 140px;
  max-height: 100%;
  object-fit: contain;
  filter: none;
  opacity: 1;
  transition: none;
}

.manufacturerSlider {
  width: 100% !important;
  max-width: 100% !important;
}

.manufacturerSlider .slick-list {
  width: 100% !important;
  margin: 0 auto !important;
}

.manufacturerSlider .slick-track {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.manufacturerSlider .slide {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  padding: 20px;
}

.logoContainer {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: 100% !important;
  height: 150px;
  margin: 0 auto !important;
}

.manufacturerSlider .slide img {
  max-height: 80%;
  max-width: 180px;
  width: auto !important;
  display: block !important;
  margin: 0 auto !important;
  object-fit: contain;
}

/* Slider Elemente Zentrierung */
.manufacturerSlider .slick-slide {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  text-align: center !important;
}

.manufacturerSlider .slick-slide > div {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: 100% !important;
}

/* Full Width Section */
.fullWidthSection {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  background-color: #F4F9FF;
  padding: 40px 0;
  overflow-x: hidden;
}

/* Colored Section Background */
.coloredSection {
  background-color: #f4f9ff !important;
  padding: 40px 0 !important;
  margin: 40px 0 !important;
  border-radius: 0 !important;
  width: 100vw !important;
  margin-left: calc(-50vw + 50%) !important;
  overflow-x: hidden;
}

/* Card Container */
.cardContainer {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: center;
  gap: 30px;
  margin: 20px 0 0 0;
  padding: 0;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  flex-wrap: wrap;
}

/* Card Background - nur für normale Cards (Serviceleistungen), nicht für EmployeeCards */
.cardContainer > div:not([class*="employeeCard"]) {
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  width: 100%;
}

/* Employee Card Container - spezifisch für Employee Cards */
.employeeCardContainer {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  justify-content: center;
  margin-top: 40px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.expertiseText {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #2a2f43;
  text-align: left;
  margin-top: 20px;
  margin-bottom: 40px;
}

@media (max-width: 1024px) {
  .employeeCardContainer {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .employeeCardContainer {
    grid-template-columns: 1fr;
  }
}

/* Contact Section */
.contactSection {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  margin-top: 20px;
  padding-left: 0;
}

.contactForm {
  flex: 1;
  margin-right: 20px;
}

.contactImage {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: 50px;
}

.contactImage img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

/* Form Styles */
.formRow {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.halfWidth {
  width: 48%;
}

.formGroup {
  margin-bottom: 15px;
}

.formGroup label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

.formGroup input,
.formGroup textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.formGroup textarea {
  resize: vertical;
  min-height: 100px;
}

.submitButton {
  background: transparent;
  border: 2px solid red;
  color: red;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  margin-top: 20px;
  transition: background-color 0.3s, color 0.3s;
}

.submitButton:hover {
  background-color: red;
  color: white;
}

.hcaptchaContainer {
  margin: 20px 0;
}

.checkboxGroup {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.checkboxItem {
  display: flex;
  align-items: center;
}

.checkboxItem input[type="checkbox"] {
  margin-right: 8px;
}

.checkboxItem label {
  margin: 0;
}

.gdprContainer {
  display: flex;
  align-items: center;
  margin-top: 10px;
}

.gdprContainer input[type="checkbox"] {
  margin-right: 8px;
}

.gdprContainer a {
  color: #0073e6;
  text-decoration: none;
}

.gdprContainer a:hover {
  text-decoration: underline;
}

/* Button Styles */
.buttonLink {
  display: inline-block;
  margin-top: 20px;
}

.styledButton {
  background: transparent;
  border: 2px solid #E30A1D;
  color: #E30A1D;
  padding: 12px 24px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  transition: background-color 0.3s, color 0.3s;
  text-decoration: none;
  display: inline-block;
}

.styledButton:hover {
  background-color: #E30A1D;
  color: white;
}

/* Employee Section */
.noEmployeesMessage {
  text-align: center;
  padding: 40px 20px;
  background-color: #f8f9fa;
  border-radius: 8px;
  border: 1px solid #e9ecef;
}

.debugInfo {
  margin-top: 10px;
  color: #6c757d;
  font-style: italic;
}

/* Responsive Design */
@media (max-width: 768px) {
  .contentContainer {
    padding: 20px;
  }
  
  .leftLineTitle::before {
    width: calc(50vw - 50% - 20px) !important;
  }
  
  .textImageSection {
    flex-direction: column;
    gap: 20px;
  }
  
  .textContent,
  .contactSection,
  .singleImageSection {
    padding-left: 0;
  }
  
  .fullWidthSection {
    margin-left: -20px;
    width: calc(100vw - 40px);
    padding: 20px 0;
  }
  
  .cardContainer {
    padding: 0 20px;
    max-width: 100%;
    flex-direction: column;
  }
  
  .employeeCardContainer {
    gap: 20px;
  }
  
  .expertiseText {
    font-size: 1.25rem;
    margin-top: 30px;
  }
  
  .fullWidthSlider {
    margin-left: -20px;
    width: calc(100vw - 40px);
    padding: 30px 0;
  }
  
  .logoContainer {
    height: 120px;
  }
  
  .manufacturerSlider .slide img {
    max-width: 150px;
  }
  
  .contactSection {
    flex-direction: column;
  }
  
  .contactForm {
    margin-right: 0;
    margin-bottom: 20px;
  }
  
  .contactImage {
    margin-left: 0;
    margin-top: 20px;
  }
  
  .formRow {
    flex-direction: column;
  }
  
  .halfWidth {
    width: 100%;
    margin-bottom: 10px;
  }
  
  .submitButton {
    width: 100%;
    font-size: 18px;
  }
  
  .sectionTitle {
    font-size: 32px !important;
  }
}

@media (max-width: 480px) {
  .sectionTitle {
    font-size: 28px !important;
  }
  
  .logoContainer {
    height: 100px;
  }
  
  .manufacturerSlider .slide img {
    max-width: 120px;
  }
  
  .manufacturerSlider .slide {
    padding: 15px;
  }
}