@charset "UTF-8";
/* ======================================
   SIGIFIX CSS
====================================== */

/* ======================================
   BASIS & LAYOUT
====================================== */

html,
body {
  background-color: #f9d14a;
  height: 100%;
  margin: 0;
  font-family: 'Glory', sans-serif;
  margin-bottom: 60px;
}

.fullpage {
  min-height: 100vh;
  padding-bottom: 40px;
}

.custom-img {
  width: min(400px, 80vw);
  height: auto;
  display: block;
  margin: 0 auto;
}

/* ======================================
   TYPOGRAFIE
====================================== */

h1, h2, h3, h4, h5, h6 {
  font-family: 'Glory', sans-serif;
}

p {
  font-size: 22px;
  font-family: 'Glory', sans-serif;
}

.custom-text {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 24px;
  margin-top: 20px;
}

.text-const {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 18px;
  margin-top: 20px;
}

.Glory-bold {
  font-weight: 900;
}

/* ======================================
   LINKS
====================================== */

a {
  text-decoration: none !important;
}

a:link,
a:visited {
  color: #000 !important;
}

a:hover {
  color: #000 !important;
  border-bottom: 1px solid #000 !important;
}

/* ======================================
   KLEINE UTILITIES
====================================== */

.bild {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  height: auto;
}



.text {
  color: black;
  font-size: 1em;
  text-align: center;
}

.footer {
  bottom: 0;
  width: 100%;
  height: 60px;
  line-height: 60px;
  text-align: right;
}

/* ======================================
   FANCYBOX CUSTOM STYLE
====================================== */

/* Cursor */
a[data-fancybox] img {
  cursor: zoom-in;
}

/* Overlay & Variablen */
.fancybox__container {
  --fancybox-bg: rgba(0, 0, 0, 0.95);
  --fancybox-thumbs-width: 130px;
  --fancybox-thumbs-ratio: 1;
  --carousel-button-bg: rgba(0, 0, 0, 0.6);
}

/* Navigation */
.fancybox__nav .carousel__button.is-prev {
  left: 20px;
}

.fancybox__nav .carousel__button.is-next {
  right: 20px;
}

.carousel__button.is-close {
  left: 20px;
  top: 20px;
  right: auto;
}

/* Slide Abstand */
.fancybox__slide {
  padding: 20px 100px;
}

/* ======================================
   THUMBNAIL LEISTE
====================================== */

.fancybox__thumbs {
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
  padding: 10px 0 20px;
}

.fancybox__thumbs .carousel__slide {
  padding: 6px;
}

.fancybox__thumb {
  border-radius: 0;
  opacity: 0.5;
  transition: all 0.3s ease;
}

.fancybox__thumb:hover {
  opacity: 0.9;
  transform: scale(1.05);
}

.is-nav-selected .fancybox__thumb {
  opacity: 1;
  transform: scale(1.08);
}

.is-nav-selected::after,
.is-nav-selected .fancybox__thumb::after {
  display: none;
}

/* Fancybox auf Mobile: weniger Rand, damit Bild größer wird */
@media (max-width: 576px) {
  .fancybox__slide {
    padding: 8px 12px; /* statt 20px 100px */
  }

  /* Thumbs auf Mobile kleiner */
  .fancybox__container {
    --fancybox-thumbs-width: 60px;
  }

  /* Buttons etwas kleiner (optional) */
  .fancybox__nav .carousel__button {
    transform: scale(0.9);
  }
  
  .fancybox__thumbs {
    padding-bottom: 10px;
  }

  .fancybox__nav .carousel__button.is-prev,
  .fancybox__nav .carousel__button.is-next {
    display: none !important;
  }

}

.card-img-top{
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 0;
  transition: transform 0.4s ease;
}

.card:hover .card-img-top {
  transform: scale(1.04);
}

.card {
  border: none;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none !important;
}

.card-body {
  background-color: #f9d14a;
  text-align: center;
  padding: 0 !important;
  min-height: 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.card-text {
  color: #000000;
}
.card-title, .card-text {
  hyphens: auto;
  -webkit-hyphens: auto;
  word-break: break-word;
  font-family: 'Nunito', sans-serif;
}

h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
}

.container-fluid {
  padding-left: 40px !important;
  padding-right: 40px !important;
}

@media (max-width: 575px) {
  .container-fluid {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .row.g-4 {
    --bs-gutter-y: 2rem;
  }
  .custom-img {
    width: 240px !important;
    max-width: 240px !important;
  }
  .custom-text {
    font-size: 16px;
  }
}


