/* ==========================================================
   Praxis für Integrative Therapie – Stylesheet
   Warmes, ruhiges, professionelles Design für eine
   psychotherapeutische Praxis. Reine CSS/HTML-Umsetzung,
   keine externen Font-/Script-Einbindungen (DSGVO-freundlich,
   kein automatischer IP-Transfer an Dritte wie Google Fonts).
   ========================================================== */

:root {
  --color-bg: #ffffff;
  --color-bg-alt: #f1e9df;
  --color-accent: #75a42f;      /* Olivgrün aus dem Praxis-Logo */
  --color-accent-dark: #567a20;
  --color-sage: #7c8a72;        /* ruhiges Salbeigrün als Zweitakzent */
  --color-text: #3a352f;
  --color-text-light: #6b6459;
  --color-border: #e2d6c6;
  --font-heading: Georgia, "Times New Roman", serif;
  --font-body: "Segoe UI", Verdana, Arial, sans-serif;
  --max-width: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--color-accent-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 {
  font-family: var(--font-heading);
  color: var(--color-accent-dark);
  line-height: 1.25;
  font-weight: normal;
}

h1 { font-size: 2.1rem; margin: 0 0 1rem; }
h2 { font-size: 1.5rem; margin: 2rem 0 0.75rem; }
h3 { font-size: 1.15rem; margin: 1.5rem 0 0.5rem; }

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Header --- */
.site-header {
  background: #ffffff;
}

.header-top {
  padding-top: 20px;
  padding-bottom: 12px;
}

.site-logo { display: inline-block; }
.site-logo img { max-height: 100px; width: auto; }

nav.main-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #ffffff;
  padding: 6px 0 20px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

nav.main-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 40px;
  margin: 0;
  padding: 0;
}

nav.main-nav a {
  color: var(--color-accent);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
}

nav.main-nav a:hover,
nav.main-nav a.active {
  color: var(--color-accent-dark);
  border-bottom-color: var(--color-accent);
  text-decoration: none;
}

/* --- Hero --- */
.hero-photo img {
  width: 100%;
  display: block;
}

.hero-photo-boxed { padding-top: 32px; }
.hero-photo-boxed img {
  width: 100%;
  display: block;
  border-radius: 6px;
}

.intro {
  padding: 48px 0;
}

.intro .signature {
  margin-top: 1.5rem;
  color: var(--color-text);
}

/* --- Page header (Unterseiten ohne großes Hero) --- */
.page-header {
  padding: 36px 0 8px;
}

/* --- Content --- */
main { padding: 40px 0 60px; }

.content-block { margin-bottom: 2.5rem; }

.home-section { padding: 8px 0 56px; }
.home-section.alt { background: var(--color-bg-alt); padding: 48px 0; }

/* --- Angebots-Liste (Bullet-Titel + fließender Text darunter) --- */
.offer-list { margin: 1.5rem 0; }
.offer-list dt {
  position: relative;
  margin: 1.5rem 0 0.5rem 1.2em;
  font-weight: 700;
  color: var(--color-accent-dark);
}
.offer-list dt::before {
  content: "•";
  position: absolute;
  left: -1.1em;
  color: var(--color-text);
}
.offer-list dt:first-child { margin-top: 0; }
.offer-list dd { margin: 0; }

/* --- Hintergrund-Wasserzeichen (Ammonit-Spirale) --- */
.watermarked { position: relative; overflow: hidden; }
.watermarked .watermark-bg {
  position: absolute;
  left: -60px;
  bottom: -60px;
  width: 420px;
  height: auto;
  opacity: 0.7;
  mix-blend-mode: multiply;
  z-index: 0;
  pointer-events: none;
}
.watermarked > .wrap { position: relative; z-index: 1; }

/* --- Aufklappbare Abschnitte (Behandlungsspektrum) --- */
.accordion { margin: 1.5rem 0; }
.accordion-item {
  border-bottom: 1px solid var(--color-border);
}
.accordion-item summary {
  position: relative;
  padding: 16px 28px 16px 0;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--color-accent-dark);
  cursor: pointer;
  list-style: none;
}
.accordion-item summary::-webkit-details-marker { display: none; }
.accordion-item summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 14px;
  font-size: 1.3rem;
  color: var(--color-accent);
}
.accordion-item[open] summary::after { content: "–"; }
.accordion-item p:last-child,
.accordion-item ul:last-child { margin-bottom: 0; }
.accordion-item > *:not(summary) { padding: 0 4px; }
.accordion-item > p:first-of-type { margin-top: 0; }
.accordion-item > *:last-child { margin-bottom: 20px; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin: 1.5rem 0;
}

.card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  padding: 22px;
}

.card h3 { margin-top: 0; }

ul.plain, ul.styled-list {
  padding-left: 1.2em;
}

ul.styled-list li { margin-bottom: 0.5rem; }

.contact-box {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  padding: 24px;
}

.contact-box p { margin: 0.3rem 0; }

/* --- Placeholder-Bilder (bis echte Fotos eingesetzt werden) --- */
.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, var(--color-sage), var(--color-accent));
  color: #fff;
  font-size: 0.85rem;
  padding: 20px;
  min-height: 220px;
  border-radius: 6px;
  opacity: 0.85;
}

/* --- Footer --- */
.site-footer {
  position: relative;
  background: #83a245;
  color: #ffffff;
  padding: 32px 0;
  font-size: 0.9rem;
}

.site-footer a { color: #ffffff; }
.site-footer a:hover { text-decoration: none; opacity: 0.8; }

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px 40px;
}

.footer-logo img { max-height: 70px; display: block; }

.footer-col { line-height: 1.5; }

.footer-links {
  margin-left: auto;
  display: flex;
  flex-direction: column;
  text-align: right;
  gap: 2px;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--color-accent-dark);
  color: #ffffff;
  font-size: 1.2rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  z-index: 60;
}
.back-to-top:hover { background: var(--color-accent); opacity: 1; }

@media (max-width: 640px) {
  .footer-links { margin-left: 0; text-align: left; }
}

@media (max-width: 640px) {
  .site-logo img { max-height: 70px; }
  h1 { font-size: 1.6rem; }
}
