﻿/* Component: Split viewport styles - Allow vertical scrolling */

.split-viewport {
    display: flex;
    flex-direction: row;
    width: 100%;
    min-height: 100vh;
    height: auto;
    overflow-x: hidden;
    position: relative;
}

.split-section {
    /* No padding-top, sections scroll under banner */
}

@media (max-width: 768px) {
.split-viewport {
    flex-direction: column;
    min-height: 100vh;
    height: auto;
    overflow-x: hidden;
    scroll-snap-type: y proximity; /* Proximity works better with mixed heights */
    -webkit-overflow-scrolling: touch;
}
    
.split-section {
    min-height: 60vh; /* Reduced from 100vh to show teaser of next section */
    height: auto;
    flex: 0 0 auto;
    scroll-snap-align: start;
    scroll-snap-stop: normal;
    transition: min-height 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.8s ease;
    will-change: min-height, filter;
}

    /* Mobile active/inactive height behavior */
    .split-section.active { 
        min-height: 100vh;
        flex: 1 0 auto;
    }
    .split-section.inactive { 
        min-height: 50vh; 
        flex: 0 0 auto;
    }
}

/* Ensure split-viewport uses full width and allows three columns to sit side-by-side */
.split-viewport { gap: 0; }

.split-section {
    /* allow three columns: flex-grow 1, shrink 1, basis 33.33% */
    flex: 1 1 33.333%;
    min-width: 0; /* allow sections to shrink below their content width */
    position: relative;
    overflow: hidden;
    transition: flex 0.8s cubic-bezier(0.4, 0, 0.2, 1), filter 0.8s ease, min-height 0.8s ease;
    will-change: flex, filter, min-height;
    backface-visibility: hidden;
    transform: translateZ(0);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    text-align: center;
    color: white;
    cursor: pointer;
}

.split-section .split-bg {
    filter: brightness(0.55) saturate(0.7) blur(1px);
    transition: transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.9s ease;
    will-change: transform, filter;
}

.split-section:hover .split-bg,
.split-section.active .split-bg {
    filter: brightness(0.85) saturate(1) blur(0px);
}

@media (min-width: 769px) {
/* Interaction: when viewport is wide, hovering one section expands it
   and the siblings contract for a clear 3-column interaction. */
.split-viewport:hover .split-section { transition: flex 0.7s cubic-bezier(0.4, 0, 0.2, 1), filter 0.7s ease; }

    /* Explicit state classes used by JS for robust behavior across devices */
    .split-section.active { flex: 2.2 1 60%; }
    .split-section.inactive { flex: 0.9 1 20%; filter: brightness(0.7); }

    /* Fallback: CSS-only hover (less reliable across some browsers) */
    .split-section:hover { flex: 2.2 1 60%; }
    .split-viewport:hover .split-section:not(:hover) { flex: 0.9 1 20%; filter: brightness(0.7); }
}

/* Mobile explicit active/inactive classes (for touch interactions) */
@media (max-width: 768px) {
  .split-section.active { filter: brightness(1); }
  .split-section.inactive { filter: brightness(0.7); }
  /* ensure background scales with container rather than just image zoom */
  .split-bg { transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1), filter 0.7s ease; }
}

.text-vibrant {
    color: #2563eb; /* Medical Blue */
}

.split-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1), filter 0.7s ease;
  z-index: 1;
  will-change: transform, filter;
  backface-visibility: hidden;
  transform: translateZ(0);
}

/* Desktop: Hover-Effekt mit Zoom */
@media (min-width: 769px) {
  .split-section:hover .split-bg,
  .split-section.focused .split-bg,
  .split-section.active .split-bg {
    transform: scale(1.15);
  }
}

/* Mobile: Kein Zoom, bessere Performance */
@media (max-width: 768px) {
  .split-bg {
    background-attachment: scroll;
    transform: scale(1.05);
  }
  
  .split-section:active .split-bg {
    transform: scale(1.08);
  }
}

.split-content {
  position: relative;
  z-index: 2;
  padding: 2.5rem;
  padding-top: 15rem; /* Extra space for banner - content starts below */
  max-width: 95%;
  width: 100%;
  backdrop-filter: blur(2px);
}

@media (max-width: 768px) {
.split-content {
  padding: 3rem 1.5rem;
  padding-top: 13rem; /* Tighter fit for compact mobile banner */
  max-width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100vh;
  }
}

.split-icon {
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
  opacity: 0.95;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.split-section:hover .split-icon, .split-section.active .split-icon {
  transform: translateY(-12px) scale(1.15);
  opacity: 1;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.4));
}

/* Icon styling within description */
.split-description i.fa-solid,
.split-description i.fa-regular {
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

.split-section:hover .split-description i.fa-solid,
.split-section:hover .split-description i.fa-regular,
.split-section.active .split-description i.fa-solid,
.split-section.active .split-description i.fa-regular {
  opacity: 1;
}

/* Doctor Cards - Elegant Glassmorphism */
.doctor-card {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 1rem;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.doctor-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

/* Compact Doctor Cards for Split View */
.doctor-card-compact {
  padding: 1rem;
  border-radius: 0.75rem;
}

.doctor-icon {
  width: 70px;
  height: 70px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}

.doctor-icon-compact {
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
  font-size: 1.25rem;
}

.doctor-card:hover .doctor-icon,
.doctor-card:hover .doctor-icon-compact {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
  transform: scale(1.05);
}

.doctor-name {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: white;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  letter-spacing: 0.5px;
}

.doctor-name-compact {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: white;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  letter-spacing: 0.3px;
}

.doctor-specialties {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
}

.doctor-specialties-compact {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  width: 100%;
}

.specialty-badge {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-size: 0.85rem;
  color: white;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
  transition: all 0.2s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.specialty-badge-compact {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.35rem 0.65rem;
  border-radius: 1rem;
  font-size: 0.7rem;
  color: white;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  transition: all 0.2s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.doctor-card:hover .specialty-badge,
.doctor-card:hover .specialty-badge-compact {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
}

/* Responsive adjustments for doctor cards */
@media (max-width: 768px) {
  .doctor-card {
    padding: 1.25rem;
    margin-bottom: 1rem;
  }
  
  .doctor-card-compact {
    padding: 0.9rem;
  }
  
  .doctor-icon {
    width: 60px;
    height: 60px;
  }
  
  .doctor-icon-compact {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
  }
  
  .doctor-name {
    font-size: 1rem;
  }
  
  .doctor-name-compact {
    font-size: 0.85rem;
  }
  
  .specialty-badge {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }
  
  .specialty-badge-compact {
    font-size: 0.65rem;
    padding: 0.3rem 0.55rem;
  }
}

/* Contact Cards - Elegant Glassmorphism */
.contact-card {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 0.75rem;
  padding: 1rem;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.contact-card:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.contact-icon-compact {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
  font-size: 1.1rem;
}

.contact-card:hover .contact-icon-compact {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
  transform: scale(1.05);
}

.contact-label {
  font-size: 0.85rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: white;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  letter-spacing: 1.5px;
}

.contact-info {
  font-size: 0.85rem;
  color: white;
  line-height: 1.8;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.contact-phone,
.contact-fax,
.contact-email {
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

.contact-phone:last-child,
.contact-fax:last-child,
.contact-email:last-child {
  margin-bottom: 0;
}

.contact-link {
  color: white;
  text-decoration: none;
  transition: all 0.2s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 1px;
}

.contact-link:hover {
  color: white;
  border-bottom-color: rgba(255, 255, 255, 0.8);
  text-shadow: 0 2px 8px rgba(255, 255, 255, 0.3);
}

/* Emergency Card - Prominent Display */
.emergency-card {
  background: rgba(220, 38, 38, 0.2);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 2px solid rgba(248, 113, 113, 0.4);
  border-radius: 1rem;
  padding: 1.5rem 1.75rem;
  box-shadow: 0 10px 30px rgba(220, 38, 38, 0.25);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.emergency-card:hover {
  transform: translateY(-4px);
  background: rgba(220, 38, 38, 0.25);
  border-color: rgba(248, 113, 113, 0.6);
  box-shadow: 0 15px 40px rgba(220, 38, 38, 0.35);
}

.emergency-header {
  text-align: center;
  font-size: 1rem;
  font-weight: 800;
  color: white;
  letter-spacing: 1.8px;
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.emergency-numbers {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 2.5rem;
}

.emergency-number {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
  flex: 1;
  max-width: 180px;
}

.emergency-link {
  text-decoration: none;
  color: white;
  transition: all 0.3s ease;
}

.emergency-link:hover {
  transform: scale(1.05);
  color: white;
}

.emergency-link:hover i {
  transform: scale(1.1);
  filter: drop-shadow(0 4px 12px rgba(255, 255, 255, 0.4));
}

.emergency-link:hover .emergency-value {
  text-shadow: 0 3px 12px rgba(255, 255, 255, 0.5);
}

.emergency-number i {
  font-size: 1.75rem;
  color: white;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4));
  transition: all 0.3s ease;
}

.emergency-label {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  margin-top: 0.25rem;
}

.emergency-value {
  font-size: 1.5rem;
  font-weight: 900;
  color: white;
  letter-spacing: 2px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  margin-top: 0.25rem;
}

.emergency-divider {
  width: 2px;
  align-self: stretch;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  margin: 0.5rem 0;
}

/* Responsive adjustments for contact cards */
@media (max-width: 768px) {
  .contact-card {
    padding: 0.9rem;
  }
  
  .contact-icon-compact {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }
  
  .contact-label {
    font-size: 0.8rem;
  }
  
  .contact-info {
    font-size: 0.8rem;
    line-height: 1.7;
  }
  
  .contact-phone,
  .contact-fax,
  .contact-email {
    font-size: 0.8rem;
    margin-bottom: 0.45rem;
  }
  
  .contact-link {
    border-bottom-width: 1px;
  }
  
  .emergency-card {
    padding: 0.9rem;
  }
  
  .emergency-header {
    font-size: 0.9rem;
    margin-bottom: 0.6rem;
  }
  
  .emergency-numbers {
    gap: 1rem;
  }
  
  .emergency-number {
    max-width: 120px;
  }
  
  .emergency-link:hover {
    transform: scale(1.03);
  }
  
  .emergency-number i {
    font-size: 1.5rem;
  }
  
  .emergency-label {
    font-size: 0.65rem;
  }
  
  .emergency-value {
    font-size: 1.25rem;
    letter-spacing: 1.5px;
  }
}

/* Job Cards - Elegant Glassmorphism */
.job-card {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 0.75rem;
  padding: 1rem;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.job-card:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.job-icon-compact {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
  font-size: 1.1rem;
}

.job-card:hover .job-icon-compact {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
  transform: scale(1.05);
}

.job-label {
  font-size: 0.85rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  color: white;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  letter-spacing: 1.5px;
}

.job-info {
  font-size: 0.85rem;
  color: white;
  line-height: 1.8;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

/* Benefit Cards - Compact & Attractive */
.benefit-card {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.6rem;
  padding: 0.75rem;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.benefit-card:hover {
  transform: translateY(-4px) scale(1.02);
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

.benefit-card i {
  font-size: 1.5rem;
  color: white;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.3));
  transition: all 0.3s ease;
}

.benefit-card:hover i {
  transform: scale(1.15);
  filter: drop-shadow(0 3px 10px rgba(255, 255, 255, 0.3));
}

.benefit-text {
  font-size: 0.75rem;
  font-weight: 600;
  color: white;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
  line-height: 1.4;
}

/* Responsive adjustments for job cards */
@media (max-width: 768px) {
  .job-card {
    padding: 0.9rem;
  }
  
  .job-icon-compact {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }
  
  .job-label {
    font-size: 0.8rem;
    margin-bottom: 0.6rem;
  }
  
  .job-info {
    font-size: 0.8rem;
    line-height: 1.7;
  }
  
  .benefit-card {
    padding: 0.6rem;
  }
  
  .benefit-card i {
    font-size: 1.3rem;
  }
  
  .benefit-text {
    font-size: 0.7rem;
  }
}

.logo-box {
  display: inline-flex;
  flex-wrap: wrap;
  width: 90px;
  height: 90px;
  border: 2.5px solid rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  padding: 10px;
  justify-content: center;
  align-items: center;
  border-radius: 1rem;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.05);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.split-section:hover .logo-box, .split-section.active .logo-box {
  transform: scale(1.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.logo-box span {
  font-size: 1.3rem;
  font-weight: 800;
  width: 100%;
  line-height: 1.1;
  letter-spacing: 2px;
  word-break: break-all;
}

.dynamic-logo {
  max-height: 90px;
  max-width: 100%;
  object-fit: contain;
  margin-bottom: 2rem;
  filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.4));
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.split-section:hover .dynamic-logo, .split-section.active .dynamic-logo {
  filter: drop-shadow(0 8px 32px rgba(0, 0, 0, 0.5));
  transform: scale(1.08);
}

.split-title {
  font-weight: 900;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: white !important;
  font-size: 1.75rem;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (max-width: 768px) {
  .split-title {
    font-size: 1.5rem;
    letter-spacing: 3px;
    margin-bottom: 1rem;
  }
}

.split-section:hover .split-title, .split-section.active .split-title {
  transform: translateY(-4px);
  text-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* Elegant Desktop Teaser */
.split-teaser {
    margin-top: 2rem;
    transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1.5rem;
    will-change: transform, opacity;
}

.split-teaser p {
    font-size: 1.25rem;
    line-height: 1.65;
    opacity: 1;
    font-weight: 500;
    color: #e2e8f0 !important;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.9), 0 0 30px rgba(0, 0, 0, 0.5);
    margin-bottom: 0;
}

.teaser-action {
    margin-top: 1.75rem;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    color: #cbd5e1;
    transition: all 0.3s ease;
    padding-bottom: 5px; /* Safe space for bounce */
}

.teaser-action i {
    font-size: 1.15rem; /* Larger icon */
    animation: bounce-subtle-premium 2.5s infinite ease-in-out;
    display: inline-block;
}

@keyframes bounce-subtle-premium {
    0%, 100% { transform: translateY(0); opacity: 0.7; }
    50% { transform: translateY(8px); opacity: 1; }
}

@media (min-width: 769px) {
    .split-section:hover .split-teaser,
    .split-section.focused .split-teaser,
    .split-section.active .split-teaser {
        opacity: 0;
        transform: translateY(-30px) scale(0.95);
        pointer-events: none;
        height: 0;
        margin: 0;
        overflow: hidden;
    }
}

@media (max-width: 768px) {
    .split-teaser {
        display: block;
        margin-top: 1.5rem;
        padding: 0 1.5rem;
        max-height: 400px;
        overflow: hidden;
        transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    }
    
    .split-teaser p {
        font-size: 1.1rem;
        line-height: 1.55;
        font-weight: 500;
        color: #e2e8f0;
        text-shadow: 0 4px 15px rgba(0, 0, 0, 0.8);
    }

    .teaser-action {
        margin-top: 1.25rem;
        font-size: 0.8rem; /* Slightly larger text on mobile too */
        opacity: 0.95;
        letter-spacing: 2px;
        padding-bottom: 8px; /* More space on mobile */
    }

    /* Hide teaser smoothly when section is active */
    .split-section.active .split-teaser {
        opacity: 0;
        max-height: 0;
        margin-top: 0;
        transform: translateY(-20px) scale(0.95);
        pointer-events: none;
    }
}

.split-description {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  font-weight: 400;
  opacity: 0.9;
  transform: translateY(25px);
  transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.15s;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Better structure for content sections */
.split-description > div {
  margin-bottom: 1.5rem;
}

.split-description > div:last-child {
  margin-bottom: 0;
}

/* Better readability for structured content */
.split-description strong {
  display: block;
  margin-bottom: 0.75rem;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.5);
  font-weight: 800;
  letter-spacing: 1.5px;
}

.split-description .small,
.split-description small {
  font-size: 0.9rem;
  line-height: 1.9;
}

/* Spacing for lists */
.split-description .small > div,
.split-description small > div {
  margin-bottom: 0.4rem;
}

@media (max-width: 768px) {
.split-description {
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}
  
  .split-description strong {
    font-size: 0.95rem !important;
    letter-spacing: 1px !important;
  }
  
  .split-description .small,
  .split-description small {
    font-size: 0.82rem;
    line-height: 1.7;
  }
  
  .split-description > div {
    margin-bottom: 1.2rem;
  }
}

@media (min-width: 769px) {
  .split-description { opacity: 0; pointer-events: none; }
  .split-section:hover .split-description,
  .split-section.focused .split-description,
  .split-section.active .split-description {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
  }
}

@media (max-width: 768px) { 
  /* Smooth transition for mobile description appearance */
  .split-description {
     max-height: 0;
     opacity: 0;
     overflow: hidden;
     transform: translateY(20px);
     transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.1s;
     margin-bottom: 0 !important;
  }
  
  .split-section.active .split-description {
     max-height: 2000px; /* High enough for content expansion */
     opacity: 1;
     transform: translateY(0);
     margin-bottom: 2rem !important;
     padding-bottom: 1rem;
     overflow: visible;
  }
}

.split-link {
  color: white;
  text-decoration: none !important;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-block;
}

.split-link:hover {
  color: white;
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.8);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

/* If a split-link is also a .btn, prefer the button styling (don't apply the underline/border) */
.split-link.btn {
  padding-bottom: 0 !important;
  border-bottom: none !important;
  text-decoration: none !important;
  color: inherit !important;
}

/* Subtle overlays for each section - fast monochrom mit nur einem Hauch Farbe */
.split-praxis .split-bg {
  background-blend-mode: multiply;
  filter: saturate(0.8) brightness(0.85);
}

.split-praxis .split-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    linear-gradient(135deg, rgba(30, 41, 59, 0.5) 0%, rgba(51, 65, 85, 0.45) 100%),
    radial-gradient(circle at 30% 50%, rgba(96, 165, 250, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.split-praxis .logo-box { border-color: rgba(226, 232, 240, 0.9); }
.split-praxis .split-title { color: rgba(255, 255, 255, 0.98) !important; }

.split-jobs .split-bg {
  background-blend-mode: multiply;
  filter: saturate(0.8) brightness(0.85);
}

.split-jobs .split-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    linear-gradient(135deg, rgba(30, 41, 59, 0.5) 0%, rgba(51, 65, 85, 0.45) 100%),
    radial-gradient(circle at 70% 50%, rgba(52, 211, 153, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.split-jobs .logo-box { border-color: rgba(226, 232, 240, 0.9); }
.split-jobs .split-title { color: rgba(255, 255, 255, 0.98) !important; }

.split-legal .split-bg {
  background-blend-mode: multiply;
  filter: saturate(0.8) brightness(0.85);
}

.split-legal .split-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    linear-gradient(135deg, rgba(30, 41, 59, 0.5) 0%, rgba(51, 65, 85, 0.45) 100%),
    radial-gradient(circle at 50% 50%, rgba(129, 140, 248, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.split-legal .logo-box { border-color: rgba(226, 232, 240, 0.9); }
.split-legal .split-title { color: rgba(255, 255, 255, 0.98) !important; }

/* Mobile scroll indicator - Disabled as requested */
@media (max-width: 768px) {
  .scroll-indicator {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .scroll-indicator-disabled {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    animation: bounce 2s infinite;
    pointer-events: none;
  }

  .scroll-indicator-text {
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  }

  .scroll-indicator-arrow {
    width: 24px;
    height: 24px;
    border: 2px solid white;
    border-left: none;
    border-top: none;
    transform: rotate(45deg);
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
  }

  @keyframes bounce {
    0%, 100% {
      transform: translateX(-50%) translateY(0);
    }
    50% {
      transform: translateX(-50%) translateY(-10px);
    }
  }

  /* Hide scroll indicator after first scroll */
  .split-viewport.scrolled .scroll-indicator {
    opacity: 0;
    transition: opacity 0.3s ease;
  }
}
