/* Spezifisches Styling für brunnen-bohren.php */

/* Abschnitts-Intro-Styling */
.section-intro {
  max-width: 800px;
  margin: 0 auto 2rem;
  text-align: center;
  font-size: 1.1rem;
  color: #555;
  line-height: 1.6;
}

/* Moderne Schrittliste */
.process-steps-list {
  max-width: 800px;
  margin: 0 auto 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.process-step-item {
  display: flex;
  align-items: flex-start;
  background-color: white;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.process-step-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.12);
}

.step-marker {
  width: 36px;
  height: 36px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-right: 1rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}

.step-content {
  flex: 1;
}

.step-content h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
  font-size: 1.1rem;
}

.step-content p {
  margin: 0;
  line-height: 1.5;
  color: #444;
  font-size: 0.95rem;
}

/* Vorteile-Sektion unten */
.process-benefits {
  display: flex;
  justify-content: space-between;
  max-width: 800px;
  margin: 0 auto;
  gap: 1rem;
}

.benefit-item {
  flex: 1;
  background-color: white;
  border-radius: 8px;
  padding: 1.25rem;
  text-align: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.benefit-item:hover {
  transform: translateY(-3px);
}

.benefit-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.benefit-text {
  font-size: 0.9rem;
  color: #555;
}

/* Brunnen bohren in Bildern-Sektion */
.boring-process {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* Genau 2 Spalten */
  gap: 2rem;
  margin-bottom: var(--spacing-lg);
}

.process-card {
  background-color: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%; /* Sorgt für gleiche Höhe */
}

.process-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.process-image-container {
  height: 220px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f8f8f8;
}

.process-image-container img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform 0.3s ease;
}

.process-card:hover .process-image-container img {
  transform: scale(1.05);
}

.process-text {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.process-text h3 {
  margin-top: 0;
  color: var(--primary-color);
  margin-bottom: 0.75rem;
}

/* Abmessungen-Bohrmaschine-Sektion */
.dimensions-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: var(--spacing-lg);
}

.dimension-item {
  background-color: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dimension-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.dimension-item-inner {
  display: flex;
  flex-direction: column;
}

.dimension-image {
  height: 220px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dimension-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform 0.3s ease;
}

.dimension-item:hover .dimension-image img {
  transform: scale(1.05);
}

.dimension-content {
  padding: 1.5rem;
}

.dimension-content h3 {
  margin-top: 0;
  color: var(--primary-color);
  margin-bottom: 0.75rem;
}

/* Responsive Anpassungen für kleinere Bildschirme */
@media (max-width: 768px) {
  .boring-process {
    grid-template-columns: 1fr; /* Auf Mobilgeräten 1 Spalte */
  }
  
  .process-benefits {
    flex-direction: column;
  }
  
  .benefit-item {
    width: 100%;
  }
  
  .process-image-container, 
  .dimension-image {
    height: 180px;
  }
  
  .two-column {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .content-image {
    max-height: 300px;
    overflow: hidden;
  }
  
  .content-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}