﻿/* 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;
}

@media (max-width: 768px) {
.split-viewport {
    -webkit-overflow-scrolling: touch;
}

}

/* Desktop: Hover-Effekt mit Zoom */

/* Mobile: Kein Zoom, bessere Performance */

/* Increase vertical offset on larger screens so content sits further below the fixed hero banner */

/* Responsive adjustments for doctor cards */

.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.22);
  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(-2px);
  background: rgba(220, 38, 38, 0.38);
  border-color: rgba(248, 113, 113, 0.75);
  box-shadow: 0 16px 45px rgba(220, 38, 38, 0.45), 0 0 25px rgba(248, 113, 113, 0.25);
}

.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-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;
  }
}

/* Responsive adjustments for job cards */

/* 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;
  }
}

@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);
    }

}

.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;
}

/* Mobile scroll indicator - Disabled as requested */

@media (max-width: 768px) {

}

/* ================================================
   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-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-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;
}
a.teaser-metric {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
a.teaser-metric:hover,

a.teaser-metric:focus-visible {
  text-decoration: none;
  color: inherit;
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(147, 197, 253, 0.45);
  box-shadow: 0 8px 20px -4px rgba(0, 0, 0, 0.35);
  outline: 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;
}

.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-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-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-grid-single {
  grid-template-columns: 1fr;
}

.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-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,

.contact-detail-item strong {
  display: block;
  color: #f8fafc;
  font-weight: 800;
}
.feature-item p,

.contact-detail-item p {
  margin: 0.35rem 0 0;
  color: rgba(226, 232, 240, 0.84);
  font-size: 0.88rem;
  line-height: 1.58;
}

.pricing-badge {
  display: inline-block;
  margin: 0.35rem auto 0;
  padding: 0.35rem 0.8rem;
  border-radius: 1rem;
}

.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);
}

.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 (max-width: 992px) {

  .person-grid,
  .teaser-metrics {
    grid-template-columns: minmax(0, 1fr);
  }

  .teaser-metrics-contact .teaser-metric:last-child {
    width: 100%;
  }
}

@media (max-width: 768px) {

  .split-teaser p {
    font-size: 0.95rem;
  }

  .premium-card {
    padding: 0.9rem;
  }
  .person-grid,
  .teaser-metrics {
    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);
}

.split-teaser,

.split-teaser p,

.premium-card,

.premium-title,

.premium-copy,

.premium-copy-muted,

.premium-note,

.person-card,

.feature-item,

.contact-detail-item,

.hours-item,

.addon-item {
  text-align: center;
}
.premium-label,

.person-tags,

.premium-cta-group {
  justify-content: center;
}
.feature-item,

.contact-detail-item,

.addon-item {
  flex-direction: column;
  align-items: center;
}
.feature-icon,

.contact-detail-item i {
  margin: 0 auto;
}
.contact-detail-item div {
  align-items: center;
}

.hours-item {
  justify-content: center;
}

.hours-item:last-child {
  padding-bottom: 0.8rem;
}

.addon-list {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
}

.addon-item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.95rem 1.1rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.addon-item-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.addon-item-top strong {
  color: #f8fafc;
  font-weight: 700;
  font-size: 0.96rem;
}

.addon-item .pricing-badge {
  margin-top: 0;
  flex-shrink: 0;
}

.addon-item p {
  margin: 0;
  color: rgba(226, 232, 240, 0.82);
  font-size: 0.86rem;
  line-height: 1.52;
}

/* ── IGeL Accordion (Einspaltig, animierter Chevron wie Services) ── */
.igel-accordion-list {
  display: grid;
  gap: 1.1rem;
}

.igel-accordion-card {
  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);
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.igel-accordion-card.premium-card-soft {
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.72) 0%, rgba(15, 23, 42, 0.64) 100%);
}

.igel-accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.4rem;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  user-select: none;
  font-family: inherit;
  transition: background 0.25s ease;
}

.igel-accordion-trigger:hover {
  background: rgba(255, 255, 255, 0.03);
}

.igel-trigger-content {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
}

.igel-trigger-top {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.igel-trigger-count {
  font-size: 0.76rem;
  font-weight: 600;
  color: rgba(203, 213, 225, 0.85);
  background: rgba(255, 255, 255, 0.08);
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
}

.igel-trigger-title {
  margin: 0.2rem 0 0;
  color: #f8fafc;
  font-size: 1.18rem;
  font-weight: 800;
  line-height: 1.35;
}

.igel-trigger-desc {
  margin: 0.25rem 0 0;
  color: rgba(203, 213, 225, 0.85);
  font-size: 0.88rem;
  line-height: 1.55;
}

/* Animierter Chevron wie bei services-accordion */
.igel-accordion-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.2);
  border: 1px solid rgba(59, 130, 246, 0.25);
  flex-shrink: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.igel-accordion-icon i {
  font-size: 0.75rem;
  color: #60a5fa;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.igel-accordion-card:hover .igel-accordion-icon {
  background: rgba(37, 99, 235, 0.35);
  border-color: rgba(59, 130, 246, 0.45);
}

.igel-accordion-card.is-open .igel-accordion-icon {
  background: rgba(37, 99, 235, 0.4);
  border-color: rgba(96, 165, 250, 0.5);
}

.igel-accordion-card.is-open .igel-accordion-icon i {
  transform: rotate(90deg);
}

/* Smooth Accordion Body (CSS Grid Animation) */
.igel-accordion-collapse {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  opacity: 0;
}

.igel-accordion-card.is-open .igel-accordion-collapse {
  grid-template-rows: 1fr;
  opacity: 1;
}

.igel-accordion-inner {
  overflow: hidden;
}

.igel-accordion-body {
  padding: 0.25rem 1.4rem 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* Light Theme Support */
:root[data-theme='light'] .igel-accordion-card {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(148, 163, 184, 0.2);
  box-shadow: 0 16px 30px -24px rgba(15, 23, 42, 0.15);
}

:root[data-theme='light'] .igel-trigger-title {
  color: #0f172a;
}

:root[data-theme='light'] .igel-trigger-desc {
  color: #475569;
}

:root[data-theme='light'] .igel-trigger-count {
  background: rgba(15, 23, 42, 0.06);
  color: #475569;
}

:root[data-theme='light'] .igel-accordion-icon {
  background: rgba(37, 99, 235, 0.1);
}

:root[data-theme='light'] .igel-accordion-icon i {
  color: #2563eb;
}

:root[data-theme='light'] .igel-accordion-body {
  border-top-color: rgba(148, 163, 184, 0.15);
}

.premium-note-block {
  margin-top: 1rem;
}

@media (max-width: 768px) {
  .split-viewport {
    padding-bottom: 2rem;
  }

  .addon-item {
    flex-direction: column;
  }
}

: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'] .contact-detail-item p,

:root[data-theme='light'] .premium-note p,

:root[data-theme='light'] .addon-item p,

: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'] .contact-detail-item,

:root[data-theme='light'] .addon-item {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.12);
  box-shadow: 0 14px 30px -20px rgba(15, 23, 42, 0.16), 0 2px 6px -1px rgba(15, 23, 42, 0.05);
}
:root[data-theme='light'] a.teaser-metric:hover,

:root[data-theme='light'] a.teaser-metric:focus-visible {
  background: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(239, 246, 255, 0.96) 100%);
  border-color: rgba(37, 99, 235, 0.45);
  box-shadow: 0 10px 24px -6px rgba(37, 99, 235, 0.18);
}

:root[data-theme='light'] .premium-card {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.12);
  box-shadow: 0 16px 36px -22px rgba(15, 23, 42, 0.18), 0 2px 6px -1px rgba(15, 23, 42, 0.05);
}

: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-label {
  background: rgba(37, 99, 235, 0.1);
  color: #2563eb;
}

:root[data-theme='light'] .premium-title,

:root[data-theme='light'] .person-card h4,

:root[data-theme='light'] .feature-item strong,

:root[data-theme='light'] .contact-detail-item 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-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 {
  color: #2563eb;
}

: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-card:hover {
  background: linear-gradient(180deg, rgba(254, 202, 202, 0.98) 0%, rgba(254, 226, 226, 0.94) 100%);
  border-color: rgba(239, 68, 68, 0.55);
  box-shadow: 0 20px 45px rgba(239, 68, 68, 0.3), 0 0 20px rgba(239, 68, 68, 0.2);
}

: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);
}


/* ── Absolute Ausrichtung der IGeL Preise & Beschreibungen ── */
.home-section .addon-item,
.addon-item {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 1.5rem !important;
  padding: 1.15rem 1.4rem !important;
  text-align: left !important;
}

.addon-item-info {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.3rem !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
  text-align: left !important;
}

.addon-item-title {
  display: block !important;
  color: #f8fafc !important;
  font-weight: 700 !important;
  font-size: 1.02rem !important;
  line-height: 1.35 !important;
}

.addon-item-desc {
  display: block !important;
  margin: 0 !important;
  color: rgba(226, 232, 240, 0.78) !important;
  font-size: 0.88rem !important;
  line-height: 1.5 !important;
}

.addon-item-price-wrap {
  flex-shrink: 0 !important;
  margin-left: auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
}

.addon-item .pricing-badge {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0.45rem 1rem !important;
  border-radius: 9999px !important;
  background: rgba(250, 204, 21, 0.12) !important;
  border: 1px solid rgba(250, 204, 21, 0.3) !important;
  color: #fde68a !important;
  font-size: 0.88rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.02em !important;
  white-space: nowrap !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25) !important;
}

:root[data-theme='light'] .addon-item-title {
  color: #0f172a !important;
}

:root[data-theme='light'] .addon-item-desc {
  color: #475569 !important;
}

:root[data-theme='light'] .addon-item .pricing-badge {
  background: rgba(245, 158, 11, 0.12) !important;
  border-color: rgba(245, 158, 11, 0.25) !important;
  color: #b45309 !important;
}