  /*
  Farbwelt
    Dunkelblau: #102b54 rgba(16,43,84)
    Intensiv Cyan (Türkis): #10b2b2 rgba(16,178,178)
    Orange (hell): #ffc213 rgba(255,194,19)
    Orange (dunkel): #f09206 rgba(240,146,6)
  */

  html {
  scroll-behavior: smooth;
  }

  :root {
  --animate-duration: 800ms;
  --animate-delay: 0.9s;
  }

@font-face {
  font-display: swap;
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 100;
  src: url('/jba.de/mam/assets/css/fonts/poppins-v24-latin-100.woff2') format('woff2');
}

@font-face {
  font-display: swap;
  font-family: 'Poppins';
  font-style: italic;
  font-weight: 100;
  src: url('/jba.de/mam/assets/css/fonts/poppins-v24-latin-100italic.woff2') format('woff2');
}

@font-face {
  font-display: swap;
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 200;
  src: url('/jba.de/mam/assets/css/fonts/poppins-v24-latin-200.woff2') format('woff2');
}

@font-face {
  font-display: swap;
  font-family: 'Poppins';
  font-style: italic;
  font-weight: 200;
  src: url('/jba.de/mam/assets/css/fonts/poppins-v24-latin-200italic.woff2') format('woff2');
}

@font-face {
  font-display: swap;
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 300;
  src: url('/jba.de/mam/assets/css/fonts/poppins-v24-latin-300.woff2') format('woff2');
}

@font-face {
  font-display: swap;
  font-family: 'Poppins';
  font-style: italic;
  font-weight: 300;
  src: url('/jba.de/mam/assets/css/fonts/poppins-v24-latin-300italic.woff2') format('woff2');
}

@font-face {
  font-display: swap;
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  src: url('/jba.de/mam/assets/css/fonts/poppins-v24-latin-regular.woff2') format('woff2');
}

@font-face {
  font-display: swap;
  font-family: 'Poppins';
  font-style: italic;
  font-weight: 400;
  src: url('/jba.de/mam/assets/css/fonts/poppins-v24-latin-italic.woff2') format('woff2');
}

@font-face {
  font-display: swap;
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  src: url('/jba.de/mam/assets/css/fonts/poppins-v24-latin-500.woff2') format('woff2');
}

@font-face {
  font-display: swap;
  font-family: 'Poppins';
  font-style: italic;
  font-weight: 500;
  src: url('/jba.de/mam/assets/css/fonts/poppins-v24-latin-500italic.woff2') format('woff2');
}

@font-face {
  font-display: swap;
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  src: url('/jba.de/mam/assets/css/fonts/poppins-v24-latin-600.woff2') format('woff2');
}

@font-face {
  font-display: swap;
  font-family: 'Poppins';
  font-style: italic;
  font-weight: 600;
  src: url('/jba.de/mam/assets/css/fonts/poppins-v24-latin-600italic.woff2') format('woff2');
}

@font-face {
  font-display: swap;
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-weight:bold;
  src: url('/jba.de/mam/assets/css/fonts/poppins-v24-latin-700.woff2') format('woff2');
}

@font-face {
  font-display: swap;
  font-family: 'Poppins';
  font-style: italic;
  font-weight: 700;
  src: url('/jba.de/mam/assets/css/fonts/poppins-v24-latin-700italic.woff2') format('woff2');
}

@font-face {
  font-display: swap;
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 800;
  src: url('/jba.de/mam/assets/css/fonts/poppins-v24-latin-800.woff2') format('woff2');
}

@font-face {
  font-display: swap;
  font-family: 'Poppins';
  font-style: italic;
  font-weight: 800;
  src: url('/jba.de/mam/assets/css/fonts/poppins-v24-latin-800italic.woff2') format('woff2');
}

@font-face {
  font-display: swap;
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 900;
  src: url('/jba.de/mam/assets/css/fonts/poppins-v24-latin-900.woff2') format('woff2');
}

@font-face {
  font-display: swap;
  font-family: 'Poppins';
  font-style: italic;
  font-weight: 900;
  src: url('/jba.de/mam/assets/css/fonts/poppins-v24-latin-900italic.woff2') format('woff2');
}

.fw-bold {
  font-weight: 800 !important;
}
        
  body {
      font-family: 'Poppins', sans-serif;
      position: relative;
      hyphens:auto;  
  }

  h1,.h1 {
      font-family: 'Poppins';
  font-style: normal;
  font-weight: 800;
  }

  .link-white {color:white;}
  /* Fließender Übergang der Hintergrundfarbe */
  .transition-all {
      transition: background-color 0.4s ease-in-out, box-shadow 0.4s ease-in-out;
  }

  .navbar.scrolled {
      background-color: #212529 !important; 
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3); 
  }
  .navbar-toggler {
    color: rgb(255, 255, 255);
    background-color: #f09206;
  }

.offcanvas-body .nav-link::before {
  content: "";
  display: inline-block;
  width: 1rem;
  height: 1rem;
  margin-right: 0.5rem;
  vertical-align: -0.125em;

  /* Farbe des Icons richtet sich nach der Textfarbe */
  background-color: currentColor;

  /* SVG als Maske hinterlegen */
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4 8a.5.5 0 0 1 .5-.5h5.793L8.146 5.354a.5.5 0 1 1 .708-.708l3 3a.5.5 0 0 1 0 .708l-3 3a.5.5 0 0 1-.708-.708L10.293 8.5H4.5A.5.5 0 0 1 4 8'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4 8a.5.5 0 0 1 .5-.5h5.793L8.146 5.354a.5.5 0 1 1 .708-.708l3 3a.5.5 0 0 1 0 .708l-3 3a.5.5 0 0 1-.708-.708L10.293 8.5H4.5A.5.5 0 0 1 4 8'/%3E%3C/svg%3E");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
}

 /* Accordion Varianten beim Öffnen */
 .accordion-button:not(.collapsed) {
  background-color: rgba(255,194,19,.5) !important;
  box-shadow: inset 0 calc(-1 * var(--bs-accordion-border-width)) 0 var(--bs-accordion-border-color);
  color: black !important;
}
.accordion-button.bento-orange:not(.collapsed) {
  background-color: rgba(255,194,19,.7) !important;
  box-shadow: inset 0 calc(-1 * var(--bs-accordion-border-width)) 0 var(--bs-accordion-border-color);
  color: black !important;
}
.accordion-button.bento-cyan:not(.collapsed) {
  background-color: rgba(16,178,178,.5) !important;
  box-shadow: inset 0 calc(-1 * var(--bs-accordion-border-width)) 0 var(--bs-accordion-border-color);
  color: white !important;
}
.accordion-button.bento-blau:not(.collapsed) {
  background-color: rgba(16,43,84,.5) !important;
  box-shadow: inset 0 calc(-1 * var(--bs-accordion-border-width)) 0 var(--bs-accordion-border-color);
  color: white !important;
}
.accordion-button.bg-dark:not(.collapsed) {
  background-color: rgba(33,37,41,.5) !important;
  box-shadow: inset 0 calc(-1 * var(--bs-accordion-border-width)) 0 var(--bs-accordion-border-color);
  color: white !important;
}

  /* Custom Farben & Hintergründe (Tailwind Grays) */
  .bg-dark-gray { background-color: #1f2937; }  /* gray-800 */
  .bg-medium-gray { background-color: #374151; } /* gray-700 */

  /* Verläufe (Gradients) */
  .bento-purple-indigo { background-image: linear-gradient(to bottom right, #9333ea, #4338ca); }
  .bento-green-emerald { background-image: linear-gradient(to right, #10b981, #047857); }
  .bento-yellow-orange { background-image: linear-gradient(to bottom right, #ffc213, #f09206); }
  .bento-pink-purple { background-image: linear-gradient(to bottom right, #ec4899, #9333ea); }
  .bento-blue-purple { background: #102b54; }
  .bento-blue-indigo { background: #102b54; }
  .bento-orange {background:#f09206;}
  .bento-orange-hell {background:#ffc213;}
  .bento-blau {background:#102b54;}
  .bento-cyan {background:#10b2b2;}

  /* Text-Farbverläufe */
  .text-gradient-yellow-pink {
    background: linear-gradient(to right, #ffc213, #fbcfe8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  /* Hilfsklassen */
  .bg-purple-light { background-color: #c084fc; }
  .text-purple-light { color: #c084fc; }
  .inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
  .blur-effect { filter: blur(64px); }
  .transition { transition: all 0.2s ease-in-out; }

  /* Custom Button Styling */
  .btn-purple {
    background-color: #102b54;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: background-color 0.2s;
  }
  .btn-purple:hover {
    background-color: #35537f;
    color: white;
  }
  .hover-gray:hover {
    background-color: #4b5563 !important; /* gray-600 */
  }


  /* 1. Das Standard-Bootstrap-Icon entfernen */
  .accordion-button::after {
    background-image: none !important;
    content: "+" !important;
    font-size: 1.5rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Sanfte Animation für die Drehung */
    transition: transform 0.3s ease-in-out !important; 
  }

  /* 2. Zustand im GEÖFFNETEN Zustand (Standard-Verhalten von Bootstrap) */
  .accordion-button::after {
    transform: rotate(45deg); 
  }

  /* 3. Zustand im GESCHLOSSENEN Zustand (.collapsed ist aktiv) */
  .accordion-button.collapsed::after {
      transform: rotate(0deg); 
  }

  /* --- FARBANPASSUNGEN FÜR BENTO --- */

  /* Weißes Plus für dunkle/farbige Buttons */
  .accordion-button.bento-blue-indigo::after,
  .accordion-button.bento-green-emerald::after {
    color: #ffffff !important;
  }

  /* Dunkles Plus für den gelb-orangenen Button */
  .accordion-button.bento-yellow-orange::after {
    color: #212529 !important;
  }

  bento-grid {
    --grid-columns: 1;
    --grid-columns-md: 3;
    --grid-gap: 1.5rem;
  }
  bento-item {
    --item-border-radius: 0.75rem;
    --item-padding: 1.5rem;
  }
  .gradient-text {
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
  }

  .headerbox.orange {
    background-color: rgb(252, 96, 4);
    color: #fff;
  }

  /*^Headergrafik */        
  .imagehead {
    padding: 0px 1rem;
    position: relative;
    background-repeat: no-repeat;
    background-position: center top;
    background-size: 1300px;
    /* min-height: 570px; */
  }
  @media (min-width: 992px) {
    .imagehead {
      padding: 0px;
    }
  }
  @media (min-width: 992px) {
    .imagehead {
      background-size: 2200px;
      min-height: 768px;
    }
  }
  @media (min-width: 1200px) {
    .imagehead {
      background-size: 2200px;
      min-height: 768px;
    }
  }
  .imagehead h1 {
    color: #fff;
    font-family: "Poppins", Tahoma, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  }
  .imagehead.jba-location {
    background-color: rgb(252, 96, 4);
    background-position: center bottom;
    background-size: 575px;
    min-height: 570px;
  }
  @media (min-width: 576px) {
    .imagehead.jba-location {
      background-size: 1350px;
    }
  }
  @media (min-width: 768px) {
    .imagehead.jba-location {
      background-size: 1500px;
    }
  }
  @media (min-width: 992px) {
    .imagehead.jba-location {
      background-size: 2200px;
      min-height: 768px;
    }
  }
  @media (max-width: 767.98px) {
    .imagehead.jba-location h1 {
      font-size: 2rem;
    }
  }
  .imagehead .header-content {
    max-width: 200px;
    text-align: left;
  }
  @media (min-width: 992px) {
    .imagehead .header-content {
      max-width: 400px;
    }
  }
  .imagehead .startelement {
    display: flex;
    margin: 64px 0px 1rem 0px;
    padding: 2rem;
    min-height: 394px;
  }
  @media (min-width: 576px) {
    .imagehead .startelement {
      padding: 3rem;
    }
  }
  @media (min-width: 992px) {
    .imagehead .startelement {
      min-height: 565px;
      margin: 80px 0px 1rem 0px;
      padding: 3rem 4rem;
    }
  }

  .imagehead.jba-location .header-content {
    max-width: 350px;
  }
  .imagehead.jba-location .startelement {
    padding-bottom: 0px;
    padding-left: 0px;
    padding-right: 0px;
  }
  /* rechte Grafik im Header */
  @media (min-width: 1500px) {
    #eyecatcher {
      right: 10%;
    }
  }
  @media (min-width: 1400px) {
    #eyecatcher {
      right: 150px;
      bottom: 0px;
      width: 161px;
      height: 160px;
    }
  }
  @media (min-width: 1200px) {
    #eyecatcher {
      right: 150px;
      bottom: 0px;
    }
  }
  @media (min-width: 992px) {
    #eyecatcher {
      right: 150px;
      bottom: 0px;
    }
  }
  @media (min-width: 768px) {
    #eyecatcher {
      right: 50px;
      bottom: 0px;
      width: 115px;
      height: 115px;
    }
  }
  @media (min-width: 576px) {
    #eyecatcher {
      right: 0px;
      bottom: 0px;
      width: 115px;
      height: 115px;
    }
  }
  #eyecatcher {
    position: absolute;
    right: 0px;
    bottom: 0px;
    margin-right: 0px;
    z-index: 1000;
    width: 115px;
    height: 115px;
  }    
  .claim {
    font-size: 2em; 
    font-weight: bold; 
    line-height: 1.1em; 
    hyphens: none;
  }
  /* Text im Header Links */
  @media (max-width: 576px) {
    .claim  {
      font-size: 2em; 
    }
  }
  @media (min-width: 768px) {
    .claim  {
      font-size: 2em; 
    }
  }
  @media (min-width: 992px) {
    .claim {
      font-size: 4em; 
      font-weight: bold; 
      line-height: 1.1em; 
      hyphens: none;
    }
  }

  /* Styling des Footer */
  #footer-wrapper {
    position: relative;
    background-repeat: repeat-x, no-repeat, repeat;
    background-size: 100% 100%, 100% 15em, auto auto;
    background-position: top left, top center, top left;
    padding: 7em 0 7em 0;
  }

  #footer {
    margin-bottom: 0;
    position: relative;
    z-index: 2;
  }

  #footer h2 {
    font-size: 1.35em;
    color: #000;
  }

  #footer strong {
    color: #000;
  }

  #footer a {
    color: #000000;
  }

  #footer a .link-white  {
    color: #fff;
  }

  #footer .button.alt {
    box-shadow: inset 0px 0px 0px 1px rgba(0, 0, 0, 0.75), inset 0px 2px 1px 0px rgba(255, 255, 255, 0.25);
  }

  #footer ul.divided li, #footer ul.menu li {
    list-style: none;
    border-color: #444;
    border-color: rgba(255, 255, 255, 0.075);
  }

  #footer ul.divided li a {
    text-decoration: none;
  }

  #footer ul.menu {
    margin: 0;
  }

  #footer dl.contact dt {
    color: #000;
  }
  #footer .contact {display:none;} 

  #copyright {
    border-top: solid 1px;
    border-color: #444;
    border-color: rgba(255, 255, 255, 0.075);
    text-align: center;
    margin-top: 2em;
    padding: 3em 0 4em 0;
    color: inherit;
  }

  #copyright a {
    color: inherit;
  }

  /* Scroll to Top Button rechts unten*/
  .scrolltop-wrap {
    box-sizing: border-box;
    position: absolute;
    top: 12rem;
    right: 2rem;
    bottom: 0;
    pointer-events: none;
    -webkit-backface-visibility: hidden;
            backface-visibility: hidden;
  }

  .scrolltop-wrap #scrolltop-bg {
    fill: #102b54;
  }

  .scrolltop-wrap #scrolltop-arrow {
    fill: white;
  }

  .scrolltop-wrap a:hover #scrolltop-bg {
    fill: #2990ff;
  }

  .scrolltop-wrap a:hover #scrolltop-arrow {
    fill: white;
  }

  @supports (-moz-appearance: meterbar) {
    .scrolltop-wrap {
      clip: rect(0, 3rem, auto, 0);
    }
  }

  .scrolltop-wrap a {
    position: fixed;
    position: sticky;
    top: -5rem;
    width: 3rem;
    height: 3rem;
    margin-bottom: -5rem;
    transform: translateY(100vh);
    -webkit-backface-visibility: hidden;
            backface-visibility: hidden;
    display: inline-block;
    text-decoration: none;
    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
    pointer-events: all;
    outline: none;
    overflow: hidden;
  }

  .scrolltop-wrap a svg {
    display: block;
    border-radius: 50%;
    width: 100%;
    height: 100%;
  }

  .scrolltop-wrap a svg path {
    transition: all 0.1s;
  }

  .scrolltop-wrap a #scrolltop-arrow {
    transform: scale(0.66);
    transform-origin: center;
  }

  @media print {
    .scrolltop-wrap {
      display: none !important;
    }

  }

  /* Größe der Icons */
  .small-icon {
    font-size: 1rem;
  }
  .medium-icon {
    font-size: 1.5rem;
  }
  .big-icon {
    font-size: 2rem;
  }
  .xxl-icon {
    font-size: 3rem;
  }

  /* Swiper */
  swiper-container {
  width: 100%;
  height: 100%;
  }

  swiper-slide {
    text-align: center;
    font-size: 18px;

    display: flex;
    justify-content: center;
    align-items: stretch; /* ÄNDERUNG: Streckt den Inhalt vertikal auf 100% */
    height: auto !important; /* NEU: Zwingt die Slides, die ermittelte Maximalhöhe anzunehmen */
  }

  swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  swiper-container::part(button-next),
  swiper-container::part(button-prev) {
    color: #fff;
    padding: 0;
  }
   swiper-container::part(button-next) {
    padding-right: 15px;
   }
   swiper-container::part(button-prev) {
    padding-left: 15px;
   }
  swiper-container::part(pagination) {
    position: relative;
    text-align: center;
    transition: 300ms opacity;
    transform: translate3d(0, 0, 0);
    z-index: 10;
    bottom: 0px !important;
    color: #333;
    z-index: 1;
    padding-top: 0.5em;
  }
  /*Dunkelblau: #102b54 rgba(16,43,84)
Intensiv Cyan (Türkis): #10b2b2 rgba(16,178,178)
Orange (hell): #ffc213 rgba(255,194,19)
Orange (dunkel): #f09206 rgba(240,146,6)
  */
  swiper-container::part(swiper-pagination-fraction) {
    background: rgba(0, 0, 0, 0.5);
    margin: 0 auto;
    max-width: 50px;
  }
  swiper-container::part(bullet) {
    background-color: rgba(240,146,6, 0.5);
    opacity: 1;
    width: 15px;
    height: 15px;
  }
  swiper-container::part(bullet-active) {
    background-color: #f09206;
    width: 18px;
    height: 18px;
  }
  .destination-title {
    position: absolute;
    bottom:0;
    margin: 30px 10px;
    width:85%;
  }

/* Styling für native Videocontainer (falls außerhalb von Cards genutzt) */
.video-container {
    width: 100%;
    margin: 20px auto;
}

.video-container iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    border: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* ========================================================== */
/* DSGVO ZUSTIMMUNGS-STYLING (Zwingt iFrames in die Bootstrap-Ratio) */
/* ========================================================== */

/* Wenn das Skript ein iframe injiziert, füllt es den 16:9-Kasten voll aus */
.youtube-consent iframe {
    width: 100% !important;
    height: 100% !important;
    position: absolute;
    top: 0;
    left: 0;
    border: none;
    border-radius: inherit; /* Übernimmt die Eckenrundung der Card */
}

/* Falls dein DSGVO-Skript vor der Zustimmung einen Text oder Button 
   IN das .youtube-consent DIV injiziert, wird dieser hier zentriert */
.youtube-consent:not(:has(iframe)) {
    display: flex;
    flex-column: column;
    justify-content: center;
    align-items: center;
    background-color: #2b3035; /* Dunkler Hintergrund als Platzhalter */
    color: #fff;
    padding: 20px !important;
    text-align: center;
}

/* Verhindert, dass verzerrte Bilder das Layout sprengen */
.object-fit-cover {
    object-fit: cover;
}

    .dl-link {
      border-bottom: 1px solid #000;
      padding-bottom: 5px;
    }
    .link-white .dl-link {
      border-bottom: 1px solid #fff;
      padding-bottom: 5px;
    }
    .dl-link:hover {
      font-weight: bolder;
    }

    .leftFloat {
  float: left
}
.rightFloat {
  float: right
}

/* Social Media Icons Variante 1 */

.wrapper {
  display: inline-flex;
  list-style: none;
}

.wrapper .icon {
  position: relative;
  background: #ffffff;
  border-radius: 50%;
  padding: 15px;
  margin: 10px;
  width: 50px;
  height: 50px;
  font-size: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.wrapper .tooltip {
  position: absolute;
  top: 0;
  font-size: 14px;
  background: #ffffff;
  color: #ffffff;
  padding: 5px 8px;
  border-radius: 5px;
  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.wrapper .tooltip::before {
  position: absolute;
  content: "";
  height: 8px;
  width: 8px;
  background: #ffffff;
  bottom: -3px;
  left: 50%;
  transform: translate(-50%) rotate(45deg);
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.wrapper .icon:hover .tooltip {
  top: -45px;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.wrapper .icon:hover span,
.wrapper .icon:hover .tooltip {
  text-shadow: 0px -1px 0px rgba(0, 0, 0, 0.1);
}

.wrapper .facebook:hover,
.wrapper .facebook:hover .tooltip,
.wrapper .facebook:hover .tooltip::before {
  background: #1877F2;
  color: #ffffff;
}

.wrapper .twitter:hover,
.wrapper .twitter:hover .tooltip,
.wrapper .twitter:hover .tooltip::before {
  background: #1DA1F2;
  color: #ffffff;
}

.wrapper .instagram:hover,
.wrapper .instagram:hover .tooltip,
.wrapper .instagram:hover .tooltip::before {
  background: #E4405F;
  color: #ffffff;
}

.wrapper .github:hover,
.wrapper .github:hover .tooltip,
.wrapper .github:hover .tooltip::before {
  background: #333333;
  color: #ffffff;
}

.wrapper .youtube:hover,
.wrapper .youtube:hover .tooltip,
.wrapper .youtube:hover .tooltip::before {
  background: #CD201F;
  color: #ffffff;
}

.alert svg {
  max-width: 25px;
}

.flexmodul-tabelle table tbody div {
  padding:4px;
}

/* Farbanpassungen der Tabelle */
div .table-success, .table-success {
  background: #d1e7dd !important;
  padding:4px;
}
div .table-info, .table-info {
  background: #C5E8EF !important;
  padding:4px;
}
div .table-danger, .table-danger {
  background: #ECCCCF !important;
  padding:4px;
}

/* Formularanpassungen der Inputs */
.formular input, .formular textarea, .formular select {
  margin-bottom: 10px;
}
.formular textarea {
  min-height: 150px;
}

ul {

}

.rm ul li {
  padding: 10px;
}

/* Ankerliste */
#sidebar {
  position: -webkit-sticky;
  position: sticky;
  top: 30px; /* Abstand von oben beim Scrollen */
  z-index: 100;
  height: max-content; /* Verhindert, dass die Sidebar unnötig lang gestreckt wird */
}

/* Die Box (Card) verschönern */
#anker {
  border: 1px solid #dee2e6 !important; /* Ein feiner, grauer Rahmen um die ganze Box */
  border-radius: 0.375rem; /* Abgerundete Ecken */
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05); /* Ein ganz dezenter Schatten */
}

/* Der Titel der Box (Inhalt) */
#anker .card-body {
  padding: 0.75rem 1.25rem;
}

/* Die Listen-Einträge */
#anker .list-group-item {
  padding: 0.75rem 1.25rem;
  transition: background-color 0.2s ease;
  border-bottom: 1px solid #dee2e6 !important;
}

#anker .list-group-item:last-child {
  border-bottom: none !important; /* Letzter Eintrag braucht keinen Strich unten */
}

/* Die Links optisch aufwerten (kein hässliches Standard-Blau/Unterstrichen) */
#anker .list-group-item a {
  color: #333333; /* Dunkelgraue Schrift */
  text-decoration: none; /* Unterstrich weg */
  display: block; /* Macht die ganze Zeile klickbar */
  font-weight: 500;
}

/* Hover-Effekt: Wenn man mit der Maus drüberfährt */
#anker .list-group-item:hover {
  background-color: #f8f9fa; /* Ganz leichtes Hellgrau im Hintergrund */
}
#anker .list-group-item a:hover {
  color: #0056b3; /* Link wird beim Drüberfahren dezent blau/Farbe deiner Wahl */
}


.box-container {
    display: inline-block;
    margin: 0;
    padding: 0;
    margin-top: 1.4em;
    width: 100%;
}

.box {
    list-style-type: none;
    float: left;
    /*opacity: 0;*/
    transform: translate3d(0, 40px, 0);
    transition: opacity 0.2s, transform 0.35s;
}

.box.show {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    transition: opacity 0.4s, transform 0.35s;
}

.box .inner {
    padding: 10px;
    position: relative;
}

.box a {
    display: block;
    width: 100%;
    height: auto;
    position: relative;
    overflow: hidden;
}

.box img {
    width: calc(100% + 50px);
    max-width: calc(100% + 50px);
    transition: opacity 0.35s, transform 0.35s;
    transform: translate3d(-40px, 0, 0);
}

.box a::before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: #000;
    z-index: 99;
    opacity: 0;
    transition: opacity 0.4s;
}

.three-cols .box {
    width: 100%;
}

.four-cols .box {
    width: 23.1%;
}

.four-cols .box:nth-child(4n+0) {
    margin-right: 0;
}

.four-cols .box:nth-child(4n+1) {
    clear: both;
    margin-left: 0;
}

@media (min-width: 390px) {
    .three-cols .box, .four-cols .box {
        width: 100%;
    }
}

@media (min-width: 576px) {
    .three-cols .box {
        width: 33.3%;
    }

    .three-cols .box:nth-child(3n+0) {
        margin-right: 0;
    }

    .three-cols .box:nth-child(3n+1) {
        margin-left: 0;
    }
    .four-cols .box {
        width: 33.3%;
    }
}

@media (min-width: 992px) {
    .box:hover img {
        transform: translate3d(0, 0, 0);
        transition: opacity 0.35s, transform 0.35s;
    }

    .box:hover a::before {
        opacity: 0.3;
        transition: opacity 0.5s;
    }
}

.funkyradio input[type="radio"]:empty ~ label, 
.funkyradio input[type="checkbox"]:empty ~ label {
  position: relative;
  line-height: 1.5em; /* Auf 1.5em angepasst für bessere Lesbarkeit bei Mehrzeilern */
  padding-left: 3.25em; 
  padding-top: 0.5em;
  padding-bottom: 0.5em;
  margin-top: 2em;
  cursor: pointer;
  user-select: none; 
  display: block;
}

.funkyradio input[type="radio"]:empty ~ label:before, .funkyradio input[type="checkbox"]:empty ~ label:before {
  position: absolute;
  display: block;
  top: 0;
  bottom: 0;
  left: 0;
  content: '';
  width: 2.5em;
  background: #d1d3d4;
  border-radius: 3px 0 0 3px; }

.funkyradio input[type="radio"]:hover:not(:checked) ~ label:before, .funkyradio input[type="checkbox"]:hover:not(:checked) ~ label:before {
  content: '\2714';
  text-indent: .9em;
  color: #c2c2c2; }

.funkyradio input[type="radio"]:checked ~ label:before, .funkyradio input[type="checkbox"]:checked ~ label:before {
  content: '\2714';
  text-indent: .9em;
  color: #333;
  background-color: #ccc; }

.funkyradio div {
  clear: both;
  overflow: hidden; }

.funkyradio label {
  width: 100%;
  border-radius: 3px;
  border: 1px solid #d1d3d4;
  font-weight: normal; 
  padding-right: 5px;}

.funkyradio input[type="radio"]:empty {
  display: none; }

.funkyradio input[type="radio"]:hover:not(:checked) ~ label {
  color: #888; }

.funkyradio input[type="radio"]:checked ~ label {
  color: #777; }

.funkyradio input[type="radio"]:focus ~ label:before {
  box-shadow: 0 0 0 3px #999; }

.funkyradio input[type="checkbox"]:empty {
  display: none; }

.funkyradio input[type="checkbox"]:hover:not(:checked) ~ label {
  color: #888; }

.funkyradio input[type="checkbox"]:checked ~ label {
  color: #777; }

.funkyradio input[type="checkbox"]:focus ~ label:before {
  box-shadow: 0 0 0 3px #999; }

.funkyradio-default input[type="radio"]:checked ~ label:before {
  color: #333;
  background-color: #ccc; }

.funkyradio-default input[type="checkbox"]:checked ~ label:before {
  color: #333;
  background-color: #ccc; }

.funkyradio-primary input[type="radio"]:checked ~ label:before {
  color: #fff;
  background-color: #337ab7; }

.funkyradio-primary input[type="checkbox"]:checked ~ label:before {
  color: #fff;
  background-color: #337ab7; }

.funkyradio-success input[type="radio"]:checked ~ label:before {
  color: #fff;
  background-color: #5cb85c; }

.funkyradio-success input[type="checkbox"]:checked ~ label:before {
  color: #fff;
  background-color: #5cb85c; }

.contrast .funkyradio-success input[type="radio"]:checked ~ label:before {
  color: #fff;
  background-color: black; }

.contrast .funkyradio-success input[type="checkbox"]:checked ~ label:before {
  color: #fff;
  background-color: black; }

.funkyradio-danger input[type="radio"]:checked ~ label:before {
  color: #fff;
  background-color: #d9534f; }

.funkyradio-danger input[type="checkbox"]:checked ~ label:before {
  color: #fff;
  background-color: #d9534f; }

.funkyradio-warning input[type="radio"]:checked ~ label:before {
  color: #fff;
  background-color: #f0ad4e; }

.funkyradio-warning input[type="checkbox"]:checked ~ label:before {
  color: #fff;
  background-color: #f0ad4e; }

.funkyradio-info input[type="radio"]:checked ~ label:before {
  color: #fff;
  background-color: #5bc0de; }

.funkyradio-info input[type="checkbox"]:checked ~ label:before {
  color: #fff;
  background-color: #5bc0de; }

.funkyradio-brown input[type="radio"]:checked ~ label:before {
  color: black;
  background-color: #c4b7af; }

.funkyradio-brown input[type="checkbox"]:checked ~ label:before {
  color: black;
  background-color: #c4b7af; }

.contrast .funkyradio-brown input[type="radio"]:checked ~ label:before {
  color: black;
  background-color: #fff; }

.contrast .funkyradio-brown input[type="checkbox"]:checked ~ label:before {
  color: black;
  background-color: #fff; }

/* Social Media im Footer ausblenden */
#footer .imp-medium section:nth-of-type(2) {
    display: none;
}
