/* ==========================
   GLOBAL SITE CONTAINER
========================== */
.site-container {
  max-width: 1400px;
  margin: 0 auto;
  padding-left: 30px;
  padding-right: 30px;
  box-sizing: border-box;
}

/* ==========================
   HERO
========================== */
.hero-content {
  width: 100%;
  margin-bottom: 80px;
}

/* ==========================
   CARDS UNTER HERO-BILD
========================== */
.cards-section .cards-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px; 
  width: 100%;
  margin: 0 auto 80px auto;
}

/* ==========================
   SECTION – #leistungen
========================== */
#leistungen {
  padding: 0 0 80px;
  font-family: Arial, sans-serif;
  width: 100%;        /* volle Breite innerhalb Container */
  max-width: 1400px;  /* gleich wie Galerie */
  margin: 80px auto 0 auto;
  padding-left: 0;
  padding-right: 0;
}

#leistungen .section-header {
  margin-bottom: 20px;
}

@media (min-width: 1025px) {
  .leistungen-grid {
    margin-left: 0;
    margin-right: 0;
  }
}

/* GRID für Leistungen */
.leistungen-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px; 
  width: 100%;
}

/* BOXEN */
.leistung-item {
  padding: 2rem;
  border: 1px solid #e1e4e8;
  border-radius: 3px;
  background: #ffffff;
}

.leistung-item h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #1a2b44;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  position: relative;
}

.leistung-item h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 3px;
  background-color: #1E73BE;
}

.leistung-item h3::before {
  content: "";
  position: absolute;
  left: 60px;
  bottom: 1px;
  right: 0;
  height: 1px;
  background-color: #d5d5d5;
}
.leistung-item p {
  font-size: 1.05rem;
  color: #333;
  line-height: 1.7;
  margin: 0;
  text-align: left;
}



/* ==========================
   RESPONSIVE
========================== */
/* Tablet */
@media (max-width: 1024px) {
  .cards-section .cards-container,
  .leistungen-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

/* Handy */
@media (max-width: 600px) {
  .cards-section .cards-container,
  .leistungen-grid
   {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}
/* RESPONSIVE - Leistungen */
@media (max-width: 1024px) {
  .leistungen-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

@media (max-width: 600px) {
  .leistungen-grid {
    grid-template-columns: 1fr; /* einspaltig */
    gap: 30px;
  }
}





/* ==========================
   Leistungen
========================== */
.leistungen-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px; /* mehr Luft fÇ¬r groÇ?ere Cards */
  width: 100%;
}

/* BOXEN – keine Rundungen, kein Schatten */
.leistung-item {
  padding: 2rem;
  border: 1px solid #e1e4e8;
  border-radius: 3px;
  background: #ffffff;
  box-shadow: none;
  position: relative;
  overflow: hidden;
  transition: border-color 0.5s ease-in-out;
}

.leistung-item h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #1a2b44;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  position: relative;
}

.leistung-item h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 3px;
  background-color: #1E73BE;
}

.leistung-item h3::before {
  content: "";
  position: absolute;
  left: 60px;
  bottom: 1px;
  right: 0;
  height: 1px;
  background-color: #d5d5d5;
}
.leistung-item p {
  font-size: 1.05rem;
  color: #333;
  line-height: 1.7;
  margin: 0;
  text-align: left;
}

.leistung-item > * {
  position: relative;
  z-index: 1;
}


/* Tablet */
@media (max-width: 1024px) {
  .leistungen-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

/* Handy */
@media (max-width: 600px) {
  .leistungen-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}





/* Handy */
@media (max-width: 600px) {
  .cards-section .cards-container,
  .leistungen-grid
   {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  /* Graue Umrandung auf Mobil entfernen */
  .leistung-item {
    border: none;
  }
}


@media (max-width: 600px) {
  #leistungen {
    padding-left: 12px;
    padding-right: 12px;
  }
  .leistungen-grid {
    padding-left: 0;
    padding-right: 0;
    gap: 20px;
  }
  .leistung-item {
    border-left: none;
    border-right: none;
    padding: 1.5rem;
  }
}


