:root {
  --main-color: #c43b35;
  --nav-hover-bg: rgba(196, 59, 53, 0.1);
}

 body {
    font-family: 'Poppins', sans-serif;
  }

/* Navbar */
.navbar {
  background-color: #ffffff;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

/* Logo */
.navbar-brand img {
  height: 80px;
}

/* Nav-Links – optisch wie Buttons */
.navbar-nav .nav-link {
  color: var(--main-color) !important;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 30px;
  transition: all 0.3s ease;
  position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
  background-color: var(--nav-hover-bg);
  text-decoration: none;
}

/* Aktiver Link (optional manuell setzen) */
.navbar-nav .nav-item.active .nav-link {
  background-color: var(--main-color);
  color: #ffffff !important;
}

/* Dropdown-Menü */
.navbar-nav .dropdown-menu {
  background-color: #ffffff;
  border-radius: 0.5rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  border: none;
  padding: 0.5rem 0;
}

.dropdown-item {
  color: var(--main-color);
  padding: 10px 20px;
  transition: background-color 0.2s ease;
}

.dropdown-item:hover {
  background-color: var(--main-color);
  color: #ffffff;
  border-radius: 0;
}


.navbar-icons .icon-circle {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--main-color);
  color: #fff;
  border-radius: 50%;
  transition: background-color 0.3s ease;
  font-size: 16px;
  text-decoration: none;
}

.navbar-icons .icon-circle:hover {
  background-color: #a42f2b;
  text-decoration: none;
}


/* CAROUSEL/SLIDER */
.carousel-caption {
  bottom: 20%;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.carousel-caption .headline {
  font-size: 3rem;
  font-weight: 600;
  animation: fadeInUp 1s ease forwards;
  opacity: 0;
}

.carousel-caption .subline {
  font-size: 1.2rem;
  font-weight: 400;
  animation: fadeInUp 1.3s ease forwards;
  opacity: 0;
}

.carousel-item.active .carousel-caption .headline,
.carousel-item.active .carousel-caption .subline {
  opacity: 1;
}

@keyframes fadeInUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0px);
    opacity: 1;
  }
}

.carousel-control-prev{
  width: 50px;
  height: 50px;
  top: 50%;
  transform: translateY(-50%);
  background-color: #595858;
  border-radius: 50%;
  opacity: 1;
  transition: background-color 0.3s ease;
  margin-left:10%;
}

.carousel-control-next {
  width: 50px;
  height: 50px;
  top: 50%;
  transform: translateY(-50%);
  background-color: #595858;
  border-radius: 50%;
  opacity: 1;
  transition: background-color 0.3s ease;
  margin-right:10%;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  background-color: #444444;
}

/* Zentriere das Icon innerhalb */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-size: 70% 70%;
  filter: invert(100%); /* Macht das Icon weiß */
}

/* CONTENT */
.content-section {
  background-color: #f4f4f4;
  color: #333;
}

.main-heading {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--main-color);
  line-height: 1.4;
}


.section-heading {
  font-size: 1.2rem;
  font-weight: 600;
  color: #000000;
  line-height: 1.4;
}

.contact-btn {
  background-color: var(--main-color);
  color: #fff;
  font-weight: 500;
  padding: 10px 20px;
  border-radius: 30px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.contact-btn:hover {
  background-color: #a42f2b;
  color: #fff;
  text-decoration: none;
}


.info-split-section {
  background-color: #f4f4f4;
  color: #333;
}

.info-title {
  font-size: 1.5rem;
  color: var(--main-color);
  font-weight: 600;
}

.custom-list {
  padding-left: 1.2rem;
  margin-bottom: 1rem;
}

.custom-list li {
  margin-bottom: 0.6rem;
  position: relative;
}

.team-section {
  background-color: #ffffff;
  color: #333;
}

.team-img {
  width: 180px;
  height: 180px;
  object-fit: cover;
  object-position: center -10px;
  border-radius: 50%;
  border: 3px solid #ddd;
}

.team-img2 {
  width: 180px;
  height: 180px;
  object-fit: cover;
  object-position: center -30px;
  border-radius: 50%;
  border: 3px solid #ddd;
}

.team-img3 {
  width: 180px;
  height: 180px;
  object-fit: cover;
  object-position: center -80px;
  border-radius: 50%;
  border: 3px solid #ddd;
}

.team-bio {
  font-size: 0.95rem;
  color: #555;
}

.quote-hint-section {
  background-color: #f9f9f9;
  color: #333;
}

.quote-hint-section .custom-list {
  padding-left: 1.2rem;
}

.quote-hint-section .custom-list li {
  margin-bottom: 0.5rem;
}

.quote-hint-section a {
  color: var(--main-color);
  font-weight: 500;
  text-decoration: underline;
}

.quote-hint-section a:hover {
  color: #a42f2b;
  text-decoration: none;
}


/* Leistungsbereich – Cards */
.leistungen-section {
  background-color: #f9f9f9;
}

.leistungen-section .card {
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
  border-radius: 0.75rem;
  border: none;
  padding: 1.25rem;
  height: 100%;
}

.leistungen-section .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.leistungen-section .card h5 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  color: #c43b35; /* Primary Farbe */
}

.leistungen-section .card h5 i {
  font-size: 1.2rem;
  margin-right: 10px;
  color: #c43b35; /* Primärfarbe für Icon */
}

.leistungen-section .card p {
  margin: 0;
  font-size: 0.95rem;
  color: #444;
}

.content-link {color:#c43b35;
              text-decoration: none;}

.content-link:hover {color:#c43b35;
                    text-decoration: none;}

.gallery-thumb {
      width: 100%;
      height: 250px;
      object-fit: cover;}

.btn-primary {
  color: #fff;
  background-color: #c43b35;
  border-color: #c43b35;
}

.btn-primary:hover {
  color: #fff;
  background-color: #c43b35;
  border-color: #c43b35;
}


.closing-line {
  background-color: #ececec;
  border-top: 2px solid var(--main-color);
  margin-bottom: -3%;
}

.closing-text {
  font-size: 1.2rem;
  color: #222;
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 0;
  padding: 0 1rem;
}


.footer {
  background-color: #f9f9f9;
  padding: 60px 0 20px;
  color: #333;
  font-size: 14px;
}

.footer h5 {
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--main-color);
}

.footer ul {
  padding-left: 0;
  list-style: none;
}

.footer ul li {
  margin-bottom: 8px;
}

.footer ul li a {
  color: #333;
  text-decoration: none;
  transition: color 0.3s;
}

.footer ul li a:hover {
  color: var(--main-color);
  text-decoration: none;
}

.footer-logo {
  max-width: 140px;
  height: auto;
}

.footer a {
  color: #333;
}

.footer a:hover {
  color: var(--main-color);
}

.footer i {
  color: var(--main-color);
}

/* To-Top Button */
#toTopBtn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  background-color: #595858;
  color: white;
  border: none;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  font-size: 18px;
  cursor: pointer;
  display: none;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  transition: background-color 0.3s ease, transform 0.3s ease;
}

#toTopBtn:hover {
  background-color: hsl(2, 58%, 41%);
  transform: translateY(-2px);
}





@media (max-width: 768px) and (orientation:portrait) {

.navbar-brand img {
  height: 73px;
}

.navbar-light .navbar-toggler {
  color: rgba(0,0,0,.5);
  border-color: rgba(0,0,0,.1);
  margin-left: 40%;
}

.rounded {
  border-radius: .25rem !important;
  margin-bottom: 10px;
}

}