/* Variables */
:root {
  --primary-color: #53a78879;
  --secondary-color: #264653;
  --accent-color: #e76f51;
  --text-color: #1e190c;
  --light-color: #bfc2c1;
  --background-hero: #d5ded7;
}

/* General Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Arial', sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  margin: 0;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  width: 100%; /* Ensure images are responsive */
}

a {
  color: var(--text-color);
  text-decoration: none;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Cookie Modal */


.cookie-modal {
  display: none;
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 9999;
  padding: 20px;
  text-align: center;
}

.cookie-modal-content {
  display: inline-block;
  color: white;
  font-size: 16px;
}

button#acceptCookies {
  background-color: var(--secondary-color
  );
  border: none;
  color: white;
  padding: 10px 20px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 10px 2px;
  cursor: pointer;
}

/* Navbar */
.navbar {
  background-color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  position: sticky;
}

.max-width-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.navbar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0 16px;
}

.navbar-left {
  display: flex;
  align-items: center;
}

.navbar-logo-title {
  font-size: 24px;
  font-weight: bold;
  margin-right: 10px;
}

#name {
  font-size: 20px;
}

.navbar-right {
  display: flex;
  align-items: center;
}

.navbar-link {
  margin-left: 15px;
  cursor: pointer;
}

.navbar-link a {
  display: inline-block;
  padding: 5px 10px;
}

.navbar-link a:hover {
  background-color: var(--secondary-color);
  border-radius: 5px;
  color: var(--light-color);
}

/* Mobile Menu */
.burger-menu {
  display: none;
}

.icon {
  width: 24px;
  height: 24px;
  fill: var(--text-color);
  cursor: pointer;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100%;
  background-color: #fff;
  z-index: 1000;
  transition: right 0.3s ease-in-out;
}

.mobile-menu-visible {
  right: 0;
}

.mobile-nav {
  background-color: var(--primary-color);
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  background-color: var(--secondary-color);
}

.close-mobile-menu > .icon {
  cursor: pointer;
  fill: var(--light-color);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  padding: 20px;
  margin-top: 20%;
}

.mobile-nav-links .navbar-link {
  font-size: x-large;
  text-align: center;
  margin-bottom: 10px;
}

.mobile-nav-links .navbar-link:last-child {
  margin-bottom: 0;
}

.hero {
  max-width: 100%;
  height: auto;
  position: relative;
  width: 100vw;
  /* height: 100vh; */
  display: flex;
  justify-content: center;
  align-items: center;
}

.screen {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.15);
  z-index: 1;
}

.hero-image {
  width: 100%;        /* Stellt sicher, dass das Bild die volle Breite des Containers einnimmt */
  height: auto;       /* ErhÃ¤lt das SeitenverhÃ¤ltnis des Bildes */
  max-width: 1200px;  /* Setzt eine maximale Breite, um das Bild auf groÃŸen Bildschirmen zu limitieren */
  object-fit: cover;  /* LÃ¤sst das Bild den Container proportional ausfÃ¼llen */
}



.hero-text {
  font-size: x-large;            /* Beibehaltung der ursprÃ¼nglichen GrÃ¶ÃŸe */
  position: absolute;
  top: 70%;                      /* UrsprÃ¼ngliche vertikale Platzierung */
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  color: white;                  /* Neue kontrastreiche Farbe */
  line-height: 5rem;             /* UrsprÃ¼nglicher groÃŸer Zeilenabstand */
  text-align: center;
}




.card .about-img {
  width: 30%;
  margin: 30px auto;
}

.quotes {
  text-align: center;
}

.quotes-container {
  min-height: 100px; /* Adjust based on content */
  display: block;
  width: 100%;
  max-width: 1200px;
  margin: 5% auto;
}

.quote {
  font-size:x-large;
  font-style: italic; 
  margin-bottom: 1.5em; 
}


.cards {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem; /* Add some space between the cards */
  justify-items: center;
}

.card {
  display: flex;
  align-items: center;
  width: 100%;
  margin-bottom: 2rem; /* Add some space between rows */
}

.card img {
  width: 50%;
  object-fit: cover; /* Maintain the aspect ratio of the image */
  height: auto; /* Ensure the image maintains its aspect ratio */
}

.card .card-text {
  width: 50%;
  padding: 0 1rem; /* Add some padding around the text */
}

.cards-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

  .offers-card {
    margin-left: 20px;
  }


/* Footer */
.site-footer {
  background-color: var(--primary-color);
  color: var(--text-color);
  padding: 4rem 2rem;
  font-size: 1.2rem;
}

.max-width-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Offers.html: */
.offers {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin: 3rem auto;
}

.offers-card {
  display: flex;
  flex-wrap: wrap;
}

.offers-title {
  font-size: 2rem;
  font-weight: bold;
  text-align: center;

}

.content-container {
  flex: 1;
  min-width: 100%;
  box-sizing: border-box;
  padding: 1rem;
}

.psychotherapy-subtitle,
.supervision-subtitle,
.children-subtitle {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.psychotherapy-paragraph, .supervision-paragraph,
.children-paragraph {
  margin-bottom: 1rem;
}

.psychotherapy-list,
.supervision-list,
.children-list {
  list-style-type: none;
  padding: 1rem;
}

.psychotherapy-item,
.supervision-item,
.children-item {
  margin: 0.5rem 2rem;
}

.psychotherapy-more-btn,
.supervision-more-btn,
.children-more-btn,
.psychotherapy-less-btn,
.supervision-less-btn,
.children-less-btn {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: var(--secondary-color);
  color: var(--background-hero);
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.psychotherapy-more-btn:hover,
.supervision-more-btn:hover,
.children-more-btn:hover,
.psychotherapy-less-btn:hover,
.supervision-less-btn:hover,
.children-less-btn:hover {
  background-color: var(--text-color);
}

.psychotherapy-hidden,
.supervision-hidden,
.children-hidden {
  display: none;
}

.footer-max-width-container {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  justify-content: space-between;
}

.footer-content {
  max-width: 50%;
}

.footer-heading {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.footer-text {
  display: block;
  margin-bottom: 1rem;
  color: var(--text-color);
}

.therapist-image {
  width: 50%;
  height: auto;
  object-fit: cover;
}

.contact-container {
  text-align: center;
}

.footer-text:hover {
  text-decoration: underline;
}

/* Media query for larger screens */
@media (min-width: 768px) {
  .about-name {
    display: none;
  }
  .cards {
    grid-template-columns: 1fr;
  }

  .card:nth-child(even) {
    flex-direction: row-reverse;
  }

  .content-container {
    min-width: 33.33%;
  }
}



@media screen and (max-width: 768px) {
  #name {
    display: none;
  }

  .header {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
  }
  .about-name {
    display: block;
    margin-top: 30px;
  }

  .navbar-right {
    display: none;
  }

  .burger-menu {
    display: block;
    margin-right: 16px;
  }
  .hero {
    z-index: -1;
  }

  .hero .hero-content .hero-text {
    display: none;
  }

  .hero .hero-content .hero-image {
    display: block;
    width: 100%;
    height: auto; /* Ensure the image scales correctly */
    object-fit: contain; /* Adjust object-fit to contain for mobile */
  }

  .card {
    flex-direction: column; /* Stack the image and text vertically on mobile devices */
  }

  .card .about-img {
    width: 50%;
  }
  .card img {
    width: 100%; /* Make the image full width on mobile devices */
  }

  .card .card-text {
    width: 100%; /* Make the text full width on mobile devices */
  }

  .mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    width: 100%;
    background-color: #fff;
    color: var(--light-color);
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
  }

  .mobile-menu-visible {
    transform: translateX(0%);
  }

  .quotes-container {
    display: block;
    width: 90%;
  }  

  .cards {
    display: block;
  }

  .card {
    display: flex;
    align-items: center;
    width: 100%;
    margin-bottom: 2rem; /* Add some space between rows */
  }

  .card-text {
    margin-top: 1rem;
  }

  .card img {
    width: 90%;
    object-fit: cover; /* Maintain the aspect ratio of the image */
  }

  .card .card-text {
    width: 90%;
    padding: 0 1rem; /* Add some padding around the text */
  }

  .cards-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .offers-card {
    margin-left: 20px;
  }

  .footer-max-width-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .footer-content {
    max-width: 100%;
  }

  .therapist-image {
    width: 100%;
    order: -1;
    margin-bottom: 1rem;
  }
}


.quotes-container {
    min-height: 200px; /* Eine MindesthÃ¶he fÃ¼r den gesamten Container */
}

@font-face {
    font-family: 'YourFontFamily';
    src: url('yourfontfile.woff2') format('woff2');
    font-display: swap;
}
