/* lora-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Lora';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/lora-v35-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* lora-italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Lora';
  font-style: italic;
  font-weight: 400;
  src: url('../fonts/lora-v35-latin-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* lora-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Lora';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/lora-v35-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* lora-500italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Lora';
  font-style: italic;
  font-weight: 500;
  src: url('../fonts/lora-v35-latin-500italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* lora-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Lora';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/lora-v35-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* lora-600italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Lora';
  font-style: italic;
  font-weight: 600;
  src: url('../fonts/lora-v35-latin-600italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* lora-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Lora';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/lora-v35-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* lora-700italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Lora';
  font-style: italic;
  font-weight: 700;
  src: url('../fonts/lora-v35-latin-700italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

body {
  font-family: Open Sans, serif;
}

* {
  scrollbar-width: thin;
  scrollbar-color: rgb(60, 118, 60) rgb(231, 244, 234);
}
*::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}
*::-webkit-scrollbar-track {
  background: rgb(231, 244, 234);
}
*::-webkit-scrollbar-thumb {
  background-color: rgb(60, 118, 60);
  border-radius: 20px;
  border: 3px solid rgb(60, 118, 60);
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Lora", serif;
  font-optical-sizing: auto;
  font-style: normal;
}

h3 {
  font-size: 1.2rem;
}
  
@media (min-width: 1200px) {
  h3 {
    font-size: 1.45rem;
  }
}

.navbar img.logo {
  max-height: 50px;
  position: absolute;
  top: 5px;
}
@media (min-width: 768px) {
  .navbar img.logo {
    position: absolute;
    top: -5px;
    background-color: #3c763d;
    max-height: 120px;
    border-radius: 50%;
    padding: 14px;
  }
}

.navbar {
  background-color: #3c763d; /* Waldgrün */
}
.navbar-brand, .nav-link {
  color: white !important;
}

/* Effekt für aktive und Hover-Links */
.nav-link {
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: white; /* Farbe des Strichs */
  transition: width 0.3s ease; /* Dauer und Art des Effekts */
}

/* Der Strich fährt bei Hover und aktivem Link aus */
.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}


#headerCarousel .carousel-item {
  height: 60vh; /* Höhe des Sliders */
  position: relative;
  background-size: cover;
  background-position: center;
}
.carousel-item {
  position: relative;
  background-size: cover;
  background-position: center;
}
/* Video anpassen, um wie ein Hintergrundbild zu fungieren */
.carousel-item video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* Zentriert das Video */
  object-fit: cover; /* Füllt den gesamten Container aus, ohne Verzerrung */
  width: 100%;
  height: 100%;
  z-index: 0; /* Video im Hintergrund */
}
.carousel-caption {
  background-color: rgba(60, 118, 61, 0.5); /* grünes Overlay */
  padding: 1rem;
  border-radius: 5px;
}
.btn-primary {
  background-color: #2a4a29; /* Dunkelgrün */
  border: none;
  transition: background-color 0.3s ease; /* Übergang bei Hover */
}
.btn-primary:hover {
  background-color: #3c763d; /* Etwas helleres Grün bei Hover */
}
.section-bg {
  background-color: #e6f4ea; /* Hellgrün */
  padding: 60px 0;
}
.section-bg2 {
  background-color: #f3fef6; /* Hellgrün */
  padding: 60px 0;
}
.section-white {
  background-color: #fff;
  padding: 60px 0;
}
.card {
  border: 1px solid #3c763d; /* Grüne Umrandung */
  transition: transform 0.3s ease, box-shadow 0.3s ease; /* Transition für Hover-Effekt */
}
.card:hover {
  transform: scale(1.05); /* Leichter Zoom bei Hover */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Schatten bei Hover */
}
.footer {
  background-color: #2a4a29; /* Dunkelgrün */
  color: white;
  padding: 20px 0;
}
.footer a {
  color: white;
}
.scroll-animation {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.scroll-animation.appear {
  opacity: 1;
  transform: translateY(0);
}
@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

.br-15 {
  border-radius: 15px;
}

.nav-phone {
  display: flex;
  align-items: center;
  font-weight: bold;
  font-size: 16px;
  color: white;
  margin-left: 30px;
}

.nav-phone a {
  text-decoration: none;
  color: white;
  display: flex;
  align-items: center;
}

.nav-phone svg, .nav-phone img {
  margin-right: 8px;
  width: 20px;
  height: 20px;
  filter: invert(1); /* Schwarz -> Weiß */
}

.nav-phone a:hover {
  text-decoration: underline;
}

.btn-success {
  background-color: #2a4a29;
  border: none;
  padding: 10px 15px;
}

.btn-success:hover {
  background-color: #3c763d;
}
