/* =========================================================================
   Cranio Heilen – Design System
   Ruhige, warme Heil-Ästhetik: Salbei, Sand, Off-White
   ========================================================================= */

:root {
  --sage:        #5a8a7d;
  --sage-dark:   #3f6a5e;
  --sage-light:  #e7f0ed;
  --sand:        #c9a875;
  --sand-light:  #f3ead9;
  --cream:       #faf7f1;
  --ink:         #2c332f;
  --muted:       #6b756f;
  --line:        #e6e0d5;
  --white:       #ffffff;
  --shadow-sm:   0 2px 10px rgba(44, 51, 47, .06);
  --shadow-md:   0 12px 40px rgba(44, 51, 47, .10);
  --radius:      18px;
  --radius-lg:   28px;
  --serif:       'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans:        'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --maxw:        1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.12;
  color: var(--ink);
  margin: 0 0 .5em;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.3rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.5rem; }

p { margin: 0 0 1.1em; }
a { color: var(--sage-dark); text-decoration: none; transition: color .2s; }
a:hover { color: var(--sand); }
img { max-width: 100%; display: block; }

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

.eyebrow {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .72rem;
  font-weight: 600;
  color: var(--sage);
  margin-bottom: 1rem;
  display: inline-block;
}

.section { padding: clamp(70px, 10vw, 130px) 0; }
.section--tint { background: var(--white); }
.section--sage { background: var(--sage-light); }
.section-head { max-width: 720px; margin: 0 auto 3.5rem; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.12rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: 15px 30px;
  border-radius: 100px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .01em;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s, color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--sage); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--sage-dark); color: #fff; box-shadow: var(--shadow-md); }
.btn--ghost { background: transparent; color: var(--sage-dark); border-color: var(--sage); }
.btn--ghost:hover { background: var(--sage); color: #fff; }
.btn--light { background: #fff; color: var(--sage-dark); }
.btn--light:hover { color: var(--sage-dark); }

/* ---------- Header / Nav ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .3s, box-shadow .3s, padding .3s;
  padding: 18px 0;
}
.header.scrolled { background: rgba(250, 247, 241, .92); backdrop-filter: blur(12px); box-shadow: var(--shadow-sm); padding: 12px 0; }
.nav { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand__logo { height: 185px; width: auto; display: block; transition: height .3s ease; }
.header.scrolled .brand__logo { height: 118px; }
.footer__logo { display: inline-block; background: #fff; border-radius: 14px; padding: 12px 18px; margin-bottom: 18px; }
.footer__logo img { height: 62px; width: auto; display: block; }
.brand__mark {
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg, var(--sage), var(--sand));
  display: grid; place-items: center; color: #fff; font-family: var(--serif);
  font-size: 1.3rem; font-weight: 700; flex: none;
}
.brand__text { line-height: 1.1; }
.brand__name { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; color: var(--ink); }
.brand__sub { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.nav__links { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav__links a { color: var(--ink); font-size: .93rem; font-weight: 500; }
.nav__links a:hover { color: var(--sage); }
.nav__cta { margin-left: 8px; }
.nav__toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav__toggle span { display: block; width: 26px; height: 2px; background: var(--ink); margin: 5px 0; transition: .3s; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 250px 0 90px;
  background:
    radial-gradient(120% 90% at 80% 10%, rgba(201,168,117,.16), transparent 55%),
    radial-gradient(100% 100% at 10% 90%, rgba(90,138,125,.14), transparent 50%),
    var(--cream);
  overflow: hidden;
}
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; }
.hero__content { max-width: 640px; }
.hero h1 { margin-bottom: .35em; }
.hero__lead { font-size: 1.2rem; color: var(--muted); margin-bottom: 2rem; max-width: 33em; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__meta { margin-top: 2.4rem; display: flex; gap: 28px; flex-wrap: wrap; color: var(--muted); font-size: .92rem; }
.hero__meta strong { color: var(--ink); }

.hero__visual { position: relative; }
.hero__img {
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  width: 100%;
  box-shadow: var(--shadow-md);
}
.hero__img--placeholder {
  background: linear-gradient(160deg, var(--sage-light), var(--sand-light));
  display: grid; place-items: center;
  font-family: var(--serif); font-size: 5rem; color: var(--sage);
}
.hero__badge {
  position: absolute; bottom: -22px; left: -22px;
  background: #fff; border-radius: var(--radius);
  padding: 18px 24px; box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 14px;
}
.hero__badge b { font-family: var(--serif); font-size: 1.9rem; color: var(--sage); display: block; line-height: 1; }
.hero__badge span { font-size: .82rem; color: var(--muted); }

.blob {
  position: absolute; border-radius: 50%; filter: blur(60px); opacity: .5; z-index: 0;
}

/* ---------- Services ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card {
  background: #fff; border-radius: var(--radius); padding: 34px 30px;
  border: 1px solid var(--line);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.card__icon {
  width: 60px; height: 60px; border-radius: 16px;
  background: var(--sage-light); display: grid; place-items: center;
  font-size: 1.7rem; margin-bottom: 20px;
}
.card h3 { margin-bottom: .4em; }
.card p { color: var(--muted); font-size: .98rem; margin-bottom: 1.2em; }
.card__more { margin-top: auto; font-weight: 600; font-size: .9rem; color: var(--sage); }

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 60px; align-items: center; }
.about__img {
  border-radius: var(--radius-lg); aspect-ratio: 3/4; object-fit: cover; width: 100%;
  box-shadow: var(--shadow-md);
}
.about__img--placeholder {
  background: linear-gradient(160deg, var(--sand-light), var(--sage-light));
  display: grid; place-items: center; font-size: 4rem; color: var(--sand);
}
.about__text p { color: var(--muted); }
.about__text h2 { color: var(--ink); }
.about__lead { font-size: 1.25rem; color: var(--ink) !important; font-family: var(--serif); }

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.quote {
  background: #fff; border-radius: var(--radius); padding: 34px 30px;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line);
}
.quote__mark { font-family: var(--serif); font-size: 3.5rem; color: var(--sand); line-height: .5; height: 30px; display: block; }
.quote p { font-style: italic; color: var(--ink); font-size: 1.05rem; }
.quote cite { color: var(--sage); font-weight: 600; font-style: normal; font-size: .9rem; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery a { border-radius: var(--radius); overflow: hidden; aspect-ratio: 1; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery a:hover img { transform: scale(1.06); }

/* ---------- Downloads ---------- */
.downloads { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; max-width: 820px; margin: 0 auto; }
.dl {
  display: flex; align-items: center; gap: 16px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 24px; transition: box-shadow .2s, transform .2s;
}
.dl:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.dl__icon { font-size: 1.6rem; width: 48px; height: 48px; background: var(--sand-light); border-radius: 12px; display: grid; place-items: center; flex: none; }
.dl__body b { display: block; color: var(--ink); }
.dl__body span { font-size: .82rem; color: var(--muted); }

/* ---------- Contact ---------- */
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.contact__info { display: grid; gap: 22px; }
.info-row { display: flex; gap: 16px; align-items: flex-start; }
.info-row__icon { font-size: 1.3rem; width: 46px; height: 46px; background: var(--sage-light); border-radius: 12px; display: grid; place-items: center; flex: none; }
.info-row b { display: block; font-family: var(--serif); font-size: 1.15rem; }
.info-row a, .info-row span { color: var(--muted); }
.map { border: 0; width: 100%; height: 100%; min-height: 380px; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.hours-box { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin-top: 6px; }
.hours-box h4 { margin-bottom: .8em; }
.hours-row { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px dashed var(--line); font-size: .95rem; }
.hours-row:last-child { border-bottom: 0; }
.hours-row span:last-child { color: var(--sage); font-weight: 500; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--sage-dark), var(--sage));
  color: #fff; border-radius: var(--radius-lg); padding: clamp(40px, 6vw, 66px);
  text-align: center; position: relative; overflow: hidden;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.85); max-width: 40em; margin: 0 auto 1.8rem; font-size: 1.1rem; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #cdd4cf; padding: 70px 0 30px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer h4 { color: #fff; font-family: var(--sans); font-size: .8rem; text-transform: uppercase; letter-spacing: .15em; margin-bottom: 1.2em; }
.footer a { color: #cdd4cf; display: block; margin-bottom: .5em; font-size: .95rem; }
.footer a:hover { color: var(--sand); }
.footer__brand .brand__name { color: #fff; }
.footer__brand p { font-size: .95rem; color: #9aa39d; max-width: 30em; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .85rem; color: #9aa39d; }
.footer__bottom a { display: inline; }

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

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .hero__grid, .about__grid, .contact__grid { grid-template-columns: 1fr; }
  .hero__visual { order: -1; max-width: 420px; margin: 0 auto; }
  .cards, .quotes { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .nav__links {
    position: fixed; inset: 0 0 0 auto; width: min(80vw, 320px);
    background: var(--cream); flex-direction: column; align-items: flex-start;
    padding: 100px 32px; gap: 22px; transform: translateX(100%); transition: transform .35s ease;
    box-shadow: var(--shadow-md);
  }
  .nav__links.open { transform: none; }
  .nav__toggle { display: block; z-index: 101; }
  .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); }
  .cards, .quotes, .downloads, .footer__grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  body { font-size: 16px; }
  .brand__logo, .header.scrolled .brand__logo { height: 110px; }
}
