@import url("../css/bootstrap-icons.min.css");

/* eigene CSS */

/* ==========================================
   SCHRIFTEN 
   ========================================== */
/* barlow-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: 'Barlow';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/barlow-v13-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* barlow-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: 'Barlow';
  font-style: italic;
  font-weight: 400;
  src: url('../fonts/barlow-v13-latin-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* barlow-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: 'Barlow';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/barlow-v13-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* barlow-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: 'Barlow';
  font-style: italic;
  font-weight: 500;
  src: url('../fonts/barlow-v13-latin-500italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* barlow-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: 'Barlow';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/barlow-v13-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* barlow-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: 'Barlow';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/barlow-v13-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* ==========================================
   BOOTSTRAP FARBEN ÜBERSCHREIBEN 
   ========================================== */
:root {
  --bs-primary: #018d36;       /* Hauptfarbe neu Grün */
  --bs-primary-rgb: 1, 141, 54;
  
  --bs-secondary: #7b4614;     /* Zweitfarbe neu Braun */
  --bs-secondary-rgb: 123, 70, 20;

  --custom-third: #68b42e;     /* dritte Farbe Hellgrün (eigene Variable) */
  --custom-fourth: #006837;      /* vierte Farbe Dunkelgrün (eigene Variable) */
  
  --bs-dark-rgb: 66, 66, 66; /* Grau */
  
  
  /* Überschreibt die globale Linkfarbe mit Ihrer Primary-Farbe */
  --bs-link-color: var(--bs-primary);
  --bs-link-color-rgb: var(--bs-primary-rgb);

  /* Optional: Farbe beim Drüberfahren (Hover) etwas dunkler anpassen */
  --bs-link-hover-color: #016b29;
  --bs-link-hover-color-rgb: 1, 107, 41;
}

/* Eigene Klasse für die dritte Farbe, da Bootstrap nur Primary/Secondary vorgibt */

.btn-third {
  background-color: var(--custom-third);
  border-color: var(--custom-third);
  color: #ffffff;
  transition: all 0.2s ease-in-out;
}

.btn-third:hover {
  background-color: #569428; /* Ein etwas dunklerer Ton meiner Farbe */
  border-color: #569428;
  color: #ffffff;
}

.text-third {
  color: var(--custom-third);
}

/* ==========================================
   ALLGEMEIN 
   ========================================== */
html {
	scroll-behavior: smooth;
}

body {
  color: var(--bs-secondary);
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 500;
}



.bd-btn-top {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  z-index: 1000;
  bottom: 90px !important;
  position: fixed !important;
  right: 0 !important;
  margin: 1rem !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.bd-btn-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.bd-btn-top i {
	color: #fff;
  font-size: 18px;
  line-height: 1;
}

@media (min-width: 768px) {
.bd-btn-top {
    bottom: 0px !important;
  }
  
  .bd-column-count-2 {
	  column-count: 2; column-gap: 2rem;
  }
}


/* Tablet (ab 768px - Bootstrap 'md' Breakpoint) */
@media (min-width: 768px) {
  body {
    --bs-body-font-size: 18px;
  }

  .btn {
    font-size: 1.125rem;
  }
}

/* Desktop (ab 992px - Bootstrap 'lg' Breakpoint) */
@media (min-width: 992px) {
  body {
    --bs-body-font-size: 20px;
  }

  .btn {
    font-size: 1.25rem;
  }

}

h1 {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 700;
}

h2 {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 700;
}

p em {
  font-family: 'Barlow';
  font-style: italic;
  font-weight: 500;
}

.btn {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 400;
}

.lead {
  font-family: 'Barlow';
  font-style: italic;
  font-weight: 500;
  color: var(--custom-third);
  font-size: 1.5rem;
}

@media (max-width: 767.98px) {
  .bd-mobile-row {
    margin-left: 0;
    margin-right: 0;
  }
}

@media screen and (min-width: 992px) {
  .container-narrow {
    max-width: 800px;
    margin: 0 auto;
  }

  .bd-narrow {
    max-width: 800px;
    margin: 0 auto;
  }

  .bd-text-zweispaltig {
    column-count: 2;
    column-gap: 2rem; /* Abstand zwischen den Spalten */
  }

  .bd-text-dreispaltig {
    column-count: 3;
    column-gap: 2rem; /* Abstand zwischen den Spalten */
  }

  .bd-column-span-all {
      column-span: all;
  }
}

@media screen and (min-width: 568px) {
.content-columns {
  column-count: 2;
  column-gap: 2rem;
}

.title-column-span {
  column-span: all;
}

.kurs-block {
  break-inside: avoid; /* Der gesamte Block bleibt in einer Spalte zusammen */
  display: inline-block; /* Zusätzliche Absicherung für ältere Browser */
  width: 100%; 
}
}


.accordion-button:not(.collapsed) {
  background-color: var(--bs-primary);
 color: #ffffff;
}

.accordion-button:not(.collapsed)::after {
  color: #ffffff;
}

ul.bd-list {
  list-style-type:  none;
  padding-left: 1rem;
  line-height: 1.8;
}

.list-group.bd-referenz .list-group-item {
  border-bottom: 1px solid #ffffff;
  border-left: none;
  border-right: none;
  color: #ffffff;
  background: none;
  border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}


.list-group.bd-referenz .list-group-item:last-of-type {
  border-bottom: none;
}

.accordion-button {
  font-size: 1.5rem;
}

@media screen and (max-width: 767px) {
.bug {
  max-width: 20%;
}
}


.form-control {
      background: rgba(255, 255, 255, 0.8);
    border: 2px solid #fff;
}

/* ==========================================
   KOPFBILDER 
   ========================================== */
body.home .bd-site-header { 
	min-height: 650px;
}


.bd-site-header {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  min-height: 300px;
  position: relative;
}

@media screen and (min-width: 992px) {
	.bd-site-header {
		min-height: 500px;
	}
}

.bd-site-header {
	background-image: url(../img/section/header-wald-sommer-212991302-allouphoto-adobe-stock.jpg); /* Sommer-Bild */
  /*background-image: url(../img/section/header-wald-fruehling-571483189-leonid-tit-adobe-stock.jpg);*/ /* Frühling */
  /*background-image: url(../img/section/header-wald-herbst-118182484-denis_333-adobe-stock.jpg);*/ /* Herbst-Bild */
  /*background-image: url(../img/section/header-wald-winter-175382669-candy1812-adobe-stock.jpg);*/ /* Winter-Bild */
  background-position: bottom center;
}

/* ==========================================
   HEADER + HAUPTMENÜ 
   ========================================== */
.bd-site-header .blockquote {
  font-size: 1.75rem;
  font-weight: 700;
  color: #ffffff;
  max-width: 680px;
}

.bd-site-header .blockquote-footer {
  color: #ffffff;
}

.bd-site-header .blockquote, .bd-site-header .blockquote-footer {
  text-shadow: 2px 2px 8px rgba(0,0,0,.6);
}

.bd-header-content {
  font-size: 1.5rem;
  max-width: 380px;
  text-shadow: 2px 2px 8px rgba(0,0,0,.6);
}

header .navbar {
  padding-top: 0;
}

header .navbar-brand {
  background: rgba(255, 255, 255, 0.7);
  padding: 2rem 1rem 1rem 1rem;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  border-left: 2px solid #fff;
  border-bottom-right-radius: 10px;
  border-bottom-left-radius: 10px;
}

header .navbar-brand img {
  height: 90px;
}

header .navbar-nav {
  margin-top: 1rem;
}

header .navbar-nav .dropdown-item {
  color: #ffffff;
}

header .dropdown-item.active, header .dropdown-item:active {
	background-color: #ffffff;
	color: #000000;
}

header .navbar-toggler {
  background: rgba(255, 255, 255, 0.7);
  border: 2px solid #fff;
}

header .nav-item {
  background: rgba(255, 255, 255, 0.7);
  border: 2px solid #fff;
  border-radius: 10px;
}

header .nav-link {
  padding-left: 1rem;
  font-weight: 600;
}

header .navbar-nav > .nav-item > .nav-link {text-transform: uppercase;}

header .dropdown-toggle {
  font-size: 1.2rem;
}

header .dropdown-menu.show {
  background: none;
  border: none;
  margin-left: 0.5rem;
  margin-right: 0.5rem;
}

header .dropdown-menu.show li {
  border-bottom: 1px solid #ffffff;
}

header .navbar-nav .dropdown-item:hover {
  color:#000000;
}

header .dropdown-menu.show li:last-of-type {
  border: none;
}

header .nav-item.bd-active {
  background: rgba(104, 180, 46, 0.85);
}

header .nav-item:hover {
  background: rgba(1, 141, 54, 0.85);
}

header .nav-item:hover .nav-link {
  color: #ffffff;
}

.navbar-nav .nav-link.active {
  color: #ffffff;
}

header .navbar-nav .nav-link {
  color: var(--bs-secondary);
}

.nav-item.bd-active .dropdown-toggle-split::after {
  color: #ffffff;
}

@media (max-width: 991px) {
	
	
	.navbar-nav .nav-item:has(.dropdown-toggle.show) {
    background-color: rgba(1, 141, 54, 0.85);
	}
	
	.navbar-nav .nav-item:has(.dropdown-toggle.show) .nav-link {
    color: #fff;
}

	header .navbar {
		z-index: 500;
		padding-bottom: 6rem;
	}

	


	header .navbar .dropdown {
    flex-wrap: wrap;
  }
  
  header .navbar .dropdown-menu {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    flex-basis: 100%;
    box-sizing: border-box;
  }

	
}





@media (min-width: 992px) {
  header .navbar > .container {
    align-items: flex-start;
  }

  .navbar-expand-lg .navbar-nav .nav-link {
    padding-top: 2.5rem;
    
  }

  .navbar-expand-lg .navbar-nav .dropdown-menu {
        /*position: absolute;*/
        background: rgba(1, 141, 54, 0.85);
        margin: 0.5rem 0 0 0;
        border: 2px solid #ffffff;
    }
	
	

	
	

  .navbar-expand-lg .navbar-collapse {
    flex-grow: unset;
  }

  header .navbar-nav {
    margin-top: 0;
  }

  header .nav-item {
  background: rgba(255, 255, 255, 0.7);
  border-top: 0;;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  border-left: 2px solid #fff;
  border-top-right-radius: 0;
  border-top-left-radius: 0;
  border-bottom-right-radius: 10px;
  border-bottom-left-radius: 10px;
}

.navbar-nav-lg-justified {
    width: 100%; /* Ersetzt die w-100 Klasse im HTML */
    display: flex;
    flex-direction: row; /* Stellt sicher, dass sie nebeneinander stehen */
  }

  .navbar-nav-lg-justified .nav-item {
    flex: 1 0 0; /* Erzwingt gleiche Breite: flex-grow: 1, flex-shrink: 0, flex-basis: 0 */
    text-align: center;
  }

  header .navbar-collapse {
    width: 100%;
    max-width: 850px;
  }

  .navbar-expand-lg .navbar-nav .nav-link.dropdown-toggle-split {
    padding-left:0;
  }

}



/* ==========================================
   ALLGEMEINES SECTION 
   ========================================== */
.custom-bg-lightgreen {
  background-color: var(--custom-third);
}

.custom-bg-darkgreen {
  background-color: var(--custom-fourth);
}

section.custom-bg-lightgreen, section.custom-bg-darkgreen {
  color: #ffffff;
}

.bd-bg-lightgreen {
  background-color: var(--custom-third);
}

.bd-bg-darkgreen {
  background-color: var(--custom-fourth);
}

.bd-bg-lightgreen, .bd-bg-darkgreen {
  color: #ffffff;
}

.bd-section-relative {
  position: relative;
}

.bd-border {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100px;
  object-fit: cover;
  object-position: center bottom;
  z-index: 10;
}

@media (min-width: 1200px) {
  .bd-border {
    height: auto;
    object-fit: unset;
    object-position: unset;
  }
}

.bd-border-mb {
  margin-bottom: 8rem;
}

@media screen and (min-width: 992px) {
  .bd-border-mb {
    margin-bottom: 10rem;
  }
}


/* ==========================================
   HERO SECTION 
   ========================================== */
#bd-welcome .custom-content {
  color: var(--bs-secondary);
}

/* ==========================================
   SERVICE SECTION index.html
   ========================================== */
#bd-service {
    background-image: url(../img/section/section-baum.jpg);
    background-size: cover;
    background-position: bottom center;
    background-repeat: no-repeat;
    
}

@media (min-width: 1200px) {
  #bd-service {
    min-height: 1080px;
  }

   #bd-service .row {
    margin-top: 10rem;
   }

   .icon-bs {
    margin-left: 10rem;
   }

   .icon-bk {
    margin-left: 2.5rem;
   }

   .icon-bpf {
    margin-left: 5.5rem;
   }

   .icon-bf {
    margin-left: 10rem;
   }

   .icon-bps {
    margin-left: 12rem;
   }
}

@media (min-width: 1400px) {
  #bd-service {
    background-size: 100% auto;
  }
}


/* ==========================================
   SERVICE SECTION ICONS 
   ========================================== */
.icon-bf {
  background-image: url(../img/content/baumfaellung_icon.svg);
    
    background-position: left center;
    background-repeat: no-repeat;
    position: relative;
    height: 120px;
}

.icon-bf > a {
    position: absolute;
    left: 6.5rem;
    top: 2.5rem;
    text-decoration: none;
    font-size: 1.25rem;
    color: var(--bs-secondary);
}

.icon-bf > a:hover {
  color: var(--bs-primary);
}

.icon-bs {
  background-image: url(../img/content/baumschutz_icon.svg);
    
    background-position: left center;
    background-repeat: no-repeat;
    position: relative;
    height: 120px;
}

.icon-bs > a {
    position: absolute;
    left: 1.2rem;
    top: 2.5rem;
    text-decoration: none;
    font-size: 1.25rem;
    color: var(--bs-secondary);
}

.icon-bk {
  background-image: url(../img/content/baumkontrolle_icon.svg);
    
    background-position: left center;
    background-repeat: no-repeat;
    position: relative;
    height: 120px;
}

.icon-bk > a {
    position: absolute;
    left: 1.2rem;
    top: 2.5rem;
    text-decoration: none;
    font-size: 1.25rem;
    color: var(--bs-secondary);
}

.icon-bd {
  background-image: url(../img/content/beratung_icon.svg);
    
    background-position: left center;
    background-repeat: no-repeat;
    position: relative;
    height: 120px;
}


.icon-bd > a {
    position: absolute;
    left: 1.2rem;
    top: 2.5rem;
    text-decoration: none;
    font-size: 1.25rem;
    color: var(--bs-secondary);
}

.icon-bpf {
  background-image: url(../img/content/baumpflanzung_icon.svg);
    
    background-position: left center;
    background-repeat: no-repeat;
    position: relative;
    height: 120px;
}

.icon-bpf > a {
    position: absolute;
    left: 1.2rem;
    top: 2.5rem;
    text-decoration: none;
    font-size: 1.25rem;
    color: var(--bs-secondary);
}

.icon-bu {
  background-image: url(../img/content/bauueberwachung_icon.svg);
    
    background-position: left center;
    background-repeat: no-repeat;
    position: relative;
    height: 120px;
}

.icon-bu > a {
    position: absolute;
    left: 6.5rem;
    top: 2.0rem;
    right: 30px;
    text-decoration: none;
    font-size: 1.25rem;
    color: var(--bs-secondary);
	max-width: 300px;
}

.icon-bps {
  background-image: url(../img/content/baumpflege_icon.svg);
    
    background-position: left center;
    background-repeat: no-repeat;
    position: relative;
    height: 120px;
}

.icon-bps > a {
    position: absolute;
    left: 6.5rem;
    top: 2.5rem;
    text-decoration: none;
    font-size: 1.25rem;
    color: var(--bs-secondary);
}

.icon-kw {
  background-image: url(../img/content/kurse_icon.svg);
    
    background-position: left center;
    background-repeat: no-repeat;
    position: relative;
    height: 120px;
}

.icon-kw > a {
    position: absolute;
    left: 6.5rem;
    top: 2.5rem;
    text-decoration: none;
    font-size: 1.25rem;
    color: var(--bs-secondary);
}

.c-service-icon {
  margin-bottom: 1rem;
}

@media (min-width: 992px) {
  .c-service-icon {
  margin-bottom: 4.5rem;
}

.icon-bu > a, .icon-bf > a, .icon-bps > a, .icon-kw > a { 
	left: 8.5rem;
}



}

.c-service-icon > a:hover {
  color: var(--bs-primary);
}



/* ==========================================
   GALERIE SECTION index.html
   ========================================== */
#bd-gallery {
    background-image: url(../img/section/baumwurzel.jpg);
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
}

#bd-gallery .carousel-control-prev, #bd-gallery .carousel-control-next {
  background-color: var(--bs-secondary);
}

/* ==========================================
   KONTAKTFORMULAR SECTION 
   ========================================== */
#bd-contact {
    background-image: url(../img/section/holz-jahresringe-magnific.jpg);
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    position: relative;
}

#bd-contact .invalid-feedback {
  color: #ffffff;
}


.section-copyright {
  position: absolute;
  bottom: 7rem;
  left: 1rem;

  font-size: 0.85rem;
  line-height: 1;
  color: rgba(255, 255, 255, 0.5);
  white-space: nowrap;
}


@media (min-width: 1024px) {
	.section-copyright {
		bottom: 10rem;
	}
}



.section-copyright a {
	color: rgba(255, 255, 255, 0.5);
}




/* ==========================================
   Siegel SECTION 
   ========================================== */


/* ==========================================
   Vorkontrolle SECTION 
   ========================================== */


/* ==========================================
   Begleitung SECTION 
   ========================================== */


/* ==========================================
   NEWS SECTION 
   ========================================== */
#bd-news .card-title {
  font-weight: 700;
}


#bd-news .card .card-footer {
  border: none;
  padding-bottom: 1.5rem;
  background: none;
}


/* ==========================================
   CARDS, CAROUSEL CARDS
   ========================================== */
.card {
    border: none;
    border-radius: 0;
    box-shadow: 2px 6px 8px rgba(22, 22, 26, 0.18);

}

.carousel-inner {
  padding: 1em;
}

.carousel-control-prev, .carousel-control-next {
  background-color: #e1e1e1;
  width: 6vh;
  height: 6vh;
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
}

.carousel-control-prev span, .carousel-control-next span {
  width: 1.5rem;
  height: 1.5rem;
}

@media screen and (min-width: 577px) {
  .cards-wrapper {
    display: flex;
  }

  .cards-wrapper .card {
    margin: 0 0.5em;
    width: calc(100%/3);
  }

  /*
  .image-wrapper {
    height: 22vw;
    margin: 0 auto;
  }
    */
}

@media screen and (max-width: 576px) {
  .cards-wrapper .card:not(:first-child) {
    display: none;
  }

  .bd-card-wrapper .card {
    margin-bottom: 1rem;
  }
}

.image-wrapper img {
  max-width: 100%;
  max-height: 100%;
}

@media screen and (min-width: 577px) {
  .bd-card-wrapper {
    display: flex;
  }

  .bd-card-wrapper .card {
    margin: 0 0.5em;
    width: calc(100%/3);
  }

  .bd-card-wrapper .card:not(:first-child) {
    display: unset!important;
  }
}









/* ==========================================
   SIDEBAR 
   ========================================== */

.bd-sidebar{
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 1030;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  border: 2px solid var(--custom-third);
  box-shadow: 0 -6px 35px rgba(0, 0, 0, 0.3); 
}

/* ab 768px */
@media (min-width: 768px) {

  .bd-sidebar{
    bottom: auto;
    left: auto;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: auto;
    border-top-right-radius: 0;
    border-bottom-left-radius: 10px;
    border: 2px solid #ffffff;
    box-shadow: 6px 0 35px rgba(0, 0, 0, 0.3);
  }

}


.bd-sidebar {
  /*background: rgba(255,255,255,0.7);*/
  background: var(--custom-third);
  border-right: transparent!important;
}

.bd-sidebar .nav-link {
  color: #ffffff;
  border-radius: 8px;
}

.bd-sidebar .nav-link:hover {
  background: var(--bs-primary);
  color: #ffffff;
  
}

/* ==========================================
   FOOTER 
   ========================================== */

.bd-site-footer {
    background-image: url(../img/section/footer.jpg);
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    min-height: 450px;
}

.bd-site-footer .bd-logo {
  width: 250px;
  margin-left: -35px;
  margin-bottom: 1rem;
}

.footer-link {
  color: var(--bs-secondary);
  text-decoration: none;
}

.footer-link:hover {
  color: var(--bs-primary);
  text-decoration: none;
}


