/* ==========================================================================
   📦 GRID-ÜBERSICHT
   ========================================================================== */
.kundenberichte-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(500px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: auto;
  padding: 2em;
  box-sizing: border-box;
}

.kundenbericht-box {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 3px 15px rgba(0,0,0,.1);
  padding: 20px;
  position: relative;
  padding-bottom: 3em;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.kundenbericht-box.visible {
  opacity: 1;
  transform: translateY(0);
}

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

.kundenbericht-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.kundenbericht-stars {
  color: #f5c518;
  font-size: 1.8em;
}

.kundenbericht-logo {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  object-fit: cover;
}

.kundenbericht-title {
  margin-top: 10px;
  font-size: 1.3em;
}

.kundenbericht-title a {
  text-decoration: none;
  color: #111;
}

.kundenbericht-text {
  margin: 10px 0 15px;
  color: #333;
  line-height: 1.5em;
}

.kundenbericht-footer {
  border-top: 1px dotted #ddd;
  padding-top: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: absolute;
  bottom: 0.5em;
  width: 100%;
  left: 0;
  padding: 0 1em;
  box-sizing: border-box;
}

.kundenbericht-footer a,
.kundenbericht-footer p {
  color: #004aad;
  text-decoration: none;
  padding: 0;
  margin: 5px;
}

.kundenberichte-button {
  background: #004aad;
  color: #fff;
  border: none;
  padding: 12px 25px;
  border-radius: 8px;
  cursor: pointer;
  display: block;
  margin: 30px auto;
  font-size: 1em;
}
.kundenberichte-button:disabled {
  background: #888;
  cursor: not-allowed;
}

/* ==========================================================================
   💬 EINZELANSICHT: ZITAT
   ========================================================================== */
.quote {
  display: flex;
  gap: 20px;
  align-items: center;
}

.kundenbericht-single .quote .kundenbericht-logo {
  width: 300px;
  height: 300px;
  border-radius: 8px;
  object-fit: cover;
  margin-right: 2em;
}

.kundenbericht-single .quote blockquote {
  position: relative;
  margin: 2em auto;
  padding: 1.5em 2em;
  font-size: 1.2em;
  line-height: 1.6;
  color: #222;
  background: #f8f8f8;
  border-left: 6px solid #8bc53e;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  font-style: italic;
}

.kundenbericht-single .quote blockquote::before {
  content: "“";
  position: absolute;
  top: -30px;
  left: 15px;
  font-size: 6em;
  color: rgba(0,115,170,0.2);
  line-height: 1;
  font-family: Georgia, serif;
}

.kundenbericht-single .quote blockquote cite {
  display: block;
  margin-top: 1em;
  font-size: 0.8em;
  font-style: normal;
  color: #555;
  text-align: right;
}
.kundenbericht-single .quote blockquote cite::before {
  content: "— ";
  color: #999;
}

/* ==========================================================================
   🪗 ACCORDION
   ========================================================================== */
.kundenbericht-accordion {
  border-top: 1px solid #ddd;
  margin-top: 1em;
}
.accordion-item {
  border-bottom: 1px solid #ddd;
}
.accordion-header {
  cursor: pointer;
  font-weight: 600;
  padding: 1em;
  background: #f7f7f7;
  transition: background 0.2s;
}
.accordion-header:hover {
  background: #eee;
}

/* Standard: geschlossen */
.accordion-body {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-5px);
  transition: max-height 0.5s ease, opacity 0.4s ease, transform 0.4s ease;
  padding: 0 2em;
  box-sizing: border-box;
}

/* Offen */
.accordion-item.active .accordion-body {
  max-height: 9999px;
  opacity: 1;
  transform: translateY(0);
  padding: 1em 2em;
}

/* Text & Bilder untereinander */
.accordion-body > div {
  width: 100%;
  padding: 0;
}

/* ==========================================================================
   🖼️ VORHER/NACHHER-GRID
   ========================================================================== */
.vorher-grid,
.ergebnis-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
  background: none;
}

.vorher-grid img,
.ergebnis-grid img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  cursor: zoom-in;
  transition: transform 0.2s ease;
}
.vorher-grid img:hover,
.ergebnis-grid img:hover {
  transform: scale(1.02);
}



.accordion-body {position: relative; padding:0em 2em; box-sizing: border-box;}


.start .accordion-header {background-color: #c5473e39; color:black;}
.start .accordion-body ul {list-style: none;}

.start .accordion-body ul li {
  position: relative;
	list-style: none;
	display: block;
	padding-left:1em;

}



.kundenbericht-accordion .accordion-body ul li p {font-size:0.9em;}

.start .accordion-body ul li::before {
	font-family: "Font Awesome 5 Free"; font-weight: 900; content: "\f057";
	color: #c5473e;
	margin-right:0.5em;
	position: absolute;
	left: -20px;
  top:3px;
}






.ziel .accordion-header {background-color: #ffff0038; color:black;}
.ziel .accordion-body ul {list-style: none;}

.ziel .accordion-body ul li {
  position: relative;
	list-style: none;
	display: block;
	padding-left:1em;

}

.ziel .accordion-body ul li::before {
	font-family: "Font Awesome 5 Free"; font-weight: 900; content: "\f05b";
	color: #0037ff;
	margin-right:0.5em;
	position: absolute;
	left: -20px;
  top:3px;
}







.ergebnis .accordion-header {background-color: #66ff0038; color:black;}
.ergebnis .accordion-body ul {list-style: none;}

.ergebnis .accordion-body ul li {
  position: relative;
	list-style: none;
	display: block;
	padding-left:1em;

}

.ergebnis .accordion-body ul li::before {
	font-family: "Font Awesome 5 Free"; font-weight: 900; content: "\f00c";
	color: #229c00;
	margin-right:0.5em;
	position: absolute;
	left: -20px;
  top:3px;
}







/* ==========================================================================
   📱 RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
  .kundenberichte-grid {
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    padding: 1.5em;
  }
  .kundenbericht-single .quote .kundenbericht-logo {
    width: 200px;
    height: 200px;
  }
}

@media (max-width: 768px) {
  .kundenberichte-grid {
    grid-template-columns: 1fr;
    padding: 5px;
    gap: 1.2rem;
  }

  .kundenbericht-footer {
    flex-direction: column;
    align-items: center;
    position: static;
    margin-top: 1rem;
  }

  .quote {
    flex-direction: column;
    text-align: center;
  }
  .kundenbericht-single .quote .kundenbericht-logo {
    width: 150px;
    height: 150px;
    margin: 0 auto 1rem;
  }

  .vorher-grid,
  .ergebnis-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .kundenbericht-title {
    font-size: 1.1em;
  }
  .kundenbericht-stars {
    font-size: 1.4em;
  }
}
