/* ═══════════════════════════════════════════
   mobile.css – dein Praxisauftritt
   Geladen NACH dem inline <style> Block
   Breakpoint: 768px
   ═══════════════════════════════════════════ */

/* ── BACK-TO-TOP BUTTON ── */
#back-to-top {
  display: none;
  position: fixed;
  bottom: 24px;
  right: 20px;
  width: 44px;
  height: 44px;
  background: #4A3050;
  border: 2px solid #C9A84C;
  border-radius: 50%;
  cursor: pointer;
  z-index: 999;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(74,48,80,0.35);
  transition: background 0.2s, transform 0.2s;
}
#back-to-top.visible { display: flex; }
#back-to-top:hover { background: #C9A84C; transform: translateY(-2px); }
#back-to-top svg {
  width: 18px; height: 18px;
  stroke: #C9A84C; stroke-width: 2.5;
  fill: none; stroke-linecap: round; stroke-linejoin: round;
  transition: stroke 0.2s;
}
#back-to-top:hover svg { stroke: #fff; }

/* ── BURGER-BUTTON ── */
.burger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 200;
}
.burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: #EFEDE8;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
  transform-origin: center;
}
.burger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ── MOBILE NAV OVERLAY ── */
.nav-mobile {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #4A3050;
  z-index: 150;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  color: #EFEDE8;
  text-decoration: none;
  font-family: 'Lora', serif;
  font-size: 28px;
  font-style: italic;
  font-weight: 600;
  padding: 20px 0;
  letter-spacing: 0.04em;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  width: 80%;
  text-align: center;
  transition: color 0.2s;
}
.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile a:hover,
.nav-mobile a.active { color: #C9A84C; }
.nav-mobile .nav-cta {
  margin-top: 28px;
  background: #C9A84C;
  color: #fff !important;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-style: normal;
  padding: 14px 40px;
  border-radius: 3px;
  border-bottom: none;
  width: auto;
}

/* ═══════════════════════════════════════════
   MEDIA QUERY
   ═══════════════════════════════════════════ */
@media (max-width: 768px) {

  /* ── NAV ── */
  nav {
    padding: 16px 20px !important;
  }
  .nav-links {
    display: none !important;
  }
  .burger {
    display: flex !important;
  }

  /* ── GLOBALE ABSTÄNDE ── */
  section,
  .pakete, .pakete-section,
  .problem, .solution,
  .werte, .quali, .faq,
  .vergleich, .final-cta, .zitat,
  .testimonial-b, .story {
    padding-left: 20px !important;
    padding-right: 20px !important;
    padding-top: 52px !important;
    padding-bottom: 52px !important;
  }

  /* ── HEADINGS ── */
  h1 { font-size: 28px !important; line-height: 1.25 !important; }
  h2 { font-size: 22px !important; line-height: 1.3 !important; }
  h3 { font-size: 16px !important; }

  /* Kein Blocksatz — linksbündig wie original */
  /* Horizontales Scrollen verhindern */
  html, body {
    overflow-x: hidden !important;
    max-width: 100% !important;
  }
  * { max-width: 100%; box-sizing: border-box !important; }

  /* ══════════════════════════
     INDEX – HERO
  ══════════════════════════ */
  .hero {
    grid-template-columns: 1fr !important;  /* Accent-Bar weg */
    padding: 44px 24px 44px 24px !important;
    min-height: auto !important;
  }
  .accent-bar { display: none !important; }

  /* Hero-Foto: oben zeigen, volle Breite */
  .hero-right {
    display: block !important;
    order: -1 !important;
    height: 260px !important;
    min-height: 260px !important;
    width: 100% !important;
    grid-column: 1 !important;
  }
  .hero-right::after {
    background: linear-gradient(to top, #4A3050 0%, transparent 60%) !important;
  }
  .photo-card { display: none !important; } /* Zitat-Box auf Mobile ausblenden */
  .hero-left { padding: 0 !important; grid-column: 1 !important; order: 0 !important; }

  /* Tags */
  .hero-tags { flex-wrap: wrap; gap: 8px !important; margin-bottom: 20px !important; }

  /* Buttons */
  .cta-group {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
    margin-top: 28px !important;
  }
  .btn-primary, .btn-ghost {
    width: 100% !important;
    text-align: center !important;
    box-sizing: border-box !important;
  }
  .btn-ghost {
    border: 1px solid #4A3050 !important;
    padding: 14px 20px !important;
    display: block !important;
    border-radius: 3px !important;
  }

  /* Ghost-Button als echter Button auf Mobile */
  .btn-ghost {
    border: 1.5px solid #4A3050 !important;
    border-bottom: 1.5px solid #4A3050 !important;
    padding: 14px 20px !important;
    display: block !important;
    border-radius: 3px !important;
    text-align: center !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Trust-Bar */
  .trust {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 16px 20px !important;
    margin-top: 32px !important;
    padding-top: 28px !important;
  }
  .trust-item {
    flex: 1 1 40% !important;
    min-width: 90px !important;
  }
  .trust-item .num {
    font-size: 26px !important;
    white-space: nowrap !important;
  }
  .trust-item .lbl {
    font-size: 11px !important;
    line-height: 1.4 !important;
  }

  /* ══════════════════════════
     INDEX – LEISTUNGSSTREIFEN
  ══════════════════════════ */
  .streifen {
    flex-direction: column !important;
    padding: 0 !important;
    gap: 0 !important;
  }
  .streifen-item {
    flex: none !important;
    padding: 14px 20px !important;
    border-right: none !important;
    border-bottom: 1px solid rgba(255,255,255,0.1) !important;
    font-size: 14px !important;
  }
  .streifen-item:last-child { border-bottom: none !important; }

  /* ══════════════════════════
     INDEX – PROBLEM/LÖSUNG
  ══════════════════════════ */
  .problem {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }
  .solution {
    padding: 44px 20px !important;
    grid-column: 1 !important;
  }

  /* ══════════════════════════
     INDEX – PAKETE
  ══════════════════════════ */
  .pakete { padding: 52px 20px !important; }
  .pakete-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  .paket-card.featured { order: -1; }

  /* ══════════════════════════
     INDEX – ÜBER MICH TEASER
  ══════════════════════════ */
  .ueber {
    grid-template-columns: 1fr !important;
  }
  .ueber-foto {
    min-height: 260px !important;
    order: -1 !important;
  }
  .ueber-foto::after {
    background: linear-gradient(to bottom, transparent 40%, #4A3050 100%) !important;
  }
  .ueber-text { padding: 44px 20px !important; order: 0 !important; }

  /* ══════════════════════════
     INDEX – TESTIMONIAL SLIDER
  ══════════════════════════ */
  .testimonial-b { padding: 52px 20px !important; }
  .tb-arrow { display: none !important; } /* Swipe statt Pfeile auf Mobile */
  .tb-slide blockquote { font-size: 18px !important; line-height: 1.6 !important; }
  .tb-bigquote { font-size: 64px !important; }
  .tb-footer { margin-top: 24px !important; }

  /* ══════════════════════════
     INDEX – FINAL CTA
  ══════════════════════════ */
  .final-cta {
    padding: 52px 20px !important;
  }
  .final-cta-btns { width: 100% !important; }
  .final-cta .btn-accent {
    width: 100% !important;
    text-align: center !important;
    box-sizing: border-box !important;
  }

  /* ══════════════════════════
     FOOTER (alle Seiten)
  ══════════════════════════ */
  footer {
    flex-direction: column !important;
    gap: 20px !important;
    padding: 32px 20px !important;
    text-align: center !important;
  }
  .footer-links {
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 12px 20px !important;
  }

  /* ══════════════════════════
     PAGE HEADER (alle Unterseiten)
  ══════════════════════════ */
  .page-header {
    grid-template-columns: 1fr !important;
    padding: 44px 24px !important;
  }
  .page-header .accent-bar { display: none !important; }
  .page-header h1 { font-size: 26px !important; }
  .page-header p { font-size: 15px !important; }

  /* ══════════════════════════
     PAKETE.HTML
  ══════════════════════════ */
  .pakete-section { padding: 52px 20px !important; }
  .pakete-grid { grid-template-columns: 1fr !important; max-width: 100% !important; }

  .vergleich {
    padding: 0 20px 52px !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }
  .vergleich h2 { margin-bottom: 20px !important; }
  .vergleich-table { min-width: 460px !important; font-size: 12px !important; }

  .faq-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  /* ══════════════════════════
     UEBER-MICH.HTML
  ══════════════════════════ */
  .story {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }
  .story-right { padding: 44px 20px !important; }
  .story-left { padding: 44px 20px !important; }
  .story-item { gap: 14px !important; }

  .werte-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  .wert-card { padding: 28px 20px !important; }

  .quali-inner {
    grid-template-columns: 1fr !important;
    gap: 36px !important;
  }

  .zitat blockquote { font-size: 18px !important; }

  /* ══════════════════════════
     KONTAKT.HTML
  ══════════════════════════ */
  .kontakt-main {
    grid-template-columns: 1fr !important;
  }
  .info-side {
    order: -1;
    padding: 36px 20px !important;
  }
  .kontakt-main > div:first-child {
    padding: 36px 20px !important;
  }
  .form-row {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }

  /* ══════════════════════════
     IMPRESSUM / DATENSCHUTZ
  ══════════════════════════ */
  .content {
    padding: 36px 20px !important;
  }

}
