:root {
  /* Warm Ground / Raised Surface — the daylit consulting room */
  --bg: #fbfaf6;
  --paper: #fffefb;
  --ink: #242820;
  --ink-soft: #3c4338;
  --muted: #66695f;        /* darkened for older eyes: ~5.2:1 on --bg */
  --line: #e4ddce;
  --line-soft: #ede7da;
  --gold: #7e6a30;         /* deep antique gold, AA-legible as a label (5.0:1 on bg) */
  --green: #385b4e;
  --green-deep: #2c4a3e;
  --wash: #eef4ef;

  --maxw: 1080px;
  --gutter: clamp(20px, 5vw, 46px);

  --r-sm: 6px;
  --r-md: 8px;
  --r-lg: 14px;

  --shadow-ambient: 0 12px 34px rgba(44, 49, 41, .06);
  --shadow-lift: 0 16px 44px rgba(44, 49, 41, .10);
  --focus: 0 0 0 3px rgba(56, 91, 78, .30);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.7;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; }

:focus-visible {
  outline: none;
  box-shadow: var(--focus);
  border-radius: 4px;
}

/* Skip link */
.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 10;
  padding: 10px 16px;
  background: var(--green);
  color: #fff;
  border-radius: var(--r-sm);
  text-decoration: none;
  transition: top .18s var(--ease);
}
.skip:focus { top: 12px; }

/* ---------- Header ---------- */
.site-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 76px;
  padding: 8px var(--gutter);
  border-bottom: 1px solid var(--line);
  background: rgba(251, 250, 246, .88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: sticky;
  top: 0;
  z-index: 5;
}

.site-head img {
  width: clamp(78px, 18vw, 96px);
  height: auto;
  display: block;
}

.head-right {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  min-width: 0;
}

.site-head nav {
  display: flex;
  gap: clamp(8px, 1.6vw, 22px);
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
  color: var(--muted);
  font-size: 15px;
}
.site-head nav::-webkit-scrollbar { display: none; }

.site-head nav a {
  padding: 6px 2px;
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color .18s var(--ease), border-color .18s var(--ease);
}
.site-head nav a:hover { color: var(--green); }
.site-head nav a[aria-current="page"] {
  color: var(--green);
  border-bottom-color: var(--green);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 11px 20px;
  border-radius: var(--r-sm);
  border: 1px solid var(--green);
  background: var(--green);
  color: #fff;
  font: inherit;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background .18s var(--ease), transform .12s var(--ease), box-shadow .18s var(--ease);
}
.btn:hover { background: var(--green-deep); border-color: var(--green-deep); }
.btn:active { transform: translateY(1px); }

.btn-ghost {
  background: transparent;
  color: var(--green);
  border-color: var(--line);
}
.btn-ghost:hover {
  background: var(--wash);
  border-color: #c9d9cd;
  color: var(--green-deep);
}

.btn-sm { min-height: 40px; padding: 8px 16px; font-size: 15px; }

.head-cta { flex-shrink: 0; }

/* ---------- Layout ---------- */
main { width: 100%; }

.wrap {
  width: min(var(--maxw), 90vw);
  margin: 0 auto;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(56px, 11vh, 120px) 0 clamp(48px, 9vh, 96px);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.hero::after {
  /* a single, quiet pine breath in the upper-right — not a gradient blob */
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 90% at 100% -10%, rgba(56, 91, 78, .07), transparent 55%);
  pointer-events: none;
}

/* Full-bleed photo variant — image fills the section, copy sits over a scrim */
.hero--photo {
  background-size: cover;
  background-position: center;
  min-height: clamp(460px, 68vh, 660px);
}
.hero--photo::after {
  background: none; /* suppress decorative veil over real photos */
}
.hero--photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    110deg,
    rgba(251,250,246,.97) 0%,
    rgba(251,250,246,.91) 42%,
    rgba(251,250,246,.20) 70%,
    transparent 100%
  );
  pointer-events: none;
}
.hero--photo .hero-inner {
  position: relative;
  z-index: 1;
  grid-template-columns: 1fr;
}
.hero--photo .hero-copy { max-width: 560px; }

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(40px, 5.4vw, 66px);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.lede {
  max-width: 36ch;
  margin: 22px 0 0;
  color: var(--ink-soft);
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.55;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 14.5px;
}
.trust li {
  position: relative;
  padding-left: 22px;
}
.trust li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 13px;
  height: 8px;
  border-left: 2px solid var(--green);
  border-bottom: 2px solid var(--green);
  transform: translateY(-65%) rotate(-45deg);
}

/* Hero aside: framed slot for a real practice photo */
.hero-aside {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, var(--paper), var(--wash));
  box-shadow: var(--shadow-ambient);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.hero-aside img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-aside .placeholder {
  display: grid;
  gap: 10px;
  justify-items: center;
  padding: 24px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}
.hero-aside .placeholder svg { color: var(--green); opacity: .55; }

/* ---------- Sections ---------- */
.section {
  padding: clamp(52px, 9vh, 92px) 0;
  border-bottom: 1px solid var(--line);
}
.section-head { max-width: 60ch; }

h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(27px, 3.4vw, 36px);
  font-weight: 400;
  line-height: 1.18;
  color: var(--green);
  text-wrap: balance;
}

.section p,
.band p {
  max-width: 62ch;
  color: var(--ink-soft);
}
.section-head p { margin: 14px 0 0; }

/* Focus list (Osteopathie) */
.focus-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(18px, 3vw, 32px);
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}
.focus-list li {
  border-top: 2px solid var(--green);
  padding-top: 16px;
}
.focus-list h3 {
  margin: 0 0 6px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  font-weight: 400;
  color: var(--ink);
}
.focus-list p { margin: 0; font-size: 15.5px; color: var(--muted); max-width: 34ch; }

/* Pullquote (Momo) */
.pullquote {
  margin: 32px 0 0;
  padding: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(17px, 2vw, 20px);
  font-style: italic;
  color: var(--ink-soft);
  line-height: 1.55;
  max-width: 50ch;
}
.pullquote cite {
  display: block;
  margin-top: 7px;
  font-size: 13.5px;
  font-style: normal;
  color: var(--muted);
  letter-spacing: .02em;
}

/* Steps (Ablauf) */
.steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 28px);
  margin-top: 40px;
}
.step {
  display: grid;
  gap: 10px;
  padding: 26px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-ambient);
}
.step .num {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
  color: var(--gold);
  letter-spacing: .04em;
}
.step h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  font-weight: 400;
}
.step p { margin: 0; color: var(--ink-soft); font-size: 16px; }

/* Note box (Kosten) */
.note {
  margin-top: 28px;
  padding: 18px 20px;
  background: var(--wash);
  border: 1px solid #c9d9cd;
  border-radius: var(--r-md);
  color: var(--green-deep);
  font-size: 15.5px;
  max-width: 62ch;
}

/* ---------- Terminanfrage ---------- */
.contact {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: clamp(32px, 5vw, 60px);
  align-items: start;
}

.contact-aside p { color: var(--ink-soft); }

.call-card {
  margin-top: 24px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--paper);
  box-shadow: var(--shadow-ambient);
}
.call-card .label {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.call-card a {
  display: flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  min-height: 44px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 23px;
  color: var(--green);
  text-decoration: none;
}
.call-card a:hover { color: var(--green-deep); text-decoration: underline; text-underline-offset: 4px; }
.call-card a + a { font-size: 18px; }
.call-card .sub { margin: 4px 0 0; color: var(--muted); font-size: 14px; }

/* ---------- Forms ---------- */
form {
  display: grid;
  gap: 15px;
  padding: clamp(22px, 3vw, 30px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-ambient);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

label {
  display: grid;
  gap: 6px;
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 500;
}
label .req { color: var(--gold); font-weight: 700; }
label .hint { color: var(--muted); font-weight: 400; font-size: 13.5px; }

input,
select {
  width: 100%;
  border: 1px solid #d5ccb8;
  border-radius: var(--r-sm);
  padding: 12px 13px;
  min-height: 46px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
input::placeholder { color: #8f8a7d; }
input:focus,
select:focus {
  outline: none;
  border-color: rgba(56, 91, 78, .6);
  box-shadow: var(--focus);
}

.check {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 11px;
  color: var(--ink-soft);
  font-size: 14.5px;
  font-weight: 400;
  line-height: 1.5;
}
.check input {
  width: 20px;
  height: 20px;
  min-height: 20px;
  margin-top: 3px;
  accent-color: var(--green);
}

.field-note {
  margin: -6px 0 0;
  color: var(--muted);
  font-size: 13.5px;
}

form button { justify-self: start; margin-top: 4px; }

/* Feedback */
.notice {
  margin: 0;
  padding: 13px 16px;
  border-radius: var(--r-sm);
  font-size: 15.5px;
}
.ok,
.notice.ok {
  color: var(--green-deep);
  background: var(--wash);
  border: 1px solid #c9d9cd;
}
.notice.error {
  color: #8a3327;
  background: #fbf0ee;
  border: 1px solid #e3bdb6;
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---------- Footer ---------- */
footer {
  width: min(var(--maxw), 90vw);
  margin: 0 auto;
  padding: 40px 0 56px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px 40px;
  align-items: end;
  color: var(--muted);
  font-size: 14.5px;
}
footer .f-brand strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 4px;
}
footer .f-contact { display: grid; gap: 3px; }
footer .f-contact a { color: var(--green); text-decoration: none; }
footer .f-contact a:hover { text-decoration: underline; text-underline-offset: 3px; }
footer .f-legal {
  display: flex;
  gap: 18px;
  grid-column: 1 / -1;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
footer .f-legal a { text-decoration: none; }
footer .f-legal a:hover { color: var(--green); }

/* ---------- Legal pages (impressum / datenschutz share .band) ---------- */
.band {
  width: min(var(--maxw), 90vw);
  margin: 0 auto;
  padding: clamp(40px, 8vh, 80px) 0;
}
.band h1 {
  margin: 0 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(30px, 4vw, 40px);
  color: var(--green);
}
.band p + p { margin-top: 14px; }

/* ---------- Reveal motion (enhances an already-visible default) ---------- */
.reveal { opacity: 1; transform: none; }
.js-motion .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.js-motion .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Burger & Mobile Nav ---------- */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background: none;
  border: none;
  padding: 6px;
  cursor: pointer;
  border-radius: var(--r-sm);
}
.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 1px;
  transition: transform .22s var(--ease), opacity .22s var(--ease);
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  position: fixed;
  top: 76px;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4;
  background: rgba(251,250,246,.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  flex-direction: column;
  padding: 28px var(--gutter) 40px;
  gap: 4px;
  overflow-y: auto;
}
.mobile-nav.is-open { display: flex; }

.mobile-nav a {
  display: block;
  padding: 17px 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  font-weight: 400;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  transition: color .15s var(--ease);
}
.mobile-nav a:hover { color: var(--green); }
.mobile-nav a.btn {
  display: inline-flex;
  align-self: flex-start;
  margin-top: 24px;
  font-family: inherit;
  font-size: 16px;
  border-bottom: none;
}

/* Prevent body scroll when nav is open */
body.nav-open { overflow: hidden; }

/* ---------- Responsive ---------- */
@media (max-width: 880px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-aside { aspect-ratio: 16 / 10; order: -1; }
  .hero--photo::before {
    background: linear-gradient(
      180deg,
      rgba(251,250,246,.84) 0%,
      rgba(251,250,246,.60) 50%,
      rgba(251,250,246,.20) 100%
    );
  }
  .contact { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  footer { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .burger { display: flex; }
  .head-right { display: none; }
}

@media (max-width: 600px) {
  .focus-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .focus-list h3 { font-size: 15.5px; }
  .focus-list p { font-size: 13.5px; max-width: none; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero { padding-top: 36px; }
  .hero-aside { aspect-ratio: 5 / 4; }
  .hero--photo::before {
    background: linear-gradient(
      180deg,
      rgba(251,250,246,.88) 0%,
      rgba(251,250,246,.62) 52%,
      rgba(251,250,246,.18) 100%
    );
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js-motion .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
