/* ----------------------------------------------------------------
	Custom CSS

	Add all your Custom Styled CSS here for New Styles or
	Overwriting Default Theme Styles for Better Handling Updates
-----------------------------------------------------------------*/




/* =========================================
   Datenschutz Popup
   ========================================= */

.privacy-overlay {
    position: fixed;
    inset: 0;

    z-index: 999999;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(0, 0, 0, 0.45);

    padding: 20px;

    animation: privacyFadeIn 0.25s ease;
}


/* Popup */

.privacy-popup {
    position: relative;

    width: 100%;
    max-width: 430px;

    background: #ffffff;

    border-radius: 12px;

    padding: 35px 35px 30px;

    text-align: center;

    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.25);

    animation: privacyPopupIn 0.25s ease;
}


/* Icon */

.privacy-icon {
    width: 58px;
    height: 58px;

    margin: 0 auto 18px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #e9ecef;

    border-radius: 50%;

    font-size: 25px;
}


/* Überschrift */

.privacy-popup h3 {
    margin: 0 0 15px;

    font-size: 23px;
    font-weight: 600;

    color: #212529;
}


/* Text */

.privacy-popup p {
    margin: 0 auto 12px;

    font-size: 15px;
    line-height: 1.6;

    color: #555;
}


/* Kleiner Text */

.privacy-popup .privacy-small {
    font-size: 13px;

    margin-top: 8px;
}


/* Datenschutz-Link */

.privacy-popup a {
    color: #143277;

    font-weight: 500;

    text-decoration: underline;
}

.privacy-popup a:hover {
    text-decoration: none;
}


/* Button */

.privacy-button {
    width: 100%;

    margin-top: 18px;

    padding: 12px 20px;

    border: none;
    border-radius: 6px;

    background: #143277;
    color: #ffffff;

    font-size: 15px;
    font-weight: 500;

    cursor: pointer;

    transition:
        background 0.2s ease,
        transform 0.1s ease;
}

.privacy-button:hover {
    background: #10265d;
}

.privacy-button:active {
    transform: scale(0.98);
}


/* X oben rechts */

.privacy-popup-close {
    position: absolute;

    top: 12px;
    right: 14px;

    width: 34px;
    height: 34px;

    border: none;
    background: transparent;

    color: #777;

    font-size: 27px;
    line-height: 1;

    cursor: pointer;

    border-radius: 50%;
}

.privacy-popup-close:hover {
    background: #f1f1f1;
    color: #222;
}


/* Ein-/Ausblenden */

@keyframes privacyFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes privacyPopupIn {
    from {
        opacity: 0;
        transform: scale(0.94) translateY(10px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.privacy-hide {
    animation: privacyFadeOut 0.25s ease forwards;
}

@keyframes privacyFadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}


/* Smartphone */

@media (max-width: 500px) {

    .privacy-overlay {
        padding: 15px;
    }

    .privacy-popup {
        max-width: 100%;

        padding: 30px 25px 25px;

        border-radius: 10px;
    }

    .privacy-popup h3 {
        font-size: 21px;
    }

    .privacy-popup p {
        font-size: 14px;
    }
}























/* Der äußere Rahmen */
.hero-slider-wrapper {
  position: relative;
  width: 100%;
  height: 65vh; /* Volle Bildschirmhöhe */
  background-color: #000;
  overflow: hidden;
}

/* Der Slider-Container */
.custom-slider {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* Grundzustand aller Slides: Absolut übereinander gestapelt und unsichtbar */
.custom-slider .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease-in-out, visibility 1s ease-in-out; /* Sanfter 1-Sekunden-Fade */
}

/* Zustand des aktuell sichtbaren Bildes */
.custom-slider .slide.active {
  opacity: 1;
  visibility: visible;
}

/* Das Hintergrundbild selbst */
.custom-slider .slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* DAS FIXIERTE RESPONSIVE PNG OVERLAY */
.fixed-overlay-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10; /* Liegt sicher über den Hintergrundbildern */
  display: flex;
  justify-content: center; /* Zentriert horizontal */
  align-items: center;     /* Zentriert vertikal */
  pointer-events: none;    /* Klicks gehen durch das PNG durch */
}

/* Die Größe des PNG-Bildes */
.fixed-overlay-image img {
  max-width: 45%;   /* Am PC nimmt das PNG max. 45% der Breite ein */
  height: auto;
  user-select: none;
}

/* RESPONSIVE ANPASSUNG (Smartphones) */
@media (max-width: 768px) {
  .hero-slider-wrapper {
    height: 60vh; /* Auf Handys etwas kompakter */
  }
  
  .fixed-overlay-image img {
    max-width: 75%; /* Auf dem Handy darf das PNG größer wirken */
  }
}












.grey-home {
    border: 0 !important;
    background-color: var(--bs-gray-200);
    background-image: url("../images/Home-Hintergrund.jpg");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 3px;
    min-height:450px;

    display: flex;
    justify-content: center; /* horizontal */
    align-items: center;     /* vertikal */
    text-align: center;
}




/* Der Hauptcontainer auf der Website */
.marquee-container {
  overflow: hidden;
  width: 100%;
  user-select: none;
  background: #ffffff; /* Hintergrundfarbe */
  padding: 0px 0;
}

/* Die Schiene, die beide Gruppen nebeneinander hält */
.marquee-track {
  display: flex;
  width: max-content;
}

/* Die einzelnen Bildergruppen */
.marquee-group {
  display: flex;
  align-items: center;
  justify-content: space-around;
  /* 30s = Geschwindigkeit. Weniger Sekunden = schneller */
  animation: scroll-left 70s linear infinite; 
}

/* Styling für Ihre Bilder */
.marquee-group img {
  height: 180px; /* Höhe der Bilder */
  margin: 0 2px; /* Abstand zwischen den Bildern */
  object-fit: contain;
}

/* Pausiert die Endlosschleife, wenn man mit der Maus draufgeht */
.marquee-container:hover .marquee-group {
  animation-play-state: paused;
}

/* Die CSS-Animation für den perfekten, unendlichen Loop */
@keyframes scroll-left {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-100%);
  }
}








.promo-grey {
  border: 0 !important;

  background-color: var(--bs-gray-200);
  border-radius: 3px;

}


.promo-greyblue {
  border: 0 !important;
  background-color: #929292 !important;
  border-radius: 3px;
}



.orange {
  color: #df7700 !important;

}


.weiss {
  color: #fff !important;

}

.blue {
  color: #143277 !important;

}



.promo-blue {
  border: 0 !important;
  background-color: #143277 !important;
  border-radius: 3px;
}






.bg-Spinalkanalstenose {
  background-image: url('images/schwerpunkte/spinalkanalstenose.jpg');
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
  background-color: #ffffff;
  min-height: 600px;
}










#pdf-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, 350px);
    gap: 20px;

    /* Zentrierung des gesamten Grids */
    justify-content: center;   /* Grid horizontal in Container zentrieren */
    justify-items: center;     /* Items innerhalb der Grid-Zellen zentrieren */
}
.pdf-item { text-align:center; cursor:pointer; }
canvas {
    width: 350px;
    height: 350px;
    border: 1px solid #ccc;
    background: #eee;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    transition: 0.2s;
    display: block;
}

canvas:hover {
    transform: scale(1.05);
}

.filename {
    margin-top: 8px;
    font-size: 14px;
    word-break: break-word;
    text-align: center; /* Text zentrieren */
}
.filename { margin-top:5px; font-size:14px; word-break:break-word; }

/* Modal */
#pdf-modal { display:none; position:fixed; z-index:999; top:0; left:0; width:100%; height:100%; background:rgba(0,0,0,0.7); }
.modal-content { width:100%; height:100%; margin:5% auto; background:white; position:relative; border-radius:8px; overflow:hidden; }
#pdf-frame { width:100%; height:100%; border:none; }
#close-btn { position:absolute; top:10px; right:15px; font-size:30px; cursor:pointer; }

/* Button */
#load-more-btn { padding:10px 20px; font-size:16px; cursor:pointer; border-radius:6px; border:none; background-color:#143277; color:white; transition:0.2s; margin:20px auto; display:block; }
#load-more-btn:hover { background-color:#000; }

/* Spinner im Button */
#load-more-btn.loading::after {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-left: 10px;
  border: 2px solid white;
  border-top: 2px solid transparent;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}






	.revo-slider-emphasis-text {
			font-size: 64px;
			font-weight: 700;
			letter-spacing: -1px;
			font-family: 'Raleway', sans-serif;
			padding: 15px 20px;
			border-top: 2px solid #FFF;
			border-bottom: 2px solid #FFF;
		}

		.revo-slider-desc-text {
			font-size: 20px;
			font-family: 'Lato', sans-serif;
			width: 650px;
			text-align: center;
			line-height: 1.5;
		}

		.revo-slider-caps-text {
			font-size: 16px;
			font-weight: 400;
			letter-spacing: 3px;
			font-family: 'Raleway', sans-serif;
		}
		.tp-video-play-button { display: none !important; }

		.tp-caption { white-space: nowrap; }