/* ===== HASLIDENT BRANDING — KONSOLIDIERTE FARBVARIABLEN ===== */
/*
 * 2026-05-25: Vollständig konsolidierte Variablen-Struktur.
 * Alte --haslident-* Variablen existieren als Legacy-Alias (ganz unten).
 */

:root {
  /* === Brand === */
  --brand-primary: #c52b6c;
  --brand-primary-rgb: 197, 43, 108;
  --brand-primary-dark: #9a3563;
  --brand-primary-light: #d96fa0;

  --brand-secondary: #0088b4;
  --brand-secondary-rgb: 0, 136, 180;
  --brand-secondary-dark: #006a8c;
  --brand-secondary-light: #33a3c7;

  /* === Surface === */
  --surface-white: #ffffff;
  --surface-warm: #fafaf8;
  --surface-beige: #f2ebe4;
  --surface-soft: #faf2eb;

  /* === Text === */
  --text-heading: #0b0f19;
  --text-body: #333333;
  --text-muted: #565973;
  --text-on-brand: #ffffff;

  /* === Status (semantisch, sparsam einsetzen) === */
  --status-success: #28a745;
  --status-success-bg: rgba(40, 167, 69, 0.1);
  --status-danger: #dc3545;
  --status-danger-bg: rgba(220, 53, 69, 0.1);
  --status-warning: #ffc107;
  --status-warning-bg: rgba(255, 193, 7, 0.1);
  --status-warning-text: #856404;

  /* === Akzent === */
  --rating-star: #ffc107;
  --border-subtle: #e6e6e6;
  --border-medium: #dadada;

  /* === Legacy-Alias (Übergang, später entfernen) === */
  --haslident-primary: var(--brand-primary);
  --haslident-primary-rgb: var(--brand-primary-rgb);
  --haslident-primary-dark: var(--brand-primary-dark);
  --haslident-primary-light: var(--brand-primary-light);
  --haslident-secondary: var(--brand-secondary);
  --haslident-secondary-rgb: var(--brand-secondary-rgb);
  --haslident-secondary-dark: var(--brand-secondary-dark);
  --haslident-secondary-light: var(--brand-secondary-light);
  --haslident-background: var(--surface-beige);
  --haslident-background-rgb: 242, 235, 228;
  --haslident-background-light: var(--surface-beige);
  --haslident-background-light-rgb: 245, 237, 224;
  --haslident-text-dark: #4a443a;
  --haslident-text-dark-rgb: 74, 68, 58;
  --haslident-text-primary: var(--text-body);
  --haslident-white-warm: var(--surface-warm);
  --haslident-white-warm-alt: #f6f6f4;
  --haslident-gray-light: var(--border-subtle);
  --haslident-gray-medium: var(--border-medium);
  --haslident-beige-warm: #efe6de;
  --haslident-beige-sand: #e8d9cc;
  --brand-color: var(--brand-primary);
  --brand-color-dark: var(--brand-primary-dark);
  --brand-color-rgb: var(--brand-primary-rgb);
  --brand-accent: var(--brand-secondary);
  --brand-accent-dark: var(--brand-secondary-dark);
  --brand-accent-rgb: var(--brand-secondary-rgb);

  /* === Silicon Theme Overrides === */
  --si-primary: var(--brand-primary);
  --si-primary-rgb: var(--brand-primary-rgb);
  --si-info: #ffffff;
  --si-secondary: var(--surface-beige);
  --si-secondary-rgb: 242, 235, 228;
}

/* ===== GLOBALE ÜBERSCHREIBUNGEN ===== */

/* Text Primary Klasse - Türkis für Akzente und Icons */
.text-primary {
    color: var(--haslident-secondary) !important;
}

/* Links - Pink für Interaktivität */
a {
    color: var(--haslident-primary) !important;
}

a:hover {
    color: var(--haslident-primary-dark) !important;
}

/* Hintergrundfarbe für bg-body-tertiary - Warmes Weiß für Hero-Bereich */
.bg-body-tertiary {
    background-color: var(--haslident-background);
}

/* Header/Navbar Hintergrund - Weiß für Clean & Modern Look */
.header.navbar.bg-white,
.offcanvas.bg-white {
    background-color: #ffffff;
    border-bottom: 1px solid var(--haslident-gray-light);
}

/* Navigation Links - Dunkle Farbe auf Weiß */
.header.navbar.bg-white .navbar-nav .nav-link,
.header.navbar.bg-white .navbar-brand,
.offcanvas.bg-white .navbar-nav .nav-link {
    color: var(--haslident-text-primary) !important;
}

.header.navbar.bg-white .navbar-nav .nav-link:hover,
.header.navbar.bg-white .navbar-nav .nav-link:focus {
    color: var(--haslident-secondary) !important; /* Türkis beim Hover */
}

/* Mobile Menu Toggle Button - Keine Umrandung */
.header.navbar.bg-white .navbar-toggler {
    border: none !important;
    box-shadow: none !important;
    padding: 0.5rem !important;
}

.header.navbar.bg-white .navbar-toggler:focus {
    box-shadow: none !important;
    outline: none !important;
}

.header.navbar.bg-white .navbar-toggler-icon {
    filter: none; /* Standard dunkles Icon */
}

/* Kontaktformular - Warmes Weiß Hintergrund mit dunklen Texten */
.bg-body-tertiary.rounded-3 {
    background-color: var(--haslident-background) !important;
    border: 1px solid var(--haslident-gray-light) !important;
}

.bg-body-tertiary.rounded-3 h1,
.bg-body-tertiary.rounded-3 h2,
.bg-body-tertiary.rounded-3 h3,
.bg-body-tertiary.rounded-3 p,
.bg-body-tertiary.rounded-3 .lead,
.bg-body-tertiary.rounded-3 .form-label,
.bg-body-tertiary.rounded-3 label {
    color: var(--haslident-text-primary) !important;
}

.bg-body-tertiary.rounded-3 a {
    color: var(--haslident-secondary) !important;
    text-decoration: underline;
}

.bg-body-tertiary.rounded-3 a:hover {
    color: var(--haslident-secondary-dark) !important;
}

/* Submit Button im Kontaktformular - Magenta Button */
.bg-body-tertiary.rounded-3 .btn-light {
    background-color: var(--haslident-primary) !important;
    border-color: var(--haslident-primary) !important;
    color: #fff !important;
    font-weight: 600;
}

.bg-body-tertiary.rounded-3 .btn-light:hover {
    background-color: var(--haslident-primary-dark) !important;
    border-color: var(--haslident-primary-dark) !important;
    color: #fff !important;
}

/* Outline Buttons in Kontaktformular - Türkis */
.bg-body-tertiary.rounded-3 .btn-outline-light {
    color: var(--haslident-secondary) !important;
    border-color: var(--haslident-secondary) !important;
}

.bg-body-tertiary.rounded-3 .btn-outline-light:hover {
    background-color: var(--haslident-secondary) !important;
    border-color: var(--haslident-secondary) !important;
    color: #fff !important;
}

/* Footer Regionen-Badges - Weiß mit Türkis-Akzenten */
.footer .badge.rounded-pill {
    background-color: #ffffff !important;
    color: var(--haslident-secondary) !important;
    border: 1px solid var(--haslident-gray-light) !important;
}

.footer .badge.rounded-pill:hover {
    background-color: var(--haslident-secondary) !important;
    color: #fff !important;
    border-color: var(--haslident-secondary) !important;
}

/* Footer Regionen-Box
   Alt-Selektoren [style*="rgba(22, 88, 9"] wurden 2026-05-25 entfernt,
   da die Grün-Farbe in keinem Template mehr vorkommt. */

/* Footer Border-Top
   Alt-Selektor [style*="rgba(22, 88, 9"] wurde 2026-05-25 entfernt. */

/* Footer Hover-Effekt - Türkis statt Pink */
.footer .hover-primary:hover {
    color: var(--haslident-secondary) !important;
}

/* ===== WARUM ZU UNS SEKTION ===== */
/* Headlines in "Warum zu uns?" */
section h3 a.text-decoration-none {
    color: var(--text-heading) !important;
}

section h3 a.text-decoration-none:hover {
    color: var(--brand-secondary) !important;
}

/* Öffnungszeiten Bar - Weiß mit dunkler Schrift */
.opening-hours-bar {
    background-color: #ffffff !important;
    border-bottom: 1px solid var(--haslident-gray-light) !important;
    color: var(--haslident-text-primary) !important;
}

.opening-hours-text i {
    color: var(--haslident-text-primary) !important;
}

.opening-hours-text strong {
    color: var(--haslident-text-primary) !important;
}

/* Bootstrap Primary Buttons - überschreibt theme.css */
.btn-primary {
    --si-btn-color: #fff !important;
    --si-btn-bg: var(--haslident-primary) !important;
    --si-btn-border-color: var(--haslident-primary) !important;
    --si-btn-hover-color: #fff !important;
    --si-btn-hover-bg: var(--haslident-primary-dark) !important;
    --si-btn-hover-border-color: var(--haslident-primary-dark) !important;
    --si-btn-active-color: #fff !important;
    --si-btn-active-bg: var(--haslident-primary-dark) !important;
    --si-btn-active-border-color: var(--haslident-primary-dark) !important;
    background-color: var(--haslident-primary) !important;
    border-color: var(--haslident-primary) !important;
    color: #fff !important;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--haslident-primary-dark) !important;
    border-color: var(--haslident-primary-dark) !important;
    color: #fff !important;
}

.btn-primary:active,
.btn-primary.active {
    background-color: var(--haslident-primary-dark) !important;
    border-color: var(--haslident-primary-dark) !important;
    color: #fff !important;
}

/* Bootstrap Outline Primary Buttons */
.btn-outline-primary {
    --si-btn-color: var(--haslident-primary) !important;
    --si-btn-border-color: var(--haslident-primary) !important;
    --si-btn-hover-bg: var(--haslident-primary) !important;
    --si-btn-hover-border-color: var(--haslident-primary) !important;
    --si-btn-active-bg: var(--haslident-primary-dark) !important;
    --si-btn-active-border-color: var(--haslident-primary-dark) !important;
    color: var(--haslident-primary) !important;
    border-color: var(--haslident-primary) !important;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    background-color: var(--haslident-primary) !important;
    border-color: var(--haslident-primary) !important;
    color: #fff !important;
}

/* ===== BARRIEREFREIE BUTTONS AUF DUNKLEM HINTERGRUND ===== */
/* Outline Light Button - Weiß auf dunklem Hintergrund (WCAG AAA konform) */
.btn-outline-light {
    --si-btn-color: #ffffff !important;
    --si-btn-border-color: #ffffff !important;
    --si-btn-hover-color: #333333 !important;
    --si-btn-hover-bg: #ffffff !important;
    --si-btn-hover-border-color: #ffffff !important;
    --si-btn-active-bg: rgba(255, 255, 255, 0.9) !important;
    --si-btn-active-border-color: #ffffff !important;
    --si-btn-active-color: #333333 !important;
    color: #ffffff !important;
    border-color: #ffffff !important;
    border-width: 2px !important;
    font-weight: 600 !important;
}

.btn-outline-light:hover,
.btn-outline-light:focus {
    background-color: #ffffff !important;
    border-color: #ffffff !important;
    color: #333333 !important;
}

/* Dark Mode / data-bs-theme="dark" Sections */
[data-bs-theme="dark"] .btn-outline-light,
.bg-dark .btn-outline-light,
section.bg-dark .btn-outline-light {
    --si-btn-color: #ffffff !important;
    --si-btn-border-color: #ffffff !important;
    --si-btn-hover-color: #333333 !important;
    color: #ffffff !important;
    border-color: #ffffff !important;
    border-width: 2px !important;
}

[data-bs-theme="dark"] .btn-outline-light:hover,
.bg-dark .btn-outline-light:hover,
section.bg-dark .btn-outline-light:hover {
    color: #333333 !important;
}

/* Call Buttons */
.call-button,
.call-button-desktop {
    background-color: var(--haslident-primary) !important;
    border-color: var(--haslident-primary) !important;
}

.call-button:hover,
.call-button-desktop:hover {
    background-color: var(--haslident-primary-dark) !important;
    border-color: var(--haslident-primary-dark) !important;
}

/* Navigation Dropdown - Weiß auf Türkis-Navigation */
.dropdown-menu.bg-info {
    background-color: #fff !important;
    border-color: rgba(var(--haslident-secondary-rgb), 0.2) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
}

.dropdown-header {
    color: var(--haslident-secondary) !important;
    font-weight: 600;
}

.dropdown-item {
    color: var(--haslident-text-primary) !important;
}

.dropdown-item:hover {
    background-color: rgba(var(--haslident-secondary-rgb), 0.08) !important;
    color: var(--haslident-secondary) !important;
}

/* Accordion Buttons */
.accordion {
    --si-accordion-btn-icon-box-active-bg: var(--haslident-primary) !important;
    --si-accordion-btn-icon-box-active-shadow: 0 -0.5rem 1.125rem -0.5rem rgba(var(--haslident-primary-rgb), 0.9) !important;
}

.accordion-button:not(.collapsed)::after {
    background-color: var(--haslident-primary) !important;
    box-shadow: 0 -0.5rem 1.125rem -0.5rem rgba(var(--haslident-primary-rgb), 0.9) !important;
}

/* Price Range Slider */
.price-range-our .price-range-background {
    background-color: rgba(var(--haslident-primary-rgb), 0.1) !important;
}

.price-range-our .price-range-active {
    background-color: var(--haslident-primary) !important;
}

.price-range-our .price-marker-circle {
    border-color: var(--haslident-primary) !important;
}

.price-range-our .price-label {
    color: var(--haslident-primary) !important;
}

/* Scrollbar */
.overflow-auto::-webkit-scrollbar-track {
    background: rgba(var(--haslident-primary-rgb), 0.1) !important;
}

.overflow-auto::-webkit-scrollbar-thumb {
    background: var(--haslident-primary) !important;
}

.overflow-auto::-webkit-scrollbar-thumb:hover {
    background: var(--haslident-primary-dark) !important;
}

.overflow-auto {
    scrollbar-color: var(--haslident-primary) rgba(var(--haslident-primary-rgb), 0.1) !important;
}

/* Reviews Carousel */
.reviews-carousel-button {
    color: var(--haslident-primary) !important;
}

.reviews-carousel-button:hover {
    background-color: var(--haslident-primary) !important;
}

.reviews-carousel-dot {
    background-color: var(--haslident-primary) !important;
}

/* Footer Hover */
.hover-primary:hover {
    color: var(--haslident-primary) !important;
}

/* ===== INLINE STYLE ÜBERSCHREIBUNGEN ===== */
/* Alle #165809/rgba(22,88,9)-Selektoren wurden 2026-05-25 entfernt.
   Diese Alt-Farbe existiert in keinem Template mehr. */

/* ===== ANIMATIONEN ===== */
@keyframes pulseHaslidPrimary {
    0% {
        transform: scale(0.3);
        opacity: 0;
        box-shadow: 0 0 0 rgba(var(--haslident-primary-rgb), 0);
    }
    50% {
        transform: scale(1.15);
        box-shadow: 0 0 0 8px rgba(var(--haslident-primary-rgb), 0.2);
    }
    100% {
        transform: scale(1);
        opacity: 1;
        box-shadow: 0 2px 8px rgba(var(--haslident-primary-rgb), 0.3);
    }
}

/* Ersetze alte pulseGreen Animation */
.price-range-our .price-marker.animate .price-marker-circle {
    animation: pulseHaslidPrimary 0.6s ease-out 0.3s !important;
}

/* ===== RESPONSIVE ANPASSUNGEN ===== */
@media (max-width: 991px) {
    .navbar-nav .dropdown-header {
        background-color: rgba(var(--haslident-primary-rgb), 0.05) !important;
    }

    .navbar-nav .dropdown-item:hover {
        background-color: rgba(var(--haslident-primary-rgb), 0.08) !important;
    }
}

/* ===== BEHANDLUNGSGEBIETE / DENTAL SERVICES SEKTION ===== */
/* Behandlungsgebiete Links - Türkis für Icons und Headlines */
section.bg-body-tertiary a.text-decoration-none h3 {
    color: var(--haslident-text-primary) !important;
    transition: color 0.3s ease;
}

section.bg-body-tertiary a.text-decoration-none:hover h3 {
    color: var(--haslident-secondary) !important;
}

section.bg-body-tertiary a.text-decoration-none img {
    transition: transform 0.3s ease, filter 0.3s ease;
}

section.bg-body-tertiary a.text-decoration-none:hover img {
    transform: scale(1.1);
    filter: brightness(1.1);
}

/* CTA-Bereich in Behandlungsgebiete */
section.bg-body-tertiary .text-primary {
    color: var(--haslident-secondary) !important;
}

/* ===== TEAM SEKTION ===== */
/* Team-Sektion mit bg-white - Warmes Weiß statt Beige */
section.bg-white:not(.header):not(.offcanvas):not(.dropdown-menu) {
    background-color: var(--haslident-background) !important;
}

section.bg-white h1,
section.bg-white h2,
section.bg-white h3,
section.bg-white h4,
section.bg-white h5,
section.bg-white h6,
section.bg-white p,
section.bg-white .lead {
    color: var(--haslident-text-primary) !important;
}

/* ===== TÜRKIS AKZENTE (Optional) ===== */
/* Diese Klassen können verwendet werden, um Türkis-Akzente zu setzen */
.haslident-accent {
    color: var(--haslident-secondary) !important;
}

.haslident-accent-bg {
    background-color: var(--haslident-secondary) !important;
}

.haslident-accent-border {
    border-color: var(--haslident-secondary) !important;
}

.haslident-accent:hover {
    color: var(--haslident-secondary-dark) !important;
}

.haslident-accent-bg:hover {
    background-color: var(--haslident-secondary-dark) !important;
}

/* ============================================================
   Typografie-Hierarchie (Override Silicon-Theme)
   Skala: Display > H2 > H3 > H4 > Body > Caption
   ============================================================ */

:root {
  --font-display-size:  3.5rem;
  --font-display-size-m: 2.5rem;
  --font-h2-size:       2.25rem;
  --font-h2-size-m:     1.75rem;
  --font-h3-size:       1.375rem;
  --font-h3-size-m:     1.25rem;
  --font-h4-size:       1.125rem;
  --font-h4-size-m:     1.0625rem;
  --font-body-size:     1rem;
  --font-caption-size:  0.8125rem;
}

.display-hero,
h1.display-hero {
  font-family: var(--si-body-font-family);
  font-size: var(--font-display-size-m);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-heading);
}
@media (min-width: 768px) {
  .display-hero, h1.display-hero { font-size: var(--font-display-size); }
}

h1:not(.display-hero) {
  font-size: var(--font-h2-size-m);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--text-heading);
}
@media (min-width: 768px) {
  h1:not(.display-hero) { font-size: var(--font-h2-size); }
}

h2, .h2 {
  font-size: var(--font-h2-size-m);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--text-heading);
}
@media (min-width: 768px) {
  h2, .h2 { font-size: var(--font-h2-size); }
}

h3, .h3 {
  font-size: var(--font-h3-size-m);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0;
  color: var(--text-heading);
}
@media (min-width: 768px) {
  h3, .h3 { font-size: var(--font-h3-size); }
}

h4, .h4 {
  font-size: var(--font-h4-size-m);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0;
  color: var(--text-heading);
}
@media (min-width: 768px) {
  h4, .h4 { font-size: var(--font-h4-size); }
}

body, p {
  font-size: var(--font-body-size);
  line-height: 1.6;
  color: var(--text-body);
}

.caption, small {
  font-size: var(--font-caption-size);
  line-height: 1.4;
}

.team-name {
  font-size: var(--font-h3-size-m);
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-heading);
  margin: 0;
}
@media (min-width: 768px) {
  .team-name { font-size: var(--font-h3-size); }
}
.team-role {
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--text-muted);
  margin: 0;
}

/* Display-Klassen .display-1..6 ruhiger gestellt */
.display-1 { font-size: var(--font-display-size); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; }
.display-2 { font-size: 3rem;  font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; }
.display-3 { font-size: 2.5rem; font-weight: 700; line-height: 1.2;  letter-spacing: -0.01em; }
.display-4 { font-size: 2.25rem;font-weight: 700; line-height: 1.2;  letter-spacing: -0.01em; }
.display-5 { font-size: 2rem;   font-weight: 700; line-height: 1.2;  }
.display-6 { font-size: 1.75rem;font-weight: 700; line-height: 1.25; }

/* ============================================================
   Quick-Action-Bar (Mobile, sticky bottom)
   ============================================================ */

.quick-action-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  background: var(--surface-white);
  border-top: 1px solid var(--border-subtle);
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.08);
  padding: 0.5rem 0.25rem calc(0.5rem + env(safe-area-inset-bottom));
}

.qab-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  padding: 0.5rem 0.25rem;
  color: var(--text-body) !important;
  text-decoration: none !important;
  font-size: 0.7rem;
  font-weight: 600;
  transition: color 0.15s ease;
  min-height: 56px;
}

.qab-item:hover,
.qab-item:focus {
  color: var(--brand-primary) !important;
}

.qab-item i {
  font-size: 1.5rem;
  line-height: 1;
}

.qab-item.qab-sos {
  color: var(--status-danger) !important;
}

.qab-item.qab-sos i {
  color: var(--status-danger);
}

.qab-item.qab-primary {
  color: var(--brand-primary) !important;
  font-weight: 700;
}

.qab-item.qab-primary i {
  color: var(--brand-primary);
}

/* Body-Padding, damit Sticky-Bar nicht den Content überlappt */
@media (max-width: 991.98px) {
  body {
    padding-bottom: 80px;
  }
}

/* ============================================================
   Trust-Streifen (unter Hero)
   ============================================================ */

.trust-stripe {
  padding: 2rem 0;
  background: var(--surface-white);
  border-bottom: 1px solid var(--border-subtle);
}

@media (min-width: 768px) {
  .trust-stripe {
    padding: 2.5rem 0;
  }
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.trust-item i {
  font-size: 1.75rem;
  color: var(--brand-primary);
  flex-shrink: 0;
}

.trust-text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.trust-text strong {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-heading);
}

.trust-text span {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 0.125rem;
}

@media (min-width: 992px) {
  .trust-text strong {
    font-size: 1.0625rem;
  }
  .trust-text span {
    font-size: 0.875rem;
  }
}

/* ============================================================
   Persona-Sektion "Für Sie da"
   ============================================================ */

.persona-section {
  padding: 4rem 0;
  background: var(--surface-warm);
}

@media (min-width: 992px) {
  .persona-section {
    padding: 6rem 0;
  }
}

/* ------------------------------------------------------------
   Section-Header-Komponente (einheitlich für alle Sektionen)
   ------------------------------------------------------------ */
.section-header {
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2.5rem;
}

@media (min-width: 992px) {
  .section-header {
    margin-bottom: 3.5rem;
  }
}

.section-header h2 {
  margin-bottom: 0.75rem;
}

/* Inline-Variante: linksbündig, kein zentrierter max-width.
   Für 2-Spalten-Layouts (Team-Teaser, Praxisgeschichte) mit
   gleicher h2-Skala und Eyebrow-Optik wie der zentrierte Header. */
.section-header.section-header-inline {
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  text-align: start;
}

.section-lead {
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
}

@media (min-width: 768px) {
  .section-lead {
    font-size: 1.125rem;
  }
}

/* Eyebrow (optional kleiner Label-Text über h2) */
.section-eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bs-primary);
  margin-bottom: 0.75rem;
}

.persona-card {
  background: var(--surface-white);
  border-radius: 1rem;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.persona-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.persona-image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.persona-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.persona-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

@media (min-width: 768px) {
  .persona-content {
    padding: 2rem;
  }
}

.persona-content h3 {
  margin-bottom: 0.875rem;
}

.persona-content p {
  margin-bottom: 1.5rem;
  flex: 1;
}

.persona-content .btn {
  align-self: flex-start;
}


/* ============================================================
   Einheitlicher Section-Abstand (Mobile-First)
   - Ein Token, eine Klasse, alle Sektionen.
   ============================================================ */

:root {
  --section-py: 3.5rem;
}

@media (min-width: 992px) {
  :root {
    --section-py: 5rem;
  }
}

.section-padded,
.section {
  padding-top: var(--section-py);
  padding-bottom: var(--section-py);
}


/* ============================================================
   Galerie-Tiles (Praxisgalerie)
   ============================================================ */

.gallery-tile {
  display: block;
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 0.5rem;
}

@media (min-width: 992px) {
  .gallery-tile {
    height: 280px;
  }
}


/* ============================================================
   Review-Cards / Star-Helper
   ============================================================ */

.review-star {
  color: var(--rating-star, #f5a623);
}

.review-star-lg {
  font-size: 1.5rem;
}

.review-avatar {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 50%;
  object-fit: cover;
  aspect-ratio: 1 / 1;
}


/* ============================================================
   USP-Cards "Warum Haslident" (Icon-Cards mit Deeplink)
   ============================================================ */

.usp-card {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.5rem;
  background: var(--surface-white);
  border-radius: 1rem;
  height: 100%;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
  color: inherit;
}

.usp-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  color: inherit;
}

.usp-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  background: rgba(var(--bs-primary-rgb), 0.08);
  color: var(--bs-primary);
  font-size: 1.5rem;
}

.usp-body {
  flex: 1;
}

.usp-body h3 {
  font-size: 1.0625rem;
  margin-bottom: 0.375rem;
}

.usp-body p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

.usp-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--bs-primary);
}

.usp-card:hover .usp-link {
  text-decoration: underline;
}


/* ============================================================
   Zertifikate-Strip (kompakt)
   ============================================================ */

.cert-strip-logo {
  max-height: 64px;
  width: auto;
  filter: grayscale(20%);
  opacity: 0.85;
  transition: filter 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.cert-strip-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.04);
}


/* ============================================================
   Service-Cards (Hover-Effekt)
   ============================================================ */

.service-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1) !important;
}


/* ============================================================
   Galerie-Tiles (einheitliche Höhe)
   ============================================================ */

.gallery-tile {
  height: 250px;
  width: 100%;
  object-fit: cover;
}


/* ============================================================
   Standort-Teaser (kompakter Map-Block)
   ============================================================ */

.standort-teaser .map-thumb {
  position: relative;
  display: block;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.standort-teaser .map-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.standort-teaser .map-thumb .map-pin {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--bs-primary);
  font-size: 3rem;
  pointer-events: none;
}


/* ============================================================
   Angstpatienten-Seite — Helper-Komponenten
   (vereinheitlicht mit Homepage-Typo / -Spacing)
   ============================================================ */

/* Headline-Helper: Brand-Magenta für H2/H3 in Sektionen */
.text-brand {
  color: var(--bs-primary);
}

/* Runder Icon-Kreis (z. B. 80px) */
.icon-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: rgba(var(--bs-primary-rgb), 0.1);
  color: var(--bs-primary);
}

.icon-circle-sm {
  width: 50px;
  height: 50px;
}

/* Stepper (nummerierte Schritte: 1, 2, 3, 4) */
.step-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.step-item:last-child {
  margin-bottom: 0;
}

.step-number {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgba(var(--bs-primary-rgb), 0.1);
  color: var(--bs-primary);
  font-weight: 700;
  font-size: 1.125rem;
}

.step-body h4 {
  margin-bottom: 0.5rem;
}

.step-body p {
  color: var(--text-muted, #6c757d);
  margin-bottom: 0;
}

/* "Versprechen"-Tile (Check-Icon + Text) */
.promise-tile {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.promise-tile .promise-icon {
  flex-shrink: 0;
  color: var(--bs-primary);
  font-size: 1.5rem;
  line-height: 1.2;
  margin-top: 0.125rem;
}

.promise-tile h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.promise-tile p {
  margin-bottom: 0;
}

/* Soft-Card mit zartem Brand-Tint (für "Unsere Versprechen") */
.card-brand-tint {
  background: linear-gradient(135deg,
    rgba(var(--bs-primary-rgb), 0.04) 0%,
    rgba(var(--bs-primary-rgb), 0.09) 100%);
  border: 0;
}

/* Vollflächige CTA-Section in Brand-Magenta (Motivation / E-Mail-Block) */
.section-brand-cta {
  background: linear-gradient(135deg,
    var(--bs-primary) 0%,
    color-mix(in srgb, var(--bs-primary) 70%, #000) 100%);
  color: #fff;
}

.section-brand-cta h2,
.section-brand-cta h3,
.section-brand-cta p {
  color: #fff;
}


