/*--------------------------------------
  Grundlegendes Layout
--------------------------------------*/
html {
  scroll-behavior: smooth;
}

html, body {
  height: auto;
  overflow-y: auto;
  padding-top: 120px;
}

header {
/*  background-image: url('../img/body/body-bg-2.png');*/
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
}

p, ul, li {
  font-family: "Merriweather Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-size: 0.95rem;
}

.modal-backdrop.show {
  opacity: 0.7;          /* Standard ist 0.5 */
  background-color: #000;
}

/*--------------------------------------
  Carousel vergrößern
  -------------------------------------- */


#carouselFade {
  height: 550px; 
}

#carouselFade .carousel-item img {
  height: 550px;
  object-fit: cover; 
}


/* Outline Text */
.text-outline {
  text-shadow:
    -0.5px -0.5px 0 #000,
     0.5px -0.5px 0 #000,
    -0.5px  0.5px 0 #000,
     0.5px  0.5px 0 #000;
}


/*--------------------------------------
  Sections
--------------------------------------*/
section {
    min-height: 300px;
}

section.page-section {
  padding-top: 1rem !important;
  padding-bottom: 18rem !important;
  margin-top: 0;
  height: auto;
  scroll-margin-top: 80px;
}


/*--------------------------------------
  Header
--------------------------------------*/
header.masthead {

  min-height: 100vh;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

header.masthead .container {
  margin-top: 0rem !important;
}

.h-40 {
  height: 40% !important;
}

/*--------------------------------------
  Highlight Box / Glas-Effekt
--------------------------------------*/
.highlight-box {
  background: rgba(0, 0, 0, 0.55); /* halbtransparent */
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px); /* Safari */
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/*--------------------------------------
  Bilder & Overlays
--------------------------------------*/
.radius-5 {
  border-radius: 5px;
  border: 1px solid #fff;
}

.about, .img {
  display: block;
  max-width: 100%;
  height: auto;
}

.image-overlay-wrapper,
.image-overlay-container {
  position: relative;
  display: inline-block;
  overflow: hidden;
  border-radius: 5px;
  max-height: 600px;
}

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

.image-overlay-wrapper::after,
.image-overlay-container::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0);
  transition: background 0.3s ease;
  z-index: 1;
}

.image-overlay-wrapper:hover::after,
.image-overlay-container:hover::after {
  background: rgba(0,0,0,0.6);
}

.overlay-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-weight: 400;
  font-size: 1rem;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 2;
}

.image-overlay-wrapper:hover .overlay-text,
.image-overlay-container:hover .overlay-text {
  opacity: 1;
}

/*--------------------------------------
  Caret
--------------------------------------*/
.caret {
  align-items: center;
  color: black;
  transition: .3s;
}

.caret:hover {
  color: white;
  cursor: pointer;
}


.agb-caption {
  font-size: .65rem;
}

.agb-text {
  font-size: .85rem;
}


.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 45px;
  height: 45px;
  background-color: #333;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  opacity: 0.8;
  transition: all 0.3s ease;
  z-index: 9999;
}

.back-to-top:hover {
  background-color: #555;
  opacity: 1;
  transform: translateY(-3px);
}

.caret {
  display: inline-block;
  animation: caret-bounce .75s ease-in-out infinite;
}

#mz {
  vertical-align: center;
}

@keyframes caret-bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(6px);
  }
}

.copy-symbol {
  position: relative;
  top: 0.1em;
}

footer, form, .impressum-content, .overlay-text {
    font-family: "Merriweather Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";

}
