@import url("https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700&display=swap");
@import url("fontawesome-all.min.css");



body {
  font-family: 'Nunito', sans-serif;
  line-height: 1.6; /* Mehr Lesbarkeit im Fließtext */
  font-weight: 400;
}

/* Einheitlicher Look für Überschriften */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  line-height: 1.3;
}


/* ====================================================================================
Header Sektion
======================================================================================= */

#header {
  background-color: #fedbb9; /* Orange */
  font-family: 'Nunito', sans-serif;
  box-shadow: 0 0 0.15em rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease;
}

/* Desktop-Logo */
.logo-desktop {
  height: 40px;
  background-color: transparent;
}

/* Mobile-Logo */
.logo-mobile {
  height: 30px;
  background-color: transparent;
}

/* Schriftfarbe der Links */
.navbar-nav .nav-link {
  color: black !important;
  font-weight: 600;
  transition: color 0.2s ease;
}

.navbar-nav .nav-link:hover {
  color: #ffffff !important;
}

/* Mobile: zentriertes Logo als Button */
.navbar-toggler {
  border: none;
  padding: 0;
}

.navbar-toggler:focus {
  outline: none;
  box-shadow: none;
}

/* Desktop-Logo nur auf großen Screens anzeigen */
@media (max-width: 768px) {
  .logo-desktop {
    display: none !important;
  }
}

/* Mobile-Logo nur auf kleinen Screens anzeigen */
@media (min-width: 769px) {
  .logo-mobile {
    display: none !important;
  }
}

/* ====================================================================================
Intro Sektion
======================================================================================= */

/* Hintergrundfarbe */
#intro {
  background-color: #fedbb9;
  min-height: 100vh;
  font-family: 'Nunito', sans-serif;
  overflow-x: hidden;
}

/* Carousel füllt Sichtbereich */
#intro .carousel {
  height: 100vh;
}
#intro .carousel-item {
  height: 100vh;
}
#intro .carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Überschrift Overlay */
#intro .carousel-caption {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.3); /* leichter dunkler Overlay für Lesbarkeit */
  text-align: center;
}

/* Textabschnitte */
.intro-section {
  max-width: 900px;
  margin: 4rem auto;
  padding: 1rem;
  background: white;
  border-radius: 10px;
  opacity: 0;
  transform: translateX(-50px);
  transition: all 2.8s ease-out;
}
.intro-section.from-right {
  transform: translateX(50px);
}

/* Sichtbar-Klasse */
.intro-section.visible {
  opacity: 1;
  transform: translateX(0);
}

.carousel-caption-always {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10; /* Über den Bildern */
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.3);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.carousel-caption-always h1 {
  color: white;
  font-size: clamp(1.8rem, 4vw, 3rem);
  text-shadow: 2px 2px 6px rgba(0,0,0,0.6);
}

.carousel-item {
  transition: transform 1.2s ease-in-out;
}


.carousel-fade .carousel-item {
  transition: opacity 1.2s ease;
}


/* ====================================================================================
Therapie-Kategorien Sektion
======================================================================================= */
/* Grundlayout */
#therapie {
    padding: 2rem 1rem;
    background-color: #ffffff;
}

#therapie h2 {
    text-align: center;
    margin-bottom: 2rem;
}

/* Container für die Karten */
.card-container {
    display: flex;
    flex-wrap: wrap; /* Zeilenumbruch bei kleinerer Breite */
    gap: 1.5rem; /* Abstand zwischen Karten */
    justify-content: center;
}

/* Einzelne Karte */
.card {
    display: flex;
    flex-direction: column;
    width: 250px; /* feste Breite, passt sich bei kleinerem Bildschirm an */
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    text-align: center;
}

/* Bild füllt Karte komplett aus */
.card img {
    width: 100%;
    height: 200px;
    object-fit: cover; /* schneidet ggf. das Bild passend zu */
}

/* Button unter dem Bild */
.card button {
    background-color: #fedbb9;
    color: black;
    border: none;
    padding: 0.8rem;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.card button:hover {
    background-color: #dda91c;
}

/* Mobile Ansicht – Karten untereinander */
@media (max-width: 768px) {
    .card {
        width: 100%;
        max-width: 400px;
    }
}


/* ====================================================================================
Team Sektion
======================================================================================= */

/* Grundlayout für Team-Section */
#team {
    padding: 2rem 1rem;
    background-color: #ffffff;
}

#team .header {
    text-align: center;
    margin-bottom: 2rem;
}

#team h1 {
    margin-bottom: 0.5rem;
}

#team p {
    color: #666;
}

/* Container für die Blöcke */
.team-blocks {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;

    align-items: stretch;
}

/* Einzelner Block */
.team-block {
    flex: 1 1 300px; /* wächst und schrumpft, min. 300px */
    max-width: 500px;
    background-color: #fedbb9;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;

    display: flex;
    flex-direction: column;
}

.spacer {
  flex-grow: 0.15;
}

.team-block h2 {
    margin-bottom: 0.3rem;
    color: black;
}

.team-block h3 {
    margin-bottom: 1rem;
    color: #333;
    font-weight: normal;
}

.team-block ul {
    list-style: disc inside;
    margin: 0;
    padding: 0;
}

.team-block li {
    margin-bottom: 0.5rem;
}

/* Mobile Ansicht – untereinander */
@media (max-width: 768px) {
    .team-blocks {
        flex-direction: column;
        align-items: center;
    }
}

/* ====================================================================================
Praxis Sektion
======================================================================================= */

#praxis {
  background-color: #fedbb9;
  padding: 2rem 1rem;
  overflow: hidden; /* verhindert Scrollbalken bei Animation */
}

.praxis-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  align-items: center;
}

/* Slider und Textbox: nebeneinander, 50% Breite */
.slider, .textbox {
  flex: 1 1 400px;
  max-width: 600px;
  background: white;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);

  opacity: 0;
  transform: translateX(0); /* Startwert, wird überschrieben */
  transition: all 0.7s ease;
}

/* Slider: von links einfliegen */
.slider.animate-in {
  opacity: 1;
  transform: translateX(0);
}

.slider {
  transform: translateX(-100%);
}

/* Textbox: von rechts einfliegen */
.textbox.animate-in {
  opacity: 1;
  transform: translateX(0);
}

.textbox {
  transform: translateX(100%);
}

/* Bilder im Slider */
.slider img {
  width: 100%;
  border-radius: 6px;
  margin-bottom: 0.8rem;
}

/* Responsive: untereinander auf kleinerem Bildschirm */
@media (max-width: 768px) {
  .praxis-container {
    flex-direction: column;
  }
  .slider, .textbox {
    max-width: 100%;
  }
}

/* ====================================================================================
Kontakt Sektion
======================================================================================= */

#kontakt {
  background-color: white;
  padding: 2rem 1rem;
  overflow: hidden; /* für Animation */
}

.kontakt-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  align-items: center;
}

/* Map und Textbox: nebeneinander, ca. 50% Breite */
.map, .textbox {
  flex: 1 1 400px;
  max-width: 600px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  padding: 1rem;

  opacity: 0;
  transform: translateX(0);
  transition: all 0.7s ease;
}

/* Map: von links einfliegen */
.map.animate-in {
  opacity: 1;
  transform: translateX(0);
}

.map {
  transform: translateX(-100%);
  height: 470px;
  position: relative;
  overflow: hidden;
}

/* Textbox: von rechts einfliegen */
.textbox.animate-in {
  opacity: 1;
  transform: translateX(0);
}

.textbox {
  transform: translateX(100%);
}

/* Responsive: untereinander bei kleiner Bildschirmbreite */
@media (max-width: 768px) {
  .kontakt-container {
    flex-direction: column;
  }
  .map, .textbox {
    max-width: 100%;
    height: 300px;
  }
  .textbox {
    transform: translateX(0) !important; /* Animation evtl. deaktivieren auf klein */
    opacity: 1 !important;
  }
  .map {
    height: 300px;
  }
}

/* ====================================================================================
Footer Sektion
======================================================================================= */

#footer {
  background-color: #ffffff;
  font-family: 'Nunito', sans-serif;
  box-shadow: 0 0 0.15em rgba(0, 0, 0, 0.2);
  padding: 0.5rem 1rem;
  align-items: center;
  display: flex;
  flex-wrap: wrap;
}

/* Footer-Logo Desktop */
.logo-desktop-footer {
  height: 40px;
  background-color: transparent;
}

/* Footer-Logo Mobile */
.logo-mobile-footer {
  height: 30px;
  background-color: transparent;
}

/* Buttons rechts */
#footer .navbar-nav {
  display: flex;
  gap: 0.5rem; /* Abstand zwischen Links */
  margin: 0;
  padding: 0;
  list-style: none;
}

#footer .btn {
  font-weight: 600;
  color: black;
  background-color: transparent;
  padding: 0.3rem 0.8rem;
  text-transform: uppercase;
  transition: background-color 0.2s ease, color 0.2s ease;
}

#footer .btn:hover {
  background-color: black;
  color: #fedbb9;
}

/* Mittiger Copyright-Text */
#footer .copyright {
  flex: 1 1 100%;
  margin: 0.5rem 0;
  color: black;
  font-weight: 600;
}

/* Container: ausrichten */
#footer .container-fluid {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

/* Mobile: Footer-Logo Desktop ausblenden */
@media (max-width: 768px) {
  .logo-desktop-footer {
    display: none !important;
  }
  .copyright {
    order: 3;
    flex-basis: 100%;
    text-align: center;
  }
  #footer .collapse {
    order: 2;
  }
}

/* Desktop: Footer-Logo Mobile ausblenden */
@media (min-width: 769px) {
  .logo-mobile-footer {
    display: none !important;
  }
  #footer .copyright {
    order: 2;
    flex-basis: auto;
    text-align: center;
  }
  #footer .collapse {
    order: 3;
  }
}
