:root {
  --ink: #17201d;
  --muted: #63706b;
  --cream: #f4f1ea;
  --paper: #fbfaf7;
  --sage: #7f9188;
  --deep: #263a34;
  --line: rgba(23, 32, 29, .13);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Avenir Next", "Segoe UI", Arial, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 {
  font-family: "Avenir Next", "Segoe UI", Arial, sans-serif;
  line-height: 1.15;
  font-weight: 500;
}
h2 { margin-bottom: 22px; font-size: clamp(2.35rem, 5vw, 4.7rem); letter-spacing: -.055em; }
h3 { margin-bottom: 16px; font-size: 1.45rem; }
.container { width: min(calc(100% - 48px), var(--max)); margin-inline: auto; }
.section { padding: 130px 0; scroll-margin-top: 84px; }
.section-label {
  margin-bottom: 18px;
  color: var(--sage);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.lead { max-width: 560px; color: var(--muted); font-size: 1.2rem; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; z-index: 100; top: 12px; left: 12px; padding: 10px 16px;
  background: white; transform: translateY(-150%);
}
.skip-link:focus { transform: none; }

.site-header {
  position: absolute; z-index: 10; top: 0; left: 0; width: 100%;
  color: white; border-bottom: 1px solid rgba(255,255,255,.22);
}
.site-header.scrolled {
  position: fixed; color: var(--ink); background: rgba(251,250,247,.92);
  box-shadow: 0 8px 30px rgba(27,37,33,.07); backdrop-filter: blur(16px);
}
.nav-wrap {
  display: flex; align-items: center; justify-content: space-between;
  width: min(calc(100% - 48px), var(--max)); height: 84px; margin-inline: auto;
}
.brand { display: flex; align-items: center; gap: 13px; text-decoration: none; font-size: .78rem; line-height: 1.35; }
.brand img { width: 48px; height: 48px; border-radius: 50%; }
.brand strong { display: block; font-weight: 500; }
#main-nav { display: flex; align-items: center; gap: 24px; }
#main-nav a { position: relative; text-decoration: none; font-size: .92rem; }
#main-nav a:not(.nav-contact)::after {
  content: ""; position: absolute; left: 0; bottom: -6px; width: 100%; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .25s;
}
#main-nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-contact { padding: 10px 18px; border: 1px solid currentColor; border-radius: 100px; }
.menu-toggle { display: none; }
.nav-disorders { position: relative; }
.nav-disorders summary {
  display: flex; align-items: center; gap: 8px; cursor: pointer; list-style: none;
  color: inherit; font-size: .92rem; white-space: nowrap;
}
.nav-disorders summary::-webkit-details-marker { display: none; }
.nav-disorders summary::after {
  content: ""; width: 6px; height: 6px; margin-top: -4px;
  border-right: 1px solid currentColor; border-bottom: 1px solid currentColor;
  transform: rotate(45deg); transition: transform .2s;
}
.nav-disorders[open] summary::after { margin-top: 3px; transform: rotate(225deg); }
.nav-disorders-menu {
  position: absolute; z-index: 30; top: calc(100% + 18px); left: -18px;
  min-width: 220px; padding: 8px; color: var(--ink); background: var(--paper);
  border: 1px solid var(--line); box-shadow: 0 18px 50px rgba(27,37,33,.12);
}
#main-nav .nav-disorders-menu a {
  display: block; padding: 10px 12px; border-radius: 4px; font-size: .9rem; white-space: nowrap;
}
#main-nav .nav-disorders-menu a:hover { background: var(--cream); }
#main-nav .nav-disorders-menu a::after { display: none; }
.subpage .nav-disorders.current > summary { font-weight: 600; }

.hero {
  position: relative; display: grid; place-items: start center; min-height: 100svh;
  color: white; background: url("assets/hero.jpg") center 52% / cover no-repeat;
}
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18,28,24,.62), rgba(18,28,24,.17) 68%), linear-gradient(0deg, rgba(8,16,13,.32), transparent 45%); }
.hero-content { position: relative; display: grid; place-items: center; width: 100%; height: 50svh; padding: 84px 24px 0; text-align: center; }
.hero h1 {
  margin: 0;
  font-size: clamp(2.4rem, 6vw, 5.7rem);
  letter-spacing: .22em;
  text-indent: .22em;
  text-transform: uppercase;
}
.button {
  display: inline-flex; align-items: center; justify-content: center; padding: 13px 22px;
  border: 1px solid transparent; border-radius: 100px; text-decoration: none; font-size: .9rem;
  transition: transform .2s, background .2s, color .2s;
}
.button:hover { transform: translateY(-2px); }
.button-light { color: var(--ink); background: white; }
.button-dark { color: white; background: var(--deep); }
.about { background: var(--paper); }
.about-grid {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr);
  gap: clamp(60px, 9vw, 130px); align-items: center;
}
.about-copy { max-width: 620px; }
.portrait-wrap { position: relative; justify-self: end; width: 100%; max-width: 430px; }
.portrait-wrap::before { content: ""; position: absolute; z-index: -1; inset: -18px 18px 18px -18px; background: var(--cream); }
.portrait-wrap img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center; }
.career {
  display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(55px, 9vw, 130px);
  margin-top: 90px; padding-top: 46px; border-top: 1px solid var(--line);
}
.career-head .section-label { margin-bottom: 12px; }
.career-head h3 { max-width: 280px; margin: 0; font-size: clamp(1.75rem, 3vw, 2.45rem); letter-spacing: -.035em; }
.timeline { position: relative; margin: 0; padding: 0 0 0 42px; list-style: none; }
.timeline li { position: relative; padding: 0 0 34px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: ""; position: absolute; top: 6px; left: -42px; width: 12px; height: 12px;
  border: 2px solid var(--deep); border-radius: 50%; background: var(--paper);
}
.timeline li::after {
  content: ""; position: absolute; top: 19px; bottom: -6px; left: -36px; width: 1px;
  background: rgba(127, 145, 136, .5);
}
.timeline li:last-child::after { display: none; }
.timeline span { display: block; margin-bottom: 4px; color: var(--deep); font-size: .88rem; font-weight: 600; }
.timeline p { max-width: 620px; margin: 0; color: var(--muted); font-size: 1rem; }

.therapy { background: var(--cream); }
.section-head { max-width: 720px; margin-bottom: 65px; }
.section-head > p:last-child { max-width: 620px; color: var(--muted); font-size: 1.1rem; }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.card { min-height: 440px; padding: 40px 32px 40px 0; }
.card + .card { padding-left: 32px; border-left: 1px solid var(--line); }
.card p { margin: 0; color: var(--muted); }
.card .text-link { display: inline-block; margin-top: 30px; color: var(--deep); font-size: .88rem; font-weight: 600; text-decoration: none; }
.feature {
  display: grid; grid-template-columns: .8fr 1.25fr auto; gap: 50px; align-items: center;
  margin-top: 80px; padding: 42px 46px; color: white; background: var(--deep);
}
.feature .section-label { color: #bbc8c2; }
.feature h3, .feature p { margin-bottom: 0; }
.feature > p { color: rgba(255,255,255,.72); }

.focus { background: var(--paper); }
.focus-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.focus-card {
  display: flex; flex-direction: column; min-height: 390px; padding: 36px;
  border: 1px solid var(--line); background: white; text-decoration: none;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.focus-card:hover { transform: translateY(-5px); border-color: rgba(38,58,52,.3); box-shadow: 0 18px 50px rgba(27,37,33,.08); }
.focus-card > span { margin-bottom: 70px; color: var(--sage); font-size: .78rem; letter-spacing: .12em; }
.focus-card h3 { font-size: 1.65rem; }
.focus-card p { color: var(--muted); }
.focus-card strong { margin-top: 18px; color: var(--deep); font-size: .88rem; font-weight: 600; }
.focus-card:last-child:nth-child(odd) { grid-column: 1 / -1; min-height: 320px; }

.process { background: var(--cream); }
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.process-step { padding: 42px 34px 20px 0; }
.process-step + .process-step { padding-left: 34px; border-left: 1px solid var(--line); }
.process-step > span { display: block; margin-bottom: 42px; color: var(--sage); font-size: .78rem; letter-spacing: .12em; }
.process-step p { margin: 0; color: var(--muted); }

.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.info-item { padding: 38px; background: white; border: 1px solid var(--line); }
.info-item .icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 48px; color: var(--deep); background: var(--cream); border-radius: 50%; font-size: .72rem; }
.info-item p { margin: 0; color: var(--muted); }

.contact { padding: 120px 0; scroll-margin-top: 84px; color: white; background: var(--deep); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 130px; }
.contact .section-label { color: #b9c8c1; }
.contact-intro > p:not(.section-label) { max-width: 470px; margin-bottom: 34px; color: rgba(255,255,255,.7); }
.contact-details > div { display: grid; grid-template-columns: 170px 1fr; padding: 25px 0; border-top: 1px solid rgba(255,255,255,.18); }
.contact-details > div:last-child { border-bottom: 1px solid rgba(255,255,255,.18); }
.contact-details span { color: rgba(255,255,255,.5); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.contact-details p { margin: 0; }

footer { padding: 42px 0; background: #18241f; color: rgba(255,255,255,.62); font-size: .8rem; }
.footer-grid { display: grid; grid-template-columns: 1.1fr 1.2fr 1fr auto; gap: 35px; align-items: center; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { border-radius: 50%; }
.footer-brand p { margin: 0; }
details summary { cursor: pointer; color: white; }
details p { margin: 12px 0 0; }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 5px 18px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: white; }
.copyright { margin: 0; white-space: nowrap; }

.subpage .site-header {
  position: sticky; color: var(--ink); background: rgba(251,250,247,.96);
  border-bottom: 1px solid var(--line); backdrop-filter: blur(16px);
}
.subpage #main-nav a[aria-current="page"]::after { transform: scaleX(1); }
.page-hero { padding: 115px 0 95px; background: var(--cream); }
.info-page-hero {
  position: relative; overflow: hidden; display: flex; align-items: center;
  min-height: min(680px, calc(100svh - 84px));
  padding: clamp(88px, 13vh, 150px) 0 clamp(76px, 10vh, 120px);
  background:
    linear-gradient(180deg, var(--cream) 0%, rgba(244, 241, 234, .92) 6%, rgba(244, 241, 234, 0) 22%),
    linear-gradient(90deg, rgba(244, 241, 234, .97) 0%, rgba(244, 241, 234, .88) 45%, rgba(244, 241, 234, .52) 78%, rgba(244, 241, 234, .28) 100%),
    linear-gradient(0deg, rgba(23, 32, 29, .08), rgba(23, 32, 29, .02)),
    url("assets/praxisraum.jpg") center 54% / cover no-repeat;
}
.info-page-hero::after {
  content: ""; position: absolute; inset: auto 0 0; height: 28%;
  background: linear-gradient(0deg, var(--cream), rgba(244, 241, 234, 0));
  pointer-events: none;
}
.info-page-hero .page-hero-inner { position: relative; z-index: 1; }
.page-hero-inner { max-width: 900px; }
.page-hero h1 {
  max-width: 900px; margin-bottom: 28px;
  font-size: clamp(3rem, 7vw, 6.5rem); letter-spacing: -.06em;
}
.methods-hero-title {
  display: grid; gap: .06em; max-width: 760px;
  font-size: clamp(2.5rem, 5.2vw, 4.9rem); line-height: .94;
}
.methods-hero-title span { display: block; }
.methods-hero-title span:nth-child(2) {
  padding-left: clamp(26px, 6vw, 92px); color: var(--sage);
}
.methods-hero-title span:nth-child(3) { padding-left: clamp(6px, 1.4vw, 22px); }
.page-hero .lead { max-width: 760px; font-size: clamp(1.1rem, 2vw, 1.35rem); }
.page-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }
.button-outline { border-color: var(--deep); color: var(--deep); }
.page-section { padding: 105px 0; }
.page-section.alt { background: var(--cream); }
.methods-section-head { max-width: none; margin-bottom: 44px; }
.methods-section-head .section-label { margin-bottom: 18px; }
.methods-section-head h2 {
  display: flex; flex-wrap: wrap; gap: 12px; max-width: 100%;
  font-size: clamp(1.35rem, 2.3vw, 2rem); letter-spacing: -.025em;
}
.methods-section-head h2 span {
  display: inline-flex; align-items: center; min-height: 52px; padding: 0 18px;
  border: 1px solid rgba(127,145,136,.34); border-radius: 999px;
  background: rgba(255,255,255,.58);
}
.methods-section-head h2 span:first-child { color: var(--sage); }
.editorial-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(60px, 10vw, 150px); }
.editorial-intro { position: sticky; top: 125px; align-self: start; }
.editorial-intro h2 { font-size: clamp(2.3rem, 4.5vw, 4.4rem); }
.prose { max-width: 720px; }
.prose > p { margin-bottom: 24px; color: var(--muted); font-size: 1.08rem; }
.prose .quote {
  margin: 38px 0; padding: 28px 0 28px 30px; color: var(--deep);
  border-left: 2px solid var(--sage); font-size: 1.3rem;
}
.detail-list { margin: 36px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.detail-list li { padding: 18px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.method-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.info-page-grid { grid-template-columns: repeat(2, 1fr); }
.faq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.faq-card { padding: 34px; border: 1px solid var(--line); background: white; }
.faq-card h3 { margin-bottom: 18px; font-size: 1.35rem; }
.faq-card p { margin: 0; color: var(--muted); }
.faq-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
.method-card { min-height: 280px; padding: 34px; border: 1px solid var(--line); background: var(--paper); }
.method-card span { display: block; margin-bottom: 48px; color: var(--sage); font-size: .78rem; letter-spacing: .12em; }
.method-card p { margin: 0; color: var(--muted); }
.page-cta { padding: 90px 0; color: white; background: var(--deep); }
.page-cta-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 80px; align-items: end; }
.page-cta h2 { max-width: 720px; margin-bottom: 0; }
.page-cta-copy p { color: rgba(255,255,255,.7); }
.page-cta-copy .button { margin-top: 14px; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .section { padding: 95px 0; }
  .site-header, .site-header.scrolled, .subpage .site-header { backdrop-filter: none; }
  .menu-toggle { display: grid; gap: 5px; padding: 10px; color: inherit; background: none; border: 0; }
  .menu-toggle > span:not(.sr-only) { display: block; width: 24px; height: 1px; background: currentColor; transition: transform .25s, opacity .25s; }
  .menu-toggle[aria-expanded="true"] > span:first-child { transform: translateY(6px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] > span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] > span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  #main-nav {
    position: fixed; inset: 84px 0 auto; display: flex; flex-direction: column; align-items: flex-start;
    width: 100%; height: calc(100svh - 84px);
    gap: 0; padding: 34px 24px 24px; color: var(--ink); background: var(--cream);
    opacity: 0; visibility: hidden; transform: translateY(-10px); transition: .25s;
  }
  #main-nav.open { opacity: 1; visibility: visible; transform: none; }
  #main-nav a { width: 100%; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: clamp(1.75rem, 7vw, 2.35rem); }
  #main-nav a:not(.nav-contact)::after { display: none; }
  .nav-contact {
    margin-top: auto; padding: 15px 20px; color: white; background: var(--deep);
    border: 0; border-radius: 100px; text-align: center; font-size: 1rem;
  }
  .contact-grid { grid-template-columns: 1fr; gap: 65px; }
  .about-grid { grid-template-columns: 1fr; gap: 50px; }
  .career { grid-template-columns: .72fr 1.28fr; gap: 50px; }
  .portrait-wrap { justify-self: start; width: min(72%, 560px); }
  .card-grid, .info-grid, .focus-grid, .process-grid, .faq-grid { grid-template-columns: 1fr; }
  .faq-card:last-child:nth-child(odd) { grid-column: auto; }
  .card { min-height: auto; padding: 36px 0; }
  .card + .card { padding-left: 0; border-top: 1px solid var(--line); border-left: 0; }
  .feature { grid-template-columns: 1fr; gap: 25px; }
  .focus-card { min-height: 310px; }
  .focus-card > span { margin-bottom: 42px; }
  .process-step { padding: 34px 0; border-bottom: 1px solid var(--line); }
  .process-step + .process-step { padding-left: 0; border-left: 0; }
  .editorial-grid, .page-cta-grid { grid-template-columns: 1fr; gap: 48px; }
  .editorial-intro { position: static; }
  .method-grid { grid-template-columns: 1fr; }
  .method-card { min-height: auto; }
  .footer-grid { grid-template-columns: 1fr; }
  .nav-disorders { width: 100%; }
  .nav-disorders summary {
    width: 100%; padding: 13px 0; border-bottom: 1px solid var(--line);
    font-size: clamp(1.75rem, 7vw, 2.35rem);
  }
  .nav-disorders-menu {
    position: static; min-width: 0; padding: 4px 0 10px 18px;
    background: transparent; border: 0; box-shadow: none;
  }
  #main-nav .nav-disorders-menu a {
    padding: 9px 0; border-bottom: 1px solid var(--line); border-radius: 0;
    font-size: 1.1rem;
  }
  #main-nav .nav-disorders-menu a:hover { background: transparent; }
}

@media (max-width: 560px) {
  .container, .nav-wrap, .hero-content { width: min(calc(100% - 32px), var(--max)); }
  .nav-wrap { height: 72px; }
  .brand img { width: 42px; height: 42px; }
  .brand { font-size: .7rem; }
  #main-nav { inset: 72px 0 auto; height: calc(100svh - 72px); }
  .hero-content { width: 100%; padding-inline: 16px; }
  .hero h1 { font-size: clamp(1.55rem, 7.4vw, 2.25rem); letter-spacing: .08em; text-indent: 0; }
  .section { padding: 78px 0; }
  .page-hero { padding: 75px 0 70px; }
  .info-page-hero {
    min-height: min(620px, calc(100svh - 72px)); padding: 88px 0 78px;
    background-position: center, center, center, 68% 54%;
  }
  .page-section { padding: 78px 0; }
  .page-hero h1 { font-size: 3.2rem; }
  h2 { font-size: 2.7rem; }
  .about-grid { gap: 42px; }
  .career { grid-template-columns: 1fr; gap: 38px; margin-top: 68px; padding-top: 38px; }
  .portrait-wrap { width: 92%; }
  .feature, .info-item { padding: 30px 24px; }
  .contact-details > div { grid-template-columns: 1fr; gap: 7px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
