/* mobile-final.css v=10 CLEAN
 * Praxis Ragnitz Mobile Show Stopper plus Hamburger Header Layout
 * Stand 27.04.2026
 */

/* ====== M01 Header Mobile ====== */
@media (max-width: 640px) {
  #nav { padding: 12px 14px !important; gap: 0 !important; }
  #nav .logo { gap: 8px; flex: 1 1 auto; min-width: 0; order: 1; margin-right: auto; }
  #nav .logo .logo-mark { width: 38px; height: 38px; font-size: 14px; flex-shrink: 0; }
  #nav .logo .logo-text { min-width: 0; }
  #nav .logo .logo-text .main { font-size: 14px; line-height: 1.15; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  #nav .logo .logo-text .sub { font-size: 10.5px; line-height: 1.2; white-space: nowrap; }
  #nav .nav-cta { padding: 9px 14px !important; font-size: 12px !important; flex-shrink: 0; line-height: 1.1; white-space: nowrap; order: 2; margin-left: auto !important; }
  #nav .mobile-menu-trigger { order: 3; margin-left: 14px !important; margin-right: 0 !important; }
}
@media (max-width: 380px) {
  #nav .logo .logo-text .main { font-size: 13px; }
  #nav .nav-cta { padding: 8px 12px !important; font-size: 11.5px !important; }
}

/* ====== M02 Hero Eyebrow Umbruch plus Striche beidseitig ====== */
.mobile-br { display: none; }
@media (max-width: 768px) {
  .mobile-br { display: inline; }
  .hero .eyebrow {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: auto;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center;
    line-height: 1.5;
  }
  .hero .hero-content { text-align: center; }
  .hero .eyebrow::before {
    content: '' !important;
    width: 24px !important;
    height: 1px;
    background: var(--forest);
    flex-shrink: 0;
    animation: none !important;
    transform: none !important;
  }
  .hero .eyebrow::after {
    content: '';
    width: 24px;
    height: 1px;
    background: var(--forest);
    flex-shrink: 0;
  }
  .hero h1, .hero p, .hero-ctas, .jameda-badge { text-align: left; }
}

/* ====== M03 Hero CTAs nebeneinander ====== */
@media (max-width: 640px) {
  .hero-ctas { display: flex !important; flex-direction: row !important; flex-wrap: nowrap !important; gap: 8px !important; width: 100%; }
  .hero-ctas .btn-primary, .hero-ctas .btn-secondary {
    flex: 1 1 0; min-width: 0; padding: 12px 14px !important; font-size: 13px !important;
    justify-content: center; white-space: nowrap; text-align: center;
  }
  .hero-ctas .btn-primary .btn-arrow, .hero-ctas .btn-secondary .btn-arrow { display: none; }
}
@media (max-width: 380px) {
  .hero-ctas .btn-primary, .hero-ctas .btn-secondary { padding: 11px 10px !important; font-size: 12px !important; }
}

/* ====== M06 plus M16 Section Eyebrows zentrieren auf Mobile ====== */
@media (max-width: 768px) {
  .section-header { text-align: center; }
  .section-eyebrow { margin-left: auto; margin-right: auto; }
}

/* ====== M13 Section Eyebrow Striche kuerzer auf Mobile ====== */
@media (max-width: 640px) {
  .section-eyebrow { gap: 10px; font-size: 11px; }
  .section-eyebrow::before, .section-eyebrow::after { width: 18px !important; }
}

/* ====== M15 Testimonials Track erste Karte voll sichtbar ====== */
@media (max-width: 768px) {
  .testimonials-track { padding-left: 16px; padding-right: 16px; scroll-padding-left: 16px; }
  .testimonials-track .testimonial { scroll-snap-align: start; }
}

/* ====== M17 Karriere Vier Positionen alle 4 sichtbar ====== */
@media (max-width: 768px) {
  .karriere-visual, .karriere-visual-main, .karriere-visual-inner {
    max-height: none !important; overflow: visible !important; height: auto !important;
  }
  .karriere-roles { display: flex !important; flex-direction: column; gap: 10px !important; }
  .karriere-role { display: flex !important; align-items: center; gap: 10px; }
  .karriere-role-text { flex: 1 1 auto; font-size: 13px; line-height: 1.3; }
  .karriere-role-tag { flex-shrink: 0; font-size: 11px; }
}

/* ====== M23 OEffnungszeiten Rezept Pille Mobile ====== */
@media (max-width: 640px) {
  .schedule-day { display: flex !important; flex-wrap: wrap !important; align-items: flex-start; gap: 4px 10px !important; }
  .schedule-day .day-name { flex: 0 0 36px; }
  .schedule-day .day-hours { flex: 1 1 calc(100% - 50px); min-width: 0; white-space: normal !important; line-height: 1.4; }
  .schedule-day .day-cta { flex: 0 0 auto; margin-left: 46px; margin-top: 2px; font-size: 10.5px !important; padding: 4px 10px !important; white-space: nowrap; }
  .schedule-day .day-cta svg { width: 11px; height: 11px; }
  .schedule-day .day-marker { display: none !important; }
}

/* ====== Anchor Scroll Offset Header sticky ====== */
html { scroll-padding-top: 78px; }
@media (max-width: 640px) { html { scroll-padding-top: 64px; } }
