@font-face {
  font-family: "EB Garamond";
  src: url("fonts/EBGaramond/EBGaramond-VariableFont_wght.ttf");
}

:root {
  --default-font: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "EB Garamond", serif;
  --nav-font: "EB Garamond", serif;
}


/* Global Colors */
:root {
  /* --headline: #55934e; */
  --headline: #487d42 ;
  --main-blau: #002F97;
  --Schrift-dunkel:#32353a;
  --background-color: #ffffff;
  --background-color-rgb: 255, 255, 255;
  --default-color: #212529;
  --default-color-rgb: 33, 37, 41;
  --accent-color: #e84545;
  --accent-color-rgb: 232, 69, 69;
  --heading-color: #55934e;
  --heading-color-rgb: 85, 147, 78;
  --contrast-color: #ffffff;
}

/* Nav Menu Colors */
:root {
  --nav-color: #55934e;
  --nav-hover-color: #e84545;
  --nav-dropdown-color: #3a3939;
  --nav-dropdown-hover-color: #e84545;
  --nav-dropdown-background-color: #ffffff;
}

/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}



/* Allgemein */
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);

  /* font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
  letter-spacing: 1px; */
}


a {
  color: var(--headline);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: var(--accent-color);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6, 
.FontColor_green {
  color:var(--headline);
  font-family: var(--heading-font);

  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
  letter-spacing: 1px; 
}

h1, h2, h3 {
  font-size: 2.0rem;
}

h4 {
  font-size: 1.5rem;
}

h5 {
  font-size: 1.1rem;
  display: inline;
  margin: 0;
  padding: 0;
}

.card-title {
  color:var(--headline);
  font-weight: 700;
}

/* ENDE Allgemein */

/* Navigation */
.logo-img {
  height: auto;
  max-height: 80px;
}

.navbar-brand {
  height: 100%;
  display: flex;
  align-items: center;
}

.navbar {
  background-color: white;
}

.navbar-nav .nav-link, 
.Button_Top {
  font-family: var(--nav-font);
  font-optical-sizing: auto;
  font-weight: 800;
  font-style: normal;
  letter-spacing: 1px;

  color: var(--nav-color);
  font-weight: bolder;
  font-size: 1.2rem;
}

.navbar-nav:hover
.nav-link:hover {
  color: var(--nav-dropdown-hover-color);
}

.navbar-nav .nav-link.active, .navbar-nav .nav-link.show {
  color: var(--nav-hover-color);
}

.Button_Top {
  color: var(--contrast-color);
  background: var(--headline);
  padding: 4px 8px;
  margin: 0;
  border-radius: 4px;
  transition: 0.3s;
}
.Button_Top:hover {
  background: rgba(var(--accent-color-rgb), 0.85);
  color: var(--contrast-color);
}

/* ENDE Navigation */


.button_allgemein {
  font-size: 14px;
  background: var(--headline);
  color: var(--contrast-color);
  border-radius: 4px;
  padding: 8px;
  margin: 0;
  transition: 0.3s;

  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;  
}

.button_allgemein:hover {
  color: var(--contrast-color);
  background: rgba(var(--accent-color-rgb), 0.85);

  box-shadow: none;
  transform: translateY(5px); /* Einen leichten Versatz nach unten hinzufügen */
}



/* Global Scroll Margin Top
------------------------------*/
section {
  scroll-margin-top: 60px;
}

@media (max-width: 1199px) {
  section {
    scroll-margin-top: 66px;
  }
}






/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}


/* Sektion Hero */
.hero {
  --default-color: #ffffff;
  --default-color-rgb: 255, 255, 255;
  --background-color: #000000;
  --background-color-rgb: 0, 0, 0;
  width: 100%;
  min-height: 100vh;
  position: relative;
  padding: 600px 0 80px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  object-position: left top;
  z-index: 1;
}

.hero:before {
  content: "";
  background: rgba(var(--background-color-rgb), 0); 
  position: absolute;
  inset: 0;
  z-index: 2;
}

.hero .container {
  position: relative;
  z-index: 3;
}

.hero h2 {
  color: var(--contrast-color);
  margin: 0;
  font-size: 34px;
  font-weight: 700;
}

.hero p {
  color: yellow;
  margin: 5px 0 0 0;
  font-size: 1.25rem
}

@media (max-width: 768px) {
  .hero h2 {
    font-size: 18px;
  }

  .hero p {
    font-size: 14px;
  }
}

/* Section */

section {
  padding: 140px 0;
}

/* === Google ===*/
.img-bg {
  position: absolute;
  overflow: hidden;
  right: 0px;
  bottom: 0;
  width: 50vw;
}

.btn-round {
  border-radius: 30px;
}


.text-hell {
  color: #CBCBCB;
}
/* Hilfsklassen */

.d-relative {
  position: relative;
}


/* Sektionen */
.Sektion2,
.Sektion4,
.Sektion7 {
  --default-color: #ffffff;
  --background-color: #000000;
  --background-color-rgb: 0, 0, 0;
  padding: 80px 0;
  /* position: relative; */
  -webkit-clip-path: inset(0);
  clip-path: inset(0);
}

.Sektion_bg {
  position: fixed;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  z-index: 1;
}

.Sektion2:before,
.Sektion4:before,
.Sektion7:before {
  content: "";
  background: rgba(var(--background-color-rgb), 0.5);
  position: absolute;
  inset: 0;
  z-index: 2;
}

.Sektion2 .container,
.Sektion4 .container,
.Sektion7 .container {
  position: relative;
  z-index: 3;
}

.Sektion2 p {
  color: var(--default-color);
}

.Sektion2 .card {
  padding: 10px 40px;
  box-shadow: 0px 10px 50px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  background-color: rgba(255, 255, 255, 0.9); /* Halbtransparentes Weiß */
}

.rotate_left {
    -ms-transform: rotate(-8deg);
    transform: rotate(-8deg);
}

.Sektion2 .card h1,
.Sektion4 .card h1 {
  font-weight: 700;
  color: var(--headline);
  text-align: center;
}

.Sektion4 .card h2 {
  font-size: 1.5rem;
  color: var(--headline);
  text-align: center;
}

.Sektion2 .card p,
.Sektion4 .card p {
  color: var(--Schrift-dunkel);
}

.Sektion2 .card p a,
.Sektion4 .card p a {
  color: var(--headline);
}

.Sektion2 .card p a:hover,
.Sektion4 .card p a:hover {
  color: var(--main-blau);
}


.card:hover.CardZoom {
  transform: scale(1.5);
  transition: transform 0.5s ease-in-out;
}


/* Benutzerdefinierte CSS-Regeln für den Pressed-Effekt */
.HoverEffekt {
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  /* cursor: pointer; */
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.HoverEffekt:hover {
  box-shadow: none;
  transform: translateY(5px); /* Einen leichten Versatz nach unten hinzufügen */
}

/* Modale */
.modal-header h1,
.modal-body h1,
.modal-body h2,
.modal-body h3,
.modal-body h4 {
  font-family: var(--heading-font);
  font-size: 2.0rem;
  color: var(--headline);
}

.modal-body h2,
.modal-body h3,
.modal-body h4 {
  font-size: 1.5rem;
}

/* Footer */
.Footer {
  background-color: var(--main-blau);
}

.Footer div,
.Footer a {
  color: white;
}



.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 10px; /* Abstand zwischen den Thumbnails */
}

.gallery a {
  display: inline-block;
  width: 200px; /* Breite der Thumbnails */
}

.gallery img {
  width: 100%;
  height: auto;
  display: block;
}


.slider-box {
  position: absolute;
  bottom: -80px; /* Über den Rand hinausragen */
  left: 20px;
  width: 80%;
  height: auto;
  border: none;
  background-color: #f8f9fa;
  padding: 2px;
  z-index: 10; /* Vor dem Hintergrundbild anzeigen */
  transform: translateY(20px); /* Etwas nach unten versetzen */

  border: 2px solid #dee2e6;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  text-align: center;

}

.custom-box {
  width: 80%;
  margin: 20px auto;
  padding: 20px;
  background-color: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  text-align: center;
}

@media (min-width: 992px) { /* Für große Bildschirme */
  .slider-box {
    width: 50%;
  }
}

.carousel-indicators [data-bs-target] {
  background-color: gray;
}

@media (max-width: 600px) {
  .custom-box {
    display: none;
  }
}


/* Über uns - Unser Team */

/* wirkt NUR im Team-Bereich */
#Team .team-list {
    list-style-position: inside;  /* Punkte rücken nach rechts */
    padding-right: 0;
    margin-right: 0;
    text-align: right;            /* Text rechts */
    direction: rtl;               /* Marker nach rechts verlagern */
}

#Team .team-list li {
    direction: ltr;               /* Text wieder normal links → wirkt aber rechtsbündig */
}


.team-image {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background-position: center;
  background-size: cover;
  border-color: #55934e;
  border-style: ridge;
  border-width: 1px;
}

.b-example-divider {
  width: 100%;
  height: 3rem;
  background-color: rgba(0, 0, 0, 0.1);
  border: solid rgba(0, 0, 0, 0.15);
  border-width: 1px 0;
  box-shadow: inset 0 0.5em 1.5em rgba(0, 0, 0, 0.1),
    inset 0 0.125em 0.5em rgba(0, 0, 0, 0.15);
}

/* Abstand zur Navigationsleiste */
.nav_gap {
  margin-top: 80px;
}




@media (min-width: 1000px) {
  .d-xl-inline {
    display: none !important;
  }
  .d-none {
    display: inline !important;
  }
}

.offer-box {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  background-color: #fff;
  margin-bottom: 20px;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.offer-box:hover {
  transform: translateY(-10px);
}

.offer-icon {
  font-size: 2rem;
  color: green; 
}

.offer-title {
  font-size: 1.25rem;
  font-weight: bold;
  margin-top: 10px;
}

.offer-link {
  margin-top: 15px;
  display: inline-block;
  text-decoration: none;
  color:var(--headline);
}

.offer-link:hover {
  text-decoration: underline;
}

.row.equal-height {
  display: flex;
  flex-wrap: wrap;
}




/* Scroll-to-Top Button Styling */
.scroll-to-top {
  position: fixed;
  bottom: 15px;
  right: 15px;
  display: none; /* Initial hidden */
  background-color: var(--headline);
  width: 40px;
  height: 40px;
  color: white;
  padding: 10px 15px;
  border-radius: 4px;
  font-size: 24px;
  text-align: center;
  cursor: pointer;
  z-index: 1000;
  transition: all 0.4s;

  /* Flexbox für zentrierte Ausrichtung */
  display: flex;
  justify-content: center; /* Horizontale Zentrierung */
  align-items: center;     /* Vertikale Zentrierung */  
}

.scroll-to-top i {
  font-size: 24px;
  color: #ffffff;
  line-height: 0;
}

.scroll-to-top:hover {
  background-color: rgba(var(--accent-color-rgb), 0.8);
  color: #ffffff;
}

/* Scroll-to-Top Button Styling */



#Botendienst_Leihservice {
  display: block; /* Um sicherzustellen, dass das Element die Margin übernimmt */
  margin-top: 80px; /* Passe die Höhe an, je nach Höhe der Navigationsleiste */
  padding-top: 20px; /* Optional: damit der Inhalt nicht direkt am Rand beginnt */
  position: relative; /* Stellt sicher, dass die Positionierung relativ ist */
  top: -80px; /* Die gleiche Höhe wie die Margin, damit es korrekt verlinkt */
}


