/* =========================================
   NOTDIENST (notdienst.html)
   ========================================= */
body {
  background-color: var(--blue-dark);
  color: #ffffff;
}

main {
  display: block;
}

.notdienst-main {
  padding: calc(var(--header-height-desktop) + 40px) 20px 60px;
}

.notdienst-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 60px;
  align-items: center;
}

.notdienst-text-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.notdienst-hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 20px 0;
}

.notdienst-hero-title .highlight-red {
  display: block;
  color: #ef4444;
  filter: drop-shadow(0 0 15px rgba(220, 38, 38, 0.5));
}

.notdienst-intro-box {
  font-size: 1.05rem;
  color: #cbd5e1;
  line-height: 1.6;
  max-width: 560px;
  border-left: 4px solid #dc2626;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 0 10px 10px 0;
  padding: 16px 20px;
  margin-bottom: 35px;
}

.notdienst-intro-box p {
  margin: 0 0 12px 0;
}

.notdienst-hours {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
}

.notdienst-hours div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.notdienst-hours span:first-child {
  color: #f87171;
  width: 64px;
}

.call-btn {
  position: relative;
  overflow: hidden;
  background: #dc2626;
  color: #ffffff;
  padding: 20px 32px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  text-decoration: none;
  box-shadow: 0 0 40px rgba(220, 38, 38, 0.4);
  transition: all 0.3s;
  width: fit-content;
  animation: glow-red 3s infinite;
}

.call-btn:hover,
.call-btn:focus-visible {
  background: #7f1d1d;
  transform: scale(1.03);
}

.call-btn-icon {
  background: rgba(255, 255, 255, 0.2);
  padding: 12px;
  border-radius: 50%;
  display: flex;
  flex-shrink: 0;
  transition: transform 0.3s;
}

.call-btn:hover .call-btn-icon {
  transform: rotate(12deg);
}

.call-btn-icon svg {
  width: 28px;
  height: 28px;
}

.call-btn-text {
  text-align: left;
  line-height: 1.3;
}

.call-btn-label {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  opacity: 0.9;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.call-btn-number {
  display: block;
  font-family: monospace;
  font-size: 1.4rem;
  letter-spacing: 0.5px;
}

@keyframes glow-red {
  0% {
    box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.4);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(220, 38, 38, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(220, 38, 38, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .call-btn {
    animation: none;
  }
}

.notdienst-trust-row {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.9rem;
  color: #94a3b8;
  font-weight: 500;
}

.notdienst-trust-row span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.notdienst-trust-row svg {
  width: 16px;
  height: 16px;
  color: #22c55e;
  flex-shrink: 0;
}

/* --- Rechte Spalte: Notfall-Liste --- */
.notdienst-emergency-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.notdienst-emergency-label {
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.75rem;
  font-weight: 700;
  margin: 0 0 6px 4px;
}

.emergency-item {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 4px solid rgba(220, 38, 38, 0.6);
  border-radius: 12px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 18px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: left;
  width: 100%;
  color: inherit;
  font: inherit;
}

.emergency-item:hover,
.emergency-item:focus-visible {
  transform: translateX(-5px);
  background: linear-gradient(90deg, rgba(220, 38, 38, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
  border-left-color: #ef4444;
}

.emergency-icon {
  background: var(--blue-dark);
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #334155;
  flex-shrink: 0;
  display: flex;
  transition: background 0.3s;
}

.emergency-item:hover .emergency-icon,
.emergency-item:focus-visible .emergency-icon {
  background: #dc2626;
}

.emergency-icon svg {
  width: 22px;
  height: 22px;
}

.emergency-item h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #e2e8f0;
  margin: 0 0 2px 0;
}

.emergency-item:hover h3,
.emergency-item:focus-visible h3 {
  color: #ffffff;
}

.emergency-item p {
  font-size: 0.8rem;
  color: #94a3b8;
  margin: 0;
}

.emergency-chevron {
  margin-left: auto;
  color: #475569;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  transition: color 0.3s;
}

.emergency-item:hover .emergency-chevron {
  color: #ffffff;
}

.emergency-item--urgent .emergency-chevron {
  color: #ef4444;
  animation: bounce-x 1.2s infinite;
}

@keyframes bounce-x {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(4px);
  }
}

/* --- Unterer Info-Balken --- */
.notdienst-footer-bar {
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(0, 0, 0, 0.4);
  padding: 16px 20px;
}

.notdienst-footer-bar-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.notdienst-footer-bar-inner span {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.notdienst-footer-bar-inner svg {
  width: 14px;
  height: 14px;
  color: #ef4444;
  flex-shrink: 0;
}

.notdienst-footer-bar-inner .is-red {
  color: #f87171;
}

@media (max-width: 1024px) {
  .notdienst-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 600px) {
  .notdienst-hero-title {
    font-size: 2.3rem;
  }

  .notdienst-main {
    padding-top: calc(var(--header-height-mobile) + 30px);
  }

  .call-btn {
    width: 100%;
    justify-content: center;
  }
}
