/* =========================================================
   Innercraft — Purpose Guiding
   Aesthetic: "Tree of Life" / "Nostalgia"
   Warm, earthy, organic, unhurried.
   ========================================================= */

:root {
  /* Earth palette */
  --forest:      #2f3b30;   /* deep forest green   */
  --forest-deep: #232c24;
  --moss:        #5b6b4d;
  --sage:        #8a9a7b;
  --clay:        #b6713f;   /* terracotta accent   */
  --clay-soft:   #c98a5b;
  --gold:        #c9a24b;   /* aged gold           */
  --sand:        #e8dcc6;
  --cream:       #f5efe2;
  --paper:       #faf6ec;
  --ink:         #34302a;   /* warm near-black text */
  --ink-soft:    #5d564c;

  --maxw: 1160px;

  --serif: "Cormorant Garamond", "EB Garamond", Georgia, serif;
  --serif-body: "EB Garamond", Georgia, "Times New Roman", serif;
  --sans:  "Jost", -apple-system, "Segoe UI", system-ui, sans-serif;

  --shadow-soft: 0 18px 50px -28px rgba(35, 44, 36, .45);
  --radius: 4px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--serif-body);
  font-size: 1.18rem;
  line-height: 1.72;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }

/* ---------- Film grain / nostalgia texture ---------- */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: .04;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Layout ---------- */
.container { width: min(var(--maxw), 92vw); margin-inline: auto; }
.narrow { width: min(760px, 92vw); }
.center { text-align: center; }

.section { padding: clamp(4.5rem, 10vw, 8.5rem) 0; position: relative; }
.section-cream  { background: var(--paper); }
.section-sand   { background: var(--sand); }
.section-forest { background: var(--forest); color: var(--cream); }

/* organic divider between sections */
.section + .section { border-top: 1px solid rgba(52,48,42,.06); }

/* ---------- Typography ---------- */
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.08; margin: 0; }
h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); letter-spacing: -.01em; }
h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); letter-spacing: -.01em; }
h3 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); }

.eyebrow {
  font-family: var(--sans);
  font-weight: 400;
  font-size: .78rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--clay);
  margin: 0 0 1.1rem;
}
.eyebrow.light { color: var(--gold); }
.light { color: var(--cream); }

.section-head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head.center { max-width: 760px; margin-inline: auto; }
.section-intro { font-size: 1.22rem; color: var(--ink-soft); margin-top: 1.25rem; }
.section-intro.light { color: rgba(245,239,226,.78); }

.prose p { margin: 0 0 1.35rem; }
.prose em { font-style: italic; color: var(--clay); }
.prose strong { font-weight: 500; }

.text-link {
  font-family: var(--sans);
  font-size: .95rem;
  letter-spacing: .04em;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  color: var(--clay);
  transition: color .3s var(--ease);
}
.text-link:hover { color: var(--forest); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: .92rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: .95em 1.9em;
  border-radius: 50px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .3s var(--ease), background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--clay); color: var(--paper); }
.btn-primary:hover { background: var(--clay-soft); }
.btn-ghost { color: var(--cream); border-color: rgba(245,239,226,.4); }
.btn-ghost:hover { background: rgba(245,239,226,.1); border-color: var(--cream); }
.btn-outline { background: transparent; color: var(--forest); border-color: var(--moss); }
.btn-outline:hover { background: var(--forest); color: var(--cream); border-color: var(--forest); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background .4s var(--ease), box-shadow .4s var(--ease), padding .4s var(--ease);
  padding: .35rem 0;
}
.site-header.scrolled {
  background: rgba(250,246,236,.9);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(52,48,42,.08);
}
.nav { display: flex; align-items: center; justify-content: space-between; padding: .8rem 0; }

.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--cream); transition: color .4s var(--ease); }
.scrolled .brand { color: var(--forest); }
.brand-mark { color: var(--gold); display: grid; place-items: center; transition: color .4s var(--ease); }
.scrolled .brand-mark { color: var(--clay); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; letter-spacing: .01em; }
.brand-tag { font-family: var(--sans); font-size: .62rem; letter-spacing: .28em; text-transform: uppercase; opacity: .8; margin-top: 3px; }

.nav-menu { display: flex; align-items: center; gap: clamp(1.1rem, 1.8vw, 2rem); list-style: none; margin: 0; padding: 0; }
.nav-menu a {
  font-family: var(--sans);
  font-size: .82rem;
  white-space: nowrap;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--cream);
  opacity: .9;
  transition: color .3s var(--ease), opacity .3s var(--ease);
}
.scrolled .nav-menu a { color: var(--ink); }
.nav-menu a:hover { opacity: 1; color: var(--gold); }
.scrolled .nav-menu a:hover { color: var(--clay); }
.nav-menu .nav-cta {
  border: 1px solid currentColor;
  border-radius: 50px;
  padding: .55em 1.3em;
  opacity: 1;
}

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; width: 40px; height: 34px; padding: 6px; }
.nav-toggle span { display: block; height: 2px; background: var(--cream); margin: 5px 0; transition: .3s var(--ease); }
.scrolled .nav-toggle span { background: var(--ink); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  color: var(--cream);
  overflow: hidden;
}
.hero-scene { position: absolute; inset: 0; z-index: 0; }
.hero-sky {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 50% 8%, #c9a24b22 0%, transparent 45%),
    linear-gradient(180deg, #2c3a31 0%, #36443a 38%, #4a5340 100%);
}
.hero-hills { position: absolute; left: -5%; right: -5%; border-radius: 50% 50% 0 0 / 100% 100% 0 0; }
.hill-3 { bottom: 0; height: 42%; background: #29332b; filter: blur(1px); }
.hill-2 { bottom: 0; height: 30%; background: #222a23; left: -20%; right: -25%; }
.hill-1 { bottom: 0; height: 18%; background: #1c231d; left: 10%; right: -30%; }

.hero-tree {
  position: absolute;
  bottom: -2%;
  left: 50%;
  transform: translateX(-50%);
  width: clamp(220px, 34vw, 420px);
  color: rgba(201,162,75,.32);
  opacity: 0;
  animation: treeRise 2.2s var(--ease) .3s forwards;
}
@keyframes treeRise { from { opacity: 0; transform: translateX(-50%) translateY(30px); } to { opacity: 1; transform: translateX(-50%) translateY(0); } }

.hero-content { position: relative; z-index: 2; padding-top: 6rem; max-width: 880px; }
.hero-content h1 { margin: 0 0 1.6rem; text-wrap: balance; }
.hero-lead { font-size: clamp(1.15rem, 2vw, 1.4rem); max-width: 620px; color: rgba(245,239,226,.86); margin: 0 0 2.4rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

.scroll-cue {
  position: absolute; bottom: 2.2rem; left: 50%; transform: translateX(-50%);
  z-index: 3; width: 26px; height: 42px; border: 1px solid rgba(245,239,226,.4); border-radius: 20px;
}
.scroll-cue span {
  position: absolute; top: 8px; left: 50%; width: 3px; height: 7px; background: var(--gold); border-radius: 3px;
  transform: translateX(-50%); animation: scrollPulse 1.8s var(--ease) infinite;
}
@keyframes scrollPulse { 0% { opacity: 0; top: 8px; } 40% { opacity: 1; } 100% { opacity: 0; top: 22px; } }

/* ---------- Questions band ---------- */
.questions { background: var(--forest-deep); color: var(--cream); padding: clamp(3.5rem, 7vw, 6rem) 0; }
.question-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.4rem; max-width: 880px; margin-inline: auto; }
.question-list li {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  line-height: 1.25;
  font-style: italic;
  color: rgba(245,239,226,.92);
  padding-left: 1.6rem;
  border-left: 2px solid var(--gold);
}

/* ---------- Pull quote ---------- */
.pull-quote {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  line-height: 1.32;
  font-style: italic;
  color: var(--forest);
  margin: 3rem 0 0;
  padding: 2rem 0 0;
  border-top: 1px solid rgba(52,48,42,.14);
  text-wrap: balance;
}

/* ---------- Movements ---------- */
.movements { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); }
.movement {
  background: rgba(245,239,226,.05);
  border: 1px solid rgba(245,239,226,.14);
  border-radius: var(--radius);
  padding: 2.4rem 2rem;
  transition: transform .5s var(--ease), background .5s var(--ease);
}
.movement:hover { transform: translateY(-6px); background: rgba(245,239,226,.09); }
.movement-num { font-family: var(--serif); font-size: 2.6rem; color: var(--gold); display: block; line-height: 1; margin-bottom: 1rem; opacity: .8; }
.movement h3 { color: var(--cream); margin-bottom: .25rem; }
.movement-sub { font-family: var(--sans); font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--sage); margin: 0 0 1.1rem; }
.movement p:last-child { color: rgba(245,239,226,.8); font-size: 1.05rem; line-height: 1.6; margin: 0; }

/* ---------- Two column (Purpose) ---------- */
.two-col { display: grid; grid-template-columns: 1.4fr .9fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.triad { display: grid; gap: 1rem; margin: 1.8rem 0; }
.triad-item { display: grid; grid-template-columns: 120px 1fr; gap: 1.2rem; align-items: baseline; padding-bottom: 1rem; border-bottom: 1px dashed rgba(52,48,42,.18); }
.triad-kicker { font-family: var(--serif); font-size: 1.4rem; color: var(--clay); font-style: italic; }
.triad-item p { margin: 0; font-size: 1.02rem; line-height: 1.55; color: var(--ink-soft); }

.cert-card {
  background: var(--forest);
  color: var(--cream);
  border-radius: var(--radius);
  padding: 2.6rem 2.2rem;
  text-align: center;
  box-shadow: var(--shadow-soft);
}
.cert-card svg { color: var(--gold); margin: 0 auto 1.2rem; }
.cert-title { font-family: var(--serif); font-size: 1.6rem; margin: 0 0 .8rem; }
.cert-body { font-size: 1.02rem; color: rgba(245,239,226,.82); margin: 0 0 1.2rem; }
.cert-lineage { font-family: var(--sans); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin: 0; }

/* ---------- Methods grid ---------- */
.methods-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.4rem; }
.method-card {
  background: var(--paper);
  border: 1px solid rgba(52,48,42,.1);
  border-radius: var(--radius);
  padding: 2rem 1.9rem;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.method-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-soft); border-color: var(--sage); }
.method-card h3 { color: var(--forest); margin-bottom: .35rem; }
.method-lineage { font-family: var(--sans); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--clay); margin: 0 0 1rem; }
.method-card p:last-child { font-size: 1.02rem; line-height: 1.55; color: var(--ink-soft); margin: 0; }
.methods-note {
  max-width: 720px; margin: 3rem auto 0; text-align: center;
  font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--forest);
}

/* ---------- Expect list ---------- */
.expect-list { display: grid; gap: 1.6rem; margin-top: 2.5rem; }
.expect-list p {
  font-size: 1.2rem; line-height: 1.6; margin: 0; color: rgba(245,239,226,.86);
  padding-bottom: 1.6rem; border-bottom: 1px solid rgba(245,239,226,.12);
}
.expect-list p:last-child { border-bottom: 0; padding-bottom: 0; color: var(--gold); font-style: italic; font-family: var(--serif); font-size: 1.5rem; }

/* ---------- Offers ---------- */
.offers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; align-items: start; }
.offer {
  position: relative;
  background: var(--paper);
  border: 1px solid rgba(52,48,42,.12);
  border-radius: var(--radius);
  padding: 2.4rem 2.1rem;
  display: flex; flex-direction: column; height: 100%;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.offer:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); }
.offer-featured { background: var(--forest); color: var(--cream); border-color: var(--forest); }
.offer-badge {
  position: absolute; top: -.85rem; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: var(--forest-deep);
  font-family: var(--sans); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase;
  padding: .45em 1.2em; border-radius: 50px; white-space: nowrap;
}
.offer-head { margin-bottom: 1.1rem; }
.offer h3 { color: var(--forest); }
.offer-featured h3 { color: var(--cream); }
.offer-tagline { font-family: var(--sans); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--clay); margin: .4rem 0 0; }
.offer-featured .offer-tagline { color: var(--gold); }
.offer-body { font-size: 1.05rem; line-height: 1.6; color: var(--ink-soft); margin: 0 0 1.6rem; }
.offer-featured .offer-body { color: rgba(245,239,226,.82); }
.offer-facts { list-style: none; margin: 0 0 1.8rem; padding: 0; display: grid; gap: .55rem; }
.offer-facts li { font-size: .98rem; line-height: 1.4; display: grid; grid-template-columns: 96px 1fr; gap: .8rem; padding-bottom: .55rem; border-bottom: 1px dashed rgba(52,48,42,.14); }
.offer-featured .offer-facts li { border-color: rgba(245,239,226,.16); }
.offer-facts span { font-family: var(--sans); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--clay); align-self: center; }
.offer-featured .offer-facts span { color: var(--gold); }
.offer .btn { margin-top: auto; align-self: flex-start; }

/* ---------- Meditations-App ---------- */
.meditation-mark { display: flex; justify-content: center; margin-bottom: 1.6rem; color: var(--gold); }
.meditation-actions { margin-top: 2.4rem; }
.meditation-actions .btn { padding: 1.05rem 2.8rem; font-size: 1rem; }
.meditation-hint {
  margin-top: 1.8rem;
  font-family: var(--sans);
  font-size: .85rem;
  font-weight: 300;
  color: rgba(245, 239, 226, .6);
}

/* ---------- Team ---------- */
.team { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); }
.person { text-align: center; }
.person-portrait {
  width: 120px; height: 120px; margin: 0 auto 1.4rem; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--sage), var(--moss) 70%);
  display: grid; place-items: center;
  box-shadow: inset 0 0 0 6px rgba(250,246,236,.5), var(--shadow-soft);
}
.person-portrait span { font-family: var(--serif); font-size: 3rem; color: var(--paper); }
.person h3 { color: var(--forest); }
.person-role { font-family: var(--sans); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--clay); margin: .4rem 0 1.4rem; }
.person .prose { text-align: left; }
.person .prose p { font-size: 1.05rem; line-height: 1.6; }
.team-note {
  max-width: 760px; margin: 3rem auto 0; text-align: center;
  font-family: var(--serif); font-style: italic; font-size: 1.3rem; line-height: 1.45; color: var(--forest);
}

/* ---------- Contact form ---------- */
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin-top: 2.8rem; text-align: left; }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field-full { grid-column: 1 / -1; }
.field label { font-family: var(--sans); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.field input, .field select, .field textarea {
  font-family: var(--serif-body); font-size: 1.05rem; color: var(--cream);
  background: rgba(245,239,226,.06); border: 1px solid rgba(245,239,226,.22);
  border-radius: var(--radius); padding: .8em 1em; transition: border-color .3s var(--ease), background .3s var(--ease);
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); background: rgba(245,239,226,.1); }
.field select option { color: var(--ink); }
.field ::placeholder { color: rgba(245,239,226,.45); }
.form-status { font-family: var(--sans); font-size: .9rem; color: var(--gold); margin: 1rem 0 0; min-height: 1.2em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--forest-deep); color: rgba(245,239,226,.8); padding: clamp(3rem, 6vw, 5rem) 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2.5rem; }
.footer-brand .brand-mark { color: var(--gold); margin-bottom: 1rem; }
.footer-name { font-family: var(--serif); font-size: 1.7rem; color: var(--cream); margin: 0 0 .6rem; }
.footer-claim { font-style: italic; font-family: var(--serif); font-size: 1.1rem; max-width: 28ch; margin: 0; color: rgba(245,239,226,.7); }
.footer-nav { display: flex; flex-direction: column; gap: .6rem; }
.footer-head { font-family: var(--sans); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin: 0 0 .4rem; }
.footer-nav a { text-decoration: none; font-size: 1rem; color: rgba(245,239,226,.78); transition: color .3s var(--ease); }
.footer-nav a:hover { color: var(--cream); }
.footer-cert { font-size: .92rem; line-height: 1.5; margin: 0; color: rgba(245,239,226,.7); }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem;
  margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(245,239,226,.12);
  font-family: var(--sans); font-size: .8rem; letter-spacing: .04em; color: rgba(245,239,226,.55);
}
.footer-bottom p { margin: 0; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .movements, .offers, .two-col, .team, .footer-grid { grid-template-columns: 1fr; }
  .two-col { gap: 2.5rem; }
  .footer-grid { gap: 2rem; }
}

/* Burger-Menü greift früher, damit die Navigation nie gequetscht wird */
@media (max-width: 1000px) {
  .nav-toggle { display: block; z-index: 110; }
  .nav-menu {
    position: fixed; inset: 0 0 0 auto; width: min(78vw, 320px);
    flex-direction: column; align-items: flex-start; justify-content: center;
    gap: 1.8rem; padding: 3rem 2.5rem;
    background: var(--forest); box-shadow: var(--shadow-soft);
    transform: translateX(100%); transition: transform .45s var(--ease);
  }
  .nav-menu.open { transform: translateX(0); }
  .nav-menu a { color: var(--cream); font-size: 1rem; }
  .scrolled .nav-menu a { color: var(--cream); }
  .nav-menu a:hover, .scrolled .nav-menu a:hover { color: var(--gold); }
  .nav-toggle[aria-expanded="true"] span { background: var(--cream); }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

@media (max-width: 600px) {
  body { font-size: 1.08rem; }
  .contact-form { grid-template-columns: 1fr; }
  .triad-item { grid-template-columns: 1fr; gap: .3rem; }
  .hero-content { padding-top: 7rem; }
}

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