/* ==========================================================================
   Decoding Trauma — Website-Template
   Leitideen: Ehrlichkeit, Integrität, Wertschätzung, Weisheit,
   Ruhe & Fokus, Regulation, Paradoxon.
   ========================================================================== */

:root {
  /* Farbwelt: kühles Slate (Ruhe/Regulation) + warmes Terracotta (Leben/Emotion) —
     das Nebeneinander zweier Temperaturen ist bewusst das visuelle Paradoxon. */
  --bg: #FAF8F4;
  --bg-deep: #12161A;
  --ink: #1C201E;
  --ink-soft: #565C55;
  --ink-faint: #8A8F86;
  --cool: #3E5364;
  --cool-soft: #6C8497;
  --warm: #B3673F;
  --warm-soft: #D8A47E;
  --line: #DEDACE;
  --line-deep: #2A3138;

  /* Logo-Zeichen: Kopf/Körper/Herz, nur Konturen + gefüllte Überschneidungen */
  --mark-kopf: #7297DE;
  --mark-koerper: #F5CE74;
  --mark-herz: #ED8C83;
  --mix-kopf-koerper: #9FC08A;
  --mix-koerper-herz: #EFB27E;
  --mix-kopf-herz: #B79BC7;

  --font: "Montserrat", "Helvetica Neue", Arial, sans-serif;

  --maxw: 760px;
  --maxw-wide: 1040px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; }

/* ---------- Typografie ---------- */

.eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--warm);
  margin-bottom: 18px;
}

h1, h2, h3 {
  font-family: var(--font);
  font-weight: 300;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin: 0 0 0.5em 0;
}

h1 {
  font-size: clamp(24px, 3.2vw, 36px);
  line-height: 1.22;
}

h2 {
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.28;
  font-weight: 400;
}

h3 {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.005em;
}

p { margin: 0 0 1.1em 0; }

/* Blocksatz für alle Textblöcke unterhalb der Header-/Hero-Bereiche */
section:not(.hero) p,
section:not(.hero) li {
  text-align: justify;
  hyphens: auto;
}

.lede {
  font-size: clamp(17px, 2vw, 20px);
  color: var(--ink-soft);
  font-weight: 400;
  max-width: 620px;
}

.small {
  font-size: 14px;
  color: var(--ink-faint);
}

strong { font-weight: 600; color: var(--ink); }

em.accent {
  font-style: normal;
  color: var(--warm);
}

/* ---------- Layout ---------- */

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

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

section {
  padding: 76px 0;
  border-bottom: 1px solid var(--line);
}

section:last-of-type { border-bottom: none; }

section.tight { padding: 52px 0; }

section.deep {
  background: var(--bg-deep);
  color: #EDEAE3;
  border-bottom: none;
}
section.deep h1, section.deep h2, section.deep h3 { color: #F4F2ED; }
section.deep .lede { color: #C7C4BB; }
section.deep .eyebrow { color: var(--warm-soft); }

hr.rule {
  border: none;
  border-top: 1px solid var(--line);
  margin: 40px 0;
}

/* ---------- Kopfzeile ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(250, 248, 244, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap-wide {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand .mark { flex-shrink: 0; }
.mark-overlap { mix-blend-mode: multiply; }

.brand-name {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--ink);
}

nav.main-nav { display: flex; gap: 32px; }

nav.main-nav a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink-soft);
  position: relative;
  padding: 4px 0;
  transition: color 0.2s ease;
}

nav.main-nav a:hover,
nav.main-nav a.active { color: var(--ink); }

nav.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -3px;
  height: 2px;
  background: var(--warm);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---------- Hero ---------- */

.hero {
  padding: 96px 0 80px;
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.hero-watermark {
  /* Titel-Spalte ist 640px breit und zentriert; Wasserzeichen (460px) so
     positioniert, dass ca. 30% seiner Breite (138px) unter den linken
     Rand des Titelblocks reichen, der Rest nach links herausragt. */
  position: absolute;
  top: 10px;
  left: calc(50% - 642px);
  width: 460px;
  height: auto;
  opacity: 0.07;
  pointer-events: none;
  z-index: 0;
}

.hero .wrap {
  max-width: 640px;
  position: relative;
  z-index: 1;
}

.hero h1 { max-width: 640px; }

.hero .lede { margin-top: 22px; }

/* ---------- Kennziffer (wiederverwendet in Layer-Blöcken) ---------- */

.num {
  font-size: 13px;
  color: var(--ink-faint);
  letter-spacing: 0.1em;
  margin-bottom: 18px;
  display: block;
}

/* ---------- Themenzeilen (Start-Seite: Titel + erster Satz oben, Fließtext volle Breite darunter) ---------- */

.theme-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  column-gap: 40px;
  padding: 32px 0;
  border-top: 1px solid var(--line);
}
.theme-row h3 { margin: 0; }

.theme-lead {
  /* rückt den ersten Satz auf die Texthöhe des Titels (nach "01") */
  margin-top: 39px;
}
.theme-lead p { color: var(--ink-soft); margin: 0; }

.theme-full {
  grid-column: 1 / -1;
  margin-top: 54px;
  margin-bottom: 28px;
}
.theme-full p { color: var(--ink-soft); margin: 0; }

/* ---------- Textumfluss (Methode: "Über die Praxis") ---------- */

.about-flow { display: flow-root; }

.about-photo {
  float: right;
  width: 320px;
  height: auto;
  margin: 0 0 24px 32px;
}

/* ---------- Zwei-Spalten ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

/* ---------- Liste ohne Bullets, mit Regel ---------- */

.plain-list { list-style: none; margin: 0; padding: 0; }
.plain-list li {
  padding: 32px 0;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
}
.plain-list li:last-child { border-bottom: 1px solid var(--line); }
.plain-list strong { display: block; color: var(--ink); font-weight: 600; margin-bottom: 4px; }

/* ---------- Methode-Ebenen ---------- */

.layer {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  padding: 32px 0;
  border-top: 1px solid var(--line);
}
.layer:first-child { border-top: none; }
.layer:not(:first-child) { padding-top: 58px; }
.layer:not(:last-child) { padding-bottom: 58px; }
.layer .layer-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cool);
}
.layer p { color: var(--ink-soft); }
.layer p:last-child { margin-bottom: 0; }

/* ---------- Journal ---------- */

.plain-list .meta {
  display: block;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 6px;
}

.plain-list a.title-link {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.plain-list a.title-link:hover { border-color: var(--warm-soft); }

.article-body { max-width: 680px; }
.article-body p { color: var(--ink-soft); }

/* ---------- Kontaktblock ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.info-row {
  padding: 18px 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px;
}
.info-row:last-child { border-bottom: 1px solid var(--line); }
.info-row .label {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
  padding-top: 2px;
}

.btn {
  display: inline-block;
  padding: 14px 28px;
  border: 1px solid var(--ink);
  color: var(--ink);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn:hover { background: var(--ink); color: var(--bg); }

.btn.on-deep { border-color: #EDEAE3; color: #EDEAE3; }
.btn.on-deep:hover { background: #EDEAE3; color: var(--bg-deep); }

/* ---------- Fußzeile ---------- */

.site-footer {
  padding: 48px 0 60px;
  background: var(--bg-deep);
  color: #B9B6AC;
}
.site-footer .wrap-wide {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 24px;
}
.site-footer a { text-decoration: none; color: #D7D4C9; }
.site-footer .foot-nav { display: flex; gap: 24px; font-size: 13px; }
.site-footer .foot-note { font-size: 12px; color: #837F74; margin-top: 10px; }

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; gap: 32px; }
  .contact-grid { grid-template-columns: 1fr; }
  .layer { grid-template-columns: 1fr; gap: 10px; }
  .theme-row { grid-template-columns: 1fr; }
  .theme-lead { margin-top: 12px; }
  .theme-full { grid-column: 1; }
  .about-photo { float: none; width: 240px; margin: 0 0 20px auto; }
}

@media (max-width: 640px) {
  .site-header .wrap-wide { height: 66px; position: relative; }
  section { padding: 56px 0; }
  .hero { padding: 64px 0 48px; }
  .info-row { grid-template-columns: 1fr; }

  .nav-toggle { display: flex; }

  nav.main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 4px 28px 12px;
  }
  nav.main-nav.open { display: flex; }
  nav.main-nav a {
    padding: 15px 0;
    border-top: 1px solid var(--line);
    font-size: 14px;
  }
  nav.main-nav a:first-child { border-top: none; }
  nav.main-nav a.active::after { display: none; }
}
