/* === Basis === */
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background-color: #f5f5f7;
  color: #1d1d1f;
  line-height: 1.6;
}

html {
  scroll-behavior: smooth;
}

/* === Header & Navigation === */
header {
  background: white;
  padding: 1rem 0 3rem;
  text-align: center;
}

@media (max-width: 1000px) {
  .nav-links {
    display: none;
  }
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  padding: 0;
  margin-bottom: 2rem;
}

nav ul li {
  margin: 0 1.5rem;
}

nav ul li a {
  text-decoration: none;
  color: #1d1d1f;
  font-weight: 500;
}

/* === Hero === */
.hero h1 {
  font-size: 2.5rem;
  font-weight: 600;
}

.hero p {
  font-size: 1.25rem;
}

.buttons {
  margin-top: 1.5rem;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  text-decoration: none;
  font-size: 1rem;
  margin: 0 0.5rem;
}

.primary {
  background: #0071e3;
  color: white;
}

.secondary {
  border: 1px solid #0071e3;
  color: #0071e3;
}

/* === Galerie === */
.gallery {
  background: url('stars.jpg') no-repeat center center;
  background-size: cover;
  padding: 3rem 1rem;
  text-align: center;
  overflow-x: auto;
}

.gallery-images {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 1.5rem;
  padding-bottom: 1rem;
}

@media (max-width: 768px) {
  .gallery-images img {
    display: none;
  }

  .gallery-images img:nth-child(2) {
    display: block;
    width: 90%;
    height: auto;
    max-height: none;
    margin: 0 auto;
  }
}

.centered-box-list {
  display: flex;
  flex-direction: column;
  align-items: center; /* zentriert den Block auf der Seite */
  list-style: none;
  padding: 0;
  margin: 2rem 0;
  gap: 1rem;
}

.centered-box-list li {
  background: rgba(255, 255, 255, 0.05);
  padding: 0.75rem 1rem;
  border-radius: 12px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  max-width: 600px;
  width: 100%;
  text-align: left; /* Text innerhalb linksbündig */
  font-size: 1.1rem;
}

.gallery-images img {
  height: 200px;
  width: auto;
  max-height: 200px;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease;
  flex-shrink: 0; /* verhindert, dass die Bilder schrumpfen */
}

.gallery-images img:hover {
  transform: scale(1.05);
}

.infographic img.rounded {
  transition: transform 0.2s ease;
}

.infographic img.rounded:hover {
  transform: scale(1.05);
}

/* Lightbox Overlay */
.lightbox {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
}

/* Lightbox Bild */
.lightbox-content {
  max-width: 90%;
  max-height: 80vh;
  border-radius: 12px;
  box-shadow: 0 0 30px rgba(0,0,0,0.5);
  animation: fadeIn 0.3s ease;
}

/* Schließen-X */
.lightbox .close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #fff;
  font-size: 2rem;
  font-weight: bold;
  cursor: pointer;
  z-index: 2100;
}

/* Animation */
@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

ul.columns {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  padding: 0;
  list-style: none;
  margin: 1.5rem 0;
}

ul.columns li {
  flex: 1 1 250px; /* minimale Breite pro Punkt */
  max-width: 350px;
  background: rgba(255,255,255,0.05);
  padding: 0.75rem 1rem;
  border-radius: 12px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

/* === Inhaltssektionen === */
.info {
  padding: 3rem 1rem;
  text-align: center;
}

.lightblue {
  background: linear-gradient(to top, #e8f4fb, #ffffff);
}

.lightblue2 {
  background: linear-gradient(to bottom, #e8f4fb, #ffffff);
}

.lightgrey {
  background: linear-gradient(to bottom, #f0efef, #ffffff);
}

.white {
  background: white;
}

#faq h3,
#faq p {
  text-align: left;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.whitegradient {
  background: linear-gradient(to bottom, #ffffff, #f4f4f4);
}

.beige {
  background: linear-gradient(to bottom,#fef6dc, #ffffff) ;
}

ul {
  list-style: none;
  padding: 0;
}

ul li {
  margin: 0.5rem 0;
}

/* === Empfehlung / Avatar-Bild === */
.circle-img {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  margin-bottom: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* === Footer ===*/
.footer {
  background-color: #eaeaea;
  text-align: center;
  padding: 2rem 1rem;
  margin-top: 0;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: #333;
  text-decoration: none;
  font-size: 0.95rem;
}

.footer-links a:hover {
  text-decoration: underline;
}

/* == Sticky Header */

.sticky-header {
  position: fixed;
  top: 0;
  width: 100%;
  background: white;
  display: flex;
  justify-content: flex-end; /* direkt hier rechtsbündig */
  padding: 1rem 2rem;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  z-index: 999;
  box-sizing: border-box;
}

.sticky-inner {
  width: 100%; /* oder max-width + margin: auto für Layoutbreite */
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.sticky-header .logo {
  font-weight: bold;
  font-size: 1.2rem;
}

.sticky-header .btn {
  font-size: 0.9rem;
  padding: 0.5rem 1rem;
}


/*FAQ*/

.accordion {
  max-width: 700px;
  margin: 0 auto;
  text-align: left;
}

.accordion-toggle {
  background: #ffffff;
  color: #1d1d1f;
  cursor: pointer;
  padding: 1rem;
  width: 100%;
  border: 1px solid #ccc;
  outline: none;
  font-size: 1rem;
  font-weight: 500;
  text-align: left;
  transition: background 0.2s ease;
  border-radius: 8px;
  margin-top: 1rem;
}

.accordion-toggle:hover {
  background: #f0f0f0;
}

.accordion-content {
  padding: 0 1rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: #fafafa;
  border-left: 2px solid #0071e3;
  margin-bottom: 0.5rem;
  border-radius: 0 0 8px 8px;
}

.accordion-content p {
  margin: 1rem 0;
}

.image-wrapper {
  text-align: center;
  margin: 2rem 0;
}

.image-wrapper img.rounded {
  max-width: 16%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.image-row {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
  margin: 2rem 0;
}

.image-row img.rounded {
  max-width: 100%;
  width: 300px;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.flex-row {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  align-items: center;
  margin: 2rem 0;
}

.infographic img.rounded {
  max-width: 300px;
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/*Testimonials*/


.carousel-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  max-width: 1200px;
  margin: 2rem auto;
}

.testimonial-carousel {
  overflow: hidden;
  max-width: 1000px;
  flex: 1; /* damit es den verfügbaren Platz nutzt */
}

.testimonial-track {
  display: flex;
  transition: transform 0.3s ease;
}

.testimonial-card {
  min-width: 300px;
  max-width: 300px;
  flex: 0 0 auto;
  background: rgba(255,255,255,0.05);
  border-radius: 12px;
  padding: 1rem;
  margin: 0 0.5rem;
  text-align: center;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

.carousel-btn {
  background: rgba(0,0,0,0.1);
  border: none;
  font-size: 2rem;
  cursor: pointer;
  padding: 0.5rem 1rem;
  border-radius: 50%;
  color: #333;
  transition: background 0.2s;
}

.carousel-btn:hover {
  background: rgba(0,0,0,0.2);
}

@media (max-width: 768px) {
  .carousel-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .team-carousel .testimonial-track {
    flex-direction: column;
    align-items: center;
  }

  .team-carousel .testimonial-card {
    max-width: 90%;
    margin: 1rem auto;
  }
}

@media (max-width: 768px) {
  .carousel-wrapper {
    flex-direction: column;
    gap: 1rem;
  }

  .testimonial-carousel {
    overflow: visible;
    max-width: 100%;
  }

  .testimonial-track {
    flex-direction: column;
    align-items: center;
  }

  .testimonial-card {
    max-width: 90%;
    margin: 0 auto 1rem;
  }

  .carousel-btn {
    display: none;
  }
}