/* Fonts */
:root {
  --font-default: "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";
  --font-primary: "Canter", "sans-serif";
  --font-secondary: "Inter", sans-serif;
}

/* Colors */
:root {
  --color-default: #212529;
  --color-primary: rgb(69, 135, 161);
  --color-primary-lighter: rgb(79, 154, 184);
  --color-hover: #33658A;
  --color-secondary: #37373f;
}

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

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
body {
  font-family: var(--font-default);
  color: var(--color-default);
}

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

a:hover {
  color: var(--color-hover);
  text-decoration: none;
  font-family: var(--font-default);
  color: var(--color-default);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-secondary);
}

span {
  color: var(--color-primary);
  font-weight: bold;
}

.text-bold {
  font-weight: bold;
}

.disabled {
  background: grey !important;
  cursor: not-allowed;
}

.margin-top-lg {
  margin-top: 2em;
}

.margin-bottom-md {
  margin-bottom: 1em;
}

.padding-lg {
  padding: 2em;
}

.text-lg {
  font-size: 2em;
}

.btn-primary,
.btn-primary:focus {
  font-size: 14px;
  color: #fff;
  background: var(--color-primary);
  padding: 10px 35px;
  border-radius: 50px;
  transition: 0.3s;
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
}

.btn-primary:hover,
.btn-primary.about:hover {
  color: #fff;
  background: var(--color-hover);
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.header {
  background: #fff;
  transition: all 0.5s;
  -webkit-transition: all 0.5s;
  -moz-transition: all 0.5s;
  z-index: 997;
  height: 90px;
  border-bottom: 1px solid #fff;
}

.header.sticked {
  border-color: #fff;
  border-color: #eee;
}

.header .logo img {
  max-height: 70px;
}

@media (max-width: 575px) {
  .header {
    height: 70px;
  }
}

/*--------------------------------------------------------------
# Desktop Navigation
--------------------------------------------------------------*/

.divider {
  border-top: 1px solid rgba(0,0,0,.2);
  padding-top: 8px;
}

@media (min-width: 1280px) {
  .navbar {
    padding: 0;
  }

  .navbar ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
  }

  .navbar li {
    position: relative;
  }

  .navbar>ul>li {
    white-space: nowrap;
    padding: 10px 0 10px 28px;
  }

  .navbar a,
  .navbar a:focus {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 3px;
    font-family: var(--font-secondary);
    font-size: 16px;
    font-weight: 600;
    color: #7f7f90;
    white-space: nowrap;
    transition: 0.3s;
    position: relative;
  }

  .navbar a i,
  .navbar a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
  }

  .navbar>ul>li>a:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -6px;
    left: 0;
    background-color: var(--color-primary);
    visibility: hidden;
    width: 0px;
    transition: all 0.3s ease-in-out 0s;
  }

  .navbar a:hover:before,
  .navbar li:hover>a:before,
  .navbar .active:before {
    visibility: visible;
    width: 100%;
  }

  .navbar a:hover,
  .navbar .active,
  .navbar .active:focus,
  .navbar li:hover>a {
    color: #000;
  }

  .navbar .dropdown ul {
    display: block;
    position: absolute;
    left: 28px;
    top: calc(100% + 30px);
    margin: 0;
    padding: 10px 0;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    background: #fff;
    box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
    transition: 0.3s;
    border-radius: 4px;
  }

  .navbar .dropdown ul li {
    min-width: 200px;
  }

  .navbar .dropdown ul a {
    padding: 10px 20px;
    font-size: 15px;
    text-transform: none;
    font-weight: 600;
  }

  .navbar .dropdown ul a i {
    font-size: 12px;
  }

  .navbar .dropdown ul a:hover,
  .navbar .dropdown ul .active:hover,
  .navbar .dropdown ul li:hover>a {
    color: var(--color-primary);
  }

  .navbar .dropdown:hover>ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
  }

  .navbar .dropdown .dropdown ul {
    top: 0;
    left: calc(100% - 30px);
    visibility: hidden;
  }

  .navbar .dropdown .dropdown:hover>ul {
    opacity: 1;
    top: 0;
    left: 100%;
    visibility: visible;
  }

  .navbar-mobile-item {
    display: none;
  }
}

@media (min-width: 1280px) and (max-width: 1366px) {
  .navbar .dropdown .dropdown ul {
    left: -90%;
  }

  .navbar .dropdown .dropdown:hover>ul {
    left: -100%;
  }
}

@media (min-width: 1280px) {

  .mobile-nav-show,
  .mobile-nav-hide {
    display: none;
  }
}

@media (max-width: 1280px) {
  .navbar-mobile-item {
    display: inherit;
  }
}

/*--------------------------------------------------------------
# Mobile Navigation
--------------------------------------------------------------*/
@media (max-width: 1279px) {
  .navbar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 400px;
    border-left: 1px solid #666;
    bottom: 0;
    transition: 0.3s;
    z-index: 9997;
  }

  .navbar ul {
    position: absolute;
    inset: 0;
    padding: 50px 0 10px 0;
    margin: 0;
    background: rgba(255, 255, 255, 0.9);
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
  }

  .navbar a,
  .navbar a:focus {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    font-family: var(--font-secondary);
    border-bottom: 2px solid rgba(255, 255, 255, 0.8);
    font-size: 16px;
    font-weight: 600;
    color: #7f7f90;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navbar a i,
  .navbar a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
  }

  .navbar a:hover,
  .navbar li:hover>a {
    color: #000;
  }

  .navbar .active,
  .navbar .active:focus {
    color: #000;
    border-color: var(--color-primary);
  }

  .navbar .dropdown ul,
  .navbar .dropdown .dropdown ul {
    position: static;
    display: none;
    padding: 10px 0;
    margin: 10px 20px;
    transition: all 0.5s ease-in-out;
    border: 1px solid #eee;
  }

  .navbar .dropdown>.dropdown-active,
  .navbar .dropdown .dropdown>.dropdown-active {
    display: block;
  }

  .mobile-nav-show {
    color: var(--color-secondary);
    font-size: 28px;
    cursor: pointer;
    line-height: 0;
    transition: 0.5s;
    z-index: 9999;
    margin: 0 10px 0 20px;
  }

  .mobile-nav-hide {
    color: var(--color-secondary);
    font-size: 32px;
    cursor: pointer;
    line-height: 0;
    transition: 0.5s;
    position: fixed;
    right: 20px;
    top: 20px;
    z-index: 9999;
  }

  .mobile-nav-active {
    overflow: hidden;
  }

  .mobile-nav-active .navbar {
    right: 0;
  }

  .mobile-nav-active .navbar:before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.8);
    z-index: 9996;
  }

  .header .btn-primary {
    margin-left:20px;
  }
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/

.hero {
  width: 100%;
  position: relative;
  padding: 160px 0 60px 0;
  background-size: cover;
  min-height: 100vh;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('./assets/img/hero/bg.webp');
  background-size: cover;
  background-position: center;
  filter: blur(10px);
  z-index: -1; /* Keep it behind the content */
  transform: scale(1.15); /* No White Spaces from blur */
}

.hero h2 {
  font-size: 64px;
  font-weight: 700;
  margin-bottom: 30px;
  color: var(--color-secondary);
  font-family: var(--font-primary);
}

.hero h2 span {
  color: var(--color-primary);
}

.hero p {
  color: #4f4f5a;
  font-weight: 400;
  margin-bottom: 20px;
}

.white-box {
  background: white;
  z-index: 10;
  border-radius: 30px;
  padding: 40px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* Ensures content is aligned at the top */
  align-items: flex-start; /* Ensures the logo stays on the left */
}

.hero-logo {
  position: absolute;
  top: 0;
  left: 0;
  transform: translate(-45%, -65%); /* Move the logo slightly out of the white-box for a corner effect */
  width: 30%; /* Make logo size relative to the container width */
  max-width: 240px; /* Limit the maximum size of the logo */
  rotate: -10deg;
  height: auto;
}

.hero img {
  width: 100%;
  height: auto;
}

.hero .btn-watch-video {
  font-size: 16px;
  transition: 0.5s;
  margin-left: 25px;
  color: var(--font-secondary);
  font-weight: 600;
}

.hero .btn-watch-video i {
  color: var(--color-primary);
  font-size: 32px;
  transition: 0.3s;
  line-height: 0;
  margin-right: 8px;
}

.hero .btn-watch-video:hover {
  color: var(--color-primary);
}

.hero .btn-watch-video:hover i {
  color: var(--color-hover);
}

.img-overlay {
  z-index: 1000;
  left: 20%;
  right: 20%;
  bottom: 5%;
  background-color: #fff;
  box-shadow: 0px 2px 25px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
}

.img-overlay h4 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
  font-family: var(--font-default);
}

.img-overlay p {
  font-size: 18px;
  margin-bottom: 0 !important;
}

.img-overlay a,
.img-overlay a:focus {
  justify-content: center;
  margin: 2em;
  margin-top: 2em;
  color: white;
  background: var(--color-primary);
  padding: 10px 35px;
  margin-left: 30px;
  border-radius: 50px;
  transition: 0.3s;
  background: var(--color-primary);
  padding: 10px 35px;
  margin-left: 30px;
  border-radius: 50px;
  transition: 0.3s;
}

.img-overlay a:hover {
  color: #fff;
  background: var(--color-hover);
}

.rainbow-text {
  background: linear-gradient(270deg, #b30000, #cc5200, #d6d600, #2e7d00, #007d7d, #0059b3, #4b007f);
  background-size: 400%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent; /* Für WebKit-basierte Browser */
  -moz-background-clip: text; /* Für ältere Firefox-Versionen */
  color: transparent; /* Als Fallback */
  animation: rainbow-animation 10s ease infinite;
  -webkit-animation: rainbow-animation 10s ease infinite; /* Für WebKit-basierte Browser */
  -moz-animation: rainbow-animation 10s ease infinite; /* Für ältere Firefox-Versionen */
}

@keyframes rainbow-animation {
  0% {
      background-position: 0% 50%;
  }
  50% {
      background-position: 100% 50%;
  }
  100% {
      background-position: 0% 50%;
  }
}

@-webkit-keyframes rainbow-animation {
  0% {
      background-position: 0% 50%;
  }
  50% {
      background-position: 100% 50%;
  }
  100% {
      background-position: 0% 50%;
  }
}

@-moz-keyframes rainbow-animation {
  0% {
      background-position: 0% 50%;
  }
  50% {
      background-position: 100% 50%;
  }
  100% {
      background-position: 0% 50%;
  }
}


.blinking {
  color: #eeeeee;
  cursor: pointer;
  animation: glowing 3000ms infinite;
  -webkit-animation: glowing 3000ms infinite; /* WebKit-basierte Browser */
  -moz-animation: glowing 3000ms infinite; /* Ältere Firefox-Versionen */
}

@keyframes glowing {
  0% {
    background-color: var(--color-primary);
    box-shadow: 0 0 3px var(--color-primary);
  }
  50% {
    background-color: var(--color-primary-lighter);
    box-shadow: 0 0 15px var(--color-primary-lighter);
  }
  100% {
    background-color: var(--color-primary);
    box-shadow: 0 0 3px var(--color-primary);
  }
}

@-webkit-keyframes glowing {
  0% {
    background-color: var(--color-primary);
    box-shadow: 0 0 3px var(--color-primary);
  }
  50% {
    background-color: var(--color-primary-lighter);
    box-shadow: 0 0 15px var(--color-primary-lighter);
  }
  100% {
    background-color: var(--color-primary);
    box-shadow: 0 0 3px var(--color-primary);
  }
}

@-moz-keyframes glowing {
  0% {
    background-color: var(--color-primary);
    box-shadow: 0 0 3px var(--color-primary);
  }
  50% {
    background-color: var(--color-primary-lighter);
    box-shadow: 0 0 15px var(--color-primary-lighter);
  }
  100% {
    background-color: var(--color-primary);
    box-shadow: 0 0 3px var(--color-primary);
  }
}


@media (max-width: 1400px) {
  .hero h2 {
    font-size: 3em !important;
  }

  .hero-logo {
    width: 40% !important;
  }

  .img-overlay {
    left: 5%;
    right: 5%;
    padding: 30px;
  }
}

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

  .hero .btn-get-started,
  .hero .btn-watch-video {
    font-size: 14px;
  }
}

/*--------------------------------------------------------------
# Sections & Section Header
--------------------------------------------------------------*/
section {
  overflow: hidden;
  padding: 80px 0;
  scroll-margin-top: 90px;
}

.section-bg {
  background-color: #eee;
}

.section-header {
  text-align: center;
  padding-bottom: 30px;
}

.section-header h2 {
  font-size: 13px;
  letter-spacing: 1px;
  font-weight: 400;
  margin: 0;
  padding: 0;
  color: #7f7f90;
  text-transform: uppercase;
  font-family: var(--font-default);
}

.section-header p {
  margin: 0;
  font-size: 48px;
  font-weight: 400;
  font-family: var(--font-primary);
}

.section-header p span {
  color: var(--color-primary);
}

/*--------------------------------------------------------------
# Breadcrumbs
--------------------------------------------------------------*/
.breadcrumbs {
  padding: 15px 0;
  background: rgba(55, 55, 63, 0.05);
  margin-top: 90px;
}

.breadcrumbs h2 {
  font-size: 24px;
  font-weight: 400;
  margin: 0;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
}

.breadcrumbs ol li+li {
  padding-left: 10px;
}

.breadcrumbs ol li+li::before {
  display: inline-block;
  padding-right: 10px;
  color: #676775;
  content: "/";
}

@media (max-width: 575px) {
  .breadcrumbs {
    margin-top: 70px;
  }
}


@media (max-width: 992px) {
  .breadcrumbs .d-flex {
    display: block !important;
  }

  .breadcrumbs h2 {
    margin-bottom: 10px;
  }

  .breadcrumbs ol {
    display: block;
  }

  .breadcrumbs ol li {
    display: inline-block;
  }
}

/*--------------------------------------------------------------
# Scroll top button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  background: var(--color-primary);
  width: 44px;
  height: 44px;
  border-radius: 50px;
  transition: all 0.4s;
}

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

.scroll-top:hover {
  background: var(--color-hover);
  color: #fff;
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  overflow: hidden;
  background: #fff;
  transition: all 0.6s ease-out;
  -webkit-transition: all 0.6s ease-out; /* WebKit-basierte Browser */
  -moz-transition: all 0.6s ease-out; /* Ältere Firefox-Versionen */
  width: 100%;
  height: 100vh;
}

#preloader:before,
#preloader:after {
  content: "";
  position: absolute;
  border: 4px solid var(--color-primary);
  border-radius: 50%;
  animation: animate-preloader 2s cubic-bezier(0, 0.2, 0.8, 1) infinite;
  -webkit-animation: animate-preloader 2s cubic-bezier(0, 0.2, 0.8, 1) infinite; /* WebKit-basierte Browser */
  -moz-animation: animate-preloader 2s cubic-bezier(0, 0.2, 0.8, 1) infinite; /* Ältere Firefox-Versionen */
}

#preloader:after {
  animation-delay: -0.5s;
  -webkit-animation-delay: -0.5s; /* WebKit-basierte Browser */
  -moz-animation-delay: -0.5s; /* Ältere Firefox-Versionen */
}

@keyframes animate-preloader {
  0% {
    width: 10px;
    height: 10px;
    top: calc(50% - 5px);
    left: calc(50% - 5px);
    opacity: 1;
  }

  100% {
    width: 72px;
    height: 72px;
    top: calc(50% - 36px);
    left: calc(50% - 36px);
    opacity: 0;
  }
}

@-webkit-keyframes animate-preloader {
  0% {
    width: 10px;
    height: 10px;
    top: calc(50% - 5px);
    left: calc(50% - 5px);
    opacity: 1;
  }

  100% {
    width: 72px;
    height: 72px;
    top: calc(50% - 36px);
    left: calc(50% - 36px);
    opacity: 0;
  }
}

@-moz-keyframes animate-preloader {
  0% {
    width: 10px;
    height: 10px;
    top: calc(50% - 5px);
    left: calc(50% - 5px);
    opacity: 1;
  }

  100% {
    width: 72px;
    height: 72px;
    top: calc(50% - 36px);
    left: calc(50% - 36px);
    opacity: 0;
  }
}

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

/*--------------------------------------------------------------
# Collagen
--------------------------------------------------------------*/
.collage-wrapper .swiper {
  width: 100%;
  height: 100%;
}

.collage-wrapper .swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}

.collage-wrapper .swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.collage-wrapper .swiper-pagination-progressbar-fill {
  background: var(--color-primary);
}

.collage {
  border-radius: 30px;
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/

.btn-more-info {
  display: inline-block;
  padding: 6px 30px 8px 30px;
  color: #fff;
  border-radius: 50px;
  transition: all ease-in-out 0.4s;
  -webkit-transition: all ease-in-out 0.4s;
  -moz-transition: all ease-in-out 0.4s;
  margin-right: 1.5em;
}

.btn-more-info:hover {
  color: black;
  background-color: transparent !important;
}

#btn-more-info-jugend {
  background: rgba(19, 110, 11, 0.4);
}

#btn-more-info-eltern {
  background: rgba(156, 14, 199, 0.4);
}

#btn-more-info-jugend:hover {
  border: rgba(19, 110, 11, 0.4) 1px solid;
}

#btn-more-info-eltern:hover {
  border: rgba(156, 14, 199, 0.4) 1px solid;
}

.about h3 {
  font-weight: 700;
  font-size: 36px;
  margin-bottom: 30px;
  font-family: var(--font-secondary);
}

.about-img {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  min-height: 500px;
}

.about-content ul {
  list-style: none;
  padding: 0;
}

.about-content ul li {
  padding: 0 0 8px 26px;
  position: relative;
}

.about-content ul i {
  position: absolute;
  font-size: 20px;
  left: 0;
  top: -3px;
  color: var(--color-primary);
}

.about-content p:last-child {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Angebote Section
--------------------------------------------------------------*/
.angebote .angebote-box {
  padding: 30px;
  background: var(--color-primary);
  color: #fff;
}

.angebote .angebote-box h3 {
  font-weight: 700;
  font-size: 34px;
  margin-bottom: 30px;
}

.angebote .angebote-box p {
  margin-bottom: 70px;
}

.angebote .angebote-box .btn-primary {
  display: inline-block;
  background: rgba(255, 255, 255, 0.3);
  padding: 6px 30px 8px 30px;
}

.angebote .angebote-box .btn-primary i {
  font-size: 14px;
}

.angebote .angebote-box .btn-primary:hover {
  color: var(--color-primary);
  background: #fff;
}

.angebote .icon-box {
  text-align: center;
  background: #fff;
  padding: 20px 30px;
  margin-left: 0px;
  border-radius: 50px;
  width: 100%;
  height: 100%;
  border: 1px solid rgba(55, 55, 63, 0.1);
  transition: 0.3s;
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
}

.angebote .icon-box i {
  color: var(--color-primary);
  margin-bottom: 30px;
  font-size: 32px;
  margin-bottom: 30px;
  background: rgba(206, 18, 18, 0.1);
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
}
/*TODO*/
.angebote .icon-box h4 {
  font-size: 20px;
  font-weight: 400;
  margin: 0 0 30px 0;
  font-family: var(--font-secondary);
  color: black;
}

.angebote .icon-box p {
  font-size: 15px;
  color: #6c757d;
}

@media (min-width: 1200px) {
  .angebote .icon-box:hover {
    transform: scale(1.1);
  }
}


/*--------------------------------------------------------------
# Termine Section
--------------------------------------------------------------*/

.row-striped:nth-of-type(odd){
  background-color: #dddddd;
  border-left: 4px #000000 solid;
}

.row-striped:nth-of-type(even){
  background-color: #ffffff;
  border-left: 4px #c5c5c5 solid;
}

.row-striped {
    padding: 10px 0;
}

.text-right {
  text-align: right;
}

.badge-secondary {
  background-color: grey;
}

.termine h3 {
  font-size: 20px;
}

.termine .date {
  font-size: 30px;
}

.scroll-box {
  max-height: 50vh;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 10px;
}

@media (max-width: 480px) {
  .date {
    font-size: 23px !important;
  }
}

/*--------------------------------------------------------------
# Aktuelles Section
--------------------------------------------------------------*/
.aktuelles .container-fluid {
  padding: 0;
}

.aktuelles .aktuelles-item {
  background-size: cover;
  background-position: cente;
  min-height: 600px;
  padding: 30px;
}

.aktuelles .aktuelles-item:before {
  content: "";
  background: rgba(0, 0, 0, 0.6);
  position: absolute;
  inset: 0;
}

.aktuelles .aktuelles-item h3 {
  font-size: 35px;
  font-weight: 800;
  margin-bottom: 5px;
  color: #fff;
  position: relative;
}

.aktuelles .aktuelles-item .aktuelles-undertitle {
  color: #fff;
  border-bottom: 2px solid var(--color-primary);
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 15px;
  position: relative;
}

.aktuelles .aktuelles-item .btn-primary {
  background-color: var(--color-primary);
  display: block;
  margin-top: 1em;
  padding: 6px 30px 8px 30px;
  transition: all ease-in-out 0.4s;
  -webkit-transition: all ease-in-out 0.4s;
  -moz-transition: all ease-in-out 0.4s;
  margin-right: 1.5em;
  align-self: flex-start;
  position: relative;
}

.aktuelles .aktuelles-item .btn-primary:hover {
  color: var(--color-primary);
  background: #fff;
}

.aktuelles .aktuelles-item .aktuelles-description {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.9);
  position: relative;
}

.aktuelles .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.aktuelles .swiper-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background-color: #d1d1d7;
  opacity: 1;
}

.aktuelles .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--color-primary);
}

@media (max-width: 575px) {
  .aktuelles .aktuelles-item {
    min-height: 500px;
  }
}

@media (min-width: 1200px) {
  .aktuelles .swiper-slide-active+.swiper-slide {
    border-left: 1px solid rgba(255, 255, 255, 0.5);
    border-right: 1px solid rgba(255, 255, 255, 0.5);
    z-index: 1;
  }
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/

.contact .info-item {
  background: #f4f4f4;
  padding: 30px;
  height: 100%;
}

.contact .info-item .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  font-size: 24px;
  line-height: 0;
  color: #fff;
  background: var(--color-primary);
  border-radius: 50%;
  margin-right: 15px;
}

.contact .info-item h3 {
  font-size: 20px;
  color: #6c757d;
  font-weight: 700;
  margin: 0 0 5px 0;
}

.contact .info-item p {
  padding: 0;
  margin: 0;
  line-height: 24px;
  font-size: 14px;
  line-height: 24px;
  font-size: 14px;
}

.contact .info-item .social-links a {
  font-size: 24px;
  display: inline-block;
  color: rgba(55, 55, 63, 0.7);
  line-height: 1;
  margin: 4px 6px 0 0;
  transition: 0.3s;
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
}

.contact .info-item .social-links a:hover {
  color: var(--color-primary);
}

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/

.primary-form {
  padding: 40px;
  width: 100%;
  margin-top: 30px;
  background: #fff;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.08);
}

.primary-form .form-group {
  padding-bottom: 20px;
}

.primary-form h3 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.primary-form h4 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 20px 0 0 0;
}

.primary-form p {
  font-size: 14px;
  margin-bottom: 20px;
}

.primary-form .error-message {
  display: none;
  color: #fff;
  background: #df1529;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.primary-form .error-message br+br {
  margin-top: 25px;
}

.primary-form .sent-message {
  display: none;
  color: #fff;
  background: #059652;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.primary-form .loading {
  display: none;
  background: #fff;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
}

.primary-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid #059652;
  border-top-color: #fff;
  animation: animate-loading 1s linear infinite;
  -webkit-animation: animate-loading 1s linear infinite;
  -moz-animation: animate-loading 1s linear infinite;
}

.primary-form input,
.primary-form select,
.primary-form textarea {
  border-radius: 0;
  box-shadow: none;
  font-size: 14px;
}

.primary-form input:focus,
.primary-form select:focus,
.primary-form textarea:focus {
  border-color: var(--color-primary);
}

.primary-form input,
.primary-form select {
  height: 48px;
}

.primary-form input {
  padding: 12px 15px;
}

/*TODO*/
.primary-form textarea {
  padding: 12px 15px;
}
.primary-form textarea {
  padding: 10px 12px;
}

.primary-form button[type=submit] {
  background: var(--color-primary);
  border: 0;
  padding: 14px 60px;
  color: #fff;
  transition: 0.4s;
  -webkit-transition: 0.4s;
  -moz-transition: 0.4s;
  border-radius: 50px;
}

.primary-form button[type=submit]:hover {
  background: var(--color-hover);
}

@keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@-webkit-keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@-moz-keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@media (max-width: 575px) {
  .primary-form {
    padding: 20px;
  }
}

.form-check {
  display: flex;
  align-items: center;
}

.form-check-input {
  height: 2.3em !important;
  margin-right: 10px;
}

.form-check-label {
  cursor: pointer;
}

.form-check-label {
  cursor: default;
}

/*--------------------------------------------------------------
# Programmübersicht Section
--------------------------------------------------------------*/
.schedule-table table thead th {
  padding: 25px 50px;
  color: var(--color-primary);
  text-align: center;
  font-size: 20px;
  font-weight: 800;
  position: relative;
  border: 0;
}
.schedule-table table tbody td {
  vertical-align: middle;
  border: 1px solid #e2edf8;
  font-weight: 500;
  padding: 25px;
  text-align: center;
}

.schedule-table table tbody td.active {
  position: relative;
  transition: all 0.3s linear 0s;
  min-width: 165px;
}
.schedule-table table tbody td.active h4 {
  font-weight: 700;
  color: #000;
  font-size: 20px;
  margin-bottom: 5px;
}
.schedule-table table tbody td.active p {
  font-size: 16px;
  line-height: normal;
  margin-bottom: 0;
}
.schedule-table table tbody td .hover h4 {
  font-weight: 700;
  font-size: 20px;
  color: #ffffff;
  margin-bottom: 5px;
}
.schedule-table table tbody td .hover p {
  font-size: 16px;
  margin-bottom: 5px;
  color: #ffffff;
  line-height: normal;
}
.schedule-table table tbody td .hover span {
  color: #ffffff;
  font-weight: 600;
  font-size: 18px;
}

.schedule-table table tbody td .hover span i::after{
  content: " ";
}

.schedule-table table tbody td .hover {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 120%;
  height: 120%;
  transform: translate(-50%, -50%) scale(0.8);
  background: #86d4f5;
  border-radius: 0.25rem;
  padding: 25px 0;
  padding: 25px 0;
  visibility: hidden;
  opacity: 0;
  transition: all 0.3s linear 0s;
  z-index: 99999 !important;
}
.schedule-table table tbody td.active:hover .hover {
  transform: translate(-50%, -50%) scale(1);
  visibility: visible;
  opacity: 1;
  z-index: 99999 !important;
}

@media screen and (max-width: 1199px) {
  .schedule-table {
    display: block;
    width: 100%;
    overflow-x: auto;
  }
  .schedule-table table thead th {
    padding: 25px 40px;
  }
  .schedule-table table tbody td {
    padding: 20px;
  }
  .schedule-table table tbody td.active h4 {
    font-size: 18px;
  }
  .schedule-table table tbody td.active p {
    font-size: 15px;
  }
  .schedule-table table tbody td .hover {
    padding: 15px 0;
  }
  .schedule-table table tbody td .hover span {
    font-size: 17px;
  }
}

@media screen and (max-width: 991px) {
  .schedule-table table thead th {
    font-size: 18px;
    padding: 20px;
  }
  .schedule-table table tbody td.active h4 {
    font-size: 17px;
  }
}

@media screen and (max-width: 767px) {
  .schedule-table table thead th {
    padding: 15px;
  }
  .schedule-table table tbody td {
    padding: 15px;
  }
  .schedule-table table tbody td.active h4 {
    font-size: 16px;
  }
  .schedule-table table tbody td.active p {
    font-size: 14px;
  }
  .schedule-table table tbody td .hover {
    padding: 10px 0;
  }
  .schedule-table table tbody td .hover span {
    font-size: 15px;
  }
}

@media screen and (max-width: 575px) {
  .schedule-table table tbody td.day {
    min-width: 135px;
  }
}

/*--------------------------------------------------------------
# Galerie Section
--------------------------------------------------------------*/

.masonry {
  column-count: 3;
  column-gap: 1rem;
}

.masonry-item {
  break-inside: avoid;
  margin-bottom: 1rem;
}

.image-container {
  position: relative;
}

.image-title {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgb(255, 255, 255);
  padding: 5px;
  border-radius: 10px 10px 0px 0px; 
  font-size: 0.9rem;
  text-align: center;
  min-width: 50%;
  max-width: 100%;
  color: black;
  margin-bottom: 0;
}

@media (max-width: 500px) {
  .masonry {
    column-count: 2;
  }
}

/*--------------------------------------------------------------
# Team Section
--------------------------------------------------------------*/

.team-item {
  transition: .5s;
  -webkit-transition: .5s;
  -moz-transition: .5s;
}

.team-item:hover {
  box-shadow: 0 0 30px #DDDDDD;
}

.team-item span {
  font-size: 1.5em;
}

.team-item i {
  color: var(--color-primary);
}

.team-item .team-img img {
  transition: .5s;
  object-fit: cover; /* Do not scale the image */
  object-position: center; /* Center the image within the element */
  width: 100%;
  max-height: 400px;
}

.team-item:hover .team-img img {
  transform: scale(1.15);
}

.team-row {
  margin-bottom: 2em;
}


/*--------------------------------------------------------------
# Unterstützung Section
--------------------------------------------------------------*/
.button-card {
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
  -webkit-transition: transform 0.3s, box-shadow 0.3s;
  -moz-transition: transform 0.3s, box-shadow 0.3s;
  padding: 3em;
}

.button-card:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  background-color: #f0f0f0;
}

.stretched-link {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1; /* Link above Card */
}

/*--------------------------------------------------------------
# Inner Page
--------------------------------------------------------------*/

.card-group .card {
  margin: 20px;
  border: 1px solid rgba(128, 128, 128, 0.404) !important;
}

.btn-download {
  display: inline-block;
  padding: 6px 30px 8px 30px;
  color: #fff;
  border-radius: 50px;
  transition: all ease-in-out 0.4s;
  -webkit-transition: all ease-in-out 0.4s;
  -moz-transition: all ease-in-out 0.4s;
  background-color: var(--color-primary);
  margin-bottom: 1em;
}

.btn-download:hover {
  background-color: #fff;
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
}

.poster img {
  max-width: 50%;
  width: 150px;
  background-position: center center;
  background-repeat: no-repeat;
}

.poster .card {
  width: 80%;
}

.not-found img {
  width: 30%;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.footer {
  font-size: 14px;
  background-color: #1f1f24;
  padding: 50px 0;
  color: rgba(255, 255, 255, 0.7);
}

.footer .icon {
  margin-right: 15px;
  font-size: 24px;
  line-height: 0;
}

.footer h4 {
  font-size: 16px;
  font-weight: bold;
  position: relative;
  padding-bottom: 5px;
  color: #fff;
}

.footer .footer-links {
  margin-bottom: 30px;
}

.footer .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer .footer-links ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

.footer .footer-links ul li:first-child {
  padding-top: 0;
}

.footer .footer-links ul a {
  color: rgba(255, 255, 255, 0.6);
  transition: 0.3s;
  display: inline-block;
  line-height: 1;
}

.footer .footer-links ul a:hover {
  color: #fff;
}

.footer .copyright {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer .safe {
  padding-top: 4px;
  text-align: center;
  font-size: 13px;
}

.footer .safe a {
  color: #fff;
}


/*----------------------------------------------------------------
# Social Bar
-----------------------------------------------------------------*/

.icon-bar {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 200;
}

.icon-bar a {
  display: block;
  text-align: center;
  transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  color: white;
  margin-left: 1em;
  margin-bottom: 1em;
}

.icon-bar a .circle-icon {
  background: var(--color-primary);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 25px;
  transition: width 0.4s ease, height 0.4s ease, font-size 0.4s ease, transform 0.4s ease;
  -webkit-transition: width 0.4s ease, height 0.4s ease, font-size 0.4s ease, transform 0.4s ease;
  -moz-transition: width 0.4s ease, height 0.4s ease, font-size 0.4s ease, transform 0.4s ease;
}

.icon-bar a .circle-icon:hover {
  animation: bounce 0.4s;
  -webkit-animation: bounce 0.4s;
  -moz-animation: bounce 0.4s;
  background: var(--color-secondary);
}


@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

@-webkit-keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

@-moz-keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}
/*TODO*/
@media (max-width: 1200px) {
  .icon-bar a .circle-icon {
    width: 40px !important;  /* Standard Width */
    height: 40px !important; /* Standard Height */
    font-size: 20px !important;
  }
}


/*----------------------------------------------------------------
# Mobile Optimization
-----------------------------------------------------------------*/

@media (max-width: 500px) {
  .no-mobile {
    display:none;
  }

  .only-mobile {
    display: initial;
  }
}

@media (min-width: 500px) {
  .only-mobile {
    display: none;
  }
}