/* Flexbox für Footer */
html, body {
  height: 100%;
  margin: 0;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

/* Allgemeiner Übergang für Sektionen */
.about-us,
.about-us-features {
  scroll-margin-top: 80px;
}

/* Übergeordnete About-Sektion */
.about-us {
  background: linear-gradient(180deg, #f0f8ff 0%, #ffffff 100%);
  color: #212529;
  padding: 5rem 1rem 2rem 1rem; /* weniger Abstand unten */
  margin-top: 120px;
}

.about-us h1, .about-us h2 {
  color: #044C7E;
}

.fixed-image {
    position: fixed;
    /* bleibt auch beim Scrollen unten links */
    bottom: 5%;
    left: 1.5%;
    z-index: 9999;
    /* liegt über allen anderen Elementen */
}

.fixed-image img {
    width: 60px;
    /* Icon-Größe */
    height: auto;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.fixed-image img:hover {
    transform: scale(1.1);
    /* Hover-Effekt */
}

/* Einheitliches Grid für Features */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  margin-top: 2rem;
}

/* Feature Box */
.feature-item {
  background: #044C7E;
  color: #fff;
  border-radius: 15px;
  padding: 2rem 1rem;
  flex: 1 1 calc(33.333% - 1rem);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.2);
  background: #0d6efd;
}

/* Icon Kreis oben */
.icon-circle {
  width: 60px;
  height: 60px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 2rem;
  color: #fff;
}

/* Text innerhalb der Box */
.feature-item p {
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 0;
}
.section-box {
  width: 100%;       /* Box nimmt volle Breite des Containers */
  display: block;    /* kein Flex shrinking */
}

.section-box img {
  width: 100%;       /* Bild füllt die gesamte Box */
  height: auto;      /* Höhe skaliert proportional */
  object-fit: cover; /* Bild füllt den Container sauber */
  border-radius: 8px; /* optional, wie bisher */
  display: block;    /* entfernt kleine Lücken unter img */
}


/* Überschrift */
.section-title {
  color: #044C7E;
  font-weight: 700;
  margin-bottom: 2rem;
}

/* Vorteile-Sektion */
.about-us-features {
  background-color: #f8f9fa;
  color: #212529;
  padding: 5rem 1rem 2rem 1rem; /* unten weniger */
  transition: background 0.5s ease;
}

/* Responsive: Tablets */
@media (max-width: 991px) {
  .feature-item {
    flex: 1 1 calc(50% - 1rem);
  }
 .section-container {
    flex-direction: column;
    gap: 30px;
  }
   
}

/* Responsive: Smartphones */
@media (max-width: 767px) {
  .feature-item {
    flex: 1 1 100%;
  }
}
