.floating-card {
  position: absolute;
  display: flex;
  align-items: center;    /* vertikale Zentrierung */
  justify-content: center; /* horizontale Zentrierung */
  text-align: center;      /* Text in der Mitte */
  
  background: rgba(255,255,255,0.1); /* leichte Transparenz für elegantes Gefühl */
  backdrop-filter: blur(10px);       /* Glassmorphism Blur-Effekt */
  border: 2px solid #0bbbef;         /* dünner Rahmen in Blau */
  border-radius: 50px;                /* abgerundete Ecken */
  
  padding: 0.875rem 2rem;            /* Abstand innen */
  font-weight: 600;
  font-size: 1rem;
  color: #fff;
  text-decoration: none;
  
  opacity: 0;
  transform: scale(0.95);
  transition: all 0.3s ease;
  
  box-shadow: 0 12px 30px rgba(0,0,0,0.25);
  z-index: 10;
  height: auto; /* Höhe passt sich dem Inhalt an */
  max-width: 220px;
  min-height: 80px;
}

/* Fade-in & Pop-up */
.floating-card.show {
  opacity: 1;
  transform: scale(0.7);
}

/* Schwebe-Animation */
.floating-left {
  animation: float-left 6s ease-in-out infinite alternate;
    
    :root {
  --default-font: "Roboto",  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";
  --heading-font: "Lato",  sans-serif;
  --nav-font: "Montserrat",  sans-serif;
}
}


#team {
  position: relative;
  overflow: hidden;
  padding-bottom: 80px;
}

.team-carousel {
  overflow: hidden;
}

.team-track {
  display: flex;
  transition: transform 0.5s ease;
}

.team-slide {
  flex: 0 0 25%;
  padding: 15px;
  box-sizing: border-box;
}

@media (max-width: 992px) {
  .team-slide { flex: 0 0 50%; }
}

@media (max-width: 576px) {
  .team-slide { flex: 0 0 100%; }
}

.member-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  height: 100%;
}

.member-media img {
  width: 100%;
  display: block;
}

.member-content {
  padding: 20px;
}

.carousel-controls {
  position: absolute;
  bottom: 20px;
  left: 20px;
  display: flex;
  gap: 10px;

}

.carousel-btn {
  width: 45px;
  height: 45px;
  border: none;
  border-radius: 8px;
  background-color: var(--accent-color);
    color: #ffffff;
  cursor: pointer;
  font-size: 18px;
  transition: 0.3s;
}

.carousel-btn:hover {
      background-color: color-mix(in srgb, var(--accent-color), transparent 20%);

}


#sozial {
  position: relative;
  overflow: hidden;
  padding-bottom: 80px;
}

.sozial-carousel {
  overflow: hidden;
}

.sozial-track {
  display: flex;
  transition: transform 0.5s ease;
}

.sozial-slide {
  flex: 0 0 25%;
  padding: 15px;
  box-sizing: border-box;
}

@media (max-width: 992px) {
  .sozial-slide { flex: 0 0 50%; }
}

@media (max-width: 576px) {
  .sozial-slide { flex: 0 0 100%; }
}

.member-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  height: 100%;
}

.member-media img {
  width: 100%;
  display: block;
}

.member-content {
  padding: 20px;
}

.carousel-controls1 {
  position: absolute;
  bottom: 20px;
  left: 20px;
  display: flex;
  gap: 10px;

}

.carousel1-btn {
  width: 45px;
  height: 45px;
  border: none;
  border-radius: 8px;
  background-color: var(--accent-color);
    color: #ffffff;
  cursor: pointer;
  font-size: 18px;
  transition: 0.3s;
}

.carousel1-btn:hover {
      background-color: color-mix(in srgb, var(--accent-color), transparent 20%);

}


#handelspartner {
  position: relative;
  overflow: hidden;
  padding-bottom: 80px;
}

.handelspartner-carousel {
  overflow: hidden;
}

.handelspartner-track {
  display: flex;
  transition: transform 0.5s ease;
}

.handelspartner-slide {
  flex: 0 0 25%;
  padding: 15px;
  box-sizing: border-box;
}

@media (max-width: 992px) {
  .handelspartner-slide { flex: 0 0 50%; }
}

@media (max-width: 576px) {
  .handelspartner-slide { flex: 0 0 100%; }
}

.member-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  height: 100%;
}

.member-media img {
  width: 100%;
  display: block;
}

.member-content {
  padding: 20px;
}

.carousel-controls2 {
  position: absolute;
  bottom: 20px;
  left: 20px;
  display: flex;
  gap: 10px;

}

.carousel2-btn {
  width: 45px;
  height: 45px;
  border: none;
  border-radius: 8px;
  background-color: var(--accent-color);
    color: #ffffff;
  cursor: pointer;
  font-size: 18px;
  transition: 0.3s;
}

.carousel2-btn:hover {
      background-color: color-mix(in srgb, var(--accent-color), transparent 20%);

}






/* =========================
NEWS
========================= */
#news {
    display: none;
    width: 100%;
    max-width: 500px;
    box-sizing: border-box;
    margin: 0 auto;
    padding: 25px;
    text-align: center;
    background: #fff;
}

/* Bild */
#news img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin: 0 auto 20px;
}

/* Überschrift */
#news h2 {
    margin: 0 0 12px;
    color: #110a06;
    font-family: "Lato", sans-serif;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
}

/* Text */
#news p {
    margin: 0;
    color: #110a06;
    font-size: 16px;
    line-height: 1.5;
}


/* =========================
   TABLETS
   ========================= */
@media (max-width: 768px) {
    #news {
        max-width: 100%;
        padding: 22px;
    }

    #news h2 {
        font-size: 26px;
    }

    #news p {
        font-size: 16px;
    }
}


/* =========================
   SMARTPHONES
   ========================= */
@media (max-width: 480px) {
    #news {
        width: 100%;
        padding: 16px;
    }

    #news img {
        margin-bottom: 15px;
        border-radius: 3px;
    }

    #news h2 {
        margin-bottom: 10px;
        font-size: 23px;
        line-height: 1.25;
    }

    #news p {
        font-size: 15px;
        line-height: 1.5;
    }
}


/* =========================
   KLEINE SMARTPHONES
   ========================= */
@media (max-width: 360px) {
    #news {
        padding: 12px;
    }

    #news h2 {
        font-size: 21px;
    }

    #news p {
        font-size: 14px;
    }
}



