/* =========================================================
   Kristina Eckel – Ayurveda Website
   Design-Tokens 1:1 aus dem Original (Hostinger Horizons Build)
   übernommen: DM Sans, Farbpalette (HSL), Radius.
   ========================================================= */

:root {
  --background: hsl(30 25% 98%);
  --foreground: hsl(210 43% 44%);

  --card: hsl(30 20% 97%);
  --card-foreground: hsl(210 43% 44%);

  --primary: hsl(210 43% 47%);
  --primary-foreground: hsl(30 25% 98%);

  --secondary: hsl(18 68% 52%);
  --secondary-foreground: hsl(30 25% 98%);

  --muted: hsl(30 15% 92%);
  --muted-foreground: hsl(25 20% 35%);

  --accent: hsl(40 85% 55%);
  --accent-foreground: hsl(25 30% 15%);

  --destructive: hsl(0 84.2% 60.2%);
  --destructive-foreground: hsl(0 0% 98%);

  --border: hsl(30 20% 85%);
  --ring: hsl(210 43% 47%);

  --radius: 0.75rem;
  --font-sans: "DM Sans", system-ui, sans-serif;

  --container-width: 1120px;
  --shadow-sm: 0 1px 2px rgba(37, 46, 63, 0.06);
  --shadow-md: 0 8px 24px rgba(37, 46, 63, 0.08);
  --shadow-lg: 0 20px 45px rgba(37, 46, 63, 0.12);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: -9999px; top: 0; background: var(--primary);
  color: var(--primary-foreground); padding: 0.75rem 1.25rem; z-index: 200;
  border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { left: 0; }

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: hsl(30 25% 98% / 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 4.5rem;
}
.brand {
  font-weight: 700; font-size: 1.25rem; color: var(--primary);
  letter-spacing: -0.01em;
}
.primary-nav {
  display: flex; align-items: center; gap: 0.25rem;
}
.primary-nav a {
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted-foreground);
  transition: background 0.15s ease, color 0.15s ease;
}
.primary-nav a:hover { color: var(--primary); background: var(--muted); }
.primary-nav a.active { color: var(--primary-foreground); background: var(--primary); }

.nav-toggle {
  display: none; flex-direction: column; gap: 4px;
  background: none; border: none; cursor: pointer; padding: 0.5rem;
}
.nav-toggle-bar {
  width: 22px; height: 2px; background: var(--primary); border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .primary-nav {
    position: absolute; top: 4.5rem; left: 0; right: 0;
    background: var(--background);
    flex-direction: column; align-items: stretch;
    padding: 0.75rem 1.5rem 1.25rem;
    border-bottom: 1px solid var(--border);
    display: none;
    box-shadow: var(--shadow-md);
  }
  .primary-nav.open { display: flex; }
  .primary-nav a { padding: 0.75rem 1rem; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn-primary {
  background: var(--primary); color: var(--primary-foreground);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { box-shadow: var(--shadow-md); transform: translateY(-1px); }
.btn-outline {
  background: transparent; color: var(--primary); border-color: var(--primary);
}
.btn-outline:hover { background: var(--muted); }
.btn-block { width: 100%; }

/* ---------- Page header (Hero for inner pages) ---------- */
.page-header {
  position: relative;
  padding: 5rem 0 4rem;
  overflow: hidden;
  text-align: center;
  background: var(--muted);
}
.page-header.with-image { color: var(--primary); }
.page-header .bg-image {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  opacity: 0.18;
}
.page-header .bg-fade {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to bottom, hsl(30 25% 98% / 0.75), var(--background));
}
.page-header .content { position: relative; z-index: 2; }
.page-header h1 {
  font-size: clamp(2.1rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.02em;
}
.page-header p {
  margin-top: 0.9rem;
  font-size: 1.15rem;
  color: var(--muted-foreground);
  max-width: 40rem;
  margin-left: auto; margin-right: auto;
}

/* ---------- Hero (Home) ---------- */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  overflow: hidden;
}
.hero .bg-image {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}
.hero .bg-fade {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to bottom, hsl(30 25% 98% / 0.8), hsl(30 25% 98% / 0.7), var(--background));
}
.hero .content { position: relative; z-index: 2; max-width: 46rem; padding: 0 1.5rem; }
.hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 3.75rem);
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.hero .subtitle {
  margin-top: 1.25rem;
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--secondary);
}
.hero .lead {
  margin-top: 1.25rem;
  font-size: 1.1rem;
  color: var(--muted-foreground);
}
.hero .btn { margin-top: 2rem; }

/* ---------- Sections ---------- */
section { padding: 5rem 0; }
section.alt { background: var(--card); }
.section-head { text-align: center; max-width: 40rem; margin: 0 auto 3rem; }
.section-head h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.01em;
}
.section-head p { margin-top: 0.85rem; color: var(--muted-foreground); font-size: 1.05rem; }
.section-head.left { text-align: left; margin: 0 0 2.5rem; }

.prose { max-width: 42rem; }
.prose p + p { margin-top: 1rem; }
.prose.center { margin: 0 auto; text-align: center; }

/* ---------- Grids ---------- */
.grid { display: grid; gap: 1.75rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; }
}

/* ---------- Cards ---------- */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}
.card.center { text-align: center; }
.icon-badge {
  width: 3.25rem; height: 3.25rem;
  border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  background: hsl(210 43% 47% / 0.12);
  color: var(--primary);
  margin-bottom: 1.25rem;
}
.icon-badge.secondary { background: hsl(18 68% 52% / 0.14); color: var(--secondary); }
.icon-badge.accent { background: hsl(40 85% 55% / 0.18); color: color-mix(in srgb, var(--accent) 70%, #7a5a10); }
.card h3 { font-size: 1.2rem; font-weight: 700; color: var(--primary); margin-bottom: 0.6rem; }
.card p { color: var(--muted-foreground); }

.feature-list { margin-top: 1.1rem; display: flex; flex-direction: column; gap: 0.5rem; }
.feature-list li { display: flex; align-items: flex-start; gap: 0.6rem; color: var(--muted-foreground); }
.feature-list svg { flex: none; margin-top: 0.2rem; color: var(--secondary); }

/* ---------- About: story split ---------- */
.split {
  display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 3rem; align-items: center;
}
.split img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  width: 100%; height: 100%; object-fit: cover;
  aspect-ratio: 4 / 5;
}
.split h2 { font-size: clamp(1.6rem, 3vw, 2rem); font-weight: 700; color: var(--primary); margin-bottom: 1rem; }
@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; }
  .split img { aspect-ratio: 16 / 10; }
}

/* ---------- Doshas ---------- */
.dosha-card { border-top: 4px solid var(--primary); }
.dosha-card.pitta { border-top-color: var(--secondary); }
.dosha-card.kapha { border-top-color: var(--accent); }
.dosha-card ul { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.5rem; }
.dosha-card li { padding-left: 1.1rem; position: relative; color: var(--muted-foreground); font-size: 0.95rem; }
.dosha-card li::before {
  content: ""; position: absolute; left: 0; top: 0.55em;
  width: 6px; height: 6px; border-radius: 999px; background: currentColor; opacity: 0.5;
}

/* ---------- Two column info boxes ---------- */
.info-box {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 2rem;
}
.info-box h3 { color: var(--primary); font-size: 1.15rem; font-weight: 700; margin-bottom: 1rem; }
.info-box ul { display: flex; flex-direction: column; gap: 0.7rem; }
.info-box li { display: flex; gap: 0.6rem; color: var(--muted-foreground); }
.info-box li svg { flex: none; color: var(--primary); margin-top: 0.2rem; }

/* ---------- Process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; counter-reset: step; }
@media (max-width: 720px) { .steps { grid-template-columns: 1fr; } }
.step { text-align: center; }
.step-number {
  width: 3rem; height: 3rem; border-radius: 999px;
  background: var(--primary); color: var(--primary-foreground);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.15rem;
  margin: 0 auto 1.25rem;
}
.step h3 { color: var(--primary); font-weight: 700; margin-bottom: 0.5rem; }
.step p { color: var(--muted-foreground); }

/* ---------- Pricing ---------- */
.price-card {
  display: flex; flex-direction: column;
  position: relative;
}
.price-card.featured {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  margin-top: -0.5rem;
  padding-bottom: 2.5rem;
}
.price-badge {
  position: absolute; top: -0.9rem; left: 50%; transform: translateX(-50%);
  background: var(--secondary); color: var(--secondary-foreground);
  font-size: 0.8rem; font-weight: 700; padding: 0.3rem 0.9rem; border-radius: 999px;
  white-space: nowrap;
}
.price-card .duration { color: var(--muted-foreground); font-size: 0.9rem; margin-top: 0.25rem; }
.price-card .price { font-size: 2.5rem; font-weight: 700; color: var(--primary); margin: 1rem 0 1.25rem; }
.price-card .price span { font-size: 1rem; font-weight: 500; color: var(--muted-foreground); }
.price-card ul { flex: 1; display: flex; flex-direction: column; gap: 0.65rem; margin-bottom: 1.75rem; }
.price-card li { display: flex; gap: 0.55rem; font-size: 0.95rem; color: var(--muted-foreground); }
.price-card li svg { flex: none; color: var(--secondary); margin-top: 0.2rem; }
.price-footnote { text-align: center; color: var(--muted-foreground); font-size: 0.9rem; margin-top: 1.5rem; margin-bottom: 2rem; }

.info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
@media (max-width: 720px) { .info-grid { grid-template-columns: 1fr; } }
.info-item h3 { color: var(--primary); font-weight: 700; margin-bottom: 0.5rem; font-size: 1.05rem; }
.info-item p { color: var(--muted-foreground); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 3rem; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-item { display: flex; gap: 1rem; margin-bottom: 1.75rem; }
.contact-item .icon-badge { margin-bottom: 0; flex: none; }
.contact-item h3 { font-size: 1.05rem; color: var(--primary); font-weight: 700; margin-bottom: 0.3rem; }
.contact-item p { color: var(--muted-foreground); }
.contact-item a:hover { color: var(--primary); }

.form-field { margin-bottom: 1.25rem; }
.form-field label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 0.4rem; color: var(--foreground); }
.form-field input,
.form-field textarea {
  width: 100%;
  font-family: inherit; font-size: 1rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--background);
  color: var(--foreground);
}
.form-field input:focus, .form-field textarea:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 3px hsl(210 43% 47% / 0.15);
}
.form-field textarea { resize: vertical; min-height: 8rem; }
.form-hint { margin-top: 1rem; font-size: 0.85rem; color: var(--muted-foreground); }
.form-success, .form-error {
  margin-bottom: 1.25rem; padding: 0.9rem 1.1rem; border-radius: var(--radius);
  font-size: 0.95rem;
  display: none;
}
.form-success { background: hsl(140 45% 92%); color: hsl(140 45% 25%); }
.form-error { background: hsl(0 70% 95%); color: hsl(0 60% 32%); }
.form-error a { text-decoration: underline; }
.form-success.visible, .form-error.visible { display: block; }

/* Honeypot: für echte Nutzer:innen unsichtbar und nicht per Tab erreichbar,
   bleibt aber im DOM, damit Formular-Bots es ausfüllen. */
.form-field-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---------- Legal pages ---------- */
.legal-page { padding: 4rem 0 6rem; }
.legal-page .back-link { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--primary); font-weight: 600; margin-bottom: 2rem; }
.legal-page h1 { font-size: 2rem; font-weight: 700; color: var(--primary); margin-bottom: 2rem; }
.legal-page h2 { font-size: 1.2rem; font-weight: 700; color: var(--primary); margin: 2rem 0 0.75rem; }
.legal-page p { margin-bottom: 1rem; color: var(--muted-foreground); }
.legal-page ul { margin: 0 0 1rem; padding-left: 1.25rem; list-style: disc; color: var(--muted-foreground); }
.legal-page li { margin-bottom: 0.35rem; }
.legal-page address { font-style: normal; color: var(--muted-foreground); margin-bottom: 1rem; }
.legal-page a { color: var(--primary); text-decoration: underline; text-underline-offset: 2px; }
.legal-page a:hover { color: var(--secondary); }

/* ---------- Not found ---------- */
.not-found { text-align: center; padding: 7rem 0; }
.not-found h1 { font-size: 5rem; color: var(--primary); font-weight: 700; }
.not-found p { margin: 1rem 0 2rem; color: var(--muted-foreground); font-size: 1.15rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--card);
  border-top: 1px solid var(--border);
  padding-top: 3.5rem;
  /* Zusätzlicher Abstand unten, damit der fixierte Buchungs-Button (.booking-fab)
     unten rechts nicht die Datenschutz-/Impressum-Links überlagert. */
  padding-bottom: 6rem;
  color: var(--muted-foreground);
}
@media (max-width: 640px) {
  .site-footer { padding-bottom: 7.5rem; }
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem;
  padding-bottom: 2.5rem;
}
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-title { font-weight: 700; color: var(--primary); font-size: 1.15rem; margin-bottom: 0.75rem; }
.footer-heading { font-weight: 700; color: var(--primary); margin-bottom: 0.9rem; }
.footer-nav { display: flex; flex-direction: column; gap: 0.55rem; }
.footer-nav a:hover, .footer-col a:hover { color: var(--primary); }
.footer-col p { margin-bottom: 0.55rem; }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 1.5rem 0;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.75rem;
  font-size: 0.9rem;
}
.footer-legal { display: flex; gap: 1.25rem; }
.footer-legal a:hover { color: var(--primary); }

/* ---------- Booking Floating Action Button ---------- */
.booking-fab {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 150;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 1.4rem;
  background: var(--secondary);
  color: var(--secondary-foreground);
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  box-shadow: var(--shadow-lg);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.booking-fab:hover, .booking-fab:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 24px 50px rgba(37, 46, 63, 0.2);
}
.booking-fab-icon {
  display: inline-flex;
  flex: none;
  line-height: 0;
}

@media (max-width: 640px) {
  .booking-fab {
    right: 1rem;
    bottom: 1rem;
    max-width: 11.5rem;
    padding: 0.8rem 1.1rem;
    border-radius: 1.1rem;
    font-size: 0.85rem;
    text-align: left;
    line-height: 1.25;
  }
}

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-lg { margin-top: 3rem; }
