/*
Theme Name: Medicalhealth Child
Description: Child theme for Medicalhealth
Author: Catchpixel
Template: medicalhealth
Tags: one-column, two-columns, right-sidebar, flexible-header, custom-colors, custom-header, custom-menu, custom-logo, editor-style, featured-images, footer-widgets, post-formats, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready
*/

/*Child Theme Style Code Here*/

/* Einheitliche Farbe & Stil für alle Team-Namen */
.team-member-name,
.team-member-name a {
  color: #0087BE;       /* exakt gleiche Farbe wie Link */
  font-weight: 600;
  text-decoration: none;
}

/* Hover-Effekt optional (auch bei nicht klickbaren ruhig deaktiviert) */
.team-member-name a:hover {
  color: #0087BE;
  text-decoration: none;
}

.team-member-name {
  cursor: default;
}

.team-member-name a {
  cursor: pointer;
}

/* Team Namen NICHT automatisch groß schreiben */
.team-member-name,
.team-member-name a {
  text-transform: none !important;
}

/* WPBakery Accordion: Icon-Spalte fix, Text startet immer gleich */
.vc_tta-accordion .vc_tta-panel-title > a{
  position: relative !important;
  display: block !important;
  padding-left: 52px !important;   /* <- Icon-Spalte + Abstand (bei Bedarf anpassen) */
}

/* Linkes Icon: absolut links zentriert in fixer Spalte */
.vc_tta-accordion .vc_tta-panel-title > a > i.vc_tta-icon{
  position: absolute !important;
  left: 18px !important;           /* <- Icon horizontal */
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 24px !important;          /* fixe "Icon-Box" */
  text-align: center !important;
  margin: 0 !important;            /* Theme-Margins killen */
}

/* Titeltext: kein eigenes Margin/Padding */
.vc_tta-accordion .vc_tta-panel-title > a > .vc_tta-title-text{
  display: inline-block !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Plus-Icon rechts: bleibt rechts (falls Theme es komisch verschiebt) */
.vc_tta-accordion .vc_tta-panel-title > a > i.vc_tta-controls-icon{
  position: absolute !important;
  right: 18px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
}

/* Overlay (Hintergrund) für dieses Modal heller machen */
.zozo-vc-modal-overlay.zozo-modal-697966f3eedbe{
  background: rgba(0,0,0,0.70) !important; /* <- 0.10–0.30 nach Geschmack */
  opacity: 1 !important;                  /* wichtig: Theme setzt oft opacity am Container */
}

/* Daycounter im Modal: Kreise kleiner & #0087BE */
.zozo-modal-697966f3eedbe .zozo-daycounter .countdown-section{
  width: 70px !important;
  height: 70px !important;
  border-radius: 50% !important;
  background: #0087BE !important;
  border: 2px solid #0087BE !important;

  display: inline-flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;

  margin: 6px !important; /* Abstand zwischen Kreisen */
}

/* Zahl */
.zozo-modal-697966f3eedbe .zozo-daycounter .countdown-amount{
  color: #fff !important;
  font-size: 22px !important;
  line-height: 1 !important;
}

/* Label (Days/Hours/...) */
.zozo-modal-697966f3eedbe .zozo-daycounter .countdown-period{
  color: #fff !important;
  font-size: 12px !important;
  line-height: 1.1 !important;
  margin-top: 6px !important;
}

/* Englische Labels ausblenden */
.zozo-modal-697966f3eedbe .zozo-daycounter .countdown-period{
  font-size: 0 !important;
}

/* Deutsche Labels setzen – über Reihenfolge (1..4) */
.zozo-modal-697966f3eedbe .zozo-daycounter .countdown-section:nth-child(1) .countdown-period::after{
  content: "Tage";
  font-size: 12px;
}
.zozo-modal-697966f3eedbe .zozo-daycounter .countdown-section:nth-child(2) .countdown-period::after{
  content: "Stunden";
  font-size: 12px;
}
.zozo-modal-697966f3eedbe .zozo-daycounter .countdown-section:nth-child(3) .countdown-period::after{
  content: "Minuten";
  font-size: 12px;
}
.zozo-modal-697966f3eedbe .zozo-daycounter .countdown-section:nth-child(4) .countdown-period::after{
  content: "Sekunden";
  font-size: 12px;
}

/* Countdown: Innenabstand sauber, Zahl + Label näher zusammen */
.zozo-modal-697966f3eedbe .zozo-daycounter .countdown-section{
  padding: 10px 0 !important;          /* gibt oben/unten Luft */
  justify-content: center !important;  /* wirklich mittig */
  gap: 6px !important;                 /* Abstand Zahl ↔ Label */
}

/* Zahl: keine extra Abstände */
.zozo-modal-697966f3eedbe .zozo-daycounter .countdown-amount{
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1 !important;
}

/* Label: kein "runterdrücken" */
.zozo-modal-697966f3eedbe .zozo-daycounter .countdown-period{
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1 !important;
}

/* Modal Content: wie eine "Card" mit Tiefe, Radius, CI-Akzent */
.zozo-vc-modal-overlay.zozo-modal-697966f3eedbe .zozo_vc_modal-content{
  background: #ffffff !important;
  border-radius: 16px !important;
  overflow: hidden !important;

  /* starker, aber eleganter Schatten */
  box-shadow: 0 18px 55px rgba(0,0,0,0.28) !important;

  /* feiner Rahmen + CI-Glow */
  border: 1px solid rgba(0,135,190,0.18) !important;
}

/* Oben ein dezenter CI-Header-Streifen (macht "Popup" sofort erkennbar) */
.zozo-vc-modal-overlay.zozo-modal-697966f3eedbe .zozo_vc_modal-content::before{
  content: "";
  display: block;
  height: 6px;
  background: #0087BE;
}

.zozo-vc-modal-overlay.zozo-modal-697966f3eedbe .zozo_vc_modal-content .wpb_wrapper{
  padding: 8px 0;
}

.zozo-vc-modal-overlay.zozo-modal-697966f3eedbe .zozo-vc-modal-overlay-close{
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: rgba(255,255,255,0.95);
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
}
.zozo-vc-modal-overlay.zozo-modal-697966f3eedbe .zozo-vc-modal-overlay-close i{
  color: #0087BE;
}

/* Close Button: X exakt zentrieren */
.zozo-vc-modal-overlay.zozo-modal-697966f3eedbe .zozo-vc-modal-overlay-close{
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: rgba(255,255,255,0.95);
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
}

/* Icon selbst neutralisieren */
.zozo-vc-modal-overlay.zozo-modal-697966f3eedbe .zozo-vc-modal-overlay-close i{
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1 !important;
  display: block !important;
  color: #0087BE;
}

/* Smooth Entrance: Overlay + Modal */
.zozo-vc-modal-overlay.zozo-modal-697966f3eedbe{
  opacity: 0;
  transition: opacity 800ms ease !important;
}

/* Smooth Entrance: Overlay */
.zozo-vc-modal-overlay.zozo-modal-697966f3eedbe{
  opacity: 0;
  transition: opacity 800ms ease !important;
}

.zozo-vc-modal-overlay.zozo-modal-697966f3eedbe.zozo-modal-open{
  opacity: 1;
}

/* Smooth Entrance: NUR den Inhalt animieren (Position bleibt korrekt zentriert) */
.zozo-vc-modal-overlay.zozo-modal-697966f3eedbe .zozo_vc_modal-content{
  opacity: 0;
  transform: translateY(20px) scale(0.98);
  transition: opacity 800ms ease, transform 800ms ease !important;
  will-change: opacity, transform;
}

.zozo-vc-modal-overlay.zozo-modal-697966f3eedbe.zozo-modal-open .zozo_vc_modal-content{
  opacity: 1;
  transform: translateY(0) scale(1);
}





/* ----------------------------------------------------------------------- */

/* Standard: Titel bleiben sichtbar (failsafe) */
.parallax-title {
  opacity: 1;
  transform: none;
}

/* Nur wenn JS aktiv ist (setzt Klasse am <html>) animieren wir */
html.reveal-enabled .parallax-title {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 900ms cubic-bezier(0.22, 1, 0.36, 1),
            transform 900ms cubic-bezier(0.22, 1, 0.36, 1);

  will-change: opacity, transform;
}

html.reveal-enabled .parallax-title.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}

@media (prefers-reduced-motion: reduce) {
  html.reveal-enabled .parallax-title {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}


/* Scroll-gebundene Animation fürs Bild */
.center-full-image-top {
  --p: 0; /* Progress 0..1 wird via JS gesetzt */
}

.center-full-image-top .vc_single_image-wrapper,
.center-full-image-top img.vc_single_image-img {
  transform: translateY(calc((1 - var(--p)) * 60px));
  opacity: var(--p);
  transition: none; /* wichtig: echte Scroll-Bindung, kein easing */
  will-change: transform, opacity;
}

/* Barrierefreiheit */
@media (prefers-reduced-motion: reduce) {
  .center-full-image-top .vc_single_image-wrapper,
  .center-full-image-top img.vc_single_image-img {
    transform: none !important;
    opacity: 1 !important;
  }
}


/* Sanfter Herzschlag für Heart-Pulse-Icon */
.grid-icon-wrapper .fa-heart-pulse {
  animation: heartPulse 2.4s ease-in-out infinite;
  transform-origin: center;
}

/* Herzschlag-Animation */
@keyframes heartPulse {
  0%   { transform: scale(1); }
  20%  { transform: scale(1.12); }
  40%  { transform: scale(1); }
  60%  { transform: scale(1.18); }
  80%  { transform: scale(1); }
  100% { transform: scale(1); }
}

/* Barrierefreiheit */
@media (prefers-reduced-motion: reduce) {
  .grid-icon-wrapper .fa-heart-pulse {
    animation: none !important;
  }
}


/* verhindert Überlappung in den nächsten Abschnitt */
.reveal-clip{
  position: relative;
  overflow: hidden;  /* <- schneidet das reinfahrende Bild am Section-Rand ab */
}

/* ------------------------------------------ */


/* IMPRESSUM: großes Loch zwischen Page Title und Content entfernen */
.page-id-11466 .page-title-section,
.page-id-11466 .page-title-wrap,
.page-id-11466 .page-title-area,
.page-id-11466 .zozo-page-header,
.page-id-11466 .page-header {
  padding-bottom: 16px !important;
  margin-bottom: 0 !important;
  min-height: 0 !important;
}

/* Falls der Abstand vom Content-Wrapper kommt */
.page-id-11466 .content,
.page-id-11466 .content-area,
.page-id-11466 .site-content,
.page-id-11466 .main-content,
.page-id-11466 .container.content-container {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* Falls der erste Inhaltsblock einen großen oberen Margin hat (Margin-Collapse) */
.page-id-11466 .entry-content > :first-child,
.page-id-11466 .wpb_wrapper > :first-child {
  margin-top: 0 !important;
}

/* ----------------------------------------- */
