header {
  background-color: #fff !important;
}

#logo {
  width:350px;
}

.mt-8 {
  margin-top:5rem;
}

p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #000000;
}

a {
  text-decoration: none;
}

.banner-title p {
  color: #ffffff !important;
}
.btn-hover:hover {
  color: var(--accent--color);
  transform: translatex(5px);
}

.btn-primary {
  background-color: #0077cc;
  border: none;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  border-radius: 999px;
  transition: all 0.3s ease;
}

.p-start p {
  font-size: 1.3rem !important;
}



.fw-bold {
  font-weight: 700;
}
.banner-title .hl {
  text-shadow: 0 0 10px #333, 0 0 1em rgba(0, 0, 0, 0.1);
font-weight: 700;
font-size: 1.5rem;
margin-bottom: .2rem;
}
.banner-title h1 {
  text-shadow: 0 0 10px #333, 0 0 1em rgba(0, 0, 0, 0.1);
  margin-bottom:0;
}
.banner-title p {
    margin-bottom:3rem;
}
.banner-title p span {
 background-color: #fff;
  box-decoration-break: clone;
/*  background-color: #fcdb57;
*/
    color:#000!important;
  display:inline;
  padding: .5rem .75rem;
line-height: 2rem !important;
}

.clear-both {
  clear: both;
}

.intro-box {
  background: #f0f8ff;
  border-radius: 16px;
  padding: 2.5rem 2rem;
  /* max-width: 720px; */
  text-align: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.intro-box h2 {
  font-size: 2.5rem;
  color: #003366;
  margin-bottom: 1rem;
}

.intro-box p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #333;
  margin-bottom: 1.2rem;
}

.intro-box strong {
  color: #0077cc;
}

.btn-cta {
  display: inline-block;
  margin-top: 1rem;
  background-color: #0077cc;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 29px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease-in-out;
}

.btn-cta:hover {
  color: var(--accent--color);
  background-color: #005fa3;
  text-decoration: none;
}


/* FAMILIENPREIS */


.familienpreis {
    position: absolute;
    top: 55%;
    right: -10px;
    z-index: 10;
    width: 350px;
    background-color: rgba(255, 255, 255, 0.95);
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    transform: rotate(6deg);
    border: 1px solid #e6007e;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.3);
    text-align: center;
  padding:.75rem .5rem .5rem .5rem;
  }
.familienpreis a {
  text-decoration: none;
}
  
  .familienpreis img {
    width: 100%;
    padding-bottom: 10px;
  }
  
  .familienpreis p {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 1.5rem;
    color: #e6007e;
    margin-bottom: 0;
  }
  
  /* Responsiv anpassen */
  @media (max-width: 768px) {
    .family-con {
      display: none;
    }
    .familienpreis {
      width: 160px;
      top: 10px;
    }
  
    .familienpreis h3 {
      font-size: 14px;
    }
  }
  

/************************************** Mietglieder ************************************/

.mitgliedschaft-section {
  text-align: center;
  padding: 4rem 1rem;
  background: #f4fbff;
}

.mitgliedschaft-title {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: #003366;
}

.mitgliedschaft-subtitle {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 2rem;
}

.mitgliedschaft-subtitle .mild {
  font-weight: 600;
  color: #0077cc;
}

.card-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.mitglied-card {
  background: #fff;
  border-radius: 16px;
  padding: 2rem 1rem;
  width: 280px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.mitglied-card:hover {
  color: var(--accent--color);
  transform: translateY(-5px);
}

.mitglied-card img {
  width: 64px;
  margin-bottom: 1rem;
}

.mitglied-card h3 {
  font-size: 1.2rem;
  color: #003366;
  margin-bottom: 0.5rem;
}

.mitglied-card p {
  font-size: 1rem;
  color: #444;
}

.mitglied-btn {
  margin-top: 2rem;
  display: inline-block;
  background: var(--secondary--color);
  color: #fff !important;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease-in-out;
}

.mitglied-btn:hover {
  background: #005fa3;
  color: var(--accent--color) !important;
  transform: translateY(-5px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.355);
}
/* ENDE Mietglieder */



/********************************** TEAM BEREICH ****************************/

.special-card {
  opacity: 0.9;
  transition: all 0.3s ease;
  border: 2px dashed #0077cc;
}

.special-card:hover {
  transform: translateY(-5px);
  border-color: #005fa3;
  opacity: 1;
}

.special-card img {
  filter: grayscale(80%);
  opacity: 0.6;
}

.special-card .btn {
  margin-top: 0.5rem;
  font-weight: 500;
}

.zentrieren {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
justify-content: space-between;
}

.team-box {
  gap: 25px;
  display: grid;
  grid-template-columns: 22% 22% 22% 22%;
}
.team-box-item {
display: flex;
flex-direction: column;
}

/* ENDE TEAM BEREICH */



/***************************************** TRENNER *****************************/

.wave-divider {
  position: relative;
  width: 100%;
  overflow: hidden;
  /* background: #ffffffbc; */
  margin-bottom: 10px;
  margin-top: -70px;
}

.wave-divider svg {
  display: block;
  width: 100%;
  height: 150px;
}

.wave-divider .splash {
  position: absolute;
  width: 40px;
  opacity: 0.8;
  animation: float 6s ease-in-out infinite;
}

.wave-divider .splash-1 {
  top: 10px;
  left: 20%;
  transform: rotate(-15deg);
}

.wave-divider .splash-2 {
  top: 30px;
  right: 15%;
  transform: rotate(10deg);
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(0);
  }
  50% {
    transform: translateY(-8px) rotate(3deg);
  }
}

/*********************************** BADGE FÜR KURSE UND AKTIONEN *************************************/

.badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-right: 6px;
}

.badge-kurs {
  background-color: #0077cc;
  color: #ffffff;
}

.badge-aktion {
  background-color: #e6007e;
  color: #ffffff;
}

/* HIGHLIGHT CARD */

.teaser-highlight {
  border: 2px solid #e6007e;
  background-color: #fff0f7;
  box-shadow: 0 12px 30px rgba(230, 0, 126, 0.1);
  transition: transform 0.3s ease;
  
}

.badge-highlight {
  background-color: #e6007e;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 5px 12px;
  margin-right: 8px;
}



/********************************** ANFAHRT ************************************/

.map-responsive {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Verhältnis */
  height: 0;
}

.map-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}


/********************************** KURSE & AKTIONEN ************************************/

#kurse-aktionen  {
  background-color: var(--grey--color) !important;
}

#kurse {
  margin-top: 5rem;
}

#buchen {
  scroll-margin-top: 9rem;
}

#kurse-aktionen {
  overflow: visible;
}

#kurse img, #aktionen img {
  border-radius: 0;
}

      /* Unterüberschrift sichtbar machen */
      #kurse .generic-title span.d-inline-block {
        display: block !important;
        margin-bottom: .5rem;
      }
      /* Card-Basis */
      #kurse .blog-box-item,
      #aktionen .blog-box-item {
        border: 1px solid #eee;
        border-radius: 20px;
        overflow: hidden;
        box-shadow: 0 4px 10px rgba(0,0,0,0.05);
        transition: transform .3s, box-shadow .3s;
        background-color: #fff;
      }
      #kurse .blog-box-item:hover,
      #aktionen .blog-box-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(0,0,0,0.1);
      }
      /* Bild-Handling */
      #kurse .blog-box-item img,
      #aktionen .blog-box-item img {
        width: 100%;
        aspect-ratio: 16/9;
        object-fit: cover;
        display: block;
      }
      /* Inhaltspadding */
      #kurse .blog-box-content,
      #aktionen .blog-box-content {
        padding: 1.5rem;
        display: flex;
        flex-direction: column;
      }
      /* Pill-Badge */
      .badge-pill {
        align-self: flex-start;
        color: #fff;
        padding: .25rem .75rem;
        border-radius: 999px;
        font-size: .75rem;
        font-weight: 600;
        text-transform: uppercase;
        margin-bottom: 1rem;
      }
      /* Sektionstrenner */
      .section-separator {
        position: relative;
      }
      .section-separator::after {
        content: "";
        background: rgba(0,0,0,0.1);
        width: 100%;
height: 1px;
top: 15px;
display: block;
margin-bottom: 5rem;
margin-top: 5rem;
      }
      /* Aktionen-Hintergrund */
      /* #aktionen {
        background-color: #f9f9f9;
      } */
iframe.yolawo-widget {
border-radius: 1rem;
}

.main-banner3-con{
    position: relative;
    padding: 212px 0 330px;
    background: url(../img/home/banner-2.jpg) no-repeat center;
    background-size: cover;
    /* background-attachment: fixed; */
}
.main-banner3-con#aktuelles {
    position: relative;
    padding: 212px 0 330px;
    background: url(../img/home/banner-1.jpg) no-repeat center;
    background-size: cover;
    /* background-attachment: fixed; */
}
.main-banner3-con::after{
    top: 0;
    left: 0;
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    background: rgba(151, 187, 249, 0.169);
}
.main-banner3-con::before{
    left: 0;
    z-index: -1;
    width: 100%;
    bottom: -100px;
    content: "";
    height: 156px;
    position: absolute;
    background: url(../images/wave-img3.1.png) no-repeat center;
    background-size: cover;
}

#kurse-banner::before, #aktuelles::before{
    left: 0;
    z-index: 1;
    width: 100%;
    bottom: -120px;
    content: "";
    height: 200px;
    position: absolute;
    background: url(../images/wave-img3.1.png) no-repeat center;
    background-size: cover;
}


/*********************************** Aktuelles ***********************************/
#aktuell {
  background-color: #f1f9ff;
}

#aktuell .blog-box-item {
  border: 1px solid #eee;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  background-color: #fff;
  transition: transform .3s, box-shadow .3s;
}
#aktuell .blog-box-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}
#aktuell .blog-box-item img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}
#aktuell .blog-box-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}
.badge-pill {
  align-self: flex-start;
  padding: .25rem .75rem;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 1rem;
  color: #fff;
}
.badge-news { background-color: #0077cc; }
.badge-rueckblick { background-color: #e6007e; }

/*********************************** Aktuelles & Rückblick ***********************************/

#aktuell span {
  margin-top: 5em;
}

.map-wrapper {
  position: relative;
  width: 100%;
  height: 450px;
  background-color: #f1f9ff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.map-overlay {
  position: absolute;
  z-index: 10;
  background: rgba(255, 255, 255, 0.95);
  padding: 2rem;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.map-overlay p {
  font-size: 1rem;
  color: #333;
}

#google-map iframe {
  width: 100%;
  border: 0;
}

/* NCHRICHT VERSCHICKT */

.alert {
  padding: 1rem;
  border-radius: 5px;
  margin-top: 1rem;
}

.alert-success {
  background-color: #d4edda;
  color: #155724;
}

.alert-danger {
  background-color: #f8d7da;
  color: #721c24;
}



/* Container */

.mt-minus {
  margin-top: -7rem;
}
.bubble-divider-light {
  position: relative;
  width: 100%;
  height: 100px;
  overflow: hidden;
  background: #ffffff;
}
.bubble-divider {
  position: relative;
  width: 100%;
  height: 100px;
  /* overflow: hidden; */
  background: #f1f9ff;
}

/* Bubble-Stil */

.bubble-dark {
  background: #0a2663b7; 
}
.bubble-light {
  background: rgba(173, 216, 230, 0.4);
}
.bubble-white {
  background: rgb(255, 255, 255);
}

.bubble {
  position: absolute;
  bottom: -50px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  animation: rise 6s infinite ease-in;
}

/* Unterschiedliche Positionen und Delays */

.bg-weiß {
  background-color: transparent !important;
}
.bubble:nth-child(1) {
  left: 20%;
  animation-delay: 0s;
  width: 20px;
  height: 20px;
}
.bubble:nth-child(2) {
  left: 35%;
  animation-delay: 1.5s;
  width: 15px;
  height: 15px;
}
.bubble:nth-child(3) {
  left: 60%;
  animation-delay: 1s;
  width: 25px;
  height: 25px;
}
.bubble:nth-child(4) {
  left: 75%;
  animation-delay: 2.5s;
  width: 18px;
  height: 18px;
}
.bubble:nth-child(5) {
  left: 50%;
  animation-delay: 3.2s;
  width: 10px;
  height: 10px;
}
.bubble:nth-child(6) {
  left: 28%;
  animation-delay: 4s;
  width: 22px;
  height: 22px;
}
.bubble:nth-child(7) {
  left: 65%;
  animation-delay: 2.2s;
  width: 14px;
  height: 14px;
}


/* Aufsteig-Animation */
@keyframes rise {
  0% {
    transform: translateY(0) translateX(0) scale(1);
    opacity: 0.6;
  }
  25% {
    transform: translateY(-30px) translateX(-5px) scale(1.1);
  }
  50% {
    transform: translateY(-60px) translateX(3px) scale(1.2);
    opacity: 1;
  }
  75% {
    transform: translateY(-90px) translateX(-2px) scale(1.3);
  }
  100% {
    transform: translateY(-120px) translateX(0) scale(1.4);
    opacity: 0;
  }
}


.divider-wave {
  width: 100%;
  height: 20px;
  overflow: hidden;
  line-height: 0;
}

.wave-img3 {
  transform: rotate(180deg);
  width: 100%;
}


footer .test-logo::after {
  content: "";
  display: inline-block;
  border-left: 5px solid #e6e6e6;
  height: 100px;
  width: 20px;
  padding-right: 5px;
  margin-left: 12px;
}

footer {
  background-color: var(--primary--color);
  color: #fff !important;
}

footer a {
  color: #fff;
  text-decoration: none;
}

.footer-slim {
  position: relative;
  background-color: #0a194f;
  color: white;
  padding: 40px 20px 20px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
}

.footer-wave svg {
  position: absolute;
  top: 0;
  left: 0;
  height: 40px;
  width: 100%;
  display: block;
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  min-width: 180px;
}

.footer-section.logo {
  flex-direction: row;
  align-items: center;
  gap: 12px;
}

.footer-section.logo img {
  height: 40px;
}

.footer-section a {
  color: white;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-section a:hover {
  color: #4cc9f0;
}

.footer-section.links {
  flex-direction: row;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .footer-row {
    flex-direction: column;
    text-align: center;
  }

  .footer-section.links {
    justify-content: center;
  }

  .footer-section.logo {
    justify-content: center;
  }
}

/* KONTAKT */
.contact-con .contact_info input, .contact-con .contact_info textarea {
  width:100%;
}

/*********************************** Datenschutz ***********************************/

#datenschutz h3 {
  color: #2ca2fc;
}

#datenschutz li {
  color: #000;
}


/* ----RESPONSIVE---- */

@media (max-width: 1920px) { 
.header-con .navbar-expand-lg .navbar-nav {
gap: 25px;
}
}

@media (max-width: 1690px) { 
.header-con .navbar-expand-lg .navbar-nav {
gap: 15px;
}
.quote-btn a {
padding: 14px 15px 14px 17px;
}
#logo {
width: 300px;
}

.phone-num img {
padding-right: 5px;
width: 35px;
}
  .phone-num a {
  font-size: 1rem;
  }
}
@media (max-width: 1320px) {
  .phone-num {
    display:none;
  }
}
@media (max-width: 1199px) { 
  .team-box {
grid-template-columns: 32% 32% 32%;
    gap: 10px;
}
}

@media (max-width: 1099px) {
.header-btn {
margin-left: .5rem;
}
  .navbar-brand {
margin-right: .5rem;
}
  .header-con .navbar-expand-lg .navbar-nav {
gap: 10px;
}
  #logo {
width: 270px;
}
}

@media (max-width: 991px) {
  h1 + p {
margin: auto;
margin-bottom: 2rem;
}
  h1 {
line-height: 40px;
padding-bottom: 2rem;
}
  .familienpreis {
width: 220px;
}
.familienpreis p {
font-size: 1rem;
}
  .generic-title {
width: 100%;
}
    .team-box {
grid-template-columns: 23% 23% 23% 23%;
    gap: 25px;
}
}
@media (max-width: 767px) { 
.team-box {
grid-template-columns: 31% 31% 31%;
gap: 15px;
}
}
@media (max-width: 575px) { 
.team-box {
margin: 0;
width: 100%;
  grid-template-columns: 48% 48%;
}
}

 /* Bildergalerie*/

.galerie-row > .column {
  padding: 0 8px;
}

.galerie-row {
  display:grid;
  grid-template-columns: repeat(5, 1fr);
grid-gap: 1rem;
}

.galerie-row:after {
  content: "";
  display: table;
  clear: both;
}

/* Create four equal columns that floats next to eachother */
.column {
  float: left;
  width: 25%;
}

/* The Modal (background) */
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: #f0f8ffe8;
}

/* Modal Content */
.modal-content {
  position: relative;
  background-color: transparent;
  margin: auto;
  padding: 0;
  width: 90%;
  max-width: 1200px;
  border: 0;
}

/* The Close Button */
.close {
  position: absolute;
  font-weight: bold;
color: #0a2663;
top: 4rem;
right: 4rem;
font-size: 4rem;
}

#aktuell span.close {
  margin-top:0;
}

.close:hover,
.close:focus {
  color: #009de0;
  text-decoration: none;
  cursor: pointer;
}

/* Hide the slides by default */
.Slides {
  display: none;
}

/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -50px;
  color: #0a2663;
  font-weight: bold;
  font-size: 20px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  -webkit-user-select: none;
}


.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

.prev:hover,
.next:hover {
  background-color: #0a2663;
  color:#fff;
}

/* Number text (1/3 etc) */
.numbertext {
  padding: 8px 12px;
  position: absolute;
  top: 0;
  color: #0a2663;
font-size: 16px;
font-weight: 700;
}

/* Caption text */
.caption-container {
  text-align: center;
  background-color: black;
  padding: 2px 16px;
  color: white;
}

img.demo {
  opacity: 0.6;
}

.active,
.demo:hover {
  opacity: 1;
}

.content .row {
	display: flex;
flex-wrap: wrap;
justify-content: space-between;
}
.content .column {
padding: 0;
	cursor: pointer;
  width: 100%;
  overflow:hidden;
}
.content img {
	width:100%;
}
.content .row > .column {
	padding: 0;
}
.column.hochkant, .column.hochkant2 {
	height: 164px;
overflow: hidden;
}
.column.hochkant img {
object-fit: cover;
	object-position: 0 -60px;
}
.column.hochkant2 img {
object-fit: cover;
object-position: 0 -142px;
}
.Slides img, .Slides23 img, .SlidesK23 img, .Slides_Turm img, .Slides_Familie img {
max-height: 600px;
object-fit: contain;
}
.galerie .row::after {
	display:none;
}

@media (max-width: 1399px) {
  .galerie-row {
    grid-template-columns: repeat(4, 1fr);
  }
  .column.hochkant, .column.hochkant2 {
height: 178px;
}
}
@media (max-width: 1199px) {
    .column.hochkant, .column.hochkant2 {
height: 148px;;
}
}
@media (max-width: 991px) {
  .galerie-row {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 767px) {
  .galerie-row {
    grid-template-columns: repeat(2, 1fr);
  }
      .column.hochkant, .column.hochkant2 {
height: 166px;
}
}
@media (max-width: 565px) {
  .column img {
   object-fit: cover;

  }
      .column,  .column.hochkant, .column.hochkant2 {
height: 140px;
}
}
