/* shared chrome for sub-pages (faq, impressum, erstgespraech)
   mirrors the Hain concept's design system */

@font-face { font-family:"Walsheim"; src:url("fonts/GTWalsheimPro-Light.ttf") format("truetype"); font-weight:300; font-display:swap; }
@font-face { font-family:"Walsheim"; src:url("fonts/GTWalsheimPro-Regular.ttf") format("truetype"); font-weight:400; font-display:swap; }
@font-face { font-family:"Walsheim"; src:url("fonts/GTWalsheimPro-Medium.ttf") format("truetype"); font-weight:500; font-display:swap; }
@font-face { font-family:"Walsheim"; src:url("fonts/GTWalsheimPro-Bold.ttf") format("truetype"); font-weight:700; font-display:swap; }

:root {
  --ink:        #1F2E22;
  --ink-2:      #3D4D40;
  --ink-3:      #6D7D70;
  --ink-4:      #9FAFA1;
  --forest:     #2D4A3A;
  --forest-2:   #3F6451;
  --sage:       #8FA889;
  --sage-2:     #C9D5C2;
  --sage-3:     #E6ECE0;
  --bone:       #F4EFE4;
  --bone-2:     #FAF5EA;
  --paper:      #FFFCF3;
  --line:       #E0D8C7;
  --amber:      #C4924A;
  --amber-soft: #E6CFA5;
  --font: "Walsheim", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --maxw: 1100px;
  --pad:  clamp(20px, 4vw, 56px);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bone);
  color: var(--ink);
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width:100%; display:block; }
a { color: inherit; }
button { font: inherit; border:0; background:none; cursor:pointer; color:inherit; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }

/* ───── eyebrow / typography ───── */
.eyebrow {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--forest);
  font-weight: 500;
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before {
  content:""; width: 8px; height: 8px; background: currentColor;
  border-radius: 999px; display: inline-block;
}
h1.page {
  font-weight: 400;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 24px 0 0;
}
h1.page em { font-style: italic; font-weight: 300; color: var(--forest); }
.lead {
  font-weight: 400;
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 60ch;
}
p { color: var(--ink-2); max-width: 66ch; }

/* ───── Nav ───── */
.nav {
  position: fixed; top:0; left:0; right:0;
  z-index: 50;
  padding: 18px var(--pad);
  display: flex; align-items: center; justify-content: space-between;
  transition: background .35s ease, padding .35s ease, box-shadow .35s ease;
  background: rgba(244,239,228,.94);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.nav.scrolled {
  padding-top: 14px; padding-bottom: 14px;
}
.brand {
  display: flex; align-items: center; gap: 12px;
  font-weight: 500; letter-spacing: -0.01em; font-size: 17px;
  color: var(--ink);
  text-decoration: none;
}
.brand .mark {
  width: 28px; height: 28px;
  border-radius: 50% 50% 50% 8px;
  background: var(--forest);
  transform: rotate(-15deg);
}
.brand small { color: var(--ink-3); font-weight: 400; font-size: 13px; }
.nav-links {
  display: flex; gap: 28px; align-items: center;
  font-size: 14px; color: var(--ink-2);
}
.nav-links a { text-decoration: none; transition: color .2s; }
.nav-links a:hover { color: var(--forest); }
.nav-cta {
  background: var(--forest);
  color: var(--bone);
  padding: 12px 20px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: transform .2s, background .2s;
  display: inline-flex; align-items: center; gap: 8px;
}
.nav-cta:hover { background: var(--ink); transform: translateY(-1px); }
.nav-cta::after { content:"→"; transition: transform .2s; }
.nav-cta:hover::after { transform: translateX(3px); }
@media (max-width: 860px) { .nav-links { display: none; } }

/* ───── Page hero (slim) ───── */
.page-hero {
  padding-top: clamp(130px, 14vw, 180px);
  padding-bottom: clamp(40px, 6vw, 80px);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  width: 520px; height: 520px;
  right: -200px; top: -160px;
  background: var(--sage-3);
  border-radius: 50% 50% 40% 60% / 60% 40% 60% 40%;
  z-index: 0;
  opacity: .6;
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero .crumbs {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px;
  color: var(--ink-3);
  margin-bottom: 28px;
  text-decoration: none;
  transition: color .2s;
}
.page-hero .crumbs:hover { color: var(--forest); }
.page-hero .crumbs::before {
  content: "←";
  transition: transform .2s;
}
.page-hero .crumbs:hover::before { transform: translateX(-3px); }
.page-hero .lead { margin-top: 32px; }

/* ───── Body section ───── */
.page-body {
  padding-bottom: clamp(64px, 8vw, 112px);
  position: relative;
  z-index: 2;
}

/* ───── CTA pill ───── */
.cta-pill {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 26px;
  background: var(--forest);
  color: var(--bone);
  border-radius: 999px;
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  transition: transform .25s, background .25s, box-shadow .25s;
  box-shadow: 0 1px 0 rgba(31,46,34,.05), 0 10px 30px rgba(45,74,58,.20);
}
.cta-pill:hover { background: var(--ink); transform: translateY(-2px); }
.cta-pill .arrow {
  width: 28px; height: 28px; border-radius: 999px;
  background: rgba(255,255,255,.16);
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform .25s;
}
.cta-pill:hover .arrow { transform: translateX(3px); }
.cta-pill.ghost {
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: none;
}
.cta-pill.ghost:hover { background: var(--sage-3); }
.cta-pill.ghost .arrow { background: var(--sage-3); color: var(--forest); }

/* ───── Footer (compact) ───── */
footer.compact {
  background: var(--ink);
  color: var(--bone);
  padding: clamp(48px, 7vw, 80px) 0 32px;
  position: relative;
  overflow: hidden;
}
footer.compact::before {
  content: "";
  position: absolute;
  width: 500px; height: 500px;
  right: -200px; bottom: -260px;
  background: var(--forest);
  border-radius: 50% 50% 40% 60% / 60% 50% 50% 40%;
  opacity: .45;
}
footer.compact .foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(24px, 4vw, 48px);
  margin-bottom: 40px;
  position: relative;
}
@media (max-width: 760px) { footer.compact .foot-grid { grid-template-columns: 1fr; } }
footer.compact h4 {
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(244,239,228,.5);
  font-weight: 500;
  margin: 0 0 18px;
}
footer.compact .big {
  font-size: clamp(26px, 3.4vw, 36px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -.015em;
  color: var(--bone);
  margin: 0 0 24px;
}
footer.compact .big em { font-style: italic; font-weight: 300; color: var(--sage); }
footer.compact a { color: rgba(244,239,228,.78); text-decoration: none; display: block; font-size: 14px; padding: 4px 0; }
footer.compact a:hover { color: var(--bone); }
footer.compact .legal {
  border-top: 1px solid rgba(244,239,228,.12);
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px;
  color: rgba(244,239,228,.5);
  flex-wrap: wrap; gap: 12px;
  position: relative;
}
footer.compact .legal a { display: inline-block; padding: 0; margin-left: 18px; }
footer.compact .foot-cta {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 14px 22px;
  background: var(--bone);
  color: var(--ink);
  border-radius: 999px;
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
}
footer.compact .foot-cta:hover { background: var(--sage); }

/* ───── reveal ───── */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal.delay-1 { transition-delay: .08s; }
.reveal.delay-2 { transition-delay: .16s; }

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