@charset "UTF-8";
/* Prevent horizontal scrolling */
html,
body {
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

/* Ensure all containers respect viewport width */
.container,
.container-fluid,
.row,
[class*=col-] {
  padding-left: 15px;
  padding-right: 15px;
}

.slider {
  width: 70%;
  margin: 0 auto; /* Zentriert den Slider horizontal */
}

.shadow-green {
  -webkit-box-shadow: 5px 5px 50px 15px #49574c;
  box-shadow: 5px 5px 50px 15px #49574c;
}

.accordion-button {
  font-size: 2.5rem; /* Entspricht in etwa display-2 */
  font-weight: bold; /* Falls gewünscht */
}

html {
  scroll-behavior: smooth;
}

.navbar-toggler-icon {
  filter: brightness(0) invert(1);
}

/* Rand des Buttons anpassen */
.navbar-toggler {
  border: 2px solid white; /* Dicker weißer Rand */
}

/* Hover-Effekt anpassen */
.navbar-toggler:hover {
  background-color: rgba(255, 255, 255, 0.1); /* Leichter weißer Hintergrund beim Hover */
  border-color: white; /* Weißer Rand beim Hover */
}

/* Fokus-Effekt anpassen */
.navbar-toggler:focus {
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.5); /* Weißer Fokus-Ring */
}

.form-control::placeholder {
  color: #a0a0a0; /* Grauer Farbton */
  opacity: 1; /* Standardmäßig ist der Placeholder leicht transparent, daher opak setzen */
}

/* Ändert die Textfarbe in den Input-Feldern */
.form-control {
  color: white; /* Weiße Textfarbe */
}

/* Stellt sicher, dass der Text auch im Fokus-Zustand weiß bleibt */
.form-control:focus {
  color: white; /* Weiße Textfarbe */
}

/*Button*/
/* CSS */
.button-71 {
  background-color: #0078d0;
  border: 0;
  border-radius: 56px;
  color: #fff;
  cursor: pointer;
  display: inline-block;
  font-size: 18px;
  font-weight: 600;
  outline: 0;
  padding: 16px 21px;
  position: relative;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}

.button-71:before {
  background-color: initial;
  background-image: linear-gradient(#fff 0, rgba(255, 255, 255, 0) 100%);
  border-radius: 125px;
  content: "";
  height: 50%;
  left: 4%;
  opacity: 0.5;
  position: absolute;
  top: 0;
  transition: all 0.3s;
  width: 92%;
}

.button-71:hover {
  box-shadow: rgba(255, 255, 255, 0.2) 0 3px 15px inset, rgba(0, 0, 0, 0.1) 0 3px 5px, rgba(0, 0, 0, 0.1) 0 10px 13px;
  transform: scale(1.05);
}

@media (min-width: 768px) {
  .button-71 {
    padding: 16px 48px;
  }
}
.project:hover {
  transform: scale(1.05);
  transition: all 0.5s ease-in-out;
  opacity: 0.8;
}

.project img {
  aspect-ratio: 16/9;
  object-fit: cover;
  width: 100%;
  height: auto;
  border-radius: 0.5rem;
}

.carousel-item img {
  aspect-ratio: 16/9; /* Passt perfekt für Webseiten-Screenshots */
  object-fit: cover;
  object-position: center;
  width: 100%;
  height: auto;
}

@media (max-width: 1199px) {
  #dienstleistungstext {
    text-align: center !important;
    padding: 0 !important;
    line-height: normal !important;
  }
  .responsive-br::after {
    content: "\a"; /* Fügt einen Zeilenumbruch hinzu */
    white-space: pre; /* Beibehaltung des Umbruchs */
  }
  #div-dienstleistungen {
    padding: 20px !important;
  }
  li {
    padding: 20px;
  }
}
@media (max-width: 570px) {
  .responsive-button {
    margin-top: 1.5rem !important; /* my-4 entspricht 1.5rem */
    margin-bottom: 1.5rem !important;
  }
}
@media (max-width: 768px) {
  #carouselExampleIndicators {
    width: 100%;
    margin: 0 auto;
  }
}
/* Service Cards Animation */
.service-card {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateY(0) scale(1);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  opacity: 0;
  transform: translateY(50px);
}
.service-card.animate {
  animation: slideUpFade 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
.service-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.7);
}
.service-card:hover i {
  transform: scale(1.1);
  color: #198754;
}
.service-card i {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideUpFade {
  0% {
    opacity: 0;
    transform: translateY(50px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
.contact-item {
  transition: all 0.3s ease;
  padding: 0.5rem 1rem;
  border-radius: 8px;
}

.contact-item:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateX(5px);
}

.contact-item a {
  transition: all 0.3s ease;
}

.contact-item:hover a {
  color: #198754 !important; /* Bootstrap success color */
}

.contact-item:hover svg {
  transform: scale(1.1);
  fill: #198754;
}

/* Timeline Styles */
.timeline {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.timeline::after {
  content: "";
  position: absolute;
  width: 6px;
  background-color: white;
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -3px;
  border-radius: 3px;
}

.timeline-item {
  padding: 10px 40px;
  position: relative;
  width: 50%;
  opacity: 0;
  transform: translateX(-100px);
  transition: all 0.8s ease;
}

.timeline-item.right {
  left: 50%;
  transform: translateX(100px);
}

.timeline-item.show {
  opacity: 1;
  transform: translateX(0);
}

.timeline-content {
  padding: 20px;
  position: relative;
  border-radius: 6px;
}

.timeline-item::after {
  content: "";
  position: absolute;
  width: 25px;
  height: 25px;
  background-color: white;
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
}

.timeline-item.left::after {
  right: -12px;
}

.timeline-item.right::after {
  left: -12px;
}

@media screen and (max-width: 768px) {
  .timeline::after {
    left: 31px;
  }
  .timeline-item {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
  }
  .timeline-item.right {
    left: 0;
  }
  .timeline-item.left::after,
  .timeline-item.right::after {
    left: 19px;
  }
}
/* Project Cards Styling */
.project-card {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(50px);
}

.project-card.animate {
  animation: fadeInUp 0.6s ease-out forwards;
}

.project-card:hover {
  transform: translateY(-10px);
}

.project-image {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.project-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
  transform: scale(1.1);
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  padding: 1rem;
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-info {
  text-align: center;
  transform: translateY(20px);
  transition: transform 0.3s ease;
  width: 100%;
}

.project-card:hover .project-info {
  transform: translateY(0);
}

.project-info h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.project-info p {
  font-size: 0.9rem;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.project-info .btn {
  transition: all 0.3s ease;
  font-size: 0.9rem;
  padding: 0.5rem 1.5rem;
}

/* Animation for project cards */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Kostenloses Angebot Button Hover Effect */
.btn-info {
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  border: none;
  background: var(--bs-info);
  color: white;
  font-weight: bold;
}

.btn-info:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 0 100px rgba(255, 255, 255, 0.7);
  background: var(--bs-info);
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
  color: white;
}

.btn-info:active {
  transform: translateY(-2px) scale(0.98);
  box-shadow: 0 0 50px rgba(255, 255, 255, 0.5);
  background: var(--bs-info);
}

/* Carousel Styles */
.carousel-section {
  padding: 4rem 0;
  background: var(--bs-primary);
}

.carousel {
  max-width: 1200px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 0 70px 20px rgba(255, 255, 255, 0.5);
}

.carousel-item {
  background: rgba(0, 0, 0, 0.1);
}

.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

/* Navigation Controls */
.carousel-control-prev,
.carousel-control-next {
  width: 50px;
  height: 50px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.8;
  transition: all 0.3s ease;
}

.carousel-control-prev {
  left: 20px;
}

.carousel-control-next {
  right: 20px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  background: var(--bs-info);
  opacity: 1;
  transform: translateY(-50%) scale(1.1);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 25px;
  height: 25px;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .carousel-item {
    height: auto;
  }
}
@media (max-width: 768px) {
  .carousel-item {
    height: auto;
  }
}
@media (max-width: 576px) {
  .carousel-item {
    height: auto;
  }
  .carousel-control-prev,
  .carousel-control-next {
    width: 40px;
    height: 40px;
  }
  .carousel-control-prev-icon,
  .carousel-control-next-icon {
    width: 20px;
    height: 20px;
  }
}
/* Responsive adjustments for project cards */
@media (min-width: 768px) {
  .project-overlay {
    padding: 2rem;
  }
  .project-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }
  .project-info p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }
  .project-info .btn {
    font-size: 1rem;
    padding: 0.75rem 2rem;
  }
}
