/* ============================================================
   mahalila.de — Shared Stylesheet
   Palette: Waldgrün · Warmsand · Soft Blush · Creme
   Fonts: Cormorant Garamond (Display) · Lato (Body)
   ============================================================ */

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

/* ── CSS VARIABLES ── */
:root {
  --forest:       #3E5E3F;
  --forest-dark:  #2C4530;
  --forest-light: #6A8F6B;
  --sage:         #8FAF86;
  --sage-light:   #C2D9BB;
  --sand:         #C4A052;
  --sand-light:   #E8D4A8;
  --blush:        #C49090;
  --blush-light:  #E8C8C0;
  --cream:        #FAF7F2;
  --cream-alt:    #F2ECE4;
  --ink:          #2C2218;
  --ink-mid:      #5C4A3A;
  --ink-mute:     #8A7A6A;
  --white:        #FFFFFF;

  --radius:       2px;
  --transition:   0.25s ease;
  --shadow:       0 4px 24px rgba(44,34,24,0.10);
  --shadow-lg:    0 12px 48px rgba(44,34,24,0.15);
}

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

html {
  scroll-behavior: smooth;
  font-size: 17px;
}

body {
  font-family: 'Lato', sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--forest); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--sand); }
ul { list-style: none; }

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  line-height: 1.2;
  color: var(--ink);
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); margin-bottom: 24px; }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); margin-bottom: 16px; }

.lead {
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--ink-mid);
  line-height: 1.9;
}

/* ── LAYOUT ── */
.container       { max-width: 860px;  margin: 0 auto; padding: 0 32px; }
.container-wide  { max-width: 1100px; margin: 0 auto; padding: 0 32px; }
.container-full  { max-width: 1280px; margin: 0 auto; padding: 0 32px; }

section { padding: 80px 0; }
section.alt { background: var(--cream-alt); }
section.dark { background: var(--forest-dark); color: var(--cream); }
section.dark h2, section.dark h3 { color: var(--cream); }

/* ── SECTION LABELS ── */
.section-label {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--forest);
  margin-bottom: 12px;
}
.section-label::before {
  content: '— ';
  color: var(--sand);
}

/* ── DIVIDER ── */
.divider-wave { line-height: 0; overflow: hidden; }
.divider-wave svg { display: block; width: 100%; }

.divider-line {
  border: none;
  border-top: 1px solid var(--sage-light);
  margin: 48px 0;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 32px;
  font-family: 'Lato', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  border-radius: var(--radius);
}
.btn-primary {
  background: var(--forest);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--forest-dark);
  color: var(--white);
  gap: 16px;
}
.btn-outline {
  background: transparent;
  color: var(--forest);
  border: 1.5px solid var(--forest);
}
.btn-outline:hover {
  background: var(--forest);
  color: var(--white);
}
.btn-sand {
  background: var(--sand);
  color: var(--white);
}
.btn-sand:hover {
  background: #a8883e;
  color: var(--white);
  gap: 16px;
}
.btn::after { content: '→'; }

/* ── QUOTE ── */
.quote-block {
  border-left: 3px solid var(--sand);
  padding: 20px 28px;
  background: rgba(196,160,82,0.06);
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.25rem;
  color: var(--ink-mid);
  line-height: 1.7;
  margin: 40px 0;
}
.quote-block cite {
  display: block;
  font-size: 0.82rem;
  font-style: normal;
  font-family: 'Lato', sans-serif;
  color: var(--ink-mute);
  margin-top: 10px;
  letter-spacing: 0.06em;
}

/* ── PRICE CARD ── */
.price-card {
  border: 1px solid var(--sage-light);
  border-top: 3px solid var(--forest);
  padding: 32px;
  background: var(--white);
}
.price-amount {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.4rem;
  color: var(--forest);
  line-height: 1;
  margin: 8px 0 4px;
}
.price-label {
  font-size: 0.8rem;
  color: var(--ink-mute);
  font-weight: 300;
}

/* ── INFO BOX ── */
.info-box {
  background: var(--cream-alt);
  border-left: 3px solid var(--forest);
  padding: 28px 32px;
  margin: 32px 0;
}
.info-box p { font-size: 0.92rem; color: var(--ink-mid); margin: 0; }

/* ── NAV ── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(250,247,242,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--sage-light);
  padding: 0 40px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}
.nav-logo img {
  height: 46px;
  width: auto;
}
.nav-logo-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-weight: 300;
  color: var(--ink);
  letter-spacing: 0.08em;
  line-height: 1.2;
}
.nav-logo-text span {
  display: block;
  font-size: 0.7rem;
  font-family: 'Lato', sans-serif;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--forest-light);
  font-weight: 400;
  font-style: normal;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links > li {
  position: relative;
}

.nav-links > li > a,
.nav-links > li > button {
  font-family: 'Lato', sans-serif;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mid);
  text-decoration: none;
  padding: 8px 12px;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: color var(--transition);
  white-space: nowrap;
}
.nav-links > li > a:hover,
.nav-links > li > button:hover { color: var(--forest); }
.nav-links > li > a.active    { color: var(--forest); font-weight: 700; }

/* Dropdown */
.nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border: 1px solid var(--sage-light);
  border-top: 2px solid var(--forest);
  min-width: 230px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s, transform 0.2s;
  transform: translateX(-50%) translateY(-6px);
}
.nav-links > li:hover .nav-dropdown,
.nav-links > li:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown a {
  display: block;
  padding: 12px 20px;
  font-size: 0.82rem;
  color: var(--ink-mid);
  border-bottom: 1px solid var(--cream-alt);
  transition: background var(--transition), color var(--transition);
}
.nav-dropdown a:last-child { border-bottom: none; }
.nav-dropdown a:hover { background: var(--cream-alt); color: var(--forest); }

.nav-caret { font-size: 0.6rem; }

/* Kontakt-Button in Nav */
.nav-btn {
  background: var(--forest) !important;
  color: var(--white) !important;
  padding: 8px 18px !important;
  border-radius: var(--radius);
}
.nav-btn:hover {
  background: var(--forest-dark) !important;
  color: var(--white) !important;
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  transition: all 0.25s;
}

/* Page offset for fixed nav */
.nav-offset { padding-top: 68px; }

/* ── MOBILE NAV ── */
@media (max-width: 900px) {
  .site-nav { padding: 0 24px; }
  .nav-hamburger { display: flex; }
  .nav-links {
    display: none;
    position: fixed;
    top: 68px; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    gap: 0;
    border-bottom: 1px solid var(--sage-light);
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links > li { width: 100%; }
  .nav-links > li > a,
  .nav-links > li > button {
    padding: 14px 0;
    border-bottom: 1px solid var(--cream-alt);
    width: 100%;
    justify-content: space-between;
  }
  .nav-dropdown {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    border: none;
    border-left: 2px solid var(--sage-light);
    margin-left: 16px;
    display: none;
  }
  .nav-links > li.open .nav-dropdown { display: block; }
  .nav-btn { margin-top: 16px; }
}

/* ── PAGE HERO ── */
.page-hero {
  background: var(--forest-dark);
  padding: 80px 0 64px;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  right: -80px; bottom: -80px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(143,175,134,0.08);
  pointer-events: none;
}
.page-hero .section-label { color: var(--sage); }
.page-hero .section-label::before { color: var(--sand); }
.page-hero h1 { color: var(--cream); font-size: clamp(2.2rem, 5vw, 3.6rem); }
.page-hero p {
  color: rgba(250,247,242,0.7);
  font-size: 1.05rem;
  font-weight: 300;
  max-width: 560px;
  margin-top: 16px;
}

/* ── NEWSLETTER SECTION ── */
.newsletter-section {
  background: var(--forest-dark);
  padding: 64px 0;
  text-align: center;
}
.newsletter-section h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  color: var(--cream);
  margin-bottom: 12px;
}
.newsletter-section p {
  font-size: 0.95rem;
  color: rgba(250,247,242,0.65);
  font-weight: 300;
  margin-bottom: 28px;
}
.newsletter-section img {
  height: 36px;
  margin: 0 auto 20px;
  opacity: 0.6;
}

/* ── FOOTER ── */
.site-footer {
  background: var(--ink);
  padding: 36px 0;
}
.site-footer .container-wide {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-copy {
  font-size: 0.78rem;
  color: rgba(250,247,242,0.4);
}
.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-links a {
  font-size: 0.78rem;
  color: rgba(250,247,242,0.4);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--sand); }

/* ── COOKIE BANNER ── */
#cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9000;
  background: var(--ink);
  color: rgba(250,247,242,0.8);
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}
#cookie-banner a { color: var(--sand-light); text-decoration: underline; }
.cookie-btn {
  background: var(--forest);
  color: var(--white);
  border: none;
  padding: 9px 22px;
  font-size: 0.8rem;
  font-family: 'Lato', sans-serif;
  letter-spacing: 0.1em;
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--transition);
}
.cookie-btn:hover { background: var(--forest-dark); }

/* ── WHATSAPP BUTTON ── */
.btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(37,211,102,0.1);
  border: 1px solid rgba(37,211,102,0.3);
  color: #2d9e52;
  padding: 11px 20px;
  font-family: 'Lato', sans-serif;
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: all var(--transition);
  border-radius: var(--radius);
}
.btn-wa::after { content: none; }
.btn-wa:hover {
  background: rgba(37,211,102,0.18);
  border-color: rgba(37,211,102,0.5);
  color: #1e7a3e;
}

/* ── UTILITY ── */
.text-center  { text-align: center; }
.text-forest  { color: var(--forest); }
.text-sand    { color: var(--sand); }
.text-mute    { color: var(--ink-mute); }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }

/* ── RESPONSIVE ── */
@media (max-width: 600px) {
  section { padding: 56px 0; }
  .container, .container-wide, .container-full { padding: 0 20px; }
  h2 { margin-bottom: 16px; }
  .site-footer .container-wide { flex-direction: column; align-items: flex-start; }
}
