﻿/* Component: Split viewport styles - Allow vertical scrolling */

.split-viewport {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: auto;
    overflow-x: hidden;
    position: relative;
    gap: 0;
}

.split-section {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    width: 100%;
}

.split-section .split-reveal {
    opacity: 0.3;
    filter: blur(8px);
    transform: translate3d(0, 1.5rem, 0) scale(0.985);
    transition: opacity 1.2s cubic-bezier(0.22, 1, 0.36, 1), transform 1.2s cubic-bezier(0.22, 1, 0.36, 1), filter 1.2s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform, filter;
}

.split-section .split-reveal.is-visible {
    opacity: 1;
    filter: blur(0px);
    transform: translate3d(0, 0, 0) scale(1);
}

.split-section .split-intro.split-reveal {
    transition-delay: 0.04s;
}

.split-section .split-body > .split-reveal:nth-child(1) {
    transition-delay: 0.12s;
}

.split-section .split-body > .split-reveal:nth-child(2) {
    transition-delay: 0.2s;
}

.split-section .split-body > .split-reveal:nth-child(3) {
    transition-delay: 0.28s;
}

@media (max-width: 768px) {
.split-viewport {
    scroll-snap-type: y proximity;
    -webkit-overflow-scrolling: touch;
}
    
.split-section {
    min-height: 100vh;
    scroll-snap-align: start;
    scroll-snap-stop: normal;
}
}

.split-section .split-bg {
    filter: brightness(0.6) saturate(0.8);
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), filter 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, filter;
}

.split-section:hover .split-bg,
.split-section.active .split-bg {
    filter: brightness(0.85) saturate(1);
}

.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.16, 1, 0.3, 1), filter 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
  will-change: transform, filter;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.split-bg:not(.is-loaded) {
  background-image: linear-gradient(180deg, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.72) 100%);
}

.split-bg.is-loaded {
  animation: splitBgFadeIn 0.55s ease both;
}

@keyframes splitBgFadeIn {
  from {
    opacity: 0.45;
  }
  to {
    opacity: 1;
  }
}

/* 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);
  }
}

@media (prefers-reduced-motion: reduce) {
  .split-section .split-reveal,
  .split-section .split-reveal.is-visible,
  .split-bg,
  .split-bg.is-loaded {
    opacity: 1;
    filter: none;
    transform: none;
    transition: none;
    animation: none;
  }
}

/* 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: 1.75rem;
  padding-top: 10rem; /* Space for banner - content starts below; increased via media queries on wide viewports */
  max-width: 95%;
  width: 100%;
  background-color: rgba(15, 23, 42, 0.15);
}

@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;
  }
}

/* Increase vertical offset on larger screens so content sits further below the fixed hero banner */
@media (min-width: 769px) {
  .split-content {
    padding-top: 18rem; /* lifts content further down on desktop */
  }
}

@media (min-width: 1200px) {
  .split-content {
    padding-top: 20rem; /* extra spacing for very wide viewports */
  }
}

.split-icon {
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0.95;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

@media (min-width: 769px) {
  .split-icon {
    font-size: 0.65em; /* Compact icon on desktop */
    margin-bottom: 1rem !important;
  }
}

.split-section:hover .split-icon, .split-section.active .split-icon {
  transform: translate3d(0, -8px, 0) scale(1.1);
  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(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 1rem;
  padding: 1.5rem;
  text-align: center;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
  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: translate3d(0, -5px, 0);
  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: 0.75rem;
  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: 36px;
  height: 36px;
  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;
}

.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.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  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(15, 23, 42, 0.5);
  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;
}

.specialty-badge-compact {
  background: rgba(15, 23, 42, 0.5);
  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;
}

.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(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 0.75rem;
  padding: 1rem;
  text-align: center;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.contact-card:hover {
  transform: translate3d(0, -3px, 0);
  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);
}

/* Unified Contact Card — single card with two halves */
.contact-card-unified {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 1rem;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.contact-card-unified:hover {
  transform: translate3d(0, -2px, 0);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.28);
}

.contact-unified-row {
  display: flex;
  align-items: stretch;
}

.contact-unified-item {
  flex: 1;
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1.25rem 1.25rem;
}

.contact-unified-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.95rem;
  color: #60a5fa;
}

.contact-unified-text {
  font-size: 0.9rem;
  color: white;
  line-height: 1.6;
  text-align: left;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.contact-unified-label {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: #94a3b8;
  margin-bottom: 0.3rem;
}

.contact-unified-divider {
  width: 1px;
  align-self: stretch;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  margin: 0.75rem 0;
}

.contact-unified-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.25rem;
  font-size: 0.9rem;
  background: rgba(255, 255, 255, 0.04);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 768px) {
  .contact-unified-row {
    flex-direction: column;
  }
  .contact-unified-divider {
    width: auto;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    margin: 0 0.75rem;
  }
}

/* Emergency Card - Prominent Display */
.emergency-card {
  background: rgba(220, 38, 38, 0.85);
  border: 2px solid rgba(248, 113, 113, 0.4);
  border-radius: 1rem;
  padding: 2rem 2rem;
  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: 0.85rem;
  font-weight: 800;
  color: white;
  letter-spacing: 1.8px;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  padding-bottom: 50px;
}

.emergency-numbers {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 2rem;
}

.emergency-number {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  flex: 1;
  max-width: 200px;
}

.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: 2rem;
  color: white;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4));
  transition: all 0.3s ease;
}

.emergency-label {
  font-size: 0.75rem;
  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.75rem;
  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: 1rem;
  }
  
  .emergency-header {
    font-size: 0.9rem;
    margin-bottom: 0.6rem;
  }
  
  .emergency-numbers {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }
  
  .emergency-number {
    max-width: none;
    width: 100%;
    padding: 0.85rem 0.7rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
  }

  .emergency-divider {
    display: none;
  }
  
  .emergency-link:hover {
    transform: scale(1.03);
  }
  
  .emergency-number i {
    font-size: 1.35rem;
  }
  
  .emergency-label {
    font-size: 0.65rem;
  }
  
  .emergency-value {
    font-size: 1.1rem;
    letter-spacing: 0.08em;
  }
}

@media (max-width: 480px) {
  .emergency-card {
    padding: 0.85rem;
  }

  .emergency-header {
    font-size: 0.78rem;
    letter-spacing: 0.12em;
  }

  .emergency-numbers {
    grid-template-columns: 1fr;
  }

  .emergency-number {
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    text-align: left;
    gap: 0.75rem;
    padding: 0.8rem 0.85rem;
  }

  .emergency-number i {
    font-size: 1.25rem;
    flex-shrink: 0;
  }

  .emergency-label {
    font-size: 0.62rem;
    margin-top: 0;
  }

  .emergency-value {
    font-size: 1rem;
    letter-spacing: 0.06em;
    margin-top: 0.15rem;
  }
}

/* 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: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
  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: translate3d(0, -4px, 0) scale3d(1.02, 1.02, 1);
  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: 1rem;
  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 (min-width: 769px) {
  .split-title {
    font-size: 1.5rem;
    letter-spacing: 3px;
    margin-bottom: 0.75rem;
  }
}

@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: 1.25rem;
    transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1.5rem;
    will-change: transform, opacity;
}

.split-teaser p {
    font-size: 1.05rem;
    line-height: 1.55;
    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;
}

@media (min-width: 769px) {
  .split-teaser p {
    font-size: 0.95rem;
    line-height: 1.5;
  }
}

.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 (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 */
    }
}

.split-description {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-weight: 400;
  opacity: 0.9;
  transform: translate3d(0, 25px, 0);
  transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.1s;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Better structure for content sections */
.split-description > div {
  margin-bottom: 1rem;
}

.split-description > div:last-child {
  margin-bottom: 0;
}

/* Better readability for structured content */
.split-description strong {
  display: block;
  margin-bottom: 0.5rem;
  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.85rem;
  line-height: 1.7;
}

/* 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: translate3d(0, 20px, 0);
     transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 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, restore btn flex layout and symmetric padding */
.split-link.btn {
  display: inline-flex !important;
  padding-top: var(--btn-padding-y) !important;
  padding-bottom: var(--btn-padding-y) !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;
  }
}

/* ================================================
   Services Accordion - Premium Glassmorphism
   ================================================ */

.services-accordion {
  margin-top: 1.25rem;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.9);
}

/* Hide default marker/triangle */
.services-accordion summary {
  list-style: none;
}
.services-accordion summary::-webkit-details-marker {
  display: none;
}
.services-accordion summary::marker {
  content: '';
}

.services-accordion-trigger {
  outline: none;
  user-select: none;
  padding: 0.75rem 1.25rem;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.75rem;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.services-accordion-trigger:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.services-accordion[open] .services-accordion-trigger {
  background: rgba(37, 99, 235, 0.12);
  border-color: rgba(37, 99, 235, 0.3);
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  border-bottom-color: transparent;
}

/* Animated chevron icon */
.services-accordion-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.2);
  flex-shrink: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.services-accordion-icon i {
  font-size: 0.65rem;
  color: #60a5fa;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.services-accordion[open] .services-accordion-icon {
  background: rgba(37, 99, 235, 0.3);
}

.services-accordion[open] .services-accordion-icon i {
  transform: rotate(90deg);
}

/* Animated body - JS handles height animation now */
.services-accordion-body {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top: none;
  border-bottom-left-radius: 0.75rem;
  border-bottom-right-radius: 0.75rem;
}

/* Single inner wrapper — JS animates max-height for smooth open/close */
.services-accordion-inner {
  min-height: 0;
  overflow: hidden;
  padding: 0 1.25rem;
  opacity: 0;
}

.services-accordion[open] .services-accordion-body {
  border-color: rgba(37, 99, 235, 0.15);
}

.services-accordion[open] .services-accordion-inner {
  opacity: 1;
  padding: 1rem 1.25rem 1.25rem;
}

:root[data-theme='light'] .services-accordion {
  color: #334155;
}

:root[data-theme='light'] .services-accordion-trigger {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(239, 246, 255, 0.9) 100%);
  border-color: rgba(148, 163, 184, 0.2);
  color: #0f172a;
  box-shadow: 0 16px 30px -24px rgba(15, 23, 42, 0.28);
}

:root[data-theme='light'] .services-accordion-trigger:hover {
  background: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(219, 234, 254, 0.86) 100%);
  border-color: rgba(37, 99, 235, 0.22);
  box-shadow: 0 18px 32px -22px rgba(37, 99, 235, 0.2);
}

:root[data-theme='light'] .services-accordion[open] .services-accordion-trigger {
  background: linear-gradient(180deg, rgba(219, 234, 254, 0.9) 0%, rgba(191, 219, 254, 0.76) 100%);
  border-color: rgba(37, 99, 235, 0.24);
}

:root[data-theme='light'] .services-accordion-icon {
  background: rgba(37, 99, 235, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

:root[data-theme='light'] .services-accordion-icon i {
  color: #2563eb;
}

:root[data-theme='light'] .services-accordion[open] .services-accordion-icon {
  background: rgba(37, 99, 235, 0.18);
}

:root[data-theme='light'] .services-accordion-body {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(248, 250, 252, 0.9) 100%);
  border-color: rgba(148, 163, 184, 0.18);
}

:root[data-theme='light'] .services-accordion[open] .services-accordion-body {
  border-color: rgba(37, 99, 235, 0.16);
}

/* Inner items staggered fade-in — visible when accordion opens */
.services-accordion-inner > .d-flex {
  transform: translateY(0);
  opacity: 1;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Spacing between items inside body */
.services-accordion-inner > .d-flex + .d-flex {
  margin-top: 1rem;
}

/* Add vertical spacing for feature cards inside the accordion */
.services-accordion-inner .feature-item,
.services-accordion-inner .feature-item-compact {
  margin-bottom: 0.9rem;
}

.services-accordion-inner .feature-item:last-child,
.services-accordion-inner .feature-item-compact:last-child {
  margin-bottom: 0;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .services-accordion-body,
  .services-accordion-inner,
  .services-accordion-icon i,
  .services-accordion-trigger,
  .services-accordion-inner > .d-flex {
    transition: none !important;
  }
}

/* Homepage premium redesign */

.split-viewport {
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.18) 0%, transparent 32%),
    radial-gradient(circle at bottom right, rgba(16, 185, 129, 0.16) 0%, transparent 28%),
    #020617;
}

.split-section {
  align-items: stretch;
}

.split-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.18) 0%, rgba(2, 6, 23, 0.68) 100%);
  z-index: 1;
}

.split-bg {
  z-index: 0;
}

.split-content {
  max-width: none;
  padding: 17.5rem 2rem 3rem;
  background: transparent;
  display: flex;
  justify-content: center;
}

.split-shell {
  width: min(100%, 37rem);
  padding: 1.6rem;
  border-radius: 1.75rem;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.78) 0%, rgba(15, 23, 42, 0.5) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 60px rgba(2, 6, 23, 0.38);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.split-icon {
  width: 4rem;
  height: 4rem;
  margin-bottom: 1rem !important;
  border-radius: 1.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.28) 0%, rgba(96, 165, 250, 0.12) 100%);
  border: 1px solid rgba(148, 163, 184, 0.28);
}

.split-overline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.split-title {
  margin: 1.15rem 0 1rem;
  font-size: clamp(1.7rem, 1.8vw, 2.2rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
  text-transform: none;
  color: #f8fafc !important;
}

.split-lead {
  margin: 0;
  color: rgba(226, 232, 240, 0.9);
  font-size: 1.02rem;
  line-height: 1.72;
  text-align: left;
  text-shadow: none;
}

.split-teaser {
  margin-top: 1.85rem;
  max-width: none;
  padding: 0;
  text-align: left;
}

.split-teaser p {
  color: rgba(226, 232, 240, 0.9) !important;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.6;
  text-shadow: none;
}

.teaser-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.teaser-metrics-single {
  grid-template-columns: minmax(0, 1fr);
}

.teaser-metric {
  padding: 1.05rem 1.1rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.teaser-metric strong {
  display: block;
  margin-bottom: 0.25rem;
  color: #f8fafc;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.teaser-metric span {
  display: block;
  color: rgba(203, 213, 225, 0.86);
  font-size: 0.82rem;
  line-height: 1.35;
}

.teaser-metric-link {
  color: inherit;
  text-decoration: none;
}

.teaser-metric-link:hover,
.teaser-metric-link:focus-visible {
  color: inherit;
  text-decoration: none;
}

.teaser-metrics-contact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.teaser-metrics-contact .teaser-metric:last-child {
  grid-column: 1 / -1;
  width: min(100%, 10.5rem);
  justify-self: center;
}

.teaser-metrics-contact .teaser-metric strong {
  font-size: 0.98rem;
}

.teaser-metrics-contact .teaser-metric span {
  font-size: 0.8rem;
}

.teaser-action {
  justify-content: flex-start;
  margin-top: 1.25rem;
  color: #93c5fd;
  letter-spacing: 0.14em;
}

.split-description {
  margin-bottom: 0;
  text-align: left;
  text-shadow: none;
}

.split-description > div {
  margin-bottom: 0;
}

.split-description > div + div {
  margin-top: 1.25rem;
}

.split-description strong {
  display: inline;
  margin-bottom: 0;
  letter-spacing: 0;
  text-shadow: none;
}

.premium-card {
  padding: 1.25rem;
  border-radius: 1.35rem;
  background: rgba(15, 23, 42, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 12px 30px rgba(2, 6, 23, 0.22);
}

.premium-card-soft {
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.72) 0%, rgba(15, 23, 42, 0.64) 100%);
}

.premium-card-accent {
  border-color: rgba(250, 204, 21, 0.22);
  background: linear-gradient(180deg, rgba(51, 65, 85, 0.82) 0%, rgba(15, 23, 42, 0.76) 100%);
}

.premium-card-success {
  border-color: rgba(16, 185, 129, 0.24);
  background: linear-gradient(180deg, rgba(5, 46, 22, 0.78) 0%, rgba(15, 23, 42, 0.78) 100%);
}

.premium-label {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(96, 165, 250, 0.12);
  color: #93c5fd;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.premium-label-warning {
  background: rgba(250, 204, 21, 0.12);
  color: #fcd34d;
}

.premium-label-success {
  background: rgba(16, 185, 129, 0.12);
  color: #6ee7b7;
}

.premium-title {
  margin: 0.9rem 0 0;
  color: #f8fafc;
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.4;
}

.premium-copy,
.premium-copy-muted {
  margin: 0.75rem 0 0;
  color: rgba(226, 232, 240, 0.85);
  font-size: 0.92rem;
  line-height: 1.65;
}

.premium-copy-muted {
  color: rgba(203, 213, 225, 0.82);
}

.person-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}

.person-card {
  padding: 1rem;
  border-radius: 1.2rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.person-card-icon {
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 0.85rem;
  border-radius: 0.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(37, 99, 235, 0.16);
  color: #93c5fd;
}

.person-card h4 {
  margin: 0;
  color: #f8fafc;
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.35;
}

.person-card p {
  margin: 0.6rem 0 0;
  color: rgba(226, 232, 240, 0.84);
  font-size: 0.88rem;
  line-height: 1.6;
}

/* Circular profile photo – shown when admin sets a photo */
.person-card-photo {
  width: 4rem;
  height: 4rem;
  margin-bottom: 0.85rem;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 2px solid rgba(37, 99, 235, 0.35);
  display: block;
}

/* Closed-day indicator in hours list */
.hours-item-closed strong {
  color: rgba(148, 163, 184, 0.55);
  font-weight: 500;
}

.person-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.8rem;
}

.person-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  font-size: 0.76rem;
  font-weight: 600;
}

.feature-list {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  padding: 0.9rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.feature-item-compact {
  padding: 0.8rem;
}

.feature-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.9rem;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(37, 99, 235, 0.14);
  color: #93c5fd;
}

.feature-item strong,
.value-item strong,
.contact-detail-item strong,
.job-fact strong,
.pricing-card strong {
  display: block;
  color: #f8fafc;
  font-weight: 800;
}

.feature-item p,
.value-item p,
.contact-detail-item p,
.pricing-card p {
  margin: 0.35rem 0 0;
  color: rgba(226, 232, 240, 0.84);
  font-size: 0.88rem;
  line-height: 1.58;
}

.pricing-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.15rem;
}

.pricing-card {
  padding: 0.95rem 1rem;
  border-radius: 1rem;
  background: rgba(15, 23, 42, 0.52);
  border: 1px solid rgba(250, 204, 21, 0.12);
}

/* Layout: center price badges under card headings/text */
.pricing-card-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-align: center;
}

.pricing-badge {
  display: inline-block;
  margin: 0.35rem auto 0;
  padding: 0.35rem 0.8rem;
  border-radius: 1rem;
}

.pricing-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.pricing-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: rgba(250, 204, 21, 0.12);
  border: 1px solid rgba(250, 204, 21, 0.22);
  color: #fde68a;
  font-size: 0.78rem;
  font-weight: 700;
}

.premium-note {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.premium-note i {
  color: #fcd34d;
  margin-top: 0.15rem;
}

.premium-note p {
  margin: 0;
  color: rgba(226, 232, 240, 0.84);
  font-size: 0.84rem;
  line-height: 1.55;
}

.premium-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.2rem;
}

.premium-secondary-link,
.premium-secondary-link.split-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #f8fafc;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: none;
}

.premium-secondary-link:hover,
.premium-secondary-link.split-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.11);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.job-facts-grid {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
}

.job-fact {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.job-fact i {
  color: #86efac;
  font-size: 1rem;
}

.job-fact span {
  display: flex;
  flex-direction: column;
  color: rgba(226, 232, 240, 0.9);
  font-size: 0.9rem;
  line-height: 1.45;
}

.job-fact strong {
  margin-bottom: 0.15rem;
  color: #86efac;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.benefit-pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1rem 0;
}

.benefit-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.65rem 0.85rem;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.09);
  border: 1px solid rgba(52, 211, 153, 0.14);
  color: #d1fae5;
  font-size: 0.82rem;
  font-weight: 700;
}

.value-list {
  display: grid;
  gap: 0.75rem;
}

.value-item {
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.value-item:first-child {
  padding-top: 0;
  border-top: none;
}

.contact-detail-list {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
}

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  padding: 0.9rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-detail-item i {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(96, 165, 250, 0.14);
  color: #93c5fd;
  flex-shrink: 0;
}

.hours-list {
  display: grid;
  gap: 0.15rem;
  margin-top: 1rem;
}

.hours-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(226, 232, 240, 0.88);
  font-size: 0.9rem;
}

.hours-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.hours-item strong {
  color: #f8fafc;
}

.emergency-card {
  margin-top: 1rem;
}

@media (min-width: 769px) {
  .split-content {
    padding-top: 18rem;
  }

  .split-section.active {
    flex: 2 1 56%;
  }

  .split-section.inactive {
    flex: 0.82 1 22%;
  }

  .split-shell {
    padding: 1.75rem;
  }
}

@media (max-width: 992px) {
  .split-content {
    padding-top: 16.5rem;
  }

  .person-grid,
  .teaser-metrics {
    grid-template-columns: minmax(0, 1fr);
  }

  .teaser-metrics-contact .teaser-metric:last-child {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .split-content {
    padding: 14.75rem 1rem 2rem;
    min-height: 100vh;
  }

  .split-shell {
    width: 100%;
    padding: 1.15rem;
    border-radius: 1.4rem;
  }

  .split-title {
    font-size: 1.75rem;
  }

  .split-lead,
  .split-teaser p {
    font-size: 0.95rem;
  }

  .split-description {
    text-align: left;
  }

  .premium-card {
    padding: 0.9rem;
  }

  .person-grid,
  .teaser-metrics,
  .pricing-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .premium-cta-group {
    flex-direction: column;
  }

  .premium-cta-group > * {
    width: 100%;
  }

  .hours-item {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Horizontal homepage sections */

.split-viewport {
  display: block;
  padding: 0 0 3rem;
  transition: padding-top 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Let the section background start higher (under the hero banner) while
   the content remains padded below the banner. Uses --home-hero-offset to
   keep spacing consistent with the layout padding. */
.split-viewport .split-section .split-bg {
  top: calc(-1 * var(--home-hero-offset, 16rem));
  height: calc(100% + var(--home-hero-offset, 16rem));
}

@media (max-width: 768px) {
  .split-viewport .split-section .split-bg {
    top: calc(-1 * var(--home-hero-offset-mobile, 10rem));
    height: calc(100% + var(--home-hero-offset-mobile, 10rem));
  }
}

.split-section {
  display: block;
  min-height: auto;
  flex: none;
  width: 100%;
  cursor: default;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.split-section.active,
.split-section.inactive,
.split-section:hover,
.split-viewport:hover .split-section:not(:hover) {
  flex: none;
  filter: none;
}

.split-section .split-bg,
.split-section:hover .split-bg,
.split-section.active .split-bg,
.split-section.focused .split-bg {
  transform: none;
  filter: brightness(0.5) saturate(0.8);
}

.split-content {
  padding: 3rem 2rem;
}

.split-section + .split-section .split-content {
  padding-top: 3rem;
}

.split-shell.split-shell-wide {
  width: min(100%, 1280px);
  display: grid;
  grid-template-columns: minmax(270px, 360px) minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}

.split-intro {
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 0;
  text-align: center;
}

.split-body {
  display: grid;
  gap: 1.25rem;
}

.split-body,
.split-lead,
.split-teaser,
.split-teaser p,
.premium-card,
.premium-title,
.premium-copy,
.premium-copy-muted,
.premium-note,
.person-card,
.feature-item,
.job-fact,
.contact-detail-item,
.hours-item,
.addon-item {
  text-align: center;
}

.split-icon,
.premium-label,
.person-tags,
.benefit-pill-list,
.premium-cta-group {
  justify-content: center;
}

.feature-item,
.job-fact,
.contact-detail-item,
.addon-item {
  flex-direction: column;
  align-items: center;
}

.feature-icon,
.contact-detail-item i,
.job-fact i {
  margin: 0 auto;
}

.job-fact span,
.contact-detail-item div {
  align-items: center;
}

.hours-item {
  justify-content: center;
}

.hours-item:last-child {
  padding-bottom: 0.8rem;
}

.split-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.split-card-grid-tight {
  align-items: start;
}

.pricing-grid-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.addon-list {
  display: grid;
  gap: 0.9rem;
  margin-top: 1rem;
}

.addon-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* For GEVO addon items: stack content and center the price */
.addon-item {
  flex-direction: column;
  align-items: center;
}

.addon-item .pricing-badge {
  margin-top: 0.75rem;
}

.addon-item p {
  margin: 0.35rem 0 0;
  color: rgba(226, 232, 240, 0.84);
  font-size: 0.88rem;
  line-height: 1.58;
}

.premium-note-block {
  margin-top: 1rem;
}

.split-igel .split-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(51, 65, 85, 0.52) 0%, rgba(30, 41, 59, 0.45) 100%),
    radial-gradient(circle at 65% 35%, rgba(250, 204, 21, 0.1) 0%, transparent 60%);
  pointer-events: none;
}

@media (min-width: 769px) {
  .split-section.active .split-content,
  .split-section.inactive .split-content {
    padding-top: 3rem;
  }

  .split-section:first-child .split-content,
  .split-section:first-child.active .split-content,
  .split-section:first-child.inactive .split-content {
    padding-top: 3rem;
  }
}

@media (max-width: 1100px) {
  .split-shell.split-shell-wide {
    grid-template-columns: minmax(0, 1fr);
  }

  .split-card-grid,
  .pricing-grid-three {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 768px) {
  .split-viewport {
    padding-bottom: 2rem;
  }

  .split-content {
    padding: 1.5rem 1rem 2rem;
    min-height: auto;
  }

  .split-section + .split-section .split-content {
    padding-top: 1.5rem;
  }

  .split-shell.split-shell-wide {
    gap: 1rem;
  }

  .split-body,
  .split-card-grid,
  .pricing-grid-three {
    gap: 1rem;
  }

  .addon-item {
    flex-direction: column;
  }
}

:root[data-theme='light'] .split-section {
  color: #0f172a;
  border-bottom-color: rgba(148, 163, 184, 0.16);
}

:root[data-theme='light'] .split-section .split-bg,
:root[data-theme='light'] .split-section:hover .split-bg,
:root[data-theme='light'] .split-section.active .split-bg,
:root[data-theme='light'] .split-section.focused .split-bg {
  filter: brightness(0.92) saturate(0.9);
}

:root[data-theme='light'] .split-content {
  background-color: rgba(239, 246, 255, 0.2);
}

:root[data-theme='light'] .split-shell {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(239, 246, 255, 0.76) 100%);
  border-color: rgba(191, 219, 254, 0.42);
  box-shadow: 0 26px 60px rgba(15, 23, 42, 0.14);
}

:root[data-theme='light'] .split-icon {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.16) 0%, rgba(96, 165, 250, 0.08) 100%);
  border-color: rgba(96, 165, 250, 0.18);
  color: #1d4ed8;
  filter: drop-shadow(0 8px 16px rgba(255, 255, 255, 0.28));
}

:root[data-theme='light'] .split-overline {
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(148, 163, 184, 0.18);
  color: #334155;
}

:root[data-theme='light'] .split-title,
:root[data-theme='light'] .split-praxis .split-title,
:root[data-theme='light'] .split-jobs .split-title,
:root[data-theme='light'] .split-legal .split-title {
  color: #0f172a !important;
}

:root[data-theme='light'] .split-lead,
:root[data-theme='light'] .split-teaser p,
:root[data-theme='light'] .premium-copy,
:root[data-theme='light'] .premium-copy-muted,
:root[data-theme='light'] .feature-item p,
:root[data-theme='light'] .value-item p,
:root[data-theme='light'] .contact-detail-item p,
:root[data-theme='light'] .pricing-card p,
:root[data-theme='light'] .premium-note p,
:root[data-theme='light'] .addon-item p,
:root[data-theme='light'] .job-fact span,
:root[data-theme='light'] .hours-item,
:root[data-theme='light'] .person-card p,
:root[data-theme='light'] .teaser-metric span {
  color: rgba(51, 65, 85, 0.86) !important;
}

:root[data-theme='light'] .teaser-metric,
:root[data-theme='light'] .person-card,
:root[data-theme='light'] .feature-item,
:root[data-theme='light'] .premium-note,
:root[data-theme='light'] .job-fact,
:root[data-theme='light'] .contact-detail-item,
:root[data-theme='light'] .addon-item {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(248, 250, 252, 0.86) 100%);
  border-color: rgba(191, 219, 254, 0.4);
  box-shadow: 0 12px 30px -24px rgba(15, 23, 42, 0.26);
}

:root[data-theme='light'] .premium-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(244, 249, 255, 0.88) 100%);
  border-color: rgba(191, 219, 254, 0.42);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12);
}

:root[data-theme='light'] .premium-card-soft {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(239, 246, 255, 0.88) 100%);
}

:root[data-theme='light'] .premium-card-accent {
  background: linear-gradient(180deg, rgba(255, 250, 240, 0.96) 0%, rgba(255, 255, 255, 0.9) 100%);
  border-color: rgba(245, 158, 11, 0.18);
}

:root[data-theme='light'] .premium-card-success {
  background: linear-gradient(180deg, rgba(236, 253, 245, 0.96) 0%, rgba(248, 250, 252, 0.9) 100%);
  border-color: rgba(16, 185, 129, 0.18);
}

:root[data-theme='light'] .premium-label {
  background: rgba(37, 99, 235, 0.1);
  color: #2563eb;
}

:root[data-theme='light'] .premium-label-warning {
  background: rgba(245, 158, 11, 0.12);
  color: #b45309;
}

:root[data-theme='light'] .premium-label-success {
  background: rgba(16, 185, 129, 0.12);
  color: #047857;
}

:root[data-theme='light'] .premium-title,
:root[data-theme='light'] .person-card h4,
:root[data-theme='light'] .feature-item strong,
:root[data-theme='light'] .value-item strong,
:root[data-theme='light'] .contact-detail-item strong,
:root[data-theme='light'] .job-fact strong,
:root[data-theme='light'] .pricing-card strong,
:root[data-theme='light'] .teaser-metric strong,
:root[data-theme='light'] .hours-item strong {
  color: #0f172a;
}

:root[data-theme='light'] .person-card-icon,
:root[data-theme='light'] .feature-icon,
:root[data-theme='light'] .contact-detail-item i {
  background: rgba(37, 99, 235, 0.1);
  color: #2563eb;
}

:root[data-theme='light'] .person-tag,
:root[data-theme='light'] .premium-secondary-link,
:root[data-theme='light'] .premium-secondary-link.split-link {
  background: rgba(255, 255, 255, 0.86);
  border-color: rgba(148, 163, 184, 0.2);
  color: #0f172a;
}

:root[data-theme='light'] .premium-secondary-link:hover,
:root[data-theme='light'] .premium-secondary-link.split-link:hover,
:root[data-theme='light'] .contact-link:hover {
  color: #1d4ed8;
  background: #ffffff;
  border-color: rgba(37, 99, 235, 0.22);
}

:root[data-theme='light'] .pricing-card {
  background: rgba(255, 255, 255, 0.84);
  border-color: rgba(245, 158, 11, 0.16);
}

:root[data-theme='light'] .pricing-badge {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.18);
  color: #b45309;
}

:root[data-theme='light'] .premium-note i,
:root[data-theme='light'] .job-fact i {
  color: #2563eb;
}

:root[data-theme='light'] .benefit-pill {
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.14);
  color: #065f46;
}

:root[data-theme='light'] .value-item {
  border-top-color: rgba(148, 163, 184, 0.18);
}

:root[data-theme='light'] .contact-link {
  color: #0f172a;
  border-bottom-color: rgba(37, 99, 235, 0.26);
}

:root[data-theme='light'] .hours-item {
  border-bottom-color: rgba(148, 163, 184, 0.18);
}

:root[data-theme='light'] .emergency-card {
  background: linear-gradient(180deg, rgba(254, 226, 226, 0.96) 0%, rgba(254, 242, 242, 0.94) 100%);
  border-color: rgba(239, 68, 68, 0.24);
  box-shadow: 0 16px 40px rgba(239, 68, 68, 0.18);
}

:root[data-theme='light'] .emergency-header,
:root[data-theme='light'] .emergency-link,
:root[data-theme='light'] .emergency-link:hover,
:root[data-theme='light'] .emergency-number i,
:root[data-theme='light'] .emergency-value {
  color: #991b1b;
}

:root[data-theme='light'] .emergency-label {
  color: rgba(127, 29, 29, 0.78);
  text-shadow: none;
}

:root[data-theme='light'] .emergency-divider {
  background: linear-gradient(180deg, transparent, rgba(239, 68, 68, 0.24), transparent);
}

:root[data-theme='light'] .split-igel .split-bg::after {
  background:
    linear-gradient(135deg, rgba(248, 250, 252, 0.42) 0%, rgba(226, 232, 240, 0.34) 100%),
    radial-gradient(circle at 65% 35%, rgba(250, 204, 21, 0.12) 0%, transparent 60%);
}

:root[data-theme='light'] .split-praxis .split-bg::after {
  background:
    linear-gradient(135deg, rgba(239, 246, 255, 0.46) 0%, rgba(226, 232, 240, 0.3) 100%),
    radial-gradient(circle at 30% 50%, rgba(59, 130, 246, 0.12) 0%, transparent 60%);
}

:root[data-theme='light'] .split-jobs .split-bg::after {
  background:
    linear-gradient(135deg, rgba(240, 253, 250, 0.42) 0%, rgba(226, 232, 240, 0.28) 100%),
    radial-gradient(circle at 70% 50%, rgba(16, 185, 129, 0.12) 0%, transparent 60%);
}

:root[data-theme='light'] .split-legal .split-bg::after {
  background:
    linear-gradient(135deg, rgba(241, 245, 249, 0.44) 0%, rgba(226, 232, 240, 0.3) 100%),
    radial-gradient(circle at 50% 50%, rgba(37, 99, 235, 0.08) 0%, transparent 60%);
}
