/* ================================================================= */
/*                          Allgemeine Stile                         */
/* ================================================================= */
@import url('../css/variables.css');

/* ==================== Section Layout ==================== */
.first-aid-section {
  width: 100%;
  height: auto;
  background-color: var(--bg-darkcolor);
  color: #fff;
  padding: 10rem 2rem;
  overflow: hidden;
}

/* ==================== Container ==================== */
.first-aid-container {
  max-width: 99rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 3rem;
  height: auto;
}

/* ==================== Bild ==================== */
.first-aid-image img {
  width: 100%;
  max-width: 700px;
  height: 700px;
  border-radius: var(--border-radius);
  object-fit: cover;
}

/* ==================== Content-Bereich ==================== */
.first-aid-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.first-aid-tagline {
  text-transform: uppercase;
  font-size: 0.9rem;
  opacity: 0.7;
  font-weight: bold;
}

.first-aid-heading {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.3;
}

.first-aid-description {
  font-size: 1rem;
  line-height: 1.6;
  max-width: 100%;
}

/* ==================== Feature Icons ==================== */
.first-aid-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 1rem;
}

.first-aid-icons i {
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.first-aid-feature {
  flex: 1 1 100%;
  min-width: 0;
}

.first-aid-feature h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.first-aid-feature p {
  font-size: 0.95rem;
  color: #ccc;
}

/* ==================== Buttons ==================== */
.first-aid-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.btn {
  position: relative;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-decoration: none;
  overflow: hidden;
  transition: all 250ms;
  z-index: 1;
}

/* ==================== Outline Style ==================== */
.btn-outline {
  border: 1px solid #fff;
  color: #fff;
  background-color: transparent;
  box-shadow: 4px 8px 19px -3px rgba(0, 0, 0, 0.27);
}

/* ==================== Hover Effekt mit Overlay ==================== */
.btn-outline::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  background-color: #fff;
  border-radius: var(--border-radius);
  z-index: -1;
  transition: all 250ms;
  box-shadow: 4px 8px 19px -3px rgba(0, 0, 0, 0.27);
}

.btn-outline:hover {
  color: #000;
}

.btn-outline:hover::before {
  width: 100%;
}


/* ================================================================= */
/*                         Responsive Design                         */
/* ================================================================= */

/* ==================== Tablet (ab 768px) ==================== */
@media (min-width: 768px) {
  .first-aid-container {
    flex-direction: row;
    align-items: center;
  }

  .first-aid-image,
  .first-aid-content {
    flex: 1;
  }

  .first-aid-feature {
    flex: 1;
    min-width: 250px;
  }

  .first-aid-content {
    order: 1;
  }
}

/* ==================== Mobile (bis 480px) ==================== */
@media (max-width: 767px) {
  .first-aid-section {
    padding: 5rem 2rem;
  }

  .first-aid-container {
    flex-direction: column;
  }

  .first-aid-image {
    order: 2;
  }

  .first-aid-content {
    order: 1;
  }
}

