/* Custom CSS für Praxis Dr. Hugo */

/* Alle Buttons im Inhaltsbereich uppercase */
main a.bg-brand-orange,
main button.bg-brand-orange {
  text-transform: uppercase;
}

/* Orange Buttons: Gradient + Hover-Effekt */
.bg-brand-orange {
  background: linear-gradient(170deg, #EE7203 0%, #ed7002 100%) !important;
  transition: all 0.3s ease;
}

.bg-brand-orange:hover {
  background: linear-gradient(170deg, #f58415 0%, #EE7203 100%) !important;
}

/* Footer Background Color */
.footer-bg {
  background-color: #6f685d;
}

/* Header einzeilig - Logo | Navigation | Telefon + Termin */
.header-single-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  width: 100%;
}

.header-logo {
  flex-shrink: 0;
}

.header-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.header-contact {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

/* Leistungs-Kacheln: grauer Hintergrund, Schatten, abgerundete Ecken */
.leistung-card {
  background-color: #f7f7f7;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  text-align: center;
  padding: 1.5rem;
  text-decoration: none;
  display: block;
}

.leistung-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.leistung-card img {
  width: 110px;
  height: 110px;
  margin: 0 auto 1rem;
}

/* Icon Box Styles (Legacy) */
.icon-box {
  border-radius: 8px;
  transition: all 0.3s ease;
  text-align: center;
  padding: 1.5rem;
}

.icon-box:hover {
  transform: translateY(-2px);
}

.icon-box img {
  width: 110px;
  height: 110px;
  margin: 0 auto 1rem;
}

/* Content-Bilder: oben spitz, unten rund */
.img-content-rounded {
  border-radius: 0 0 24px 24px;
}

.image-rounded {
  border-radius: 8px;
}

/* Rundes Bild mit Maske */
.mask-circle {
  clip-path: circle(50%);
  -webkit-clip-path: circle(50%);
}

/* Custom Colors */
.text-color-333 {
  color: #333333;
}

.text-color-484 {
  color: #48443d;
}

.text-color-7a {
  color: #7a7a7a;
}

.bg-color-eee {
  background-color: #f7f7f7;
}

/* Footer Styles */
.footer-bg-color {
  background-color: #6f685d;
}

.footer-bg-color h2,
.footer-bg-color .text-h3 {
  font-size: 22px;
  line-height: 28px;
  font-weight: 600;
}

/* Footer Text-Farbe: wird jetzt in typography.css gesetzt */

/* "So erreichen Sie uns" Kacheln */
.kontakt-card {
  border-radius: 0 0 16px 16px; /* oben spitz, unten rund */
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.3s ease;
}

.kontakt-card:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

/* Footer Öffnungszeiten Tabelle */
.footer-oeffnungszeiten {
    border-collapse: collapse;
    width: auto;
}

.footer-oeffnungszeiten td {
    padding: 2px 0;
    vertical-align: top;
    color: #ffffff;
}

.footer-oeffnungszeiten td:first-child {
    padding-right: 8px;
    white-space: nowrap;
}

.footer-oeffnungszeiten td:last-child {
    white-space: nowrap;
}

/* Hero Slider */
.hero-slider .swiper-slide {
  background-size: cover;
  background-position: center;
}

/* Startseite: Hero-Bild ab 2000px fixieren */
@media (min-width: 2000px) {
  .hero-slider {
    background-color: #ffffff;
  }
  .hero-slider .swiper-slide {
    background-size: 2000px auto;
    background-repeat: no-repeat;
    background-position: center top;
  }
}

/* Alle Unterseiten: Hero-Bild ab 2000px fixieren */
@media (min-width: 2000px) {
  .hero-header {
    background-color: #ffffff;
  }
  .hero-header img {
    width: 2000px;
    max-width: 2000px;
    margin: 0 auto;
    display: block;
  }
  .hero-header .swiper {
    width: 2000px;
    max-width: 2000px;
    margin: 0 auto;
  }
  .hero-header[style*="background-image"] {
    background-size: 2000px auto !important;
    background-repeat: no-repeat !important;
    background-position: center 20% !important;
  }
}

/* Praxis Image Swiper Pagination */
.praxisSwiper .swiper-pagination {
  position: relative !important;
  margin-top: 50px;
  bottom: auto !important;
}

.praxisSwiper .swiper-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: #ccc;
  opacity: 1;
}

.praxisSwiper .swiper-pagination .swiper-pagination-bullet-active {
  background: #E8792B !important;
  opacity: 1;
}

/* Team Image Swiper Pagination */
.teamSwiper .swiper-pagination {
  position: relative !important;
  margin-top: 50px;
  bottom: auto !important;
}

.teamSwiper .swiper-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: #ccc;
  opacity: 1;
}

.teamSwiper .swiper-pagination .swiper-pagination-bullet-active {
  background: #E8792B !important;
  opacity: 1;
}

/* H1-Übergangsbox vom Hero zum Inhalt */
.hero-overlap-box {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

/* H1-Section überlagert Hero: Grauer Hintergrund beginnt erst unterhalb der Überlagerung */
.hero-overlap-section {
  background: linear-gradient(to bottom, transparent 120px, #f7f7f7 120px);
}
@media (min-width: 768px) {
  .hero-overlap-section {
    background: linear-gradient(to bottom, transparent 160px, #f7f7f7 160px);
  }
}

/* Header Hover-Effekt: Dicker Unterstrich */
.header-hover-underline {
  position: relative;
  display: inline-block;
  padding-bottom: 4px;
  text-decoration: none;
}

.header-hover-underline::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 3px;
  background-color: #ee7203;
  transition: width 0.3s ease;
}

.header-hover-underline:hover::after {
  width: 100%;
}

/* Navigation Level 1: Hover-Unterstrich in #6F685D */
.nav-hover-underline {
  position: relative;
  display: inline-block;
  padding-bottom: 4px;
  text-decoration: none;
  color: #6F685D;
}

.nav-hover-underline::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 3px;
  background-color: #6F685D;
  transition: width 0.3s ease;
}

.nav-hover-underline:hover::after {
  width: 100%;
}

.nav-hover-underline:hover {
  color: #6F685D;
}

/* Image Comparison Slider (Vorher/Nachher) */
.img-compare {
  position: relative;
  overflow: hidden;
  cursor: col-resize;
  border-radius: 12px;
  -webkit-user-select: none;
  user-select: none;
  touch-action: none;
}

.img-compare img {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
}

.img-compare .img-compare-after {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.img-compare .img-compare-after img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.img-compare .img-compare-handle {
  position: absolute;
  top: 0;
  width: 3px;
  height: 100%;
  background: #fff;
  z-index: 3;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.35);
  transform: translateX(-50%);
}

.img-compare .img-compare-handle::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  z-index: 4;
}

.img-compare .img-compare-handle::before {
  content: '\25C0\FE0E  \25B6\FE0E';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
  color: #ed7002;
  font-size: 11px;
  letter-spacing: 2px;
  line-height: 1;
  white-space: nowrap;
}

/* Responsive Header */
@media (max-width: 768px) {
  .header-single-line {
    flex-wrap: nowrap;
    justify-content: space-between;
  }
  
  .header-logo {
    flex: 1;
    text-align: center;
  }
  
  .header-nav {
    display: none;
  }
  
  .header-contact {
    flex-shrink: 0;
  }
}

