/* Header */
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background-color: rgba(0, 0, 0, 0.6);
  font-size: 4vw;
  font-weight: bold;
  position: relative;
  z-index: var(--z-index-header-footer);
  width: 100%;

  /* Animation Reset */
  animation-name: none;
}

.praxis-name {
  font-size: 3.8vw;
}

#current-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 3.8vw;
}

#current-date .time {
  font-size: 4vw;
}

#current-date .date {
  font-size: 3vw;
  /* opacity: 0.8; */
}

/* Footer */
.footer {
  text-align: center;
  padding: 1rem;
  font-size: var(--font-size-body);
  background-color: rgba(0, 0, 0, 0.6);
  position: relative;
  z-index: var(--z-index-header-footer);
  width: 100%;

  /* Animation Reset */
  animation-name: none;
}

.overlay-footer {
  position: fixed;
  bottom: 0%;
  left: 5%;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  z-index: calc(var(--z-index-header-footer) + 1);
  opacity: 0;
  transition: opacity 2s ease-in-out;
  pointer-events: none;
  max-width: 90%;
  text-align: center;
  font-size: 0.9rem;
}

/* Header und Footer Animation */
.animate-header,
.animate-footer {
  animation-duration: 1.5s;
  animation-timing-function: ease-out;
  animation-fill-mode: both;
  animation-iteration-count: 1;
}

.animate-header {
  animation-name: fadeInDown;
}

.animate-footer {
  animation-name: fadeInUp;
}

/* Animation für Header (nach unten einblenden) */
@keyframes fadeInDown {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Animation für Footer (nach oben einblenden) */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/***********************TOOLTIP**************/

.tooltip-container {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.tooltip-text {
  visibility: hidden;
  opacity: 0;
  width: max-content;
  background-color: #333;
  color: #fff;
  text-align: left;
  padding: 6px 10px 6px 10px; /* padding: oben rechts unten links;*/
  border-radius: 6px;
  position: absolute;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  white-space: pre-line;
}
.tooltip-text {
  line-height: 1.2; /* z.B. 1.4-facher Zeilenabstand */
}


.tooltip-container.show .tooltip-text {
  visibility: visible;
  opacity: 1;
}

.tooltip-text svg {
  width: 20px;
  height: 20px;
  display: inline-block;
  vertical-align: middle;
  margin-right: 6px;
  fill: currentColor;
}
.email-line {
  display: inline-flex;
  align-items: center;
  gap: 6px; /* Abstand zwischen Icon und Text */
  white-space: nowrap; /* Kein Zeilenumbruch */
}

.email-line svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  display: inline-block;
  vertical-align: middle;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.tooltip-container.show svg {
  animation: float 2s ease-in-out infinite;
}

 /*****************SPRACHSTEUERUNG *****************/

.speech-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #007aff;
  color: white;
  border: none;
  padding: 12px 16px;
  border-radius: 24px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  font-size: 16px;
  cursor: pointer;
  z-index: 9999;
  transition: background-color 0.3s ease;
}



.speech-button:hover {
  background: linear-gradient(135deg, #005bb5, #003f7f);
  box-shadow: 0 8px 20px rgba(0, 91, 181, 0.6);
  transform: scale(1.05);
}

.speech-button:active {
  transform: scale(0.95);
}

.speech-button.active {
  background: linear-gradient(135deg, #34c759, #28a745);
  box-shadow: 0 0 12px 3px rgba(52, 199, 89, 0.7);
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 0 12px 3px rgba(52, 199, 89, 0.7);
  }
  50% {
    box-shadow: 0 0 20px 6px rgba(52, 199, 89, 1);
  }
}




