/* ============================================
   SHARED.CSS – Sarah Müller Demo-Website
   Gemeinsame Styles für alle 5 Seiten
   ============================================ */

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

:root {
  --bg:    #f8f5ef;
  --bg2:   #f2ede4;
  --weiss: #ffffff;
  --g1:    #2c3e2c;
  --g2:    #3d6b4a;
  --g3:    #4a7c59;
  --g4:    #7aab8a;
  --g5:    #c8dcc8;
  --g6:    #e8f2e8;
  --g7:    #f2f8f2;
  --txt1:  #2c3e2c;
  --txt2:  #5a6e5a;
  --txt3:  #8a9e8a;
  --red:        #e05a5a;
  --red-bg:     #fef2f2;
  --red-border: #fecaca;
  --amber:        #b45309;
  --amber-bg:     #fffbeb;
  --amber-border: #fde68a;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--txt1);
  overflow-x: hidden;
  min-height: 100vh;
  font-size: 16px;
  line-height: 1.7;
}

/* ============================================
   DEMO BANNER
   ============================================ */
.demo-banner {
  background: var(--g1);
  color: rgba(255,255,255,0.65);
  text-align: center;
  padding: 10px 24px;
  font-size: 12px;
  letter-spacing: 0.05em;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.demo-banner span { color: var(--g4); font-weight: 500; }

/* ============================================
   NAV (Standard – für index, anamnese, vertrag, danke)
   ============================================ */
nav {
  background: rgba(248,245,239,0.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--g5);
  padding: 1rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  color: var(--txt1);
  text-decoration: none;
}
.nav-logo span { color: var(--g3); font-style: italic; }
.nav-links { display: flex; gap: 2.5rem; align-items: center; }
.nav-links a { color: var(--txt2); text-decoration: none; font-size: .88rem; transition: color .2s; }
.nav-links a:hover { color: var(--g3); }
.nav-cta {
  background: var(--g3);
  color: var(--weiss) !important;
  padding: .5rem 1.2rem;
  border-radius: 6px;
  font-weight: 500;
  transition: background .2s !important;
}
.nav-cta:hover { background: var(--g2) !important; }
.nav-badge {
  font-size: .75rem; color: var(--g3);
  background: var(--g6); padding: .3rem .9rem;
  border-radius: 100px; border: 1px solid var(--g5);
  font-weight: 500;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
  background: var(--g1);
  padding: 1.5rem;
  text-align: center;
  font-size: .78rem;
  color: rgba(255,255,255,0.3);
}
footer span { color: var(--g4); }
.footer-logo {
  font-family: 'Playfair Display', serif;
  color: #fff;
  font-size: 1rem;
}
.footer-logo span { color: var(--g4); font-style: italic; }
.footer-links { display: flex; justify-content: center; gap: 2rem; margin: .5rem 0; }
.footer-links a { color: rgba(255,255,255,0.35); text-decoration: none; font-size: .78rem; transition: color .2s; }
.footer-links a:hover { color: var(--g4); }
.footer-copy { font-size: .75rem; color: rgba(255,255,255,0.25); }

/* ============================================
   HERO MIT BILD (anamnese, vertrag, danke)
   ============================================ */
.hero-img-wrap {
  position: relative;
  min-height: 380px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-img-bg {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover;
  background-position: center 30%;
  filter: brightness(0.55) saturate(0.8);
}
.hero-img-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(44,62,44,0.72) 0%,
    rgba(44,62,44,0.60) 60%,
    rgba(248,245,239,0.15) 100%
  );
}
.hero-img-content {
  position: relative;
  z-index: 10;
  padding: 4rem 2rem 3.5rem;
  text-align: center;
  width: 100%;
  color: #ffffff;
}
.hero-img-content *,
.hero-img-content h1,
.hero-img-content h1 em,
.hero-img-content p,
.hero-img-content .hero-eyebrow {
  color: #ffffff !important;
  text-shadow: 0 2px 16px rgba(0,0,0,0.7);
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  color: #ffffff;
  font-size: .72rem; letter-spacing: .12em;
  text-transform: uppercase; padding: .3rem 1rem;
  border-radius: 100px; margin-bottom: 1.2rem;
}
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700; color: #ffffff !important;
  text-shadow: 0 3px 16px rgba(0,0,0,0.6);
  margin-bottom: .8rem; line-height: 1.2;
}
.hero h1 em { font-style: italic; color: #a8d8a8; text-shadow: 0 3px 16px rgba(0,0,0,0.6); }
.hero p {
  color: #ffffff !important;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
  font-size: .96rem; max-width: 480px;
  margin: 0 auto; font-weight: 300;
}
.hero-steps {
  display: flex; justify-content: center;
  gap: .6rem; flex-wrap: wrap; margin-top: 1.5rem;
}
.hero-step {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.95);
  font-size: .75rem; padding: .3rem .9rem;
  border-radius: 100px;
}
.hero-step.active {
  background: var(--g3);
  border-color: var(--g3);
  color: var(--weiss);
  font-weight: 500;
}

/* ============================================
   DEMO INFO BOX (in Hero)
   ============================================ */
.demo-info {
  max-width: 680px;
  margin: 1.5rem auto 0;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 10px;
  padding: 1rem 1.2rem;
  display: flex; gap: .8rem;
  align-items: flex-start;
  text-align: left;
}
.demo-info-text { font-size: .8rem; color: #ffffff; line-height: 1.6; }
.demo-info-text strong { color: var(--weiss); }

/* ============================================
   BUTTONS (gemeinsam)
   ============================================ */
.btn-primary {
  background: var(--g3); color: var(--weiss);
  border: none; cursor: pointer;
  padding: .85rem 1.8rem; border-radius: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: .9rem; font-weight: 500;
  transition: background .2s, transform .15s;
  text-decoration: none; display: inline-block;
}
.btn-primary:hover { background: var(--g2); transform: translateY(-2px); }

/* ============================================
   MODAL (index)
   ============================================ */
.modal-overlay {
  display: none; position: fixed; inset: 0; z-index: 1000;
  background: rgba(44,62,44,0.6); backdrop-filter: blur(4px);
  align-items: center; justify-content: center; padding: 1.5rem;
}
.modal-overlay.open { display: flex; }
.modal-box {
  background: var(--weiss); border-radius: 16px;
  padding: 2rem; max-width: 540px; width: 100%;
  max-height: 80vh; overflow-y: auto;
  box-shadow: 0 20px 60px rgba(44,62,44,0.25);
}
.modal-box h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem; margin-bottom: 1rem;
  color: var(--txt1);
}
.modal-box p { font-size: .88rem; color: var(--txt2); margin-bottom: .8rem; line-height: 1.7; }
.modal-close {
  display: block; margin-top: 1.5rem;
  background: var(--g6); border: none; cursor: pointer;
  padding: .6rem 1.4rem; border-radius: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: .84rem; color: var(--g2); font-weight: 500;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
