 /* Allgemeine Einstellungen */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #f4f8f9;
    color: #333;
    margin: 0px;
    padding: 0;
    scroll-behavior: smooth; /* Sanftes Scrollen für alle Links */
}

*, *::before, *::after {
  box-sizing: border-box;
}

/* Header */
header {
    background-color: #b5cbb2;
    color: white;
    padding: 20px 0;
    text-align: center;
}

header h1 {
    font-size: 60px;
    margin-bottom: 0px;
    color: #47694e;
    line-height: 1.1;
}

header .subheading {
    font-size: 38px;
    font-weight: 500;
    color: #47694e;
    line-height: 1.0;
}

/* Navigation */
nav {
    background-color: #f0f4f2;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.05); /* Leichter Schatten für etwas Tiefe */
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    padding: 0;
    margin: 0px;
    background-color: #f0f4f2;
}

nav ul li {
    margin: 0px 20px;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 20px;
    padding: 15px 10px;
    display: block;
    transition: color 0.3s;
}

nav ul li a:hover, nav ul li a:focus {
    color: #b5cbb2;
}

/* Main */
main {
    max-width: 1200px;
    margin: 0px auto;
    padding: 0 20px;
}

/* Abstand vom Bild zur Navigation wie auf der Startseite */
.intro-content {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    margin-bottom: 40px;
    margin-top: 50px;
}

.intro-text {
    flex: 1;
    font-size: 18px; /* Text etwas kleiner */
    line-height: 1.6;
    margin-top: -10px; /* Text etwas nach oben schieben */
}

.intro-text h2 {
    color: #47694e;
    font-size: 32px; /* Kleinere Überschrift */
    margin-bottom: 20px;
}


.image-placeholder.large {
  border: none;               /* entfernt den Rahmen */
  border-radius: 0;        /* optional: abgerundete Ecken */
  box-shadow: 0px 6px 18px rgba(0, 0, 0, 0.25);
  max-width: 100%;            /* passt sich an die Seite an */
  height: auto;               /* behält das Seitenverhältnis */
}

/* Image Placeholder für größere Bilder */
.image-placeholder.large img {
    width: 100%;
    max-width: 500px; /* Bild jetzt größer */
    height: auto;
    border-radius: 0;
    display: block;
}

.image-gallery {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin: 30px auto;
    max-width: 1200px;
}

.image-gallery .gallery-item {
    flex: 1 1 calc(33.333% - 13.33px);
    max-width: 100%;
}

.image-gallery .gallery-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 0;
    display: block;
    box-shadow: 0px 6px 18px rgba(0,0,0,0.15);
}

/* Startseite: Kontakt zentral */
.contact-info {
    text-align: center;
    margin-top: 50px;
    font-size: 20px;
}

.contact-info h2 {
    font-size: 25px;
    color: #47694e;
    margin-bottom: 5px;
}

.contact-info p {
    font-size: 18px;
    margin: 5px;
    line-height: 1.4;
}



/* Leistungen & Bilder – Unterseiten */
.services-page {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px; /* Weniger Abstand zwischen Text und Bildbereich */
    margin-bottom: 50px;
}

.services-page .content {
    flex: 1;
}

.services-page .content h2 {
    color: #47694e;
    font-size: 30px;
    padding-left: 68px;
    margin-bottom: 20px;
}

/* Hauptpunkte */
.services-page .content > ul {
    list-style: none;
    padding-left: 45px;
    font-size: 18px;
    line-height: 1.6;
}

.services-page .content > ul > li {
    margin-bottom: 10px;
    padding-left: 45px;
    position: relative;
    font-weight: bold; /* Hauptpunkte fett */
}

.services-page .content > ul > li::before {
    content: "•"; /* gefüllter Kreis */
    color: black;
    position: absolute;
    left: 28px;
    font-size: 18px;
}

/* Unterpunkte */
.services-page .content ul ul {
    list-style: none;
    padding-left: 10px; /* etwas eingerückt */
}

.services-page .content ul ul li {
    margin-bottom: 6px;
    padding-left: 30px;
    position: relative;
    font-weight: normal; /* Unterpunkte normal */
}

.services-page .content ul ul li::before {
    content: "◦"; /* offener Kreis */
    color: #47694e;
    position: absolute;
    left: 12px;
    font-size: 18px;
}

.bilder-spalte {
  flex: 1;                 /* Bildspalte nimmt gleichen Platz wie Text */
  max-width: 350px;        /* Bilder werden nicht breiter als 350px */
  margin-left: 50px;
  margin-right: 70px;
  margin-top: 30px;
  display: flex;
  flex-direction: column;  /* Bilder untereinander */
  gap: 40px;               /* Abstand zwischen den Bildern */
}

.bilder-spalte img {
  width: 100%;     /* füllt die Spaltenbreite */
  height: auto;    /* Höhe proportional */
  object-fit: cover;
  border: none;
  border-radius: 0;
  box-shadow: 0px 6px 18px rgba(0, 0, 0, 0.25);
}

/* Unterseiten: Kontakt rechts neben dem Bild */
/* Desktop Styles für Therapist Section */
/* Therapist: Desktop (grid) + Mobile (grid -> header oben, dann img + contact nebeneinander) */
.therapist-section {
  display: grid;
  grid-template-columns: 300px 1fr;
  grid-template-areas: "img info";
  gap: 40px;
  background-color: #dde5db;
  padding: 20px 40px;
  max-width: 900px;
  width: 90%;
  box-sizing: border-box;
  margin: 20px auto;
  align-items: start;
}

.therapist-img {
  grid-area: img;
  width: 100%;
  max-width: 300px;
  max-height: 450px;
  object-fit: cover;
  border-radius: 0;
  box-shadow: 0px 6px 18px rgba(0,0,0,0.25);
  display: block;
  margin-top: 5px;
}

.therapist-header {
  grid-area: info;
  margin-bottom: 20px; /* Abstand nach unten */
}
.therapist-contact {
  grid-area: info;
  margin-top: 110px; /* größerer Abstand, damit nicht überlappt */
}

/* Texte in der rechten Spalte (desktop) */
.therapist-header h2, .therapist-header h3 {
  margin: 0;
  color: #47694e;
}
.therapist-header h2 {
  font-size: 30px;
}
.therapist-header h3 {
  font-size: 19px;
  margin-top: 6px;
}

.therapist-contact h4 {
  font-size: 18px;
  margin: 15px 0 5px 0;
  line-height: 1.6;
}
.therapist-contact p {
  font-size: 18px;
  margin: 5px 0;
  line-height: 1.4;
}


/* Footer */
footer {
    background-color: #b5cbb2;
    color: white;
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
}

footer p {
    margin: 5px;
}

footer a {
    text-decoration: underline;
    color: white;
}

/* Mobile Anpassungen */ 
@media (max-width: 768px) { 
    main, header, footer {
        max-width: 100%;
        padding: 0 15px; /* minimal mehr Abstand zu den Seiten */
        box-sizing: border-box;
    }

    header {
        padding: 20px 15px;
        text-align: center;
    }

    header h1 {
        font-size: 32px;
        line-height: 1.2;
    }

    header .subheading {
        font-size: 20px;
        line-height: 1.4;
    }

    nav ul {
        flex-direction: row;
        justify-content: center;
        padding: 0;
        margin: 0px;
    }

    nav ul li {
        margin: 0px 10px;
    }

    nav ul li a {
        font-size: 16px;
        padding: 8px 5px;
    }

    footer {
        padding: 15px 15px;
        text-align: center;
    }

    footer p {
        font-size: 10px;
        margin: 5px 0px;
    }

    .intro-content {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        margin: 20px 0px;
        width: 100%;
    }

    .intro-text {
        font-size: 13.5px;
        line-height: 1.4;
        text-align: center;
    }

    .intro-text h2 {
        font-size: 18px;
        margin-bottom: 10px;
        text-align: center;
    }

	 .image-placeholder.large {
  	 border: none;               /* entfernt den Rahmen */
  	 border-radius: 0;        /* optional: abgerundete Ecken */
  	 box-shadow: 0px 6px 18px rgba(0, 0, 0, 0.25);
  	 max-width: 100%;            /* passt sich an die Seite an */
  	 height: auto;               /* behält das Seitenverhältnis */
    order: 2;
    width: 90%;
    max-width: 300px;
    height: auto;
    margin-left: 0px; 
    margin-top: 0px;
    margin-bottom: 10px;
    }
    
    /* Startseite: Kontakt zentral */
	 .contact-info {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
	 }

	 .contact-info h2 {
    font-size: 18px;
    color: #47694e;
    margin-bottom: 5px;
	 }

	 .contact-info p {
    font-size: 12px;
    margin: 5px;
    line-height: 1.25;
	 }

    .services-page {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
        width: 100%;
    }

    .services-page .content {
    	  position: relative;
        font-size: 11px;
        line-height: 1.4;
    }

    .services-page .content h2 {
        font-size: 17px;
        margin-bottom: -5px;
        margin-left: -70px;
        margin-top: 5px;
        text-align: left;
    }

    .services-page .content > ul {
        padding-left: 5px;
    }

	 .services-page .content > ul > li::before {
    	  content: "•";
   	  color: #47694e;
    	  position: absolute;
    	  left: -5px;
    	  top: 0px;
    	  font-size: 14px;
		  line-height: 1.4;	 
	 }
    
    .services-page .content > ul li{	
		  font-size: 12px;        
        padding-left: 8px;
    }
    
    .services-page .content ul ul li::before {
    	  content: "◦"; /* offener Kreis */
    	  color: #47694e;
    	  position: absolute;
    	  left: 0px;
    	  top: 0px;
    	  font-size: 14px;
    	  line-height: 1.4;
	 }
	 
	 .services-page .content > ul li ul li{	
		  font-size: 12px;        
        padding-left: 10px;
    }

    .bilder-spalte {
    	  display: flex;          /* nebeneinander */
   	  justify-content: center; /* mittig ausrichten */
    	  flex-wrap: wrap;        /* umbrechen, falls kein Platz */
    	  gap: 15px;              /* abstand zwischen bildern */
    	  max-width: 100%;
    	  margin: 20px auto 0px;
    	  margin-top: 0px;
	 }

	 .bilder-spalte {
    	  display: flex !important;
    	  flex-direction: row !important;
    	  flex-wrap: wrap !important;
    	  justify-content: center !important;
    	  gap: 15px !important;
	 }

	 .bilder-spalte img {
    	  display: block !important;
    	  max-width: 150px !important;
    	  height: auto !important;
	 }

    .image-gallery {
        order: 2;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
        margin-top: 15px;
    }

    .image-gallery .gallery-item img {
        width: 90%;
        max-width: 150px;
        height: auto;
    }
    
    .therapist-section {
    grid-template-columns: 120px 1fr;
    grid-template-areas:
      "header header"
      "img contact";
    gap: 12px;
    padding: 12px 14px;
    align-items: start;
  }

  .therapist-header {
    grid-area: header;
    text-align: center;
   }
   
  .therapist-header h2 {
    font-size: 15px; /* deutlich kleiner */
    margin: 0 0 4px 0;
    line-height: 1.3;
  }
  .therapist-header h3 {
    font-size: 11px; /* kleiner */
    margin-bottom: -20px;
    line-height: 1.4;
  }

  .therapist-img {
    grid-area: img;
    width: 120px;         /* kompakte Bildbreite */
    height: auto;
    max-width: 120px;
    max-height: 160px;
    object-fit: cover;
    border-radius: 0;
    box-shadow: 0px 6px 14px rgba(0,0,0,0.18);
    display: block;
    margin-left: 0px;
  }

  .therapist-contact {
    grid-area: contact;
    display: flex;
    flex-direction: column;
    justify-content: center; /* vertikal neben dem bild zentrieren */
    font-size: 9px;         /* deutlich kleinere Schrift */
    line-height: 1.0;       /* engerer Zeilenabstand */
    text-align: left;
    padding-left: 6px;
    margin-top: 5px;
  }

  .therapist-contact h4, .therapist-contact p {
    font-size: 9px;
    margin: 3px 0px;
    line-height: 1.25;
  }

  /* Falls Zeilen zu lang: Wortumbruch erlauben */
  .therapist-contact p, .therapist-contact a {
    word-break: break-word;
  }
  
  .impressum .content, .content {
  	font-size: 10px;
  }
}
