/* =============================================
   MAHALILA – Shared Stylesheet
   Palette: Deep forest green, warm sand, soft blush
   Typography: Cormorant Garamond (display) + Lato (body)
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Lato:wght@300;400;700&display=swap');

:root {
  --green-deep:   #2d4a3e;
  --green-mid:    #4a7c68;
  --green-light:  #d6e8df;
  --sand:         #f5f0e8;
  --blush:        #e8d5c4;
  --text-dark:    #2a2a2a;
  --text-mid:     #555;
  --text-light:   #888;
  --white:        #fff;
  --border:       #ddd;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Lato', sans-serif;
  font-size: 1.08rem;
  font-weight: 300;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.85;
}

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  line-height: 1.2;
}
h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.6rem); color: var(--green-deep); margin-bottom: 1.1rem; }
h3 { font-size: 1.55rem; color: var(--green-mid); margin-bottom: .65rem; }
p  { margin-bottom: 1.1rem; }
em { font-style: italic; }
strong { font-weight: 700; }

a { color: var(--green-mid); text-decoration: none; }
a:hover { color: var(--green-deep); text-decoration: underline; }

/* ---- NAVIGATION ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--green-deep);
  box-shadow: 0 2px 12px rgba(0,0,0,.18);
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
}
.logo-wrap img { height: 46px; width: auto; }
.logo-text {
  font-family: 'Cormorant Garamond', serif;
  color: var(--sand);
  font-size: 1.2rem;
  letter-spacing: .05em;
  line-height: 1.3;
}
.logo-text span { display: block; font-size: .8rem; color: var(--green-light); font-weight: 300; letter-spacing: .12em; }

nav { display: flex; align-items: center; gap: .1rem; }

nav a, .dropdown > a {
  color: var(--sand);
  font-size: .92rem;
  letter-spacing: .06em;
  padding: .5rem .75rem;
  border-radius: 4px;
  transition: background .2s, color .2s;
  text-decoration: none;
  white-space: nowrap;
}
nav a:hover, .dropdown:hover > a {
  background: rgba(255,255,255,.12);
  color: var(--white);
  text-decoration: none;
}
nav a.active { color: var(--blush); font-weight: 400; }

/* dropdown */
.dropdown { position: relative; }
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--green-deep);
  min-width: 200px;
  border-top: 2px solid var(--green-mid);
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
  z-index: 200;
}
.dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu a {
  display: block;
  padding: .6rem 1rem;
  color: var(--sand);
  font-size: .85rem;
}
.dropdown-menu a:hover { background: rgba(255,255,255,.1); }

/* hamburger */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--sand); margin: 5px 0; transition: .3s; }

/* ---- HERO ---- */
.hero {
  background: linear-gradient(160deg, var(--green-deep) 0%, var(--green-mid) 60%, var(--green-light) 100%);
  color: var(--white);
  padding: 6rem 1.5rem 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url('https://www.mahalila.de/images/mahalila/hintergrund/schmetterlinge.jpg') center/cover no-repeat;
  opacity: .18;
}
.hero-content { position: relative; max-width: 800px; margin: 0 auto; }
.hero h1 { font-style: italic; color: var(--white); margin-bottom: 1.5rem; text-shadow: 0 2px 12px rgba(0,0,0,.3); }
.hero-sub { font-size: 1.2rem; color: rgba(255,255,255,.88); font-weight: 300; margin-bottom: 2rem; }
.hero-quote {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.25rem;
  color: rgba(255,255,255,.78);
  line-height: 1.7;
  border-left: 3px solid var(--blush);
  padding-left: 1.2rem;
  text-align: left;
  margin: 2rem auto 0;
  max-width: 520px;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-block;
  padding: .7rem 1.8rem;
  border-radius: 50px;
  font-size: .95rem;
  letter-spacing: .08em;
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  cursor: pointer;
  text-decoration: none;
  transition: all .25s;
}
.btn-primary {
  background: var(--green-deep);
  color: var(--white);
  border: 2px solid var(--green-deep);
}
.btn-primary:hover { background: transparent; color: var(--green-deep); text-decoration: none; }
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.7);
}
.btn-outline:hover { background: rgba(255,255,255,.15); text-decoration: none; }

/* ---- SECTIONS ---- */
.section {
  padding: 4.5rem 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}
.section-alt { background: var(--sand); }
.section-alt .section { /* inner max-width inside full-bg */ }
.full-bg { padding: 4.5rem 1.5rem; }
.full-bg.alt { background: var(--sand); }
.full-bg.green { background: var(--green-deep); color: var(--white); }
.full-bg.green h2, .full-bg.green h3 { color: var(--green-light); }
.inner { max-width: 1100px; margin: 0 auto; }

/* two column */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.two-col.thirds { grid-template-columns: 2fr 1fr; }
@media(max-width: 720px) { .two-col, .two-col.thirds { grid-template-columns: 1fr; } }

/* cards */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.8rem;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  transition: box-shadow .2s, transform .2s;
}
.card:hover { box-shadow: 0 6px 24px rgba(0,0,0,.12); transform: translateY(-2px); }
.card h3 { margin-bottom: .5rem; }

/* testimonials */
.testimonials { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }
.testimonial {
  background: var(--white);
  border-left: 3px solid var(--green-mid);
  padding: 1.5rem;
  border-radius: 0 8px 8px 0;
  font-style: italic;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.testimonial cite { display: block; font-style: normal; font-size: .9rem; color: var(--text-light); margin-top: .75rem; font-weight: 700; }

/* divider */
.divider { border: none; border-top: 1px solid var(--border); margin: 1.5rem 0; }
.section-label {
  font-size: .8rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--green-mid);
  margin-bottom: .4rem;
}

/* image */
.img-round { border-radius: 12px; max-width: 100%; box-shadow: 0 4px 20px rgba(0,0,0,.12); }

/* price box */
.price-box {
  background: var(--green-light);
  border-radius: 10px;
  padding: 1.8rem;
  margin: 1.5rem 0;
}
.price-box h3 { color: var(--green-deep); }
.price { font-size: 1.5rem; font-family: 'Cormorant Garamond', serif; color: var(--green-deep); font-weight: 600; }

/* list clean */
ul.clean { list-style: none; padding: 0; }
ul.clean li { padding: .3rem 0; padding-left: 1.4rem; position: relative; }
ul.clean li::before { content: '›'; position: absolute; left: 0; color: var(--green-mid); font-size: 1.1rem; }

/* bullet arrows */
ul.arrows { list-style: none; padding: 0; }
ul.arrows li { padding: .4rem 0 .4rem 1.6rem; position: relative; border-bottom: 1px solid var(--green-light); }
ul.arrows li::before { content: '▷'; position: absolute; left: 0; color: var(--green-mid); }

/* newsletter strip */
.newsletter-strip {
  background: var(--green-deep);
  color: var(--white);
  padding: 3rem 1.5rem;
  text-align: center;
}
.newsletter-strip h3 { color: var(--green-light); font-size: 1.6rem; margin-bottom: .5rem; }
.newsletter-strip p { color: rgba(255,255,255,.8); margin-bottom: 1.5rem; }
.newsletter-strip img { opacity: .6; margin-bottom: 1rem; height: 40px; }

/* contact form */
.contact-form { max-width: 560px; }
.form-group { margin-bottom: 1.2rem; }
.form-group label { display: block; font-size: .85rem; letter-spacing: .05em; margin-bottom: .3rem; color: var(--text-mid); }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: .75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-family: 'Lato', sans-serif;
  font-size: .95rem;
  background: var(--sand);
  transition: border-color .2s;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--green-mid);
  background: var(--white);
}
.form-group textarea { min-height: 130px; resize: vertical; }

/* contact info */
.contact-info { font-size: 1rem; line-height: 2; }
.contact-info a { color: var(--green-mid); }

/* ---- FOOTER ---- */
.site-footer {
  background: #1a2e28;
  color: rgba(255,255,255,.65);
  padding: 2rem 1.5rem;
  font-size: .9rem;
  text-align: center;
}
.footer-inner { max-width: 1100px; margin: 0 auto; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.2rem; margin-bottom: .8rem; }
.footer-links a { color: rgba(255,255,255,.55); }
.footer-links a:hover { color: var(--white); }
.footer-copy { color: rgba(255,255,255,.38); }

/* ---- PAGE HERO (inner pages) ---- */
.page-hero {
  background: linear-gradient(135deg, var(--green-deep) 0%, var(--green-mid) 100%);
  padding: 4rem 1.5rem 3rem;
  text-align: center;
}
.page-hero h1 { color: var(--white); font-size: clamp(1.8rem, 4vw, 2.8rem); font-style: italic; }
.page-hero p { color: rgba(255,255,255,.78); font-size: 1.05rem; margin-top: .5rem; }

/* ---- MOBILE ---- */
@media (max-width: 900px) {
  nav { display: none; flex-direction: column; position: fixed; top: 70px; left: 0; right: 0; background: var(--green-deep); padding: 1rem; z-index: 200; }
  nav.open { display: flex; }
  .dropdown-menu { position: static; box-shadow: none; border: none; background: rgba(0,0,0,.15); }
  .dropdown:hover .dropdown-menu { display: none; }
  .dropdown.open .dropdown-menu { display: block; }
  .nav-toggle { display: block; }
}

/* Fließtext um Bild */
.float-text::after { content: ''; display: table; clear: both; }

.img-float-right {
  float: right;
  width: 42%;
  margin: .3rem 0 1.5rem 2.5rem;
  object-fit: cover;
  max-height: 420px;
}

@media (max-width: 640px) {
  .img-float-right {
    float: none;
    width: 100%;
    margin: 0 0 1.5rem 0;
    max-height: 260px;
  }
}

/* Qualifikationen Grid */
.quali-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .5rem 2rem;
  max-width: 900px;
}
.quali-grid li {
  border-bottom: 1px solid var(--green-light);
  padding-bottom: .5rem;
}
@media (max-width: 640px) {
  .quali-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .hero { padding: 4rem 1rem 3rem; }
  .section { padding: 3rem 1rem; }
  .full-bg { padding: 3rem 1rem; }
}
