/* Praxis Ragnitz Mega Menu v5 - extern */

.nav-wrapper {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(248, 245, 238, 0.92);
  backdrop-filter: saturate(140%) blur(16px);
  -webkit-backdrop-filter: saturate(140%) blur(16px);
  border-bottom: 1px solid rgba(26, 31, 27, 0.06); box-shadow: 0 12px 40px rgba(26,31,27,0.14);
}
#nav { padding-left: 48px; padding-right: 48px; position: relative; background: transparent; box-shadow: 0 1px 2px rgba(26,31,27,0.04), 0 4px 12px rgba(26,31,27,0.05), 0 14px 36px rgba(26,31,27,0.06); }
.hero .logo, .logo { text-decoration: none; color: inherit; }

.nav-links li.has-mega > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.nav-links li.has-mega .caret {
  width: 7px; height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  opacity: 0.45;
  transition: transform 420ms cubic-bezier(0.16, 1, 0.3, 1), opacity 420ms;
  margin-left: 2px;
}
.nav-links li.has-mega:hover .caret,
.nav-links li.has-mega.is-active .caret {
  transform: rotate(225deg) translateY(0);
  opacity: 1;
}

.mega-container {
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  pointer-events: none;
  z-index: 99;
}

.mega-panel {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%) translateY(-20px) scale(0.985);
  width: 100%;
  max-width: 1180px;
  padding: 36px 40px 40px;
  background: #F8F5EE;
  border-radius: 0 0 28px 28px;
  border: 1px solid rgba(26, 31, 27, 0.05);
  border-top: none;
  box-shadow:
    0 32px 80px -24px rgba(28, 49, 37, 0.22),
    0 12px 32px -16px rgba(28, 49, 37, 0.12),
    0 1px 0 rgba(255, 255, 255, 0.6) inset;
  opacity: 0;
  visibility: hidden;
  transform-origin: top center;
  transition:
    opacity 480ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 520ms cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0s linear 520ms;
  pointer-events: none;
  box-sizing: border-box;
}
.mega-panel.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0) scale(1);
  transition:
    opacity 480ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 520ms cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0s linear 0s;
  pointer-events: auto;
}

.mega-grid { display: grid; gap: 14px; }
.mega-grid-2 { grid-template-columns: 1fr 1fr; }
.mega-grid-3 { grid-template-columns: 1fr 1fr 1fr; }
.mega-grid-4 { grid-template-columns: repeat(4, 1fr); }
.mega-grid-5 { grid-template-columns: repeat(5, 1fr); }

.mega-tile, .mega-card, .mega-tile-mini, .mega-job, .mega-notfall, .mega-leistung {
  position: relative;
  display: block;
  padding: 22px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(26, 31, 27, 0.05);
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: all 380ms cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0;
  transform: translateY(14px);
}
.mega-panel.is-open .mega-tile,
.mega-panel.is-open .mega-card,
.mega-panel.is-open .mega-tile-mini,
.mega-panel.is-open .mega-job,
.mega-panel.is-open .mega-notfall,
.mega-panel.is-open .mega-leistung {
  opacity: 1;
  transform: translateY(0);
}
.mega-panel.is-open > * > *:nth-child(1),
.mega-panel.is-open > .mega-grid > *:nth-child(1) { transition-delay: 140ms; }
.mega-panel.is-open > * > *:nth-child(2),
.mega-panel.is-open > .mega-grid > *:nth-child(2) { transition-delay: 200ms; }
.mega-panel.is-open > * > *:nth-child(3),
.mega-panel.is-open > .mega-grid > *:nth-child(3) { transition-delay: 260ms; }
.mega-panel.is-open > * > *:nth-child(4),
.mega-panel.is-open > .mega-grid > *:nth-child(4) { transition-delay: 320ms; }
.mega-panel.is-open > * > *:nth-child(5),
.mega-panel.is-open > .mega-grid > *:nth-child(5) { transition-delay: 380ms; }

.mega-tile:hover, .mega-card:hover, .mega-tile-mini:hover, .mega-job:hover, .mega-notfall:hover, .mega-leistung:hover {
  transform: translateY(-4px);
  border-color: rgba(168, 137, 72, 0.32);
  box-shadow:
    0 18px 36px -16px rgba(28, 49, 37, 0.2),
    0 0 0 1px rgba(168, 137, 72, 0.06);
  background: rgba(255, 255, 255, 0.95);
}

.mega-tile-eyebrow, .mega-card-eyebrow, .mega-karriere-eyebrow, .mega-notfall-eyebrow {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.mega-tile-title, .mega-card-title {
  font-family: 'Fraunces', serif;
  font-size: 19px;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.25;
  margin-bottom: 8px;
}
.mega-tile-text, .mega-card-text {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.55;
}
.mega-tile-arrow {
  position: absolute;
  top: 22px; right: 22px;
  font-size: 16px;
  color: var(--forest);
  opacity: 0.35;
  transition: all 320ms cubic-bezier(0.16, 1, 0.3, 1);
}
.mega-tile:hover .mega-tile-arrow {
  opacity: 1;
  transform: translateX(5px);
  color: var(--gold);
}

.mega-tile-accent {
  background: linear-gradient(135deg, rgba(168, 137, 72, 0.08), rgba(168, 137, 72, 0.02));
  border-color: rgba(168, 137, 72, 0.2);
}
.mega-tile-stars {
  color: var(--gold);
  font-size: 14px;
  letter-spacing: 3px;
  margin-bottom: 8px;
}
.mega-tile-rating {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 4px;
}
.mega-tile-rating-num {
  font-family: 'Fraunces', serif;
  font-size: 28px;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.mega-tile-rating-max {
  font-size: 13px;
  color: var(--muted);
}
.mega-tile-platforms {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(168, 137, 72, 0.18);
}
.mega-platform {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: var(--muted);
  font-weight: 500;
}
.mega-platform-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
}
.mega-platform-dot.jameda { background: #F4B400; }
.mega-platform-dot.google { background: #4285F4; }

.mega-tile-cta {
  background: linear-gradient(135deg, rgba(42, 74, 56, 0.05), rgba(168, 137, 72, 0.06));
  border-color: rgba(42, 74, 56, 0.15);
}
.mega-tile-cta .mega-tile-title { color: var(--forest); }

/* Standort Cards - SCHLANK ohne Pin und Eyebrow */
.mega-card { padding: 22px 24px; }
.mega-card-meta { font-size: 13.5px; color: var(--text); line-height: 1.55; }
.mega-card-phone {
  font-size: 14px;
  color: var(--forest);
  font-weight: 600;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(26, 31, 27, 0.06);
  display: flex;
  align-items: center;
  gap: 8px;
}
.mega-card-link {
  font-size: 12.5px;
  color: var(--gold);
  font-weight: 600;
  margin-top: 14px;
  transition: transform 280ms cubic-bezier(0.16, 1, 0.3, 1);
}
.mega-card:hover .mega-card-link { transform: translateX(5px); }

/* Team Cards */
.mega-card.mega-card-team { padding: 22px 24px; }
.mega-team-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
}
.mega-card-photo {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--forest-mist), var(--forest));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow:
    0 8px 20px -10px rgba(28, 49, 37, 0.5),
    0 0 0 3px rgba(255, 255, 255, 0.6);
  transition: transform 380ms cubic-bezier(0.16, 1, 0.3, 1);
}
.mega-card.mega-card-team:hover .mega-card-photo { transform: scale(1.06); }
.mega-card-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.mega-card-photo-placeholder {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(248, 245, 238, 0.85);
}
.mega-team-info { flex: 1; min-width: 0; }
.mega-team-info .mega-card-eyebrow { margin-bottom: 4px; }
.mega-team-info .mega-card-title { margin-bottom: 0; font-size: 17px; }
.mega-card-team .mega-card-text { margin-top: 0; }
.mega-card-team .mega-card-link { margin-top: 14px; }

/* Leistungen */
.mega-leistung {
  padding: 20px 16px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 138px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.7), rgba(220, 229, 220, 0.18));
}
.mega-leistung-icon {
  width: 44px; height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(42, 74, 56, 0.1), rgba(168, 137, 72, 0.12));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--forest);
  transition: all 380ms cubic-bezier(0.16, 1, 0.3, 1);
}
.mega-leistung:hover .mega-leistung-icon {
  background: linear-gradient(135deg, var(--forest), var(--forest-mist));
  color: var(--cream);
  transform: rotate(-6deg) scale(1.06);
}
.mega-leistung-icon svg { width: 22px; height: 22px; }
.mega-leistung-title {
  font-family: 'Fraunces', serif;
  font-size: 15.5px;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.25;
  margin-bottom: 8px;
}
.mega-leistung-sub {
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Karriere */
.mega-karriere-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 0 6px 18px;
  margin-bottom: 10px;
  border-bottom: 1px solid rgba(26, 31, 27, 0.06); box-shadow: 0 12px 40px rgba(26,31,27,0.14);
}
.mega-karriere-count {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 16px;
  color: var(--gold);
}
.mega-job { padding: 18px; }
.mega-job-tag {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--forest);
  background: rgba(42, 74, 56, 0.08);
  padding: 4px 10px;
  border-radius: 100px;
  margin-bottom: 10px;
}
.mega-job-title {
  font-family: 'Fraunces', serif;
  font-size: 16px;
  color: var(--ink);
  line-height: 1.3;
  margin-bottom: 6px;
}
.mega-job-text { font-size: 12.5px; color: var(--muted); line-height: 1.5; }

/* Notfall */
.mega-notfall-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 6px 18px;
  margin-bottom: 10px;
  border-bottom: 1px solid rgba(26, 31, 27, 0.06); box-shadow: 0 12px 40px rgba(26,31,27,0.14);
  flex-wrap: wrap;
}
.mega-notfall-pulse { position: relative; width: 14px; height: 14px; flex-shrink: 0; }
.mega-notfall-pulse span {
  position: absolute; inset: 0;
  border-radius: 50%;
  background: #C84B4B;
}
.mega-notfall-pulse::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: 50%;
  background: rgba(200, 75, 75, 0.4);
  animation: notfall-pulse 1.8s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}
@keyframes notfall-pulse {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(2.6); opacity: 0; }
}
.mega-notfall-text { font-size: 13px; color: var(--muted); }
.mega-notfall-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px;
  border-radius: 100px;
  background: rgba(42, 74, 56, 0.06);
  border: 1px solid rgba(42, 74, 56, 0.12);
  font-size: 12px;
  font-weight: 500;
  color: var(--forest);
  margin: 0;
  align-self: center;
}
.mega-notfall-head { justify-content: flex-start !important; align-items: center !important; flex-wrap: nowrap !important; padding: 14px 6px !important; gap: 18px !important; }
.mega-notfall-head > div:nth-child(2) { flex: 0 0 auto; }
.mega-notfall-head > div:nth-child(2) {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.mega-notfall-status.is-open {
  background: rgba(42, 74, 56, 0.08);
  border-color: rgba(42, 74, 56, 0.2);
}
.mega-notfall-status.is-closed {
  background: rgba(168, 137, 72, 0.08);
  border-color: rgba(168, 137, 72, 0.2);
  color: var(--ink);
}
.mega-notfall-status-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--forest);
  flex-shrink: 0;
}
.mega-notfall-status.is-open .mega-notfall-status-dot { background: #4A7C59; }
.mega-notfall-status.is-closed .mega-notfall-status-dot { background: var(--gold); }
.mega-notfall-status.is-mixed .mega-notfall-status-dot { background: var(--muted); }
.mega-notfall-status-label {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-right: 4px;
}
.mega-notfall-status-time {
  font-family: 'Fraunces', serif;
  font-size: 14px;
  color: var(--ink);
}

.mega-notfall {
  padding: 22px;
  text-align: center;
  background: rgba(255, 255, 255, 0.55);
}
.mega-notfall-label {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.mega-notfall-number {
  font-family: 'Fraunces', serif;
  font-size: 32px;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: 0.02em;
  margin-bottom: 6px;
  transition: all 380ms cubic-bezier(0.16, 1, 0.3, 1);
}
.mega-notfall:hover .mega-notfall-number {
  color: var(--forest);
  transform: scale(1.05);
}
.mega-notfall-sub { font-size: 12px; color: var(--muted); }
.mega-notfall-primary {
  background: linear-gradient(135deg, rgba(200, 75, 75, 0.07), rgba(168, 137, 72, 0.04));
  border-color: rgba(200, 75, 75, 0.18);
}
.mega-notfall-primary .mega-notfall-number {
  color: #B23A3A;
  font-size: 38px;
}
.mega-notfall-primary:hover .mega-notfall-number { color: #8E2929; }

@media (max-width: 1024px) {
  .mega-panel { display: none !important; }
  .nav-links li.has-mega .caret { display: none; }
}

/* === Selbst-Check Tile Icons (added) === */
.mega-tile-selbst .mega-tile-icon {
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  color: var(--forest, #2c5e3f);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), color 0.3s ease;
}
.mega-tile-selbst .mega-tile-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Hover: Vorsorge-Kompass dreht sich */
.mega-panel[data-panel="selbst-check"] .mega-tile-selbst:nth-child(1):hover .mega-tile-icon {
  transform: rotate(20deg);
}

/* Hover: Herz pulsiert */
.mega-panel[data-panel="selbst-check"] .mega-tile-selbst:nth-child(2):hover .mega-tile-icon {
  animation: tileHeartPulse 1.1s ease-in-out infinite;
}
@keyframes tileHeartPulse {
  0%, 100% { transform: scale(1); }
  25% { transform: scale(1.18); }
  45% { transform: scale(0.96); }
  65% { transform: scale(1.10); }
}

/* Hover: Mond schwebt */
.mega-panel[data-panel="selbst-check"] .mega-tile-selbst:nth-child(3):hover .mega-tile-icon {
  animation: tileMoonFloat 2.4s ease-in-out infinite;
}
@keyframes tileMoonFloat {
  0%, 100% { transform: translateY(0) rotate(-5deg); }
  50% { transform: translateY(-4px) rotate(5deg); }
}

/* Akzent: hover faerbt Icon coral */
.mega-tile-selbst:hover .mega-tile-icon {
  color: var(--coral, #d6483b);
}


/* V13 Mega Menue Storefront Layout plus Pulse */
33%  { background-color: #F0E6CD; }
  66%  { background-color: #E8DCB8; }
  100% { background-color: #F8F5EE; }
}



.mega-pharma-block {
  margin-top: 14px;
  padding: 20px 24px 16px;
  background: rgba(255, 255, 255, 0.55);
  border-radius: 16px;
  color: var(--ink);
}

.mega-pharma-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 14px;
  font-size: 12px;
  flex-wrap: wrap;
  gap: 10px;
}

.mega-pharma-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
  font-weight: 600;
  font-size: 11px;
}

.mega-pharma-status {
  color: var(--muted);
  font-size: 12px;
}

.mega-pharma-status strong {
  color: var(--ink);
  font-weight: 600;
}

.mega-pharma-main {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 20px;
  align-items: center;
  margin-bottom: 14px;
}

.mega-pharma-name {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 4px;
}

.mega-pharma-addr {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.4;
}

.mega-pharma-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.mega-pharma-action {
  display: block;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 10px;
  text-decoration: none;
  color: var(--ink);
  text-align: center;
  transition: background 280ms cubic-bezier(0.16, 1, 0.3, 1),
              transform 280ms cubic-bezier(0.16, 1, 0.3, 1);
}

.mega-pharma-action:hover {
  background: rgba(255, 255, 255, 0.95);
  transform: translateY(-2px);
}

.mega-pharma-action-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 4px;
  font-weight: 600;
}

.mega-pharma-action-value {
  font-family: 'Fraunces', serif;
  font-size: 16px;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: 0.01em;
}

.mega-pharma-footer {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  margin-bottom: 10px;
  flex-wrap: wrap;
  gap: 12px;
}

.mega-pharma-footer a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: rgba(26, 31, 27, 0.2);
  text-underline-offset: 3px;
}

.mega-pharma-footer a:hover {
  text-decoration-color: rgba(26, 31, 27, 0.6);
}

.mega-pharma-disclaimer {
  font-size: 10px;
  color: var(--muted);
  text-align: center;
  padding-top: 10px;
  border-top: 1px solid rgba(26, 31, 27, 0.06);
  line-height: 1.4;
}

@media (max-width: 720px) {
  .mega-pharma-main {
    grid-template-columns: 1fr;
  }
  .mega-pharma-actions {
    grid-template-columns: repeat(3, 1fr);
  }
  .mega-pharma-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}



/* V16 Rahmen ums Mega Menue, kein Pulse */
.mega-panel {
  background: #F8F5EE !important;
  border: 2px solid rgba(28, 49, 37, 0.22) !important;
  border-top: none !important;
  box-shadow:
    0 32px 80px -24px rgba(28, 49, 37, 0.30),
    0 12px 32px -16px rgba(28, 49, 37, 0.18),
    0 1px 0 rgba(255, 255, 255, 0.6) inset !important;
}



/* V17 Politur Abstand Farbe Links */

/* Abstand zwischen Notruf Karten und Apotheke Klon */
.mega-panel[data-panel="notfall"] [data-mega-pharma-clone],
.mega-panel[data-panel="notfall"] .notfall-pharmacy {
  margin-top: 18px !important;
}

/* 116 117 nicht mehr rot */
.mega-panel[data-panel="notfall"] .mega-notfall-primary .mega-notfall-number {
  color: var(--ink) !important;
}

.mega-panel[data-panel="notfall"] .mega-notfall-primary {
  background: rgba(255, 255, 255, 0.55) !important;
}

/* Links klickbar */
.mega-panel a {
  pointer-events: auto !important;
}

/* Rahmen sichtbarer */
.mega-panel {
  border: 2px solid rgba(28, 49, 37, 0.32) !important;
}

/* V25 Mega Menu Hover Scale 15% */
.mega-panel .mega-tile,
.mega-panel .mega-notfall,
.mega-panel .mega-job,
.mega-panel .mega-card,
.mega-panel .mega-pharma-action {
  transition: transform 380ms cubic-bezier(0.16, 1, 0.3, 1);
}
.mega-panel .mega-tile:hover,
.mega-panel .mega-notfall:hover,
.mega-panel .mega-job:hover,
.mega-panel .mega-card:hover,
.mega-panel .mega-pharma-action:hover {
  transform: scale(1.15);
}

/* V26 Mega Menu Polish - kompakter, smoother Hover, sichtbarer Border */
.mega-panel .mega-notfall {
  padding-top: 16px !important;
  padding-bottom: 16px !important;
  border: 1px solid rgba(28, 49, 37, 0.20) !important;
  transition: transform 380ms cubic-bezier(0.16, 1, 0.3, 1),
              border-color 380ms cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 380ms cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.mega-panel .mega-notfall:hover {
  border-color: rgba(28, 49, 37, 0.48) !important;
  box-shadow: 0 10px 26px rgba(28, 49, 37, 0.10) !important;
}
.mega-panel .pharmacy-action-card {
  border: 1px solid rgba(28, 49, 37, 0.20) !important;
  transition: transform 380ms cubic-bezier(0.16, 1, 0.3, 1),
              border-color 380ms cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 380ms cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.mega-panel .pharmacy-action-card:hover {
  border-color: rgba(28, 49, 37, 0.48) !important;
  box-shadow: 0 10px 26px rgba(28, 49, 37, 0.10) !important;
}

/* V26 Mega Menu Polish - kompakter, smoother Hover, sichtbarer Border */
.mega-panel .mega-notfall {
  padding-top: 16px !important;
  padding-bottom: 16px !important;
  border: 1px solid rgba(28, 49, 37, 0.20) !important;
  transition: transform 380ms cubic-bezier(0.16, 1, 0.3, 1),
              border-color 380ms cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 380ms cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.mega-panel .mega-notfall:hover {
  border-color: rgba(28, 49, 37, 0.48) !important;
  box-shadow: 0 10px 26px rgba(28, 49, 37, 0.10) !important;
}
.mega-panel .pharmacy-action-card {
  border: 1px solid rgba(28, 49, 37, 0.20) !important;
  transition: transform 380ms cubic-bezier(0.16, 1, 0.3, 1),
              border-color 380ms cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 380ms cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.mega-panel .pharmacy-action-card:hover {
  border-color: rgba(28, 49, 37, 0.48) !important;
  box-shadow: 0 10px 26px rgba(28, 49, 37, 0.10) !important;
}

/* V28 Mega Menu Hover Scale 1.06 - kein Border Overlap mehr */
.mega-panel .mega-tile:hover,
.mega-panel .mega-notfall:hover,
.mega-panel .mega-job:hover,
.mega-panel .mega-card:hover,
.mega-panel .mega-pharma-action:hover,
.mega-panel .pharmacy-action-card:hover {
  transform: scale(1.06) !important;
}
