/* =================================
   Basis-Reset / Body
==================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Roboto", sans-serif;
  color: #333;
}

/* =================================
     Hero Section
  ==================================== */
.hero-section {
  position: relative;
  height: 80vh;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.hero-overlay {
  width: 100%;
  height: 100%;
  background-color: rgba(
    0,
    0,
    0,
    0.4
  ); /* dunkler Overlay für bessere Lesbarkeit */
}

.hero-content {
  color: #fff;
  padding: 1rem;
}

.hero-title {
  font-size: 3rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-subtitle {
  font-size: 1.4rem;
  margin: 1rem 0;
}

.hero-cta {
  font-size: 1.2rem;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  transition: background-color 0.3s ease, transform 0.3s ease,
    box-shadow 0.3s ease;
}

/* Neutrale Buttons (grau) */
.btn-primary,
.hero-cta {
  background-color: #6c757d !important;
  border-color: #dcd6d6 !important;
}

.btn-primary:hover,
.hero-cta:hover {
  background-color: #43413f !important;
  border-color: #c6c3c1 !important;
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

/* =================================
     Intro Section (Wer wir sind)
  ==================================== */
.intro-section {
  background-color: #fefefe89; /* leicht transparentes Hellgrau */
  padding: 3rem 0;
}

.intro-section h2 {
  font-size: 2.2rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #2d2d2d;
  border-bottom: 3px solid #2b2a2a;
  display: inline-block;
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}

.intro-section .lead {
  font-size: 1.1rem;
  line-height: 1.5;
}

/* =================================
     Services-Teaser (Carousel)
  ==================================== */
.services-teaser {
  position: relative;
  overflow: hidden;
  min-height: 600px; /* Höhe anpassbar */
}

/* Hintergrundbild für Services-Teaser */
.leistungen-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Container-Ebene vor dem Bild */
.services-teaser .container {
  position: relative;
  z-index: 1;
}

/* Überschrift & Text in der Services-Teaser-Sektion */
.services-teaser h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #fff;
  /* Stärkerer Textschatten */
  text-shadow: 3px 3px 8px rgba(0, 0, 0, 1);
}

.services-teaser p {
  font-size: 1.2rem;
  color: #fff;
  /* Stärkerer Textschatten */
  text-shadow: 10px 10px 14px rgb(0, 0, 0);
}

/* Cards im Carousel */
.service-card {
  background: rgba(0, 0, 0, 0.4); /* halbtransparenter Overlay */
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding: 1rem;
  color: #fff;
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.4);
}

.service-card i {
  color: #fff;
}

.carousel-indicators {
  display: none;
}

/* =================================
     CTA Section
  ==================================== */
.cta-section {
  text-align: center;
}

.cta-section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.cta-section p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

/* =================================
     Responsivität
  ==================================== */
/* Größerer Breakpoint: max-width: 991px */
@media (max-width: 991px) {
  .col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

/* Kleiner Breakpoint: max-width: 768px */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }
  .hero-subtitle {
    font-size: 1.2rem;
  }
  .col-md-6 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}
