/* fonts einbinden */

/* Reset und Basis-Styling */

body, html {
  margin: 0;
  padding: 0;
  font-family: 'Outfit', 'Noto Sans', 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333;
  background-color: #f8f9fa;
  scroll-behavior: smooth;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: 20px auto;
  padding: 20px 0;
}

h1, h2, h3 {
  color: #00509e;
}

/* Header / Hero Section */

.hero {
  background-image: linear-gradient(rgba(0, 40, 80, 0.6), rgba(0, 40, 80, 0.6)), url('../../assets/img/photo-1470071459604-3b5ec3a7fe05.jpeg');
  background-size: cover;
  background-position: center;
  color: #ffffff;
  text-align: center;
  padding: 100px 20px;
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.hero h1 {
  font-size: 2.8em;
  margin-bottom: 10px;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.hero p {
  font-size: 1.4em;
  margin-bottom: 40px;
  max-width: 700px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

/* Sektionen Allgemein */

nav {
  margin-top: 30px;
  padding-top: 0px;
  text-align: center;
}

nav a {
  color: #28a745;
}

section {
  padding: 60px 0;
  text-align: center;
}

section:nth-child(even) {
  background-color: #ffffff;
}

section h2 {
  font-size: 2.2em;
  margin-bottom: 20px;
  position: relative;
  color: #00509e;
}

section h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background-color: #28a745;
  margin: 10px auto 0;
}

.intro-text p {
  font-size: 1.4em;
  max-width: 800px;
  margin: 0 auto 20px auto;
  color: #555555;
}

/* Angebote Sektion */

.angebote-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  /*display: grid;*/
  /*grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));*/
  /*gap: 10px;*/
  text-align: left;
}

.angebot-item {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 3;
  background-color: #ffffff;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.angebot-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.angebot-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 5px 5px 0 0;
  margin-bottom: 15px;
}

.angebot-item h3 {
  margin-bottom: 10px;
  font-size: 1.8em;
  /*min-height: 2.2em;*/
  margin-top: 0;
  /*margin-bottom: 10px;*/
  color: #28a745;
}

.angebot-item.energiearbeit h3 {
  color: #6a0dad;
}

.angebot-item p {
  font-size: 1.4em;
}

/* "Warum mit mir arbeiten?" Sektion */

#warum {
  background-color: #e6f7ff;
}

#warum p {
  font-size: 1.5em;
  max-width: 800px;
  margin: 0 auto;
  color: #444444;
}

/* Content Section allgemein */

.small-section {
  width: 90%;
  max-width: 1100px;
  margin: 20px auto;
  padding: 0px 0;
  background-color: #e6f7ff;
  text-align: left;
}

.small-section p {
  font-size: 1.3em;
  max-width: 800px;
  margin: 0 20px;
  color: #444444;
}

.content {
  width: 90%;
  max-width: 1100px;
  margin: 20px auto;
  padding: 20px 0;
  background-color: #e6f7ff;
  text-align: left;
}

.content h2 {
  font-size: 2.2em;
  margin-bottom: 20px;
  position: relative;
  color: #00509e;
}

.content h3 {
  font-size: 2.0em;
  margin-bottom: 20px;
  margin-top: 20px;
  padding-left: 40px;
  position: relative;
  color: #00509e;
}

.content h2::after {
  content: '';
  display: block;
  width: 100px;
  height: 3px;
  text-align: left;
  background-color: #28a745;
  margin: 10px 0 0 0;
}

.content p {
  font-size: 1.3em;
  max-width: 800px;
  margin: 0 40px;
  color: #444444;
}

/* "Kontakt" Sektion */

#kontakt p {
  font-size: 1.5em;
  max-width: 800px;
  margin: 0 auto;
  margin-bottom: 20px;
  color: #444444;
}

#kontakt a {
  margin-top: 20px;
}

/* Call to Action / Kontakt */

.cta-button {
  display: inline-block;
  background-color: #fd7e14;
  color: white;
  padding: 15px 30px;
  text-decoration: none;
  border-radius: 5px;
  font-size: 1.2em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.cta-button:hover {
  background-color: #e66a00;
  transform: translateY(-2px);
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

.hero .cta-button {
  background-color: #fd7e14;
}

.hero .cta-button:hover {
  background-color: #e66a00;
}

/* Footer */

footer {
  margin-bottom: 30px;
  background-color: #004080;
  color: #eaf6f6;
  text-align: center;
  padding: 30px 0;
}

footer p {
  margin: 5px 0;
  font-size: 0.9em;
}

footer a {
  color: #80c980;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
  color: #a0d9a0;
}

/* Responsive Anpassungen */

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .hero p {
    font-size: 1.2em;
  }
}

@media (max-width: 768px) {
  section h2 {
    font-size: 1.8em;
  }
}

@media (max-width: 768px) {
  .angebote-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .angebot-item img {
    height: 180px;
  }
}

