/* =========================================================
   Naturheilpraxis Detlef Rathmer — Stylesheet
   Modern, warm, natural design
   ========================================================= */

:root {
  /* Colour palette — sage green, warm cream, terracotta accent */
  --sage:        #6f7f5e;
  --sage-dark:   #56654a;
  --sage-light:  #8a9a78;
  --cream:       #faf7f0;
  --cream-2:     #f2e8cf;
  --paper:       #ffffff;
  --ink:         #2f322b;
  --ink-soft:    #555a4e;
  --accent:      #a06535;   /* warm terracotta / clay — deeper */
  --accent-dark: #8a5228;
  --line:        #e3ddcd;
  --shadow:      0 18px 45px rgba(60, 60, 40, 0.10);
  --shadow-sm:   0 8px 22px rgba(60, 60, 40, 0.08);

  --font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --maxw: 1160px;
  --radius: 18px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--accent-dark); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--accent); }

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.12;
  color: var(--ink);
  margin: 0 0 .5em;
  letter-spacing: .2px;
}
h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); }
p  { margin: 0 0 1.1em; color: var(--ink-soft); }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(56px, 9vw, 110px) 0; }
.section--tint  { background: var(--cream-2); }
.section--paper { background: var(--paper); }
.section--olive { background: #2a3322; }
.section--olive .quote blockquote { color: #f5f0e8; }
.section--olive .quote .mark      { color: rgba(138,154,120,.55); font-size: 5rem; }
.section--olive .quote cite        { color: var(--sage-light); }
.narrow { max-width: 760px; }
.center { text-align: center; }
.lead { font-size: 1.2rem; color: var(--ink-soft); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 1rem;
}
.eyebrow::before { content: "✦\00a0"; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .55em;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: .98rem;
  letter-spacing: .01em;
  padding: 15px 30px;
  border-radius: 50px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 10px 24px rgba(176,125,86,.32); }
.btn--primary:hover { background: var(--accent-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 14px 30px rgba(176,125,86,.4); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--sage); color: var(--sage-dark); transform: translateY(-2px); }
.btn--light { background: rgba(255,255,255,.95); color: var(--ink); }
.btn--light:hover { background:#fff; color: var(--accent-dark); transform: translateY(-2px); }
.btn-arrow { transition: transform .2s ease; }
.btn:hover .btn-arrow { transform: translateX(3px); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 247, 240, 0.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 76px; }
.brand { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-family: var(--font-serif); font-size: 1.45rem; font-weight: 600; color: var(--ink); }
.brand__tag  { font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--sage); margin-top: 2px; }

.nav__links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__links a {
  display: inline-block;
  padding: 9px 14px;
  font-size: .93rem;
  font-weight: 500;
  color: var(--ink-soft);
  border-radius: 8px;
}
.nav__links a:hover { color: var(--sage-dark); background: rgba(111,127,94,.10); }
.nav__links a.active { color: var(--sage-dark); }
.nav__cta { margin-left: 8px; }
.nav__cta .btn { padding: 11px 20px; font-size: .9rem; }
.nav__cta .btn--primary { background: var(--cream); color: var(--accent-dark); box-shadow: 0 4px 14px rgba(160,101,53,.25); }
.nav__cta .btn--primary:hover { background: var(--cream-2); color: var(--accent-dark); }

.nav__toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 44px; height: 44px; padding: 10px;
}
.nav__toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: .25s ease; }
.nav__toggle span + span { margin-top: 5px; }
.nav__toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero::before {
  content: "";
  position: absolute; z-index: -1;
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(160,101,53,.14), rgba(160,101,53,0) 70%);
  bottom: -60px; left: -60px; border-radius: 50%;
  pointer-events: none;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding: clamp(48px, 7vw, 96px) 0;
}
.hero__title { margin-bottom: .35em; }
.hero__title .em { color: var(--accent-dark); font-style: italic; }
.hero__text { font-size: 1.18rem; max-width: 36ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2rem; }
.hero__media { position: relative; }
.hero__media img {
  width: 100%; height: 100%; max-height: 560px; object-fit: cover;
  border-radius: 220px 220px 24px 24px;
  box-shadow: var(--shadow);
}
.hero__badge {
  position: absolute; left: -10px; bottom: 28px;
  background: var(--paper); border-radius: 16px; padding: 16px 20px;
  box-shadow: var(--shadow-sm); display: flex; align-items: center; gap: 12px;
}
.hero__badge strong { font-family: var(--font-serif); font-size: 1.7rem; color: var(--sage-dark); display:block; line-height:1; }
.hero__badge span { font-size: .78rem; color: var(--ink-soft); }
.hero__blob {
  position: absolute; z-index: -1; width: 540px; height: 540px;
  background: radial-gradient(circle at 30% 30%, rgba(138,154,120,.44), rgba(138,154,120,0) 70%);
  top: -120px; right: -120px; border-radius: 50%;
}

/* ---------- Page hero (subpages) ---------- */
.page-hero { background: var(--cream-2); border-bottom: 1px solid var(--line); }
.page-hero .container { padding-top: clamp(48px, 7vw, 84px); padding-bottom: clamp(40px, 6vw, 70px); }
.page-hero h1 { color: var(--accent); }
.page-hero p.lead { max-width: 60ch; }

/* ---------- Cards (3 Kacheln) ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 34px 30px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card__icon {
  width: 54px; height: 54px; border-radius: 14px;
  display: grid; place-items: center; margin-bottom: 18px;
  background: rgba(160,101,53,.13); color: var(--accent-dark);
}
.card__icon svg { width: 28px; height: 28px; }
.card h3 { margin-bottom: .4em; }
.card p { margin-bottom: 1.4em; }
.card__link { margin-top: auto; font-weight: 600; font-size: .95rem; display: inline-flex; align-items: center; gap: .4em; }
.card__link:hover .btn-arrow { transform: translateX(3px); }

/* ---------- Quote / personal sentence ---------- */
.quote { text-align: center; }
.quote blockquote {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3.2vw, 2.3rem);
  line-height: 1.35;
  font-style: italic;
  color: var(--ink);
  margin: 0 auto;
  max-width: 22ch;
  max-width: 900px;
  position: relative;
}
.quote .mark { color: var(--sage-light); font-size: 3.5rem; line-height: 0; display:block; margin-bottom:.2em; }
.quote cite { display: block; margin-top: 1.4rem; font-family: var(--font-sans); font-style: normal; font-size: .9rem; letter-spacing: .12em; text-transform: uppercase; color: var(--sage); }

/* ---------- Prose blocks (subpage content) ---------- */
.prose h2 { margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose p { font-size: 1.08rem; }
.prose .lead { font-size: 1.25rem; color: var(--ink); margin-bottom: 1.4em; }

/* Split text + image */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.split--reverse .split__media { order: -1; }
.split__media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; object-fit: cover; }
.split__media.tall img { max-height: 560px; }

/* Feature list with check marks */
.checklist { list-style: none; padding: 0; margin: 1.4em 0; display: grid; gap: 14px; }
.checklist li { position: relative; padding-left: 38px; color: var(--ink-soft); }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 2px;
  width: 24px; height: 24px; border-radius: 50%;
  background: rgba(111,127,94,.15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2356654a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/14px no-repeat;
}

/* ---------- Steps (Ablauf) ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; counter-reset: step; }
.step { background: var(--paper); border:1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; box-shadow: var(--shadow-sm); }
.step__num {
  counter-increment: step;
  font-family: var(--font-serif); font-size: 2.4rem; color: var(--sage-light); line-height:1;
  display:block; margin-bottom: .3em;
}
.step__num::before { content: counter(step, decimal-leading-zero); }
.step h3 { font-size: 1.25rem; }

/* ---------- Price table ---------- */
.prices { display: grid; gap: 18px; }
.price-row {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 24px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 14px;
  padding: 22px 26px; box-shadow: var(--shadow-sm);
}
.price-row__main { flex: 1 1 280px; }
.price-row__title { font-family: var(--font-serif); font-size: 1.35rem; color: var(--ink); margin: 0; }
.price-row__sub { font-size: .92rem; color: var(--ink-soft); margin: .25em 0 0; }
.price-row__amount { font-family: var(--font-serif); font-size: 1.5rem; font-weight: 600; color: var(--sage-dark); white-space: nowrap; }
.note { font-size: .95rem; color: var(--ink-soft); background: var(--cream-2); border-left: 3px solid var(--sage-light); padding: 14px 18px; border-radius: 0 10px 10px 0; }

/* ---------- Info / contact grid ---------- */
.info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.info-card { background: var(--paper); border:1px solid var(--line); border-top: 3px solid var(--accent); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); }
.info-card h3 { display:flex; align-items:center; gap:.5em; font-size:1.25rem; }
.info-card .ico { width:38px;height:38px;border-radius:10px;display:grid;place-items:center;background:rgba(111,127,94,.12);color:var(--sage-dark); }
.info-card .ico svg{width:20px;height:20px;}
.contact-line { display:flex; gap:.6em; margin: .3em 0; }
.contact-line .lbl { color: var(--sage-dark); font-weight:600; min-width: 90px; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(135deg, var(--sage) 0%, var(--sage-dark) 100%); color: #fff; border-radius: clamp(20px, 4vw, 34px); padding: clamp(40px, 6vw, 70px); text-align: center; position: relative; overflow:hidden; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.9); max-width: 52ch; margin-left:auto; margin-right:auto; }
.cta-band .btn--primary { background:#fff; color: var(--accent-dark); box-shadow: 0 10px 24px rgba(0,0,0,.18); }
.cta-band .btn--primary:hover { background: var(--cream); color: var(--accent-dark); }
.cta-band__leaf { position:absolute; opacity:.12; }

/* ---------- About highlights ---------- */
.facts { display:grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.fact { text-align:center; padding: 24px 14px; }
.fact strong { font-family: var(--font-serif); font-size: 2.6rem; color: var(--sage-dark); display:block; line-height:1; }
.fact span { font-size: .9rem; color: var(--ink-soft); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #cfd3c6; padding: 64px 0 28px; }
.site-footer a { color: #e6e9dc; }
.site-footer a:hover { color: #fff; }
.footer-grid { display:grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.site-footer h4 { font-family: var(--font-serif); color:#fff; font-size:1.3rem; margin:0 0 .6em; }
.site-footer .brand__name { color:#fff; }
.site-footer ul { list-style:none; margin:0; padding:0; }
.site-footer li { margin: .35em 0; }
.footer-bottom { border-top:1px solid rgba(255,255,255,.12); padding-top: 22px; display:flex; flex-wrap:wrap; justify-content:space-between; gap:12px; font-size:.85rem; color:#9aa091; }
.footer-bottom a{ color:#9aa091; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
/* Staggered entrance for grid children */
.cards .card:nth-child(2),
.steps .step:nth-child(2),
.info-grid .info-card:nth-child(2) { transition-delay: .12s; }
.cards .card:nth-child(3),
.steps .step:nth-child(3),
.info-grid .info-card:nth-child(3) { transition-delay: .24s; }
.info-grid .info-card:nth-child(4) { transition-delay: .36s; }

/* ---------- Legal page ---------- */
.legal { font-size: .98rem; }
.legal h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-top: 1.9em; padding-top: 1.1em; border-top: 1px solid var(--line); }
.legal h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.legal h3 { font-size: 1.18rem; margin-top: 1.5em; color: var(--sage-dark); }
.legal p { font-size: 1rem; line-height: 1.7; }
.legal-list { margin: .8em 0 1.2em; padding-left: 1.2em; }
.legal-list li { margin: .3em 0; color: var(--ink-soft); }

/* ---------- Botanical intro split ---------- */
.botanical-split {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(32px, 5vw, 60px);
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}
.botanical-split__art img {
  height: 280px;
  width: auto;
  max-width: 420px;
  display: block;
  margin: 0 auto;
}
.botanical-split--flip {
  grid-template-columns: 1fr 1.2fr;
}
.botanical-split--flip .botanical-split__art { order: -1; }
@media (max-width: 720px) {
  .botanical-split { grid-template-columns: 1fr; }
  .botanical-split--flip .botanical-split__art { order: 0; }
  .botanical-split__art { margin: 0 auto 8px; }
  .botanical-split__art img { height: auto; width: 100%; max-width: 320px; }
}

/* ---------- Patientenstimme ---------- */
.patient-quote {
  max-width: 780px;
  margin: 0 auto;
  border-left: 3px solid var(--cream-2);
  padding-left: clamp(20px, 4vw, 40px);
}
.patient-quote p {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  line-height: 1.8;
  color: var(--cream);
  margin-bottom: 1em;
}
.patient-quote cite {
  display: block;
  margin-top: 1.4rem;
  font-style: normal;
  font-size: .88rem;
  letter-spacing: .06em;
  color: var(--cream-2);
  opacity: .8;
}

/* ---------- Section heading helper ---------- */
.sec-head { max-width: 640px; margin: 0 auto clamp(36px, 5vw, 56px); text-align:center; }
.sec-head.left { margin-left:0; text-align:left; }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__media { max-width: 460px; margin: 0 auto; }
  .cards, .steps { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .info-grid { grid-template-columns: 1fr; }
  .facts { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }

  .nav__toggle { display: block; }
  .nav__links {
    position: absolute; top: 76px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream); border-bottom: 1px solid var(--line);
    padding: 12px 16px 20px; box-shadow: var(--shadow);
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: .25s ease;
  }
  .nav__links.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav__links a { padding: 13px 12px; font-size: 1rem; border-radius: 8px; }
  .nav__cta { margin: 8px 0 0; }
  .nav__cta .btn { width: 100%; justify-content: center; }
}
@media (max-width: 480px) {
  body { font-size: 16px; }
  .container { padding: 0 20px; }
  .facts { grid-template-columns: 1fr 1fr; }
  .hero__media img { border-radius: 140px 140px 20px 20px; }
  .hero__text { max-width: 100%; }
  .cta-band { padding: clamp(32px, 7vw, 56px) clamp(20px, 5vw, 40px); }
}
