/* #############################################
   ## LEISTUNGEN – CARDS
############################################# */

.leistungen-card {
    border: none;
    border-radius: .75rem;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 16px rgba(0,0,0,.08);
    transition: transform .25s ease, box-shadow .25s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    cursor: pointer;
  }
  
  
  .leistungen-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
  }

  .leistungen-card-top img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    object-position: 50% 20%;
  }
  
  .leistungen-card .card-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  
  .leistungen-card h5 {
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 1rem;
  }
  
  .leistungen-card p {
    flex: 1;
    color: #555;
    font-size: 1rem;
    margin-bottom: 1.25rem;
    line-height: 1.5;
  }
  
  .leistungen-card a {
    font-weight: 600;
    color: #17d68f;
    text-decoration: none;
    transition: color .2s;
  }
  
  .leistungen-card a:hover {
    color: #14c27b;
  }
  
  /* Hover Effekt */
  .leistungen-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
  }
  .icon-box {
    background: #fff;
    transition: transform .3s, box-shadow .3s;
    cursor: pointer;
  }
  .icon-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,.1);
  }
  
/* #############################################
## SECTION - VORHER UND DANACH
############################################# */
.before-after-section {
    display: flex;
    justify-content: center;
    padding: 40px 0;
    background: #fff;
}

.ba-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    aspect-ratio: 16 / 9;
    /* Dein Bild-Verhältnis */
    overflow: hidden;
}

/* Beide Bilder absolut, deckungsgleich, cover */
.ba-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Tag-Bild initial halb maskiert */
.ba-before {
    clip-path: inset(0 50% 0 0);
    /* oben rechts 50% wegschnippeln */
    z-index: 2;
}

/* Nacht-Bild darunter */
.ba-after {
    z-index: 1;
}

/* Handle-Linie */
.ba-handle {
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background: #fff;
    transform: translateX(-50%);
    cursor: ew-resize;
    z-index: 3;
}

.ba-handle::after {
    content: "⇆";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    border: 2px solid #ccc;
    border-radius: 50%;
    padding: 8px;
    font-size: 16px;
    line-height: 1;
}

.vorteil-box h3 {
  margin: 0;
}

.vorteil-box i {
  font-size: 2rem;
  color: var(--bs-primary); /* Bootstrap-Farbe */
}
