/* ============================================================
   HealingPaws – Shared Stylesheet
   ============================================================ */

:root {
  --moss:        #3B5249;
  --moss-dark:   #2a3c34;
  --sage:        #9CAF88;
  --sage-mid:    #b8cfa8;
  --sage-light:  #d4e2cb;
  --sage-faint:  #eef4eb;
  --beige:       #F9F8F5;
  --beige-dark:  #ede9e3;
  --mauve:       #B8929A;
  --mauve-dark:  #9d7880;
  --mauve-faint: #f5eef0;
  --text:        #2C3531;
  --text-light:  #6b7a72;
  --white:       #ffffff;
  --border:      #d4e0d0;
  --shadow:      0 4px 28px rgba(59,82,73,.08);
  --shadow-md:   0 8px 40px rgba(59,82,73,.13);
  --radius:      16px;
  --radius-sm:   10px;
  --radius-lg:   28px;
  --trans:       all .25s ease;
}

/* ── Reset ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }
body { overflow-x: hidden; }
img  { display: block; max-width: 100%; }
a    { color: inherit; }

/* ── Base typography ─────────────────────────────────────── */
body {
  font-family: 'Karla', sans-serif;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--text);
  background: var(--beige);
  overflow-x: hidden;
  max-width: 100vw;
}

h1, h2, h3, h4 {
  font-family: 'Fraunces', serif;
  line-height: 1.2;
  color: var(--moss);
}
h1 { font-size: clamp(2.4rem, 6vw, 4rem);   font-weight: 600; }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight: 600; }
h3 { font-size: clamp(1.3rem, 3vw, 1.75rem);font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }

p { margin-bottom: 1.1rem; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 600; color: var(--moss); }

/* ── Utility ─────────────────────────────────────────────── */
.text-center { text-align: center; }
.text-white  { color: var(--white) !important; }
.text-white h1, .text-white h2, .text-white h3, .text-white h4,
.text-white p, .text-white li { color: var(--white) !important; }
.text-white strong { color: var(--sage-light) !important; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.container--narrow { max-width: 760px; margin: 0 auto; padding: 0 1.5rem; }

.section { padding: 6rem 0; }
.section--sm { padding: 4rem 0; }
.section--lg { padding: 8rem 0; }

.bg-beige     { background: var(--beige); }
.bg-white     { background: var(--white); }
.bg-sage-faint{ background: var(--sage-faint); }
.bg-moss      { background: var(--moss); }

.eyebrow {
  display: inline-block;
  font-family: 'Karla', sans-serif;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 1rem;
}
.bg-moss .eyebrow { color: var(--sage-light); }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: 'Karla', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: .85rem 2.1rem;
  border-radius: 50px;
  text-decoration: none;
  transition: var(--trans);
  cursor: pointer;
  border: 2px solid transparent;
  letter-spacing: .02em;
}
.btn-primary {
  background: var(--mauve);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--mauve-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(184,146,154,.35);
}
.btn-secondary {
  background: var(--sage);
  color: var(--moss);
}
.btn-secondary:hover {
  background: var(--sage-mid);
  transform: translateY(-2px);
}
.btn-ghost {
  border-color: var(--mauve);
  color: var(--mauve);
  background: transparent;
}
.btn-ghost:hover {
  background: var(--mauve);
  color: var(--white);
}
.btn-ghost--white {
  border-color: rgba(255,255,255,.6);
  color: var(--white);
}
.btn-ghost--white:hover {
  background: var(--white);
  color: var(--moss);
  border-color: var(--white);
}
.btn-group { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }

/* ── Navigation ──────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(249,248,245,.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: 'Fraunces', serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--moss);
  text-decoration: none;
  letter-spacing: -.01em;
}
.nav-logo span { color: var(--sage); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  list-style: none;
}
.nav-links a {
  font-family: 'Karla', sans-serif;
  font-size: .95rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  position: relative;
  transition: color .2s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--mauve);
  border-radius: 2px;
  transition: width .25s ease;
}
.nav-links a:hover,
.nav-links a.active { color: var(--mauve); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-cta { margin-left: .5rem; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--moss);
  border-radius: 2px;
  transition: var(--trans);
}

/* Mobile nav */
.nav-mobile {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  width: 100%;
  background-color: #F9F8F5;
  z-index: 999;
  padding: 0 1.5rem 1.5rem;
  flex-direction: column;
  gap: 0;
  border-top: 2px solid var(--border);
  border-bottom: 2px solid var(--border);
  box-shadow: 0 12px 32px rgba(59,82,73,.18);
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-family: 'Karla', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #3B5249;
  text-decoration: none;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  display: block;
  width: 100%;
}
.nav-mobile a:last-child { border-bottom: none; }

/* ── Wave dividers ───────────────────────────────────────── */
.wave { line-height: 0; overflow: hidden; }
.wave svg { display: block; width: 100%; }

/* ── Cards ───────────────────────────────────────────────── */
.card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: var(--trans);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* ── Phase cards ─────────────────────────────────────────── */
.phase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}
.phase-card {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
}
.phase-card-num {
  font-family: 'Fraunces', serif;
  font-size: 3rem;
  font-weight: 300;
  color: rgba(255,255,255,.25);
  line-height: 1;
  margin-bottom: .75rem;
}
.phase-card-title { font-size: 1.05rem; font-weight: 700; color: var(--white); margin-bottom: .5rem; }
.phase-card-weeks { font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--sage-light); margin-bottom: .8rem; }
.phase-card p { font-size: .9rem; color: rgba(255,255,255,.78); margin: 0; line-height: 1.6; }

/* ── Pillar cards (Darm-Hirn-Haut) ──────────────────────── */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.pillar-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.2rem;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--sage);
}
.pillar-icon { font-size: 2.2rem; margin-bottom: 1rem; }
.pillar-card h3 { margin-bottom: .6rem; font-size: 1.2rem; }
.pillar-card p  { font-size: .93rem; color: var(--text-light); margin: 0; }

/* ── Checklist ───────────────────────────────────────────── */
.check-list { list-style: none; display: flex; flex-direction: column; gap: .75rem; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: .9rem;
  font-size: .97rem;
}
.check-list li::before {
  content: '';
  display: block;
  width: 20px;
  height: 20px;
  min-width: 20px;
  background: var(--sage);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 10l3.5 3.5L15 7' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: cover;
  margin-top: 3px;
}

/* ── Process steps ───────────────────────────────────────── */
.steps { display: flex; flex-direction: column; gap: 2rem; }
.step  { display: flex; gap: 1.5rem; align-items: flex-start; }
.step-num {
  font-family: 'Fraunces', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--white);
  background: var(--moss);
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-body h4 { margin-bottom: .3rem; color: var(--moss); }
.step-body p  { color: var(--text-light); font-size: .95rem; margin: 0; }

/* ── Blog cards ──────────────────────────────────────────── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.75rem;
}
.blog-card { text-decoration: none; display: block; border-radius: var(--radius); overflow: hidden; border: 1.5px solid var(--border); background: var(--white); transition: var(--trans); }
.blog-card:hover { box-shadow: 0 8px 32px rgba(59,82,73,.1); transform: translateY(-2px); }
.blog-card--placeholder { opacity: .85; }
.blog-card-image {
  height: 200px;
  overflow: hidden;
  background: var(--sage-faint);
  display: flex;
  align-items: center;
  justify-content: center;
}
.blog-card-img {
  height: 200px;
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden;
  background: var(--sage-faint);
  display: flex;
  align-items: center;
  justify-content: center;
}
.blog-card-body {
  padding: 1.6rem;
}
.blog-card-meta {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: .6rem;
}
.blog-card-tag {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--sage);
  background: var(--sage-faint);
  padding: .2rem .55rem;
  border-radius: 20px;
}
.blog-card-date {
  font-size: .78rem;
  color: var(--text-light);
}
.blog-tag {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: .5rem;
}
.blog-card-title {
  font-family: 'Fraunces', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--moss);
  margin-bottom: .6rem;
  line-height: 1.35;
}
.blog-card-excerpt {
  font-size: .88rem;
  color: var(--text-light);
  margin: 0 0 1rem;
  line-height: 1.6;
}
.blog-card-link {
  font-size: .85rem;
  font-weight: 700;
  color: var(--mauve);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.blog-card-body h3 {
  font-size: 1.15rem;
  margin-bottom: .5rem;
  color: var(--moss);
}
.blog-card-body p { font-size: .9rem; color: var(--text-light); margin: 0; }
.blog-read-more {
  display: inline-block;
  margin-top: 1rem;
  font-size: .85rem;
  font-weight: 600;
  color: var(--mauve);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ── Botanical decorations ───────────────────────────────── */
.botanical-wrap {
  position: relative;
  overflow: hidden;
}
.botanical-deco {
  position: absolute;
  pointer-events: none;
  opacity: .18;
}

/* ── Contact form ────────────────────────────────────────── */
.form-group { margin-bottom: 1.4rem; }
.form-group label {
  display: block;
  font-size: .83rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: .45rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: .85rem 1.1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: 'Karla', sans-serif;
  font-size: 1rem;
  color: var(--text);
  background: var(--white);
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(156,175,136,.2);
}
.form-group textarea { min-height: 140px; resize: vertical; }
.form-note { font-size: .82rem; color: var(--text-light); margin-top: .4rem; }

/* ── Inline quote ────────────────────────────────────────── */
.pull-quote {
  border-left: 4px solid var(--sage);
  padding: 1.2rem 1.8rem;
  margin: 2rem 0;
  font-family: 'Fraunces', serif;
  font-size: 1.25rem;
  font-style: italic;
  color: var(--moss);
  line-height: 1.55;
}

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  padding: 7rem 0 5rem;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero-eyebrow {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 1.1rem;
}
.hero h1 { margin-bottom: 1.4rem; }
.hero-sub {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 520px;
  margin-bottom: 2.2rem;
  line-height: 1.7;
}
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── Page hero (inner pages) ─────────────────────────────── */
.page-hero {
  background: var(--moss);
  padding: 5.5rem 0 4.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero h1 { color: var(--white); margin-bottom: 1rem; }
.page-hero p  { color: rgba(255,255,255,.75); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }

/* ── Footer ──────────────────────────────────────────────── */
.footer {
  background: var(--moss-dark);
  color: rgba(255,255,255,.65);
  padding: 4rem 0 2.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand-name {
  font-family: 'Fraunces', serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: .5rem;
}
.footer-brand-name span { color: var(--sage); }
.footer-tagline { font-size: .9rem; margin-bottom: 1.2rem; line-height: 1.6; }
.footer-email a {
  color: var(--sage-light);
  text-decoration: none;
  font-weight: 600;
  font-size: .93rem;
}
.footer-email a:hover { text-decoration: underline; }
.footer-col-title {
  font-family: 'Karla', sans-serif;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--sage-light);
  margin-bottom: 1.1rem;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: .6rem; }
.footer-links a {
  font-size: .9rem;
  color: rgba(255,255,255,.6);
  text-decoration: none;
  transition: color .2s;
}
.footer-links a:hover { color: var(--sage-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: .82rem;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-grid   { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .hero        { padding: 5rem 0 3.5rem; }
  .two-col     { grid-template-columns: 1fr !important; gap: 3rem !important; }
}
@media (max-width: 680px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .section    { padding: 3rem 0; }
  .section--lg{ padding: 4rem 0; }
  .section--sm{ padding: 2.5rem 0; }
  .footer-grid{ grid-template-columns: 1fr; gap: 2rem; }
  .phase-grid { grid-template-columns: 1fr; }
  .pillar-grid{ grid-template-columns: 1fr; }
  .blog-grid  { grid-template-columns: 1fr; }
  .pull-quote { font-size: 1rem; padding: 1rem 1.2rem; }
  h1 { font-size: 1.9rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.15rem; }
  .hero { padding: 3.5rem 0 2.5rem; }
  .page-hero { padding: 3.5rem 0 3rem !important; }
  /* Buttons: volle Breite auf Mobile */
  .btn-group { flex-direction: column; align-items: stretch; }
  .btn-group .btn { width: 100% !important; text-align: center !important; justify-content: center; box-sizing: border-box; }
  /* Zwei-Spalten-Layouts stapeln */
  .two-col { grid-template-columns: 1fr !important; gap: 2rem !important; }
}
@media (max-width: 480px) {
  h1 { font-size: 1.65rem; }
  h2 { font-size: 1.3rem; }
  .container { padding-left: 1.1rem; padding-right: 1.1rem; }
  .btn { font-size: .93rem; padding: .75rem 1.4rem; }
}
