/* Header kompakter machen - Navigation rechtsbündig wie im Screenshot */
header {
    min-height: 50px !important;
    position: relative;
    overflow: visible !important;
}

header .flex.items-center {
    min-height: 50px !important;
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
}

/* Logo Container */
header .flex.items-center.flex-shrink-0 {
    flex: 0 0 auto;
}

header img {
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.05)) !important;
}

/* Navigation rechtsbündig ausrichten */
nav[aria-label="Hauptnavigation"] {
    gap: 1.5rem !important; /* Mehr Abstand zwischen Menüpunkten wie im Screenshot */
    justify-content: flex-end !important;
    flex: 1 1 auto !important;
}

/* Menüpunkte Styling */
nav[aria-label="Hauptnavigation"] a {
    font-size: 0.875rem !important;
    font-weight: 500 !important;
    padding: 0.5rem 0 !important; /* Nur oben/unten Padding */
    white-space: nowrap !important;
    color: #374151 !important; /* Dunkleres Grau wie im Screenshot */
    transition: color 0.2s ease !important;
}

nav[aria-label="Hauptnavigation"] a:hover {
    color: #111827 !important;
}

/* Dashboard Button */
#admin-menu-toggle-nav {
    padding: 0.5rem 0.75rem !important;
    font-size: 0.875rem !important;
    font-weight: 500 !important;
    background-color: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    color: #374151 !important;
}

#admin-menu-toggle-nav:hover {
    background-color: #f1f5f9 !important;
    color: #111827 !important;
}

/* Container Anpassungen für bessere Ausrichtung */
header > div.max-w-7xl {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
}

/* Responsive: Tablet */
@media (min-width: 768px) and (max-width: 1024px) {
    nav[aria-label="Hauptnavigation"] {
        gap: 1rem !important;
    }
    
    nav[aria-label="Hauptnavigation"] a {
        font-size: 0.8125rem !important;
    }
}

/* Mobile Responsive */
@media (max-width: 767px) {
    header img {
        max-height: 2.5rem !important;
    }
    
    header .flex.items-center {
        min-height: 45px !important;
        padding-top: 0.375rem !important;
        padding-bottom: 0.375rem !important;
    }
    
    /* Mobile Button rechtsbündig */
    .md\\:hidden.flex.items-center {
        justify-content: flex-end !important;
    }
}

/* Dropdown Menu Items kompakter */
#admin-menu-content-nav a {
    padding: 0.5rem 1rem !important;
    font-size: 0.875rem !important;
}

#admin-menu-content-nav .border-b {
    padding: 0.5rem 1rem !important;
}

/* Sticky Header Optimierung */
header.sticky {
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
}

/* Z-Index Management */
main {
    position: relative;
    z-index: 10;
}

.hero-bg {
    background-image: url('../img/template.jpg');
    background-size: cover;
    background-position: center;
}





/* Small, modern circular arrows */
    .custom-prev, .custom-next {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      z-index: 10;
      background: rgba(255,255,255,0.9);
      border-radius: 9999px;
      width: 28px;
      height: 28px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border: 1px solid rgba(0,0,0,0.08);
      box-shadow: 0 2px 6px rgba(0,0,0,0.08);
      cursor: pointer;
    }
    .custom-prev { left: 6px; }
    .custom-next { right: 6px; }
    .custom-prev svg, .custom-next svg {
      width: 16px; height: 16px;
      color: #111827;
    }
    .custom-prev:hover, .custom-next:hover { background: #fff; }

    @media (min-width: 640px) {
      .custom-prev, .custom-next { width: 32px; height: 32px; }
      .custom-prev svg, .custom-next svg { width: 18px; height: 18px; }
    }
    @media (min-width: 1024px) {
      .custom-prev, .custom-next { width: 36px; height: 36px; }
      .custom-prev svg, .custom-next svg { width: 20px; height: 20px; }
    }

    /* Center pagination dots under the slider */
    .home-feature-swiper .swiper-pagination {
      position: static !important;
      display: flex !important;
      justify-content: center;
      align-items: center;
      gap: 6px;
      width: 100%;
      margin-top: 12px;
    }
    .home-feature-swiper .swiper-pagination-bullet {
      background-color: #9ca3af;
      opacity: 0.6;
      width: 6px; height: 6px;
      margin: 0 !important; /* we use flex gap */
    }
    .home-feature-swiper .swiper-pagination-bullet-active {
      background-color: #111827;
      opacity: 1;
    }

    .home-feature-swiper { padding: 2px; position: relative; }
    .home-feature-swiper .swiper-slide { height: auto; }





#thumbStrip .thumb-btn {
  width: 60px;
  height: 60px; /* make them perfect squares */
  border-radius: 0 !important; /* remove all corner rounding */
  overflow: hidden;
}

@media (min-width: 640px) {
  #thumbStrip .thumb-btn {
    width: 40px;
    height: 40px; /* still perfect squares on PC */
  }
}

#thumbStrip .thumb-btn img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  border-radius: 0 !important;
}

/* Selected state square corners */
#thumbStrip .thumb-btn[aria-selected="true"] span,
#thumbStrip .thumb-btn[aria-selected="true"]::after {
  border-radius: 0 !important;
}

/* Hover state square corners */
#thumbStrip .thumb-btn:hover {
  outline: 2px solid #000; /* or your brand color */
  outline-offset: -2px;
  border-radius: 0 !important;
}





