/* EVC Team Plugin CSS */

/* Überschriften */
h1 { color: #304e5a !important; }
h3 {
	margin-bottom: 1rem!important;
}

.evc-team-teaser,
.evc-team-faq {
	background-color: #f5f5f5;
}

/* Services Section */
.evc-team-services {
	color: #fff;
	text-align: center;
	background-color: #304e5a;
}
.evc-team-services br {
	display: none;
}

.evc-team-services ul {
	color: #333;
	list-style: none;
	padding: 0;
	margin: 1.5rem 0 0 0;

	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
}

/* ab 992px: max. 3 Cards nebeneinander */
@media (min-width: 992px) {
  .evc-team-services ul {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.evc-team-services ul li {
  background: #fff;
  border-radius: 0.75rem;
  padding: 1.75rem 1.25rem;
  text-align: center;

  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

/* ICON – immer oben mittig */
.evc-team-services ul li i,
.evc-team-services ul li .icon,
.evc-team-services ul li svg {
  font-size: 2.25rem;
  margin-bottom: 1rem;
  color: #304e5a;
}

/* Titel */
.evc-team-services ul li strong {
  display: block;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

/* Text */
.evc-team-services ul li {
  line-height: 1.45;
}

/* Button immer unten */
.evc-team-teaser a,
.evc-team-services ul li a {
  margin-top: auto;
  display: inline-block;
  padding: 0.5rem 1.25rem;
  margin-top: 1rem;
  border-radius: .75rem;
  background: #778965;
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
}
.evc-team-teaser a:hover,
.evc-team-services ul li a:hover {
  opacity: 0.9;
}

/* Vorteile Liste */
.evc-team-advantages ul {
	list-style: none;
	padding: 0;
	margin: 0;

	column-count: 1;
	column-gap: 2rem;
}
.evc-team-advantages ul li {
	position: relative;
	padding-left: 2rem; /* Platz für Icon */
	margin-bottom: 1rem;
	break-inside: avoid; /* verhindert unschöne Umbrüche */
}
.evc-team-advantages ul li i {
	position: absolute;
	left: 0;
	top: 0.25em;
	width: 1.4rem;
	text-align: center;
	color: #778965;
}
.evc-team-advantages ul li strong {
	display: inline;
}

/* Accordion */
.accordion-header {
	margin-bottom: 0 !important;
}
.accordion-button:not(.collapsed) {
    background-color: #304e5a !important;
}

/* ab 768px */
@media (min-width: 768px) {
	/* Vorteile Liste 2 Spalten */
	.evc-team-advantages ul {
		column-count: 2;
	}
}

/* ab 1200px */
@media (min-width: 1200px) {
	section {
		padding: 3rem 0 !important;
	}
}

footer {
    background-color: #333 !important;
}