/* ===== BASE.CSS - STYLING FÜR BUTTONS & LOGO-TEXT ===== */



h1 {
  font-family: sans-serif;
  font-size: 2.5rem;
  color: #2c3e50;
  margin: 20px 0;
  text-align: center;
  padding: 20px 0;

}



 h2 {
  font-family: sans-serif;
  font-size: 1.5rem;
  color: #2c3e50;
  margin: 20px 0;
  text-align: center;
  padding: 20px 0;
}


h3 {
  font-size: 1.5rem; 
  color: white; 
}


h4 {
  font-size: 1.5rem;
  background-color: #c0392b;  
  color: white; 
  margin-right: 0px;
  padding: 20px;
  border-radius: 5px;
}


h5{
  font-size: 1.2rem;
  color: black; 
  margin-bottom: 5px;
  margin-top: 2rem;
  margin-left: 5px;
}

.fn
{
font-size: 0.7rem;
color: black;
border-left-width: 20px;
}


p{
font-size: 1rem;
line-height: 1.6;
}
.site
{
	min-width: 100%;
	max-width: 100%;
	min-height: 100%;
	background-color: #e6e6e6;
	border-radius: 5px;
	  /* Füge diese Zeilen hinzu, um Flexbox-Funktionen zu ermöglichen */
  display: flex;           /* Aktiviert Flexbox-Layout */
  flex-direction: column; /* Standard-Spaltenrichtung (anpassbar) */
  align-items: stretch;   /* Elemente dehnen sich auf die Breite aus */
  box-sizing: border-box;
}

/* Flexbox-Container für die Buttons */

.btn-container {
  display: flex;
  justify-content: space-between; /* Links und Rechts anpassen */
  align-items: center;
  gap: 15px;
  width: 100%;
 }
 
 .btn {
	flex: 1 1 calc(55% - 5px);  
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 20px 30px;
  background-color: #456789;
  border-radius: 8px;
  color: white;
  font-size: 16px;
  min-height: 400px;
  min-width: 40%; /* Mindestbreite, um Überlappung zu vermeiden */
  
  flex-grow: 1;

}

/* Bild im Button (mehrfach genutzte Komponente) */
.btn img {
  max-height: 300px; /* Größere Bilder, aber immer noch begrenzt */
  width: auto;
  margin-right: 10px; /* Abstand zwischen Bild und Text */
   object-fit: contain;
  }

/* Hover-Effekt auf die Buttons */
.btn:hover {
  background-color: #c0392b; /* Farbe beim Hover (rot) */
}

/* Rechter Button am rechten Rand positionieren */
.btn:last-child {
  margin-left: auto;

}


.textfeld 
{
	max-height: 400px;
	max-width: auto;
	min-width: 30%;
	  font-size: 1rem;
  line-height: 1.6;
	
	}

@media (max-width: 1300px) {
  .btn-container {
    flex-direction: column; /* Übereinander */
    align-items: stretch; /* Buttons ausrichten */
    gap: 12px;
  }

  .btn {
    flex-direction: column;
    align-items: flex-start; /* Ausrichtung auf links */
    gap: 12px; /* Abstand zwischen Bild und Text anpassen */
  }

  .btn img {
    width: 20%; /* Bild auf die volle Breite des Containers skalieren */
    max-width: 40%; /* Maximale Breite des Bildes anpassen (optional) */
    height: auto;
  }
}







.button {
	background-color: #456789;
 display: inline-flex;
font-size: 1.0rem;
 justify-content: center;    /* Horizontale Zentrierung */

color: white;
height: 40px;
width: 25%;
align-items: center; 
border-radius: 5px;
min-width: 300px;
 text-decoration: underline; /* Füge dies hinzu */
}

.button:hover {
  background-color: #c0392b; /* Farbe beim Hover (rot) */
}



.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 Spalten */
  grid-template-rows: repeat(2, 1fr);    /* 2 Reihen */
  gap: 20px; /* Abstand zwischen den Karten */
   justify-content: center;    /* Horizontale Zentrierung */
}

@media (max-width: 800px) {
  .services-grid {
    grid-template-columns: 1fr;         /* Alle Karten in einer Spalte */
    justify-content: start;             /* Optional: Linksbündige Ausrichtung */
    grid-template-rows: auto;           /* Zeilenhöhe automatisch anpassen */
  }
}

/* Karten-Stil */
.service-card {
  background: #f9f9f9;
  border: 2px solid #ddd;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
 margin-bottom: 20px; /* Anpassbare Abstandshöhe */
 
  }

@media (max-width: 1000px) {
  .service-card {
    flex-direction: column; /* Elemente übereinander anordnen */
    align-items: stretch;   /* Ausrichtung auf die Breite des Containers */
  }

  .bild-container, .vertikal {
    width: 100%; /* Vollbreitige Anzeige der Komponenten */
  }

/* Hover-Effekt */
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}
}

.banner
{
display: inline-flex;
font-size: 1.5rem;
 justify-content: center;    /* Horizontale Zentrierung */
background-color: #c0392b;
font-weight: bold;
color: white;
height: 40px;
width: 25%;
align-items: center; 
border-radius: 5px;
min-width: 200px;
}





