@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) */
}

/* 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 
   ========================================== */
body {
  color: var(--bs-secondary);
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 500;
}

/* 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 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;
  }
}

/* ==========================================
   HEADER 
   ========================================== */
.bd-site-header .blockquote {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  max-width: 300px;
}

.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-divider {
    position: absolute;
    bottom: 0;
    left: 0;
      /*width: 100%;*/   /* Streckt die Bordüre über die volle Breite */
    height: auto;   /* Behält das Seitenverhältnis bei */
    display: block;
    z-index: 10;
    min-height: 100px;
}

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 .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 (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;
  }

}



/* ==========================================
   ALLGEMEIN 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;
}

/* ==========================================
   KOPFBILDER 
   ========================================== */
.bd-site-header {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  min-height: 650px;
  position: relative;
}

.bd-page-standard .bd-site-header {
  background-image: url(../img/section/AdobeStock_64670682_Preview_Standard.jpg); /* Standard-Bild */
  background-position: bottom center;
}

.bd-page-faellung .bd-site-header {
  /*background-image: url(../img/section/AdobeStock_571483189_Preview_Fruehling.jpg);*/ /* Frühlings-Bild */
  /*background-image: url(../img/section/AdobeStock_212991302_Preview_Sommer.jpg);*/ /* Sommer-Bild */
  background-image: url(../img/section/AdobeStock_118182484_Preview_Herbst.jpg); /* Herbst-Bild */
  /*background-image: url(../img/section/AdobeStock_175382669_Preview_Winter.jpg);*/ /* Winter-Bild */
}

.bd-page-news .bd-site-header {
  background-image: url(../img/section/AdobeStock_571483189_Preview_Fruehling.jpg); /* Frühlings-Bild */
  /*background-image: url(../img/section/AdobeStock_212991302_Preview_Sommer.jpg);*/ /* Sommer-Bild */
  /*background-image: url(../img/section/AdobeStock_118182484_Preview_Herbst.jpg);*/ /* Herbst-Bild */
  /*background-image: url(../img/section/AdobeStock_175382669_Preview_Winter.jpg);*/ /* Winter-Bild */
}

.bd-page-kurs .bd-site-header {
  /*background-image: url(../img/section/AdobeStock_571483189_Preview_Fruehling.jpg);*/ /* Frühlings-Bild */
  background-image: url(../img/section/AdobeStock_212991302_Preview_Sommer.jpg); /* Sommer-Bild */
  /*background-image: url(../img/section/AdobeStock_118182484_Preview_Herbst.jpg);*/ /* Herbst-Bild */
  /*background-image: url(../img/section/AdobeStock_175382669_Preview_Winter.jpg);*/ /* Winter-Bild */
}

.bd-page-schnitzel .bd-site-header {
  /*background-image: url(../img/section/AdobeStock_571483189_Preview_Fruehling.jpg);*/ /* Frühlings-Bild */
  /*background-image: url(../img/section/AdobeStock_212991302_Preview_Sommer.jpg);*/ /* Sommer-Bild */
  /*background-image: url(../img/section/AdobeStock_118182484_Preview_Herbst.jpg);*/ /* Herbst-Bild */
  background-image: url(../img/section/AdobeStock_175382669_Preview_Winter.jpg); /* Winter-Bild */
}

.bd-page-unternehmen .bd-site-header {
  background-image: url(../img/section/unternehmen.jpg);
  background-position: bottom center;
}

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

/* ==========================================
   SERVICE SECTION 
   ========================================== */
#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;
  }
}

/* ==========================================
   GALERIE SECTION 
   ========================================== */
#bd-gallery {
    background-image: url(../img/section-wurzel.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);
}

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

#bd-contact .row {
  margin-bottom: 8rem;
}

#bd-contact-2 {
  position: relative;
}

#bd-contact-2 .row {
    margin-bottom: 8rem;
  }

@media screen and (min-width: 992px) {
  #bd-contact .row, #bd-contact-2 .row {
    margin-bottom: 10rem;
  }
}

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

.bd-section-divider .container {
  margin-bottom: 8rem;
}

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

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

#bd-seals {
  position: relative;
}

#bd-seals .row {
  margin-bottom: 8rem;
}

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


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


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


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

#bd-news .card {
  border-radius: 10px;
}

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

#bd-news .card img {
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

#bd-aktuelles .card {
  border-radius: 10px;
}

#bd-aktuelles .card img {
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

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

#bd-aktuelles .card-title {
  font-weight: 700;
}


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

.bd-site-footer {
    background-image: url(../img/section/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;
}

/* ==========================================
   NEWS 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;
}



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

.icon-bf > a {
    position: absolute;
    left: 120px;
    top: 30px;
    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: 100px;
}

.icon-bs > a {
    position: absolute;
    left: 25px;
    top: 30px;
    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: 100px;
}

.icon-bk > a {
    position: absolute;
    left: 25px;
    top: 30px;
    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: 100px;
}


.icon-bd > a {
    position: absolute;
    left: 25px;
    top: 30px;
    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: 100px;
}

.icon-bpf > a {
    position: absolute;
    left: 25px;
    top: 30px;
    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: 100px;
}

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

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

.icon-bps > a {
    position: absolute;
    left: 120px;
    top: 30px;
    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: 100px;
}

.icon-kw > a {
    position: absolute;
    left: 120px;
    top: 30px;
    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;
}
}

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

@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: 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%; 
}
}



@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;
  }
}

.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: 576px) {
.bug {
  max-width: 20%;
}
}


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