/**
 * LAYOUT STYLES
 * =============
 *
 * Grid, Container, Sections, Navigation, Footer, Hero.
 */

/* ============================
   CONTAINER
   ============================ */

.container {
  max-width: var(--container-max);
}

.container-narrow {
  max-width: var(--container-narrow);
  margin-left: auto;
  margin-right: auto;
}

.container-prose {
  max-width: var(--container-prose);
  margin-left: auto;
  margin-right: auto;
}

/* ============================
   SECTIONS
   ============================ */

/* Main Content Overflow Fix */
#main-content {
  overflow-x: hidden;
}

.section {
  padding: var(--section-padding-y) 0;
  overflow-x: hidden;
}

.section-sm {
  padding: var(--section-padding-y-sm) 0;
}

/* Section Header */
.section-header {
  margin-bottom: var(--space-8);
}

.section-subtitle {
  font-family: var(--font-accent);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-secondary);
  margin-bottom: var(--space-3);
}

.section-title {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-4);
}

.section-title:last-child {
  margin-bottom: 0;
}

.section-text {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  color: var(--color-text-light);
}

/* ============================
   NAVIGATION
   ============================ */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky);
  transition: all var(--transition);
}

.navbar {
  padding: var(--space-4) 0;
  transition: all var(--transition);
}

/* Transparent State (Default) */
.site-header:not(.scrolled) .navbar {
  background: transparent;
}

.site-header:not(.scrolled) .nav-link {
  color: white;
}

.site-header:not(.scrolled) .logo-dark {
  display: none;
}

.site-header:not(.scrolled) .logo-light {
  display: block;
}

/* Scrolled State */
.site-header.scrolled {
  background: white;
  box-shadow: var(--shadow-md);
}

.site-header.scrolled .navbar {
  padding: var(--space-3) 0;
}

.site-header.scrolled .nav-link {
  color: var(--color-text);
}

.site-header.scrolled .logo-dark {
  display: block;
}

.site-header.scrolled .logo-light {
  display: none;
}

/* Logo */
.navbar-brand {
  padding: 0;
}

.logo {
  height: 44px;
  width: auto;
  transition: height var(--transition);
}

.site-header.scrolled .logo {
  height: 38px;
}

/* Nav Links */
.navbar-nav {
  gap: var(--space-1);
}

.navbar-nav .nav-item {
  display: flex;
  align-items: center;
  margin-bottom: 0;
}

.nav-link {
  font-family: var(--font-accent);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  padding: var(--space-2) var(--space-4) !important;
  border-radius: var(--radius);
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-secondary) !important;
}

.nav-link.active {
  font-weight: var(--weight-semibold);
}

/* Dropdown */
.dropdown-menu {
  border: none;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: var(--space-3);
  margin-top: var(--space-2);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius);
  font-size: var(--text-sm);
  color: var(--color-text);
  transition: all var(--transition-fast);
}

.dropdown-item:hover,
.dropdown-item:focus {
  background: var(--color-bg-alt);
  color: var(--color-primary);
}

.dropdown-item.active {
  background: var(--color-bg-alt);
  color: var(--color-accent);
}

.dropdown-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-secondary);
}

.dropdown-item-overview {
  font-weight: var(--weight-semibold);
}

.dropdown-divider {
  margin: var(--space-2) 0;
  border-color: var(--color-bg-alt);
}

/* Mobile Toggle */
.navbar-toggler {
  border: none;
  padding: var(--space-2);
  background: transparent;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler-icon {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 24px;
  height: 24px;
  background: none !important;
}

.navbar-toggler-icon span {
  display: block;
  width: 100%;
  height: 2px;
  background: currentColor;
  transition: all var(--transition-fast);
}

.site-header:not(.scrolled) .navbar-toggler {
  color: white;
}

.site-header.scrolled .navbar-toggler {
  color: var(--color-primary);
}

/* Mobile Navigation */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: white;
    margin-top: var(--space-4);
    padding: var(--space-4);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
  }

  /* Navigation vertikal anzeigen */
  .navbar-nav {
    flex-direction: column !important;
    width: 100%;
  }

  .navbar-nav .nav-item {
    width: 100%;
    display: block !important;
  }

  .navbar-nav .nav-link {
    color: var(--color-text) !important;
    padding: var(--space-3) var(--space-4) !important;
    display: block;
    width: 100%;
  }

  /* Mobile Dropdown - untereinander anzeigen */
  .navbar-nav .dropdown {
    width: 100%;
  }

  .navbar-nav .dropdown-menu,
  .navbar-nav .dropdown-menu.show {
    position: static !important;
    transform: none !important;
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding: var(--space-2) 0 !important;
    padding-left: var(--space-4) !important;
    border: none !important;
    border-radius: var(--radius) !important;
    box-shadow: none !important;
    background: var(--color-bg-alt) !important;
    display: none;
  }

  .navbar-nav .dropdown-menu.show {
    display: block !important;
  }

  .navbar-nav .dropdown-item {
    padding: var(--space-2) var(--space-3);
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    gap: var(--space-3);
  }

  .navbar-mobile-footer {
    margin-top: var(--space-4);
    padding-top: var(--space-4);
    border-top: 1px solid var(--color-bg-alt);
    text-align: center;
  }

  .mobile-phone-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    font-family: var(--font-accent);
    font-weight: var(--weight-semibold);
    color: var(--color-accent);
    margin-bottom: var(--space-3);
  }

  .mobile-hours {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    color: var(--color-text-muted);
  }
}

/* ============================
   HERO
   ============================ */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 60vh;
  overflow: hidden;
}

.hero-fullheight {
  min-height: 100vh;
}

.hero-medium {
  min-height: 50vh;
  padding-top: calc(var(--header-height) + var(--space-8));
}

/* Hero Background */
.hero-background {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    135deg,
    var(--color-primary) 0%,
    var(--color-primary-dark) 50%,
    #1a1c1d 100%
  );
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Fallback wenn Bild nicht lädt */
.hero-image[src=""],
.hero-image:not([src]),
.hero-image[src*="placeholder"] {
  opacity: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-overlay-gradient {
  background: linear-gradient(
    135deg,
    rgba(37, 40, 41, 0.92) 0%,
    rgba(55, 59, 61, 0.85) 50%,
    rgba(55, 59, 61, 0.7) 100%
  );
}

.hero-overlay-dark {
  background: rgba(37, 40, 41, 0.85);
}

.hero-overlay-light {
  background: rgba(255, 255, 255, 0.9);
}

/* Hero Content */
.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: calc(var(--header-height) + var(--space-8)) 0 var(--space-8);
  color: white;
}

.hero-overlay-light .hero-content {
  color: var(--color-text);
}

.hero-subtitle {
  font-family: var(--font-accent);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-secondary);
  margin-bottom: var(--space-4);
}

.hero-title {
  font-size: var(--text-5xl);
  font-weight: var(--weight-bold);
  line-height: 1.1;
  color: inherit;
  margin-bottom: var(--space-5);
}

.hero-text {
  font-size: var(--text-lg);
  max-width: 540px;
  opacity: 0.9;
  margin-bottom: var(--space-6);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}

.hero-contact {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.hero-contact-label {
  font-size: var(--text-sm);
  opacity: 0.7;
}

.hero-phone {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  color: white;
  font-family: var(--font-accent);
  font-size: var(--text-xl);
  font-weight: var(--weight-semibold);
  transition: color var(--transition-fast);
}

.hero-phone:hover {
  color: var(--color-secondary);
}

/* Scroll Indicator */
.hero-scroll {
  position: absolute;
  bottom: var(--space-6);
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  color: white;
  font-size: var(--text-sm);
  opacity: 0.7;
  cursor: pointer;
  transition: opacity var(--transition-fast);
}

.hero-scroll:hover {
  opacity: 1;
}

.hero-scroll-icon {
  animation: bounce 2s infinite;
}

/* Mobile Hero Zentrierung */
@media (max-width: 767.98px) {
  .hero-content {
    text-align: center;
  }

  .hero-text {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-contact {
    align-items: center;
  }

  .hero-phone {
    justify-content: center;
  }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-8px);
  }
  60% {
    transform: translateY(-4px);
  }
}

/* ============================
   GALLERY
   ============================ */

.gallery-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-2);
}

.gallery-filter-btn {
  padding: var(--space-2) var(--space-4);
  font-family: var(--font-accent);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--color-text-muted);
  background: transparent;
  border: 2px solid transparent;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.gallery-filter-btn:hover {
  color: var(--color-primary);
}

.gallery-filter-btn.active {
  color: var(--color-primary);
  border-color: var(--color-primary);
}

/* Gallery Grid */
.gallery-figure {
  position: relative;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.gallery-link {
  display: block;
  position: relative;
}

.gallery-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery-link:hover .gallery-image {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(55, 59, 61, 0.6);
  opacity: 0;
  transition: opacity var(--transition);
}

.gallery-link:hover .gallery-overlay {
  opacity: 1;
}

.gallery-zoom {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: white;
  border-radius: var(--radius-full);
  color: var(--color-primary);
  transform: scale(0.8);
  transition: transform var(--transition);
}

.gallery-link:hover .gallery-zoom {
  transform: scale(1);
}

.gallery-caption {
  padding: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text-light);
}

/* Lightbox Modal */
.lightbox-modal .modal-content {
  background: rgba(0, 0, 0, 0.95);
  border: none;
  border-radius: 0;
}

.lightbox-modal .btn-close {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  z-index: 10;
  opacity: 0.7;
}

.lightbox-body {
  display: flex;
  align-items: center;
  min-height: 80vh;
  padding: var(--space-6);
}

.lightbox-figure {
  flex: 1;
  text-align: center;
  margin: 0;
}

.lightbox-image {
  max-width: 100%;
  max-height: 75vh;
  margin: 0 auto;
}

.lightbox-caption {
  color: white;
  margin-top: var(--space-4);
  font-size: var(--text-base);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: white;
  border: none;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  cursor: pointer;
  opacity: 0.7;
  transition: opacity var(--transition-fast);
}

.lightbox-nav:hover {
  opacity: 1;
}

.lightbox-prev {
  left: var(--space-4);
}

.lightbox-next {
  right: var(--space-4);
}

.lightbox-counter {
  position: absolute;
  bottom: var(--space-4);
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-family: var(--font-accent);
  font-size: var(--text-sm);
  opacity: 0.7;
}

/* ============================
   FOOTER
   ============================ */

.site-footer {
  background: var(--color-bg-dark);
  color: rgba(255, 255, 255, 0.85);
}

.footer-main {
  padding: var(--space-10) 0 var(--space-8);
}

.footer-brand {
  margin-bottom: var(--space-5);
}

.footer-logo img {
  height: 44px;
  width: auto;
}

.footer-tagline {
  margin-top: var(--space-3);
  font-size: var(--text-sm);
  opacity: 0.7;
}

.footer-rating {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}

.rating-text {
  font-size: var(--text-sm);
  opacity: 0.7;
}

.footer-social {
  display: flex;
  gap: var(--space-3);
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  color: white;
  transition: all var(--transition-fast);
}

.footer-social a:hover {
  background: var(--color-secondary);
  color: var(--color-primary-dark);
}

.footer-heading {
  font-family: var(--font-accent);
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: white;
  margin-bottom: var(--space-5);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: var(--space-2);
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--text-sm);
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--color-secondary);
}

.footer-contact {
  font-style: normal;
}

.contact-item {
  display: flex;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
  font-size: var(--text-sm);
}

.contact-item .icon {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--color-secondary);
}

.contact-item a {
  color: rgba(255, 255, 255, 0.85);
}

.contact-item a:hover {
  color: var(--color-secondary);
}

.footer-bottom {
  padding: var(--space-5) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright {
  font-size: var(--text-sm);
  opacity: 0.6;
  margin: 0;
}

.copyright a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.4);
  transition: color var(--transition-fast);
}

.copyright a:hover {
  color: var(--color-secondary);
  text-decoration-color: var(--color-secondary);
}

.footer-legal {
  display: flex;
  justify-content: flex-end;
  gap: var(--space-5);
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-legal a {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.6);
}

.footer-legal a:hover {
  color: white;
}

@media (max-width: 767.98px) {
  .footer-legal {
    justify-content: center;
    margin-top: var(--space-4);
  }

  .copyright {
    text-align: center;
  }
}

/* ============================
   PAGE HERO (Unterseiten)
   ============================ */

.page-hero {
  padding-top: calc(var(--header-height) + var(--space-8));
  padding-bottom: var(--space-8);
  background: var(--color-bg-alt);
  text-align: center;
  min-height: 370px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}


.page-hero-title {
  font-size: var(--text-4xl);
  margin-bottom: var(--space-4);
}

.page-hero-text {
  max-width: 640px;
  margin: 0 auto;
  color: var(--color-text-light);
  font-size: var(--text-lg);
}

/* ============================
   CONTENT SECTIONS
   ============================ */

.content-section {
  padding: var(--section-padding-y) 0;
}

.content-section.bg-alt {
  background: var(--color-bg-alt);
}

/* About Section */
.about-content {
  display: grid;
  gap: var(--space-8);
}

@media (min-width: 992px) {
  .about-content {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}

.about-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.about-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.about-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to top, rgba(55, 59, 61, 0.3), transparent);
}

.about-text {
  color: var(--color-text-light);
  line-height: var(--leading-relaxed);
}

/* Process Steps - Refined Timeline */
.process-steps {
  --step-number-size: 44px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-4);
  position: relative;
  margin: var(--space-4) 0;
}

/* Horizontal connector line (behind numbers) */
.process-steps::before {
  content: '';
  position: absolute;
  top: calc(var(--step-number-size) / 2);
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-bg-alt) 5%, var(--color-bg-alt) 95%, transparent);
  z-index: 0;
  display: none;
}

@media (min-width: 992px) {
  .process-steps::before {
    display: block;
  }
}

.process-step {
  position: relative;
  z-index: 1;
  flex: 1 1 140px;
  max-width: 180px;
  text-align: center;
  padding: 0 var(--space-2);
}

@media (min-width: 768px) {
  .process-step {
    flex: 1;
    max-width: none;
  }
}

.process-step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--step-number-size);
  height: var(--step-number-size);
  margin: 0 auto var(--space-3);
  background: var(--color-secondary);
  color: #fff;
  font-family: var(--font-accent);
  font-weight: var(--weight-bold);
  font-size: var(--text-base);
  border-radius: var(--radius-full);
  box-shadow: 0 2px 8px rgba(201, 162, 39, 0.3);
  position: relative;
}

.process-step-title {
  font-family: var(--font-accent);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--color-primary);
  margin-bottom: var(--space-1);
  line-height: 1.3;
}

.process-step-desc {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin: 0;
  line-height: 1.4;
}

/* Service Detail */
.service-features-list {
  display: grid;
  gap: var(--space-3);
}

@media (min-width: 768px) {
  .service-features-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

.service-feature-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-4);
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow-xs);
}

.service-feature-item .icon {
  flex-shrink: 0;
  color: var(--color-secondary);
}

/* Related Services */
.related-services {
  padding-top: var(--space-8);
  border-top: 1px solid var(--color-bg-alt);
  margin-top: var(--space-8);
}

.related-services-title {
  font-size: var(--text-lg);
  margin-bottom: var(--space-5);
}

/* ============================
   MAP SECTION
   ============================ */

.map-container {
  position: relative;
  width: 100%;
  min-height: 350px;
  background: #f5f3f0;
  border: 1px solid rgba(55, 59, 61, 0.1);
  border-radius: var(--radius-lg);
}

.map-container iframe {
  display: block;
  width: 100%;
  height: 400px;
}

.map-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 350px;
  padding: 3rem 2rem;
  background: linear-gradient(135deg, #f8f6f3 0%, #f0ebe4 100%);
  text-align: center;
}

.map-placeholder .icon,
.map-placeholder-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 1.5rem;
  color: var(--color-secondary);
  opacity: 0.6;
}

.map-placeholder .icon svg {
  width: 100%;
  height: 100%;
}

.map-placeholder .h5,
.map-placeholder h5 {
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-weight: var(--weight-semibold);
  margin-bottom: 0.5rem;
}

.map-placeholder .text-muted {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  line-height: 1.6;
}

/* ============================
   CONTACT INFO BOX
   ============================ */

.contact-info-box {
  background: var(--color-bg-alt);
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  height: 100%;
}

.contact-info-item {
  padding-bottom: var(--space-4);
  border-bottom: 1px solid rgba(55, 59, 61, 0.08);
}

.contact-info-item:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border-radius: var(--radius-lg);
  color: var(--color-secondary);
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

/* ============================
   CONTENT PROSE
   ============================ */

.content h2 {
  margin-top: var(--space-8);
  margin-bottom: var(--space-4);
}

.content h2:first-child {
  margin-top: 0;
}

.content h3 {
  margin-top: var(--space-6);
  margin-bottom: var(--space-3);
}

.content p + h2,
.content p + h3 {
  margin-top: var(--space-8);
}

.content ul,
.content ol {
  margin-bottom: var(--space-5);
}

.content figure {
  margin: var(--space-6) 0;
}

.content figure img {
  border-radius: var(--radius-lg);
}

/* ============================
   BADGES
   ============================ */

.badge {
  font-family: var(--font-accent);
  font-weight: var(--weight-medium);
  letter-spacing: 0.02em;
}

.badge.bg-primary {
  background-color: var(--color-primary) !important;
}

.badge.bg-secondary {
  background-color: var(--color-secondary) !important;
  color: white !important;
}

.badge.bg-white {
  background-color: white !important;
  color: var(--color-primary) !important;
  border: 1px solid var(--color-bg-alt);
}

/* ============================
   DISTRICTS LIST (Local SEO)
   ============================ */

.districts-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-4);
}

.districts-list .badge {
  font-size: var(--text-sm);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

@media (max-width: 767.98px) {
  .districts-list .badge,
  .section .badge.bg-primary,
  .section .badge.bg-white,
  .section .badge.bg-secondary {
    font-size: 0.65rem;
    padding: 0.25rem 0.5rem;
  }
}

.districts-list .badge:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* ============================
   PAGE HERO IMPROVEMENTS
   ============================ */

/* Page Hero zusätzliche Styles */
.page-hero {
  position: relative;
  overflow: hidden;
}


/* ============================
   SECTION BACKGROUNDS
   ============================ */

.section.bg-warm {
  background-color: var(--color-bg-warm, var(--color-bg-alt));
}

.section.bg-gradient {
  background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-alt) 100%);
}

/* ============================
   MOBILE IMPROVEMENTS
   ============================ */

@media (max-width: 767.98px) {
  .page-hero {
    padding-top: calc(var(--header-height) + var(--space-6));
    padding-bottom: var(--space-6);
    min-height: 220px;
  }


  .page-hero-title {
    font-size: var(--text-3xl);
  }

  .contact-info-box {
    padding: var(--space-5);
    margin-top: var(--space-4);
  }

  .map-container {
    height: 300px !important;
  }
}

/* ============================
   UTILITY SPACING
   ============================ */

.mt-section {
  margin-top: var(--section-padding-y);
}

.mb-section {
  margin-bottom: var(--section-padding-y);
}

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