html, body {
    height: 100%;
    margin: 0;
}

body {
    display: flex;
    flex-direction: column;
    background-color: lightblue;
}

main {
    flex: 1;
}

#weiss-und-rund-outline {
    background-color: rgb(255, 255, 255);
    border-radius: 0.25rem;
    opacity: 0.9;
    padding: 1rem;
}

#no-bg {
    background: none;
}

.mehr-erfahren-box {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-content: space-between;
    padding: 2%;
}

.text-divider {
    padding: 0 8px;
    color: #888;
    list-style: none;
}

#bild-und-text-box {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 20em;
    border-radius: 0.25rem;
    overflow: hidden;
  }
  
  @media (min-width: 992px) {
    #bild-und-text-box {
      flex-direction: row;
    }
  }
  
  #bild-box,
  #text-box {
    flex: 1;
    padding: 1rem;
  }
  
  #bild-box {
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 0.25rem;
    border-left: grey solid 2px;
    border-top-left-radius: 0rem;
    border-bottom-left-radius: 0rem;
}

  #text-box {
    background-color: white;
    border-radius: 0.25rem;
    border-right: grey solid 2px;
    border-top-right-radius: 0rem;
    border-bottom-right-radius: 0rem;
}

  @media (max-width: 922px) {
    #bild-box {
        border-left: none;
        border-bottom: grey solid 2px;
    }

    #text-box {
        border-right: none;
    }
}


  .Geschriebener-text {
    font-family: "Caveat", cursive;
    font-optical-sizing: auto;
  }

  .ohne-punkte {
    list-style-type: none;
}

  .padding-block-therapie {
    padding-block: 0.5%;
}

  .card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

  .card:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

  .card img {
  transition: transform 0.1s ease;
}

  .card:hover img {
  transform: scale(1.05);
}

  .container {
  transition: transform 0.3s ease;
  transform-origin: center center;
}

  .container.in-view {
  transform: scale(1.01); 
}

.dropdown-item {
  color: #000;
  padding: 0.5rem 1rem;
  text-decoration: none;
}

.dropdown-item:hover {
  color: #0056b3;
  background-color: #e9ecef;
}

.nav-link.dropdown-toggle::after {
  display: none;
}

@media (max-width: 1100px) {
  .navbar-subtitle {
    display: none;
  }
}

.contact-container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  width: 100%;
}

.contact-text {
  display: flex;
  flex-direction: column;
}

.contact-title {
  font-weight: bold;
}

.contact-number {
  font-size: 1rem;
  color: inherit;
}

.contact-button {
    flex: 0 0 0;
    display: flex;
    align-items: left;
    justify-content: left;
    width: 3rem;
    height: 3rem;
    border-radius: 0.5rem;
    text-decoration: none;
}

.contact-button img {
    width: 1.5rem;
    height: 1.5rem;
}

@media (min-width: 768px) {
    footer .nav-item a {
        padding-right: 50px;
        padding-left: 50px;
        display: inline-block;
    }
}

@media (max-width: 767px) {
    footer .nav-item a {
        padding-right: 10px;
        padding-left: 10px;
        display: inline-block;
    }
}

@media (max-width: 768px) {
    .featurette .col-md-7 {
        order: 2 !important;
    }
    .featurette .col-md-5 {
        order: 1 !important;
    }
}

.contact-card-link {
    text-decoration: none;
    color: inherit;
}

.contact-card {
    display: inline-block;
    width: fit-content;
    padding: 1rem;
    cursor: pointer;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.contact-card-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.contact-card-text {
    display: flex;
    flex-direction: column;
}

.contact-card-title {
    color: red;
    font-weight: bold;
}

.contact-card-number {
    font-size: 1rem;
}

.contact-card-icon img {
    display: block;
    width: 24px;
    height: 24px;
}

@media (max-width: 768px) {
    .contact-card {
        display: block;
        width: 100%;
        box-sizing: border-box;
        text-align: center;
    }

    .contact-card-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .contact-card-icon {
        margin-top: 0.5rem;
    }

    #footerright {
      align-items: start;
    }
    .mobile-break {
      display: block;
      margin-left: 24px;
    }
}

@media(min-width: 769px) {
    #footerright {
      align-items: end;
    }
    .mobile-break {
      display: inline;
    }
  }