/* ========================= GLOBAL ========================= */

* {
  box-sizing: border-box;
}
html {
  overflow-y: scroll;
}
body {
  margin: 0;
  font-family: "Open Sans", Arial, sans-serif;
  line-height: 1.6;
  color: #222;
} /* Container .container { width: 90%; max-width: 1100px; margin: auto; } */

section {
  padding: 100px 0;
}

.layout {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 20px;
} /* ========================= TOPBAR ========================= */
.topbar {
  background: #f5f5f5;
  padding: 10px 0;
}
.topbar-right {
  text-align: right;
}
.btn {
  background-color: #cfeeea; /* etwas dunkler als #e6f7f5 */
  color: #222; /* normaler Text, kein Weiß */
  padding: 8px 16px;
  text-decoration: none;
  font-size: 14px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 4px;
  transition: background-color 0.2s ease;
}
.btn:hover {
  background-color: #bfe6e1;
} /* ========================= HEADER / NAVIGATION ========================= */
.header {
  padding: 20px 0;
  border-bottom: 1px solid #eee;
}
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo em {
  font-family: "Playfair Display", serif;
  font-size: 22px;
  font-style: italic;
  font-weight: 400;
  color: rgb(94, 94, 93);
  line-height: 30.8px;
  letter-spacing: 0.5px; /* 👈 wichtig für eleganten Look */
}
nav a {
  display: inline-block;
  margin-left: 25px;
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: rgb(34, 34, 34);
  line-height: 25.6px;
  text-decoration: none;
}
nav a:hover {
  color: #b6f1e8;
}
nav a.active {
  color: #a6ece3;
  border-bottom: 1px solid #888;
  padding-bottom: 2px;
}
nav a:first-child {
  margin-left: 0;
}

/* ========================= HERO (Startseite) -- index.php ========================= */
.hero {
  background-color: #e6f7f5;
  padding: 0;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  width: 100%;
}
.hero-text {
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* nicht mehr vertikal zentrieren */
  align-items: center;
  text-align: center;
  padding-top: 80px;
  padding-bottom: 40px;
}
.hero-text h1 {
  font-family: "Libre Baskerville", serif;
  font-size: 49px;
  font-weight: 400;
  color: rgb(47, 47, 46);
  text-align: center;
  line-height: normal;
  letter-spacing: -0, 2px;
  margin: 0 auto 15px;
  max-width: 520px;
} /* .hero-text p { font-size: 17px; color: #555; }*/
.hero-text p {
  font-size: 16px;
  font-weight: 300;
  color: rgb(94, 94, 93);
  letter-spacing: 0.2px;
  margin-top: -5px;
} /* RECHTE SEITE (Bild sauber an Kante) */
.hero-image {
  height: 100%;
}
.hero-image img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  display: block;
}
/* =========================
   ABOUT (Startseite)
========================= */
.about {
  padding: 0;
}

/* grauer Hintergrund nur für Text */
.about-text-bg {
  background-color: #f2f2f2;
  padding: 80px 0 260px; /* kontrollierte Höhe */
  text-align: center;
  position: relative;
}

/* Inhalt */
.about-content {
  max-width: 800px;
  margin: 0 auto;
}

/* TYPO */
.about h2 {
  font-family: "Libre Baskerville", serif;
  font-size: 28px;
  line-height: 1.3;
  font-weight: 400;
  font-style: italic;
  color: rgb(47, 47, 46);
  margin-bottom: 10px;
}

.about h3 {
  font-family: "Libre Baskerville", serif;
  font-size: 48px;
  font-weight: 400;
  color: rgb(47, 47, 46);
  margin: 10px 0 20px;
}

.about p {
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.6;
  color: rgb(94, 94, 93);
  max-width: 620px;
  margin: 0 auto 25px;
}

/* Link */
.about-link {
  font-size: 26px;
  text-decoration: none;
  color: black;
  line-height: 1;
  display: inline-block;
}

/* Bildbereich */
.about-image {
  display: flex;
  justify-content: center;

  transform: translateY(-220px);
  position: relative;
  z-index: 2;
}

.about-image img {
  width: 420px;
  height: 520px;
  object-fit: cover;
  display: block;
}

/* =========================
   ABOUT DETAIL
========================= */
.about-detail {
  background-color: #f2f2f2;
  padding: 100px 0;
}

.about-detail .layout {
  background: transparent;
  padding: 0 20px;
}

.about-detail-content {
  max-width: 800px;
  margin: 0 auto;
}

/* Reset */
.about-detail h2,
.about-detail h3,
.about-detail p {
  margin-top: 0;
}

.about-detail h1 {
  font-family: "Libre Baskerville", serif;
  font-size: 34px;
  font-weight: 400;
  margin-bottom: 20px;
  color: #2f2f2e;
}
..about-detail h2 {
  font-family: "Libre Baskerville", serif;
  font-size: 34px;
  font-weight: 400;
  margin-bottom: 10px;
  color: #2f2f2e;
}

.about-detail h3 {
  font-family: "Playfair Display", serif;
  font-size: 22px;
  font-style: italic;
  margin-bottom: 20px;
  color: #333;
}

/* Text */
.about-detail p {
  font-family: "Inter", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.8;
  font-weight: 300;
  color: #444;
  margin-bottom: 22px;
}

/* =========================
   QUALIFICATIONS
========================= */
.about-qualifications {
  background-color: #e6f7f5;
  padding: 100px 0;
}

.about-qualifications .layout {
  background: transparent;
  padding: 0 20px;
}

.about-qualifications-content {
  max-width: 800px;
  margin: 0 auto;
}

/* Überschrift */
.about-qualifications h2 {
  font-family: "Libre Baskerville", serif;
  font-size: 49px;
  font-weight: 400;
  line-height: 1.25;
  margin-bottom: 20px;

  /* FIX */
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

/* Introtext */
.about-qualifications p {
  font-family: "Inter", Arial, sans-serif; /* Ersatz für Avenir */
  font-size: 16px;
  font-weight: 300;
  line-height: 1.7; /* entspricht ca. 27.2px */
  letter-spacing: normal;
  color: #444;
  margin-bottom: 15px;
}
.timeline {
  margin-top: 150px; /* kontrollierter Abstand */
}

/* Timeline */
.timeline-item {
  margin-bottom: 25px;
}

.timeline-item .year {
  display: block;
  font-family: "Libre Baskerville", serif;
  font-size: 18px;
  margin-bottom: 5px;
}

.timeline-item p {
  margin: 0;
}

/* =========================
   TERMIN BUCHEN
========================= */
.booking {
  padding: 60px 20px;
  background: #fafafa;
}

.booking .container {
  max-width: 680px;
  margin: 0 auto;
  background: white;
  background: #ffffff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
}

/* Headline */
.booking h1 {
  font-size: 32px;
  margin-bottom: 20px;
}

/* Text */
.booking p {
  line-height: 1.6;
  margin-bottom: 16px;
  color: #333;
}

/* E-Mail */
.booking a {
  color: black;
  text-decoration: none;
  border-bottom: 1px solid #ccc;

  white-space: nowrap;
  font-size: 18px;
  font-weight: 500;
}

.booking a:hover {
  border-bottom: 1px solid black;
}

/* Liste */
.booking ul {
  list-style-position: outside;
  padding-left: 20px;
  margin-top: 10px;
}

.booking li {
  margin-bottom: 8px;
  line-height: 1.5;
}

/* kleine Hervorhebung */
.booking strong {
  font-weight: 600;
}

/* =========================
   TREATMENT PAGE WRAPPER
========================= */
.treatment {
  padding: 100px 0;
}

/* =========================
   PAGE TITLE STRIPE
   (Mein Therapieangebot)
========================= */
.treatment > .layout:first-child {
  background: transparent;
  text-align: center;
}

.treatment h1 {
  font-family: "Playfair Display", serif;
  font-size: 22px; /* Wix Section Label */
  font-style: italic;
  font-weight: 400;
  color: rgb(47, 47, 46);
  margin-bottom: 80px;
  line-height: 1.2;
}

/* =========================
   FULL WIDTH STRIPE (Item 1 Highlight)
========================= */
.treatment-item.is-highlight {
  background-color: rgb(226, 246, 205);

  padding: 80px 0;
}

/* =========================
   NORMAL ITEM (Item 2 etc.)
========================= */
.treatment-item {
  padding: 90px 0;
}

.treatment-item.is-highlight {
  background-color: rgb(226, 246, 205);
}

/* =========================
   INNER CONTAINER (Wix-style centered content)
========================= */
.treatment-item .layout {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 0 20px;
}

/* =========================
   NUMBER (01., 02.)
========================= */
.treatment-number {
  font-family: "Playfair Display", serif; /* Didot Ersatz */
  font-size: 22px;
  font-style: italic;
  font-weight: 400;
  color: rgb(47, 47, 46);
  margin-bottom: 10px;
  line-height: 1;
}

/* =========================
   TITLE (Gesprächstherapie etc.)
========================= */
.treatment-title {
  font-family: "Libre Baskerville", serif;
  font-size: 38px;
  font-weight: 400;
  color: rgb(47, 47, 46);
  margin-bottom: 24px;
  line-height: 1.25;
}

/* =========================
   TEXT
========================= */
.treatment-item p {
  font-family: "Inter", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  font-weight: 400;
  color: #444;
  max-width: 650px;
  margin: 0 auto;
}

/* =========================
   CHAT WIDGET
========================= */
.chat-button {
  position: fixed;
  bottom: 20px;
  right: 20px;

  width: 56px;
  height: 56px;

  background: #c2dbd7;
  color: #222;

  border-radius: 14px;
  border: 1px solid #a8c4bf;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 22px;
  cursor: pointer;
  z-index: 1000;

  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.chat-button:hover {
  background: #b3d0cb;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.16);
}

.chat-box {
  position: fixed;
  bottom: 90px;
  right: 20px;
  width: 300px;
  height: 400px;
  background: white;
  border: 1px solid #ddd;
  display: none;
  flex-direction: column;
  z-index: 1000;
}

.chat-header {
  padding: 15px;
  border-bottom: 1px solid #eee;
  text-align: center;
}

.chat-header em {
  font-size: 16px;
}

.chat-header small {
  display: block;
  margin-top: 5px;
  color: #666;
}

.chat-time {
  margin-top: 10px;
  font-size: 14px;
}

.chat-body {
  flex: 1;
  padding: 10px;
  overflow-y: auto;
}

.chat-input {
  border-top: 1px solid #eee;
}

.chat-input input {
  width: 100%;
  padding: 10px;
  border: none;
  outline: none;
  display: block;
}

/* =========================
   MOBILE
========================= */
@media (max-width: 768px) {
  /* HERO */
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-text {
    padding-top: 40px;
    padding-bottom: 20px;
  }
  .hero-text h1 {
    font-size: 30px;
    line-height: 1.25;
    padding: 0 20px;
  }
  .hero-text p {
    font-size: 15px;
    padding: 0 20px;
  }
  .hero-image img {
    object-position: center top;
    min-height: 320px;
  }

  /* NAVIGATION */
  .nav {
    flex-direction: column;
    align-items: flex-start;
  }

  nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
  }

  nav a {
    margin-left: 0;
  }
  @media (max-width: 768px) {
    .about-text-bg {
      padding-left: 30px;
      padding-right: 30px;
    }

    .about-content p {
      font-size: 15px; /* optional: wirkt auf Handy besser */
      line-height: 1.7;
    }

    .about h3 {
      font-size: 38px; /* bisher 48px → wirkt auf Mobile zu groß */
    }
  }
  @media (max-width: 768px) {
    .about-image img {
      width: 80%;
      height: auto;
    }
  }

  /* TREATMENT */
  .treatment {
    padding: 70px 0;
  }

  .treatment-item {
    flex-direction: column;
    padding: 70px 0;
  }

  .treatment-number {
    margin-bottom: 10px;
  }

  .treatment-title {
    font-size: 30px;
    line-height: 1.2;
    word-break: break-word;
  }

  /* CHAT */
  .chat-box {
    width: calc(100% - 40px);
    right: 20px;
    left: 20px;
    bottom: 80px;
  }
  .about-detail h1 {
    font-size: 28px;
  }

  .about-detail h2 {
    font-size: 28px;
  }
  .about-detail h3 {
    font-size: 20px;
  }

  /* QUALIFICATIONS */
  .about-qualifications h2 {
    font-size: 34px;
    line-height: 1.2;
    word-break: normal;
    hyphens: auto;
  }

  /* BOOKING */
  .booking .container {
    padding: 30px 20px;
  }

  .booking a {
    font-size: 14px;
    white-space: nowrap;
  }
}
