/* =========================================================
   Ernährungsberatung – Stylesheet
   Farbwelt: warmes Creme, Salbeigrün, sanftes Rosé
   ========================================================= */

:root {
  --green-900: #2f4233;
  --green-700: #4a6b54;
  --green-500: #6f9a78;
  --green-100: #e3ede4;
  --rose-500: #c98a8a;
  --rose-100: #f4e4e2;
  --cream: #faf6f0;
  --cream-dark: #f1ebe1;
  --ink: #2c2a27;
  --ink-soft: #5a5650;
  --white: #ffffff;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 14px 40px -18px rgba(47, 66, 51, 0.35);
  --shadow-sm: 0 6px 20px -12px rgba(47, 66, 51, 0.4);
  --maxw: 1120px;
  --font-head: "Fraunces", Georgia, serif;
  --font-body: "Nunito Sans", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--green-700); }

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 500;
  line-height: 1.15;
  color: var(--green-900);
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); letter-spacing: -0.5px; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.25rem; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 1.25rem; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--green-500);
  margin: 0 0 0.5rem;
}

.lead { font-size: 1.15rem; color: var(--ink-soft); }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--green-900); color: #fff; padding: 0.6rem 1rem; z-index: 999;
}
.skip-link:focus { left: 0.5rem; top: 0.5rem; border-radius: 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.98rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn-primary { background: var(--green-700); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--green-900); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--green-900); border-color: var(--green-500); }
.btn-ghost:hover { background: var(--green-100); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 246, 240, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--cream-dark);
}
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 0.55rem; text-decoration: none; font-family: var(--font-head); font-size: 1.25rem; font-weight: 600; color: var(--green-900); }
.brand-mark { width: 2rem; height: 2rem; flex: 0 0 auto; }
.brand-accent { color: var(--green-700); }

.nav-menu { list-style: none; display: flex; align-items: center; gap: 1.6rem; margin: 0; padding: 0; }
.nav-menu a { text-decoration: none; color: var(--ink); font-weight: 600; font-size: 0.97rem; }
.nav-menu a:hover { color: var(--green-700); }
.nav-cta { background: var(--green-700); color: #fff !important; padding: 0.5rem 1.1rem; border-radius: 999px; }
.nav-cta:hover { background: var(--green-900); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--green-900); border-radius: 2px; transition: 0.25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Sections ---------- */
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section-tint { background: var(--green-100); }
.section-head { max-width: 640px; margin: 0 auto 2.5rem; text-align: center; }
.section-intro { color: var(--ink-soft); font-size: 1.08rem; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }

/* ---------- Hero ---------- */
.hero { padding: clamp(2.5rem, 6vw, 5rem) 0; background: linear-gradient(160deg, var(--cream) 0%, var(--rose-100) 100%); }
.hero-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin: 1.6rem 0 1.4rem; }
.hero-badges { list-style: none; display: flex; flex-wrap: wrap; gap: 0.6rem; padding: 0; margin: 0; }
.hero-badges li { background: var(--white); border: 1px solid var(--cream-dark); padding: 0.4rem 0.9rem; border-radius: 999px; font-weight: 600; font-size: 0.9rem; box-shadow: var(--shadow-sm); }

.hero-image-placeholder, .image-placeholder {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  background: repeating-linear-gradient(45deg, var(--green-100), var(--green-100) 14px, #d8e4da 14px, #d8e4da 28px);
  display: grid; place-items: center;
  color: var(--green-700); font-weight: 700;
  box-shadow: var(--shadow);
  border: 2px dashed var(--green-500);
}
.image-placeholder { aspect-ratio: 1 / 1; }

.hero-photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }

.about-photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; border-radius: var(--radius); box-shadow: var(--shadow); }

/* Foto oben am Text ausrichten (statt vertikal zentriert) */
#ueber-mich .grid-2 { align-items: start; }

/* Siegel zentriert unter beiden Spalten */
#ueber-mich .ecodemy-badge { margin-top: 2.4rem; }

/* ---------- About ---------- */
.check-list { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; gap: 0.6rem; }
.check-list li { padding-left: 1.9rem; position: relative; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: #fff; background: var(--green-500); width: 1.3rem; height: 1.3rem; border-radius: 50%; display: grid; place-items: center; font-size: 0.8rem; font-weight: 700; }

/* ---------- ecodemy-Siegel ---------- */
.ecodemy-badge { margin: 1.8rem 0 0; text-align: center; }
.ecodemy-badge img { width: 250px; max-width: 100%; height: auto; display: inline-block; border-radius: 10px; box-shadow: var(--shadow-sm); }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.4rem; }
.card { background: var(--white); border-radius: var(--radius); padding: 1.8rem 1.6rem; box-shadow: var(--shadow); border: 1px solid rgba(255,255,255,0.6); transition: transform 0.18s ease; }
.card:hover { transform: translateY(-4px); }
.card-icon { font-size: 2rem; margin-bottom: 0.6rem; }
.card p { color: var(--ink-soft); margin: 0; }
.leistungen-note { text-align: center; max-width: 700px; margin: 2.5rem auto 0; color: var(--ink-soft); font-size: 0.98rem; }

/* ---------- Preise ---------- */
.pricing { max-width: 640px; margin: 2.8rem auto 0; background: var(--white); border-radius: var(--radius); padding: 2rem 1.8rem; box-shadow: var(--shadow); }
.pricing-title { text-align: center; margin-top: 0; }
.price-list { list-style: none; padding: 0; margin: 0; }
.price-list li { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: 0.9rem 0; border-bottom: 1px solid var(--cream-dark); }
.price-list li:last-child { border-bottom: 0; }
.price-name { font-weight: 600; color: var(--ink); }
.price-name small { font-weight: 400; color: var(--ink-soft); }
.price-tag { font-family: var(--font-head); font-weight: 600; font-size: 1.2rem; color: var(--green-700); white-space: nowrap; }
.price-note { margin: 1.4rem 0 0; padding-top: 1.2rem; border-top: 1px dashed var(--green-500); font-size: 0.9rem; color: var(--ink-soft); }

/* ---------- Steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.4rem; counter-reset: step; }
.steps li { background: var(--white); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow-sm); position: relative; }
.steps h3 { margin-top: 0.6rem; }
.steps p { color: var(--ink-soft); margin: 0; }
.step-num { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--rose-100); color: var(--rose-500); font-family: var(--font-head); font-weight: 600; font-size: 1.2rem; }

/* ---------- Booking ---------- */
.booking-embed { max-width: 860px; margin: 0 auto; }
#cal-inline { border-radius: var(--radius); overflow: auto; box-shadow: var(--shadow); background: var(--white); }
.booking-fallback { text-align: center; margin: 1.4rem 0 0; color: var(--ink-soft); }

.consent-box {
  background: var(--white); border: 2px dashed var(--green-500); border-radius: var(--radius);
  padding: 2.5rem 1.8rem; text-align: center; box-shadow: var(--shadow);
}
.consent-title { font-family: var(--font-head); font-size: 1.3rem; color: var(--green-900); margin-top: 0; }
.consent-box p { color: var(--ink-soft); max-width: 560px; margin-inline: auto; }
.consent-box .btn { margin-top: 1rem; }
.consent-hint { font-size: 0.82rem; margin: 0.9rem auto 0; }

/* ---------- Contact ---------- */
.contact-box {
  max-width: 560px; margin: 0 auto; text-align: center;
  background: var(--white); border-radius: var(--radius);
  padding: 2.5rem 1.8rem; box-shadow: var(--shadow);
}
.contact-box > .btn { margin-bottom: 1.6rem; }
.contact-list { list-style: none; padding: 0; margin: 0; display: inline-grid; gap: 0.8rem; text-align: left; }
.contact-list li { display: flex; align-items: center; gap: 0.7rem; }
.contact-list a { color: var(--ink); text-decoration: none; }
.contact-list a:hover { color: var(--green-700); }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-900); color: #e9efe9; padding: 2.5rem 0; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; }
.footer-brand { font-family: var(--font-head); font-size: 1.1rem; margin: 0; }
.footer-nav { display: flex; gap: 1.4rem; }
.footer-nav a { color: #e9efe9; text-decoration: none; font-weight: 600; }
.footer-nav a:hover { color: #fff; text-decoration: underline; }
.footer-copy { width: 100%; font-size: 0.85rem; color: #b9c8bc; margin: 0.5rem 0 0; }

/* ---------- Legal pages ---------- */
.legal { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.legal .container { max-width: 760px; }
.legal h1 { margin-bottom: 1.5rem; }
.legal h2 { font-size: 1.35rem; margin-top: 2.2rem; }
.legal h3 { font-size: 1.1rem; margin-top: 1.4rem; }
.legal p, .legal li { color: var(--ink-soft); }
.legal a { word-break: break-word; }
.back-link { display: inline-block; margin-bottom: 1.5rem; font-weight: 600; text-decoration: none; }
.back-link:hover { text-decoration: underline; }
.legal-note { background: var(--rose-100); border-left: 4px solid var(--rose-500); padding: 1rem 1.2rem; border-radius: var(--radius-sm); font-size: 0.92rem; }

/* ---------- Responsive ---------- */
@media (max-width: 820px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--cream); border-bottom: 1px solid var(--cream-dark);
    padding: 0.5rem 1.25rem 1.25rem;
    transform: translateY(-120%); opacity: 0; pointer-events: none; transition: 0.25s;
  }
  .nav-menu.open { transform: translateY(0); opacity: 1; pointer-events: auto; box-shadow: var(--shadow); }
  .nav-menu li { width: 100%; }
  .nav-menu a { display: block; padding: 0.8rem 0; width: 100%; }
  .nav-menu .nav-cta { display: block; width: 100%; text-align: center; padding: 0.7rem 1.1rem; margin-top: 0.6rem; }
  .hero-inner, .grid-2 { grid-template-columns: 1fr; }
  .hero-image { order: -1; max-width: 320px; margin-inline: auto; }
}
