/* =========================================
   Basis: Farben, Fonts, Variablen
========================================= */
:root {
  /* Palette */
  --brand: #99685d; /* Terracotta */
  --brand-ink: #faf8f5;
  --accent: #a0b5a4; /* Salbei */
  --accent-2: #c4d0c3; /* hellere Salbei-Variante */
  --accent-3: #edf1ec; /* sehr hell */
  --bg1: #f9f8f7;
  --bg2: #f3f4f2;
  --ink: #27252b;
  --muted: #6e6e6e;
  --card: #faf8f5;

  --radius: 14px;
  --shadow: 0 6px 18px rgba(0, 0, 0, 0.06);

  --header-h: 150px; /* fixe Headerhöhe */
}

/* =========================================
   Reset / Grundlayout
========================================= */
* {
  box-sizing: border-box;
}

@font-face {
  font-family: "Montserrat";
  src: url("../assets/font/Inter,Montserrat/Montserrat/Montserrat-VariableFont_wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
}

@font-face {
  font-family: "Montserrat";
  src: url("../assets/font/Inter,Montserrat/Montserrat/Montserrat-Italic-VariableFont_wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: italic;
}

html,
body {
  height: 100%;
  font-family: "Montserrat", sans-serif;
}
html {
  scroll-behavior: smooth;
}

body {
  margin: 150px 0 0 0;
  font-family: "Montserrat";
  background: #a0b5a4;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* =========================================
   Header – sticky, ruhig
========================================= */
/* Header */
.site-header {
  display: flex;
  align-items: center; /* horizontal zentrieren */
  justify-content: center; /* vertikal mittig, wenn Höhe definiert */
  padding: 20px 0;
  background: #faf8f5;
  border-bottom: 1px solid #e6e6e6;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  height: 150px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}
.site-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
  width: 200px;
}
.header-logo {
  display: flex;
  align-items: center;
}
.site-nav {
  display: flex;
  height: 30px;
  gap: 20px;
}
.site-nav a {
  font-size: 24px;
  text-decoration: none;
  color: #99685d;
}

/* Logo: NICHT klein machen, Originalgröße zulassen */
.site-logo {
  height: 300px;
  width: auto;
  object-fit: contain;
  transition: transform 0.2s ease;
  position: absolute;
  top: 0;
  left: -22px;
  pointer-events: none;
}

.nav-task {
  font-size: 27px;
  text-decoration: none;
  color: #99685d;
}
.is-active {
  font-weight: 900;
}

/* Basis: Desktop = kein Burger */
.site-burger {
  display: none;
  border: 0;
  background: transparent;
  padding: 6px;
  margin-left: auto;
  cursor: pointer;
  position: relative;
  z-index: 2100;
  padding-right: 100px;
}

.site-burger span {
  display: block;
  width: 22px;
  height: 2px;
  color: #99685d;
  border-radius: 2px;
  margin: 4px 0;
  transition: all 0.3s ease;
  border: solid;
}

/* =========================================
   Content – zentriert, Luft
========================================= */
main.content {
  flex: 1;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px;
  position: relative;
  z-index: 1;
}
.behandlung {
  max-width: 1100px;
  margin-top: 100px;
  border-radius: 50px;
}

.beh-img {
  display: flex;
  justify-content: center;
}
.ueber-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.ueber-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.muted {
  font-size: 20px;
  font-weight: 300;
  color: #6e6e6e;
  text-align: center;
}

/* Karten / Sektionen */
.card-soft {
  background-color: #faf8f5;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.8rem 1.9rem;
  margin-top: 50px;
}

/* Typografie */
h1,
h2,
h3,
h4 {
  color: #99685d;
  margin: 0px;
  text-align: center;
}
h1 {
  font-size: 44px;
  text-align: center;
}
h2 {
  font-size: 36px;
}
h3 {
  font-size: 28px;
}
h4 {
  font-size: 24px;
}

/* Listen */
ul,
ol {
  margin: 0 0 1.5rem;
  padding-left: 1.5rem;
}
.extern-links {
  margin-bottom: 20px;
}
.info-footer {
  font-size: 10px;
  color: #6e6e6e;
}
.list-clean {
  list-style: none;
  color: #6e6e6e;
}
.list-clean li {
  position: relative;
  margin: 4px 0;
  padding-left: 21px;
  font-size: 20px;
  font-weight: 200;
  color: #6e6e6e;
}
/* farbige Punkte */
.list-clean li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  /* vertikal leicht mittig */
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #99685d;
  /* deine Terracotta-Farbe */
  transform: translateY(-50%);
}

/* =========================================
   Buttons
========================================= */
.contact-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 9999;
  /* über allem */
}

.contact-overlay.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.contact-overlay__content {
  background: #fff;
  padding: 2rem 2.5rem;
  max-width: 420px;
  width: 90%;
  border-radius: var(--radius, 14px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
  text-align: center;
}
.btn {
  height: 80px;
  border-radius: 10px;
  border: 1px solid #ddd;
  width: 280px;
  background: #d9ddd8;
  cursor: pointer;
  transition: all 0.22s ease;
}
.btn.forschung {
  height: 150px;
}
.btn:hover {
  background: #f7f4ef;
  border-color: #eadfda;
}
.primary {
  background: transparent;
  border-color: transparent;
  font-size: 24px;
  text-decoration: none;
  color: #99685d;
}
.btn.primary:hover {
  background: #8a6057;
  box-shadow: 0 5px 12px rgba(153, 104, 93, 0.25);
}
.btn[aria-disabled="true"] {
  opacity: 0.6;
  pointer-events: none;
}

/* =========================================
   Hero-Elemente
========================================= */
.hero-full {
  position: relative;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  place-items: center;
  padding: 5vh 24px 4vh;
  background-image: linear-gradient(180deg, rgba(153, 104, 93, 0.4), rgba(153, 104, 93, 0.1)), url("../assets/img/start1.svg");
  /* OVERLAY */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}
.hero-inner-kontakt {
  height: 500px;
  width: 1000px;
  display: flex;
  flex-direction: column;
  background: rgb(250, 248, 245, 0.8);
  border-radius: 16px;
  border: 1px solid #e9ece8;
  padding: 1.6rem 1.8rem 1.4rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}
.hero-inner {
  height: 500px;
  width: 1000px;
  display: flex;
  flex-direction: column;
  background: rgb(250, 248, 245, 0.8);
  border-radius: 16px;
  border: 1px solid #e9ece8;
  padding: 1.6rem 1.8rem 1.4rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  justify-content: center;
}
.hero-title {
  padding: 20px;
  text-align: center;
}
.hero-title span {
  font-weight: 400;
  font-size: 0.9em;
  opacity: 0.85;
}
.hero-lead {
  text-align: center;
  color: var(--muted);
  font-size: 24px;
}
.hero-subtask {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  align-items: center;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.hero-tags {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}
.hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.pill {
  width: 350px;
  height: 80px;
  border-radius: 999px;
  background: var(--accent-3);
  border: 1px solid #dde4dc;
  color: #a0b5a4;
  text-align: center;
}
.text-span {
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 550;
  text-decoration: none;
  align-items: center;
}
/* Page Hero (Unterseiten) */
.page-hero {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin: 0 0 1.6rem;
  min-height: 32vh;
  display: grid;
  place-items: end start;
  padding: 1.4rem 1.8rem;
  color: #fff;
  background: linear-gradient(180deg, rgba(20, 30, 22, 0.42), rgba(20, 30, 22, 0.3)), center / cover no-repeat var(--hero-img, none), linear-gradient(180deg, var(--bg1), var(--bg2));
}
.page-hero-title {
  font-size: 2rem;
  margin: 0 0 0.1rem;
}
.page-hero-sub {
  margin: 0;
  max-width: 62ch;
  color: rgba(255, 255, 255, 0.94);
}
.img-portrait {
  width: 700px;
  border-radius: 20px;
  padding: 15px;
}
.hero-full-for {
  position: relative;
  min-height: 800px;
  display: flex;
  justify-content: center;
  place-items: center;
  padding: 5vh 24px 4vh;
  background-color: rgb(250, 248, 245, 0.3);
  /* OVERLAY */
  background-image: url("../assets/img/forschung.svg");
  background-blend-mode: lighten;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
  width: 100%;
}
.hero-full-hom {
  position: relative;
  min-height: 800px;
  display: flex;
  justify-content: center;
  place-items: center;
  padding: 5vh 24px 4vh;
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.2)), url("../assets/img/behandlung.jpg");
  background-size: cover;
  background-position: top;
  background-repeat: no-repeat;
  z-index: 1;
  width: 100%;
  margin: 0;
}
.homo-task {
  display: flex;
  gap: 60px;
  margin-top: 30px;
  justify-content: center;
}
.hom-card {
  margin-top: 50px;
}
.hom {
  height: 80px;
  border-radius: 10px;
  border: 1px solid #ddd;
  width: 250px;
  background: #fff;
  cursor: pointer;
  transition: all 0.22s ease;
}

.hero-inner-behandlung {
  display: flex;
  z-index: 1;
  align-items: center;
  flex-direction: column;
}

.hero-full-familie {
  position: relative;
  height: 800px;
  display: flex;
  place-items: center;
  justify-content: center;
  padding: 5vh 24px 4vh;
  background-image: linear-gradient(180deg, rgba(250, 248, 245, 0.3), rgba(250, 248, 245, 0.6)), url("../assets/img/hands.svg");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
  width: 100%;
  border-radius: 30px;
  margin-top: 50px;
}
.hero-full-women {
  position: relative;
  height: 800px;
  display: flex;
  place-items: center;
  justify-content: center;
  padding: 5vh 24px 4vh;
  background-image: linear-gradient(180deg, rgba(250, 248, 245, 0.3), rgba(250, 248, 245, 0.6)), url("../assets/img/women.svg");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
  width: 100%;
  border-radius: 30px;
  margin-top: 150px;
}

.hero-full-women img {
  width: 800px;
  height: 500px;
}

.hero-full-mental {
  position: relative;
  height: 800px;
  display: flex;
  place-items: center;
  justify-content: center;
  padding: 5vh 24px 4vh;
  background-image: linear-gradient(180deg, rgba(250, 248, 245, 0.3), rgba(250, 248, 245, 0.6)), url("../assets/img/Copy.svg");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
  width: 100%;
  border-radius: 30px;
  margin-top: 150px;
}
.hom:hover {
  background: #f7f4ef;
  border-color: #eadfda;
}
.for {
  height: 80px;
  width: 260px;
  background: #d9ddd8;
  border: 1px solid #ddd;
}
.hero-full-praxis {
  position: relative;
  min-height: 800px;
  display: flex;
  justify-content: center;
  place-items: center;
  padding: 5vh 24px 4vh;
  background-color: rgb(250, 248, 245, 0.3);
  /* OVERLAY */
  background-image: url("../assets/img/forschung.svg");
  background-blend-mode: lighten;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
  width: 100%;
  flex-direction: column;
}
.praxis-content {
  display: flex;
  align-items: center;
}
/* =========================================
   Spezialisierung / Praxis / Forschung
========================================= */
.spez-hero-contact {
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
  width: 100%;
}
.study {
  font-size: 21px;
  font-weight: 300;
  color: #99685d;
  text-decoration: none;
  text-align: center;
}
/* Spezialisierung */
.spez-hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  align-items: center;
  width: 100%;
}
.hero-full-familie > .spec-card,
.hero-full-women > .spec-card,
.hero-full-mental > .spec-card,
.spec-card-praxis {
  overflow-y: auto;
  overflow-x: hidden;
  height: 550px;
}
.spec-card,
.spec-card-praxis {
  background: rgb(250, 248, 245, 0.8);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.04);
  margin: 40px;
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
}

.spec-details {
  margin-top: 0.35rem;
  padding-top: 0.35rem;
  border-top: 1px solid #eee;
  text-align: left;
}
.thema {
  font-size: 26px;
  font-weight: 500;
  color: #99685d;
  cursor: pointer;
  display: inline-flex;
  line-height: 1.6;
  /* padding-left: 20px; */
  transition: color 0.25s ease;
}

/* Default-Marker vom Browser entfernen */
.spec-details > summary.thema::marker {
  content: "";
}

/* Pfeil – Teil des Themas */
.spec-details > summary.thema::before {
  content: "▸";

  transform: translateY(-15%);
  /* perfekt mittig, leicht angepasst */
  font-size: 30px;
  color: #99685d;
  display: inline-block;
  transition: transform 0.25s ease, color 0.25s ease;
  padding-right: 10px;
}

/* Wenn geöffnet → Pfeil drehen und evtl. Farbe ändern */
.spec-details[open] > summary.thema::before {
  transform: rotate(90deg);
  color: var(--accent);
  padding-right: 30px;
  /* sanfte Akzentfarbe beim Öffnen */
}

.spec-details > summary.thema:hover {
  color: var(--accent);
}

.spec-details > summary.thema:hover::before {
  color: var(--accent);
}
/* Praxis */
.praxis-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.4rem 0 1rem;
}
.praxis-gallery {
  margin-top: 0.6rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}
.praxis-gallery img {
  border-radius: 12px;
  border: 1px solid #eaeaea;
}

/* Forschung */
.quote {
  border-left: 4px solid var(--brand);
  padding-left: 1rem;
  font-style: italic;
  color: var(--muted);
  margin: 0.4rem 0 1.3rem;
}
.quote footer {
  font-style: normal;
  font-size: 0.9rem;
  color: var(--accent);
  margin-top: 0.2rem;
}

/* Mehr lesen / Details */
.more {
  margin-top: 0.7rem;
  border-top: 1px solid #eee;
  padding-top: 0.6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.more > summary {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  background: var(--accent-3);
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  font-weight: 400;
}
.more > summary::before {
  content: "▸";
  color: var(--accent);
}
.more[open] > summary::before {
  transform: rotate(90deg);
}
.more-content {
  margin-top: 0.7rem;
  line-height: 1.7;
  text-align: left;
}
.finta > summary {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  border-radius: 999px;
}
.finta > summary::before {
  content: "▸";
  color: var(--accent);
}

.finta[open] > summary::before {
  transform: rotate(90deg);
}
/* =========================================
   Kontakt
========================================= */
.contact {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.contact-style {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.hero-full-kontakt {
  position: relative;
  min-height: 800px;
  display: flex;
  justify-content: center;
  place-items: center;
  padding: 5vh 24px 4vh;
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.2)), url("../assets/img/pc.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
  width: 100%;
}

/* Formular */
.contact-form {
  background-color: #faf8f5;
  border: 1px solid #a0b5a4;
  border-radius: 18px;
  padding: 1.4rem 1.2rem 1.6rem;
  box-shadow: var(--shadow);
  width: 1000px;
  margin: 100px;
}

.contact-text {
  font-weight: 300;
  font-size: 24px;
  color: #99685d;
  margin-top: 10px;
}

.contact-label {
  display: flex;
  gap: 10px;
  flex-direction: column;
}
.mail-input,
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 10px;

  background: #fff;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.contact-form textarea {
  min-height: 180px;
  resize: vertical;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(160, 181, 164, 0.25);
}

/* Aktionen im Formular */
.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
}

/* =========================================
   Footer – unten, ruhig
========================================= */
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
}

.site-footer {
  width: 100%;
  margin: 0 auto;
  padding: 1.4rem 16px 1.6rem;
  display: flex;
  background: #faf8f5;
  border-top: 1px solid #e6e6e6;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.f-brand {
  height: auto;
  /* Höhe automatisch – verhindert Aufblasen */
  object-fit: contain;
}
.f-contact {
  display: flex;
  flex-direction: column;
  margin: 10px;
  align-items: center;
  justify-content: center;
  color: #99685d;
}

.f-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 10px;
  overflow: hidden;
}

.f-nav a,
.f-legal a {
  text-decoration: none;
  color: var(--ink);
  border-bottom: 1px solid transparent;
}
.extern:hover {
  border-bottom-color: #d9ddd8;
  font-weight: 400;
}
.footer-links {
  padding: 20px;
  justify-content: center;
  align-items: center;
  font-size: 15px;
}

.extern {
  font-size: 14px;
  font-weight: 300;
  color: #99685d;
  text-decoration: none;
}

.footer-links .divider {
  display: inline-block;
  width: 1px;
  height: 1em;
  background-color: #99685d;
  opacity: 0.6;
  position: relative;
  top: 1px;
}
.f-contact a {
  color: #99685d;
  text-decoration: none;
}
.f-contact a:hover {
  color: var(--accent);
}
.f-legal {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-left: 20px;
}

/* =========================================
   Fokus / A11y
========================================= */
