/* Apotheke am Feldtorweg — Custom Styles */
/* Tailwind CDN handles all utility classes. Overrides and custom styles below. */

/* ── Smooth scrolling ────────────────────────────────────── */
html {
  scroll-behavior: smooth;
}

/* ── Team photo fallback (initials circle) ───────────────── */
.team-fallback {
  display: none;
  align-items: center;
  justify-content: center;
  width: 8rem;
  height: 8rem;
  border-radius: 9999px;
  background: #c62828;
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 0.75rem;
}

/* ── Accordion transitions ───────────────────────────────── */
.accordion-content {
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.accordion-header i[data-lucide="chevron-down"] {
  transition: transform 0.3s ease;
}

/* ── Google Maps consent placeholder ─────────────────────── */
.maps-container {
  min-height: 300px;
  background: #e5e7eb;
  border-radius: 0.5rem;
}

.maps-container iframe {
  border-radius: 0.5rem;
}

/* ── Legal page prose styling ────────────────────────────── */
.legal-content h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #222;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #e5e7eb;
}

.legal-content h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.legal-content p {
  margin-bottom: 0.75rem;
  line-height: 1.7;
  color: #555;
}

.legal-content ul {
  list-style-type: disc;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
}

.legal-content ul li {
  margin-bottom: 0.25rem;
  color: #555;
  line-height: 1.6;
}

.legal-content a {
  color: #c62828;
  text-decoration: underline;
}

.legal-content a:hover {
  color: #a31f1f;
}

.legal-content address {
  font-style: normal;
  margin-bottom: 1rem;
  line-height: 1.7;
  color: #555;
}

/* ── WhatsApp floating button ────────────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #25d366;
  color: #fff;
  border: none;
  border-radius: 3rem;
  padding: 0.875rem 1.25rem;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.whatsapp-float:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.whatsapp-float:active {
  transform: translateY(0);
}

.whatsapp-float svg {
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
}

/* Hide label text on small screens, show only icon */
@media (max-width: 480px) {
  .whatsapp-float {
    padding: 0.875rem;
    border-radius: 50%;
  }
  .whatsapp-float .whatsapp-label {
    display: none;
  }
}

/* ── Print styles ────────────────────────────────────────── */
@media print {
  header,
  #mobile-menu,
  footer,
  .maps-container,
  .whatsapp-float,
  button {
    display: none !important;
  }

  main {
    padding: 0;
  }

  body {
    font-size: 12pt;
    color: #000;
  }

  a {
    color: #000;
    text-decoration: none;
  }

  a[href]::after {
    content: " (" attr(href) ")";
    font-size: 0.8em;
    color: #555;
  }

  a[href^="tel"]::after,
  a[href^="mailto"]::after,
  a[href^="#"]::after {
    content: none;
  }
}
